OSDN Git Service

2007-03-16 Francis Kung <fkung@redhat.com>
[pf3gnuchains/gcc-fork.git] / libjava / classpath / ChangeLog
1 2007-03-16  Francis Kung  <fkung@redhat.com>
2
3         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
4         (cairoArc): Make protected rather than private so it can be over-ridden.
5         (cairoClip): Likewise.
6         (cairoClosePath): Likewise.
7         (cairoCurveTo): Likewise.
8         (cairoDrawGlyphVector): Likewise.
9         (cairoFill): Likewise.
10         (cairoLineTo): Likewise.
11         (cairoMoveTo): Likewise.
12         (cairoNewPath): Likewise.
13         (cairoRectangle): Likewise.
14         (cairoResetClip): Likewise.
15         (cairoRestore): Likewise.
16         (cairoSave): Likewise.
17         (cairoScale): Likewise.
18         (cairoSetAntialias): Likewise.
19         (cairoSetDash): Likewise.
20         (cairoSetFillRule): Likewise.
21         (cairoSetFont): Likewise.
22         (cairoSetLine): Likewise.
23         (cairoSetMatrix): Likewise.
24         (cairoSetOperator): Likewise.
25         (cairoSetRGBAColor): Likewise.
26         (cairoStroke): Likewise.
27         (drawPixels): Likewise.
28         (init): Likewise.
29         (setGradient): Likewise.
30         (setPaintPixels): Likewise.
31         (cairoDrawLine): Removed.
32         (cairoDrawRect): Removed.
33         (cairoFillRect): Removed.
34         (cairoPreserveClip): Removed.
35         (cairoRelCurveTo): Removed.
36         (cairoRelLineTo): Removed.
37         (cairoRelMoveTo): Removed.
38         * gnu/java/awt/peer/gtk/ComponentGraphics.java
39         (cairoArc): New method wrapping superclass method in locks.
40         (cairoClip): Likewise.
41         (cairoClosePath): Likewise.
42         (cairoCurveTo): Likewise.
43         (cairoDrawGlyphVector): Likewise.
44         (cairoFill): Likewise.
45         (cairoLineTo): Likewise.
46         (cairoMoveTo): Likewise.
47         (cairoNewPath): Likewise.
48         (cairoRectangle): Likewise.
49         (cairoResetClip): Likewise.
50         (cairoRestore): Likewise.
51         (cairoSave): Likewise.
52         (cairoScale): Likewise.
53         (cairoSetAntialias): Likewise.
54         (cairoSetDash): Likewise.
55         (cairoSetFillRule): Likewise.
56         (cairoSetFont): Likewise.
57         (cairoSetLine): Likewise.
58         (cairoSetMatrix): Likewise.
59         (cairoSetOperator): Likewise.
60         (cairoSetRGBAColor): Likewise.
61         (cairoStroke): Likewise.
62         (disposeNative): Likewise.
63         (drawPixels): Likewise.
64         (init): Likewise.
65         (setGradient): Likewise.
66         (setPaintPixels): Likewise.
67         (draw): Do not lock, as locking is now done in the wrapped native methods.
68         (drawComposite): Likewise.
69         (drawGlyphVector): Likewise.
70         (drawImage): Likewise.
71         (drawRenderedImage): Likewise.
72         (fill): Likewise.
73         (setClip): Removed.
74         (lock): Added documentation.
75         (unlock): Added documentation.
76         * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Regenerated.
77         * include/gnu_java_awt_peer_gtk_ComponentGraphics.h: Regenerated.
78         * lib/gnu/java/awt/peer/gtk/ComponentGraphics.class: Regenerated.
79         * lib/gnu/java/awt/peer/gtk/CairoGraphics2D.class: Regenerated.
80         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
81         (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoDrawLine): Removed.
82         (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoDrawRect): Removed.
83         (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoFillRect): Removed.
84         (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoPreserveClip): Removed.
85         (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoRelCurveTo): Removed.
86         (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoRelLineTo): Removed.
87         (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoRelMoveTo): Removed.
88
89 2007-04-23  Jeroen Frijters  <jeroen@frijters.net>
90
91         PR classpath/31646:
92         * java/util/Arrays.java (qsort): Corrected initial median calculation.
93
94 2007-04-19  Casey Marshall  <csm@gnu.org>
95
96         PR classpath/31626:
97         * gnu/javax/net/ssl/provider/SSLSocketFactoryImpl.java
98         (createSocket): New method.
99
100 2007-04-18  Tom Tromey  <tromey@redhat.com>
101
102         * tools/gnu/classpath/tools/javah/MethodHelper.java (print):
103         Changed arguments.  Directly print method name.
104         * tools/gnu/classpath/tools/javah/ClassWrapper.java
105         (methodNameMap): New field.
106         (makeVtable): Initialize it.
107         (printMethods): Compute name for bridge targets.
108
109 2007-04-17  Andrew Haley  <aph@redhat.com>
110
111         * gnu/java/rmi/server/UnicastConnectionManager.java
112         (UnicastConnectionManager(int port, RMIServerSocketFactory)):
113         Listen on "localhost", not localhost.
114
115 2007-04-17  Francis Kung  <fkung@redhat.com>
116
117         PR classpath/31311
118         * gnu/java/awt/peer/gtk/ComponentGraphics.java
119         (dispose): Removed method.
120         (disposeSurface): Removed method.
121         * gnu_java_awt_peer_gtk_ComponentGraphics.h: Regenerated.
122         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
123         (Java_gnu_java_awt_peer_gtk_ComponentGraphics_disposeSurface): Removed.
124         (Java_gnu_java_awt_peer_gtk_ComponentGraphics_initState): Destroy surface
125         after it is used to create a cairo context.
126
127 2007-04-16  Tom Tromey  <tromey@redhat.com>
128
129         https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=236614
130         * gnu/javax/net/ssl/provider/SSLSocketFactoryImpl.java
131         (createSocket): Change order of delegation.
132
133 2007-04-16  Andrew Haley  <aph@redhat.com>
134
135         * java/io/ObjectInputStream.java: (parseContent):  Call (String,
136         Object) version of dumpElementln.
137         (dumpElementln(String, Object)): New method.
138         * java/io/ObjectOutputStream.java (writeObject): Call (String,
139         Object) version of dumpElementln.
140         (dumpElementln(String, Object)): New method.
141
142 2007-04-16  Andrew John Hughes  <gnu_andrew@member.fsf.org>
143
144         * javax/management/ObjectName.java:
145         (parse(String)): Catch multiple wildcards,
146         initialise with an empty string (so null isn't
147         appended), and emit comma even when wildcard
148         ends the list.
149         (checkComponents()): Catch newlines.
150         (quote(String)): Handle newlines and quotes
151         correctly.
152
153 2007-04-16  Andrew Haley  <aph@redhat.com>
154
155         * org/omg/IOP/TaggedComponentHelper.java (read): Use
156         read_octet_array(), not read().
157         (write): Use write_octet_array(), not write().
158
159         * org/omg/PortableServer/Servant.java (_get_delegate): Throw if no
160         delegate has been set.
161
162         * javax/management/ObjectName.java serialVersionUID: Declare.
163         Make all fields transient.
164         (parse): Break out from constructor.
165         (writeObject, readObject): New methods.
166
167 2007-04-02  Keith Seitz  <keiths@redhat.com>
168
169         * gnu/classpath/jdwp/event/ThreadStartEvent.java (Event):
170         Event type is "THREAD_START" not "THREAD_END".
171
172         * gnu/classpath/jdwp/transport/SocketTransport.java (ITransport):
173         Handle configure strings ":port" and "port".
174
175 2007-03-30  Andrew Haley  <aph@redhat.com>
176
177         * javax/management/ObjectName.java: Handle 0-length names.
178
179 2007-03-27  Andrew Haley  <aph@redhat.com>
180
181         * javax/management/MBeanServerFactory.java: Use the domain that
182         we've been passed, not the fixed string "DefaultDomain".
183
184 2007-03-29  Tom Tromey  <tromey@redhat.com>
185
186         PR libgcj/29869:
187         * gnu/java/util/jar/JarUtils.java (log): Commented out.
188         (readSFManifest): Don't log.
189
190 2007-03-28  Casey Marshall  <csm@gnu.org>
191
192         * gnu/javax/net/ssl/provider/ClientHandshake.java (RSAGen.implRun):
193         check keyEncipherment bit of the certificate, and just pass the public
194         key to the cipher.
195
196 2007-03-27  Casey Marshall  <csm@gnu.org>
197
198         PR classpath/31302:
199         * gnu/javax/net/ssl/provider/SSLSocketImpl.java (SSLSocketImpl):
200         Always make a new socket.
201         (bind, connect, getInetAddress, getLocalAddress, getPort,
202         getLocalPort, getRemoteSocketAddress, getLocalSocketAddress,
203         setTcpNoDelay, getTcpNoDelay, setSoLinger, getSoLinger,
204         setOOBInline, getOOBInline, setSoTimeout, getSoTimeout,
205         setSendBufferSize, getSendBufferSize, setReceiveBufferSize,
206         getReceiveBufferSize, setKeepAlive, getKeepAlive, setTrafficClass,
207         getTrafficClass, setReuseAddress, getReuseAddress, close,
208         shutdownInput, shutdownOutput, isConnected, isBound, isClosed,
209         isInputShutdown, isOutputShutdown): Always use
210         'underlyingSocket'.
211
212 2007-03-27  Tom Tromey  <tromey@redhat.com>
213
214         PR classpath/31303:
215         * external/sax/org/xml/sax/helpers/XMLReaderFactory.java
216         (createXMLReader): Code in Classpath default.
217
218 2007-03-27  Keith Seitz  <keiths@redhat.com>
219
220         Merged from upstream:
221         2007-03-09  Kyle Galloway  <kgallowa@redhat.com>
222         * gnu/classpath/jdwp/exception/InvalidTagException.java: New file.
223         * gnu/classpath/jdwp/processor/ArrayReferenceCommandSet.java
224         (executeGetValues): Use Value type.
225         (exectureSetValues): Ditto.  
226         * gnu/classpath/jdwp/processor/ClassTypeCommandSet.java
227         (executeGetValues): Use Value type.
228         (executeSetValues): Ditto.
229         (invokeMethod): Record method return type.
230         * gnu/classpath/jdwp/processor/ObjectReferenceCommandSet.java
231         (executeGetValues): Use Value type.
232         (executeSetValues): Ditto.
233         * gnu/classpath/jdwp/processor/ReferenceTypeCommandSet.java
234         (executeGetValues): Use Value type.
235         * gnu/classpath/jdwp/processor/StackFrameCommandSet.java
236         (executeGetValues): Use Value type.
237         (executeSetValues): Ditto.
238         * gnu/classpath/jdwp/util/MethodResult.java: Add resType to store
239         return type.
240         (getResultType): New Method.
241         (setResultType): Ditto.
242         * gnu/classpath/jdwp/util/Value.java: Remove.
243         * gnu/classpath/jdwp/value: New Package.
244         * gnu/classpath/jdwp/value/Value.java: New file.
245         * gnu/classpath/jdwp/value/BooleanValue.java: New file.
246         * gnu/classpath/jdwp/value/ByteValue.java: New file.
247         * gnu/classpath/jdwp/value/CharValue.java: New file.
248         * gnu/classpath/jdwp/value/DoubleValue.java: New file.
249         * gnu/classpath/jdwp/value/FloatValue.java: New file.
250         * gnu/classpath/jdwp/value/IntValue.java: New file.
251         * gnu/classpath/jdwp/value/LongValue.java: New file.
252         * gnu/classpath/jdwp/value/ObjectValue.java: New file.
253         * gnu/classpath/jdwp/value/ShortValue.java: New file.
254         * gnu/classpath/jdwp/value/StringValue.java: New file.
255         * gnu/classpath/jdwp/value/ValueFactory.java: New file.
256         * gnu/classpath/jdwp/value/VoidValue.java: New file.
257
258         2007-02-28  Keith Seitz  <keiths@redhat.com>
259         * gnu/classpath/jdwp/processor/EventRequestCommandSet.java
260         (executeSet): Check if VM has capability for field access
261         or modification events.
262         * gnu/classpath/jdwp/processor/MethodCommandSet.java
263         (executeByteCodes): Check if VM has capability and
264         implement.
265         * gnu/classpath/jdwp/processor/ObjectReferenceCommandSet.java
266         (executeMonitorInfo): Likewise.
267         * gnu/classpath/jdwp/processor/ReferenceTypeCommandSet.java
268         (executeSourceDebugExtension): Likewise.
269         * gnu/classpath/jdwp/processor/StackFrameCommandSet.java
270         (executePopFrames): Likewise.
271         * gnu/classpath/jdwp/processor/ThreadReferenceCommandSet.java
272         (executeOwnedMonitors): Likewise.
273         (executeCurrentContendedMonitor): Likewise.
274         * gnu/classpath/jdwp/processor/VirtualMachineCommandSet.java
275         (executeCapabilities): Rewrite using new VMVirtualMachine
276         capabilities.
277         (executeRedefineClasses): Check if VM has capability and
278         implement.
279         (executeSetDefaultStratum): Likewise.
280         * gnu/classpath/jdwp/util/MonitorInfo.java; New file.
281         * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java
282         (canWatchFieldModification): New class constant.
283         (canWatchFieldAccess): Likewise.
284         (canGetBytecodes): Likewise.
285         (canGetSyntheticAttribute): Likewise.
286         (canGetOwnedMonitorInfo): Likewise.
287         (canGetCurrentContendedMonitor): Likewise.
288         (canGetMonitorInfo): Likewise.
289         (canRedefineClasses): Likewise.
290         (canAddMethod): Likewise.
291         (canUnrestrictedlyRedefineClasses): Likewise.
292         (canPopFrames): Likewise.
293         (canUseInstanceFilters): Likewise.
294         (canGetSourceDebugExtension): Likewise.
295         (canRequestVMDeathEvent): Likewise.
296         (canSetDefaultStratum): Likewise.
297         (redefineClasses): New method.
298         (setDefaultStratum): Likewise.
299         (getSourceDebugExtension): Likewise.
300         (getBytecodes): Likewise.
301         (getMonitorInfo): Likewise.
302         (getOwnedMonitors): Likewise.
303         (getCurrentContendedMonitor): Likewise.
304         (popFrames): Likewise.
305
306         2007-02-28  Keith Seitz  <keiths@redhat.com>
307         * gnu/classpath/jdwp/processor/MethodCommandSet.java
308         (executeLineTable): Use ReferenceTypeId instead of
309         ClassReferenceTypeId.
310         (executeVariableTable): Likewise.
311         (executeVariableTableWithGeneric): Fix error message.
312         * gnu/classpath/jdwp/processor/ReferenceTypeCommandSet.java
313         (executeSignatureWithGeneric): Fix error message.
314         (executeFieldWithGeneric): Likewise.
315         (executeMethodsWithGeneric): Likewise.
316         * gnu/classpath/jdwp/processor/StackFrameCommandSet.java
317         (executeGetValues): Use ThreadId instead of ObjectId.
318         (executeSetValues): Likewise.
319         (executeThisObject): Likewise.
320
321         2007-02-28  Kyle Galloway  <kgallowa@redhat.com>
322         * gnu/classpath/jdwp/id/NullObjectId.java: New class.
323         * gnu/classpath/jdwp/util/NullObject.java: New class.
324         * vm/reference/gnu/classpath/jdwp/VMIdManager.java
325         (getObjectId): Handle null object.
326         (get): Handle objectId of 0. 
327
328         2007-02-22  Keith Seitz  <keiths@redhat.ecom>
329         * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java
330         (getAllLoadedClassesCount): Remove.
331         (getAllLoadedClasses): Return a Collection.
332         * gnu/classpath/jdwp/processor/VirtualMachineCommandSet.java
333         (executeClassesBySignature): VMVirtualMachine.getAllLoadedClasses
334         now returns Collection.
335         (executeAllClasses): Likewise.
336         Get size of return from Colleciton instead of calling
337         getAllLoadedClassesCount.
338
339         2007-02-22  Kyle Galloway  <kgallowa@redhat.com>
340         * gnu/classpath/jdwp/processor/StackFrameCommandSet.java 
341         (executeGetValues): Pass a signature byte to VMFrame.getValue.
342         * vm/reference/gnu/classpath/jdwp/VMFrame.java (getValue): Add
343         signature parameter.
344
345         2007-02-02  Kyle Galloway  <kgallowa@redhat.com>
346         * gnu/classpath/jdwp/processor/StackFrameCommandSet.java
347         (executeGetValues): Changed getFrame to use a jlong to pass frameID.
348         (executeSetValues): Ditto.
349         (executeThisObject): Ditto.
350         * vm/reference/gnu/classpath/jdwp/VMFrame.java: Added thread field
351         and a constructor used to create VMFrames.
352         (getThread): New method.
353         * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java(getFrame):
354         Changed to take a long instead of a ByteBuffer to pass the frameID.
355
356         2007-01-15  Kyle Galloway  <kgallowa@redhat.com>
357         * gnu/classpath/jdwp/exception/InvalidSlotException.java: New file.
358
359 2007-03-26  Tom Tromey  <tromey@redhat.com>
360
361         * doc/cp-tools.texinfo (gcjh Tool): Added more text.
362         (rmid Tool): Likewise.
363
364 2007-03-25  Dalibor Topic  <robilad@kaffe.org>
365
366         * doc/cp-tools.texinfo: Fix node ordering.
367
368 2007-03-19  Matthias Klose  <doko@ubuntu.com>
369
370         * doc/Makefile.am: Build a gcjh(1) man page.
371         * doc/cp-tools.texinfo: Add documentation for gcjh.
372
373 2007-03-26  Stepan Kasal  <skasal@redhat.com>
374
375         * tools/gnu/classpath/tools/javah/Main.java (cniOrJniSeen): New
376         field.
377         (getParser): Use new field.
378
379 2007-03-17  Thomas Fitzsimmons  <fitzsim@redhat.com>
380
381         * resource/com/sun/tools/javac/messages.properties
382         (Main.FailedToRead, Main.MalformedURL, Main.FailedToLoad): Clarify
383         messages for when --with-ecj-jar is not specified.
384         * configure.ac (FOUND_ECJ_JAR): Remove conditional.
385         * tools/Makefile.am: Build com.sun.tools.javac package
386         unconditionally.
387         * configure, doc/api/Makefile.in, doc/Makefile.in,
388         examples/Makefile.in, external/jsr166/Makefile.in,
389         external/Makefile.in, external/relaxngDatatype/Makefile.in,
390         external/sax/Makefile.in, external/w3c_dom/Makefile.in,
391         include/Makefile.in, lib/Makefile.in, Makefile.in,
392         native/fdlibm/Makefile.in, native/jawt/Makefile.in,
393         native/jni/classpath/Makefile.in,
394         native/jni/gconf-peer/Makefile.in,
395         native/jni/gtk-peer/Makefile.in, native/jni/java-io/Makefile.in,
396         native/jni/java-lang/Makefile.in, native/jni/java-net/Makefile.in,
397         native/jni/java-nio/Makefile.in, native/jni/java-util/Makefile.in,
398         native/jni/Makefile.in, native/jni/midi-alsa/Makefile.in,
399         native/jni/midi-dssi/Makefile.in,
400         native/jni/native-lib/Makefile.in, native/jni/qt-peer/Makefile.in,
401         native/jni/xmlj/Makefile.in, native/Makefile.in,
402         native/plugin/Makefile.in, resource/Makefile.in,
403         scripts/Makefile.in, tools/Makefile.in: Regenerate.
404         * tools/classes/com/sun/tools/javac: New directory.
405         * tools/classes/com/sun/tools/javac/Main.class,
406         tools/classes/com/sun/tools/javac/Messages.class: New files.
407
408 2007-03-16  Tom Tromey  <tromey@redhat.com>
409
410         * tools/gnu/classpath/tools/javah/Main.java (run): Use class'
411         name in File case.
412
413 2007-03-16  Tom Tromey  <tromey@redhat.com>
414
415         * tools/gnu/classpath/tools/javah/JniStubPrinter.java
416         (printClass): Added filename argument.
417         * tools/gnu/classpath/tools/javah/JniIncludePrinter.java
418         (printClass): Added filename argument.
419         * tools/gnu/classpath/tools/javah/CniIncludePrinter.java
420         (printClass): Use user's file name.
421         * tools/gnu/classpath/tools/javah/CniStubPrinter.java
422         (printClass): Use user's file name.
423         * tools/gnu/classpath/tools/javah/Printer.java (printClass): Added
424         filename argument.
425         * tools/gnu/classpath/tools/javah/Main.java (getParser): Fix '-v'
426         argument order.
427         (writeHeaders): Use a HashMap.
428         (run): Put class name into HashMap for writeHeaders.
429
430 2007-03-02  Mario Torre  <neugens@limasoftware.net>
431
432         PR classpath/31017:
433         committed for Petteri Räty <betelgeuse@gentoo.org>
434         * configure.ac: fix broken build for gcj browser plugin
435
436 2007-02-20  Jakub Jelinek  <jakub@redhat.com>
437
438         * java/util/Date.java (parse): Properly parse 09:01:02 as
439         hours/minutes/seconds, not as hours/minutes/year.
440         * java/util/SimpleTimeZone.java (SimpleTimeZone): Simplify
441         {start,end}TimeMode constructor by calling shorter constructor,
442         set {start,end}TimeMode fields after it returns.
443         (setStartRule): Don't adjust startTime into WALL_TIME.  Set
444         startTimeMode to WALL_TIME.
445         (endStartRule): Similarly.
446         (getOffset): Handle properly millis + dstOffset overflowing into the
447         next day.  Adjust startTime resp. endTime based on startTimeMode
448         resp. endTimeMode.
449         * java/util/TimeZone.java (zoneinfo_dir, availableIDs, aliases0): New
450         static fields.
451         (timezones): Remove synchronized keyword.  Set zoneinfo_dir.
452         If non-null, set up aliases0 and don't put anything into
453         timezones0.
454         (defaultZone): Call getTimeZone instead of timezones().get.
455         (getDefaultTimeZone): Fix parsing of EST5 or EST5EDT6.  Use
456         getTimeZoneInternal instead of timezones().get.
457         (parseTime): Parse correctly hour:minute.
458         (getTimeZoneInternal): New private method.
459         (getTimeZone): Do the custom ID checking first, canonicalize
460         ID for custom IDs as required by documentation.  Call
461         getTimeZoneInternal to handle the rest.
462         (getAvailableIDs(int)): Add locking.  Handle zoneinfo_dir != null.
463         (getAvailableIDs(File,String,ArrayList)): New private method.
464         (getAvailableIDs()): Add locking.  Handle zoneinfo_dir != null.
465         * gnu/java/util/ZoneInfo.java: New file.
466
467 2007-02-20  Matthias Klose  <doko@ubuntu.com>
468
469         * doc/Makefile.am: Add rules to build and install man pages
470         from texinfo docs.
471         * doc/hacking.texinfo doc/tools.texinfo, doc/vmintegration.texinfo:
472         Rename, prefix files with "cp-".
473         * doc/cp-tools.texinfo: Add markup for man page generation,
474         add documentation for command line options for gjar, gjavah,
475         gnative2ascii, gorbd, grmid, grmiregistry, gserialver, gtnameserv.
476         doc/texi2pod.pl: New, taken from the GCC sources.
477
478 2006-10-14  Edwin Steiner  <edwin.steiner@gmx.net>
479
480         PR classpath/28652:
481         * javax/management/MBeanInfo.java (MBeanInfo): 
482         Use clone to duplicate the arrays in order to
483         preserve the array type.
484
485 2007-02-16  Andrew Haley  <aph@redhat.com>
486
487         * gnu/java/lang/management/MemoryMXBeanImpl.java,
488         javax/management/MBeanServerDelegate.java: Use
489         gnu.javax.management.ListenerData rather than
490         gnu.classpath.ListenerData.
491         * gnu/javax/management/ListenerData.java: Move here from
492         gnu/classpath/ListenerData.java.
493
494 2007-02-14  Jakub Jelinek  <jakub@redhat.com>
495         Andrew Haley  <aph@redhat.com>
496
497         * java/util/TimeZone.java (getDateParams): Negate dayOfWeek.
498
499 2007-02-09  Tom Tromey  <tromey@redhat.com>
500
501         PR libgcj/30647:
502         * configure: Rebuilt.
503         * configure.ac: Also check for jack/jack.h.
504
505 2007-02-09  Jakub Jelinek  <jakub@redhat.com>
506
507         * java/util/TimeZone.java: Handle default (one hour) daylight
508         savings.
509
510 2007-02-09  Jakub Jelinek  <jakub@redhat.com>
511
512         PR 23566
513         * scripts/timezones.pl: Parse each file in 2 passes, in one parse
514         just Rule lines, in the other everything else.  Pass 0 instead of
515         $savings as second argument to parseRule when parsing the start
516         rule.
517         * java/util/TimeZone.java (timezones): Regenerate from tzdata2007a.
518
519 2007-02-07  Chris Burdess  <dog@gnu.org>
520
521         Fixes PR 30718.
522         * gnu/xml/dom/ls/SAXEventSink.java: Add public accessor/mutators.
523         * gnu/xml/transform/XSLURIResolver.java: Add support for custom
524           SAXSources without a backing URL or stream.
525
526         Fixes PR 27710.
527         * gnu/xml/dom/DomDocumentBuilderFactory.java: Fall back to synchronous
528           LSParser if implementation does not support asynchronous.
529         * gnu/xml/stream/XMLParser.java,
530           gnu/xml/stream/XIncludeFilter.java: Use custom code instead of
531           java.net.URL to resolve to an an absolute URI, to avoid nonexistent
532           protocol handler problems.
533
534 2007-02-06  Tom Tromey  <tromey@redhat.com>
535
536         PR libgcj/30707:
537         * tools/gnu/classpath/tools/javah/JniIncludePrinter.java
538         (printClass): Always print a header.
539
540 2007-02-05  Andrew Haley  <aph@redhat.com>
541
542         PR cp-tools/30706
543         * tools/gnu/classpath/tools/javah/JniIncludePrinter.java:
544         (printClass): Replace '/' in filenames with '_'.
545         * tools/gnu/classpath/tools/javah/JniStubPrinter.java
546         (printClass): Likewise.
547
548 2007-02-05  Tom Tromey  <tromey@redhat.com>
549
550         * java/net/Proxy.java (equals): Handle case where address==null.
551         (hashCode): Likewise.
552         (toString): Likewise.
553
554 2007-01-31  Tom Tromey  <tromey@redhat.com>
555
556         * resource/gnu/classpath/tools/jar/messages.properties
557         (Main.Stdin): New message.
558         * tools/gnu/classpath/tools/jar/Main.java (initializeParser): Add
559         '-@' option.
560         (readNames): New method.
561         (run): Use it.
562
563 2007-01-26  Andrew Haley  <aph@redhat.com>
564
565         * java/lang/SecurityManager.java: Load and initialize
566         java.security.Security.
567
568 2007-01-26  Tom Tromey  <tromey@redhat.com>
569
570         * tools/gnu/classpath/tools/javah/FieldHelper.java (print): Print
571         'volatile' after field type.
572
573 2007-01-23  Marco Trudel  <mtrudel@gmx.ch>
574
575         * java/util/Arrays.java (binarySearch): Change comparison order.
576
577 2007-01-17  Tom Tromey  <tromey@redhat.com>
578
579         * tools/gnu/classpath/tools/javah/PathOptionGroup.java
580         (PathOptionGroup): Set default boot class path.
581
582 2006-12-14  Andrew Haley  <aph@redhat.com>
583
584         * tools/gnu/classpath/tools/jar/Creator.java: Close the
585         inputStream.
586
587 2006-10-12  Andrew Haley  <aph@redhat.com>
588
589         * java/lang/InheritableThreadLocal.java: Rename NULL to sentinel.
590         * java/lang/ThreadLocal.java: Likewise.
591
592 2006-09-13  Andrew Haley  <aph@redhat.com>
593
594         * external/jsr166/java/util/concurrent/atomic/AtomicIntegerFieldUpdater.java:
595         Revert previous gcj-specific disabling of checks.
596         * external/jsr166/java/util/concurrent/atomic/AtomicReferenceFieldUpdater.java:
597         Likewise.
598         * classpath/external/jsr166/java/util/concurrent/atomic/AtomicLongFieldUpdater.java:
599         Likewise.
600
601 2006-09-13  Andrew Haley  <aph@redhat.com>
602
603         * java/util/PriorityQueue.java: Throw IllegalArgumentException for
604         capacity < 1.
605         (Iterator.remove()): Decrement index after removing element.
606
607 2006-12-11  Jeroen Frijters  <jeroen@frijters.net>
608
609         * javax/net/ssl/SSLSocketFactory.java (getDefault):
610         Chain exception cause.
611
612 2006-12-11  Roman Kennke  <kennke@aicas.com>
613
614         * .classpath: Include ASM in Eclipse classpath.
615
616 2006-12-11  Andrew John Hughes  <gnu_andrew@member.fsf.org>
617
618         * gnu/java/lang/management/BeanImpl.java:
619         (translate(String)): Trim strings of whitespace.
620         * javax/management/MBeanAttributeInfo.java:
621         (MBeanAttributeInfo(String,String,Method,Method)):
622         Use Class.getName() for normal (non-parameterized) cases.
623         * javax/management/MBeanConstructorInfo.java:
624         (MBeanConstructorInfo(String, Constructor)):
625         Likewise.
626         * javax/management/MBeanOperationInfo.java:
627         (MBeanOperationInfo(String, Method)):
628         Likewise.
629
630 2006-12-11  Andrew John Hughes  <gnu_andrew@member.fsf.org>
631
632         * java/lang/Class.java:
633         (getClasses()): Return Class<?>[].
634         (internalGetClasses()): Likewise.
635         (getConstructor(Class<?>...)): Add type parameter
636         to parameters.
637         (getDeclaredConstructor(Class<?>...)): Likewise.
638         (getDeclaredClasses()): Return Class<?>[].
639         (getDeclaredClasses(boolean)): Likewise.
640         (getDeclaredConstructors()): Return Constructor<?>[].
641         (getDeclaredConstructors(boolean)): Likewise.
642         (getDeclaredMethod(String,Class<?>...)): Add type
643         parameter to parameters.
644         (getInterfaces()): Return Class<?>[].
645         (getMethods(String,Class<?>...)): Add type
646         parameter to parameters.
647         * java/text/CollationKey.java:
648         Make non-final.
649         * java/text/DecimalFormatSymbols.java:
650         Likewise.
651         
652 2006-12-11  Andrew John Hughes  <gnu_andrew@member.fsf.org>
653
654         * gnu/java/lang/management/BeanImpl.java:
655         (translate(String)): Handle Map and List as
656         Strings of the form "java.util.Map<K,V>" and
657         "java.util.List<E>"
658         * javax/management/MBeanAttributeInfo.java:
659         (MBeanAttributeInfo(String,String,Method,Method)):
660         Use generic parameter and return types.
661         * javax/management/MBeanConstructorInfo.java:
662         (MBeanConstructorInfo(String, Constructor)):
663         Use generic parameter types.
664         * javax/management/MBeanOperationInfo.java:
665         (MBeanOperationInfo(String, Method)):
666         Use generic parameter and return types.
667         
668 2006-12-10  Andrew John Hughes  <gnu_andrew@member.fsf.org>
669
670         * gnu/java/lang/management/BeanImpl.java:
671         (translate(String)): Comment out code for using type
672         variables for Map and List.
673         * java/lang/Thread.java:
674         (Thread(ThreadGroup,Runnable,String,long)): Fix
675         incrementation of totalThreadsCreated to be prior to use.
676         
677 2006-12-10  Andrew John Hughes  <gnu_andrew@member.fsf.org>
678
679         * javax/management/MBeanServerFactory.java:
680         (createMBeanServer(String)): Added security check.
681         (findMBeanServer(String)): Likewise.
682         (newMBeanServer(String)): Likewise.
683         (releaseMBeanServer(String)): Likewise.
684         * javax/management/MBeanServerPermission.java:
685         New file.
686         
687 2006-12-08  David Daney  <ddaney@avtrex.com>
688
689         * native/jni/java-nio/gnu_java_nio_VMChannel.c (is_non_blocking_fd):
690         Fix comment.
691
692 2006-12-08  David Daney  <ddaney@avtrex.com>
693
694         * NEWS: Mention URLConnection.[get|set]ReadTimeout.
695
696 2006-12-08  David Daney  <ddaney@avtrex.com>
697
698         * gnu/java/net/protocol/http/HTTPConnection.java (imports): Add
699         SocketException.
700         (HTTPConnection): Handle NumberFormatException in properties parsing.
701         (Pool.get): Set timeout on reused sockets.
702         * gnu/java/net/protocol/http/HTTPURLConnection.java (proxyPort):
703         Initialize.
704         (HTTPURLConnection): Cleanup properties handling.
705         (getConnection): Use both connection and read timeouts.
706         (setConnectTimeout): Removed.
707         (setReadTimeout): New method.
708         * java/net/URLConnection.java (timeout): Renamed to...
709         (connectTimeout): ... connectTimeout throughout.
710         (readTimeout): New field.
711         (getReadTimeout): New method.
712         (setReadTimeout): New method.
713
714 2006-12-08  Tania Bento  <tbento@redhat.com>
715
716         * java/awt/ScrollPane.java
717         (doLayout): Change the location of the scrollpane's child
718         to (0, 0).
719
720 2006-12-08  David Daney  <ddaney@avtrex.com>
721
722         * native/jni/java-nio/gnu_java_nio_VMChannel.c (is_non_blocking_fd):
723         New method.
724         (Java_gnu_java_nio_VMChannel_read__ILjava_nio_ByteBuffer_2): Throw
725         SocketTimeoutException if a blocking socket timesout.
726         (Java_gnu_java_nio_VMChannel_readScattering): Same.
727         (Java_gnu_java_nio_VMChannel_read__I): Same.
728         (Java_gnu_java_nio_VMChannel_connect): Initialize the fd set.
729         (Java_gnu_java_nio_VMChannel_connect6): Same.
730
731 2006-12-08  Mark Wielaard  <mark@klomp.org>
732
733         * configure.ac (VERSION): Set to 0.93-generics.
734         * NEWS: Add release date.
735
736 2006-12-08  Tania Bento  <tbento@redhat.com>
737
738         * java/awt/ScrollPane.java
739         (getScrollPosition): Throw NullPointerException if scrollpane
740         does have a child.
741         (setScrollPosition(int, int)): Throw NullPointerException if
742         scrollpane does have a child.  Check that both ints are within
743         the allowed bounds; If they are not, scroll to the closest allowed
744         bound.
745
746 2006-12-07  Roman Kennke  <kennke@aicas.com>
747
748         * javax/swing/JEditorPane.java
749         (EditorKitMapping): New inner helper class.
750         (editorKits): New static field for caching editor kit instances.
751         (static_initiazer): Initialize static mappings here.
752         (createEditorKitForContentType): Try to use cached instance.
753         Use correct classloader for loading.
754         (getEditorKitClassNameForContentType): Make use of EditorKitMapping
755         class.
756         (getEditorKitForContentType): Store the fetched editor kit.
757         Fallback to createDefaultEditorKit().
758         (init): Don't clean the static registry here.
759         (registerEditorKitForContentType(String,String,ClassLoader)):
760         Implemented.
761         (registerEditorKitForContentType(String,String)): Delegate to
762         the other version of this method with the thread's context
763         classloader.
764
765 2006-12-07  Mark Wielaard  <mark@klomp.org>
766
767         * examples/gnu/classpath/examples/swing/HtmlDemo.java
768         (setPage): Don't convert URL to String for setPage().
769
770 2006-12-07  Mark Wielaard  <mark@klomp.org>
771
772         * tools/Makefile.am (clean-local): Remove iasm and asm.lst.
773
774 2006-12-07  Mark Wielaard  <mark@klomp.org>
775
776         * tools/Makefile.am: Explicitly define  and use bootclasspath as
777         GLIBJ_BOOTCLASSPATH
778
779 2006-12-07  Mark Wielaard  <mark@klomp.org>
780
781         * javax/swing/JEditorPane.java (createEditorKitForContentType):
782         Always load from system class loader.
783
784 2006-12-07  Mark Wielaard  <mark@klomp.org>
785
786         * java/net/URL.java (URL(URL,String,URLStreamHandler,boolean)): New
787         private constructor.
788         (URL(URL,String,URLStreamHandler)): Call new constructor.
789         (URL(URL,String)): Likewise.
790         (URL(String)): Likewise.
791
792 2006-12-07  Tom Tromey  <tromey@redhat.com>
793
794         * NEWS: Mention ASM.
795         * INSTALL: Don't mention --with-asm.
796         * tools/external/README: New file.
797         * tools/toolwrapper.c (main): Don't use ASM_JAR.
798         * tools/gjavah.in: Don't use PATH_TO_ASM.
799         * tools/grmic.in: Likewise.
800         * tools/Makefile.am (GLIBJ_CLASSPATH): Removed PATH_TO_ASM, added
801         'asm'.
802         (javah, rmic): Removed variables.
803         (bin_PROGRAMS): Updated.
804         (gappletviewer_CFLAGS): Don't define ASM_JAR.
805         (gjarsigner_CFLAGS): Likewise.
806         (gkeytool_CFLAGS): Likewise.
807         (gjar_CFLAGS): Likewise.
808         (gnative2ascii_CFLAGS): Likewise.
809         (gserialver_CFLAGS): Likewise.
810         (grmiregistry_CFLAGS): Likewise.
811         (gtnameserv_CFLAGS): Likewise.
812         (gorbd_CFLAGS): Likewise.
813         (grmid_CFLAGS): Likewise.
814         (gjavah_CFLAGS): Likewise.
815         (grmic_CFLAGS): Likewise.
816         (bin_SCRIPTS): Updated.
817         (TOOLS_JAVA_FILES): Updated.
818         ($(TOOLS_ZIP)): Compile ASM sources.  Copy resource files.
819         * configure.ac: Removed --with-asm.  Always build gjavah.
820
821 2006-12-06  Roman Kennke  <kennke@aicas.com>
822
823         * examples/gnu/classpath/examples/swing/BrowserEditorKit.java:
824         New class.
825         * examples/gnu/classpath/examples/swing/HtmlDemo.java
826         (LoadActionListener): Call setPage() helper method.
827         (createContent): Register tweaked editor kit. For FormSubmitEvents
828         call submitForm(), otherwise setPage().
829         (postData): Helper method for posting form data.
830         (setPage): Helper method for navigating to a new URL.
831         (submitForm): Helper method for submitting a form.
832         * examples/gnu/classpath/examples/swing/forms.html:
833         Added text/password fields and select boxes.
834         * examples/gnu/classpath/examples/swing/welcome.html: Fixed typo.
835
836 2006-12-06  Roman Kennke  <kennke@aicas.com>
837
838         * javax/swing/text/html/FormView.java
839         (SubmitThread.postData): Implemented.
840         (SubmitThread.run): Pass data to postData().
841         (actionPerformed): Reset form when reset button is activated.
842         (createComponent): Add support for select lists and comboboxes.
843         Don't set value of text and password fields here, this is done
844         now in HTMLDocument for consistency.
845         (getElementFormData): Add support for fetching form data from
846         select lists and comboboxes as well as textareas.
847         (getSelectData): New helper method. Fetches form data from
848         select boxes.
849         (getTextAreaData): New helper method. Fetches form data from
850         textareas.
851         (resetForm): New helper method. Resets the entire form.
852         * javax/swing/text/html/HTMLDocument.java
853         (HTMLReader.FormAction.end): Handle SELECT and OPTION tags.
854         (HTMLReader.FormAction.start): Handle SELECT and OPTION tags.
855         (HTMLReader.FormAction.setModel): Initialize text and password
856         values here. Also, use the resetable special models.
857         Group radio buttons into ButtonGroup for exclusive selection.
858         (HTMLReader.FormTagAction): New class. Handles FORM tags.
859         (HTMLReader.buttonGroups): New field.
860         (HTMLReader.numOptions): New field.
861         (HTMLReader.option): New field.
862         (HTMLReader.selectModel): New field.
863         (HTMLReader.textAreaDocument): Make ResetablePlainDocument.
864         (HTMLReader.handleText): Handle OPTION text.
865         (HTMLReader.initTags): Map FORM tags to FormTagAction.
866         (HTMLReader.textAreaContent): Set initial content.
867         * javax/swing/text/html/Option.java
868         (Option): Make copy of attribute set. Initialize selected state.
869         (getValue): Fetch value from attribute set.
870         * javax/swing/text/html/ResetableModel.java: New interface.
871         * javax/swing/text/html/ResetablePlainDocument.java: New class.
872         Supports resetting the state.
873         * javax/swing/text/html/ResetableToggleButtonModel.java: Likewise.
874         * javax/swing/text/html/SelectComboBoxModel.java: Likewise.
875         * javax/swing/text/html/SelectListModel.java: Likewise.
876
877 2006-12-06  Roman Kennke  <kennke@aicas.com>
878
879         * javax/swing/text/DefaultCaret.java
880         (appear): Adjust visibility here.
881         (setDotImpl): Don't adjust visibility here.
882         (moveDotImpl): Don't adjust visibility here.
883
884 2006-12-06  Roman Kennke  <kennke@aicas.com>
885
886         * gnu/java/awt/peer/gtk/AsyncImage.java
887         (Loader.run): Synchronize on the AsyncImage to avoid threading
888         issues.
889         (addObservers): Check for obs==null outside and synchronize on
890         this inside to avoid locking issues.
891         (checkImage): New helper method.
892         (notifyObservers): Check that the correct lock is held and
893         remove actual locking.
894         * gnu/java/awt/peer/gtk/GtkToolkit.java
895         (checkImage): Added special handling for AsyncImages.
896         
897 2006-12-06  Roman Kennke  <kennke@aicas.com>
898
899         * examples/gnu/classpath/examples/swing/Demo.java
900         (getIcon): Made package private.
901         * examples/gnu/classpath/examples/swing/HtmlDemo.java
902         (hyperlinkUpdate): Convert URL to string.
903
904 2006-12-06  Mark Wielaard  <mark@klomp.org>
905
906         * gnu/java/awt/peer/gtk/AsyncImage.java (addObserver): Never notify
907         null Observer.
908
909 2006-12-06  Roman Kennke  <kennke@aicas.com>
910
911         * examples/gnu/classpath/examples/icons/back.png,
912         * examples/gnu/classpath/examples/icons/reload.png:
913         New icons for the HTML browser.
914         * examples/gnu/classpath/examples/swing/HtmlDemo.java
915         (history): New field. Manages the browsing history.
916         (HtmlDemo): Initialize history.
917         (createContent): Set location and add history. Add toolbar.
918         (createToolBar): New helper method.
919         (main): Make default size bigger.
920         * examples/gnu/classpath/examples/swing/frame1.html,
921         * examples/gnu/classpath/examples/swing/frame2.html,
922         * examples/gnu/classpath/examples/swing/frame3.html,
923         * examples/gnu/classpath/examples/swing/frame4.html,
924         * examples/gnu/classpath/examples/swing/frames.html,
925         * examples/gnu/classpath/examples/swing/tables.html:
926         New example pages.
927         * examples/gnu/classpath/examples/swing/welcome.html
928         Add a couple of links and new test pages.
929
930 2006-12-06  Roman Kennke  <kennke@aicas.com>
931
932         * javax/swing/JEditorPane.java
933         (getStream): Buffer the stream for efficiency.
934         (setPage): Don't scroll the view at this point.
935         * javax/swing/plaf/basic/BasicTextUI.java
936         (RootView.paint): Call RootView's setSize to get synchronization.
937         (RootView.setSize): Synchronize to prevent race in layout code.
938         * javax/swing/text/AbstractDocument.java
939         (notifyListeners): New field.
940         (fireChangedUpdate): Track notifyListener field.
941         (fireRemoveUpdate): Track notifyListener field.
942         (fireIndertUpdate): Track notifyListener field.
943         (writeLock): Check notifyListener and throw IllegalStateException.
944         * javax/swing/text/View.java
945         (preferenceChanged): Create local var for better thread safety and
946         more efficiency.
947
948 2006-12-06  Thomas Fitzsimmons  <fitzsim@redhat.com>
949
950         * java/awt/ScrollPane.java (addNotify): Add a parent panel for any
951         lightweight component, not just for non-Panel components.
952         (addImpl): Do not call doLayout.
953         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
954         (setNativeBounds): Ensure widget parent is a GtkFixed before
955         calling gtk_fixed_move.
956         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
957         (setNativeBounds): Likewise.
958         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
959         (setNativeBounds): Likewise.
960
961 2006-12-06  Roman Kennke  <kennke@aicas.com>
962
963         * javax/swing/text/html/TableView.java
964         (RowView.layoutMajorAxis): Check column index for invalid value.
965         (updateGrid): Check column index for invalid value.
966
967 2006-12-06  Roman Kennke  <kennke@aicas.com>
968
969         * javax/swing/text/html/BlockView.java
970         (getAlignment): Align blocks horizontally by the superclass.
971         * javax/swing/text/html/HTMLEditorKit.java
972         (HTMLFactory.create): Replace equals comparison by == for efficiency.
973         Add mapping for misplaced tr, td and th tags. Include object mapping.
974         * javax/swing/text/html/TableView.java
975         (RowView.replace): Invalidate grid early.
976         (gridValid): Initialize with false.
977         (create): Only create RowView and CellView for correctly placed
978         tags. Avoid unnecessary casts.
979         (getAlignment): Removed.
980         (replace): Invalidate grid early.
981
982 2006-12-06  Francis Kung  <fkung@redhat.com>
983
984         * java/awt/geom/RectangularShape.java
985         (getBounds): Remove empty rectangle check.
986
987 2006-12-06  Ben Konrath  <bkonrath@redhat.com>
988
989         Fixes PR 29853.
990         * gnu/xml/dom/DomAttr.java: Don't report mutation if oldValue and
991         newValue are the same.
992         * gnu/xml/dom/DomNode.java: Set parent if null during mutation.
993
994 2006-12-06  Tania Bento  <tbento@redhat.com>
995
996         * javax/swing/border/CompoundBorder.java:
997         (isBorderOpaque): If inside border is null, return true if outside
998         border is opaque, false otherwise; if outside border is null, return
999         true if inside border is opaque, false otherwise; if inside or
1000         outside border are both not null, then return true only if both the
1001         inside and outside border are opaque, false otherwise.
1002
1003 2006-12-06  Tania Bento  <tbento@redhat.com>
1004
1005         * javax/swing/border/CompoundBorder.java:
1006         (isBorderOpaque): If inside and outside border both have a null
1007         value, return true.
1008
1009 2006-12-06  Chris Burdess  <dog@gnu.org>
1010
1011         Fixes PR 29272.
1012         * javax/xml/parsers/DocumentBuilderFactory.java: Fix broken Javadoc.
1013         * gnu/xml/stream/SAXParser.java: Fix file descriptor leak.
1014
1015 2006-12-06  Chris Burdess  <dog@gnu.org>
1016
1017         Fixes PR 29264.
1018         * gnu/xml/stream/XMLStreamWriterImpl.java: Allow arbitrary text in
1019           writeDTD method.
1020
1021 2006-12-06  Chris Burdess  <dog@gnu.org>
1022
1023         Fixes PR 28816.
1024         * javax/xml/validation/SchemaFactory.java: Use correct algorithm to
1025           discover schema factory implementation class.
1026
1027 2006-12-05  Francis Kung  <fkung@redhat.com>
1028
1029         * java/awt/BasicStroke.java
1030         (capEnd): Prevent division by zero.
1031         * java/awt/geom/Arc2D.java
1032         (ArcIterator.ArcIterator): Do not shift the arc to make the extent positive.
1033         (ArcIterator.currentSegment): Handle a negative extent.
1034
1035 2006-12-05  Francis Kung  <fkung@redhat.com>
1036
1037         * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
1038         (constructor): Handle translated subimages properly, ie, if the image's
1039         0,0 position is not the data buffer's first element.
1040
1041 2006-12-05  Roman Kennke  <kennke@aicas.com>
1042
1043         * gnu/java/awt/peer/gtk/AsyncImage.java
1044         (Loader.run): Nullify observers after loading.
1045         (observers): Made package private.
1046         (addObserver): Check for null observers field. Create local
1047         variable for thread safety.
1048         (getHeight): Use addObserver() for checking state of field
1049         and notifying observer when necessary.
1050         (getWidth): Use addObserver() for checking state of field
1051         and notifying observer when necessary.
1052         (getProperty): Use addObserver() for checking state of field
1053         and notifying observer when necessary.
1054         (notifyObservers): Check for null observers field. Create local
1055         variable for thread safety.
1056
1057 2006-12-05  Roman Kennke  <kennke@aicas.com>
1058
1059         * javax/swing/text/html/HTMLEditorKit.java
1060         (HTMLFactory.create): Removed debug output.
1061         * javax/swing/text/html/InlineView.java
1062         (getBreakWeight): Likewise.
1063         * javax/swing/text/html/StyleSheet.java
1064         (addRule): Likewise.
1065         (ListPainter.paint): Removed debug output.
1066
1067 2006-12-05  Roman Kennke  <kennke@aicas.com>
1068
1069         * javax/swing/text/html/BlockView.java
1070         (painter): Made package visible.
1071         * javax/swing/text/html/StyleSheet.java
1072         (translateBorder): New helper method.
1073         (translateHTMLToCSS): Add mappings for border attributes.
1074         * javax/swing/text/html/TableView.java
1075         Made class subclass of BlockView to get CSS goodness.
1076         (CellView.rowSpan): New field.
1077         (CellView.setPropertiesFromAttributes): Fetch rowspan.
1078         (RowView.overlap): New field.
1079         (RowView.rowIndex): New field.
1080         (RowView.layoutMajorAxis): Skip overlapping cells.
1081         (RowView.layoutMinorAxis): Layout cells that span more than 1 row.
1082         (numColumns): New field.
1083         (tmpRect): New field.
1084         (TableView): Initialize tmpRect.
1085         (calculateColumnRequirements): Adjusted and fixed for multirows.
1086         (getAlignment): Overridden to center tables.
1087         (paint): Overridden to fix clipping.
1088         (getStyleSheet): Made protected.
1089         (layoutMajorAxis): Invalidate rows.
1090         (setPropertiesFromAttributes): Made protected and call super.
1091         (updateGrid): Update the overlapping information for multirows.
1092
1093 2006-12-05  Roman Kennke  <kennke@aicas.com>
1094
1095         * gnu/java/awt/peer/gtk/AsyncImage.java
1096         (addObserver): Check for null and ignore null observers.
1097         (getWidth): Check for null and ignore null observers.
1098         (getHeight): Check for null and ignore null observers.
1099         (getProperty): Check for null and ignore null observers.
1100
1101 2006-12-05  Francis Kung  <fkung@redhat.com>
1102
1103         * java/awt/BasicStroke.java
1104         (capEnd): Prevent division by zero.
1105         * java/awt/geom/Arc2D.java
1106         (ArcIterator.ArcIterator): Do not shift the arc to make the extent positive.
1107         (ArcIterator.currentSegment): Handle a negative extent.
1108
1109 2006-12-05  Francis Kung  <fkung@redhat.com>
1110
1111         * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
1112         (constructor): Handle translated subimages properly, ie, if the image's
1113         0,0 position is not the data buffer's first element.
1114
1115 2006-12-05  Roman Kennke  <kennke@aicas.com>
1116
1117         * javax/swing/text/html/ImageView.java
1118         (imageUpdate): Use spans field to determine if the CSS width/height
1119         are set. Call safePreferenceChanged to protect view structure
1120         from threading issues.
1121         (spans): Made package private.
1122         (ImageView): Initialize loadOnDemand with false.
1123         (loadImage): Call Toolkit.prepareImage() to make sure we have
1124         our Observer registered.
1125         (safePreferenceChanged): New helper method. Calls preferenceChanged
1126         in a thread safe environment.
1127
1128 2006-12-05  Roman Kennke  <kennke@aicas.com>
1129
1130         * NEWS: Add entry about improved HTML support.
1131
1132 2006-12-05  Roman Kennke  <kennke@aicas.com>
1133
1134         * javax/swing/text/html/ImageView.java
1135         (ImageView): Initialize spans array here.
1136         (setPropertiesFromAttributes): Moved init of spans array to
1137         constructor.
1138
1139 2006-12-05  Roman Kennke  <kennke@aicas.com>
1140
1141         * javax/swing/text/html/BlockView.java
1142         (painter): Made package visible.
1143         * javax/swing/text/html/StyleSheet.java
1144         (translateBorder): New helper method.
1145         (translateHTMLToCSS): Add mappings for border attributes.
1146         * javax/swing/text/html/TableView.java
1147         Made class subclass of BlockView to get CSS goodness.
1148         (CellView.rowSpan): New field.
1149         (CellView.setPropertiesFromAttributes): Fetch rowspan.
1150         (RowView.overlap): New field.
1151         (RowView.rowIndex): New field.
1152         (RowView.layoutMajorAxis): Skip overlapping cells.
1153         (RowView.layoutMinorAxis): Layout cells that span more than 1 row.
1154         (numColumns): New field.
1155         (tmpRect): New field.
1156         (TableView): Initialize tmpRect.
1157         (calculateColumnRequirements): Adjusted and fixed for multirows.
1158         (getAlignment): Overridden to center tables.
1159         (paint): Overridden to fix clipping.
1160         (getStyleSheet): Made protected.
1161         (layoutMajorAxis): Invalidate rows.
1162         (setPropertiesFromAttributes): Made protected and call super.
1163         (updateGrid): Update the overlapping information for multirows.
1164
1165 2006-12-05  Roman Kennke  <kennke@aicas.com>
1166
1167         * javax/swing/text/html/HTMLEditorKit.java
1168         (HTMLFactory.create): Removed debug output.
1169         * javax/swing/text/html/InlineView.java
1170         (getBreakWeight): Likewise.
1171         * javax/swing/text/html/StyleSheet.java
1172         (addRule): Likewise.
1173         (ListPainter.paint): Removed debug output.
1174
1175 2006-12-06  Roman Kennke  <kennke@aicas.com>
1176
1177         * javax/swing/text/html/BlockView.java
1178         (getAlignment): Align blocks horizontally by the superclass.
1179         * javax/swing/text/html/HTMLEditorKit.java
1180         (HTMLFactory.create): Replace equals comparison by == for efficiency.
1181         Add mapping for misplaced tr, td and th tags. Include object mapping.
1182         * javax/swing/text/html/TableView.java
1183         (RowView.replace): Invalidate grid early.
1184         (gridValid): Initialize with false.
1185         (create): Only create RowView and CellView for correctly placed
1186         tags. Avoid unnecessary casts.
1187         (getAlignment): Removed.
1188         (replace): Invalidate grid early.
1189
1190
1191 2006-12-06  Roman Kennke  <kennke@aicas.com>
1192
1193         * javax/swing/text/html/TableView.java
1194         (RowView.layoutMajorAxis): Check column index for invalid value.
1195         (updateGrid): Check column index for invalid value.
1196
1197 2006-12-06  Roman Kennke  <kennke@aicas.com>
1198
1199         * javax/swing/JEditorPane.java
1200         (getStream): Buffer the stream for efficiency.
1201         (setPage): Don't scroll the view at this point.
1202         * javax/swing/plaf/basic/BasicTextUI.java
1203         (RootView.paint): Call RootView's setSize to get synchronization.
1204         (RootView.setSize): Synchronize to prevent race in layout code.
1205         * javax/swing/text/AbstractDocument.java
1206         (notifyListeners): New field.
1207         (fireChangedUpdate): Track notifyListener field.
1208         (fireRemoveUpdate): Track notifyListener field.
1209         (fireIndertUpdate): Track notifyListener field.
1210         (writeLock): Check notifyListener and throw IllegalStateException.
1211         * javax/swing/text/View.java
1212         (preferenceChanged): Create local var for better thread safety and
1213         more efficiency.
1214
1215 2006-12-06  Roman Kennke  <kennke@aicas.com>
1216
1217         * examples/gnu/classpath/examples/icons/back.png,
1218         * examples/gnu/classpath/examples/icons/reload.png:
1219         New icons for the HTML browser.
1220         * examples/gnu/classpath/examples/swing/HtmlDemo.java
1221         (history): New field. Manages the browsing history.
1222         (HtmlDemo): Initialize history.
1223         (createContent): Set location and add history. Add toolbar.
1224         (createToolBar): New helper method.
1225         (main): Make default size bigger.
1226         * examples/gnu/classpath/examples/swing/frame1.html,
1227         * examples/gnu/classpath/examples/swing/frame2.html,
1228         * examples/gnu/classpath/examples/swing/frame3.html,
1229         * examples/gnu/classpath/examples/swing/frame4.html,
1230         * examples/gnu/classpath/examples/swing/frames.html,
1231         * examples/gnu/classpath/examples/swing/tables.html:
1232         New example pages.
1233         * examples/gnu/classpath/examples/swing/welcome.html
1234         Add a couple of links and new test pages.
1235
1236 2006-12-06  Roman Kennke  <kennke@aicas.com>
1237
1238         * examples/gnu/classpath/examples/swing/Demo.java
1239         (getIcon): Made package private.
1240         * examples/gnu/classpath/examples/swing/HtmlDemo.java
1241         (hyperlinkUpdate): Convert URL to string.
1242
1243 2006-12-06  Roman Kennke  <kennke@aicas.com>
1244
1245         * javax/swing/text/DefaultCaret.java
1246         (appear): Adjust visibility here.
1247         (setDotImpl): Don't adjust visibility here.
1248         (moveDotImpl): Don't adjust visibility here.
1249
1250 2006-12-06  Roman Kennke  <kennke@aicas.com>
1251
1252         * javax/swing/text/html/FormView.java
1253         (SubmitThread.postData): Implemented.
1254         (SubmitThread.run): Pass data to postData().
1255         (actionPerformed): Reset form when reset button is activated.
1256         (createComponent): Add support for select lists and comboboxes.
1257         Don't set value of text and password fields here, this is done
1258         now in HTMLDocument for consistency.
1259         (getElementFormData): Add support for fetching form data from
1260         select lists and comboboxes as well as textareas.
1261         (getSelectData): New helper method. Fetches form data from
1262         select boxes.
1263         (getTextAreaData): New helper method. Fetches form data from
1264         textareas.
1265         (resetForm): New helper method. Resets the entire form.
1266         * javax/swing/text/html/HTMLDocument.java
1267         (HTMLReader.FormAction.end): Handle SELECT and OPTION tags.
1268         (HTMLReader.FormAction.start): Handle SELECT and OPTION tags.
1269         (HTMLReader.FormAction.setModel): Initialize text and password
1270         values here. Also, use the resetable special models.
1271         Group radio buttons into ButtonGroup for exclusive selection.
1272         (HTMLReader.FormTagAction): New class. Handles FORM tags.
1273         (HTMLReader.buttonGroups): New field.
1274         (HTMLReader.numOptions): New field.
1275         (HTMLReader.option): New field.
1276         (HTMLReader.selectModel): New field.
1277         (HTMLReader.textAreaDocument): Make ResetablePlainDocument.
1278         (HTMLReader.handleText): Handle OPTION text.
1279         (HTMLReader.initTags): Map FORM tags to FormTagAction.
1280         (HTMLReader.textAreaContent): Set initial content.
1281         * javax/swing/text/html/Option.java
1282         (Option): Make copy of attribute set. Initialize selected state.
1283         (getValue): Fetch value from attribute set.
1284         * javax/swing/text/html/ResetableModel.java: New interface.
1285         * javax/swing/text/html/ResetablePlainDocument.java: New class.
1286         Supports resetting the state.
1287         * javax/swing/text/html/ResetableToggleButtonModel.java: Likewise.
1288         * javax/swing/text/html/SelectComboBoxModel.java: Likewise.
1289         * javax/swing/text/html/SelectListModel.java: Likewise.
1290
1291 2006-12-06  Roman Kennke  <kennke@aicas.com>
1292
1293         * examples/gnu/classpath/examples/swing/BrowserEditorKit.java:
1294         New class.
1295         * examples/gnu/classpath/examples/swing/HtmlDemo.java
1296         (LoadActionListener): Call setPage() helper method.
1297         (createContent): Register tweaked editor kit. For FormSubmitEvents
1298         call submitForm(), otherwise setPage().
1299         (postData): Helper method for posting form data.
1300         (setPage): Helper method for navigating to a new URL.
1301         (submitForm): Helper method for submitting a form.
1302         * examples/gnu/classpath/examples/swing/forms.html:
1303         Added text/password fields and select boxes.
1304         * examples/gnu/classpath/examples/swing/welcome.html: Fixed typo.
1305
1306 2006-12-07  Mark Wielaard  <mark@klomp.org>
1307
1308         * java/net/URL.java (URL(URL,String,URLStreamHandler,boolean)): New
1309         private constructor.
1310         (URL(URL,String,URLStreamHandler)): Call new constructor.
1311         (URL(URL,String)): Likewise.
1312         (URL(String)): Likewise.
1313
1314 2006-12-07  Mark Wielaard  <mark@klomp.org>
1315
1316         * javax/swing/JEditorPane.java (createEditorKitForContentType):
1317         Always load from system class loader.
1318
1319 2006-12-06  Ben Konrath  <bkonrath@redhat.com>
1320
1321         Fixes PR 29853.
1322         * gnu/xml/dom/DomAttr.java: Don't report mutation if oldValue and
1323         newValue are the same.
1324         * gnu/xml/dom/DomNode.java: Set parent if null during mutation.
1325
1326 2006-12-06  Chris Burdess  <dog@gnu.org>
1327
1328         Fixes PR 29272.
1329         * javax/xml/parsers/DocumentBuilderFactory.java: Fix broken Javadoc.
1330         * gnu/xml/stream/SAXParser.java: Fix file descriptor leak.
1331
1332 2006-12-06  Chris Burdess  <dog@gnu.org>
1333
1334         Fixes PR 29264.
1335         * gnu/xml/stream/XMLStreamWriterImpl.java: Allow arbitrary text in
1336         writeDTD method.
1337
1338 2006-12-056  Chris Burdess  <dog@gnu.org>
1339
1340         Fixes PR 28816.
1341         * javax/xml/validation/SchemaFactory.java: Use correct algorithm to
1342         discover schema factory implementation class.
1343
1344 2006-12-05  Roman Kennke  <kennke@aicas.com>
1345
1346         * gnu/java/awt/peer/gtk/AsyncImage.java: New class. Supports
1347         asynchronous loading of images.
1348         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
1349         (drawImage): Fetch real image from possibly AsyncImage.
1350         * gnu/java/awt/peer/gtk/ComponentGraphics.java
1351         (drawImage): Fetch real image from possibly AsyncImage.
1352         * gnu/java/awt/peer/gtk/GtkToolkit.java
1353         (createImage(URL)): Create async image.
1354         (imageOrError): Made method static for easy access from AsyncImage.
1355         (prepareImage): For async images, register the observer to the
1356         image.
1357
1358 2006-12-05  Roman Kennke  <kennke@aicas.com>
1359
1360         (paintComponent): Include paint area from event.
1361         (updateComponent): Include paint area from event.
1362
1363 2006-12-06  Thomas Fitzsimmons  <fitzsim@redhat.com>
1364
1365         * java/awt/ScrollPane.java (addNotify): Add a parent panel for any
1366         lightweight component, not just for non-Panel components.
1367         (addImpl): Do not call doLayout.
1368         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
1369         (setNativeBounds): Ensure widget parent is a GtkFixed before
1370         calling gtk_fixed_move.
1371         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
1372         (setNativeBounds): Likewise.
1373         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
1374         (setNativeBounds): Likewise.
1375
1376 2006-12-04  Thomas Fitzsimmons  <fitzsim@redhat.com>
1377
1378         * java/awt/Component.java (getFontImpl): Return a default font if
1379         topmost parent's font is null.
1380
1381 2006-12-04  Mark Wielaard  <mark@klomp.org>
1382
1383         * javax/swing/text/html/CSS.java (parseMarginShorthand):
1384         Remove debug output.
1385
1386 2006-12-04  Roman Kennke  <kennke@aicas.com>
1387
1388         * java/awt/font/TextLayout.java
1389         (hitTestChar): Fixed conditions for inclusion of range.
1390         Use layout information in the run for more efficiency.
1391
1392 2006-12-04  Roman Kennke  <kennke@aicas.com>
1393
1394         * javax/swing/text/GlyphView.java
1395         (J2DGlyphPainter): New inner class.
1396         (checkPainter): For Java2D capable environments create
1397         a J2DGlyphPainter.
1398
1399 2006-12-04  Roman Kennke  <kennke@aicas.com>
1400
1401         * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
1402         (FreeTypeGlyphVector): Don't filter control chars here.
1403         (getGlyphs): Filter control chars and replace them by
1404         hair space char.
1405
1406 2006-12-04  Roman Kennke  <kennke@aicas.com>
1407
1408         * native/jni/java-nio/gnu_java_nio_VMChannel.c
1409         (Java_gnu_java_nio_VMChannel_connect): Retry on EINTR.
1410
1411 2006-12-04  Andrew John Hughes  <gnu_andrew@member.fsf.org>
1412
1413         * gnu/java/lang/management/BeanImpl.java:
1414         (translate(String)): Don't assume the list uses "E",
1415         just use the first and only type variable.
1416         * java/lang/management/ManagementFactory.java:
1417         (getPlatformMBeanServer()): Register logging bean.
1418         * javax/management/openmbean/OpenType.java:
1419         (OpenType(String,String,String)): Actually use
1420         the string created to handle arrays.
1421         
1422 2006-12-04  Mark Wielaard  <mark@klomp.org>
1423
1424         * native/jni/java-nio/gnu_java_nio_VMChannel.c
1425         (JCL_thread_interrupted): Use CallStaticBooleanMethod.
1426
1427 2006-12-04  Mark Wielaard  <mark@klomp.org>
1428
1429         * vm/reference/gnu/java/nio/VMChannel.java (isThreadInterrupted):
1430         Make static.
1431         * native/jni/java-nio/gnu_java_nio_VMChannel.c
1432         (JCL_thread_interrupted): Only take JNIEnv.
1433         (vm_channel_class): New static variable.
1434         (initID): Set vm_channel_class.
1435         Wrap all reads() and writes() in do-while blocks that check
1436         interrupted status.
1437
1438 2006-12-04  Andrew John Hughes  <gnu_andrew@member.fsf.org>
1439
1440         * gnu/javax/management/Server.java:
1441         Make map final and initialise it.
1442         (unregisterMBean(ObjectName)): Match against
1443         delegate's object name and not the instance.
1444         * java/lang/management/ManagementFactory.java:
1445         Added constant fields.
1446         (getPlatformMBeanServer()): Implemented.
1447         * javax/management/MBeanServerFactory.java: New file.
1448         
1449 2006-12-04  Roman Kennke  <kennke@aicas.com>
1450
1451         * javax/swing/text/BoxView.java
1452         (paint): Replaced painting algorithm with more simple and more
1453         reliable painting of the box.
1454         * javax/swing/text/html/BlockView.java
1455         (PositionInfo): New inner class. Stores additional CSS
1456         positioning information.
1457         (positionInfo): New field.
1458         (BlockView): Initialize positionInfo field.
1459         (fetchLayoutInfo): New helper method. Fetches additional
1460         CSS positioning information.
1461         (layoutMajorAxis): Perform additional CSS layout.
1462         (layoutMinorAxis): Perform additional CSS layout.
1463         (positionView): New helper method.
1464         (replace): Overridden to fetch additional layout information.
1465         * javax/swing/text/html/CSS.java
1466         (Attribute.POSITION): New field.
1467         (Attribute.LEFT): New field.
1468         (Attribute.RIGHT): New field.
1469         (Attribute.TOP): New field.
1470         (Attribute.BOTTOM): New field.
1471         (getValue): Create Length for left, right, top and bottom
1472         attributes.
1473
1474 2006-12-04  Roman Kennke  <kennke@aicas.com>
1475
1476         * gnu/javax/swing/text/html/parser/support/Parser.java
1477         (Sgml): Consume any whitespace that immediately follows
1478         and sgml insertion.
1479         (parseDocument): Consume any initial whitespace.
1480
1481 2006-12-03  Mark Wielaard  <mark@klomp.org>
1482
1483         * gnu/javax/management/Server.java (beans): Initialize.
1484         (registerMBean): Don't initialize beans.
1485
1486 2006-12-03  Mark Wielaard  <mark@klomp.org>
1487
1488         * java/util/logging/LogManager.java (getLevelProperty): Check
1489         whether value is null before passing to Level.parse().
1490
1491 2006-12-04  Robert Lougher  <rob.lougher@gmail.com>
1492
1493         * java/lang/management/ThreadInfo.java (ThreadInfo): Check
1494         whether given a null lock and lockOwner.
1495
1496 2006-12-03  Mark Wielaard  <mark@klomp.org>
1497
1498         * javax/swing/JEditorPane.java (PageLoader.in): Made a PageStream.
1499         (PageLoader.page): Made package local.
1500         (PageLoader.run): Don't reset loader.
1501         (PageLoader.cancel): New method.
1502         (loading): Renamed to loader.
1503         (getPage): Return loader.page.
1504         (setPage): Always set loader. Never reset to null.
1505
1506 2006-12-03  Mark Wielaard  <mark@klomp.org>
1507
1508         * javax/swing/plaf/basic/BasicTreeUI.java (paint): Check whether
1509         path[k] is null.
1510         (isLastChild): Return false when path is null.
1511
1512 2006-12-03  Mark Wielaard  <mark@klomp.org>
1513
1514         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (paintArea): Renamed
1515         to currentPaintArea.
1516         (paintComponent): Work with local reference to currentPaintArea.
1517         (updateComponent): Likewise.
1518         (coalescePaintEvent): Set currentPaintArea.
1519
1520 2006-12-02  Andrew John Hughes  <gnu_andrew@member.fsf.org>
1521
1522         * javax/management/MBeanServerBuilder.java: New file.
1523         
1524 2006-12-01  Mark Wielaard  <mark@klomp.org>
1525
1526         * java/text/DecimalFormat.java (parse): Always increment parsing
1527         index and adjust pos result.
1528
1529 2006-12-01  Roman Kennke  <kennke@aicas.com>
1530
1531         * javax/swing/text/html/HTML.java
1532         (Attribute.DYNAMIC_CLASS): New field.
1533         (Attribute.PSEUDO_CLASS): New field.
1534         * javax/swing/text/html/HTMLDocument.java
1535         (HTMLReader.CharacterAction.start): Initialize anchor with link
1536         pseudo attribute.
1537         (updateSpecialClass): New helper method. Updates the dynamic
1538         or pseudo class for anchor tags.
1539         * javax/swing/text/html/HTMLEditorKit.java
1540         (LinkController.lastAnchorElement): New field. For tracking
1541         enter/exit of anchors.
1542         (LinkController.activateLink): Set pseudo class to 'visited'.
1543         (LinkController.mouseMoved): Added support for tracking
1544         the 'hover' dynamic class.
1545         * javax/swing/text/html/InlineView.java
1546         (changedUpdate): Fetch new properties.
1547         * javax/swing/text/html/StyleSheet.java
1548         (attributeSetToMap): New helper method.
1549         (getRule): Also append dynamic and pseudo class to key.
1550         (resolveStyle): Resolve style based generally on all attributes.
1551         * javax/swing/text/html/TableView.java
1552         (RowView.layoutMajorAxis): Make sure the grid is valid.
1553         (updateGrid): Made package private.
1554         * gnu/javax/swing/text/html/css/Selector.java
1555         (calculateSpecificity): Added support for dynamic and pseudo classes.
1556         (matches): Changed to operate on general attributes.
1557         Added support for dynamic and pseudo classes.
1558
1559 2006-12-01  Mario Torre  <neugens@limasoftware.net>
1560
1561         * java/text/DecimalFormat.java (formatInternal): move the formatting of
1562         fractional portion in a separate method.
1563         Also fixes the handling of decimal separator and its associated field.
1564         (handleFractionalPart): new method, needed to relax a bit
1565         formatInternal.
1566         
1567 2006-12-01  Andrew John Hughes  <gnu_andrew@member.fsf.org>
1568
1569         * java/beans/beancontext/BeanContextServicesSupport.java:
1570         (BCSSProxyServiceProvider.getCurrentServiceSelectors(BeanContextServices,
1571         Class)): Implemented.
1572         (BCSSProxyServiceProvider.getService(BeanContextServices, Object,
1573         Class, Object)): Implemented.
1574         (BCSSProxyServiceProvider.releaseService(BeanContextServices,
1575         Object, Object)): Implemented.
1576         (BCSSProxyServiceProvider.serviceRevoked(BeanContextServiceRevokedEvent)):
1577         Implemented.
1578         (initialiseBeanContextResources()): Implemented.
1579         (releaseBeanContextResoures()): Implemented.
1580         
1581 2006-12-01  Mark Wielaard  <mark@klomp.org>
1582
1583         * include/gnu_java_awt_peer_gtk_GdkFontPeer.h: Regenerated.
1584
1585 2006-12-01  Roman Kennke  <kennke@aicas.com>
1586
1587         * gnu/javax/swing/text/html/css/BorderStyle.java: New class for
1588         handling border styles.
1589         * gnu/javax/swing/text/html/css/BorderWidth.java
1590         (isValid): New method.
1591         * gnu/javax/swing/text/html/css/Length.java
1592         (isValid): New method.
1593         * javax/swing/text/html/CSS.java
1594         (addInternal): Added shorthand parsing for border, padding and
1595         margin.
1596         (parseBackgroundShorthand): Added API docs.
1597         (parsePaddingShorthand): New method. Handles padding shorthand
1598         values.
1599         (parseMarginShorthand): New method. Handles margin shorthand
1600         values.
1601         (parseBorderShorthand): New method. Handles border shorthand
1602         values.
1603         * javax/swing/text/html/StyleSheet.java
1604         (translateHTMLToCSS): Set specific padding attributes.
1605         (BoxPainter.BoxPainter): Don't handle PADDING and MARGIN here.
1606         These shorthands are now handled in CSS.
1607         (BoxPainter.paint): Exclude the outer margin.
1608
1609 2006-12-01  Roman Kennke  <kennke@aicas.com>
1610
1611         * gnu/javax/swing/text/html/css/Length.java
1612         (emBase): New field.
1613         (exBase): New field.
1614         (isFontEMRelative): New field.
1615         (isFontEXRelative): New field.
1616         (Length): Recognize and setup EM and EX relative values.
1617         (getValue): Handle EM and EX relative values.
1618         (isEMRelative): New method.
1619         (isEXRelative): New method.
1620         (setEMBase): New method.
1621         (setEXBase): New method.
1622         (setFontBases): New method.
1623         * gnu/javax/swing/text/html/parser/support/Parser.java
1624         (_handleEmptyTag): Use new isBlock() helper method.
1625         (_handleEndTag_remaining): Use new isBlock() helper method.
1626         (_handleStartTag): Consume whitespace after block start tag.
1627         (Comment): Consume whitespace after a comment.
1628         (isBlock): New helper method.
1629         (readAttributes): Consider all characters in unquoted attribute
1630         values.
1631         * javax/swing/text/html/BlockView.java
1632         (layoutMinorAxis): Use cached span value.
1633         (paint): Added debug code (commented out).
1634         (setPropertiesFromAttributes): Set the EM and EX base on lengths.
1635         * javax/swing/text/html/CSSBorder.java
1636         (CSSBorder): Take StyleSheet as argument. Call getBorderWidth()
1637         with stylesheet.
1638         (getBorderWidth): Set the EM and EX base on the length values.
1639         * javax/swing/text/html/HTMLDocument.java
1640         (HTMLReader.ParagraphAction.end): Do not set the inParagraph field.
1641         (HTMLReader.ParagraphAction.start): Do not set the inParagraph field.
1642         (HTMLReader.inImpliedParagraph): Removed.
1643         (HTMLReader.inParagraph): Removed.
1644         (HTMLReader.parseStack): New field.
1645         (HTMLReader.addContent): Use new paragraph handling.
1646         (HTMLReader.addSpecialElement): Use new paragraph handling.
1647         (HTMLReader.blockClose): Use new paragraph handling.
1648         (HTMLReader.blockOpen): Use new paragraph handling.
1649         (HTMLReader.inImpliedParagraph): New helper method.
1650         (HTMLReader.inParagraph): New helper method.
1651         * javax/swing/text/html/ImageView.java
1652         (attributes): New field. Caches view attributes.
1653         (spans): New field. Caches CSS spans.
1654         (getAttributes): Correctly setup CSS view attributes.
1655         (getPreferredSpan): Use caches spans.
1656         (getStyleSheet): Use the view's getDocument() method.
1657         (setPropertiesFromAttributes): Cache spans and setup EM and EX.
1658         (updateSize): Use cached spans.
1659         * javax/swing/text/html/ParagraphView.java
1660         (setPropertiesFromAttributes): Setup EM and EX.
1661         * javax/swing/text/html/StyleSheet.java
1662         (BoxPainter.BoxPainter): Setup EM and EX correctly.
1663         (getEMBase): New helper method.
1664         (getEXBase): New helper method.
1665         * javax/swing/text/html/TableView.java
1666         (width): New field. Caches the table width.
1667         (calculateMinorAxisRequirements): Use caches span.
1668         (setPropertiesFromAttributes): Cache span and setup EM/EX.
1669         (updateGrid): Correctly setup EM/EX.
1670
1671 2006-11-30  Roman Kennke  <kennke@aicas.com>
1672
1673         * javax/swing/text/html/FormSubmitEvent.java: New class.
1674         * javax/swing/text/html/FormView.java
1675         (SubmitThread): New class for submitting data in a separate thread.
1676         (actionPerformed): Fetch the actual for data.
1677         (addData): New helper method.
1678         (getElementFormData): New helper method.
1679         (getFormData): New helper method.
1680         (getInputFormData): New helper method.
1681         (submitData): Implemented.
1682         * javax/swing/text/html/FrameView.java
1683         (createComponent): Add this as hyperlink listener.
1684         Set the target document as frame document.
1685         (getTopEditorPane): New helper method.
1686         (hyperlinkUpdate): Implementation of the HyperlinkListener interface.
1687         (handleHyperlinkEvent): New helper method.
1688         (handleFormSubmitEvent): New helper method.
1689         * javax/swing/text/html/HTMLDocument.java
1690         (HTMLReader.BaseAction.start): Track the base target.
1691         (HTMLReader.BaseAction.end): Removed.
1692         (baseTarget): New field.
1693         (frameDocument): New field.
1694         (getBaseTarget): New property accessor.
1695         (isFrameDocument): New property accessor.
1696         (processHTMLFrameHyperlinkEvent): Implemented.
1697         (setFrameDocument): New property accessor.
1698         (updateFrame): New helper method.
1699         (updateFrameSet): New helper method.
1700         * javax/swing/text/html/HTMLEditorKit.java
1701         (LinkController.createHyperlinkEvent): Handle frame documents.
1702         (autoFormSubmission): New field.
1703         (HTMLEditorKit): Set autoFormSubmission to true.
1704         (isAutoFormSubmission): New property accessor.
1705         (setAutoFormSubmission): New property accessor.
1706
1707 2006-11-30  Roman Kennke  <kennke@aicas.com>
1708
1709         * javax/swing/text/ElementIterator.java
1710         (ElementRef): New inner class.
1711         (currentDepth): Removed.
1712         (currentElement): Removed.
1713         (previousItem): Removed.
1714         (stack): New field. Holds the iteration stack.
1715         (state): Removed.
1716         (ElementIterator(Document)): Removed init of removed fields.
1717         (ElementIterator(Element)): Removed init of removed fields.
1718         (current): Changed to stack based algorithm.
1719         (deepestLeaf): New helper method.
1720         (depth): Changed to stack based algorithm.
1721         (first): Changed to stack based algorithm.
1722         (next): Changed to stack based algorithm.
1723         (previous): Changed to stack based algorithm.
1724
1725 2006-11-30  Francis Kung  <fkung@redhat.com>
1726
1727         * .settings/org.eclipse.jdt.core.prefs: Set compilar compliance to 1.4.
1728         * .externalToolBuilders/ClasspathJar.launch: Include sun.* classses.
1729
1730 2006-11-30  Francis Kung  <fkung@redhat.com>
1731
1732         * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
1733         (draw): Set transform in buffered composite.
1734         (drawComposite): Do not transform bounds; round bounds.
1735         (drawGlyphVector):  Set transform in buffered composite.
1736         (drawRenderedImage):  Set transform in buffered composite.
1737         (fill):  Set transform in buffered composite.
1738         (updateBufferedImage): Fix scanline & height calculations.
1739         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
1740         (createPath): Simplify width & height calculation.
1741         (drawImage): Also transform width & height.
1742
1743 2006-11-30  Roman Kennke  <kennke@aicas.com>
1744
1745         * javax/swing/text/html/FrameSetView.java: New class. Implements
1746         HTML framesets.
1747         * javax/swing/text/html/FrameView.java: New class. Implements
1748         HTML frames.
1749         * javax/swing/text/html/HTMLDocument.java:
1750         (HTMLReader.addSpecialElement): Only add one artificial space.
1751         * javax/swing/text/html/HTMLEditorKit.java
1752         (HTMLFactory.create): Uncomment code for FrameSetView and FrameView.
1753         * gnu/javax/swing/text/html/parser/support/Parser.java
1754         (_handleEmptyTag): Also consume whitespace after frame tags.
1755
1756 2006-11-30  Gary Benson  <gbenson@redhat.com>
1757
1758         * java/lang/Thread.java: Javadoc fixes.
1759
1760 2006-11-29  Tom Tromey  <tromey@redhat.com>
1761
1762         PR classpath/28203:
1763         * java/lang/Class.java (getAnnotations): Rewrote.
1764
1765 2006-11-29  Tania Bento  <tbento@redhat.com>
1766
1767         * tools/gnu/classpath/tools/appletviewer/TagParser.java:
1768         (parseParams): Unescape 'val' before putting it into the Map.
1769         (unescapeString): New private method.
1770
1771 2006-11-29  Tom Tromey  <tromey@redhat.com>
1772
1773         * tools/gnu/classpath/tools/getopt/package.html: New file.
1774
1775 2006-11-29  David Gilbert  <david.gilbert@object-refinery.com>
1776
1777         * javax/swing/plaf/metal/MetalIconFactory.java
1778         (HorizontalSliderThumbIcon.paintIcon()): Commented out gradient paint,
1779         (VerticalSliderThumbIcon.paintIcon()): Likewise.
1780
1781 2006-11-29  Mario Torre  <neugens@limasoftware.net>
1782
1783         * java/text/NumberFormat.java (getCurrencyInstance): Replaced dollar sign
1784         with the default international currency sign \u00A4.
1785         * java/text/DecimalFormat.java (scanFix): Fix to use the localized symbol
1786         table for string formatting.
1787         (formatInternal): likewise.
1788         (scanNegativePattern): likewise.
1789         (applyPattern): likewise.
1790         * java/text/DecimalFormatSymbols.java (clone): Revert to old version as
1791         Locale is immutable and does not need clone.
1792
1793 2006-11-29  Francis Kung  <fkung@redhat.com>
1794
1795         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
1796         (drawLine): Remove hard-coded pixel shifting.
1797
1798 2006-11-29  Roman Kennke  <kennke@aicas.com>
1799
1800         * java/awt/Component.java
1801         (isShowing): Simplified condition code and avoid unnecessary
1802         if-codepaths.
1803         (coalesceEvents): Always coalesce paint events and let the peer
1804         figure out the expanding of the repaint area.
1805         * gnu/java/awt/peer/swing/SwingComponentPeer.java
1806         (currentPaintEvents): Removed. Replaced by paintArea.
1807         (paintArea): New field. Tracks the dirty area.
1808         (SwingComponentPeer): Removed init of currentPaintEvents.
1809         (coalescePaintEvent): Simplified to only union the dirty regions.
1810         (handleEvent): Paint dirty region that was tracked in paintArea.
1811         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
1812         (paintArea): New field. Tracks the dirty region.
1813         (coalescePaintEvent): Implemented to track the dirty region.
1814         (paintComponent): Use the dirty region in paintArea. Protect
1815         state by putting the paint and dispose code in a try-finally.
1816         (updateComponent): Use the dirty region in paintArea. Protect
1817         state by putting the paint and dispose code in a try-finally.
1818
1819 2006-11-29  Roman Kennke  <kennke@aicas.com>
1820
1821         * java/awt/font/TextLayout.java
1822         (getVisualHighlightShape): Removed debug output.
1823
1824 2006-11-28  Andrew Haley  <aph@redhat.com>
1825
1826         * vm/reference/sun/reflect/misc/ReflectUtil.java
1827         (checkPackageAccess): Implement.
1828
1829 2006-11-28  Dalibor Topic  <robilad@kaffe.org>
1830
1831         * native/jni/java-lang/java_lang_VMDouble.c:
1832         (parseDoubleFromChars) New function. Factored out from ...
1833         (Java_java_lang_VMDouble_parseDouble): Factored out the parsing.
1834         (dtoa_toString): New function. Factored out from ...
1835         (Java_java_lang_VMDouble_toString) : Factored out the conversion.
1836         Changed conversion mode to 2, as modes 0 and 1 don't round
1837         as the API spec demands. Invoke conversion function as often
1838         as necessary with growing precision until a reversible
1839         representation of the double in form of a string is reached.
1840
1841 2006-11-28  Roman Kennke  <kennke@aicas.com>
1842
1843         * javax/swing/JComponent.java
1844         (putClientProperty): Do not fire event when both old and new
1845         value are == null.
1846
1847 2006-11-27  Andrew John Hughes  <gnu_andrew@member.fsf.org>
1848
1849         * java/lang/Enum.java:
1850         Make name and ordinal final.
1851         
1852 2006-11-27  Casey Marshall  <csm@gnu.org>
1853
1854         * java/util/jar/JarEntry.java (certs): removed.
1855         (jarfile): new field.
1856         (getCertificates): read the certificates from the containing JarFile.
1857         * java/util/jar/JarFile.java (JarEnumeration.nextElement): don't
1858         fill in 'certs,' fill in 'jarfile' for the entry.
1859         (getEntry): likewise.
1860         
1861 2006-11-27  Francis Kung  <fkung@redhat.com>
1862
1863         * java/awt/image/WritableRaster.java
1864         (createChild): Implemented.
1865
1866 2006-11-27  Roman Kennke  <kennke@aicas.com>
1867
1868         * java/awt/font/TextLayout.java
1869         (TextLayout(TextLayout,int,int)): Also layout the new runs.
1870         (getVisualHighlightShape): Implemented.
1871         (layoutRuns): Fixed boundary so that the last run is also laid out.
1872         (left): New helper method.
1873         (right): New helper method.
1874
1875 2006-11-27  Roman Kennke  <kennke@aicas.com>
1876
1877         * java/awt/font/TextLayout.java
1878         (getCaretShape(TextHitInfo,Rectangle2D)): Implemented.
1879         (getCaretShape(TextHitInfo)): Use natural bounds.
1880         (getCaretShapes(int,Rectangle2D,CaretPolicy)): New API method.
1881         (getCaretShapes(int,Rectangle2D)): Delegate to new method
1882         above with DEFAULT_CARET_POLICY.
1883         (getCaretShapes(int)): Use natural bounds.
1884
1885 2006-11-27  Roman Kennke  <kennke@aicas.com>
1886
1887         * java/awt/font/TextLayout.java
1888         (Run.font): New field.
1889         (Run.location): New field.
1890         (Run.Run): Initialize font.
1891         (font): Removed field. This is moved into Run as the actual font
1892         is something run-specific.
1893         (TextLayout(String,Font,FontRenderContext)): Set font on the
1894         single runs. Layout the runs here.
1895         (TextLayout(TextLayout,int,int)): Copy over the run fonts.
1896         (findRunAtIndex): New helper method.
1897         (getCaretInfo): Implemented.
1898         (layoutRuns): New helper method.
1899         (toString): Don't put font in output string.
1900
1901 2006-11-27  Raif S. Naffah  <classpath@naffah-raif.name>
1902
1903         * AUTHORS: Added Jeroen Fritjers.
1904
1905 2006-11-27  neugens  <neugens@nirvana.limasoftware.net>
1906
1907         * java/text/DecimalFormat.java (formatInternal): Add an explicit test
1908         for FieldPosition to be null.
1909         Check if the factional part is just 0 and can be omitted from the
1910         result.
1911         (scanNegativePattern): Fixed index out of bound exception when searching
1912         for international currency symbol in negative pattern.  
1913
1914 2006-11-27  Andrew John Hughes  <gnu_andrew@member.fsf.org>
1915
1916         * java/beans/beancontext/BeanContextSupport.java:
1917         (readObject(ObjectInputStream)): Implemented.
1918         (writeObject(ObjectOutputStream)): Likewise.
1919         (BCSChild.getTargetChild()): Added.
1920         (bcsPreDeserializationHook()): Implemented.
1921         (bcsPreSerializationHook()): Likewise.
1922         (childDeserializedHook(Object,BCSChild)): Likewise.
1923         (isSerializing()): Likewise.
1924         (readChildren(ObjectInputStream)): Likewise.
1925         (writeChildren(ObjectOutputStream)): Likewise.
1926         
1927 2006-11-26  Roger Sayle  <roger <at> eyesopen.com>
1928             Ian Lance Taylor  <ian <at> airs.com>
1929             Paolo Bonzini <bonzini <at> gnu.org>
1930
1931         Fixes bug #25557.
1932
1933         * lib/gen-classlist.sh.in:  Avoid using test's -ef operator for
1934         increased portability.  Likewise, use -f instead of -e.
1935
1936 2006-11-26  Mark Wielaard  <mark@klomp.org>
1937
1938         * lib/Makefile.am (propertydirs): Removed.
1939         (resources): Explicitly create all dirs.
1940
1941 2006-11-26  Mark Wielaard  <mark@klomp.org>
1942
1943         * gnu/java/net/PlainSocketImpl.java (accept): Reset timeout on Socket.
1944
1945 2006-11-26  Dalibor Topic  <robilad@kaffe.org>
1946
1947         * native/target/.cvsignore,
1948         native/target/generic/.cvsignore,
1949         native/target/Linux/.cvsignore:
1950         Removed no longer used files.
1951
1952         * native/target: Removed no longer used directory.
1953
1954 2006-11-26  Dalibor Topic  <robilad@kaffe.org>
1955
1956         Fixes bug #29133.
1957
1958         * libraries/clib/nio/gnu_java_nio_VMSelector.c
1959         (Java_gnu_java_nio_VMSelector_select):
1960         Use strerror if strerror_r is not available.
1961
1962         Reported by:  Michael Franz <mvfranz@gmail.com>,
1963                       Riccardo Mottola <zuse@libero.it>
1964
1965 2006-11-26  Dalibor Topic  <robilad@kaffe.org>
1966
1967         Fixes bug #26756.
1968         
1969         * native/jni/midi-dssi/Makefile.am (AM_CFLAGS): Removed 
1970         STRICT_WARNING_CFLAGS since it caused the build to fail 
1971         on GNU/Linux.
1972
1973 2006-11-26  Ian Rogers  <ian.rogers@manchester.ac.uk>
1974
1975         * doc/vmintegration.texinfo: Update VM Threading Model section.
1976
1977 2006-11-26  Tom Tromey  <tromey@redhat.com>
1978
1979         * native/jni/java-net/java_net_VMNetworkInterface.c: Conditionally
1980         include ifaddrs.h.
1981         (Java_java_net_VMNetworkInterface_getVMInterfaces): Updated
1982         conditional.
1983         * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c:
1984         Conditionally include ifaddrs.h.
1985         (getif_address): Updated conditional.
1986         (getif_index): Likewise.
1987         * configure.ac: Check for ifaddrs.h.
1988
1989 2006-11-25  Mark Wielaard  <mark@klomp.org>
1990
1991         * java/io/File.java (list): Return empty list for unreadable dirs.
1992
1993 2006-11-25  Mark Wielaard  <mark@klomp.org>
1994
1995         * gnu/java/awt/peer/gtk/CairoGraphics2D.java (drawGlyphVector):
1996         Synchronize on font peer.
1997         (setFont): Likewise.
1998         * gnu/java/awt/peer/gtk/GdkFontPeer.java (getFontMetrics): Mark
1999         synchronized.
2000         (getTextMetrics): Likewise.
2001
2002 2006-11-25  Roman Kennke  <kennke@aicas.com>
2003
2004         * javax/swing/text/GapContent.java
2005         (getPositionsInRange): Rewritten to use the more efficient
2006         binary search searchFirst() and avoid an NPE that was caused
2007         by GC'ed positions.
2008
2009 2006-11-25  Mark Wielaard  <mark@klomp.org>
2010
2011         * javax/swing/text/CompositeView.java (modelToView): Never return
2012         null.
2013
2014 2006-11-25  Mark Wielaard  <mark@klomp.org>
2015
2016         * javax/swing/text/html/TableView.java (calculateColumnRequirements):
2017         Check whether rowView instanceof RowView.
2018         (updateGrid): Likewise.
2019
2020 2006-11-25  Mario Torre  <neugens@nirvana.limasoftware.net>
2021
2022         PR28462
2023         * java/text/DecimalFormat.java: Almost new rewrite, and update to 1.5.
2024         * java/text/NumberFormat.java (format): all format methods, fixed
2025         FieldPosition argument should never be null.
2026         (format(Object, StringBuffer, FieldPosition)): fixed signature,
2027         method is not final.
2028         * java/text/DecimalFormatSymbols.java (clone): fixed to also clone
2029         locale.
2030         * AUTHORS: added my name to the file.
2031
2032 2006-11-25  Mark Wielaard  <mark@klomp.org>
2033
2034         * javax/swing/text/html/StyleSheet.java (paint): Guard against
2035         getChildAllocation() returning null.
2036
2037 2006-11-25  Mark Wielaard  <mark@klomp.org>
2038
2039         * gnu/javax/swing/text/html/css/Selector.java (calculateSpecificity):
2040         Use clazzIndex for id substring.
2041
2042 2006-11-25  Mark Wielaard  <mark@klomp.org>
2043
2044         * java/awt/EventQueue.java (pop): Only terminate dispatchThread when
2045         it is still running.
2046
2047 2006-11-25  Mark Wielaard  <mark@klomp.org>
2048
2049         Fixes bug #28822
2050         * doc/api/Makefile.am (create_html): Guard GJDOC invocation with
2051         CREATE_API_DOCS
2052
2053 2006-11-24  Tania Bento  <tbento@redhat.com>
2054
2055         * java/awt/font/TextHitInfo.java
2056         (equals(TextHitInfo)): If TextHitInfo parameter is null, return false.
2057         (beforeOffset): Decreased first parameter by 1.
2058
2059 2006-11-24  Francis Kung  <fkung@redhat.com>
2060
2061         * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
2062         (constructor): Check sample model when setting fastCM flag.
2063         (updateBufferedImage): Check scanline and sample model offsets before
2064         copying data directly into the image data buffer.
2065
2066 2006-11-24  Francis Kung  <fkung@redhat.com>
2067
2068         * gnu/java/awt/java2d/QuadSegment.java
2069         (offsetSubdivided): Handle special straight-line cases.
2070
2071 2006-11-24  Roman Kennke  <kennke@aicas.com>
2072
2073         * java/awt/dnd/DropTarget.java
2074         (DropTargetAutoScroller.HYSTERESIS): New constant.
2075         (DropTargetAutoScroller.DELAY): New constant.
2076         (DropTargetAutoScroller.inner): New field. A cached
2077         Rectangle instance.
2078         (DropTargetAutoScroller.outer): New field. A cached
2079         Rectangle instance.
2080         (DropTargetAutoScroller.timer): New field. The actual timer.
2081         (DropTargetAutoScroller.DropTargetAutoScroller):
2082         Initialize timer.
2083         (DropTargetAutoScroller.actionPerformed): Implemented.
2084         (DropTargetAutoScroller.stop): Implemented.
2085         (DropTargetAutoScroller.updateLocation): Implemented.
2086         (clearAutoscroll): Stop the autoscroller before nullifying it.
2087         (createDropTargetAutoScroller): Don't set the field here,
2088         only return a new instance.
2089         (dragEnter): Only do something when active. Initialize
2090         auto scrolling.
2091         (dragExit): Only do something when active. Stop auto scrolling.
2092         (dragOver): Only do something when active. Update auto scrolling.
2093         (drop): Only do something when active. Update auto scrolling.
2094         (dropActionChanged): Only do something when active. Update
2095         auto scrolling.
2096         (initializeAutoScrolling): Check if component is an instance
2097         of Autoscroll, otherwise do nothing.
2098         (setActive): Disable autoscrolling when deactivating.
2099         (setComponent): When component is set to null, disable autoscrolling.
2100
2101 2006-11-24  David Gilbert  <david.gilbert@object-refinery.com>
2102
2103         * java/beans/beancontext/BeanContextServicesSupport.java
2104         (getChildBeanContextServicesListener): Implemented.
2105
2106 2006-11-23  Roman Kennke  <kennke@aicas.com>
2107
2108         * gnu/java/awt/peer/headless/HeadlessGraphicsEnvironment.java
2109         (createGraphics): Use constructor to create new instance of
2110         BufferedImageGraphics.
2111         * java/awt/Toolkit.java
2112         (getDefaultToolkit): Really try to get a real toolkit. Only
2113         use HeadlessToolkit if no other is available.
2114         * gnu/java/awt/peer/gtk/GtkToolkit.java
2115         (checkHeadless): New helper method. Checks for headless environment
2116         and throws HeadlessException if appropriate.
2117         (createButton): Check for headless.
2118         (createCanvas): Check for headless.
2119         (createCheckbox): Check for headless.
2120         (createCheckboxMenuItem): Check for headless.
2121         (createChoice): Check for headless.
2122         (createDialog): Check for headless.
2123         (createDragGestureRecognizer): Check for headless.
2124         (createDragSourceContextPeer): Check for headless.
2125         (createEmbeddedWindow): Check for headless.
2126         (createFileDialog): Check for headless.
2127         (createFrame): Check for headless.
2128         (createCheckbox): Check for headless.
2129         (createLabel): Check for headless.
2130         (createList): Check for headless.
2131         (createMenu): Check for headless.
2132         (createMenuBar): Check for headless.
2133         (createMenuItem): Check for headless.
2134         (createPanel): Check for headless.
2135         (createPopupMenu): Check for headless.
2136         (createScrollbar): Check for headless.
2137         (createScrollPane): Check for headless.
2138         (createTextArea): Check for headless.
2139         (createTextField): Check for headless.
2140         (createWindow): Check for headless.
2141
2142 2006-11-23  David Gilbert  <david.gilbert@object-refinery.com>
2143
2144         * java/beans/beancontext/BeanContextSupport.java
2145         (deserialize): Implemented,
2146         (serialize): Implemented.
2147
2148 2006-11-23  Roman Kennke  <kennke@aicas.com>
2149
2150         * gnu/java/awt/peer/headless/HeadlessGraphicsEnvironment.java
2151         (createGraphics): Try to use Cairo graphics if available.
2152
2153 2006-11-22  David Gilbert  <david.gilbert@object-refinery.com>
2154
2155         * java/beans/beancontext/BeanContextSupport.java
2156         (toArray): Added API docs,
2157         (toArray(Object[])): Added API docs, removed NotImplementedException.
2158
2159 2006-11-22  Tania Bento  <tbento@redhat.com>
2160
2161         * javax/swing/JRootPane.java
2162         (setLayeredPane): Added documentation; throw 
2163         IllegalComponentStateException if layered pane parameter is null.
2164
2165 2006-11-22  David Gilbert  <david.gilbert@object-refinery.com>
2166
2167         * java/beans/beancontext/BeanContextSupport.java
2168         (avoidingGui): Removed NotImplementedException.
2169
2170 2006-11-22  Francis Kung  <fkung@redhat.com>
2171
2172         * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
2173         (drawGlyphVector): Clip updated area to glyph bounds.
2174         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
2175         (createPath): Eliminate distortion when pixel-shifting rectangles; separate
2176         x-coordinate and y-coordinate pixel shifting.
2177         (shifted): Removed method.
2178         (shiftX): New method, recognising scaling transforms.
2179         (shiftY): New method, recognising scaling transforms.
2180         (walkPath): Separate x-coordinate and y-coordinate pixel shifting.
2181
2182 2006-11-22  Roman Kennke  <kennke@aicas.com>
2183
2184         * java/awt/font/TextLayout.java
2185         (hash): New field. Caches the hash code.
2186         (hashCode): Implemented.
2187
2188 2006-11-22  Roman Kennke  <kennke@aicas.com>
2189
2190         * java/awt/image/ImageFilter.java
2191         Reformat whole class.
2192         (getFilterInstance): Don't touch the consumer field. Don't check
2193         consumer.
2194         (imageComplete): Don't check consumer.
2195         (setColorModel): Don't check consumer.
2196         (setDimensions): Don't check consumer.
2197         (setHints): Don't check consumer.
2198         (setPixels): Don't check consumer.
2199         (setProperties): Pass the original property too.
2200         * java/awt/image/IndexColorModel.java
2201         (IndexColorModel(int,int,byte[],byte[],byte[],int)): Set the
2202         transparent pixel by calling the new helper method.
2203         (IndexColorModel(int,int,byte[],int,boolean,int)): Set the
2204         transparent pixel by calling the new helper method.
2205         (IndexColorModel(int,int,int[],int,boolean,int,int)): Set the
2206         transparent pixel by calling the new helper method.
2207         (coerceData): Removed. This is not needed.
2208         (getAlpha): Simply return value from color map. The transparent
2209         pixel has to be there.
2210         (setTransparentPixel): New helper method. Inserts the transparent
2211         pixel.
2212         * java/awt/image/RGBImageFilter.java
2213         Reformat whole class.
2214         (convertColorModelToDefault): Removed. No longer needed.
2215         (filterIndexColorModel): Don't handle transparent pixels
2216         separately.
2217         (filterRGBPixels): Set pixels on consumer already.
2218         (makeColor): Removed. No longer needed.
2219         * java/awt/image/ReplicateScaleFilter.java
2220         (replicatePixels): Removed.
2221         (setDimension): Correctly compute destination size, avoid double
2222         calculations.
2223         (setPixels): Avoid double calculations. Fixed some boundary cases.
2224         (setupSources): New helper method.
2225         * java/awt/image/SampleModel.java
2226         (setDataElements): Also handle TYPE_SHORT, TYPE_FLOAT
2227         and TYPE_DOUBLE.
2228         * java/awt/image/SinglePixelPackedSampleModel.java
2229         (setDataElements(int,int,int,int,Object,DataBuffer)): Removed.
2230         This is not needed as the superclass already copies line
2231         by line.
2232         (setDataElements(int,int,Object,DataBuffer)): Simplified code,
2233         removed some checks that the RI also doesn't perform. Call
2234         DataBuffer.setElem().
2235
2236 2006-11-22  Roman Kennke  <kennke@aicas.com>
2237
2238         * java/awt/text/TextLayout.java
2239         (getLogicalRangesForVisualSelection): Implemented.
2240
2241 2006-11-21  Andrew John Hughes  <gnu_andrew@member.fsf.org>
2242
2243         * sun/reflect/annotation/AnnotationParser.java,
2244         * sun/reflect/annotation/AnnotationType.java,
2245         * sun/reflect/annotation/EnumConstantNotPresentExceptionProxy.java,
2246         * sun/reflect/annotation/ExceptionProxy.java:
2247         Stubbed.
2248         * sun/misc/ServiceConfigurationError.java,
2249         * sun/misc/Service.java:
2250         Implemented.
2251         
2252 2006-11-21  Roman Kennke  <kennke@aicas.com>
2253
2254         * java/awt/text/TextLayout.java
2255         (Run.isLeftToRight): New helper method.
2256         (logicalToVisual): New field. Maps logical indices to visual
2257         indices.
2258         (visualToLogical): New field. Maps visual indices to logical
2259         indices.
2260         (TextLayout): Setup mappings.
2261         (setupMappings): New method for setting up the mappings.
2262         (getCharacterLevel): Reorganized code.
2263         (getNextLeftHit(int)): Implemented.
2264         (getNextLeftHit(int,CaretPolicy)): New method.
2265         (getNextLeftHit(TextHitInfo)): Implemented.
2266         (getNextRightHit(int)): Implemented.
2267         (getNextRightHit(int,CaretPolicy)): New method.
2268         (getNextRightHit(TextHitInfo)): New method.
2269         (getVisualOtherHit): Implemented.
2270         (checkHitInfo): New helper methods for checking parameters.
2271         (hitToCaret): New helper method. Maps hit infos to caret locations.
2272         (caretToHit): New helper method. Maps caret locations to hit infos.
2273         (isCharacterLTR): New helper method.
2274         (CaretPolicy.getStrongCaret): Implemented.
2275
2276 2006-11-21  Francis Kung  <fkung@redhat.com>
2277
2278         * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
2279         (draw): Include stroke width when calculating bounds.
2280         (updateBufferedImage): Round bounds more generously, handle negative
2281         height/width values, and clip more intelligently.
2282         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
2283         (createPath): Add shortcut optimization for lines.
2284         (draw): Include stroke width when calculating bounds.
2285         (drawLine): Delegate to main draw() method.
2286         (drawRect): Likewise.
2287         (fillRect): Delegate to main fill() method.
2288         (findStrokedBounds): New method.
2289         (setCustomPaint): Round bounds more generously.
2290         * gnu/java/awt/peer/gtk/ComponentGraphics.java
2291         (drawLine): Removed.
2292         (drawRect): Removed.
2293         (fillRect): Removed.
2294
2295 2006-11-21  Francis Kung  <fkung@redhat.com>
2296
2297         * gnu/java/awt/java2d/TexturePaintContext.java
2298         (getRaster): Handle negative coordinate values.
2299         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
2300         (setPaint): Moved custom paint processing to a new method.
2301         (setPaintPixels): Added x, y parameters.
2302         (getRealBounds): Added documentation.
2303         (copy): Copy clipping information.
2304         (drawLine): Process custom paints.
2305         (setCustomPaint): New method.
2306         (fill): Process custom paints.
2307         (drawGlyphVector): Process custom paints.
2308         (drawRect): Process custom paints.
2309         (draw): Process custom paints.
2310         * gnu/java/awt/peer/gtk/CairoSurface.java
2311         (cairoCM_opaque): New constant.
2312         * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
2313         (argb32): Removed constant.
2314         (rgb32): Removed constant.
2315         (BufferedImageGraphics(BufferedImage)): Updated constant names.
2316         (BufferedImageGraphics(BufferedImageGraphics)): Copy color model flags.
2317         (updateBufferedImage): Transform to device-space before updating.
2318         * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h
2319         (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_setPaintPixels): Added x, y
2320         parameters.
2321         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
2322         (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_setPaintPixels): Set pattern
2323         source at designated x, y origin.
2324
2325 2006-11-21  Roman Kennke  <kennke@aicas.com>
2326
2327         * java/awt/text/TextLayout.java
2328         (Run): New inner helper class.
2329         (length): New field.
2330         (naturalBounds): New field.
2331         (offset): New field.
2332         (runIndices): Removed. This is now encapsulate in a Run object.
2333         (runs): Changed to Run[].
2334         (string): Changed to char[].
2335         (totalAdvance): New field. Caches advance value.
2336         (TextLayout(String,Font,FontRenderContext)): Change to store
2337         string as char[] and run layout as Run[]. Clean out empty
2338         run items.
2339         (TextLayout(TextLayout,int,int)): Change to store
2340         string as char[] and run layout as Run[].
2341         (clone): Call private constructor for maximum efficiency.
2342         (determineWhitespace): Adapted to use char[] data.
2343         (draw): Adapted to use Run objects.
2344         (getAdvance): Cache computed total advance.
2345         (getBlackBoxBounds): Adapted to use Run objects.
2346         (getCaretInfo): Use natural layout bounds.
2347         (getCharacterCount): Return length field.
2348         (getLogicalHighlightShape): Adapted to use Run objects.
2349         (getNaturalBounds): New helper method. Calculates and returns the
2350         natural bounds of this text layout.
2351         (getOutline): Adapted to use Run objects.
2352         (getStringProperties): Adapted to use char[] data.
2353         (getVisibleAdvance): Adapted to use char[] and Run data.
2354         (handleJustify): Adapted to use char[] and Run data.
2355         (hitTestChar(float,float,Rectangle2D)): Implemented.
2356         (hitTestChar(float,float)): Use natural bounds.
2357         (setCharIndices): Adapted to use char[] and Run data.
2358         (toString): Adapted to use char[] and Run data.
2359         * java/text/Bidi.java
2360         (requiresBidi): Exclude paragraph separators from bidi-triggers.
2361
2362 2006-11-21  Roman Kennke  <kennke@aicas.com>
2363
2364         * gnu/java/awt/peer/gtk/GdkFontMetrics.java:
2365         Removed. This is now an inner class in GdkFontPeer.
2366         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
2367         (drawString(float,float)): Use text layout cache from
2368         GdkFontPeer.
2369         (getFontMetrics): Delegate to GdkFontPeer.
2370         * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
2371         (getGlyphCodes): Also check array size.
2372         (getGlyphPositions): Also check array size.
2373         * gnu/java/awt/peer/gtk/GdkFontPeer.java
2374         (GdkFontLineMetrics.fm): Removed.
2375         (GdkFontLineMetrics.strikeThroughOffset): Removed.
2376         (GdkFontLineMetrics.strikeThroughThickness): Removed.
2377         (GdkFontLineMetrics.underlineOffset): Removed.
2378         (GdkFontLineMetrics.underlineThickness): Removed.
2379         (GdkFontLineMetrics.GdkFontLineMetrics): Don't take
2380         FontMetrics argument. Don't init removed fields.
2381         (GdkFontLineMetrics.getAscent): Return font peer's field.
2382         (GdkFontLineMetrics.getDescent): Return font peer's field.
2383         (GdkFontLineMetrics.getHeight): Return font peer's field.
2384         (GdkFontLineMetrics.getLeading): Return font peer's field.
2385         (GdkFontLineMetrics.getNumChars): Reformat.
2386         (GdkFontLineMetrics.getStrikeThroughOffset): Return half ascent.
2387         (GdkFontLineMetrics.getStrikeThroughThickness): Return 1.
2388         (GdkFontLineMetrics.getUnderlineOffset): Return font peer's field.
2389         (GdkFontLineMetrics.getUnderlineThickness): Return font peer's field.
2390         (GdkFontMetrics): Moved class in here as inner class. 
2391         Make it use the font peer's fields and for the char(s) width
2392         and string width method, use TextLayout to measure the actual widths.
2393         (ascent): New field.
2394         (bundle): Removed.
2395         (DEFAULT_CTX): New constant field.
2396         (descent): New field.
2397         (FONT_METRICS_ASCENT): New constant.
2398         (FONT_METRICS_DESCENT): New constant.
2399         (FONT_METRICS_HEIGHT): New constant.
2400         (FONT_METRICS_MAX_ADVANCE): New constant.
2401         (FONT_METRICS_MAX_ASCENT): New constant.
2402         (FONT_METRICS_MAX_DESCENT): New constant.
2403         (FONT_METRICS_UNDERLINE_OFFSET): New constant.
2404         (FONT_METRICS_UNDERLINE_THICKNESS): New constant.
2405         (height): New field.
2406         (maxAdvance): New field.
2407         (maxAscent): New field.
2408         (maxDescent): New field.
2409         (metrics): New field. Stores a FontMetrics for this font.
2410         (textLayoutCache): New field. Caches TextLayout instances.
2411         (underlineOffset): New field.
2412         (underlineThickness): New field.
2413         (cinit): Don't initialize resource bundle.
2414         (GdkFontPeer): Setup the metrics.
2415         (getFontMetrics): Return stored metrics if possible.
2416         (getLineMetrics): Adapt to new constructor.
2417         (initFont): New helper method.
2418         (setupMetrics): New helper method.
2419         * gnu/java/awt/peer/gtk/GtkToolkit.java
2420         (LRUCache): Made class a static class.
2421         (getFontMetrics): Delegate to GdkFontPeer.
2422         * native/jni/gtk-peer/gdkfont.h
2423         Added new constant defines.
2424         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
2425         (getFontMetrics): Rewritten to fetch the font metrics from
2426         FreeType.
2427
2428 2006-11-20  Tania Bento  <tbento@redhat.com>
2429
2430         * javax/swing/ButtonGroup.java:
2431         (setSelected): Select the ButtonModel if all conditions
2432         are met.
2433
2434 2006-11-20  Tania Bento  <tbento@redhat.com>
2435
2436         * javax/swing/JSlider.java:
2437         (updateLabelUIs): Removed casting.
2438
2439 2006-11-20  Mark Wielaard  <mark@klomp.org>
2440
2441         * gnu/java/util/regex/RE.java (messages): Don't initialize.
2442         (bundle): New static final String field.
2443         (getLocalizedMessage): Initialize messages when still null.
2444         * gnu/java/util/regex/RESyntax.java (SYNTAX_IS_FINAL): Removed.
2445         (set): Use RE.getLocalizedMessage().
2446         (clear): Likewise.
2447         (setLineSeparator): Likewise.
2448
2449 2006-11-20  Roman Kennke  <kennke@aicas.com>
2450
2451         * javax/swing/text/html/StyleSheet.java
2452         (linked): New field.
2453         (styleSheet): Replaced by linked.
2454         (addStyleSheet): Use an arraylist for simplicity.
2455         (getRule): Removed useless instantiation.
2456         (getStyleSheets): Convert array list to array.
2457         (removeStyleSheet): Use an arraylist for simplicity.
2458         (resolveStyle): Include styles from linked lists.
2459
2460 2006-11-20  Roman Kennke  <kennke@aicas.com>
2461
2462         * javax/swing/text/BoxView.java
2463         (BoxView): Initialize with invalid req's.
2464         (forwardUpdate): Trigger repaint when children changed the
2465         major axis.
2466         (getResizeWeight): Return resizable when the pref differs from
2467         the min or the pref differs from the max size.
2468         (layoutMajorAxis): Actually sum up the preferred sizes.
2469         (paint): Made binary search more robust.
2470         (replace): Let arrays shrink when needed.
2471         (replaceLayoutArray): Let arrays shrink when needed.
2472         (setAxis): Trigger preferenceChanged.
2473         * javax/swing/text/CompositeView.java
2474         (getInsideAllocation): Call insets method to take account
2475         of overriding subclasses.
2476         * javax/swing/text/DefaultStyledDocument.java
2477         (ElementBuffer.finishEdit): Clear the stack and edits buffer.
2478         (ElementBuffer.insertUpdate): Only remove the found element, not
2479         all.
2480         * javax/swing/text/GlyphView.java
2481         (insertUpdate): Pass null in preferenceChanged.
2482         (removeUpdate): Pass null in preferenceChanged.
2483         (changedUpdate): Pass null in preferenceChanged.
2484         * javax/swing/text/Utilities.java
2485         (drawTabbedText): Avoid single calls to charWidth() and instead
2486         call charsWidth() on whole chunks.
2487         * javax/swing/text/html/HTMLDocument.java
2488         (BlockElement.getName): Fall back to super when necessary.
2489         (RunElement.getName): Fall back to super when necessary.
2490         (HTMLReader.MAX_THRESHOLD): New constant field.
2491         (HTMLReader.GROW_THRESHOLD): New constant field.
2492         (HTMLReader.theshold): New field.
2493         (HTMLReader.HTMLReader): Fetch threshold from document.
2494         (HTMLReader.addContent): Sucessivly grow the threshold.
2495         (createLeafElement): Don't create two elemens and don't set
2496         attribute.
2497         * javax/swing/text/html/TableView.java
2498         (RowView.replace): Invalidate grid.
2499         (gridValid): Made package private.
2500         (layoutMinorAxis): Mark all rows as invalid.
2501         (replace): Invalidate grid.
2502
2503 2006-11-20  Roman Kennke  <kennke@aicas.com>
2504
2505         * javax/swing/text/AbstractDocument.java
2506         (DefaultDocumentEvent.changes): Changed to be a HashMap.
2507         (DefaultDocumentEvent.modified): Made private.
2508         (DefaultDocumentEvent.THRESHOLD): New constant field.
2509         (DefaultDocumentEvent.DefaultDocumentEvent): Don't initialize
2510         changes table.
2511         (DefaultDocumentEvent.addEdit): Switch to hashmap only when
2512         exceeding threshold.
2513         (DefaultDocumentEvent.getChange): Use iterative approach
2514         when we have no hashmap yet.
2515         (documentCV): Removed.
2516         (numWriters): Renamed from numWritersWaiting.
2517         (createPosition): Reformat.
2518         (getCurrentWriter): Synchronized.
2519         (readLock): Implement more straightforward.
2520         (readUnlock): Implement more straightforward.
2521         (writeLock): Implement more straightforward.
2522         (writeUnlock): Implement more straightforward.
2523         (remove): Write-lock here.
2524         (removeImpl): Don't write-lock here.
2525
2526 2006-11-20  Roman Kennke  <kennke@aicas.com>
2527
2528         * javax/swing/JEditorPane.java
2529         (setPage): Set priority on loading thread.
2530
2531 2006-11-20  Roman Kennke  <kennke@aicas.com>
2532
2533         * javax/swing/plaf/basic/BasicTextUI.java
2534         (RootView.paint): Avoid allocation.
2535         (cachedInsets): New field. Caches an Insets instance.
2536         (getNextVisualPositionFrom): Read-lock the document to avoid
2537         thread nastiness. Push allocation.
2538         (getPreferredSize): Push fake allocation when not yet laid out.
2539         (getVisibleEditorRect): Use cached insets.
2540         (viewToModel): Read-lock the document to avoid
2541         thread nastiness. Push allocation.
2542
2543 2006-11-20  Roman Kennke  <kennke@aicas.com>
2544
2545         * javax/swing/text/StyleContext.java
2546         (attributeSetPool): Synchronize this map.
2547         (addAttribute): Synchronize this method.
2548         (addAttributes: Synchronize this method.
2549         (readObject): Install synchronized map on target object.
2550         (removeAttribute): Synchronize this method.
2551         (removeAttributes): Synchronize this method.
2552         (removeAttributes): Synchronize this method.    
2553         
2554 2006-11-20  Roman Kennke  <kennke@aicas.com>
2555
2556         * javax/swing/text/GapContent.java
2557         (GapContentPosition.GapContentPosition): Removed constructor.
2558         (Mark): Made subclass of WeakReference to refer directly to
2559         the associated position.
2560         (Mark.refCount): Removed.
2561         (Mark.Mark(int,GapContentPosition,ReferenceQueue):
2562         New constructor. Used to reference a position and register the
2563         reference queue.
2564         (Mark.Mark(index)): Call super and don't adjust mark offset.
2565         (Mark.compareTo): Removed.
2566         (Mark.equals): Removed.
2567         (Mark.getOffset): Return at least null. Removed assert.
2568         (Mark.getPosition): New helper method.
2569         (garbageMarks): New field.
2570         (positions): Removed.
2571         (searchMark): New field.
2572         (GapContent): Removed init of positions map.
2573         (addImpl): New helper method.
2574         (adjustPositionsInRange): Removed.
2575         (compare): New helper method.
2576         (createPosition): Rewritten for new datastructures. This now
2577         performs a much more efficient binary search for finding
2578         a position at the requested offste.
2579         (garbageCollect): Rewritten to collect unused marks.
2580         (getPositionsInRange): Adjusted for new data structures.
2581         (removeImpl): New helper method.
2582         (replace): Use new addImpl() and removeImpl() helper method for
2583         correctly adjusting the positions and gap.
2584         (search): Rewritten. Implements a more suitable binary search.
2585         (searchFirst): New helper method.
2586         (setPositionsInRange): Removed.
2587         (shiftEnd): Update the marks here.
2588         (shiftGap): Update the marks here.
2589         (shiftGapEndUp): Update the marks here.
2590         (shiftGapStartDown): Update the marks here.
2591
2592 2006-11-20  Marco Trudel <mtrudel@gmx.ch>
2593
2594         * java/util/jar/JarFile.java (digestAlgorithms): New field used to cache
2595         digest algorithm implementations.
2596         (readSignatures): Parse the manifest once and reuse that data.
2597         Add support for line breaks.
2598         (verifyHashes): Use the parsed manifest entry.
2599         (readManifestEntry): Removed.
2600
2601 2006-11-20  Andrew John Hughes  <gnu_andrew@member.fsf.org>
2602
2603         * java/beans/beancontext/BeanContextServicesSupport.java:
2604         Added more documentation.
2605         (addService(Class,BeanContextServiceProvider,boolean)):
2606         Synchronized over global hierarchy lock.
2607         (bcsPreDeserializationHook(ObjectInputStream)): Implemented.
2608         (bcsPreSerializationHook(ObjectOutputStream)): Implemented.
2609         (childJustRemovedHook(Object,BCSChild)): Implemented.
2610         (createBCSSServiceProvider(Class,BeanContextServiceProvider)):
2611         Implemented.
2612         (fireServiceRevoked(BeanContextServiceRevokedEvent)):
2613         Added revocation-only listeners.
2614         (getBeanContextServicesPeer()): Implemented.
2615         (getCurrentServiceClasses(Class)): Synchronized over global
2616         hierarchy lock.
2617         (getCurrentServiceSelectors(Class)): Synchronized over global
2618         hierarchy lock, and fixed FIXME.
2619         (getService(BeanContextChild,Object,Class,Object,
2620         BeanContextServiceRevokedListener)): Implemented.
2621         (hasService(Class)): Synchronized over global hierarchy lock.
2622         (releaseService(BeanContextChild,Object,Object)): Implemented.
2623         (revokeService(Class,BeanContextServiceProvider,boolean)): Implemented.
2624         * java/beans/beancontext/BeanContextSupport.java:
2625         (remove(Object, boolean)): Documentation correction.
2626         
2627 2006-11-19  Roman Kennke  <kennke@aicas.com>
2628
2629         * javax/swing/JEditorPane.java
2630         (PageStream): New inner class.
2631         (PageLoader): New inner class.
2632         (loading): New field.
2633         (setPage): Implemented asynchronous loading.
2634         * javax/swing/text/DefaultStyledDocument.java
2635         (ElementBuffer.create): New helper method.
2636         (create): Use new ElementBuffer method instead of hack.
2637         * javax/swing/text/html/HTMLDocument.java
2638         (HTMLReader.flushImpl): New helper method.
2639         (HTMLReader.addContent): Use flushImpl().
2640         (HTMLReader.blockClose): Added null check.
2641         (HTMLReader.flush): Use flushImpl().
2642         * javax/swing/text/html/HTMLEditorKit.java
2643         (createDefaultDocument): Set load priority to 4 and token threshold
2644         to 100.
2645         * javax/swing/text/html/TableView.java
2646         (insertUpdate): Overridden to provide correct view factory.
2647         (removeUpdate): Overridden to provide correct view factory.
2648         (changedUpdate): Overridden to provide correct view factory.
2649
2650 2006-11-19  Roman Kennke  <kennke@aicas.com>
2651
2652         * javax/swing/text/BoxView.java
2653         (clipRect): New field.
2654         (tmpRect): New field.
2655         (layout): Reorganized code. Now uses layoutAxis() helper method.
2656         (layoutAxis): New helper method.
2657         (paint): Optimized by using cached Rectangle objects and
2658         a binary search for child views inside the clip.
2659         * javax/swing/text/CompositeView.java
2660         (insideAllocation): Made private and initialized in constructor.
2661         (getInsideAllocation): Removed initialization block for
2662         insideAllocation field. Avoid unnecessary allocations.
2663         * javax/swing/text/GlyphView.java
2664         (DefaultGlyphPainter.paint): Only paint the actual glyphs here
2665         The remaining stuff (background, underline and striking) is
2666         done in the GlpyhView itself. Avoid unnecessary allocations.
2667         (cached): A cached Segment instance.
2668         (getText): Return cached segment.
2669         (paint): Paint underline, strike and background here. Avoid
2670         unecessary allocs.
2671
2672 2006-11-19  Roman Kennke  <kennke@aicas.com>
2673
2674         * javax/swing/text/html/StyleSheet.java
2675         (getFontSize): Removed debug output.
2676         (ListPainter.tmpRect): New field.
2677         (ListPainter.paint): Align bullet vertically centered to
2678         the first line of the paragraph.
2679
2680 2006-11-17  Roman Kennke  <kennke@aicas.com>
2681
2682         * gnu/javax/swing/text/html/css/CSSParser.java
2683         (parseDeclaration): Trim string before reporting.
2684         * gnu/javax/swing/text/html/css/FontSize.java
2685         (size): New field.
2686         (isRelative): New field.
2687         (sizeIndex): New field.
2688         (FontSize): Initialize new fields.
2689         (getValue): Changed to call getValue(int).
2690         (getValue(int)): New method. Implements relative font sizes.
2691         (isRelative): New method.
2692         (mapAbsolute): Store index.
2693         (mapEM): New helper method.
2694         (mapLarger): New helper method.
2695         (mapPercent): New helper method.
2696         (mapRelative): New helper method.
2697         (mapSmaller): New helper method.
2698         (mapValue): New helper method.
2699         * javax/swing/text/html/CSS.java
2700         (parseBackgroundShorthand): Create CSSColor directly.
2701         * javax/swing/text/html/StyleSheet.java
2702         (addRule): Invalidate resolved styles.
2703         (getFont): Call new getFontSize() method to resolve relative
2704         font sizes.
2705         (getFontSize): New helper method. Resolves relative font sizes.
2706         (translateHTMLToCSS): Create CSS objects directly.
2707
2708 2006-11-13  Andrew John Hughes  <gnu_andrew@member.fsf.org>
2709
2710         * gnu/java/util/regex/RETokenNamedProperty.java:
2711         (getHandler(String)): Add support for 'all'.
2712
2713 2006-11-18  Andrew John Hughes  <gnu_andrew@member.fsf.org>
2714
2715         * gnu/javax/management/Server.java:
2716         Initial implementation of a GNU management server.
2717         * javax/management/MBeanPermission.java,
2718         * javax/management/MBeanRegistration.java,
2719         * javax/management/MBeanTrustPermission.java:
2720         Implemented.
2721         
2722 2006-11-17  Mark Wielaard  <mark@klomp.org>
2723
2724         * docs/www.gnu.org/newsitems.txt: Add Sun GPL news announcement.
2725
2726 2006-11-17  Gary Benson  <gbenson@redhat.com>
2727
2728         * java/net/DatagramSocket.java (getLocalAddress, connect,
2729         receive): Perform security check on address not hostname.
2730
2731 2006-11-16  Roman Kennke  <kennke@aicas.com>
2732
2733         * gnu/javax/swing/text/html/parser/support/Parser.java
2734         (_handleText): Fixed condition for consuming whitespace.
2735         Removed validator check, this is superfluous now.
2736
2737 2006-11-16  Roman Kennke  <kennke@aicas.com>
2738
2739         * gnu/javax/swing/text/html/css/CSSParser.java
2740         (parseRuleset): Support 'combined' selectors.
2741         (main): Adapt callback for combined selectors support.
2742         * gnu/javax/swing/text/html/css/CSSParserCallback.java
2743         (startStatement): Take selector array as argument, to
2744         support combined selectors.
2745         * javax/swing/text/html/BlockView.java
2746         (calculateMinorAxisRequirements): Fetch and apply alignment.
2747         * javax/swing/text/html/StyleSheet.java
2748         (CSSStyle): Inverted the constants for correct precedence.
2749         (CSSStyleSheetParserCallback.styles): New field. Stores the current
2750         styles.
2751         (CSSStyleSheetParserCallback.style): Removed.
2752         (CSSStyleSheetParserCallback.declaration): Update multiple styles.
2753         (CSSStyleSheetParserCallback.end): Push multiple styles.
2754         (CSSStyleSheetParserCallback.start): Initialize multiple styles.
2755
2756 2006-11-16  Roman Kennke  <kennke@aicas.com>
2757
2758         * javax/swing/text/FlowView.java
2759         (LogicalView.getPreferredSpan): Calculate maximum correctly.
2760         * javax/swing/text/GlyphView.java
2761         (tabExpander): New field.
2762         (tabX): New field.
2763         (breakView): Set tabX on broken view.
2764         (getPartialSpan): Let the painter fetch the span.
2765         (getTabbedSpan): Update the tab expander field. Maybe trigger
2766         relayout.
2767         (getTabExpander): Simply return the stored expander.
2768         * javax/swing/text/Utilities.java
2769         (getTabbedTextOffset): Made algoritm a little smarter and more
2770         efficient.
2771         (getTabbedTextWidth): Don't add single char widths, instead add
2772         chunks of characters.
2773         * javax/swing/text/html/ParagraphView.java
2774         (calculateMinorAxisRequirements): Adjust margin only when the
2775         CSS span is not fixed.
2776
2777 2006-11-16  David Gilbert  <david.gilbert@object-refinery.com>
2778
2779         * java/beans/beancontext/BeanContextSupport.java
2780         (getChildBeanContextMembershipListener): Implemented,
2781         (getChildPropertyChangeListener): Implemented,
2782         (getChildSerializable): Implemented,
2783         (getChildVetoableChangeListener): Implemented,
2784         (getChildVisibility): Implemented,
2785         (setDesignTime): Use same property name as Sun's implementation.
2786
2787 2006-11-16  David Gilbert  <david.gilbert@object-refinery.com>
2788
2789         * java/beans/DesignMode.java: Reformatted and removed a FIXME,
2790         * java/beans/Statement.java
2791         (toString): Updated to match reference implementation.
2792
2793 2006-11-15  Roman Kennke  <kennke@aicas.com>
2794
2795         * javax/swing/text/html/HTMLEditorKit.java
2796         (InsertHTMLTextAction.actionPerformed): Also try inserting
2797         the alternate tag. Adjust the selection accordingly.
2798         (InsertHTMLTextAction.adjustSelection): New helper method.
2799         Adjusts the selection after an insertion.
2800         (insertAtBoundary): Delegate to deprecated method.
2801         (insertAtBoundry): Implemented missing method.
2802         (tryInsert): New helper method.
2803         (defaultActions): Implemented to fill the array with
2804         a couple of InsertHTMLTextActions.
2805
2806 2006-11-15  Roman Kennke  <kennke@aicas.com>
2807
2808         * javax/swing/text/html/ImageView.java
2809         (Observer): New class. Observes image loading.
2810         (haveHeight): New field.
2811         (haveWidth): New field.
2812         (height): New field.
2813         (width): New field.
2814         (image): New field.
2815         (imageIcon): New field.
2816         (loading): New field.
2817         (observer): New field.
2818         (reloadImage): New field.
2819         (reloadProperties): New field.
2820         (ImageView): Initialize observer and some flags.
2821         (getImage): Update the image state and return the image.
2822         (loadImage): New helper method. Actually starts loading.
2823         (paint): Rewritten to paint the image directly, not via Icon.
2824         (reloadImage): Rewritten. Loads the image and its properties.
2825         (renderIcon): Removed. No more necessary.
2826         (setPropertiesFromAttributes): Don't nullify image here.
2827         Added comment about missing impl.
2828         (setSize): Added comment about missing impl.
2829         (updateSize): New helper method. Updates the size attributes.
2830         (updateState): New helper method. Makes sure the image
2831         and its properties are valid.
2832
2833 2006-11-15  Roman Kennke  <kennke@aicas.com>
2834
2835         * gnu/javax/swing/text/html/parser/support/Parser.java
2836         (_handleEndTag_remaining): Consume whitespace after a closing
2837         block like tag.
2838
2839 2006-11-15  Roman Kennke  <kennke@aicas.com>
2840
2841         * javax/swing/text/html/HTMLDocument.java
2842         (HTMLReader.ParagraphAction.end): Call super instead of blockClose()
2843         directly.
2844         (HTMLReader.ParagraphAction.start): Call super instead of blockOpen()
2845         directly.
2846         (HTMLReader.parseStack): Removed.
2847         (HTMLReader.blockClose): Simply call addContent() with ' '
2848         instead of doing more complicated stuff. Removed parseStack
2849         handling.
2850         (HTMLReader.blockOpen): Removed parseStack handling.
2851         (getInsertingReader): Removed parseStack init.
2852         * gnu/javax/swing/text/html/parser/htmlValidator.java
2853         (closeTag): Return true only when the tag actually should be
2854         closed.
2855         * gnu/javax/swing/text/html/parser/support/Parser.java
2856         (_handleEndTag): Only actually close the tag when the validator
2857         allows it.
2858
2859 2006-11-15  Roman Kennke  <kennke@aicas.com>
2860
2861         * javax/swing/text/html/CSS.java
2862         (Attribute.BORDER_SPACING): New field for the CSS border-spacing
2863         attribute.
2864         * javax/swing/text/html/StyleSheet.java
2865         (BoxPainter.bottomPadding): New field.
2866         (BoxPainter.leftPadding): New field.
2867         (BoxPainter.rightPadding): New field.
2868         (BoxPainter.topPadding): New field.
2869         (BoxPainter.BoxPainter): Fetch the MARGIN and PADDING* attributes
2870         too.
2871         (BoxPainter.getInset): Recognize and include the padding.
2872         (translateHTMLToCSS): Added mapping for CELLPADDING and CELLSPACING.
2873          javax/swing/text/html/TableView.java
2874         (RowView.calculateMajorAxisRequirements): Adjust req's for
2875         cellSpacing.
2876         (RowView.layoutMajorAxis): Adjust multi-column span for cellSpacing.
2877         (cellSpacing): New field.
2878         (columnRequirements): Made package private to avoid accessor method.
2879         (calculateMinorAxisRequirements): Include cellSpacing.
2880         (calculateMajorAxisRequirements): Overridden to include cellSpacing.
2881         (layoutMajorAxis): Likewise.
2882         (layoutColumns): Respect cellSpacing.
2883         (setParent): Overridden to fetch the CSS attributes when view gets
2884         connected.
2885         (setPropertiesFromAttributes): New method. Fetches the cell
2886         spacing from the CSS attributes.
2887
2888 2006-11-15  Roman Kennke  <kennke@aicas.com>
2889
2890         * gnu/javax/swing/text/html/parser/support/Parser.java
2891         (_handleText): Consume whitespace directly before a closing tag.
2892         (restOfTag): Consume whitespace directly after opening.
2893         * gnu/javax/swing/text/html/parser/support/textPreProcessor.java
2894         (preprocess): Don't perform array boundary checking by
2895         catch AIOOBE, instead check the boundary in loop condition.
2896         * gnu/javax/swing/text/html/parser/support/low/Constants.java
2897         (TAG_CLOSE): New constants. Describes the token pattern for
2898         a closing tag.
2899
2900 2006-11-14  Roman Kennke  <kennke@aicas.com>
2901
2902         * javax/swing/text/html/ImageView.java
2903         (getPreferredSpan): Use CSS length values.
2904         * javax/swing/text/html/TableView.java
2905         (CellView.calculateMajorAxisRequirements): Overridden to
2906         set the maximum reqs to maximum.
2907         (RowView.getMaximumSize): For the X_AXIS, set the maximum
2908         span to maximum.
2909         (RowView.getMinimumSpan): Overridden. For the X_AXIS, return
2910         the total column reqs.
2911         (RowView.getPreferredSpan): Overridden. For the X_AXIS, return
2912         the total column reqs.
2913         * gnu/javax/swing/text/html/css/CSSColor.java
2914         (convertValue): Catch NumberFormatExceptions for more robustness.
2915         * gnu/javax/swing/text/html/css/FontSize.java
2916         (mapPixels): Actually map px values. Catch NFE for more robustness.
2917
2918 2006-11-14  Roman Kennke  <kennke@aicas.com>
2919
2920         * gnu/java/awt/font/autofit/AxisHints.java,
2921         * gnu/java/awt/font/autofit/Constants.java,
2922         * gnu/java/awt/font/autofit/GlyphHints.java,
2923         * nu/java/awt/font/autofit/Latin.java,
2924         * nu/java/awt/font/autofit/LatinAxis.java,
2925         * gnu/java/awt/font/autofit/LatinMetrics.java,
2926         * gnu/java/awt/font/autofit/Scaler.java,
2927         * gnu/java/awt/font/autofit/Script.java,
2928         * gnu/java/awt/font/autofit/ScriptMetrics.java,
2929         * gnu/java/awt/font/autofit/Segment.java,
2930         * gnu/java/awt/font/autofit/Width.java:
2931         New classes. This is some skeleton stuff for the FreeType-alike
2932         auto-gridfitter.
2933         * gnu/java/awt/font/opentype/CharGlyphMap.java: Made class public.
2934         * gnu/java/awt/font/opentype/OpenTypeFont.java
2935         (unitsPerEm): Made field public.
2936         (getRawGlyphOutline): New method. Fetches the raw outline.
2937         * gnu/java/awt/font/opentype/Scaler.java
2938         (getRawGlyphOutline): New method. Fetches the raw outline.
2939         * gnu/java/awt/font/opentype/truetype/GlyphLoader.java
2940         (loadGlyph): New method. This is used to load raw outlines.
2941         * gnu/java/awt/font/opentype/truetype/TrueTypeScaler.java
2942         (getRawOutline): New method. Fetches the raw outline.
2943         * gnu/java/awt/font/opentype/truetype/Zone.java:
2944         Made class public.
2945
2946 2006-11-14  Roman Kennke  <kennke@aicas.com>
2947
2948         * javax/swing/RepaintManager.java
2949         (RepaintManager): Fetch the default state for the double buffering
2950         from a system property gnu.swing.doublebuffering.
2951
2952 2006-11-14  Roman Kennke  <kennke@aicas.com>
2953
2954         * javax/swing/plaf/basic/BasicLabelUI.java
2955         (cachedInsets): New field.
2956         (getFontMetrics): New helper method. Fetches the font metrics
2957         from the component or the toolkit.
2958         (getPreferredSize): Use getFontMetrics() helper method for
2959         fetching the font metrics.
2960         (paint): Use getFontMetrics() helper method for
2961         fetching the font metrics. Only paint if icon or text
2962         are != null. Use cached insets.
2963         (paintDisabledText): Don't store/restore color object. The
2964         JComponent painting mechanism takes care of this by calling
2965         create().
2966         (paintEnabledText): Don't store/restore color object. The
2967         JComponent painting mechanism takes care of this by calling
2968         create().
2969
2970 2006-11-14  Roman Kennke  <kennke@aicas.com>
2971
2972         * gnu/java/awt/peer/GLightweightPeer.java
2973         (handleEvent): Try to do something reasonable and trigger painting
2974         for the lightweight component.
2975         (getFontMetrics): Fetch and return a font metrics object from
2976         the Toolkit.
2977
2978 2006-11-13  Andrew John Hughes  <gnu_andrew@member.fsf.org>
2979
2980         * gnu/java/util/regex/RETokenNamedProperty.java:
2981         (getHandler(String)): Add support for 'all'.
2982         
2983 2006-11-13  Andreas Tobler  <a.tobler@schweiz.org>
2984
2985         * AUTHORS: Add myself.
2986
2987 2006-11-13  Thomas Fitzsimmons  <fitzsim@redhat.com>
2988
2989         * AUTHORS: Add Tania Bento, Thomas Fitzsimmons, Francis Kung and
2990         Dalibor Topic.  Re-order 'K' section.  Remove trailing space from
2991         Roman Kennke's entry.
2992
2993 2006-11-13  Roman Kennke  <kennke@aicas.com>
2994
2995         * java/awt/image/IndexColorModel.java
2996         (createCompatibleSampleModel): Implemented missing method.
2997
2998 2006-11-11  Andreas Tobler  <a.tobler@schweiz.org>
2999
3000         * gnu/java/awt/peer/gtk/GtkImageConsumer.java (setPixels): Handle data
3001         from big endian systems correctly.
3002
3003 2006-11-11  Roman Kennke  <kennke@aicas.com>
3004
3005         * gnu/javax/swing/text/html/css/CSSColor.java
3006         (isValidColor): New helper method. Checks strings if they
3007         form a valid color value.
3008         * gnu/javax/swing/text/html/css/Length.java
3009         (Length): Catch number format exceptions.
3010         * javax/swing/text/html/CSS.java
3011         (addInternal): New method. Checks for shorthand CSS attributes
3012         and parses them.
3013         (parseBackgroundShorthand): New method. Parses the background
3014         shorthand attribute.
3015         * javax/swing/text/html/HTMLDocument.java
3016         (HTMLReader.LinkAction): Made class a subclass of HiddenAction.
3017         (HTMLReader.LinkAction.start): Implemented to load the linked
3018         stylesheet.
3019         (HTMLReader.LinkAction.end): Removed. This is not needed.
3020         * javax/swing/text/html/StyleSheet.java
3021         (CSSStyleSheetParserCallback.declaration): Push declaration
3022         through CSS.addInternal() to parse shorthand attributes.
3023         (addCSSAttribute): Push declaration through CSS.addInternal()
3024         to parse shorthand attributes.
3025         (importStyleSheet): Implemented. This adds a stylesheet from
3026         an URL.
3027         * javax/swing/text/html/TableView.java
3028         (calculateColumnRequirements): Increase column index for
3029         non CellView children to avoid endless loop.
3030         * javax/swing/text/CompositeView.java
3031         (setParent): Comparen with numChildren not with real arraylength.
3032
3033 2006-11-11  David Gilbert  <david.gilbert@object-refinery.com>
3034
3035         * java/beans/beancontext/BeanContextSupport.java
3036         (getChildBeanContextChild): Implemented.
3037
3038 2006-11-10  Roman Kennke  <kennke@aicas.com>
3039
3040         * javax/swing/text/View.java
3041         (updateLayout): Only repaint when needed.
3042
3043 2006-11-10  David Gilbert  <david.gilbert@object-refinery.com>
3044
3045         * java/util/Collections.java
3046         (sort(List)): Minor API doc addition,
3047         (sort(List, Comparator)): Likewise.
3048
3049 2006-11-10  David Fu  <fchoong@netbeans.jp>
3050
3051         * javax/swing/text/html/HTMLWriter.java
3052         (traverse): Removed Classpath specific handling of implied
3053         tags.
3054         (traverseHtmlFragment): Removed Classpath specific handling of
3055         implied tags.
3056
3057 2006-11-10  Roman Kennke  <kennke@aicas.com>
3058
3059         * javax/swing/text/ParagraphView.java
3060         (Row.getMaximumSize): Removed. This method is not necessary.
3061         * javax/swing/text/html/TableView.java
3062         (CellView): Moved attribute init to setPropertiesFromAttributes().
3063         (setPropertiesFromAttributes): Fetch attributes here.
3064         (RowView.RowView): Documented.
3065         (RowView.getMaximumSpan): Overridden to restrict the max span
3066         in the Y direction.
3067         (RowView.layoutMajorAxis): Correctly layout the spans.
3068         (columnWidths): New field. Stores the width attributes of
3069         the columns.
3070         (calculateColumnRequirements): Added support for relative
3071          (== percent) width attributes.
3072         (calculateMajorAxisRequirements): Removed.
3073         (calculateMinorAxisRequirements): Removed unnecessary code.
3074         (getMaximumSpan): Overridden to restrict the table's width.
3075         (layoutColumns): Documented. Implement more clever table layout,
3076         i.e. for relative columns etc.
3077         (layoutMinorAxis): Don't mark rows invalid.
3078         (updateGrid): Added docs. Initialize column widths.
3079
3080 2006-11-09  Roman Kennke  <kennke@aicas.com>
3081
3082         * gnu/java/awt/peer/headless/HeadlessGraphicsEnvironment,
3083         * gnu/java/awt/peer/headless/HeadlessToolkit: New classes.
3084         Implement basic headless toolkit.
3085         * java/awt/Toolkit.java
3086         (getDefaultToolkit): Check headless property and create
3087         headless toolkit when true.
3088
3089 2006-11-09  Ingo Proetel  <proetel@aicas.com>
3090 2006-11-09  Roman Kennke  <kennke@aicas.com>
3091
3092         * gnu/java/awt/peer/swing/SwingButtonPeer.java
3093         (SwingButton.button): New field.
3094         (SwingButton.SwingButton): Added constructor.
3095         (SwingButton.isShowing): Access button field instead of
3096         the surrounding class.
3097         (SwingButton.getParent): Access button field instead of
3098         the surrounding class.
3099         (SwingButtonPeer): Call new SwingButton constructor.
3100         * gnu/java/awt/peer/swing/SwingComponent.java:
3101         Several documentation updates.
3102         * gnu/java/awt/peer/swing/SwingComponentPeer.java
3103         (currentPaintEvents): New field.
3104         (peerFont): New field.
3105         (SwingComponentPeer): Initialize currentPaintEvents fields.
3106         (coalescePaintEvents): Implemented.
3107         (dispose): Unregister peer from heavyweight list of its container.
3108         (getGraphics): Fetch graphics from parent component.
3109         (handleEvent): Discard paint event if its coalesced.
3110         (init): Register component with its container for proper painting.
3111         (paint): Call peerPaint().
3112         (peerPaint): Added argument that indicates if we should update.
3113         Call paint or update on the actual AWT component.
3114         (peerPaintComponent): New method. Paints the peer (Swing) component.
3115         (setFont): Set peerFont field.
3116         * gnu/java/awt/peer/swing/SwingContainerPeer.java
3117         (backbuffer): New field.
3118         (focusOwner): New field.
3119         (heavyweightDescendents): New field.
3120         (SwingContainerPeer): Take Container as argument. Don't call init
3121         yet.
3122         (addHeavyweightDescendent): New method.
3123         (getFocusOwner): New helper method.
3124         (getInsets): Delegate to insets().
3125         (handleKeyEvent): Dispatch event to focus owner.
3126         (handleMouseEvent): Dispatch to child component.
3127         (isDoubleBuffering): New helper method.
3128         (peerPaint): Overridden to implement container painting with
3129         double buffering.
3130         (peerPaintChildren): New method. Paints the descendents of this
3131         container.
3132         (removeHeavyweightDescendent): New helper method.       
3133         * gnu/java/awt/peer/swing/SwingFramePeer.java
3134         (peerPaint): Removed.
3135         (peerPaintComponent): Overridden to paint the menu bar.
3136         * gnu/java/awt/peer/swing/SwingLabelPeer.java
3137         (SwingLabel.label): New field.
3138         (SwingLabel.SwingLabel): Added constructor with Label argument.
3139         (SwingLabel.getGraphics): Implemented to fetch the graphics from
3140         the actual AWT component.
3141         (SwingLabel.getParent): Implemented to fetch the parent from
3142         the AWT component.
3143         (SwingLabel.isShowing): Access the label field.
3144         (SwingLabelPeer): Set alignment from label.
3145         * gnu/java/awt/peer/swing/SwingListPeer.java: New class.
3146         * gnu/java/awt/peer/swing/SwingMenuBarPeer.java: Documentation
3147         fixlet.
3148         * gnu/java/awt/peer/swing/SwingPanelPeer.java:
3149         Don't be a lighweight peer.
3150         (SwingPanelPeer): Call init.
3151         * gnu/java/awt/peer/swing/SwingTextAreaPeer.java: New class.
3152         * gnu/java/awt/peer/swing/SwingTextFieldPeer.java
3153         (SwingTextField.textField): New field.
3154         (SwingTextField.SwingTextField): New constructor.
3155         (SwingTextField.isShowing): Access field not enclosing class.
3156         (SwingTextField.getGraphics): New method.
3157         (SwingTextField.getParent): New method.
3158         (SwingTextFieldPeer): Call new constructor.
3159         (select): Renamed arguments.
3160         * gnu/java/awt/peer/swing/SwingWindowPeer.java
3161         (SwingWindowPeer): Call init.
3162
3163 2006-11-09  Tania Bento  <tbento@redhat.com>
3164
3165         * javax/swing/JLabel.java
3166         (JLabel(Icon)): Changed documentation; Changed text to null.
3167         (JLabel(Icon,int)): Likewise.
3168         (JLabel(text)): Changed documenation.
3169         (JLabel(text,int)): Likewise.
3170         (JLabel(text,Icon,int)): Changed documentation; Throw 
3171         IllegalArgumentException if int is not one of LEFT, RIGHT,
3172         CENTER, LEADING or TRAILING.
3173
3174 2006-11-09  David Gilbert  <david.gilbert@object-refinery.com>
3175
3176         * java/beans/beancontext/BeanContextSupport.java
3177         (BeanContextSupport): Use correct dtime default,
3178         (BeanContextSupport(BeanContext)): Likewise,
3179         (BeanContextSupport(BeanContext, Locale)): Likewise, plus renamed
3180         locale argument,
3181         (BeanContextSupport(BeanContext, Locale, boolean)): Likewise,
3182         (BeanContextSupport(BeanContext, Locale, boolean, boolean)): Likewise.
3183
3184 2006-11-09  David Gilbert  <david.gilbert@object-refinery.com>
3185
3186         * java/beans/beancontext/BeanContextSupport.java
3187         (getBeanContextPeer): Implemented.
3188
3189 2006-11-09  Roman Kennke  <kennke@aicas.com>
3190
3191         * javax/swing/text/html/BlockView.java
3192         (cssHeight): Removed.
3193         (cssWidth): Removed.
3194         (cssSpans): New field. Replaces the two fields above.
3195         (BlockView): Allocate cssSpans array.
3196         (layoutMinorAxis): Fetch and use child span, not this view's span.
3197         (setCSSSpan): Adjusted to use cssSpans array.
3198         (setPropertiesFromAttributes): Adjusted to use cssSpans array.
3199
3200 2006-11-09  Roman Kennke  <kennke@aicas.com>
3201
3202         * javax/swing/text/html/InlineView.java
3203         (nowrap): New field.
3204         (getBreakWeight): Add support for nowrap.
3205         (setPropertiesFromAttributes): Fetch the nowrap setting.
3206
3207 2006-11-09  Roman Kennke  <kennke@aicas.com>
3208
3209         * gnu/javax/swing/text/html/css/CSSParser.java
3210         (parseRuleset): Use new Selector class.
3211         (parseValue): Parse multiple anys, not only one.
3212         (main): Allow stylesheet be specified on the command line.
3213         Use new Selector class.
3214         * gnu/javax/swing/text/html/css/CSSParserCallback.java
3215         (startStatement): Use Selector class.
3216         * gnu/javax/swing/text/html/css/CSSScanner.java
3217         (readName): Actually read a character in the loop to avoid
3218         endless loop.
3219         * gnu/javax/swing/text/html/css/Length.java
3220         (getValue): Only multiply when we have a percentage value.
3221         * gnu/javax/swing/text/html/css/Selector.java:
3222         New class. Provides handling of CSS selectors.
3223         * javax/swing/text/html/StyleSheet.java
3224         (CSSStyle.PREC_AUTHOR_IMPORTANT): New constant field.
3225         (CSSStyle.PREC_AUTHOR_NORMAL): New constant field.
3226         (CSSStyle.PREC_NORM): New constant field.
3227         (CSSStyle.PREC_UA): New constant field.
3228         (CSSStyle.PREC_USER_IMPORTANT): New constant field.
3229         (CSSStyle.precedence): New field.
3230         (CSSStyle.priority): Removed.
3231         (CSSStyle.selector): New field.
3232         (CSSStyle.CSSStyle(int,Selector)): Initialize with Selector
3233         and precendence.
3234         (CSSStyle.compareTo): Adjusted to use the precedence and
3235         specificity of the selector.
3236         (CSSStyleSheetParserCallback.precedence): New field.
3237         (CSSStyleSheetParserCallback.selector): Removed.
3238         (CSSStyleSheetParserCallback.style): New field.
3239         (CSSStyleSheetParserCallback.CSSStyleSheetParserCallback):
3240         Initialize with precedence.
3241         (CSSStyleSheetParserCallback.declaration): Don't look up
3242         existing rule, simply create new one.
3243         (CSSStyleSheetParserCallback.endStatement): Append style
3244         to stylesheet.
3245         (CSSStyleSheetParserCallback.startStatement): Use new Selector
3246         class.
3247         (css): Changed to be ArrayList.
3248         (addRule): Create parser with author-normal precendence.
3249         (getRule): Fixed implementation.
3250         (loadRules): Create parser with UA precendence.
3251         (resolveStyle): Use Selector class for resolving and matching
3252         stylesheet rules.
3253         (translateHTMLToCSS): Added mappings for a couple of HTML
3254         attributes.
3255
3256 2006-11-09  David Gilbert  <david.gilbert@object-refinery.com>
3257
3258         Fixes bug #29770
3259         * java/beans/SimpleBeanInfo.java
3260         (loadImage): Check for nulls.
3261
3262 2006-11-09  Robert Schuster  <robertschuster@fsfe.org>
3263
3264         * native/jni/java-nio/gnu_java_nio_VMChannel.c:
3265         (getpeername): Added 16 byte offset to memcpy operation.
3266
3267 2006-11-09  Robert Schuster  <robertschuster@fsfe.org>
3268
3269         * native/jni/java-nio/gnu_java_nio_VMChannel.c:
3270         (getsockname): Added 16 byte offset to memcpy operation.
3271
3272 2006-11-08  Mark Wielaard  <mark@klomp.org>
3273
3274         Fixes bug #29754
3275         * java/io/OutputStreamWriter.java
3276         (OutputStreamWriter(OutputStream,Charset)): Set encodingName.
3277         (OutputStreamWriter(OutputStream,CharsetEncoder)): Likewise.
3278
3279 2006-11-08  Roman Kennke  <kennke@aicas.com>
3280
3281         * javax/swing/text/html/HTMLEditorKit.java
3282         (getParser): Use plain HTML_401F DTD.
3283         * javax/swing/text/html/HTMLDocument.java
3284         (HTMLReader.print): Removed method and all calls to it.
3285         (HTMLReader.printBuffer): Removed method and all calls to it.
3286         (HTMLReader.inImpliedParagraph): New field.
3287         (HTMLReader.inParagraph): New field.
3288         (HTMLReader.addContent): Create implied p-tag if necessary.
3289         (HTMLReader.addSpecialElement): Create implied p-tag if necessary.
3290         (HTMLReader.blockClose): Close implied p-tag if necessary.
3291         (HTMLReader.blockOpen): Close implied p-tag if necessary.
3292         * gnu/javax/swing/text/html/parser/HTML_401Swing.java: Removed.
3293
3294 2006-11-08  Roman Kennke  <kennke@aicas.com>
3295
3296         * javax/swing/text/html/HTMLEditorKit.java
3297         (HTMLFactory.create): Removed mapping for TD tag. This
3298         is done in TableView.
3299         * javax/swing/text/html/TableView.java:
3300         Implemented from scratch.
3301
3302 2006-11-07  Roman Kennke  <kennke@aicas.com>
3303
3304         * gnu/javax/swing/text/html/parser/support/Parser.java
3305         (_handleText): Check if text content is actually allowed before
3306         passing empty text fragments on to the parser callbacks.
3307
3308 2006-11-07  Mark Wielaard  <mark@klomp.org>
3309
3310         * gnu/java/net/protocol/jar/Handler.java (parseURL): Flatten jar
3311         path.
3312         (flat): New method.
3313
3314 2006-11-07  Tania Bento  <tbento@redhat.com>
3315
3316         * java/awt/FlowLayout.java
3317         (getSize): If parent does not have a component, then a 
3318         different formula is used to calcuate the width.
3319
3320 2006-11-07  Roman Kennke  <kennke@aicas.com>
3321
3322         * javax/swing/text/html/HTMLEditorKit.java
3323         (HTMLFactory.create): Include ListView.
3324         * javax/swing/text/html/ListView.java
3325         (paint): Removed comment.
3326         * javax/swing/text/html/StyleSheet.java
3327         (CSSStyle.priority): New field.
3328         (CSSStyle.CSSStyle(int)): New constructor with priority.
3329         (CSSStyle.compareTo): New method. Used for sorting the styles.
3330         (CSSStyleSheetParserCallback.declaration): Store the style
3331         with the complete selector.
3332         (ListPainter.attributes): Renamed as field.
3333         (ListPainter.styleSheet): New field.
3334         (ListPainter.type): New field.
3335         (ListPainter.ListPainter): Pass StyleSheet to constructor.
3336         (ListPainter.paint): Provide simplistic implementation.
3337         (getListPainter): Pass StyleSheet to constructor.
3338         (resolveStyle): Fixed CSS style resolving.
3339
3340 2006-11-07  Roman Kennke  <kennke@aicas.com>
3341
3342         * gnu/javax/swing/text/html/css/BorderWidth.java:
3343         New class. Handles CSS border width values.
3344         * gnu/javax/swing/text/html/css/Length.java
3345         (floatValue): Made protected so that BorderWidth can access it.
3346         * javax/swing/text/html/CSS.java
3347         (Attribute.BORDER_BOTTOM_COLOR): New static field.
3348         (Attribute.BORDER_BOTTOM_STYLE): New static field.
3349         (Attribute.BORDER_LEFT_COLOR): New static field.
3350         (Attribute.BORDER_LEFT_STYLE): New static field.
3351         (Attribute.BORDER_RIGHT_COLOR): New static field.
3352         (Attribute.BORDER_RIGHT_STYLE): New static field.
3353         (Attribute.BORDER_TOP_COLOR): New static field.
3354         (Attribute.BORDER_TOP_STYLE): New static field.
3355         (getValue): Added some mappings for the border color and
3356         border width values.
3357         * javax/swing/text/html/CSSBorder.java: New class. Implements
3358         CSS borders.
3359         * javax/swing/text/html/StyleSheet.java
3360         (BoxPainter.background): New field.
3361         (BoxPainter.border): New field.
3362         (BoxPainter.bottomInset): Documented.
3363         (BoxPainter.leftInset): Documented.
3364         (BoxPainter.rightInset): Documented.
3365         (BoxPainter.topInset): Documented.
3366         (BoxPainter.BoxPainter): Added support for borders and background.
3367         (BoxPainter.getInset): Add border insets.
3368         (BoxPainter.paint): Implemented. Paints the background and the
3369         CSS border.
3370         (addRule): Be less picky about parse and IO exceptions.
3371         (getBoxPainter): Adjust to new BoxPainter constructor.
3372
3373 2006-11-07  Andreas  <a.tobler@schweiz.org>
3374
3375         * examples/Makefile.am: Add rule to install the *.html files we use
3376         in the Swing Demo.
3377
3378 2006-11-06  Francis Kung  <fkung@redhat.com>
3379
3380         * gnu/java/awt/peer/gtk/ComponentGraphics.java
3381         (fillRect): Handle custom composites.
3382         (drawRenderedImage): Handle custom composites.
3383         (drawImage): Handle custom composites.
3384         (createBuffer): New method.
3385         (drawLine): Handle custom composites.
3386         (drawComposite): New method.
3387         (fill): Handle custom composites.
3388         (getNativeCM): New method.
3389         (drawGlyphVector): Handle custom composites.
3390         (drawRect): Handle custom composites.
3391         (draw): Handle custom composites.
3392         * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
3393         (drawComposite): Unset composite during draw call, to prevent parent
3394         from handling composite again.
3395         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
3396         (getBufferCM): Added comments.
3397         (getNativeCM): Made abstract.
3398         (setComposite): Removed comments.
3399
3400 2006-11-06  Roman Kennke  <kennke@aicas.com>
3401
3402         * examples/gnu/classpath/examples/swing/HtmlDemo.java:
3403         Fixed initial window size and start document.
3404
3405 2006-11-06  Roman Kennke  <kennke@aicas.com>
3406
3407         * javax/swing/text/html/HTMLDocument.java
3408         (HTMLReader.addSpecialElement): Removed comment about
3409         htmlAttributeSet.
3410         (HTMLReader.handleComment): Create SimpleAttributeSet instead
3411         of htmlAttributeSet.
3412         * javax/swing/text/html/parser/DocumentParser.java
3413         (gnuParser.handleStartTag): Use SimpleAttributeSet instead
3414         of htmlAttributeSet.
3415         * javax/swing/text/html/parser/ParserDelegator.java
3416         (gnuParser.handleStartTag): Use SimpleAttributeSet instead
3417         of htmlAttributeSet.
3418         * gnu/javax/swing/text/html/parser/GnuParserDelegator.java
3419         (gnuParser.handleStartTag): Use SimpleAttributeSet instead
3420         of htmlAttributeSet.
3421         * gnu/javax/swing/text/html/parser/support/Parser.java
3422         (getAttributes): Return a SimpleAttributeSet.
3423         (restOfTag): Don't set resolving parent here.
3424
3425 2006-11-06  Tania Bento  <tbento@redhat.com>
3426
3427         * java/awt/TextComponent.java
3428         (setSelectionStart): Added check.
3429
3430 2006-11-06  Tania Bento  <tbento@redhat.com>
3431
3432         * java/awt/TextField.java
3433         (minimumSize(int)): Check if minimum size has been previously
3434         set and changed values of Dimension returned if peer == null.
3435         (preferredSize(int)): Check if preferred size has been previously
3436         set and changed values of Dimension returned if peer == null.
3437
3438 2006-11-06  Roman Kennke  <kennke@aicas.com>
3439
3440         * javax/swing/JTree.java
3441         (TreeModelHandler.treeNodesRemoved): Implemented.
3442         (TreeModelHandler.treeStructureChanged): Implemented.
3443         (nodeStates): Made package private.
3444
3445 2006-11-06  Francis Kung  <fkung@redhat.com>
3446
3447         PR 29420
3448         * javax/swing/JTree.java
3449         (clearSelectionPathStates): New private method to clean up nodeStates.
3450         (removeSelectionPath): Call clearSelectionPathStates().
3451         (removeSelectionPaths): Call clearSelectionPathStates().
3452         (removeSelectionRow): Call clearSelectionPathStates().
3453         (setSelectionPath): Call clearSelectionPathStates().
3454         (setSelectionPaths): Call clearSelectionPathStates().
3455         (setSelectionRow): Call clearSelectionPathStates().
3456
3457 2006-11-06  Ito Kazumitsu  <kaz@maczuka.gcd.org>
3458
3459         Fixes bug #29703
3460         * java/util/regex/Matcher.java(reset): Reset inputCharIndexed.
3461
3462 2006-11-06  Roman Kennke  <kennke@aicas.com>
3463
3464         * examples/gnu/classpath/examples/swing/HtmlDemo.java:
3465         Changed to implement a minimalistic browser.
3466         * examples/gnu/classpath/examples/swing/forms.html,
3467         * examples/gnu/classpath/examples/swing/textstyles.html,
3468         * examples/gnu/classpath/examples/swing/welcome.html:
3469         Some example content.
3470
3471 2006-11-06  Roman Kennke  <kennke@aicas.com>
3472
3473         * javax/swing/text/ComponentView.java
3474         (setParent): Lock the document and repaint the hosting
3475         container.
3476         * javax/swing/text/FlowView.java
3477         (FlowStrategy.createView): Removed comment.
3478         (FlowView): Initialize span with Short.MAX_VALUE.
3479         (getFlowStart): Return 0 unconditionally.
3480         (layout): Moved code around to make it more readable.
3481         (loadChildren): Always set the parent.
3482         * javax/swing/text/GlyphView.java
3483         (DefaultGlyphPainter.fontMetrics): New field.
3484         (DefaultGlyphPainter.getAscent): Use new helper method to
3485         synchronize the font metrics.
3486         (DefaultGlyphPainter.getBoundedPosition): Use new helper method
3487         to synchronize the font metrics.
3488         (DefaultGlyphPainter.getDescent): Use new helper method to
3489         synchronize the font metrics.
3490         (DefaultGlyphPainter.getHeight): Use new helper method to
3491         synchronize the font metrics.
3492         (DefaultGlyphPainter.getSpan): Use new helper method to
3493         synchronize the font metrics.
3494         (DefaultGlyphPainter.modelToView): Use new helper method to
3495         synchronize the font metrics.
3496         (DefaultGlyphPainter.updateFontMetrics): New helper method for
3497         font metrics caching.
3498         (DefaultGlyphPainter.viewToModel): Use new helper method to
3499         synchronize the font metrics. Fixed view to model mapping.
3500         * javax/swing/text/View.java
3501         (removeAll): Pass null to replace().
3502         (setParent): Only reparent children that have this view as parent.
3503
3504 2006-11-05  Mark Wielaard  <mark@klomp.org>
3505
3506         * include/gnu_java_net_VMPlainDatagramSocketImpl.h: Removed.
3507         * include/gnu_java_nio_channels_FileChannelImpl.h: Removed.
3508         * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c:
3509         Removed.
3510         * native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c:
3511         Removed.
3512         * native/jni/java-nio/Makefile.am (libjavanio_la_SOURCES):
3513         Remove gnu_java_nio_channels_FileChannelImpl.c.
3514
3515 2006-11-03  Roman Kennke  <kennke@aicas.com>
3516
3517         * javax/swing/text/html/BlockView.java
3518         (attributes): New field.
3519         (cssHeight): New field.
3520         (cssWidth): New field.
3521         (painter): New field.
3522         (calculateMajorAxisRequirements): Overridden to account for
3523         CSS settings.
3524         (calculateMinorAxisRequirements): Overridden to account for
3525         CSS settings.
3526         (layoutMinorAxis): Overridden to account for CSS settings.
3527         (changedUpdate): Formatting fixlet.
3528         (constrainSize): New helper method.
3529         (getAlignment): Fix alignment.
3530         (getAttributes): Cache attributes for better performance.
3531         (getStyleSheet): Fetch stylesheet from document rather than creating
3532         a new one.
3533         (paint): Remove comment.
3534         (setCSSSpan): New helper method.
3535         (setPropertiesFromAttributes): Implemented to fetch the
3536         recognized properties.
3537         * javax/swing/text/html/CSS.java
3538         (getValue): Added mapping for width and height attributes.
3539         * javax/swing/text/html/InlineView.java
3540         (longestWord): New field.
3541         (getLongestWord): New helper method.
3542         (calculateLongestWord): New helper method.
3543         (getMinimumSpan): Overridden to constrain the minimum span by the
3544         longest word.
3545         * javax/swing/text/html/ParagraphView.java
3546         (cssHeight): New field.
3547         (cssWidth): New field.
3548         (calculateMinorAxisRequirements): Overridden to account for
3549         CSS settings.
3550         (setCSSSpan): New helper method.
3551         (setPropertiesFromAttributes): Fetch CSS width and height. Added
3552         null check.
3553         * gnu/javax/swing/text/html/css/Length.java
3554         (percentage): New field.
3555         (Length): Determine percentage values.
3556         (getValue(float)): New method for handling percentage values.
3557         (isPercentage): New method.
3558
3559 2006-11-03  Tania Bento  <tbento@redhat.com>
3560
3561         * java/awt/TextArea.java
3562         (getMinimumSize): Changed documentation.
3563         (getPreferredSize): Changed documentation.
3564         (getMinimumSize(int,int)): Changed documenation.
3565         (getPreferredSize(int,int)): Changed documenation.
3566         (minimumSize): Changed documentation.
3567         (preferredSize): Changed documenation.
3568         (minimumSize(int,int)): Changed documentation.  Checked if 
3569         minimum size had been previously set and changed values of
3570         Dimension returned if peer == null.
3571         (preferredSize(int, int)): Checked if preferred size had been
3572         previously set and changed values of Dimension returned if
3573         peer = null.
3574
3575 2006-11-03  Tania Bento  <tbento@redhat.com>
3576
3577         * java/awt/event/ComponentEvent.java
3578         (paramString): Changed format of string representation returned.
3579
3580 2006-11-03  Roman Kennke  <kennke@aicas.com>
3581
3582         * javax/swing/text/html/HTMLDocument.java
3583         (HTMLReader.FormAction.start): Added support for textarea.
3584         (HTMLReader.FormAction.end): Added support for textarea.
3585         (HTMLReader.HeadAction.end): Call super to actually close the
3586         block.
3587         (HTMLReader.inTextArea): New field.
3588         (HTMLReader.textAreaDocument): New field.
3589         (HTMLReader.handleText): Call textAreaContent when inside
3590         a textarea tag.
3591         (HTMLReader.textAreaContent): Implemented to initialize
3592         the text area's model.
3593         * javax/swing/text/html/FormView.java
3594         (createComponent): Added support for textarea tag.
3595
3596 2006-11-03  Roman Kennke  <kennke@aicas.com>
3597
3598         * javax/swing/text/html/HTMLDocument.java
3599         (HTMLReader.IsindexAction.start): Implemented.
3600
3601 2006-11-03  Roman Kennke  <kennke@aicas.com>
3602
3603         * javax/swing/text/html/StyleSheet.java
3604         (addRule): Implemented.
3605         * javax/swing/text/html/HTMLDocument.java
3606         (HTMLReader.inStyleTag): New field.
3607         (HTMLReader.styles): New field.
3608         (HTMLReader.HeadAction.end): Implemented to read all stylesheets,
3609         if any.
3610         (HTMLReader.StyleAction.start): Set inStyleTag flag.
3611         (HTMLReader.StyleAction.end): Set inStyleTag flag.
3612         (HTMLReader.handleText): When inside a style tag, add
3613         content to the styles array.
3614
3615 2006-11-02  Roman Kennke  <kennke@aicas.com>
3616
3617         * javax/swing/text/html/FormView.java
3618         (maxIsPreferred): New field.
3619         (createComponent): Initialize components correctly.
3620         (getMaximumSpan): Return the preferred span for components
3621         that need this. The maxIsPreferred flag is set accordingly
3622         in createComponent.
3623         * javax/swing/text/html/HTMLDocument.java
3624         (HTMLReader.FormAction.start): Implemented to set the
3625         correct model as attribute.
3626         (HTMLReader.FormAction.setModel): New helper method.
3627         (HTMLReader.FormAction.end): Call super to finish the element.
3628         Added TODO about things left to do.
3629         (HTMLReader.handleComment): Use SimpleAttributeSet rather
3630         than htmlAttributeSet.
3631         * javax/swing/text/html/HTMLEditorKit.java
3632         (HTMLFactory.create): Create BlockView for FORM tags.
3633         Create FormView for INPUT, TEXTAREA and SELECT tags.
3634
3635 2006-11-02  David Gilbert  <david.gilbert@object-refinery.com>
3636
3637         * java/awt/geom/GeneralPath.java: API doc fixes.
3638
3639 2006-11-02  Roman Kennke  <kennke@aicas.com>
3640
3641         * javax/swing/text/html/ImageView.java
3642         (getImageURL): Fetch attribute from element. Consider the
3643         base URL for relative image locations.
3644
3645 2006-11-02  Roman Kennke  <kennke@aicas.com>
3646
3647         * javax/swing/JEditorPane.java
3648         (setContentType): Strip off attributes.
3649         * javax/swing/text/html/HTMLEditorKit.java
3650         (LinkController.activateLink(int,JEditorPane,int,int): New
3651         method. Implements activation of a hyperlink.
3652         (LinkController.activateLinke(int,JEditorPane)): Delegate
3653         to the other activateLink() method.
3654         (LinkController.createHyperlinkEvent): New helper method.
3655         (LinkController.mouseClicked): Implemented to activate the link.
3656         (LinkController.mouseDragged): Added comment that this
3657         method does nothing.
3658         (LinkController.mouseMoved): Update cursor for hyperlinks.
3659         (mouseHandler): Renamed field to linkController.
3660         (HTMLEditorKit): Create a link controller.
3661         (clone): Give the clone a new link controller.
3662         (deinstall): De-install link controller as mouseMotionListener too.
3663         (install): Install link controller as mouseMotionListener too.
3664
3665 2006-11-02  Roman Kennke  <kennke@aicas.com>
3666
3667         PR 29644
3668         * javax/swing/text/FlowView.java
3669         (FlowStrategy.changedUpdate): Reversed condition. This caused
3670         wrong layout and bad performance.
3671         (FlowStrategy.insertUpdate): Reversed condition. This caused
3672         wrong layout and bad performance.
3673         (FlowStrategy.removeUpdate): Reversed condition. This caused
3674         wrong layout and bad performance.
3675         (LogicalView): Changed to be a subclass of CompositeView.
3676         (LogicalView()): Only take one Element argument.
3677         (LogicalView.childAllocation): New method for implementing
3678         the abstract CompositeView method.
3679         (LogicalView.forwardUpdateToView): Overridden for correct
3680         reparenting.
3681         (getMinimumSpan): Overridden to handle line breaking correctly.
3682         (getPreferredSpan): Implemented to handle line breaking correctly.
3683         (getViewAtPoint): New method for implementing
3684         the abstract CompositeView method.
3685         (getViewIndexAtPosition): Overridden to handle leaf elements
3686         correctly.
3687         (isAfter): New method for implementing
3688         the abstract CompositeView method.
3689         (isBefore): New method for implementing
3690         the abstract CompositeView method.
3691         (loadChildren): Overridden to handle leaf elements
3692         correctly.
3693         (paint): New method for implementing
3694         the abstract CompositeView method.
3695         (calculateMinorAxisRequirements): Use preferredSpan in calculation.
3696         (loadChildren): Initialize flow layout by sending a synthetic
3697         insertUpdate() to the layout strategy.
3698         * javax/swing/text/GlyphView.java
3699         (DefaultGlyphPainter.getBoundedPosition): Fall back to Toolkit's
3700         font metrics if component is not available. Add initial offset
3701         to result.
3702         (breakView): Be more clever when breaking the view.
3703         (getBreakLocation): New helper method to determine a good
3704         break location.
3705         (getBreakWeight): Be more clever when breaking the view.
3706         (getTabbedSpan): Make sure we have a painter. Use view's
3707         start and end offset rather than the element's.
3708         * javax/swing/text/Utilities.java
3709         (drawTabbedText): Avoid useless add and sub with the y offset.
3710
3711 2006-11-02  Roman Kennke  <kennke@aicas.com>
3712
3713         PR 29644
3714         * gnu/java/awt/peer/ClasspathFontPeer.java
3715         (getStringBounds): Removed abstract method. This is replaced
3716         in java.awt.Font to use a TextLayout.
3717         * gnu/java/awt/peer/gtk/GtkWindowPeer.java
3718         (GtkWindowPeer): Set a font on the window object.
3719         * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
3720         (FreetypeGlyphVector(Font,String,FontRenderContext,int)):
3721         Changed to take char,int,int instead of String. Filter
3722         control characters.
3723         (FreetypeGlyphVector(Font,String,FontRenderContext)):
3724         Create char array out of string.
3725         (getLogicalBounds): Don't translate bounds. They already are
3726         translated.
3727         * gnu/java/awt/peer/gtk/GdkFontMetrics.java
3728         (stringWidth): Filter out control characters.
3729         * gnu/java/awt/peer/gtk/GdkFontPeer.java
3730         (getStringBounds): Removed unneeded method.
3731         (layoutGlyphVector): Pass char array directly to FreetypeGlyphVector
3732         constructor.
3733         * gnu/java/awt/peer/qt/QtFontPeer.java
3734         (getStringBounds): Removed unneeded method.
3735         * gnu/java/awt/peer/x/XFontPeer.java
3736         (getStringBounds): Removed unneeded method.
3737         * gnu/java/awt/peer/x/XFontPeer2.java
3738         (getStringBounds): Removed unneeded method.
3739         * java/awt/Font.java
3740         (getStringBounds(char[],int,int,FontRenderContext)):
3741         Use TextLayout to determine the bounds.
3742         (getStringBounds(CharacterIterator,int,int,FontRenderContext)):
3743         Delegate to the char[] version of this method.
3744         (getStringBounds(String,FontRenderContext)):
3745         Delegate to the char[] version of this method.
3746         (getStringBounds(String,int,int,FontRenderContext)):
3747         Delegate to the String version of this method.
3748
3749 2006-11-01  Tania Bento  <tbento@redhat.com>
3750
3751         * java/awt/ScrollPaneAdjustable.java
3752         (paramString): Changed format of string representation returned.
3753         (paramStringHelper): New private method.
3754
3755 2006-11-01  Tania Bento  <tbento@redhat.com>
3756
3757         * java/awt/GridBagLayout.java
3758         (toString): Implemented method.
3759
3760 2006-10-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
3761
3762         * native/plugin/gcjwebplugin.cc (GCJ_New): Move GLib threading
3763         initialization to NP_Initialize.
3764         (NP_Initialize): Initialize GLib threading.
3765
3766 2006-10-31  Tania Bento  <tbento@redhat.com>
3767
3768         * javax/swing/JTextField.java
3769         (fireActionPerformed): When creating the new event, if
3770         actionCommand == null, then getText() is used.
3771
3772 2006-10-31  Francis Kung  <fkung@redhat.com>
3773
3774         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
3775         (fillArc): Corrected arc type to Arc2D.PIE.
3776
3777 2006-10-31  Roman Kennke  <kennke@aicas.com>
3778
3779         * javax/swing/text/html/HTMLDocument.java
3780         (HTMLReader.PreAction.end): Implemented.
3781         (HTMLReader.PreAction.start): Implemented.
3782         (HTMLReader.inPreTag): New field.
3783         (HTMLReader.handleTag): When inside a pre tag, call preContent().
3784         (HTMLReader.preContent): Implemented.
3785
3786 2006-10-31  Tania Bento  <tbento@redhat.com>
3787
3788         * javax/swing/JTextField.java
3789         (fireActionPerformed): When creating the new event, 
3790         actionCommand should be used as the command, not
3791         getText().
3792
3793 2006-10-31  Roman Kennke  <kennke@aicas.com>
3794
3795         * javax/swing/text/html/HTMLEditorKit.java
3796         (write): Use HTMLWriter or MinimalHTMLWriter for writing
3797         HTML or Styled documents.
3798
3799 2006-10-31  David Fu  <fchoong@netbeans.jp>
3800
3801         * javax/swing/text/html/HTMLWriter.java: New class.
3802
3803 2006-10-30  Roman Kennke  <kennke@aicas.com>
3804
3805         * java/awt/dnd/DragSourceContext.java
3806         (dragExit): Use constant fields instead of 0.
3807         (updateCurrentCursor): Completed implementation.
3808
3809 2006-10-30  Roman Kennke  <kennke@aicas.com>
3810
3811         * java/awt/dnd/DragGestureRecognizer.java
3812         (resetRecognizer): Added API docs. Do not replace the events object
3813         but rather clear() it. Removed not implemented tag.
3814
3815 2006-10-30  Roman Kennke  <kennke@aicas.com>
3816
3817         * java/awt/datatransfer/DataFlavor.java
3818         (writeExternal): Remove not implemented tag.
3819
3820 2006-10-30  Roman Kennke  <kennke@aicas.com>
3821
3822         * java/awt/datatransfer/DataFlavor.java
3823         (javaFileListFlavor): Don't explicitly specify class.
3824         (plainTextFlavor): Don't explicitly specify class.
3825         (mimeType): Changed to type MimeType. Remove final.
3826         (representationClass): Remove final.
3827         (DataFlavor): Don't do anything here.
3828         (DataFlavor(Class,String,String)): Removed.
3829         (DataFlavor(Class,String)): Initialize here.
3830         (DataFlavor(String,String,ClassLoader)): Initialize in init().
3831         (DataFlavor(String,String)): Initialize in init().
3832         (DataFlavor(String)): Initialize in init().
3833         (init): New initialization method.
3834         (getMimeType): Delegate to MimeType.toString().
3835         (getParameter(String,String)): Removed. Is now done in MimeType.
3836         (getParameter(String)): Delegate to MimeType.
3837         (getPrimaryType): Delegate to MimeType.
3838         (getRepresentationClassFromMime): Removed.
3839         (getRepresentationClassFromMimeThrows): Removed.
3840         (getSubType): Delegate to MimeType.
3841         (hashCode): Take MimeType.toString() for the hashCode.
3842         (isFlavorRemoveObjectType): Return true only when representation
3843         class is remove and serializable and the mime type is remote.
3844         (isFlavorSerializedObjectType): Return true only when representation
3845         class is serializable and the mime type is serialized.
3846         (isMimeTypeEqual): Rewritten to delegate to MimeType.matches().
3847         (isMimeTypeSerializedObject): Delegate to isMimeTypeEqual().
3848         (readExternal): Implemented stub method.
3849         (writeExternal): Implemented stub method.
3850         * java/awt/datatransfer/MimeType.java: New helper class.
3851
3852 2006-10-28  Roman Kennke  <kennke@aicas.com>
3853
3854         * javax/swing/TransferHandler.java
3855         (importData): Implemented stub method. Added API docs.
3856
3857 2006-10-26  Christian Elias Naur  <elias@oddlabs.com>
3858
3859         * native/jni/gtk-peer/gtk_jawt.c (classpath_jawt_get_depth): New
3860         function.
3861         * native/jni/classpath/classpath_jawt.h: Likewise.
3862         * native/jawt/jawt.c (_Jv_GetDrawingSurfaceInfo): Added
3863         initializer for surface_info_x11->depth.
3864
3865 2006-10-26  Tania Bento  <tbento@redhat.com>
3866         
3867         * java/awt/FileDialog.java:
3868         (setFile): Changed if-clause condition.
3869
3870 2006-10-25  Francis Kung  <fkung@redhat.com>
3871
3872         * include/gnu_java_nio_VMChannel.h,
3873         * include/java_net_VMNetworkInterface.h,
3874         * include/gnu_java_nio_EpollSelectorImpl.h,
3875         * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h,
3876         * include/gnu_java_nio_FileChannelImpl.h,
3877         * include/gnu_java_nio_KqueueSelectorImpl.h,
3878         * include/gnu_java_nio_VMPipe.h,
3879         * include/gnu_java_net_VMPlainSocketImpl.h: Regenerated.
3880
3881 2006-10-25  Tania Bento  <tbento@redhat.com>
3882
3883         * java/awt/Dialog.java: Created new private variable
3884         next_dialog_number.
3885         (Dialog(Frame, String, boolean, GraphicsConfiguration)):
3886         Set cursor to default cursor.
3887         (Dialog(Dialog, STring, boolean, GraphicsConfiguration)):
3888         Same.
3889         (generateName): New method.
3890         (getUniqueLong): New private method.
3891         * java/awt/FileDialog.java: Created new private variable
3892         next_file_dialog_number.
3893         (setFile): If file == "", set it to null.
3894         (generateName): New method.
3895         (getUniqueLong): New private method.
3896
3897 2006-10-25  Robert Schuster  <robertschuster@fsfe.org>
3898
3899         * java/net/MulticastSocket.java:
3900         (setNetworkInterface): Rewritten.
3901
3902 2006-10-25  Robert Schuster  <robertschuster@fsfe.org>
3903
3904         * native/jni/java-net/javanet.h: Added declaration for
3905         _javanet_create_inetaddress.
3906         * native/jni/java-net/javanet.c:
3907         (_javanet_create_inetaddress): Removed static keyword.
3908
3909 2006-10-25  Robert Schuster  <robertschuster@fsfe.org>
3910
3911         * gnu/java/net/PlainDatagramSocketImpl.java:
3912         (connect): Use VMChannel instance for connect call.
3913         (getTimeToLive): Call VMPlainSocketImpl.getTimeToLive.
3914         (setTimeToLive): Call VMPlainSocketImpl.setTimeToLive.
3915         (setOption): Handle multicast options.
3916         (getOption): Handle multicast options.
3917         * gnu/java/net/PlainSocketImpl.java:
3918         (getTimeToLive): Call VMPlainSocketImpl.getTimeToLive.
3919         (setTimeToLive): Call VMPlainSocketImpl.setTimeToLive.
3920         (setOption): Filter unappropriate options.
3921         (getOption): Filter unappropriate options.
3922         (connect): Use given SocketAddress.
3923         (close): Reset address and port.
3924         (getInetAddress): 
3925         * include/Makefile.am: Removed all occurences of
3926         gnu_java_net_VMPlainDatagramSocketImpl.h.
3927         * include/gnu_java_net_VMPlainDatagramSocketImpl.h: Removed.
3928         * native/jni/java-net/Makefile.am: Removed
3929         gnu_java_net_VMPlainDatagramSocketImpl.c from sources.
3930         * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c:
3931         Removed.
3932         as SocketException, declare to throw SocketException.
3933         * native/jni/java-nio/gnu_java_nio_VMChannel.c: Added definitions
3934         for SocketException and ConnectException.
3935         (Java_gnu_java_nio_VMChannel_connect): Throw SocketException instead
3936         of IOException.
3937         (Java_gnu_java_nio_VMChannel_connect6): Throw SocketException instead
3938         of IOException.
3939         (Java_gnu_java_nio_VMChannel_accept): Rewritten.
3940         (JCL_thread_interrupted): New function.
3941         (initIDs): Added initialisation for isThreadInterrupted method id.
3942         * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c: Added
3943         CPNET_IP_TTL to java_sockopt enum.
3944         (Java_gnu_java_net_VMPlainSocketImpl_setOption): Handle CPNET_IP_TTL
3945         case, handle SO_LINGER case properly.
3946         (Java_gnu_java_net_VMPlainSocketImpl_getOption): Handle CPNET_IP_TTL
3947         case, handle SO_LINGER case properly.
3948         (Java_gnu_java_net_VMPlainSocketImpl_getMulticastInterface): New
3949         function.
3950         (Java_gnu_java_net_VMPlainSocketImpl_setMulticastInterface): New
3951         function.
3952         (Java_gnu_java_net_VMPlainSocketImpl_setMulticastInterface6): New
3953         function.
3954         (Java_gnu_java_net_VMPlainSocketImpl_leave6): Fixed constant to be
3955         IPV6_LEAVE_GROUP.
3956         * vm/reference/gnu/java/net/VMPlainDatagramSocketImpl.java: Removed.
3957         * vm/reference/gnu/java/nio/VMChannel.java:
3958         (connect(int, byte[], int, int)): Declare to throw SocketException.
3959         (connect6): Declare to throw SocketException.
3960         (connect(InetSocketAddress, int)): Catch IOException and rethrow
3961         (isThreadInterrupted): New method.
3962         * vm/reference/gnu/java/net/VMPlainSocketImpl.java: Added CP_IP_TTL
3963         field.
3964         (setTimeToLive): New method.
3965         (getTimeToLive): New method.
3966         (setMulticastInterface(int, InetAddress)): New method.
3967         (setMulticastInterface(int, int, Inet4Address): New method.
3968         (setMulticastInterface6(int, int, Inet6Address): New method.
3969         (setOptions): Handle SO_LINGER case.
3970         (getOptions): Add missing SO_REUSEADDR case.
3971         * java/net/Socket.java:
3972         (Socket(InetAddress, int, InetAddress, int, boolean)): Close socket
3973         when exception was thrown out of connect().
3974         (setSoLinger): Replaced instantiations with valueOf calls, replaced
3975         Boolean.FALSE with Integer.valueOf(-1).
3976         * native/jni/native-lib/cpio.h: Added cpio_closeOnExec declaration.
3977         * native/jni/native-lib/cpio.c: Added cpio_closeOnExec implementation.
3978         * NEWS: Documented VM interface changes.
3979
3980 2006-10-25  Robert Schuster  <robertschuster@fsfe.org>
3981
3982         * java/net/Inet6Address.java:
3983         (isMulticastAddress): Fixed check.
3984
3985 2006-10-25  Robert Schuster  <robertschuster@fsfe.org>
3986
3987         Fixes PR29576
3988         * java/net/MulticastSocket.java:
3989         (getNetworkInterface): Return a special NetworkInterface instance
3990         if the socket's multicast interface is set to any.
3991
3992 2006-10-25  Robert Schuster  <robertschuster@fsfe.org>
3993
3994         Fixes PR29576
3995         * java/net/NetworkInterface.java:
3996         (createAnyInterface): New method.
3997         (equals): Added if-statement to handle case where netif.name is null.
3998         * vm/reference/java/net/VMNetworkInterface.java:
3999         (hashCode): Rewritten.
4000         (VMNetworkInterface): New constructor.
4001
4002 2006-10-24  Thomas Fitzsimmons  <fitzsim@redhat.com>
4003
4004         * tools/Makefile.am: Add ASM_JAR define to each tool's CFLAGS.
4005         * tools/toolwrapper.c (main): Set bootclasspath, not classpath.
4006         Add ASM_JAR to bootclasspath.
4007
4008 2006-10-24  Tania Bento  <tbento@redhat.com>
4009
4010         * java/awt/Scrollbar.java:
4011         (setLineIncrement): Removed unnecessary if-clause and if 
4012         lineIncrement == 0, then it should be set to 1, not 0.
4013         (setPageIncrement): Removed unnecessary if-clause and if
4014         pageIncrement == 0, then it should be set to 1, not 0.
4015         (setValues): If visibleAmount <= 0, it should be set to 1, not 0.
4016         If maximum <= minimum, maximum should be set to mininum + 1. The
4017         actual value of maximum is maximum - visibleAmount, so I made 
4018         this change to the appropriate if-check. Remove the two unneccessary
4019         if-clauses.
4020
4021 2006-10-23  Francis Kung  <fkung@redhat.com>
4022
4023         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
4024         (cairoSetFont): New method.
4025         (copy): Set font using setFont method.
4026         (setFont): Call cairoSetFont.
4027         (setup): Set font using setFont method.
4028         * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Added method.
4029         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
4030         (install_font_peer): Removed.
4031         (cairoDrawGlyphVector): Removed call to install_font_peer.
4032         (cairoSetFont): New method.
4033
4034 2006-10-23  Thomas Fitzsimmons  <fitzsim@redhat.com>
4035
4036         * gnu/java/awt/peer/NativeEventLoopRunningEvent.java: New file.
4037         * gnu/java/awt/peer/gtk/GtkMainThread.java: Post
4038         NativeEventLoopRunningEvent after GTK main loop start and stop.
4039         * java/awt/EventQueue.java (isShutdown): Check nativeLoopRunning.
4040         (getNextEvent): Set dispatchThread to null.
4041         (postEventImpl): Set nativeLoopRunning.
4042         (pop): Interrupt event dispatch thread.
4043         * java/awt/Frame.java (noteFrame): Synchronize on weakFrames.
4044
4045 2006-10-22  Christian Thalinger  <twisti@complang.tuwien.ac.at>
4046
4047         * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c (config-int.h):
4048         Added include.
4049         * native/jni/java-nio/gnu_java_nio_VMChannel.c (config-int.h):
4050         Likewise.
4051
4052 2006-10-23  Marco Trudel <mtrudel@gmx.ch>
4053
4054         * gnu/javax/crypto/pad/PKCS7.java (unpad): Removed an unnecessary test.
4055         * javax/crypto/CipherOutputStream.java: Re-implemented.
4056         * gnu/javax/crypto/jce/cipher/CipherAdapter.java
4057         (engineUpdate(byte[], int, int)): Always keep data for unpadding in padded
4058         decryption mode and check if it is a complete block.
4059         (engineUpdate(byte[], int, int, byte[], int)): Likewise.
4060         (engineDoFinal(byte[], int, int)): In padded decryption mode, take
4061         partially processed data into account.
4062
4063 2006-10-21  Tom Tromey  <tromey@redhat.com>
4064
4065         PR classpath/29086:
4066         * java/util/AbstractCollection.java (toArray): Removed cast.
4067
4068 2006-10-20  Tom Tromey  <tromey@redhat.com>
4069
4070         * tools/gnu/classpath/tools/javah/JniIncludePrinter.java (printClass):
4071         Don't use mangled class name for .h file.
4072         * tools/gnu/classpath/tools/javah/JniStubPrinter.java (printClass):
4073         Don't use mangled class name for .c file.
4074         * tools/gnu/classpath/tools/javah/CniPrintStream.java (writeClass):
4075         Handle classes from the default package.
4076
4077 2006-10-20  Francis Kung  <fkung@redhat.com>
4078
4079         * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Added missing constants.
4080
4081 2006-10-19  Francis Kung  <fkung@redhat.com>
4082
4083         PR 29510
4084         * java/awt/image/BufferedImage.java
4085         (constructor): Updated some properties of default image types.
4086         * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
4087         (argb32): Updated field to match default in BufferedImage.
4088
4089 2006-10-18  Roman Kennke  <kennke@aicas.com>
4090
4091         PR 29419
4092         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
4093         (copyArea): Changed size comparison to return when size == 0
4094         too.
4095         * javax/swing/JViewport.java
4096         (paintBackingStore): Check width and height of blitted area
4097         and only do blit if its > 0.
4098         (paintBlit): Check width and height of blitted area
4099         and only do blit if its > 0.
4100
4101 2006-10-18  Roman Kennke  <kennke@aicas.com>
4102
4103         PR 27091
4104         * gnu/java/awt/peer/gtk/GtkFramePeer.java
4105         (maximize): New native method.
4106         (unmaximize): New native method.
4107         (iconify): New native method.
4108         (deiconify): New native method.
4109         (getState): Implemented.
4110         (setState): Implemented.
4111         * gnu/java/awt/peer/gtk/GtkWindowPeer.java
4112         (oldState): Rename to windowState and made protected, so that
4113         the FramePeer can access it.
4114         (postWindowEvent): Handle state change events more gently and
4115         correctly.
4116         * java/awt/Frame.java
4117         (getState): Fetch state from getExtendedState().
4118         (setExtendedState): Update the peer. Check if the state change
4119         is actually supported.
4120         (getExtendedState): Update the state from the peer.
4121         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFramePeer.c
4122         (maximize): New method.
4123         (unmaximize): New method.
4124         (iconify): New method.
4125         (deiconify): New method.
4126         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
4127         (AWT_FRAME_NORMAL): New macro.
4128         (AWT_FRAME_ICONIFIED): New macro.
4129         (AWT_FRAME_MAXIMIZED_BOTH): New macro.
4130         (window_window_state_cb): Rewritten to handle window state changes
4131         more gently (mostly on the java side of the world).
4132         * include/gnu_java_awt_peer_gtk_GtkFramePeer.h: Regenerated.
4133
4134 2006-10-18  Tania Bento  <tbento@redhat.com>
4135
4136         * java/awt/CardLayout.java:
4137         (maximumLayoutSize): Return a new Dimension with Integer.MAX_VALUE as
4138         its height and width if Container passed as argument is null.
4139         (gotoComponent): Consider the case where the component is not visible.
4140
4141 2006-10-18  Thomas Fitzsimmons  <fitzsim@redhat.com>
4142
4143         * resource/gnu/classpath/tools/appletviewer/MessagesBundle.properties:
4144         Rename file...
4145         * resource/gnu/classpath/tools/appletviewer/messages.properties:
4146         New file.
4147         * resource/gnu/classpath/tools/appletviewer/MessagesBundle_de.properties:
4148         Remove file.
4149         * tools/gnu/classpath/tools/appletviewer/AppletWarning.java:
4150         Remove file.
4151         * tools/gnu/classpath/tools/appletviewer/ConsoleDialog.java:
4152         Likewise.
4153         * tools/gnu/classpath/tools/appletviewer/Messages.java: New file.
4154         * tools/gnu/classpath/tools/appletviewer/CommonAppletStub.java:
4155         Retrieve user-visible strings through Messages.getString.
4156         * tools/gnu/classpath/tools/appletviewer/Main.java: Likewise.
4157         * tools/gnu/classpath/tools/appletviewer/PluginAppletContext.java:
4158         Likewise.
4159         * tools/gnu/classpath/tools/appletviewer/PluginAppletViewer.java:
4160         Likewise.
4161         * tools/gnu/classpath/tools/appletviewer/PluginAppletWindow.java:
4162         Likewise.
4163         * tools/gnu/classpath/tools/appletviewer/StandaloneAppletContext.java:
4164         Likewise.
4165         * tools/gnu/classpath/tools/appletviewer/StandaloneAppletViewer.java:
4166         Likewise.
4167         * tools/gnu/classpath/tools/appletviewer/StandaloneAppletWindow.java:
4168         Likewise.
4169
4170 2006-10-18  Roman Kennke  <kennke@aicas.com>
4171
4172         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
4173         (AWT_WINDOW_OPENED): Remove unnecessary macro.
4174         (window_show_cb): Removed unnecessary function.
4175         (connect_signals): Don't connect signal for show.  *
4176         gnu/java/awt/peer/gtk/GtkWindowPeer.java
4177         (hasBeenShown): Removed. This is handled in java.awt.Window.
4178         (postWindowEvent): Removed handling of WINDOW_OPENED. This is done
4179         in java.awt.Window.  * java/awt/Window.java
4180         (dispose): Post WINDOW_CLOSED here, not WINDOW_OPENED.
4181
4182 2006-10-18  Francis Kung  <fkung@redhat.com>
4183
4184         * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java
4185         (drawRenderedImage):  New method.
4186         (drawImage): New method.
4187         (CairoSurfaceGraphics): Set clip.
4188         (createBuffer): New method.
4189         (getBufferCM): New method.
4190         (drawComposite): New method.
4191         (fill): New method.
4192         (getNativeCM): New method.
4193         (drawGlyphVector): New method.
4194         (draw): New method.
4195         * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
4196         (getNativeCM): Reflect renamed field.
4197         * gnu/java/awt/peer/gtk/CairoSurface.java
4198         (cairoCM_pre): Renamed from cairoColorModel.
4199         (cairoColorModel): Set premultiplication to false.
4200
4201 2006-10-18  Roman Kennke  <kennke@aicas.com>
4202
4203         PR 28769
4204         * javax/swing/JScrollPane.java
4205         (viewportBorder): Made field private.
4206         (wheelScrollingEnabled): Made field private.
4207         (JScrollPane): Enabled wheel scrolling by default.
4208         * javax/swing/JTree.java
4209         (TreeSelectionRedirector.valueChanged): Don't repaint anything
4210         here.
4211         (getScrollableUnitIncrement): Fixed thinko.
4212         * javax/swing/plaf/basic/BasicScrollBarUI.java
4213         (static scrollByBlock): New static method to avoid code duplication
4214         for the BasicScrollPane wheel scrolling.
4215         (static scrollByUnits): New static method to avoid code duplication
4216         for the BasicScrollPane wheel scrolling.
4217         (scrollByBlock): Delegate to static helper method.
4218         (scrollByUnit): Delegate to static helper method.
4219         * javax/swing/plaf/basic/BasicScrollPaneUI.java
4220         (MouseWheelHandler.mouseWheelMoved): Delegate to BasicScrollBarUI
4221         static helper methods to avoid code duplication.
4222         (MouseWheelHandler.bounds): Removed.
4223         (MouseWheelHandler.getValue): Removed.
4224         (MouseWheelHandler.scroll): Removed.
4225
4226 2006-10-18  Roman Kennke  <kennke@aicas.com>
4227
4228         PR 29502
4229         * gnu/java/awt/peer/gtk/GtkWindowPeer.java
4230         (updateComponent): Don't override this here.
4231         * java/awt/Window.java
4232         (addWindowListener): Ignore null listener. Set newEventsOnly flag.
4233         (addWindowFocusListener): Ignore null listener. Set newEventsOnly
4234         flag.
4235         (addWindowStateListener): Ignore null listener. Set newEventsOnly
4236         flag.
4237
4238 2006-10-18  Roman Kennke  <kennke@aicas.com>
4239
4240         * javax/swing/JEditorPane.java
4241         (getStream): Try to detect and set the content type of the
4242         connection stream.
4243
4244 2006-10-18  Roman Kennke  <kennke@aicas.com>
4245
4246         * javax/swing/RepaintManager.java
4247         (RepaintWorkerEvent): Pass full set of params to super.
4248         (RepaintWorker.dispatch): Overridden to allow apps to call this
4249         via reflection.
4250         (addDirtyRegion): Synchronize a little more to protect the
4251         dirtyComponents field and avoid NPEs.
4252         (invokeLater): Pass full set of params to RepaintWorkerEvent
4253         constructor.
4254
4255 2006-10-18  Roman Kennke  <kennke@aicas.com>
4256
4257         * javax/swing/JEditorPane.java
4258         (page): Removed field. The page is now stored in the correct
4259         document property.
4260         (getPage): Fetch page URL from document property.
4261         (read): Set the document for this JEditorPane. Use a Reader
4262         for reading in the document.
4263         (setPage): Call getStream() to get the stream from which we read.
4264         Fire property change. Store page in document property.
4265
4266 2006-10-18  Roman Kennke  <kennke@aicas.com>
4267
4268         * java/awt/datatransfer/DataFlavor.java
4269         (DataFlavor(String)): Removed check for space in mime string.
4270
4271 2006-10-18  Roman Kennke  <kennke@aicas.com>
4272
4273         * java/awt/Container.java
4274         (validateTree): Call ContainerPeer.begin|endLayout() rather than
4275         begin|endValidate().
4276         (validate): Call ContainerPeer.begin|endValidate() here.
4277         Added some local vars to avoid NPEs.
4278
4279 2006-10-18  Roman Kennke  <kennke@aicas.com>
4280
4281         * native/target/.cvsignore
4282         * native/target/Linux/.cvsignore
4283         * native/target/generic/.cvsignore:
4284         Added to let CVS ignore the generated Makefile and Makefile.in
4285         files.
4286
4287 2006-10-18  Roman Kennke  <kennke@aicas.com>
4288
4289         PR 29448
4290         * java/awt/Window.java
4291         (eventTypeEnabled): Overridden to handle WindowEvents.
4292         (processEvent): Switch between processWindowEvent(),
4293         processWindowFocusEvent() and processWindowStateEvent() here,
4294         rather than simply calling processWindowEvent().
4295         (processWindowEvent): Only dispatch event to listener, do not
4296         switch to processWindowFocusEvent() or processWindowStateEvent()
4297         here.
4298         * javax/swing/JFrame.java
4299         (frameInit): Explicitly enable window and key events here.
4300         (processWindowEvent): Throw out some unnecessary code.
4301         * javax/swing/JWindow.java
4302         (windowInit): Explicitly enable key events here.
4303         * javax/swing/JDialog.java
4304         (close_action): Renamed to closeAction.
4305         (dialogInit): Explicitly enable window events here.
4306         (getDefaultCloseOperation): Renamed close_action to closeAction.
4307         (processWindowEvent): Throw out some unnecessary code.
4308         Renamed close_action to closeAction.
4309         (setDefaultCloseOperation): Renamed close_action to closeAction.
4310
4311 2006-10-17  Thomas Fitzsimmons  <fitzsim@redhat.com>
4312
4313         * gnu/java/awt/peer/gtk/GtkMainThread.java: Introduce running flag
4314         to track native GTK event loop status.
4315         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c: Set and
4316         clear running flag when native GTK event loop starts and stops.
4317
4318 2006-10-17  Roman Kennke  <kennke@aicas.com>
4319
4320         * javax/swing/TransferHandler.java
4321         (exportToClipboard): Implemented.
4322
4323 2006-10-17  Francis Kung  <fkung@redhat.com>
4324
4325         * gnu/java/awt/peer/gtk/BufferedImageGraphics.java (draw): Extend updated
4326         region to account for pixel-shifting.
4327         * gnu/java/awt/peer/gtk/CairoGraphics2D.java (shiftDrawCalls): Made
4328         proctected.
4329
4330 2006-10-17  Francis Kung  <fkung@redhat.com>
4331
4332         PR 29450
4333         * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
4334         (getLogicalBounds): Translate individual glyphs before appending bounds.
4335         (getOutline): Translate individual glyphs before appending outline.
4336
4337 2006-10-17  Cameron McCormack  <cam@mcc.id.au>
4338
4339         PR 29014
4340         * java/awt/font/TextLayout.java
4341         (bidi): New field.
4342         (constructor): Store bidi in field.
4343         (getCharacterLevel): Implemented.
4344
4345 2006-10-17  Roman Kennke  <kennke@aicas.com>
4346
4347         * javax/swing/TransferHandler.java
4348         (PropertyTransferable): New inner class. Handles transfers
4349         from component properties.
4350         (createTransferable): Implemented.
4351
4352 2006-10-17  Francis Kung  <fkung@redhat.com>
4353
4354         * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
4355         (drawComposite): Ensure composite does not extend beyond buffer
4356         bounds.
4357         * java/awt/image/Raster.java
4358         (createChild): Ensure child does not extend beyond parent's
4359         bounds.
4360         * java/awt/image/WritableRaster.java
4361         (createWritableChild): Ensure child does not extend beyond
4362         parent's bounds.
4363
4364 2006-10-17  Jeroen Frijters  <jeroen@frijters.net>
4365
4366         * native/jni/classpath/jcl.c
4367         (JNI_OnLoad): Corrected calling convention.
4368
4369 2006-10-16  Roman Kennke  <kennke@aicas.com>
4370
4371         * javax/swing/TransferHandler.java
4372         (propertyName): New field.
4373         (TransferHandler(String)): Store property name in field.
4374         (canImport): Implemented stub method.
4375         (exportDone): This is a no-op. Removed not-implemented mark.
4376         (getPropertyDataFlavor): New helper method.
4377         (getPropertyDescriptor): New helper method.
4378
4379 2006-10-16  Roman Kennke  <kennke@aicas.com>
4380
4381         * javax/swing/AbstractButton.java
4382         (AccessibleJButton.getAfterIndex): Implemented.
4383         (AccessibleJButton.getAtIndex): Implemented.
4384         (AccessibleJButton.getBeforeIndex): Implemented.
4385         (AccessibleJButton.getCharacterAttribute): Completed incomplete
4386         method implementation.
4387
4388 2006-10-16  Roman Kennke  <kennke@aicas.com>
4389
4390         * javax/swing/JLabel.java
4391         (AccessibleJLabel.getIndexAtPoint): Implemented.
4392         (AccessibleJLabel.getCharacterBounds): Implemented.
4393         (AccessibleJLabel.getTextRectangle): New helper method.
4394
4395 2006-10-16  Roman Kennke  <kennke@aicas.com>
4396
4397         * javax/swing/filechooser/FileSystemView.java
4398         (getFileSystemView): Mark as implemented.
4399
4400 2006-10-14  Roman Kennke  <kennke@aicas.com>
4401
4402         PR 27957
4403         * javax/swing/JComponent.java
4404         (toolTipText): Removed field.
4405         (createToolTip): Don't set tooltip text here. This is done
4406         in the ToolTipManager.
4407         (setToolTipText): Set tooltip text as client property.
4408         (getToolTipText): Get tooltip text from client property.
4409         * javax/swing/ToolTipManager.java
4410         (currentComponent): Made field non-static and of type JComponent.
4411         (currentPoint): Made field non-static.
4412         (currentTip): Made field non-static.
4413         (popup): Made field non-static.
4414         (toolTipText): New field. Stores the current tooltip text.
4415         (checkTipUpdate): New helper method. Checks for updates of
4416         the tooltip text and triggers the appropriate actions.
4417         (getContentPaneDeepestComponent): Removed unneeded casts.
4418         (mouseEntered): Removed unneeded cast. Initially fetch tooltip
4419         text from component.
4420         (mouseMoved): Check for tooltip text updates.
4421         (showTip): Set tooltip text from current setting.
4422
4423 2006-10-14  Roman Kennke  <kennke@aicas.com>
4424
4425         PR 27956
4426         * javax/swing/JSlider.java
4427         (setPaintLabels): Call setLabelTable() instead of setting
4428         the field directly. This also updates the label's size.
4429
4430 2006-10-13  Tom Tromey  <tromey@redhat.com>
4431
4432         * tools/gnu/classpath/tools/javah/ClassWrapper.java (toString): New
4433         method.
4434
4435 2006-10-13  Tania Bento  <tbento@redhat.com>
4436
4437         * java/awt/ScrollPane.java
4438         (setLayout): Should throw AWTError whenever called.
4439
4440 2006-10-13  Roman Kennke  <kennke@aicas.com>
4441
4442         PR 29448
4443         * java/awt/Component.java
4444         (dispatchEventImpl): Special handle ComponentReshapeEvents to
4445         update the AWT's knowledge about a component's size.
4446         * gnu/java/awt/ComponentReshapeEvent.java: New class.
4447         * gnu/java/awt/peer/gtk/GtkWindowPeer.java
4448         (postConfigureEvent): Directly dispatch a ComponentReshapeEvent
4449         to update the AWT's knowledge about the component bounds.
4450
4451 2006-10-13  Tania Bento  <tbento@redhat.com>
4452
4453         * java/awt/ScrollPaneAdjustable.java
4454         (setMaximum): Should throw AWTError whenever called.
4455         (setMinimum): Same.
4456         (setVisibleAmount): Same.
4457
4458 2006-10-13  Tania Bento  <tbento@redhat.com>
4459
4460         * java/awt/ScrollPane.java
4461         (addImpl): When calling super, index should be value passed, 
4462         not -1.
4463         (getIsValidString): New helper method for paramString().
4464         (getScrollbarDisplayString): New helper method for paramString(). 
4465         (paramString): Changed format of outputted string.
4466
4467 2006-10-13  David Gilbert  <david.gilbert@object-refinery.com>
4468
4469         * javax/swing/tree/DefaultTreeSelectionModel.java
4470         (clone): Added cast to TreePath[].
4471
4472 2006-10-13  Roman Kennke  <kennke@aicas.com>
4473
4474         PR 27780
4475         * javax/swing/JMenuItem.java
4476         (isDragging): New field. Indicates if we are inside a mouse
4477         drag.
4478         (createMenuDragMouseEvent): Removed unneeded method.
4479         (processMenuDragMouseEvent): Track if we are dragging.
4480         (processMouseEvent): Simply forward to processMenuDragMouseEvent().
4481         * javax/swing/plaf/basic/BasicMenuItemUI.java
4482         (MenuDragMouseHandler.menuDragMouseDragged): Fetch
4483         MenuSelectionManager from event.
4484         (MenuDragMouseHandler.menuDragMouseEntered): Fetch
4485         MenuSelectionManager from event.
4486         (MenuDragMouseHandler.menuDragMouseExited): Fetch
4487         MenuSelectionManager from event.
4488         (MenuDragMouseHandler.menuDragMouseReleased): Click on mouse
4489         release inside menu item, otherwise clear selection.
4490         (MenuInputHandler.mouseReleased): Avoid multiple calls to getX()
4491         and getY(). Call doClick() rather than the doClick() of JMenuItem.
4492         (doClick): Perform an immediate click.
4493
4494 2006-10-13  Thomas Fitzsimmons  <fitzsim@redhat.com>
4495
4496         * javax/swing/DefaultComboBoxModel.java (setSelectedItem): Simply
4497         return if object is not in the list.
4498
4499 2006-10-12  Andrew Haley  <aph@redhat.com>
4500
4501         * java/lang/InheritableThreadLocal.java: Rename NULL to sentinel.
4502         * java/lang/ThreadLocal.java: Likewise.
4503
4504 2006-10-12  Roman Kennke  <kennke@aicas.com>
4505
4506         PR 27956
4507         * javax/swing/JSlider.java
4508         (LabelUIResource): New inner class. A JLabel as UIResource.
4509         (createStandardLabels): Don't set label bounds here.
4510         Create LabelUIResource instances.
4511         (setInverted): Repaint.
4512         (setLabelTable): Update the label UIs. Revalidate and repaint.
4513         (setMajorTickSpacing): Update the label table. Repaint if
4514         necessary.
4515         (setMinorTickSpacing): Repaint if necessary.
4516         (setOrientation): Revalidate.
4517         (setPaintLabels): Revalidate and repaint.
4518         (setPaintTicks): Revalidate and repaint.
4519         (setPaintTrack): Repaint.
4520         (updateLabelUIs): Set the label sizes here.
4521         (updateUI): Also update the label UIs.
4522         * javax/swing/plaf/basic/BasicSliderUI.java
4523         (ComponentHandler.componentResized): Don't revalidate.
4524         (FocusHandler.focusGained): Don't set field.
4525         (FocusHandler.focusLost): Don't set field.
4526         (PropertyChangeHandler.propertyChange): Calculate geometry
4527         and repaint for a couple more properties.
4528         (TrackListener.mouseReleased): Repaint.
4529         (hasFocus): Removed unneeded field.
4530         (calculateContentRect): No need to check for content size < 0.
4531         (calculateFocusRect): Use insets from insetCache.
4532         (calculateLabelRect): Fixed calculation of label rectangle.
4533         It is relative to the tick rectangle, rather than the content
4534         rectangle.
4535         (calculateTickRect): Small restructuring to avoid unnecessary
4536         comparisons.
4537         (calculateTrackRect): Fixed calculation of track rectangle.
4538         (getMaximumSize): Fixed. Fetch preferred size and set
4539         the height of width to Short.MAX_VALUE.
4540         (getMinimumHorizontalSize): Fixed to return UIManager value.
4541         (getMinimumVerticalSize): Fixed to return UIManager value.
4542         (getPreferredHorizontalSize): Fixed to return UIManager value.
4543         (getPreferredVerticalSize): Fixed to return UIManager value.
4544         (getMinimumSize): Fixed to return the UIManager value plus
4545         insets added.
4546         (getPreferredSize): Fixed to return the UIManager value plus
4547         insets added.
4548         (getWidthOfWidestLabel): Restructured for more cleanness and
4549         efficiency.
4550         (hitClip): New helper method.
4551         (paintHorizontalLabel): Replaced by more efficient and clean
4552         implementation.
4553         (paintVerticalLabel): Replaced by more efficient and clean
4554         implementation.
4555         (paintLabels): Replaced by more efficient and clean
4556         implementation.
4557         (paint): Check if rectangles intersect with clip for maximum
4558         efficiency.
4559         (recalculateIfInsetsChanged): Fixed. This method should
4560         recalculate only when the insets changed.
4561         (setThumbLocation): Repaint with a reasonable clip.
4562         (xPositionForValue): Made more clean and efficient.
4563         (yPositionForValue): Made more clean and efficient.
4564         * javax/swing/plaf/basic/BasicLookAndFeel.java
4565         (initComponenDefaults): Added Slider.horizontalSize,
4566         Slider.verticalSize, Slider.minimumHorizontalSize and
4567         Slider.minimumVerticalSize properties.
4568         * javax/swing/plaf/metal/MetalSliderUI.java
4569         (getTickLength): Add 1 for horizontal sliders and 3 for
4570         vertical sliders.
4571         (paintMajorTickForHorizSlider): Fix colors. Fix line locations.
4572         (paintMinorTickForHorizSlider): Fix colors. Fix line locations.
4573         (paintMajorTickForVertSlider): Fix colors. Fix line locations.
4574         (paintMinorTickForVertSlider): Fix colors. Fix line locations.
4575
4576 2006-10-12  Roman Kennke  <kennke@aicas.com>
4577
4578         PR 28696
4579         * javax/swing/text/FlowView.java
4580         (FlowStrategy.layout): Preserve logical views from getting lost.
4581         (FlowStrategy.layoutRow): Fix line breaking.
4582         (FlowStrategy.adjustRow): Fix line breaking.
4583         (FlowStrategy.changedUpdate): Mark layout invalid, or repaint.
4584         (FlowStrategy.insertUpdate): Mark layout invalid, or repaint.
4585         (FlowStrategy.removeUpdate): Mark layout invalid, or repaint.
4586         (createView): Don't check index.
4587         (contains): New helper method.
4588         (reparent): New helper method.
4589         (layoutDirty): Removed unneeded field.
4590         (FlowView): Removed layoutDirty field init.
4591         (changedUpdate): Removed layoutDirty handling.
4592         (insertUpdate): Removed layoutDirty handling.
4593         (removeUpdate): Removed layoutDirty handling.
4594         (layout): Use isLayoutValid() rather than the layoutDirty field.
4595         * javax/swing/text/GlyphView.java
4596         (startOffset): Removed.
4597         (endOffset): Removed.
4598         (offset): New field.
4599         (length): New field.
4600         (GlyphView): Initialize new fields. Removed old fields.
4601         (createFragment): Create fragment with new relative offsets.
4602         (getEndOffset): Work with new relative offsets.
4603         (getStartOffset): Work with new relative offsets.
4604         * javax/swing/text/ParagraphView.java
4605         (Row.getStartOffset): Overidden to determine the minimum start
4606         offset from the children.
4607         (Row.getEndOffset): Overidden to determine the maximum end
4608         offset from the children.
4609         * javax/swing/text/html/BRView.java
4610         Make subclass of InlineView.
4611         (getBreakWeight): Fall back to super for Y_AXIS.
4612
4613 2006-10-12  Roman Kennke  <kennke@aicas.com>
4614
4615         PR 28733
4616         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
4617         (TabPaneLayout.normalizeTabRuns): Replaced algorithm with
4618         one that avoids faulty state that could cause division by zero
4619         error.
4620
4621 2006-10-12  Roman Kennke  <kennke@aicas.com>
4622
4623         PR 28057
4624         * javax/swing/plaf/basic/BasicRadioButtonUI.java
4625         (paint): Determine correct icon. Added support for HTML label.
4626         Added small optimizations.
4627         (getPreferredSize): Only consider the buttons iconTextGap, and
4628         only when the text is not null.
4629         * javax/swing/plaf/basic/BasicLookAndFeel.java
4630         (initComponentDefaults): Fetch border for RadioButton from
4631         BasicButtons.getRadioButtonBorder().
4632         * javax/swing/plaf/metal/MetalRadioButtonUI.java
4633         (paintFocus): Paint focus rectangle one pixel smaller.
4634
4635 2006-10-12  Roman Kennke  <kennke@aicas.com>
4636
4637         PR 29418
4638         * javax/swing/tree/AbstractLayoutCache.java
4639         (getNodeDimensions): Don't throw InternalError, but instead
4640         return null.
4641         (getRowsForPaths): Check for null here.
4642         (isFixedRowHeight): Returns true when rowHeight > 0.
4643         (setSelectionModel): Set this as the row mapper for the selection
4644         model.
4645         * javax/swing/tree/VariableHeightLayoutCache.java
4646         (NodeRecord.NodeRecord): Initialize bounds field.
4647         (getBounds): Simply return the bounds field.
4648         (row2Node): Changed to be an ArrayList.
4649         (RECT_CACHE): New field. Caches a Rectangle instance.
4650         (countRows): Added y parameter and return value. The method
4651         now takes the current y position as parameter, and returns
4652         the updated y position.
4653         (getBounds): Fixed to return the correct bounds.
4654         (getPathForRow): Replaced by fixed implementation.
4655         (getPreferredHeight): Replaced by more efficient implementation.
4656         This simply fetches the last node record and returns its lower
4657         bounds.
4658         (getPreferredWidth): Added null check.
4659         (getVisibleChildCount): Added null check.
4660         (getVisiblePathsFrom): Added null check.
4661         (setExpandedState): Also expand the ancestors of the node
4662         to be expanded.
4663         (setModel): Set dirty flag rather than updating for real.
4664         (setNodeDimensions): Overridden to set the dirty flag.
4665         (setRowHeight): Overridden to set the dirty flag.
4666         (update): Don't special case the root here, this is done now
4667         in countRows().
4668
4669 2006-10-12  Roman Kennke  <kennke@aicas.com>
4670
4671         * javax/swing/JComponent.java
4672         (paintImmediately2): Added support for components which need
4673         to force themselves as paint root.
4674         (isPaintRoot): New method. This should be overridden by components
4675         which need to force themselves as paint root.
4676         * javax/swing/JViewport.java
4677         (isPaintRoot): Overridden to force the viewport as paint root
4678         when running in backingstore mode.
4679
4680 2006-10-12  Roman Kennke  <kennke@aicas.com>
4681
4682         * javax/swing/tree/DefaultTreeSelectionModel.java
4683         (PathPlaceHolder): New inner class. Wraps a path and its status
4684         wrt to its newness.
4685         (selectedPaths): New field. A supporting datastructure.
4686         (tmpPaths): New field. A supporting datastructure.
4687         (DefaultTreeSelectionModel): Initialize the list selection model,
4688         the leadIndex and the supporting datastructures.
4689         (addPropertyChangeListener): Create changeSupport object lazily.
4690         (addSelectionPaths): Mostly rewritten to handle the different
4691         selection modes correctly.
4692         (addSelectionPath): Delegate to addSelectionPaths().
4693         (arePathsContiguous): Replaced with more efficient implementation
4694         using BitSet
4695         (canPathBeAdded): Removed unneeded method.
4696         (canPathsBeAdded): Replaced with more efficient implementation.
4697         (clearSelection): Create correct event. Clear the fields correctly,
4698         including the supporting datastructures.
4699         (clone): Also clone the supporting datastructures and nullify
4700         changeSupport field.
4701         (getMaxSelectionRow): Delegate to list selection model.
4702         (getMinSelectionRow): Delegate to list selection model.
4703         (getPath): Removed unneeded method.
4704         (getPropertyChangeListeners): Handle null changeSupport field
4705         correctly.
4706         (getRow): Handle null rowMapper field correctly.
4707         (getSelectionRows): Handle invisible rows correctly.
4708         (insureRowContinuity): Replaced by more efficient and correct
4709         implementation.
4710         (isRowSelected): Delegate to list selection model.
4711         (notifyPathChange): Made more efficient by use of PathPlaceHolder
4712         class.
4713         (removePropertyChangeListener): Handle null changeSupport field.
4714         (removeSelectionPaths): Mostly rewritten to handle the different
4715         selection modes correctly.
4716         (removeSelectionPath): Delegate to removeSelectionPaths().
4717         (resetRowSelection): Handle list selection model.
4718         (selectOne): Removed unneeded field.
4719         (setRowMapper): Reset the row selection.
4720         (setSelectionMode): Check for invalid mode and set to
4721         DISCONTINUOUS_TREE_SELECTION in this case. Fire property change.
4722         (setSelectionPaths): Mostly rewritten to handle the different
4723         selection modes correctly.
4724         (setSelectionPath): Delegate to setSelectionPaths().
4725         (updateLeadIndex): Made more efficient.
4726
4727 2006-10-11  Francis Kung  <fkung@redhat.com>
4728
4729         * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
4730         (buffer, locked): New fields.
4731         (constructors): Initialize new variables.
4732         (createBuffer): New method.
4733         (draw): Implement custom composites.
4734         (drawComposite): New method.
4735         (drawGlyphVector): Implement custom composites.
4736         (drawImage): Implement custom composites.
4737         (drawRenderedImage): Implement custom composites.
4738         (fill): Implement custom composites.
4739         (getBufferCM): New method.
4740         (getNativeCM): New method.
4741         (updateBufferedImage): Fix premultiplication.
4742         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
4743         (copy): Copy composite.
4744         (drawImage): Set background properly.
4745         (getBufferCM): New method.
4746         (setComposite): Reset alpha composite when using custom composite.
4747         * gnu/java/awt/peer/gtk/CairoSurface.java
4748         (cairoColorModel): New field.
4749         (nativeColorModel): Renamed.
4750         (constructor): Use renamed createCairoSampleModel method.
4751         (createCairoSampleModel): New method.
4752         (createNativeSampleModel): Renamed.
4753         (getBufferedImage): Use renamed cairoColorModel field.
4754         * gnu/java/awt/peer/gtk/GtkVolatileImage.java
4755         (gdkColorModel): New field.
4756         (createGdkSampleModel): New method.
4757         (getPixels): Added comments.
4758         (getSnapshot): Use GDK colour and sample models.
4759         * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
4760         (createBuffer): Use GDK colour and sample models.
4761         (getNativeCM): Added comments.
4762         * java/awt/image/BufferedImage.java
4763         (constructor): Set premultiplied flag properly.
4764         
4765 2006-10-11  Edwin Steiner  <edwin.steiner@gmx.net>
4766
4767         * native/jni/java-nio/gnu_java_nio_VMChannel.c
4768         (Java_gnu_java_nio_VMChannel_lock): Special case Long.MAX_VALUE.
4769
4770 2006-10-10  Francis Kung  <fkung@redhat.com>
4771
4772         PR 29372
4773         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
4774         (createPath): Added isDraw parameter.
4775         (draw): Updated createPath call.
4776         (fill): Updated createPath call.
4777
4778 2006-10-10  Tom Tromey  <tromey@redhat.com>
4779
4780         PR classpath/29362:
4781         * gnu/xml/transform/TransformerImpl.java (transform): Only strip if
4782         there is a stylesheet.
4783
4784 2006-10-10  Roman Kennke  <kennke@aicas.com>
4785
4786         * java/awt/Toolkit.java
4787         (getDefaultTookit): Make method synchronized to avoid
4788         accidentally creating more than one toolkits from different
4789         threads.
4790
4791 2006-10-10  Roman Kennke  <kennke@aicas.com>
4792
4793         * java/awt/LightweightDispatcher.java
4794         (handleMouseEvent): Redispatch MOUSE_WHEEL events too.
4795         (redispatch): Transfer the button to the redispatched event.
4796
4797 2006-10-10  Francis Kung  <fkung@redhat.com>
4798
4799         * java/awt/image/ColorModel.java (coerceData): Implemented.
4800
4801 2006-10-09  Christian Elias Naur  <elias@oddlabs.com>
4802
4803         * vm/reference/java/lang/VMClassLoader.java:
4804         (defineClassWithTransformers): Use proper class name format.
4805
4806 2006-10-09  Gary Benson  <gbenson@redhat.com>
4807
4808         * java/net/ServerSocket.java
4809         (implAccept): Add security check.
4810         (accept): Close socket if security check fails.
4811         (setSocketFactory): Add security check and already-set check.
4812
4813 2006-10-09  Roman Kennke  <kennke@aicas.com>
4814
4815         PR 29325
4816         * javax/swing/JSplitPane.java
4817         (dividerLocation): New field. Stores the divider location.
4818         (JSplitPane): Initialize dividerLocation with -1.
4819         (addImpl): Removed unneeded local variables.
4820         (getDividerLocation): Manage dividerLocation in the JSplitPane
4821         class, not in the UI.
4822         (setDividerLocation): Manage dividerLocation in the JSplitPane
4823         class, not in the UI. Only call the UI method for notification.
4824         * javax/swing/plaf/basic/BasicSplitPaneUI.java
4825         (BasicHorizontalLayoutManager.layoutContainer): Fetch divider
4826         location from the JSplitPane. Honour the minimumSize, but only
4827         if the divider location hasn't been set explicitly.
4828         (BasicHorizontalLayoutManager.minimumLayoutSize): Removed unneeded
4829         statement.
4830         (BasicHorizontalLayoutManager.preferredLayoutSize): Removed unneeded
4831         statement.
4832         (BasicHorizontalLayoutManager.resetToPreferredSizes): Don't touch
4833         the divider location.
4834         (dividerLocationSet): New field.
4835         (dividerLocation): Removed field.
4836         (createActionMap): Fetch and set divider location on the JSplitPane.
4837         (getDividerLocation): Return the actual real divider location.
4838         (getMaximumSize): Removed unneeded cast.
4839         (getPreferredSize): Removed unneeded cast.
4840         (getMinimumSize): Removed unneeded cast.
4841         (installUI): Initialize dividerLocationSet with false.
4842         (uninstallUI): Initialize dividerLocationSet with false.
4843         (setDividerLocation): Set dividerLocationSet to true.
4844
4845 2006-10-09  Robert Schuster  <robertschuster@fsfe.org>
4846
4847         * native/jni/java-net/gnu_java_net/VMPlainSocketImpl.c:
4848         (Java_gnu_java_net_VMPlainSocketImpl_joinGroup): Properly
4849         convert jstring into char *.
4850         (Java_gnu_java_net_VMPlainSocketImpl_joinGroup6): Dito.
4851         (Java_gnu_java_net_VMPlainSocketImpl_leaveGroup): Dito.
4852         (Java_gnu_java_net_VMPlainSocketImpl_leaveGroup6): Dito.
4853         (getif_address): Added const modifier to second argument.
4854         (getif_index): Dito.
4855
4856 2006-10-09  Roman Kennke  <kennke@aicas.com>
4857
4858         * javax/swing/JTree.java
4859         (isSelected): Added API docs.
4860
4861 2006-10-09  Roman Kennke  <kennke@aicas.com>
4862
4863         * javax/swing/JTree.java
4864         (isSelected): Delegate to the selection model directly.
4865
4866 2006-10-09  Robert Schuster  <robertschuster@fsfe.org>
4867
4868         * gnu/java/nio/KqueueSelectorImpl.java: Renamed field
4869         sizeof_struct_kevent to _sizeof_struct_kevent.
4870
4871 2006-10-07  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
4872
4873         * tools/gnu/classpath/tools/rmic/RMICException.java:
4874         javadoc corrections, reformatted.
4875
4876 2006-10-07  Christian Elias Naur  <elias@oddlabs.com>
4877
4878         * gnu/java/lang/InstrumentationImpl.java:
4879         Made constructor package visible.
4880
4881 2006-10-05  Gary Benson  <gbenson@redhat.com>
4882
4883         * java/net/Socket.java
4884         (Socket): Perform security check on address not hostname.
4885
4886 2006-10-04  Roman Kennke  <kennke@aicas.com>
4887
4888         * javax/swing/tree/VariableHeightLayoutCache.java
4889         (getBounds): When rect is null, create a new Rectangle.
4890
4891 2006-10-04  Christian Thalinger  <twisti@complang.tuwien.ac.at>
4892
4893         * native/jni/java-nio/javanio.c (cpnio_read, cpnio_readv)
4894         (cpnio_write, cpnio_writev, cpnio_socket, cpnio_connect)
4895         (cpnio_accept, cpnio_sendto, cpnio_recvfrom, cpnio_fcntl)
4896         (cpnio_select): Use CPNIO_EXPORT.
4897         * native/jni/java-nio/javanio.h (CPNIO_EXPORT): Define to static
4898         inline instead of extern inline, as newer GCCs changed their
4899         behavior.
4900
4901 2006-10-04  Gary Benson  <gbenson@redhat.com>
4902
4903         * java/net/InetAddress.java: Updated javadoc.
4904         (<clinit>, getByLiteral): Throw InternalError on failures.
4905
4906 2006-10-03  Francis Kung  <fkung@redhat.com>
4907
4908         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
4909         (compCtx): New field for composite context.
4910         (copy): Copy composite.
4911         (dispose): Dispose of composite context.
4912         (getNativeCM): New method.
4913         (setComposite): Discard old composite context and set up new context.
4914         (setRenderingHints): Update composite context.
4915         * gnu/java/awt/peer/gtk/CairoSurface.java
4916         (nativeColorModel): New field, renamed from nativeModel.
4917         (nativeModel): Renamed field to nativeColorModel.
4918         (CairoSurface(int, int)): Call new method to create sample model.
4919         (createNativeSampleModel): New method.
4920         (getBufferedImage): Updated variable name.
4921         * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
4922         (buffer): New field.
4923         (createBuffer): New method.
4924         (draw): New method.
4925         (drawComposite): New method.
4926         (drawGlyphVector): New method.
4927         (drawImage(Image, AffineTransform, Color, ImageObserver)): New method.
4928         (drawImage(Image, int, int, ImageObserver)): Check composite.
4929         (drawImage(Image, int, int, int, int, ImageObserver)): Check composite.
4930         (fill): New method.
4931         (getNativeCM): New method.
4932         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c
4933         (Java_gnu_java_awt_peer_gtk_GtkVolatileImage_nativeGetPixels): Use 
4934         intermediary pixbuf to grab on-screen pixels.
4935
4936 2006-10-03  Tom Tromey  <tromey@redhat.com>
4937
4938         PR classpath/28987:
4939         * java/util/IdentityHashMap.java (tombstone): Removed.
4940         (emptyslot): Removed.
4941         (nullslot): New field.
4942         (IdentityHashMap): Don't fill array.
4943         (clear): Fill with null.
4944         (hash): Now final.  Use linear probing.
4945         (xform): New method.
4946         (unxform): Likewise.
4947         (removeAtIndex): Likewise.
4948         (clone, containsKey, containsValue, entrySet, get, hashCode,
4949         keySet, put, remove, values): Updated.
4950         (IdentityIterator, IdentityEntry): Likewise.
4951         (writeObject): Likewise.
4952
4953 2006-10-03  Tom Tromey  <tromey@redhat.com>
4954
4955         * java/util/Locale.java (hashcode): Updated javadoc.
4956         (hashcodeCache): Removed.
4957         (Locale): Updated.
4958         (hashCode): Updated.
4959         (writeObject): New method.
4960         (readObject): Updated.
4961
4962 2006-10-02  Francis Kung  <fkung@redhat.com>
4963
4964         * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
4965         (updateBufferedImage): Recognise that raw data is alpha-premultiplied.
4966         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
4967         (clearRect): Paint background colour with AlphaComposite.SRC rule.
4968         (drawImage(Image, AffineTransform, Color, ImageObserver)): Alpha
4969         pre-multiply data before drawing.
4970         (fillRect): Draw using regular fill() method.
4971         (setComposite): Handle null case with AlphaComposite.SrcOver default.
4972         * gnu/java/awt/peer/gtk/CairoSurface.java
4973         (nativeModel): Use correct value for alpha premultiplication (true).
4974         * java/awt/image/BufferedImage.java
4975         (coerceData): Update isPremultiplied field.
4976
4977 2006-10-02  Andrew John Hughes  <gnu_andrew@member.fsf.org>
4978
4979         * gnu/classpath/ListenerData.java:
4980         New class for holding listener data.
4981         * gnu/java/lang/management/MemoryMXBeanImpl.java:
4982         ListenerData class moved to its own file.
4983         * javax/management/MBeanServerDelegate.java,
4984         * javax/management/MBeanServerDelegateMBean.java,
4985         * javax/management/MBeanServerNotification.java:
4986         Implemented.
4987
4988 2006-10-02  Tania Bento  <tbento@redhat.com>
4989
4990         * java/ast/Rectangle.java:
4991         (Rectangle(Rectangle)): Do not throw NPE.
4992         (Rectangle(Point, Dimension)): Same.
4993         (Rectangle(Point)): Same.
4994         (Rectangle(Dimension)): Same.
4995
4996 2006-09-29  Casey Marshall  <csm@gnu.org>
4997
4998         PR 29190
4999         * gnu/java/nio/EpollSelectionKeyImpl.java: extend
5000         `AbstractSelectionKey.'
5001         (cancel, isValid): removed.
5002         * gnu/java/nio/EpollSelectorImpl.java (cancelledKeys): removed.
5003         (events): new field.
5004         (INITIAL_CAPACITY, MAX_DOUBLING_CAPACITY, CAPACITY_INCREMENT): new
5005         fields.
5006         (<clinit>): initialize those constants.
5007         (<init>): don't initialize `cancelledKeys;' initialize `events.'
5008         (doSelect): deregister cancelled keys; remove keys attached to
5009         closed channels; wrap `epoll_wait' in `begin' and `end' calls; use
5010         `events' buffer; reallocate `events' buffer if needed.
5011         (register): reallocate `events' buffer if needed.
5012         (reallocateBuffer): new method.
5013         (cancel): removed.
5014
5015 2006-09-29  Roman Kennke  <kennke@aicas.com>
5016
5017         PR 28929
5018         * javax/swing/JViewport.java
5019         (cinit): Renamed system property to gnu.swing.scrollmode
5020         to avoid bloat. Default to BACKINGSTORE, this is much
5021         more reliable.
5022         (repaint): Forward repaint() to parent as is specified.
5023
5024 2006-09-29  Tania Bento  <tbento@redhat.com>
5025
5026         * javax/swing/plaf/basic/BasicTableUI.java
5027         (getPreferredSize): The number of iterations for the for-loop should be
5028         the number of columns in the table's column model, not the number of
5029         columns of the table.
5030         * javax/swing/JTable.java
5031         (JTable(TableModel, TableColumnModel, ListSelectionModel): Removed 4
5032         lines that are not needed.
5033         (initializeLocalVars): dragEnabled should be set to false, not true.
5034         (getCellRenderer): Added a check to prevent an
5035         ArrayIndexOutOfBoundsException.
5036         (doLayout): The number of iterations for the for-loops should be the
5037         number of columns in the table's column model, not the number of columns
5038         of the table.
5039
5040 2006-09-29  Roman Kennke  <kennke@aicas.com>
5041
5042         * gnu/java/awt/java2d/AbstractGraphics2D.java: Updated
5043         API docs.
5044         (isOptimized): Initialize with true.
5045         (paintRaster): Removed unneeded field.
5046         (shapeCache): New static field. Caches certain shapes for reuse.
5047         (computeIntersection): Removed unneeded casts.
5048         (drawArc): Use shape cache.
5049         (drawImage): Removed unneeded statement.
5050         (drawLine): Use shape cache. Pass untranslated coordinates
5051         to rawDrawLine().
5052         (drawOval): Use shape cache.
5053         (drawPolygon): Use shape cache.
5054         (drawRect): Overridden to provide accelerated rectangle drawing
5055         if possible and to use the shape cache.
5056         (drawRoundRect): Use shape cache.
5057         (fillArc): Use shape cache.
5058         (fillOval): Use shape cache.
5059         (fillPolygon): Use shape cache.
5060         (fillRect): Pass untranslated coordinates to rawFillRect().
5061         Use shape cache.
5062         (fillRoundRect): Use shape cache.
5063         (fillScanlineAA): Removed unneeded statement.
5064         (fillScanline): Updated API docs.
5065         (fillShapeAntialias): Removed unnecessary cast.
5066         (fillShapeImpl): Update API docs. Removed unnecessary cast.
5067         (fillShape): Updated API docs.
5068         (getShapeCache): New helper method.
5069         * gnu/java/awt/java2d/ShapeCache.java: New class. Caches
5070         certain shapes for reuse in AbstractGraphics2D.
5071
5072 2006-09-28  Andrew John Hughes  <gnu_andrew@member.fsf.org>
5073
5074         * javax/management/BadBinaryOpValueExpException.java:
5075         (getExp()): Implemented.
5076         * javax/management/MBeanConnection.java:
5077         Renamed to MBeanServerConnection.
5078         * javax/management/MBeanServer.java:
5079         (setAttribute(Attribute)): Fixed...
5080         (setAttribute(ObjectName,Attribute)): to this.
5081         * javax/management/MBeanServerConnection.java:
5082         Renamed from MBeanConnection.
5083         * javax/management/QueryExp.java:
5084         Extend Serializable.
5085         * javax/management/ValueExp.java:
5086         Likewise.
5087         * javax/management/loading/ClassLoaderRepository.java:
5088         (loadClass(String)): Throw ClassNotFoundException.
5089         (loadClassBefore(ClassLoader,String)): Likewise.
5090         (loadClassWithout(String, ClassLoader): Fixed...
5091         (loadClassWithout(ClassLoader,String)): to this.
5092         
5093 2006-09-28  Roman Kennke  <kennke@aicas.com>
5094
5095         * javax/swing/tree/DefaultTreeCellRenderer.java
5096         (DefaultTreeCellRenderer): Fetch drawsFocusBorderAroundIcon
5097         property from UIManager.
5098         (paint): Rewritten to use super's implementation and only paint
5099         background and focus indicator before.
5100         (paintFocus): New helper method.
5101         (getXOffset): New helper method.
5102
5103 2006-09-28  Andrew John Hughes  <gnu_andrew@member.fsf.org>
5104         
5105         * javax/management/BadBinaryOpValueExpException.java,
5106         * javax/management/MBeanConnection.java,
5107         * javax/management/MBeanServer.java,
5108         * javax/management/ObjectInstance.java:
5109         Implemented.
5110         * javax/management/ObjectName.java:
5111         (setMBeanServer(MBeanServer)): Implemented.
5112         * javax/management/QueryExp.java,
5113         * javax/management/ValueExp.java,
5114         * javax/management/loading/ClassLoaderRepository.java:
5115         Implemented.
5116
5117 2006-09-27  Robert Schuster  <robertschuster@fsfe.org>
5118
5119         * gnu/java/nio/VMChannelOwner.java: Removed unneeded imports.
5120
5121 2006-09-27  Robert Schuster  <robertschuster@fsfe.org>
5122
5123         * vm/reference/gnu/java/nio/VMChannel.java: Removed unneeded imports.
5124         * vm/reference/gnu/java/nio/VMPipe.java: Removed unneeded imports.
5125         * gnu/java/nio/EpollSelectorImpl.java:
5126         (doSelect): Use Integer.valueOf() instead of constructor call.
5127         (register): Use Integer.valueOf() instead of constructor call.
5128
5129 2006-09-27  Roman Kennke  <kennke@aicas.com>
5130
5131         * java/awt/Container.java
5132         (addContainerListener): Activate newEventsOnly for the component.
5133         Ignore null listeners.
5134
5135 2006-09-27  Roman Kennke  <kennke@aicas.com>
5136
5137         * java/awt/EventQueue.java
5138         (Queue): New inner class. Implements the actual queue.
5139         (LOW_PRIORITY): New constant field.
5140         (NORM_PRIORITY): New constant field.
5141         (queueHead): Removed. Moved into Queue.
5142         (queueTail): Removed. Moved into Queue.
5143         (queues): New field.
5144         (EventQueue): Initialize two internal queues, one for
5145         normal events, one for low priority events.
5146         (getNextEventImpl): New helper method, fetches the next event.
5147         (getNextEvent): Use getNextEventImpl() for fetching the event.
5148         (peekEvent): Use getNextEventImpl() for fetching the event.
5149         (peekEvent(int)): Search for event in all queues.
5150         (postEventImpl(AWTEvent)): Moved actual posting into
5151         postEventImpl(AWTEvent,int). Prioritize events here.
5152         (postEventImpl(AWTEvent,int)): Take priority parameter and insert
5153         event into correct queue. Re-enable event coalescing.
5154         * gnu/java/awt/LowPriorityEvent.java: New marker interface.
5155         * javax/swing/RepaintManager.java
5156         (RepaintWorkerEvent): New internal class. This is a low priority
5157         event for the repaint worker.
5158         (addDirtyRegion): Use new internal invokeLater() for sending
5159         a low priority event.
5160         (addInvalidComponent): Use new internal invokeLater() for sending
5161         a low priority event.
5162         (commitBuffer): Added some null checks.
5163         (invokeLater): New helper method. Sends a low priority
5164         repaint worker event on the event queue.
5165
5166 2006-09-27  Roman Kennke  <kennke@aicas.com>
5167
5168         PR 29036
5169         PR 29161
5170         * javax/swing/plaf/basic/BasicButtonUI.java
5171         (cachedInsets): New field.
5172         (installListeners): Fire synthetic property change to initialize
5173         TEXT_LAYOUT_CACHE for the button because the font has been
5174         installed before.
5175         (uninstallUI): Clear the TEXT_LAYOUT_CACHE for the button.
5176         (paint): Use cached insets.
5177         (paintText): Let new method forward to old one, not vice versa.
5178         * javax/swing/plaf/basic/BasicMenuItemUI.java
5179         (defaultAcceleratorLabelGap): Removed unused field.
5180         (MenuGap): Removed unused field.
5181         (propertyChangeListener): Made private.
5182         (getAcceleratorRect): Removed unused method.
5183         (getAcceleratorText): Removed unused method.
5184         (getPath): Removed unnecessary cast.
5185         (installListeners): Fire synthetic property change to initialize
5186         TEXT_LAYOUT_CACHE for the button because the font has been
5187         installed before.
5188         (uninstallUI): Clear the TEXT_LAYOUT_CACHE for the button.
5189         (layoutMenuItem): Removed unused statements.
5190         
5191 2006-09-27  Roman Kennke  <kennke@aicas.com>
5192
5193         PR 29218
5194         * javax/swing/tree/DefaultTreeModel.java
5195         (isLeaf): Check if the node allows children when
5196         asksAllowsChildren is true, otherwise fall back
5197         to return the node's leaf property.
5198
5199 2006-09-27  Mario Torre  <neugens@limasoftware.net>
5200
5201         * scripts/check_jni_methods.sh: removed methods from the
5202         ignore list:
5203         Java_gnu_java_util_prefs_gconf_GConfNativePeer_finalize_1class
5204         Java_gnu_java_util_prefs_gconf_GConfNativePeer_init_1id_1cache
5205         Java_gnu_java_util_prefs_gconf_GConfNativePeer_init_1class
5206         Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1escape_1key
5207         Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1unescape_1key
5208         * native/jni/gconf-peer/GConfNativePeer.c: fixed coding style
5209         to better follow the GNU style.
5210         * include/gnu_java_util_prefs_gconf_GConfNativePeer.h.
5211         regenerated header file for GConfNativePeer.
5212
5213 2006-09-27  Robert Schuster  <robertschuster@fsfe.org>
5214
5215         * INSTALL: Added information about grmic being built when ASM
5216         is available, added information about gconf dependency, indented
5217         Qt4 dependency section.
5218         * configure.ac: Added information about grmic being built when ASM
5219         is available.
5220
5221 2006-09-27  Ian Rogers  <ian.rogers@manchester.ac.uk>
5222
5223         * native/jni/classpath/jcl.c (JNI_OnLoad): Don't call
5224         DeleteGlobalRef on a local ref.
5225
5226 2006-09-24  Mario Torre  <neugens@limasoftware.net>
5227
5228         * scripts/check_jni_methods.sh: added two new methods in the
5229         ignore list:
5230         Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1escape_1key
5231         and
5232         Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1unescape_1key
5233         * native/jni/gconf-peer/GConfNativePeer.c:
5234         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1all_1keys):
5235         refacored method name, renamed from
5236         Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1gconf_1client_1all_1keys.
5237         Added code to unescape escaped GConf key names.
5238         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1all_1nodes):
5239         refacored method name, renamed from
5240         Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1gconf_1client_1all_1nodes.
5241         Added code to unescape escaped GConf key names.
5242         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1escape_1key):
5243         new function.
5244         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1unescape_1key):
5245         new function.
5246         * gnu/java/util/prefs/gconf/GConfNativePeer.java: removed
5247         version javadoc tag.
5248         (escapeString): new method.
5249         (unescapeString): likewise.
5250         (gconf_escape_key): new native method.
5251         (gconf_unescape_key): likewise.
5252         (gconf_client_suggest_sync): update native method signature, now
5253         explicity throws BackingStoreException.
5254         (gconf_client_all_nodes): update native method signature, now
5255         explicity throws BackingStoreException. Refactored method name,
5256         renamed from gconf_client_gconf_client_all_nodes.
5257         (gconf_client_all_keys): update native method signature, now
5258         explicity throws BackingStoreException. Refactored method name,
5259         renamed from gconf_client_gconf_client_all_keys.
5260         (getKeys): refactored to use the new method name
5261         gconf_client_all_keys.
5262         (getChildrenNodes): refactored to use the new method name
5263         gconf_client_all_nodes.
5264         * gnu/java/util/prefs/GConfBasedPreferences.java: removed
5265         version javadoc tag.
5266         (GConfBasedPreferences): Added code to escape node names from
5267         invalid characters so that GConf now accept invalid node names.
5268         (GConfBasedPreferences): Moved code to register the current
5269         node to the list of nodes watched by GConf outside the constructor.
5270         (childSpi): Added code to register the current node to the
5271         list of nodes watched by GConf.
5272         (getGConfKey): Added code to escape key names from
5273         invalid characters so that GConf now accept invalid key names.
5274
5275 2006-09-26  Tom Tromey  <tromey@redhat.com>
5276
5277         * tools/gnu/classpath/tools/javah/Printer.java (Printer): Don't
5278         call mkdirs in output-directory case.
5279         (getPrintStream): Create output directory.
5280         * tools/gnu/classpath/tools/javah/Main.java (makeOutputDirectory):
5281         Don't call mkdirs.
5282
5283 2006-09-27  Raif S. Naffah  <raif@swiftdsl.com.au>
5284
5285         * tools/gnu/classpath/tools/javah/CniIncludePrinter.java (CniIncludePrinter):
5286         Accept three additional arguments.
5287         (writePreambleImpl): New method.
5288         (getPrintStreamImpl): Likewise.
5289         (printClass): Adapted to use new methods in Printer superclass.
5290         * tools/gnu/classpath/tools/javah/CniStubPrinter.java: Likewise.
5291         * tools/gnu/classpath/tools/javah/JniIncludePrinter.java: Likewise.
5292         * tools/gnu/classpath/tools/javah/JniStubPrinter.java: Likewise.
5293         * tools/gnu/classpath/tools/javah/Main.java (outFileName): New field.
5294         (force): Likewise.
5295         (getParser): Add support for -o option.
5296         Check that only one of -d or -o is defined.
5297         Add support for -jni option.
5298         Add support for -force option.
5299         (makeOutputFile): New method.
5300         (writeHeaders): Removed File argument from signature.
5301         (run): Take into account newly added fields.
5302         Invoke concrete PrintStream implementations with augmented constructors.
5303         * tools/gnu/classpath/tools/javah/Printer.java (outputFileObject): New field.
5304         (isDirectory): Likewise.
5305         (force): Likewise.
5306         (wrotePreamble): Likewise.
5307         (Printer): Changed ctor to accept three additional arguments.
5308         (printClass): Changed signature to accept one ClassWrapper argument.
5309         (writePreambleImpl): New abstract method.
5310         (getPrintStreamImpl): Likewise.
5311         (getPrintStream): New method.
5312         (writePreamble): Likewise.
5313
5314 2006-09-26  Tania Bento  <tbento@redhat.com>
5315
5316         * java/awt/GridLayout.java
5317         (toString): There is no common before hgap.
5318         * java/awt/Rectangle.java
5319         (Rectangle(Rectangle)): Throw NPE if Rectangle is null.
5320         (Rectangle(Point, Rectangle)): Throw NPE if either Point or 
5321         Rectangle is null.
5322         (Rectangle(Point)): Throw NPE if Point is null.
5323         (Rectangle(Dimension)): Throw NPE if Dimension is null.
5324
5325 2006-09-26  David Gilbert  <david.gilbert@object-refinery.com>
5326
5327         * javax/swing/plaf/metal/MetalIconFactory.java
5328         (FileIcon16.paintIcon): Apply vertical shift by the number of pixels
5329         returned by getShift(),
5330         (FileIcon16.getShift): Updated API docs,
5331         (FolderIcon16.paintIcon): Apply vertical shift by the number of pixels
5332         returned by getShift(),
5333         (FolderIcon16.getShift): Updated API docs,
5334         (TreeFolderIcon.getShift): Likewise,
5335         (TreeLeafIcon.getShift): Likewise.
5336
5337 2006-09-26  David Gilbert  <david.gilbert@object-refinery.com>
5338
5339         * javax/swing/plaf/metal/MetalIconFactory.java
5340         (FileIcon16.paintIcon): Fetch colors from look and feel,
5341         (FolderIcon16.paintIcon): Likewise.
5342
5343 2006-09-25  Casey Marshall  <csm@gnu.org>
5344
5345         * gnu/java/nio/FileChannelImpl.java (read): revert back to using
5346         `readScattering.'
5347         (write): revert back to using `writeGathering.'
5348         * vm/reference/gnu/java/nio/VMChannel.java (writeGathering): find
5349         the first buffer that has data remaining, and start at that one.
5350
5351 2006-09-25  Tom Tromey  <tromey@redhat.com>
5352
5353         * native/jni/gconf-peer/Makefile.am (libgconfpeer_la_LDFLAGS): New
5354         variable.
5355
5356 2006-09-25  Tom Tromey  <tromey@redhat.com>
5357
5358         * tools/.cvsignore: Updated.
5359
5360 2006-09-25  Tom Tromey  <tromey@redhat.com>
5361
5362         PR libgcj/29178:
5363         * gnu/java/nio/charset/US_ASCII.java (Encoder.canEncode): New method.
5364         (Encoder.canEncode): Likewise.
5365         (Encoder.encodeLoop): Return unmappable for all non-ASCII characters.
5366         * gnu/java/nio/charset/ByteCharset.java (Encoder.canEncode): New
5367         method.
5368         (Encoder.canEncode): Likewise.
5369         * gnu/java/nio/charset/ISO_8859_1.java (Encoder.canEncode): New
5370         method.
5371         (Encoder.canEncode): Likewise.
5372
5373 2006-09-25  Tom Tromey  <tromey@redhat.com>
5374
5375         * native/fdlibm/mprec.c (mprec_calloc): Renamed.
5376         (Balloc): Updated.
5377
5378 2006-09-25  Francis Kung  <fkung@redhat.com>
5379
5380         * java/awt/image/ColorModel.java
5381         (coerceData): Made abstract.
5382         (coerceDataWorker): New protected method.
5383         * java/awt/image/ComponentColorModel.java
5384         (coerceData): Return new instance of proper ColorModel.
5385         * java/awt/image/DirectColorModel.java
5386         (coerceData): Return new instance of proper ColorModel.
5387         * java/awt/image/IndexColorModel.java
5388         (coerceData): New method.
5389
5390 2006-09-24  Casey Marshall  <csm@gnu.org>
5391
5392         * gnu/java/nio/FileChannelImpl.java
5393         (read): call `read' in a loop, don't use `readScattering.'
5394         (write): call `write' in a loop, don't use `writeGathering.'
5395
5396 2006-09-24  Mark Wielaard  <mark@klomp.org>
5397
5398         * configure.ac: Move -pedantic from WARNING to STRICT flags.
5399
5400 2006-09-24  Jeroen Frijters  <jeroen@frijters.net>
5401
5402         * java/nio/channels/spi/AbstractSelectableChannel.java
5403         (register): Set interestOps and attachment when the key already
5404         exists.
5405
5406 2006-09-24  Jeroen Frijters  <jeroen@frijters.net>
5407
5408         * java/net/ServerSocket.java
5409         (bind(SocketAddress,int)): Added support for null address.
5410         Throw proper exception if already bound.
5411         Handle unresolved addresses correctly. Ignore exceptions that
5412         happen during close in error path (to prevent losing the original
5413         exception.)
5414
5415 2006-09-24  Mark Wielaard  <mark@klomp.org>
5416
5417         Suggested by Aaron M. Ucko <ucko@debian.org>
5418         Fixes bug #29203
5419         * native/fdlibm/mprec.c (ulp): Define L as int32_t.
5420
5421 2006-09-24  Jeroen Frijters  <jeroen@frijters.net>
5422
5423         * java/nio/channels/spi/AbstractSelectableChannel.java
5424         (implCloseChannel): Cancel all keys after closing the channel.
5425
5426 2006-09-22  Casey Marshall  <csm@gnu.org>
5427
5428         * gnu/java/nio/EpollSelectorImpl.java (doSelect): remove keys
5429         after we delete them.
5430         (selectedKeys): return an empty set if nothing's been selected.
5431         * native/jni/java-nio/gnu_java_nio_EpollSelectorImpl.c
5432         (Java_gnu_java_nio_EpollSelectorImpl_epoll_1delete): don't
5433         throw an exception on EBADF.
5434         (Java_gnu_java_nio_EpollSelectorImpl_epoll_1wait): don't
5435         throw exception on EINTR, just return 0.
5436         
5437 2006-09-22  Casey Marshall  <csm@gnu.org>
5438
5439         * native/jni/java-io/java_io_VMFile.c (Java_java_io_VMFile_list):
5440         remove `const' from `filename.'
5441         * native/jni/native-lib/cpio.c (cpio_readDir): remove `const' from
5442         `filename.'
5443         * native/jni/native-lib/cpio.h (cpio_readDir): likewise.
5444
5445 2006-09-22  Casey Marshall  <csm@gnu.org>
5446
5447         * configure.ac (AC_CHECK_FUNCS): check for `readdir_r.'
5448         * native/jni/java-io/java_io_VMFile.c (Java_java_io_VMFile_list):
5449         allocate `filename,' and handle changes to `cpio_readDir.'
5450         * native/jni/native-lib/cpio.c (cpio_readDir): use `readdir_r' if
5451         available; copy the filename into the destination buffer; return
5452         an error code if readdir returns NULL, but errno is 0.
5453         * native/jni/native-lib/cpio.h (cpio_readDir): change second
5454         parameter to `const char *.'
5455
5456 2006-09-23  Andrew John Hughes  <gnu_andrew@member.fsf.org>
5457
5458         * javax/management/ObjectName.java:
5459         Implemented.
5460         
5461 2006-09-22  Thomas Fitzsimmons  <fitzsim@redhat.com>
5462
5463         * resource/gnu/classpath/tools/orbd: New directory.
5464         * resource/gnu/classpath/tools/rmic: Likewise.
5465         * resource/gnu/classpath/tools/rmid: Likewise.
5466         * resource/gnu/classpath/tools/rmiregistry: Likewise.
5467         * resource/gnu/classpath/tools/tnameserv: Likewise.
5468         * tools/gnu/classpath/tools/giop: Move contents to...
5469         * tools/gnu/classpath/tools/orbd,
5470         tools/gnu/classpath/tools/tnameserv: New directories.
5471         * tools/gnu/classpath/tools/rmi/rmic: Move contents to...
5472         * tools/gnu/classpath/tools/rmic: New directory.
5473         * tools/gnu/classpath/tools/rmi/rmid: Move contents to...
5474         * tools/gnu/classpath/tools/rmid: New directory.
5475         * tools/gnu/classpath/tools/rmi/registry: Move contents to...
5476         * tools/gnu/classpath/tools/rmiregistry: New directory.
5477         * resource/gnu/classpath/tools/orbd/messages.properties: New file.
5478         * resource/gnu/classpath/tools/rmic/messages.properties: Likewise.
5479         * resource/gnu/classpath/tools/rmid/messages.properties: Likewise.
5480         * resource/gnu/classpath/tools/rmiregistry/messages.properties:
5481         Likewise.
5482         * resource/gnu/classpath/tools/tnameserv/messages.properties:
5483         Likewise.
5484         * tools/gnu/classpath/tools/orbd/Main.java,
5485         tools/gnu/classpath/tools/orbd/Messages.java,
5486         tools/gnu/classpath/tools/orbd/PersistentContext.java,
5487         tools/gnu/classpath/tools/orbd/PersistentContextMap.java,
5488         tools/gnu/classpath/tools/orbd/PersistentMap.java,
5489         tools/gnu/classpath/tools/rmic/AbstractMethodGenerator.java,
5490         tools/gnu/classpath/tools/rmic/CompilationError.java,
5491         tools/gnu/classpath/tools/rmic/Generator.java,
5492         tools/gnu/classpath/tools/rmic/GiopIo.java,
5493         tools/gnu/classpath/tools/rmic/HashFinder.java,
5494         tools/gnu/classpath/tools/rmic/Main.java,
5495         tools/gnu/classpath/tools/rmic/Messages.java,
5496         tools/gnu/classpath/tools/rmic/MethodGenerator.java,
5497         tools/gnu/classpath/tools/rmic/RMICException.java,
5498         tools/gnu/classpath/tools/rmic/RmiMethodGenerator.java,
5499         tools/gnu/classpath/tools/rmic/RmicBackend.java,
5500         tools/gnu/classpath/tools/rmic/SourceGiopRmicCompiler.java,
5501         tools/gnu/classpath/tools/rmic/SourceRmicCompiler.java,
5502         tools/gnu/classpath/tools/rmic/Variables.java,
5503         tools/gnu/classpath/tools/rmic/WrapUnWrapper.java,
5504         tools/gnu/classpath/tools/rmic/templates,
5505         tools/gnu/classpath/tools/rmid/ActivationSystemImpl.java,
5506         tools/gnu/classpath/tools/rmid/ActivationSystemImpl_Stub.java,
5507         tools/gnu/classpath/tools/rmid/Main.java,
5508         tools/gnu/classpath/tools/rmid/Messages.java,
5509         tools/gnu/classpath/tools/rmid/PersistentBidiHashTable.java,
5510         tools/gnu/classpath/tools/rmiregistry/Main.java,
5511         tools/gnu/classpath/tools/rmiregistry/Messages.java,
5512         tools/gnu/classpath/tools/rmiregistry/PersistentHashTable.java,
5513         tools/gnu/classpath/tools/rmiregistry/RegistryImpl.java,
5514         tools/gnu/classpath/tools/rmiregistry/RegistryImpl_Skel.java,
5515         tools/gnu/classpath/tools/rmiregistry/RegistryImpl_Stub.java,
5516         tools/gnu/classpath/tools/tnameserv/Main.java,
5517         tools/gnu/classpath/tools/tnameserv/Messages.java: New files.
5518         * tools/gnu/classpath/tools/rmic/ClassRmicCompiler.java: Import
5519         RMIC.java from cp-tools.
5520         * configure.ac (AC_CONFIG_FILES): Add tools/grmiregistry,
5521         tools/gtnameserv, tools/gorbd, tools/grmid and tools/grmic.
5522         (AC_CONFIG_COMMANDS): Add grmiregistry, gtnameserv, gorbd, grmid
5523         and grmic.
5524         * examples/Makefile.am (GLIBJ_CLASSPATH): Add tools.zip.
5525         * gnu/CORBA/NamingService/NamingServiceTransient.java (main):
5526         Rename...
5527         (start): New method.
5528         * tools/Makefile.am: Add build support for new tool wrappers.
5529         * tools/gorbd.in: New file.
5530         * tools/grmic.in: Likewise.
5531         * tools/grmid.in: Likewise.
5532         * tools/grmiregistry.in: Likewise.
5533         * tools/gtnameserv.in: Likewise.
5534         * tools/gnu/classpath/tools/AbstractMethodGenerator.java: Move to...
5535         * tools/gnu/classpath/tools/rmic/AbstractMethodGenerator.java: New
5536         file.
5537         * tools/gnu/classpath/tools/HelpPrinter.java: Remove file.
5538         * tools/gnu/classpath/tools/rmi/Persistent.java: Move to...
5539         * tools/gnu/classpath/tools/common/Persistent.java: New file.
5540
5541 2006-09-22  Ito Kazumitsu  <kaz@maczuka.gcd.org>
5542
5543         Fixes bug #29047
5544         * gnu/java/util/regex/RETokenRepeated.java
5545         (findMatch): Rewriten without using recursive calls,
5546         (FindMatchControlStack): New class,
5547         (FindMatchControl): New class,
5548         (TryAnotherResult): New class,
5549         (tryAnother): New method.
5550
5551 2006-09-22  Gary Benson  <gbenson@redhat.com>
5552
5553         * java/net/SocketPermission.java
5554         (processHostport): Cope with IPv6 addresses with a
5555         one-digit first component.
5556
5557 2006-09-22  Roman Kennke  <kennke@aicas.com>
5558
5559         * java/awt/Component.java
5560         (enableEvents): Set newEventsOnly flag.
5561         * java/awt/Container.java
5562         (dispatchEventImpl): Consume event if lightweight dispatcher
5563         dispatched the event. Don't call processEvent() here, this
5564         is already done in Component.dispatchEventImpl(). For
5565         heavyweights or when the lightweight dispatcher could
5566         not dispatch, fall back to calling super.
5567         (dispatchNoLightweight): New helper method to avoid
5568         recursivly calling the lightweight dispatcher.
5569         * java/awt/LightweightDispatcher.java
5570         (dragButton): Removed field.
5571         (dragTarget): Removed field.
5572         (mouseEventTarget): New field.
5573         (convertPointToChild): Removed method.
5574         (dispatchEvent): Don't depend on component beeing
5575         a window.
5576         (findTarget): Improved algorithm for finding a target.
5577         Before we went down to the deepest component and went
5578         up again to find a suitable target. Now we go
5579         down only once, without going up.
5580         (handleMouseEvent): Broke method down into some smaller
5581         helper methods.
5582         (isDragging): New helper method.
5583         (isMouseListening): New helper method.
5584         (redispatch): New helper method.
5585         (trackEnterExit): New helper method.
5586
5587 2006-09-22  David Gilbert  <david.gilbert@object-refinery.com>
5588
5589         * javax/swing/SizeSequence.java
5590         (getSize): Return 0 if index is out of bounds.
5591
5592 2006-09-21  Tom Tromey  <tromey@redhat.com>
5593
5594         * tools/gnu/classpath/tools/javah/PathOptionGroup.java
5595         (PathOptionGroup): Make -I a joined option.
5596         * tools/gnu/classpath/tools/keytool/CACertCmd.java: Updated.
5597         * tools/gnu/classpath/tools/keytool/CertReqCmd.java: Updated.
5598         * tools/gnu/classpath/tools/keytool/DeleteCmd.java: Updated.
5599         * tools/gnu/classpath/tools/keytool/ExportCmd.java: Updated.
5600         * tools/gnu/classpath/tools/keytool/GenKeyCmd.java: Updated.
5601         * tools/gnu/classpath/tools/keytool/IdentityDBCmd.java: Updated.
5602         * tools/gnu/classpath/tools/keytool/ImportCmd.java: Updated.
5603         * tools/gnu/classpath/tools/keytool/KeyCloneCmd.java: Updated.
5604         * tools/gnu/classpath/tools/keytool/KeyPasswdCmd.java: Updated.
5605         * tools/gnu/classpath/tools/keytool/ListCmd.java: Updated.
5606         * tools/gnu/classpath/tools/keytool/MainCmd.java: Updated.
5607         * tools/gnu/classpath/tools/keytool/PrintCertCmd.java: Updated.
5608         * tools/gnu/classpath/tools/keytool/SelfCertCmd.java: Updated.
5609         * tools/gnu/classpath/tools/keytool/StorePasswdCmd.java: Updated.
5610         * tools/gnu/classpath/tools/appletviewer/Main.java: Updated.
5611         * tools/gnu/classpath/tools/jar/Main.java: Updated.
5612         * tools/gnu/classpath/tools/jarsigner/Main.java: Updated.
5613         * tools/gnu/classpath/tools/javah/Main.java: Updated.
5614         * tools/gnu/classpath/tools/native2ascii/Main.java: Updated.
5615         * tools/gnu/classpath/tools/serialver/SerialVer.java: Updated.
5616         * resource/gnu/classpath/tools/getopt/Messages.properties: Removed
5617         unused entries.
5618         * resource/gnu/classpath/tools/common/Messages.properties: New file.
5619         * tools/gnu/classpath/tools/common/Messages.java: New file.
5620         * tools/gnu/classpath/tools/getopt/Messages.java: Now package-private.
5621         * tools/gnu/classpath/tools/common/ClasspathToolParser.java: Moved
5622         from getopt.
5623         (ClasspathToolParser): Add -J option here.
5624         (ClasspathToolParser): Call other constructor in this class.
5625         * tools/gnu/classpath/tools/getopt/Parser.java (handleLongOption):
5626         Handle joined options.
5627         (handleShortOptions): Likewise.
5628         (handleShortOption): Removed.
5629         (finalGroup): New field.
5630         (Parser): Initialize new field.  Don't add -J option.
5631         (addFinal): New method.
5632         * tools/gnu/classpath/tools/getopt/OptionGroup.java (printHelp): Use
5633         isJoined.
5634         * tools/gnu/classpath/tools/getopt/Option.java (isJoined): New method.
5635         (Option): Check short option for validity.
5636         (Option): New constructors.
5637         (joined): New field.
5638
5639 2006-09-21  csm  <csm@pollux.local>
5640
5641         * gnu/java/net/PlainDatagramSocketImpl.java (send): ignore
5642         `InterruptedIOException;' try again if it gets thrown.
5643         (receive): likewise, but re-throw `SocketTimeoutException.'
5644         * gnu/java/nio/EpollSelectorImpl.java (doSelect): just return 0
5645         if we have nothing to select.
5646
5647 2006-09-21  Francis Kung  <fkung@redhat.com>
5648
5649         * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java:
5650         (getLogicalBounds): Respect glyph transformations.
5651         (getGlyphOutline): Added null pointer check.
5652         (getGlyphTransform): Do not generate identity transform (API permits null).
5653         (setGlyphPosition): Do not invalidate transform.
5654         (setGlyphTransform): Do not modify glyph position.
5655
5656 2006-09-21  Francis Kung  <fkung@redhat.com>
5657
5658         * java/awt/image/ColorModel.java (coerceData): Set alpha premultiplied flag.
5659
5660 2006-09-21  Francis Kung  <fkung@redhat.com>
5661
5662         * java/awt/image/ColorModel.java (coerceData): Return proper colour model.
5663         * java/awt/image/ComponentColorModel.java (coerceData): Likewise.
5664         * java/awt/image/DirectColorModel.java (coerceData): Likewise.
5665
5666 2006-09-21  Tania Bento  <tbento@redhat.com>
5667
5668         * javax/swing/JTabbedPane.java:
5669         (insertTab): Notify ChangeListeners if the tab inserted is selected.
5670         (setModel): A ChangeListener should be created only if there does not 
5671         currently exist one.
5672
5673 2006-09-21  David Gilbert  <david.gilbert@object-refinery.com>
5674
5675         * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java
5676         (MaximizeAction.actionPerformed): Change icon on maxButton.
5677
5678 2006-09-21  Roman Kennke  <kennke@aicas.com>
5679
5680         * javax/swing/plaf/basic/BasicScrollPaneUI.java
5681         (syncScrollPaneWithViewport): Fixed typo (hsb vs. vsb).
5682         Use more efficient getViewPosition() and getViewSize() methods
5683         to avoid creating a rectangle.
5684         (HSBChangeListener.stateChanged): Update the view position
5685         unconditionally. Let the Viewport figure out if something
5686         changed.
5687         (VSBChangeListener.stateChanged): Update the view position
5688         unconditionally. Let the Viewport figure out if something
5689         changed.
5690         * javax/swing/JViewport.java
5691         (ViewListener.componentResized): Fire state change, because
5692         the extentSize changes.
5693         (extentSize): Removed unneeded field.
5694         (viewSize): Removed unneeded field.
5695         (getExtentSize): Return the viewport's size here.
5696         (getViewRect): Reformatted.
5697         (getViewSize): Reordered for only one return statement.
5698         (paintImmediately2): Fixed up javadoc.
5699         (paint): Removed unneeded statement.
5700         (setExtentSize): Set viewport size and check for actual change
5701         of value.
5702         (setViewPosition): Simplified condition. Set scrollUnderway
5703         true and don't set isViewSizeSet. Avoid creating one Point
5704         object.
5705         (setViewSize): Fixed != comparison with equals(). Set scrollUnderway
5706         to false.
5707         * javax/swing/JScrollBar.java
5708         (ScrollBarListener): New class. Forwards change events from
5709         the model as adjustment events.
5710         (sbChangeListener): New field.
5711         (JScrollBar): Install listener on new model.
5712         (fireAdjustmentValueChanged(int,int,int)): Delegate to new helper
5713         method.
5714         (fireAdjustmentValueChanged(int,int,int,boolean)): New helper
5715         method to allow custom isAdjusting value.
5716         (setMaximum): Only forward to model.
5717         (setMinimum): Only forward to model.
5718         (setValue): Only forward to model.
5719         (setVisibleAmount): Only forward to model.
5720         (setValues): Only forward to model.
5721         (setModel): Update the change listener.
5722
5723 2006-09-20  Christian Thalinger  <twisti@complang.tuwien.ac.at>
5724
5725         * java/util/Formatter.java (basicIntegralConversion): Removed 
5726         check for ZERO && !LEFT_JUSTIFY.
5727                 
5728 2006-09-20  Roman Kennke  <kennke@aicas.com>
5729
5730         PR 29036
5731         * javax/swing/plaf/metal/DefaultMetalTheme.java
5732         (PLAIN_CONTROL_TEXT_FONT): New constant field.
5733         (BOLD_CONTROL_TEXT_FONT): New constant field.
5734         (PLAIN_MENU_TEXT_FONT): New constant field.
5735         (BOLD_MENU_TEXT_FONT): New constant field.
5736         (controlTextFont): Removed.
5737         (menuTextFont): Removed.
5738         (CONTROL_TEXT_FONT): New constant field.
5739         (MENU_TEXT_FONT): New constant field.
5740         (getControlTextFont): Use getFont() helper method for fetching
5741         the correct font.
5742         (getMenuTextFont): Use getFont() helper method for fetching
5743         the correct font.
5744         (getFont): New helper method.
5745         (isBoldMetal): New helper method.
5746
5747 2006-09-20  Casey Marshall  <csm@gnu.org>
5748
5749         * NEWS: mention epoll selector along with the kqueue one.
5750
5751 2006-09-20  Casey Marshall  <csm@gnu.org>
5752
5753         * native/jni/java-nio/gnu_java_nio_EpollSelectorImpl.c
5754         (Java_gnu_java_nio_EpollSelectorImpl_epoll_1delete): ignore ENOENT.
5755
5756 2006-09-20  Francis Kung  <fkung@redhat.com>
5757
5758         PR 29011
5759         * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java:
5760         (getGlyphTransform): Use translation instead of scale.
5761         (performDefaultLayout): Increment position values instead of resetting, and
5762         pre-increment instead of post-increment.
5763         (setGlyphTransform): Handle null case with identity transform.
5764
5765 2006-09-20  Casey Marshall  <csm@gnu.org>
5766
5767         * configure.ac (AC_CHECK_HEADERS): check for `sys/epoll.h.'
5768         (AC_CHECK_FUNCS): check for `epoll_create.'
5769         * gnu/java/nio/EpollSelectionKeyImpl.java: new file.
5770         * gnu/java/nio/EpollSelectorImpl.java: new file.
5771         * gnu/java/nio/SelectorProviderImpl.java (epoll_failed): new class
5772         field.
5773         (openSelector): return epoll selector if requested and available.
5774         * include/Makefile.am (H_FILES): add gnu_java_nio_EpollSelectorImpl.h.
5775         (gnu_java_nio_EpollSelectorImpl.h): new target.
5776         * include/gnu_java_nio_EpollSelectorImpl.h: new file.
5777         * native/jni/java-nio/Makefile.am (libjavanio_la_SOURCES): add
5778         gnu_java_nio_EpollSelectorImpl.c.
5779         * native/jni/java-nio/gnu_java_nio_EpollSelectorImpl.c: new file.
5780
5781 2006-09-20  Casey Marshall  <csm@gnu.org>
5782
5783         * gnu/java/nio/SocketChannelImpl.java (finishConnect): don't
5784         call `isConnected.'
5785         (isConnected): return false if `connectionPending' is true.
5786
5787 2006-09-20  Francis Kung  <fkung@redhat.com>
5788
5789         PR 29011
5790         * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java:
5791         (constructor): Expanded glyphPositions array to accomodate Y-coordinates.
5792         (getGlyphOutline): Call getGylphTransform to generate transform.
5793         (getGylphPosition): Read position directly out of array.
5794         (getGlyphPositions): Read positions directly out of array.
5795         (getGlyphTransform): Generate transform based on gylphPositions array.
5796         (performDefaultLayout): Populate glyphPositions array instead of transforms.
5797         (setGlyphPosition): Set position directly into array.
5798         (setGlyphTransform): Update positions array as well.
5799
5800 2006-09-20  David Daney  <ddaney@avtrex.com>
5801
5802         PR classpath/28661
5803         * gnu/java/net/protocol/http/HTTPURLConnection.java (connect):  Add
5804         default content-type for POST method.
5805
5806 2006-09-20  David Gilbert  <david.gilbert@object-refinery.com>
5807
5808         * javax/swing/plaf/basic/BasicRadioButtonUI.java
5809         (BasicRadioButtonUI): Don't fetch icon here,
5810         (installDefaults): Initialise icon here,
5811         (getDefaultIcon): Just return icon.
5812
5813 2006-09-20  Mark Wielaard  <mark@klomp.org>
5814
5815         * native/jni/java-nio/Makefile.am (libjavanio_la_SOURCES):
5816         Add gnu_java_nio_channels_FileChannelImpl.c and javanio.h.
5817         (EXTRA_DIST): Include javanio.c.
5818
5819 2006-09-20  David Gilbert  <david.gilbert@object-refinery.com>
5820
5821         * java/awt/geom/RoundRectangle2D.java:
5822         (getPathIterator): Reimplemented,
5823         and updated various API doc comments.
5824
5825 2006-09-20  Roman Kennke  <kennke@aicas.com>
5826
5827         * java/awt/Container.java
5828         (addImpl): Set the new component's parent after it has been
5829         added to the array. Call addNotify() and invalidate()
5830         after the component has been added, so that the peer
5831         gets to know about the component structure when it is created.
5832         * java/awt/Window.java
5833         (dispatchEventImpl): Only revalidate when window is resized,
5834         let the other stuff be processed by the superclass.
5835         (dispose): Post WINDOW_CLOSED event only when some listener
5836         is registered or event is explicitly enabled.
5837         (show): Post WINDOW_OPENED event when appropriate.
5838
5839 2006-09-20  Roman Kennke  <kennke@aicas.com>
5840
5841         * java/awt/Component.java
5842         (addNotify): Invalidate here. Fetch peer font.
5843         (getFont): Delegate to helper method, to protect from
5844         overriding client code. Lock the tree while fetching the font.
5845         (getFontImpl): New helper method. Moved code from getFont() in
5846         here.
5847         (removeNotify): Nullify peerFont too.
5848         (setFont): Synchronize on tree and component to avoid threading
5849         issues. Update the peerFont correctly.
5850         (validate): Update the peer font if necessary, before validating.
5851         (getGraphics): Revert to recursive graphics fetching.
5852         Set component font on the Graphics object.
5853         (translateEvent): Removed unnecessary cast.
5854         * java/awt/Container.java
5855         (invalidateTree): Made final and private. Made implementation
5856         slightly more efficient.
5857         (setFont): Get old and new font via getFont() to account for
5858         the real font, and only invalidate the tree when they are not
5859         the same and not equal.
5860         (visitChild): Set the font of the child on the component graphics.
5861         * java/awt/Frame.java
5862         (setMenuBar): Create local reference of peer for thread safety.
5863         Only call simple invalidate, not invalidateTree().
5864
5865 2006-09-19  Cameron McCormack  <cam@mcc.id.au>
5866
5867         PR 29012
5868         * gnu/java/awt/peer/gtk/BufferedImageGraphics.java:
5869         (constructor): Copy image field.
5870
5871 2006-09-19  David Gilbert  <david.gilbert@object-refinery.com>
5872
5873         * javax/swing/JMenuBar.java
5874         (getHelpMenu): Implemented to throw an Error, and added API docs,
5875         (getMargin): Added API docs,
5876         (setMargin): Likewise.
5877
5878 2006-09-19  David Gilbert  <david.gilbert@object-refinery.com>
5879
5880         * javax/swing/AbstractButton.java
5881         (AbstractButton): Don't call updateUI(),
5882         * javax/swing/JButton.java
5883         (JButton(String, Icon)): Call setModel() before init(),
5884         * javax/swing/JMenuItem.java
5885         (JMenuItem()): Delegate to another constructor,
5886         (JMenuItem(Icon)): Likewise,
5887         (JMenuItem(Action)): Set model,
5888         (JMenuItem(String, Icon)): Likewise,
5889         * javax/swing/JToggleButton.java
5890         (init): Call setModel() before init().
5891
5892 2006-09-19  Mark Wielaard  <mark@klomp.org>
5893
5894         Fixes bug #29137
5895         * java/util/logging/LogManager.java (addLogger): Always check for
5896         existing children of a new Logger.
5897
5898 2006-09-19  Roman Kennke  <kennke@aicas.com>
5899
5900         * javax/swing/plaf/basic/BasicScrollPaneUI.java
5901         (HSBChangeListener.stateChanged): Moved handling of header to
5902         syncScrollPaneWithViewport().
5903         (VSBChangeListener.stateChanged): Moved handling of header to
5904         syncScrollPaneWithViewport().
5905         (ViewportChangedHandler.stateChanged): Removed unused statements.
5906         (syncScrollPaneWithViewport): Added null checks. Use setValues
5907         rather then the single setter methods to avoid multiple
5908         adjustments and side effects. Also snyc the headers here.
5909         (updateScrollBarDisplayPolicy): Revalidate and repaint here.
5910         (uninstallUI): Removed unnecessary cast and this qualifier as well
5911         as the call to super.
5912
5913 2006-09-19  Gary Benson  <gbenson@redhat.com>
5914
5915         * java/net/ResolverCache.java: New class (a DNS cache).
5916         * java/net/InetAddress.java
5917         (internalGetCanonicalHostName, getAllByName): Use the above.
5918
5919 2006-09-19  Jeroen Frijters  <jeroen@frijters.net>
5920
5921         * gnu/java/nio/SocketChannelImpl.java: Removed unused import.
5922         * java/net/ServerSocket.java
5923         (port): New field.
5924         (bind): Set port field.
5925         (close): Set impl to null.
5926         (isClosed): Check impl and channel instead of using VMChannel.
5927         (toString): Use port field and getLocalPort() method.
5928         * java/net/Socket.java
5929         (isClosed): Check impl and channel instead of using VMChannel.
5930
5931 2006-09-18  Tom Tromey  <tromey@redhat.com>
5932
5933         * java/util/concurrent/CopyOnWriteArrayList.java
5934         (CopyOnWriteArrayList): New constructor.
5935
5936 2006-09-18  Casey Marshall  <csm@gnu.org>
5937
5938         * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c
5939         (Java_gnu_java_net_VMPlainSocketImpl_listen): remove debug printf.
5940
5941 2006-09-18  Tom Tromey  <tromey@redhat.com>
5942
5943         * gnu/javax/net/ssl/provider/SSLSocket.java (isBound, isClosed,
5944         isConnected): Removed old comment.
5945         (getRemoteSocketAddress): Uncommented.
5946         (setOOBInline, getOOBInline, setKeepAlive, getKeepAlive,
5947         setTrafficClass, getTrafficClass, setReuseAddress,
5948         getReuseAddress, shutdownInput, shutdownOutput, isInputShutdown,
5949         isOutputShutdown): Uncommented.
5950
5951 2006-09-18  David Pirkle  <dpirkle@symyx.com>
5952
5953         Fixes PR 28589
5954         * gnu/xml/transform/XSLURIResolver.java: Test SAXSource for specific
5955           input stream during resolution.
5956
5957 2006-09-18  Roman Kennke  <kennke@aicas.com>
5958
5959         * java/awt/LightweightDispatcher.java
5960         (findTarget): Correctly translate child coordinates.
5961         Use Component.eventTypeEnabled() for checking if a component
5962         has a certain event enabled.
5963         (handleMouseEvent): Find the correct mouse event target.
5964         Use Component.eventTypeEnabled() for checking if a component
5965         has a certain event enabled.
5966
5967 2006-09-18  Roman Kennke  <kennke@aicas.com>
5968
5969         * java/awt/Component.java
5970         (show): Test for the peer beeing lightweight directly.
5971         (paintAll): Validate before painting. Don't paint when not
5972         showing. Call peer.paint() when the component is heavyweight.
5973         (repaint): Delegate to the parent when lightweight, rather
5974         than skipping to the nearest heavyweight.
5975         (createImage): Added null check to prevent NPE.
5976         (dispatchEvent): Moved old event dispatching and toolkit
5977         event dispatching to dispatchEventImpl.
5978         (addComponentListener): Don't enable event. Only add listener
5979         when not null. Switch to new event dispatching only.
5980         (addFocusListener): Likewise.
5981         (addHierarchyListener): Likewise.
5982         (addHierarchyBoundsListener): Likewise.
5983         (addKeyListener): Likewise.
5984         (addMouseListener): Likewise.
5985         (addMouseMotionListener): Likewise.
5986         (addMouseWheelListener): Likewise.
5987         (addInputMethodListener): Likewise.
5988         (coalesceEvents): For mouse events coalesce them only when
5989         their modifiers are equal. For paint events coalesce the events
5990         when one contains the other, without going through complicated
5991         heuristics.
5992         (dispatchEventImpl): Moved old event dispatching and toolkit
5993         event dispatching to dispatchEventImpl.
5994         (coalescePaintEvents): Removed.
5995         (HeavyweightInLightweightListener.componentHidden):
5996         Fixed condition.
5997         * java/awt/Container.java
5998         (addImpl): Don't enable events on lightweights.
5999         (remove): Reordered operations. Don't remove any listeners.
6000         Throw ArrayIndexOutOfBoundsException when index >= ncomponents.
6001         Only removeNotify() when peer is != null. Only invalidate if 
6002         not already invalid. Only fire ContainerEvent if there is
6003         an interested listener or the event is enabled. Dispatch this
6004         event directly without the event queue.
6005         (removeAll): Likewise.
6006         (paintComponents): Only paint when showing. Also paint heavyweights.
6007         Don't paint the container itself.
6008         (removeNotify): Create local variables for improved thread safety.
6009         (addNotifyContainerChildren): Don't enable events for lightweights.
6010
6011 2006-09-18  Roman Kennke  <kennke@aicas.com>
6012
6013         * java/awt/EventQueue.java
6014         (INITIAL_QUEUE_DEPTH): Removed obsolete field.
6015         (next_in): Removed obsolete field.
6016         (next_out): Removed obsolete field.
6017         (queueHead): New field. Markes the head of the queue.
6018         (queueTail): New field. Markes the tail of the queue.
6019         (queue): Removed obsolete field.
6020         (EventQueue): Documented empty block.
6021         (getNextEvent): Changed array based implementation to single-linked
6022         list based implementation.
6023         (invokeAndWait): Use an Object as synchronization object rather
6024         than the current thread.
6025         (peekEvent(int)): Changed array based implementation to single-linked
6026         list based implementation.
6027         (peekEvent()): Changed array based implementation to single-linked
6028         list based implementation.
6029         (pop()): Changed array based implementation to single-linked
6030         list based implementation.
6031         (postEvent): Foward to postEventImpl.
6032         (postEventImpl): Changed array based implementation to single-linked
6033         list based implementation.
6034         (push): Changed array based implementation to single-linked
6035         list based implementation.
6036         * java/awt/AWTEvent.java
6037         (queueNext): New field. Implements a single-linked list for
6038         the EventQueue.
6039
6040 2006-09-17  Mark Wielaard  <mark@klomp.org>
6041
6042         * javax/swing/text/html/HTMLEditorKit (getStyleSheet): Load
6043         resource from HTMLEditorKit.class.
6044
6045 2006-09-17  Mark Wielaard  <mark@klomp.org>
6046
6047         * javax/swing/plaf/basic/BasicToolBarUI.java
6048         (setBorderToNonRollover): Check whether border is null.
6049         (setBorderToRollover): Likewise.
6050
6051 2006-09-17  Mark Wielaard  <mark@klomp.org>
6052
6053         * javax/swing/JTree.java (setLeadSelectionPath): Handle null path.
6054
6055 2006-09-17  Mark Wielaard  <mark@klomp.org>
6056
6057         * native/jni/java-nio/javanio.c (cpnio_fcntl): Last argument is long.
6058         * native/jni/java-nio/javanio.h (cpnio_fcntl): Likewise.
6059         * native/jni/java-nio/gnu_java_nio_VMChannel.c
6060         (Java_gnu_java_nio_VMChannel_lock): Likewise.
6061         (Java_gnu_java_nio_VMChannel_unlock): Likewise.
6062
6063 2006-09-17  Casey Marshall  <csm@gnu.org>
6064
6065         * native/jni/classpath/jcl.c (JNI_OnLoad): mark `reserved' as
6066         unused.
6067
6068 2006-09-17  Chris Burdess  <dog@gnu.org>
6069
6070         Fixes PR 27610 27687.
6071         * gnu/xml/dom/ls/SAXEventSink.java: Permit limited subclassing.
6072         * gnu/xml/transform/SAXTemplatesHandler.java,
6073         * gnu/xml/transform/SAXTransformerHandler.java: New files.
6074         * gnu/xml/transform/TransformerFactoryImpl.java: Implement
6075           SAXTransformerFactory.
6076
6077 2006-09-16  Casey Marshall  <csm@gnu.org>
6078
6079         * NEWS: updated.
6080         * configure.ac (AC_CHECK_HEADERS): check for `sys/event.h'.
6081         (AC_CHECK_FUNCS): add checks for readv, writev, getifaddrs,
6082         kqueue, and kevent.
6083         (HAVE_INET6): define if IPv6 is supported.
6084         * gnu/java/net/PlainDatagramSocketImpl.java (channel): new field.
6085         (native_fd): removed.
6086         (impl): new field.
6087         (<init>): throw IOException; initialize fields.
6088         (finalize): removed.
6089         (getNativeFD): removed.
6090         (bind): use `PlainSocketImpl.bind.'
6091         (create): use `PlainSocketImpl.initSocket.'
6092         (disconnect): use `PlainSocketImpl.disconnect.'
6093         (getLocalPort): new method.
6094         (send): use `VMChannel.send.'
6095         (receive): use `VMChannel.receive.'
6096         (setOption): use `PlainSocketImpl.setOption.'
6097         (getOption): use `PlainSocketImpl.getOption.'
6098         (close): use `VMChannel.State.close.'
6099         (join): use `PlainSocketImpl.join.'
6100         (leave): use `PlainSocketImpl.leave.'
6101         (joinGroup, leaveGroup): implemented.
6102         * gnu/java/net/PlainSocketImpl.java: make non-final.
6103         (native_fd): removed.
6104         (impl): new field.
6105         (channel): new field.
6106         (<init>): initialize `impl.'
6107         (finalize, getNativeFD): removed.
6108         (setOption): use `PlainSocketImpl.setOption.'
6109         (getOption): use `PlainSocketImpl.getOption.'
6110         (shutdownInput): use `PlainSocketImpl.shutdownInput.'
6111         (shutdownOutput): use `PlainSocketImpl.shutdownOutput.'
6112         (create): create `channel,' initialize `impl's native state.
6113         (connect): use `connect(SocketAddress, int).'
6114         (connect): use `SocketChannelImpl.connect;' initialize `address'
6115         and `port.'
6116         (bind): use `VMPlainSocketImpl.bind.'
6117         (listen): use `VMPlainSocketImpl.listen.'
6118         (accept): use `SocketChannelImpl.accept.'
6119         (available): use `VMChannel.available.'
6120         (close): use `PlainSocketImpl.close.'
6121         (sendUrgentData): use `PlainSocketImpl.sendUrgentData.'
6122         (getVMChannel, getInetAddress, getLocalPort, getLocalAddress,
6123         getPort): new methods.
6124         (SocketInputStream.read): use `VMChannel.read.'
6125         (SocketInputStream.read): use `SocketChannel.read.'
6126         (SocketOutputStream.write): use `VMChannel.write.'
6127         (SocketOutputStream.write): use `SocketChannel.write.'
6128         * gnu/java/nio/DatagramChannelImpl.java: implement VMChannel.
6129         (channel): new field.
6130         (<init>): initialize `channel.'
6131         (implCloseSelectableChannel): use `VMChannel.close.'
6132         (implConfigureBlocking): use `VMChannel.setBlocking.'
6133         (connect): use `VMChannel.connect.'
6134         (disconnect): use `VMChannel.disconnect.'
6135         (isConnected): use `VMChannel.getPeerAddress.'
6136         (write): use `VMChannel.write.'
6137         (write): use `VMChannel.writeGathering.'
6138         (read): use `VMChannel.read.'
6139         (read): use `VMChannel.readScattering.'
6140         (receive): use `VMChannel.receive.'
6141         (send): use `VMChannel.send.'
6142         (getVMChannel): new method.
6143         * gnu/java/nio/DatagramChannelSelectionKey.java (getNativeFD):
6144         access native FD through VMChannel.State.
6145         * gnu/java/nio/FileChannelImpl.java: moved from
6146         gnu/java/nio/channels/FileChannelImpl.java.
6147         * gnu/java/nio/FileLockImpl.java: fix imports.
6148         * gnu/java/nio/KqueueSelectionKeyImpl.java: new file.
6149         * gnu/java/nio/KqueueSelectorImpl.java: new file.
6150         * gnu/java/nio/NIOSocket.java (impl): removed.
6151         (channel): new field.
6152         (<init>): init superclass with a `NIOSocketImpl;' init `channel.'
6153         (getPlainSocketImpl, setChannel): removed.
6154         (isConnected): new method.
6155         * gnu/java/nio/NIOSocketImpl.java: new file.
6156         * gnu/java/nio/PipeImpl.java (SourceChannelImpl): implement
6157         `VMChannelOwner.'
6158         (SourceChannelImpl.native_fd): removed.
6159         (SourceChannelImpl.<init>): init with a `VMChannel.'
6160         (SourceChannelImpl.getNativeFD): removed.
6161         (SourceChannelImpl.getVMChannel): new method.
6162         (SourceChannelImpl.implCloseSelectableChannel): implement.
6163         (SinkChannelImpl): implement `VMChannelOwner.'
6164         (SinkChannelImpl.native_fd): removed.
6165         (SinkChannelImpl.<init>): init with a `VMChannel.'
6166         (SinkChannelImpl.implCloseSelectableChannel): implement.
6167         (SinkChannelImpl.getNativeFD): removed.
6168         (SinkChannelImpl.getVMChannel): new method.
6169         * gnu/java/nio/SelectionKeyImpl.java (getNativeFD): mark
6170         deprecated.
6171         * gnu/java/nio/SelectorProviderImpl.java (SELECTOR_IMPL_KQUEUE,
6172         SELECTOR_IMPL_EPOLL, SELECTOR_IMPL): new constants.
6173         (openSelector): return kqueue selector if available.
6174         * gnu/java/nio/ServerSocketChannelImpl.java: implement
6175         `VMChannelOwner.'
6176         (channel): new field.
6177         (<init>): init `channel.'
6178         (finalizer): check if the `VMChannel.State' is valid.
6179         (implCloseSelectableChannel): use `VMChannel.close.'
6180         (implConfigureBlocking): use `VMChannel.setBlocking.'
6181         (accept): use `VMChannel.accept.'
6182         (getVMChannel): new method.
6183         * gnu/java/nio/ServerSocketChannelSelectionKey.java (getNativeFD):
6184         access native FD through `VMChannel.State.'
6185         * gnu/java/nio/SocketChannelImpl.java: implement `VMChannelOwner.'
6186         (impl): removed.
6187         (channel, connected, connectAddress): new field.
6188         (<init>): new constructors.
6189         (getPlainSocketImpl): removed.
6190         (implCloseSelectableChannel): use `VMChannel.close.'
6191         (implConfigureBlocking): use `VMChannel.setBlocking.'
6192         (connect): use `connect(SocketAddress,int).'
6193         (connect): use `VMChannel.connect.'
6194         (finishConnect): don't use a selector.
6195         (isConnected): use `VMChannel.getPeerAddress.'
6196         (read): use `VMChannel.read.'
6197         (read): use `VMChannel.readScattering.'
6198         (write): use `VMChannel.write.'
6199         (write): use `VMChannel.writeGathering.'
6200         (getVMChannel): new method.
6201         * gnu/java/nio/SocketChannelSelectionKey.java (getNativeFD): get
6202         native FD from `VMChannel.State.'
6203         * gnu/java/nio/SocketChannelSelectionKeyImpl.java (getNativeFD):
6204         get native FD from `VMChannel.State.'
6205         * gnu/java/nio/VMChannelOwner.java: new file.
6206         * gnu/java/nio/channels/FileChannelImpl.java: removed.
6207         * include/Makefile.am: generate `gnu_java_nio_FileChannelImpl.h'
6208         and `gnu_java_nio_KqueueSelectorImpl.h;' don't generate
6209         `gnu_java_nio_channels_FileChannelImpl.h.'
6210         * include/gnu_java_net_VMPlainSocketImpl.h: regenerated.
6211         * include/gnu_java_nio_FileChannelImpl.h: new file.
6212         * include/gnu_java_nio_KqueueSelectorImpl.h: new file.
6213         * include/gnu_java_nio_VMChannel.h: regenerated.
6214         * include/gnu_java_nio_VMPipe.h: regenerated.
6215         * include/java_net_VMNetworkInterface.h: regenerated.
6216         * java/io/FileDescriptor.java: fix imports.
6217         * java/io/FileInputStream.java (<init>): handle exceptions.
6218         (read): wrap the destination arary.
6219         * java/io/FileOutputStream.java (<init>): handle exceptions.
6220         (write): wrap the source array.
6221         * java/io/RandomAccessFile.java (<init>): handle exceptions.
6222         * java/net/DatagramSocket.java (<init>): handle exceptions.
6223         (receive): handle length/port setting.
6224         (connect): bind to any address/port if the argument is null.
6225         * java/net/NetworkInterface.java (name, inetAddress): removed.
6226         (netif): new field.
6227         (<init>): make private.
6228         (getName): return `netif.name.'
6229         (getInetAddresses): access `netif.addresses.'
6230         (getDisplayName): return `netif.name.'
6231         (getByName, getByAddress): handle changes to `VMNetworkInterface.'
6232         (condense): removed.
6233         (getNetworkInterfaces): handle changes to `VMNetworkInterface.'
6234         (equals): compare `netif' fields.
6235         (hashCode): get hash codes from `netif.'
6236         (toString): use a StringBuffer.
6237         * java/net/ServerSocket.java (close): don't set `impl' to null.
6238         (isClosed): use `VMChannel.State.isClosed.'
6239         * java/net/Socket.java (getLocalAddress): don't use `getOption' if
6240         the `SocketImpl' is a `PlainSocketImpl.'
6241         (close): just close the `impl.'
6242         (toString): use `super.toString' in the value we return.
6243         (isConnected): just access `impl,' not `getImpl.'
6244         (isBound): use `PlainSocketImpl' methods if we can.
6245         (isClosed): look at `VMChannel.State.'
6246         * native/jni/classpath/jcl.c (JNI_OnLoad): new function.
6247         (JCL_NewRawDataObject): don't initialize cached fields here; throw
6248         an exception if they were not.
6249         (JCL_GetRawData): throw an exception if cached fields weren't
6250         created.
6251         * native/jni/java-lang/java_lang_VMProcess.c: handle
6252         FileChannelImpl move.
6253         * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c
6254         (IO_EXCEPTION, SOCKET_EXCEPTION, BIND_EXCEPTION,
6255         THROW_NO_NETWORK): new macros.
6256         (Java_gnu_java_net_VMPlainSocketImpl_bind): reipmlemented.
6257         (Java_gnu_java_net_VMPlainSocketImpl_bind6): new function.
6258         (Java_gnu_java_net_VMPlainSocketImpl_listen): reimplemented.
6259         (java_sockopt): new enum.
6260         (Java_gnu_java_net_VMPlainSocketImpl_setOption): reimplemented.
6261         (Java_gnu_java_net_VMPlainSocketImpl_getOption): reimplemented.
6262         (Java_gnu_java_net_VMPlainSocketImpl_shutdownInput):
6263         reimplemented.
6264         (Java_gnu_java_net_VMPlainSocketImpl_shutdownOutput):
6265         reimplemented.
6266         (Java_gnu_java_net_VMPlainSocketImpl_sendUrgentData): new
6267         function.
6268         (Java_gnu_java_net_VMPlainSocketImpl_join): new function.
6269         (Java_gnu_java_net_VMPlainSocketImpl_join6): new function.
6270         (Java_gnu_java_net_VMPlainSocketImpl_read): removed.
6271         (Java_gnu_java_net_VMPlainSocketImpl_leave): new function.
6272         (Java_gnu_java_net_VMPlainSocketImpl_leave6): new function.
6273         (Java_gnu_java_net_VMPlainSocketImpl_joinGroup): new function.
6274         (Java_gnu_java_net_VMPlainSocketImpl_write): removed.
6275         (Java_gnu_java_net_VMPlainSocketImpl_joinGroup6): new function.
6276         (Java_gnu_java_net_VMPlainSocketImpl_leaveGroup): new function.
6277         (Java_gnu_java_net_VMPlainSocketImpl_leaveGroup6): new function.
6278         (getif_address): new function.
6279         (getif_index): new function.
6280         * native/jni/java-net/java_net_VMNetworkInterface.c
6281         (java_net_VMNetworkInterface_init,
6282         java_net_VMNetworkInterface_addAddress): new file-scope globals.
6283         (Java_java_net_VMNetworkInterface_initIds): new function.
6284         (struct netif_entry): new struct.
6285         (free_netif_list): new function.
6286         (Java_java_net_VMNetworkInterface_getInterfaces): removed.
6287         (Java_java_net_VMNetworkInterface_getVMInterfaces): new function.
6288         * native/jni/java-nio/Makefile.am (libjavanio_la_SOURCES): remove
6289         gnu_java_nio_channels_FileChannelImpl.c, add
6290         gnu_java_nio_KqueueSelectorImpl.c.
6291         * native/jni/java-nio/gnu_java_nio_KqueueSelectorImpl.c: new file.
6292         * native/jni/java-nio/gnu_java_nio_VMChannel.c
6293         (INTERRUPTED_IO_EXCEPTION, SOCKET_TIMEOUT_EXCEPTION, ALIGN_UP,
6294         ALIGN_DOWN): new macros.
6295         (JCL_init_buffer): get the address through GetDirectBufferAddress
6296         if possible.
6297         (Java_gnu_java_nio_VMChannel_stdin_1fd,
6298         Java_gnu_java_nio_VMChannel_stdout_1fd,
6299         Java_gnu_java_nio_VMChannel_stderr_1fd): new functions.
6300         (Java_gnu_java_nio_VMChannel_setBlocking): fix setting blocking
6301         value.
6302         (Java_gnu_java_nio_VMChannel_read): renamed...
6303         (Java_gnu_java_nio_VMChannel_read__ILjava_nio_ByteBuffer_2): to
6304         this; handle interrupted IO; add HAVE_READ check.
6305         (Java_gnu_java_nio_VMChannel_write): renamed...
6306         (Java_gnu_java_nio_VMChannel_write__ILjava_nio_ByteBuffer_2): to
6307         this; handle zero-length write; add HAVE_WRITE check.
6308         (Java_gnu_java_nio_VMChannel_receive): new function.
6309         (Java_gnu_java_nio_VMChannel_send): new function.
6310         (Java_gnu_java_nio_VMChannel_send6): new function.
6311         (Java_gnu_java_nio_VMChannel_read__I): new function.
6312         (Java_gnu_java_nio_VMChannel_write__II): new function.
6313         (Java_gnu_java_nio_VMChannel_socket): new function.
6314         (Java_gnu_java_nio_VMChannel_connect): new function.
6315         (Java_gnu_java_nio_VMChannel_connect6): new function.
6316         (Java_gnu_java_nio_VMChannel_getsockname): new function.
6317         (Java_gnu_java_nio_VMChannel_getpeername): new function.
6318         (Java_gnu_java_nio_VMChannel_accept): new function.
6319         (Java_gnu_java_nio_VMChannel_disconnect): new function.
6320         (Java_gnu_java_nio_VMChannel_close): new function.
6321         (Java_gnu_java_nio_VMChannel_available): new function.
6322         (FileChannel_mode): new enum.
6323         (Java_gnu_java_nio_VMChannel_open): new function.
6324         (Java_gnu_java_nio_VMChannel_position): new function.
6325         (Java_gnu_java_nio_VMChannel_seek): new function.
6326         (Java_gnu_java_nio_VMChannel_truncate): new funciton.
6327         (Java_gnu_java_nio_VMChannel_lock): new function.
6328         (Java_gnu_java_nio_VMChannel_unlock): new function.
6329         (Java_gnu_java_nio_VMChannel_size): new function.
6330         (Java_gnu_java_nio_VMChannel_map): new function.
6331         (Java_gnu_java_nio_VMChannel_flush): new function.
6332         * native/jni/java-nio/gnu_java_nio_VMPipe.c
6333         (Java_gnu_java_nio_VMPipe_init): removed.
6334         (Java_gnu_java_nio_VMPipe_pipe0): new function.
6335         * native/jni/java-nio/javanio.c: new file.
6336         * native/jni/java-nio/javanio.h: new file.
6337         * native/jni/native-lib/cpnet.c (cpnet_getHostByName): fix for
6338         systems without `gethostbyname_r.'
6339         * vm/reference/gnu/java/net/VMPlainSocketImpl.java (nfd): new
6340         field.
6341         (<init>, <init>): new constructors.
6342         (setOption, getOption): make instance methods; defer to native
6343         implementation.
6344         (connect): removed.
6345         (bind): make an instance method; defer to native methods.
6346         (accept): removed.
6347         (available): removed.
6348         (listen): make an instance method; defer to native method.
6349         (read): removed.
6350         (join, leave): new methods.
6351         (write): removed.
6352         (joinGroup, leaveGroup): new methods.
6353         (shutdownInput, shutdownOutput): make instance methods.
6354         (sendUrgentData): removed.
6355         (State): new class.
6356         * vm/reference/gnu/java/nio/VMChannel.java: make final.
6357         (fd): removed.
6358         (nfd): new field.
6359         (<init>): new, public constructors.
6360         (getVMChannel): methods removed.
6361         (getState, getStdin, getStdout, getStderr, stdin_fd, stdout_fd,
6362         stderr_fd): new methods.
6363         (setBlocking): make an instance method.
6364         (available): new method.
6365         (read): get native fd from `nfd.'
6366         (read): new single-byte read method.
6367         (readScattering): get native fd from `nfd.'
6368         (receive): new method.
6369         (write, writeGathering): get native fd from `nfd.'
6370         (send): new method.
6371         (write): new single-byte write method.
6372         (initSocket): new method.
6373         (connect): new method.
6374         (disconnect): new method.
6375         (getLocalAddress): new method.
6376         (getPeerAddress): new method.
6377         (accept): new method.
6378         (openFile): new method.
6379         (position): new method.
6380         (seek): new method.
6381         (truncate): new method.
6382         (lock): new method.
6383         (unlock): new method.
6384         (size): new method.
6385         (map): new method.
6386         (flush): new method.
6387         (close): new method.
6388         (State): new class.
6389         (Kind): new class.
6390         * vm/reference/gnu/java/nio/VMPipe.java (init): removed.
6391         (pipe, pipe0): new method.
6392         * vm/reference/java/net/VMNetworkInterface.java (name, addresses):
6393         new fields.
6394         (<clinit>): call `initIds.'
6395         (initIds): new method.
6396         (getInterfaces): removed.
6397         (getVMInterfaces): new method.
6398         (addAddress): new method.
6399         * vm/reference/java/nio/channels/VMChannels.java: fix imports.
6400
6401 2006-09-16  Chris Burdess  <dog@gnu.org>
6402
6403         Fixes PR 28572.
6404         * gnu/xml/transform/StreamSerializer.java: Don't escape XML entities
6405           when in text output mode.
6406
6407 2006-09-16  Chris Burdess  <dog@gnu.org>
6408
6409         Fixes PR 27293.
6410         * gnu/xml/dom/DomNode.java: Increment length of node during insert.
6411
6412 2006-09-14  Michael Koch  <konqueror@gmx.de>
6413
6414         * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Recreated.
6415
6416 2006-09-15  Chistian Elias Naur  <elias@oddlabs.com>
6417
6418         * java/io/ObjectStreamClass.java (setClass(Class, ObjectStreamClass)):
6419         Added !cl.isArray() to serialVersionUID mismatch check.
6420
6421 2006-09-14  Francis Kung  <fkung@redhat.com>
6422
6423         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
6424         (gnu_java_awt_peer_gtk_CairoGraphics2D_setGradient): Updated constants to
6425         be compatibe with Cairo 1.2.x.
6426
6427 2006-09-14  Francis Kung  <fkung@redhat.com>
6428
6429         * gnu/java/awt/peer/gtk/CairoGraphics2D.java: Added interpolation constants.
6430         (cairoSurfaceSetFilter): Removed method.
6431         (drawImage): Pass interpolation type as argument to drawing methods.
6432         (drawPixels): Added interpolation parameter.
6433         (drawRaster): Pass interpolation type as argument to drawing method.
6434         (getInterpolation): New method.
6435         (setRenderingHint): Store hints, but do not set interpolation in cairo.
6436         (setRenderingHints): Store hints, but do not set interpolation in cairo.
6437         * gnu/java/awt/peer/gtk/CairoSurface.java
6438         (drawSurface): Added interpolation parameter.
6439         (nativeDrawSurface): Added interpolation parameter.
6440         * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h
6441         (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_drawPixels): Added interpolation
6442         parameter.
6443         (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoSurfaceSetFilter): Removed.
6444         * native/jni/gtk-peer/cairographics2d.h
6445         (java_awt_rendering_hints_filter): Added bicubic interpolation constant.
6446         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
6447         (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_drawPixels): Added interpolation
6448         parameter.
6449         (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoSurfaceSetFilter): Removed.
6450         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
6451         (Java_gnu_java_awt_peer_gtk_CairoSurface_nativeDrawSurface): Added
6452         interpolation parameter.
6453
6454 2006-09-14  Gary Benson  <gbenson@redhat.com>
6455
6456         * java/net/InetAddress.java
6457         (internalGetCanonicalHostName): New method.
6458         (getCanonicalHostName): Use internalGetCanonicalHostName.
6459         (getByLiteral): New method.
6460         (getAllByName): Use getByLiteral.
6461         * java/net/SocketPermission.java
6462         (host): Replaced with...
6463         (hostname, address): New fields.
6464         (equals, hashcode): Reflect the above.
6465         (setHostPort): Parse host into hostname or address.
6466         (implies): Rewrite host checks.
6467
6468 2006-09-14  David Gilbert  <david.gilbert@object-refinery.com>
6469
6470         Fixes PR28699
6471         * java/awt/Menu.java
6472         (insert(MenuItem, int)): Fixed loop range,
6473         (insert(String, int)): Updated API docs.
6474
6475 2006-09-14  Christian Thalinger  <twisti@complang.tuwien.ac.at>
6476
6477         Fixes PR22800
6478         * native/fdlibm/mprec.h (Storeinc): Define correctly for LE
6479         architectures (like Arm).
6480         * native/jni/java-lang/java_lang_VMDouble.c (doubleToLongBits):
6481         Reverted SWAP_DOUBLE patch.
6482         (doubleToRawLongBits): Likewise.
6483         (longBitsToDouble): Likewise.
6484
6485 2006-09-14  David Gilbert  <david.gilbert@object-refinery.com>
6486
6487         * java/awt/Menu.java: Reformatted source file.
6488
6489 2006-09-14  Jeroen Frijters  <jeroen@frijters.net>
6490
6491         * gnu/java/rmi/server/ActivatableRef.java
6492         (readExternal, writeExternal): Partial fix for serialization format.
6493
6494 2006-09-14  Jeroen Frijters  <jeroen@frijters.net>
6495
6496         PR classpath/28984
6497         * java/io/InputStreamReader.java
6498         (read(char[],int,int)): Fixed bug.
6499
6500 2006-09-13  Francis Kung  <fkung@redhat.com>
6501
6502         * java/awt/image/BandCombineOp.java: Updated documentation.
6503         (filter(Raster, WritableRaster)): Use int arrays, and added simple cache.
6504
6505 2006-09-13  Tom Tromey  <tromey@redhat.com>
6506
6507         PR classpath/29034:
6508         * java/io/PipedReader.java (read): Return early if len==0.
6509         * java/io/PipedInputStream.java (read): Return early if len==0.
6510
6511 2006-09-13  Francis Kung  <fkung@redhat.com>
6512
6513         * java/awt/image/ConvolveOp.java (filter(Raster, WritableRaster)):
6514         Removed hard-coded max sample value.
6515         * java/awt/image/RescaleOp.java (filter(Raster, WritableRaster)): 
6516         Fixed finding of max sample value.
6517
6518 2006-09-12  David Gilbert  <david.gilbert@object-refinery.com>
6519
6520         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
6521         (setPaint): Check null argument ('p').
6522
6523 2006-09-12  Francis Kung  <fkung@redhat.com>
6524
6525         PR 27940
6526         * gnu/java/awt/java2d/TexturePaintContext.java
6527         (constructor): Fixed typo, getMinY instead of getMaxX.
6528         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
6529         (setPaint): Implemented support for custom Paint classes.
6530         (setPaintPixels): Renamed from setTexturePixels, added repeat parameter.
6531         (setTexturePixels): Renamed to setPaintPixels, added repeat parameter.
6532         * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Renamed setTexturePixels
6533         to setPaintPixels, and added repeat parameter.
6534         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c:
6535          Renamed setTexturePixels to setPaintPixels, and added repeat parameter.
6536
6537 2006-09-12  Gary Benson  <gbenson@redhat.com>
6538
6539         * java/net/NetworkInterface.java (getInetAddresses):
6540         Fix port used in security check.
6541
6542 2006-09-12  David Gilbert  <david.gilbert@object-refinery.com>
6543
6544         * javax/swing/plaf/metal/DefaultMetalTheme.java
6545         (CONTROL_TEXT_FONT): Renamed 'controlTextFont',
6546         (MENU_TEXT_FONT): Renamed 'menuTextFont',
6547         (getControlTextFont): Check 'swing.boldMetal' setting before 
6548         initialising font,
6549         (getMenuTextFont): Likewise.
6550
6551 2006-09-12  David Gilbert  <david.gilbert@object-refinery.com>
6552
6553         * javax/swing/plaf/metal/OceanTheme.java
6554         (addCustomEntriesToTable): Added 'List.focusCellHighlightBorder' entry.
6555
6556 2006-09-12  David Gilbert  <david.gilbert@object-refinery.com>
6557
6558         * javax/swing/plaf/metal/MetalIconFactory.java
6559         (InternalFrameDefaultMenuIcon.paintIcon): Use theme colors.
6560
6561 2006-09-12  David Gilbert  <david.gilbert@object-refinery.com>
6562
6563         * javax/swing/AbstractSpinnerModel.java: API doc updates.
6564
6565 2006-09-12  David Gilbert  <david.gilbert@object-refinery.com>
6566
6567         * javax/swing/AbstractButton.java
6568         (AbstractButton): Initialise textIconGap field.
6569
6570 2006-09-11  Tom Tromey  <tromey@redhat.com>
6571
6572         * tools/gnu/classpath/tools/javah/FieldHelper.java (print): Print
6573         "volatile" when needed.
6574
6575 2006-09-11  David Gilbert  <david.gilbert@object-refinery.com>
6576
6577         * java/text/AttributedCharacterIterator.java
6578         (LANGUAGE): Initialise with lower case string,
6579         (INPUT_METHOD_SEGMENT): Likewise,
6580         (READING): Likewise,
6581         * java/text/AttributedStringIterator.java
6582         (getRunLimit): Check all attributes for changes.
6583
6584 2006-09-11  David Gilbert  <david.gilbert@object-refinery.com>
6585
6586         * java/text/AttributedCharacterIterator.java: Added @since tag, 
6587         renamed some variables (no underscores) and removed some spaces to
6588         match the common style,
6589         * java/text/AttributedString.java: Likewise,
6590         * java/text/AttributedStringIterator.java: Likewise.
6591
6592 2006-09-11  Gary Benson  <gbenson@redhat.com>
6593
6594         * java/net/Inet4Address.java
6595         (FAMILY): Renamed back to AF_INET.
6596         (<init>, writeReplace): Reflect the above.
6597         * java/net/Inet6Address.java
6598         (FAMILY): Renamed back to AF_INET6.
6599         (<init>): Reflect the above.
6600
6601 2006-09-11  Cameron McCormack  <cam-gcc-bugzilla@aka.mcc.id.au>
6602
6603         Fixes PR29010
6604         * java/text/AttributedString.java
6605         (AttributedString(AttributedCharacterIterator, int, int, 
6606         AttributedCharacterIterator.Attribute[])): Fixed check for defined 
6607         attribute.
6608
6609 2006-09-11  Gary Benson  <gbenson@redhat.com>
6610
6611         * java/net/Inet4Address.java
6612         (AF_INET): Renamed to FAMILY.
6613         (<init>, writeReplace): Reflect the above.
6614         * java/net/Inet6Address.java
6615         (AF_INET6): Renamed to FAMILY.
6616         (<init>): Reflect the above.
6617
6618 2006-09-10  Ito Kazumitsu  <kaz@maczuka.gcd.org>
6619
6620         Fixes bug #28867
6621         Originally in Kaffe: 2004-04-16  Helmer Kraemer <hkraemer@freenet.de>
6622         * java/net/ServerSocket.java(implAccept): Deleted socket.implCreated.
6623         * java/net/Socket.java: Avoid creating a redundant file descriptor.
6624         (implCreated): Deleted, (getImpl): Don't check impleCreated,
6625         (bind): Call getImpl().create(true).
6626
6627 2006-09-09  Chris Burdess  <dog@gnu.org>
6628
6629         * gnu/xml/xpath/Expr.java: Ensure that node-set evaluation returns
6630           an instance of org.w3c.dom.NodeList.
6631
6632 2006-09-08  Thomas Fitzsimmons  <fitzsim@redhat.com>
6633
6634         * tools/gnu/classpath/tools/appletviewer/Main.java: Warn about
6635         missing security manager when run in standalone mode.
6636
6637 2006-09-08  Francis Kung  <fkung@redhat.com>
6638
6639         * java/awt/image/AffineTransformOp.java: Updated documentation.
6640         (createCompatibleDestRaster): Updated formatting.
6641         (filter(BufferedImage, BufferedImage)): Updated formatting.
6642         (filter(Raster, WritableRaster)): Delegated processing to native peers for
6643         if colour model is compatible.
6644         (filterBicubic): Get entire pixel at once, and use appropriate array type.
6645         (filterBilinear): Get entire pixel at once, and use appropriate array type.
6646
6647 2006-09-08  Gary Benson  <gbenson@redhat.com>
6648
6649         * java/net/InetAddress.java
6650         (family): Updated javadoc and made private.
6651         (<init>): Add an address family argument.
6652         (readObject): Don't overwrite family.
6653         * java/net/Inet4Address.java
6654         (AF_INET): New constant.
6655         (<init>): Use AF_INET as the family.
6656         (writeReplace): Likewise.
6657         * java/net/Inet6Address.java
6658         (AF_INET6): New constant.
6659         (<init>): Use AF_INET6 as the family.
6660
6661 2006-09-08  Gary Benson  <gbenson@redhat.com>
6662
6663         * java/net/InetAddress.java
6664         (getHostName): Move lookup into getCanonicalHostName.
6665         (getCanonicalHostName): Move lookup from getHostName,
6666         Perform security check on canonical name (ie after lookup).
6667
6668 2006-09-08  Gary Benson  <gbenson@redhat.com>
6669
6670         * java/net/Inet4Address.java (isMulticastAddress,
6671         isLoopbackAddress, isAnyLocalAddress, isLinkLocalAddress,
6672         isSiteLocalAddress, isMCGlobal, isMCNodeLocal, isMCLinkLocal,
6673         isMCSiteLocal, isMCOrgLocal, getHostAddress): Moved
6674         implementations from InetAddress.
6675         * java/net/InetAddress.java (isMulticastAddress,
6676         isLoopbackAddress, isAnyLocalAddress, isLinkLocalAddress,
6677         isSiteLocalAddress, isMCGlobal, isMCNodeLocal, isMCLinkLocal,
6678         isMCSiteLocal, isMCOrgLocal, getHostAddress): Replace
6679         implementations with UnsupportedOperationExceptions.
6680         
6681 2006-09-08  Gary Benson  <gbenson@redhat.com>
6682
6683         * java/net/InetAddress.java
6684         (inaddr_any): Removed.
6685         (ANY_IF, LOCALHOST): Create using getByAddress.
6686         (<init>): Updated javadoc.
6687         (getHostName): Cache hostname even if the lookup failed.
6688         (getByAddress): Create Inet4Address objects when passed
6689         IPv4-mapped IPv6 addresses.
6690         (aton): Removed.
6691         (getAllByName): Create address objects using getByAddress.
6692         Do not perform security checks unless actually required.
6693         Do not strip whitespace from the hostname.
6694         (getInaddrAny): Removed.
6695         (getLocalHost): Return the loopback address if getByName
6696         throws a SecurityException.
6697         (readResolve): Updated javadoc.
6698         * vm/reference/java/net/VMInetAddress.java (aton): Declared.
6699         * include/java_net_VMInetAddress.h
6700         (Java_java_net_VMInetAddress_aton): Likewise.
6701         * native/jni/java-net/java_net_VMInetAddress.c
6702         (Java_java_net_VMInetAddress_aton): New method.
6703         * native/jni/native-lib/cpnet.h (cpnet_aton): Declared.
6704         * native/jni/native-lib/cpnet.c (cpnet_aton): New method.
6705         * configure.ac (AC_CHECK_FUNCS): Checks for cpnet_aton.
6706         * java/net/Inet4Address.java (writeReplace): Updated javadoc.
6707         * NEWS: Added note about updated VM interface.
6708
6709 2006-09-07  David Gilbert  <david.gilbert@object-refinery.com>
6710
6711         * javax/swing/plaf/basic/BasicInternalFrameUI.java
6712         (setNorthPane): Assign component to titlePane.
6713
6714 2006-09-07  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
6715
6716         * gnu/CORBA/NamingService/NameParser.java (corbaloc):
6717         Remove unused variable alt_addr.
6718         * gnu/CORBA/NamingService/NameTransformer.java (toName):
6719         Remove unused variables.
6720
6721 2006-09-07  David Gilbert  <david.gilbert@object-refinery.com>
6722
6723         * javax/swing/plaf/metal/MetalScrollBarUI.java
6724         (installDefaults): Initialise scrollBarWidth from UI defaults here,
6725         (createDecreaseButton): Don't fetch scrollBarWidth here, 
6726         (createIncreaseButton): Likewise.
6727
6728 2006-09-07  David Gilbert  <david.gilbert@object-refinery.com>
6729
6730         * java/awt/image/MemoryImageSource.java: Added API docs.
6731
6732 2006-09-06  David Gilbert  <david.gilbert@object-refinery.com>
6733
6734         * javax/swing/plaf/basic/BasicScrollBarUI.java
6735         (installDefaults): Call configureScrollBarColors().
6736
6737 2006-09-06  Francis Kung  <fkung@redhat.com>
6738
6739         * java/awt/image/RescaleOp.java: Updated documentation and formatting.
6740         (constructor): Make copy of arrays.
6741         (createCompatibleDestImage): Changed treatment of null ColorModel.
6742         (filter(BufferedImage, BufferedImage)): Re-implemented.
6743         (filter(Raster, WritableRaster, boolean[])): New method.
6744         (filter(Raster, WritableRaster)): Re-implemented.
6745         (getOffsets): Prevent ArrayIndexOutOfBoundsException.
6746         (getPoint2D): Cleaned up formatting.
6747         (getScaleFactors): Prevent ArrayIndexOutOfBoundsException.
6748
6749 2006-09-06  David Gilbert  <david.gilbert@object-refinery.com>
6750
6751         * javax/swing/UIManager.java
6752         (getBoolean(Object)): Reimplemented,
6753         (getBoolean(Object, Locale)): Likewise,
6754         (getBorder(Object)): Likewise,
6755         (getBorder(Object, Locale)): Likewise,
6756         (getColor(Object)): Likewise,
6757         (getColor(Object, Locale)): Likewise,
6758         (getDimension(Object)): Likewise,
6759         (getDimension(Object, Locale)): Likewise,
6760         (getFont(Object)): Likewise,
6761         (getFont(Object, Locale)): Likewise,
6762         (getIcon(Object)): Likewise,
6763         (getIcon(Object, Locale)): Likewise,
6764         (getInsets(Object)): Updated API docs,
6765         (getInsets(Object, Locale)): Likewise,
6766         (getInt(Object)): Reimplemented,
6767         (getInt(Object, Locale)): Likewise,
6768         (getString(Object)): Likewise,
6769         (getString(Object, Locale)): Likewise.
6770
6771 2006-09-06  David Gilbert  <david.gilbert@object-refinery.com>
6772
6773         * javax/swing/UIManager.java
6774         (MultiplexUIDefaults.MultiplexUIDefaults()): Don't allow null fallback,
6775         (getDefaults): Initialise MultiplexUIDefaults with empty fallback.
6776
6777 2006-09-06  David Gilbert  <david.gilbert@object-refinery.com>
6778
6779         * javax/swing/plaf/metal/MetalLookAndFeel.java
6780         (initComponentDefaults): Corrected various font defaults.
6781
6782 2006-09-05  David Gilbert  <david.gilbert@object-refinery.com>
6783
6784         * java/awt/List.java: Added @since to various methods.
6785
6786 2006-09-05  Andrew John Hughes  <gnu_andrew@member.fsf.org>
6787
6788         * native/jni/native-lib/cpprocess.c:
6789         (forkAndExec(char*,char*,int,int,pid_t,char*)):
6790         Add redirection of stdout to stderr.
6791         * native/jni/native-lib/cpprocess.h:
6792         Added redirect argument.
6793         * native/jni/java-lang/java_lang_VMProcess.c
6794         (Java_java_lang_VMProcess_nativeSpawn): Readd redirect argument.
6795         * vm/reference/java/lang/VMProcess.java: Likewise.
6796         * include/java_lang_VMProcess.h: Regenerated.
6797         
6798 2006-09-05  Andreas Tobler  <a.tobler@schweiz.ch>
6799
6800         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c: Adjust
6801         __attribute to __attribute__.
6802
6803         * native/jni/java-nio/java_nio_MappedByteBufferImpl.c: Remove duplicate
6804         header include.
6805
6806 2006-09-05  David Gilbert  <david.gilbert@object-refinery.com>
6807
6808         * java/awt/List.java: Source code reformatted.
6809
6810 2006-09-05  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
6811
6812         * gnu/CORBA/CollocatedOrbs.java,
6813         gnu/CORBA/SafeForDirectCalls.java: New files.
6814         * gnu/CORBA/NamingService/Binding_iterator_impl.java:
6815         Implement gnu.CORBA.SafeForDirectCalls.
6816         * gnu/CORBA/NamingService/Ext.java: Likewise.
6817         * gnu/CORBA/NamingService/TransientContext.java: Likewise.
6818         * gnu/CORBA/OrbFunctional.java (createIor):Cache the address
6819         of the local host. (ior_to_object): Return the local object
6820         where possible. (run): Register/unregister this ORB.
6821         * gnu/CORBA/Poa/LocalRequest.java (v_invoke): Call gnuPOA.checkDiscarding.      
6822         * gnu/CORBA/Poa/gnuPOA.java (checkDiscarding): Made package private.
6823         * gnu/CORBA/Poa/gnuServantObject.java (noRetain): New field.
6824         (constructors): Initialize noRetain. (_invoke): Drop servant
6825         if noRetain is true. (getHandler): Always seach for the new servant
6826         if noRetain is true.
6827         * gnu/CORBA/SimpleDelegate.java (create_request): Implemented.
6828         * NEWS: Added note about the new feature.
6829
6830 2006-09-05  David Gilbert  <david.gilbert@object-refinery.com>
6831
6832         * java/awt/Choice.java
6833         (addItem): Fixed API doc glitch.
6834
6835 2006-09-05  Francis Kung  <fkung@redhat.com>
6836
6837         * java/awt/image/LookupOp.java: Updated documentation & formatting.
6838         (createCompatibleDestImage): Re-implemented.
6839         (filter(BufferedImage, BufferedImage)): Added check for src/dest image
6840         compatibility, and use ColorConvertOp for color conversion if needed.
6841         (filter(Raster, WritableRaster)): Made exceptions more descriptive.
6842
6843 2006-09-05  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
6844
6845         gnu/CORBA/CDR/Vio.java,
6846         org/omg/CORBA_2_3/ORB.java,
6847         org/omg/CORBA_2_3/portable/InputStream.java,
6848         org/omg/CORBA_2_3/portable/OutputStream.java,
6849         org/omg/CosNaming/BindingIteratorHelper.java,
6850         org/omg/CosNaming/BindingTypeHelper.java,
6851         org/omg/CosNaming/NameComponentHelper.java,
6852         org/omg/CosNaming/NameHelper.java,
6853         org/omg/CosNaming/NamingContextExtHelper.java,
6854         org/omg/CosNaming/NamingContextExtPackage/AddressHelper.java,
6855         org/omg/CosNaming/NamingContextExtPackage/InvalidAddressHelper.java,
6856         org/omg/CosNaming/NamingContextExtPackage/InvalidAddressHolder.java,
6857         org/omg/CosNaming/NamingContextExtPackage/StringNameHelper.java,
6858         org/omg/CosNaming/NamingContextExtPackage/URLStringHelper.java,
6859         org/omg/CosNaming/NamingContextHelper.java,
6860         org/omg/CosNaming/NamingContextPackage/AlreadyBoundHelper.java,
6861         org/omg/CosNaming/NamingContextPackage/InvalidName.java,
6862         org/omg/CosNaming/NamingContextPackage/InvalidNameHelper.java,
6863         org/omg/CosNaming/NamingContextPackage/NotEmptyHelper.java,
6864         org/omg/CosNaming/NamingContextPackage/NotFoundReasonHelper.java,
6865         org/omg/CosNaming/NamingContextPackage/NotFoundReasonHolder.java,
6866         org/omg/DynamicAny/AnySeqHelper.java,
6867         org/omg/DynamicAny/DynAnyFactoryHelper.java,
6868         org/omg/DynamicAny/DynAnyFactoryOperations.java,
6869         org/omg/DynamicAny/DynAnyFactoryPackage/InconsistentTypeCodeHelper.java,
6870         org/omg/DynamicAny/DynAnyHelper.java,
6871         org/omg/DynamicAny/DynAnyOperations.java,
6872         org/omg/DynamicAny/DynAnyPackage/InvalidValueHelper.java,
6873         org/omg/DynamicAny/DynAnyPackage/TypeMismatchHelper.java,
6874         org/omg/DynamicAny/DynAnySeqHelper.java,
6875         org/omg/DynamicAny/DynArrayHelper.java,
6876         org/omg/DynamicAny/DynEnumHelper.java,
6877         org/omg/DynamicAny/DynFixedHelper.java,
6878         org/omg/DynamicAny/DynSequenceHelper.java,
6879         org/omg/DynamicAny/DynStructHelper.java,
6880         org/omg/DynamicAny/DynStructOperations.java,
6881         org/omg/DynamicAny/DynUnionHelper.java,
6882         org/omg/DynamicAny/DynValueHelper.java,
6883         org/omg/DynamicAny/NameDynAnyPairHelper.java,
6884         org/omg/DynamicAny/NameDynAnyPairSeqHelper.java,
6885         org/omg/IOP/CodecFactoryHelper.java,
6886         org/omg/IOP/CodecFactoryPackage/UnknownEncodingHelper.java,
6887         org/omg/IOP/CodecOperations.java,
6888         org/omg/IOP/CodecPackage/FormatMismatchHelper.java,
6889         org/omg/IOP/CodecPackage/InvalidTypeForEncodingHelper.java,
6890         org/omg/IOP/CodecPackage/TypeMismatchHelper.java,
6891         org/omg/IOP/ComponentIdHelper.java,
6892         org/omg/IOP/ExceptionDetailMessage.java,
6893         org/omg/IOP/MultipleComponentProfileHelper.java,
6894         org/omg/IOP/ProfileIdHelper.java,
6895         org/omg/IOP/ServiceContextListHelper.java,
6896         org/omg/IOP/ServiceIdHelper.java,
6897         org/omg/IOP/TAG_CODE_SETS.java,
6898         org/omg/PortableInterceptor/ClientRequestInfoOperations.java,
6899         org/omg/PortableInterceptor/ClientRequestInterceptorOperations.java,
6900         org/omg/PortableInterceptor/CurrentHelper.java,
6901         org/omg/PortableInterceptor/IORInfo.java,
6902         org/omg/PortableInterceptor/IORInterceptor_3_0Helper.java,
6903         org/omg/PortableInterceptor/ORBIdHelper.java,
6904         org/omg/PortableInterceptor/ORBInitInfoOperations.java,
6905         org/omg/PortableInterceptor/ORBInitInfoPackage/InvalidNameHelper.java,
6906         org/omg/PortableInterceptor/ORBInitializerOperations.java,
6907         org/omg/PortableInterceptor/ObjectReferenceFactoryHelper.java,
6908         org/omg/PortableInterceptor/ObjectReferenceTemplateHelper.java,
6909         org/omg/PortableInterceptor/RequestInfoOperations.java,
6910         org/omg/PortableInterceptor/ServerIdHelper.java,
6911         org/omg/PortableInterceptor/ServerRequestInfoOperations.java,
6912         org/omg/PortableInterceptor/ServerRequestInterceptorOperations.java,
6913         org/omg/PortableServer/AdapterActivatorOperations.java,
6914         org/omg/PortableServer/CurrentHelper.java,
6915         org/omg/PortableServer/CurrentPackage/NoContextHelper.java,
6916         org/omg/PortableServer/ForwardRequestHelper.java,
6917         org/omg/PortableServer/IdAssignmentPolicyValue.java,
6918         org/omg/PortableServer/IdUniquenessPolicyValue.java,
6919         org/omg/PortableServer/ImplicitActivationPolicyValue.java,
6920         org/omg/PortableServer/LifespanPolicyValue.java,
6921         org/omg/PortableServer/POA.java,
6922         org/omg/PortableServer/POAHelper.java,
6923         org/omg/PortableServer/POAManagerPackage/AdapterInactiveHelper.java,
6924         org/omg/PortableServer/POAManagerPackage/State.java,
6925         org/omg/PortableServer/POAOperations.java,
6926         org/omg/PortableServer/POAPackage/AdapterAlreadyExistsHelper.java,
6927         org/omg/PortableServer/POAPackage/AdapterNonExistentHelper.java,
6928         org/omg/PortableServer/POAPackage/InvalidPolicy.java,
6929         org/omg/PortableServer/POAPackage/NoServantHelper.java,
6930         org/omg/PortableServer/POAPackage/ObjectAlreadyActiveHelper.java,
6931         org/omg/PortableServer/POAPackage/ObjectNotActiveHelper.java,
6932         org/omg/PortableServer/POAPackage/ServantAlreadyActiveHelper.java,
6933         org/omg/PortableServer/POAPackage/ServantNotActiveHelper.java,
6934         org/omg/PortableServer/POAPackage/WrongAdapterHelper.java,
6935         org/omg/PortableServer/POAPackage/WrongPolicyHelper.java,
6936         org/omg/PortableServer/RequestProcessingPolicyValue.java,
6937         org/omg/PortableServer/ServantActivatorHelper.java,
6938         org/omg/PortableServer/ServantLocatorHelper.java,
6939         org/omg/PortableServer/ServantLocatorOperations.java,
6940         org/omg/PortableServer/ServantRetentionPolicyValue.java,
6941         org/omg/PortableServer/ThreadPolicyValue.java,
6942         org/omg/PortableServer/_ServantActivatorStub.java,
6943         org/omg/PortableServer/_ServantLocatorStub.java,
6944         org/omg/PortableServer/portable/Delegate.java: Documentation fixes.
6945
6946 2006-09-05  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
6947
6948         * javax/rmi/CORBA/Tie.java,
6949         org/omg/CORBA/AnyHolder.java,
6950         org/omg/CORBA/AnySeqHelper.java,
6951         org/omg/CORBA/AnySeqHolder.java,
6952         org/omg/CORBA/BooleanHolder.java,
6953         org/omg/CORBA/BooleanSeqHelper.java,
6954         org/omg/CORBA/BooleanSeqHolder.java,
6955         org/omg/CORBA/ByteHolder.java,
6956         org/omg/CORBA/CharHolder.java,
6957         org/omg/CORBA/CharSeqHelper.java,
6958         org/omg/CORBA/CharSeqHolder.java,
6959         org/omg/CORBA/Context.java,
6960         org/omg/CORBA/CurrentHelper.java,
6961         org/omg/CORBA/CustomValue.java,
6962         org/omg/CORBA/DataOutputStream.java,
6963         org/omg/CORBA/DefinitionKindHelper.java,
6964         org/omg/CORBA/DomainManagerOperations.java,
6965         org/omg/CORBA/DoubleHolder.java,
6966         org/omg/CORBA/DoubleSeqHelper.java,
6967         org/omg/CORBA/DoubleSeqHolder.java,
6968         org/omg/CORBA/DynAny.java,
6969         org/omg/CORBA/DynSequence.java,
6970         org/omg/CORBA/DynValue.java,
6971         org/omg/CORBA/DynamicImplementation.java,
6972         org/omg/CORBA/FieldNameHelper.java,
6973         org/omg/CORBA/FixedHolder.java,
6974         org/omg/CORBA/FloatHolder.java,
6975         org/omg/CORBA/FloatSeqHelper.java,
6976         org/omg/CORBA/FloatSeqHolder.java,
6977         org/omg/CORBA/IdentifierHelper.java,
6978         org/omg/CORBA/IntHolder.java,
6979         org/omg/CORBA/LocalObject.java,
6980         org/omg/CORBA/LongHolder.java,
6981         org/omg/CORBA/LongLongSeqHelper.java,
6982         org/omg/CORBA/LongLongSeqHolder.java,
6983         org/omg/CORBA/LongSeqHelper.java,
6984         org/omg/CORBA/LongSeqHolder.java,
6985         org/omg/CORBA/ORB.java,
6986         org/omg/CORBA/ObjectHelper.java,
6987         org/omg/CORBA/ObjectHolder.java,
6988         org/omg/CORBA/OctetSeqHelper.java,
6989         org/omg/CORBA/OctetSeqHolder.java,
6990         org/omg/CORBA/PolicyErrorCodeHelper.java,
6991         org/omg/CORBA/PolicyErrorHelper.java,
6992         org/omg/CORBA/PolicyHelper.java,
6993         org/omg/CORBA/PolicyListHelper.java,
6994         org/omg/CORBA/PolicyTypeHelper.java,
6995         org/omg/CORBA/PrincipalHolder.java,
6996         org/omg/CORBA/RepositoryIdHelper.java,
6997         org/omg/CORBA/Request.java,
6998         org/omg/CORBA/ShortHolder.java,
6999         org/omg/CORBA/ShortSeqHelper.java,
7000         org/omg/CORBA/ShortSeqHolder.java,
7001         org/omg/CORBA/StringSeqHelper.java,
7002         org/omg/CORBA/StringSeqHolder.java,
7003         org/omg/CORBA/ULongLongSeqHelper.java,
7004         org/omg/CORBA/ULongLongSeqHolder.java,
7005         org/omg/CORBA/ULongSeqHelper.java,
7006         org/omg/CORBA/ULongSeqHolder.java,
7007         org/omg/CORBA/UShortSeqHelper.java,
7008         org/omg/CORBA/UShortSeqHolder.java,
7009         org/omg/CORBA/ValueBaseHelper.java,
7010         org/omg/CORBA/ValueBaseHolder.java,
7011         org/omg/CORBA/VersionSpecHelper.java,
7012         org/omg/CORBA/WCharSeqHelper.java,
7013         org/omg/CORBA/WCharSeqHolder.java,
7014         org/omg/CORBA/WStringSeqHelper.java,
7015         org/omg/CORBA/WStringSeqHolder.java,
7016         org/omg/CORBA/WrongTransactionHelper.java,
7017         org/omg/CORBA/_IDLTypeStub.java,
7018         org/omg/CORBA/_PolicyStub.java,
7019         org/omg/CORBA/portable/BoxedValueHelper.java,
7020         org/omg/CORBA/portable/Delegate.java,
7021         org/omg/CORBA/portable/ObjectImpl.java,
7022         org/omg/CORBA/portable/ServantObject.java,
7023         org/omg/CORBA/portable/StreamableValue.java,
7024         org/omg/CosNaming/BindingType.java,
7025         org/omg/CosNaming/IstringHelper.java,
7026         org/omg/DynamicAny/FieldNameHelper.java,
7027         org/omg/PortableServer/Servant.java: Documentation fixes.
7028
7029 2006-09-04  David Gilbert  <david.gilbert@object-refinery.com>
7030
7031         * java/awt/Rectangle.java
7032         (setRect(double, double, double, double)): Modified rounding of input
7033         values.
7034
7035 2006-09-03  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
7036
7037         * gnu/javax/swing/text/html/parser/HTML_401F.java (defineElements):
7038         Disallow H1 - H6 in the paragraphs.
7039         * gnu/javax/swing/text/html/parser/support/textPreProcessor.java
7040         (preprocess): Leave at most one leading and/or trailing space.
7041         * javax/swing/text/html/HTMLDocument.java (HTMLReader.handleText):
7042         Do not add any text after closing the HTML tag.
7043
7044 2006-09-02  Roman Kennke  <kennke@aicas.com>
7045
7046         PR 28928
7047         * javax/swing/plaf/basic/BasicTextUI.java
7048         (RootView.getPreferredSpan): Default to 10 when there is no
7049         real view.
7050         (RootView.getMinimumSpan): Forward to view and default to 10
7051         when there is no real view.
7052         (RootView.getMaximumSpan): Return Integer.MAX_VALUE.
7053         (getMaximumSize): Check for overflow.
7054         * javax/swing/text/FieldView.java
7055         (getResizeWeight): Removed unneeded assignment.
7056
7057 2006-09-01  Francis Kung  <fkung@redhat.com>
7058         * java/awt/image/ColorConvertOp.java
7059         (copyImage): Updated javadoc and comments.
7060         (copyRaster): Add javadoc.
7061         (createCompatibleColorModel): Add javadocs and comments.
7062         (createCompatibleDestImage): Use correct transfer type.
7063         (createCompatibleDestRaster): Add new parameter for transfer type.
7064         (filter): Use correct transfer type.
7065         * java/awt/image/ConvolveOp.java: Updated javadocs.
7066         (createCompatibleDestImage): Set new image properties correctly.
7067         (filter(BufferedImage, BufferedImage): Correct handling of premultiplication.
7068         (filter(WritableRaster, Raster): Clip sample values to [0-255].
7069
7070 2006-09-01  Robert Schuster  <robertschuster@fsfe.org>
7071
7072         * javax/swing/table/DefaultTableModel.java:
7073         (checkSize): Added null check for dataVector.
7074
7075 2006-09-01  Robert Schuster  <robertschuster@fsfe.org>
7076
7077         * javax/swing/plaf/basic/BasicSplitPaneUI.java:
7078         (BasicHorizontalLayout.getAlignmentX): Return fixed value.
7079         (BasicHorizontalLayout.getAlignmentY): Return fixed value.
7080
7081 2006-09-01  Robert Schuster  <robertschuster@fsfe.org>
7082
7083         * javax/swing/plaf/metal/MetalCheckBoxIcon.java:
7084         (paintIcon): Removed unused import statements, lowered cast requirement
7085         from JCheckBox to AbstractButton.
7086
7087 2006-09-01  Robert Schuster  <robertschuster@fsfe.org>
7088
7089         * javax/swing/plaf/basic/BasicLookAndFeel.java:
7090         (initComponentDefaults): Added, changed and removed some
7091         tabbed pane properties.
7092
7093 2006-09-01  Robert Schuster  <robertschuster@fsfe.org>
7094
7095         * examples/gnu/classpath/examples/swing/TabbedPaneDemo.java:
7096         (createContent): Changed menu item name and tab naming.
7097
7098 2006-09-01  Roman Kennke  <kennke@aicas.com>
7099
7100         PR 28922
7101         * javax/swing/plaf/basic/BasicHTML.java
7102         (HTMLRootView.getAttributes): Overridden to return null.
7103         (HTMLRootView.getElement): Overridden to return the view's
7104         element.
7105
7106 2006-09-01  Robert Schuster  <robertschuster@fsfe.org>
7107
7108         * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
7109         (calculateTabAreaHeight): Use getTabRunOverlay method instead
7110         of accessing variable directly.
7111         (calculateTabAreaWidth): Dito.
7112
7113 2006-08-31  Keith Seitz  <keiths@redhat.com>
7114
7115         * include/jvmti.h: Include jvmti_md.h.
7116
7117 2006-08-31  Keith Seitz  <keiths@redhat.com>
7118
7119         From Martin Platter  <motse@complang.tuwien.ac.at>:
7120         * Makefile.am (include_HEADERS): Include jvmti.h.
7121         * include/jvmti.h (jvmtiEnv) [!__cplusplus]: Add missing '*'.
7122         (jvmtiError): Remove superfluous comma after last entry.
7123         (jvmtiEvent): It's "BREAKPOINT" not "BERAKPOINT".
7124         (_Jv_jvmtiEnv.StopThread): Add missing exception parameter.
7125         (_Jv_jvmtiEnv.RawMonitorWait): Add missing millis parameter.
7126         (_Jv_jvmtiEnv.GetSourceFileName): source_name_ptr is pointer to
7127         character pointer.
7128         (_Jv_JVMTIEnv::StopThread): Add missing exception parameter.
7129         (_Jv_JVMTIEnv::RawMonitorWait): Add missing millis parameter.
7130         (_Jv_JVMTIEnv::GetSourceFileName): source_name_ptr is pointer to
7131         character pointer.
7132
7133 2006-08-31  Roman Kennke  <kennke@aicas.com>
7134
7135         * javax/swing/text/BoxView.java
7136         (getWidth): Return the width with insets added, not with one
7137         added and one removed.
7138         (getHeight): Return the height with insets added, not with one
7139         added and one removed.
7140         * javax/swing/text/GlyphView.java
7141         (DefaultGlyphPainter.viewToModel): Need to add the start offset.
7142         * javax/swing/text/ParagraphView.java
7143         (Row.getAlignment): Adjust alignment with respect to
7144         the justification attribute.
7145         (Row.getLeftInset): Overridden to adjust for firstLineIndent
7146         attribute.
7147         * javax/swing/text/html/CSS.java
7148         (getValue): Convert length values.
7149         * javax/swing/text/html/Paragraph.java
7150         (painter): New field.
7151         (paint): Implemented to delegate painting to the BoxPainter too.
7152         (setPropertiesFromAttributes): Implemented to load attributes
7153         from CSS.
7154         * javax/swing/text/html/StyleSheet.java
7155         (BoxPainter.as): Removed field.
7156         (BoxPainter.leftInset): New field.
7157         (BoxPainter.bottomInset): New field.
7158         (BoxPainter.rightInset): New field.
7159         (BoxPainter.topInset): New field.
7160         (BoxPainter.BoxPainter): Implemented to load the insets from
7161         CSS.
7162         (BoxPainter.getInset): Implemented.
7163         * gnu/javax/swing/text/html/Length.java: New class.
7164         Converts CSS length units to usable values.
7165
7166 2006-08-31  Andreas Tobler  <a.tobler@schweiz.ch>
7167
7168         * configure.ac: Add check for gethostbyname_r.
7169         Add check for MSG_NOSIGNAL and SO_NOSIGPIPE.
7170         * native/jni/native-lib/cpnet.c (SOCKET_NOSIGNAL): Define
7171         SOCKET_NOSIGNAL according to the configure check.
7172         (cpnet_send): Use SOCKET_NOSIGNAL.
7173         (cpnet_sendTo): Likewise.
7174         (cpnet_getHostByName): Use gethostbyname in case gethostbyname_r is not
7175         defined.
7176         * native/jni/native-lib/cpio.c: Define O_SYNC and O_DSYNC in case they
7177         are not available.
7178
7179         * lib/Makefile.am (cssfiles): Add new rule to install css files.
7180
7181 2006-08-31  Roman Kennke  <kennke@aicas.com>
7182
7183         * javax/swing/JEditorPane.java
7184         (getPreferredSize): Replace preferred size with minimum
7185         UI size only if the scrollable does _not_ track the viewport
7186         size and only if the viewport's size is smaller than the
7187         scrollable's size.
7188         (getScrollableTracksViewportWidth): Avoid unnecessary multiple
7189         method calls.
7190         * javax/swing/plaf/basic/BasicTextUI.java
7191         (getPreferredSize): Read-lock the document to avoid
7192         concurrency problems.
7193         (getMaximumSize): Return maximum size of the view.
7194         Read-lock the document to avoid concurrency problems.
7195         (getMinimumSize): Return minimum size of the view.
7196         Read-lock the document to avoid concurrency problems.
7197
7198 2006-08-31  Gary Benson  <gbenson@redhat.com>
7199
7200         * java/net/SocketPermission.java
7201         (maybeBracketIPv6Address): Renamed to processHostport.
7202         (processHostport): Also translate "" to "localhost".
7203         (setHostPort): Remove special cases for empty hostport and for
7204         extra colons in hostport (processHostport handles these now).
7205
7206 2006-08-31  Mark Wielaard  <mark@klomp.org>
7207
7208         * javax/swing/text/ZoneView.java (Zone): Make static class.
7209         Constructor takes axis parameter.
7210         (createZone): Create Zone with getAxis() as major axis.
7211
7212 2006-08-30  Roman Kennke  <kennke@aicas.com>
7213
7214         * javax/swing/text/ZoneView.java
7215         (loadChildren): Implemented.
7216         (getViewIndexAtPosition): Implemented.
7217         (checkZoneAt): New helper method.
7218         (splitZone): New helper method.
7219         (getPreferredZoneEnd): New helper method.
7220
7221 2006-08-30  Roman Kennke  <kennke@aicas.com>
7222
7223         * javax/swing/text/ZoneView.java: New class.
7224
7225 2006-08-30  Roman Kennke  <kennke@aicas.com>
7226
7227         * javax/swing/JMenu.java
7228         (getMenu): Removed unneeded cast.
7229         (getPopupMenuOrigin): Made positioning algorithm better respect
7230         the screen bounds.
7231         (setMenuLocation): Also set the location on the popup if it's
7232         not null.
7233         (setModel): Use menuChangeListener so that we don't override
7234         the changeListener field from AbstractButton.
7235         (setPopupMenuVisible): Use custom location if set, otherwise
7236         fallback to getPopupMenuOrigin().
7237
7238 2006-08-29  Roman Kennke  <kennke@aicas.com>
7239
7240         * javax/swing/text/InternationalFormatter.java
7241         (stringToValue): Fixed bounds check.
7242         * javax/swing/text/MaskFormatter.java
7243         (MaskFormatter): Don't explicitly set allosInvalid property.
7244         (convertStringToValue): New helper method.
7245         (convertValueToString): New helper method.
7246         (convertValue): Removed. Replaced by the 2 convert* methods
7247         above.
7248         (getPadCharAt): Removed.
7249         (isCharValid): Removed.
7250         (pad): Removed.
7251         (stringToValue): Fixed stringToValue conversion.
7252         (stripLiterals): Removed.
7253         (valueToString): Fixed valueToString conversion.
7254         * javax/swing/text/DefaultFormatter.java
7255         (DefaultFormatter): Default to commitsOnValidEdit = false.
7256
7257 2006-08-29  Roman Kennke  <kennke@aicas.com>
7258
7259         * javax/swing/text/TextAction.java
7260         (getTextComponent): Check event for null and return null in
7261         this case.
7262         (augmentList): Augment Actions based on their names.
7263         * javax/swing/text/DefaultEditorKit.java
7264         (BeginAction.actionPerformed): Check target for null.
7265         (BeginLineAction.actionPerformed): Check target for null.
7266         (CopyAction.actionPerformed): Check target for null.
7267         (CutAction.actionPerformed): Check target for null.
7268         (EndAction.actionPerformed): Check target for null.
7269         (EndLineAction.actionPerformed): Check target for null.
7270         (InsertBreakAction.actionPerformed): Check target for null.
7271         (InsertTabAction.actionPerformed): Check target for null.
7272         (PasteAction.actionPerformed): Check target for null.
7273         (SelectAllAction.actionPerformed): Check target for null.
7274         (SelectionBeginAction.actionPerformed): Check target for null.
7275         (SelectionBeginLineAction.actionPerformed): Check target for null.
7276         (SelectionEndAction.actionPerformed): Check target for null.
7277         (SelectionEndLineAction.actionPerformed): Check target for null.
7278         (SelectLineAction.actionPerformed): Check target for null.
7279         (SelectWordAction.actionPerformed): Check target for null.
7280
7281 2006-08-29  Roman Kennke  <kennke@aicas.com>
7282
7283         * javax/swing/plaf/basic/BasicTextUI.java
7284         (FocusHandler): New class. This is moved from the anonymous
7285         inner focus listener class to a static member class, and
7286         is now shared between components.
7287         (DocumentHandler): This class is combined with the PropertyHandler
7288         into the Handler class.
7289         (PropertyChangeHandler): This class is combined with the
7290         DocumentHandler into the Handler class.
7291         (Handler): New class. This combines the Property and Document
7292         handler into one class.
7293         (RootView.changedUpdate): Only forward if real view != null.
7294         (RootView.insertUpdate): Only forward if real view != null.
7295         (RootView.removeUpdate): Only forward if real view != null.
7296         (documentHandler): Removed field and replaced by handler.
7297         (focuslistener): Made field static and renamed to focusListener.
7298         (handler): New field.
7299         (kit): Lazily initialize field.
7300         (rootView): Lazily initialize field.
7301         (updateHandler): Removed and replaced by handler.
7302         (getEditorKit): Lazily instantiate field.
7303         (installDefaults): Don't set margin twice. Install correct
7304         property for disabledTextColor. Moved caret and highlighter
7305         initialization to installFixedDefaults.
7306         (installFixedDefaults): New method. Installs defaults that
7307         can't be overridden by subclasses.
7308         (installListeners): Only install focus handler when new
7309         system property gnu.swing.text.no-xlike-clipboard is not set.
7310         Lazily initialize focus handler.
7311         (installUI): Lazily initialize rootView. Install handler
7312         both for property and document changes.
7313         (uninstallDefaults): Uninstall the UI defaults.
7314         (uninstallFixedDefaults): New method. Uninstalls the fixed
7315         defaults.
7316         (installListeners): Only uninstall focus handler when not null.
7317         (uninstallUI): Uninstall property and document listener here.
7318
7319 2006-08-29  Gary Benson  <gbenson@redhat.com>
7320
7321         * java/net/SocketPermission.java
7322         (maybeBracketIPv6Address): New method.
7323         (<init>): Pass the hostport argument through the above.
7324
7325         * java/net/NetworkInterface.java (getInetAddresses):
7326         Don't bracket IPv6 addresses.
7327
7328 2006-08-28  Roman Kennke  <kennke@aicas.com>
7329
7330         * javax/swing/text/BoxView.java
7331         (calculateMinorAxisRequirements): Initialize max size
7332         with Integer.MAX_VALUE.
7333         * javax/swing/text/Utilities.java
7334         (getBreakLocation): For simple chars, scan the text directly.
7335         * javax/swing/text/WrappedPlainView.java
7336         (tabBase): New field.
7337         (tabSize): New field.
7338         (calculateBreakPosition): Use Utilities. Fixed for correct
7339         break calculation.
7340         (changedUpdate): Update children directly.
7341         (insertUpdate): Update children directly. Notify children.
7342         (removeUpdate): Update children directly. Notify children.
7343         (updateChildren): New helper method.
7344         (nextTabStop): Fixed to return correct results.
7345         (paint): Update tabBase.
7346         (updateMetrics): Update tab size.
7347
7348 2006-08-28  Roman Kennke  <kennke@aicas.com>
7349
7350         * javax/swing/text/Position.java
7351         (Bias.Forward): Initialize with 'Forward' rather then 'forward'.
7352         (Bias.Backward): Initialize with 'Backward' rather then 'backward'.
7353
7354 2006-08-28  Roman Kennke  <kennke@aicas.com>
7355
7356         * javax/swing/text/View.java
7357         (height): Removed unneeded field.
7358         (width): Removed unneeded field.
7359         (getBreakWeight): Return GoodBreakWeight when pos is after
7360         the view's span.
7361         (getToolTipText): Check view index more carefully. Avoid
7362         Rectangle creation.
7363         (insertUpdate): Only execute method body if view count > 0.
7364         When updateChildren returns false, clear the ec variable.
7365         (updateChildren): Added null checks.
7366         (viewToModel): Initialize bias array correctly.
7367         * javax/swing/text/CompositeView.java
7368         (children): Made private.
7369         (numChildren): New field.
7370         (loadChildren): Check factory for null. Don't load children
7371         when factory is null.
7372         (replace): Removed null check. Nullify removed children. Made
7373         growing the array more efficient.
7374         (getViewCount): Return numChildren rather then the real array
7375         size.
7376         * javax/swing/text/BoxView.java
7377         (getViewAtPoint): Fixed algorithm for finding the view.
7378         (replace): Made array growing more efficient.
7379         (replaceLayoutArray): New helper method for growing/patching
7380         the layout arrays.
7381         (viewToModel): Make sure we have a valid layout.
7382
7383 2006-08-28  Tania Bento  <tbento@redhat.com>
7384
7385         * java/awt/MenuShortcut.java
7386         (MenuShortcut (int, boolean)): Set keyName.
7387         (toString): Modified string output.
7388         (setKeyName): New private method.
7389
7390 2006-08-28  Roman Kennke  <kennke@aicas.com>
7391
7392         * javax/swing/text/GapContent.java
7393         (Mark.getOffset): Made assert less strict, include boundary.
7394         (search): Made package private to avoid accessor method.
7395
7396 2006-08-28  Roman Kennke  <kennke@aicas.com>
7397
7398         * javax/swing/text/StringContent.java
7399         (InsertUndo.positions): New field.
7400         (InsertUndo.redo): Update the undo positions.
7401         (InsertUndo.undo): Fetch the undo positions.
7402         (Mark): New class. Layer of indirection to allow Positions
7403         to be GC'ed while we still hold references to the Mark.
7404         (RemoveUndo.len): New field.
7405         (RemoveUndo.positions): New field.
7406         (RemoveUndo.RemoveUndo): Fetch undo positions.
7407         (RemoveUndo.redo): Re-fetch positions and string.
7408         (RemoveUndo.undo): Update undo positions.
7409         (StickyPosition.mark): New field.
7410         (StickyPosition.offset): Removed field.
7411         (StickyPosition.StickyPosition): Create new Mark. Register
7412         Position in queueOfDeath. Update reference count on mark.
7413         (StickyPosition.getOffset): Return offset stored in mark.
7414         (StickyPosition.setOffset): Removed unneeded method.
7415         (UndoPosRef): New class. Handles undo/redo on positions/marks.
7416         (EMPTY): New field.
7417         (marks): New field. Stores the marks.
7418         (positions): Removed field.
7419         (queueOfDeath): New field. Used for GCing the positions.
7420         (StringContent): Initialize queueOfDeath.
7421         (createPosition): Lazily create marks vector.
7422         (garbageCollect): New helper method. Collects positions
7423         to be GCed and updates their marks.
7424         (getChars): Fixed bounds check.
7425         (getPositionsInRange): When v == null, create new Vector,
7426         otherwise use v. Store UndoPosRefs in vector.
7427         (getString): Added comment about bug in RI.
7428         (insertString): Use new helper method for replacing the array.
7429         Correctly update positions.
7430         (length): Removed this qualifier.
7431         (remove): Use new helper method for replacing the array.
7432         Correctly update positions.
7433         (replace): New helper method for growing or patching the array.
7434         (updateUndoPositions): Implemented. Updates the positions
7435         for undo/redo operations.
7436
7437 2006-08-27  Roman Kennke  <kennke@aicas.com>
7438
7439         * javax/swing/text/StyleContext.java
7440         (NamedStyle.attributes): Made field transient.
7441         (NamedStyle.changeEvent): Made field transient.
7442         (NamedStyle.name): Removed field. The name is stored as
7443         attribute.
7444         (NamedStyle.NamedStyle(String,Style)): Call setName() for
7445         storing the name and check for null name and resolveParent.
7446         Don't initialize changeEvent.
7447         (NamedStyle.copyAttributes): Return a new NamedStyle,
7448         rather than a plain copy of the attributes field.
7449         (NamedStyle.fireStateChange): Lazily create changeEvent
7450         field.
7451         (NamedStyle.getName): Fetch name from attributes.
7452         (NamedStyle.setName): Store name from attributes.
7453         (NamedStyle.readObject): Implemented for correct
7454         deserialization.
7455         (NamedStyle.writeObject): Implemented for correct
7456         serialization.
7457         (NamedStyle.setResolveParent): When new parent is null,
7458         remove resolveParent attribute. Use addAttribute() method
7459         rather than StyleContext addAttribute().
7460         (NamedStyle.toString): Fixed to produce output equal to the
7461         RI.
7462         (SmallAttributeSet.resolveParent): New field.
7463         (SmallAttributeSet.SmallAttributeSet(AttributeSet)): Update
7464         the resolveParent field correctly.
7465         (SmallAttributeSet.SmallAttributeSet(Object[])): Don't copy
7466         array but store it directly. Update
7467         the resolveParent field correctly.
7468         (SmallAttributeSet.clone): Return this as the object is
7469         immutable.
7470         (SmallAttributeSet.containsAttributes): Make sure that keys
7471         and values are the same.
7472         (SmallAttributeSet.containsAttribute):  Make sure that keys
7473         and values are the same.
7474         (SmallAttributeSet.copyAttributes): Return this as the object is
7475         immutable.
7476         (SmallAttributeSet.equals): Fixed comparison. Two AttributeSet
7477         are equal if they have the same number of attributes and
7478         one contains the other.
7479         (SmallAttributeSet.getAttribute): Improved lookup of
7480         resolveParent.
7481         (SmallAttributeSet.getResolveParent): Improved lookup of
7482         resolveParent.
7483         (SmallAttributeSet.isEqual): When comparing object is a
7484         SmallAttributeSet, consider them equal only if they are the
7485         same object.
7486         (SmallAttributeSet.toString): Fixed to produce output equal to the
7487         RI.
7488         (attributeSetPool): New field.
7489         (defaultStyleContext): Initialize lazily.
7490         (defaultStyle): Removed field. This is stored in the style context
7491         as attribute.
7492         (listenerList): Removed field. The NamedStyle stores the
7493         listeners.
7494         (readAttributeKeys): New static field. Used for looking up
7495         the serialization mappings when reading.
7496         (search): New field. Used as search key.
7497         (staticAttributeKeys): Replaced by read/writeAttributeKeys.
7498         (styles): New field. Stores the styles and listeners.
7499         (styleTable): Removed field. Replaced by styles field.
7500         (writeAttributeKeys): New static field. Used for looking up
7501         the serialization mappings when writing.
7502         (static_initializer): Register mappings for all keys in
7503         StyleConstants.
7504         (StyleContext): Initialize styles correctly.
7505         (addAttributes): Fixed caching of immutable attributes.
7506         (addAttribute): Fixed caching of immutable attributes.
7507         (removeAttributes): Fixed caching of immutable attributes.
7508         (removeAttribute): Fixed caching of immutable attributes.
7509         (addChangeListener): Add listener to styles field.
7510         (removeChangeListener): Remove listener from styles field.
7511         (getChangeListeners): Fetch listeners from styles field.
7512         (addStyle): Add style to styles field.
7513         (cleanupPool): New method.
7514         (getDefaultStyleContext): Lazily create context.
7515         (getEmptySet): Simply return SimpleAttributeSet.EMPTY.
7516         (getMutableAttributeSet): New helper method. Used for
7517         caching.
7518         (getStaticAttribute): Fetch key from readAttributeKeys.
7519         (getStyleNames): Return names from styles field.
7520         (getStyle): Lookup style in styles field.
7521         (removeStyle): Remove style from styles field.
7522         (readAttributeSet): Fixed deserialization.
7523         (writeAttributeSet): Fixed serialization.
7524         (readObject): Fixed deserialization.
7525         (writeObject): Fixed serialization.
7526         (reclaim): Simply cleanup the pool.
7527         (registerStaticAttributeKey): Store mapping in both ways.
7528         (searchImmutableSet): New helper method for caching.
7529         (toString): Fixed for output like the RI.
7530         * javax/swing/text/StyleConstants.java
7531         (keys): New field. Stores all known keys.
7532         (StyleConstants): Store created key in keys list.
7533         * javax/swing/event/EventListenerList.java
7534         (readObject): Fixed deserialization.
7535         (writeObject): Fixed serialization.
7536
7537 2006-08-25  Roman Kennke  <kennke@aicas.com>
7538
7539         * javax/swing/text/CompositeView.java
7540         (insets): Removed. Replaced by single short fields.
7541         (top): New field. Replaces insets.
7542         (bottom): New field. Replaces insets.
7543         (left): New field. Replaces insets.
7544         (right): New field. Replaces insets.
7545         (CompositeView): Initialize insets fields.
7546         (createDefaultLocation): Removed unneeded method.
7547         (getBottomInset): Return field directly.
7548         (getTopInset): Return field directly.
7549         (getLeftInset): Return field directly.
7550         (getRightInset): Return field directly.
7551         (getInsideAllocation): Adjusted to work on new insets fields.
7552         (getViewIndex): Fixed check.
7553         (loadChildren): Don't replace the old children.
7554         (replace): Make sure that there is an array to operate on.
7555         Only set parent to null, when it is this View.
7556         (setInsets): Adjusted to work with new insets fields.
7557         (setParagraphInsets): Fixed to pull insets directly from
7558         StyleConstants.
7559
7560 2006-08-25  Roman Kennke  <kennke@aicas.com>
7561
7562         * javax/swing/text/ComponentView.java
7563         (Interceptor): New inner helper class. Used to propagate
7564         invalidate requests and cache component layout sizes.
7565         (interceptor): New field.
7566         (getAlignment): Fetch alignment from interceptor container.
7567         (getComponent): Don't create component here. This is done
7568         in setParent().
7569         (getMaximumSpan): Fetch layout info from interceptor. Check
7570         for illegal axis.
7571         (getMinimumSpan): Fetch layout info from interceptor. Check
7572         for illegal axis.
7573         (getPreferredSpan): Fetch layout info from interceptor. Check
7574         for illegal axis.
7575         (modelToView): Fixed model to view mapping.
7576         (viewToModel): Fixed view to model mapping.
7577         (paint): Check for null. Set bounds on interceptor rather
7578         then component.
7579         (setParentImpl): Install interceptor between component
7580         and hosting container.
7581         (setParent): Call super.setParent() immediately.
7582
7583 2006-08-25  Roman Kennke  <kennke@aicas.com>
7584
7585         * javax/swing/text/LabelView.java
7586         (setPropertiesFromAttributes): Only set background when
7587         the corresponding attribute is actually defined, otherwise
7588         set to null, as the StyleConstants would return black.
7589         * javax/swing/text/DefaultStyledDocument.java
7590         (ElementBuffer.documentEvent): Removed obsolete field.
7591         (ElementBuffer.change): Do prepareEdits() and finishEdits()
7592         to correctly update the element structure.
7593         (ElementBuffer.insertContentTag): Removed unused statement.
7594         (ElementBuffer.recreateAfterFracture): Removed
7595         unused obsolete method.
7596         (setCharacterAttributes): Removed unused statement.
7597
7598 2006-08-25  Roman Kennke  <kennke@aicas.com>
7599
7600         * examples/gnu/classpath/examples/swing/Demo.java
7601         (LaterMain.run): Removed unused local variable.
7602         (Demo): Don't put desktop in scrollpane.
7603         (addChildren): Removed unused method.
7604         (mkButtonBar): Added HTML demo.
7605         (mkMenuBar): Added HTML demo.
7606         (mkPanel): Removed unused method.
7607         (mkScrollPane): Removed unused method.
7608         (mkTree): Removed unused method.
7609         (valign2str): Removed unused method.
7610         * examples/gnu/classpath/examples/swing/HtmlDemo.java:
7611         Initialize text field with some HTML that already works.
7612         (DEBUG): New field. Set to true for debugging output.
7613         (createContent): Dump element tree after parsing.
7614
7615 2006-08-25  Roman Kennke  <kennke@aicas.com>
7616
7617         * javax/swing/text/html/CSS.java
7618         (getValue): Added color value conversion.
7619         * javax/swing/text/html/HTMLDocument.java
7620         (HTMLReader.ConvertAction): New class, converts HTML style tags
7621         to CSS attributes.
7622         (HTMLReader.initTags): Register ConvertAction for <font> tag.
7623         * javax/swing/text/html/InlineView.java
7624         (setPropertiesFromAttributes): Implemented to fetch
7625         CSS character attributes.
7626         * javax/swing/text/html/StyleSheet.java
7627         (addCSSAttribute): Convert value.
7628         (getBackground): Implemented to fetch CSS background color
7629         attribute.
7630         (getForeground): Implemented to fetch CSS color
7631         attribute.
7632         (getFont): Adjust font size for superscript and subscript.
7633         (translateHTMLToCSS): Rudimentary implementation that
7634         copies the original attributes, so that any CSS attributes in
7635         there are preserved.
7636         (stringToColor): Use CSSColor for conversion.
7637         * gnu/javax/swing/text/html/css/CSSColor.java:
7638         New class. Converts CSS color values to RGB color values.
7639         * gnu/javax/swing/text/html/CharacterAttributeTranslator.java:
7640         Removed. This is more or less replaced by CSSColor and the
7641         ConvertAction in HTMLReader.
7642
7643 2006-08-25  Roman Kennke  <kennke@aicas.com>
7644
7645         * javax/swing/text/BoxView.java
7646         (childReqs): Removed obsolete field.
7647         (baselineLayout): Reimplemented for correct baseline layout.
7648         (baselineRequirements): Reimplemented for correct baseline
7649         layout.
7650         (updateChildRequirements): Removed obsolete method.
7651         * javax/swing/text/GlyphView.java
7652         (DefaultGlyphPainter.getSpan): Removed unused statement.
7653         (DefaultGlyphPainter.paint): Dont paint subscript/superscript
7654         specially. The subscript/superscript layout is performed
7655         via the alignment, the font is supplied by the StyleContext.
7656         (breakView): Removed unused statements.
7657         (getAlignment): Adjust alignment according to the
7658         superscript/subscript setting.
7659         (getFont): Reimplemented to fetch the font from the style
7660         context, or from the document if the stylecontext is not
7661         available.
7662         (getPreferredSpan): Adjust span for superscript. Use switch
7663         instead of if-else.
7664         * javax/swing/text/LabelView.java
7665         (setPropertiesFromAttributes): Fetch background and foreground
7666         from document / style context.
7667         (isSubscript): Resync properties if needed.
7668         * javax/swing/text/ParagraphView.java
7669         (Row.calculateMinorAxisRequirements): Overridden to perform
7670         a baseline layout.
7671         (Row.layoutMinorAxis): Overridden to perform a baseline layout.
7672
7673 2006-08-24  Roman Kennke  <kennke@aicas.com>
7674
7675         * javax/swing/text/Utilities.java
7676         (BUF_LENGTH): Removed unused field.
7677         (drawTabbedText): Removed unneeded cast.
7678         (getBreakLocation): Removed unneeded cast.
7679         Fixed offset to account for Segments not starting at 0.
7680
7681 2006-08-24  Roman Kennke  <kennke@aicas.com>
7682
7683         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
7684         (TabbedPaneLayout.normalizeTabRuns): Removed unused statement.
7685         (TabbedPaneScrollLayout.layoutContainer): Likewise.
7686         (ScrollingPane.updateUI): Likewise.
7687         (calculateTabWidth): Rewritten to correctly and efficiently
7688         layout the tab width.
7689         (layoutLabel): Call SwingUtilities method with the tabPane
7690         as argument.
7691         (paintContentBorderLeftEdge): Removed unused statement.
7692         (paintContentBorderRightEdge): Removed unused statement.
7693         (paintContentBorder): Removed unused statement.
7694
7695 2006-08-24  Roman Kennke  <kennke@aicas.com>
7696
7697         * javax/swing/plaf/basic/BasicTextUI.java
7698         (RootView.getAttributes): Overridden to return null,
7699         as the RootView has no parent.
7700
7701 2006-08-24  Roman Kennke  <kennke@aicas.com>
7702
7703         * javax/swing/text/html/CSSParser.java: Removed.
7704         * javax/swing/text/html/CSS.java
7705         (getValue): New helper method. Returns special converter
7706         instances for certain kinds of property values.
7707         * javax/swing/text/html/HTMLDocument.java
7708         (HTMLReader.CharacterAction.start): Don't translate tags
7709         here. Instead, store the attributes directly with the tag
7710         as key.
7711         (content): Removed field. The Content object is handled
7712         by AbstractDocument.
7713         (styleSheet): Removed field. The styleSheet is the styleContext
7714         of this document and handled by the DefaultStyledDocument already.
7715         (HTMLDocument(Content,StyleSheet): Simply call super here.
7716         The super classes already handle the content and styleContext.
7717         (HTMLDocument()): Call this() with a default GapContent and
7718         StyleSheet.
7719         (getStyleSheet): Return the styleContext here.
7720         (insertUpdate): New method. Overridden to add the
7721         CONTENT dummy tag to the element's attributes.
7722         (setBase): Set the base on the styleContext.
7723         * javax/swing/text/html/HTMLEditorKit.java
7724         (styleContext): Removed unneeded field.
7725         (styleSheet): Made field private.
7726         (HTMLEditorKit): Do nothing here. The StyleSheet is
7727         created lazily in getStyleSheet(). A styleContext is not
7728         needed here.
7729         (getStyleSheet): Create StyleSheet correctly.
7730         (insertHTML): Removed unneeded cast.
7731         * javax/swing/text/html/InlineView.java
7732         (attributes): New field.
7733         (changedUpdate): Reload attributes. Trigger preferenceChanged.
7734         (getAttributes): Implemented to fetch the attributes from
7735         the stylesheet.
7736         * javax/swing/text/html/MultiAttributeSet.java: New class.
7737         Multiplexes between several AttributeSets.
7738         * javax/swing/text/html/MultiStyle.java: New class.
7739         Multiplexes between several Styles.
7740         * javax/swing/text/html/ParagraphView.java
7741         (attributes): New field.
7742         (getAttributes): Implemented to fetch the attributes from
7743         the stylesheet.
7744         * javax/swing/text/html/StyleSheet.java
7745         (CssParser): Removed inner class.
7746         (CSSStyle): New inner class. Represents a style defined
7747         by a CSS rule.
7748         (CSSStyleSheetParserCallback): New class, for parsing
7749         CSS stylesheets.
7750         (css): New field. Stores the CSS rules.
7751         (resolvedStyles): New field. Stores resolved styles.
7752         (StyleSheet): Initialize resolvedStyles map.
7753         (addRule): Removed bogus impl.
7754         (getFont): Implemented to fetch font, based on CSS rules.
7755         (getResolvedStyle): New helper method. Looks up resolved
7756         styles, and resolves a style if necessary.
7757         (resolveStyle): New pair of helper methods. Resolves
7758         CSS style rules.
7759         (getRule(String)): Provide rudimentary implementation.
7760         (getRule(Tag,Element)): Implemented.
7761         (getViewAttributes): Implemented.
7762         (loadRules): Implemented.
7763         (translateHTMLToCSS): Tagged as not implemented.
7764         * javax/swing/text/html/ViewAttributeSet.java: New class.
7765
7766 2006-08-24  Roman Kennke  <kennke@aicas.com>
7767
7768         * javax/swing/text/FlowView.java:
7769         (LogicalView.getAttributes): New method. Overrides super
7770         impl to return the attributes of the FlowView instance.
7771         * javax/swing/text/LabelView.java:
7772         (setPropertiesFromAttributes): Fetch attributes from
7773         View, rather then from the Element. (In the HTML
7774         package the getAttributes() method is overridden to
7775         return different attributes). Fetch font from the StyledDocument.
7776
7777 2006-08-24  Roman Kennke  <kennke@aicas.com>
7778
7779         * javax/swing/text/DefaultEditorKit.java:
7780         (DefaultKeyTypedAction.actionPerform): Also filter
7781         ALT and CTRL modifiers.
7782
7783 2006-08-24  Roman Kennke  <kennke@aicas.com>
7784
7785         * gnu/javax/swing/text/html/css/FontSize.java,
7786         * gnu/javax/swing/text/html/css/FontStyle.java,
7787         * gnu/javax/swing/text/html/css/FontWeight.java:
7788         New classes. Used to convert CSS font attributes to AWT/Swing
7789         Font constants.
7790
7791 2006-08-24  Francis Kung  <fkung@redhat.com>
7792         * gnu/java/awt/color/PyccConverter.java: Throw UnsupportedOperationExceptions.
7793         * java/awt/image/ColorConvertOp.java: Updated javadocs.
7794         (srccs, dstcs, rasterValid): Variables removed.
7795         (ColorConvertOp(RenderingHints)): Initialize spaces to empty array.
7796         (copyRaster): Check for null rendering hints
7797         (createCompatibleColorModel): New private method.
7798         (createCompatibleDestImage): Re-implemented.
7799         (createCompatibleDestRaster(Raster, ColorSpace, boolean)): New private method.
7800         (createCompatibleDestRaster(Raster)): Re-implemented.
7801         (filter(BufferedImage, BufferedImage)): Add checks; fix temp image creation.
7802         (filter(Raster, WritableRaster)): Add checks; fix temp raster creation.
7803         (getPoint2D): Clean up formatting.
7804         * java/awt/image/ComponentColorModel.java
7805         (constructor): use findBits method instead of passing null.
7806         (findBits): New method.
7807
7808 2006-08-24  Gary Benson  <gbenson@redhat.com>
7809
7810         * java/net/NetworkInterface.java (getInetAddresses): Bracket IPv6
7811         addresses.
7812
7813 2006-08-24  Jeroen Frijters  <jeroen@frijters.net>
7814
7815         * java/lang/ref/Reference.java
7816         (queue, nextOnQueue): Made volatile.
7817         (enqueue): Made thread safe.
7818         * java/lang/ref/ReferenceQueue.java
7819         (lock): New field.
7820         (poll): Removed synchronized.
7821         (enqueue): Changed to synchronize on lock object, to update Reference
7822         state and return success status.
7823         (dequeue, remove): Synchronize on lock object.
7824
7825 2006-08-24  Jeroen Frijters  <jeroen@frijters.net>
7826
7827         * java/security/SecureClassLoader.java
7828         (protectionDomainCache): Changed to HashMap.
7829         (SecureClassLoader): Removed redundant security check.
7830         (defineClass(String,byte[],int,int,CodeSource): Moved
7831         protection domain lookup/construction to new method.
7832         (defineClass(String,ByteBuffer,CodeSource): New method.
7833         (getProtectionDomain): New method.
7834
7835 2006-08-23  Roman Kennke  <kennke@aicas.com>
7836
7837         * javax/swing/JComponent.java
7838         (isRepainting): Made package private.
7839         (paintChild): New field.
7840         (findOpaqueParent): Removed method. This is now in
7841         paintImmediately().
7842         (findOverlapFreeParent): Removed method. This is now
7843         in paintImmediately2().
7844         (findPaintRoot): Removed method. This is now
7845         in paintImmediately2().
7846         (isCompletelyObscured): Changed to take rectangle as single
7847         ints as argument.
7848         (isPaintingDoubleBuffered): Removed method. This is now
7849         in paintImmediately2().
7850         (isPartiallyObscured): New helper method.
7851         (onTop): New helper method for optimization.
7852         (paintChildren): Paint only to specific child when
7853         requested like this from paintImmediately2().
7854         (paintDoubleBuffered): Changed to take rectangle as single int
7855         arguments.
7856         (paintImmediately2): Changed to take rectangle as single int
7857         arguments. Optimized determination of paint root.
7858         (paintImmediately(Rectangle)): Change to delegate to
7859         paintImmediately(int,int,int,int).
7860         (paintImmediately(int,int,int,int)): Look for opaque ancestor
7861         and start painting there.
7862         (paint): Call paintDoubleBuffered() with int arguments. Only
7863         paint component, when not completely occupied by opaque child.
7864         (processKeyBinding): Removed unnecessary cast.
7865         (isOccupiedByChild): New helper method.
7866         * javax/swing/RepaintManager.java
7867         (repaintUnderway): Removed obsolete field.
7868         (commitRequests): Removed obsolete field.
7869         (RepaintManager): Removed initialization of obsolete fields.
7870         (addDirtyRegion): Removed unused statement.
7871         (commitBuffer): Changed to take plain ints as argument.
7872         (compileRepaintRoots): Optimized to avoid use of Rectangle.
7873         Compute offsets in place, rather than using SwingUtilities.
7874         (paintDirtyRegions): Removed unused field.
7875         * javax/swing/JMenuItem.java
7876         (onTop): Return true when not descendant of JInternalFrame.
7877         * javax/swing/JPopupMenu.java
7878         (onTop): Return true.
7879         * javax/swing/JToolTip.java
7880         (onTop): Return true.
7881         * javax/swing/JViewport.java
7882         (paintImmediately2): Change signature to match the
7883         corresponding JComponent method.
7884
7885 2006-08-23  Tania Bento  <tbento@redhat.com>
7886
7887         * java/awt/Color.java
7888         (brighter): Modified algorithm to correctly determine the
7889         new brighter colour.
7890
7891 2006-08-23  Roman Kennke  <kennke@aicas.com>
7892
7893         * java/awt/Container.java
7894         (maxSize): Removed field. This is already declared in Component.
7895         (validateTree): Check for ContainerPeer. Don't addNotify here.
7896         Only validate Component instances if they are invalid.
7897
7898 2006-08-22  Roman Kennke  <kennke@aicas.com>
7899
7900         * javax/swing/JComponent.java
7901         (preferredSize): Removed field.
7902         (maximumSize): Removed field.
7903         (minimumSize): Removed field.
7904         (getMaximumSize): Adjusted to delegate to Component, rather
7905         then managing the size in JComponent.
7906         (getMinimumSize): Adjusted to delegate to Component, rather
7907         then managing the size in JComponent.
7908         (getPreferredSize): Adjusted to delegate to Component, rather
7909         then managing the size in JComponent.
7910         (isMaximumSizeSet): Removed.
7911         (isMinimumSizeSet): Removed.
7912         (isPreferredSizeSet): Removed.
7913         (setMaximumSize): Removed.
7914         (setMinimumSize): Removed
7915         (setPreferredSize): Removed.
7916
7917 2006-08-22  Roman Kennke  <kennke@aicas.com>
7918
7919         * javax/swing/AbstractButton.java
7920         (ButtonChangeListener.stateChanged): Delegate to combined
7921         handler.
7922         (EventHandler): New inner class. Handles all three types
7923         of events on the model.
7924         (eventHandler): New field. Stores the combined event
7925         handler.
7926         (AbstractButton): Moved listener initialization to
7927         setModel().
7928         (createActionListener): Return combined handler.
7929         (createChangeListener): Return combined handler.
7930         (createItemListener): Return combined handler.
7931         (getEventHandler): New helper method for creating the combined
7932         handler.
7933         (setModel): Initialize listeners here.
7934         * javax/swing/plaf/basic/BasicButtonListener.java
7935         (ButtonAction): New class. Implements the keyboard action
7936         for buttons.
7937         (checkOpacity): Implemented.
7938         (createDefaultActionMap): New helper method.
7939         (installKeyboardActions): Rewritten to install InputMap
7940         and ActionMap according to 'new' keyboard input method.
7941         (mouseClicked): Commented as no-op.
7942         (mouseDragged): Commented as no-op.
7943         (mouseMoved): Commented as no-op.
7944         (propertyChange): Check for contentAreaFilled change and
7945         update opacity. Pull handling of HTLM in font and text handler.
7946         (stateChanged): Repaint button.
7947         (uninstallKeyboardActions): Properly uninstall keyboard actions.
7948         * javax/swing/plaf/basic/BasicButtonUI.java
7949         (listener): Removed.
7950         (sharedListener): New static field. Stores the shared listener.
7951         (sharedUI): New static field. Stores the shared UI.
7952         (createButtonListener): Return shared instance here.
7953         (createUI): Return shared instance here.
7954         (getButtonListener): New helper method. Looks for the
7955         BasicButtonListener installed on a button and returns it.
7956         (installDefaults): Correctly install rollover property here.
7957         Fetch defaultTextShiftOffset. Initialize opaqueness correctly.
7958         (installKeyboardActions): Fetch listener with new helper method.
7959         (installListeners): Don't use removed field. Check for null.
7960         (installUI): Added comment about order of method invocations.
7961         (uninstallDefaults): Don't uninstall non-uninstallable properties.
7962         (uninstallKeyboardActions): Fetch listener with new helper method.
7963         (uninstallListeners): Fetch listener with new helper method.
7964         (paintIcon): Paint icon offset when pressed and armed.
7965         * javax/swing/plaf/metal/MetalButtonListener.java: Removed.
7966         * javax/swing/plaf/metal/MetalButtonUI.java
7967         (sharedUI): New field. Stores the shared UI.
7968         (MetalButtonUI): Don't initialize fields here.
7969         (createButtonListener): Removed method. Use super impl.
7970         (createUI): Return shared instance.
7971         (getDisabledTextColor): Update field here.
7972         (getFocusColor): Update field here.
7973         (getSelectColor): Update field here.
7974         (installDefaults): Don't handle rollover property here.
7975         (uninstallDefaults): Don't handle rollover property here.
7976         (paintButtonPressed): Use accessor method to update the
7977         field value.
7978
7979 2006-08-21  Mark Wielaard  <mark@klomp.org>
7980
7981         Merge NATIVE_LAYER branch.
7982
7983         2006-08-20  Mark Wielaard  <mark@klomp.org>
7984
7985         * doc/tools.texinfo: Add file from trunk.
7986         * native/jni/Makefile.am (DIST_SUBDIRS): Add native-lib.
7987         * native/jni/java-io/java_io_VMFile.c: Include lstat and readlink
7988         headers.
7989         * native/jni/java-lang/java_lang_VMProcess.c
7990         (Java_java_lang_VMProcess_nativeSpawn): Remove redirect argument.
7991         * native/jni/java-net/java_net_VMInetAddress.c
7992         (Java_java_net_VMInetAddress_getHostByName): Remove unused variable.
7993         * native/jni/native-lib/Makefile.am: Remove empty and nonexisting
7994         files.
7995         * native/jni/native-lib/cpio.c (cpio_setFileReadonly): Use correct
7996         mask.
7997         * native/jni/native-lib/cpnet.c (cpnet_connect): Removed unused
7998         theaddr.
7999         * native/jni/native-lib/cpnet.h (cpnet_freeAddresses): Moved from
8000         cpnet.h.
8001         * native/jni/native-lib/cpnet.h (cpnet_freeAddresses): Declare,
8002         don't implement.
8003         * vm/reference/java/lang/VMProcess.java: Removed unused redirect
8004         argument.
8005         * include/java_lang_VMProcess.h: Regenerated.
8006
8007         2006-07-09  Guilhem Lavaux  <guilhem@kaffe.org>
8008
8009         * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c
8010         (nativeReceive): Fixed the type of the arrays (use java types).
8011         (nativeSendTo): Force throwing an exception if port is 0.
8012
8013         * native/jni/java-net/javanet.c:
8014         (_javanet_accept): Throw SocketTimeoutException if ETIMEDOUT is
8015         returned.
8016         (_javanet_recvfrom): Likewise.
8017         (_javanet_sendto): Throw a NullPointerException if the socket is
8018         not connected and no address is given.
8019         
8020         * native/jni/java-net/javanet.h
8021         (NULL_EXCEPTION): Defined.
8022
8023         2006-06-16  Guilhem Lavaux  <guilhem@kaffe.org>
8024
8025         * native/jni/java-net/java_net_VMInetAddress.c
8026         (Java_java_net_VMInetAddress_getHostByName): Fix detection of
8027         error.
8028
8029         * native/jni/java-net/javanet.c
8030         (_javanet_accept): Fixed bogus call to TARGET.
8031         (_javanet_create_inetaddress): Fixed address generation. Fixed
8032         bogus memory free.
8033         (_javanet_bind): set "Reuse address" flag.
8034
8035         * native/jni/native-lib/cpio.c
8036         (cpio_getModificationTime): Fixed type.
8037         (cpio_removeFile): Use rmdir too.
8038
8039         * native/jni/native-lib/cpnet.c
8040         (cpnet_getHostByName): Fixed error detection.
8041
8042         * native/jni/native-lib/cpnet.h
8043         (cpnet_newIPV4address, cpnet_newIPV6address): Put zero in the
8044         memory.
8045         (cpnet_IPV4AddressToBytes): Fixed types.
8046         
8047         2006-06-10  Guilhem Lavaux  <guilhem@kaffe.org>
8048
8049         * native/jni/native-lib/cpio.c
8050         (cpio_openDir, cpio_closeDir, cpio_readDir): Implemented.
8051
8052         * native/jni/native-lib/cpnet.h:
8053         (cpnet_bytesToIPV4Address): Fixed type casting to avoid being
8054         messed by signs in jbyte.
8055         
8056         * native/jni/native-lib/cpproc.h
8057         (CPIO_EXEC_NUM_PIPES): Compilation fix.
8058
8059         2006-05-09  Guilhem Lavaux  <guilhem@kaffe.org>
8060
8061         * native/jni/native-lib/cpnet.c
8062         (cpnet_getSocketTimeout, cpnet_setSocketTimeout): Reimplemented.
8063         (waitForWritable, waitForReadable): New functions.
8064         (socketTimeouts): New static global table to hold timeouts for all
8065         socket fds.
8066         (cpnet_accept,cpnet_bind,cpnet_sendTo,cpnet_recv,cpnet_recvFrom):
8067         Added waitForXXXX safeguards to handle socket timeouts.
8068
8069         * native/jni/java-net/javanet.c
8070         (_javanet_accept): Check for the right error value when a timeout
8071         occurs.
8072         
8073         2006-03-25  Guilhem Lavaux  <guilhem@kaffe.org>
8074
8075         * native/jni/java-io/Makefile.am,
8076         native/jni/java-lang/Makefile.am,
8077         native/jni/java-net/Makefile.am,
8078         native/jni/java-nio/Makefile.am: Link to libclasspathnative.la now.
8079
8080         * native/jni/native-lib/Makefile.am: Added cpproc.c
8081
8082         * native/jni/native-lib/cpio.c: Implemented missing functions for
8083         CPIO.
8084
8085         * native/jni/native-lib/cpnet.c
8086         (cpnet_getHostByName): Fixed address array initialization.
8087         
8088         * native/jni/native-lib/cpproc.c: Implemented.
8089         
8090         2006-02-19  Guilhem Lavaux  <guilhem@kaffe.org>
8091
8092         * configure.ac: Invoke GCC_ATTRIBUTE_UNUSED.
8093
8094         * m4/gcc_attribute.m4: New file from ac_archive.
8095         
8096         * native/jni/java-net/javanet.c: Adapted to cpnet API
8097         modification.
8098
8099         * native/jni/native-lib/cpnet.c: Implemented.
8100
8101         * native/jni/native-lib/cpnet.h
8102         (cpnet_openSocketDatagram,
8103         cpnet_openSocketStream): These calls need an address family now.
8104         (cpnet_IPV4AddressToBytes,
8105         cpnet_bytesToIPV4Address): Convert the address to network order.
8106         
8107         2006-02-19  Guilhem Lavaux  <guilhem@kaffe.org>
8108
8109         * native/jni/java-io/java_io_VMFile.c,
8110         native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c,
8111         native/jni/midi-dssi/dssi_data.h,
8112         native/jni/native-lib/cpio.c,
8113         native/jni/native-lib/cpmath.h: Removed cpmath
8114         dependency. Fixed coding style.
8115
8116         2006-02-18  Guilhem Lavaux  <guilhem@kaffe.org>
8117
8118         * native/jni/java-lang/java_lang_VMProcess.c: Removed TARGET
8119         dependency. Simplified the JNI code by moving some part into the
8120         native layer.
8121
8122         * native/jni/native-lib/cpproc.h: New interface to handle processes.
8123
8124         2006-02-18  Guilhem Lavaux  <guilhem@kaffe.org>
8125
8126         * native/jni/java-net/java_net_VMInetAddress.c: Fixed compilation
8127         errors. Removed any remaining TARGET invocations.
8128
8129         * native/jni/java-net/javanet.c
8130         (_javanet_create_inetaddress): Removed spurious arr and
8131         octets. Fixed compilation errors.
8132
8133         * native/jni/native-lib/cpnet.h
8134         (cpnet_getHostname, cpnet_getHostByName, cpnet_getHostByAddr,
8135         cpnet_setIPV4Any, cpnet_freeAddresses, cpnet_isIPV6Address,
8136         cpnet_isIPV4Address): New functions.
8137         (cpnet_bytesToIPV4Address): Fixed interface to be consistent with
8138         the rest.
8139         
8140         2006-01-28  Guilhem Lavaux  <guilhem@kaffe.org>
8141
8142         * native/jni/java-io/java_io_VMFile.c,
8143         native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c,
8144         native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c,
8145         native/jni/java-net/javanet.c,
8146         native/jni/java-net/javanet.h: Adapted the VM layer code
8147         to the new native layer.
8148
8149         * native/jni/native-lib/cpnet.h
8150         (cpnet_addMembership,
8151         cpnet_dropMembership,
8152         cpnet_getAvailableBytes): Added the declarations of
8153         some new functions.
8154         (cpnet_newIPV6Address,
8155         cpnet_IPV6AddressToBytes,
8156         cpnet_bytesToIPV6Address): Implemented.
8157         (cpnet_newIPV4Address): Initialize the sin_family field.
8158
8159         2006-01-28  Guilhem Lavaux  <guilhem@kaffe.org>
8160
8161         * native/target: Removed.
8162
8163         * configure.ac: Removed target from CLASSPATH_INCLUDES and
8164         Makefile generation.
8165
8166         * native/jni/native-lib/Makefile.am,
8167         native/jni/native-lib/cpnet.h,
8168         native/jni/native-lib/cpnet.c
8169         native/jni/native-lib/cpio.h,
8170         native/jni/native-lib/cpio.c,
8171         native/jni/native-lib/cpmath.h: Imported new native compatibility
8172         layer.
8173
8174 2006-08-21  Roman Kennke  <kennke@aicas.com>
8175
8176         * gnu/javax/swing/text/html/css/CSSParser.java:
8177         New class.
8178         * gnu/javax/swing/text/html/css/CSSParserCallback.java:
8179         New interface.
8180         * gnu/javax/swing/text/html/css/CSSParserException.java:
8181         New exception.
8182         * gnu/javax/swing/text/html/css/CSSScanner.java:
8183         Adjusted API comments. Made all constants package private.
8184         (EOF): New constant field.
8185         (parseBuffer): Made package private.
8186         (tokenEnd): Made package private.
8187         (CSSScanner): Initialize lookahead buffer with -1.
8188         (main): Print out to System.out rather then System.err.
8189         (nextToken): Push back character after IDENT.
8190
8191 2006-08-21  Jeroen Frijters  <jeroen@frijters.net>
8192
8193         * java/io/File.java (normalizePath): Fixed handling of "//" and "\\".
8194
8195 2006-08-21  Roman Kennke  <kennke@aicas.com>
8196
8197         * gnu/javax/swing/text/html/css/CSSScanner.java
8198         (main): Use buffered input stream.
8199         (nextToken): Removed 65536 workaround. Use int value directly
8200         without cast to char.
8201         (readComment): Use int value directly without cast to char.
8202         Cast to char only when putting the character into the buffer.
8203         (readEscape): Likewise.
8204         (readIdent): Likewise.
8205         (readName): Likewise.
8206         (readNum): Likewise.
8207         (readString): Likewise.
8208         (readWhitespace): Likewise.
8209
8210 2006-08-21  Ingo Proetel  <proetel@aicas.com>
8211
8212         * java/io/InputStreamReader.java
8213         (bytesCache): New field.
8214         (cacheLock): New field.
8215         (read(byte[],int,int): Avoid allocations of new byte
8216         array on every call and reuse cached byte array if possible.
8217
8218 2006-08-21  Roman Kennke  <kennke@aicas.com>
8219
8220         * gnu/java/net/local/LocalSocketImpl.java
8221         Only load native lib if this is supported by runtime.
8222         * native/jni/java-net/local.c
8223         Include config.h unconditionally.
8224         * native/jni/java-net/gnu_java_net_local_LocalSocketImpl.c
8225         Include config.h unconditionally.
8226
8227 2006-08-21  Friedjof Siebert  <siebert@aicas.com>
8228
8229         * java/io/ObjectInputStream.java
8230         (objectLookupTable): Changed to be a Vector.
8231         (ObjectInputStream): Initialize objectLookupTable as Vector.
8232         (assignNewHandle): Store Object using handle index rather than
8233         Hashtable, using the new rememberHandle() method.
8234         (hierarchy): New method. This replaces inputGetObjectStreamClasses()
8235         with a caching in ObjectStreamClass.
8236         (inputGetObjectStreamClass): Replaced by hierarchy().
8237         (lookupHandle): New method. Looks up an object by it's handle
8238         index.
8239         (parseContent): Avoid creating of Integer objects. Use
8240         hierarchy() method for looking up the class hierarchy.
8241         (processResolution): Use rememberHandle() to store
8242         handle per index, rather than Hashtabling the object.
8243         (readFields): 
8244         (rememberHandle): New method.
8245         * java/io/ObjectOutputStream.java
8246         (OIDLookupTable): Use ObjectIdentityMap2Int instead of
8247         Hashtable for improved lookup performance.
8248         (ObjectOutputStream): Initialize OIDLookupTable as
8249         ObjectIdentityMap2Int.
8250         (assignNewHandle): Change to use ObjectIdentityMap2Int.
8251         (findHandle): Change to use ObjectIdentityMap2Int.
8252         (getBooleanField): Removed.
8253         (getByteField): Removed.
8254         (getCharField): Removed.
8255         (getDoubleField): Removed.
8256         (getField): Removed.
8257         (getFloatField): Removed.
8258         (getIntField): Removed.
8259         (getLongField): Removed.
8260         (getObjectField): Removed.
8261         (writeFields(Object,ObjectStreamClass)): Use new helper method.
8262         (writeFields(Object,ObjectStreamField)): New helper method.
8263         Use switch rather then if-else cascade.
8264         (writeObject): Use int handle, rather then Integer.
8265         * java/io/ObjectStreamClass.java
8266         (hierarchy): New field. Caches the class hierarchy.
8267         (methodCache): New field. Caches methods.
8268         (readObjectSignature): New field. Stores the read signature.
8269         (uidCache): New field. Caches UIDs.
8270         (writeObjectSignature): New field. Stores the write signature.
8271         (cacheMethods): Cache methods in methodCache.
8272         (calculateClassID): Outsourced from getClassUID()
8273         for computing the UIDs.
8274         (getClassUIDFromField): Outsourced from getClassUID() for
8275         fetching the UID from the class field.
8276         (getClassUID): Use cached uid if possible. Use new helper
8277         methods for fetching the UID from the field or computing
8278         from scratch.
8279         (getObjectStreamClasses): Removed. Replaced by more
8280         efficient hierarchy() method, that also caches the result.
8281         (hierarchy): Replaces getObjectStreamClasses() for caching
8282         the result.
8283         (loadedByBootOrApplicationClassLoader): New helper method.
8284         (setClass): Invalidate hierarchy cache.
8285         (setSuperclass): Invalidate hierarchy cache.
8286         * java/io/ObjectStreamField.java
8287         (field): Made field package private for access from other
8288         classes.
8289         * gnu/java/io/ObjectIdentityWrapper.java: Removed.
8290         * gnu/java/io/ObjectIdentityMap2Int.java: Efficient
8291         hashtable for mapping objects to ints.
8292
8293 2006-08-21  Roman Kennke  <kennke@aicas.com>
8294
8295         * java/io/File.java
8296         (getAbsolutePath): Fetch absolute path from
8297         VMFile.getAbsolutePath(). Moved actual impl to there.
8298         (isAbsolute): Let VMFile determine the absoluteness.
8299         (toURL): Let VMFile convert the filename.
8300         * vm/reference/java/io/VMFile.java
8301         (getAbsolutePath): New method.
8302         (isAbsolute): New method.
8303         (toURL): New method.
8304
8305 2006-08-21  Jeroen Frijters  <jeroen@frijters.net>
8306
8307         * NEWS: Added note about updated VM interface.
8308
8309 2006-08-20  Andrew John Hughes  <gnu_andrew@member.fsf.org>
8310
8311         * java/lang/management/ManagementFactory.java:
8312         Updated documentation.
8313         
8314 2006-08-20  Ito Kazumitsu  <kaz@maczuka.gcd.org>
8315
8316         Fixes bug #28412
8317         * gnu/java/util/regex/CharIndexed.java(move1, setHitEnd, hitEnd):
8318         New methods.
8319         * gnu/java/util/regex/CharIndexedCharSequence.java,
8320         gnu/java/util/regex/CharIndexedInputStream.java: Implemented the
8321         new methods above.
8322         * gnu/java/util/regex/RE.java(REG_FIX_STARTING_POSITION): New flag,
8323         (match): call the new method setHitEnd of the input,
8324         (getMatchImpl): Handle the new flag REG_FIX_STARTING_POSITION,
8325         Some optimization commented out, Use CharIndexed#move1 instead of move.
8326         * gnu/java/util/regex/REMatch.java: Made some debugging methods public.
8327         * gnu/java/util/regex/REToken.java(match): The method body has been
8328         moved to an internal private method, (matchFake): New method,
8329         (setHitEnd): New method.
8330         * gnu/java/util/regex/RETokenChar.java(matchThis): Call setHitEnd
8331         if the match is not complete, (matchOneString): Count the number of
8332         characters which matched the pattern.
8333         * gnu/java/util/regex/RETokenEnd.java(fake): New field,
8334         (setFake): New method, (match): Call super.match or super.matchFake.
8335         * gnu/java/util/regex/RETokenEndSub.java(setHitEnd): New method.
8336         * gnu/java/util/regex/RETokenOneOf.java(match): call the new method
8337         setHitEnd of the input,
8338         * gnu/java/util/regex/RETokenRepeated.java(match): Likewise.
8339         * java/util/regex/Matcher.java(lookingAt, match): Use the new flag
8340         RE.REG_FIX_STARTING_POSITION, (hitEnd, toString): New methods.
8341
8342 2006-08-18  Tom Tromey  <tromey@redhat.com>
8343
8344         * gnu/javax/swing/text/html/css/CSSScanner.java (readWhitespace): Push
8345         the 'int', not the cast char.
8346
8347 2006-08-18  Roger Sayle  <roger@eyesopen.com>
8348
8349         * scripts/check_jni_methods.sh: Don't use the "set -C" command
8350         which isn't available in all shells.
8351
8352 2006-08-18  Roger Sayle  <roger@eyesopen.com>
8353
8354         * lib/Makefile.am (resources): Fix some shell portability issues.
8355
8356 2006-08-18  Thomas Fitzsimmons  <fitzsim@redhat.com>
8357
8358         * configure.ac (tool-wrappers): Check for ltdl support when tool
8359         wrapper binaries are enabled.
8360         * tools/Makefile.am (LIBJVM): Remove variable.
8361         (AM_CPPFLAGS): Add LIBJVM define.
8362         (gappletviewer_LDFLAGS, gjarsigner_LDFLAGS, gkeytool_LDFLAGS,
8363         gjar_LDFLAGS, gnative2ascii_LDFLAGS, gserialver_LDFLAGS,
8364         gjavah_LDFLAGS): Remove variables.
8365         * tools/toolwrapper.c (main): Use dlopen to load libjvm library.
8366
8367 2006-08-18  Tom Tromey  <tromey@redhat.com>
8368
8369         * gnu/java/util/prefs/NodeWriter.java (writeParents): Removed
8370         debugging prints.
8371         * gnu/java/util/prefs/NodeReader.java (readNodes): Removed debugging
8372         print.
8373         (readEntries): Likewise.
8374
8375 2006-08-17  Roman Kennke  <kennke@aicas.com>
8376
8377         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
8378         (layoutLabel): Reset the text and icon rectangles.
8379
8380 2006-08-17  Thomas Fitzsimmons  <fitzsim@redhat.com>
8381
8382         PR classpath/28537
8383         * native/plugin/Makefile.am (libgcjwebplugin_la_CXXFLAGS):
8384         Transform gappletviewer name using program_transform_name.
8385
8386 2006-08-17  Jeroen Frijters  <jeroen@frijters.net>
8387
8388         * javax/swing/filechooser/FileSystemView.java
8389         (getFileSystemView): Always return UnixFileSystemView, since
8390         that's the only one we got. Marked with NotImplementedException.
8391         * javax/swing/plaf/basic/BasicFileChooserUI.java
8392         (mouseClicked, installUI): Don't parse path by hand.
8393
8394 2006-08-17  Roman Kennke  <kennke@aicas.com>
8395
8396         * javax/swing/JComponent.java
8397         (scrollRectToVisible): Handle intermediate non-JComponents
8398         more gracefully.
8399
8400 2006-08-17  Roman Kennke  <kennke@aicas.com>
8401
8402         * javax/swing/RepaintManager.java
8403         (blitBuffer): Removed. This is now done in commitBuffer().
8404         (commitBuffer): Always paint on the root window or applet.
8405         No need to look for intermediate heavyweights. Optimized
8406         rectangle translation.
8407         (commitRemainingBuffers): Removed. Not needed anymore.
8408         (getHeavyweightParent): Removed. Not needed anymore.
8409         (getOffscreenBuffer): Fetch offscreen image from the
8410         actual root component.
8411         (paintDirtyRegions): Don't call commitRemainingBuffers().
8412
8413 2006-08-17  Roman Kennke  <kennke@aicas.com>
8414
8415         * javax/swing/SwingUtilities.java
8416         (clipString): New helper method for trimming strings.
8417         (layoutCompoundLabelImpl): Fixed algorithm to conform
8418         testsuites. Trim text if it's too long. Avoid creating
8419         new Rectangles. Optimized for performance.
8420         (layoutCompoundLabel): Use switch rather then if-else-chain.
8421         * javax/swing/plaf/basic/BasicButtonUI.java
8422         (viewR): New field.
8423         (iconR): New field.
8424         (textR): New field.
8425         (paint): Reset and use cached rectangles. Only call paintIcon()
8426         if icon is not null. Don't call paintButtonPressed() when
8427         button is selected, only when it is both armed and pressed.
8428         * javax/swing/plaf/basic/BasicGraphicsUtils.java
8429         (getPreferredButtonSize): Reused cached rectangles rather
8430         then creating new ones. Don't create new Rectangle via
8431         Rectangle.union().
8432         * javax/swing/plaf/basic/BasicLabelUI.java
8433         (getPreferredSize): Correctly reset cached rectangles. Especially
8434         the view rect must have a big size to give it room for layouting.
8435         Short cut layout when text == null.
8436         (paint): Correctly reset cached rectangles.
8437         * javax/swing/plaf/basic/BasicMenuItemUI.java
8438         (resetRectangles): New helper method.
8439         (getPreferredMenuItemSize): Correctly reset the cached rectangles.
8440         (paintMenuItem): Correctly reset the cached rectangles.
8441         * javax/swing/plaf/basic/BasicRadioButtonUI.java
8442         (getPreferredSize): Use cached Rectangle objects and initialize
8443         them correctly.
8444         (paint): Use cached Rectangle objects and initialize
8445         them correctly.
8446
8447 2006-08-17  David Gilbert  <david.gilbert@object-refinery.com>
8448
8449         * java/util/Calendar.java: API doc additions.
8450
8451 2006-08-17  Robert Schuster  <robertschuster@fsfe.org>
8452
8453         * javax/swing/DefaultButtonModel.java:
8454         (setRollover): Simplified statement.
8455
8456 2006-08-17  Jeroen Frijters  <jeroen@frijters.net>
8457
8458         * gnu/java/rmi/server/RMIClassLoaderImpl.java
8459         (loadClass): Rewritten to use getClassLoader.
8460         (loadProxyClass): Implemented.
8461         (getClassLoader): Fixed support for null or empty codebase.
8462         * gnu/java/rmi/server/RMIObjectInputStream.java
8463         (resolveClass): Use user class loader as default class loader.
8464         (resolveProxyClass): Delegate to RMIClassLoader.loadProxyClass.
8465         * gnu/javax/rmi/CORBA/UtilDelegateImpl.java
8466         (loadClass): Simplified and use user class loader instead of
8467         context class loader as default.
8468         * java/io/ObjectInputStream.java
8469         (currentLoader): Use VMStackWalker.firstNonNullClassLoader().
8470         * vm/reference/gnu/classpath/VMStackWalker.java
8471         (firstNonNullClassLoader): New method.
8472         * vm/reference/java/io/VMObjectInputStream.java
8473         (loaderAction, currentClassLoader): Removed.
8474
8475 2006-08-17  Robert Schuster  <robertschuster@fsfe.org>
8476
8477         * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
8478         (getTabBounds(JTabbedPane, int)): Added code to shift rectangle
8479         by current scroll offset, added method documention.
8480         (getTabBounds(int, Rectangle)): Added method documentation.
8481         * javax/swing/plaf/metal/MetalTabbedPaneUI.java:
8482         (paintContentBorderLeftEdge): Changed y to 1.
8483
8484 2006-08-17  Robert Schuster  <robertschuster@fsfe.org>
8485
8486         * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
8487         (MouseHandler.mouseReleased): Implemented.
8488         (MouseHandler.mousePressed): Added delegation to tabbed pane.
8489         (MouseHandler.mouseEntered): Dito.
8490         (MouseHandler.mouseExited): Dito.
8491         (MouseHandler.mouseMoved): Dito.
8492         (MouseHandler.redispatchEvent): New method.
8493         (PropertyChangeHandler.propertyChange): Added extra block level,
8494         added code to handle tab placement changes, added comment.
8495         (updateViewPosition): Set unneeded coordinate to 0, added comment.
8496
8497 2006-08-16  Roman Kennke  <kennke@aicas.com>
8498
8499         * gnu/javax/swing/text/html/css/CSSScanner.java: New file.
8500         * gnu/javax/swing/text/html/css/CSSLexicalException.java:
8501         New file.
8502
8503 2006-08-16  Mark Wielaard  <mark@klomp.org>
8504
8505         * java/awt/Component.java (orientation): Renamed to
8506         componentOrientation.
8507         (setComponentOrientation): Use new field name.
8508         (getComponentOrientation): Likewise.
8509
8510 2006-08-16  Roman Kennke  <kennke@aicas.com>
8511
8512         PR 28750
8513         * javax/swing/plaf/basic/BasicTreeUI.java
8514         (CellEditorHandler.editingCancelled): Call completeEditing
8515         directly.
8516         (CellEditorHandler.editingStopped): Call completeEditing
8517         directly.
8518         (NodeDimensionHandler.getNodeDimensions): Rewritten
8519         to use the preferred sizes of the renderer and editor.
8520         (TreeExpansionHandler.treeCollapsed): Complete editing
8521         here.
8522         (TreeSelectionHandler.valueChanged): Complete editing
8523         here.
8524         (cancelEditing): Call completeEditing with false, false and
8525         false. Don't call finish (removed method).
8526         (completeEditing(boolean,boolean,boolean): Only do something when
8527         stopEditingInCompleteEditing is true. Nullify editingComponent
8528         and editingPath. Remove editingComponent from tree. Update
8529         the layout when necessary and repaint.
8530         (completeEditing): Stop editing when necessary.
8531         (editorRequestFocus): New helper method. Request focus
8532         on the actual editor.
8533         (finish) Removed. This is now done in completeEditing().
8534         (prepareForUIInstall): Set stopEditingInCompleteEditing to true.
8535         (setLargeModel): Complete editing here.
8536         (setRootVisible): Complete editing here.
8537         (setRowHeight): Complete editing here.
8538         (setSelectionModel): Complete editing here.
8539         (startEditing): Correctly initialize and start editing.
8540         (updateExpandedDescendants): Complete editing here.
8541         * javax/swing/tree/DefaultTreeCellEditor.java
8542         (DefaultTextField): Fetch size from super and use renderer's height
8543         if appropriate.
8544         (EditorContainer.EditorContainer): Set layout to null, just
8545         to make sure.
8546         (EditorContainer.doLayout): Layout so that the editor
8547         is offset to the right of the icon.
8548         (EditorContainer.getPreferredSize): Implemented to
8549         provide a reasonable preferred size.
8550         (EditorContainer.paint): Position icon in the middle.
8551         Also paint border if appropriate.
8552         (EditorContainer.setBounds): Removed.
8553         (RealEditorListener): Removed.
8554         (DefaultTreeCellEditor): Set correct border.
8555         (cancelCellEditing): Message real editor. Call finish().
8556         (createCellEditor): Don't add listener.
8557         (determineOffset): Correctly determine offset, and update
8558         the icon.
8559         (finish): New helper method.
8560         (getTreeCellEditorComponent): Set correct font. Call
8561         prepareForEditing() and determineOffset() to correctly initialize
8562         the state.
8563         (stopCellEditing): Messsage realEditor to stop editing. Call
8564         finish to clean up.
8565         (stopEditingTimer): Removed.
8566         (valueChanged): Correctly reset lastPath.
8567         * javax/swing/tree/DefaultTreeCellRenderer.java
8568         (getPreferredSize): Return super plus some extra space for
8569         better readability.
8570
8571 2006-08-16  Roman Kennke  <kennke@aicas.com>
8572
8573         * javax/swing/plaf/metal/MetalTreeUI.java
8574         (LineStyleListener): New property listener, that updates
8575         the line style setting if the corresponding property
8576         changes.
8577         (lineStyleListener): New field.
8578         (lineStyle): New field.
8579         (LINE_STYLE_ANGLED): New constant field.
8580         (LINE_STYLE_HORIZONTAL): New constant field.
8581         (LINE_STYLE_NONE): New constant field.
8582         (LINE_STYLE_VALUE_ANGLED): New constant field.
8583         (LINE_STYLE_VALUE_HORIZONTAL): New constant field.
8584         (LINE_STYLE_VALUE_NONE): New constant field.
8585         (LINE_STYLE_PROPERTY): New constant field.
8586         (decodeLineStyle): Implemented.
8587         (installUI): Install line style listener. Set initial
8588         lineStyle.
8589         (uninstallUI): Uninstall line style listener.
8590         (paintHorizontalPartOfLeg): Only call super for angled
8591         lineStyle.
8592         (paintVerticalPartOfLeg): Only call super for angled
8593         lineStyle.
8594         (paintHorizontalSeparators): Implemented.
8595         (paint): If lineStyle==HORIZONTAL, call
8596         paintHorizontalSeparators().
8597         * examples/gnu/classpath/examples/swing/TreeDemo.java
8598         (createContent): Add panel for selecting line styles.   
8599
8600 2006-08-16  Robert Schuster  <robertschuster@fsfe.org>
8601         
8602         * examples/gnu/classpath/demo/swing/TabbedPaneDemo.java:
8603         (createContent): Rewritten.
8604         (createPlacementChangingMenuItem): New method.
8605         (createLayoutPolicyChangingMenuItem): New method.
8606         (createTabbedPane): New method.
8607         (createTabContent): New method.
8608
8609 2006-08-16  Robert Schuster  <robertschuster@fsfe.org>
8610
8611         * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
8612         (MouseHandler.mousePressed): Fixed indentation, intercept clicks on
8613         disabled tabs, do proper revalidation in WRAP_TAB_LAYOUT mode.
8614
8615 2006-08-16  Robert Schuster  <robertschuster@fsfe.org>
8616
8617         * javax/swing/text/WrappedPlainView.java:
8618         (WrappedLine.modelToView): Provide variable pos as argument and not a fixed value.
8619         (calculateBreakPosition): Add p0 to return value.
8620
8621 2006-08-15  Roman Kennke  <kennke@aicas.com>
8622
8623         * javax/swing/plaf/basic/BasicTreeUI.java
8624         (MouseHandler.selectedOnPress): New field.
8625         (MouseHandler.handleEvent): New helper method for handling
8626         selection and start/stop editing for mouse events.
8627         (MouseHandler.mouseDragged): Commented as no-op method.
8628         (MouseHandler.mouseMoved): Commented as no-op method.
8629         (MouseHandler.mousePressed): Use handleEvent() to handle
8630         selection and editing handling.
8631         (MouseHandler.mouseReleased): Use handleEvent() to handle
8632         selection and editing handling.
8633         (MouseInputHandler.MouseInputHandler): Register itself
8634         as mouse listener on source. Redispatch event to
8635         destination.
8636         (MouseInputHandler.dispatch): New helper method.
8637         (MouseInputHandler.mouseClicked): Dispatch event.
8638         (MouseInputHandler.mouseDragged): Dispatch event.
8639         (MouseInputHandler.mouseEntered): Stop dispatching
8640         if dragging stopped.
8641         (MouseInputHandler.mouseExited): Stop dispatching
8642         if dragging stopped.
8643         (MouseInputHandler.mouseMoved): Stop dispatching.
8644         (MouseInputHandler.mousePressed): Marked as no-op.
8645         (MouseInputHandler.mouseReleased): Dispatch and stop
8646         dispatching afterwards.
8647         (MouseInputHandler.removeFromSource): Implemented.
8648         (PropertyChangeHandler.propertyChange): Also handle
8649         editable property changes by calling setEditable().
8650         (SelectionModelPropertyChangeHandler.propertyChange):
8651         Reset row selection.
8652         (startEditTimer): Removed.
8653         (setCellEditor): Call updateEditor().
8654         (setEditable): Call updateEditor().
8655         (startEditingAtPath): Make path fully visible before starting
8656         editing.
8657         (startEditing): Maybe cancel previous edit session. Add
8658         editing component itself, not its parent container.
8659         Register MouseInputHandler for correctly redispatching
8660         initial events.
8661         (stopEditing): Message cellEditor and only completeEditing()
8662         when approved by cell editor.
8663         (updateCellEditor): Complete editing before updating
8664         the cell editor. Get cell editor from JTree if possible,
8665         otherwise create default editor. Update the listeners
8666         on the editor.
8667         * javax/swing/tree/DefaultTreeCellEditor.java
8668         (CLICK_COUNT_TO_START): Removed.
8669         (DefaultTreeCellEditor): Install correct border. Let setTree()
8670         update the listeners. Don't initialize lastPath and font yet.
8671         (actionPerformed): Implemented to start editing.
8672         (createTreeCellEditor): Set click count to start to 1, rather than
8673         3.
8674         (isCellEditable): Prepare editor here. Determine if we can
8675         start immediately, or if we trigger a timer to do so.
8676         (prepareForEditing): Don't removeAll() (not necessary),
8677         check editingComponent to be non-null.
8678         (setTree): Update listeners.
8679         (shouldStartEditingTimer): Check for left mouse button.
8680         (startEditingTimer): Lazily create timer.
8681
8682 2006-08-15  Lillian Angel  <langel@redhat.com>
8683
8684         * java/awt/dnd/DropTargetDragEvent.java
8685         (getTransferable): Implemented.
8686
8687 2006-08-15  Roman Kennke  <kennke@aicas.com>
8688
8689         * java/util/Vector.java
8690         (removeAll): Added comment about NPE.
8691         (retainAll): Added comment about NPE.
8692
8693 2006-08-15  Roman Kennke  <kennke@aicas.com>
8694
8695         * java/util/zip/ZipFile.java
8696         (UTF8DECODER): Removed.
8697         (UTF8CHARSET): New constant field. Stores the UTF8 charset.
8698         (utf8Decoder): New instance field.
8699         (decodeChars): Lazily create UTF8 decoder. Use instance
8700         field rather than a static field to avoid corruption.
8701
8702 2006-08-15  Roman Kennke  <kennke@aicas.com>
8703
8704         * java/io/PrintStream.java
8705         (line_separator): Provide default for system property.
8706         * java/io/FileDescriptor.java
8707         (valid): Create local copy of channel field for better
8708         threading safetly.
8709
8710 2006-08-15  Ingo Proetel  <proetel@aicas.com>
8711
8712         * java/util/zip/ZipFile.java
8713         (PartialInputStream.UTF8DECODER): New constant field, used
8714         for decoding UTF8 strings.
8715         (readLeShort): Access buffer directly if it has enough bytes
8716         available.
8717         (readLeInt): Access buffer directly if it has enough bytes
8718         available.
8719         (decodeChars): New helper method for decoding UTF8 strings.
8720         (readString): Avoid NIO charset decoder if possible.
8721
8722 2006-08-15  Roman Kennke  <kennke@aicas.com>
8723
8724         * java/util/Vector.java
8725         (removeAll): Don't explicitly null-check here. The RI allows
8726         null arguments when Vector is empty. In other cases we
8727         implicitly throw an NPE.
8728         (retainAll): Don't explicitly null-check here. The RI allows
8729         null arguments when Vector is empty. In other cases we
8730         implicitly throw an NPE.
8731
8732 2006-08-14  Casey Marshall  <csm@gnu.org>
8733
8734         Merge in ssl-nio-branch work. See `ChangeLog-ssl-nio' for a record
8735         of changes made on this branch.
8736         Files modified:
8737         * gnu/classpath/debug/Component.java
8738         * gnu/classpath/debug/SystemLogger.java
8739         * gnu/java/security/action/GetPropertyAction.java
8740         * gnu/java/security/action/GetSecurityPropertyAction.java
8741         * gnu/javax/crypto/RSACipherImpl.java
8742         * gnu/javax/net/ssl/PrivateCredentials.java
8743         * gnu/javax/net/ssl/provider/Alert.java
8744         * gnu/javax/net/ssl/provider/AlertException.java
8745         * gnu/javax/net/ssl/provider/Certificate.java
8746         * gnu/javax/net/ssl/provider/CertificateRequest.java
8747         * gnu/javax/net/ssl/provider/CertificateType.java
8748         * gnu/javax/net/ssl/provider/CertificateVerify.java
8749         * gnu/javax/net/ssl/provider/CipherSuite.java
8750         * gnu/javax/net/ssl/provider/ClientHello.java
8751         * gnu/javax/net/ssl/provider/ClientKeyExchange.java
8752         * gnu/javax/net/ssl/provider/CompressionMethod.java
8753         * gnu/javax/net/ssl/provider/Constructed.java
8754         * gnu/javax/net/ssl/provider/ContentType.java
8755         * gnu/javax/net/ssl/provider/DiffieHellman.java
8756         * gnu/javax/net/ssl/provider/Extension.java
8757         * gnu/javax/net/ssl/provider/Finished.java
8758         * gnu/javax/net/ssl/provider/Handshake.java
8759         * gnu/javax/net/ssl/provider/Jessie.java
8760         * gnu/javax/net/ssl/provider/ProtocolVersion.java
8761         * gnu/javax/net/ssl/provider/Random.java
8762         * gnu/javax/net/ssl/provider/ServerHello.java
8763         * gnu/javax/net/ssl/provider/ServerKeyExchange.java
8764         * gnu/javax/net/ssl/provider/Signature.java
8765         * gnu/javax/net/ssl/provider/Util.java
8766         * gnu/javax/net/ssl/provider/X509KeyManagerFactory.java
8767         * gnu/javax/net/ssl/provider/X509TrustManagerFactory.java
8768         * java/security/MessageDigest.java
8769         * java/security/MessageDigestSpi.java
8770         * java/security/Signature.java
8771         * java/security/SignatureSpi.java
8772         * javax/crypto/Mac.java
8773         * javax/crypto/MacSpi.java
8774         * javax/net/ssl/HandshakeCompletedEvent.java
8775         * javax/net/ssl/HttpsURLConnection.java
8776         * javax/net/ssl/SSLContext.java
8777         * javax/net/ssl/SSLContextSpi.java
8778         * javax/net/ssl/SSLSession.java
8779         Files added:
8780         * gnu/javax/net/ssl/provider/ServerKeyExchangeBuilder.java 
8781         * gnu/javax/net/ssl/provider/SSLv3HMacSHAImpl.java 
8782         * gnu/javax/net/ssl/provider/SimpleSessionContext.java 
8783         * gnu/javax/net/ssl/provider/ServerRSAParams.java 
8784         * gnu/javax/net/ssl/provider/SSLContextImpl.java 
8785         * gnu/javax/net/ssl/provider/ServerDHParams.java 
8786         * gnu/javax/net/ssl/provider/ClientHelloBuilder.java 
8787         * gnu/javax/net/ssl/provider/ClientDHE_PSKParameters.java 
8788         * gnu/javax/net/ssl/provider/SignatureAlgorithm.java 
8789         * gnu/javax/net/ssl/provider/CipherSuiteList.java 
8790         * gnu/javax/net/ssl/provider/ServerNameList.java 
8791         * gnu/javax/net/ssl/provider/SSLServerSocketImpl.java 
8792         * gnu/javax/net/ssl/provider/CompressionMethodList.java 
8793         * gnu/javax/net/ssl/provider/ServerRSA_PSKParameters.java 
8794         * gnu/javax/net/ssl/provider/ClientKeyExchangeBuilder.java 
8795         * gnu/javax/net/ssl/provider/TrustedAuthorities.java 
8796         * gnu/javax/net/ssl/provider/CertificateStatusRequest.java 
8797         * gnu/javax/net/ssl/provider/ServerHelloDone.java 
8798         * gnu/javax/net/ssl/provider/ServerDHE_PSKParameters.java 
8799         * gnu/javax/net/ssl/provider/SSLSocketImpl.java 
8800         * gnu/javax/net/ssl/provider/ServerHelloBuilder.java 
8801         * gnu/javax/net/ssl/provider/Record.java 
8802         * gnu/javax/net/ssl/provider/SSLRSASignatureImpl.java 
8803         * gnu/javax/net/ssl/provider/EncryptedPreMasterSecret.java 
8804         * gnu/javax/net/ssl/provider/PreSharedKeyManagerFactoryImpl.java 
8805         * gnu/javax/net/ssl/provider/KeyExchangeAlgorithm.java 
8806         * gnu/javax/net/ssl/provider/SSLServerSocketFactoryImpl.java 
8807         * gnu/javax/net/ssl/provider/CertificateBuilder.java 
8808         * gnu/javax/net/ssl/provider/ClientRSA_PSKParameters.java 
8809         * gnu/javax/net/ssl/provider/CertificateStatusType.java 
8810         * gnu/javax/net/ssl/provider/ExtensionList.java 
8811         * gnu/javax/net/ssl/provider/ClientCertificateTypeList.java 
8812         * gnu/javax/net/ssl/provider/ClientPSKParameters.java 
8813         * gnu/javax/net/ssl/provider/X500PrincipalList.java 
8814         * gnu/javax/net/ssl/provider/ServerHandshake.java 
8815         * gnu/javax/net/ssl/provider/ClientDiffieHellmanPublic.java 
8816         * gnu/javax/net/ssl/provider/SessionImpl.java 
8817         * gnu/javax/net/ssl/provider/SSLSocketFactoryImpl.java 
8818         * gnu/javax/net/ssl/provider/ServerPSKParameters.java 
8819         * gnu/javax/net/ssl/provider/TruncatedHMAC.java 
8820         * gnu/javax/net/ssl/provider/MaxFragmentLength.java 
8821         * gnu/javax/net/ssl/provider/HelloRequest.java 
8822         * gnu/javax/net/ssl/provider/ServerKeyExchangeParams.java 
8823         * gnu/javax/net/ssl/provider/UnresolvedExtensionValue.java 
8824         * gnu/javax/net/ssl/provider/CipherAlgorithm.java 
8825         * gnu/javax/net/ssl/provider/ClientHandshake.java 
8826         * gnu/javax/net/ssl/provider/ExchangeKeys.java 
8827         * gnu/javax/net/ssl/provider/CertificateURL.java 
8828         * gnu/javax/net/ssl/provider/EmptyExchangeKeys.java 
8829         * gnu/javax/net/ssl/provider/CertificateRequestBuilder.java 
8830         * gnu/javax/net/ssl/provider/SSLv3HMacMD5Impl.java 
8831         * gnu/javax/net/ssl/provider/Builder.java 
8832         * gnu/javax/net/ssl/provider/Debug.java 
8833         * gnu/javax/net/ssl/provider/SSLEngineImpl.java 
8834         * gnu/javax/net/ssl/provider/MacAlgorithm.java 
8835         * gnu/javax/net/ssl/provider/DelegatedTask.java 
8836         * gnu/javax/net/ssl/provider/InputSecurityParameters.java 
8837         * gnu/javax/net/ssl/provider/ClientHelloV2.java 
8838         * gnu/javax/net/ssl/provider/OutputSecurityParameters.java 
8839         * gnu/javax/net/ssl/provider/AbstractHandshake.java 
8840         * javax/net/ssl/SSLEngine.java 
8841         * javax/net/ssl/CertPathTrustManagerParameters.java 
8842         * javax/net/ssl/KeyStoreBuilderParameters.java 
8843         * javax/net/ssl/X509ExtendedKeyManager.java 
8844         * javax/net/ssl/SSLEngineResult.java 
8845         * gnu/javax/net/ssl/PreSharedKeyManager.java 
8846         * gnu/javax/net/ssl/Session.java 
8847         * gnu/javax/net/ssl/PreSharedKeyManagerParameters.java 
8848         * gnu/javax/net/ssl/SSLCipherSuite.java 
8849         * gnu/javax/net/ssl/AbstractSessionContext.java 
8850         * gnu/javax/net/ssl/SessionStoreException.java 
8851         * gnu/javax/net/ssl/SSLRecordHandler.java 
8852         * gnu/javax/net/ssl/SSLProtocolVersion.java 
8853         * gnu/javax/crypto/key/GnuPBEKey.java 
8854         * gnu/java/security/util/ByteBufferOutputStream.java 
8855         * gnu/java/security/Requires.java 
8856         * gnu/javax/security/auth/callback/CertificateCallback.java 
8857         Files removed:
8858         * gnu/javax/net/ssl/provider/Context.java
8859         * gnu/javax/net/ssl/provider/DigestInputStream.java
8860         * gnu/javax/net/ssl/provider/DigestOutputStream.java
8861         * gnu/javax/net/ssl/provider/Enumerated.java
8862         * gnu/javax/net/ssl/provider/Extensions.java
8863         * gnu/javax/net/ssl/provider/GNUSecurityParameters.java
8864         * gnu/javax/net/ssl/provider/JCESecurityParameters.java
8865         * gnu/javax/net/ssl/provider/JDBCSessionContext.java
8866         * gnu/javax/net/ssl/provider/JessieDHPrivateKey.java
8867         * gnu/javax/net/ssl/provider/JessieDHPublicKey.java
8868         * gnu/javax/net/ssl/provider/JessieRSAPrivateKey.java
8869         * gnu/javax/net/ssl/provider/JessieRSAPublicKey.java
8870         * gnu/javax/net/ssl/provider/KeyPool.java
8871         * gnu/javax/net/ssl/provider/OverflowException.java
8872         * gnu/javax/net/ssl/provider/RecordInput.java
8873         * gnu/javax/net/ssl/provider/RecordInputStream.java
8874         * gnu/javax/net/ssl/provider/RecordOutputStream.java
8875         * gnu/javax/net/ssl/provider/RecordingInputStream.java
8876         * gnu/javax/net/ssl/provider/SSLRSASignature.java
8877         * gnu/javax/net/ssl/provider/SSLServerSocket.java
8878         * gnu/javax/net/ssl/provider/SSLServerSocketFactory.java
8879         * gnu/javax/net/ssl/provider/SSLSocket.java
8880         * gnu/javax/net/ssl/provider/SSLSocketFactory.java
8881         * gnu/javax/net/ssl/provider/SSLSocketInputStream.java
8882         * gnu/javax/net/ssl/provider/SSLSocketOutputStream.java
8883         * gnu/javax/net/ssl/provider/SecurityParameters.java
8884         * gnu/javax/net/ssl/provider/Session.java
8885         * gnu/javax/net/ssl/provider/SessionContext.java
8886         * gnu/javax/net/ssl/provider/SynchronizedRandom.java
8887         * gnu/javax/net/ssl/provider/XMLSessionContext.java
8888
8889 2006-08-14  Roman Kennke  <kennke@aicas.com>
8890
8891         * javax/swing/plaf/basic/BasicSplitPaneDivider.java
8892         (DividerLayout.layoutContainer): Removed debug output.
8893         * javax/swing/plaf/basic/BasicSplitPaneUI.java
8894         (BasicHorizontalLayoutManager.axis): New field.
8895         (BasicHorizontalLayoutManager.BasicHorizontalLayoutManager(int)):
8896         New constructor.
8897         (BasicHorizontalLayoutManager.BasicHorizontalLayoutManager()):
8898         Call new axis constructor.
8899         (BasicHorizontalLayoutManager.getAvailableSize): Refactored to
8900         handle direction.
8901         (BasicHorizontalLayoutManager.getInitialLocation): Refactored to
8902         handle direction.
8903         (BasicHorizontalLayoutManager.getPreferredSizeOfComponent):
8904         Refactored to handle direction.
8905         (BasicHorizontalLayoutManager.getSizeOfComponent): Refactored
8906         to handle direction.
8907         (BasicHorizontalLayoutManager.minimumLayoutSize): Refactored to
8908         handle direction.
8909         (BasicHorizontalLayoutManager.preferredLayoutSize): Refactored
8910         to handle direction.
8911         (BasicHorizontalLayoutManager.minimumSizeOfComponent): Refactored
8912         to handle direction.
8913         (BasicHorizontalLayoutManager.setComponentToSize): Refactored
8914         to handle direction.
8915         (BasicHorizontalLayoutManager.updateComponents): Don't reset
8916         divider size.
8917         (BasicVerticalLayoutManager.BasicVerticalLayoutManager):
8918         New explicit constructor. Calls super with vertical axis.
8919         (BasicVerticalLayoutManager.getAvailableSize): Functionality moved
8920         to BasicHorizontalLayoutManager.
8921         (BasicVerticalLayoutManager.getInitialLocation): Functionality
8922         moved to BasicHorizontalLayoutManager.
8923         (BasicVerticalLayoutManager.getPreferredSizeOfComponent):
8924         Functionality moved to BasicHorizontalLayoutManager.
8925         (BasicVerticalLayoutManager.getSizeOfComponent): Functionality
8926         moved to BasicHorizontalLayoutManager.
8927         (BasicVerticalLayoutManager.minimumLayoutSize): Functionality
8928         moved to BasicHorizontalLayoutManager.
8929         (BasicVerticalLayoutManager.minimumSizeOfComponent):
8930         Functionality moved to BasicHorizontalLayoutManager.
8931         (BasicVerticalLayoutManager.preferredLayoutSize): Functionality
8932         moved to BasicHorizontalLayoutManager.
8933         (BasicVerticalLayoutManager.setComponentToSize): Functionality
8934         moved to BasicHorizontalLayoutManager.
8935         * javax/swing/plaf/metal/MetalSplitPaneDivider.java
8936         (BUTTON_SPRITE): Renamed to BUTTON_SPRITE_L.
8937         (BUTTON_SPRITE_R): New constant field.
8938         (MetalOneTouchButton.paint): Paint R sprite for right buttons,
8939         L sprite for left buttons.
8940         
8941 2006-08-14  Andreas Tobler  <a.tobler@schweiz.ch>
8942
8943         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
8944         (query_formats): g_free 'name' after usage.
8945         g_strfreev 'ch', the gdk_pixbuf_format_get_extensions instance.
8946         g_strfreev 'ch', the gdk_pixbuf_format_get_mime_types instance.
8947
8948 2006-08-14  Thomas Fitzsimmons  <fitzsim@redhat.com>
8949
8950         PR classpath/27723
8951         * configure.ac (MOZILLA_FOUND): Add pkg-config check for
8952         seamonkey-plugin.
8953
8954 2006-08-14  Francis Kung  <fkung@redhat.com>
8955
8956         PR 28694
8957         * java/awt/image/ColorModel.java
8958         (coerceData): Added check for non-transparent images.
8959
8960 2006-08-14  Francis Kung  <fkung@redhat.com>
8961
8962         * java/awt/image/BandCombineOp.java
8963         (BandCombineOp): Perform checks on validity of matrix.
8964         (createCompatibleDestRaster): Add checks and choose raster type dynamically.
8965         (filter): Updated to work with new matrix storage.
8966         (getMatrix): Updated javadoc.
8967         (getPoint2D): Formatting change.
8968
8969 2006-08-14  Francis Kung  <fkung@redhat.com>
8970
8971         * java/awt/image/AffineTransformOp.java
8972         (AffineTransformOp): Updated javadoc.
8973         (createCompatibleDestImage): Match behaviour of reference implementation.
8974         (createCompatibleDestRaster): Formatting changes.
8975         (filter(BufferedImage, BufferedImage)): Create compatible destination image.
8976         (filter(Raster, WritableRaster)): Re-implemented.
8977         (filterBicubic): New private method.
8978         (filterBilinear): New private method.
8979         (filterNearest): New private method.
8980         (getBounds2D): No longer fixed around one point for rotations.
8981         (getInterpolationType): Add support for bicubic interpolation.
8982
8983 2006-08-14  Roman Kennke  <kennke@aicas.com>
8984
8985         * javax/swing/plaf/metal/MetalLookAndFeel.java
8986         (MetalLookAndFeel): Moved theme initialization to
8987         getDefaults().
8988         (createDefaultTheme): Forward to getCurrentTheme().
8989         (getDefaults): Initialize theme before doing anything else.
8990         (getCurrentTheme): Recognize swing.metalTheme property.
8991
8992 2006-08-14  Roman Kennke  <kennke@aicas.com>
8993
8994         * javax/swing/JTable
8995         (getScrollableUnitIncrement): Expose partially exposed
8996         row in scrolling direction.
8997
8998 2006-08-14  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
8999
9000         * javax/swing/JTable (getScrollableUnitIncrement): 
9001         Removing my name as the whole method body have been
9002         recently completely replaced.
9003
9004 2006-08-14  Roman Kennke  <kennke@aicas.com>
9005
9006         PR 28028
9007         * javax/swing/text/Utilities.java
9008         (getTabbedTextOffset): Don't add p0 here.
9009
9010 2006-08-14  Roman Kennke  <kennke@aicas.com>
9011
9012         PR 28719
9013         * javax/swing/plaf/basic/BasicScrollPaneUI.java
9014         (MouseWheelHandler.mouseWheelMoved): Scroll negative delta
9015         when wheel is going up.
9016
9017 2006-08-14  Roman Kennke  <kennke@aicas.com>
9018
9019         PR 28693
9020         * javax/swing/plaf/basic/BasicSplitPaneDivider.java
9021         (BasicOneTouchButton): New inner class.
9022         (DividerLayout.changeButtonOrientation): Removed.
9023         (DividerLayout.positionButtons): Moved into layoutContainer.
9024         (DividerLayout.layoutContainer): Reworked for correct layout.
9025         (OneTouchAction): New inner class.
9026         (centerOneTouchButtons): New field.
9027         (BasicSplitPaneDivider): Initialize centerOneTouchButton from
9028         UIManager.
9029         (createLeftOneTouchButton): Reimplemented to return
9030         BasicOneTouchButton.
9031         (createRightOneTouchButton): Reimplemented to return
9032         BasicOneTouchButton.
9033         (getPreferredSize): Reimplemented to return fixed preferredSize.
9034         (oneTouchExpandableChanged): Add OneTouchAction action to
9035         buttons. Don't install mouse listeners.
9036         (MouseHandler.mousePressed): Removed handling of one touch buttons.
9037         (paint): Don't trigger extra paint for buttons.
9038         (propertyChange): Revalidate splitPane when orientation is changed.
9039         (setBasicSplitPaneUI): Call oneTouchExpandableChanged only when
9040         oneTouchExpandable is true.
9041         * javax/swing/plaf/basic/BasicSplitPaneUI.java
9042         (installDefaults): Install dividerSize on the divider too.
9043         * javax/swing/plaf/metal/MetalSplitPaneDivider.java
9044         (MetalDividerLayout): Removed. Functionality is already
9045         in BasicSplitPaneDivider.DividerLayout.
9046         (MetalOneTouchButton): New inner class.
9047         (BUTTON_SPRITE): New constant field.
9048         (MetalSplitPaneDivider): Don't change layout.
9049         (createLeftOneTouchButton): Overridden to return custom button
9050         for Metal.
9051         (createRightOneTouchButton): Overridden to return custom button
9052         for Metal.
9053         (paint): Don't trigger button painting. Call super instead.
9054
9055 2006-08-13  Roman Kennke  <kennke@aicas.com>
9056
9057         * javax/swing/plaf/basic/BasicTableHeaderUI.java
9058         (installKeyboardAction): Unmarked as stub. Added comment
9059         explaining that the RI seems to do nothing here.
9060         (uninstallKeyboardAction): Unmarked as stub. Added comment
9061         explaining that the RI seems to do nothing here.
9062
9063 2006-08-13  Roman Kennke  <kennke@aicas.com>
9064
9065         PR 28135
9066         * javax/swing/ScrollPaneLayout.java
9067         (layoutContainer): Consider the viewportBorder of the
9068         JScrollPane.
9069         (minimumLayoutSize): Consider the viewportBorder of the
9070         JScrollPane.
9071         (preferredLayoutSize): Consider the viewportBorder of the
9072         JScrollPane.
9073         * javax/swing/plaf/basic/BasicScrollPaneUI.java
9074         (installDefaults): Also install viewportBorder if specified.
9075         (paint): Paint viewportBorder if present.
9076         (uninstallDefaults): Uninstall viewportBorder if appropriate.
9077         Don't nullify foreground, background and font. Uninstall
9078         border via LookAndFeel helper method to avoid uninstall
9079         user set border.
9080
9081 2006-08-13  Roman Kennke  <kennke@aicas.com>
9082
9083         PR 28696
9084         * javax/swing/plaf/basic/BasicHTML.java
9085         (HTMLRootView.HTMLRootView): Trigger initial layout.
9086         (HTMLRootView.setSize): Overridden to forward to real view.
9087         * javax/swing/plaf/basic/BasicToolTipUI.java
9088         (PropertyChangeHandler): New inner class. Updates the HTML
9089         renderer.
9090         (propertyChangeHandler): New field.
9091         (getMaximumSize): Add HTML width delta.
9092         (getMinimumSize): Add HTML width delta.
9093         (getPreferredSize): Reimplemented to use HTML view for size
9094         calculation if appropriate, otherwise use simple stringWidth()
9095         measurement.
9096         (installListeners): Install propertyChangeHandler.
9097         (uninstallListeners): Uninstall propertyChangeHandler.
9098         (installUI): Update HTML renderer.
9099         (uninstallUI): Update HTML renderer.
9100         (paint): Reimplemented to use HTML view for rendering if
9101         appropriate, simple drawString otherwise.
9102         * javax/swing/plaf/metal/MetalToolTipUI.java
9103         (getPreferredSize): Call super and add accelerator delta.
9104         (paint): Simply call super.
9105
9106 2006-08-13  Roman Kennke  <kennke@aicas.com>
9107
9108         * javax/swing/JMenu.java
9109         (changeListener): Renamed to menuChangeListener to avoid
9110         shadowing changeListener field from AbstractButton.
9111
9112 2006-08-13  Roman Kennke  <kennke@aicas.com>
9113
9114         * javax/swing/JTree.java
9115         (getScrollableUnitIncrement): Fixed direction.
9116         (getScrollableBlockIncrement): Implemented to scroll one
9117         page.
9118         * javax/swing/tree/VariableHeightLayoutCache.java
9119         (distance): Consider y + height already outside the node.
9120
9121 2006-08-13  Roman Kennke  <kennke@aicas.com>
9122
9123         * javax/swing/JTable.java
9124         (getScrollableUnitIncrement): Fixed direction. Make it behave
9125         like the RI.
9126         (getScrollableBlockIncrement): Fixed direction. Make it behave
9127         like the RI.
9128
9129 2006-08-13  Roman Kennke  <kennke@aicas.com>
9130
9131         * javax/swing/JList.java
9132         (getScrollableUnitIncrement): Fixed direction. Implemented
9133         horizontal scrolling. Improved usability.
9134         (getScrollableBlockIncrement): Fixed direction. Improved usability.
9135
9136 2006-08-13  Roman Kennke  <kennke@aicas.com>
9137
9138         * javax/swing/plaf/basic/BasicScrollBarUI.java
9139         (scrollByUnit): Scroll by -unit when direction is not positive
9140         and +unit otherwise.
9141         (scrollByBlock): Scroll by -unit when direction is not positive
9142         and +unit otherwise.
9143
9144 2006-08-13  Roman Kennke  <kennke@aicas.com>
9145
9146         PR 28028
9147         * javax/swing/text/PlainView.java
9148         (paint): Limit painted area to the lines inside the clip
9149         and allocation.
9150
9151 2006-08-13  Roman Kennke  <kennke@aicas.com>
9152
9153         * javax/swing/plaf/basic/BasicTextUI.java
9154         (uninstallListeners): Unregister document listener.
9155
9156 2006-08-13  Sven de Marothy  <sven@physto.se>
9157
9158         * java/util/Locale.java
9159         (hashcodeCache): New field.
9160         (hashCode): use the above field instead of the serialized one
9161         (writeObject): Removed method.
9162         (readObject): Intern strings.
9163         (equals): Revert to previous method.
9164
9165 2006-08-13  Roman Kennke  <kennke@aicas.com>
9166
9167         * javax/swing/JTabbedPane.java
9168         (JTabbedPane): Call setModel() here and let this install the
9169         change listener correctly.
9170         (setModel): Correctly uninstall and reinstall ChangeListener when
9171         model changes.
9172
9173 2006-08-13  Raif S. Naffah  <raif@swiftdsl.com.au>
9174
9175         PR Classpath/23952
9176         * java/util/ResourceBundle.java (CACHE_SIZE): New constant.
9177         (bundleCache): Replaced with an LRU of CACHE_SIZE elements.
9178         (lastDefaultLocale): Removed.
9179         (emptyLocale): Likewise.
9180         (BundleKey.defaultLocale): New field.
9181         (BundleKey.BundleKey): Add a Locale (as a 1st positional) argument.
9182         (BundleKey.set): Likewise.
9183         (BundleKey.equals): Take defaultLocal field into consideration.
9184         (getBundle(String, Locale, ClassLoader)): Use updated BundleKey and LRU.
9185
9186 2006-08-13  Roman Kennke  <kennke@aicas.com>
9187
9188         * javax/swing/JMenu.java
9189         (MenuChangeListener): New inner class, helps firing menu events.
9190         (changeListener): New field.
9191         (add(text)): Create new JMenuItem here and call add(JMenuItem).
9192         (add(Action)): Create Action using createActionComponent()
9193         and add via add(Component).
9194         (setModel): Install and uninstall MenuChangeListener here.
9195
9196 2006-08-13  Raif S. Naffah  <raif@swiftdsl.com.au>
9197
9198         PR Classpath/27372
9199         * java/math/BigInteger.java: Updated copyright year.
9200         (init): Consume as little bytes as possible.
9201         (BigInteger(int, int, Random)): Ensure bitLength bits are used.
9202         (valueOf(String, int)): Throw NumberFormatException for malformed strings
9203         as per RI's documentation.
9204
9205 2006-08-13  Sven de Marothy  <sven@physto.se>
9206
9207         * java/util/Locale.java
9208         (hashcode): Is a serialized field, not transient.
9209         (equals): Should NOT compare strings by reference.
9210         (readObject/writeObject): Use the default methods and handle the hash
9211         seperately.
9212
9213 2006-08-13  Raif S. Naffah  <raif@swiftdsl.com.au>
9214
9215         PR Classpath/28678
9216         * gnu/java/security/Engine.java (getInstance(String, String, Provider)):
9217         Updated documentation.
9218         Formatting.
9219         (getInstance(String, String, Provider, Object[])): Likewise.
9220         Separate checks for null and empty string arguments.
9221         Include as much information as possible in the exception's message.
9222         Do not swallow original exception; instead use it as the cause of the
9223         resulting exception.
9224         * gnu/javax/security/auth/callback/AbstractCallbackHandler.java
9225         (getInstance(String)): Updated documentation.
9226         Formatting.
9227         Store last exception caught when iterating through all providers.
9228         If no implementation found, raise last exception if one was caught.
9229         (getInstance(String, String)): Updated documentation.
9230         Formatting.
9231         Check for null or empty provider as per RI-5's documentation.
9232         (getInstance(String, Provider)): Updated documentation.
9233         Formatting.
9234         Use as much information as possible in the exception message.
9235         Do not swallow original exception; instead use it as the cause for the
9236         ultimate raised exception(s).
9237         * java/security/cert/CertificateFactory.java: Likewise.
9238         * java/security/cert/CertPathBuilder.java: Likewise.
9239         * java/security/cert/CertPathValidator.java: Likewise.
9240         * java/security/cert/CertStore.java: Likewise.
9241         * java/security/AlgorithmParameterGenerator.java: Likewise.
9242         * java/security/AlgorithmParameters.java: Likewise.
9243         * java/security/KeyFactory.java: Likewise.
9244         * java/security/KeyPairGenerator.java: Likewise.
9245         * java/security/KeyStore.java: Likewise.
9246         * java/security/MessageDigest.java: Likewise.
9247         * java/security/SecureRandom.java: Likewise.
9248         * java/security/Signature.java: Likewise.
9249         * javax/crypto/Cipher.java: Likewise.
9250         * javax/crypto/ExemptionMechanism.java: Likewise.
9251         * javax/crypto/KeyAgreement.java: Likewise.
9252         * javax/crypto/KeyGenerator.java: Likewise.
9253         * javax/crypto/Mac.java: Likewise.
9254         * javax/crypto/SecretKeyFactory.java: Likewise.
9255         * javax/net/ssl/KeyManagerFactory.java: Likewise.
9256         * javax/net/ssl/SSLContext.java: Likewise.
9257         * javax/net/ssl/TrustManagerFactory.java: Likewise.
9258
9259 2006-08-13  Roman Kennke  <kennke@aicas.com>
9260
9261         * javax/swing/JEditorPane.java
9262         (getScrollableTracksViewportHeight): Also check maximum size.
9263         * javax/swing/JTextPane.java
9264         (insertIcon): Use input attributes for adding the icon
9265         attribute.
9266         * javax/swing/plaf/basic/BasicTextUI.java
9267         (RootView.setSize): Overridden to forward to real view.
9268         (getPreferredSize): Trigger setSize() on the view.
9269         (viewToModel(JTextComponent,Point)): Pass Position.Bias array
9270         to viewToModel() call, rather then null.
9271         * javax/swing/text/ParagraphView.java
9272         (changedUpdate): Invalide layout. Call super.
9273         * javax/swing/text/SimpleAttributeSet.java
9274         (clone): Use super's clone method to create clone.
9275         * javax/swing/text/StyleConstants.java
9276         (setIcon): Also set element name attribute.
9277         * javax/swing/text/StyledEditorKit.java
9278         (BoldAction.actionPerformed): Actually set the bold attribute,
9279         not italic.
9280         (setCharacterAttributes): Replaced with more straightforward
9281         impl.
9282         * javax/swing/text/TextAction.java
9283         (getFocusedComponent): Implemented.
9284         * javax/swing/text/Utilities.java
9285         (getNextVisualPositionFrom): Pass Position.Bias arrays instead
9286         of null.
9287         * javax/swing/text/View.java
9288         (changedUpdate): Nullify element change when updateChildren
9289         says so.
9290
9291 2006-08-11  Andrew John Hughes  <gnu_andrew@member.fsf.org>
9292
9293         * vm/reference/gnu/java/lang/management/VMMemoryMXBeanImpl.java:
9294         Fix documentation typos.
9295
9296 2006-08-11  David Daney  <ddaney@avtrex.com>
9297
9298         PR classpath/28580
9299         * gnu/java/net/protocol/http/Request.java (readResponse):  Call
9300         createResponseBodyStream in more cases and with new parameter.
9301         (createResponseBodyStream):  Added new parameter mayHaveBody.  Handle
9302         HEAD and !mayHaveBody responses specially.
9303         
9304 2006-08-11  Roman Kennke  <kennke@aicas.com>
9305
9306         * javax/swing/text/GlyphView.java
9307         (DefaultGlyphPainter.modelToView): Fixed model->view mapping.
9308         * javax/swing/text/LabelView.java
9309         (valid): New flag indicating if the text attributes are valid.
9310         (LabelView): Initialize valid field with false.
9311         (setPropertiesFromAttributes): Call setter methods instead
9312         of setting properties directly. Set valid to true.
9313         (changedUpdate): Invalidate attributes. Call super.
9314         (getBackground): Sync attributes if necessary.
9315         (getForeground): Sync attributes if necessary.
9316         (getFont): Sync attributes if necessary.
9317         (isUnderline): Sync attributes if necessary.
9318         (isSuperscript): Sync attributes if necessary.
9319         (isStrikeThrough): Sync attributes if necessary.
9320         (getFontMetrics): Sync attributes if necessary. Fetch font metrics
9321         from toolkit if Container is not available yet.
9322
9323 2006-08-11  Roman Kennke  <kennke@aicas.com>
9324
9325         * javax/swing/text/PlainView.java
9326         (tabBase): New field.
9327         (tabSize): New field.
9328         (updateMetrics): Update tabSize.
9329         (lineToRect): Only allocate when really necessary.
9330         (modelToView): Use tabBase for offset calculations.
9331         (paint): Only allocate when really necessary. Update tabBase.
9332         (nextTabStop): Fixed tab calculation.
9333         (viewToModel): Correctly handle multiline text and locations
9334         outside the view's bounds. Set bias.
9335         (getLineLength): Use tabBase.
9336         * javax/swing/text/Utilities.java
9337         (drawTabbedText): Don't special case newlines. The views
9338         must take care of this.
9339
9340 2006-08-11  Roman Kennke  <kennke@aicas.com>
9341
9342         * javax/swing/text/GapContent.java
9343         (UndoPosRef): New inner class. Used for resetting positions
9344         after undo/redo operations.
9345         (InsertUndo.positions): New field.
9346         (InsertUndo.undo): Store positions in removed range.
9347         (InsertUndo.redo): Restore positions in re-inserted range.
9348         (UndoRemove.positions): New field.
9349         (UndoRemove.UndoRemove): Store positions in removed range.
9350         (UndoRemove.undo): Restore positions in re-inserted range.
9351         (UndoRemove.redo): Store positions in removed range.
9352         (insertString): Create InsertUndo instance before actually
9353         inserting the string.
9354         (remove): Create UndoRemove instance before actually
9355         removing.
9356         (getPositionsInRange): Don't clear the Vector. Return Vector
9357         of UndoPosRefs.
9358         (updateUndoPositions): Implemented to reset all UndoPosRefs
9359         in the vector.
9360
9361 2006-08-11  Jeroen Frijters  <jeroen@frijters.net>
9362
9363         * java/io/ObjectInputStream.java (readClassDescriptor):
9364         Use class's class loader to resolve field types.
9365         * java/io/ObjectStreamField.java
9366         (ObjectStreamField(String,String,ClassLoader)): Removed.
9367         (ObjectStreamField(String,String)): Don't try to resolve typename.
9368         (resolveType): New method.
9369
9370 2006-08-10  Roman Kennke  <kennke@aicas.com>
9371
9372         * javax/swing/text/BoxView.java
9373         (calculateMajorAxisRequirements): Sum up the preferred and
9374         maximum sizes.
9375         (isAfter): Also add in the rectangle's with/height.
9376         (childAllocation): Don't trigger layout here.
9377         (layoutMinorAxis): Removed debug output.
9378         (getWidth): Consider the insets.
9379         (getHeight): Consider the insets.
9380         (setSize): Consider the insets.
9381         (updateRequirements): Check axis and throw
9382         IllegalArgumentException.
9383
9384 2006-08-10  Roman Kennke  <kennke@aicas.com>
9385
9386         * javax/swing/text/AbstractDocument.java
9387         (BidiRootName): New constant field, denotes the element name
9388         for bidi root elements.
9389         (AsyncLoadPriority): New constant field, denotes the property
9390         to store the asynchronousLoadPriority.
9391         (I18N): New constant field, denotes the property for
9392         I18N support.
9393         (bidiRoot): Made field type BidiRootElement.
9394         (AbstractDocument): Build initial element structure for
9395         bidi.
9396         (getAsynchronousLoadPriority): Implemented. Returns the
9397         value stored in the document properties.
9398         (setAsynchronousLoadPriority): Implemented. Sets the
9399         value stored in the document properties.
9400         (getEndPosition): Implemented to use a Position from the
9401         content.
9402         (getStartPosition): Implemented to use a Position from the
9403         content.
9404         (insertStringImpl): Update the I18N setting if necessary.
9405         (insertUpdate): Update the bidi structure if necessary.
9406         (postRemoveUpdate): Update the bidi structure if necessary.
9407         (putProperty): Update the I18N setting and bidi structure
9408         if necessary.
9409         (updateBidi): New helper method for updating the bidi
9410         structure.
9411         (getBidis): New helper method. Fetches the Bidi analysers
9412         for the paragraphs of the range to check.
9413         (dump): Also dump the bidi structure.
9414         (AbstractElement.dump): Indent the '>' correctly.
9415         (AbstractElement.children): Check numChildren rather then
9416         children.length.
9417         (BidiRootElement): New inner class.
9418         (BidiElement): New inner class.
9419
9420 2006-08-10  Roman Kennke  <kennke@aicas.com>
9421
9422         * javax/swing/text/GapContent.java
9423         (getChars): Optimized to only copy array when really necessary.
9424         Respect the partialReturn property.
9425
9426 2006-08-10  Lillian Angel  <langel@redhat.com>
9427
9428         * gnu/java/awt/dnd/peer/gtk/GtkDragSourceContextPeer.java
9429         (getComponentPeer): Added check to prevent NPE.
9430
9431 2006-08-10  Gary Benson  <gbenson@redhat.com>
9432
9433         * java/security/AccessControlContext.java (<init>):
9434         Avoid a duplicated AccessController.getContext() call.
9435
9436 2006-08-09  Mark Wielaard  <mark@klomp.org>
9437   
9438         * doc/www.gnu.org/newsitems.txt: Add 0.92.
9439         * doc/www.gnu.org/downloads/downloads.wml: Likewise.
9440         * doc/www.gnu.org/announce/20060809.wml: New file.
9441
9442 2006-08-09  Mark Wielaard  <mark@klomp.org>
9443
9444         * configure.ac (VERSION): Set to 0.92-generics.
9445         * NEWS: Add updates for 0.92 release.
9446
9447 2006-08-09  Tom Tromey  <tromey@redhat.com>
9448
9449         PR classpath/28658:
9450         * java/text/SimpleDateFormat.java (parse): Let an unquoted space in
9451         the pattern match any number of spaces in the text.
9452
9453 2006-08-09  Sven de Marothy  <sven@physto.se>
9454
9455         * java/awt/image/BufferedImage.java
9456         (BufferedImage): Reimplement predefined-type constructor.
9457         (observers/tileObservers): Field renamed to tileObservers.
9458         (createDefaultIndexedColorModel): New method.
9459
9460 2006-08-09  Tom Tromey  <tromey@redhat.com>
9461
9462         PR classpath/28666:
9463         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice.c
9464         (Java_gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice_nativeGetDisplayModes):
9465         Create a 'short' array.
9466
9467 2006-08-09  Tom Tromey  <tromey@redhat.com>
9468
9469         * tools/gnu/classpath/tools/javah/JniHelper.java (getName): Properly
9470         handle arrays.
9471         * tools/gnu/classpath/tools/javah/JniIncludePrinter.java
9472         (writeFields): Print "L" after int constant.  Don't mangle the field
9473         name.  Only print int/long fields.
9474
9475 2006-08-09  Tom Tromey  <tromey@redhat.com>
9476
9477         * tools/gnu/classpath/tools/javah/Main.java (getParser): Name program
9478         "javah".
9479
9480 2006-08-09  Sven de Marothy  <sven@physto.se>
9481
9482         * javax/swing/JTree.java
9483         (JTree): Default SelectionModel should be DefaultTreeSelectionModel.
9484         (setSelectionModel): Null parameter should create an EmptySelectionM.
9485
9486 2006-08-09  Roman Kennke  <kennke@aicas.com>
9487
9488         * javax/swing/text/AbstractDocument.java
9489         (insertString): Perform modifications inside a write lock.
9490         (insertStringImpl): Don't lock here. This is already done
9491         in insertString().
9492         (replace): Perform modifications inside a write lock.
9493         (AbstractElement.AbstractElement): Call addAttributes() to
9494         add the attributes.
9495         (AbstractElement.getName): Fetch name from the ElementNameAttibute.
9496         (BranchElement.lastIndex): New field. Optimizes getElementIndex().
9497         (BranchElement.BranchElement): Set lastIndex to -1.
9498         (BranchElement.getElementIndex): Implemented more efficient
9499         search.
9500
9501 2006-08-09  Roman Kennke  <kennke@aicas.com>
9502
9503         * javax/swing/text/DefaultStyledDocument.java
9504         (Edit): Moved this inner class into ElementBuffer where it
9505         is actually needed.
9506         (edits): Moved this field into ElementBuffer.
9507         (getEditForParagraphAndIndex): Removed obsolete method.
9508         (insertUpdate): Added some optimizations and fixes. Split
9509         out handling insertion after newlines.
9510         (insertAfterNewline): New helper method. Handles insertions
9511         after a newline.
9512         (ElementBuffer.Edit): New inner class. Moved here from
9513         DefaultStyledDocument.
9514         (ElementBuffer.createdFracture): New field.
9515         (ElementBuffer.documentEvent): Made private.
9516         (ElementBuffer.edits): New field. Moved here from
9517         DefaultStyledDocument.
9518         (ElementBuffer.fracNotCreated): Replaced by createdFracture.
9519         (ElementBuffer.fracturedChild): New field.
9520         (ElementBuffer.fracturedParent): New field.
9521         (ElementBuffer.insertPath): New field.
9522         (ElementBuffer.lastFractured): Removed. Replaced by fracturedChild and
9523         fracturedParent.
9524         (ElementBuffer.offsetLastIndex): New field.
9525         (ElementBuffer.offsetLastIndexReplace): New field.
9526         (ElementBuffer.recreateLeafs): New field.
9527         (ElementBuffer.ElementBuffer): Don't initialize stack here.
9528         (ElementBuffer.canJoin): New helper method.
9529         (ElementBuffer.changeUpdate): Changed to use elementStack with
9530         Edits rather than Elements. Let the split method do the work.
9531         (ElementBuffer.cloneAsNecessary): New helper method.
9532         (ElementBuffer.createFracture): Changed to fracture the bottommost
9533         child in the stack.
9534         (ElementBuffer.finishEdit): New helper method. Moved out
9535         from insertUpdate to perform the actual changes and update
9536         the event.
9537         (fracture): New helper method.
9538         (insertContentTag): Fixed some bugs and changed to use Edit
9539         instances in the stack, rather then Elements.
9540         (insertElement): New helper method. Moved out from insertUpdate()
9541         to process the ElementSpecs.
9542         (insertFirstContentTag): Fixed some problems and changed to use Edit
9543         instances in the stack, rather then Elements.
9544         (insertFracture): Removed. Basically moved into createFracture()
9545         and fracture().
9546         (insertParagraph): Removed.
9547         (insertUpdate): Split out the ElementSpec processing into
9548         insertElement(). Use Edit instances in the stack. Fixed some
9549         problems.
9550         (insert): Split out the preparation and finishing code into
9551         prepareEdit() and finishEdit().
9552         (join): New helper method.
9553         (pop): New helper method.
9554         (prepareEdit): New helper method.
9555         (recreateFracturedElement): New helper method.
9556         (recreateLeaves): Removed.
9557         (recreate): New helper method.
9558         (removeElements): New helper method. Split out from removeUpdate().
9559         (removeUpdate): Split out the actual removal. Use the
9560         Edit stack to perform removal and perform the remove actions
9561         and event updates afterwards, just like in insertImpl().
9562         (remove): Use prepareEdit() and finishEdit().
9563         (split): Replaced with more flexible impl.
9564
9565 2006-08-09  Sven de Marothy  <sven@physto.se>
9566
9567         * gnu/java/awt/peer/gtk/CairoSurface.java
9568         Change class to extend WritableRaster and not DataBuffer.
9569         (CairoDataBuffer): New inner class.
9570         * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
9571         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
9572         * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java
9573         Accomodate the above change.
9574
9575 2006-08-09  Sven de Marothy  <sven@physto.se>
9576
9577         * gnu/java/awt/peer/gtk/GtkMainThread.java
9578         New file.
9579         * gnu/java/awt/peer/gtk/GtkChoicePeer.java
9580         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
9581         Replace GtkToolkit.mainThread with GtkMainThread.mainThread.
9582         * gnu/java/awt/peer/gtk/GtkToolkit.java
9583         Minor style fixes; removed unused fields, 
9584         set fields to private where possible.
9585         (createDialog, createFrame, createWindow, createEmbeddedWindow): 
9586         Call GtkMainThread.createWindow().
9587         * gnu/java/awt/peer/gtk/GtkWindowPeer.java
9588         (dispose): New method.
9589         * include/gnu_java_awt_peer_gtk_GtkToolkit.h
9590         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
9591         (gtkQuit): New native method.
9592
9593 2006-08-08  Lillian Angel  <langel@redhat.com>
9594
9595         * java/awt/Component.java
9596         (setDropTarget): Added check.
9597
9598 2006-08-08  Lillian Angel  <langel@redhat.com>
9599
9600         * gnu/java/awt/dnd/peer/gtk/GtkDragSourceContextPeer.java
9601         (GtkDragSourceContextPeer): Added FIXME. Changed call
9602         to setTarget. 
9603         * gnu/java/awt/dnd/peer/gtk/GtkDropTargetContextPeer.java
9604         (GtkDropTargetContextPeer): Removed target initialization.
9605         * java/awt/Component.java
9606         (setTarget): Removed commented out code.
9607
9608 2006-08-08  Mark Wielaard  <mark@klomp.org>
9609
9610         * javax/swing/text/DefaultHighlighter.java: Qualify
9611         Highlighter.HighlightPainter class name for gcj.
9612
9613 2006-08-05  Roman Kennke  <kennke@aicas.com>
9614
9615         * javax/swing/plaf/basic/BasicTableUI.java
9616         (MouseInputHandler.mousePressed): Request focus on list
9617         component.
9618
9619 2006-08-05  Roman Kennke  <kennke@aicas.com>
9620
9621         * javax/swing/plaf/basic/BasicListUI.java
9622         (MouseInputHandler.mousePressed): Request focus on list
9623         component.
9624
9625 2006-08-05  Roman Kennke  <kennke@aicas.com>
9626
9627         PR 28650
9628         * javax/swing/plaf/basic/BasicMenuBarUI.java
9629         (getActionMap): Store ActionMap in MenuBar.actionMap, rather
9630         than Tree.actionMap.
9631         * javax/swing/plaf/basic/BasicTreeUI.java
9632         (action): Removed obsolete field.
9633         (uninstallKeyboardActions): Removed action field handling.
9634         (installKeyboardActions): Removed action field handling.
9635         (createDefaultActions): Don't install removed TreeAction.
9636         (TreeAction): Removed obsolete inner class.
9637         (ActionListenerProxy): Removed obsolete inner class.
9638         (MouseHandler.mousePressed): Request focus on JTree component
9639         on mouse press.
9640
9641 2006-08-08  Roman Kennke  <kennke@aicas.com>
9642
9643         * javax/swing/plaf/basic/BasicListUI.java
9644         (MouseInputHandler.mousePressed): Request focus on list
9645         component.
9646
9647 2006-08-08  Roman Kennke  <kennke@aicas.com>
9648
9649         * javax/swing/plaf/basic/BasicTableUI.java
9650         (MouseInputHandler.mousePressed): Request focus on list
9651         component.
9652
9653 2006-08-08  Roman Kennke  <kennke@aicas.com>
9654
9655         * javax/swing/plaf/basic/BasicTextUI.java
9656         (damageRange(JTextComponent,int,int)): Call damageRange() with
9657         correct biases, rather than null.
9658         (damageRange(JTextComponent,int,int,Bias,Bias)): Rewritten
9659         to use simpler modelToView() approach without much special
9660         casing. This seems not worth the effort and actually
9661         caused problems. Added locking of the document.
9662         * javax/swing/text/BoxView.java
9663         (requirementsValid): New field.
9664         (calculateMajorAxisRequirements): Rewritten without using
9665         SizeRequirements. The SizeRequirements algorithms are slightly
9666         different and too inefficient.
9667         (calculateMinorAxisRequirements): Rewritten without using
9668         SizeRequirements. The SizeRequirements algorithms are slightly
9669         different and too inefficient.
9670         (getAlignment): Simply return the alignment of the cached
9671         requirements.
9672         (getMaximumSpan): Add insets.
9673         (getMinimumSpan): Add insets.
9674         (getPreferredSpan): Add insets.
9675         (layoutMajorAxis): Rewritten without using
9676         SizeRequirements. The SizeRequirements algorithms are slightly
9677         different and too inefficient.
9678         (layoutMinorAxis): Rewritten without using
9679         SizeRequirements. The SizeRequirements algorithms are slightly
9680         different and too inefficient.
9681         (modelToView): Call setSize() rather than layout().
9682         (paint): Check clip for more efficient painting.
9683         (preferenceChanged): Invalidate requirements here.
9684         (replace): Invalidate requirements here.
9685         (updateRequirements): Update requirements only when requirements
9686         are marked invalid.
9687         * javax/swing/text/CompositeView.java
9688         (modelToView): Added some more checks and handling of corner cases.
9689         * javax/swing/text/FlowView.java
9690         (calculateMinorAxisRequirements): Set aligment to 0.5 and maximum
9691         span to Integer.MAX_VALUE. Limit preferredSize to minimumSize.
9692         * javax/swing/text/IconView.java
9693         (getAlignment): Implemented to return 1.0 for vertical alignment.
9694         * javax/swing/text/ParagraphView.java
9695         (Row.getMaximumSpan): Implemented to let Rows span the whole
9696         ParagraphView.
9697         (getAlignment): Fixed horizontal alignment and vertical alignment
9698         for empty paragraphs to be 0.5.
9699
9700 2006-08-08  Roman Kennke  <kennke@aicas.com>
9701
9702         * javax/swing/text/View.java
9703         (modelToView): Added special handling for corner case at the end
9704         of the view and for multiline views.
9705
9706 2006-08-08  Roman Kennke  <kennke@aicas.com>
9707
9708         * javax/swing/plaf/basic/BasicTextUI.java
9709         (modelToView): Read-lock the document. Set size of the
9710         root view before fetching the model-to-view mapping.
9711         (getViewIndex): Check of the position is inside the range and
9712         return -1 if this is not the case.
9713         (getViewAtPosition(int,Rectangle): Update child allocation for valid
9714         view index.
9715         (getViewIndexAtPosition(int)): Delegate the index search to
9716         the element since we have a 1:1 mapping between elements and
9717         views here.
9718         * javax/swing/text/DefaultCaret.java
9719         (appear): Ignore BadLocationException.
9720         (paint): Ignore BadLocationException.
9721         * javax/swing/text/FlowView.java
9722         (changedUpdate): Also notify the layoutPool view.
9723         (removeUpdate): Also notify the layoutPool view.
9724         * javax/swing/text/ParagraphView.java
9725         (Row.getViewIndexAtPosition): Overridden to search linearily
9726         through the view instead of relying on a 1:1 model to view
9727         mapping.
9728         * javax/swing/text/View.java
9729         (removeUpdate): Clear ElementChange object if updateChildren
9730         returns false.
9731         (forwardUpdate): Special handle some boundary cases.
9732
9733 2006-08-07  Raif S. Naffah  <raif@swiftdsl.com.au>
9734
9735         * gnu/java/security/key/dss/DSSKey.java: Updated documentation.
9736         (hasInheritedParameters): New method.
9737         (equals): Updated documentation.
9738         Take into consideration the outcome of hasInheritedParameters invocation.
9739         (toString): Call hasInheritedParameters and adjust the result accordingly.
9740         * gnu/java/security/key/dss/DSSKeyPairX509Codec.java (encodePublicKey):
9741         Updated documentation.
9742         Handle case of public keys with null p, q, and g MPIs.
9743         (decodePublicKey): Handle case of absent or NULL p, q and g MPIs.
9744
9745 2006-08-07  Tom Tromey  <tromey@redhat.com>
9746
9747         PR libgcj/23682:
9748         * java/nio/channels/SelectionKey.java (attach): Now synchronized.
9749         (attachment): Likewise.
9750         * java/nio/channels/spi/AbstractSelectionKey.java (cancel): Now
9751         synchronized.
9752         (isValid): Likewise.
9753         * gnu/java/nio/SelectionKeyImpl.java (impl): Now final
9754         (ch): Likewise.
9755         (interestOps): Synchronize.
9756         (readyOps): Likewise.
9757         * gnu/java/nio/SelectorImpl.java (register): Synchronize around
9758         interestOps call.
9759
9760 2006-08-07  C. Scott Marshall  <csm@gnu.org>
9761
9762         Fixes PR 28608.
9763         * java/nio/DirectByteBufferImpl.java (duplicate): only reset if
9764         the mark has been set.
9765         * native/jni/java-nio/java_nio_VMDirectByteBuffer.c
9766         (Java_java_nio_VMDirectByteBuffer_allocate): zero out the
9767         allocated data.
9768
9769 2006-08-07  Sven de Marothy  <sven@physto.se>
9770
9771         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
9772         (drawGlyphVector): Synchronize against font object when drawing.
9773         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
9774         (nativeDrawGlyphVector): Use pango locking when drawing.
9775         (install_font_peer): Use pango locking when creating the cairo face.
9776
9777 2006-08-06  Roman Kennke  <kennke@aicas.com>
9778
9779         PR 28571
9780         * gnu/java/awt/peer/gtk/GtkCanvasPeer.java
9781         (getPreferredSize): Renamed method to preferredSize(). That's
9782         the one that gets called from java.awt.*.
9783         * java/awt/peer/ComponentPeer.java
9784         (getPreferredSize): Added specnote about this method never
9785         beeing called in the RI.
9786         (getMinimumSize): Added specnote about this method never
9787         beeing called in the RI.
9788
9789 2006-08-03  Sven de Marothy  <sven@physto.se>
9790
9791         * gnu/java/awt/peer/gtk/ComponentGraphics.java
9792         (grab, nativeGrab): New methods.
9793         * include/gnu_java_awt_peer_gtk_ComponentGraphics.h
9794         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
9795         (nativeGrab): New method.
9796         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
9797         (print): Implement.
9798         * java/awt/Component.java
9799         (printAll): Should call peer print method.
9800
9801 2006-08-06  Thomas Minor  <1nocentrabidlamb@sexMagnet.com>
9802
9803         * java/net/URL.java (getContent(Class[])): Implement.
9804
9805 2006-08-06  Mark Wielaard  <mark@klomp.org>
9806
9807         PR 28555
9808         Suggested by Matthew Burgess <matthew@linuxfromscratch.org>
9809         * gnu/xml/transform/ApplyTemplatesNode.java (clone): Check whether
9810         withParams is null.
9811         * gnu/xml/transform/ForEachNode.java (clone): Check whether
9812         sortKeys is null.
9813
9814 2006-08-06  Roman Kennke  <kennke@aicas.com>
9815
9816         * NEWS: Added note about the X peers.
9817         * INSTALL: Added install notes about the X peers. 
9818
9819 2006-08-06  Raif S. Naffah  <raif@swiftdsl.com.au>
9820             Paul Jenner  <psj@harker.dyndns.org>
9821
9822         * README: Update bug, patches and cvs instructions plus new URLs of
9823         various external projects.
9824
9825 2006-08-06  Thomas Fitzsimmons  <fitzsim@redhat.com>
9826
9827         * configure.ac (MOZILLA_FOUND): Fall back to
9828         mozilla-firefox-plugin.
9829
9830 2006-08-06  Mario Torre  <neugens@limasoftware.net>
9831
9832         Reported by Raif S. Naffah <raif@swiftdsl.com.au>
9833         * native/jni/gconf-peer/GConfNativePeer.c (init_gconf_client):
9834         g_type_init earlier in function to correctly initialize the
9835         type system used by the backend.
9836
9837 2006-08-05  Roman Kennke  <kennke@aicas.com>
9838   
9839         * javax/swing/text/DefaultHighlight.java
9840         (DefaultHighlightPainter.paintHighlight): Removed method.
9841         (DefaultHighlightPainter.paintLayer): Implemented.
9842         (DefaultHighlightPainter.paint): Implemented more efficient
9843         painting for multiline-highlights.
9844         (HighlightEntry.p0): Changed to be a Position.
9845         (HighlightEntry.p1): Changed to be a Position.
9846         (HighlightEntry.HighlightEntry): Changed to take Position
9847         arfuments.
9848         (HighlightEntry.getStartOffset): Changed to return p0.getOffset();
9849         (HighlightEntry.getEndOffset): Changed to return p1.getOffset();
9850         (LayerHighlightEntry): New inner class. Extends HighlightEntry
9851         and tracks the painted rectangle for efficient repainting.
9852         (addHighlight): Handle layered highlight.
9853         (changeHighlight): Handle layered highlight.
9854         (paintLayeredHighlights): Implemented.
9855         (paint): Paint only non-layered highlights here.
9856         (removeAllHighlights): Trigger correct repaint.
9857         (removeHighlight): Handle layered highlight here for
9858         more efficient repainting.
9859         * javax/swing/text/GlyphView.java
9860         (paint): Handle layered highlights.
9861         * javax/swing/text/PlainView.java
9862         (paint): Handle layered highlights.
9863         * javax/swing/text/WrappedPlainView.java
9864         (WrappedLine.paint): Handle layered highlights.
9865
9866 2006-08-07  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
9867   
9868         PR 26972
9869         * NEWS: As suggested by Paul Jennier, added note about the fix of
9870         the InitialContext.
9871
9872 2006-08-07  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
9873
9874         * NEWS: Added entry about the context factories for JNDI.
9875
9876 2006-08-07  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
9877
9878         PR 27383
9879         * gnu/CORBA/Connected_objects.java (size): New method.
9880         * gnu/CORBA/OrbFunctional.java (countConnectedObjects):
9881         New method.
9882         * javax/naming/spi/NamingManager.java (getURLContext):
9883         Also search for the URL context factories in 
9884         gnu/javax/naming/jndi/url.
9885         * gnu/javax/naming/giop/ContextContinuation.java,
9886         gnu/javax/naming/giop/CorbalocParser.java,
9887         gnu/javax/naming/giop/GiopNamingEnumeration.java,
9888         gnu/javax/naming/giop/GiopNamingServiceFactory.java,
9889         gnu/javax/naming/giop/GiopNamingServiceURLContext.java,
9890         gnu/javax/naming/giop/ListBindingsEnumeration.java,
9891         gnu/javax/naming/giop/ListEnumeration.java,
9892         gnu/javax/naming/jndi/url/corbaname/corbanameURLContextFactory.java,
9893         gnu/javax/naming/jndi/url/rmi/ContextContinuation.java,
9894         gnu/javax/naming/jndi/url/rmi/ListBindingsEnumeration.java,
9895         gnu/javax/naming/jndi/url/rmi/ListEnumeration.java,
9896         gnu/javax/naming/jndi/url/rmi/RmiContinuation.java,
9897         gnu/javax/naming/jndi/url/rmi/RmiNamingEnumeration.java,
9898         gnu/javax/naming/jndi/url/rmi/rmiURLContext.java,
9899         gnu/javax/naming/jndi/url/rmi/rmiURLContextFactory.java: New files.
9900
9901 2006-08-06  Sven de Marothy  <sven@physto.se>
9902
9903         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
9904         (drawGlyphVector): Synchronize against font object when drawing.
9905         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
9906         (nativeDrawGlyphVector): Use pango locking when drawing.
9907         (install_font_peer): Use pango locking when creating the cairo face.
9908
9909 2006-08-06  C. Scott Marshall  <csm@gnu.org>
9910
9911         Fixes PR 28608.
9912         * java/nio/DirectByteBufferImpl.java (duplicate): only reset if
9913         the mark has been set.
9914         * native/jni/java-nio/java_nio_VMDirectByteBuffer.c
9915         (Java_java_nio_VMDirectByteBuffer_allocate): zero out the
9916         allocated data.
9917
9918 2006-08-06  Mark Wielaard  <mark@klomp.org>
9919
9920         PR 28555
9921         Suggested by Matthew Burgess <matthew@linuxfromscratch.org>
9922         * gnu/xml/transform/ApplyTemplatesNode.java (clone): Check whether
9923         withParams is null.
9924         * gnu/xml/transform/ForEachNode.java (clone): Check whether
9925         sortKeys is null.
9926
9927 2006-08-06  Raif S. Naffah  <raif@swiftdsl.com.au>
9928             Paul Jenner  <psj@harker.dyndns.org>
9929
9930         * README: Update bug, patches and cvs instructions plus new URLs of
9931         various external projects.
9932   
9933 2006-08-05  Andrew John Hughes  <gnu_andrew@member.fsf.org>
9934
9935         * gnu/java/lang/management/BeanImpl.java:
9936         (cacheMBeanInfo(MBeanInfo)): Override given MBeanInfo
9937         with open variant.
9938         (getCachedMBeanInfo()): Return open variant.
9939         (getMBeanInfo()): Likewise.
9940         (getTypeFromClass(Class)): Implemented.
9941         (translateSignature(MBeanParameterInfo)): Likewise.
9942         (translate(String)): Likewise.
9943         * javax/management/StandardMBean.java:
9944         (getMBeanInfo()): Return attribute names with capital letters,
9945         as in docs for java.lang.management.ManagementFactory, and
9946         ensure descriptions are not "".
9947         * javax/management/openmbean/OpenMBeanConstructorInfoSupport.java,
9948         * javax/management/openmbean/OpenMBeanInfoSupport.java,
9949         * javax/management/openmbean/OpenMBeanOperationInfoSupport.java:
9950         (toString()): Use Arrays.toString().
9951         * javax/management/openmbean/OpenMBeanParameterInfoSupport.java:
9952         (OpenMBeanParameterInfoSupport(String, String, OpenType)):
9953         Set open type here rather than in other constructors.
9954
9955 2006-08-05  Andrew John Hughes  <gnu_andrew@member.fsf.org>
9956
9957         * javax/management/MBeanFeatureInfo.java:
9958         Make string variable package-private.
9959         * javax/management/StandardMBean.java:
9960         (getMBeanInterface()): Made final.
9961         * javax/management/openmbean/SimpleType.java:
9962         Made final.
9963
9964 2006-08-05  Jeroen Frijters  <jeroen@frijters.net>
9965
9966         * java/awt/Component.java (setDropTarget): Commented out GTK specific
9967         code.
9968   
9969 2006-08-05  Andrew John Hughes  <gnu_andrew@member.fsf.org>
9970
9971         * examples/gnu/classpath/examples/swing/FillRect.java,
9972         * gnu/CORBA/Focused_ORB.java,
9973         * gnu/CORBA/interfaces/gnuSocketFactory.java,
9974         * gnu/classpath/ByteArray.java,
9975         * gnu/classpath/ObjectPool.java,
9976         * gnu/java/awt/peer/ClasspathTextLayoutPeer.java,
9977         * gnu/java/awt/peer/x/fonts.properties,
9978         * gnu/java/security/util/Prime2.java,
9979         * gnu/javax/imageio/gif/GIFStream.java,
9980         * javax/swing/text/html/HTMLTableView.java,
9981         * native/cni/Makefile.am,
9982         * org/omg/CORBA/SendingContext/RunTimeOperations.java,
9983         * org/omg/CORBA/SendingContext/Runtime.java,
9984         * resource/gnu/regexp/MessagesBundle.properties,
9985         * resource/gnu/regexp/MessagesBundle_fr.properties,
9986         * resource/gnu/regexp/MessagesBundle_it.properties,
9987         * tools/appletviewer.in,
9988         * tools/jarsigner.in,
9989         * tools/keytool.in,
9990         * vm/reference/java/lang/management/VMThreadInfo.java:
9991         Removed.
9992         * examples/gnu/classpath/examples/awt/aicas.png,
9993         * examples/gnu/classpath/examples/awt/palme.gif,
9994         * examples/gnu/classpath/examples/java2d/aicas.png,
9995         * examples/gnu/classpath/examples/java2d/palme.gif,
9996         * gnu/java/awt/font/opentype/truetype/doc-files/ZonePathIterator-1.dia,
9997         * gnu/java/awt/font/opentype/truetype/doc-files/ZonePathIterator-1.png,
9998         * java/awt/doc-files/capjoin.png,
9999         * java/awt/geom/doc-files/Area-1.png,
10000         * java/awt/geom/doc-files/Ellipse-1.png,
10001         * java/awt/geom/doc-files/GeneralPath-1.png:
10002         Added.
10003         
10004 2006-08-05  Andrew John Hughes  <gnu_andrew@member.fsf.org>
10005
10006         * configdiag.jnlp:
10007         Removed.
10008         
10009 2006-08-05  Andrew John Hughes  <gnu_andrew@member.fsf.org>
10010
10011         * gnu/java/lang/management/BeanImpl.java:
10012         (getAttribute(String)): Implemented.
10013
10014 2006-08-05  Roman Kennke  <kennke@aicas.com>
10015
10016         * javax/swing/text/JTextComponent.java
10017         (AccessibleJTextComponent.dot): Renamed field into caretDot.
10018         (AccessibleJTextComponent.textComp): Removed field
10019         and replace with JTextComponent.this construct.
10020         (AccessibleJTextComponent.AccessibleJTextComponent):
10021         Fetch caret position.
10022         (caretUpdate): Implemented. Fires property change events and
10023         updates the caretDot field.
10024         (changedUpdate): Implemented. Fires property change events.
10025         (insertUpdate): Implemented. Fires property change events.
10026         (removeUpdate): Implemented. Fires property change events.
10027         (cut): Replaced textComp with JTextComponent.this construct.
10028         (paste): Replaced textComp with JTextComponent.this construct.
10029         (replaceText): Replaced textComp with JTextComponent.this construct.
10030         (selectText): Replaced textComp with JTextComponent.this construct.
10031         (getCaretPosition): Replaced textComp with JTextComponent.this
10032         construct.
10033         (getCharCount): Replaced textComp with JTextComponent.this construct.
10034         (getSelectedText): Replaced textComp with JTextComponent.this
10035         construct.
10036         (getSelectionEnd): Replaced textComp with JTextComponent.this
10037         construct.
10038         (getSelectionStart): Replaced textComp with JTextComponent.this
10039         construct.
10040         (getTextRange): Replaced textComp with JTextComponent.this
10041         construct.
10042         (doAccessibleAction): Implemented.
10043         (getAccessibleActionCount): Implemented.
10044         (getAccessibleActionDescription): Implemented.
10045         (getAccessibleStateSet): Implemented.
10046         (getAfterIndex): Implemented.
10047         (getBeforeIndex): Implemented.
10048         (getAtIndex): Implemented.
10049         (getAtIndexImpl): New helper method.
10050         (getCharacterAttribute): Implemented.
10051         (getCharacterBounds): Implemented.
10052         (getIndexAtPoint): Implemented. 
10053         (insertTextAtIndex): Implemented.
10054         (setAttributes): Implemented.
10055         (setTextContents): Implemented.
10056
10057 2006-08-05  Raif S. Naffah  <raif@swiftdsl.com.au>
10058   
10059         * configure.ac: Better handling of default-preferences-peer option.
10060
10061 2006-08-04  Andreas Tobler  <a.tobler@schweiz.ch>
10062
10063         * java/awt/BasicStroke.java (dashedStroke): Cast coords.clone to
10064         double[].
10065
10066 2006-08-04  Andrew John Hughes  <gnu_andrew@member.fsf.org>
10067
10068         * javax/management/openmbean/TabularData.java:
10069         Documentation corrections.
10070         * javax/management/openmbean/TabularDataSupport.java:
10071         New file.
10072
10073 2006-08-04  Francis Kung  <fkung@redhat.com>
10074
10075         * java/awt/BasicStroke.java
10076         (dashedStroke): Implemented.
10077
10078 2006-08-04  Andrew John Hughes  <gnu_andrew@member.fsf.org>
10079
10080         * javax/management/BadAttributeValueExpException.java,
10081         * javax/management/BadStringOperationException.java,
10082         * javax/management/InstanceAlreadyExistsException.java,
10083         * javax/management/InstanceNotFoundException.java,
10084         * javax/management/InvalidApplicationException.java,
10085         * javax/management/MBeanRegistrationException.java,
10086         * javax/management/MalformedObjectNameException.java,
10087         * javax/management/RuntimeErrorException.java,
10088         * javax/management/RuntimeMBeanException.java,
10089         * javax/management/ServiceNotFoundException.java:
10090         New files.
10091         
10092 2006-08-04  Roman Kennke  <kennke@aicas.com>
10093
10094         * javax/swing/SwingUtilities.java
10095         (layoutCompoundLabel(JComponent,FontMetrics,String,Icon,int,int,int,
10096          int,Rectangle,Rectangle,Rectangle,int)): Delegate to new
10097         layoutCompoundLabelImpl().
10098         (layoutCompoundLabel(FontMetrics,String,Icon,int,int,int,int,
10099          Rectangle,Rectangle,Rectangle,int)): Delegate to new
10100         layoutCompoundLabelImpl().
10101         (layoutCompoundLabelImpl): New helper method. Moved impl from
10102         layoutCompoundLabel() to here and added handling of HTML.
10103         * javax/swing/plaf/basic/BasicButtonUI.java
10104         (installUI): Update HTML view if appropriate.
10105         (uninstallUI): New method. Do the usual uninstallUI things
10106         and uninstall HTML view.
10107         (getMinimumSize): New method. Adjusts the minimum size
10108         by the HTML view minimum size.
10109         (getMaximumSize): New method. Adjusts the maximum size
10110         by the HTML view maximum size.
10111         (getPreferredSize): Pass the button's iconTextGap to the
10112         BasicGraphicsUtils method.
10113         (paint): Let HTML view paint the text, if present.
10114         * javax/swing/plaf/basic/BasicButtonListener.java
10115         (propertyChange): Update the HTML view when the button's
10116         text is changed.
10117         
10118 2006-08-04  Mario Torre  <neugens@limasoftware.net>
10119
10120         Reported by Raif S. Naffah <raif@swiftdsl.com.au>
10121         * native/jni/gconf-peer/GConfNativePeer.c (init_gconf_client):
10122         g_type_init earlier in function to correctly initialize the
10123         type system used by the backend.
10124
10125 2006-08-04  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
10126
10127         PR 26972
10128         * javax/naming/Name.java (addAll, getPrefix, getSuffix):
10129         Documented.
10130         * gnu/javax/naming/ictxImpl/trans/GnuName.java: New file.
10131
10132 2006-08-04  Robert Schuster  <robertschuster@fsfe.org>
10133
10134         Reported by Henrik Gulbrandsen <henrik@gulbra.net>
10135         Fixes PR27864.
10136         * gnu/xml/dom/DomIterator.java:
10137         (successor): Added if-statement.
10138
10139 2006-08-04  Mark Wielaard  <mark@klomp.org>
10140
10141         * scripts/Makefile.am (EXTRA_DIST): Add import-cacerts.sh.
10142
10143 2006-08-04  Robert Schuster  <robertschuster@fsfe.org>
10144
10145         * javax/swing/plaf/metal/MetalMenuBarUI.java:
10146         (update): Check size and paint smaller gradient.
10147         * javax/swing/plaf/metal/MetalBorders.java:
10148         (MenuBarBorder): Removed borderColor field.
10149         (MenuBarBorder.paintBorder): Added note, fetch color from UIManager or
10150         MetalLookAndFeel.
10151
10152 2006-08-03  Roman Kennke  <kennke@aicas.com>
10153
10154         PR 27637
10155         * javax/swing/plaf/basic/BasicInternalFrameUI.java
10156         (ComponentHandler.componentResized): Reimplemented to handle
10157         arbitrary parents.
10158         (InternalFramePropertyChangeHandler.propertyChange): (Un)install
10159         component listener on changed ancestor.
10160         (installListeners): Install componentListener.
10161         (uninstallListeners): Uninstall componentListener.
10162
10163 2006-08-03  Carsten Neumann  <cn-develop@gmx.net>
10164
10165         * StrictMath.java (cbrt): Return argument if it is a NaN.
10166         (cosh): Likewise.
10167         (expm1): Likewise.
10168         (sinh): Likewise.
10169   
10170 2006-08-03  Carsten Neumann  <cn-develop@gmx.net>
10171   
10172         * java/lang/StrictMath.java (tanh): New method.
10173   
10174 2006-08-03  Raif S. Naffah  <raif@swiftdsl.com.au>
10175   
10176         * scripts/import-cacerts.sh: Batch CA certificates import script.
10177   
10178 2006-08-03  Roman Kennke  <kennke@aicas.com>
10179
10180         PR 27606
10181         * javax/swing/plaf/basic/BasicListUI.java
10182         (paintCell): Pass row index to cell renderer.
10183         * javax/swing/plaf/basic/MetalFileChooserUI.java
10184         (DirectoryComboBoxRenderer.indentIcon): New field.
10185         (DirectoryComboBoxRenderer.DirectoryComboBoxRenderer):
10186         Initialize indentIcon.
10187         (DirectoryComboBoxRenderer.getListCellRendererComponent):
10188         Fall back to super and removed standard functionality.
10189         Handle indentation.
10190         (IndentIcon): New class. Wraps and indents another icon.
10191
10192 2006-08-02  Andrew John Hughes  <gnu_andrew@member.fsf.org>
10193
10194         * javax/management/MBeanConstructorInfo.java:
10195         (MBeanConstructorInfo(String,String,MBeanParameterInfo[]):
10196         Copy array rather than directly assigning.
10197         * javax/management/MBeanInfo.java:
10198         (MBeanInfo(String,String,MBeanAttributeInfo[],
10199         MBeanConstructorInfo[], MBeanOperationInfo[],
10200         MBeanNotificationInfo[])): Likewise.
10201         * javax/management/MBeanOperationInfo.java:
10202         (MBeanOperationInfo(String,String,MBeanParameterInfo[],String,int)):
10203         Likewise.
10204         * javax/management/openmbean/OpenMBeanAttributeInfoSupport.java,
10205         * javax/management/openmbean/OpenMBeanConstructorInfoSupport.java:
10206         New files.
10207         * javax/management/openmbean/OpenMBeanInfo.java:
10208         Corrected documentation.
10209         * javax/management/openmbean/OpenMBeanInfoSupport.java:
10210         New file.
10211         * javax/management/openmbean/OpenMBeanOperationInfo.java:
10212         Corrected documentation.
10213         * javax/management/openmbean/OpenMBeanOperationInfoSupport.java:
10214         New file.
10215         * javax/management/openmbean/OpenMBeanParameterInfoSupport.java:
10216         (MBeanParameterInfo(String,String,OpenType,Object,Object[])):
10217         Call other constructor rather than reimplementing.
10218
10219 2006-08-02  Lillian Angel  <langel@redhat.com>
10220
10221         * java/awt/dnd/DragSource.java
10222         (isDragImageSupported): Implemented.
10223         (getDragThreshold): Changed default value.
10224         * java/awt/dnd/DropTarget.java
10225         (DropTarget): Default action is changed to ACTION_COPY_OR_MOVE.
10226         (DropTarget): Likewise.
10227         (DropTarget): If FlavorMap passed in is null, we should use the system default.
10228         (addDropTargetListener): Added check to determine if new DropTargetListener
10229         is this class. If so, an IllegalArgumentException is thrown. If the 
10230         new listener is null, nothing happens.
10231
10232 2006-08-02  Thomas Fitzsimmons  <fitzsim@redhat.com>
10233
10234         * configure.ac (MOZILLA_FOUND): Fall back to
10235         mozilla-firefox-plugin.
10236
10237 2006-08-02  Sven de Marothy  <sven@physto.se>
10238
10239         * java/awt/geom/AffineTransform.java
10240         (hashCode): Tweak impl. 
10241         * java/awt/font/FontRenderContext.java
10242         (hashCode): Implement. 
10243
10244 2006-08-02  Carsten Neumann  <cn-develop@gmx.net>
10245
10246         * java/lang/StrictMath.java (sinh): New method.
10247
10248 2006-08-02  Roman Kennke  <kennke@aicas.com>
10249
10250         PR 27605
10251         * javax/swing/JComboBox.java
10252         (setSelectedItem): Fire ActionEvent here.
10253         * javax/swing/plaf/basic/BasicDirectoryModel.java
10254         (directories): Changed to type Vector.
10255         (files): New field.
10256         (loadThread): New field.
10257         (DirectoryLoadThread): New inner class. This loads the contents
10258         of directories asynchronously.
10259         (getDirectories): Return cached Vector.
10260         (getFiles): Return cached Vector.
10261         (getSize): Return plain size of contents Vector.
10262         (propertyChange): Reread directory also for DIRECTORY_CHANGED,
10263         FILE_FILTER_CHANGED, FILE_HIDING_CHANGED and FILE_VIEW_CHANGED.
10264         (sort): Don't store sorted list in contents. This must be done
10265         asynchronously from the EventThread.
10266         (validateFileCache): Rewritten for asynchronous reading
10267         of directory contents.
10268         * javax/swing/plaf/basic/BasicFileChooserUI.java
10269         (installListeners): Install model as PropertyChangeListener.
10270         (uninstallListeners): Uninstall model as PropertyChangeListener.
10271         (createPropertyChangeListener): Return null just like the
10272         RI.
10273
10274 2006-08-02  Sven de Marothy  <sven@physto.se>
10275   
10276         * gnu/java/awt/peer/gtk/GtkChoicePeer.java
10277         (remove): Force event on removing item 0 when it's selected.
10278         (handleEvent): Always call Choice.selected().
10279         * java/awt/Choice.java:
10280         (remove): Simplify and correct.
10281   
10282 2006-08-02  Mark Wielaard  <mark@klomp.org>
10283   
10284         PR 28535
10285         * configure.ac (gconf-peer): Check for gdk-2.0.
10286         * native/jni/gconf-peer/Makefile.am
10287         (AM_LDFLAGS): Use GDK_LIBS.
10288         (AM_CFLAGS): Use GDK_CFLAGS.
10289   
10290 2006-08-02  Thomas Minor  <1nocentrabidlamb@sexMagnet.com>
10291   
10292         * java/net/URL.java (getContent(Class[])): Implement.
10293   
10294 2006-08-02  Roman Kennke  <kennke@aicas.com>
10295   
10296         PR 27624
10297         * javax/swing/JMenu.java
10298         (JMenu()): Removed setting of delay.
10299         (JMenu(String)): Removed setting of delay.
10300         (JMenu(Action)): Removed setting of delay.
10301         (JMenu(String,boolean)): Removed setting of delay.
10302         (setSelectedHelper): Removed unneeded method.
10303         (setSelected): Simply set the model state.
10304         (setPopupMenuVisible): Recognize the popup location
10305         determined by getPopupMenuOrigin().
10306         (getPopupMenuOrigin): Recognize the UI properties for
10307         X and Y offset.
10308         (menuSelectionChanged): Call setSelected() directly.
10309         * javax/swing/JPopupMenu.java
10310         (menuSelectionChanged): If invoker is a JMenu, then delegate
10311         to that to get the position right.
10312         * javax/swing/Popup.java
10313         (LightweightPopup.show): Insert the popup as first component
10314         in the layer, so that it overlaps it's caller.
10315         * javax/swing/plaf/basic/BasicMenuItemUI.java
10316         (getPath): Don't include the popup.
10317         * javax/swing/plaf/basic/BasicMenuUI.java
10318         (SelectMenuAction): New class. This invokes the popup when
10319         a menu is selected.
10320         (installDefaults): Install delay of 200 ms.
10321         (setupPostTimer): Implemented.
10322         (MouseInputHandler.mouseClicked): Do nothing here.
10323         (MouseInputHandler.mouseEntered): Use MenuSelectionManager
10324         magic to handle the selection. Open the menu via a timer.
10325         (MouseInputHandler.mousePressed): Use MenuSelectionManager
10326         magic to handle the selection. Open the menu via a timer.
10327         (MenuDragMouseHandler.menuMouseDragged): Probably use
10328         timer.
10329         (menuDragMouseEntered): Do nothing here.
10330   
10331 2006-08-02  Andrew John Hughes  <gnu_andrew@member.fsf.org>
10332         
10333         * javax/management/openmbean/InvalidOpenTypeException.java,
10334         * javax/management/openmbean/KeyAlreadyExistsException.java:
10335         New files.
10336
10337 2006-08-02  Roman Kennke  <kennke@aicas.com>
10338
10339         PR 27604
10340         * javax/swing/plaf/basic/BasicChooserUI.java
10341         (BasicFileView.getName): Fetch the real name from the
10342         file chooser's FileSystemView.
10343         * javax/swing/plaf/metal/MetalChooserUI.java
10344         (DirectoryComboBoxRenderer.getListCellRendererComponent):
10345         Set the text fetched from the JFileChooser.getName().
10346         * javax/swing/FileSystemView.java
10347         (createFileObject): When file is a filesystem root,
10348         create a filesystem root object first.
10349         (getSystemDisplayName): Return the filename. Added specnote
10350         about ShellFolder class that is mentioned in the spec.
10351         * javax/swing/UnixFileSystemView.java
10352         (getSystemDisplayName): Implemented to return the real name
10353         of a file, special handling files like '.' or '..'.
10354
10355 2006-08-03  Mark Wielaard  <mark@klomp.org>
10356
10357         * examples/gnu/classpath/examples/icons/badge.png: Add file.
10358
10359 2006-08-03  Roman Kennke  <kennke@aicas.com>
10360
10361         PR 28562
10362         * javax/swing/plaf/basic/BasicOptionPaneUI.java
10363         (PropertyChangeHandler.propertyChange): Cleanly reinstall
10364         components when visual property chanegs.
10365
10366 2006-08-03  Roman Kennke  <kennke@aicas.com>
10367
10368         PR 28562
10369         * javax/swing/plaf/basic/BasicOptionPaneUI.java
10370         (PropertyChangeHandler.propertyChange): Uninstall and reinstall
10371         component when visual properties change.
10372
10373 2006-08-03  Roman Kennke  <kennke@aicas.com>
10374
10375         PR 28534
10376         * javax/swing/JTree.java
10377         (JTree(TreeModel)): Set cell renderer to null.
10378         * javax/swing/plaf/basic/BasicTreeUI.java
10379         (setCellRenderer): Finish editing before setting the
10380         cell renderer. Refresh the layout. Don't set the
10381         currentCellRenderer field here (that's done in updateRenderer).
10382         (updateRenderer): Handle createdRenderer field here too.
10383         Set renderer to a default handler when the current renderer
10384         in the JTree is null.
10385
10386 2006-08-02  Raif S. Naffah  <raif@swiftdsl.com.au>
10387
10388         PR Classpath/23899
10389         * java/security/SecureRandom.java (next): Call nextBytes as per specs.
10390
10391 2006-08-02  Raif S. Naffah  <raif@swiftdsl.com.au>
10392
10393         PR Classpath/28556
10394         * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java (encodePrivateKey):
10395         Updated documentation to clarify that RFC-2459 states that the parameters
10396         field of the AlgorithmIdentifier element MUST be NULL if present.
10397         Amended the code to reflect the specs.
10398         (decodePrivateKey): Handle case of NULL AlgorithmIdentifier.parameters.
10399
10400 2006-08-01  Andrew John Hughes  <gnu_andrew@member.fsf.org>
10401
10402         * javax/management/openmbean/OpenMBeanParameterInfoSupport.java:
10403         Call parameter 'defaultValue' not 'defValue'.
10404
10405 2006-08-01  Andrew John Hughes  <gnu_andrew@member.fsf.org>
10406
10407         * javax/management/openmbean/OpenMBeanParameterInfoSupport.java:
10408         New file.
10409
10410 2006-08-01  Roman Kennke  <kennke@aicas.com>
10411   
10412         PR 28562
10413         * javax/swing/plaf/basic/BasicOptionPaneUI.java
10414         (PropertyChangeHandler.propertyChange): Cleanly reinstall
10415         components when visual property chanegs.
10416   
10417 2006-08-01  Andrew John Hughes  <gnu_andrew@member.fsf.org>
10418
10419         * javax/management/openmbean/OpenMBeanAttributeInfo.java:
10420         (toString()): Corrected documentation.
10421         * javax/management/openmbean/OpenMBeanConstructorInfo.java,
10422         * javax/management/openmbean/OpenMBeanInfo.java,
10423         * javax/management/openmbean/OpenMBeanOperationInfo.java:
10424         New files.
10425         * javax/management/openmbean/OpenMBeanParameterInfo.java:
10426         (toString()): Corrected documentation.
10427         
10428 2006-08-01  Tania Bento  <tbento@redhat.com>
10429
10430         * java/awt/Choice.java
10431         (remove(int)): Added documentation.
10432
10433 2006-08-01  Tania Bento  <tbento@redhat.com>
10434         
10435         * java/awt/Choice.java
10436         (remove(int)): An IllegalArgumentException should not be thrown
10437         if int is invalid.  Update selectedIndex and peer selection.
10438
10439 2006-08-01  Tania Bento  <tbento@redhat.com>
10440
10441         * java/awt/CardLayout.java
10442         (toString): Changed format of string outputted.
10443         (goToComponent): Changed the order of the if-clause.
10444
10445 2006-07-31  Tom Tromey  <tromey@redhat.com>
10446
10447         * INSTALL: Updated for ASM.
10448
10449 2006-07-31  Tom Tromey  <tromey@redhat.com>
10450
10451         PR libgcj/23682:
10452         * java/nio/channels/SelectionKey.java (attach): Now synchronized.
10453         (attachment): Likewise.
10454         * java/nio/channels/spi/AbstractSelectionKey.java (cancel): Now
10455         synchronized.
10456         (isValid): Likewise.
10457         * gnu/java/nio/SelectionKeyImpl.java (impl): Now final
10458         (ch): Likewise.
10459         (interestOps): Synchronize.
10460         (readyOps): Likewise.
10461         * gnu/java/nio/SelectorImpl.java (register): Synchronize around
10462         interestOps call.
10463
10464 2006-07-31  Roman Kennke  <kennke@aicas.com>
10465
10466         * NEWS: Added note about the X peers.
10467         * INSTALL: Added install notes about the X peers.
10468
10469 2006-07-31  Carsten Neumann  <cn-develop@gmx.net>
10470
10471         * StrictMath.java (getLowDWord): Return long instead of int.
10472         (getHighDWord): Likewise.
10473         (buildDouble): Take two long arguments.
10474         (cbrt): Adapted to int -> long change.
10475         (expm1): Likewise.
10476         (cosh): Likewise.
10477
10478 2006-07-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
10479
10480         * native/jni/qt-peer/Makefile.am (libqtpeer_la_LDFLAGS): Add
10481         -avoid-version.
10482
10483 2006-07-31  Raif S. Naffah  <raif@swiftdsl.com.au>
10484
10485         * java/security/Provider.java: Updated copyright year.
10486         Updated documentation.
10487         Formatting.
10488         (put): Updated documentation.
10489         Added security manager check.
10490         Canonicalize the key before adding its mapping.
10491         (get): Override superclass implementation to use canonicalized keys.
10492         (remove): Updated documentation.
10493         Added security manager check.
10494         Canonicalize the key before removing its mapping.
10495         (clear): Updated documentation.
10496         Added security manager check.
10497         (toCanonicalKey): New method.
10498
10499 2006-07-30  Matt Wringe  <mwringe@redhat.com>
10500
10501         * gnu/java/security/Engine.java
10502         (getInstance): Ignore self referencing aliases.
10503
10504 2006-07-30  Mark Wielaard  <mark@klomp.org>
10505
10506         * javax/swing/JComponent.java (getListeners): Revert
10507         un-genericization.
10508
10509 2006-07-30  Mark Wielaard  <mark@klomp.org>
10510
10511         * resource/java/security/classpath.security: Add /dev/urandom as
10512         default securerandom.source.
10513
10514 2006-07-30  Mark Wielaard  <mark@klomp.org>
10515
10516         * java/util/GregorianCalendar.java (maximums): Months can have up to
10517         6 weeks.
10518         (nonLeniencyCheck): weeks is either 5 or 6.
10519
10520 2006-07-30  Andrew John Hughes  <gnu_andrew@member.fsf.org>
10521         
10522         * javax/management/openmbean/OpenMBeanAttributeInfo.java,
10523         * javax/management/openmbean/OpenMBeanParameterInfo.java:
10524         New files.
10525
10526 2006-07-30  Matt Wringe  <mwringe@redhat.com>
10527
10528         * gnu/java/security/Engine.java 
10529         (getInstance): Ignore self referencing aliases.
10530
10531 2006-07-30  Sven de Marothy  <sven@physto.se>
10532
10533         * java/awt/Choice.java:
10534         (accessibleAction): Call select() directly.
10535         (add, insert, remove): Reimplement.
10536         (dispatchEventImpl): Always call super.
10537         (processItemEvent): Does not set the index.
10538         * include/gnu_java_awt_peer_gtk_GtkChoicePeer.h
10539         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
10540         (append): removed.
10541         (nativeAdd): Name changed to add.
10542         (selection_changed_cb): Simplify callback.
10543         * gnu/java/awt/peer/gtk/GtkChoicePeer.java
10544         (selected): New field.
10545         (add): Replaced with native impl.
10546         (handleEvent): New method.      
10547         
10548 2006-07-30  Sven de Marothy  <sven@physto.se>
10549
10550         * java/awt/Choice.java:
10551         Reformat, fix copyright year.
10552
10553 2006-07-29  Mark Wielaard  <mark@klomp.org>
10554
10555         * javax/swing/JComponent.java (paintingDoubleBuffered): Renamed
10556         static field isPaintingDoubleBuffered to not have the same name
10557         as a method.
10558
10559 2006-07-29  Andrew John Hughes  <gnu_andrew@member.fsf.org>
10560   
10561         * examples/gnu/classpath/examples/management/TestBeans.java:
10562         New file.
10563         * javax/management/MBeanAttributeInfo.java:
10564         (toString()): Implemented.
10565         * javax/management/MBeanConstructorInfo.java:
10566         (toString()): Implemented.
10567         * javax/management/MBeanFeatureInfo.java:
10568         (toString()): Implemented.
10569         * javax/management/MBeanInfo.java:
10570         (toString()): Implemented.
10571         * javax/management/MBeanNotificationInfo.java:
10572         (toString()): Implemented.
10573         * javax/management/MBeanOperationInfo.java:
10574         (toString()): Implemented.
10575         * javax/management/MBeanParameterInfo.java:
10576         (toString()): Implemented.
10577         * javax/management/StandardMBean.java:
10578         (getMBeanInfo()): Fix attribute naming.
10579
10580 2006-07-29  Andrew John Hughes  <gnu_andrew@member.fsf.org>
10581
10582         * gnu/java/lang/management/BeanImpl.java:
10583         Extended javax.management.StandardMBean.
10584         * gnu/java/lang/management/ClassLoadingMXBeanImpl.java,
10585         * gnu/java/lang/management/CompilationMXBeanImpl.java,
10586         * gnu/java/lang/management/GarbageCollectorMXBeanImpl.java,
10587         * gnu/java/lang/management/MemoryMXBeanImpl.java,
10588         * gnu/java/lang/management/MemoryManagerMXBeanImpl.java,
10589         * gnu/java/lang/management/MemoryPoolMXBeanImpl.java,
10590         * gnu/java/lang/management/OperatingSystemMXBeanImpl.java,
10591         * gnu/java/lang/management/RuntimeMXBeanImpl.java,
10592         * gnu/java/lang/management/ThreadMXBeanImpl.java:
10593         Call the superclass with the appropriate class.
10594         * java/lang/management/ManagementFactory.java:
10595         (getOperatingSystemMXBean()): Catch exception from
10596         StandardMBean.
10597         (getRuntimeMXBean()): Likewise.
10598         (getClassLoadingMXBean()): Likewise.
10599         (getThreadMXBean()): Likewise.
10600         (getMemoryMXBean()): Likewise.
10601         (getCompilationMXBean()): Likewise.
10602         (getMemoryPoolMXBeans()): Likewise.
10603         (getMemoryManagerMXBeans()): Likewise.
10604         (getGarbageCollectorMXBeans()): Likewise.
10605         * javax/management/MBeanFeatureInfo.java:
10606         hashCode()): Fixed to check for null values.
10607
10608 2006-07-29  Matt Wringe  <mwringe@redhat.com>
10609
10610         * gnu/java/security/Engine.java
10611         (getInstance): Add case insentivity to algorithm names
10612         * java/security/Provider.java
10613         (put): Stop using canonical key naming
10614         (remove): Likewise
10615         (toCanonicalKey): Method removed
10616         (get): Method removed, no longer needs to overwrite
10617         parent implementation
10618
10619 2006-07-29  Mark Wielaard  <mark@klomp.org>
10620
10621         * gnu/java/awt/peer/gtk/GdkTextLayout.java: Removed.
10622         * gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java: Removed.
10623         * include/gnu_java_awt_peer_gtk_GdkTextLayout.h: Removed.
10624         * include/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.h: Removed.
10625         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c: Removed.
10626         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c:
10627         Removed.
10628
10629 2006-07-29  Sven de Marothy  <sven@physto.se>
10630
10631         * java/math/BigDecimal.java
10632         Adjust copyright date.
10633         (divide(BigDecimal): Implement.
10634         (precision): Reimplement.
10635         (numDigitsInBigInteger, numDigitsInLong): Removed.
10636         (toString): Get exponent from string length,
10637         fix negative values with exponential form.
10638         (toEngineeringString): Same as for toString.
10639         (setScale): Throw ArithmeticException if scale < 0.
10640
10641 2006-07-27  Francis Kung  <fkung@redhat.com>
10642
10643         * gnu/java/awt/java2d/CubicSegment.java: Added import.
10644         (cp1): Renamed from first().
10645         (c2): Renamed from last().
10646         (first): Renamed to cp1().
10647         (getDisplacedSegments): Implemented.
10648         (last): Renamed to cp2().
10649         * gnu/java/awt/java2d/LineSegment.java
10650         (cp1): Renamed from first().
10651         (c2): Renamed from last().
10652         (first): Renamed to cp1().
10653         (last): Renamed to cp2().
10654         * gnu/java/awt/java2d/QuadSegment.java
10655         (cp1): Renamed from first().
10656         (c2): Renamed from last().
10657         (first): Renamed to cp1().
10658         (last): Renamed to cp2().
10659         * gnu/java/awt/java2d/Segment.java: Added comments.
10660         (first): New field.
10661         (Segment): Keep track of first element in list.
10662         (add): Update first & last element variables.
10663         (cp1): Renamed from first().
10664         (c2): Renamed from last().
10665         (first()): Renamed to cp1() to reduce ambiguity.
10666         (last()): Renamed to cp2() to reduce ambiguity.
10667         (reverseAll): Update first element variable..
10668         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
10669         (draw): Remove flattening path iterator.
10670         * java/awt/BasicStroke.java: Clarified comments.
10671         (addSegments): Refactored some code into joinSegments and
10672         joinInnerSegments.
10673         (capEnd): Rename of Segment.first() and Segment.end().
10674         (joinInnerSegments): New method.
10675         (joinOuterSegments): New method.
10676         (joinSegments): Refactored some code into joinOuterSegments.
10677         (solidStroke): Connect segments together properly.
10678
10679 2006-07-28  Thomas Fitzsimmons  <fitzsim@redhat.com>
10680
10681         * native/jawt/Makefile.am (libjawt_la_LDFLAGS): Add
10682         -avoid-version.
10683         * native/jni/gtk-peer/Makefile.am (libgtkpeer_la_LDFLAGS):
10684         Likewise.
10685         * native/jni/midi-alsa/Makefile.am (libgjsmalsa_la_LDFLAGS):
10686         Likewise.
10687         * native/jni/midi-dssi/Makefile.am (libgjsmdssi_la_LDFLAGS):
10688         Likewise.
10689
10690 2006-07-28  Tom Tromey  <tromey@redhat.com>
10691
10692         * configure.ac: Enable -Werror by default on Linux-with-gcc.
10693
10694 2006-07-28  Lillian Angel  <langel@redhat.com>
10695
10696         * native/jni/gtk-peer/GtkDragSourceContextPeer.c:
10697         Removed function declarations.
10698         (connect_signals_for_widget): Removed implementation because
10699         stub functions have been removed.
10700         (drag_begin_cb): Removed function.
10701         (drag_motion_cb): Likewise.
10702         (drag_data_get_cb): Likewise.
10703         (drag_data_delete_cb): Likewise.
10704         (drag_drop_cb): Likewise.
10705         (drag_end_cb): Likewise.
10706         (drag_data_received_cb): Likewise.      
10707
10708 2006-07-28  Mark Wielaard  <mark@klomp.org>
10709
10710         * configure.ac: Set version to 0.93-pre.
10711
10712 2006-07-29  Raif S. Naffah  <raif@swiftdsl.com.au>
10713
10714         * tools/Makefile.am: Added source 1.4 compliance option when ECJ is used.
10715
10716 2006-07-29  Raif S. Naffah  <raif@swiftdsl.com.au>
10717
10718         * tools/gnu/classpath/tools/keytool/Command.java: Removed unused import.
10719         (getCallbackHandler): Fully qualify linked class in javadoc.
10720         * tools/gnu/classpath/tools/keytool/GenKeyCmd.java (cmdOptionsParser): Removed.
10721         * tools/gnu/classpath/tools/keytool/ImportCmd.java (imported): Likewise.
10722         * tools/gnu/classpath/tools/keytool/Main.java (printHelp): Likewise.
10723
10724 2006-07-27  Tom Tromey  <tromey@redhat.com>
10725
10726         PR classpath/28486:
10727         * java/net/URLStreamHandler.java (equals): Properly handle default
10728         port.  Rewrote javadoc.  Don't compare 'authority' parts of URLs.
10729
10730 2006-07-27  Roman Kennke  <kennke@aicas.com>
10731
10732         * javax/swing/text/AbstractDocument.java
10733         (documentCV): Made field private.
10734         (bypass): Made field private.
10735         (bidiRoot): New field.
10736         (AbstractDocument): Initialize bidiRoot.
10737         (getBidiRootElement): Return bidiRoot.
10738         (getRootElements): Adjusted to also return the bidiRoot element.
10739         (BranchElement.startOffset): Removed unneeded field.
10740         (BranchElement.endOffset): Removed unneeded field.
10741         (BranchElement.BranchElement): Removed unneeded fields.
10742         (BranchElement.getEndOffset): Don't explicitly throw NPE here. This is
10743         done automatically when there's no element left in the array.
10744         (BranchElement.getStartOffset): Likewise.
10745         (BranchElement.replace): Reordered calculations to avoid double
10746         calculations.
10747         (removeImpl): Silently ignore requests with length <= 0.
10748         * javax/swing/text/GapContent.java
10749         (createPosition): Removed explicit check for correct offset.
10750         This class can deal with offsets outside the document.
10751         (shiftEnd): Update all positions, even those outside the
10752         document.
10753         (adjustPositionsInRange): Fixed to also adjust positions outside
10754         the document boundary.
10755
10756 2006-07-18  Kyle Galloway  <kgallowa@redhat.com>
10757
10758     * gnu/classpath/jdwp/event/ExceptionEvent.java: Added _klass field to hold
10759     defining class.
10760     (getParameter): Returns _klass field instead of determining
10761     class from _instance.
10762     (setCatchLoc): New method.
10763     (writeData): Now assumes Location deals with empty locations instead of
10764     using null.
10765     * gnu/classpath/jdwp/util/Location.java (write): Check for empty
10766     locations and write out accordingly.
10767     (getEmptyLocation): New method. 
10768
10769 2006-07-27  Roman Kennke  <kennke@aicas.com>
10770
10771         * javax/swing/text/SimpleAttributeSet.java
10772         (EMPTY): Use EmptyAttributeSet for this field rather than
10773         SimpleAttributeSet.
10774         * javax/swing/text/EmptyAttributeSet.java: New class. Implements
10775         an empty and immutable AttributeSet.
10776
10777 2006-07-27  Roman Kennke  <kennke@aicas.com>
10778
10779         * java/awt/Component.java
10780         (reshape): Invalidate the component itself only when the
10781         size has changed. Invalidate the parent always. Fixed
10782         repainting. Pulled out the notification into
10783         notifyReshape().
10784         (notifyReshape): New helper method. Notify interested listeners
10785         about a reshape.
10786         (update): Simply call paint() without clearing the background.
10787         This is done in Container.update() if appropriate.
10788         (repaint): Delagate the repaint to the nearest heavyweight
10789         parent (for lightweights) and send an UPDATE event, rather than
10790         calling ComponentPeer.repaint().
10791         * java/awt/Container.java
10792         (backCleared): Removed field.
10793         (paint): Removed handling of backCleared flag.
10794         (update): Only paint if the container is actually
10795         showing. Removed handling of backCleared flag.
10796
10797 2006-07-27  Robert Schuster <robertschuster@fsfe.org>
10798
10799         * javax/swing/plaf/basic/BasicTabbedPaneUI.java: Fixed copyright and
10800         authorship.
10801         (NavigateAction): New inner class.
10802         (NavigatePageDownAction): New inner class.
10803         (NavigatePageUpAction): New inner class.
10804         (RequestFocusAction): New inner class.
10805         (RequestFocusForVisibleComponentAction): New inner class.
10806         (FocusHandler.focusGained): Implemented.
10807         (FocusHandler.focusLost): Implemented.
10808         (MouseHandler.mouseReleased): Implemented.
10809         (MouseHandler.mousePressed): Rewritten.
10810         (PropertyChangeHandler.propertyChange): Reset currentScrollOffset and
10811         currentScrollLocation to 0.
10812         (TabbedPaneLayout.calculateSize): Stored tab count in local variable,
10813         removed local variables, fixed indentation to stay under 80 column
10814         limit.
10815         (TabbedPaneLayout.calculateTabRects): Decrease tab area position by
10816         one, set selectedIndex to 0 if its negative, corrected start values
10817         for normalization, suppressed padding when only one tab run,
10818         (TabbedPaneLayout.minimumLayoutSize): Toggled argument value.
10819         (TabbedPaneLayout.normalizeTabRuns): Fixed indentation to stay under
10820         80 column limit, corrected the starting value for the bounds fixing
10821         phase.
10822         (TabbedPaneLayout.preferredTabAreaWidth): Fixed indentation.
10823         (TabbedPaneLayout.rotateTabInRuns): Corrected comparison value for
10824         selectedRun, set start index for loop to 0.
10825         (TabbedPaneScrollLayout.preferredLayoutSize): Toggled argument value.
10826         (TabbedPaneScrollLayout.calculateTabRects): Rewritten.
10827         (TabbedPaneScrollLayout.layoutContainer): Added scrolling button
10828         alignment and visibility handling.
10829         (TabSelectionHandler.stateChanged): Do revalidation only in wrap tab
10830         layout mode.
10831         (ScrollingPanel.ScrollingPanelUI.paint): Rewritten.
10832         (currentScrollOffset): New field.
10833         (tabRuns): Rewritten documentation.
10834         (selectedColor): New field.
10835         (tempTextRect): New field.
10836         (tempIconRect): New field.
10837         (scrollTab): New method.
10838         (updateButtons): New method.
10839         (updateViewPosition): New method.
10840         (createLayoutManager): Reordered method calls, predefine new fields,
10841         register proper listeners.
10842         (uninstallComponents): Implemented.
10843         (installDefaults): Corrected property names, fixed indentation,.
10844         (uninstallDefaults): Set new fields to null.
10845         (uninstallListeners): Remove listeners from components neccessary for
10846         scrolling tab layout.
10847         (installKeyboardActions): Implemented.
10848         (uninstallKeyboardActions): Implemented.
10849         (paint): Paint tab area background.
10850         (paintTabArea): Fixed indentation, removed usage of local Rectangle
10851         objects.
10852         (getTabLabelShiftX): Rewritten.
10853         (getTabLabelShiftY): Rewritten.
10854         (paintFocusIndicator): Reindented.
10855         (paintTabBorder): Rewritten.
10856         (paintTabBackground): Corrected color usage, rewritten background
10857         rectangle painting.
10858         (paintContentBorderTopEdge): Rewritten.
10859         (paintContentBorderBottomEdge): Rewritten.
10860         (paintContentBorderLeftEdge): Rewritten.
10861         (paintContentBorderRightEdge): Rewritten.
10862         (tabForCoordinate): Return selected index when no tab could be
10863         found, removed FIXME note.
10864         (getRunForTab): Changed return value for first if-statement.
10865         (navigateSelectedTab): Fixed last argument for both
10866         getTabRunOffset() calls.
10867         (selectedNextTabInRun): Added scrolling code.
10868         (selectedPreviousTabInRun): Added scrolling code.
10869         (selectedNextTab): Added scrolling code.
10870         (selectedPreviousTab): Added scrolling code.
10871         (selectAdjacentRunTab): Added scrolling code.
10872         (getTextViewForTab): Added FIXME note.
10873         (calculateTabHeight): Changed FIXME note.
10874         (getTabRunOffset): Fixed indentation.
10875         (getNextTabIndexInRun): Corrected return value.
10876         (rotateInsets): Make TOP case the default in switch-statement.
10877         (getActionMap): New method.
10878         (createActionMap): New method.
10879         * javax/swing/plaf/metal/MetalTabbedPaneUI.java:
10880         (createLayoutManager): Rewritten.
10881         (paintLeftTabBorder): Do not paint left line when previous tab
10882         is selected but current tab is the first in its run, do not paint
10883         left line when current tab is selected and is first in its run.
10884         (paintRightTabBorder): Added missing setColor() call, fixed color
10885         usage, do not paint right line if previous tab is selected but
10886         current tab is the first in its run.
10887         (paintBottomTabBorder): Do not paint left line if tab is selected
10888         and is the first tab in the last run.
10889         (paintFocusIndicator): New method.
10890         (getLabelShiftX): New method.
10891         (getLabelShiftY): New method.
10892
10893 2006-07-27  Andreas Tobler  <a.tobler@schweiz.ch>
10894
10895         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
10896         (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoSetMatrix): Remove
10897         g_assert from unused obj.
10898         (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoDrawGlyphVector): Mark
10899         obj as unused and remove g_assert on it.
10900
10901 2006-07-26  Roman Kennke  <kennke@aicas.com>
10902
10903         * javax/swing/RepaintManager.java
10904         (markCompletelyDirty): Add dirty region with Integer.MAX_VALUE
10905         for the component.
10906         (isCompletelyDirty): Consider a component completely dirty
10907         when it has a dirty region with Integer.MAX_VALUE.
10908
10909 2006-07-26  Roman Kennke  <kennke@aicas.com>
10910
10911         * java/awt/KeyboardFocusManager.java
10912         (getGlobalFocusOwner): Explicitly check for thread security.
10913         (getGlobalPermanentFocusOwner): Explicitly check for thread security.
10914         (getGlobalFocusedWindow): Explicitly check for thread security.
10915         (getGlobalActiveWindow): Explicitly check for thread security.
10916         (getGlobalCurrentFocusCycleRoot): Explicitly check for thread security.
10917         (getGlobalObject): Added new argument for specifying if
10918         a security check should be performed or not.
10919         (setGlobalObject): Don't check for thread security when
10920         calling getGlobalObject.
10921
10922 2006-07-26  Andrew John Hughes  <gnu_andrew@member.fsf.org>
10923
10924         * javax/management/MBeanConstructorInfo.java:
10925         Documentation fix.
10926         * javax/management/MBeanInfo.java:
10927         (MBeanInfo(String,String,MBeanAttributeInfo[],
10928         MBeanConstructorInfo[], MBeanOperationInfo[],
10929         MBeanNotificationInfo[])): Implemented.
10930         (equals(Object)): Likewise.
10931         (getAttributes()): Likewise.
10932         (getConstructors()): Likewise.
10933         (getOperations()): Likewise.
10934         (hashCode()): Likewise.
10935         * javax/management/MBeanOperationInfo.java,
10936         * javax/management/NotCompliantMBeanException.java,
10937         * javax/management/StandardMBean.java:
10938         New files.
10939
10940 2006-07-26  Sven de Marothy  <sven@physto.se>
10941
10942         * java/awt/geom/GeneralPath.java: Fix severe typo.
10943         
10944 2006-07-26  Sven de Marothy  <sven@physto.se>
10945
10946         * include/java_lang_VMSystem.h
10947         * vm/reference/java/lang/VMSystem.java
10948         * native/jni/java-lang/java_lang_VMSystem.c
10949         (nanoTime, currentTimeMillis): Switch the former to native code and
10950         the latter to java.
10951         
10952 2006-07-26  Andreas Tobler  <a.tobler@schweiz.ch>
10953
10954         * gnu/java/awt/peer/qt/QtCheckboxPeer.java: Removed unneeded imports.
10955         * gnu/java/awt/peer/qt/QtComponentGraphics.java: Likewise.
10956         * gnu/java/awt/peer/qt/QtComponentPeer.java: Likewise.
10957         * gnu/java/awt/peer/qt/QtContainerPeer.java: Likewise.
10958         * gnu/java/awt/peer/qt/QtDialogPeer.java: Likewise.
10959         * gnu/java/awt/peer/qt/QtEmbeddedWindowPeer.java: Likewise.
10960         * gnu/java/awt/peer/qt/QtFontMetrics.java: Likewise.
10961         * gnu/java/awt/peer/qt/QtFontPeer.java: Likewise.
10962         * gnu/java/awt/peer/qt/QtGraphics.java: Likewise.
10963         * gnu/java/awt/peer/qt/QtGraphicsEnvironment.java: Likewise.
10964         * gnu/java/awt/peer/qt/QtImage.java: Likewise.
10965         * gnu/java/awt/peer/qt/QtImageConsumer.java: Likewise.
10966         * gnu/java/awt/peer/qt/QtImageDirectGraphics.java: Likewise.
10967         * gnu/java/awt/peer/qt/QtImageGraphics.java: Likewise.
10968         * gnu/java/awt/peer/qt/QtMenuBarPeer.java: Likewise.
10969         * gnu/java/awt/peer/qt/QtMenuItemPeer.java: Likewise.
10970         * gnu/java/awt/peer/qt/QtPopupMenuPeer.java: Likewise.
10971         * gnu/java/awt/peer/qt/QtScreenDeviceConfiguration.java: Likewise.
10972         * gnu/java/awt/peer/qt/QtScrollPanePeer.java: Likewise.
10973         * gnu/java/awt/peer/qt/QtToolkit.java: Likewise.
10974         * gnu/java/awt/peer/qt/QtVolatileImage.java: Likewise.
10975
10976 2006-07-26  Roman Kennke  <kennke@aicas.com>
10977
10978         * java/awt/KeyboardFocusManager.java
10979         (getFocusOwner): Don't check permanent owner.
10980         (getGlobalFocusOwner): Don't check permanent owner.
10981
10982 2006-07-26  Carsten Neumann  <cn-develop@gmx.net>
10983
10984         * StrictMath.java (cosh): New method.
10985         (expm1): New method.
10986         (EXPM1_Q1): New field.
10987         (EXPM1_Q2): Likewise.
10988         (EXPM1_Q3): Likewise.
10989         (EXPM1_Q4): Likewise.
10990         (EXPM1_Q6): Likewise.
10991
10992 2006-07-26  Roman Kennke  <kennke@aicas.com>
10993
10994         * javax/swing/plaf/basic/BasicButtonListener.java
10995         (mousePressed): Request focus if appropriate.
10996         * javax/swing/text/DefaultCaret.java
10997         (mousePressed): Also handle the focus of the text component
10998         as specified. Don't consume events.
10999
11000 2006-07-26  Roman Kennke  <kennke@aicas.com>
11001
11002         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
11003         (focusRequest): Removed field.
11004         (postFocusEvent(int,boolean,Component)): Removed.
11005         (postFocusEvent(int,boolean)): Reverted to post event using
11006         the heavyweight component.
11007         (requestFocus): Post focus event using the heavyweight
11008         component.
11009         * gnu/java/awt/peer/gtk/GtkWindowPeer.java
11010         (requestFocus): Post focus event using the heavyweight
11011         component.
11012         * java/awt/AWTEvent.java
11013         (isFocusManagerEvent): New field, indicating if this is
11014         an event that is redispatched by the KeyboardFocusManager.
11015         * java/awt/Component.java
11016         (requestFocusImpl): Register component for
11017         heavyweight->lightweight mapping.
11018         (dispatchEventImpl): Retarget focus events before dispatching
11019         to the KeyboardFocusManager. Use new AWTEvent flag instead
11020         of locking hack. Dispatch all events through the
11021         KeyboardFocusManager. Don't request focus on lightweight
11022         components.
11023         * java/awt/DefaultKeyboardFocusManager.java
11024         (dispatchEvent): Pulled out handling of FOCUS_GAINED and
11025         FOCUS_LOST.
11026         (handleFocusGained): Fixed handling of temporary vs permanent
11027         focus changes. Added some checks.
11028         (handleFocusLost): Fixed handling of temporary vs permanent
11029         focus changes. Added some checks.
11030         * java/awt/EventDispatchThread.java
11031         (run): Don't dispatch to KeyboardFocusManager here. This
11032         is done in Component.dispatchEventImpl().
11033         * java/awt/KeyboardFocusManager.java
11034         (redispatchEvent): Use new AWTEvent flag instead of locking hack.
11035         (focusRequests): New field.
11036         (retargetFocusEvent): New method. Retargets focus events
11037         that come from heavyweights to the correct lightweight component.
11038         (addLightweightFocusRequest): New method. Stores a mapping
11039         for later retargetting of heavyweight focus events.
11040         * java/awt/Window.java
11041         (addFocusListener): Removed bogus method. If at all, this
11042         should be performed in the KeyboardFocusManager.
11043         (Window): Don't install a focus listener on the Window.
11044
11045 2006-07-26  Robert Schuster <robertschuster@fsfe.org>
11046
11047         * gnu/java/awt/peer/gtk/CairoGraphics2D.java:
11048         (drawLine): Apply shift to line coordinates.
11049
11050 2006-07-26  Robert Schuster <robertschuster@fsfe.org>
11051
11052         * java/awt/image/ColorConvertOp.java: Fixed copyright header.
11053         (copyimage): Do not call setRenderingHints() when the respective map
11054         does not exist.
11055         (filter): Removed code to clone the ColorModel instance.
11056         * java/awt/image/ColorModel.java:
11057         (cloneColorModel): Removed.
11058
11059 2006-07-26  Robert Schuster <robertschuster@fsfe.org>
11060
11061         * javax/swing/JTabbedPane.java:
11062         (setSelectedIndex): Removed updating of component visibility status,
11063         added note.
11064         (remove(Component)): Use indexOfComponent() to find whether we have
11065         to use super.remove(int) or removeTabAt().
11066
11067 2006-07-26  Roman Kennke  <kennke@aicas.com>
11068
11069         * javax/swing/JOptionPane.java
11070         (createDialog): Add property change handler for closing
11071         the dialog when the value property changes.
11072         (ValuePropertyHandler): New inner helper class.
11073         * javax/swing/plaf/basic/BasicOptionPaneUI.java
11074         (OptionPaneCloseAction): New class.
11075         (messageForeground): Removed field.
11076         (messageBorder): Removed field.
11077         (buttonBorder): Removed field.
11078         (addIcon): Configure the new label.
11079         (addMessageComponents): Configure newly created labels.
11080         (burstStringInto): Likewise.
11081         (createButtonArea): Install border here.
11082         (createMessageArea): Install border and foreground here.
11083         (createSeparator): Added comment and removed
11084         NotImplementedException.
11085         (installComponents): Don't install the UI defaults for the
11086         message and button area here. This is moved to the
11087         corresponding create* methods. Adjusted comment about
11088         separator.
11089         (installDefaults): Removed initialization of removed fields.
11090         (installKeyboardActions): Implemented.
11091         (getActionMap): New helper method.
11092         (createDefaultActions): New helper method.
11093         (uninstallDefaults): Removed de-initialization of removed fields.
11094         (uninstallKeyboardActions): Implemented.
11095         (configureLabel): New helper method.
11096         * javax/swing/plaf/basic/BasicTableUI.java
11097         (getActionMap): Fixed the UI property names.
11098         * javax/swing/plaf/basic/BasicToolBarUI.java
11099         (getActionMap): Fixed the UI property names.
11100
11101 2006-07-26  David Gilbert  <david.gilbert@object-refinery.com>
11102
11103         * java/awt/image/BandedSampleModel.java
11104         (getDataElements): Check for negative x or y,
11105         (getPixels): Likewise,
11106         (getSamples): Likewise,
11107         (setSamples): Likewise.
11108
11109 2006-07-26  Roman Kennke  <kennke@aicas.com>
11110
11111         * javax/swing/plaf/basic/BasicToolBarUI.java
11112         (ToolBarAction): New inner class for handling keyboard
11113         actions.
11114         (installKeyboardActions): Implemented.
11115         (getActionMap): New helper method.
11116         (createDefaultActions): New helper method.
11117         (installListeners): Install focus listener on toolbar's
11118         children, rather than the toolbar itself.
11119         (navigateFocusedComp): Implemented.
11120         (uninstallKeyboardActions): Implemented.
11121         (uninstallListeners): Uninstall focus listener from
11122         toolbar's children, rather than the toolbar itself.
11123         (ToolBarContListener.componentAdded): Install focus
11124         listener on added child.
11125         (ToolBarContListener.componentRemoved): Uninstall focus
11126         listener from removed child.
11127         (ToolBarFocusListener.ToolBarFocusListener): Nothing to do here.
11128         (ToolBarFocusListener.focusGained): Implemented.
11129         (ToolBarFocusListener.focusLost): Implemented.
11130
11131 2006-07-26  Roman Kennke  <kennke@aicas.com>
11132
11133         * java/awt/DefaultKeyboardFocusManager.java
11134         (dispatchEvent): Notify old focus owner when it has lost
11135         focus.
11136
11137 2006-07-26  Roman Kennke  <kennke@aicas.com>
11138
11139         * javax/swing/plaf/basic/BasicTableUI.java
11140         (FocusHandler.focusGained): Implemented to refresh the
11141         lead cell.
11142         (FocusHandler.focusLost): Implemented to refresh the
11143         lead cell.
11144         (FocusHandler.repaintLeadCell): New helper method.
11145         (MouseInputHandler.mouseEntered): Do nothing here.
11146         (MouseInputHandler.mouseExited): Do nothing here.
11147         (MouseInputHandler.mouseMoved): Do nothing here.
11148         (installKeyboardActions): Rewritten to use a shared InputMap
11149         and ActionMap and correctly install the maps via SwingUtilities
11150         methods.
11151         (getActionMap): New helper method.
11152         (createDefaultActions): New helper method.
11153         (ActionListenerProxy): Removed unneeded class.
11154         (TableAction): Made class static.
11155         (TableAction.actionPerformed): Determine table by fetching
11156         the event source. Pass the table to helper methods.
11157         Use __command__ hack to determine the action command.
11158         (TableAction.getFirstVisibleColumnIndex): Get table as argument.
11159         (TableAction.getLastVisibleColumnIndex): Get table as argument.
11160         (TableAction.getFirstVisibleRowIndex): Get table as argument.
11161         (TableAction.getLastVisibleRowIndex): Get table as argument.
11162         (TableAction.advanceMultipleSelection): Get table as argument.
11163         (uninstallDefaults): Do nothing here.
11164         (uninstallKeyboardActions): Uninstall the keyboard actions.
11165
11166 2006-07-26  Roman Kennke  <kennke@aicas.com>
11167
11168         * javax/swing/JComponent.java
11169         (processKeyBinding): Store the action command as property
11170         in the Action instance that we call. This allows for
11171         improvement on the side of the Action.
11172
11173 2006-07-26  Roman Kennke  <kennke@aicas.com>
11174
11175         * javax/swing/plaf/metal/MetalUtils.java
11176         (fillMetalPattern): Use fillRect() instead of drawLine() to
11177         fill single pixels.
11178
11179 2006-07-26  Roman Kennke  <kennke@aicas.com>
11180
11181         * javax/swing/text/GapContent.java
11182         (getChars): Check for negative length and throw
11183         BadLocationException.
11184
11185 2006-07-26  Roman Kennke  <kennke@aicas.com>
11186
11187         * javax/swing/plaf/basic/BasicMenuBarUI.java
11188         (FocusAction): Made class static.
11189
11190 2006-07-26  Roman Kennke  <kennke@aicas.com>
11191
11192         * javax/swing/plaf/basic/BasicLookAndFeel.java
11193         (initComponentDefaults): Add keyboard bindings for
11194         PopupMenu.
11195
11196 2006-07-26  Roman Kennke  <kennke@aicas.com>
11197
11198         * javax/swing/UIManager.java
11199         (getLookAndFeelDefaults): Return the look and feel defaults.
11200         (setLookAndFeel): Improved exception messsage.
11201
11202 2006-07-26  David Gilbert  <david.gilbert@object-refinery.com>
11203
11204         * javax/swing/text/StringContent.java
11205         (StringContent): Changed initialLength to 10.
11206
11207 2006-07-26  David Gilbert  <david.gilbert@object-refinery.com>
11208
11209         * java/util/Vector.java: Fixed API doc typo.
11210
11211 2006-07-26  David Gilbert  <david.gilbert@object-refinery.com>
11212
11213         * java/awt/image/BandedSampleModel.java
11214         (createCompatibleSampleModel): Fixed typo in loop increment, set
11215         correct scanlineStride, and updated API docs.
11216
11217 2006-07-25  Roman Kennke  <kennke@aicas.com>
11218
11219         * javax/swing/plaf/basic/BasicPopupMenuUI.java
11220         (NavigateAction): New inner class. This is responsible for
11221         keyboard navigation through menus.
11222         (KeyboardHelper): New inner class. This manages the
11223         keyboard mappings and focus when a popup opens or closes.
11224         (keyboardHelper): New static field.
11225         (numPopups): New static field.
11226         (installUI): Create KeyboardHelper for first popup.
11227         Call installKeyboardActions().
11228         (installKeyboardActions): Removed NotImplementedException.
11229         This method is a no-op.
11230         (installKeyboardActionsImpl): New method. Installs keyboard
11231         mapping when a popup is opened.
11232         (getActionMap): New helper method.
11233         (createDefaultActions): New helper method.
11234         (uninstallUI): Uninstall KeyboardHelper when last Popup is
11235         uninstalled. Call uninstallKeyboardActions().
11236         (uninstallKeyboardActions): Removed NotImplementedException.
11237         This method is a no-op.
11238         (uninstallKeyboardActionsImpl): New method. Uninstalls keyboard
11239         mapping when a popup is closed.
11240         
11241 2006-07-25  Roman Kennke  <kennke@aicas.com>
11242
11243         * java/awt/Component.java
11244         (requestFocus()): Reimplemented to use requestFocusImpl().
11245         (requestFocus(boolean)): Reimplemented to use requestFocusImpl().
11246         (requestFocusInWindow()): Reimplemented to use requestFocusImpl().
11247         (requestFocusInWindow(boolean)): Reimplemented to use
11248         requestFocusImpl().
11249         (requestFocusImpl): Reimplemented focus request to use
11250         new peer method. Also added some obvious additional checks
11251         for rejecting focus requests early.
11252         * java/awt/ComponentPeer.java
11253         (requestFocus(Component,boolean,boolean,long)): Documented
11254         this method.
11255         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
11256         (requestFocus): New field.
11257         (gtkWidgetHasFocus): New native method.
11258         (gtkWidgetCanFocus): New native method.
11259         (requestFocus): Replaced with assert false to prevent
11260         usage of obsolete method.
11261         (postFocusEvent(int,boolean,Component)): New overloaded method
11262         for posting the focus event to a specific target.
11263         (postFocusEvent(int,boolean)): Post event to requestFocus
11264         component.
11265         (requestFocus(Component,boolean,boolean,long)): Implemented.
11266         (getWindowFor): New helper method.
11267         (isLightweightDescendant): New helper method.
11268         * gnu/java/awt/peer/gtk/GtkWindowPeer.java
11269         (gtkWindowHasFocus): New native method.
11270         (requestFocus(Component,boolean,boolean,long)): New method.
11271         Overrides GtkComponentPeer method to specially handly the
11272         case when a Window receives a focus request for a lightweight
11273         child.
11274         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
11275         (gtkWidgetHasFocus): New native method.
11276         (gtkWidgetCanFocus): New native method.
11277         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11278         (gtkWindowHasFocus): New native method.
11279         * include/gnu_java_awt_peer_gtk_GtkComponentPeer.h,
11280         * include/gnu_java_awt_peer_gtk_GtkWindowPeer.h:
11281         Regenerated.
11282
11283 2006-07-25  Francis Kung  <fkung@redhat.com>
11284
11285         * java/awt/DefaultKeyboardFocusManager.java
11286         (dispatchEvent): Add check for valid component.
11287
11288 2006-07-25  Andrew John Hughes  <gnu_andrew@member.fsf.org>
11289
11290         * javax/management/MBeanConstructorInfo.java:
11291         New file.
11292         * javax/management/MBeanNotificationInfo.java:
11293         Documentation fix.
11294         * javax/management/MBeanParameterInfo.java:
11295         New file.
11296
11297 2006-07-25  Robert Schuster <robertschuster@fsfe.org>
11298
11299         * java/awt/peer/gtk/CairoGraphics.java:
11300         (drawLine): Added special case for 1 pixel lines.
11301
11302 2006-07-25  Robert Schuster <robertschuster@fsfe.org>
11303
11304         Fixes PR27844.
11305         * java/awt/peer/gtk/CairoGraphics.java:
11306         (drawLine): Removed calls to shifted().
11307
11308 2006-07-25  Robert Schuster <robertschuster@fsfe.org>
11309
11310         * javax/swing/JTabbedPane.java:
11311         (remove(Component)): Rewritten.
11312         (setSelectedIndex): Implemented updating of component visibility state.
11313
11314 2006-07-25  Sven de Marothy  <sven@physto.se>
11315
11316         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c
11317         (init): Default to the actual depth in the worst case.
11318         
11319         * java/awt/Font.java
11320         (createFont(int, File)): New method.
11321         
11322 2006-07-25  Ito Kazumitsu  <kaz@maczuka.gcd.org>
11323
11324         Fixes bug #28413
11325         * gnu/java/util/regex/RETokenEnd.java(check_java_line_terminators):
11326         New field.
11327         (RETokenEnd): New constructer to set check_java_line_terminators.
11328         (matchThis): Checck line terminators if check_java_line_terminators.
11329         * gnu/java/util/regex/RETokenStart.java: Likewise.
11330         * gnu/regexp/RE.java(initialize): Use the new constructors for
11331         RETokenEnd and RETokenStart if REG_MULTILINE is set.
11332         * java/util/regex/Pattern.java(Patteren): Changed so that
11333         gnu/regexp/RE.java may use the new the new constructors.
11334
11335 2006-07-25  Roman Kennke  <kennke@aicas.com>
11336
11337         * java/awt/Container.java
11338         (focusTraversalPolicyProvider): New field.
11339         (isFocusTraversalPolicyProvider): New method.
11340         (setFocusTraversalPolicyProvider): New method.
11341         * java/awt/ContainerOrderFocusTraversalPolicy.java
11342         (getFirstComponent): Use accept() instead of lengthy checks.
11343         Don't fetch getComponents() to avoid copying of array.
11344         Traverse down the hierarchy to find the first focused component.
11345         * java/awt/DefaultKeyboardFocusManager.java
11346         (dispatchEvent): Let the initial component request focus.
11347
11348 2006-07-25  David Gilbert  <david.gilbert@object-refinery.com>
11349
11350         * javax/swing/text/Segment.java
11351         (last): Update current index before returning DONE for zero count.
11352         
11353 2006-07-24  Mark Wielaard  <mark@klomp.org>
11354
11355         * javax/swing/tree/TreePath.java (equals): Swap path equals call.
11356
11357 2006-07-25  Roman Kennke  <kennke@aicas.com>
11358
11359         * javax/swing/plaf/basic/BasicMenuBarUI.java
11360         (FocusAction): New inner class. Used to grab focus.
11361         (installKeyboardActions): Implemented.
11362         (uninstallKeyboardActions): Implemented.
11363         (getActionMap): New helper method.
11364         (createDefaultActions): New helper method.
11365
11366 2006-07-25  Robert Schuster <robertschuster@fsfe.org>
11367
11368         * examples/gnu/classpath/examples/swing/Demo.java:
11369         (mkMenuBar): Install instantiable basic look and feel.
11370         (InstantiableBasicLookAndFeel): New inner class.
11371
11372 2006-07-25  Roman Kennke  <kennke@aicas.com>
11373
11374         * javax/swing/plaf/basic/BasicInternalFrameUI.java
11375         (GlassPaneDispatcher.dragTarget): New field.
11376         (GlassPaneDispatcher.isDragging): New field.
11377         (GlassPaneDispatcher.pressedComponent): Removed field.
11378         (GlassPaneDispatcher.tempComponent): Removed field.
11379         (GlassPaneDispatcher.pressCount): Removed field.
11380         (GlassPaneDispatcher.mousePressed): Call
11381         borderListener.mousePressed() to activate the frame.
11382         (acquireComponentForMouseEvent): Removed method.
11383         (handleEvent): Rewritten.
11384         (redispatch): New method.
11385         (InternalFramePropertyChangeListener.propertyChange):
11386         Make glasspane invisible when frame is selected, and visible
11387         if it gets deselected.
11388         
11389 2006-07-25  Roman Kennke  <kennke@aicas.com>
11390
11391         * java/awt/LightweightDispatcher.java
11392         (handleMouseEvent): Dispatch event to real target if
11393         the dragTarget has become invisible in the meantime.
11394
11395 2006-07-25  David Gilbert  <david.gilbert@object-refinery.com>
11396
11397         * javax/swing/text/TabSet.java
11398         (equals): New method override for 1.5,
11399         (hashCode): Likewise,
11400         (toString): Added spaces to match reference implementation.
11401
11402 2006-07-24  Andrew John Hughes  <gnu_andrew@member.fsf.org>
11403
11404         * javax/management/IntrospectionException.java,
11405         * javax/management/MBeanAttributeInfo.java:
11406         New files.
11407         * javax/management/MBeanNotificationInfo.java:
11408         Documentation cleanups.
11409         
11410 2006-07-24  David Gilbert  <david.gilbert@object-refinery.com>
11411
11412         * javax/swing/text/TabSet.java
11413         (TabSet): Check for null argument,
11414         (getTab): Throw IllegalArgumentException for index out of bounds,
11415         (getTabIndexAfter): Changed test to '<=',
11416         and updated API docs all over,
11417         * javax/swing/text/TabStop.java: Updated API docs.
11418
11419 2006-07-24  David Gilbert  <david.gilbert@object-refinery.com>
11420
11421         * javax/swing/text/TabStop.java
11422         (toString): Don't use 'left ' prefix, and added space between tab
11423         location and '(w/leader)' suffix.
11424
11425 2006-07-24  Francis Kung  <fkung@redhat.com>
11426
11427         * javax/swing/JComboBox.java
11428         (DefaultKeySelectionManager): Implemented.
11429         (createDefaultKeySelectionManager): Implemented.
11430         (getKeySelectionManager): Implemented.
11431         (processKeyEvent): Removed duplicate code.
11432         * javax/swing/JPopupMenu.java
11433         (selectionModel): Changed visibility.
11434         * javax/swing/plaf/basic/BasicComboBoxUI.java
11435         (KeyHandler.keyPressed): Added navigation keys.
11436         (configureEditor): Add key listener.
11437         (installListeners): Install focus listener to combo box.
11438         (isNavigationKey): Added enter, escape, and tab.
11439         (selectPreviousPossibleValue): Added out of bounds check.
11440         (unconfigureEditor): Remove key listener.
11441         * javax/swing/plaf/metal/MetalComboBoxButton.java
11442         (paintComponent): Highlight combo box when in focus.
11443
11444 2006-07-24  Roman Kennke  <kennke@aicas.com>
11445
11446         * javax/swing/SwingUtilities.java
11447         (isLeftMouseButton): Fixed condition.
11448         * java/awt/LightweightDispatcher.java
11449         (handleMouseEvent): Dispatch MOUSE_ENTERED even when mouse
11450         is dragged.
11451
11452 2006-07-24  Roman Kennke  <kennke@aicas.com>
11453
11454         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
11455         (setPaint): Fixed scaleX and scaleY.
11456
11457 2006-07-24  Roman Kennke  <kennke@aicas.com>
11458
11459         * javax/swing/JTable.java
11460         (handleInsert): Repaint the whole table for variable row
11461         height tables and an optimized region otherwise.
11462         (handleDelete): Likewise.
11463         (handleUpdate): Likewise.
11464
11465 2006-07-24  Mario Torre  <neugens@limasoftware.net>
11466
11467         * gnu/java/awt/peer/gtk/GtkToolkit.java (createDragGestureRecognizer):
11468         now explicity registerListeners on GtkMouseDragGestureRecognizer
11469         instance.
11470         * gnu/java/awt/dnd/GtkMouseDragGestureRecognizer.java
11471         (unregisterListeners): new method, overrided from base class
11472         to rise visibility (from protected to public).
11473         (registerListeners): Likewise.
11474         (GtkMouseDragGestureRecognizer): fixed potential threading issue:
11475         removed call to registerListeners from the constructor.
11476
11477 2006-07-23  Andrew John Hughes  <gnu_andrew@member.fsf.org>
11478
11479         * gnu/java/lang/management/MemoryPoolMXBeanImpl.java,
11480         * java/lang/management/MemoryPoolMXBean.java:
11481         (getType()): Changed return type to MemoryType.
11482         * java/lang/management/MemoryType.java:
11483         New file.
11484
11485 2006-07-23  Mark Wielaard  <mark@klomp.org>
11486
11487         * configure.ac: Check for moc and moc-qt4.
11488
11489 2006-07-23  David Gilbert  <david.gilbert@object-refinery.com>
11490
11491         * java/awt/image/Kernel.java: API doc updates.
11492
11493 2006-07-22  Andreas Tobler  <a.tobler@schweiz.ch>
11494
11495         * gnu/java/awt/peer/gtk/CairoSurface.java: Optimize pixel swap code a
11496         bit more.
11497
11498 2006-07-22  Mark Wielaard  <mark@klomp.org>
11499
11500         * java/lang/Iterable.java: Import all of java.util.
11501         * lib/mkcollections.pl.in (javautilclasses): Add Iterable.
11502         * lib/Makefile.am: Only search for .java files in COLLECTIONS_PREFIX.
11503
11504 2006-07-22  Andrew John Hughes  <gnu_andrew@member.fsf.org>
11505
11506         * doc/vmintegration.texinfo:
11507         Document getType(String).
11508         * gnu/java/lang/management/MemoryPoolMXBeanImpl.java,
11509         * java/lang/management/MemoryPoolMXBean.java:
11510         (getType()): Implemented.
11511         * vm/reference/gnu/java/lang/management/VMMemoryPoolMXBeanImpl.java
11512         (getType(String)): Implemented.
11513         
11514 2006-07-22  Andrew John Hughes  <gnu_andrew@member.fsf.org>
11515
11516         * doc/vmintegration.texinfo:
11517         Move end of itemization block.
11518
11519 2006-07-22  Robert Schuster  <robertschuster@fsfe.org>
11520
11521         * javax/swing/plaf/metal/MetalLookAndFeel.java:
11522         (initComponentDefaults): Added new properties, added comments.
11523         
11524 2006-07-22  Andrew John Hughes  <gnu_andrew@member.fsf.org>
11525
11526         * doc/vmintegration.texinfo:
11527         Mention callback methods.
11528         * gnu/java/lang/management/MemoryMXBeanImpl.java:
11529         (fireNotification(String,String,long,long,long,long,long)):
11530         Made package-private.
11531         (fireThresholdExceededNotification(String,long,long,long,
11532         long,long)): Likewise.
11533         (fireCollectionThresholdExceededNotification(String,long,
11534         long,long,long,long)): Likewise.
11535         * java/lang/management/MemoryMXBean.java:
11536         Document notifications.
11537
11538 2006-07-22  Andrew John Hughes  <gnu_andrew@member.fsf.org>
11539
11540         * gnu/java/lang/management/MemoryMXBeanImpl.java:
11541         (fireNotification(String,String,long,long,long,long,long)):
11542         Implemented.
11543         (fireThresholdExceededNotification(String,long,long,long,
11544         long,long)): Likewise.
11545         (fireCollectionThresholdExceededNotification(String,long,
11546         long,long,long,long)): Likewise.
11547         * java/lang/management/MemoryNotificationInfo.java:
11548         Use composite type from MemoryMXBeanImpl.
11549         * javax/management/openmbean/CompositeData.java:
11550         Correct documentation.
11551         * javax/management/openmbean/CompositeDataSupport.java,
11552         * javax/management/openmbean/InvalidKeyException.java:
11553         New files.
11554
11555 2006-07-22  Raif S. Naffah  <raif@swiftdsl.com.au>
11556
11557         * gnu/java/security/util/IntegerUtil.java: New file.
11558
11559 2006-07-22  Raif S. Naffah  <raif@swiftdsl.com.au>
11560
11561         PR Classpath/28100
11562         * gnu/javax/crypto/cipher/TripleDES.java: Updated documentation.
11563         (KEY_SIZE): Likewise.
11564         (adjustParity(int,byte[],int): New method.
11565         (adjustParity(byte[],int): Call above method with 3 as 1st argument.
11566         (isParityAdjusted(int,byte[],int)): New method.
11567         (isParityAdjusted): Call above method with 3 as 1st argument.
11568         (keySizes): Add 8 and 16 as other valid key sizes.
11569         (makeKey): Amended to cater for 1, 2 and 3 independent DES keys.
11570
11571 2006-07-22  Andreas Tobler  <a.tobler@schweiz.ch>
11572
11573         * gnu/java/awt/peer/gtk/CairoSurface.java (CairoSurface): Rearrange
11574         code for the pixel swap routine to be more efficient.
11575
11576 2006-07-21  Carsten Neumann  <cn-develop@gmx.net>
11577
11578         * java/util/CopyOnWriteArrayList.java (indexOf(E, int)): New method.
11579         (lastIndexOf(E, int)): Likewise.
11580         (add(E)): Increase the size of newData array by one.
11581         (add(int, E)): Likewise.
11582
11583 2006-07-20  Lillian Angel  <langel@redhat.com>
11584
11585         * gnu/java/awt/dnd/GtkMouseDragGestureRecognizer.java:
11586         Removed unused fields.
11587         (GtkMouseDragGestureRecognizer): Removed initializations.
11588
11589 2006-07-20  Lillian Angel  <langel@redhat.com>
11590
11591         * gnu/java/awt/dnd/GtkMouseDragGestureRecognizer.java
11592         (GtkMouseDragGestureRecognizer): New constructor.
11593         (GtkMouseDragGestureRecognizer): New constructor.
11594         (GtkMouseDragGestureRecognizer): New constructor.
11595         (mouseClicked): Removed FIXME.
11596         (mousePressed): Implemented.
11597         (mouseReleased): Implemented.
11598         (mouseEntered): Implemented.
11599         (mouseDragged): Implemented to check mouse point and trigger origin.
11600         (mouseMoved): Removed FIXME.
11601         (getDropActionFromEvent): New helper function used to convert mouse event
11602         modifiers to a drop action.
11603         * java/awt/dnd/DragSource.java
11604         (getDragThreshold): Changed to return some arbitrary value for testing
11605         purposes.
11606
11607 2006-07-20  Roman Kennke  <kennke@aicas.com>
11608
11609         * java/awt/LightweightDispatcher.java
11610         (findTarget): Also consider components that have their eventMask
11611         set, for compatibility with stonage AWT. Optimized check
11612         for MouseListener.
11613         (handleMouseEvent): Likewise.
11614
11615 2006-07-20  Roman Kennke  <kennke@aicas.com>
11616
11617         * javax/swing/JTable.java
11618         (tableChanged): Split out handling of the event into multiple
11619         subroutines.
11620         (handleCompleteChange): New method. Clear the selection and
11621         check the lead/anchor indices.
11622         (handleInsert): New method. Check the lead/anchor indices.
11623         Optimized repainting.
11624         (handleDelete): New method. Check the lead/anchor indices.
11625         Optimized repainting.
11626         (handleUpdate): New method. Optimized repainting.
11627         (checkSelection): New helper method.
11628         (setSelectionModel): Update lead/anchor indices.
11629
11630 2006-07-20  Lillian Angel  <langel@redhat.com>
11631
11632         PR 28440
11633         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
11634         (dispose): Reset all fields.
11635
11636 2006-07-20  Roman Kennke  <kennke@aicas.com>
11637
11638         * gnu/java/awt/peer/x/XToolkit.java
11639         (createImage(InputStream)): Only copy image to Pixmap if
11640         it's actually opaque. Transparent images are left as
11641         BufferedImage and composited later onto the screen.
11642         * gnu/java/awt/peer/x/XGraphics.java
11643         (XGraphics): Fetch some parameters for image rendering.
11644         (drawImage): Added special handling of transparent images.
11645         (getRGB): New helper method.
11646         (setRGB): New helper method.
11647
11648 2006-07-20  Roman Kennke  <kennke@aicas.com>
11649
11650         * gnu/javax/imageio/IIOInputStream.java: New class. Wraps
11651         ImageInputStreams as normal InputStreams.
11652         * gnu/javax/imageio/gif/GIFStream.java:
11653         Moved to gnu/javax/imageio/IIOInputStream.java.
11654         * gnu/javax/imageio/gif/GIFImageReader.java
11655         (readImage): Use IIOInputStream.
11656         * gnu/javax/imageio/gif/GIFImageReaderSpi.java
11657         (canDecodeInput): Use IIOInputStream.
11658         * gnu/javax/imageio/png/PNGException.java: Make subclass
11659         of IOException.
11660         * gnu/javax/imageio/png/PNGImageReader.java: New class.
11661         Implements the ImageIO ImageReader for PNG.
11662         * gnu/javax/imageio/png/PNGImageReaderSpi.java: New class.
11663         Implements the ImageIO ImageReaderSpi for PNG.
11664         * javax/imageio/spi/IIORegistry.java:
11665         (IIORegistry): Add PNGImageReaderSpi.
11666
11667 2006-07-20  David Gilbert  <david.gilbert@object-refinery.com>
11668
11669         * java/awt/image/ComponentSampleModel.java
11670         (getPixel): Added argument check,
11671         (getSample): Modified exception message.
11672
11673 2006-07-20  David Gilbert  <david.gilbert@object-refinery.com>
11674
11675         PR Classpath/28422
11676         * java/awt/image/ConvolveOp.java
11677         (filter(Raster, WritableRaster)): Reimplemented,
11678         (fillEdge): New private method.
11679
11680 2006-07-19  Keith Seitz  <keiths@redhat.com>
11681
11682         * include/jvmti.h (JVMTI_VERSION_1_0): Define.
11683         (JVMTI_VERSION): Define.
11684
11685 2006-07-19  Roman Kennke  <kennke@aicas.com>
11686
11687         * resource/gnu/regexp/MessagesBundle.properties,
11688         * resource/gnu/regexp/MessagesBundle_fr.properties,
11689         * resource/gnu/regexp/MessagesBundle_it.properties:
11690         Moved to resource/gnu/java/util/regex.
11691         * resource/gnu/java/util/regex/MessagesBundle.properties,
11692         * resource/gnu/java/util/regex/MessagesBundle_fr.properties,
11693         * resource/gnu/java/util/regex/MessagesBundle_it.properties:
11694         New files.
11695         * gnu/java/util/regex/RE.java
11696         Use new resource bundle location.
11697
11698 2006-07-19  Roman Kennke  <kennke@aicas.com>
11699
11700         * javax/swing/JComponent.java
11701         (paintChildren): Refactored. The paintChildrenOptimized method
11702         has been moved back in here. Added locking of the tree and
11703         only check for completely obscured child components
11704         when not optimized drawing enabled. Use Graphics.create() to
11705         protect from irreversible changes.
11706         (isCompletelyObscured): New helper method.
11707         (paintComponent): Also use Graphics.create() for Graphics2D,
11708         to protect from irreverible changes.
11709         (clipAndTranslateGraphics): Refactored to use more efficient
11710         iterative (vs recursive) approach.
11711         * javax/swing/RepaintManager.java
11712         (getOffscreenBuffer): Create image from root component.
11713         
11714 2006-07-19  Roman Kennke  <kennke@aicas.com>
11715
11716         * gnu/java/awt/peer/x/XGraphics.java
11717         (translate): Don't set the clip on the X server.
11718         (clipRect): Use setXClip() to set the clip on the X server.
11719         (hitClip): More efficient and correct implementation.
11720         (setClip): Use setXClip() to set the clip on the X server.
11721         (setClip(Shape)): Use setXClip() to set the clip on the X server.
11722         (copyArea): Translate and clip the source rectangle correctly.
11723         (dispose): Only flush when object is not yet disposed.
11724         (clone): Use setXClip() to set the clip on the X server.
11725
11726 2006-07-19  Sven de Marothy  <sven@physto.se>
11727
11728         * gnu/javax/imageio/png/PNGChunk.java,
11729         * gnu/javax/imageio/png/PNGData.java,
11730         * gnu/javax/imageio/png/PNGDecoder.java,
11731         * gnu/javax/imageio/png/PNGEncoder.java,
11732         * gnu/javax/imageio/png/PNGException.java,
11733         * gnu/javax/imageio/png/PNGFile.java,
11734         * gnu/javax/imageio/png/PNGFilter.java,
11735         * gnu/javax/imageio/png/PNGGamma.java,
11736         * gnu/javax/imageio/png/PNGHeader.java,
11737         * gnu/javax/imageio/png/PNGICCProfile.java,
11738         * gnu/javax/imageio/png/PNGPalette.java,
11739         * gnu/javax/imageio/png/PNGPhys.java,
11740         * gnu/javax/imageio/png/PNGTime.java:
11741         New files.
11742
11743 2006-07-19  Sven de Marothy  <sven@physto.se>
11744
11745         * java/net/Inet6Address.java:
11746         (getScopedId, getScopedInterface): New methods.
11747         
11748 2006-07-19  Lillian Angel  <langel@redhat.com>
11749
11750         * examples/gnu/classpath/examples/awt/Demo.java
11751         (DragDropWindow): Fixed typo in Label text.
11752         * gnu/java/awt/dnd/peer/gtk/GtkDragSourceContextPeer.java
11753         (GtkDragSourceContextPeer): Removed unneeded initialization for field.
11754         (startDrag): Initialized context field.
11755         (transferablesFlavorsChanged): Removed FIXME. Nothing is done in this
11756         function.
11757         (dragEnter): New function.
11758         (dragExit): Likewise.
11759         (dragDropEnd): Likewise.
11760         (dragMouseMoved): Likewise.
11761         (dragOver): Likewise.
11762         (dragActionChanged): Likewise.
11763
11764 2006-07-19  Raif S. Naffah  <raif@swiftdsl.com.au>
11765
11766         PR Classpath/26302
11767         * resource/java/security/classpath.security: Updated copyright year.
11768         (auth.login.defaultCallbackHandler): New property; set to our default
11769         callback handler. This is needed by the LoginContext when no callback
11770         handler was specified.
11771         * javax/security/auth/login/LoginContext.java: Updated copyright year.
11772         (LoginContext(4)): Assign passed parameters to local fields before invoking
11773         lookup method.
11774
11775 2006-07-19  Roman Kennke  <kennke@aicas.com>
11776
11777         * gnu/java/awt/peer/x/XGraphics.java
11778         (drawImage(Image,int,int,int,int,int,int,int,int,ImageObserver)):
11779         Fixed ordering of parameters.
11780
11781 2006-07-18  Andrew John Hughes  <gnu_andrew@member.fsf.org>
11782
11783         * gnu/java/lang/management/MemoryMXBeanImpl.java:
11784         (MemoryMXBeanImpl()): Implemented.
11785         (ListenerData): New private class.
11786         (addNotificationListener(NotificationListener,
11787         NotificationFilter, Object)): Implemented.
11788         (getNotificationInfo()): Likewise.
11789         (removeNotificationListener(NotificationListener)):
11790         Likewise.
11791         (removeNotificationListener(NotificationListener,
11792         NotificationFilter, Object)): Likewise.
11793         
11794 2006-07-18  Roman Kennke  <kennke@aicas.com>
11795
11796         * gnu/java/awt/peer/x/XFontPeer.java
11797         (encodeFont): Be more flexible with font sizes.
11798         (validSize): New helper method.
11799         * gnu/java/awt/peer/x/XGraphics.java
11800         (drawImage(Image,int,int,int,int,int,int,int,int,ImageObserver)):
11801         Implemented.
11802         (drawImage(Image,int,int,int,int,int,int,int,int,Color,ImageObserver)):
11803         Implemented.
11804         * gnu/java/awt/peer/x/XImage.java
11805         (properties): New field.
11806         (getProperty): Implemented.
11807         * resource/gnu/java/awt/peer/x/fonts.properties:
11808         Added copyright header. Fixed font size field.
11809
11810 2006-07-18  David Gilbert  <david.gilbert@object-refinery.com>
11811
11812         * java/awt/image/BandedSampleModel.java
11813         (createDataBuffer): New method override,
11814         * java/awt/image/ByteLookupTable.java
11815         (ByteLookupTable(int, byte[][])): Create new array to hold references,
11816         (ByteLookuptable(int, byte[])): Check for null array,
11817         * java/awt/image/ComponentSampleModel.java
11818         (createDataBuffer): Removed unnecessary braces,
11819         (getSample): Check (x, y) is within bounds,
11820         * java/awt/image/ShortLookupTable.java
11821         (ShortLookupTable(int, short[][])): Create new array to hold references,
11822         (ShortLookupTable(int, short[])): Check for null array,
11823         (getTable): Added API docs,
11824         (lookupPixel): Source reformatting.
11825
11826 2006-07-18  Tania Bento  <tbento@redhat.com>
11827         
11828         * java/awt/GridLayout.java
11829         (setHgap): Illegal Argument Exception should not be thrown if 
11830         hgap < 0.
11831         (setVgap): Illegal Argument Exception should not be thrown if 
11832         vgap < 0.
11833         (toString): Opening square braket ([) should appear before hgap
11834         value, not the name of the class.
11835
11836 2006-07-18  Roman Kennke  <kennke@aicas.com>
11837
11838         * lib/copy-vmresources.sh.in: Reverted.
11839         * gnu/java/awt/peer/x/fonts.properties: Moved to resource/
11840         * resource/gnu/java/awt/peer/x/fonts.properties: New file.
11841
11842 2006-07-18  Roman Kennke  <kennke@aicas.com>
11843
11844         * lib/copy-vmresources.sh.in: Include properties from X peers.
11845
11846 2006-07-18  Raif S. Naffah  <raif@swiftdsl.com.au>
11847
11848         PR Classpath/27205
11849         * tools/gnu/classpath/tools/jarsigner/SFHelper.java (writeDSA): Check
11850         certificate validity.
11851         (getIssuerName): New method.
11852         (getSubjectName): Likewise.
11853         (getNotAfterDate): Likewise.
11854         (getNotBeforeDate): Likewise.
11855         * resource/gnu/classpath/tools/jarsigner/messages.properties: Added
11856         messages for newly added messages in SFHelper.
11857
11858 2006-07-18  Roman Kennke  <kennke@aicas.com>
11859
11860         * gnu/java/awt/peer/x/XDialogPeer.java: New class.
11861         * gnu/java/awt/peer/x/XEventPump.java
11862         (handleEvent): Cast to XWindowPeer rather than XFramePeer.
11863         * gnu/java/awt/peer/x/XFramePeer.java
11864         Made a subclass of XWindowPeer, rather than SwingFramePeer.
11865         * gnu/java/awt/peer/x/XGraphics.java
11866         Made subclass of Graphics rather than Graphics2D. Removed
11867         all Graphics2D specific method stubs.
11868         (setColor): Map colors using the X color map that is
11869         stored in XToolkit.
11870         * gnu/java/awt/peer/x/XToolkit.java
11871         (colorMap): New field.
11872         (getLocalGraphicsEnvironment): Return new XGraphicsEnvironment
11873         instance.
11874         (createDialog): Implemented.
11875         (createImage(ImageProducer)): Implemented.
11876         (createImage(InputStream)): Use createImage(ImageProducer)
11877         to convert the BufferedImage to an XImage.
11878         * gnu/java/awt/peer/x/XWindowPeer.java
11879         (XWindowPeer): Removed debug output.
11880
11881 2006-07-18  David Gilbert  <david.gilbert@object-refinery.com>
11882
11883         * java/awt/image/BufferedImageOp.java: API docs added,
11884         * java/awt/image/RasterOp.java: Likewise.
11885
11886 2006-07-18  David Gilbert  <david.gilbert@object-refinery.com>
11887
11888         * java/awt/Graphics2D.java: API docs updated.
11889
11890 2006-07-18  David Gilbert  <david.gilbert@object-refinery.com>
11891
11892         * java/awt/image/WritableRaster.java: Added API docs and reformatted 
11893         source code.
11894
11895 2006-07-18  Sven de Marothy  <sven@physto.se>
11896
11897         * java/net/Inet6Address.java:
11898         Add 1.5 serialized fields.
11899         (getByAddress): New methods.
11900         (readObject, writeObject): New methods. 
11901         (equals): Reimplement.
11902
11903 2006-07-18  David Gilbert  <david.gilbert@object-refinery.com>
11904
11905         * java/awt/image/Raster.java: Added API docs and reformatted source
11906         code.
11907
11908 2006-07-18  Andreas Tobler  <a.tobler@schweiz.ch>
11909
11910         * gnu/java/awt/peer/gtk/BufferedImageGraphics.java: Remove unneeded
11911         imports.
11912         * gnu/java/awt/peer/gtk/CairoSurface.java: Likewise.
11913         * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java: Likewise.
11914         * gnu/java/awt/peer/gtk/ComponentGraphicsCopy.java: Likewise.
11915         * gnu/java/awt/peer/gtk/GdkFontPeer.java: Likewise.
11916         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java: Likewise.
11917         * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Likewise.
11918         * gnu/java/awt/peer/gtk/GtkClipboardNotifier.java: Likewise.
11919         * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Likewise.
11920         * gnu/java/awt/peer/gtk/GtkContainerPeer.java: Likewise.
11921         * gnu/java/awt/peer/gtk/GtkDialogPeer.java: Likewise.
11922         * gnu/java/awt/peer/gtk/GtkFramePeer.java: Likewise.
11923         * gnu/java/awt/peer/gtk/GtkImage.java: Likewise.
11924         * gnu/java/awt/peer/gtk/GtkImageConsumer.java: Likewise.
11925         * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java: Likewise.
11926         * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java: Likewise.
11927         * gnu/java/awt/peer/gtk/GtkMouseInfoPeer.java: Likewise.
11928         * gnu/java/awt/peer/gtk/GtkPanelPeer.java: Likewise.
11929         * gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java: Likewise.
11930         * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java: Likewise.
11931         * gnu/java/awt/peer/gtk/GtkWindowPeer.java: Likewise.
11932         * gnu/java/awt/peer/gtk/VolatileImageGraphics.java: Likewise.
11933
11934 2006-07-17  Andreas Tobler  <a.tobler@schweiz.ch>
11935
11936         * javax/swing/text/html/HTMLEditorKit.java: Rearrange import statements
11937         to make it compile again under jikes. Note added.
11938
11939 2006-07-17  Lillian Angel  <langel@redhat.com>
11940
11941         * examples/gnu/classpath/examples/awt/Demo.java
11942         (Demo): Added new window for DnD demo.
11943         (DragDropWindow): New class.
11944         * gnu/java/awt/dnd/peer/gtk/GtkDragSourceContextPeer.java:
11945         Added new fields and declarations for native functions.
11946         (GtkDragSourceContextPeer): Implemented.
11947         (getComponentPeer): New function.
11948         (startDrag): Partially implemented.
11949         (getCursor): Implemented.
11950         (setCursor): Implemented.
11951         * include/GtkDragSourceContextPeer.h: New file.
11952         * include/Makefile.am: Added new header file.
11953         * java/awt/Component.java
11954         (addNotify): Added call to the dropTarget's addNotify.
11955         * java/awt/dnd/DragSource.java
11956         (startDrag): Fixed code to use shared instances of peer and
11957         context.
11958         (getDragThreshold): Added stub.
11959         * java/awt/dnd/DropTarget.java
11960         (DropTarget): Implemented fully.
11961         (addNotify): Added code to get the peer of the parent that is
11962         not lightweight.
11963         * java/awt/dnd/DropTargetDragEvent.java
11964         (getTransferable): Added stub.
11965         * native/jni/gtk-peer/GtkDragSourceContextPeer.c: New file.
11966         * native/jni/gtk-peer/Makefile.am: Added new c file.
11967         * gnu/java/awt/dnd/peer/gtk/GtkDropTargetContextPeer.java:
11968         Changed to extend GtkGenericPeer.
11969         (GtkDropTargetContextPeer): New constructor.
11970         * gnu/java/awt/dnd/peer/gtk/GtkDropTargetPeer.java:
11971         Changed to extend GtkGenericPeer.
11972         (GtkDropTargetContextPeer): New constructor.
11973
11974 2006-07-17  David Gilbert  <david.gilbert@object-refinery.com>
11975
11976         * java/awt/image/SinglePixelPackedSampleModel.java
11977         (createSubsetSampleModel): Added argument check and API docs.
11978
11979 2006-07-17  Roman Kennke  <kennke@aicas.com>
11980
11981         * gnu/java/awt/peer/x/XGraphics.java
11982         (copyArea): Implemented.
11983
11984 2006-07-17  David Gilbert  <david.gilbert@object-refinery.com>
11985
11986         * java/awt/image/SinglePixelPackedSampleModel.java
11987         (getSampleSize): Return copy of array,
11988         (getOffset): Added API docs,
11989         (getScanlineStride): Likewise,
11990         (hashCode): Implemented.
11991
11992 2006-07-17  David Gilbert  <david.gilbert@object-refinery.com>
11993
11994         * java/awt/image/MultiPixelPackedSampleModel.java
11995         (getOffset): Updated API docs and source reformatting,
11996         (getBitOffset): Source reformatting only,
11997         (getDataElements): Likewise,
11998         (getPixel): Likewise,
11999         (getPixels): Removed method override,
12000         (setDataElements): Reimplemented.
12001
12002 2006-07-17  Gary Benson  <gbenson@redhat.com>
12003
12004         * resource/META-INF/services/.cvsignore: New file.
12005         * lib/.cvsignore: Updated.      
12006
12007 2006-07-17  Roman Kennke  <kennke@aicas.com>
12008
12009         * javax/swing/plaf/basic/BasicButtonListener.java
12010         (propertyChange): Only do the text layout caching as long
12011         as the noGraphics2D property isn't set.
12012         * javax/swing/plaf/basic/BasicMenuItemUI.java
12013         (PropertyChangeHandler.propertyChange): Only do the text layout
12014         caching as long as the noGraphics2D property isn't set.
12015
12016 2006-07-17  Roman Kennke  <kennke@aicas.com>
12017
12018         * gnu/java/awt/peer/x/XGraphicsEnvironment.java
12019         (XGraphicsEnvironment): Make constructor public so that it
12020         can be called via Class.forName().newInstance().
12021         * gnu/java/awt/peer/x/XImage.java
12022         (XImage): Fetch GraphicsEnvironment via
12023         GraphicsEnvironment.getLocalGraphicsEnvironment() rather
12024         than the XToolkit method, to avoid double instantiation
12025         of the XGraphicsEnvironment.
12026         * gnu/java/awt/peer/x/XToolkit.java
12027         (env): Removed field.
12028         (getLocalGraphicsEnvironment): Removed impl. This method
12029         should not be called since we set the graphicsenv property
12030         in the constructor.
12031
12032 2006-07-16  Andrew John Hughes  <gnu_andrew@member.fsf.org>
12033
12034         * java/util/UUID.java:
12035         (compareTo(Object)): Call compareTo(UUID).
12036         (compareTo(UUID)): Implemented.
12037         
12038 2006-07-16  Tom Tromey  <tromey@redhat.com>
12039
12040         * java/lang/StrictMath.java (cbrt): Added '@since'.
12041
12042 2006-07-16  Carsten Neumann  <cn-develop@gmx.net>
12043
12044         * java/lang/StrictMath.java (cbrt): New method.
12045         (getLowDWord): New helper method.
12046         (getHighDWord): Likewise.
12047         (buildDouble): Likewise.
12048         (CBRT_B1): New field.
12049         (CBRT_B2): Likewise.
12050         (CBRT_C): Likewise.
12051         (CBRT_D): Likewise.
12052         (CBRT_E): Likewise.
12053         (CBRT_F): Likewise.
12054         (CBRT_G): Likewise.
12055
12056 2006-07-16  Andrew John Hughes  <gnu_andrew@member.fsf.org>
12057
12058         * javax/management/MBeanInfo.java:
12059         (getNotifications()): Implemented.
12060         * javax/management/NotificationBroadcaster.java:
12061         (removeNotificationListener(NotificationListener)):
12062         Renamed from removeListener.
12063         * javax/management/NotificationEmitter.java:
12064         (removeNotificationListener(NotificationListener,
12065         NotificationFilter, Object)): Likewise.
12066         * javax/management/NotificationFilter.java:
12067         Implement Serializable.
12068         * javax/management/NotificationListener.java:
12069         Implement java.util.EventListener.
12070         * javax/rmi/ssl/SslRMIClientSocketFactory.java:
12071         Implement Serializable.
12072
12073 2006-07-16  Andrew John Hughes  <gnu_andrew@member.fsf.org>
12074
12075         * java/lang/management/MemoryNotificationInfo.java:
12076         New file.
12077         
12078 2006-07-16  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
12079
12080         PR 28392
12081         * gnu/javax/swing/text/html/parser/htmlValidator.java 
12082         (tagIsValidForContext): If it is not possible to insert any tag, but 
12083         is possible to insert a P, insert a P.
12084         * gnu/javax/swing/text/html/parser/HTML_401Swing.java
12085         (newInstance): Removed print statement. (getBodyElements):
12086         Removed ABBR, ACRONYM, BDO, Q, S, SUB, SUP and ADDRESS from the
12087         valid body level tags (will be enclosed into P's).
12088
12089 2006-07-17  Raif S. Naffah  <raif@swiftdsl.com.au>
12090
12091         * tools/gnu/classpath/tools/keytool/Command.java (setKeystoreURLParam):
12092         Condition the creation of .keystore (a default keystore) based on the
12093         createIfNotFound argument as well.
12094
12095 2006-07-16  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
12096
12097         PR 28392
12098         * examples/gnu/classpath/examples/swing/HtmlDemo.java:
12099         Removed heading p tag from the parsing example.
12100         * gnu/javax/swing/text/html/parser/HTML_401F.java:
12101         (createHtmlContentModel): Explained.
12102         (defineElements): Call getBodyElements to get the body
12103         elements. (getBodyElements): New method. (model):
12104         Made protected from private.
12105         * gnu/javax/swing/text/html/parser/htmlValidator.java
12106         (openTag): Mind that current content model may be null.
12107         (tagIsValidForContext): If the tag is PCDATA, and it is not
12108         valid for context, but the paragraph (P) is valid for context,
12109         suggest to insert the P tag here.
12110         * javax/swing/text/html/HTMLDocument.java (HTMLReader.addContent,
12111         HTMLReader.blockOpen, HTMLReader.blockClose): Do not handle
12112         implied P tags here.
12113         * javax/swing/text/html/HTMLEditorKit.java (getParser):
12114         Get the custom parser, using HTML_401Swing.java DTD.
12115         * javax/swing/text/html/parser/ParserDelegator.java:
12116         Removed the obsolete note that HTMLEditorKit does not exist.
12117         * gnu/javax/swing/text/html/parser/GnuParserDelegator.java,
12118         gnu/javax/swing/text/html/parser/HTML_401Swing.java: New files.
12119
12120 2006-07-16  Andrew John Hughes  <gnu_andrew@member.fsf.org>
12121
12122         * javax/management/ListenerNotFoundException.java:
12123         New file.
12124         * javax/management/MBeanFeatureInfo.java:
12125         (hashCode()): Use summation instead of multiplication
12126         for consistency with other classes.
12127         * javax/management/MBeanNotificationInfo.java,
12128         * javax/management/Notification.java,
12129         * javax/management/NotificationBroadcaster.java,
12130         * javax/management/NotificationEmitter.java,
12131         * javax/management/NotificationFilter.java,
12132         * javax/management/NotificationListener.java:
12133         New files.
12134         * javax/management/OperationsException.java:
12135         (serialVersionUID): Added.
12136         
12137 2006-07-16  Thomas Minor  <1nocentrabidlamb@sexMagnet.com>
12138             Mark Wielaard  <mark@klomp.org>
12139
12140         * java/io/PrintStream.java: Added four constructors, for File and
12141         String describing a filename with or without explicit encoding.
12142
12143 2006-07-16  Sven de Marothy  <sven@physto.se>
12144
12145         * javax/rmi/ssl/SslRMIServerSocketFactory.java,
12146         * javax/rmi/ssl/SslRMIClientSocketFactory.java:
12147         New files.
12148
12149 2006-07-16  Raif S. Naffah  <raif@swiftdsl.com.au>
12150
12151         PR Classpath/28391
12152         * tools/gnu/classpath/tools/keytool/Command.java (setKeyStoreParams(5)): 
12153         New method.
12154         (setKeyStoreParams(4)): Call the above method with false as its 1st arg.
12155         (setProviderClassNameParam): Made private.
12156         (setKeystoreTypeParam): Likewise.
12157         (setKeyPasswordParam): Likewise
12158         (setKeystorePasswordParam): Likewise.
12159         (setKeystoreURLParam): Now accepts 2 more arguments; the first a boolean to
12160         create or not the keystore if it's not there, and the second is the store's
12161         password to process before loading the keystore. Amended the code
12162         accordingly.
12163         * tools/gnu/classpath/tools/keytool/GenKeyCmd.java (setup): Call super's
12164         setKeyStoreParams(5) with true as its first argument.
12165         * tools/gnu/classpath/tools/keytool/IdentityDBCmd.java (setup): Likewise.
12166         * tools/gnu/classpath/tools/keytool/ImportCmd.java (setup): Likewise.
12167
12168 2006-07-16  Sven de Marothy  <sven@physto.se>
12169
12170         * java/util/UUID.java: New file.
12171
12172 2006-07-16  Raif S. Naffah  <raif@swiftdsl.com.au>
12173
12174         * gnu/javax/crypto/jce/cipher/KeyWrappingAlgorithmAdapter.java: New file.
12175         * gnu/javax/crypto/jce/cipher/AESKeyWrapSpi.java: New file.
12176         * gnu/javax/crypto/jce/cipher/AES128KeyWrapSpi.java: Likewise.
12177         * gnu/javax/crypto/jce/cipher/AES192KeyWrapSpi.java: Likewise.
12178         * gnu/javax/crypto/jce/cipher/AES256KeyWrapSpi.java: Likewise.
12179         * gnu/javax/crypto/jce/cipher/TripleDESKeyWrapSpi.java: Likewise.
12180         * gnu/javax/crypto/jce/GnuCrypto.java (.run): Added mappings for newly
12181         added Key Wrapping Algorithm SPIs.
12182
12183 2006-07-16  Raif S. Naffah  <raif@swiftdsl.com.au>
12184
12185         * javax/crypto/Cipher.java (getOutputSize): Allow SPIs initialised for key
12186         wrapping/unwrapping to invoke their engineGetOutputSize.
12187
12188 2006-07-16  Raif S. Naffah  <raif@swiftdsl.com.au>
12189
12190         * gnu/javax/crypto/kwa/TripleDESKeyWrap.java (rnd): New field.
12191         (engineInit): If a SecureRandom was specified then use it.
12192         (nextRandomBytes): New method.
12193         (engineWrap): Use above method.
12194         * gnu/javax/crypto/kwa/BaseKeyWrappingAlgorithm.java (prng): New field.
12195         (getDefaultPRNG): New method.
12196         * gnu/javax/crypto/kwa/AESKeyWrap.java (engineInit): Reset underlying AES.
12197         * gnu/javax/crypto/kwa/IKeyWrappingAlgorithm.java (SOURCE_OF_RANDOMNESS):
12198         New constant.
12199
12200 2006-07-16  Raif S. Naffah  <raif@swiftdsl.com.au>
12201
12202         * gnu/javax/crypto/jce/params/BlockCipherParameters.java
12203         (engineGetParameterSpec): Should be able to return an IvParameterSpec.
12204
12205 2006-07-16  Raif S. Naffah  <raif@swiftdsl.com.au>
12206
12207         * gnu/javax/crypto/cipher/DES.java (adjustParity): Index limit now takes
12208         offset into consideration.
12209
12210 2006-07-16  Mario Torre  <neugens@limasoftware.net>
12211
12212         * native/jni/gconf-peer/GConfNativePeer.c (init_gconf_client):
12213         Fixed comment. This functions now requires to be called
12214         with gdk lock held, the comment states that.
12215         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_init_1id_1cache):
12216         Introduces gdk locks around critical regions of code.
12217         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1gconf_1client_1all_1keys):
12218         Likewise.
12219         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1gconf_1client_1all_1nodes):
12220         Likewise.
12221         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1suggest_1sync):
12222         Likewise.
12223         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1unset):
12224         Likewise.
12225         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1get_1string):
12226         Likewise.
12227         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1set_1string):
12228         Likewise.
12229         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1remove_1dir):
12230         Likewise.
12231         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1add_1dir):
12232         Likewise.
12233         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1dir_1exists):
12234         Likewise.
12235         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_finalize_1class):
12236         * native/jni/gconf-peer/Makefile.am: The GConf peer now depends on GTK.
12237
12238 2006-07-15  Sven de Marothy  <sven@physto.se>
12239
12240         * javax/swing/JFileChooser.java
12241         Change default selection mode to FILES_ONLY.
12242         * javax/swing/plaf/basic/BasicDirectoryModel.java
12243         Document, fix selection mode filtering.
12244         (renameFile): Implement
12245         * javax/swing/plaf/basic/BasicFileChooserUI.java
12246         (selectedDir): New field to handle selected directories,
12247         disallow selecting of directories in FILES_ONLY mode.
12248         * javax/swing/plaf/metal/MetalFileChooserUI.java:
12249         (EditingActionListener.actionPerformed):
12250         Stop editing on all actions (e.g. return-key press)
12251
12252 2006-07-15  Mark Wielaard  <mark@klomp.org>
12253
12254         * doc/vmintegration.texinfo (gnu.java.lang.management): Change xref
12255         to code.
12256         (JNI Implementation): Mark JVMTI Implementation as next.
12257         (JVMTI Implementation): Mark JNI Implementation as prev.
12258
12259 2006-07-15  Mark Wielaard  <mark@klomp.org>
12260
12261         * include/Makefile.am: Remove
12262         include/gnu_java_awt_peer_gtk_GdkTextLayout.h.
12263         * include/gnu_java_awt_peer_gtk_GdkTextLayout.h: Removed.
12264         * native/jni/gtk-peer/Makefile.am: Remove
12265         gnu_java_awt_peer_gtk_GdkTextLayout.c
12266         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c:
12267         Removed.
12268
12269         * include/gnu_java_awt_peer_gtk_GtkWindowPeer.h: Regenerated.
12270
12271 2006-07-15  Mark Wielaard  <mark@klomp.org>
12272
12273         * autogen.sh: Recognize autoconf 2.60.
12274
12275 2006-07-15  Keith Seitz  <keiths@redhat.com>
12276
12277         * NEWS: Update for JVMTI and jvmti.h.
12278         * doc/vmintegration.texinfo: Likewise.
12279         * include/jvmti.h: New file.
12280
12281 2006-07-15  Mark Wielaard  <mark@klomp.org>
12282
12283         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c:
12284         Removed C++ style comment.
12285
12286 2006-07-15  Sven de Marothy  <sven@physto.se>
12287
12288         * gnu/java/awt/peer/gtk/GtkMouseInfoPeer.java,
12289         * java/awt/MouseInfo.java,
12290         * java/awt/PointerInfo.java,
12291         * java/awt/peer/MouseInfoPeer.java:
12292         New files.
12293
12294         * java/awt/Image.java
12295         (accelerationPriority): New field.
12296         (setAccelerationPriority, getAccelerationPriority): New methods..
12297
12298         * include/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.h,
12299         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.c,
12300         * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java:
12301         (getMouseCoordinates): New method.
12302
12303         * gnu/java/awt/peer/gtk/GtkFramePeer.java
12304         (updateAlwaysOnTop): Remove stub overload.
12305
12306         * gnu/java/awt/ClasspathToolkit.java,
12307         * gnu/java/awt/peer/gtk/GtkToolkit.java,
12308         * include/gnu_java_awt_peer_gtk_GtkToolkit.h,
12309         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c:
12310         (getMouseInfoPeer): New method.
12311         (getMouseNumberOfButtons): New method.
12312         
12313         * gnu/java/awt/peer/gtk/GtkWindowPeer.java
12314         * include/gnu_java_awt_peer_gtk_GtkWindowPeer.h
12315         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
12316         (gtkWindowSetAlwaysOnTop): New method.
12317         (updateAlwaysOnTop): Implement.
12318
12319         * java/awt/Toolkit.java,
12320         (getMouseInfoPeer): New method.
12321
12322         * java/awt/Window.java
12323         (alwaysOnTop): New field.
12324         (isAlwaysOnTop, setAlwaysOnTop): New methods.
12325
12326         * java/awt/peer/WindowPeer.java: Doc fix.
12327
12328 2006-07-14  Sven de Marothy  <sven@physto.se>
12329
12330         * java/awt/font/TextLayout.java:
12331         (hitTestChar): Stub method.
12332         * java/awt/font/TextMeasurer.java:
12333         (getLayout): Throw exception on invalid argument.
12334         
12335 2006-07-14  Sven de Marothy  <sven@physto.se>
12336
12337         * java/awt/image/DataBuffer.java
12338         (DataBuffer): Call constructors in the correct order,
12339         
12340 2006-07-14  Mark Wielaard  <mark@klomp.org>
12341
12342         Revert to previous implementation.
12343         * java/awt/GridBagLayout.java (AdjustForGravity): Only adjust for
12344         constraints insets.
12345
12346 2006-07-14  Roman Kennke  <kennke@aicas.com>
12347
12348         * gnu/java/awt/peer/x/XToolkit.java
12349         (XToolkit): Install properties to SystemProperties
12350         rather than System, to avoid SecurityManager.
12351         (getImage(String)): Return error image when string is invalid.
12352         (createImage(URL)): Moved image loading to helper method.
12353         (createImage(ImageProducer)): Implemented.
12354         (createImage(byte[],int,int)): Implemented.
12355         (createImage(InputStream)): New helper method.
12356
12357 2006-07-14  Tania Bento  <tbento@redhat.com>
12358
12359         * java/awt/FlowLayout.java
12360         (setHgap): No Excpetion should be thrown if hgap has
12361         a negative value.
12362         (setVgap): No Exception should be thrown if vgap has
12363         a negative value.
12364
12365 2006-07-14  David Gilbert  <david.gilbert@object-refinery.com>
12366
12367         * java/awt/image/MultiPixelPackedSampleModel.java: 
12368         Added API docs all over.
12369
12370 2006-07-14  Matt Wringe  <mwringe@redhat.com>
12371
12372         * gnu/javax/crypto/jce/cipher/CipherAdapter.java 
12373         (engineInit): Throw InvalidAlgorithmParameterException
12374         for invalid IVParameterSpec IV length.
12375
12376 2006-07-14  David Gilbert  <david.gilbert@object-refinery.com>
12377
12378         * java/awt/image/MultiPixelPackedSampleModel.java
12379         (createDataBuffer): Include dataBitOffset in calculating the size for
12380         the data buffer.
12381
12382 2006-07-14  David Gilbert  <david.gilbert@object-refinery.com>
12383
12384         * java/awt/image/MultiPixelPackedSampleModel.java
12385         (getSampleSize()): Return a copy of the array,
12386         (getTransferType()): New method override.
12387
12388 2006-07-14  Roman Kennke  <kennke@aicas.com>
12389
12390         * java/awt/CardLayout.java
12391         (show): Validate parent to make sure that the layout is
12392         valid.
12393
12394 2006-07-14  Roman Kennke  <kennke@aicas.com>
12395
12396         * java/awt/Component.java
12397         (enable): Added tree locking.
12398         (disable): Added tree locking.
12399         (show): Added tree locking.
12400         (hide): Added tree locking.
12401         (getLocationOnScreen): Added tree locking.
12402         (reshape): Added tree locking.
12403         (addHierarchyListener): Added tree locking.
12404         (removeHierarchyListener): Added tree locking.
12405         (addHierarchyBoundsListener): Added tree locking.
12406         (removeHierarchyBoundsListener): Added tree locking.
12407         (addNotify): Added tree locking.
12408         (removeNotify): Added tree locking.
12409         * java/awt/Container.java
12410         (invalidateTree): Added tree locking.
12411         (getAlignmentX): Added tree locking.
12412         (getAlignmentY): Added tree locking.
12413         (addNotify): Added tree locking.
12414         (setComponentZOrder): Added tree locking.
12415         (getComponentZOrder): Added tree locking.
12416
12417 2006-07-14  David Gilbert  <david.gilbert@object-refinery.com>
12418
12419         * java/awt/image/MultiPixelPackedSampleModel.java
12420         (createSubsetSampleModel): Restored argument check, but let null
12421         through.
12422
12423 2006-07-14  David Gilbert  <david.gilbert@object-refinery.com>
12424
12425         * java/awt/image/MultiPixelPackedSampleModel.java
12426         (createSubsetSampleModel): Removed argument check.
12427
12428 2006-07-14  Roman Kennke  <kennke@aicas.com>
12429
12430         * java/awt/Component.java
12431         (numHierarchyListeners): New field.
12432         (numHierarchyBoundsListeners): New field.
12433         (show): Fire hierarchy events here. Only fire component event
12434         if there is actually a listener for it.
12435         (hide): Fire hierarchy events here. Only fire component event
12436         if there is actually a listener for it.
12437         (reshape): Fire hierarchy events here. Only fire component event
12438         if there is actually a listener for it.
12439         (addHierarchyListeners): Update listener counters.
12440         (removeHierarchyListeners): Update listener counters.
12441         (addHierarchyBoundsListeners): Update listener counters.
12442         (removeHierarchyBoundsListeners): Update listener counters.
12443         (fireHierarchyEvent): New helper method for firing hierarchy
12444         events.
12445         * java/awt/Container.java
12446         (addImpl): Update listener counters. Fire hierarchy event.
12447         (remove): Update listener counters. Fire hierarchy event.
12448         (fireHierarchyEvent): New helper method for firing hierarchy
12449         events.
12450         (updateHierarchyListenerCount): New helper method for
12451         updating the listener counters.
12452
12453 2006-07-14  David Gilbert  <david.gilbert@object-refinery.com>
12454
12455         * java/awt/image/MultiPixelPackedSampleModel.java
12456         (equals): New method override,
12457         (hashCode): Likewise.
12458
12459 2006-07-14  David Gilbert  <david.gilbert@object-refinery.com>
12460
12461         * java/awt/image/MultiPixelPackedSampleModel.java
12462         (MultiPixelPackedSampleModel(int, int, int, int, int, int)): 
12463         Corrected scanlineStride calculation.
12464
12465 2006-07-14  Raif S. Naffah  <raif@swiftdsl.com.au>
12466
12467         * gnu/java/security/Registry.java (KWA_PREFIX): New constant.
12468         (AES_KWA): Likewise.
12469         (AES128_KWA): Likewise.
12470         (AES192_KWA): Likewise.
12471         (AES256_KWA): Likewise.
12472         (RIJNDAEL_KWA): Likewise.
12473         (TRIPLEDES_KWA): Likewise.
12474         (DESEDE_KWA): Likewise.
12475         * gnu/javax/crypto/kwa/AESKeyWrap.java: New file
12476         * gnu/javax/crypto/kwa/BaseKeyWrappingAlgorithm.java: Likewise.
12477         * gnu/javax/crypto/kwa/IKeyWrappingAlgorithm.java: Likewise.
12478         * gnu/javax/crypto/kwa/KeyUnwrappingException.java: Likewise.
12479         * gnu/javax/crypto/kwa/KeyWrappingAlgorithmFactory.java: Likewise.
12480         * gnu/javax/crypto/kwa/TripleDESKeyWrap.java: Likewise.
12481
12482 2006-07-14  Raif S. Naffah  <raif@swiftdsl.com.au>
12483
12484         * gnu/javax/crypto/pad/IPad.java: Updated class documentation.
12485         (PADDING_BLOCK_SIZE): New constant.
12486         (init(Map attributes)): New method.
12487         * gnu/javax/crypto/pad/BasePad.java (init): New method.
12488
12489 2006-07-14  Mario Torre  <neugens@limasoftware.net>
12490
12491         * gnu/java/security/OID.java (OID): Private Constructor removed as
12492         it is not needed anymore.
12493         (clone): Fixed. Now uses super.clone instead of the private
12494         constructor as per specification of clone method.
12495         (serialVersionUID): added new field to allow serialization.
12496
12497 2006-07-13  Sven de Marothy  <sven@physto.se>
12498
12499         * gnu/javax/imageio/gif/GIFImageReader.java
12500         (read): Remove old debugging trace.
12501
12502 2006-07-13  Andreas Tobler  <a.tobler@schweiz.ch>
12503
12504         PR awt/28369:
12505         * gnu/java/awt/peer/gtk/CairoSurface.java (ColorModel): Swap red and
12506         blue mask.
12507
12508 2006-07-13  Roman Kennke  <kennke@aicas.com>
12509
12510         * java/awt/Component.java
12511         (DEFAULT_MAX_SIZE): New static constant.
12512         (preferredSize): Return copy of the actual value computed
12513         by new helper method.
12514         (preferredSizeImpl): New helper method. Adds locking and
12515         correct handling of cached value.
12516         (minimumSize): Return copy of the actual value computed
12517         by new helper method.
12518         (minimumSizeImpl): New helper method. Adds locking and
12519         correct handling of cached value.
12520         (getMaximumSize):  Return copy of the actual value computed
12521         by new helper method.
12522         (maximumSizeImpl): New helper method. Adds locking and
12523         correct handling of cached value.
12524         (invalidate): Correct handling of cached layout information.
12525         Added locking.
12526         * java/awt/Container.java
12527         (preferredSize): Minimized locking. Corrected handling of cached
12528         values. Return copy of real value.
12529         (minimumSize): Minimized locking. Corrected handling of cached
12530         values. Return copy of real value.
12531         (getMaximumSize): Minimized locking. Corrected handling of cached
12532         values. Return copy of real value.
12533         
12534 2006-07-13  Tania Bento  <tbento@redhat.com>
12535
12536         * gnu/java/awt/peer/ClasspathFontPeer.java
12537         (isLogicalFontName): Return true if name == default.
12538         (logicalFontNameToFaceName): Check if name == default,
12539         and if so, return "Dialog.plain".
12540         (setStandardAttributes(String, Map)): If name == null, 
12541         it should be set to "Default", not "SansSerif".
12542         * java/awt/Canvas.java
12543         (generateName): Fixed documentation.
12544         * java/awt/CheckboxMenuItem.java
12545         Added static variable "next_chkmenuitem_number".
12546         (generateName): Added and implemented method.
12547         (getUniqueLong): Likewise.
12548         * java/awt/Choice.java
12549         Added static variable "next_choice_number".
12550         (generateName): Added and implemented method.
12551         (getUniqueLong): Likewise.
12552         * java/awt/Cursor.java
12553         (Cursor(int)): Set name depending on the type passed.
12554         * java/awt/List.java
12555         Added static variable "next_list_number".
12556         (generateName): Added and implemented method.
12557         (getUniqueLong): Likewise.
12558         * java/awt/Menu.java
12559         Added static variable "next_menu_number".
12560         (generateName): Added and implemented method.
12561         (getUniqueLong): Likewise.
12562         * java/awt/MenuBar.java
12563         Added static variable "next_menubar_number".
12564         (generateName): Added and implemented method.   
12565         (getUniqueLong): Likewise.
12566         * java/awt/MenuComponent.java
12567         (getName): Before returning name, check if name == null
12568         and name is not explicity set.  If this is the case,    
12569         name will be generated.
12570         (generateName): Added and implemented method.   
12571         * java/awt/MenuItem.java
12572         Added static variable "next_menuitem_number".
12573         (generateName): Added and implemented method.   
12574         (getUniqueLong): Likewise.
12575         * java/awt/PopupMenu.java
12576         Added static variable "next_popup_number".
12577         (generateName): Added and implemented method.
12578         (getUniqueLong): Likewise.
12579         * java/awt/ScrollPane.java
12580         Added static variable "next_scrollpane_number".
12581         (generateName): Added and implemented method.
12582         (getUniqueLong): Likewise.
12583         * java/awt/TextField.java
12584         Added static variable "next_textfield_number".
12585         (generateName): Added and implemented method.
12586         (getUniqueLong): Likewise.
12587
12588
12589 2006-07-13  David Gilbert  <david.gilbert@object-refinery.com>
12590
12591         * java/awt/image/SinglePixelPackedSampleModel.java
12592         (SinglePixelPackageSampleModel(int, int, int, int, int[])): Convert
12593         mask correctly as an unsigned integer,
12594         (equals): New method override.
12595
12596 2006-07-13  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
12597
12598         * javax/swing/text/html/HTMLDocument.java (insertAfterEnd,
12599         insertAfterStart, insertBeforeEnd):  Removed stub markings.
12600
12601 2006-07-13  David Gilbert  <david.gilbert@object-refinery.com>
12602
12603         * java/awt/image/BandedSampleModel.java: API doc updates and source 
12604         code reformatting,
12605         * java/awt/image/SinglePixelPackageSampleModel.java: Likewise.
12606
12607 2006-07-13  David Gilbert  <david.gilbert@object-refinery.com>
12608
12609         * java/awt/image/BandedSampleModel.java: API doc updates.
12610
12611 2006-07-13  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
12612
12613         * javax/swing/text/html/HTMLDocument.java (HTMLReader.parseStack): 
12614         Made package private. (HTMLReader.charAttr, HTMLReader.charAttrStack,
12615         HTMLReader.insertTag, HTMLReader.insertTagEncountered, 
12616         HTMLReader.pushDepth, HTMLReader.popDepth): Documented. 
12617         (HRMLReader.blockClose): Mind that parser stack may be empty. 
12618         (HTMLReader.handeComment, HTMLReader.handleStartTag,
12619         HTMLReader.handleEndTag, HTMLReader.handleSimpleTag): Rewritten. 
12620         (HTMLReader.shouldInsert): New method. (getElement(String)): 
12621         Pass HTML.Atrribute.ID. (insertAfterEnd, insertBeforeEnd, 
12622         insertAfterStart, insertBeforeStart, setInnerHTML, setOuterHTML):
12623         Implemented. (getInsertingReader): New method. 
12624         * examples/gnu/classpath/examples/swing/HtmlDemo.java:
12625         Added buttons to demonstrate the work of the insert actions.
12626
12627 2006-07-13  David Gilbert  <david.gilbert@object-refinery.com>
12628
12629         * java/awt/image/SampleModel.java: API doc updates and additions,
12630         * java/awt/image/SinglePixelPackedSampleModel.java: Likewise.
12631
12632 2006-07-12  Sven de Marothy  <sven@physto.se>
12633
12634         * javax/swing/JFileChooser.java:
12635         (createDialog): Close operation should cause a cancel.
12636
12637 2006-07-12  Francis Kung  <fkung@redhat.com>
12638
12639         * gnu/java/awt/peer/gtk/CairoGraphics2D.java: Organized imports.
12640         (cairoArc): New native method.
12641         (cairoRestore): New native method.
12642         (cairoSave): New native method.
12643         (cairoScale): New native method.
12644         (createPath): New method to centralize code from draw and fill.
12645         (draw): Modified to use createPath method.
12646         (fill): Modified to use createPath method.
12647         * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Added 
12648         function declarations.
12649         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
12650         (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoScale): New 
12651         method.
12652         (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoSave): New 
12653         method.
12654         (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoArc): New 
12655         method.
12656         
12657 2006-07-12  Tom Tromey  <tromey@redhat.com>
12658
12659         PR libgcj/27271:
12660         * java/util/zip/ZipFile.java (getInputStream): Call addDummyByte
12661         on PartialInputStream.
12662         (PartialInputStream.dummyByteCount): New field.
12663         (PartialInputStream.fillBuffer): Handle dummy byte.
12664         (PartialInputStream.read): Likewise.
12665         (PartialInputStream.addDummyByte): New method.
12666
12667 2006-07-12  Mario Torre  <neugens@limasoftware.net>
12668
12669         * native/jni/gconf-peer/GConfNativePeer.c
12670         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1get_1string):
12671         Fixed C++ style comment.
12672
12673 2006-07-12  David Gilbert  <david.gilbert@object-refinery.com>
12674
12675         * java/util/Arrays.java
12676         (asList): Updated API docs.
12677
12678 2006-07-11  Robert Schuster  <robertschuster@fsfe.org>
12679
12680         Fixes PR28350.
12681         * native/jni/gconf-peer/GConfNativePeer.c:
12682         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1set_1string):
12683         Changed if-expression.
12684         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1get_1string):
12685         Added check for _value not being NULL.
12686         
12687 2006-07-11  Roman Kennke  <kennke@aicas.com>
12688
12689         * native/jni/java-net/gnu_java_net_local_LocalSocketImpl.c
12690         (read): Use fd when local sockets are disabled to make the
12691         compiler quite.
12692         (write): Likewise.
12693
12694 2006-07-11  Roman Kennke  <kennke@aicas.com>
12695
12696         * java/awt/image/MultiPixelPackedSampleModel.java
12697         (MultiPixelPackedSampleModel): Substract -1 so that the integer
12698         division gets rounded up.
12699
12700 2006-07-11  Andrew John Hughes  <gnu_andrew@member.fsf.org>
12701
12702         * java/lang/management/ManageFactory.java:
12703         (getMemoryManagerMXBeans()): Use addAll, not add.
12704         
12705 2006-07-11  Vivek Lakshmanan  <vivekl@redhat.com>
12706
12707         PR 27649:
12708         * gnu/classpath/ByteArray.java: Removed (moved).
12709         * gnu/java/security/util/ByteArray.java: New File.
12710         * gnu/javax/crypto/RSACipherImpl.java: Reference 
12711         gnu.java.security.util.ByteArray instead of gnu.classpath.ByteArray.
12712
12713 2006-07-11  Roman Kennke  <kennke@aicas.com>
12714
12715         * native/jni/java-net/gnu_java_net_local_LocalSocketImpl.c
12716         (available): Pass fd as argument and avoid JNI class/field
12717         lookup.
12718         (read): Likewise.
12719         (write): Likewise.
12720         * include/gnu_java_net_local_LocalSocketImpl.h:
12721         Regenerated.
12722         * gnu/java/net/local/LocalSocketImpl.h
12723         (available): Pass fd as argument and avoid JNI class/field
12724         lookup.
12725         (read): Likewise.
12726         (write): Likewise.      
12727
12728 2006-07-11  Sven de Marothy  <sven@physto.se>
12729
12730         * gnu/javax/sound/sampled/AU/AUReader.java:
12731         Correct file extension from .as to .au.
12732
12733 2006-07-11  Sven de Marothy  <sven@physto.se>
12734
12735         * gnu/javax/sound/sampled/AU/AUReader.java:
12736         New file.
12737         * resource/META-INF/services/javax.sound.sampled.spi.AudioFileReader: 
12738         Added new provider.
12739
12740 2006-07-11  David Gilbert  <david.gilbert@object-refinery.com>
12741
12742         * javax/swing/JTable.java
12743         (setRowSelectionAllowed): Fire required PropertyChangeEvent,
12744         (setColumnSelectionAllowed): Likewise.
12745
12746 2006-07-10  Vivek Lakshmanan  <vivekl@redhat.com>
12747
12748         PR 27649:
12749         * gnu/classpath/debug/Simple1LineFormatter.java: Use
12750         AccessController.doPrivileged instead of SystemProperties.getProperty.
12751         * gnu/classpath/debug/SystemLogger.java: Likewise.
12752         * gnu/java/security/PolicyFile.java: Likewise and cut unnecessary
12753         repeated getProperty calls for "file.seperator".
12754         (refresh): Since already in privileged block, call System.getProperty
12755         instead of SystemProperties.getProperty.
12756         * gnu/java/security/key/dss/DSSKey.java
12757         (toString): Use AccessController.doPrivileged instead of
12758         SystemProperties.getProperty.
12759         * gnu/java/security/key/dss/DSSPrivateKey.java
12760         (toString): Likewise.
12761         * gnu/java/security/key/dss/DSSPublicKey.java
12762         (toString): Likewise.
12763         * gnu/java/security/key/rsa/GnuRSAKey.java
12764         (toString): Likewise.
12765         * gnu/java/security/key/rsa/GnuRSAPrivateKey.java
12766         (toString): Likewise.
12767         * gnu/java/security/key/rsa/GnuRSAPublicKey.java
12768         (toString): Likewise.
12769         * gnu/javax/crypto/sasl/plain/PasswordFile.java: Likewise.
12770         * gnu/javax/crypto/key/dh/GnuDHKey.java 
12771         (toString): Likewise.
12772         * gnu/javax/crypto/key/dh/GnuDHPrivateKey.java 
12773         (toString): Likewise.
12774         * gnu/javax/crypto/key/dh/GnuDHPublicKey.java 
12775         (toString): Likewise.
12776
12777 2006-07-11  David Gilbert  <david.gilbert@object-refinery.com>
12778
12779         * javax/swing/AbstractButton.java
12780         (disabledIcon): Fixed name (was 'disabeldIcon'),
12781         (getDisabledIcon): Updated for corrected field name,
12782         (setDisabledIcon): Fire a PropertyChangeEvent.
12783
12784 2006-07-11  David Gilbert  <david.gilbert@object-refinery.com>
12785
12786         * javax/swing/DefaultBoundedRangeModel.java
12787         (readObject): New private method,
12788         (writeObject): Likewise.
12789
12790 2006-07-11  David Gilbert  <david.gilbert@object-refinery.com>
12791
12792         * javax/swing/ButtonGroup.java
12793         (add): Ignore null argument,
12794         (remove): Ignore null argument.  If removing selected button, clear the
12795         sel field,
12796         (findButton): Changed case for method name, and documented,
12797         (setSelected): Updated for modification to findButton() method name,
12798         (isSelected): Updated API docs.
12799
12800 2006-07-11  David Gilbert  <david.gilbert@object-refinery.com>
12801
12802         * java/awt/image/BufferedImage.java
12803         (BufferedImage(int, int, int)): Use correct color space for 
12804         TYPE_BYTE_GRAY and TYPE_USHORT_GRAY, and throw an 
12805         IllegalArgumentException for an unrecognised type.
12806
12807 2006-07-10  Andrew John Hughes  <gnu_andrew@member.fsf.org>
12808
12809         * java/lang/management/ManagementFactory.java:
12810         (getMemoryPoolMXBeans): Genericized fully.
12811         (getMemoryManagerMXBeans): Likewise.
12812         (getGarbageCollectorMXBeans): Likewise.
12813         
12814 2006-07-10  Tom Tromey  <tromey@redhat.com>
12815
12816         * java/lang/management/ManagementFactory.java (getMemoryPoolMXBeans):
12817         Genericized.
12818         (getMemoryManagerMXBeans): Likewise.
12819         (getGarbageCollectorMXBeans): Likewise.
12820
12821 2006-07-10  Mario Torre  <neugens@limasoftware.net>
12822
12823         * java/awt/BasicStroke.java: Removed unused import.
12824         * gnu/java/awt/java2d/CubicSegment.java (clone): Fixed. 
12825         * gnu/java/awt/java2d/LineSegment.java (clone): Fixed. 
12826         * gnu/java/awt/java2d/QuadSegment.java (clone): Fixed.
12827
12828 2006-07-10  Matt Wringe  <mwringe@redhat.com>
12829
12830         PR classpath/28212:
12831         * javax/crypto/spec/SecretKeySpec.java 
12832         (equals): Check object type. 
12833
12834 2006-07-10  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
12835
12836         * examples/gnu/classpath/examples/CORBA/SimpleCommunication/
12837         communication/StructureToPassHelper.java,
12838         examples/gnu/classpath/examples/CORBA/SimpleCommunication/
12839         communication/StructureToReturnHelper.java,
12840         examples/gnu/classpath/examples/CORBA/SimpleCommunication/
12841         communication/TreeNodeHelper.java,
12842         examples/gnu/classpath/examples/CORBA/SimpleCommunication/
12843         communication/WeThrowThisExceptionHelper.java,
12844         gnu/CORBA/ForwardRequestHelper.java,
12845         org/omg/CORBA/CompletionStatusHelper.java,
12846         org/omg/CORBA/CurrentHelper.java,
12847         org/omg/CORBA/DefinitionKindHelper.java,
12848         org/omg/CORBA/IDLTypeHelper.java,
12849         org/omg/CORBA/NameValuePairHelper.java,
12850         org/omg/CORBA/ObjectHelper.java,
12851         org/omg/CORBA/ParameterModeHelper.java,
12852         org/omg/CORBA/PolicyErrorCodeHelper.java,
12853         org/omg/CORBA/PolicyErrorHelper.java,
12854         org/omg/CORBA/PolicyHelper.java,
12855         org/omg/CORBA/PolicyListHelper.java,
12856         org/omg/CORBA/PolicyTypeHelper.java,
12857         org/omg/CORBA/ServiceDetailHelper.java,
12858         org/omg/CORBA/ServiceInformationHelper.java,
12859         org/omg/CORBA/SetOverrideTypeHelper.java,
12860         org/omg/CORBA/StringValueHelper.java,
12861         org/omg/CORBA/UnionMemberHelper.java,
12862         org/omg/CORBA/UnknownUserExceptionHelper.java,
12863         org/omg/CORBA/VisibilityHelper.java,
12864         org/omg/CORBA/WStringValueHelper.java,
12865         org/omg/CORBA/WrongTransactionHelper.java,
12866         org/omg/CosNaming/BindingHelper.java,
12867         org/omg/CosNaming/BindingIteratorHelper.java,
12868         org/omg/CosNaming/BindingListHelper.java,
12869         org/omg/CosNaming/BindingTypeHelper.java,
12870         org/omg/CosNaming/NameComponentHelper.java,
12871         org/omg/CosNaming/NameHelper.java,
12872         org/omg/CosNaming/NamingContextExtHelper.java,
12873         org/omg/CosNaming/NamingContextExtPackage/AddressHelper.java,
12874         org/omg/CosNaming/NamingContextExtPackage/InvalidAddressHelper.java,
12875         org/omg/CosNaming/NamingContextExtPackage/StringNameHelper.java,
12876         org/omg/CosNaming/NamingContextExtPackage/URLStringHelper.java,
12877         org/omg/CosNaming/NamingContextHelper.java,
12878         org/omg/CosNaming/NamingContextPackage/AlreadyBoundHelper.java,
12879         org/omg/CosNaming/NamingContextPackage/CannotProceedHelper.java,
12880         org/omg/CosNaming/NamingContextPackage/InvalidNameHelper.java,
12881         org/omg/CosNaming/NamingContextPackage/NotEmptyHelper.java,
12882         org/omg/CosNaming/NamingContextPackage/NotFoundHelper.java,
12883         org/omg/CosNaming/NamingContextPackage/NotFoundReasonHelper.java,
12884         org/omg/DynamicAny/AnySeqHelper.java,
12885         org/omg/DynamicAny/DynAnyFactoryHelper.java,
12886         org/omg/DynamicAny/DynAnyFactoryPackage/InconsistentTypeCodeHelper.java,
12887         org/omg/DynamicAny/DynAnyHelper.java,
12888         org/omg/DynamicAny/DynAnyPackage/InvalidValueHelper.java,
12889         org/omg/DynamicAny/DynAnyPackage/TypeMismatchHelper.java,
12890         org/omg/DynamicAny/DynAnySeqHelper.java,
12891         org/omg/DynamicAny/DynArrayHelper.java,
12892         org/omg/DynamicAny/DynEnumHelper.java,
12893         org/omg/DynamicAny/DynFixedHelper.java,
12894         org/omg/DynamicAny/DynSequenceHelper.java,
12895         org/omg/DynamicAny/DynStructHelper.java,
12896         org/omg/DynamicAny/DynUnionHelper.java,
12897         org/omg/DynamicAny/DynValueHelper.java,
12898         org/omg/DynamicAny/NameDynAnyPairHelper.java,
12899         org/omg/DynamicAny/NameDynAnyPairSeqHelper.java,
12900         org/omg/DynamicAny/NameValuePairHelper.java,
12901         org/omg/DynamicAny/NameValuePairSeqHelper.java,
12902         org/omg/IOP/CodecFactoryHelper.java,
12903         org/omg/IOP/CodecFactoryPackage/UnknownEncodingHelper.java,
12904         org/omg/IOP/CodecPackage/FormatMismatchHelper.java,
12905         org/omg/IOP/CodecPackage/InvalidTypeForEncodingHelper.java,
12906         org/omg/IOP/CodecPackage/TypeMismatchHelper.java,
12907         org/omg/IOP/ComponentIdHelper.java,
12908         org/omg/IOP/IORHelper.java,
12909         org/omg/IOP/MultipleComponentProfileHelper.java,
12910         org/omg/IOP/ProfileIdHelper.java,
12911         org/omg/IOP/ServiceContextHelper.java,
12912         org/omg/IOP/ServiceContextListHelper.java,
12913         org/omg/IOP/ServiceIdHelper.java,
12914         org/omg/IOP/TaggedComponentHelper.java,
12915         org/omg/IOP/TaggedProfileHelper.java,
12916         org/omg/PortableInterceptor/AdapterManagerIdHelper.java,
12917         org/omg/PortableInterceptor/AdapterNameHelper.java,
12918         org/omg/PortableInterceptor/AdapterStateHelper.java,
12919         org/omg/PortableInterceptor/CurrentHelper.java,
12920         org/omg/PortableInterceptor/ForwardRequestHelper.java,
12921         org/omg/PortableInterceptor/IORInterceptor_3_0Helper.java,
12922         org/omg/PortableInterceptor/InvalidSlotHelper.java,
12923         org/omg/PortableInterceptor/ORBInitInfoPackage/DuplicateNameHelper.java,
12924         org/omg/PortableInterceptor/ORBInitInfoPackage/InvalidNameHelper.java,
12925         org/omg/PortableInterceptor/ObjectReferenceFactoryHelper.java,
12926         org/omg/PortableInterceptor/ObjectReferenceTemplateHelper.java,
12927         org/omg/PortableInterceptor/ObjectReferenceTemplateSeqHelper.java,
12928         org/omg/PortableServer/CurrentHelper.java,
12929         org/omg/PortableServer/CurrentPackage/NoContextHelper.java,
12930         org/omg/PortableServer/ForwardRequestHelper.java,
12931         org/omg/PortableServer/POAHelper.java,
12932         org/omg/PortableServer/POAManagerPackage/AdapterInactiveHelper.java,
12933         org/omg/PortableServer/POAPackage/AdapterAlreadyExistsHelper.java,
12934         org/omg/PortableServer/POAPackage/AdapterNonExistentHelper.java,
12935         org/omg/PortableServer/POAPackage/InvalidPolicyHelper.java,
12936         org/omg/PortableServer/POAPackage/NoServantHelper.java,
12937         org/omg/PortableServer/POAPackage/ObjectAlreadyActiveHelper.java,
12938         org/omg/PortableServer/POAPackage/ObjectNotActiveHelper.java,
12939         org/omg/PortableServer/POAPackage/ServantAlreadyActiveHelper.java,
12940         org/omg/PortableServer/POAPackage/ServantNotActiveHelper.java,
12941         org/omg/PortableServer/POAPackage/WrongAdapterHelper.java,
12942         org/omg/PortableServer/POAPackage/WrongPolicyHelper.java,
12943         org/omg/PortableServer/ServantActivatorHelper.java,
12944         org/omg/PortableServer/ServantLocatorHelper.java: Remove the 
12945         typecode caching and always use OrbRestricted.Singleton.
12946
12947 2006-07-09  Tom Tromey  <tromey@redhat.com>
12948
12949         * java/util/logging/LoggingMXBean.java (getLoggerNames): Genericized.
12950
12951 2006-07-09  Mark Wielaard  <mark@klomp.org>
12952
12953         * gnu/java/awt/peer/gtk/ComponentGraphics.java (hasXRenderExtension):
12954         New static final boolean field.
12955         (getComponentGraphics): Use hasXRenderExtension.
12956         (setClip): Override method for locking.
12957
12958 2006-07-09  David Gilbert  <david.gilbert@object-refinery.com>
12959
12960         * javax/swing/AbstractButton.java
12961         (setHorizontalTextPosition): Added check for illegal argument,
12962         (setVerticalTextPosition): Likewise.
12963
12964 2006-07-09  David Gilbert  <david.gilbert@object-refinery.com>
12965
12966         * javax/swing/Timer.java
12967         (setDelay): Throw IllegalArgumentException for negative delay,
12968         (setInitialDelay): Likewise,
12969         * javax/swing/ToolTipManager.java
12970         (setInitialDelay): Document IllegalArgumentException,
12971         (setDismissDelay): Likewise,
12972         (setReshowDelay): Likewise.
12973
12974 2006-07-09  Andrew John Hughes  <gnu_andrew@member.fsf.org>
12975
12976         * java/lang/management/MemoryUsage.java:
12977         (from(javax.management.openmbean.CompositeData)):
12978         Implemented.
12979         * java/lang/management/ThreadInfo.java:
12980         Changed to use open types throughout for the state.
12981         (ThreadInfo(long,String,String,long,long,String,
12982         long,String,long,long,boolean,StackTraceElement[])):
12983         New constructor.
12984         (checkAttribute(javax.management.openmbean.CompositeType,
12985         String, javax.management.openmbean.OpenType)): New method.
12986         (from(javax.management.openmbean.CompositeData)):
12987         Implemented.
12988         (getLockName()): Fixed to use new variable.
12989         (getLockOwnerId()): Likewise.
12990         (getLockOwnerName()): Likewise.
12991         (getThreadId()): Likewise.
12992         (getThreadName()): Likewise.
12993         (getThreadState()): Likewise.
12994         (toString()): Refactored to use new variables.
12995         * javax/management/openmbean/ArrayType.java:
12996         New file.
12997         * javax/management/openmbean/CompositeType.java:
12998         Variables should be transient, not volatile.
12999         * javax/management/openmbean/OpenDataException.java:
13000         (serialVersionUID): Added.
13001         * javax/management/openmbean/SimpleType.java:
13002         New file.
13003         * javax/management/openmbean/TabularType.java
13004         Variables should be transient, not volatile.
13005
13006 2006-07-09  Tom Tromey  <tromey@redhat.com>
13007
13008         * tools/.cvsignore: Updated for new tools.
13009
13010 2006-07-09  Andrew John Hughes  <gnu_andrew@member.fsf.org>
13011
13012         * javax/management/openmbean/CompositeData.java,
13013         * javax/management/openmbean/CompositeType.java,
13014         * javax/management/openmbean/OpenDataException.java,
13015         * javax/management/openmbean/OpenType.java,
13016         * javax/management/openmbean/TabularData.java,
13017         * javax/management/openmbean/TabularType.java,
13018         * javax/management/openmbean/package.html:
13019         New files.
13020
13021 2006-07-09  Mark Wielaard  <mark@klomp.org>
13022
13023         * gnu/javax/print/ipp/IppRequest.java: Remove double assignment.
13024         * gnu/java/rmi/server/UnicastServerRef.java: Likewise.
13025         * gnu/java/rmi/server/ActivatableServerRef.java: Likewise.
13026
13027 2006-07-08  Anthony Green  <green@redhat.com>
13028
13029         * gnu/javax/sound/sampled/WAV/WAVReader.java,
13030         resource/META-INF/services/javax.sound.sampled.spi.AudioFileReader: 
13031         New files.
13032
13033 2006-07-09  Mario Torre  <neugens@limasoftware.net>
13034
13035         * native/jni/gconf-peer/GConfNativePeer.c:
13036         Fixed indentation to be more compliant to the GNU coding
13037         guidelines.
13038         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1unset):
13039         Added explicit test for errors in the GConf backend.
13040         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1get_1string):
13041         Added explicit test for errors in the GConf backend.
13042         Fixed Segmentation Fault when non valid key names are given as input.
13043         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1set_1string):
13044         likewise.
13045         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1dir_1exists):
13046         Added explicit test for errors in the GConf backend.
13047         * gnu/java/util/prefs/gconf/GConfNativePeer.java:
13048         Added javadoc comments for all native methods.
13049         (nodeExist): removed test to check for valid absolute path name
13050         for nodes.
13051         (startWatchingNode): likewise.
13052         (stopWatchingNode): likewise.
13053         (setString): likewise, plus fixed javadoc comments.
13054         (unset): likekwise.
13055         (getKey): likewise.
13056         (getKeys): likewise, also fixed javadoc comments.
13057         (getChildrenNodes): likewise.
13058         * gnu/java/util/prefs/GConfBasedPreferences.java:
13059         changed DEFAULT_USER_ROOT to /apps/classpath.
13060         (constructor): Test to check for a valid absolute path for nodes
13061         is now in the contructor for that node, instead of being on
13062         each method of the backend.
13063         (getGConfKey): removed empty new line.
13064
13065 2006-07-08  Mark Wielaard  <mark@klomp.org>
13066
13067         * .classpath: Add gnu/java/awt/peer/x/ to excludes.
13068
13069 2006-07-08  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
13070
13071         * javax/swing/text/FlowView.java (FlowStrategy.layoutRow):
13072         Handle the forced break in the same way as exceeding the
13073         available row space.
13074         * javax/swing/text/html/HRuleView.java: Rewritten.
13075         * javax/swing/text/html/HTMLDocument.java 
13076         (HTMLReader.addSpecialElement):Reserve two characters for
13077         the special elements.
13078         * examples/gnu/classpath/examples/swing/HtmlDemo.java
13079         (text): Extended the HTML example to parse.
13080
13081 2006-07-07  David Gilbert  <david.gilbert@object-refinery.com>
13082
13083         * javax/swing/AbstractButton.java
13084         (setHorizontalAlignment): Check for illegal argument,
13085         (setVerticalAlignment): Likewise.
13086
13087 2006-07-07  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
13088
13089         * javax/swing/text/html/TableView.java
13090         (getStyleSheet): New method. (RowView.getStyleSheet):
13091         New method.
13092
13093 2006-07-07  David Gilbert  <david.gilbert@object-refinery.com>
13094
13095         * javax/swing/AbstractButton.java
13096         (setRolloverIcon): Call setRolloverEnabled(true),
13097         (setRolloverSelectedIcon): Likewise.
13098
13099 2006-07-07  David Gilbert  <david.gilbert@object-refinery.com>
13100
13101         * javax/swing/border/TitledBorder.java
13102         (setTitlePosition): Added message to exception,
13103         (setTitleJustification): Likewise.
13104
13105 2006-07-07  David Gilbert  <david.gilbert@object-refinery.com>
13106
13107         * javax/swing/plaf/metal/MetalLookAndFeel.java
13108         (createDefaultTheme): Corrected API docs,
13109         (initComponentDefaults): Added entry for 'TitledBorder.border',
13110         (getCurrentTheme): Initialise theme if it is null.
13111
13112 2006-07-07  Roman Kennke  <kennke@aicas.com>
13113
13114         * java/awt/Component.java
13115         (isValid): Return false when component has no peer,
13116         don't query the showing state.
13117
13118 2006-07-07  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
13119
13120         * javax/swing/text/FlowView.java (FlowStrategy.layoutRow):
13121         Advance the offset also in the case of the enforced break.
13122
13123 2006-07-07  David Gilbert  <david.gilbert@object-refinery.com>
13124
13125         * javax/swing/plaf/basic/BasicArrowButton.java
13126         (MAXIMUM_SIZE): Removed field,
13127         (MINIMUM_SIZE): Likewise,
13128         (PREFERRED_SIZE): Likewise,
13129         (getMaximumSize): Return new instance every time,
13130         (getMinimumSize): Likewise,
13131         (getPreferredSize): Likewise.
13132
13133 2006-07-07  Roman Kennke  <kennke@aicas.com>
13134
13135         * java/awt/LightweightDispatcher.java
13136         (findTarget):  Avoid array copying in
13137         Container.getComponents().
13138
13139 2006-07-07  Roman Kennke  <kennke@aicas.com>
13140
13141         * javax/swing/JComponent.java
13142         (paintChildrenWithOverlap): Avoid array copying in
13143         Container.getComponents().
13144         (paintChildrenOptimized): Avoid array copying in
13145         Container.getComponents().
13146         (fireAncestorEvent):  Avoid array copying in
13147         Container.getComponents().
13148         (findOverlapFreeParent): Avoid array copying in
13149         Container.getComponents().
13150
13151 2006-07-07  Matt Wringe <mwringe@redhat.com>
13152
13153         * javax/crypto/spec/PBEKeySpec.java: Updated copyright year.
13154         (passwordValid): New field.
13155         (setPassword): New method.
13156         (setSalt): Likewise.
13157         (setIterationCount): Likewise.
13158         (setKeyLength): Likewise.
13159         (PBEKeySpec(char[])): Use new setter methods.
13160         (PBEKeySpec(char[], byte[], int)): Likewise.
13161         (PBEKeySpec(char[], byte[], int, int)): Likewise.
13162         (clearPassword): Set passwordValid to false.
13163         (getPassword): Check that clearPassword() was not called earlier.
13164         Return a clone of the password.
13165         (getSalt): Return a clone of the salt if it was not null.
13166
13167 2006-07-07  Roman Kennke  <kennke@aicas.com>
13168
13169         * java/awt/Component.java
13170         (isValid): Always return false when component is
13171         not showing.
13172         (setFont): Always set font, even when setting
13173         the same or equal font again.
13174
13175 2006-07-07  David Gilbert  <david.gilbert@object-refinery.com>
13176
13177         * javax/swing/plaf/metal/MetalIconFactory.java
13178         (CheckBoxMenuItemIcon): Implement UIResource,
13179         (FileChooserDetailViewIcon): Likewise,
13180         (FileChooserHomeFolderIcon): Likewise,
13181         (FileChooserListViewIcon): Likewise,
13182         (FileChooserNewFolderIcon): Likewise,
13183         (FileChooserUpFolderIcon): Removed redundant 'implements',
13184         (RadioButtonMenuItemIcon): Implement UIResource,
13185         (HorizontalSliderThumbIcon): Likewise,
13186         (InternalFrameCloseIcon): Likewise,
13187         (InternalFrameDefaultMenuIcon): Likewise,
13188         (InternalFrameAltMaximizeIcon): Likewise,
13189         (InternalFrameMaximizeIcon): Likewise,
13190         (InternalFrameMinimizeIcon): Likewise,
13191         (VerticalSliderThumbIcon): Likewise,
13192         (TreeHardDriveIcon): Likewise,
13193         (TreeFloppyDriveIcon): Likewise,
13194         (TreeComputerIcon): Likewise,
13195         (horizontalSliderThumbIcon): New field,
13196         (verticalSliderThumbIcon): New field,
13197         (getHorizontalSliderThumbIcon): Cache icon,
13198         (getVerticalSliderThumbIcon): Likewise.
13199
13200 2006-07-06  Mark Wielaard  <mark@klomp.org>
13201
13202         * lib/Makefile.am (CLEANFILES): Add Makefile.deps.
13203         (DISTCLEANFILES): Add standard.omit.
13204         (clean-local): Remove Makefile.deps, only remove dirs.
13205
13206 2006-07-06  Roman Kennke  <kennke@aicas.com>
13207
13208         * java/awt/Component.java
13209         (setFont): Only invalidate when component is valid.
13210         * java/awt/Container.java
13211         (setLayout): Only invalidate when component is valid.
13212
13213 2006-07-06  Lillian Angel  <langel@redhat.com>
13214
13215         * gnu/java/awt/dnd/GtkMouseDragGestureRecognizer.java:
13216         New class not fully implemented.
13217         * gnu/java/awt/dnd/peer/gtk/GtkDragSourceContextPeer.java:
13218         New class not fully implemented.
13219         * gnu/java/awt/dnd/peer/gtk/GtkDropTargetPeer.java:
13220         New class not fully implemented.
13221         * gnu/java/awt/dnd/peer/gtk/GtkDropTargetContextPeer.java:
13222         New class not fully implemented.
13223         * nu/java/awt/peer/gtk/GtkToolkit.java:
13224         Fixed Imports.
13225         (createDragSourceContextPeer): Implemented.
13226         (createDragGestureRecognizer): New function to override
13227         java.awt.Toolkit.createDragGestureRecognizer.
13228         * java/awt/dnd/DragSource.java
13229         (NoDragGestureRecognizer): Removed inner class.
13230         (createDragGestureRecognizer): Re-Implemented to 
13231         call Toolkit's createDragGestureRecognizer.
13232         (createDefaultDragGestureRecognizer): Re-Implemented to
13233         call Toolkit's createDragGestureRecognizer.
13234         * java/awt/dnd/DropTarget.java
13235         (addNotify): Added check to determine type of peer and call
13236         addDropTarget.
13237         (removeNotify): Added call to removeDropTarget.
13238
13239 2006-07-06  Tom Tromey  <tromey@redhat.com>
13240
13241         * gnu/java/util/prefs/EventDispatcher.java (dispatch): Notify
13242         'queue'.
13243         (run): Wait on queue, not 'this'.
13244
13245 2006-07-06  Lillian Angel  <langel@redhat.com>
13246
13247         * java/awt/dnd/DragSource.java
13248         (startDrag): Implemented. Added comments describing
13249         what the function should do. Removed FIXME.
13250
13251 2006-07-06  Tania Bento  <tbento@redhat.com>
13252         
13253         * gnu/java/awt/Canvas.java
13254         Added new private variable 'next_canvas_number'.
13255         (generateName): Added.
13256         (getUniqueLong): Added.
13257
13258 2006-07-06  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
13259
13260         * gnu/javax/swing/text/html/CharacterAttributeTranslator.java
13261         (getColor): Made public.
13262         * javax/swing/text/html/StyleSheet.java (stringToColor):
13263         Use CharacterAttributeTranslator.getColor(String)
13264
13265 2006-07-06  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
13266
13267         * javax/swing/text/html/HTMLEditorKit.java:
13268         (HTMLFactory.createElement): Update reference to the html table view.
13269         * javax/swing/text/html/HTMLTableView.java: Removed (renamed).
13270         * javax/swing/text/html/TableView.java: New file.
13271
13272 2006-07-06  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
13273
13274         * javax/swing/text/html/HTMLEditorKit.java: 
13275         (HTMLFactory.createElement): Uncomment
13276         code for BRView and HRuleView.
13277         * javax/swing/text/html/BRView.java,
13278         javax/swing/text/html/HRuleView.java: New files.
13279
13280 2006-07-05  Andrew John Hughes  <gnu_andrew@member.fsf.org>
13281
13282         * java/lang/Thread.java:
13283         (getAllStackTraces(Map<Thread,StackTraceElement[]>)):
13284         Added generic type signature.
13285
13286 2006-07-05  Andrew John Hughes  <gnu_andrew@member.fsf.org>
13287
13288         * NEWS: Updated.
13289         * doc/vmintegration.texinfo: Likewise.
13290         * examples/gnu/classpath/examples/management/TestGarbageCollector.java,
13291         * examples/gnu/classpath/examples/management/TestMemoryManager.java,
13292         * gnu/java/lang/management/GarbageCollectorMXBeanImpl.java,
13293         * gnu/java/lang/management/MemoryManagerMXBeanImpl.java,
13294         * java/lang/management/GarbageCollectorMXBean.java:
13295         New files.
13296         * java/lang/management/ManagementFactory.java:
13297         (getGarbageCollectorMXBeans()): Implemented.
13298         (getMemoryManagerMXBeans()): Likewise.
13299         * vm/reference/gnu/java/lang/management/VMGarbageCollectorMXBeanImpl.java,
13300         * vm/reference/gnu/java/lang/management/VMMemoryManagerMXBeanImpl.java:
13301         New files.
13302         * vm/reference/java/lang/management/VMManagementFactory.java:
13303         (getMemoryManagerNames()): Added.
13304         (getGarbageCollectorNames()): Added.
13305         
13306 2006-07-05  Thomas Fitzsimmons  <fitzsim@redhat.com>
13307
13308         * native/plugin/Makefile.am (nativeexeclib_LTLIBRARIES): Rename
13309         from lib_LTLIBRARIES.
13310         (install-plugin): Depend on nativeexeclib_LTLIBRARIES.
13311
13312 2006-07-05  Lillian Angel  <langel@redhat.com>
13313
13314         * java/awt/dnd/DragGestureEvent.java:
13315         Added new fields.
13316         (DragGestureEvent): Initialized new fields, added to check and 
13317         added documentation.
13318         (getSourceAsDragGestureRecognizer): Added documentation and 
13319         changed to use getSource.
13320         (getComponent): Added documentation and fixed to return the proper
13321         value.
13322         (getDragSource): Likewise.
13323         (getDragOrigin): Added documentation.
13324         (iterator): Implemented and added documentation.
13325         (toArray): Likewise.
13326         (toArray): Likewise.
13327         (getDragAction): Likewise.
13328         (getTriggerEvent): Likewise.
13329         (startDrag): Likewise.
13330         * java/awt/dnd/DragGestureRecognizer.java
13331         (resetRecognizer): Added FIXME.
13332         * java/awt/dnd/DragSource.java:
13333         Added new field.
13334         (DragSource): Set ds to be null if headless.
13335         (getDefaultDragSource): Added documentation and implemented.
13336         (isDragImageSupported): Marked as unimplemented.
13337         (startDrag): Likewise.
13338         (createDragSourceContext): Implemented.
13339         (NoDragGestureRecognizer): Formatted inner class.
13340         * java/awt/dnd/DropTarget.java
13341         (stop): Marked as unimplemented.
13342         (actionPerformed): Likewise.
13343         (addDropTargetListener): Added code to throw exception.
13344         (removeDropTargetListener): Added check, removed FIXME.
13345         (dragEnter): Implemented.
13346         (dragOver): Implemented.
13347         (dropActionChanged): Implemented.
13348         (dragExit): Implemented.
13349         (drop): Implemented.
13350         (addNotify): Implemented.
13351         (removeNotify): Implemented.
13352         (createDropTargetContext): Implemented.
13353         (createDropTargetAutoScroller): Implemented.
13354         (initializeAutoscrolling): Implemented.
13355         (updateAutoscroll): Implemented.
13356         (clearAutoscroll): Implemented.
13357         * java/awt/dnd/DropTargetContext.java
13358         (dropComplete): Implemented.
13359         (acceptDrag): Implemented.
13360         (rejectDrag): Implemented.
13361         (acceptDrop): Implemented.
13362         (rejectDrop): Implemented.
13363         (getCurrentDataFlavors): Implemented.
13364         (getTransferable): Partially implemented.
13365         * java/awt/dnd/DropTargetDragEvent.java
13366         (getDropAction): Uncommented correct code.
13367         * java/awt/dnd/DropTargetDropEvent.java
13368         (dropComplete) :Implemented.
13369         * java/awt/dnd/InvalidDnDOperationException.java
13370         (InvalidDnDOperationException): Added call to super.
13371
13372 2006-07-05  Robert Schuster  <robertschuster@fsfe.org>
13373
13374         * javax/swing/plaf/basic/BasicArrowButton.java:
13375         (paint): Removed getBounds() call, changed center point
13376         calculation.
13377
13378 2006-07-05  David Gilbert  <david.gilbert@object-refinery.com>
13379
13380         * javax/swing/InputMap.java
13381         (inputMap): Don't initialize yet,
13382         (InputMap): Removed TODO,
13383         (get): Check for null inputMap,
13384         (put): Return immediately for null keyStroke, check for null inputMap
13385         and initialize if necessary,
13386         (remove): Check for null inputMap,
13387         (size): Likewise,
13388         (clear): Likewise,
13389         (keys): Likewise,
13390         (allKeys): Likewise,
13391         (writeObject): Removed,
13392         (readObject): Removed.
13393
13394 2006-07-05  David Gilbert  <david.gilbert@object-refinery.com>
13395
13396         * gnu/classpath/examples/swing/TabbedPaneDemo.java
13397         (createContent): Use different labels for buttons.
13398
13399 2006-07-04  Andrew John Hughes  <gnu_andrew@member.fsf.org>
13400
13401         * NEWS: Updated.
13402         * doc/vmintegration.texinfo: Likewise.
13403         * examples/gnu/classpath/examples/management/TestMemoryPool.java,
13404         * gnu/java/lang/management/MemoryPoolMXBeanImpl.java:
13405         New files.
13406         * java/lang/management/ManagementFactory.java:
13407         (getMemoryPoolMXBeans()): Implemented.
13408         * vm/reference/gnu/java/lang/management/VMMemoryPoolMXBeanImpl.java,
13409         * vm/reference/java/lang/management/VMManagementFactory.java:
13410         New files.
13411         
13412 2006-07-04  Lillian Angel  <langel@redhat.com>
13413
13414         * java/awt/dnd/DragSourceContext.java:
13415         Removed FIXMEs from fields.
13416         (DragSourceContext): Added code to initialize cursor and sourceActions.
13417         (getDragSource): Added documentation.
13418         (getComponent): Likewise.
13419         (getTrigger): Likewise.
13420         (getSourceActions): Added documentation and implemented.
13421         (setCursor): Implemented. Added documentation.
13422         (getCursor): Implemented. Added documentation.
13423         (dragEnter): Added code to notify DragSource's listeners.
13424         (dragOver): Likewise.
13425         (dragExit): Likewise.
13426         (dropActionChanged): Likewise.
13427         (dragDropEnd): Likewise.
13428         (dragMouseMoved): Implemented.
13429         (getTransferable): Added API documentation.
13430         (updateCurrentCursor): Added API documentation and partially implemented.
13431
13432 2006-07-04  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
13433
13434         * javax/swing/plaf/basic/BasicTreeUI.java (KeyHandler): Implemented.
13435
13436 2006-07-04  Lillian Angel  <langel@redhat.com>
13437
13438         * java/awt/dnd/DragSourceContext.java
13439         (DragSourceContext): Implemented fully. Fixed API docs.
13440         (transferablesFlavorsChanged): Implemented.
13441         (dragEnter): Implemented.
13442         (dragOver): Implemented.
13443         (dragExit): Implemented.
13444         (dropActionChanged): Implemented.
13445         (dragDropEnd): Implemented.
13446
13447 2006-07-04  Lillian Angel  <langel@redhat.com>
13448
13449         * javax/swing/plaf/basic/BasicOptionPaneUI.java:
13450         Fixed name of constant.
13451         (getIconWidth): Changed name of constant returned.
13452         (getIconHeight): Likewise.
13453         (paint): Likewise.
13454         (createSeparator): Marked as unimplemented.
13455         * javax/swing/plaf/basic/BasicTableUI.java
13456         (focusGained): Marked as unimplemented.
13457         (focusLost): Marked as unimplemented.
13458         (mouseEntered): Likewise.
13459         (mouseMoved): Likewise.
13460         (uninstallDefaults): Likewise.
13461         * javax/swing/plaf/basic/BasicToolBarUI.java
13462         (mouseClicked): Changed comment.
13463         (mouseEntered): Likewise.
13464         (mouseExited): Likewise.
13465         (mouseMoved): Likewise.
13466         (setOrientation): Implemented.
13467         (ToolBarFocusListener): Marked as unimplemented.
13468         (focusGained): Marked as unimplemented.
13469         (focusLost): Marked as unimplemented.
13470
13471 2006-07-04  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
13472
13473         PR 28061
13474         * javax/swing/plaf/basic/BasicTreeUI.java (isLocationInExpandControl):
13475         Mind the effect of the root visibility on the position of the control.
13476         Quess icon width 18. (paintVerticalPartOfLeg): Do no paint the 
13477         vertical line over first level nodes.
13478
13479 2006-07-04  Lillian Angel  <langel@redhat.com>
13480
13481         * javax/swing/plaf/basic/BasicMenuUI.java
13482         (installKeyboardActions): Implemented to call super. Nothing else
13483         needs to be done here.
13484         (setupPostTimer): Marked as unimplemented.
13485         (uninstallKeyboardActions): Implemented to call super. Nothing else
13486         needs to be done here.
13487         (mouseMoved): Removed TODO. Nothing to be done here.
13488         (ChangeHandler): Implemented.
13489         (menuDragMouseExited): Removed TODO. Nothing to be done here.
13490         (menuDragMouseReleased): Removed TODO. Nothing to be done here.
13491         (menuKeyReleased): Removed TODO. Nothing to be done here.
13492         (menuKeyTyped): Marked as unimplemented.
13493
13494 2006-07-04  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
13495
13496         PR 28061
13497         * gnu/javax/swing/plaf/gnu/GNULookAndFeel.java
13498         (getDefaults): Set hash color to black.
13499         * javax/swing/plaf/basic/BasicLookAndFeel.java
13500         (initComponentDefaults): Set hash color to grey blue.
13501         * javax/swing/plaf/basic/BasicTreeUI.java
13502         (instellDefaults): Set hash color.
13503         * javax/swing/plaf/metal/MetalIconFactory.java
13504         (TreeControlIcon.paint): Rewritten.
13505
13506 2006-07-04  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
13507
13508         PR 28061
13509         * javax/swing/plaf/basic/BasicTreeUI.java (MouseHandler.mousePressed):
13510         Always cancel the current editing session before doing anything else,
13511         return immediately if this fails.
13512         (TreeHomeAction): Ensure that the lead selection path is visible after
13513         the action is performed. TreeIncrementAction: Likewise. TreeToggleAction:
13514         Likewise. TreeTraverseAction: Likewise.
13515
13516 2006-07-04  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
13517
13518         PR 28061
13519         * javax/swing/plaf/basic/BasicTreeUI.java (MouseHandler.mousePressed):
13520         Returned back the code to handle the start of the click-pause-click
13521         editing initiation, explained about this code. 
13522         (TreeStartEditingAction): New inner class.
13523         (stopEditingInCompleteEditing): Explained about this field.
13524         (completeEditing(boolean, boolean, boolean): Only return early
13525         if there is no current editing session.
13526         (createDefaultActions): Install TreeStartEditingAction and
13527         TreeCancelEditingAction.
13528
13529 2006-07-04  Mario Torre  <neugens@limasoftware.net>
13530
13531         * configure.ac: Added new option --enable-default-preferences-peer
13532         to pass user specified default preference backend.
13533         If the GConf peer is built, GConf become the default backend.
13534         * resource/META-INF/services/java.util.prefs.PreferencesFactory.in:
13535         new file. 
13536         * lib/Makefile.am: excludes files terminating in 'in' from
13537         the metafiles list.
13538         * lib/copy-vmresources.sh.in: excludes files terminating in 'in'
13539         from copy into META-INF.
13540         * java/util/prefs/Preferences.java: added two new import
13541         classes gnu.classpath.ServiceFactory and java.util.Iterator.
13542         (getFactory): Now try to check for
13543         a system defined default preference backend before to fall back on
13544         FileBasedPreference.
13545
13546 2006-07-04  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
13547
13548         PR 28061
13549         * javax/swing/JTree.java (COLLAPSED): Initialise to Boolean.FALSE.
13550         (EXPANDED): Initialise to Boolean.TRUE.
13551         * javax/swing/plaf/basic/BasicTreeUI.java (completeUIInstall):
13552         First configure layout cache and then set the assigned value 
13553         as row mapper. Set the root visibility property.
13554         (toggleExpandState): Obtains expansion state from the layout cache.
13555
13556 2006-07-03  Andrew John Hughes  <gnu_andrew@member.fsf.org>
13557
13558         * java/lang/management/MemoryPoolMXBean.java:
13559         New file.
13560         
13561 2006-07-03  Raif S. Naffah  <raif@swiftdsl.com.au>
13562
13563         * gnu/javax/crypto/RSACipherImpl.java: Source formatting.
13564
13565 2006-07-03  Raif S. Naffah  <raif@swiftdsl.com.au>
13566
13567         * gnu/javax/crypto/sasl/anonymous/AnonymousClient.java: Source formatting.
13568         * gnu/javax/crypto/sasl/anonymous/AnonymousServer.java: Likewise.
13569         * gnu/javax/crypto/sasl/anonymous/AnonymousUtil.java: Likewise.
13570         * gnu/javax/crypto/sasl/crammd5/CramMD5AuthInfoProvider.java: Likewise.
13571         * gnu/javax/crypto/sasl/crammd5/CramMD5Client.java: Likewise.
13572         * gnu/javax/crypto/sasl/crammd5/CramMD5Registry.java: Likewise.
13573         * gnu/javax/crypto/sasl/crammd5/CramMD5Server.java: Likewise.
13574         * gnu/javax/crypto/sasl/crammd5/CramMD5Util.java: Likewise.
13575         * gnu/javax/crypto/sasl/crammd5/PasswordFile.java: Likewise.
13576         * gnu/javax/crypto/sasl/plain/PasswordFile.java: Likewise.
13577         * gnu/javax/crypto/sasl/plain/PlainAuthInfoProvider.java: Likewise.
13578         * gnu/javax/crypto/sasl/plain/PlainClient.java: Likewise.
13579         * gnu/javax/crypto/sasl/plain/PlainRegistry.java: Likewise.
13580         * gnu/javax/crypto/sasl/plain/PlainServer.java: Likewise.
13581         * gnu/javax/crypto/sasl/srp/CALG.java: Likewise.
13582         * gnu/javax/crypto/sasl/srp/ClientStore.java: Likewise.
13583         * gnu/javax/crypto/sasl/srp/IALG.java: Likewise.
13584         * gnu/javax/crypto/sasl/srp/KDF.java: Likewise.
13585         * gnu/javax/crypto/sasl/srp/PasswordFile.java: Likewise.
13586         * gnu/javax/crypto/sasl/srp/SecurityContext.java: Likewise.
13587         * gnu/javax/crypto/sasl/srp/ServerStore.java: Likewise.
13588         * gnu/javax/crypto/sasl/srp/SRP.java: Likewise.
13589         * gnu/javax/crypto/sasl/srp/SRPAuthInfoProvider.java: Likewise.
13590         * gnu/javax/crypto/sasl/srp/SRPClient.java: Likewise.
13591         * gnu/javax/crypto/sasl/srp/SRPRegistry.java: Likewise.
13592         * gnu/javax/crypto/sasl/srp/SRPServer.java: Likewise.
13593         * gnu/javax/crypto/sasl/srp/StoreEntry.java: Likewise.
13594         * gnu/javax/crypto/sasl/AuthInfo.java: Likewise.
13595         * gnu/javax/crypto/sasl/AuthInfoProviderFactory.java: Likewise.
13596         * gnu/javax/crypto/sasl/ClientFactory.java: Likewise.
13597         * gnu/javax/crypto/sasl/ClientMechanism.java: Likewise.
13598         * gnu/javax/crypto/sasl/ConfidentialityException.java: Likewise.
13599         * gnu/javax/crypto/sasl/IAuthInfoProvider.java: Likewise.
13600         * gnu/javax/crypto/sasl/IAuthInfoProviderFactory.java: Likewise.
13601         * gnu/javax/crypto/sasl/IllegalMechanismStateException.java: Likewise.
13602         * gnu/javax/crypto/sasl/InputBuffer.java: Likewise.
13603         * gnu/javax/crypto/sasl/IntegrityException.java: Likewise.
13604         * gnu/javax/crypto/sasl/NoSuchMechanismException.java: Likewise.
13605         * gnu/javax/crypto/sasl/NoSuchUserException.java: Likewise.
13606         * gnu/javax/crypto/sasl/OutputBuffer.java: Likewise.
13607         * gnu/javax/crypto/sasl/SaslEncodingException.java: Likewise.
13608         * gnu/javax/crypto/sasl/SaslInputStream.java: Likewise.
13609         * gnu/javax/crypto/sasl/SaslOutputStream.java: Likewise.
13610         * gnu/javax/crypto/sasl/SaslUtil.java: Likewise.
13611         * gnu/javax/crypto/sasl/ServerFactory.java: Likewise.
13612         * gnu/javax/crypto/sasl/ServerMechanism.java: Likewise.
13613         * gnu/javax/crypto/sasl/UserAlreadyExistsException.java: Likewise.
13614
13615 2006-07-02  Anthony Green  <green@redhat.com>
13616
13617         * gnu/javax/sound/midi/file/MidiFileWriter.java (writeTrack): Make
13618         sure that every track written ends with an End Of Track meta
13619         message.
13620
13621 2006-07-02  Andrew John Hughes  <gnu_andrew@member.fsf.org>
13622
13623         * java/lang/management/MemoryUsage.java:
13624         (toString()): Fix missing MB for maximum memory usage.
13625         
13626 2006-07-02  Andrew John Hughes  <gnu_andrew@member.fsf.org>
13627
13628         * NEWS:
13629         Updated to include VMCompilationMXBeanImpl.
13630         * doc/vmintegration.texinfo:
13631         Likewise, along with update to VMMemoryMXBeanImpl
13632         as below.
13633         * examples/gnu/classpath/examples/management/TestCompilation.java,
13634         * gnu/java/lang/management/CompilationMXBeanImpl.java,
13635         * java/lang/management/CompilationMXBeanImpl.java:
13636         New files.
13637         * java/lang/management/ManagementFactory.java:
13638         (getCompilationMXBean()): Implemented.
13639         * vm/reference/gnu/java/lang/management/VMCompilationMXBeanImpl.java:
13640         New file.
13641         * vm/reference/gnu/java/lang/management/VMMemoryMXBeanImpl.java:
13642         (getHeapMemoryUsage()): Added default implementation.   
13643         
13644 2006-07-02  Anthony Green  <green@redhat.com>
13645
13646         * NEWS: Mention MIDI file reader/writer providers.
13647
13648 2006-07-02  Anthony Green  <green@redhat.com>
13649
13650         * resource/META-INF/services/javax.sound.midi.spi.MidiFileWriter,
13651         gnu/javax/sound/midi/file/MidiFileWriter.java,
13652         gnu/javax/sound/midi/file/MidiDataOutputStream.java: New files.
13653
13654 2006-07-01  Andrew John Hughes  <gnu_andrew@member.fsf.org>
13655
13656         * NEWS:
13657         Updated to include VMMemoryMXBeanImpl.
13658         * doc/vmintegration.texinfo: Likewise.
13659         * examples/gnu/classpath/examples/management/TestMemory.java:
13660         New file.
13661         * gnu/java/lang/management/ClassLoadingMXBeanImpl.java:
13662         Remove redundant import.
13663         * gnu/java/lang/management/MemoryMXBeanImpl.java:
13664         New file.
13665         * gnu/java/lang/management/ThreadMXBeanImpl.java:
13666         Remove redundant import.
13667         * java/lang/management/ManagementFactory.java:
13668         (getMemoryMXBean()): Implemented.
13669         * java/lang/management/MemoryMXBean.java,
13670         * java/lang/management/MemoryUsage.java:
13671         New files.
13672         * java/lang/management/ThreadInfo.java:
13673         (toString()): Updated documentation.
13674         * vm/reference/gnu/java/lang/management/VMMemoryMXBeanImpl.java:
13675         New file.
13676         
13677 2006-07-01  Anthony Green  <green@redhat.com>
13678
13679         * resource/META-INF/services/javax.sound.midi.spi.MidiFileReader,
13680         gnu/javax/sound/midi/file/MidiFileReader.java,
13681         gnu/javax/sound/midi/file/ExtendedMidiFileFormat.java,
13682         gnu/javax/sound/midi/file/MidiDataInputStream.java: New files.
13683
13684 2006-07-02  Raif S. Naffah  <raif@swiftdsl.com.au>
13685
13686         * gnu/javax/crypto/prng/ARCFour.java: Source formatting.
13687         * gnu/javax/crypto/prng/CSPRNG.java: Likewise.
13688         * gnu/javax/crypto/prng/Fortuna.java: Likewise.
13689         * gnu/javax/crypto/prng/ICMGenerator.java: Likewise.
13690         * gnu/javax/crypto/prng/PBKDF2.java: Likewise.
13691         * gnu/javax/crypto/prng/PRNGFactory.java: Likewise.
13692         * gnu/javax/crypto/prng/UMacGenerator.java: Likewise.
13693
13694 2006-07-02  Raif S. Naffah  <raif@swiftdsl.com.au>
13695
13696         * gnu/javax/crypto/pad/BasePad.java: Source formatting.
13697         * gnu/javax/crypto/pad/IPad.java: Likewise.
13698         * gnu/javax/crypto/pad/PadFactory.java: Likewise.
13699         * gnu/javax/crypto/pad/PKCS1_V1_5.java: Likewise.
13700         * gnu/javax/crypto/pad/PKCS7.java: Likewise.
13701         * gnu/javax/crypto/pad/SSL3.java: Likewise.
13702         * gnu/javax/crypto/pad/TBC.java: Likewise.
13703         * gnu/javax/crypto/pad/TLS1.java: Likewise.
13704         * gnu/javax/crypto/pad/WrongPaddingException.java: Likewise.
13705
13706 2006-07-01  Anthony Green  <green@redhat.com>
13707
13708         * javax/sound/midi/SysexMessage.java (setMessage): Fix sysex
13709         status byte test.
13710         (setMessage): Fix it again, in a different setMessage method.
13711
13712 2006-07-02  Raif S. Naffah  <raif@swiftdsl.com.au>
13713
13714         * gnu/javax/crypto/mode/BaseMode.java: Source formatting.
13715         * gnu/javax/crypto/mode/CBC.java: Likewise.
13716         * gnu/javax/crypto/mode/CFB.java: Likewise.
13717         * gnu/javax/crypto/mode/CTR.java: Likewise.
13718         * gnu/javax/crypto/mode/EAX.java: Likewise.
13719         * gnu/javax/crypto/mode/ECB.java: Likewise.
13720         * gnu/javax/crypto/mode/IAuthenticatedMode.java: Likewise.
13721         * gnu/javax/crypto/mode/ICM.java: Likewise.
13722         * gnu/javax/crypto/mode/IMode.java: Likewise.
13723         * gnu/javax/crypto/mode/ModeFactory.java: Likewise.
13724         * gnu/javax/crypto/mode/OFB.java: Likewise.
13725
13726 2006-07-02  Raif S. Naffah  <raif@swiftdsl.com.au>
13727
13728         * gnu/javax/crypto/mac/BaseMac.java: Source formatting.
13729         * gnu/javax/crypto/mac/HMac.java: Likewise.
13730         * gnu/javax/crypto/mac/HMacFactory.java: Likewise.
13731         * gnu/javax/crypto/mac/IMac.java: Likewise.
13732         * gnu/javax/crypto/mac/MacFactory.java: Likewise.
13733         * gnu/javax/crypto/mac/MacInputStream.java: Likewise.
13734         * gnu/javax/crypto/mac/MacOutputStream.java: Likewise.
13735         * gnu/javax/crypto/mac/OMAC.java: Likewise.
13736         * gnu/javax/crypto/mac/TMMH16.java: Likewise.
13737         * gnu/javax/crypto/mac/UHash32.java: Likewise.
13738         * gnu/javax/crypto/mac/UMac32.java: Likewise.
13739
13740 2006-07-01  Anthony Green  <green@redhat.com>
13741
13742         * javax/sound/midi/Track.java (vector, eventSet): Initialize. 
13743
13744 2006-07-02  Raif S. Naffah  <raif@swiftdsl.com.au>
13745
13746         * gnu/javax/crypto/keyring/AuthenticatedEntry.java: Source formatting.
13747         * gnu/javax/crypto/keyring/BaseKeyring.java: Likewise.
13748         * gnu/javax/crypto/keyring/BinaryDataEntry.java: Likewise.
13749         * gnu/javax/crypto/keyring/CertificateEntry.java: Likewise.
13750         * gnu/javax/crypto/keyring/CertPathEntry.java: Likewise.
13751         * gnu/javax/crypto/keyring/CompressedEntry.java: Likewise.
13752         * gnu/javax/crypto/keyring/EncryptedEntry.java: Likewise.
13753         * gnu/javax/crypto/keyring/Entry.java: Likewise.
13754         * gnu/javax/crypto/keyring/EnvelopeEntry.java: Likewise.
13755         * gnu/javax/crypto/keyring/GnuPrivateKeyring.java: Likewise.
13756         * gnu/javax/crypto/keyring/GnuPublicKeyring.java: Likewise.
13757         * gnu/javax/crypto/keyring/IKeyring.java: Likewise.
13758         * gnu/javax/crypto/keyring/IPrivateKeyring.java: Likewise.
13759         * gnu/javax/crypto/keyring/IPublicKeyring.java: Likewise.
13760         * gnu/javax/crypto/keyring/MalformedKeyringException.java: Likewise.
13761         * gnu/javax/crypto/keyring/MaskableEnvelopeEntry.java: Likewise.
13762         * gnu/javax/crypto/keyring/MeteredInputStream.java: Likewise.
13763         * gnu/javax/crypto/keyring/PasswordAuthenticatedEntry.java: Likewise.
13764         * gnu/javax/crypto/keyring/PasswordEncryptedEntry.java: Likewise.
13765         * gnu/javax/crypto/keyring/PasswordProtectedEntry.java: Likewise.
13766         * gnu/javax/crypto/keyring/PrimitiveEntry.java: Likewise.
13767         * gnu/javax/crypto/keyring/PrivateKeyEntry.java: Likewise.
13768         * gnu/javax/crypto/keyring/Properties.java: Likewise.
13769         * gnu/javax/crypto/keyring/PublicKeyEntry.java: Likewise.
13770
13771 2006-07-01  David Gilbert  <david.gilbert@object-refinery.com>
13772
13773         * javax/swing/AbstractCellEditor.java: Source code formatting,
13774         * javax/swing/AbstractSpinnerModel.java: Likewise,
13775         * javax/swing/Box.java: Likewise,
13776         * javax/swing/BoxLayout.java: Likewise,
13777         * javax/swing/DefaultListModel.java: Likewise,
13778         * javax/swing/GrayFilter.java: Likewise,
13779         * javax/swing/LookAndFeel.java: Likewise,
13780         * javax/swing/ProgressMonitor.java: Likewise,
13781         * javax/swing/ProgressMonitorInputStream.java: Likewise,
13782         * javax/swing/ScrollPaneLayout.java: Likewise,
13783         * javax/swing/SpringLayout.java: Likewise,
13784         * javax/swing/event/EventListenerList.java: Likewise,
13785         * javax/swing/event/MenuEvent.java: Likewise,
13786         * javax/swing/event/TreeExpansionListener.java: Likewise.
13787
13788 2006-07-01  Andrew John Hughes  <gnu_andrew@member.fsf.org>
13789
13790         * NEWS:
13791         Mention threading bean and getState().
13792         * doc/vmintegration.texinfo:
13793         Update documentation for threading bean and new
13794         method of VMThread.
13795         
13796 2006-07-01  Andrew John Hughes  <gnu_andrew@member.fsf.org>
13797         
13798         * examples/gnu/classpath/examples/management/TestClassLoading.java,
13799         * examples/gnu/classpath/examples/management/TestOS.java,
13800         * examples/gnu/classpath/examples/management/TestRuntime.java,
13801         * examples/gnu/classpath/examples/management/TestThread.java:
13802         New files.
13803         
13804 2006-07-01  Jeroen Frijters  <jeroen@frijters.net>
13805
13806         * java/lang/ThreadGroup.java
13807         (getThreadFromId, getThreadFromIdImpl): New methods.
13808
13809 2006-07-01  Jeroen Frijters  <jeroen@frijters.net>
13810
13811         * java/lang/Thread.java:
13812         Make thread IDs start from 1 in a more efficient way.
13813
13814 2006-07-01  Andrew John Hughes  <gnu_andrew@member.fsf.org>
13815
13816         * java/lang/Thread.java:
13817         Make thread IDs start from 1.
13818         
13819 2006-07-01  Andrew John Hughes  <gnu_andrew@member.fsf.org>
13820
13821         * gnu/java/lang/management/BeanImpl.java:
13822         New superclass for all bean implementations.
13823         * gnu/java/lang/management/ClassLoadingMXBeanImpl.java:
13824         Extend BeanImpl and call permission code there.
13825         * gnu/java/lang/management/OperatingSystemMXBeanImpl.java:
13826         Extend BeanImpl.
13827         * gnu/java/lang/management/RuntimeMXBeanImpl.java:
13828         Extend BeanImpl and call permission code there.
13829         * gnu/java/lang/management/ThreadMXBeanImpl.java:
13830         New file.
13831         * java/lang/management/ManagementFactory.java:
13832         (getThreadMXBean()): Implemented.
13833         * java/lang/management/ThreadInfo.java:
13834         (ThreadInfo(Thread,int)): Replaced...
13835         (ThreadInfo(Thread,long,long,Object,Thread,long,long,
13836         boolean, boolean, StackTraceElement[])): with this.
13837         (getBlockedCount()): Refactored to use local variables.
13838         (getBlockedTime()): Likewise.
13839         (getLockName()): Likewise.
13840         (getLockOwnerId()): Likewise.
13841         (getLockOwnerName()): Likewise.
13842         (getStackTrace()): Likewise.
13843         (getWaitedCount()): Likewise.
13844         (getWaitedTime()): Likewise.
13845         (isInNative()): Likewise.
13846         (isSuspended()): Likewise.
13847         (toString()): Changed to use new local variables.
13848         * java/lang/management/ThreadMXBean.java:
13849         (getThreadInfo(long, int)): Corrected documentation.
13850         (getThreadInfo(long[], int)): Likewise.
13851         * vm/reference/gnu/java/lang/management/VMThreadMXBeanImpl.java:
13852         New file.
13853         * vm/reference/java/lang/management/VMThreadInfo.java:
13854         Removed.
13855
13856 2006-07-01  Raif S. Naffah  <raif@swiftdsl.com.au>
13857
13858         * gnu/javax/crypto/key/dh/DHKeyPairRawCodec.java: Source formatting.
13859         * gnu/javax/crypto/key/dh/DiffieHellmanKeyAgreement.java: Likewise.
13860         * gnu/javax/crypto/key/dh/DiffieHellmanReceiver.java: Likewise.
13861         * gnu/javax/crypto/key/dh/DiffieHellmanSender.java: Likewise.
13862         * gnu/javax/crypto/key/dh/ElGamalKeyAgreement.java: Likewise.
13863         * gnu/javax/crypto/key/dh/ElGamalReceiver.java: Likewise.
13864         * gnu/javax/crypto/key/dh/ElGamalSender.java: Likewise.
13865         * gnu/javax/crypto/key/dh/GnuDHKey.java: Likewise.
13866         * gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java: Likewise.
13867         * gnu/javax/crypto/key/dh/GnuDHPrivateKey.java: Likewise.
13868         * gnu/javax/crypto/key/dh/GnuDHPublicKey.java: Likewise.
13869         * gnu/javax/crypto/key/dh/RFC2631.java: Likewise.
13870         * gnu/javax/crypto/key/srp6/SRP6Host.java: Likewise.
13871         * gnu/javax/crypto/key/srp6/SRP6KeyAgreement.java: Likewise.
13872         * gnu/javax/crypto/key/srp6/SRP6SaslClient.java: Likewise.
13873         * gnu/javax/crypto/key/srp6/SRP6SaslServer.java: Likewise.
13874         * gnu/javax/crypto/key/srp6/SRP6TLSClient.java: Likewise.
13875         * gnu/javax/crypto/key/srp6/SRP6TLSServer.java: Likewise.
13876         * gnu/javax/crypto/key/srp6/SRP6User.java: Likewise.
13877         * gnu/javax/crypto/key/srp6/SRPAlgorithm.java: Likewise.
13878         * gnu/javax/crypto/key/srp6/SRPKey.java: Likewise.
13879         * gnu/javax/crypto/key/srp6/SRPKeyPairGenerator.java: Likewise.
13880         * gnu/javax/crypto/key/srp6/SRPKeyPairRawCodec.java: Likewise.
13881         * gnu/javax/crypto/key/srp6/SRPPrivateKey.java: Likewise.
13882         * gnu/javax/crypto/key/srp6/SRPPublicKey.java: Likewise.
13883         * gnu/javax/crypto/key/BaseKeyAgreementParty.java: Likewise.
13884         * gnu/javax/crypto/key/GnuSecretKey.java: Likewise.
13885         * gnu/javax/crypto/key/IKeyAgreementParty.java: Likewise.
13886         * gnu/javax/crypto/key/IncomingMessage.java: Likewise.
13887         * gnu/javax/crypto/key/KeyAgreementException.java: Likewise.
13888         * gnu/javax/crypto/key/KeyAgreementFactory.java: Likewise.
13889         * gnu/javax/crypto/key/OutgoingMessage.java: Likewise.
13890
13891 2006-07-01  Roman Kennke  <kennke@aicas.com>
13892
13893         * gnu/java/awt/java2d/AbstractGraphics2D.java
13894         (transform): Make field protected.
13895         (getDestinationRaster): Provide default implementation for
13896         previously abstract method.
13897
13898 2006-06-30  Tania Bento  <tbento@redhat.com>
13899
13900         * java/awt/TextArea.java
13901         (TextArea(String, int, int, int)): No longer throws
13902         IllegalArgumentException if rows, columns, or scrollbarVisibility 
13903         values are invalid.  
13904         (TextArea(String, int, int, int)): If rows or columns are < 0, 
13905         they get set to 0.  If scrollbarVisibility is < 0 or > 4, it 
13906         gets set to the default value of 0 (SCROLLBARS_BOTH).
13907          (appendText): Added case when peer = null.
13908         (insertText): Added case when peer == null.
13909         (replaceText): Added case when peer == null.
13910         * java/awt/TextComponent.java
13911         (TextComponent(String)): If text == null, set it to "".
13912
13913 2006-06-30  Lillian Angel  <langel@redhat.com>
13914
13915         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
13916         (create): Added synchronized block around groupMap.get calls.
13917         (setCheckboxGroup): Likewise.
13918
13919 2006-06-30  Lillian Angel  <langel@redhat.com>
13920
13921         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
13922         (create): Changed to be non-synchronized.
13923         (setLabel): Likewise.
13924         (setCheckboxGroup): Likewise.
13925         (addToGroupMap): Likewise. Added synchronized block around
13926         code.
13927         (dispose): Changed to be non-synchronized.
13928
13929 2006-06-30  Lillian Angel  <langel@redhat.com>
13930
13931         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java:
13932         Changed all return values of native functions to void.
13933         (create): Changed function to be synchronized. Removed
13934         call to put value in groupMap, this is now done from 
13935         the native code.
13936         (setState): Changed function to be synchronized.
13937         (setLabel): Changed function to be synchronized.
13938         (setCheckboxGroup): Changed function to be synchronized. Removed
13939         call to put value in groupMap, this is now done from
13940         the native code.
13941         (postItemEvent): Changed function to be synchronized.
13942         (addToGroupMap): New function. Called by native code to add
13943         new value to the group.
13944         (dispose): Changed function to be synchronized.
13945         * include/gnu_java_awt_peer_gtk_GtkCheckboxPeer.h: Updated
13946         all functions.
13947         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
13948         (cp_gtk_checkbox_init_jni): Added code to link to 
13949         java function.
13950         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_createRadioButton): 
13951         Changed return value to void. Added call
13952         to java function to set pointer in groupMap.
13953         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_addtoGroup): Likewise. Also,
13954         changed check to an assert. Also, removed call to set/del pointer.
13955         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_removeFromGroup): 
13956         Likewise. Also, added check to determine if native_group should be 
13957         set to NULL.
13958         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_switchToGroup): Likewise.
13959
13960 2006-06-30  Sven de Marothy  <sven@physto.se>
13961
13962         * gnu/java/awt/ClasspathToolkit.java,
13963         * gnu/java/awt/peer/x/XToolkit.java,
13964         * gnu/java/awt/peer/qt/QtToolkit.java,
13965         * gnu/java/awt/peer/gtk/GtkToolkit.java,
13966         Remove ClasspathTextLayoutPeer.
13967         * gnu/java/awt/peer/gtk/GdkTextLayout.java,
13968         * gnu/java/awt/peer/ClasspathTextLayoutPeer:
13969         Files removed.
13970         
13971 2006-06-30  Sven de Marothy  <sven@physto.se>
13972
13973         * gnu/java/awt/peer/gtk/CairoGraphics2D.java:
13974         (drawGlyphVector): Don't draw empty vectors.
13975
13976 2006-06-30  Lillian Angel  <langel@redhat.com>
13977             Tom Fitzsimmons <fitzsim@redhat.com>
13978
13979         * gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java: Removed class.
13980         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java:
13981         Added current_group, groupMap fields. Added definitions for
13982         new native functions.
13983         (create): Removed FIXME. Added code to create the check button or
13984         radio button when appropriate. Updated groupMap to contain
13985         pointer to the newly created group.
13986         (setCheckboxGroup): Added code to handle all cases. Removing
13987         a button from a group, adding a button to a group, or changing the
13988         group of a button.
13989         (dispose): Changed to call super.
13990         * include/Makefile.am: Removed reference to 
13991         gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.h.
13992         * include/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.h: Removed file.
13993         * include/gnu_java_awt_peer_gtk_GtkCheckboxPeer.h: Added definitions
13994         for new functions.
13995         * native/jni/gtk-peer/Makefile.am: Removed reference to 
13996         gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c.
13997         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c:
13998         Removed file.
13999         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
14000         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_combobox_get_widget): 
14001         Renamed to checkbox_get_widget.
14002         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_connectSignals): 
14003         Changed to use checkbox_get_widget.
14004         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_nativeSetCheckboxGroup): 
14005         Removed.
14006         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_gtkWidgetModifyFont):
14007         Changed to use checkbox_get_widget.
14008         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_gtkButtonSetLabel):
14009         Likewise.
14010         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_createCheckButton):
14011         New function. Creates checkbutton without a group.
14012         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_createRadioButton):
14013         Creates a radio button in a group, using groupPointer. If groupPointer
14014         is 0, then a new group is created.
14015         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_addToGroup): Adds the
14016         check button to a group, using groupPointer. A radio button is created
14017         in its place. If groupPointer is 0, then a new group is created.
14018         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_removeFromGroup): The
14019         radio button is removed from the group. A check button is created in 
14020         its place.
14021         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_switchToGroup): The
14022         radio button is moved to a new group.
14023
14024 2006-06-30  Mark Wielaard  <mark@klomp.org>
14025
14026         * configure.ac: Move standard.omit creation after dirs are created.
14027         Cat standard.omit.in from srcdir. Make exclude regex more explicit.
14028         * lib/Makefile.am (EXTRA_DIST): Add standard.omit.in.
14029         (clean-local): Remove standard.omit.
14030         * lib/gen-classlist.sh.in: Use omit file in build dir.
14031         * lib/standard.omit.in: Make exclude regex more explicit.
14032
14033 2006-06-30  Roman Kennke  <kennke@aicas.com>
14034
14035         * lib/Makefile.am: Added Escher dir/jar to classpath when
14036         requested.
14037         * configure.ac: Moved handling of standard.omit to a place
14038         where it actually gets executed.
14039
14040 2006-06-30  David Gilbert  <david.gilbert@object-refinery.com>
14041
14042         * java/awt/TextComponent.java: Reformatted source code,
14043         * java/awt/TextField.java: Likewise.
14044
14045 2006-06-29  Jeroen Frijters <jeroen@sumatra.nl>
14046
14047         * java/lang/Thread.java:
14048         (getState()): Handle case of no VMThread
14049         correctly.
14050
14051 2006-06-29  Andrew John Hughes  <gnu_andrew@member.fsf.org>
14052
14053         * java/lang/Thread.java,
14054         * java/lang/VMThread.java:
14055         Reverted patch from 2006-06-28.
14056         
14057 2006-06-29  Roman Kennke  <kennke@aicas.com>
14058
14059         * gnu/java/awt/peer/x/GLGraphics.java,
14060         * gnu/java/awt/peer/x/ImageConverter.java,
14061         * gnu/java/awt/peer/x/KeyboardMapping.java,
14062         * gnu/java/awt/peer/x/XEventPump.java,
14063         * gnu/java/awt/peer/x/XFontPeer.java,
14064         * gnu/java/awt/peer/x/XFontPeer2.java,
14065         * gnu/java/awt/peer/x/XFramePeer.java,
14066         * gnu/java/awt/peer/x/XGraphics.java,
14067         * gnu/java/awt/peer/x/XGraphics2D.java,
14068         * gnu/java/awt/peer/x/XGraphicsConfiguration.java,
14069         * gnu/java/awt/peer/x/XGraphicsDevice.java,
14070         * gnu/java/awt/peer/x/XGraphicsEnvironment.java,
14071         * gnu/java/awt/peer/x/XImage.java,
14072         * gnu/java/awt/peer/x/XLightweightPeer.java,
14073         * gnu/java/awt/peer/x/XToolkit.java,
14074         * gnu/java/awt/peer/x/XWindowPeer.java,
14075         * gnu/java/awt/peer/x/fonts.properties: New files.
14076         * lib/standard.omit: Removed.
14077         * lib/standard.omit.in: Added.
14078         * configure.ac: Added configure option --with-escher. Added some
14079         configury for omitting gnu.java.awt.peer.x package when
14080         this option is not specified.
14081
14082 2006-06-29  David Gilbert  <david.gilbert@object-refinery.com>
14083
14084         * javax/swing/JComponent.java
14085         (JComponent()): Initialize the locale here, not the default locale,
14086         (getDefaultLocale): If null, return Locale.getDefault(),
14087         (setDefaultLocale): Added API docs.
14088
14089 2006-06-29  Tania Bento  <tbento@redhat.com>
14090
14091         * java/awt/Container.java
14092         (applyComponentOrientation): Implemented method.
14093
14094 2006-06-29  Gary Benson  <gbenson@redhat.com>
14095
14096         * java/io/File.java (listRoots): Merge security checks from libgcj.
14097
14098 2006-06-29  Gary Benson  <gbenson@redhat.com>
14099
14100         * java/io/FilePermission.java (implies): Work when path is "/".
14101
14102 2006-06-28  Andrew John Hughes  <gnu_andrew@member.fsf.org>
14103
14104         * java/lang/Thread.java:
14105         (Thread(ThreadGroup,Runnable,String,long)): Update
14106         state.
14107         (Thread(VMThread,String,int,boolean)): Likewise.
14108         (join(long,int)): Likewise.
14109         (resume()): Likewise.
14110         (sleep(long,int)): Likewise.
14111         (start()): Likewise.
14112         (stop()): Likewise.
14113         (suspend()): Likewise.
14114         (die()): Likewise.
14115         (getState()): Return either state or use VMThread.
14116         * java/lang/VMThread.java:
14117         (getState()): Added default implementation to return
14118         thread.state
14119         
14120 2006-06-28  Andreas Tobler  <a.tobler@schweiz.ch>
14121
14122         * gnu/java/awt/peer/gtk/CairoSurface.java: Swap the data from the
14123         GdkPixbuf correctly on big endian systems. Fix a typo in the little
14124         endian swapping code.
14125
14126         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c
14127         (Java_gnu_java_awt_peer_gtk_GtkImage_getPixels): Swap the pixeldata
14128         without alpha information correctly on big endian systems.
14129
14130 2006-06-28  Roman Kennke  <kennke@aicas.com>
14131
14132         * gnu/java/net/local/LocalSocket.java
14133         (setSoTimeout): Don't throw exception and ignore request.
14134         (getSoTimeout): Don't throw exception and always return 0.
14135
14136 2006-06-28  David Gilbert  <david.gilbert@object-refinery.com>
14137
14138         * javax/swing/JComponent.java
14139         (getRegisteredKeyStrokes): Implemented.
14140
14141 2006-06-28  David Gilbert  <david.gilbert@object-refinery.com>
14142
14143         * javax/swing/JComponent.java
14144         (verifyInputWhenFocusTarget): Initialise to true.
14145
14146 2006-06-28  David Gilbert  <david.gilbert@object-refinery.com>
14147
14148         * java/beans/VetoableChangeSupport.java
14149         (addVetoableChangeListener(VetoableChangeListener)): Do nothing for
14150         null listener,
14151         (addVetoableChangeListener(String, VetoableChangeListener)): Do nothing
14152         for null property name and/or listener,
14153         * javax/swing/JComponent.java
14154         (getListeners): Handle VetoableChangeListener.class as a special case,
14155         (getVetoableChangeListeners): Fetch these from the 
14156         vetoableChangeSupport object.
14157
14158 2006-06-28  David Gilbert  <david.gilbert@object-refinery.com>
14159
14160         * javax/swing/JComponent.java
14161         (componentPopupMenu): New field,
14162         (inheritsPopupMenu): New field,
14163         (getInheritsPopupMenu): Implemented,
14164         (setInheritsPopupMenu): Likewise,
14165         (getComponentPopupMenu): Likewise,
14166         (setComponentPopupMenu): Likewise,
14167         * javax/swing/JLabel.java
14168         (JLabel(String, Icon, int)): Set inheritsPopupMenu to true.
14169
14170 2006-06-28  Raif S. Naffah  <raif@swiftdsl.com.au>
14171
14172         * gnu/javax/crypto/key/dh/GnuDHPublicKey.java (str): New field.
14173         (toString): New method.
14174         * gnu/javax/crypto/key/dh/GnuDHPrivateKey.java (str): New field.
14175         (toString): New method.
14176         * gnu/javax/crypto/key/dh/GnuDHKey.java (str): New field.
14177         (toString): New method.
14178         * gnu/javax/crypto/key/dh/DHKeyPairPKCS8Codec.java (encodePrivateKey):
14179         Handle case when Q is null.
14180         (decodePrivateKey): Likewise.
14181         * gnu/javax/crypto/key/dh/DHKeyPairX509Codec.java (encodePublicKey):
14182         Likewise.
14183         (decodePublicKey): Likewise.
14184         * gnu/javax/crypto/jce/GnuCrypto.java (run): Added AlgorithmParameters
14185         aliases for all block ciphers.
14186         * gnu/javax/crypto/jce/DiffieHellmanImpl.java (result): Changed to byte[].
14187         (engineDoPhase): Compute fully the shared secret.
14188         (checkState): New method.
14189         (reset): Likewise.
14190         (engineGenerateSecret()): Reset key-agreement before returning.
14191         (engineGenerateSecret(byte[],int)): Check for short-buffer.
14192         Reset key-agreement before returning.
14193         (engineGenerateSecret(String)): Reset key-agreement before returning.
14194         (engineInit(Key,SecureRandom)): Call reset() before returning.
14195         * gnu/javax/crypto/jce/params/BlockCipherParameters.java (log): New field.
14196         (engineInit): Replace printing to System.out with conditional logging.
14197         * gnu/javax/crypto/jce/cipher/CipherAdapter.java (engineInitHandler):
14198         When the key-size is not specified, attempt best effort to find a suitable
14199         value among those advertised by the cipher before setting it to the length
14200         of provided key material.
14201
14202 2006-06-28  David Gilbert  <david.gilbert@object-refinery.com>
14203
14204         * javax/swing/table/DefaultTableColumnModel.java
14205         (changeEvent): Don't initialize yet, removed FIXME,
14206         (fireColumnModelChanged): Initialize changeEvent if necessary.
14207
14208 2006-06-27  Andrew John Hughes  <gnu_andrew@member.fsf.org>
14209
14210         * java/lang/Thread.java:
14211         (getAllStackTraces()): Implemented.
14212         (getStackTrace()): Likewise.
14213         
14214 2006-06-27  Tania Bento  <tbento@redhat.com>
14215
14216         * java/awt/Component.java
14217         (setComponentOrientation): NPE should not be thrown.
14218
14219 2006-06-27  Tom Tromey  <tromey@redhat.com>
14220
14221         * configure.ac: Create gjar, gnative2ascii, gserialver.
14222         * tools/gappletviewer.in: Quote $@.
14223         * tools/gkeytool.in: Likewise.
14224         * tools/gjarsigner.in: Likewise.
14225         * tools/gjar.in: New file.
14226         * tools/gnative2ascii.in: Likewise.
14227         * tools/gserialver.in: Likewise.
14228         * tools/Makefile.am (bin_PROGRAMS): Added gjar, gnative2ascii,
14229         gserialver.
14230         (bin_SCRIPTS): Likewise.
14231
14232 2006-06-27  Andrew John Hughes  <gnu_andrew@member.fsf.org>
14233
14234         * java/lang/management/ThreadMXBean.java:
14235         (getThreadInfo(long[])): Corrected return type.
14236         (getThreadInfo(long[], int)): Likewise.
14237
14238 2006-06-27  Mark Wielaard  <mark@klomp.org>
14239
14240         * java/awt/datatransfer/Clipboard.java (addFlavorListener): Do
14241         nothing when listener is null.
14242         (removeFlavorListener): Likewise.
14243
14244         * java/awt/datatransfer/DataFlavor.java
14245         (getRepresentationClassFromMime): Renamed to
14246         getRepresentationClassFromMimeThrows.
14247         (isRepresentationClassInputStream): Use Class.isAssignableFrom().
14248         (isRepresentationClassSerializable): Likewise.
14249         (isFlavorJavaFileListType): Likewise and check primary and
14250         subtype.
14251         (getParameter): Parameters are separated by semi-colons.
14252         (DataFlavor(Class,String,String)): Do some sanity checks.
14253         (DataFlavor(String,String,ClassLoader)): Call
14254         getRepresentationClassFromMimeThrows.
14255         (DataFlavor(String)): Likewise.
14256         (equals(DataFlavor)): Special case primary type text and charset
14257         parameter.
14258         
14259 2006-06-27  David Gilbert  <david.gilbert@object-refinery.com>
14260
14261         * java/awt/Component.java
14262         (setName): Fire required PropertyChangeEvent,
14263         * java/awt/Label.java
14264         (getText): Removed redundant brackets,
14265         (generateName): New method (override),
14266         (nextLabelNumber): New field,
14267         (getUniqueLong): New method.
14268
14269 2006-06-27  Roman Kennke  <kennke@aicas.com>
14270
14271         * gnu/java/awt/peer/swing/SwingComponentPeer.java
14272         (createImage): Delegate this to the parent.
14273         (handleEvent): Only handle PAINT/UPDATE events when the
14274         component is actually showing.
14275         (hide): Repaint the parent after hiding a component.
14276         (prepareImage): Have only one return point.
14277         (setVisible): Delegate to show() and hide().
14278         (createVolatileImage): Added null check to avoid NPE.
14279
14280 2006-06-27  David Gilbert  <david.gilbert@object-refinery.com>
14281
14282         * java/awt/Label.java: Reformatted source code.
14283
14284 2006-06-27  Roman Kennke  <kennke@aicas.com>
14285
14286         * java/awt/image/BufferedImage.java
14287         (getSource): Use a fixed DirectColorModel to deliver the
14288         RGB pixels to the ImageConsumer.
14289
14290 2006-06-27  David Gilbert  <david.gilbert@object-refinery.com>
14291
14292         * java/awt/Point.java
14293         (setLocation(double, double)): Round to nearest integer coordinates.
14294
14295 2006-06-27  David Gilbert  <david.gilbert@object-refinery.com>
14296
14297         * java/awt/Component.java
14298         (minSizeSet): New field,
14299         (maxSize): Likewise,
14300         (maxSizeSet): Likewise,
14301         (isMaximumSizeSet): Implemented,
14302         (isMinimumSizeSet): Likewise,
14303         (isPreferredSizeSet): Likewise,
14304         (setMaximumSize): Likewise,
14305         (setMinimumSize): Likewise,
14306         (setPreferredSize): Likewise. 
14307
14308 2006-06-27  Roman Kennke  <kennke@aicas.com>
14309
14310         * javax/imageio/spi/IIORegistry.java
14311         (IIORegistry): Added BMP codec.
14312
14313 2006-06-27  Mark Wielaard  <mark@klomp.org>
14314
14315         * javax/swing/JComponent.java
14316         (firePropertyChange(String,char,char)): New override method.
14317
14318 2006-06-26  Andrew John Hughes  <gnu_andrew@member.fsf.org>
14319
14320         * java/lang/Thread.java:
14321         (getState()): New method.
14322         * java/lang/management/ClassLoadingMXBean.java:
14323         Corrected class documentation.
14324         * java/lang/management/ManagementFactory.java:
14325         Added new temporary marked stub to get thread bean.
14326         * java/lang/management/OperatingSystemMXBean.java:
14327         Corrected class documentation.
14328         * java/lang/management/RuntimeMXBean.java:
14329         Corrected class documentation.
14330         * java/lang/management/ThreadInfo.java,
14331         * java/lang/management/ThreadMXBean.java:
14332         New classes.
14333         * vm/reference/java/lang/VMThread.java:
14334         (getState()): New method.
14335         * vm/reference/java/lang/management/VMThreadInfo.java:
14336         New VM class.
14337
14338 2006-06-26  Sven de Marothy  <sven@physto.se>
14339
14340         * gnu/javax/imageio/gif/GIFFile.java
14341         * gnu/javax/imageio/gif/GIFImageReader.java
14342         * gnu/javax/imageio/gif/GIFImageSpi.java
14343         * gnu/javax/imageio/gif/GIFStream.java
14344         New files.
14345         * javax/imageio/spi/IIORegistry.java: Load new GIF decoder plugin.
14346
14347 2006-06-26  Tania Bento  <tbento@redhat.com>
14348
14349         * java/awt/List.java
14350         (List): A list should have at least 4 visible rows.     
14351         (replaceItem): Should throw an ArrayIndexOutOfBoundsException,
14352         not an IllegalArgumentException.
14353         (makeVisible): Should not throw an IllegalArgumentException if
14354         the specified index is out of range.
14355
14356 2006-06-26  David Gilbert  <david.gilbert@object-refinery.com>
14357
14358         * javax/swing/JList.java
14359         (getNextMatch): Reimplemented to perform a circular search for the 
14360         matching item.
14361
14362 2006-06-26  David Gilbert  <david.gilbert@object-refinery.com>
14363
14364         * javax/swing/JList.java
14365         (init): Set default value for visibleRowCount to 8,
14366         (setVisibleRowCount): Fire PropertyChangeEvent when value changes.
14367
14368 2006-06-26  David Gilbert  <david.gilbert@object-refinery.com>
14369
14370         * javax/swing/JList.java
14371         (valueIsAdjusting): Removed,
14372         (init): Removed initialization of valueIsAdjusting field,
14373         (getValueIsAdjusting): Fetch value from selection model,
14374         (setValueIsAdjusting): Store value in selection model.
14375
14376 2006-06-26  Roman Kennke  <kennke@aicas.com>
14377
14378         * javax/swing/plaf/basic/BasicListUI.java
14379         (installKeyboardActions): Rewritten to fit with the
14380         ActionMap/InputMap architecture.
14381         (uninstallKeyboardActions): Implemented.
14382         (ListAction): Made private. Added TODO for splitting
14383         up this bulk Action.
14384         (ListAction.ListAction): New constructor. This one
14385         takes a cmd parameter to be installed as actionCommand.
14386
14387 2006-06-26  Raif S. Naffah  <raif@swiftdsl.com.au>
14388
14389         * gnu/java/security/key/rsa/RSAKeyPairRawCodec.java: Remove RCS Revision.
14390         * gnu/javax/crypto/assembly/DeflateTransformer.java: Likewise.
14391
14392 2006-06-26  Raif S. Naffah  <raif@swiftdsl.com.au>
14393
14394         * gnu/javax/crypto/jce/PBKDF2SecretKeyFactory.java: Source formatting.
14395         * gnu/javax/crypto/jce/GnuSasl.java: Likewise.
14396         * gnu/javax/crypto/jce/GnuCrypto.java: Likewise.
14397         * gnu/javax/crypto/jce/DiffieHellmanImpl.java: Likewise.
14398         * gnu/javax/crypto/jce/spec/UMac32ParameterSpec.java: Likewise.
14399         * gnu/javax/crypto/jce/spec/TMMHParameterSpec.java: Likewise.
14400         * gnu/javax/crypto/jce/spec/BlockCipherParameterSpec.java: Likewise.
14401         * gnu/javax/crypto/jce/sig/DHKeyFactory.java: Likewise.
14402         * gnu/javax/crypto/jce/prng/UMacRandomSpi.java: Likewise.
14403         * gnu/javax/crypto/jce/prng/ICMRandomSpi.java: Likewise.
14404         * gnu/javax/crypto/jce/prng/FortunaImpl.java: Likewise.
14405         * gnu/javax/crypto/jce/prng/CSPRNGSpi.java: Likewise.
14406         * gnu/javax/crypto/jce/prng/ARCFourRandomSpi.java: Likewise.
14407         * gnu/javax/crypto/jce/params/DERWriter.java: Likewise.
14408         * gnu/javax/crypto/jce/params/DERReader.java: Likewise.
14409         * gnu/javax/crypto/jce/params/DEREncodingException.java: Likewise.
14410         * gnu/javax/crypto/jce/params/BlockCipherParameters.java: Likewise.
14411         * gnu/javax/crypto/jce/mac/UMac32Spi.java: Likewise.
14412         * gnu/javax/crypto/jce/mac/UHash32Spi.java: Likewise.
14413         * gnu/javax/crypto/jce/mac/TMMH16Spi.java: Likewise.
14414         * gnu/javax/crypto/jce/mac/OMacTwofishImpl.java: Likewise.
14415         * gnu/javax/crypto/jce/mac/OMacTripleDESImpl.java: Likewise.
14416         * gnu/javax/crypto/jce/mac/OMacSquareImpl.java: Likewise.
14417         * gnu/javax/crypto/jce/mac/OMacSerpentImpl.java: Likewise.
14418         * gnu/javax/crypto/jce/mac/OMacRijndaelImpl.java: Likewise.
14419         * gnu/javax/crypto/jce/mac/OMacKhazadImpl.java: Likewise.
14420         * gnu/javax/crypto/jce/mac/OMacImpl.java: Likewise.
14421         * gnu/javax/crypto/jce/mac/OMacDESImpl.java: Likewise.
14422         * gnu/javax/crypto/jce/mac/OMacCast5Impl.java: Likewise.
14423         * gnu/javax/crypto/jce/mac/OMacBlowfishImpl.java: Likewise.
14424         * gnu/javax/crypto/jce/mac/OMacAnubisImpl.java: Likewise.
14425         * gnu/javax/crypto/jce/mac/MacAdapter.java: Likewise.
14426         * gnu/javax/crypto/jce/mac/HMacWhirlpoolSpi.java: Likewise.
14427         * gnu/javax/crypto/jce/mac/HMacTigerSpi.java: Likewise.
14428         * gnu/javax/crypto/jce/mac/HMacSHA512Spi.java: Likewise.
14429         * gnu/javax/crypto/jce/mac/HMacSHA384Spi.java: Likewise.
14430         * gnu/javax/crypto/jce/mac/HMacSHA256Spi.java: Likewise.
14431         * gnu/javax/crypto/jce/mac/HMacSHA160Spi.java: Likewise.
14432         * gnu/javax/crypto/jce/mac/HMacRipeMD160Spi.java: Likewise.
14433         * gnu/javax/crypto/jce/mac/HMacRipeMD128Spi.java: Likewise.
14434         * gnu/javax/crypto/jce/mac/HMacMD5Spi.java: Likewise.
14435         * gnu/javax/crypto/jce/mac/HMacMD4Spi.java: Likewise.
14436         * gnu/javax/crypto/jce/mac/HMacMD2Spi.java: Likewise.
14437         * gnu/javax/crypto/jce/mac/HMacHavalSpi.java: Likewise.
14438         * gnu/javax/crypto/jce/keyring/GnuKeyring.java: Likewise.
14439         * gnu/javax/crypto/jce/key/TwofishSecretKeyFactoryImpl.java: Likewise.
14440         * gnu/javax/crypto/jce/key/TwofishKeyGeneratorImpl.java: Likewise.
14441         * gnu/javax/crypto/jce/key/TripleDESKeyGeneratorImpl.java: Likewise.
14442         * gnu/javax/crypto/jce/key/SquareSecretKeyFactoryImpl.java: Likewise.
14443         * gnu/javax/crypto/jce/key/SquareKeyGeneratorImpl.java: Likewise.
14444         * gnu/javax/crypto/jce/key/SerpentSecretKeyFactoryImpl.java: Likewise.
14445         * gnu/javax/crypto/jce/key/SerpentKeyGeneratorImpl.java: Likewise.
14446         * gnu/javax/crypto/jce/key/SecretKeyGeneratorImpl.java: Likewise.
14447         * gnu/javax/crypto/jce/key/SecretKeyFactoryImpl.java: Likewise.
14448         * gnu/javax/crypto/jce/key/RijndaelSecretKeyFactoryImpl.java: Likewise.
14449         * gnu/javax/crypto/jce/key/RijndaelKeyGeneratorImpl.java: Likewise.
14450         * gnu/javax/crypto/jce/key/KhazadSecretKeyFactoryImpl.java: Likewise.
14451         * gnu/javax/crypto/jce/key/KhazadKeyGeneratorImpl.java: Likewise.
14452         * gnu/javax/crypto/jce/key/DESSecretKeyFactoryImpl.java: Likewise.
14453         * gnu/javax/crypto/jce/key/DESKeyGeneratorImpl.java: Likewise.
14454         * gnu/javax/crypto/jce/key/DESedeSecretKeyFactoryImpl.java: Likewise.
14455         * gnu/javax/crypto/jce/key/Cast5SecretKeyFactoryImpl.java: Likewise.
14456         * gnu/javax/crypto/jce/key/Cast5KeyGeneratorImpl.java: Likewise.
14457         * gnu/javax/crypto/jce/key/BlowfishSecretKeyFactoryImpl.java: Likewise.
14458         * gnu/javax/crypto/jce/key/BlowfishKeyGeneratorImpl.java: Likewise.
14459         * gnu/javax/crypto/jce/key/AnubisSecretKeyFactoryImpl.java: Likewise.
14460         * gnu/javax/crypto/jce/key/AnubisKeyGeneratorImpl.java: Likewise.
14461         * gnu/javax/crypto/jce/cipher/TwofishSpi.java: Likewise.
14462         * gnu/javax/crypto/jce/cipher/TripleDESSpi.java: Likewise.
14463         * gnu/javax/crypto/jce/cipher/SquareSpi.java: Likewise.
14464         * gnu/javax/crypto/jce/cipher/SerpentSpi.java: Likewise.
14465         * gnu/javax/crypto/jce/cipher/RijndaelSpi.java: Likewise.
14466         * gnu/javax/crypto/jce/cipher/PBES2.java: Likewise.
14467         * gnu/javax/crypto/jce/cipher/NullCipherSpi.java: Likewise.
14468         * gnu/javax/crypto/jce/cipher/KhazadSpi.java: Likewise.
14469         * gnu/javax/crypto/jce/cipher/DESSpi.java: Likewise.
14470         * gnu/javax/crypto/jce/cipher/CipherAdapter.java: Likewise.
14471         * gnu/javax/crypto/jce/cipher/Cast5Spi.java: Likewise.
14472         * gnu/javax/crypto/jce/cipher/BlowfishSpi.java: Likewise.
14473         * gnu/javax/crypto/jce/cipher/ARCFourSpi.java: Likewise.
14474         * gnu/javax/crypto/jce/cipher/AnubisSpi.java: Likewise.
14475         * gnu/javax/crypto/jce/cipher/AESSpi.java: Likewise.
14476
14477 2006-06-26  David Gilbert  <david.gilbert@object-refinery.com>
14478
14479         * javax/swing/JList.java
14480         (setLayoutOrientation): Check for valid argument.
14481
14482 2006-06-26  Roman Kennke  <kennke@aicas.com>
14483
14484         * javax/swing/JComponent.java
14485         (firePropertyChange(String,int,int)): New method. Overrides
14486         Component method and makes it public.
14487         (firePropertyChange(String,boolean,boolean)): Likewise.
14488
14489 2006-06-25  Vivek Lakshmanan  <vivekl@redhat.com>
14490         
14491         * gnu/java/security/.cvsignore: New File.
14492         * gnu/java/security/Configuration.java.in: New File.
14493         * gnu/java/security/Properties.java: Change import from 
14494         gnu.classpath.Configuration to gnu.java.security.Configuration.
14495         * gnu/java/security/hash/Whirlpool.java: Likewise.
14496         * gnu/java/security/jce/sig/EncodedKeyFactory.java: Likewise.
14497         * gnu/java/security/jce/sig/SignatureAdapter.java: Likewise.
14498         * gnu/java/security/key/dss/DSSKeyPairGenerator.java: Likewise.
14499         * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java: Likewise.
14500         * gnu/java/security/key/dss/DSSPrivateKey.java: Likewise.
14501         * gnu/java/security/key/rsa/GnuRSAPrivateKey.java: Likewise.
14502         * gnu/java/security/key/rsa/RSAKeyPairGenerator.java: Likewise.
14503         * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java: Likewise.
14504         * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java: Likewise.
14505         * gnu/java/security/pkcs/PKCS7SignedData.java: Likewise.
14506         * gnu/java/security/pkcs/SignerInfo.java: Likewise.
14507         * gnu/java/security/provider/PKIXCertPathValidatorImpl.java: Likewise.
14508         * gnu/java/security/sig/rsa/EMSA_PSS.java: Likewise.
14509         * gnu/java/security/sig/rsa/RSAPSSSignature.java: Likewise.
14510         * gnu/java/security/util/Base64.java: Likewise.
14511         * gnu/java/security/x509/X509CRL.java: Likewise.
14512         * gnu/java/security/x509/X509CRLEntry.java: Likewise.
14513         * gnu/java/security/x509/ext/Extension.java: Likewise.
14514         * gnu/javax/crypto/cipher/Anubis.java: Likewise.
14515         * gnu/javax/crypto/cipher/BaseCipher.java: Likewise.
14516         * gnu/javax/crypto/cipher/Khazad.java: Likewise.
14517         * gnu/javax/crypto/cipher/Rijndael.java: Likewise.
14518         * gnu/javax/crypto/cipher/Twofish.java: Likewise.
14519         * gnu/javax/crypto/jce/keyring/GnuKeyring.java: Likewise.
14520         * gnu/javax/crypto/jce/prng/ICMRandomSpi.java: Likewise.
14521         * gnu/javax/crypto/jce/prng/UMacRandomSpi.java: Likewise.
14522         * gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java: Likewise.
14523         * gnu/javax/crypto/key/srp6/SRPKeyPairGenerator.java: Likewise.
14524         * gnu/javax/crypto/keyring/Entry.java: Likewise.
14525         * gnu/javax/crypto/keyring/EnvelopeEntry.java: Likewise.
14526         * gnu/javax/crypto/keyring/GnuPrivateKeyring.java: Likewise.
14527         * gnu/javax/crypto/keyring/GnuPublicKeyring.java: Likewise.
14528         * gnu/javax/crypto/keyring/PasswordAuthenticatedEntry.java: Likewise.
14529         * gnu/javax/crypto/keyring/PasswordEncryptedEntry.java: Likewise.
14530         * gnu/javax/crypto/mac/OMAC.java: Likewise.
14531         * gnu/javax/crypto/pad/BasePad.java: Likewise.
14532         * gnu/javax/crypto/pad/PKCS1_V1_5.java: Likewise.
14533         * gnu/javax/crypto/pad/PKCS7.java: Likewise.
14534         * gnu/javax/crypto/pad/TBC.java: Likewise.
14535         * gnu/javax/crypto/prng/CSPRNG.java: Likewise.
14536         * gnu/javax/crypto/sasl/SaslInputStream.java: Likewise.
14537         * gnu/javax/crypto/sasl/SaslOutputStream.java: Likewise.
14538         * gnu/javax/crypto/sasl/srp/SRPClient.java: Likewise.
14539         * gnu/javax/crypto/sasl/srp/SRPServer.java: Likewise.
14540         * gnu/javax/security/auth/login/ConfigFileParser.java: Likewise.
14541         * gnu/javax/security/auth/login/ConfigFileTokenizer.java: Likewise.
14542         * gnu/javax/security/auth/login/GnuConfiguration.java 
14543         (getAppConfigurationEntry): Change reference to 
14544         gnu.classpath.Configuration.DEBUG to gnu.java.security.Configuration.DEBUG.
14545         (getConfigFromUserHome): Likewise.
14546         (getInputStreamFromURL): Likewise.
14547         (getUserHome): Likewise.
14548         (init): Likewise.
14549         (processSecurityProperties): Likewise.
14550         (processSystemProperty): Likewise.
14551         (processUserHome): Likewise.
14552         * configure.ac: Add gnu/java/security/Configuration.java to AC_CONFIG_FILES list.
14553         * lib/Makefile.am: Remove gnu/java/security/Configuration.java when required.
14554         
14555
14556 2006-06-25  Carsten Neumann  <cn-develop@gmx.net>
14557
14558         * javax/swing/text/DefaultCaret.java (isActive): New method.
14559
14560 2006-06-26  Andrew John Hughes  <gnu_andrew@member.fsf.org>
14561
14562         * gnu/java/lang/management/ClassLoadingMXBeanImpl.java,
14563         * java/lang/management/ClassLoadingMXBean.java:
14564         (getTotalLoadedClassCount()): Corrected return type.
14565         (getUnloadedClassCount()): Likewise.
14566         * vm/reference/gnu/java/lang/management/VMClassLoadingMXBeanImpl.java:
14567         (getUnloadedClassCount()): Likewise.
14568         
14569 2006-06-25  Raif S. Naffah  <raif@swiftdsl.com.au>
14570
14571         * gnu/javax/crypto/cipher/WeakKeyException.java: Source formatting.
14572         * gnu/javax/crypto/cipher/Twofish.java: Likewise.
14573         * gnu/javax/crypto/cipher/TripleDES.java: Likewise.
14574         * gnu/javax/crypto/cipher/Square.java: Likewise.
14575         * gnu/javax/crypto/cipher/Serpent.java: Likewise.
14576         * gnu/javax/crypto/cipher/Rijndael.java: Likewise.
14577         * gnu/javax/crypto/cipher/NullCipher.java: Likewise.
14578         * gnu/javax/crypto/cipher/Khazad.java: Likewise.
14579         * gnu/javax/crypto/cipher/IBlockCipherSpi.java: Likewise.
14580         * gnu/javax/crypto/cipher/IBlockCipher.java: Likewise.
14581         * gnu/javax/crypto/cipher/DES.java: Likewise.
14582         * gnu/javax/crypto/cipher/CipherFactory.java: Likewise.
14583         * gnu/javax/crypto/cipher/Cast5.java: Likewise.
14584         * gnu/javax/crypto/cipher/Blowfish.java: Likewise.
14585         * gnu/javax/crypto/cipher/BaseCipher.java: Likewise.
14586         * gnu/javax/crypto/cipher/Anubis.java: Likewise.
14587
14588 2006-06-25  Raif S. Naffah  <raif@swiftdsl.com.au>
14589
14590         * gnu/javax/crypto/assembly/TransformerException.java: Source formatting.
14591         * gnu/javax/crypto/assembly/Transformer.java: Likewise.
14592         * gnu/javax/crypto/assembly/Stage.java: Likewise.
14593         * gnu/javax/crypto/assembly/PaddingTransformer.java: Likewise.
14594         * gnu/javax/crypto/assembly/Operation.java: Likewise.
14595         * gnu/javax/crypto/assembly/ModeStage.java: Likewise.
14596         * gnu/javax/crypto/assembly/LoopbackTransformer.java: Likewise.
14597         * gnu/javax/crypto/assembly/Direction.java: Likewise.
14598         * gnu/javax/crypto/assembly/DeflateTransformer.java: Likewise.
14599         * gnu/javax/crypto/assembly/CascadeTransformer.java: Likewise.
14600         * gnu/javax/crypto/assembly/CascadeStage.java: Likewise.
14601         * gnu/javax/crypto/assembly/Cascade.java: Likewise.
14602         * gnu/javax/crypto/assembly/Assembly.java: Likewise.
14603
14604 2006-06-24  Andrew John Hughes  <gnu_andrew@member.fsf.org>
14605
14606         * NEWS,
14607         * doc/vmintegration.texinfo:
14608         Updated with information on new VM interface.
14609         * gnu/java/lang/management/ClassLoadingMXBeanImpl.java,
14610         * java/lang/management/ClassLoadingMXBean.java:
14611         New files implementing the class loading bean.
14612         * java/lang/management/ManagementFactory.java:
14613         (getClassLoadingMXBean()): Implemented.
14614         * vm/reference/gnu/java/lang/management/VMClassLoadingMXBeanImpl.java:
14615         New VM interface file.
14616
14617 2006-06-24  Andrew John Hughes  <gnu_andrew@member.fsf.org>
14618
14619         * gnu/java/lang/management/RuntimeMXBeanImpl.java:
14620         (isBootClassPathSupported()): Use SystemProperties
14621         rather than System.getProperty.
14622         
14623 2006-06-24  Raif S. Naffah  <raif@swiftdsl.com.au>
14624
14625         * gnu/java/security/Properties.java: Source formatting.
14626         * gnu/java/security/Registry.java: Likewise.
14627
14628 2006-06-24  Raif S. Naffah  <raif@swiftdsl.com.au>
14629
14630         * gnu/java/security/util/Util.java: Source formatting.
14631         * gnu/java/security/util/SimpleList.java: Likewise.
14632         * gnu/java/security/util/Sequence.java: Likewise.
14633         * gnu/java/security/util/PRNG.java: Likewise.
14634         * gnu/java/security/util/ExpirableObject.java: Likewise.
14635         * gnu/java/security/util/Base64.java: Likewise.
14636         * gnu/java/security/sig/SignatureFactory.java: Likewise.
14637         * gnu/java/security/sig/ISignatureCodec.java: Likewise.
14638         * gnu/java/security/sig/ISignature.java: Likewise.
14639         * gnu/java/security/sig/BaseSignature.java: Likewise.
14640         * gnu/java/security/sig/rsa/RSAPSSSignatureRawCodec.java: Likewise.
14641         * gnu/java/security/sig/rsa/RSAPSSSignature.java: Likewise.
14642         * gnu/java/security/sig/rsa/RSAPKCS1V1_5Signature.java: Likewise.
14643         * gnu/java/security/sig/rsa/RSA.java: Likewise.
14644         * gnu/java/security/sig/rsa/EMSA_PSS.java: Likewise.
14645         * gnu/java/security/sig/rsa/EMSA_PKCS1_V1_5.java: Likewise.
14646         * gnu/java/security/sig/rsa/EME_PKCS1_V1_5.java: Likewise.
14647         * gnu/java/security/sig/dss/DSSSignatureRawCodec.java: Likewise.
14648         * gnu/java/security/sig/dss/DSSSignature.java: Likewise.
14649         * gnu/java/security/provider/X509CertificateFactory.java: Likewise.
14650         * gnu/java/security/provider/PKIXCertPathValidatorImpl.java: Likewise.
14651         * gnu/java/security/provider/Gnu.java: Likewise.
14652         * gnu/java/security/prng/RandomEventListener.java: Likewise.
14653         * gnu/java/security/prng/RandomEvent.java: Likewise.
14654         * gnu/java/security/prng/PRNGFactory.java: Likewise.
14655         * gnu/java/security/prng/MDGenerator.java: Likewise.
14656         * gnu/java/security/prng/LimitReachedException.java: Likewise.
14657         * gnu/java/security/prng/IRandom.java: Likewise.
14658         * gnu/java/security/prng/EntropySource.java: Likewise.
14659         * gnu/java/security/prng/BasePRNG.java: Likewise.
14660
14661 2006-06-23  Francis Kung  <fkung@redhat.com>
14662
14663         * examples/gnu/classpath/examples/java2d/J2dBenchmarkGUI.java
14664         (Harness.actionPerformed): Process additional options.
14665         (J2dBenchmarkWrapper): Defer init call until after options are processed.
14666         (J2dBenchmarkWrapper.setAlias): New method.
14667         (J2dBenchmarkWrapper.setComposite): New method.
14668         (J2dBenchmarkWrapper.setFill): New method.
14669         (J2dBenchmarkWrapper.setRotation): New method.
14670         (J2dBenchmarkWrapper.setShear): New method.
14671         (J2dBenchmarkWrapper.setStroke): New method.
14672         (J2dBenchmarkWrapper.setTranslation): New method.
14673         (run): Add additional options to GUI.
14674         * examples/gnu/classpath/examples/java2d/J2dBenchmark.java:
14675         Added protected fields for various options.
14676         (GraphicsTest.runSet_noClipping): Reset graphics settings between tests.
14677         (GraphicsTest.runSet_withClipping): Reset graphics settings between tests.
14678         (GraphicsTest.runSet_zeroClipping): Reset graphics settings between tests.
14679         (getNextColor): Renamed to setRandom.
14680         (init): Load additional image for texturing if needed.
14681         (loadBufferedImage): New method.
14682         (main): Accept additional command-line switches.
14683         (prepareGraphics): New method.
14684         (resetGraphics): New method.
14685         (runTestSuite): Accept additional image-processing options.
14686         (setRandom): Renamed from getNextColor; generate various random options
14687         (test_drawArc): Rename getNextColor to setRandom.
14688         (test_drawCubic): Likewise.
14689         (test_drawEllipse): Likewise.
14690         (test_drawGeneralPath): Likewise.
14691         (test_drawImage): Likewise.
14692         (test_drawLine): Likewise.
14693         (test_drawQuadCurve): Likewise.
14694         (test_drawRectangle): Likewise.
14695         (test_drawRoundRectangle): Likewise.
14696         (test_drawTransparentImage): Likewise.
14697         (test_fillArc): Rename getNextColor to setRandom.
14698         (test_fillEllipse): Likewise.
14699         (test_fillGeneralPath): Likewise.
14700         (test_fillRectangle): Likewise.
14701         (test_fillRoundRectangle): Likewise.
14702         (TestRecorder.getAverage): Round the average time.
14703
14704 2006-06-23  Tom Tromey  <tromey@redhat.com>
14705
14706         * java/util/logging/LoggingMXBean.java: New file.
14707         * java/util/logging/LogManager.java (LOGGING_MXBEAN_NAME): New field.
14708         (loggingBean): New field.
14709         (getLoggingMXBean): New method.
14710
14711 2006-06-23  Tania Bento  <tbento@redhat.com>
14712
14713         * java/awt/TextField.java
14714         (TextField): Default number of columns should be 0, not 1.
14715         (TextField): Check if number of columns given as argument
14716         is valid (>= 0) and set the number of columns accordingly.
14717         (TextField): Check if the string passed is null. If it is, 
14718         set columns to 0, else columns is set to the length of
14719         the string.
14720
14721 2006-06-23  Roman Kennke  <kennke@aicas.com>
14722
14723         * javax/swing/plaf/basic/BasicInternalFrameUI.java
14724         (InternalFramePropertyChangeListener.propertyChange):
14725         Don't call getPropertyName() repeatedly. Added null checks
14726         to avoid NPEs. Call closeFrame() if the closed property
14727         changes.
14728
14729 2006-06-23  Roman Kennke  <kennke@aicas.com>
14730
14731         * javax/swing/JInternalFrame.java
14732         (maxTransition): Removed.
14733         (JInternalFrame): Set maxium=false. Initialize desktopIcon here.
14734         Don't initialize storedBounds here.
14735         (dipose): Rewritten to correctly dispose the JInternalFrame.
14736         (getDesktopIcon): Don't initialize desktopIcon here.
14737         (getLayer): Delegate to JLayeredPane.getLayer().
14738         (getNormalBounds): Return bounds when storedBounds == null,
14739         otherwise storedBounds.
14740         (hide): Don't change selection. Also hide the desktopIcon.
14741         (moveToBack): Call getParent() only once.
14742         (moveToFront): Call getParent() only once.
14743         (pack): Call validate() to make sure that the layout is
14744         propagated to the children.
14745         (setClosed): Fire InternalFrameEvent first, before the
14746         PropertyVetoEvent.
14747         (setJMenuBar): Fire PropertyChangeEvent for this property.
14748         (setLayer): Delegate to JLayeredPane.
14749         (setLayeredPane): Check for null and throw IllegalArgumenException.
14750         (setMaximum): Remove handling of maxTransition and normalBounds.
14751         Should probably be done in the UI.
14752         (setNormalBounds): Store Rectangle object directly, not a copy.
14753         (setRootPane): Go into rootPaneCheckingEnabled mode so that
14754         adding the RootPane doesn't add it to the contentPane.
14755         Fire PropertyChangeEvent.
14756         (setSelected): Added condition for when this property must not
14757         be changed.
14758         (show): Don't ask the DesktopPane to select the frame. Moved
14759         code around to fire InternalFrameEvent before actually calling
14760         super.show(). Also make the desktopIcon visible.
14761         (setTitle): Fire PropertyChangeEvent unconditionally.
14762
14763 2006-06-23  Roman Kennke  <kennke@aicas.com>
14764
14765         * javax/swing/JLayeredPane.java
14766         (getPosition): Moved code around to avoid unnecessary method calls.
14767         (setPosition): Delegate to setLayer().
14768         (insertIndexForLayer(int,int)): Delegate to new private helper method.
14769         (insertIndexForLayer(Component,int,int)): New helper method
14770         to support the use of setComponentZOrder() which doesn't remove
14771         the component and thus the insertIndexForLayer must ignore
14772         the component to be moved to get the index right.
14773         (setLayer): Added check to prevent unnecessary execution of
14774         method body. Changed to update the component order here.
14775         Added repaint() to make sure that the update becomes visible.
14776         (addImpl): Call setLayer() only when a constraint has been specified.
14777         Validate and repaint the JLayeredPane.
14778
14779 2006-06-23  Roman Kennke  <kennke@aicas.com>
14780
14781         * java/awt/Container.java
14782         (getComponentZOrder): Use ncomponents instead of
14783         component.length so that we don't consider the empty space
14784         after the last component.
14785
14786 2006-06-22  Roman Kennke  <kennke@aicas.com>
14787
14788         * javax/swing/JComponent.java
14789         (vetoableChangeSupport): New field.
14790         (removeVetoableChangeListener): Rewritten to use
14791         vetoableChangeSupport.
14792         (addVetoableChangeListener): Rewritten to use
14793         vetoableChangeSupport.
14794         (fireVetoableChange): Rewritten to use
14795         vetoableChangeSupport.
14796         (addPropertyChangeListener): Removed. This is handled in
14797         Component already.
14798         (firePropertyChange(String,boolean,boolean)): Likewise.
14799         (firePropertyChange(String,char,char)): Likewise.
14800         (firePropertyChange(String,int,int)): Likewise.
14801         (revalidate): Don't do anything when the commponent has no
14802         parent.
14803
14804 2006-06-22  David Gilbert  <david.gilbert@object-refinery.com>
14805
14806         * javax/swing/JLabel.java: Updated API docs.
14807
14808 2006-06-22  Robert Schuster  <robertschuster@fsfe.org>
14809
14810         * java/awt/Insets.java: Updated copyright year.
14811         (toString): Changed string, removed a line from the 
14812         documentation.
14813
14814 2006-06-22  Roman Kennke  <kennke@aicas.com>
14815
14816         * javax/swing/text/AbstractDocument.java
14817         (AbstractDocument): Set the i18n document property.
14818         (removeImpl): Added checks for correct boundaries.
14819
14820 2006-06-22  Roman Kennke  <kennke@aicas.com>
14821
14822         * javax/swing/text/PlainDocument.java
14823         (rootElement): Changed type to Element.
14824         (tabSize): Removed field. This is stored in the document properties
14825         instead.
14826         (PlainDocument): Set tabSize property. Init rootElement without
14827         cast.
14828         (insertUpdate): Rewritten. The previous implementation did not
14829         handle some corner cases properly and was a mess.
14830         (removeUpdate): Cast rootElement to BranchElement.
14831
14832 2006-06-22  David Gilbert  <david.gilbert@object-refinery.com>
14833
14834         * javax/swing/plaf/basic/BasicLabelUI.java
14835         (installKeyboardActions): Implemented,
14836         (uninstallKeyboardActions): Implemented,
14837         (propertyChange): Add handling for 'displayedMnemonic' and 'labelFor'
14838         properties.
14839
14840 2006-06-22  Robert Schuster  <robertschuster@fsfe.org>
14841
14842         * javax/swing/JMenu.java:
14843         (removeAll): Added check for popupMenu not being null.
14844
14845 2006-06-22  David Gilbert  <david.gilbert@object-refinery.com>
14846
14847         * javax/swing/JLabel.java
14848         (getText): Updated API docs,
14849         (setText): Corrected the check for an unchanged value, and the update 
14850         of the displayedMnemonicIndex.
14851
14852 2006-06-22  David Gilbert  <david.gilbert@object-refinery.com>
14853
14854         * javax/swing/JLabel.java
14855         (setDisplayedMnemonic(int)): Fire property change event AFTER updating 
14856         field,
14857         (setDisplayedMnemonicIndex): Modified argument checking to handle case
14858         where label text is null.
14859
14860 2006-06-22  David Gilbert  <david.gilbert@object-refinery.com>
14861
14862         * javax/swing/JLabel.java
14863         (setDisplayedMnemonic): Updated API docs,
14864         (getDisplayedMnemonic): Removed unnecessary type-cast,
14865         (setDisplayedMnemonicIndex): Removed unnecessary validation, 
14866         (getDisplayedMnemonicIndex): Updated API docs.
14867
14868 2006-06-21  Jeroen Frijters  <jeroen@frijters.net>
14869
14870         * java/util/Collections (entrySet): Fixed compile error.
14871
14872 2006-06-21  David Gilbert  <david.gilbert@object-refinery.com>
14873
14874         * javax/swing/DefaultListSelectionModel.java
14875         (getSelectionMode): Updated API docs,
14876         (setAnchorSelectionIndex): Added ListSelectionEvent generation,
14877         (addSelectionInterval): If mode is SINGLE_SELECTION, just call 
14878         setSelectionInterval(),
14879         (setSelectionInterval): Reimplemented SINGLE_SELECTION and 
14880         SINGLE_INTERVAL_SELECTION cases.
14881
14882 2006-06-21  Roman Kennke  <kennke@aicas.com>
14883
14884         * javax/swing/text/AbstractDocument.java
14885         (BranchElement.numChildren): New field.
14886         (BranchElement.BranchElement): Initialize children array with
14887         one element (that's the least number of elements that makes sense).
14888         Initialize numChildren.
14889         (BranchElement.children): Use numChildren as boundary.
14890         (BranchElement.getElement): Use numChildren as boundary.
14891         (BranchElement.getElementCount): Use numChildren as boundary.
14892         (BranchElement.getElementIndex): Use numChildren as boundary.
14893         (BranchElement.getEndOffset): Use numChildren as boundary.
14894         (BranchElement.getStartOffset): Use numChildren as boundary.
14895         (BranchElement.positionToElement): Use numChildren as boundary.
14896         (BranchElement.replace): Handle the children array more efficiently
14897         by growing in blocks > 1, and reusing space from removed elements.
14898         (LeafElement.startDelta): Removed.
14899         (LeafElement.endDelta): Removed.
14900         (LeafElement.LeafElement): Removed handling of deltas.
14901         (LeafElement.getEndOffset): Likewise.
14902         (LeafElement.getStartOffset): Likewise.
14903         * javax/swing/text/JTextComponent.java
14904         (setDocument): Added locking of the old document to avoid dangling
14905         notification beeing delivered while the document is beeing
14906         disconnected.
14907         (getScrollableTracksViewportWidth): Fixed condition.
14908         * javax/swing/text/PlainDocument.java
14909         (createDefaultRoot): Create elements without AttributeSet.
14910         * javax/swing/text/rtf/RTFParser.java
14911         (parseFile): Handle slightly incorrect RTF gracefully.
14912         * javax/swing/text/rtf/RTFScanner.java
14913         (lastToken): New field.
14914         (readTokenImpl): New method.
14915         (peekToken): New method.
14916         (readToken): Changed to call readTokenImpl or return the lastToken
14917         if there's one present.
14918
14919 2006-06-21  Tania Bento  <tbento@redhat.com>
14920
14921         * javax/swing/JMenu.java
14922         (remove): An IllegalArgumentException should be thrown if
14923         either index < 0 or if index > 0 and there are no menu
14924         components. Also, a check was added that ensures there are
14925         menu components before removing the desired the component.
14926
14927 2006-06-21  Lillian Angel  <langel@redhat.com>
14928
14929         * javax/swing/text/DefaultCaret.java
14930         (install): Added check to prevent NPE.
14931         (propertyChange): Added checks to prevent NPEs.
14932
14933 2006-06-21  Tania Bento  <tbento@redhat.com>
14934
14935         * javax/swing/JMenu.java
14936         Changed instantiation of popupMenu to null.
14937         (JMenu): Instantiated popupMenu to new JPopupMenu.
14938         (JMenu): Instantiated popupMenu to new JPopupMenu.      
14939         (add): Changed popupMenu to getPopupMenu().
14940         (add): Changed popupMenu to getPopupMenu().
14941         (add): Changed popupMenu to getPopupMenu().
14942         (add): Changed popupMenu to getPopupMenu().
14943         (remove): Changed popupMenu to getPopupMenu().
14944         (remove): Changed popupMenu to getPopupMenu().
14945         (insert): Changed popupMenu to getPopupMenu().
14946         (setSelectedHelper): Changed popupMenu to getPopupMenu().
14947         (isPopupMenuVisible): Changed popupMenu to getPopupMenu().
14948         (setPopupMenuVisible): Changed popupMenu to getPopupMenu().
14949         (getMenuComponentCount): Changed popupMenu to getPopupMenu().
14950         (getMenuComponents): Changed popupMenu to getPopupMenu().
14951         (getPopupMenu): Check first if popupMenu is null and if so,
14952         instantiate it to a new JPopupMenu and set the invoker.
14953         * javax/swing/plaf/basic/BasicPopupMenuUI.java
14954         (popupMenuWillBecomeVisible): Component Listener should only
14955         be added to the root container if the root container is not 
14956         null. This avoids a null pointer exception.
14957
14958 2006-06-21  Tania Bento  <tbento@redhat.com>
14959
14960         * javax/swing/JMenu.java
14961         (JMenu): Delay should be set to 200, not default of 0.
14962         (JMenu): Delay should be set to 200, not default of 0.
14963         (JMenu): Delay should be set to 200, not default of 0.
14964         (JMenu): Delay should be set to 200, not default of 0.  
14965         (remove): Added check that index >= 0 before removing
14966         the component.
14967         (getItem): Return null if item count equals 0.
14968         (isTearOff): Should throw new error and not return false.
14969         (getMenuComponent): Return null if popupMenu is null or
14970         if there are no menu components.
14971
14972 2006-06-21  Roman Kennke  <kennke@aicas.com>
14973
14974         * java/awt/font/FontRenderContext.java:
14975         (equals): Added special conditions for affineTransform beeing
14976         null.
14977
14978 2006-06-21  Roman Kennke  <kennke@aicas.com>
14979
14980         * javax/swing/UIManager.java
14981         (MultiplexUIDefaults.clear): Removed method. The fallback UIDefaults
14982         must not be cleared.
14983
14984 2006-06-21  Roman Kennke  <kennke@aicas.com>
14985
14986         * javax/swing/plaf/metal/MetalUtils.java
14987         (paintHorizontalGradient): Use paintHorizontalGradient2D when
14988         Graphics2D is available. Use fillRect instead of drawLine, this
14989         is much faster.
14990         (paintVerticalGradient): Use paintHorizontalGradient2D when
14991         Graphics2D is available. Use fillRect instead of drawLine, this
14992         is much faster.
14993         (paintHorizontalGradient2D): New method. Paints gradient
14994         using Graphics2D functions.
14995         (paintVerticalGradient2D): New method. Paints gradient
14996         using Graphics2D functions.
14997
14998 2006-06-21  Roman Kennke  <kennke@aicas.com>
14999
15000         * javax/swing/plaf/basic/BasicButtonListener.java
15001         (propertyChange): Create a TextLayout and store it in the button
15002         when the 'text' property changes.
15003         * javax/swing/plaf/basic/BasicButtonUI.java
15004         (paintText): Call BasicGraphicsUtils utility method for
15005         drawing strings, instead of Graphics.drawString().
15006         * javax/swing/plaf/basic/BasicGraphicsUtils.java
15007         (CACHE_TEXT_LAYOUT): New constant field. Used as a key for storing
15008         cached text layouts as client properties in JComponents.
15009         (drawString(JComponent,Graphics,String,int,int)): New helper method.
15010         (drawStringUnderlineCharAt): New helper method.
15011         * javax/swing/plaf/basic/BasicMenuItemUI.java
15012         (PropertyChangeHandler.propertyChange): Update cached text layout
15013         when 'text' property changes. Use equals() instead of == for
15014         string comparison.
15015         (paintText): Use new BasicGraphicsUtils methods for painting
15016         the cached text layout.
15017         (installListeners): Call super.installListeners() and remove
15018         the unneeded listener installs.
15019         (uninstallListeners): Call super.uninstallListeners() and remove
15020         the unneeded listener uninstalls.
15021
15022 2006-06-21  Roman Kennke  <kennke@aicas.com>
15023
15024         * javax/swing/plaf/basic/BasicTextUI.java
15025         (PropertyChangeHandler.propertyChange): Handle document listener
15026         update here.
15027         (background): Removed unneeded fields.
15028         (inactiveBackground): Remove unneeded fields.
15029         (installUI): Install the document listener. Slightly changed
15030         order of operations. Don't trigger modelChanged().
15031         (installDefaults): Only install properties when the
15032         current properties are null or instances of UIResource.
15033         (installListeners): Removed unnecessary listener installs.
15034         (installDocumentListeners): Removed unneeded method.
15035         (uninstallListeners): Removed unnecessary listener uninstalls.
15036         (modelChanged): Removed call to installDocumentListeners().     
15037         * javax/swing/plaf/basic/BasicTextFieldUI.java
15038         (propertyChange): Update the colors by fetching them from
15039         SharedUIDefaults. Fixed conditions.
15040         * javax/swing/plaf/basic/SharedUIDefaults.java
15041         (getColor): New method.
15042
15043 2006-06-21  Roman Kennke  <kennke@aicas.com>
15044
15045         * javax/swing/SizeSequence.java
15046         (SizeSequence): Initialize array with correct number of entries.
15047
15048 2006-06-21  Roman Kennke  <kennke@aicas.com>
15049
15050         * javax/swing/JSplitPane.java
15051         (setDividerLocation): Substract divider size when computing
15052         the absolute size.
15053
15054 2006-06-21  Roman Kennke  <kennke@aicas.com>
15055
15056         * javax/swing/JComponent.java
15057         (paintChildrenWithOverlap): Determine opaque property by
15058         calling the corresponding Component method, without requiring
15059         a JComponent.
15060         (paintChildrenOptimized): Removed old unneeded code.
15061         (paintImmediately): Use JComponent's convertRectangleToAncestor()
15062         method instead of SwingUtilities.convertRectangle(). This is
15063         more efficient.
15064
15065 2006-06-21  Roman Kennke  <kennke@aicas.com>
15066
15067         * javax/swing/AbstractButton.java
15068         (init): Call setText() instead of setting the property directly,
15069         so that listeners (especially in the UI) get notified.
15070
15071 2006-06-21  Roman Kennke  <kennke@aicas.com>
15072
15073         * javax/swing/UIManager.java
15074         (MultiplexUIDefaults): New inner class.
15075         (currentUIDefaults): Changed type to be MultiplexUIDefaults.
15076         (userUIDefaults): Changed name to be lookAndFeelDefaults.
15077         (<cinit>): Call setLookAndFeel(String) instead of trying to load
15078         directly. Print stacktrace if something goes wrong.
15079         (get): Delegate call to currentUIDefaults.
15080         (getDefaults): If currentUIDefaults is null, then lazily instantiate
15081         it.
15082         (getUI): Delegate call to currentUIDefaults.
15083         (put): Delegate call to currentUIDefaults.
15084         (setLookAndFeel): Initialize currentUIDefaults with
15085         MultiplexUIDefaults. Set lookAndFeelDefaults.
15086         (setLookAndFeel): Use current thread's context classloader for
15087         loading the L&F.
15088
15089 2006-06-21  Roman Kennke  <kennke@aicas.com>
15090
15091         * javax/swing/text/GapContent.java
15092         (GapContentPosition.GapContentPosition): Replace
15093         Collections.binarySearch with call to local search() to make
15094         sure we find the first object that equals the searched object.
15095         (setPositionsInRange): Likewise.
15096         (adjustPositionsInRange): Likewise.
15097         (search): New helper method.
15098
15099 2006-06-21  Gary Benson  <gbenson@redhat.com>
15100
15101         * gnu/java/awt/peer/gtk/CairoGraphics2D.java: Add security check.
15102         * gnu/java/awt/peer/qt/QtGraphics.java: Likewise.
15103         * gnu/java/awt/java2d/AbstractGraphics2D.java: Likewise.
15104
15105 2006-06-20  Thomas Fitzsimmons  <fitzsim@redhat.com>
15106
15107         * native/plugin/Makefile.am (libgcjwebplugin_la_CXXFLAGS): Define
15108         APPLETVIEWER_EXECUTABLE to gappletviewer.
15109
15110 2006-06-20  Tom Tromey  <tromey@redhat.com>
15111
15112         PR classpath/28095:
15113         * java/net/URL.java (URL): Throw MalformedURLException if a
15114         RuntimeException is caught.  Chain exceptions.
15115
15116 2006-06-20  Lillian Angel  <langel@redhat.com>
15117
15118         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
15119         (create): Added check to prevent Seg Fault. Should not
15120         set the label if it is null.
15121         * gnu/java/awt/peer/gtk/GtkLabelPeer.java
15122         (setText): Changed to be a non-native function. Calls
15123         setNativeText if the String parameter is non-null.
15124         (setNativeText): Replaces old native setText function.
15125         * include/gnu_java_awt_peer_gtk_GtkLabelPeer.h: Regenerated.
15126         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
15127         (Java_gnu_java_awt_peer_gtk_GtkLabelPeer_setText): Removed.
15128         Replaced by Java_gnu_java_awt_peer_gtk_GtkLabelPeer_setNativeText.
15129         (Java_gnu_java_awt_peer_gtk_GtkLabelPeer_setNativeText): Replaced
15130         Java_gnu_java_awt_peer_gtk_GtkLabelPeer_setText.
15131
15132 2006-06-20  Lillian Angel  <langel@redhat.com>
15133
15134         * javax/swing/text/JTextComponent.java
15135         (AccessibleJTextComponent): Rewrote all javadocs
15136         for this inner class.
15137
15138 2006-06-20  Francis Kung  <fkung@redhat.com>
15139
15140         * examples/gnu/classpath/examples/java2d/J2dBenchmark.java:
15141         Changed many members to be protected.
15142         (J2dBenchmark): moved to init() instead.
15143         (init): New method.
15144         (main): Call init() after creating object
15145         (testComplete): New method.
15146         (test_drawArc): Use maxTests varialbe instead of constant.
15147         (test_drawCubicCurve): Likewise.
15148         (test_drawEllipse): Likewise.
15149         (test_drawGeneralPath): Likewise.
15150         (test_drawImage): Likewise.
15151         (test_drawLine): Likewise.
15152         (test_drawQuadCurve): Likewise.
15153         (test_drawRectangle): Likewise.
15154         (test_drawRoundRectangle): Likewise.
15155         (test_drawTransparentImage): Likewise.
15156         (test_fillArc): Likewise.
15157         (test_fillEllipse): Likewise.
15158         (test_fillGeneralPath): Likewise.
15159         (test_fillRectangle): Likewise.
15160         (test_fillRoundRectangle): Likewise.
15161         (GraphicsTest.runSetNoClipping): Added runCount parameter.
15162         (GraphicsTest.runSetWithClipping): Likewise.
15163         (GraphicsTest.runSetZeroClipping): Likewise.
15164         (GraphicsTest.run): Added checks for more option flags.
15165         * examples/gnu/classpath/examples/java2d/J2dBenchmarkGUI.java:
15166         New file.
15167
15168 2006-06-20  Roman Kennke  <kennke@aicas.com>
15169
15170         * javax/swing/text/GapContent.java
15171         (GapContentPosition.mark): New field.
15172         (GapContentPosition.index): Removed.
15173         (GapContentPosition.GapContentPosition): Changed to take the
15174         real offset as parameter. Added handling of reference counter.
15175         Try to cleanup before creating new instances.
15176         (getOffset): Delegate to the Mark method with same name.
15177         (Mark): New class, encapsulating a mark.
15178         (positionMarks): Removed field.
15179         (numMarks): Removed field.
15180         (marks): New field.
15181         (queueOfDeath): New field.
15182         (GapContent): Removed init of old fields, added init of new fields.
15183         (createPosition): Added check for validity of arguments.
15184         Create GapContentPosition directly with offset.
15185         (shiftEnd): Pass end of buffer directly to adjustPositionsInRange.
15186         (shiftGap): Pass end of buffer directly to adjustPositionsInRange.
15187         (shiftGapStartDown): Call resetMarksAtZero().
15188         (shiftGapEndUp): Call resetMarksAtZero().
15189         (replace): Don't call resetMarksAtZero().
15190         (setPositionInRange): Replaced by simpler algorithm, similar to
15191         adjustPositionsInRange.
15192         (adjustPositionsInRange): Adapted to use of Mark objects.
15193         (resetMarksAtZero): Reset all marks that point to zero instead
15194         of only the first one.
15195         (dumpMarks): Adjusted to dump Mark objects.
15196         (insertMark): Removed.
15197         (garbageCollect): New method. Cleans up the marks list.
15198         (binarySearch): Removed.
15199
15200 2006-06-20  Lillian Angel  <langel@redhat.com>
15201
15202         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
15203         (drawImage): Added call to updateColor because
15204         Cairo seems to lose the current color.
15205
15206 2006-06-20  Gary Benson  <gbenson@redhat.com>
15207
15208         * java/awt/Toolkit.java: Add security check.
15209         * gnu/java/awt/peer/gtk/GtkToolkit.java: Likewise.
15210         * gnu/java/awt/peer/qt/QtToolkit.java: Likewise.
15211
15212 2006-06-20  Raif S. Naffah  <raif@swiftdsl.com.au>
15213
15214         * gnu/java/security/key/dss/DSSKey.java: Source formatting.
15215         * gnu/java/security/key/dss/DSSKeyPairGenerator.java: Likewise.
15216         * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java: Likewise.
15217         * gnu/java/security/key/dss/DSSKeyPairRawCodec.java: Likewise.
15218         * gnu/java/security/key/dss/DSSKeyPairX509Codec.java: Likewise.
15219         * gnu/java/security/key/dss/DSSPrivateKey.java: Likewise.
15220         * gnu/java/security/key/dss/DSSPublicKey.java: Likewise.
15221         * gnu/java/security/key/dss/FIPS186.java: Likewise.
15222         * gnu/java/security/key/rsa/GnuRSAKey.java: Likewise.
15223         * gnu/java/security/key/rsa/GnuRSAPrivateKey.java: Likewise.
15224         * gnu/java/security/key/rsa/GnuRSAPublicKey.java: Likewise.
15225         * gnu/java/security/key/rsa/RSAKeyPairGenerator.java: Likewise.
15226         * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java: Likewise.
15227         * gnu/java/security/key/rsa/RSAKeyPairRawCodec.java: Likewise.
15228         * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java: Likewise.
15229         * gnu/java/security/key/IKeyPairCodec.java: Likewise.
15230         * gnu/java/security/key/IKeyPairGenerator.java: Likewise.
15231         * gnu/java/security/key/KeyPairCodecFactory.java: Likewise.
15232         * gnu/java/security/key/KeyPairGeneratorFactory.java: Likewise.
15233
15234 2006-06-19  Lillian Angel  <langel@redhat.com>
15235
15236         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
15237         (drawImage): Should always use getRGB to get the pixels.
15238         getData returns an incorrect array of pixels.
15239
15240 2006-06-19  Raif S. Naffah  <raif@swiftdsl.com.au>
15241
15242         * gnu/java/security/jce/hash/HavalSpi.java: Source formatting.
15243         * gnu/java/security/jce/hash/MD2Spi.java: Likewise.
15244         * gnu/java/security/jce/hash/MD4Spi.java: Likewise.
15245         * gnu/java/security/jce/hash/MD5Spi.java: Likewise.
15246         * gnu/java/security/jce/hash/MessageDigestAdapter.java: Likewise.
15247         * gnu/java/security/jce/hash/RipeMD128Spi.java: Likewise.
15248         * gnu/java/security/jce/hash/RipeMD160Spi.java: Likewise.
15249         * gnu/java/security/jce/hash/Sha160Spi.java: Likewise.
15250         * gnu/java/security/jce/hash/Sha256Spi.java: Likewise.
15251         * gnu/java/security/jce/hash/Sha384Spi.java: Likewise.
15252         * gnu/java/security/jce/hash/Sha512Spi.java: Likewise.
15253         * gnu/java/security/jce/hash/TigerSpi.java: Likewise.
15254         * gnu/java/security/jce/hash/WhirlpoolSpi.java: Likewise.
15255         * gnu/java/security/jce/prng/HavalRandomSpi.java: Likewise.
15256         * gnu/java/security/jce/prng/MD2RandomSpi.java: Likewise.
15257         * gnu/java/security/jce/prng/MD4RandomSpi.java: Likewise.
15258         * gnu/java/security/jce/prng/MD5RandomSpi.java: Likewise.
15259         * gnu/java/security/jce/prng/RipeMD128RandomSpi.java: Likewise.
15260         * gnu/java/security/jce/prng/RipeMD160RandomSpi.java: Likewise.
15261         * gnu/java/security/jce/prng/SecureRandomAdapter.java: Likewise.
15262         * gnu/java/security/jce/prng/Sha160RandomSpi.java: Likewise.
15263         * gnu/java/security/jce/prng/Sha256RandomSpi.java: Likewise.
15264         * gnu/java/security/jce/prng/Sha384RandomSpi.java: Likewise.
15265         * gnu/java/security/jce/prng/Sha512RandomSpi.java: Likewise.
15266         * gnu/java/security/jce/prng/TigerRandomSpi.java: Likewise.
15267         * gnu/java/security/jce/prng/WhirlpoolRandomSpi.java: Likewise.
15268         * gnu/java/security/jce/sig/DSSKeyFactory.java: Likewise.
15269         * gnu/java/security/jce/sig/DSSKeyPairGeneratorSpi.java: Likewise.
15270         * gnu/java/security/jce/sig/DSSParameters.java: Likewise.
15271         * gnu/java/security/jce/sig/DSSRawSignatureSpi.java: Likewise.
15272         * gnu/java/security/jce/sig/EncodedKeyFactory.java: Likewise.
15273         * gnu/java/security/jce/sig/KeyPairGeneratorAdapter.java: Likewise.
15274         * gnu/java/security/jce/sig/RSAKeyFactory.java: Likewise.
15275         * gnu/java/security/jce/sig/RSAKeyPairGeneratorSpi.java: Likewise.
15276         * gnu/java/security/jce/sig/RSAPSSRawSignatureSpi.java: Likewise.
15277         * gnu/java/security/jce/sig/SignatureAdapter.java: Likewise.
15278
15279 2006-06-19  Raif S. Naffah  <raif@swiftdsl.com.au>
15280
15281         * NEWS: Updated (delayed) for security tools and tools.texinfo.
15282
15283 2006-06-19  Roman Kennke  <kennke@aicas.com>
15284
15285         * gnu/java/awt/peer/gtk/ComponentGraphics.java
15286         (drawImage): Clip volatile image correctly.
15287         (drawVolatileImage): Added arguments for clipping.
15288         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
15289         (drawVolatileImage): Added arguments for clipping. Clip image
15290         correctly.
15291         * include/gnu_java_awt_peer_gtk_ComponentGraphics.h: Regenerated.
15292
15293 2006-06-19  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
15294
15295         PR 28035
15296         * java/rmi/server/UID.java (constructor): Synchronized
15297         the whole constructor on the UID class.
15298
15299 2006-06-19  Roman Kennke  <kennke@aicas.com>
15300
15301         * javax/swing/RepaintManager.java
15302         (addInvalidComponent): Only add component that are displayable,
15303         that have displayable parents and that have a validateRoot.
15304         Also, don't validate components that have a CellRendererPane
15305         ancestor.
15306
15307 2006-06-19  David Gilbert  <david.gilbert@object-refinery.com>
15308
15309         * javax/swing/plaf/IconUIResource.java
15310         (IconUIResource): Throw IllegalArgumentException for null icon.
15311
15312 2006-06-18  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
15313
15314         PR 28035
15315         * java/rmi/server/UID.java (constructor): First increment
15316         uidCounter, and then use the value.
15317
15318 2006-06-18  Thomas Fitzsimmons  <fitzsim@redhat.com>
15319
15320         * java/awt/GridBagLayout.java (AdjustForGravity): Implement.
15321         * java/awt/GridBagConstraints.java: Indent.
15322
15323 2006-06-18  Tom Tromey  <tromey@redhat.com>
15324
15325         * native/jni/gconf-peer/.cvsignore: New file.
15326
15327 2006-06-18  Tom Tromey  <tromey@redhat.com>
15328
15329         * tools/gnu/classpath/tools/getopt/Parser.java (handleLongOption):
15330         Also handle short options.
15331
15332 2006-06-18  Jim Huang  <jserv@kaffe.org>
15333
15334         PR classpath/28076:
15335         * native/jni/gconf-peer/Makefile.am (libgconfpeer_la_LIBADD):
15336         Fixed typo.
15337
15338 2006-06-19  Mark Wielaard  <mark@klomp.org>
15339
15340         * include/Makefile.am: gnu_java_util_prefs_gconf_%.h should depend
15341         on gnu/java/util/prefs/gconf/%.class.
15342         * Java_gnu_java_util_prefs_gconf_GConfNativePeer_init_1class: Fix
15343         chache typo, should be cache.
15344         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1gconf_1client_1all_1keys):
15345         Declare tmp early.
15346         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1gconf_1client_1all_1nodes):
15347         Likewise.
15348         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1remove_1dir):
15349         Don't return a value for void function.
15350         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1add_1dir)
15351         Likewise.
15352         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1dir_1exists):
15353         Mark clazz as unused.  Return JNI_FALSE, not NULL for jboolean
15354         function.
15355         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_finalize_1class):
15356         Mark clazz ad unused.
15357
15358 2006-06-18  Raif S. Naffah  <raif@swiftdsl.com.au>
15359
15360         * gnu/java/security/hash/Whirlpool.java: Source formatting.
15361         * gnu/java/security/hash/Tiger.java: Likewise.
15362         * gnu/java/security/hash/Sha512.java: Likewise.
15363         * gnu/java/security/hash/Sha384.java: Likewise.
15364         * gnu/java/security/hash/Sha256.java: Likewise.
15365         * gnu/java/security/hash/Sha160.java: Likewise.
15366         * gnu/java/security/hash/RipeMD160.java: Likewise.
15367         * gnu/java/security/hash/RipeMD128.java: Likewise.
15368         * gnu/java/security/hash/MD5.java: Likewise.
15369         * gnu/java/security/hash/MD4.java: Likewise.
15370         * gnu/java/security/hash/MD2.java: Likewise.
15371         * gnu/java/security/hash/IMessageDigest.java: Likewise.
15372         * gnu/java/security/hash/Haval.java: Likewise.
15373         * gnu/java/security/hash/HashFactory.java: Likewise.
15374         * gnu/java/security/hash/BaseHash.java: Likewise.
15375
15376 2006-06-18  Sven de Marothy  <sven@physto.se>
15377
15378         * java/awt/event/KeyEvent.java:
15379         (VK_WINDOWS, VK_CONTEXT_MENU, VK_BEGIN): Add new keysym fields.
15380         *  natve/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
15381         Implement WINDOWS, ALT_GR and CONTEXT_MENU keysyms.
15382
15383 2006-06-18  Raif S. Naffah  <raif@swiftdsl.com.au>
15384
15385         * gnu/java/security/util/Prime2.java: Removed.
15386         * gnu/java/security/key/dss/FIPS186.java: Remove unused imports.
15387         (generateParameters): Use isProbablePrime() in BigInteger instead of Prime2.
15388         * gnu/java/security/key/rsa/RSAKeyPairGenerator.java: Remove unused imports.
15389         (generate): Use isProbablePrime() in BigInteger instead of Prime2.
15390         * gnu/javax/crypto/key/dh/RFC2631.java: Remove unused imports.
15391         (generateParameters): Use isProbablePrime() in BigInteger instead of Prime2.
15392         * gnu/javax/crypto/key/srp6/SRPAlgorithm.java: Remove unused imports.
15393         (checkParams): Use isProbablePrime() in BigInteger instead of Prime2.
15394         * gnu/javax/crypto/key/srp6/SRPKeyPairGenerator.java: Remove unused imports.
15395         (generateParameters): Use isProbablePrime() in BigInteger instead of Prime2.
15396         * gnu/javax/net/ssl/provider/KeyPool.java: Remove unused imports.
15397         (generateRSAKeyPair): Use isProbablePrime() in BigInteger instead of Prime2.
15398
15399 2006-06-18  Sven de Marothy  <sven@physto.se>
15400
15401         * java/awt/GridBagLayout.java (AdjustForGravity): Implement.
15402         * java/awt/font/TextMeasurer.java: Fix copyright date, 
15403         remove commented-out code.
15404
15405 2006-06-18  Sven de Marothy  <sven@physto.se>
15406
15407         * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
15408         (FreetypeGlyphVector, clone): Implement cloning.
15409         (getGlyphLogicalBounds): Bounds should be offset to the glyph position.
15410         * java/awt/font/TextMeasurer.java: Implement.
15411         * java/awt/font/LineBreakMeasurer.java: 
15412         Reimplement to use TextMeasurer.
15413         * java/awt/font/TextLayout.java
15414         New constructors.
15415         (getBlackboxBounds, getLogicalHighlightShape): Reimplement.
15416         (getText, getFont): New private static methods.
15417         (setCharIndices): New method.
15418         * java/text/AttributedString.java
15419         (AttributedString): Fix constructor to stop at end point.
15420         
15421 2006-06-17  Tom Tromey  <tromey@redhat.com>
15422
15423         * lib/gen-classlist.sh.in: Search all top-level directories, not
15424         just 'org', in external.
15425
15426 2006-06-12  Mario torre  <neugens at limasoftware.net>
15427
15428         * gnu/java/util/prefs/GConfBasedPreferences.java: new class.
15429         * gnu/java/util/prefs/GConfBasedFactory.java: new class.
15430         * gnu/java/util/prefs/gconf/GConfNativePeer.java: new class.
15431         * gnu_java_util_prefs_gconf_GConfNativePeer.h: generated
15432         header file.
15433         * classpath/native/jni/gconf-peer/GConfNativePeer.c: new C file.
15434         * configure.ac: update to introduce new files. Added options
15435         to build gconf native peer used by the GConf preference backend.
15436         * include/Makefile.am: update to introduce new files.
15437         * native/jni/Makefile.am update to introduce new files.
15438         * scripts/check_jni_methods.sh: added three new ignored file
15439         from check.
15440         * native/jni/gconf-peer/Makefile.am: new Makefile needed to
15441         build gconf-peer shared library.
15442
15443 2006-06-17  Raif S. Naffah  <raif@swiftdsl.com.au>
15444
15445         * gnu/java/security/jce/sig/DSSKeyPairGeneratorSpi.java:
15446         Use Integer.valueOf() instead of new Integer().
15447         * gnu/java/security/jce/sig/EncodedKeyFactory.java: Likewise.
15448         * gnu/java/security/jce/sig/RSAKeyPairGeneratorSpi.java: Likewise.
15449         * gnu/java/security/util/Sequence.java: Likewise.
15450         * gnu/java/security/x509/ext/GeneralNames.java: Likewise.
15451         * gnu/java/security/x509/X509Certificate.java: Likewise.
15452         * gnu/javax/crypto/assembly/ModeStage.java: Likewise.
15453         * gnu/javax/crypto/cipher/Anubis.java: Likewise.
15454         * gnu/javax/crypto/cipher/Blowfish.java: Likewise.
15455         * gnu/javax/crypto/cipher/Cast5.java: Likewise.
15456         * gnu/javax/crypto/cipher/DES.java: Likewise.
15457         * gnu/javax/crypto/cipher/Khazad.java: Likewise.
15458         * gnu/javax/crypto/cipher/NullCipher.java: Likewise.
15459         * gnu/javax/crypto/cipher/Rijndael.java: Likewise.
15460         * gnu/javax/crypto/cipher/Serpent.java: Likewise.
15461         * gnu/javax/crypto/cipher/Square.java: Likewise.
15462         * gnu/javax/crypto/cipher/TripleDES.java: Likewise.
15463         * gnu/javax/crypto/cipher/Twofish.java: Likewise.
15464         * gnu/javax/crypto/jce/cipher/CipherAdapter.java: Likewise.
15465         * gnu/javax/crypto/jce/cipher/PBES2.java: Likewise.
15466         * gnu/javax/crypto/jce/key/SecretKeyGeneratorImpl.java: Likewise.
15467         * gnu/javax/crypto/jce/PBKDF2SecretKeyFactory.java: Likewise.
15468         * gnu/javax/crypto/jce/prng/ICMRandomSpi.java: Likewise.
15469         * gnu/javax/crypto/jce/prng/UMacRandomSpi.java: Likewise.
15470         * gnu/javax/crypto/jce/sig/DHKeyPairGeneratorSpi.java: Likewise.
15471         * gnu/javax/crypto/keyring/AuthenticatedEntry.java: Likewise.
15472         * gnu/javax/crypto/keyring/EncryptedEntry.java: Likewise.
15473         * gnu/javax/crypto/keyring/PasswordAuthenticatedEntry.java: Likewise.
15474         * gnu/javax/crypto/keyring/PasswordEncryptedEntry.java: Likewise.
15475         * gnu/javax/crypto/keyring/PasswordProtectedEntry.java: Likewise.
15476         * gnu/javax/crypto/mac/UHash32.java: Likewise.
15477         * gnu/javax/crypto/mac/UMac32.java: Likewise.
15478         * gnu/javax/crypto/mode/BaseMode.java: Likewise.
15479         * gnu/javax/crypto/mode/EAX.java: Likewise.
15480         * gnu/javax/crypto/prng/ICMGenerator.java: Likewise.
15481         * gnu/javax/crypto/prng/UMacGenerator.java: Likewise.
15482         * gnu/javax/crypto/sasl/srp/KDF.java: Likewise.
15483         * gnu/javax/security/auth/callback/ConsoleCallbackHandler.java: Likewise.
15484         * java/security/cert/X509CertSelector.java: Likewise.
15485
15486 2006-06-17  Andrew John Hughes  <gnu_andrew@member.fsf.org>
15487
15488         * javax/management/DynamicMBean.java:
15489         (setAttribute): Fixed to return void.
15490         * javax/management/MBeanFeatureInfo.java:
15491         New file.
15492         
15493 2006-06-17  Raif S. Naffah  <raif@swiftdsl.com.au>
15494
15495         On behalf of Vivek Lakshmanan <vivekl@redhat.com>
15496         * gnu/javax/crypto/jce/cipher/CipherAdapter.java
15497         (engineInit(int, Key, SecureRandom)): Seperate common initialization logic
15498         into engineInitHandler and reuse the code in
15499         engineInit(int, Key, AlgorithmSpec, SecureRandom).
15500         (engineInitHandler): New method.
15501         (engineInit(int, Key, AlgorithmParameterSpec, SecureRandom)): When param is
15502         null, use random or default information when possible.
15503
15504 2006-06-16  Francis Kung  <fkung@redhat.com>
15505
15506         * examples/gnu/classpath/examples/swing/Demo.java:
15507         (mkButtonBar): Rename FillRect to JNIOverhead.
15508         (mkMenuBar): Rename FillRect to JNIOverhead.
15509         * examples/gnu/classpath/examples/swing/FillRect.java: Removed.
15510         * examples/gnu/classpath/examples/java2d/J2dBenchmark.java: New file.
15511         * examples/gnu/classpath/examples/java2d/JNIOverhead.java:
15512         Moved from old FillRect.
15513
15514 2006-06-16  Tom Tromey  <tromey@redhat.com>
15515
15516         * tools/.cvsignore: Added new tool names.
15517
15518 2006-06-16  Keith Seitz  <keiths@redhat.com>
15519
15520         * gnu/classpath/jdwp/event/EventManager.java (getDefault): Redo
15521         instantiation so that EventManager is created when getDefault
15522         is first called.
15523         * gnu/classpath/jdwp/Jdwp.java (Thread): Force creation
15524         of EventManager.
15525
15526 2006-06-16  Keith Seitz  <keiths@redhat.com>
15527
15528         * gnu/classpath/jdwp/Jdwp.java (_initLock): New field.
15529         (_initCount): New field.
15530         (Jdwp): Don't set isDebugging until fully initialized.
15531         (subcomponentInitialized): New method.
15532         (run): Wait for PacketProcessor and JdwpConnection to
15533         startup, then set isDebugging, and then let this thread
15534         die.
15535         * gnu/classpath/jdwp/transport/JdwpConnection.java
15536         (run): Add synchronization notification.
15537         * gnu/classpath/jdwp/processor/PacketProcessor.java
15538         (run): Likewise.
15539
15540 2006-06-16  Tom Tromey  <tromey@redhat.com>
15541
15542         * NEWS: Updated for JSR 166.
15543
15544 2006-06-16  Tom Tromey  <tromey@redhat.com>
15545
15546         * lib/Makefile.am (compile_classpath): Added jsr166.
15547         * configure.ac: Added external/jsr166/Makefile.
15548         * external/Makefile.am (SUBDIRS): Added jsr166.
15549         * external/jsr166/Makefile.am: New file.
15550         * lib/gen-classlist.sh.in: Look in external/jsr166.
15551
15552 2006-06-16  Kyle Galloway  <kgallowa@redhat.com>
15553
15554         * gnu/classpath/jdwp/event/ExceptionEvent:
15555         Added Object instance to javadoc in constructor
15556         * gnu/classpath/jdwp/event/MethodEntryEvent:
15557         Ditto.
15558         * gnu/classpath/jdwp/event/MethodExitEvent:
15559         Ditto,
15560         * gnu/classpath/jdwp/event/SingleStepEvent:
15561         Ditto. 
15562
15563 2006-06-16  Tom Tromey  <tromey@redhat.com>
15564
15565         Imported JSR 166 reference implementation:
15566         * .classpath: Added external/jsr166.
15567         * java/util/concurrent/CopyOnWriteArrayList.java: New file.
15568         * java/util/AbstractQueue.java: Removed.
15569         * java/util/Queue.java: Removed.
15570         * external/jsr166/java/util/concurrent/ScheduledThreadPoolExecutor.java
15571         (runPeriodic): Added explicit cast.
15572         * external/jsr166/java/util/ArrayDeque.java (clone): Use
15573         elements.clone.
15574
15575 2006-06-16  Tom Tromey  <tromey@redhat.com>
15576
15577         * vm/reference/sun/reflect/Reflection.java (verifyMemberAccess):
15578         Removed.
15579         (getCallerClass): Now static.
15580         * vm/reference/sun/reflect/misc/ReflectUtil.java: New file.
15581
15582 2006-06-16  Lillian Angel  <langel@redhat.com>
15583
15584         * java/awt/FileDialog.java
15585         (FileDialog): Added @since tag to API docs.
15586         (FileDialog): Likewise.
15587         (FileDialog): Likewise.
15588         * java/awt/Font.java:
15589         Added @since tag to TYPE1_FONT field docs.
15590         * javax/swing/plaf/basic/BasicScrollBarUI.java:
15591         (isThumbRollover): Likewise.
15592         (setThumbRollover): Likewise.
15593         (getSupportsAbsolutePositioning): Likewise.
15594         * javax/swing/plaf/basic/BasicSliderUI.java:
15595         (isDragging): Likewise.
15596
15597 2006-06-16  Lillian Angel  <langel@redhat.com>
15598
15599         * java/awt/FileDialog.java
15600         (FileDialog): Implemented.
15601         (FileDialog): Implemented.
15602         (FileDialog): Implemented.
15603         * java/awt/Font.java:
15604         Added TYPE1_FONT constant field.
15605
15606 2006-06-16  Lillian Angel  <langel@redhat.com>
15607
15608         * java/awt/font/TextLayout.java:
15609         Removed unneeded imports.
15610         * javax/swing/plaf/basic/BasicScrollBarUI.java:
15611         Added new thumbRollover field.
15612         (mouseMoved): Added code to set thumbRollover field.
15613         (isThumbRollover): New function.
15614         (setThumbRollover): New function.
15615         (getSupportsAbsolutePositioning): Implemented. This
15616         needs to be changed once the feature has been 
15617         implemented.
15618         * javax/swing/plaf/basic/BasicSliderUI.java:
15619         Added new dragging field.
15620         (mouseDragged): Initialized dragging field.
15621         (isDragging): New function.
15622         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
15623         (focusGained): Marked as not implemented.
15624         (focusLost): Likewise.
15625
15626 2006-06-16  Kyle Galloway  <kgallowa@redhat.com>
15627
15628         * gnu/classpath/jdwp/event/filters/ThreadOnlyFilter.java:
15629         Added check for null ThreadId to avoid null pointer
15630         exception.
15631
15632 2006-06-16  David Gilbert  <david.gilbert@object-refinery.com>
15633
15634         * javax/swing/DefaultComboBoxModel.java
15635         (removeElementAt): Set new selected item by calling setSelectedItem().
15636
15637 2006-06-16  David Gilbert  <david.gilbert@object-refinery.com>
15638
15639         * javax/swing/DefaultButtonModel.java
15640         (setSelected): Use 'this', not null, for the item in the ItemEvent.
15641
15642 2006-06-16  David Gilbert  <david.gilbert@object-refinery.com>
15643
15644         * javax/swing/event/ListDataEvent.java: updated API docs, plus
15645         (ListDataEvent): Handle case where index0 > index1,
15646         (toString): Implemented.
15647
15648 2006-06-16  Robert Schuster  <robertschuster@fsfe.org>
15649
15650         * javax/swing/plaf/metal/MetalMenuBarUI.java:
15651         (update): Added subexpression to if-statement.
15652
15653 2006-06-16  Robert Schuster  <robertschuster@fsfe.org>
15654
15655         * javax/swing/plaf/basic/BasicRadioButtonUI.java:
15656         (installDefaults): Removed unneccessary code.
15657         (paint): Removed complex if-cascade, revert to default icon if
15658         icon property is not set.
15659         (getPreferredSize): New method.
15660
15661 2006-06-16  Roman Kennke  <kennke@aicas.com>
15662
15663         PR 28027
15664         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
15665         (drawImage): Don't use setClip() but instead clipRect() to
15666         intersect the current clip with a new one.
15667
15668 2006-06-15  Tom Tromey  <tromey@redhat.com>
15669
15670         * scripts/sanitize-jsr166: New file.
15671         * external/jsr166/IMPORTING: New file.
15672         * vm/reference/sun/reflect/Reflection.java: New file.
15673         * vm/reference/gnu/classpath/Unsafe.java: Moved...
15674         * vm/reference/sun/misc/Unsafe.java: ...here.
15675
15676 2006-06-15  Thomas Fitzsimmons  <fitzsim@redhat.com>
15677
15678         * configure.ac: Rename appletviewer to gappletviewer, jarsigner to
15679         gjarsigner and keytool to gkeytool.
15680         * doc/tools.texinfo: Add note about tool exectable names.
15681         * tools/Makefile.am: Rename appletviewer to gappletviewer,
15682         jarsigner to gjarsigner and keytool to gkeytool.
15683         * tools/appletviewer.in: Rename ...
15684         * tools/gappletviewer.in: New file.
15685         * tools/jarsigner.in: Rename ...
15686         * tools/gjarsigner.in: New file.
15687         * tools/keytool.in: Rename ...
15688         * tools/gkeytool.in: New file.
15689         * tools/toolwrapper.c: Simplify TOOLS_ZIP macro.
15690
15691 2006-06-15  Andrew John Hughes  <gnu_andrew@member.fsf.org>
15692
15693         * javax/management/AttributeList.java:
15694         Add serialization UID.
15695         * javax/management/DynamicMBean.java:
15696         New file.
15697         * javax/management/JMRuntimeException.java:
15698         Add serialization UID and correct name
15699         of serialized field.
15700         * javax/management/MBeanInfo.java: New file.
15701         
15702 2006-06-15  Andrew John Hughes  <gnu_andrew@member.fsf.org>
15703
15704         * javax/management/AttributeList.java,
15705         * javax/management/JMRuntimeException.java,
15706         * javax/management/RuntimeOperationsException.java:
15707         New files.
15708         
15709 2006-06-15  Lillian Angel  <langel@redhat.com>
15710
15711         * java/awt/font/TextLayout.java:
15712         DEFAULT_CARET_POLICY changed to be public static final.
15713
15714 2006-06-15  Tania Bento  <tbento@redhat.com>
15715
15716         * javax/swing/plaf/metal/MetalScrollButton.java
15717         (MetalScrollButton): Should set 'focusable' to false.
15718
15719 2006-06-15  Tania Bento  <tbento@redhat.com>
15720
15721         * javax/swing/plaf/basic/BasicArrowButton.java
15722         (BasicArrowButton): Should set 'focusable' to false.
15723         (BasicArrowButton): Should set 'focusable' to false.
15724
15725 2006-06-15  Mark Wielaard  <mark@klomp.org>
15726
15727         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
15728         (getGraphicsConfiguration): Return default screen device.
15729         * gnu/java/awt/peer/gtk/GtkVolatileImage.java (component):
15730         New field.
15731         (GtkVolatileImage): Record initiating component.
15732         * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
15733         (getDeviceConfiguration): Return configuration of image component.
15734
15735 2006-06-15  Mark Wielaard  <mark@klomp.org>
15736
15737         * java/awt/geom/GeneralPath.java (closePath): Return if path already
15738         closed.
15739
15740 2006-06-15  Mark Wielaard  <mark@klomp.org>
15741
15742         * java/awt/BasicStroke.java (createStrokedShape): Call getPathIterator
15743         with null argument.
15744
15745 2006-06-15  Kyle Galloway  <kgallowa@redhat.com>
15746
15747         * gnu/classpath/jdwp/event/filters/ExceptionOnlyFilter.java
15748         (matches): Added explicit brackets to return statement.
15749
15750 2006-06-15  Tania Bento  <tbento@redhat.com>
15751
15752         * javax/swing/JRadioButtonMenuItem.java
15753         (JRadioButtonMenuItem): Should set 'focusable' to false.
15754
15755 2006-06-15  Tania Bento  <tbento@redhat.com>
15756
15757         * javax/swing/JCheckBoxMenuItem.java
15758         (JCheckBoxMenuItem): Should set 'focusable' to false.
15759
15760 2006-06-15  Tania Bento  <tbento@redhat.com>
15761
15762         * javax/swing/AbstractButton.java:
15763         (AbstractButton): 'Focusable' should be set to true and not false.
15764
15765 2006-06-15  Andrew John Hughes  <gnu_andrew@member.fsf.org>
15766
15767         * java/lang/management/ManagementFactory.java:
15768         Add private constructor to prevent instance creation.
15769         * java/lang/management/ManagementPermission.java:
15770         Make final.
15771         
15772 2006-06-15  Francis Kung  <fkung@redhat.com>
15773
15774         * javax/swing/plaf/basic/BasicArrowButton.java:
15775         (BasicArrowButton): move client property for not triggering out 
15776         of consturctor
15777         * javax/swing/plaf/basic/BasicComboBoxUI.java:
15778         (configureArrowButton): set client property for not triggering
15779         (installUI): set client property for not triggering
15780         * javax/swing/plaf/basic/BasicLookAndFeel.java:
15781         (PopupHelper.mousePressed): check client property for triggering
15782
15783 2006-06-15  Roman Kennke  <kennke@aicas.com>
15784
15785         PR 28037
15786         * javax/swing/RepaintManager.java
15787         (blitBuffer): Substract coordinates the other way around.
15788
15789 2006-06-15  Roman Kennke  <kennke@aicas.com>
15790
15791         PR 28027
15792         * javax/swing/JComponent.java
15793         (paintImmediately2): Only paint component without double buffering
15794         when all of it's parents have also double buffering disabled.
15795         (isPaintingDoubleBuffered): New helper method.
15796
15797 2006-06-15  David Gilbert  <david.gilbert@object-refinery.com>
15798
15799         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
15800         (draw(Shape)): Pass null transform to getPathIterator(),
15801         (getClip): Likewise,
15802         * gnu/java/print/PostscriptGraphics2D.java
15803         (drawStringShape): Pass null transform to getPathIterator(),
15804         (writeShape): Likewise,
15805         * java/awt/Shape.java: Small updates to API docs.
15806
15807 2006-06-14  Andrew John Hughes  <gnu_andrew@member.fsf.org>
15808
15809         * javax/naming/InitialContext.java:
15810         (list(javax.naming.Name)): Fixed generic type.
15811         (list(String)): Likewise.
15812         (listBindings(javax.naming.Name)): Likewise.
15813         (listBindings(String)): Likewise.
15814         
15815 2006-06-14  Roman Kennke  <kennke@aicas.com>
15816
15817         * javax/swing/plaf/basic/BasicComboBoxUI.java
15818         (getAccessibleChildrenCount): Implemented.
15819         (getAccessibleChild): Implemented.
15820         (isNavigationKey): Implemented.
15821         (KeyHandler.keyPressed): Implemented.
15822
15823 2006-06-14  Andrew John Hughes  <gnu_andrew@member.fsf.org>
15824
15825         * java/lang/management/ManagementPermission.java:
15826         Added serialization UID.
15827         * javax/management/Attribute.java: Likewise.
15828         * javax/management/MBeanException.java,
15829         * javax/management/ReflectionException.java:
15830         Added serialization UID and changed to extend
15831         javax.management.JMException.
15832         
15833 2006-06-14  Lillian Angel  <langel@redhat.com>
15834
15835         * java/awt/Component.java
15836         (ignoreOldMouseEvents): Made static.
15837         (translateEvent): Made static.
15838         * java/awt/TextComponent.java
15839         (ignoreOldMouseEvents): Made static.
15840
15841 2006-06-14  Mark Wielaard  <mark@klomp.org>
15842
15843         * gnu/java/awt/peer/gtk/ComponentGraphics.java (drawLine): Lock and
15844         call super.
15845         (drawRect): Likewise.
15846         (fillRect): Likewise.
15847
15848 2006-06-14  Lillian Angel  <langel@redhat.com>
15849
15850         * java/awt/Component.java
15851         (ignoreOldMouseEvents): New helper function.
15852         (translateEvent): Changed to be non-static and use new helper.
15853         * java/awt/TextComponent.java
15854         (ignoreOldMouseEvents): New helper function.
15855
15856 2006-06-14  Roman Kennke  <kennke@aicas.com>
15857
15858         * javax/swing/RepaintManager.java
15859         (MERGE_REGIONS): New constant flag.
15860         (commitBuffer): Exclude the merging of regions by default. This
15861         was causing painting artifacts in some applications, especially
15862         when different areas of the GUI are updated synchronously.
15863
15864 2006-06-14  Roman Kennke  <kennke@aicas.com>
15865
15866         * examples/gnu/classpath/examples/awt/AicasGraphicsBenchmark.java:
15867         New file. This is a benchmark for AWT 1.1 style graphics operations.
15868         * examples/gnu/classpath/examples/awt/palme.gif: New file.
15869         * examples/gnu/classpath/examples/awt/aicas.gif: New file.
15870
15871 2006-06-14  Tom Tromey  <tromey@redhat.com>
15872
15873         * java/io/File.java (getParent): Javadoc fix.
15874
15875 2006-06-14  Tom Tromey  <tromey@redhat.com>
15876
15877         * gnu/java/net/loader/JarURLLoader.java (initialize): Skip our own
15878         jar.
15879         * gnu/java/net/IndexListParser.java (IndexListParser): Call clearAll
15880         when index entry does not exist.
15881
15882 2006-06-14  Tania Bento  <tbento@redhat.com>
15883
15884         * javax/swing/AbstractButton.java
15885         (AbstractButton): Set focusable to false, not true.
15886
15887 2006-06-14  Tania Bento  <tbento@redhat.com>
15888
15889         * javax/swing/JMenuItem.java
15890         (init): Changed horizontalAlignment from JButton.LEFT to JButton.LEADING.
15891
15892 2006-06-14  Tania Bento  <tbento@redhat.com>
15893
15894         * javax/swing/JCheckBoxMenuItem.java
15895         (JCheckBoxMenuItem): Added check to set the selected state.
15896
15897 2006-06-14  Roman Kennke  <kennke@aicas.com>
15898
15899         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
15900         (cairoDrawLine): New native method.
15901         (cairoDrawRect): New native method.
15902         (cairoFillRect): New native method.
15903         (drawLine): Use special native method.
15904         (drawRect): Use special native method.
15905         (fillRect): Use special native method.
15906         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
15907         (cairoDrawLine): New native method.
15908         (cairoDrawRect): New native method.
15909         (cairoFillRect): New native method.
15910         * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Regenerated.
15911
15912 2006-06-14  Mark Wielaard  <mark@klomp.org>
15913
15914         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c
15915         (Java_gnu_java_awt_peer_gtk_GtkImage_getPixels): Return when array
15916         cannot be allocated.
15917
15918 2006-06-14  Tom Tromey  <tromey@redhat.com>
15919
15920         PR java/28024:
15921         * m4/acinclude.m4 (REGEN_WITH_JAY): Use backquote, not $(...).
15922         * configure.ac (QT_INCLUDE_DIR): Use backquote, not $(...).
15923
15924 2006-06-14  Roman Kennke  <kennke@aicas.com>
15925
15926         * javax/swing/JComponent.java
15927         (isRepainting): New flag.
15928         (paintImmediately2): Set isRepainting flag.
15929         (getRoot): Removed obsolete method.
15930         (paintDoubleBuffered): Differenciate between paint calls from
15931         RepaintManager and from AWT refresh. Call
15932         RepaintManager.commitBuffer with this and local coordinates.
15933         (findOpaqueParent): Stop searching at heavyweight component. These
15934         are always opaque.
15935         (paintChildrenOptimized): Don't paint heavyweight children. These
15936         should care for themselves.
15937         (paintChildrenWithOverlap): Don't paint heavyweight children. These
15938         should care for themselves.
15939         * javax/swing/RepaintManager.java
15940         (getOffscreenBuffer): Associate offscreen buffer with toplevel
15941         windows only.
15942         (getVolatileOffscreenBuffer): Associate offscreen buffer with
15943         toplevel windows only.
15944         (getRoot): Removed obsolete method.
15945         (commitBuffer): Blit buffer on nearest heavyweight.
15946         (blitBuffer): New helper method.
15947         (getHeavyweightParent): New helper method.
15948         (commitRemainingBuffers): Call blitBuffer instead of commitBuffer.
15949         * javax/swing/SwingUtilities.java
15950         (convertRectangleToAncestor): New helper method.
15951
15952 2006-06-14  Raif S. Naffah  <raif@swiftdsl.com.au>
15953
15954         * gnu/javax/security/auth/login/ConfigFileTokenizer.java: Fixed a typo.
15955         Condition all trace/debug code based on Configuration.DEBUG.
15956         Use logger instead of STDOUT and ot STDERR.
15957
15958 2006-06-13  Lillian Angel  <langel@redhat.com>
15959
15960         * native/plugin/gcjwebplugin.cc
15961         (NP_Initialize): Removed code to create whitelist file.
15962         (GCJ_New): Added code to create whitelist file.
15963         (plugin_user_trusts_documentbase): Fixed error message.
15964
15965 2006-06-13  David Gilbert  <david.gilbert@object-refinery.com>
15966
15967         * javax/swing/plaf/metal/MetalIconFactory.java
15968         (HorizontalSliderThumbIcon.gradientMask): Modified by 1 pixel to 
15969         prevent overwriting border,
15970         (VerticalSliderThumbIcon.gradientMask): Likewise.
15971
15972 2006-06-13  Andrew John Hughes  <gnu_andrew@member.fsf.org>
15973
15974         * javax/management/AttributeNotFoundException.java,
15975         * javax/management/InvalidAttributeValueException.java,
15976         * javax/management/JMException.java,
15977         * javax/management/MBeanException.java,
15978         * javax/management/OperationsException.java,
15979         * javax/management/ReflectionException.java:
15980         New files.
15981         
15982 2006-06-13  Roman Kennke  <kennke@aicas.com>
15983
15984         * java/awt/Component.java
15985         (dispatchEvent): Handle events even when consumed (this might be
15986         picked up later in the dispatching chain).
15987         * javax/swing/plaf/basic/BasicLookAndFeel.java
15988         (PopupHelper.mousePressed): Don't consume event. Only close popup
15989         when target component isn't flagged as DONT_CANCEL_POPUP.
15990         (DONT_CANCEL_POPUP): New package private constant for flagging
15991         special components that don't trigger popup closing.
15992         * javax/swing/plaf/basic/BasicArrowButton.java
15993         (BasicArrowButton): Set client property for not triggering closing
15994         of popups.
15995
15996 2006-06-13  Lillian Angel  <langel@redhat.com>
15997
15998         * java/awt/image/PixelGrabber.java
15999         (PixelGrabber): Added to API documentation.
16000
16001 2006-06-13  Keith Seitz  <keiths@redhat.com>
16002
16003         From Kyle Galloway  <kgallowa@redhat.com>:
16004         * gnu/classpath/jdwp/event/filters/ExceptionOnlyFilter.java
16005         (ExceptionOnlyFilter): Allow null refId.
16006
16007         * gnu/classpath/jdwp/event/BreakpointEvent.java: Added _instance for
16008         compatibility with filters.
16009         (getParameter): Modified to allow access to above. 
16010
16011 2006-06-13  Sven de Marothy  <sven@physto.se>
16012
16013         * gnu/java/awt/peer/gtk/CairoSurface.java
16014         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
16015         (create): Use stride in ints.
16016
16017 2006-06-13  Keith Seitz  <keiths@redhat.com>
16018
16019         From Kyle Galloway  <kgallowa@redhat.com>:
16020         * gnu/classpath/jdwp/event/ClassUnloadEvent.java: New file.
16021
16022 2006-06-13  David Gilbert  <david.gilbert@object-refinery.com>
16023
16024         * javax/swing/plaf/basic/BasicSliderUI.java
16025         (calculateThumbSize): Removed unnecessary code,
16026         (calculateThumbLocation): Shift position by one,
16027         (calculateTickRect): Shift position by one when ticks are displayed,
16028         (calculateLabelRect): Calculate rect differently according to whether
16029         or not the labels are visible,
16030         (paintTrack): Shift track down one pixel.
16031
16032 2006-06-13  Lillian Angel  <langel@redhat.com>
16033
16034         * java/awt/image/PixelGrabber.java
16035         (PixelGrabber): Removed check to throw exception. JDK does
16036         not do this.
16037         (startGrabbing): Removed line to print stacktrace. 
16038
16039 2006-06-13  Mark Wielaard  <mark@klomp.org>
16040
16041         * gnu/java/awt/peer/gtk/CairoGraphics2D.java (drawImage): Don't
16042         allocate unused AffineTransform. Add comment about conversion to
16043         BufferedImage.
16044         * gnu/java/awt/peer/gtk/ComponentGraphics.java (drawImage):
16045         Recognize identity transform as "easy". Always convert to
16046         BufferedImage before calling super.
16047
16048 2006-06-13  Roman Kennke  <kennke@aicas.com>
16049
16050         * java/awt/Component.java
16051         (getGraphics): Translate child graphics correctly.
16052         (dispatchEvent): Only dispatch event if it hasn't been consumed
16053         yet by the global dispatcher.
16054         * javax/swing/plaf/basic/BasicLookAndFeel.java
16055         Added some API docs.
16056         (PopupHelper.mousePressed): Consume the event after closing
16057         opened menus.
16058
16059 2006-06-13  David Gilbert  <david.gilbert@object-refinery.com>
16060
16061         * javax/swing/plaf/basic/BasicCheckBoxUI.java: Source code formatting 
16062         changes only,
16063         * javax/swing/plaf/basic/BasicComboBoxUI.java: Likewise,
16064         * javax/swing/plaf/basic/BasicComboPopup.java: Likewise,
16065         * javax/swing/plaf/basic/BasicFileChooserUI.java: Likewise,
16066         * javax/swing/plaf/basic/BasicInternalFrameUI.java: Likewise,
16067         * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise,
16068         * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise,
16069         * javax/swing/plaf/basic/BasicOptionPaneUI.java: Likewise,
16070         * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise,
16071         * javax/swing/plaf/basic/BasicRadioButtonUI.java: Likewise,
16072         * javax/swing/plaf/basic/BasicScrollBarUI.java: Likewise,
16073         * javax/swing/plaf/basic/BasicSliderUI.java: Likewise,
16074         * javax/swing/plaf/basic/BasicTableHeaderUI.java: Likewise,
16075         * javax/swing/plaf/basic/BasicTableUI.java: Likewise,
16076         * javax/swing/plaf/basic/BasicTextUI.java: Likewise,
16077         * javax/swing/plaf/basic/BasicToolBarUI.java: Likewise,
16078         * javax/swing/plaf/basic/BasicTreeUI.java: Likewise.
16079
16080 2006-06-12  Sven de Marothy  <sven@physto.se>
16081
16082         * java/awt/font/LineBreakMeasurer.java): Implement.
16083
16084 2006-06-12  Keith Seitz  <keiths@redhat.com>
16085
16086         From Kyle Galloway  <kgallowa@redhat.com>:
16087         * gnu/classpath/jdwp/event/SingleStepEvent.java: New file.
16088
16089 2006-06-12  Keith Seitz  <keiths@redhat.com>
16090
16091         From Kyle Galloway  <kgallowa@redhat.com>:
16092         * gnu/classpath/jdwp/event/MethodEntryEvent.java: New file.
16093
16094         * gnu/classpath/jdwp/event/MethodExitEvent.java: New file.
16095
16096 2006-06-12  Roman Kennke  <kennke@aicas.com>
16097
16098         * javax/swing/JComponent.java
16099         (paintDoubleBuffered): Correctly translate and clip the Graphics
16100         instance.
16101         (clipAndTranslateGraphics): New helper method.
16102
16103 2006-06-12  Roman Kennke  <kennke@aicas.com>
16104
16105         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
16106         (copy): Use getClip() to copy the clip. Make copied transform
16107         null when original transform is null. Set clip here.
16108         (setTransform): Correctly update the clip.
16109         (setTransformImpl): New method. Updates the actual transform for
16110         Cairo.
16111         (transform): Correctly update the clip.
16112         (translate): Correctly update the clip.
16113         (clip): Handle null clip and argument correctly.
16114         (clipRect): Avoid creating new Rectangle objects.
16115         (getClip): Get the correct copy of the clip.
16116         (setClip): Correctly handle null argument.
16117         * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java
16118         (CairoSurfaceGraphics): Don't set the clip here. The clip can either
16119         be null or whatever has been set in copy().
16120         * gnu/java/awt/peer/gtk/ComponentGraphics.java
16121         (drawImage): Add translation to the image coordinates.
16122         * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
16123         (VolatileImageGraphics): Don't set clip here. The clip can either
16124         be null or whatever has been set in copy().
16125
16126 2006-06-12  Keith Seitz  <keiths@redhat.com>
16127
16128         From Kyle Galloway  <kgallowa@redhat.com>:
16129         * gnu/classpath/jdwp/event/filters/ExceptionOnlyFilter.java
16130         (forCaught): Removed unused/unnecessary method.
16131         (forUncaught): Likewise.
16132         (matches): Implement.
16133
16134 2006-06-12  Keith Seitz  <keiths@redhat.com>
16135
16136         From Kyle Galloway  <kgallowa@redhat.com>:
16137         * gnu/classpath/jdwp/event/ExceptionEvent.java: New file.
16138
16139 2006-06-12  Keith Seitz  <keiths@redhat.com>
16140
16141         From Kyle Galloway  <kgallowa@redhat.com>:
16142         * gnu/classpath/jdwp/event/Event.java: Added constants for
16143         type.
16144         (getParameter): Changed parameter type from Class to int.
16145         * gnu/classpath/jdwp/event/BreakpointEvent.java (getParameter):
16146         Changed from Class type to constants.
16147         * gnu/classpath/jdwp/event/ClassPrepareEventEvent.java (getParameter):
16148         Likewise.
16149         * gnu/classpath/jdwp/event/ThreadEndEvent.java (getParameter):
16150         Likewise.
16151         * gnu/classpath/jdwp/event/ThreadStartEvent.java (getParameter):
16152         Likewise.
16153         * gnu/classpath/jdwp/event/VmDeathEvent.java (getParameter):
16154         Likewise.
16155         * gnu/classpath/jdwp/event/VmInitEvent.java (getParameter):
16156         Likewise.
16157         * gnu/classpath/jdwp/event/ClassMatchFilter.java (matches):
16158         Likewise.
16159         * gnu/classpath/jdwp/event/ClassOnlyFilter.java (matches):
16160         Likewise.
16161         * gnu/classpath/jdwp/event/InstanceOnlyFilter.java (matches):
16162         Likewise.
16163         * gnu/classpath/jdwp/event/ThreadOnlyFilter.java (matches):
16164         Likewise.
16165
16166 2006-06-12  Lillian Angel  <langel@redhat.com>
16167
16168         * tools/gnu/classpath/tools/appletviewer/StandaloneAppletWindow.java
16169         (StandaloneAppletWindow): Changed title of standalone window.
16170
16171 2006-06-12  Lillian Angel  <langel@redhat.com>
16172
16173         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
16174         (layoutContainer): Added missing selectedComponent assignment.
16175
16176 2006-06-12  Lillian Angel  <langel@redhat.com>
16177
16178         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
16179         (layoutContainer): Added check to prevent exception.
16180
16181 2006-06-12  Tom Tromey  <tromey@redhat.com>
16182
16183         * java/lang/Thread.java (uncaughtException): Javadoc fix.
16184
16185 2006-06-12  Mark Wielaard  <mark@klomp.org>
16186
16187         * gnu/java/awt/peer/gtk/ComponentGraphics.java (hasLock):
16188         New static field.
16189         (ONE): Likewise.
16190         (lock): New method.
16191         (unlock): Likewise.
16192         (draw): Use lock() and unlock().
16193         (fill): Likewise.
16194         (drawRenderedImage): Likewise.
16195         (drawImage): Likewise.
16196         (drawGlyphVector): Likewise.
16197
16198 2006-06-12  Roman Kennke  <kennke@aicas.com>
16199
16200         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
16201         (drawPixels): Include alpha in parameter list.
16202         (cairoFill): Include alpha in parameter list.
16203         (setComposite): Don't modify the color.
16204         (draw(Shape))): Use fill when the current composite has an alpha
16205         of != 1.0, so that the stroked shaped will be composited.
16206         (fill(Shape)): Call cairoFill() with alpha.
16207         (drawImage): Call drawPixels or drawSurface with alpha.
16208         (drawGlyphVector): When composite alpha is != 1.0, render the
16209         outline using fill() to enable compositing for text.
16210         (drawRaster): Call drawPixels with alpha.
16211         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
16212         (nativeDrawSurface): Include alpha in parameter list.
16213         (drawSurface): Include alpha in parameter list. Pass it to
16214         nativeDrawSurface().
16215         * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h
16216         * include/gnu_java_awt_peer_gtk_CairoSurface.h:
16217         Regenerated.
16218         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
16219         (drawPixels): Handle possible alpha for compositing.
16220         (cairoFill): Likewise.
16221         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
16222         (nativeDrawSurface): Handle possible alpha for compositing.
16223
16224 2006-06-12  Mark Wielaard  <mark@klomp.org>
16225
16226         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java (streamImage):
16227         Notify data when completely done. Wait for worker thread to finish.
16228         Rethrow any pending exceptions.
16229         (exception): New field.
16230         (run): Store pending exception.
16231
16232 2006-06-12  Andrew John Hughes  <gnu_andrew@member.fsf.org>
16233
16234         * java/lang/management/ManagementPermission.java:
16235         New file.
16236         
16237 2006-06-12  Raif S. Naffah  <raif@swiftdsl.com.au>
16238
16239         * doc/tools.texinfo: Replaced original author with "The GNU Classpath Team".
16240
16241 2006-06-12  Raif S. Naffah  <raif@swiftdsl.com.au>
16242
16243         * gnu/javax/security/auth/login/ConfigFileParser.java (validateClassName):
16244         Use String.charAt().
16245
16246 2006-06-11  Thomas Fitzsimmons  <fitzsim@redhat.com>
16247
16248         * doc/tools.texinfo
16249         (Applet Tools): New chapter.
16250         (appletviewer Tool): New section.
16251         (gcjwebplugin): New section.
16252
16253 2006-06-11  Mark Wielaard  <mark@klomp.org>
16254
16255         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java (streamImage):
16256         Takes GdkPixbufWriter.
16257         (GdkPixbufWriter): Implements Runnable.
16258         (write(IIOMetadata,IIOImage,ImageWriteParam)): Start Thread for
16259         data processing.
16260         (DATADONE): New static final field.
16261         (data): New field.
16262         (write(byte[])): New method.
16263         (run): Likewise.
16264         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
16265         (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_initStaticState):
16266         Get dataOutputWriteID from writeClass.
16267         (stream_save_request): Change stream field to writer.
16268         (save_to_stream): Remove FIXME, call writer.
16269         (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_streamImage):
16270         Store writer.
16271
16272 2006-06-11  Andrew John Hughes  <gnu_andrew@member.fsf.org>
16273
16274         * NEWS:
16275         Mention new VM interface and use of properties.
16276         * doc/vmintegration.texinfo:
16277         Update with new gnu.java.lang.management section.
16278         * gnu/java/lang/management/RuntimeMXBeanImpl.java:
16279         New file.
16280         * java/lang/management/ManagementFactory.java:
16281         (getRuntimeMXBean()): Implemented.
16282         * vm/reference/gnu/java/lang/management/RuntimeMXBeanImpl.java:
16283         New VM interface file.
16284         
16285 2006-06-11  Raif S. Naffah  <raif@swiftdsl.com.au>
16286
16287         PR Classpath/26065
16288         * gnu/javax/security/auth/login/GnuConfiguration.java: Condition all trace/
16289         debug code based on Configuration.DEBUG.
16290         Use logger instead of STDOUT and ot STDERR.
16291         * gnu/javax/security/auth/login/ConfigFileParser.java: Likewise.
16292         * gnu/javax/crypto/sasl/SaslOutputStream.java: Likewise.
16293         * gnu/javax/crypto/sasl/SaslInputStream.java: Likewise.
16294         * gnu/javax/crypto/sasl/srp/SRPServer.java: Likewise.
16295         * gnu/javax/crypto/sasl/srp/SRPClient.java: Likewise.
16296         * gnu/javax/crypto/prng/CSPRNG.java: Likewise.
16297         * gnu/javax/crypto/pad/TBC.java: Likewise.
16298         * gnu/javax/crypto/pad/PKCS7.java: Likewise.
16299         * gnu/javax/crypto/pad/PKCS1_V1_5.java: Likewise.
16300         * gnu/javax/crypto/pad/BasePad.java: Likewise.
16301         * gnu/javax/crypto/mac/OMAC.java: Likewise.
16302         * gnu/javax/crypto/keyring/PasswordEncryptedEntry.java: Likewise.
16303         * gnu/javax/crypto/keyring/PasswordAuthenticatedEntry.java: Likewise.
16304         * gnu/javax/crypto/keyring/GnuPublicKeyring.java: Likewise.
16305         * gnu/javax/crypto/keyring/GnuPrivateKeyring.java: Likewise.
16306         * gnu/javax/crypto/keyring/EnvelopeEntry.java: Likewise.
16307         * gnu/javax/crypto/keyring/Entry.java: Likewise.
16308         * gnu/javax/crypto/key/srp6/SRPKeyPairGenerator.java: Likewise.
16309         * gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java: Likewise.
16310         * gnu/javax/crypto/jce/prng/UMacRandomSpi.java: Likewise.
16311         * gnu/javax/crypto/jce/prng/ICMRandomSpi.java: Likewise.
16312         * gnu/javax/crypto/jce/keyring/GnuKeyring.java: Likewise.
16313         * gnu/javax/crypto/cipher/Twofish.java: Likewise.
16314         * gnu/javax/crypto/cipher/Khazad.java: Likewise.
16315         * gnu/javax/crypto/cipher/Rijndael.java: Likewise.
16316         * gnu/javax/crypto/cipher/BaseCipher.java: Likewise.
16317         * gnu/javax/crypto/cipher/Anubis.java: Likewise.
16318         * gnu/java/security/Properties.java: Likewise.
16319         * gnu/java/security/x509/X509CRLEntry.java: Likewise.
16320         * gnu/java/security/x509/X509CRL.java: Likewise.
16321         * gnu/java/security/x509/ext/Extension.java: Likewise.
16322         * gnu/java/security/util/Prime2.java: Likewise.
16323         * gnu/java/security/util/Base64.java: Likewise.
16324         * gnu/java/security/sig/rsa/RSAPSSSignature.java: Likewise.
16325         * gnu/java/security/sig/rsa/EMSA_PSS.java: Likewise.
16326         * gnu/java/security/provider/PKIXCertPathValidatorImpl.java: Likewise.
16327         * gnu/java/security/pkcs/SignerInfo.java: Likewise.
16328         * gnu/java/security/pkcs/PKCS7SignedData.java: Likewise.
16329         * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java: Likewise.
16330         * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java: Likewise.
16331         * gnu/java/security/key/rsa/RSAKeyPairGenerator.java: Likewise.
16332         * gnu/java/security/key/rsa/GnuRSAPrivateKey.java: Likewise.
16333         * gnu/java/security/key/dss/DSSPrivateKey.java: Likewise.
16334         * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java: Likewise.
16335         * gnu/java/security/key/dss/DSSKeyPairGenerator.java: Likewise.
16336         * gnu/java/security/jce/sig/SignatureAdapter.java: Likewise.
16337         * gnu/java/security/jce/sig/EncodedKeyFactory.java: Likewise.
16338         * gnu/java/security/hash/Whirlpool.java: Likewise.
16339
16340 2006-06-11  Mark Wielaard  <mark@klomp.org>
16341
16342         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_FreetypeGlyphVector.c
16343         (Java_gnu_java_awt_peer_gtk_FreetypeGlyphVector_getGlyphs):
16344         Remove unused variable glyph_index.
16345
16346 2006-06-11  Mark Wielaard  <mark@klomp.org>
16347
16348         * gnu/java/awt/peer/gtk/CairoGraphics2D.java (drawImage):
16349         Don't recurse, return false if not an BufferedImage and no image
16350         source available.
16351         * gnu/java/awt/peer/gtk/ComponentGraphics.java (draw): Add
16352         end_gdk_drawing() to finally block.
16353         (fill): Likewise.
16354         (drawRenderedImage): Likewise.
16355         (drawImage): Likewise.
16356         (drawGlyphVector): Likewise.
16357
16358 2006-06-11  Raif S. Naffah  <raif@swiftdsl.com.au>
16359
16360         * doc/tools.texinfo: Added text for new -cacert command.
16361         Re-structured sections.
16362         * resource/gnu/classpath/tools/keytool/messages.properties: Added messages
16363         for -cacert command.
16364         * tools/gnu/classpath/tools/keytool/Main.java (CACERT_CMD): New constant.
16365         (_CACERT): Likewise.
16366         (shutdownThread): New field.
16367         (Main): Install shutdown thread.
16368         (main): Uninstall shutdown thread.
16369         (start): Handle new -cacert command.
16370         (getParser): Likewise.
16371         (teardown): Increased visibility.
16372         (ShutdownHook): New inner class.
16373         * tools/gnu/classpath/tools/keytool/CACertCmd.java: New file.
16374
16375 2006-06-11  Sven de Marothy  <sven@physto.se>
16376
16377         * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
16378         (setupGlyphMetrics): New method. Add glyphmetrics caching.
16379         (getOutline): Operate on the shape directly.
16380         * gnu/java/awt/peer/gtk/GdkFontPeer.java
16381         (getGlyphMetrics,putGlyphMetrics): Add GlyphMetrics caching.
16382         * include/gnu_java_awt_peer_gtk_FreetypeGlyphVector.h
16383         (getGlyph renamed getGlyphs)
16384         * java/awt/geom/AffineTransform.java
16385         (getTranslateInstance): Set fields directly.
16386         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_FreetypeGlyphVector.c
16387         (getGlyphs): Get all glyph codes at once.
16388         
16389 2006-06-11  Raif S. Naffah  <raif@swiftdsl.com.au>
16390
16391         PR Classpath/27853
16392         * gnu/javax/crypto/RSACipherImpl.java (engineDoFinal): Was short by 1 byte.
16393
16394 2006-06-11  Sven de Marothy  <sven@physto.se>
16395
16396         * java/awt/font/TextLayout.java
16397         (getLogicalHighlightShape): Add check.
16398         * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
16399         (getLogicalBounds, getGlyphPositions): Cache bounds, positions.
16400
16401 2006-06-11  Raif S. Naffah  <raif@swiftdsl.com.au>
16402
16403         * gnu/javax/security/auth/login/ConfigFileParser.java (validateClassName):
16404         Check that every component of 'cn' starts with a valid Java identifier char.
16405
16406 2006-06-10  Tom Tromey  <tromey@redhat.com>
16407
16408         * java/io/File.java (pathSeparator): Typo fix.
16409
16410 2006-06-10  Mark Wielaard  <mark@klomp.org>
16411
16412         * native/jni/gtk-peer/cairographics2d.h (cp_gtk_get_cairo_t):
16413         Removed.
16414         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
16415         Mark all unused parameters.
16416         (cp_gtk_get_cairo_t): Removed.
16417         (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoSetMatrix):
16418         Don't mix declerations and statements.
16419         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c:
16420         Mark all unused parameters.
16421         (Java_gnu_java_awt_peer_gtk_CairoSurface_nativeDrawSurface):
16422         Get cairographics2d pointer directly.
16423         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c
16424         (Java_gnu_java_awt_peer_gtk_GdkTextLayout_cairoDrawGdkTextLayout):
16425         Use jlong to pass pointer.
16426         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c:
16427         Mark all unused parameters.
16428         * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Regenerated.
16429         * include/gnu_java_awt_peer_gtk_CairoSurface.h: Regenerated.
16430         * include/gnu_java_awt_peer_gtk_ComponentGraphics.h: Regenerated.
16431         * include/gnu_java_awt_peer_gtk_GdkTextLayout.h: Regenerated.
16432         * include/gnu_java_awt_peer_gtk_GtkVolatileImage.h: Regenerated.
16433         * include/java_io_VMFile.h: Regenerated.
16434
16435 2006-06-10  Roman Kennke  <kennke@aicas.com>
16436
16437         * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
16438         (VolatileImageGraphics(VolatileImageGraphics)): Use clipRect()
16439         instead of setClip(), so that an already present clip is intersected
16440         and not resetted.
16441
16442 2006-06-10  Mark Wielaard  <mark@klomp.org>
16443
16444         * gnu/java/awt/peer/gtk/GdkFontPeer.java (GdkFontLineMetrics):
16445         Call getSize() to avoid accessor method.
16446
16447 2006-06-10  Mark Wielaard  <mark@klomp.org>
16448
16449         * javax/swing/text/html/HTMLDocument.java (addSpecialElement):
16450         Qualify ElementSpec.
16451
16452 2006-06-10  Mark Wielaard  <mark@klomp.org>
16453
16454         * lib/.cvsignore: Add sun.
16455         * lib/Makefile.am (dist-hook): Likewise.
16456
16457 2006-06-10  Roman Kennke  <kennke@aicas.com>
16458
16459         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
16460         * gnu/java/awt/peer/gtk/CairoSurface.java
16461         * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java
16462         * gnu/java/awt/peer/gtk/ComponentGraphics.java
16463         * gnu/java/awt/peer/gtk/GtkVolatileImage.java
16464         * native/jni/gtk-peer/cairographics2d.h
16465         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
16466         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
16467         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
16468         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c:
16469         Changed method signatures and calls to pass native pointers directly
16470         into the JNI code, in order to avoid costly lookups on each
16471         JNI call.
16472         * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h,
16473         * include/gnu_java_awt_peer_gtk_CairoSurface.h,
16474         * include/gnu_java_awt_peer_gtk_ComponentGraphics.h,
16475         * include/gnu_java_awt_peer_gtk_GtkVolatileImage.h:
16476         Regenerated
16477
16478 2006-06-10  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
16479
16480         PR 27973
16481         * javax/swing/text/DefaultStyledDocument.java 
16482         (ElementBuffer.insertContentTag):
16483         Do not recreate leaves and do not remove elements here. 
16484
16485 2006-06-10  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
16486
16487         * javax/swing/text/html/HTMLDocument.java
16488         (HTMLReader.HiddenAction): Implemented.
16489
16490 2006-06-10  Roman Kennke  <kennke@aicas.com>
16491
16492         * javax/swing/RepaintManager.java
16493         (getVolatileOffscreenBuffer): Store the created buffer.
16494         * javax/swing/JComponent.java
16495         (paintDoubleBuffered): Try to use a volatile offscreen buffer
16496         for better performance.
16497
16498 2006-06-10  Roman Kennke  <kennke@aicas.com>
16499
16500         * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
16501         (VolatileImageGraphics(VolatileImageGraphics)): Initialize native
16502         context correctly.
16503         (getRealBounds): Overridden to return the correct bounds.
16504
16505 2006-06-10  Roman Kennke  <kennke@aicas.com>
16506
16507         * javax/swing/plaf/metal/MetalButtonUI.java
16508         (update): Fixed to paint the gradient under the correct conditions.
16509         (updateWidthGradient): Removed.
16510         (isToolbarButton): New helper method.
16511         (isDrawingGradient): New helper method.
16512
16513 2006-06-09  Roman Kennke  <kennke@aicas.com>
16514
16515         * javax/swing/JTabbedPane.java
16516         (setSelectedIndex): Don't change the visibility of the components,
16517         this is done by the UI class.
16518         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
16519         (TabbedPaneLayout.layoutContainer): Change visibility of component
16520         here, depending on the selected index. Only do this if the new
16521         selected component is not null. Some programs seem to expect
16522         this.
16523         (visibleComponent): New field.
16524         (getVisibleComponent): Changed to return visibleComponent field.
16525         (setVisibleComponent): Changed to set the visibility of
16526         the old and new visible component.
16527
16528 2006-06-09  Roman Kennke  <kennke@aicas.com>
16529
16530         * javax/swing/JComponent.java
16531         (paintChildrenOptimized): Paint component with a new Graphics
16532         object to protect the other painting code from modifications
16533         done in that object, and avoid cleanup ops on possibly dispose()ed
16534         Graphics object.
16535
16536 2006-06-09  Sven de Marothy  <sven@physto.se>
16537
16538         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
16539         (Java_gnu_java_awt_peer_gtk_ComponentGraphics_disposeSurface):
16540         Use GTK locks while disposing (Xlib) surface.
16541
16542 2006-06-09  Tom Tromey  <tromey@redhat.com>
16543
16544         * lib/Makefile.am (install-data-local): Copy 'sun' files.
16545         (uninstall-local): Delete 'sun' directory.
16546         (glibj.zip): Include 'sun' classes.
16547         (clean-local): Delete 'sun' directory.
16548         * lib/gen-classlist.sh.in: Search 'sun' subdirectories.
16549
16550 2006-06-09  Roman Kennke  <kennke@aicas.com>
16551
16552         * gnu/java/awt/java2d/AbstractGraphics2D.java
16553         (drawImage): Fixed scaling.
16554         (fillShape): Removed offset handling.
16555         (fillShapeImpl): Limit scanlining to device bounds.
16556         (getSegments): Removed offset handling.
16557         * gnu/java/awt/java2d/PolyEdge.java
16558         (toString): Include isClip flag in output.
16559
16560 2006-06-08  Sven de Marothy  <sven@physto.se>
16561
16562         * java/awt/font/TextLayout.java
16563         (getOutline): Allow null transform.
16564
16565 2006-06-08  Sven de Marothy  <sven@physto.se>
16566
16567         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
16568         (drawString): Use TextLayout instead of GlyphVector.
16569
16570 2006-06-08  Sven de Marothy  <sven@physto.se>
16571
16572         * java/text/Bidi.java: Treat WS as neutral for rules N1 & N2.
16573         * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
16574         New constructor for bidirectionality.
16575         (getGlyphMetrics): Return whitespace glyphs.
16576         (getLogicalBounds): Offset rectangles to correct positions.
16577         * gnu/java/awt/peer/gtk/GdkFontPeer.java
16578         (getBaselineFor): Default to ROMAN_BASELINE.
16579         (GdkFontLineMetrics): Guess some values for underline and 
16580         strikethrough.
16581         (layoutGlyphVector): Use bidirectionality.
16582         * java/awt/font/TextLayout.java: Implement, mostly.
16583         
16584 2006-06-09  Anthony Green  <green@redhat.com>
16585
16586         PR classpath/27888:
16587         * javax/swing/text/GapContent.java (binarySearch): Use unsigned shift.
16588         * java/util/Collections.java (binarySearch): Use unsigned shift.
16589         * java/util/Arrays.java (binarySearch): Use unsigned shift.
16590
16591 2006-06-09  Tom Tromey  <tromey@redhat.com>
16592
16593         * tools/.cvsignore: Added .deps.
16594
16595 2006-06-09  Kazuya Ujihara  <ujihara@aurora.dti.ne.jp>
16596
16597         PR classpath/27966:
16598         * gnu/javax/security/auth/login/ConfigFileParser.java
16599         (validateClassName): Quote '.' in regexp.
16600
16601 2006-06-09  Tom Tromey  <tromey@redhat.com>
16602
16603         PR classpath/23863:
16604         * native/fdlibm/dtoa.c (_dtoa): Free contents of _Jv_reent when
16605         finished.
16606         * native/fdlibm/mprec.c: New version from newlib.  Commented out
16607         some includes.  Added <assert.h>.
16608         (_reent, _Bigint): New defines.
16609         (_REENT_CHECK_MP, _REENT_MP_FREELIST, _REENT_MP_P5S): Likewise.
16610         (__ULong, __Long): New types.
16611         (_calloc_r): New function.
16612         (Balloc): Dynamically add new _freelist entries as needed.
16613         * native/fdlibm/mprec.h (struct _Jv_Bigint): Don't use
16614         MAX_BIGNUMS to size _x[].
16615         (struct _Jv_reent): _freelist now a _Jv_Bigint**.  Removed
16616         _allocation_map, num.  Added _max_k.
16617
16618 2006-06-09  Roman Kennke  <kennke@aicas.com>
16619
16620         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
16621         (drawGlyphVector): Added fallback for non-FreetypeGlyphVector
16622         implementations.
16623
16624 2006-06-09  David Gilbert  <david.gilbert@object-refinery.com>
16625
16626         * java/awt/image/BufferedImage.java
16627         (BufferedImage(int, int, int)): Added API docs,
16628         (getProperty(String)): Return correct value for undefined properties,
16629         (getPropertyNames()): Added comments and removed FIXME.
16630
16631 2006-06-09  Thomas Fitzsimmons  <fitzsim@redhat.com>
16632
16633         * native/plugin/gcjwebplugin.cc (PLUGIN_ERROR_THREE): New macro.
16634         (NP_Initialize): Use PLUGIN_ERROR_THREE in place of g_strconcat.
16635
16636 2006-06-09  Francis Kung  <fkung@redhat.com>
16637
16638         * javax/swing/plaf/basic/BasicComboBoxRenderer.java:
16639         (getPreferredSize): Return correct height for null or empty 
16640         items.
16641
16642 2006-06-09  David Gilbert  <david.gilbert@object-refinery.com>
16643
16644         * java/awt/datatransfer/DataFlavor.java
16645         (readExternal): Mark as stub,
16646         (writeExternal): Likewise,
16647         * java/awt/dnd/DropTargetContext.java
16648         (dropComplete): Mark as stub,
16649         (acceptDrag): Likewise,
16650         (rejectDrag): Likewise,
16651         (acceptDrop): Likewise,
16652         (rejectDrop): Likewise,
16653         (getCurrentDataFlavors): Likewise,
16654         (getTransferable): Likewise,
16655         * java/awt/dnd/DropTargetDropEvent.java
16656         (dropComplete): Mark as stub.
16657
16658 2006-06-09  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
16659
16660         * gnu/javax/swing/text/html/parser/SmallHtmlAttributeSet.java
16661         (constructor): Do not lowercase the values.
16662         * javax/swing/text/html/HTMLDocument.java
16663         (HTMLReader.addSpecialElement): Implemented.
16664         * examples/gnu/classpath/examples/swing/HtmlDemo.java: New file.
16665
16666 2006-06-09  Raif S. Naffah  <raif@swiftdsl.com.au>
16667
16668         On behalf of Matthew Wringe <mwringe@redhat.com>
16669         * gnu/java/security/Registry.java (ISO10126_PAD): New constant.
16670         * gnu/javax/crypto/pad/ISO10126.java: New class.
16671         * gnu/javax/crypto/pad/PadFactory.java (names): New field.
16672         (getInstance): Added support for ISO-10126 scheme.
16673         (getNames): Likewise.
16674         Cache result for speed.
16675
16676 2006-06-09  Raif S. Naffah  <raif@swiftdsl.com.au>
16677
16678         * gnu/javax/crypto/pad/BasePad.java (selfTest): Re-factored to allow more
16679         flexible self-test by sub-classes.
16680         (test1BlockSize): New method.
16681
16682 2006-06-09  David Gilbert  <david.gilbert@object-refinery.com>
16683
16684         * javax/swing/plaf/basic/BasicLookAndFeel.java
16685         (initComponentDefaults): Corrected 'ScrollBar.focusInputMap' entry,
16686         * javax/swing/plaf/basic/BasicScrollBarUI.java
16687         (installKeyboardActions): Implemented,
16688         (uninstallKeyboardActions): Implemented,
16689         (getInputMap): New method,
16690         (getActionMap): New method,
16691         (createActionMap): New method,
16692         (installUI): Call installKeyboardActions(),
16693         (uninstallUI): Call uninstallKeyboardActions().
16694         
16695 2006-06-09  David Gilbert  <david.gilbert@object-refinery.com>
16696
16697         * javax/swing/plaf/basic/BasicScrollPaneUI.java
16698         (getActionMap): Use correct key to store action map.
16699
16700 2006-06-09  Jeroen Frijters  <jeroen@frijters.net>
16701
16702         * gnu/java/awt/font/opentype/truetype/VirtualMachine.java
16703         (executeInstruction): Added NOT support.
16704
16705 2006-06-09  Jeroen Frijters  <jeroen@frijters.net>
16706
16707         * sun/reflect/annotation/AnnotationInvocationHandler.java:
16708         New file.
16709
16710 2006-06-08  Tom Tromey  <tromey@redhat.com>
16711
16712         * java/text/Bidi.java (resolveNeutralTypes): Set j'th slot
16713         of 'types'.
16714
16715 2006-06-09  Andrew John Hughes  <gnu_andrew@member.fsf.org>
16716
16717         * java/lang/management/RuntimeMXBean.java:
16718         New file.
16719         
16720 2006-06-08  Lillian Angel  <langel@redhat.com>
16721
16722         * native/plugin/gcjwebplugin.cc:
16723         (NP_Shutdown): Freed whitelist_filename.
16724
16725 2006-06-08  Lillian Angel  <langel@redhat.com>
16726
16727         * native/plugin/Makefile.am:
16728         Removed DATA_DIRECTORY.
16729         * native/plugin/gcjwebplugin.cc:
16730         Added new global fields for whitelist_file
16731         and data_directory. Removed WHITELIST_FILE.
16732         (NP_Initialize): Initialized new fields. Also,
16733         Changed to use new fields.
16734         (NP_Shutdown): Freed data_directory.
16735         (GCJ_New): Changed to use new fields.
16736         (plugin_ask_user_about_documentbase): Likewise.
16737
16738 2006-06-08  Lillian Angel  <langel@redhat.com>
16739
16740         * native/plugin/Makefile.am:
16741         Changed DATA_DIRECTORY to be ~/.gcjwebplugin.
16742         * native/plugin/gcjwebplugin.cc:
16743         Changed all instances of PLUGIN_DATA_DIRECTORY
16744         to DATA_DIRECTORY.
16745
16746 2006-06-08  Roman Kennke  <kennke@aicas.com>
16747
16748         * java/awt/LightweightDispatcher.java
16749         (handleMouseEvent): Replaced calls to AWTUtilities.convertPoint()
16750         with convertPointToChild(). This is more efficient and avoids
16751         problems with getLocationOnScreen().
16752         (findTarget): Check for component beeing showing() early.
16753         Simplified AWTUtilities.convertPoint() to a simple substraction
16754         operation.
16755         (convertPointToChild): New helper method.
16756
16757 2006-06-08  Thomas Fitzsimmons  <fitzsim@redhat.com>
16758
16759         * native/plugin/gcjwebplugin.cc (SECURITY_DESCRIPTION): Update
16760         message.
16761
16762 2006-06-08  Tom Fitzsimmons  <fitzsim@redhat.com>
16763             Lillian Angel  <langel@redhat.com>
16764
16765         * native/plugin/gcjwebplugin.cc
16766         (NP_Shutdown): Added code to free plugin mutex and whitelist file.
16767         Also, reset initialized field.
16768
16769 2006-06-08  Lillian Angel  <langel@redhat.com>
16770
16771         * javax/swing/plaf/basic/BasicProgressBarUI.java
16772         (paintString): Fixed to paint string at the correct location.
16773
16774 2006-06-08  Roman Kennke  <kennke@aicas.com>
16775
16776         * javax/swing/plaf/basic/BasicTreeUI.java
16777         (createDefaultActions): Added new actions.
16778         (TreePageAction.TreePageAction): Set action name.
16779         (TreePageAction.actionPerformed): Implemented.
16780         (TreePageAction.isEnabled): Implemented.
16781         (TreeToggleAction.TreePageAction): Set action name.
16782         (TreeToggleAction.actionPerformed): Implemented.
16783         (TreeToggleAction.isEnabled): Implemented.
16784         (TreeTraverseAction.TreeTraverseAction): Set action name.
16785         (TreeTraverseAction.actionPerformed): Use action name as command.
16786         (TreeTraverseAction.isEnabled): Implemented.
16787
16788 2006-06-08  Roman Kennke  <kennke@aicas.com>
16789
16790         * javax/swing/plaf/basic/BasicTreeUI.java
16791         (installKeyboardActions): Rewritten to correctly install the UI
16792         input and action maps.
16793         (getActionMap): New helper method.
16794         (createDefaultActionMap): New helper method.
16795         (TreeHomeAction.TreeHomeAction()): Implemented.
16796         (TreeHomeAction.actionPerformed): Implemented.
16797         (TreeHomeAction.isEnabled): Implemented.
16798         (TreeIncrementAction.TreeIncrementAction()): Implemented.
16799         (TreeIncrementAction.actionPerformed): Use action name as command.
16800         (TreeIncrementAction.isEnabled): Implemented.
16801
16802 2006-06-08  Mark Wielaard  <mark@klomp.org>
16803
16804         PR 27917
16805         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c
16806         (Java_gnu_java_awt_peer_gtk_GtkImage_loadImageFromData): Ref pixbuf
16807         and unref loader.
16808
16809 2006-06-08  Mark Wielaard  <mark@klomp.org>
16810
16811         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
16812         (attrs): Removed unused static.
16813
16814 2006-06-08  David Gilbert  <david.gilbert@object-refinery.com>
16815
16816         * javax/swing/plaf/basic/BasicScrollPaneUI.java
16817         (getInputMap): New method,
16818         (getActionMap): New method,
16819         (createActionMap): New method,
16820         (installKeyboardActions): Implemented,
16821         (uninstallKeyboardActions): Implemented.
16822
16823 2006-06-08  Robert Schuster  <robertschuster@fsfe.org>
16824
16825         * javax/swing/border/MatteBorder.java:
16826         (MatteBorder(int,int,int,int,Icon)): Removed if-statement and exception
16827         throwing.
16828         (paintBorder): Added if-statement to abort painting early.
16829
16830 2006-06-08  Robert Schuster  <robertschuster@fsfe.org>
16831
16832         Fixes PR27864.
16833         * gnu/xml/dom/DomIterator.java:
16834         (successor): Changed expression.
16835
16836 2006-06-08  Sven de Marothy  <sven@physto.se>
16837
16838         * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
16839         (defaultLayout): Do kerning.
16840         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_FreetypeGlyphVector.c
16841         (getKerning): Correct class name, removed unused variable.
16842
16843 2006-06-07  Thomas Fitzsimmons  <fitzsim@redhat.com>
16844
16845         * gnu/java/awt/peer/qt/QtToolkit.java (initToolkit): Load
16846         libqtpeer.so unconditionally.
16847
16848 2006-06-07  Andrew John Hughes  <gnu_andrew@member.fsf.org>
16849
16850         * java/util/InputMismatchException.java:
16851         Documented.
16852         
16853 2006-06-07  Andreas Tobler  <a.tobler@schweiz.ch>
16854
16855         * native/jawt/Makefile.am (AM_LDFLAGS): Add XTEST_LIBS.
16856
16857 2006-06-07  Roman Kennke  <kennke@aicas.com>
16858
16859         * javax/swing/plaf/basic/BasicTreeUI.java
16860         (completeUIUninstall): Implemented.
16861         (uninstallUI): Moved some bits to completeUIUninstall(). Complete
16862         editing before uninstalling anything.
16863         (isToggleEvent): Implemented.
16864         (selectPathForEvent): Make use of isToggleEvent().
16865         (ComponentHandler.componentMoved): Implemented.
16866         (ComponentHandler.startTimer): Implemented.
16867         (ComponentHandler.getScrollPane): Implemented.
16868         (ComponentHandler.actionPerformed): Implemented.
16869
16870 2006-06-07  Francis Kung  <fkung@redhat.com>
16871
16872         * javax/swing/JMenuBar.java:
16873         (getSubElements): Do not return null values.
16874
16875 2006-06-07  Roman Kennke  <kennke@aicas.com>
16876
16877         PR 27902
16878         * gnu/regexp/BacktrackStack.java
16879         * gnu/regexp/CharIndexed.java
16880         * gnu/regexp/CharIndexedCharArray.java
16881         * gnu/regexp/CharIndexedCharSequence.java
16882         * gnu/regexp/CharIndexedInputStream.java
16883         * gnu/regexp/CharIndexedString.java
16884         * gnu/regexp/CharIndexedStringBuffer.java
16885         * gnu/regexp/RE.java
16886         * gnu/regexp/REException.java
16887         * gnu/regexp/REFilterInputStream.java
16888         * gnu/regexp/REMatch.java
16889         * gnu/regexp/REMatchEnumeration.java
16890         * gnu/regexp/RESyntax.java
16891         * gnu/regexp/REToken.java
16892         * gnu/regexp/RETokenAny.java
16893         * gnu/regexp/RETokenBackRef.java
16894         * gnu/regexp/RETokenChar.java
16895         * gnu/regexp/RETokenEnd.java
16896         * gnu/regexp/RETokenEndOfPreviousMatch.java
16897         * gnu/regexp/RETokenEndSub.java
16898         * gnu/regexp/RETokenIndependent.java
16899         * gnu/regexp/RETokenLookAhead.java
16900         * gnu/regexp/RETokenLookBehind.java
16901         * gnu/regexp/RETokenNamedProperty.java
16902         * gnu/regexp/RETokenOneOf.java
16903         * gnu/regexp/RETokenPOSIX.java
16904         * gnu/regexp/RETokenRange.java
16905         * gnu/regexp/RETokenRepeated.java
16906         * gnu/regexp/RETokenStart.java
16907         * gnu/regexp/RETokenWordBoundary.java
16908         * gnu/regexp/UncheckedRE.java
16909         * gnu/java/util/regex/BacktrackStack.java
16910         * gnu/java/util/regex/CharIndexed.java
16911         * gnu/java/util/regex/CharIndexedCharArray.java
16912         * gnu/java/util/regex/CharIndexedCharSequence.java
16913         * gnu/java/util/regex/CharIndexedInputStream.java
16914         * gnu/java/util/regex/CharIndexedString.java
16915         * gnu/java/util/regex/CharIndexedStringBuffer.java
16916         * gnu/java/util/regex/RE.java
16917         * gnu/java/util/regex/REException.java
16918         * gnu/java/util/regex/REFilterInputStream.java
16919         * gnu/java/util/regex/REMatch.java
16920         * gnu/java/util/regex/REMatchEnumeration.java
16921         * gnu/java/util/regex/RESyntax.java
16922         * gnu/java/util/regex/REToken.java
16923         * gnu/java/util/regex/RETokenAny.java
16924         * gnu/java/util/regex/RETokenBackRef.java
16925         * gnu/java/util/regex/RETokenChar.java
16926         * gnu/java/util/regex/RETokenEnd.java
16927         * gnu/java/util/regex/RETokenEndOfPreviousMatch.java
16928         * gnu/java/util/regex/RETokenEndSub.java
16929         * gnu/java/util/regex/RETokenIndependent.java
16930         * gnu/java/util/regex/RETokenLookAhead.java
16931         * gnu/java/util/regex/RETokenLookBehind.java
16932         * gnu/java/util/regex/RETokenNamedProperty.java
16933         * gnu/java/util/regex/RETokenOneOf.java
16934         * gnu/java/util/regex/RETokenPOSIX.java
16935         * gnu/java/util/regex/RETokenRange.java
16936         * gnu/java/util/regex/RETokenRepeated.java
16937         * gnu/java/util/regex/RETokenStart.java
16938         * gnu/java/util/regex/RETokenWordBoundary.java
16939         * gnu/java/util/regex/UncheckedRE.java
16940         Moved gnu.regexp classes to gnu.java.util.regex package.
16941         * java/util/regex/Matcher.java
16942         * java/util/regex/Pattern.java
16943         Adjusted import statements for new package name for gnu regexp.
16944
16945 2006-06-07  Tom Tromey  <tromey@redhat.com>
16946
16947         PR classpath/27905:
16948         * gnu/java/nio/charset/Provider.java (loadExtended): Now synchronized.
16949         Added missing charsets.
16950         (charsetForName): Don't check 'extendedLoaded'.
16951
16952 2006-06-07  Roman Kennke  <kennke@aicas.com>
16953
16954         PR 27833
16955         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
16956         (clip(Shape)): Implemented correctly, so that the current shape
16957         gets intersected by the parameter shape.
16958
16959 2006-06-07  Lillian Angel  <langel@redhat.com>
16960
16961         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
16962         (getTabBounds): If this method is called with a tab index
16963         that is not in the rects array, we need to re-layout the container
16964         so it is created.
16965
16966 2006-06-07  Lillian Angel  <langel@redhat.com>
16967
16968         * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
16969         (FreetypeGlyphVector): Removed assignment. Caused compilation error.
16970         * java/lang/String.java
16971         (codePointCount): Fixed check to match API. Shouldn't throw exception
16972         if end == count. end is 1 more than the endIndex, so end == count is 
16973         possible.
16974
16975 2006-06-07  Gary Benson  <gbenson@redhat.com>
16976
16977         PR 24895
16978         * native/jni/java-io/java_io_VMFile.c
16979         (Java_java_io_VMFile_toCanonicalForm): New method.
16980         * configure.ac: Added checks for lstat and readlink.
16981         * include/java_io_VMFile.h: Added new method.
16982         * vm/reference/java/io/VMFile.java: Use new method.
16983         * gnu/java/io/PlatformHelper.java (toCanonicalForm): Removed.
16984         * NEWS: Documented the above.
16985         * java/io/File.java: Javadoc fix.
16986
16987 2006-06-07  Roman Kennke  <kennke@aicas.com>
16988
16989         PR 27920
16990         * javax/swing/JTree.java
16991         (JTree()): Initialize with default model.
16992         (JTree(TreeModel)): Clear expanded state hashtable. Added comment
16993         on the updateUI() / setModel() order.
16994         (setModel): Correctly (un-)setup the listeners. Clear the expanded
16995         paths.
16996         * javax/swing/plaf/basic/BasicTreeUI.java
16997         (BasicTreeUI()): Initialize listeners in installListeners().
16998         (setModel): Complete editing on model change. Correctly resetup
16999         the listeners. Update the layout cache accordingly.
17000         (setShowRootHandles): Complete editing and update layout. Do not
17001         call back into the JTree, this could cause cycles.
17002         (prepareForUIInstall): Implemented. Moved some init code from
17003         installUI() to this method.
17004         (completeUIInstall): Implemented. Moved some init code from
17005         installUI() to this method.
17006         (createDefaultCellEditor): Check for type of renderer, and install
17007         with null renderer when not DefaultTreeCellRenderer.
17008         (updateLayoutCacheExpandedNodes): Added null check for tree root
17009         to avoid NPE.
17010         (updateRenderer): Call updateEditor().
17011         (installListeners): Initialize the listeners here. Added some null
17012         checks to avoid NPEs.
17013         (installUI): Moved some init code to prepareForUIInstall() and
17014         completeUIInstall().
17015         (completeEditing): Return immediately if editing component is null
17016         or if the setting is to not stop editing on complete editing.
17017         (checkForClickInExpandControl): Call handleExpandControlClick()
17018         instead of toggleExpandState() directly.
17019         (isLocationInExpandControl): Rewritten to correctly determine the
17020         expand click location.
17021         (MouseHandler.mousePressed): Rewritten to make better use of the
17022         instance methods of BasicTreeUI to handle the click.
17023         (PropertyHandler.propertyChange): Handle model and cell renderer
17024         updates.
17025         * javax/swing/tree/DefaultTreeCellEditor.java
17026         (DefaultTreeCellEditor): Removed initialization of the icon. This
17027         is done so that the constructor can deal with null renderer as the
17028         RI does. Maybe this needs more fixing.
17029         * javax/swing/tree/TreePath.java
17030         (isDescendant): Fixed this method. The previous version did too
17031         much and compared the wrong things, which lead to a ClassCastException
17032         in equals().
17033         * javax/swing/tree/VariableHeightLayoutCache.java
17034         (update): Do nothing when model is null.
17035         (setModel): Clear the tables and update the layout. Added null
17036         check to prevent NPE.
17037
17038 2006-06-07  Sven de Marothy  <sven@physto.se>
17039
17040         * gnu/java/awt/peer/gtk/GdkGlyphVector: Removed file.
17041
17042 2006-06-07  Sven de Marothy  <sven@physto.se>
17043
17044         * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
17045         * include/gnu_java_awt_peer_gtk_FreetypeGlyphVector.h
17046         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_FreetypeGlyphVector.c
17047         New files.
17048
17049         * gnu/java/awt/peer/gtk/GdkFontPeer.java
17050         (getGlyphVector): Removed native method.
17051         (createGlyphVector, getStringBounds): Use new GV class.
17052
17053         * include/Makefile.am
17054         * native/jni/gtk-peer/Makefile.am
17055         Add new files.
17056
17057         * include/gnu_java_awt_peer_gtk_GdkFontPeer.h
17058         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
17059         (getGlyphVector): Removed native method.
17060         
17061 2006-06-07  Chris Burdess  <dog@gnu.org>
17062
17063         * gnu/classpath/debug/TeeInputStream.java,
17064           gnu/classpath/debug/TeeOutputStream.java,
17065           gnu/classpath/debug/TeeReader.java,
17066           gnu/classpath/debug/TeeWriter.java: New classes for debugging streams.
17067         * gnu/xml/stream/XMLParser.java: Use tee streams for debugging. Don't
17068           read more characters than absolutely necessary in tryRead method.
17069
17070 2006-06-07  Robert Schuster  <robertschuster@fsfe.org>
17071
17072         * examples/gnu/classpath/examples/swing/Demo.java:
17073         (mkMenuBar): Put look and feel radio buttons into 
17074         appropriate button group.
17075
17076 2006-06-07  Chris Burdess  <dog@gnu.org>
17077
17078         * gnu/xml/stream/SAXParser.java,
17079           gnu/xml/stream/XMLParser.java: Add command line options for setting
17080           parsing parameters (for simpler debugging).
17081         * gnu/xml/transform/TransformerImpl.java: Try to ensure that I/O error
17082           closing output stream is propagated to application.
17083
17084 2006-06-06  Mark Wielaard  <mark@klomp.org>
17085
17086         PR 27917
17087         * gnu/java/awt/peer/gtk/CairoSurface.java (finalize): Call dispose.
17088         * gnu/java/awt/peer/gtk/ComponentGraphics.java: Override dispose to
17089         call disposeSurface.
17090         (disposeSurface): New native method.
17091         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
17092         (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_disposeNative): Free
17093         pattern_pixels.
17094         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17095         (Java_gnu_java_awt_peer_gtk_CairoSurface_drawSurface): Call
17096         cairo_pattern_destroy.
17097         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
17098         (Java_gnu_java_awt_peer_gtk_ComponentGraphics_disposeSurface):
17099         New function to destroy the surface.
17100         * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Regenerated.
17101         * include/gnu_java_awt_peer_gtk_CairoSurface.h: Likewise.
17102         * include/gnu_java_awt_peer_gtk_ComponentGraphics.h: Likewise.
17103
17104 2006-06-06  Mark Wielaard  <mark@klomp.org>
17105
17106         * include/jni.h (JDK1_1InitArgs): Mark pointer-to-function types
17107         with JNICALL.
17108
17109 2006-06-06  David Gilbert  <david.gilbert@object-refinery.com>
17110
17111         * javax/swing/plaf/metal/MetalSplitPaneDivider.java
17112         (paint): If has focus, paint special background color,
17113         * javax/swing/plaf/basic/BasicSplitPaneUI.java
17114         (FocusHandler.focusGained): Implemented,
17115         (FocusHandler.focusLost): Implemented.
17116
17117 2006-06-06  Tom Tromey  <tromey@redhat.com>
17118
17119         * javax/swing/text/StyleContext.java (registerStaticAttributeKey):
17120         Javadoc fix.
17121         (writeAttributeSet): Implemented.
17122
17123 2006-06-06  Tom Tromey  <tromey@redhat.com>
17124
17125         * javax/swing/text/html/HTMLDocument.java (SpecialAction.start):
17126         Implement.
17127         (SpecialAction.end): Removed.
17128         (IsindexAction.end): Likewise.
17129
17130 2006-06-06  Tom Tromey  <tromey@redhat.com>
17131
17132         * include/jni.h (JDK1_1InitArgs): New struct.
17133         (JDK1_1AttachArgs): Likewise.
17134
17135 2006-06-06  Tom Tromey  <tromey@redhat.com>
17136
17137         * java/security/UnresolvedPermission.java (getUnresolvedType): New
17138         method.
17139         (getUnresolvedName): New method.
17140         (getUnresolvedActions): New method.
17141         (getUnresolvedCerts): New method.
17142
17143 2006-06-06  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
17144
17145         * gnu/javax/swing/text/html/CharacterAttributeTranslator.java
17146         (getColor): Removed debugging code.
17147
17148 2006-06-06  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
17149
17150         * gnu/javax/swing/text/html/CharacterAttributeTranslator.java
17151         (getColor): Added support for "rgb(red, green, blue)" notation.
17152         (translateTag): Use Boolean.TRUE, not new Boolean().
17153
17154 2006-06-06  Roman Kennke  <kennke@aicas.com>
17155
17156         PR 27651
17157         * javax/swing/JTree.java
17158         (JTree(TreeModel)): Call updateUI() before setModel().
17159         (setModel): Don't call updateUI here.
17160
17161 2006-06-06  Lillian Angel  <langel@redhat.com>
17162         
17163         * native/plugin/gcjwebplugin.cc:
17164         Fixed failure message and commenting.
17165         (NP_Initialize): Added more comments.
17166
17167 2006-06-06  David Gilbert  <david.gilbert@object-refinery.com>
17168
17169         * javax/swing/JSplitPane.java
17170         (AccessibleJSplitPane): API doc fixes,
17171         (setDividerLocation): Likewise,
17172         * javax/swing/plaf/basic/BasicLookAndFeel.java
17173         (initComponentDefaults): Additions to SplitPane.ancestorInputMap,
17174         * javax/swing/plaf/basic/BasicSplitPaneUI.java
17175         (getInputMap): New method,
17176         (getActionMap): New method,
17177         (createActionMap): New method,
17178         (installKeyboardActions): Implemented,
17179         (uninstallKeyboardActions): Implemented.
17180
17181 2006-06-06  Roman Kennke  <kennke@aicas.com>
17182
17183         PR 27523
17184         * javax/swing/MenuSelectionManager.java
17185         (processKeyEvent): Added check to avoid
17186         ArrayIndexOutOfBoundsException.
17187
17188 2006-06-06  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
17189
17190         * gnu/javax/swing/text/html/htmlAttributeSet.java
17191         (getAttributeNames): Rewritten
17192
17193 2006-06-06  Chris Burdess  <dog@gnu.org>
17194
17195         * gnu/xml/transform/TransformerImpl.java: Check type of created
17196           document (more cases).
17197
17198 2006-06-06  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
17199
17200         * gnu/javax/swing/text/html/htmlAttributeSet.java
17201         (clone): New method. (copyAttributes): New method.
17202         (getResolveParent): Comment fix. (getAttribute):
17203         Rewritten. (addAttribute): Rewritten.
17204         * gnu/javax/swing/text/html/SmallHtmlAttributeSet.java:
17205         New file.
17206
17207 2006-06-06  Roman Kennke  <kennke@aicas.com>
17208
17209         PR 27522
17210         * javax/swing/JMenuBar.java
17211         (processKeyBindingHelper): Added null check to prevent NPE.
17212
17213 2006-06-06  Roman Kennke  <kennke@aicas.com>
17214
17215         * javax/swing/plaf/basic/BasicInternalFrameUI.java
17216         (ShowSystemMenuAction): New class.
17217         (installKeyboardActions): Implemented.
17218         (uninstallKeyboardActions): Implemented.
17219         * javax/swing/plaf/metal/MetalInternalFrameUI.java
17220         (installKeyboardActions): Overridden to remove showSystemMenu action.
17221
17222 2006-06-06  Chris Burdess  <dog@gnu.org>
17223
17224         * gnu/xml/transform/TransformerImpl.java: Check type of created
17225           document.
17226
17227 2006-06-06  Robert Schuster  <robertschuster@fsfe.org>
17228
17229         * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java:
17230         (getScreenDevices): Added explicit cast.
17231
17232 2006-06-06  Roman Kennke  <kennke@aicas.com>
17233
17234         * javax/swing/plaf/basic/BasicTextUI.java
17235         (installKeyboardActions): Use shared input map. Correctly
17236         install the input/action maps in the component's input/action
17237         map hierarchies.
17238         (getActionMap): New helper method for fetching an ActionMap from
17239         the UIManager or creating a default one if there is none supplied
17240         by the UIManager.
17241         (createActionMap): Add the TransferHandler's actions here. Made
17242         method private.
17243         (getInputMap): Leave out unnecessary method parameter. Load
17244         shared input map.
17245         * javax/swing/plaf/basic/SharedUIDefaults.java: New file.
17246
17247 2006-06-06  Robert Schuster  <robertschuster@fsfe.org>
17248
17249         * configure.ac: Added missing [ to expression.
17250
17251 2006-06-06  Robert Schuster  <robertschuster@fsfe.org>
17252
17253         * configure.ac: Added missing { to expression.
17254
17255 2006-06-06  Robert Schuster  <robertschuster@fsfe.org>
17256
17257         * include/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.h: Regenerated.
17258         * include/gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice.h: New file.
17259         * include/Makefile.am: Added
17260         gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice.
17261         * gnu/java/awt/peer/gtk/GdkGraphicsConfiguration.java:
17262         (GdkGraphicsConfiguration): Rewritten.
17263         (getColorModel): Rewritten.
17264         (getColorModel(int)): Rewritten.
17265         (getBounds): Rewritten.
17266         (createCompatibleVolatileImage): Implemented.
17267         * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java: Added static
17268         initializer.
17269         (getDefaultScreenDevice): Rewritten.
17270         (nativeGetDefaultScreenDevice): New method.
17271         (getScreenDevices): Rewritten.
17272         (nativeGetScreenDevices): New method.
17273         (nativeInitState): New method.
17274         * gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java: Entirely
17275         rewritten.
17276         (X11DisplayMode): New inner class.
17277         * native/jni/gtk-peer/Makefile.am: Added gdkdisplay.h and
17278         gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice.c
17279         * native/jni/gtk-peer/gdkdisplay.h: New file.
17280         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.c:
17281         (Java_gnu_java_awt_peer_gtk_GdkGraphicsEnvironment_initStaticState):
17282         New function.
17283         (Java_gnu_java_awt_peer_gtk_GdkGraphicsEnvironment_nativeInitState):
17284         New function.
17285         (Java_gnu_java_awt_peer_gtk_GdkGraphicsEnvironment
17286         _nativeGetScreenDevices):
17287         New function.
17288         (Java_gnu_java_awt_peer_gtk_GdkGraphicsEnvironment
17289         _nativeGetDefaultScreenDevice):
17290         New function.
17291         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice.c:
17292         New file.
17293         * configure.ac: Added check for Xrandr library.
17294
17295 2006-06-06  Roman Kennke  <kennke@aicas.com>
17296
17297         * javax/swing/plaf/basic/BasicTableUI.java
17298         (getMaximumSize): Don't return null. Fixed calculation of
17299         table height.
17300         (getMinimumSize): Don't return null. Fixed calculation of
17301         table height.
17302         (getPreferredSize): Fixed calculation of with and height. Added
17303         API docs.
17304         (getHeight): New helper method.
17305
17306 2006-06-06  David Gilbert  <david.gilbert@object-refinery.com>
17307
17308         * javax/swing/JComponent.java
17309         (getInputMap(int)): Throw IllegalArgumentException for unknown 
17310         condition argument, and added API docs,
17311         (getInputMap()): Added API docs.
17312
17313 2006-06-06  Robert Schuster  <robertschuster@fsfe.org>
17314
17315         * java/awt/BufferedImage.java: Added fourth 8 to bits4 field.
17316
17317 2006-06-06  David Gilbert  <david.gilbert@object-refinery.com>
17318
17319         * javax/swing/JTable.java
17320         (AccessibleJTableHeaderCell.header): New field,
17321         (AccessibleJTableHeaderCell.columnIndex): Likewise,
17322         (AccessibleJTableHeaderCell.AccessibleJTableHeaderCell()): Initialise,
17323         (AccessibleJTableHeaderCell.getColumnHeaderRenderer): New method,
17324         (AccessibleJTableHeaderCell.getAccessibleContext): Implemented,
17325         (AccessibleJTableHeaderCell.getAccessibleRole): Implemented,
17326         (AccessibleJTable.getAccessibleChild(int)): Overridden,
17327         (AccessibleJTable.getAccessibleAt): Reimplemented.
17328
17329 2006-06-05  Sven de Marothy  <sven@physto.se>
17330
17331         * include/gnu_java_awt_peer_gtk_ComponentGraphics.h
17332         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
17333         * gnu/java/awt/peer/gtk/ComponentGraphics.java
17334         (initFromVolatile): New method.
17335         * gnu/java/awt/peer/gtk/GtkVolatileImage.java
17336         * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
17337         Reimplement.
17338         * include/gnu_java_awt_peer_gtk_GtkVolatileImage.h
17339         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c
17340         (copyArea, drawVolatileImage): New methods.
17341         
17342 2006-06-05  Tania Bento  <tbento@redhat.com>
17343
17344         * javax/swing/JFrame.java
17345         (frameInit): Set background color and fixed layout parameters.
17346
17347 2006-06-05  Tom Tromey  <tromey@redhat.com>
17348
17349         * NEWS: Mention VMURLConnection.
17350
17351 2006-06-05  Lillian Angel  <langel@redhat.com>
17352
17353         * native/plugin/gcjwebplugin.cc:
17354         Added new field to keep track of initialization.
17355         (plugin_start_appletviewer): Fixed to return an error value, if
17356         an error was encountered when loading the appletviewer.
17357         (GCJ_NEW): Added call to plugin_failed if the loading of the appletviewer
17358         has failed.
17359         (plugin_failed): New helper function. Shows a warning if the appletviewer
17360         has not been installed.
17361         (NP_Initialize): Added code to make sure this function is only called
17362         once.
17363
17364 2006-06-05  Lillian Angel  <langel@redhat.com>
17365
17366         * native/plugin/Makefile.am:
17367         Fixed to use a set plugin directory in the .mozilla directory.
17368         All applet logs are now stored here, instead of /tmp.
17369         * native/plugin/gcjwebplugin.cc:
17370         Added new fields for security warning.
17371         (GCJ_NEW): Added code to generate a security warning for all pages
17372         that spawn an appletviewer. This warning asks the user if they trust
17373         the applet and if they would like to add it to a 'whitelist'. This
17374         whitelist keeps track of all the addresses the user would like
17375         to trust indefinitely.
17376         (plugin_user_trusts_documentbase): New helper function.
17377         (plugin_add_documentbase_to_whitelist): New helper function.
17378         (plugin_ask_user_about_documentbase): New helper function.
17379         (plugin_in_pipe_callback): Fixed check to determine if channel_error 
17380         has been set.
17381         (plugin_start_appletviewer): Likewise.
17382         (plugin_create_applet_tag):  Reset all fields to null after they have been
17383         freed.
17384         (plugin_send_message_to_appletviewer): Fixed all error checks to determine 
17385         if channel_error has been set.
17386         (plugin_stop_appletviewer): Likewise.
17387         (NP_Initialize): Likewise. Also, added code to determine if directory and file
17388         should be created.      
17389
17390 2006-06-05  Francis Kung  <fkung@redhat.com>
17391         
17392         PR 27507
17393         * gnu/java/awt/peer/gtk/GtkImage.java
17394         (getSource): Added check to determine if in
17395         errorLoading state.
17396         * gnu/java/awt/peer/gtk/GtkToolkit.java
17397         (createImage): Added check to prevent NPE.
17398
17399 2006-06-05  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
17400
17401         * javax/swing/text/html/HTMLEditorKit.java (HTMLFactory.create):
17402         Create the ImageView, when applicable.
17403         * gnu/javax/swing/text/html/CombinedAttributes.java,
17404         javax/swing/text/html/ImageView.java: New files.
17405
17406 2006-06-05  Roman Kennke  <kennke@aicas.com>
17407
17408         PR 27834
17409         * javax/swing/text/GapContent.java
17410         (setPositionsInRange): Compare with startIndex and endIndex
17411         rather than start and end.
17412         (dumpMarks): Only dump real marks.
17413
17414 2006-06-05  Sven de Marothy  <sven@physto.se>
17415
17416         *  gnu/java/awt/peer/gtk/ComponentGraphics.java
17417         (ComponentGraphics): Use 0,0 as clip origin.
17418         
17419 2006-06-04  Andrew John Hughes  <gnu_andrew@member.fsf.org>
17420
17421         * java/util/Formattable.java,
17422         * java/util/FormattableFlags.java,
17423         * java/util/Formatter.java:
17424         Documented.
17425
17426 2006-06-04  Tom Tromey  <tromey@redhat.com>
17427
17428         * javax/naming/Context.java (list): Genericized.
17429         (listBindings): Likewise.
17430         * javax/naming/Reference.java (addrs): Genericized.
17431         * javax/naming/InitialContext.java (myProps): Fixed type.
17432         (init): Genericized.
17433         
17434 2006-06-04  Andrew John Hughes  <gnu_andrew@member.fsf.org>
17435
17436         * java/util/DuplicateFormatFlagsException.java,
17437         * java/util/FormatFlagsConversionMismatchException.java,
17438         * java/util/FormatterClosedException.java,
17439         * java/util/IllegalFormatCodePointException.java,
17440         * java/util/IllegalFormatConversionException.java,
17441         * java/util/IllegalFormatException.java,
17442         * java/util/IllegalFormatFlagsException.java,
17443         * java/util/IllegalFormatPrecisionException.java,
17444         * java/util/IllegalFormatWidthException.java,
17445         * java/util/MissingFormatArgumentException.java,
17446         * java/util/MissingFormatWidthException.java,
17447         * java/util/UnknownFormatConversionException.java,
17448         * java/util/UnknownFormatFlagsException.java:
17449         Documented.
17450
17451 2006-06-04  Andrew John Hughes  <gnu_andrew@member.fsf.org>
17452
17453         * java/lang/System.java:
17454         (getenv()): Handle cases where split only
17455         returns an array of size 1.
17456         
17457 2006-06-04  Sven de Marothy  <sven@physto.se>
17458
17459         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
17460         (createVolatileImage): Pass peer to VolatileImage constructor.
17461         * java/awt/Component.java
17462         (createVolatileImage): Call peer method directly.
17463         
17464 2006-06-04  Sven de Marothy  <sven@physto.se>
17465
17466         * gnu/java/awt/peer/gtk/CairoSurface.java
17467         (getFlippedBuffer): New method.
17468         (getGtkImage): Renamed method.
17469         * gnu/java/awt/peer/gtk/ComponentGraphicsCopy.java
17470         * gnu/java/awt/peer/gtk/GtkVolatileImage.java
17471         Renamed getSharedImage to getGtkImage.
17472         * include/gnu_java_awt_peer_gtk_CairoSurface.h
17473         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17474         (getFlippedBuffer): New method
17475         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
17476         Avoid window casts.
17477 2006-06-04  Andrew John Hughes  <gnu_andrew@member.fsf.org>
17478
17479         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c:
17480         (drawVolatile): Add casts.
17481         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c:
17482         (getOutline): Add casts.
17483         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c:
17484         Comment out unused prototype.
17485         (getPixels): Add appropriate cast and comment out unused variable.
17486         
17487 2006-06-04  Raif S. Naffah  <raif@swiftdsl.com.au>
17488
17489         * gnu/javax/crypto/sasl/SaslUtil.java: Remove unused import.
17490         * gnu/javax/crypto/sasl/srp/SRPRegistry.java (PASSWORD_DB): Fix javadoc @link.
17491         * gnu/javax/crypto/sasl/srp/PasswordFile.java: Removed unused import.
17492         * gnu/javax/crypto/prng/CSPRNG.java (FILE_SOURCES): Fix javadoc @see.
17493         (getSystemInstance): Fix javadoc @link.
17494         (counter): Increased visibility.
17495         * gnu/javax/crypto/pad/TLS1.java: Remove unused import.
17496         * gnu/javax/crypto/pad/IPad.java: Fix javadoc @link.
17497         * gnu/javax/crypto/pad/PKCS1_V1_5.java (PKCS1_V1_5): Likewise.
17498         * gnu/javax/crypto/pad/PKCS7.java (PKCS7): Likewise.
17499         * gnu/javax/crypto/pad/TBC.java (TBC): Likewise.
17500         * gnu/javax/crypto/mode/CTR.java: Remove unused import.
17501         * gnu/javax/crypto/mode/BaseMode.java (defaultBlockSize): Fix javadoc @see.
17502         * gnu/javax/crypto/key/dh/GnuDHPrivateKey.java (getEncoded): Fix javadoc @see.
17503         * gnu/javax/crypto/jce/spec/TMMHParameterSpec.java: Fix javadoc @link.
17504         * gnu/javax/crypto/keyring/AuthenticatedEntry.java: Remove unused imports.
17505         * gnu/javax/crypto/keyring/CertificateEntry.java: Likewise.
17506         * gnu/javax/crypto/keyring/CertPathEntry.java: Likewise.
17507         * gnu/javax/crypto/keyring/EncryptedEntry.java: Likewise.
17508         * gnu/javax/crypto/keyring/PublicKeyEntry.java: Likewise.
17509         * gnu/javax/crypto/mac/OMAC.java: Likewise.
17510         * gnu/javax/crypto/jce/key/AnubisSecretKeyFactoryImpl.java: Likewise.
17511         * gnu/javax/crypto/jce/key/BlowfishSecretKeyFactoryImpl.java: Likewise.
17512         * gnu/javax/crypto/jce/key/Cast5SecretKeyFactoryImpl.java: Likewise.
17513         * gnu/javax/crypto/jce/key/KhazadSecretKeyFactoryImpl.java: Likewise.
17514         * gnu/javax/crypto/jce/key/RijndaelSecretKeyFactoryImpl.java: Likewise.
17515         * gnu/javax/crypto/jce/key/SerpentSecretKeyFactoryImpl.java: Likewise.
17516         * gnu/javax/crypto/jce/key/SquareSecretKeyFactoryImpl.java: Likewise.
17517         * gnu/javax/crypto/jce/key/TwofishSecretKeyFactoryImpl.java: Likewise.
17518         * gnu/javax/crypto/jce/mac/OMacImpl.java: Likewise.
17519         * gnu/javax/crypto/jce/prng/CSPRNGSpi.java: Likewise.
17520         * gnu/javax/crypto/cipher/IBlockCipherSpi.java: Fix javadoc @link.
17521         * gnu/javax/crypto/jce/cipher/CipherAdapter.java (CipherAdapter): Likewise.
17522         * gnu/javax/crypto/cipher/BaseCipher.java: Remove unused import.
17523         * gnu/javax/crypto/assembly/Cascade.java: Fix javadoc @link.
17524         * gnu/javax/crypto/assembly/Direction.java: Likewise.
17525         * gnu/javax/crypto/assembly/Transformer.java: Likewise.
17526
17527 2006-06-04  Raif S. Naffah  <raif@swiftdsl.com.au>
17528
17529         * gnu/java/security/PolicyFile.java: Updated copyright year.
17530         (logger): Increased visibility.
17531         * gnu/java/security/x509/Util.java: Updated copyright year.
17532         (hexDump): Fix javadoc @link.
17533         * gnu/java/security/x509/ext/GeneralNames.java: Updated copyright year.
17534         Removed unused import.
17535         * gnu/java/security/sig/rsa/RSAPSSSignatureRawCodec.java: Fix javadoc @link.
17536         * gnu/java/security/sig/ISignature.java (SOURCE_OF_RANDOMNESS): Likewise.
17537         * gnu/java/security/util/ExpirableObject.java: Likewise.
17538         (destroy): Likewise.
17539         * gnu/java/security/util/SimpleList.java (SimpleList): Likewise.
17540         * gnu/java/security/provider/PKIXCertPathValidatorImpl.java:
17541         Updated copyright year.
17542         (checkCRL): Fix javadoc @param.
17543
17544 2006-06-03  Andrew John Hughes  <gnu_andrew@member.fsf.org>
17545
17546         * java/lang/annotation/IncompleteAnnotationException.java:
17547         Documented.
17548
17549 2006-06-03  Andrew John Hughes  <gnu_andrew@member.fsf.org>
17550
17551         * java/lang/ProcessBuilder.java:
17552         Documented.
17553         (environment): Create as a copy.
17554         * java/lang/System.java:
17555         (EnvironmentMap.EnvironmentMap(Map<String,String>)):
17556         New constructor.
17557         (EnvironmentMap.put(String,String)): Override superclass
17558         method with checks for nulls and non-Strings.
17559         
17560 2006-06-02  Sven de Marothy  <sven@physto.se>
17561
17562         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
17563         (cairoPreserveClip, cairoResetClip): New methods.
17564         (setClip, clip): Reimplement.
17565         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
17566         * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h
17567         (cairoPreserveClip, cairoResetClip): New methods.
17568         
17569 2006-06-02  Sven de Marothy  <sven@physto.se>
17570
17571         * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
17572         * include/gnu_java_awt_peer_gtk_GtkVolatileImage.h
17573         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c
17574         New files.
17575         * gnu/java/awt/peer/gtk/ComponentGraphics.java
17576         (drawImage): Overloads for VolatileImage drawing.
17577         (drawVolatile): New method.
17578         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
17579         * include/gnu_java_awt_peer_gtk_ComponentGraphics.h
17580         (drawVolatile): New method.
17581         * gnu/java/awt/peer/gtk/GtkVolatileImage.java
17582         Unstub implementation.
17583         * include/Makefile.am
17584         * native/jni/gtk-peer/Makefile.am
17585         Add new files.
17586         * native/jni/gtk-peer/gtkpeer.h
17587         New prototype.
17588         
17589 2006-06-03  Roman Kennke  <kennke@aicas.com>
17590
17591         PR 27418
17592         * javax/swing/plaf/basic/BasicTextUI.java
17593         (damageRange): Added null check to avoid NPE.
17594
17595 2006-06-03  Roman Kennke  <kennke@aicas.com>
17596
17597         * javax/swing/text/PlainView.java
17598         (updateDamage): Check for valid longestLine and initialize if
17599         necessary.
17600
17601 2006-06-03  Mark Wielaard  <mark@klomp.org>
17602
17603         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c: Use C
17604         comments, not C++.
17605
17606 2006-06-02  Sven de Marothy  <sven@physto.se>
17607
17608         PR 27879 
17609         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
17610         (copyArea): Implement.
17611         (copyAreaImpl, getRealBounds): New methods.
17612         * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java
17613         * gnu/java/awt/peer/gtk/ComponentGraphics.java
17614         * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
17615         (copyAreaImpl, getRealBounds): Implement.
17616         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17617         (nativeCopyArea): Reimplement.  
17618         
17619 2006-06-02  Andreas Tobler  <a.tobler@schweiz.ch>
17620
17621         * configure.ac: Add -lX11 and -lXtst to XTEST_LIBS.
17622         (XTEST_LIBS): New, substitute.
17623         * native/jni/gtk-peer/Makefile.am (AM_LDFLAGS): Add XTEST_LIBS.
17624
17625 2006-06-02  Roman Kennke <kennke@aicas.com>
17626
17627         PR 26738
17628         * javax/swing/text/PlainView.java
17629         (updateDamage): Rewritten for correct repainting and revalidating.
17630         (findLongestLine): New helper method.
17631         (getLineLength): New helper method.
17632
17633 2006-06-02  Sven de Marothy  <sven@physto.se>
17634
17635         * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
17636         * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java
17637         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17638         (nativeCopyArea): Change stride parameter to use # of ints.
17639         (setPixels): Add checks.
17640         * gnu/java/awt/peer/gtk/ComponentGraphics.java
17641         (ComponentGraphics): Set background, clip.
17642         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
17643         (Cairographics2D): Don't set clip.
17644         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
17645         Add flush.
17646
17647 2006-06-02  Lillian Angel  <langel@redhat.com>
17648
17649         PR 24458
17650         * java/awt/DefaultKeyboardFocusManager.java
17651         (dispatchEvent): Fixed to getFocusOwner, if that fails it tries
17652         to get the focused window.
17653
17654 2006-06-01  Miriam Schuster  <schmir11@web.de>
17655
17656         * Makefile.am: Add fallback if "mozilla-plugin" is not available.
17657         Fallbacks used: "firefox-plugin" and "xulrunner-plugin".
17658
17659 2006-06-02  Roman Kennke <kennke@aicas.com>
17660
17661         * javax/swing/JTable.java
17662         (columnSelectionChanged): Don't return when there's only one
17663         column (might still need repainting). Correctly calculate
17664         repaint rectangle.
17665         (valueChanged): Use return value of SwingUtilities.computeUnion
17666         as dirty region.
17667
17668 2006-06-01  Keith Seitz  <keiths@redhat.com>
17669
17670         From Martin Platter  <motse@complang.tuwien.ac.at>:
17671         * gnu/classpath/jdwp/processor/EventRequestCommandSet.java
17672         (executeSet): Fix buffer underflow reading reference ID.
17673         * gnu/classpath/jdwp/processor/ThreadGroupReferenceCommandSet.java
17674         (executeParent): Fix  NPE if ThreadGroup is top-level ThreadGroup. 
17675         * gnu/classpath/jdwp/processor/ClassTypeCommandSet.java
17676         (executeSuperclass): Handle case of Object with ID zero.
17677
17678 2006-06-02  Raif S. Naffah  <raif@swiftdsl.com.au>
17679
17680         * tools/gnu/classpath/tools/keytool/StorePasswdCmd.java: Fixed typo.
17681         * tools/gnu/classpath/tools/keytool/CertReqCmd.java: Likewise.
17682         * tools/gnu/classpath/tools/keytool/DeleteCmd.java: Likewise.
17683         * tools/gnu/classpath/tools/keytool/ExportCmd.java: Likewise.
17684         * tools/gnu/classpath/tools/keytool/GenKeyCmd.java: Likewise.
17685         * tools/gnu/classpath/tools/keytool/IdentityDBCmd.java: Likewise.
17686         * tools/gnu/classpath/tools/keytool/ImportCmd.java: Likewise.
17687         * tools/gnu/classpath/tools/keytool/KeyCloneCmd.java: Likewise.
17688         * tools/gnu/classpath/tools/keytool/KeyPasswdCmd.java: Likewise.
17689         * tools/gnu/classpath/tools/keytool/ListCmd.java: Likewise.
17690         * tools/gnu/classpath/tools/keytool/SelfCertCmd.java: Likewise.
17691
17692 2006-06-02  Raif S. Naffah  <raif@swiftdsl.com.au>
17693
17694         * tools/gnu/classpath/tools/keytool/Command.java (shutdownThread): New field.
17695         (Command): Add the shutdown hook.
17696         (doCommand): Remove the shutdown hook.
17697         (ShutdownHook): New class.
17698
17699 2006-06-02  Raif S. Naffah  <raif@swiftdsl.com.au>
17700
17701         * tools/jarsigner.in: Use @VM_BINARY@.
17702         * tools/keytool.in: Likewise.
17703
17704 2006-06-01  Sven de Marothy  <sven@physto.se>
17705
17706         * gnu/java/awt/peer/gtk/CairoGraphics2D.java:
17707         (setColor): Update the cairo paint.
17708
17709 2006-06-01  Mark Wielaard  <mark@klomp.org>
17710
17711         * java/util/logging/LogManager.java (createInstance): Always add
17712         original exception on warning.
17713
17714 2006-06-01  Lillian Angel  <langel@redhat.com>
17715
17716         * tools/gnu/classpath/tools/appletviewer/AppletTag.java
17717         (prependCodebase): Fixed check. No dirname was ever considered to 
17718         be a file, so every applet fell into the if-statement causing a lot
17719         of classloading problems with the applets.
17720
17721 2006-06-01  Sven de Marothy  <sven@physto.se>
17722
17723         Patch submitted by Boris Dusek.
17724         * native/jni/qt-peer/qtmenupeer.cpp
17725         Fix segfault
17726
17727 2006-06-01  Roman Kennke <kennke@aicas.com>
17728
17729         * javax/swing/JTable.java
17730         (AccessibleJTableCell.getAccessibleRow): Added comment explaining
17731         why the behaviour is like it is.
17732         (AccessibleJTableCell.getAccessibleStateSet): Implemented.
17733         (AccessibleJTableHeader): New inner class.
17734         (AccessibleJTableHeaderCell): New inner class.
17735         (AccessibleJTable.lastSelectedRow): New field.
17736         (AccessibleJTable.lastSelectedColumn): New field.
17737         (AccessibleJTable.caption): New field.
17738         (AccessibleJTable.summary): New field.
17739         (AccessibleJTable.rowDescriptions): New field.
17740         (AccessibleJTable.columnDescriptions): New field.
17741         (AccessibleJTable): Initialize lastSelectedRow and lastSelectedColumn.
17742         (AccessibleJTable.getAccessibleSelection(int)): Implemented.
17743         (AccessibleJTable.isAccessibleChildSelected): Implemented.
17744         (AccessibleJTable.addAccessibleSelection): Implemented.
17745         (AccessibleJTable.removeAccessibleSelection): Implemented.
17746         (AccessibleJTable.clearAccessibleSelection): Implemented.
17747         (AccessibleJTable.selectAllAccessibleSelection): Implemented.
17748         (AccessibleJTable.valueChange): Implemented.
17749         (AccessibleJTable.tableRowsInserted): Implemented.
17750         (AccessibleJTable.tableRowsDeleted): Implemented.
17751         (AccessibleJTable.handleRowChange): New helper method.
17752         (AccessibleJTable.columnAdded): Implemented.
17753         (AccessibleJTable.columnMarginChanged): Implemented.
17754         (AccessibleJTable.columnMoved): Implemented.
17755         (AccessibleJTable.columnRemoved): Implemented.
17756         (AccessibleJTable.columnSelectionChanged): Implemented.
17757         (AccessibleJTable.handleColumnChange): New helper method.
17758         (AccessibleJTable.editingCanceled): Implemented.
17759         (AccessibleJTable.editingStopped): Implemented.
17760         (AccessibleJTable.getAccessibleRow): Implemented.
17761         (AccessibleJTable.getAccessibleColumn): Implemented.
17762         (AccessibleJTable.getAccessibleIndex): Implemented.
17763         (AccessibleJTable.getAccessibleCaption): Implemented.
17764         (AccessibleJTable.setAccessibleCaption): Implemented.
17765         (AccessibleJTable.getAccessibleSummary): Implemented.
17766         (AccessibleJTable.setAccessibleSummary): Implemented.
17767         (AccessibleJTable.getAccessibleRowCount): Implemented.
17768         (AccessibleJTable.getAccessibleColumnCount): Implemented.
17769         (AccessibleJTable.getAccessibleAt): Implemented.
17770         (AccessibleJTable.getAccessibleRowExtentAt): Implemented.
17771         (AccessibleJTable.getAccessibleColumnExtentAt): Implemented.
17772         (AccessibleJTable.getAccessibleRowHeader): Implemented.
17773         (AccessibleJTable.setAccessibleRowHeader): Implemented.
17774         (AccessibleJTable.getAccessibleColumnHeader): Implemented.
17775         (AccessibleJTable.setAccessibleColumnHeader): Implemented.
17776         (AccessibleJTable.getAccessibleRowDescription): Implemented.
17777         (AccessibleJTable.setAccessibleRowDescription): Implemented.
17778         (AccessibleJTable.getAccessibleColumnDescription): Implemented.
17779         (AccessibleJTable.setAccessibleColumnDescription): Implemented.
17780         (AccessibleJTable.isAccessibleSelected): Implemented.
17781         (AccessibleJTable.isAccessibleRowSelected): Implemented.
17782         (AccessibleJTable.isAccessibleColumnSelected): Implemented.
17783         (AccessibleJTable.getSelectedAccessibleRows): Implemented.
17784         (AccessibleJTable.getSelectedAccessibleColumns): Implemented.
17785         (getAccessibleContext): Register listeners for the accessibility
17786         class on the JTable.
17787
17788 2006-06-01  Sven de Marothy  <sven@physto.se>
17789
17790         * gnu/java/awt/peer/gtk/CairoGraphics2D.java:
17791         (setPaint): Scale +1 pixel larger.
17792
17793 2006-06-01  Sven de Marothy  <sven@physto.se>
17794
17795         PR 27854
17796         * gnu/java/awt/Buffers.java (getData): Reimplement.
17797         * gnu/java/awt/peer/gtk/CairoSurface.java
17798         (getElem, setElem): Call native methods.
17799
17800 2006-06-01  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
17801
17802         * gnu/javax/swing/text/html/ImageViewIconFactory.java: New file.
17803
17804 2006-06-01  Sven de Marothy  <sven@physto.se>
17805
17806         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
17807         (drawImage): Check for zero size.
17808         * gnu/java/awt/peer/gtk/GdkTextLayout.java:
17809         (setFont): Declare new native method.
17810         (GdkTextLayout): Read some attributes.
17811         * include/gnu_java_awt_peer_gtk_GdkTextLayout.h
17812         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c
17813         (setFont): New native method.
17814         
17815 2006-06-01  Sven de Marothy  <sven@physto.se>
17816
17817         * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
17818         (updateBufferedImage): Fix some errors.
17819
17820 2006-06-01  David Gilbert  <david.gilbert@object-refinery.com>
17821
17822         * javax/swing/plaf/basic/BasicButtonUI.java: Minor source code style 
17823         fixes,
17824         * javax/swing/plaf/basic/BasicDirectoryModel.java: Likewise,
17825         * javax/swing/plaf/basic/BasicFileChooserUI.java: Likewise,
17826         * javax/swing/plaf/basic/BasicIconFactory.java: Likewise,
17827         * javax/swing/plaf/basic/BasicListUI.java: Likewise,
17828         * javax/swing/plaf/basic/BasicOptionPaneUI.java: Likewise,
17829         * javax/swing/plaf/basic/BasicRootPaneUI.java: Likewise,
17830         * javax/swing/plaf/basic/BasicScrollPaneUI.java: Likewise,
17831         * javax/swing/plaf/basic/BasicSpinnerUI.java: Likewise,
17832         * javax/swing/plaf/basic/BasicTabbedPaneUI.java: Likewise,
17833         * javax/swing/plaf/basic/BasicTextAreaUI.java: Likewise.
17834         
17835 2006-06-01  David Gilbert  <david.gilbert@object-refinery.com>
17836
17837         * javax/swing/JComboBox.java: Minor source code formatting fixes,
17838         * javax/swing/JEditorPane.java: Likewise,
17839         * javax/swing/JFormattedTextField.java: Likewise,
17840         * javax/swing/JLayeredPane.java: Likewise,
17841         * javax/swing/JScrollPane.java: Likewise,
17842         * javax/swing/JSlider.java: Likewise,
17843         * javax/swing/JSpinner.java: Likewise,
17844         * javax/swing/JTree.java: Likewise,
17845         * javax/swing/JViewport.java: Likewise,
17846         * javax/swing/UIDefaults.java: Likewise,
17847         * javax/swing/UIManager.java: Likewise.
17848         
17849 2006-06-01  Sven de Marothy  <sven@physto.se>
17850
17851         * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
17852         (BufferedImageGraphics): Cache surfaces.
17853         (updateBufferedImage): Copy directly for certain color models.
17854         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
17855         (drawImage): Reimplement.
17856
17857 2006-06-01  Sven de Marothy  <sven@physto.se>
17858
17859         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17860         (setPixels): Don't swap, correct size.
17861
17862 2006-05-31  Anthony Green  <green@redhat.com>
17863
17864         PR 27828
17865         * java/net/InetSocketAddress.java: Defer getting the host
17866         name until somebody calls InetSocketAddress.getHostName().
17867         Fix "represenation" typo.
17868
17869 2006-06-01  Sven de Marothy  <sven@physto.se>
17870
17871         * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
17872         (updateBufferedImage): Simplify.
17873         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17874         (getPixels): Don't swap.
17875
17876 2006-06-01  Sven de Marothy  <sven@physto.se>
17877
17878         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
17879         (setGradient): Reimplement.
17880         
17881 2006-06-01  Andreas Tobler  <a.tobler@schweiz.ch>
17882
17883         * native/jni/gtk-peer/cairographics2d.h: Rename/prefix function
17884         CairoGraphics2D_getCairoT to cp_gtk_get_cairo_t correctly.
17885         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17886         (Java_gnu_java_awt_peer_gtk_CairoSurface_drawSurface): Rename function
17887         CairoGraphics2D_getCairoT to cp_gtk_get_cairo_t.
17888         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c
17889         (Java_gnu_java_awt_peer_gtk_GdkTextLayout_cairoDrawGdkTextLayout):
17890         Likewise.
17891
17892 2006-05-31  David Gilbert  <david.gilbert@object-refinery.com>
17893
17894         * javax/swing/table/JTableHeader.java
17895         (getColumnHeaderRenderer): New method,
17896         (getAccessibleColumnHeaderRenderer): Delegate part to new
17897         getColumnHeaderRenderer() method,
17898         (getLocale): Implemented.
17899
17900 2006-05-31  Andreas Tobler  <a.tobler@schweiz.ch>
17901
17902         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
17903         (cp_gtk_grab_current_drawable): Rename
17904         cp_java_awt_peer_gtk_ComponentGraphics_grab_current_drawable to
17905         cp_gtk_grab_current_drawable, remove static declaration.
17906         (Java_gnu_java_awt_peer_gtk_ComponentGraphics_initState): Renamed above
17907         function.
17908         (Java_gnu_java_awt_peer_gtk_ComponentGraphics_copyAreaNative): Likewise.
17909         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphicsCopy.c:
17910         Remove prototype of
17911         cp_java_awt_peer_gtk_ComponentGraphics_grab_current_drawable.
17912         (Java_gnu_java_awt_peer_gtk_ComponentGraphicsCopy_getPixbuf): Rename
17913         function.
17914         (Java_gnu_java_awt_peer_gtk_ComponentGraphicsCopy_copyPixbuf): Likewise.
17915         * native/jni/gtk-peer/gtkpeer.h: Add prototype for
17916         cp_gtk_grab_current_drawable here.
17917
17918 2006-05-31  Sven de Marothy  <sven@physto.se>
17919
17920         Should fix PR 27835
17921         * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
17922         (updateBufferedImage): Keep within image bounds.
17923
17924 2006-05-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
17925             Andreas Tobler  <a.tobler@schweiz.ch>
17926
17927         * configure.ac: Check for libXrender when the GTK peers are
17928         enabled, and set HAVE_XRENDER accordingly. Add -lXrender to
17929         X_EXTRA_LIBS.
17930         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
17931         (Java_gnu_java_awt_peer_gtk_ComponentGraphics_hasXRender)
17932         [HAVE_XRENDER]: Call XRenderQueryExtension conditionally.
17933
17934 2006-05-31  Lillian Angel  <langel@redhat.com>
17935
17936         * javax/swing/plaf/basic/BasicProgressBarUI.java
17937         (paintString): Implemented to paint the string vertically.
17938
17939 2006-05-31  David Gilbert  <david.gilbert@object-refinery.com>
17940
17941         * javax/swing/JTable.java
17942         (AccessibleJTable.AccessibleJTable()): Check for null editor,
17943         (AccessibleJTable.getAccessibleRole()): Overridden to return correct 
17944         value,
17945         (AccessibleJTable.getAccessibleTable()): Likewise,
17946         (getAccessibleContext): Create new context if required.
17947
17948 2006-05-31  Roman Kennke <kennke@aicas.com>
17949
17950         * javax/swing/JTabbedPane.java
17951         (AccessibleJTabbedPane.stateChanged): Implemented.
17952         (Page.getAccessibleStateSet): Implemented.
17953         (Page.getAccessibleIndexInParent): Implemented.
17954         (getAccessibleContext): Add AccessibleJTabbedPane object
17955         as ChangeListener to the JTabbedPane.
17956
17957 2006-05-31  Roman Kennke <kennke@aicas.com>
17958
17959         * javax/swing/JMenuItem.java
17960         (getAccessibleContext): Register accessible object as ChangeListener
17961         to the JMenuItem.
17962         (AccessibleJMenuItem.armed): New field.
17963         (AccessibleJMenuItem.focusOwner): New field.
17964         (AccessibleJMenuItem.pressed): New field.
17965         (AccessibleJMenuItem.selected): New field.
17966         (stateChanged): Implemented.
17967
17968 2006-05-31  David Gilbert  <david.gilbert@object-refinery.com>
17969
17970         * javax/swing/ListSelectionModel.java: Added API docs all over.
17971
17972 2006-05-31  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
17973
17974         * examples/gnu/classpath/examples/swing/FillRect.java 
17975         (paintComponent): Optionally paint lines rather than rectangles.
17976         (createContent): Added option to test line painting.
17977
17978 2006-05-31  David Gilbert  <david.gilbert@object-refinery.com>
17979
17980         * javax/swing/event/EventListenerList.java
17981         (getListenerList): Updated API docs.
17982
17983 2006-05-30  Sven de Marothy  <sven@physto.se>
17984
17985         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
17986         (drawImage): Clip scaled image to dest rectangle.
17987
17988 2006-05-30  Sven de Marothy  <sven@physto.se>
17989
17990         * gnu/java/awt/peer/gtk/CairoSurface.java:
17991         (CairoSurface): Convert pixels properly.
17992         * gnu/java/awt/peer/gtk/ComponentGraphics.java
17993         Remove commented-out lines.
17994
17995 2006-05-30  Sven de Marothy  <sven@physto.se>
17996
17997         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
17998         (drawImage): Use Toolkit to convert to BufferedImage.
17999         * gnu/java/awt/peer/gtk/CairoSurface.java
18000         (CairoSurface(GtkImage)): New Constructor.
18001         (getBufferedImage): New method.
18002         * gnu/java/awt/peer/gtk/ComponentGraphics.java
18003         Don't fill background - FIXME.
18004         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
18005         Remove unused methods.
18006         * gnu/java/awt/peer/gtk/GtkImage.java:
18007         (pixbuflock): New field. Methods change to use this lock.
18008         * gnu/java/awt/peer/gtk/GtkToolkit.java
18009         (createImage): Use Cairo-backed surfaces via GtkImage instead of 
18010         GtkPixbufDecoder.
18011         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
18012         (setPixels): Correct length in bytes.
18013
18014 2006-05-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
18015
18016         * gnu/java/awt/peer/gtk/CairoGraphics2D.java (static): Call
18017         System.loadLibrary unconditionally.
18018         * gnu/java/awt/peer/gtk/GdkFontPeer.java: Likewise.
18019         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java: Likewise.
18020         * gnu/java/awt/peer/gtk/GdkTextLayout.java: Likewise.
18021         * gnu/java/awt/peer/gtk/GtkToolkit.java: Likewise.
18022
18023 2006-05-30  Mark Wielaard  <mark@klomp.org>
18024
18025         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
18026         (Java_gnu_java_awt_peer_gtk_ComponentGraphics_copyAreaNative):
18027         Mark unused parameters, remove unused variables.
18028
18029 2006-05-30  Sven de Marothy  <sven@physto.se>
18030
18031         * gnu/java/awt/peer/gtk/ComponentGraphics.java
18032         (copyArea): Implemented.
18033         * include/gnu_java_awt_peer_gtk_ComponentGraphics.h
18034         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c:
18035         (copyAreaNative): New method.
18036
18037 2006-05-30  Andreas Tobler  <a.tobler@schweiz.ch>
18038
18039         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
18040         (Java_gnu_java_awt_peer_gtk_CairoSurface_getPixels): Define i only
18041         for non big endian systems.
18042         (Java_gnu_java_awt_peer_gtk_CairoSurface_setPixels): Likewise.
18043
18044 2006-05-30  Roman Kennke <kennke@aicas.com>
18045
18046         * gnu/java/awt/java2d/TexturePaintContext.java: New file.
18047         * java/awt/TexturePaint.java
18048         (createContext): Implemented.
18049
18050 2006-05-30  Robert Schuster  <robertschuster@fsfe.org>
18051
18052         * javax/swing/table/DefaultTableMode.java: Initialize dataVector
18053         field early.
18054
18055 2006-05-30  Robert Schuster  <robertschuster@fsfe.org>
18056
18057         * java/awt/Container.java:
18058         (removeAll): Reimplemented, added note.
18059
18060 2006-05-30  Robert Schuster  <robertschuster@fsfe.org>
18061
18062         * java/awt/Container.java:
18063         (removeAll): Implemented different removal mechanism, added note.
18064
18065 2006-05-30  Lillian Angel  <langel@redhat.com>
18066
18067         PR 27785
18068         * java/awt/Component.java:
18069         (translateEvent): Added handling to translate WindowEvents
18070         * java/awt/Window.java:
18071         Removed unneeded imports.
18072
18073 2006-05-30  Mark Wielaard  <mark@klomp.org>
18074
18075         * native/jni/gtk-peer/Makefile.am (libgtkpeer_la_SOURCES): Add
18076         cairographics2d.h.
18077
18078 2006-05-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
18079
18080         * gnu/java/awt/peer/gtk/GtkImage.java: Fix constructor javadoc.
18081
18082 2006-05-29  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
18083
18084         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
18085         (clearRect): Do not reuse the fg field, call updateColor.
18086         (drawRaster): Likewise.
18087         (setColor): Call updateColor.
18088         (updateColor): New method.
18089
18090 2006-05-30  Mark Wielaard  <mark@klomp.org>
18091
18092         * native/jni/classpath/jcl.h (JLONG_TO_PTR): New macro.
18093         (PTR_TO_JLONG): Likewise.
18094         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
18095         (getPointer): Use new conversion macros.
18096         (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_init): Likewise.
18097         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
18098         (Java_gnu_java_awt_peer_gtk_CairoSurface_newCairoContext):
18099         Likewise.
18100         (setNativeObject): Likewise.
18101         (getNativeObject): Likewise.
18102         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
18103         (cp_java_awt_peer_gtk_ComponentGraphics_grab_current_drawable):
18104         Mark static.
18105         (Java_gnu_java_awt_peer_gtk_ComponentGraphics_initState):
18106         Correctly cast XID and pointer values.
18107         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphicsCopy.c
18108         (Java_gnu_java_awt_peer_gtk_ComponentGraphicsCopy_getPixbuf):
18109         Mark unused variables.
18110         (Java_gnu_java_awt_peer_gtk_ComponentGraphicsCopy_copyPixbuf):
18111         Likewise.
18112         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c
18113         (Java_gnu_java_awt_peer_gtk_GdkTextLayout_cairoDrawGdkTextLayout):
18114         Remove unused cairographics2d struct.
18115         (_moveTo, _lineTo, _quadTo, _curveTo): Mark arguments const.
18116         (Java_gnu_java_awt_peer_gtk_GtkImage_initFromBuffer):
18117         Use new conversion macros.
18118         * native/jni/midi-dssi/dssi_data.h: Move conversion macros to jcl.h.
18119
18120 2006-05-30  Mark Wielaard  <mark@klomp.org>
18121
18122         * include/Makefile.am (gnu_java_nio_VMChannel.h): Added.
18123
18124 2006-05-29  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
18125
18126         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
18127         (copy): Do not reuse the fd field.
18128         (setColor): Do not set the color if the parameter
18129         matches fd field.
18130         (translate(double, double): Rewritten to use
18131         AffineTransform.translate. 
18132
18133 2006-05-30  Sven de Marothy  <sven@physto.se>
18134
18135         * gnu/java/awt/peer/gtk/ComponentGraphicsCopy.java
18136         * include/gnu_java_awt_peer_gtk_ComponentGraphicsCopy.h
18137         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphicsCopy.c
18138         New files.
18139         * include/Makefile.am
18140         * native/jni/gtk-peer/Makefile.am
18141         Add new files.
18142         * gnu/java/awt/peer/gtk/CairoSurface.java
18143         (getSharedGtkImage): New method.
18144         * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java
18145         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
18146         Fix copyArea.
18147         * gnu/java/awt/peer/gtk/ComponentGraphics.java
18148         Support a non-xrender context.
18149         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
18150         Plug memory leak.
18151         * gnu/java/awt/peer/gtk/GtkImage.java
18152         * include/gnu_java_awt_peer_gtk_GtkImage.h
18153         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c
18154         (initFromBuffer): New method.   
18155         * native/jni/gtk-peer/gtkpeer.h: 
18156         Remove declarations of previouslyremoved methods.
18157
18158 2006-05-29  Thomas Fitzsimmons  <fitzsim@redhat.com>
18159
18160         * tools/Makefile.am [FOUND_CACAO] (LIBJVM): Define to -ljvm.
18161
18162 2006-05-29  Mark Wielaard  <mark@klomp.org>
18163
18164         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
18165         (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_init): Mark unused
18166         arguments.
18167         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
18168         (Java_gnu_java_awt_peer_gtk_CairoSurface_setPixels): Declare size
18169         early. Remove unused return statement in void function.
18170         (Java_gnu_java_awt_peer_gtk_CairoSurface_newCairoContext): Declare
18171         ptr early.
18172         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
18173         (Java_gnu_java_awt_peer_gtk_ComponentGraphics_hasXRender): Mark
18174         unused arguments.
18175         (Java_gnu_java_awt_peer_gtk_ComponentGraphics_initState): Likewise.
18176         (Java_gnu_java_awt_peer_gtk_ComponentGraphics_start_1gdk_1drawing):
18177         Likewise.
18178         (Java_gnu_java_awt_peer_gtk_ComponentGraphics_end_1gdk_1drawing):
18179         Likewise.
18180
18181 2006-05-29  Sven de Marothy  <sven@physto.se>
18182
18183         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
18184         (setPixels): Remove superfluous return statement.       
18185
18186 2006-05-29  Sven de Marothy  <sven@physto.se>
18187
18188         * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
18189         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
18190         * gnu/java/awt/peer/gtk/CairoSurface.java
18191         * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java
18192         * gnu/java/awt/peer/gtk/ComponentGraphics.java
18193         * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h
18194         * include/gnu_java_awt_peer_gtk_CairoSurface.h
18195         * include/gnu_java_awt_peer_gtk_ComponentGraphics.h
18196         * native/jni/gtk-peer/cairographics2d.h
18197         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
18198         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
18199         New files.
18200
18201         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
18202         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
18203         * include/gnu_java_awt_peer_gtk_GdkGraphics2D.h
18204         Removed
18205
18206         * include/gnu_java_awt_peer_gtk_GdkFontPeer.h
18207         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
18208         * gnu/java/awt/peer/gtk/GdkFontPeer.java
18209         (releasePeerGraphicsResource): Moved to Font peer class.
18210
18211         * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java
18212         (createGraphics): Use new context classes.
18213
18214         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
18215         Use native BufferedImages where possible.
18216
18217         * gnu/java/awt/peer/gtk/GdkTextLayout.java
18218         * include/gnu_java_awt_peer_gtk_GdkTextLayout.h
18219         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c
18220         Move GdkGraphics2D.drawGdkTextLayout to the GdkTextLayout class,
18221         renamed to cairoDrawGdkTextLayout.
18222         
18223         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
18224         (getGraphics): Use ComponentGraphics context.
18225         (createImage): Use native BufferedImage.
18226         
18227         * gnu/java/awt/peer/gtk/GtkImage.java:
18228         * include/gnu_java_awt_peer_gtk_GtkImage.h
18229         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c
18230         Remove pixmap support. (GtkImage(int, int) constructor, getGraphics)
18231         Remove drawing methods.
18232                 
18233         * gnu/java/awt/print/JavaPrinterGraphics.java:
18234         Use CairoSurface instead of GtkImage.
18235         
18236         * include/Makefile.am
18237         * native/jni/gtk-peer/Makefile.am
18238         Update for new files.
18239
18240         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c
18241         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFramePeer.c
18242         Remove superfluous GtkImage code for GdkPixmaps. 
18243
18244         * native/jni/gtk-peer/gtkpeer.h
18245         Remove graphics2d structure.
18246         
18247 2006-05-29  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
18248
18249         * gnu/java/awt/peer/gtk/GdkGraphics2D.java (copying constructor):
18250         Do not reuse fg in the constructor.
18251
18252 2006-05-29  Carsten Neumann  <cn-develop@gmx.net>
18253
18254         * java/io/ObjectStreamConstants.java: Added API docs.
18255
18256 2006-05-29  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
18257
18258         * gnu/java/awt/peer/gtk/GdkGraphics2D.java (setColor):
18259         Take no action if this color is already set.
18260
18261 2006-05-29  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
18262
18263         * gnu/java/awt/peer/gtk/GdkGraphics2D.java (translate):
18264         Rewritten. 
18265         * examples/gnu/classpath/examples/swing/FillRect.java (paintComponent):
18266         Optionally paint with translation. (createContent): Added option
18267         to test painting with translation
18268
18269 2006-05-29  Raif S. Naffah  <raif@swiftdsl.com.au>
18270
18271         * java/util/logging/FileHandler.java (FileHandler): Set the instance field
18272         pattern to the default value when null.
18273         Pass field pattern, and not parameter with same name to createFileStream.
18274
18275 2006-05-28  Andrew John Hughes  <gnu_andrew@member.fsf.org>
18276
18277         * gnu/java/lang/management/OperatingSystemMXBeanImpl.java:
18278         New class implementing the OS bean.
18279         * gnu/java/lang/management/package.html:
18280         New file to document the gnu.java.lang.management package.
18281         * java/lang/management/ManagementFactory.java:
18282         New class to provide access to the OS bean.
18283         * java/lang/management/OperatingSystemMXBean.java:
18284         New interface.
18285         * java/lang/management/package.html:
18286         New file to document the java.lang.management package.
18287         
18288 2006-05-28  Raif S. Naffah  <raif@swiftdsl.com.au>
18289
18290         * tools/gnu/classpath/tools/keytool/ImportCmd.java (GKR): New constant.
18291         (JKS): Likewise.
18292         (LIB): Likewise.
18293         (SECURITY): Likewise.
18294         (CACERTS): Likewise.
18295         (CACERTS_GKR): Likewise.
18296         (gkrCaCertsPathName): New field.
18297         (jksCaCertsPathName): Likewise.
18298         (selfSignedCertificate): Likewise.
18299         (start): Initialize trusted certificate key stores if -trustcacerts is
18300         specified.
18301         (ensureReplyIsOurs): Initialize selfSignedCertificate.
18302         (orderChain): Implemented.
18303         (findTrustAndUpdate): Check a cacerts.gkr (GKR) and a cacert (JKS) trusted
18304         certificate key stores if -trustcacerts option is specified.
18305         (findTrustInCACerts): Removed.
18306         (getCertPathParameters): New method.
18307         (validate): New method.
18308         * resource/gnu/classpath/tools/keytool/messages.properties: Added message.
18309
18310 2006-05-28  Raif S. Naffah  <raif@swiftdsl.com.au>
18311
18312         * java/util/logging/FileHandler.java (PROPERTY_PREFIX): New constant.
18313         (PATTERN_KEY): Likewise.
18314         (DEFAULT_PATTERN): Likewise.
18315         (LIMIT_KEY): Likewise.
18316         (DEFAULT_LIMIT): Likewise.
18317         (COUNT_KEY): Likewise.
18318         (DEFAULT_COUNT): Likewise.
18319         (APPEND_KEY): Likewise.
18320         (DEFAULT_APPEND): Likewise.
18321         (FileHandler()): Use pattern value as set in logging.properties.
18322         Use constants defined above.
18323         (FileHandler(1)): Use constants defined above.
18324         (FileHandler(2)): Likewise.
18325         (FileHandler(3)): Likewise.
18326         (FileHandler(4)): Likewise.
18327         (createFileStream): Likewise.
18328
18329 2006-05-28  Raif S. Naffah  <raif@swiftdsl.com.au>
18330
18331         * java/util/logging/FileHandler.java: Reverted previous patch.
18332         * java/util/logging/LogManager.java: Likewise.
18333
18334 2006-05-28  Raif S. Naffah  <raif@swiftdsl.com.au>
18335
18336         * java/util/logging/FileHandler.java (PATTERN_KEY): New constant.
18337         (DEFAULT_PATTERN): Likewise.
18338         (FileHandler()): Use configured pattern property if any; otherwise use a
18339         default value as per RI documentation.
18340         * java/util/logging/LogManager.java (getStringProperty): New method.
18341
18342 2006-05-27  Thomas Fitzsimmons  <fitzsim@redhat.com>
18343
18344         * NEWS: Announce libjawtgnu.so-to-libjawt.so rename.
18345
18346 2006-05-27  Thomas Fitzsimmons  <fitzsim@redhat.com>
18347
18348         * configure.ac (FOUND_CACAO): New automake conditional.
18349         Add --enable-tool-wrappers.
18350         * NEWS: Introduce the --enable-tool-wrappers option.
18351         * tools/Makefile.am[CREATE_WRAPPERS]: Build wrapper binaries.
18352         * tools/appletviewer.c: Remove file.  Make tool-indepedent and
18353         rename ...
18354         * tools/toolwrapper.c: New file.
18355
18356 2006-05-27  Dalibor Topic  <robilad@kaffe.org>
18357
18358         * java/awt/Graphics2D.java: Use full class name for 
18359         PrinterJob in javadoc.
18360
18361 2006-05-27  Andreas Tobler  <a.tobler@schweiz.ch>
18362
18363         * native/jni/qt-peer/eventmethods.h (callVoidMethod): Silence warning.
18364         (callMouseMethod): Likewise.
18365
18366 2006-05-26  Andrew John Hughes  <gnu_andrew@member.fsf.org>
18367
18368         * native/jni/java-net/java_net_VMURLConnection.c:
18369         Fix function declarations to specify unused parameters.
18370         * scripts/check_jni_methods.sh:
18371         Remove copies of the same function using uniq.
18372         
18373 2006-05-26  Andrew John Hughes  <gnu_andrew@member.fsf.org>
18374
18375         * vm/reference/java/net/VMURLConnection.java:
18376         Make package-private and final.
18377         
18378 2006-05-27  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
18379
18380         * examples/gnu/classpath/examples/swing/TableDemo.java
18381         (TModed): Added editor for the icons column.
18382         (createContent): Increase the row height by 2 px.
18383
18384 2006-05-26  Tom Tromey  <tromey@redhat.com>
18385
18386         PR classpath/27685:
18387         * java/math/BigInteger.java (modPow): Correctly handle negative
18388         exponent.
18389
18390 2006-05-26  Tom Tromey  <tromey@redhat.com>
18391
18392         * configure.ac: Check for magic.h and -lmagic.
18393         * vm/reference/java/net/VMURLConnection.java: New file.
18394         * include/java_net_VMURLConnection.h: New file.
18395         * include/Makefile.am (H_FILES): Add VMURLConnection.h.
18396         ($(top_srcdir)/include/java_net_VMURLConnection.h): New target.
18397         * native/jni/java-net/Makefile.am (libjavanet_la_SOURCES):
18398         Mention new file.
18399         (libjavanet_la_LIBADD): Add $(LIBMAGIC).
18400         * native/jni/java-net/java_net_VMURLConnection.c: New file.
18401
18402 2006-05-26  Thomas Fitzsimmons  <fitzsim@redhat.com>
18403
18404         * tools/Makefile.am (installcheck-binSCRIPTS): Do nothing.
18405
18406 2006-05-26  Thomas Fitzsimmons  <fitzsim@redhat.com>
18407
18408         * native/jawt/Makefile.am (nativeexeclib_LTLIBRARIES): Rename
18409         libjawtgnu.la libjawt.la.
18410
18411 2006-05-26  Thomas Fitzsimmons  <fitzsim@redhat.com>
18412
18413         * native/jni/gtk-peer/Makefile.am (libgtkpeer_la_SOURCES): Remove
18414         gtkcairopeer.h.
18415
18416 2006-05-25  Lillian Angel  <langel@redhat.com>
18417         
18418         PR 26174
18419         * java/awt/Window.java
18420         (Window): Moved code to helper.
18421         (addWindowFocusListener): New function. Handles focus
18422         listener code. Added code to handle focus lost/gained
18423         from the window.
18424
18425 2006-05-25  Andrew John Hughes  <gnu_andrew@member.fsf.org>
18426
18427         * configure.ac:
18428         Make pkg-config check for GTK+ >= 2.8.
18429         
18430 2006-05-25  Thomas Fitzsimmons  <fitzsim@redhat.com>
18431
18432         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
18433         (flush): Remove debugging printfs.
18434
18435 2006-05-25  Thomas Fitzsimmons  <fitzsim@redhat.com>
18436
18437         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
18438         (schedule_flush): New function.
18439         (end_drawing_operation): Call schedule_flush.
18440
18441 2006-05-25  Thomas Fitzsimmons  <fitzsim@redhat.com>
18442
18443         * examples/gnu/classpath/examples/swing/Demo.java: Add FillRect
18444         paint performance demo.
18445         * examples/gnu/classpath/examples/swing/FillRect.java: New file.
18446
18447 2006-05-25  Thomas Fitzsimmons  <fitzsim@redhat.com>
18448
18449         * INSTALL: Bump GTK requirement to 2.8 or higher.  Do not mention
18450         Cairo version requirement.  Do not mention --enable-gtk-cairo
18451         configure option.
18452         * NEWS: Add entry for GdkGraphics2D.
18453         * configure.ac: Remove --enable-gtk-cairo and explicit checks for
18454         Cairo library and headers.
18455         * .externalToolBuilders/Configure.launch: Remove
18456         --enable-gtk-cairo from configure line.
18457         * gnu/classpath/Configuration.java.in (GTK_CAIRO_ENABLED): Remove
18458         field.
18459         * gnu/java/awt/BitwiseXORComposite.java: Fix javadoc typo.
18460         * gnu/java/awt/peer/gtk/GdkFontPeer.java,
18461         native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c : Remove
18462         useGraphics2D references.  Always assume Graphics2D is enabled.
18463         * gnu/java/awt/peer/gtk/GdkGraphics.java,
18464         native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c: Remove.
18465         * gnu/java/awt/peer/gtk/GdkGraphics2D.java,
18466         native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c: Remove
18467         Unlocked method variants.  Remove GTK_CAIRO_ENABLED and
18468         useGraphics2D references.  Always assume Graphics2D is enabled.
18469         * gnu/java/awt/peer/gtk/GdkTextLayout.java: Remove instanceof
18470         Graphics2D check.  Always assume Graphics2D is enabled.
18471         * gnu/java/awt/peer/gtk/GtkCanvasPeer.java,
18472         native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c
18473         (realize): Remove method.
18474         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
18475         native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
18476         (isRealized): Remove method.
18477         (realize): Implement as a native method.  Remove useGraphics2D
18478         references.  Always assume Graphics2D is enabled.
18479         * gnu/java/awt/peer/gtk/GtkImage.java,
18480         native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c: Replace
18481         GdkGraphics references with GdkGraphics2D references.
18482         * gnu/java/awt/peer/gtk/GtkToolkit.java,
18483         native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c: Remove
18484         useGraphics2D references.  Always assume Graphics2D is enabled.
18485         * include/Makefile.am (GTKPEER_H_FILES): Remove
18486         gnu_java_awt_peer_gtk_GdkGraphics.h.
18487         * include/gnu_java_awt_peer_gtk_GdkFontPeer.h: Regenerate.
18488         * include/gnu_java_awt_peer_gtk_GdkGraphics.h: Remove.
18489         * include/gnu_java_awt_peer_gtk_GdkGraphics2D.h: Regenerate.
18490         * include/gnu_java_awt_peer_gtk_GtkCanvasPeer.h: Likewise.
18491         * include/gnu_java_awt_peer_gtk_GtkComponentPeer.h: Likewise.
18492         * native/jawt/Makefile.am (AM_LDFLAGS): Remove CAIRO_LIBS.
18493         * native/jni/gtk-peer/Makefile.am (libgtkpeer_la_SOURCES): Remove
18494         gnu_java_awt_peer_gtk_GdkGraphics.c.  Include
18495         gnu_java_awt_peer_gtk_GdkGraphics2D.c unconditionally.
18496         (AM_LDFLAGS): Remove CAIRO_LIBS.
18497         (AM_CFLAGS): Remove CAIRO_CFLAGS.
18498         * native/jni/gtk-peer/gtkcairopeer.h: Remove.  Move declarations
18499         to ...
18500         * native/jni/gtk-peer/gtkpeer.h: Add Graphics2D declarations.
18501
18502 2006-05-25  Lillian Angel  <langel@redhat.com>
18503
18504         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
18505         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkWidgetSetCursorUnlocked):
18506         Added check to prevent assertion error. If widget->window is null, then
18507         use the parent widget's window to set the cursor on.
18508
18509 2006-05-25  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
18510
18511         * javax/swing/plaf/basic/BasicTreeUI.java (TreeCancelEditingAction):
18512         Implemented.
18513
18514 2006-05-24  Lillian Angel  <langel@redhat.com>
18515
18516         * tools/gnu/classpath/tools/appletviewer/AppletTag.java
18517         (prependCodeBase): Added check to determine if the documentbase
18518         points to a directory or a file.
18519
18520 2006-05-24  Sven de Marothy  <sven@physto.se>
18521
18522         * java/awt/dnd/DragGestureRecognizer.java
18523         (resetRecognizer): Implement.
18524         (fireDragGestureRecognized): Implement.
18525
18526 2006-05-24  David Gilbert  <david.gilbert@object-refinery.com>
18527
18528         * javax/swing/plaf/basic/BasicComboBoxUI.java: Marked stub methods and
18529         fixed source code formatting.
18530
18531 2006-05-24  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
18532
18533         * javax/swing/JTable.java (valueChanged): If is editing, stop editing.
18534
18535 2006-05-24  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
18536
18537         Reported by Antony Balkisson.
18538         * javax/swing/JTable.java (selectAll): Return without action 
18539         if the table is empty.
18540
18541 2006-05-23  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
18542
18543         * examples/gnu/classpath/examples/swing/TableDemo.java:
18544         (SliderCell): New inner class. (setCustomEditors,
18545         setInformativeHeaders): New fields. (createContent):
18546         Rewritten.
18547         * javax/swing/DefaultCellEditor.java 
18548         (JComboBoxDelegate.shouldSelectCell): New method.
18549         * javax/swing/JTable.java (editCellAt): Call shouldSelectCell.
18550         * javax/swing/plaf/basic/BasicTableUI.java
18551         (MouseInputHandler.mouseClicked): Start editing on a single
18552         click if the cell editor is not a default cell editor.
18553
18554 2006-05-23  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
18555
18556         * javax/swing/naming/CompositeName.java,
18557         javax/swing/naming/CompoundName.java:
18558         Documented.
18559
18560 2006-05-23  Archie Cobbs  <archie@dellroad.org>
18561
18562         * vm/reference/java/lang/VMClassLoader.java: fix static initializer
18563         ordering problem.
18564
18565 2006-05-23  David Gilbert  <david.gilbert@object-refinery.com>
18566
18567         * javax/swing/tree/AbstractLayoutCache.java: Coding style fixes,
18568         * javax/swing/tree/DefaultMutableTreeNode.java: Likewise,
18569         * javax/swing/tree/DefaultTreeCellRenderer.java: Likewise,
18570         * javax/swing/tree/DefaultTreeModel.java: Likewise,
18571         * javax/swing/tree/DefaultTreeSelectionModel.java: Likewise,
18572         * javax/swing/tree/ExpandVetoException.java: Likewise,
18573         * javax/swing/tree/FixedHeightLayoutCache.java: Likewise,
18574         * javax/swing/tree/RowMapper.java: Likewise,
18575         * javax/swing/tree/TreeNode.java: Likewise,
18576         * javax/swing/tree/TreeSelectionModel.java: Likewise,
18577         * javax/swing/tree/VariableHeightLayoutCache.java: Likewise.
18578
18579 2006-05-23  David Gilbert  <david.gilbert@object-refinery.com>
18580
18581         * javax/swing/tree/DefaultTreeCellRenderer.java
18582         (DefaultTreeCellRenderer): Changed key for 
18583         setBackgroundNonSelectionColor(),
18584         plus API docs all over.
18585
18586 2006-05-23  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
18587         
18588         PR 27680
18589         * javax/swing/JTable.java (booleanInvertingEditor): New field.
18590         (defaultEditorsByColumnClass, defaultRenderersByColumnClass):
18591         Initialise in constructor. (columnMoved): Cancel editing.
18592         (createDefaultEditors): Rewritten. (editCellAt):
18593         Just invert the value if this is a boolean cell. 
18594         (initialiseLocalVars): Do not initialise renderer and editor tables.
18595         (setUI): Create editors and renderers here.
18596
18597 2006-05-23  Robert Schuster  <robertschuster@fsfe.org>
18598
18599         * examples/gnu/classpath/examples/awt/Demo.java:
18600         (MainWindow.MainWindow): Added ResolutionWindow and FullscreenWindow
18601         instance as subframe.
18602         (ResolutionWindow): New inner class.
18603         (FullscreenWindow): New inner class.
18604
18605 2006-05-23  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
18606         
18607         PR 27680
18608         * javax/swing/JTable.java (BooleanCellRenderer, IconCellRenderer):
18609         Set horizontal alignment to centered.
18610
18611 2006-05-22  David Gilbert  <david.gilbert@object-refinery.com>
18612
18613         * javax/accessibility/AccessibleContext.java
18614         (getAccessibleComponent): Fixed typo in docs,
18615         * javax/swing/JLabel.java:
18616         (AccessibleJLabel.getAccessibleName): Check for explicit 
18617         accessibleName,
18618         * javax/swing/JTableHeader.java
18619         (AccessibleJTableHeaderEntry.columnIndex): New field,
18620         (AccessibleJTableHeaderEntry.parent): New field,
18621         (AccessibleJTableHeaderEntry.table): New field,
18622         (AccessibleJTableHeaderEntry.AccessibleJTableHeaderEntry()): 
18623         Implemented,
18624         (AccessibleJTableHeaderEntry.getAccessibleColumnHeaderRenderer): New 
18625         utility method,
18626         (AccessibleJTableHeaderEntry.addFocusListener): Implemented,
18627         (AccessibleJTableHeaderEntry.addPropertyChangeListener): Implemented,
18628         (AccessibleJTableHeaderEntry.contains): Implemented,
18629         (AccessibleJTableHeaderEntry.getAccessibleAction): Implemented,
18630         (AccessibleJTableHeaderEntry.getAccessibleAt): Implemented,
18631         (AccessibleJTableHeaderEntry.getAccessibleChild): Implemented,
18632         (AccessibleJTableHeaderEntry.getAccessibleChildrenCount): Implemented,
18633         (AccessibleJTableHeaderEntry.getAccessibleComponent): Implemented,
18634         (AccessibleJTableHeaderEntry.getAccessibleContext): Implemented,
18635         (AccessibleJTableHeaderEntry.getAccessibleDescription): Implemented,
18636         (AccessibleJTableHeaderEntry.getAccessibleIndexInParent): Implemented,
18637         (AccessibleJTableHeaderEntry.getAccessibleName): Implemented,
18638         (AccessibleJTableHeaderEntry.getAccessibleRole): Implemented,
18639         (AccessibleJTableHeaderEntry.getAccessibleSelection): Implemented,
18640         (AccessibleJTableHeaderEntry.getAccessibleStateSet): Implemented,
18641         (AccessibleJTableHeaderEntry.getAccessibleText): Implemented,
18642         (AccessibleJTableHeaderEntry.getAccessibleValue): Implemented,
18643         (AccessibleJTableHeaderEntry.getBackground): Implemented,
18644         (AccessibleJTableHeaderEntry.getBounds): Implemented,
18645         (AccessibleJTableHeaderEntry.getCursor): Implemented,
18646         (AccessibleJTableHeaderEntry.getFont): Implemented,
18647         (AccessibleJTableHeaderEntry.getFontMetrics): Implemented,
18648         (AccessibleJTableHeaderEntry.getForeground): Implemented,
18649         (AccessibleJTableHeaderEntry.getLocation): Implemented,
18650         (AccessibleJTableHeaderEntry.getLocationOnScreen): Implemented,
18651         (AccessibleJTableHeaderEntry.getSize): Implemented,
18652         (AccessibleJTableHeaderEntry.isEnabled): Implemented,
18653         (AccessibleJTableHeaderEntry.isFocusTraversable): Implemented,
18654         (AccessibleJTableHeaderEntry.isShowing): Implemented,
18655         (AccessibleJTableHeaderEntry.isVisible): Implemented,
18656         (AccessibleJTableHeaderEntry.removeFocusListener): Implemented,
18657         (AccessibleJTableHeaderEntry.removePropertyChangeListener): 
18658         Implemented,
18659         (AccessibleJTableHeaderEntry.requestFocus): Implemented,
18660         (AccessibleJTableHeaderEntry.setAccessibleDescription): Implemented,
18661         (AccessibleJTableHeaderEntry.setAccessibleName): Implemented,
18662         (AccessibleJTableHeaderEntry.setBackground): Implemented,
18663         (AccessibleJTableHeaderEntry.setBounds): Implemented,
18664         (AccessibleJTableHeaderEntry.setCursor): Implemented,
18665         (AccessibleJTableHeaderEntry.setEnabled): Implemented,
18666         (AccessibleJTableHeaderEntry.setFont): Implemented,
18667         (AccessibleJTableHeaderEntry.setForeground): Implemented,
18668         (AccessibleJTableHeaderEntry.setLocation): Implemented,
18669         (AccessibleJTableHeaderEntry.setSize): Implemented,
18670         (AccessibleJTableHeaderEntry.setVisible): Implemented,
18671         (AccessibleJTableHeader.getAccessibleRole): Implemented,
18672         (AccessibleJTableHeader.getAccessibleChildrenCount): Implemented,
18673         (AccessibleJTableHeader.getAccessibleChild): Implemented,
18674         (AccessibleJTableHeader.getAccessibleAt): Implemented.
18675
18676 2006-05-22  Tom Tromey  <tromey@redhat.com>
18677
18678         * NEWS: Updated.
18679
18680 2006-05-22  David Gilbert  <david.gilbert@object-refinery.com>
18681
18682         * javax/swing/JLabel.java
18683         (AccessibleJLabel.getAccessibleName): New method (override),
18684         (setLabelFor): Fire 'labelFor' property change event before other
18685         events.
18686
18687 2006-05-22  David Gilbert  <david.gilbert@object-refinery.com>
18688
18689         * javax/swing/JLabel.java
18690         (AccessibleJLabel.getAccessibleRole): New method (override).
18691
18692 2006-05-22  Tom Tromey  <tromey@redhat.com>
18693
18694         * resource/gnu/classpath/tools/serialver/messages.properties: New
18695         file.
18696         * tools/gnu/classpath/tools/serialver/Messages.java: New file.
18697         * tools/gnu/classpath/tools/serialver/SerialVer.java (classes): New
18698         field.
18699         (classpath): Likewise.
18700         (run): New method.
18701         (main): Use it.
18702         (addFileURL): New method.
18703         (getClassLoader): Likewise.
18704         (printMessage): Likewise.
18705
18706 2006-05-22  Tom Tromey  <tromey@redhat.com>
18707
18708         * tools/gnu/classpath/tools/serialver/SerialVer.java: New file.
18709
18710 2006-05-22  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
18711
18712         * javax/swing/JTable.java (doLayout): In the column
18713         resize mode, only repaing the changed part of the table.
18714         (getLeftResizingBoundary): New method.
18715
18716 2006-05-22  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
18717
18718         * javax/naming/spi/InitialContextFactory.java,
18719         javax/naming/spi/InitialContextFactoryBuilder.java,
18720         javax/naming/spi/NamingManager.java,
18721         javax/naming/spi/ObjectFactory.java,
18722         javax/naming/spi/ResolveResult.java,
18723         javax/naming/spi/Resolver.java,
18724         javax/naming/spi/StateFactory.java: Documented.
18725
18726 2006-05-21  Tom Tromey  <tromey@redhat.com>
18727
18728         PR classpath/27688:
18729         * tools/gnu/classpath/tools/jar/Extractor.java (allItems): Now
18730         a WorkSet.
18731         (initSet): Removed.
18732         (shouldExtract): Removed.
18733         (run): Updated.
18734         * tools/gnu/classpath/tools/jar/WorkSet.java: New file.
18735         * tools/gnu/classpath/tools/jar/Lister.java (readUntilEnd): New
18736         method.
18737         (listJar): Use it.
18738         (allItems): New field.
18739         (run): Initialize it.
18740         (listJar): Use it.
18741
18742 2006-05-22  Sven de Marothy  <sven@physto.se>
18743
18744         * java/nio/CharBuffer.java
18745         (wrap): Fix bounds checking.
18746
18747 2004-08-26  Tom Tromey  <tromey@redhat.com>
18748
18749         * java/io/OutputStream.java 
18750         (OutputStream): Implements Closeable, Flushable.
18751
18752 2006-04-02  Andrew John Hughes  <gnu_andrew@member.fsf.org>
18753
18754         * java/io/ObjectOutputStream.java:
18755         (writeObject(Object)): Added enum support.
18756         (writeClassDescriptor(ObjectStreamClass)): Likewise.
18757         * java/io/ObjectStreamClass.java:
18758         (isEnum()): New package-private method.
18759         (setFlags(Class)): Added enum support.
18760         * java/io/ObjectStreamConstants.java:
18761         (SC_ENUM): Added.
18762
18763 2006-03-29  Andrew John Hughes  <gnu_andrew@member.fsf.org>
18764
18765         * java/io/ObjectInputStream.java:
18766         (parseContent(byte)): Added enum support.
18767         * java/io/ObjectStreamConstants.java:
18768         (TC_ENUM): Added.
18769         (TC_MAX): Changed to new maximum, TC_ENUM.
18770
18771 2006-05-21  Andrew John Hughes  <gnu_andrew@member.fsf.org>
18772
18773         * java/beans/beancontext/BeanContextSupport.java:
18774         (instantiateChild(String)): Implemented.
18775         
18776 2006-05-21  Andrew John Hughes  <gnu_andrew@member.fsf.org>
18777
18778         * java/beans/beancontext/BeanContextSupport.java:
18779         (add(Object)): Add further documentation.
18780         (isEmpty()): Documented.
18781         (propertyChange(PropertyChangeEvent)): Implemented.
18782         (remove(Object)): Documented.
18783         (remove(Object,boolean)): Documented and implemented.
18784         (vetoableChange(PropertyChangeEvent)): Marked as
18785         implemented (only subclasses appear to need this).
18786         
18787 2006-05-21  Andrew John Hughes  <gnu_andrew@member.fsf.org>
18788
18789         * java/beans/beancontext/BeanContextSupport.java:
18790         (add(Object)): Implement support for the child being
18791         a BeanContextChild.
18792         (avoidingGui()): Implemented.
18793         (dontUseGui()): Likewise.
18794         (needsGui()): Likewise.
18795         (okToUseGui()): Likewise.
18796         
18797 2006-05-21  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
18798
18799         * javax/naming/Context.java,
18800         javax/naming/ContextNotEmptyException.java,
18801         javax/naming/Reference.java: Documented.
18802
18803 2006-05-21  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
18804
18805         * javax/swing/text/html/MinimalHTMLWriter.java
18806         (writeComponent, writeImage): Declare that the method
18807         may throw the IOException.
18808
18809 2006-05-21  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
18810         
18811         PR 26972
18812         * javax/naming/InitialContext.java (colon_list): Changed type to
18813         hashset. (use_properties): New field. (init(Hashtable)): Rewritten.
18814         (merge): Rewritten.
18815
18816 2006-05-21  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
18817
18818         * javax/naming/InitialContext.java: Documented.
18819
18820 2006-05-21  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
18821
18822         * javax/naming/NameParser.java,
18823         javax/naming/NamingEnumeration.java,
18824         javax/naming/PartialResultException.java,
18825         javax/naming/SizeLimitExceededException.java,
18826         javax/naming/spi/ObjectFactory.java,
18827         javax/naming/spi/ObjectFactoryBuilder.java: Documented.
18828
18829 2006-05-21  Andrew John Hughes  <gnu_andrew@member.fsf.org>
18830
18831         * gnu/java/net/loader/JarURLLoader.java:
18832         Use Map.Entry instead of LinkedHashMap.Entry
18833         
18834 2006-05-21  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
18835
18836         * javax/naming/Context.java: Documented.
18837
18838 2006-05-21  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
18839
18840         * javax/naming/Referenceable.java: Documented.
18841         * javax/naming/spi/NamingManager.java: Documented.
18842
18843 2006-05-21  Raif S. Naffah  <raif@swiftdsl.com.au>
18844
18845         * doc/tools.texinfo: Replaced references to MessageBundle.properties
18846         to messages.properties.
18847         * resource/gnu/classpath/tools/jarsigner/MessageBundle.properties:
18848         Renamed to messages.properties.
18849         * resource/gnu/classpath/tools/keytool/MessageBundle.properties:
18850         Likewise.
18851         * resource/gnu/classpath/tools/jarsigner/messages.properties:
18852         Renamed from MessageBundle.properties.
18853         Added copyright notice.
18854         * resource/gnu/classpath/tools/keytool/messages.properties:
18855         Likewise.
18856         * tools/gnu/classpath/tools/jarsigner/Messages.java
18857         (BUNDLE_NAME): Use messages instead of MessageBundle properties file.
18858         (getFormattedString): Fixed a spelling mistake.
18859         * tools/gnu/classpath/tools/keytool/Messages.java: Likewise.
18860
18861 2006-05-20  Sven de Marothy  <sven@physto.se>
18862
18863         * gnu/java/awt/font/opentype/NameDecoder.java
18864         Made class public.
18865         (getName): Use getShort instead of getChar(), fix PS name.
18866         (decodeName): New method.
18867         * gnu/java/awt/peer/gtk/GdkFontPeer.java
18868         (getSubFamilyName): Implement.
18869         (getPostScriptName): Use the NameDecoder class instead.
18870         (parsePSName): Removed.
18871         (getName): Added
18872
18873 2006-05-20  Sven de Marothy  <sven@physto.se>
18874
18875         * gnu/java/awt/peer/gtk/GdkFontPeer.java
18876         (getTrueTypeTable): New native method.
18877         (getPostScriptName): Reimplement.
18878         (parsePSName): New method.
18879         (getNumGlyphs): Implement.
18880         * include/gnu_java_awt_peer_gtk_GdkFontPeer.h: New native method.
18881         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
18882         (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getTrueTypeTable):
18883         New function. File is now explicitly dependent on FT2.
18884         
18885 2006-05-20  Tom Tromey  <tromey@redhat.com>
18886
18887         * tools/gnu/classpath/tools/native2ascii/Messages.java: New file.
18888         * resource/gnu/classpath/tools/native2ascii/messages.properties: New
18889         file.
18890         * tools/gnu/classpath/tools/native2ascii/Native2ASCII.java
18891         (HandleFile): New class.
18892         (input, output, encoding, reversed): New fields.
18893         (createParser): New method.
18894         (run): Likewise.
18895         (main): Use 'run'.
18896         * tools/gnu/classpath/tools/getopt/FileArgumentCallback.java
18897         (notifyFile): Throws OptionException.
18898
18899 2006-05-20  Tom Tromey  <tromey@redhat.com>
18900
18901         * tools/gnu/classpath/tools/native2ascii/Native2ASCII.java: New file,
18902         from cp-tools.
18903
18904 2006-05-20  Andrew John Hughes  <gnu_andrew@member.fsf.org>
18905
18906         * native/jni/java-nio/gnu_java_nio_VMChannel.c:
18907         (JCL_print_buffer): Fix to work with -Werror on 64-bit
18908         platforms.
18909         
18910 2006-05-20  Sven de Marothy  <sven@physto.se>
18911
18912         * java/awt/Font.java (getNumGlyphs): Call correct peer method.
18913         
18914 2006-05-20  Sven de Marothy  <sven@physto.se>
18915
18916         * gnu/java/awt/print/JavaPrinterJob.java 
18917         (print): Use PostScriptGraphics2D.
18918         * gnu/java/awt/print/PostScriptGraphics2D.java: New file.
18919         
18920 2006-05-20  Sven de Marothy  <sven@physto.se>
18921
18922         * javax/swing/text/html/MinimalHTMLWriter.java: New file
18923         
18924 2006-05-20  Raif S. Naffah  <raif@swiftdsl.com.au>
18925
18926         * gnu/java/security/OID.java: Updated copyright year.
18927         (OID): Removed unused Javadoc param tag.
18928         * gnu/java/security/prng/PRNGFactory.java: Removed unused import.
18929         * gnu/java/security/hash/MD4.java: Fixed a Javadoc link.
18930
18931 2006-05-20  Raif S. Naffah  <raif@swiftdsl.com.au>
18932
18933         * gnu/javax/crypto/jce/keyring/GnuKeyring.java (engineAliases):
18934         Formatting.
18935         Added trace/debug statements.
18936         (engineSetCertificateEntry): Ensure alias is not already used for a Key
18937         Entry.  Also ensure that any previous entry for this alias is removed
18938         before a new one is added.
18939         (engineGetKey): Do not trace/log passwords.
18940         Trace key's class name only.
18941         (engineSetKeyEntry): Ensure alias is not alredy used for a Trusted
18942         Certificate Entry. Also ensure that previous entry for this alias is
18943         removed before a new one is added.
18944         (engineLoad): Do not trace/log passwords.
18945         (engineStore): Likewise.
18946         (engineSize): Use size of enumeration instead of collection size.
18947
18948 2006-05-20  Raif S. Naffah  <raif@swiftdsl.com.au>
18949
18950         * gnu/javax/crypto/keyring/PrivateKeyEntry.java: Formatting.
18951         (toString): New method.
18952         * gnu/javax/crypto/keyring/PasswordEncryptedEntry.java (decrypt):
18953         Do not trace/log passwords.
18954         Set masked to false before decoding envelope.
18955         Do not set payload to null.
18956         (encrypt): Set masked to true.
18957         * gnu/javax/crypto/keyring/PasswordAuthenticatedEntry.java (verify):
18958         Do not trace/log passwords.
18959         Set masked to false before decoding envelope.
18960         Do not set payload to null.
18961         Added trace/debug statements.
18962         (authenticate): Do not trace/log passwords.
18963         Set masked to true.
18964         Added trace/debug statements.
18965         (getMac): Added trace/debug statements.
18966         * gnu/javax/crypto/keyring/MaskableEnvelopeEntry.java
18967         (remove(String)): Changed the signature to return a boolean.
18968         (toString): New method.
18969         * gnu/javax/crypto/keyring/GnuPublicKeyring.java (containsCertificate):
18970         Formatting
18971         (getCertificate): Likewise.
18972         (putCertificate): Likewise.
18973         (load): Likewise.
18974         Do not trace/log passwords.
18975         (store): Likewise.
18976         * gnu/javax/crypto/keyring/GnuPrivateKeyring.java (getPrivateKey):
18977         Do not trace/log passwords.
18978         Added more trace/logging statements.
18979         (putPrivateKey): Do not trace/log passwords.
18980         Trace only key's class name.
18981         Formatting.
18982         (containsPublicKey): Formatting.
18983         (getPublicKey): Likewise.
18984         Trace only key's class name.
18985         (putPublicKey): Trace only key's class name.
18986         (containsCertPath): Formatting.
18987         (getCertPath): Likewise.
18988         (putCertPath): Likewise.
18989         (load): Do not trace/log passwords.
18990         Formatting.
18991         (store): Likewise.
18992         * gnu/javax/crypto/keyring/EnvelopeEntry.java (log): New field.
18993         (add): Do not set payload to null.
18994         Added trace/debug statements.
18995         (containsAlias): Added trace/debug statements.
18996         (get): Likewise.
18997         (remove(Entry)): Likewise.
18998         (remove(String)): Likewise.
18999         Changed the signature to return a boolean.
19000         Do not set payload to null unless really removed.
19001         (toString): New method.
19002         (decodeEnvelope): Clear entries before proceeding.
19003         (makeAliasList): Added trace/debug statements.
19004         Ensure only non-null aliases and alias-lists are added.
19005         * gnu/javax/crypto/keyring/Entry.java (log): New field.
19006         (TYPES): New constant.
19007         (toString): New method.
19008         (defaultDecode): Add trace/debug statement.
19009
19010 2006-05-20  Raif S. Naffah  <raif@swiftdsl.com.au>
19011
19012         * tools/gnu/classpath/tools/keytool/ListCmd.java (rfc):
19013         Increased visibility.
19014         (setup): Do not trace/log passwords.
19015         (parsed): Was not setting correct (rfc) field; fixed.
19016         (print1Chain): Formatting.
19017         * tools/gnu/classpath/tools/keytool/DeleteCmd.java (setup):
19018         Do not trace/log passwords.
19019         * tools/gnu/classpath/tools/keytool/ExportCmd.java (setup): Likewise.
19020         * tools/gnu/classpath/tools/keytool/GenKeyCmd.java (setup): Likewise.
19021         * tools/gnu/classpath/tools/keytool/IdentityDBCmd.java (setup): Likewise.
19022         * tools/gnu/classpath/tools/keytool/KeyCloneCmd.java (setup): Likewise.
19023         * tools/gnu/classpath/tools/keytool/StorePasswdCmd.java (setup): Likewise.
19024         * tools/gnu/classpath/tools/keytool/ImportCmd.java (setup): Likewise.
19025         (orderChain): Added FIXME.
19026         * tools/gnu/classpath/tools/keytool/CertReqCmd.java (setup):
19027         Do not trace/log passwords.
19028         Removed commented out code.
19029         * tools/gnu/classpath/tools/keytool/KeyPasswdCmd.java (setup): Likewise.
19030         * tools/gnu/classpath/tools/keytool/SelfCertCmd.java (setup): Likewise.
19031         * tools/gnu/classpath/tools/keytool/Command.java (doCommand): Formatting.
19032         (setKeystoreURLParam): Likewise.
19033         (setKeystorePasswordParam): Do not trace/log passwords.
19034         (saveKeyStore): Likewise.
19035
19036 2006-05-19  Roman Kennke <kennke@aicas.com>
19037
19038         * gnu/java/awt/java2d/AbstractGraphics2D.java
19039         Added class docs.
19040         (pixel): Removed obsolete field.
19041         (draw(Shape)): Removed commented out code.
19042         (drawImage): Formatting.
19043         (drawString): Added optimization hook.
19044         (setPaint): Removed rawSetForeground().
19045         (getFontRenderContext): Return context with correct transform.
19046         (drawGlyphVector): Draw complete outline in one go.
19047         (copyArea): Added optimization hook.
19048         (clearRect): Added optimization hook.
19049         (drawImage): Added optimization hook.
19050         (fillShape): (Temporarily) Set antialiasing off by default for
19051         font rendering. Adjust the shape by some bits to improve rendering.
19052         Pass clip bounds to the render methods.
19053         (drawPixel): Removed.
19054         (rawSetPixel): Removed.
19055         (rawSetForeground): Removed.
19056         (rawDrawLine): Default impl calls standard pipeline.
19057         (rawDrawString): New method, calls standard pipeline for rendering.
19058         (rawClearRect): New method, calls standard pipeline for rendering.
19059         (rawFillRect): New method, calls standard pipeline for rendering.
19060         (rawDrawImage): New method, calls standard pipeline for rendering.
19061         (rawCopyArea): New method.
19062         (copyAreaImpl): New method.
19063         (rawFillShape): Renamed to fillShapeImpl(). Small optimization
19064         for rendering.
19065         (fillShapeAntialias): Fixed AA rendering.
19066         (fillScanlineAA): Fixed AA rendering.
19067         (getSegments): Take offset into account.
19068
19069 2006-05-19  Sven de Marothy  <sven@physto.se>
19070
19071         * javax/swing/text/AbstractWriter.java
19072         (getText): Fix parameters (start, length) not (start, end).
19073         
19074 2006-05-19  Tom Tromey  <tromey@redhat.com>
19075
19076         PR classpath/27444:
19077         * gnu/java/net/loader/URLLoader.java (getClassPath): Documented.
19078         Changed return type.
19079         * java/net/URLClassLoader.java (urlloaders): Removed.
19080         (addURLImpl): Updated.
19081         * gnu/java/net/loader/JarURLLoader.java (initialized): New field.
19082         (indexSet): Likewise.
19083         (classPath): Changed type.
19084         (JarURLLoader): New constructor.
19085         (initialize): New method.
19086         (getResource): Use index set if it exists.
19087         (getClassPath): Updated.
19088         * gnu/java/net/IndexListParser.java (IndexListParser): Avoid NPE.
19089         (prefixes): New field.
19090         (headers): Removed.
19091         (IndexListParser): Fill in prefixes.
19092         (clearAll): Clear prefixes.
19093         (getHeaders): Changed return type.
19094
19095 2006-05-19  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
19096
19097         * javax/swing/plaf/basic/BasicTableHeaderUI.java 
19098         (MouseInputHandler.mouseExitted): No nothing there.
19099         (MouseInputHandler.endDragging): Move column to the
19100         first/last position if released outside the horizontal
19101         table range.
19102
19103 2006-05-19  Lillian Angel  <langel@redhat.com>
19104
19105         * java/awt/font/GlyphVector.java
19106         (getGlyphCharIndex): Implemented.
19107         (getGlyphCharIndices): Implemented.
19108         (getGlyphOutline): Implemented.
19109         (getGlyphVisualBounds): Implemented.
19110         (getGlyphVisualBounds): Implemented.
19111         (getPixelBounds): Implemented.
19112         (getLayoutFlags): Implemented.
19113
19114 2006-05-19  Robert Schuster  <robertschuster@fsfe.org>
19115
19116         * java/awt/LightweightDispatcher.java: Added field dragButton and
19117         documentation for it.
19118         (handleMouseEvent): Rewritten MOUSE_PRESSED case in switch-statement,
19119         added subexpression to if-clause in MOUSE_RELEASED case.
19120
19121 2006-05-19  Robert Schuster  <robertschuster@fsfe.org>
19122
19123         * javax/swing/metal/MetalButtonUI.java:
19124         (update): Removed some subexpression from if-clause and call
19125         updateWithGradient.
19126         (updateWithGradient): New method.
19127
19128 2006-05-19  Roman Kennke <kennke@aicas.com>
19129
19130         * javax/swing/JComponent.java
19131         (findOverlapFreeParent): Implemented algorithm for finding
19132         overlapping in component hierarchy.
19133
19134 2006-05-19  Jeroen Frijters  <jeroen@frijters.net>
19135
19136         * java/lang/Thread.java
19137         (contextClassLoaderIsSystemClassLoader): New field.
19138         (Thread(ThreadGroup,Runnable)): Call createAnonymousThreadName.
19139         (Thread(VMThread,String,int,boolean)): Call createAnonymousThreadName
19140         and set contextClassLoaderIsSystemClassLoader.
19141         (Thread(ThreadGroup,Runnable,String,long)):
19142         Set contextClassLoaderIsSystemClassLoader.
19143         (createAnonymousThreadName): New method.
19144         (getContextClassLoader): Check contextClassLoaderIsSystemClassLoader
19145         and fixed security check.
19146         (setContextClassLoader): Clear contextClassLoaderIsSystemClassLoader.
19147
19148 2006-05-19  Robert Schuster  <robertschuster@fsfe.org>
19149
19150         * javax/swing/plaf/basic/BasicToolBarUI.java:
19151         (createNonRolloverBorder): Rewritten.
19152         (createRolloverBorder): Rewritten.
19153         (setToNonRolloverBorder): Store old border instance in hashtable.
19154         (setToRolloverBorder): Store old border instance in hashtable, use
19155         AbstractButton instead of JButton in statements.
19156         (setBorderToNormal): Rewritten.
19157         * javax/swing/plaf/metal/MetalLookAndFeel.java:
19158         (initComponentDefaults): Added values for ToolBar.rolloverBorder and
19159         ToolBar.nonrolloverBorder.
19160
19161 2006-05-18  Thomas Fitzsimmons  <fitzsim@redhat.com>
19162
19163         * javax/imageio/stream/ImageInputStreamImpl.java: Complete.
19164         * javax/imageio/stream/MemoryCacheImageInputStream.java: Likewise.
19165
19166 2006-05-18  Lillian Angel  <langel@redhat.com>
19167
19168         * java/awt/font/GlyphMetrics.java
19169         (getLSB): Implemented.
19170         (getRSB): Implemented.
19171
19172 2006-05-18  Lillian Angel  <langel@redhat.com>
19173
19174         * java/awt/font/GraphicAttribute.java:
19175         Documented entire class.
19176         (GraphicAttribute): Added check for alignment.
19177         (getBounds): Implemented.
19178         (getJustificationInfo): Implemented.
19179
19180 2006-05-18  Robert Schuster  <robertschuster@fsfe.org>
19181
19182         * java/awt/LightweightDispatcher.java:
19183         (handleMouseEvent): Added note, added subexpression to if-statement.
19184
19185 2006-05-18  Robert Schuster  <robertschuster@fsfe.org>
19186
19187         * javax/swing/plaf/basic/BasicToolBarUI.java:
19188         (navigateFocusedComp): Marked as stub.
19189         (createRolloverBorder): Create a different Border instance, added note.
19190         * javax/swing/plaf/metal/MetalBorders.java:
19191         (ButtonBorder): Added documentation.
19192         (ButtonBorder.paintDefaultButtonBorder): Added else-block.
19193         (ButtonBorder.paintOceanButtonBorder): Added else-block, added
19194         subexpression into if-else cascade, added note.
19195
19196 2006-05-18  Lillian Angel  <langel@redhat.com>
19197
19198         * java/awt/font/ShapeGraphicAttribute.java:
19199         Documented entire class.
19200         (ShapeGraphicAttribute): Initialized bounds field.
19201         (draw): Implemented.
19202         (equals): Implemented.
19203         (getAdvance): Implemented.
19204         (getAscent): Implemented.
19205         (getBounds): Implemented.
19206         (getDescent): Implemented.
19207         (hashCode): Implemented.
19208
19209 2006-05-18  Roman Kennke <kennke@aicas.com>
19210
19211         * javax/swing/CellRendererPane.java
19212         (CellRendererPane): Set CellRendererPane to invisible.
19213
19214 2006-05-18  Roman Kennke <kennke@aicas.com>
19215
19216         * gnu/java/awt/peer/gtk/GdkGraphics.java
19217         (clipRect): Removed old intersection statement.
19218
19219 2006-05-18  Roman Kennke <kennke@aicas.com>
19220
19221         * gnu/java/awt/peer/gtk/GdkGraphics.java
19222         (clipRect): Don't use Rectangle.intersection() to avoid creating
19223         2 unnecessary Rectangle instances and fix a clipping problem.
19224         (computeIntersection): New helper method, adapted from SwingUtilities.
19225
19226 2006-05-18  Roman Kennke <kennke@aicas.com>
19227
19228         * javax/swing/JComponent.java
19229         (isCompletelyDirty): Removed.
19230         (paint): Don't mark children as clean, this is no longer necessary.
19231         (findOverlapFreeParent): Don't stop at Viewports, this breaks
19232         painting when something overlaps the viewport (like a popup/menu).
19233         * javax/swing/RepaintManager.java
19234         (currentRepaintManagers): Made package private to avoid accessor
19235         methods.
19236         (dirtyComponents): Made private.
19237         (dirtyComponentsWork): Made private.
19238         (markCompletelyDirty): Fixed bounds of dirtyrect to be
19239         component-local not parent-local. Do not set flag in JComponent.
19240         (markCompletelyClean): Don't set JComponent flag.
19241         (isCompletelyDirty): Rewritten to return true when the complete
19242         component is marked dirty.
19243         (paintDirtyRegions): Improved parent-merging so that the merged-in
19244         components don't get painted too. 'Outsourced' the compilation
19245         of the repaint root components.
19246         (compileRepaintRoots): New helper method.
19247
19248 2006-05-18  Roman Kennke <kennke@aicas.com>
19249
19250         PR 26368
19251         * javax/swing/text/GapContent.java
19252         (GapContentPosition(int)): Use adapted binarySearch method to
19253         allow for having a greater array than number of entries.
19254         (numMarks): New field, holds the end of the marks list.
19255         (GapContent): Initialize positionMarks with size of 10 instead of 0.
19256         (shiftGapStartDown): Adjusted for new setPositionsInRange signature.
19257         (shiftGapEndUp): Adjusted for new setPositionsInRange signature.
19258         (setPositionsInRange): Changed signature to narrow the purpose and
19259         special cases inside. Reimplemented to crunch together equal marks.
19260         (adjustPositionsInRange): Added assertion to make sure we do
19261         not accidentally change the order of the mark. Added some debug
19262         output for a special case of which I don't know if it even exists.
19263         (resetMarksAtZero): Made impl simpler.
19264         (dumpMarks): New debug helper method.
19265         (insertMark): Grow array in bigger chunks to avoid excessive copying.
19266         (binarySearch): New method. An adaption of Arrays.binarySearch()
19267         that allows for an maxIndex parameter.
19268
19269 2006-05-18  Roman Kennke <kennke@aicas.com>
19270
19271         * javax/swing/KeyboardManager.java
19272         (topLevelLookup): Use WeakHashMap to avoid memory leak.
19273
19274 2006-05-18  Jeroen Frijters  <jeroen@frijters.net>
19275
19276         * gnu/java/net/loader/JarURLLoader.java
19277         (JarURLLoader): Use a slightly more efficient URL constructor.
19278
19279 2006-05-18  David Gilbert  <david.gilbert@object-refinery.com>
19280
19281         * gnu/java/awt/print/JavaPrinterGraphics.java
19282         (drawImage(Image, int, int, Color, ImageObserver)): Fix endless loop,
19283         (drawImage(Image, int, int, ImageObserver)): Likewise,
19284         (drawImage(Image, int, int, int, int, Color, ImageObserver)): Likewise,
19285         (drawImage(Image, int, int, int, int, ImageObserver)): Likewise,
19286         (drawImage(Image, int, int, int, int, int, int, int, int, Color, 
19287         ImageObserver)): Likewise,
19288         (drawImage(Image, int, int, int, int, int, int, int, int, 
19289         ImageObserver)): Likewise.
19290
19291 2006-05-17  Tom Tromey  <tromey@redhat.com>
19292
19293         * tools/gnu/classpath/tools/jar/Indexer.java (indexJarFile): Use a
19294         LinkedHashSet.
19295
19296 2006-05-17  David Gilbert  <david.gilbert@object-refinery.com>
19297
19298         * javax/swing/border/AbstractBorder.java: Source code formatting fixes,
19299         * javax/swing/border/BevelBorder.java: Likewise,
19300         * javax/swing/border/CompoundBorder.java: Likewise,
19301         * javax/swing/border/TitledBorder.java: Likewise.
19302
19303 2006-05-17  David Gilbert  <david.gilbert@object-refinery.com>
19304
19305         * javax/swing/table/AbstractTableModel.java: Formatting fixes,
19306         * javax/swing/table/DefaultTableModel.java: Likewise,
19307         * javax/swing/table/TableCellEditor.java: Likewise,
19308         * javax/swing/table/TableCellRenderer.java: Likewise.
19309
19310 2006-05-17  Lillian Angel  <langel@redhat.com>
19311
19312         * java/awt/font/ImageGraphicAttribute.java:
19313         Documented entire class.
19314         (ImageGraphicAttribute): Changed to call this.
19315         (ImageGraphicAttribute): Implemented.
19316         (draw): Implemented.
19317         (equals): Implemented.
19318         (getAdvance): Implemented.
19319         (getAscent): Implemented.
19320         (getBounds): Implemented.
19321         (getDescent): Implemented.
19322         (hashCode): Implemented.
19323         * javax/swing/text/html/HTMLDocument.java
19324         (create): Removed. Sufficent enough for
19325         super to be called.
19326         (insert): Likewise.
19327         (insertUpdate): Likewise.
19328         (processHTMLFrameHyperlinkEvent): Marked as stub.
19329         (start): Removed FIXME.
19330         (end): Likewise.
19331         (start): Called super. 
19332         (end): Called super.
19333         (getElement): removed unneeded code.
19334         (setParagraphAttribute): Removed. Sufficent enough
19335         for super to be called.
19336         (fireChangedUpdate): Likewise.
19337         (fireUndoableEditUpdate): Likewise.     
19338
19339 2006-05-17  Lillian Angel  <langel@redhat.com>
19340
19341         * java/awt/TexturePaint.java:
19342         Added documentation for class and all functions.
19343         (getTransparency): Implemented.
19344
19345 2006-05-17  Roman Kennke <kennke@aicas.com>
19346
19347         * java/awt/LightweightDispatcher.java
19348         (findTarget): Translate point to child components.
19349
19350 2006-05-17  Roman Kennke <kennke@aicas.com>
19351
19352         PR 26368
19353         * javax/swing/text/GapContent.java
19354         (GapContentPosition): Do no more implement Comparable.
19355         (GapContentPosition.mark): Removed field.
19356         (GapContentPosition.index): New field to hold the index into
19357         the positions array.
19358         (GapContentPosition(int)): Rewritten to use the new indirection
19359         to the positions array.
19360         (GapContentPosition.compareTo): Removed.
19361         (GapContentPosition.getOffset): Synchronized. Fetch mark from
19362         positionMarks array.
19363         (WeakPositionComparator): Removed obsolete class.
19364         (positions): Changed type to WeakHashMap.
19365         (positionMarks): New field, holds the marks of the positions.
19366         (GapContent): Initialize new fields.
19367         (createPosition): Rewritten to use the new indirection
19368         to the positions array.
19369         (getPositionsInRange): Rewritten to use the new indirection
19370         to the positions array.
19371         (setPositionsInRange): Rewritten to use the new indirection
19372         to the positions array.
19373         (adjustPositionsInRange): Rewritten to use the new indirection
19374         to the positions array.
19375         (insertMark): New helper method.
19376         (clearPositionReferences): Removed obsolete methods.
19377
19378 2006-05-17  Lillian Angel  <langel@redhat.com>
19379
19380         * java/awt/GraphicsConfiguration.java
19381         (getImageCapabilities): Implemented.
19382         (getBufferCapabilities): Implemented.
19383
19384 2006-05-17  Lillian Angel  <langel@redhat.com>
19385
19386         * javax/swing/plaf/basic/BasicSliderUI.java
19387         (focusGained): Implemented.
19388         (focusLost): Implemented.
19389         (paint): Added code to paint the focus.
19390         * javax/swing/plaf/metal/MetalSliderUI.java
19391         (paintThumb): Added code to set the thumbColor.
19392         (paintFocus): Implemented properly.
19393
19394 2006-05-17  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
19395
19396         PR 27383
19397         * javax/naming/spi/NamingManager.java (getURLContext):
19398         Always search for the factory class in all possible places
19399         and use VMStackWalker.
19400         (forName): New method.
19401
19402 2006-05-17  Roman Kennke <kennke@aicas.com>
19403
19404         * java/awt/LightweightDispatcher.java
19405         (handleMouseEvent): Fixed search algorithm for finding the
19406         mouse event target.
19407         (findTarget): Fixed search algorithm for finding the
19408         mouse event target.
19409
19410 2006-05-17  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
19411
19412         * javax/naming/spi/NamingManager.java: Documented.
19413
19414 2006-05-17  Mark Wielaard  <mark@klomp.org>
19415
19416         * THANKYOU: Add Trevor Linton <tlinton@xmission.com>.
19417         * gnu/javax/imageio/jpeg/DCT.java: Cleanup Todo copyright.
19418         * gnu/javax/imageio/jpeg/YCbCr_ColorSpace.java: Likewise.
19419         * gnu/javax/imageio/jpeg/ZigZag.java: Likewise.
19420
19421 2006-05-17  Robert Schuster  <robertschuster@fsfe.org>
19422
19423         Fixes PR 26947.
19424         * javax/swing/plaf/basic/BasicInternalFrameUI.java: Updated copyright
19425         year.
19426         (BorderListener.mouseClicked): Detect double-clicks in title pane,
19427         copied code from
19428         BasicInternalFrameTitlePaneUI.MaximizeAction.actionPerformed().
19429
19430 2006-05-17  Robert Schuster  <robertschuster@fsfe.org>
19431
19432         Fixes PR 27626.
19433         * java/awt/LightweightDispatcher.java:
19434         (handleMouseEvent): Moved assignment into switch-block, added notes.
19435
19436 2006-05-16  Lillian Angel  <langel@redhat.com>
19437
19438         * javax/swing/text/StyleContext.java:
19439         Changed staticAttributeKeys  to be a Hashtable.
19440         (getStaticAttribute): Implemented.
19441         (getStaticAttributeKey): Implemented.
19442         (readAttributeSet): Implemented.
19443         (writeAttributeSet): Added FIXME. Not sure how
19444         to implement this.
19445         (readAttributes): Implemented.
19446         (writeAttributes): Implemented.
19447         (registerStaticAttibuteKey): Fixed to add key to 
19448         the hash table.
19449
19450 2006-05-16  David Gilbert  <david.gilbert@object-refinery.com>
19451
19452         * javax/swing/DefaultButtonModel.java
19453         (setGroup): Removed event notification.
19454
19455 2006-05-16  Lillian Angel  <langel@redhat.com>
19456
19457         * javax/swing/plaf/basic/BasicComboBoxUI.java
19458         (installKeyboardActions): Implemented.
19459         (uninstallKeyboardActions): Implemented.
19460         * javax/swing/plaf/basic/BasicComboPopup.java
19461         (uninstallKeyboardActions): Removed FIXME. Nothing
19462         to be done here.
19463         (installKeyboardActions): Likewise.
19464         * javax/swing/plaf/basic/BasicTextUI.java
19465         (uninstallKeyboardActions): Implemented.
19466         * javax/swing/plaf/basic/BasicTreeUI.java:
19467         Added field for hashColor.
19468         Marked stub methods.
19469         (getHashColor): Implemented to use field.
19470         (setHashColor): Likewise.
19471         (getRowX): Implemented.
19472         (NodeDimensions.getRowX): Changed to use BasicTreeUI.getRowX.   
19473
19474 2006-05-16  Roman Kennke <kennke@aicas.com>
19475
19476         PR 26521
19477         * javax/swing/JTable.java
19478         (rowHeights): New field.
19479         (initializeLocalVars): Call setRowHeigt instead of rowHeight=,
19480         in order to initialize rowHeights correctly.
19481         (tableChanged): Nullify rowHeights when model changes. Only
19482         create default columns from model when corresponding property
19483         is set. Sync table model with rowHeights as appropriate.
19484         (valueChanged): Call repaint with the correct rectangle.
19485         (rowAtPoint): Handle rowHeights.
19486         (getCellRect): Mostly rewritten. Check for boundaries
19487         of model and return (0,0,0,0) or (0,0,width,height) when outside.
19488         Handle component orientation. Round correctly.
19489         (getRowHeight(int)): Implemented for variable row height.
19490         (setRowHeight(int,int)): Implemented for variable row height.
19491         (setRowHeight(int)): Nullify rowHeights.
19492         (setModel): Notify tableChanged().
19493         * javax/swing/plaf/basic/BasicTableUI.java
19494         (installDefaults): Create rendererPane in installUI.
19495         (installUI): Create and install rendererPane.
19496         (uninstallUI): Uninstall rendererPane and nullify rendererPane
19497         and table.
19498         (paint): Correctly handle rowMargin.
19499
19500 2006-05-16  Tom Tromey  <tromey@redhat.com>
19501
19502         PR classpath/27563:
19503         * java/text/NumberFormat.java (getIntegerInstance): Use
19504         "integerFormat", not "numberFormat".
19505
19506 2006-05-16  Lillian Angel  <langel@redhat.com>
19507
19508         * javax/swing/JPopupMenu.java
19509         (addMenuKeyListener): Implemented.
19510         (removeMenuKeyListener): Implemented.
19511         (getMenuKeyListeners): Implemented.
19512         * javax/swing/ProgressMonitor.java:
19513         Added new protected field.
19514         (getAccessibleContext): Implemented.
19515
19516 2006-05-16  Lillian Angel  <langel@redhat.com>
19517
19518         * javax/swing/JFileChooser.java:
19519         Added new private field.
19520         (setDragEnabled): Implemented.
19521         (getDragEnabled): Implemented.
19522
19523 2006-05-16  Lillian Angel  <langel@redhat.com>
19524
19525         * java/awt/Window.java
19526         (applyResourceBundle): Implemented.
19527
19528 2006-05-16  David Gilbert  <david.gilbert@object-refinery.com>
19529
19530         * javax/swing/DefaultButtonModel.java
19531         (setSelected): If new SELECTED state is false, clear ARMED and PRESSED
19532         states also.
19533
19534 2006-05-16  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
19535
19536         * javax/swing/JList.java (getSelectedValues):
19537         Ask the value for the indexed array element.
19538
19539 2006-05-16  Roman Kennke <kennke@aicas.com>
19540
19541         * javax/swing/JTable.java
19542         (valueChanged): Also repaint when table has only 1 row. Fixed
19543         repaint rectangle to span the entire changed rows.
19544
19545 2006-05-16  Roman Kennke <kennke@aicas.com>
19546
19547         PR 24031
19548         * javax/swing/JOptionPane.java
19549         (startModal): Rewritten. The events are now dispatched, even
19550         when the event dispatch thread gets blocked by the call
19551         to this method. Also, mouse events get intercepted outside the
19552         internal frame.
19553
19554 2006-05-16  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
19555
19556         * javax/swing/plaf/basic/BasicInternalFrameUI.java
19557         (BorderListener.mouseDragged):Do not set cursor 
19558         if the frame is being dragged.
19559
19560 2006-05-16  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
19561
19562         * javax/swing/plaf/basic/BasicInternalFrameUI.java
19563         (BorderListener): Rewritten. (InternalFrameBorder):
19564         Made package private.
19565         (InternalFrameBorder.offset):
19566         Renamed to cornerSize, made package private.
19567         (bSize): Made package private.
19568
19569 2006-05-16  Roman Kennke <kennke@aicas.com>
19570
19571         * javax/swing/JMenu.java
19572         (AccessibleJMenu.getAccessibleChildrenCount): Implemented.
19573         (AccessibleJMenu.getAccessibleChild): Implemented.
19574         (AccessibleJMenu.getAccessibleSelection): Implemented.
19575         (AccessibleJMenu.getAccessibleSelection(int)): Implemented.
19576         (AccessibleJMenu.isAccessibleChildSelected): Implemented.
19577         (AccessibleJMenu.getAccessibleRole): Documented.
19578         (AccessibleJMenu.getAccessibleSelectionCount): Implemented.
19579         (AccessibleJMenu.addAccessibleSelection): Implemented.
19580         (AccessibleJMenu.removeAccessibleSelection): Implemented.
19581         (AccessibleJMenu.clearAccessibleSelection): Implemented.
19582         (AccessibleJMenu.selectAllAccessibleSelection): Implemented.
19583         (createPath): New helper method.
19584
19585 2006-05-15  Tom Tromey  <tromey@redhat.com>
19586
19587         * java/text/MessageFormat.java (format): Now varargs.
19588
19589 2006-05-15  Tom Tromey  <tromey@redhat.com>
19590
19591         * java/lang/Thread.java (State): Fixed typo.
19592
19593 2006-05-15  Tom Tromey  <tromey@redhat.com>
19594
19595         * java/net/URLClassLoader.java: Moved inner classes to
19596         gnu.java.net.loader.
19597         (factoryCache): Changed type.
19598         (URL_LOADER_PREFIX): New constant.
19599         (URLClassLoader): Updated for new factoryCache.
19600         (addURLImpl): Use reflection to search for a loader.
19601         (findClass): Use getClass method on URLLoader.
19602         (getURLStreamHandler): Removed.
19603         * gnu/java/net/loader/URLLoader.java: New file, extracted
19604         from URLClassLoader.
19605         * gnu/java/net/loader/Resource.java: Likewise.
19606         * gnu/java/net/loader/FileResource.java: Likewise.
19607         * gnu/java/net/loader/FileURLLoaderjava: Likewise.
19608         * gnu/java/net/loader/JarURLLoader.java: Likewise.
19609         * gnu/java/net/loader/JarURLResource.java: Likewise.
19610         * gnu/java/net/loader/RemoteURLLoader.java: Likewise.
19611         * gnu/java/net/loader/RemoteResource.java: Likewise.
19612         * gnu/java/net/loader/ULRStreamHandlerCache.java: New file.
19613
19614 2006-05-15  Sven de Marothy  <sven@physto.se>
19615
19616         * native/target/generic/target_generic_network.h: 
19617         Add a pair of parenthesis.
19618
19619 2006-05-15  Mark Wielaard  <mark@klomp.org>
19620
19621         * java/awt/Graphics2D.java: Remove PrinterJob import.
19622
19623 2006-05-15  Mark Wielaard  <mark@klomp.org>
19624
19625         * doc/www.gnu.org/announce/20060515.wml: New file.
19626         * doc/www.gnu.org/newsitems.txt: Add 0.91 release announcement.
19627         * doc/www.gnu.org/downloads/downloads.wml: Add 0.91.
19628
19629 2006-05-15  Thomas Fitzsimmons  <fitzsim@redhat.com>
19630
19631         * NEWS: Announce inclusion of gcjwebplugin.
19632         Announce inclusion of appletviewer.
19633         * INSTALL: Note gcjwebplugin dependencies.
19634
19635 2006-05-15  Mark Wielaard  <mark@klomp.org>
19636
19637         * configure.ac (VERSION): Set to 0.91-generics.
19638
19639 2006-05-15  Mark Wielaard  <mark@klomp.org>
19640
19641         * NEWS: Add release date and VMClassLoader.getBootPackages()
19642         changes.
19643
19644 2006-05-15  Christian Thalinger  <twisti@complang.tuwien.ac.at>
19645
19646         * README: Added CACAO to list of VMs.
19647
19648 2006-05-15  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
19649
19650         * javax/swing/RepaintManager.java (paintDirtyRegions):
19651         Break loop as soon as the component repaint is merged
19652         with some parent. (ComponentComparator): Removed.
19653         (comparator): Removed.
19654
19655 2006-05-15  Roman Kennke <kennke@aicas.com>
19656
19657         * javax/swing/border/TitledBorder.java
19658         (paintBorderWithTitle): Fixed indentation.
19659
19660 2006-05-15  Roman Kennke <kennke@aicas.com>
19661
19662         * javax/swing/border/TitledBorder.java
19663         (layoutBorderWithTitle): Fetch border using getBorder() instead
19664         of using the border field directly. Allows for the use of
19665         an UI supplied border in the case when a null border was set.
19666         Fixed component orientation.
19667         (paintBorderWithTitle): Fetch border using getBorder() instead
19668         of using the border field directly. Allows for the use of
19669         an UI supplied border in the case when a null border was set.
19670
19671 2006-05-15  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
19672
19673         * javax/swing/RepaintManager.java (paintDirtyRegions): Rewritten.
19674         (contains): New method.
19675
19676 2006-05-15  Tom Tromey  <tromey@redhat.com>
19677
19678         * resource/gnu/classpath/tools/jar/messages.properties: Fixed
19679         argument indices.
19680         * resource/gnu/classpath/tools/getopt/Messages.properties: Fixed
19681         argument indices.
19682
19683 2006-05-15  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
19684
19685         * javax/swing/JComponent.java (findOverlapParent): Stop loop at
19686          JViewport's.
19687         * javax/swing/RepaintManager.java (addDirtyRegion): Always add the given
19688         region. (paintDirtyRegions): Rewritten.
19689
19690 2006-05-15  Tom Tromey  <tromey@redhat.com>
19691
19692         * tools/gnu/classpath/tools/jar/Main.java (setArchiveFile): Use
19693         MessageFormat.
19694         * tools/gnu/classpath/tools/jar/Indexer.java (indexJarFile): Use
19695         MessageFormat.
19696         * tools/gnu/classpath/tools/jar/Extractor.java: Externalized strings.
19697         (run): Use MessageFormat.
19698         * resource/gnu/classpath/tools/jar/messages.properties: New file.
19699         * tools/gnu/classpath/tools/jar/Creator.java: Externalized strings.
19700         (writeFile): Use MessageFormat.
19701
19702 2006-05-15  Jeroen Frijters  <jeroen@frijters.net>
19703
19704         * java/awt/Toolkit.java (getDefaultToolkit): Use Class.forName()
19705         instead of directly calling the class loader.
19706
19707 2006-05-15  Tom Tromey  <tromey@redhat.com>
19708
19709         * tools/gnu/classpath/tools/getopt/Option.java (getDescription):
19710         Removed old comment.
19711         * tools/gnu/classpath/tools/getopt/ClasspathToolParser.java:
19712         Externalized strings.
19713         (getVersionString): Use MessageFormat.
19714         * tools/gnu/classpath/tools/getopt/Messages.java: New file.
19715         * resource/gnu/classpath/tools/getopt/Messages.properties: New file.
19716         * tools/gnu/classpath/tools/getopt/Parser.java: Externalized strings.
19717         (getArgument): Use a MessageFormat.
19718         (handleLongOption): Likewise.
19719         (parse): Likewise.
19720
19721 2006-05-15  Robert Schuster  <robertschuster@fsfe.org>
19722
19723         Fixes PR 27197.
19724         * javax/swing/text/FieldView.java:
19725         (paint): Calculate intersection between clip and allocation area and
19726         set that as new clip.
19727
19728 2006-05-15  David Gilbert  <david.gilbert@object-refinery.com>
19729
19730         * javax/swing/text/JTextComponent.java: Marked stub methods.
19731
19732 2006-05-15  David Gilbert  <david.gilbert@object-refinery.com>
19733
19734         * javax/swing/JTable.java: Marked stub methods.
19735
19736 2006-05-15  Raif S. Naffah  <raif@swiftdsl.com.au>
19737
19738         * tools/gnu/classpath/tools/jarsigner/Main.java:
19739         Increased visibility of fields used by parser anonymous classes.
19740         (KEYTOOL_TOOL): New constant.
19741         (cmdLineParser): Changed type to ToolParser.
19742         (fileAndAlias): new field.
19743         (main): Don't catch OptionException.
19744         (processArgs): Removed validation checks; now handled by ToolParser.
19745         (getParser): Removed.
19746         (ToolParserCallback): New inner class.
19747         (ToolParser): Likewise.
19748
19749 2006-05-15  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
19750
19751         * javax/swing/JTable.java (TableTextArea.scrollRectToVisible):
19752         Removed.
19753
19754 2006-05-15  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
19755
19756         * javax/swing/DefaultDesktopManager.java (endDraggingFrame, 
19757         endResizingFrame): Do not repaint, unless in the outline mode.
19758
19759 2006-05-15  David Gilbert  <david.gilbert@object-refinery.com>
19760
19761         * javax/swing/JTabbedPane.java
19762         (AccessibleJTabbedPane.getAccessibleRole): Implemented,
19763         (AccessibleJTabbedPane.getAccessibleChildrenCount): Implemented,
19764         (AccessibleJTabbedPane.getAccessibleSelection()): Implemented,
19765         (AccessibleJTabbedPane.getAccessibleAt): Implemented,
19766         (AccessibleJTabbedPane.getAccessibleSelectionCount): Implemented,
19767         (AccessibleJTabbedPane.getAccessibleSelection(int)): Implemented,
19768         (AccessibleJTabbedPane.isAccessibleChildSelected): Implemented,
19769         (AccessibleJTabbedPane.addAccessibleSelection): Implemented,
19770         (AccessibleJTabbedPane.removeAccessibleSelection): Implemented,
19771         (AccessibleJTabbedPane.clearAccessibleSelection): Implemented,
19772         (AccessibleJTabbedPane.selectAllAccessibleSelection): Implemented,
19773         (Page.getAccessibleName): Implemented.
19774
19775 2006-05-15  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
19776
19777         * javax/swing/DefaultDesktopManager.java (setBoundsForFrame):
19778         Do not repaint nor revalidate here.
19779
19780 2006-05-15  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
19781
19782         * javax/swing/RepaintManager.java (addDirtyRegion):
19783         If there is a lightweight parent, recursively add the corresponding
19784         region of the parent instead.
19785
19786 2006-05-15  David Gilbert  <david.gilbert@object-refinery.com>
19787
19788         * java/awt/Graphics2D.java: Added some API doc comments.
19789
19790 2006-05-15  David Gilbert  <david.gilbert@object-refinery.com>
19791
19792         * javax/swing/JTabbedPane.java
19793         (paramString): Reimplemented,
19794         (getAccessibleContext): Added API docs.
19795
19796 2006-05-15  David Gilbert  <david.gilbert@object-refinery.com>
19797
19798         * javax/swing/JFileChooser.java
19799         (paramString): Reimplemented,
19800         (getAccessibleContext): Updated API docs,
19801         (AccessibleJFileChooser): Added API docs.
19802
19803 2006-05-14  Tom Tromey  <tromey@redhat.com>
19804
19805         * tools/gnu/classpath/tools/jar/Updater.java (run): No longer throws
19806         OptionException.
19807         * tools/gnu/classpath/tools/jar/Creator.java (run): No longer throws
19808         OptionException.
19809         * tools/gnu/classpath/tools/jar/Action.java (run): No longer throws
19810         OptionException.
19811         * tools/gnu/classpath/tools/jar/Indexer.java (run): Removed.  Moved
19812         validation to JarParser.
19813         * tools/gnu/classpath/tools/jar/Main.java (JarParser): New class.
19814         (run): Moved validation to JarParser.  Don't throw OptionException.
19815         (initializeParser): Create a JarParser.
19816         (main): Don't catch OptionException.
19817         * tools/gnu/classpath/tools/getopt/Parser.java (printHelp): No longer
19818         public.
19819         (validate): New method.
19820         (parse): Call it.  Print '-help' in error message when long-only.
19821
19822 2006-05-14  Tom Tromey  <tromey@redhat.com>
19823
19824         * gnu/java/awt/print/JavaPrinterJob.java (setPrintable): Fixed
19825         assignment.
19826
19827 2006-05-15  Sven de Marothy  <sven@physto.se>
19828
19829         * gnu/java/awt/print/JavaPrinterGraphics.java:
19830         Sweeping changes I can't be bothered to document in detail.
19831         * gnu/java/awt/print/JavaPrinterJob.java
19832         (getPageAttributes): New method.
19833         (setPageable,cancel,isCancelled): Implement.
19834
19835 2006-05-14  David Gilbert  <david.gilbert@object-refinery.com>
19836
19837         * javax/swing/JCheckBoxMenuItem.java
19838         (requestFocus): Fixed typo in API docs,
19839         (paramString): Just call super.paramString(),
19840         (getAccessibleContext): Added API docs,
19841         (AccessibleJCheckBoxMenuItem): Likewise.
19842
19843 2006-05-14  Tom Tromey  <tromey@redhat.com>
19844
19845         * tools/gnu/classpath/tools/jar/Indexer.java
19846         (writeCommandLineEntries): Simplify insertion.
19847         * tools/gnu/classpath/tools/jar/Main.java (run): Don't allow both
19848         -m and -M.
19849
19850 2006-05-14  Tom Tromey  <tromey@redhat.com>
19851
19852         PR classpath/27514:
19853         * gnu/java/net/IndexListParser.java (JAR_INDEX_FILE): Renamed.  Now
19854         constant.
19855         (JAR_INDEX_VERSION_KEY): Likewise.
19856         (IndexListParser): Updated.
19857         (getVersionInfo): Likewise.
19858         * tools/gnu/classpath/tools/jar/Indexer.java: New file.
19859         * tools/gnu/classpath/tools/jar/Action.java (run): Now throws
19860         OptionException.
19861         * tools/gnu/classpath/tools/jar/Main.java (initializeParser): Handle
19862         -i.
19863         (ModeOption): New constructor.
19864         (parsed): Updated.  Use setArchiveFile.
19865         (setArchiveFile): New method.
19866         (run): Handle no-argument case.
19867         (main): Emit --help message on option error.
19868         * tools/gnu/classpath/tools/jar/Updater.java (inputJar): New field.
19869         (createManifest): New method.
19870         (run): Updated.  Throws OptionException.  Correctly copy zip entry.
19871         * tools/gnu/classpath/tools/jar/Creator.java (createManifest): New
19872         method.
19873         (writeManifest): Removed.
19874         (outputStream): Now a JarOutputStream.
19875         (writeCommandLineEntries): Changed parameters.  Updated callers.
19876         (run): Throws OptionException.
19877         * java/util/jar/JarOutputStream.java (putNextEntry): Typo fix.
19878         * java/util/jar/Manifest.java (read): Typo fix.
19879
19880 2006-05-14  David Gilbert  <david.gilbert@object-refinery.com>
19881
19882         * javax/swing/JMenuItem.java
19883         (paramString): Fixed class name in API doc comment.
19884
19885 2006-05-14  Tom Tromey  <tromey@redhat.com>
19886
19887         * native/plugin/.cvsignore: Updated.
19888
19889 2006-05-14  Mark Wielaard  <mark@klomp.org>
19890
19891         * native/jni/java-net/javanet.c (_javanet_accept): Don't use C++
19892         comments.
19893
19894 2006-05-14  Chris Burdess  <dog@gnu.org>
19895
19896         * gnu/xml/dom/DomNode.java: Permit comments and PIs in doctype
19897         nodes to be preserved during cloneNode.
19898
19899 2006-05-14  Mark Wielaard  <mark@klomp.org>
19900
19901         PR 27459
19902         * native/jni/java-net/javanet.c (_javanet_accept): Reset the
19903         inherited timeout on socket.
19904
19905 2006-05-14  Lillian Angel  <langel@redhat.com>
19906
19907         * java/util/SimpleTimeZone.java: Reverted patch.
19908         (SimpleTimeZone): Throw exception if startMonth ==
19909         endMonth.
19910         (SimpleTimeZone): Likewise.
19911         (checkRule): Rewritten to properly check all values (more
19912         efficently).
19913         This code is now more stable, at least less buggy than before.
19914         Fixed API documentation.
19915         (setStartRule): Moved checkRule call to end.
19916         (setStartRule): Likewise.
19917         (setEndRule): Likewise.
19918         (setEndRule): Likewise.
19919
19920 2006-05-14  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
19921
19922         * javax/swing/tree/DefaultTreeSelectionModel.java (leadRow):
19923         Initialise to -1.
19924
19925 2006-05-14  Robert Schuster  <robertschuster@fsfe.org>
19926
19927         PR classpath/27595
19928         * javax/swing/text/AbstractDocument.java:
19929         (insertString): Flipped if-expression and its blocks.
19930         (remove): Dito.
19931         (replace): Flipped if-expression and its blocks, added note, invoke
19932         insertString and remove instead of insertStringImpl and removeImpl.
19933
19934 2006-05-14  Raif S. Naffah  <raif@swiftdsl.com.au>
19935
19936         * tools/gnu/classpath/tools/jarsigner/Main.java (main): Formatting.
19937
19938 2006-05-14  Raif S. Naffah  <raif@swiftdsl.com.au>
19939
19940         * resource/gnu/classpath/tools/keytool/MessageBundle.properties:
19941         Added help text.
19942         * tools/gnu/classpath/tools/keytool/keytool.txt: Removed
19943         * tools/gnu/classpath/tools/keytool/StorePasswdCmd.java: 
19944         Increased visibility of fields used by parser anonymous classes.
19945         (processArgs): Removed.
19946         (getParser): New method.
19947         * tools/gnu/classpath/tools/keytool/SelfCertCmd.java: Likewise.
19948         (setup): Mark (Eclipse) strings that need not be externalised.
19949         (start): Likewise.
19950         * tools/gnu/classpath/tools/keytool/PrintCertCmd.java: Likewise.
19951         * tools/gnu/classpath/tools/keytool/Main.java: Amended to use getopt
19952         command line option parsing.
19953         * tools/gnu/classpath/tools/keytool/ListCmd.java: 
19954         Increased visibility of fields used by parser anonymous classes.
19955         (processArgs): Removed.
19956         (setup): set 'all' local field.
19957         (getParser): New method.
19958         * tools/gnu/classpath/tools/keytool/KeyPasswdCmd.java: 
19959         Increased visibility of fields used by parser anonymous classes.
19960         (processArgs): Removed.
19961         (getParser): New method.
19962         * tools/gnu/classpath/tools/keytool/KeyCloneCmd.java: Likewise.
19963         (setNewKeyPassword): Fixed comments.
19964         * tools/gnu/classpath/tools/keytool/ImportCmd.java: 
19965         Increased visibility of fields used by parser anonymous classes.
19966         (processArgs): Removed.
19967         (getParser): New method.
19968         (findTrustInCACerts): Mark (Eclipse) strings that need not be
19969         externalised.
19970         * tools/gnu/classpath/tools/keytool/GenKeyCmd.java: 
19971         Increased visibility of fields used by parser anonymous classes.
19972         (processArgs): Removed.
19973         (setup): Mark (Eclipse) strings that need not be externalised.
19974         (getParser): New method.
19975         * tools/gnu/classpath/tools/keytool/IdentityDBCmd.java: Likewise.
19976         * tools/gnu/classpath/tools/keytool/DeleteCmd.java: 
19977         Increased visibility of fields used by parser anonymous classes.
19978         (processArgs): Removed.
19979         (getParser): New method.
19980         * tools/gnu/classpath/tools/keytool/CertReqCmd.java: Likewise.
19981         (ATTRIBUTES_OPT): New constant.
19982         * tools/gnu/classpath/tools/keytool/ExportCmd.java: 
19983         Increased visibility of fields used by parser anonymous classes.
19984         (processArgs): Removed.
19985         (setup): Mark (Eclipse) strings that need not be externalised.
19986         (start): Likewise.
19987         Reduced logging level.
19988         (getParser): New method.
19989         * tools/gnu/classpath/tools/keytool/Command.java
19990         (processArgs): Made it concrete.
19991         (getParser): New abstract method.
19992         * tools/Makefile.am (KEYTOOL_HELPS): Removed.
19993
19994 2006-05-13  Casey Marshall  <csm@gnu.org>
19995
19996         Patch by Michael Barker <mike@middlesoft.co.uk>.
19997         * gnu/java/nio/PipeImpl.java: Retrofitted to use VMChannel.
19998         * gnu/java/nio/SelectorImpl.java (register): Added condition for
19999         gnu.java.nio.SocketChannelSelectionKeyImpl.
20000         * gnu/java/nio/SocketChannelSelectionKeyImpl.java: new file.
20001         * gnu/java/nio/channels/FileChannelImpl.java: retrofitted to use
20002         VMChannel.
20003         * include/gnu_java_nio_VMChannel.h: new file.
20004         * java/nio/FileChannel.java (read,write): changed to call abstract
20005         method.
20006         * native/jni/java-nio/gnu_java_nio_VMChannel.c: new file.
20007         * native/jni/java-nio/Makefile.am (libjavanio_SOURCES): add
20008         `gnu_java_nio_VMChannel.c.'
20009         * vm/reference/gnu/java/nio/VMChannel.java: new file.
20010
20011 2006-05-14  Robert Schuster  <robertschuster@fsfe.org>
20012
20013         * javax/swing/text/AbstractDocument.java:
20014         (insertString): Flipped if-expression and its blocks.
20015         (remove): Dito.
20016         (replace): Flipped if-expression and its blocks, added note, invoke
20017         insertString and remove instead of insertStringImpl and removeImpl.
20018
20019 2006-05-13  Tom Tromey  <tromey@redhat.com>
20020
20021         * java/nio/ByteBufferImpl.java (compact): Always set position.
20022
20023 2006-05-13  Sven de Marothy  <sven@physto.se>
20024
20025         * gnu/java/awt/print/JavaPrinterGraphics.java
20026         (spoolPostScript): Use a faster writer.
20027
20028 2006-05-13  Sven de Marothy  <sven@physto.se>
20029
20030         * gnu/java/awt/print/JavaPrinterGraphics.java
20031         (colorTripleHex): Reimplement better.
20032
20033 2006-05-13  Sven de Marothy  <sven@physto.se>
20034
20035         * javax/swing/text/html/HTMLDocument.java
20036         (CharacterAction.start): Translate tag to StyleAttribute.
20037         (pushCharacterStyle): Push copy of attributes onto stack.
20038         * gnu/javax/swing/text/html/CharacterAttributeTranslator.java:
20039         New file
20040
20041 2006-05-13  Sven de Marothy  <sven@physto.se>
20042
20043         * gnu/javax/print/ipp/IppRequest.java (send): Set a timeout.
20044         * java/awt/print/PrinterJob.java 
20045         (getPrinterJob): Return a JavaPrinterJob
20046         (setPrintService,getPrintService): Implement.
20047         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c:
20048         (getPixels): Gtk_threads_enter required.
20049         * gnu/java/awt/print/JavaPrinterGraphics.java
20050         * gnu/java/awt/print/JavaPrinterJob.java
20051         * gnu/java/awt/print/SpooledDocumet.java: 
20052         New files.
20053         
20054 2006-05-13  Robert Schuster  <robertschuster@fsfe.org>
20055
20056         * javax/swing/text/TextAction.java:
20057         (HorizontalMovementAction): New inner class.
20058         (VerticalMovementAction): New inner class.
20059         * javax/swing/text/DefaultEditorKit.java: Added assigning instances of
20060         new inner classes to array 'defaultActions'.
20061         (SelectionBeginWordAction): New inner class.
20062         (SelectionEndWordAction): New inner class.
20063         (BeginWordAction): New inner class.
20064         (EndWordAction): New inner class.
20065         (PreviousWordAction.actionPerformed): Rewritten.
20066         (SelectLineAction): New inner class.
20067         (SelectWordAction): New inner class.
20068         (SelectionDownAction): Rewritten.
20069         (SelectionUpAction): Rewritten.
20070         (DownAction): Rewritten.
20071         (UpAction): Rewritten.
20072         (SelectionForwardAction): Rewritten.
20073         (SelectionBackwardAction): Rewritten.
20074         (ForwardAction): Rewritten.
20075         (BackwardAction): Rewritten.
20076         (BeginAction): New inner class.
20077         (EndAction): New inner class.
20078         (DefaultKeyTypedAction.actionPerformed): Use int variant of
20079         Character.isISOControl.
20080
20081 2006-05-13  Robert Schuster  <robertschuster@fsfe.org>
20082
20083         * examples/gnu/classpath/examples/swing/NavigationFilterDemo.java:
20084         (WordFilter.getNextVisualPositionFrom): Added statement to check
20085         for variable pt not being null.
20086
20087 2006-05-13  Robert Schuster  <robertschuster@fsfe.org>
20088
20089         * javax/swing/text/Utilities.java:
20090         (getNextWord): Fixed grammar in exception message.
20091         (getPreviousWord): Changed expression in first if-clause, added sub-
20092         expression to if-clause in while-loop.
20093         (getWordStart): Changed expression in if-clause.
20094         getNextVisualPositionFrom): Added package-private helper method.
20095
20096 2006-05-13  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
20097  
20098         * javax/swing/tree/DefaultTreeSelectionModel.java (leadRow):
20099         Initialise to -1.
20100
20101 2006-05-13  Raif S. Naffah  <raif@swiftdsl.com.au>
20102
20103         * resource/gnu/classpath/tools/jarsigner/MessageBundle.properties:
20104         Added help text.
20105         * tools/Makefile.am (JARSIGNER_HELPS): Removed.
20106         * tools/gnu/classpath/tools/jarsigner/jarsigner.txt: Removed.
20107         * tools/gnu/classpath/tools/jarsigner/Main.java:
20108         Increased visibility of fields used by parser anonymous classes.
20109         (HELP_PATH): Removed.
20110         (cmdLineParser): New field.
20111         (main): Handle JVM exit status.
20112         Handle command line parsing exceptions.
20113         (processArgs): Use getopt command line parser.
20114         (getParser): New method.
20115         (setupCommonParams): Removed checks now handled by processArgs().
20116         (setupSigningParams): Likewise.
20117         * tools/gnu/classpath/tools/jarsigner/JarSigner.java (start):
20118         Reuse an existing message-bundle constant.
20119
20120 2006-05-12  Tom Tromey  <tromey@redhat.com>
20121
20122         * gnu/java/net/protocol/jar/Connection.java (getHeaderField):
20123         Explicitly specify class for synchronization.
20124
20125 2006-05-12  Tom Tromey  <tromey@redhat.com>
20126
20127         * java/util/logging/Logger.java (resetLogger): Fixed typo.
20128
20129 2006-05-12  Sven de Marothy  <sven@physto.se>
20130
20131         * gnu/java/net/protocol/http/HTTPConnection.java (get): Add timeout parameter.
20132         * gnu/java/net/protocol/http/HTTPURLConnection.java
20133         (setConnectTimeout): New method.
20134         (getConnection): Add timeout parameter.
20135         *  java/net/URLConnection.java  
20136         (getConnectTimeout, setConnectTimeout): Implement.
20137         * native/target/generic/target_generic_network.h: 
20138         Set correct socket parameters SO_SNDTIMEO and SO_RCVTIMEO.
20139         
20140 2006-05-12  Sven de Marothy  <sven@physto.se>
20141   
20142         * gnu/javax/print/CupsServer.java
20143         (CupsServer): Make the Cups host configurable.
20144         * java/lang/System.java: Document the system property.
20145         
20146 2006-05-12  Roman Kennke <kennke@aicas.com>
20147   
20148         * javax/swing/border/TitledBorder.java
20149         (paintBorder): Rewritten for simplicity and correctness.
20150         (layoutBorderWithTitle): New helper method.
20151         (paintBorderWithTitle): New helper method.
20152         (getBorderInsets): Rewritten.
20153         (getMinimumSize): Rewritten.
20154         (getRealJustification): Removed.
20155         (getMeasurements): Removed.
20156         (Measurements): Removed.
20157   
20158 2006-05-12  David Gilbert  <david.gilbert@object-refinery.com>
20159   
20160         * javax/swing/plaf/basic/BasicPanelUI.java
20161         (sharedUI): New field,
20162         (createUI): Return a shared instance rather than a new instance,
20163         (installUI): Reformatted and added API docs,
20164         (installDefaults): Install border if one is defined,
20165         (uninstallDefaults): Uninstall border.
20166
20167 2006-05-12  David Gilbert  <david.gilbert@object-refinery.com>
20168
20169         * javax/swing/JProgressBar.java: Updated API docs all over.
20170
20171 2006-05-11  Lillian Angel  <langel@redhat.com>
20172
20173         * java/awt/ContainerOrderFocusTraversalPolicy.java
20174         (getComponentAfter): Should not throw exception if
20175         the ancestor is null. Added a check for this.
20176         Also, changed to use new helper function, we should
20177         iterate through all the components at least once.
20178         (getNextAvailableComponent): New helper function.
20179         (getPrevAvailableComponent): New helper function.
20180         (getComponentBefore): Should not throw exception if
20181         the ancestor is null. Added a check for this.
20182         Also, changed to use new helper function, we should
20183         iterate through all the components at least once.
20184         (getFirstComponent): Changed check to manually check
20185         fields. Calling accept() casts the object to a Component,
20186         so different values may be returned.
20187         (getLastComponent): Likewise.
20188
20189 2006-05-11  David Gilbert  <david.gilbert@object-refinery.com>
20190
20191         * javax/swing/plaf/metal/MetalBorders.java: Clean up formatting/style,
20192         * javax/swing/plaf/metal/MetalButtonUI.java: Likewise,
20193         * javax/swing/plaf/metal/MetalCheckBoxUI.java: Likewise,
20194         * javax/swing/plaf/metal/MetalComboBoxButton.java: Likewise,
20195         * javax/swing/plaf/metal/MetalComboBoxIcon.java: Likewise,
20196         * javax/swing/plaf/metal/MetalFileChooserUI.java: Likewise,
20197         * javax/swing/plaf/metal/MetalIconFactory.java: Likewise,
20198         * javax/swing/plaf/metal/MetalInternalFrameTitlePane.java: Likewise,
20199         * javax/swing/plaf/metal/MetalLookAndFeel.java: Likewise,
20200         * javax/swing/plaf/metal/MetalPopupMenuSeparatorUI.java: Likewise,
20201         * javax/swing/plaf/metal/MetalRootPaneUI.java: Likewise,
20202         * javax/swing/plaf/metal/MetalScrollBarUI.java: Likewise,
20203         * javax/swing/plaf/metal/MetalSeparatorUI.java: Likewise,
20204         * javax/swing/plaf/metal/MetalSliderUI.java: Likewise,
20205         * javax/swing/plaf/metal/MetalSplitPaneDivider.java: Likewise,
20206         * javax/swing/plaf/metal/MetalTabbedPaneUI.java: Likewise,
20207         * javax/swing/plaf/metal/MetalToolTipUI.java: Likewise,
20208         * javax/swing/plaf/metal/MetalUtils.java: Likewise.
20209
20210 2006-05-11  Robert Schuster  <robertschuster@fsfe.org>
20211
20212         * javax/swing/text/DefaultCaret.java: Made field 'textComponent'
20213         package-private, added field 'active'.
20214         (PropertyChangeHandler.propertyChange): Added variable 'name', added
20215         cases to update field 'active'.
20216         (mouseDragged): Added documentation, added if-clause to update
20217         selection or caret position.
20218         (mouseClicked): Added early return when text component is disabled.
20219         (focusGained): Moved statements into an if-clause.
20220         (focusLost): Added subexpression to if-clause.
20221         (install): Preset value of 'active'.
20222         (paint): Added subexpression to if-clause.
20223         (isVisible): Extended return expression.
20224         * javax/swing/text/JTextComponent.java:
20225         (copy): Copy only if component is enabled.
20226         (cut): Cut only if component is enabled and editable.
20227         (paste): Dito.
20228
20229 2006-05-11  David Gilbert  <david.gilbert@object-refinery.com>
20230
20231         * javax/swing/plaf/multi/MultiComboBoxUI.java: Minor formatting change,
20232         * javax/swing/plaf/multi/MultiFileChooserUI.java: Likewise,
20233         * javax/swing/plaf/multi/MultiListUI.java: Likewise,
20234         * javax/swing/plaf/multi/MultiLookAndFeel.java: Likewise,
20235         * javax/swing/plaf/multi/MultiOptionPaneUI.java: Likewise,
20236         * javax/swing/plaf/multi/MultiSplitPaneUI.java: Likewise,
20237         * javax/swing/plaf/multi/MultiTabbedPaneUI.java: Likewise.      
20238
20239 2006-05-11  Roman Kennke <kennke@aicas.com>
20240
20241         * gnu/java/awt/font/GNUGlyphVector.java
20242         (GNUGlyphVector): Don't apply the font renderer context's
20243         transform.
20244   
20245 2006-05-11  Mark Wielaard  <mark@klomp.org>
20246
20247         * java/util/logging/Logger.java (global): Initialize inside static
20248         PrivilegedAction.
20249
20250 2006-05-11  David Gilbert  <david.gilbert@object-refinery.com>
20251   
20252         * javax/swing/JFrame.java
20253         (EXIT_ON_CLOSE): Added note to API docs,
20254         (close_action): Renamed closeAction,
20255         (JFrame()): Change title to "",
20256         (JFrame(String)): Added API docs,
20257         (getAccessibleContext): Likewise,
20258         (getDefaultCloseOperation): Updated for renamed field, added API docs,
20259         (processWindowEvent): Updated for renamed field,
20260         (setDefaultCloseOperation): Likewise, and updated API docs.
20261   
20262 2006-05-11  David Gilbert  <david.gilbert@object-refinery.com>
20263   
20264         * javax/swing/JFrame.java
20265         (paramString): Reimplemented,
20266         * javax/swing/SwingUtilities.java
20267         (convertWindowConstantToString): New method.
20268   
20269 2006-05-11  David Gilbert  <david.gilbert@object-refinery.com>
20270   
20271         * javax/swing/WindowConstants.java: Updated API docs.
20272   
20273 2006-05-11  David Gilbert  <david.gilbert@object-refinery.com>
20274   
20275         * javax/swing/plaf/basic/BasicToggleButtonUI.java: Updated API docs,
20276         (createUI): Removed 'final' qualifier for parameter,
20277         (paint): Reformatted.
20278   
20279 2006-05-11  David Gilbert  <david.gilbert@object-refinery.com>
20280   
20281         * javax/swing/plaf/basic/BasicCheckBoxUI.java: Added API docs plus,
20282         (createUI): Removed 'final' qualifier on method argument.
20283   
20284 2006-05-11  David Gilbert  <david.gilbert@object-refinery.com>
20285   
20286         * javax/swing/plaf/basic/BasicCheckBoxUI.java
20287         (getDefaultIcon): Removed this redundant method.
20288
20289 2006-05-11  David Gilbert  <david.gilbert@object-refinery.com>
20290
20291         * javax/swing/plaf/basic/BasicRadioButtonUI.java
20292         (paint): Pass component size to paintFocus().
20293
20294 2006-05-11  Robert Schuster  <robertschuster@fsfe.org>
20295
20296         * java/awt/Component.java:
20297         (dispatchEventImpl): Added comment.
20298   
20299   2006-05-11  Mark Wielaard  <mark@klomp.org>
20300   
20301         * tools/gnu/classpath/tools/appletviewer/Main.java (main): Cast
20302         Option constructor null argument to String.
20303   
20304 2006-05-11  Mark Wielaard  <mark@klomp.org>
20305
20306         * java/awt/geom/GeneralPath.java (WIND_EVEN_ODD, WIND_NON_ZERO):
20307         Fully qualify PathIterator constants
20308
20309 2006-05-11  Robert Schuster  <robertschuster@fsfe.org>
20310
20311         * java/awt/Component.java:
20312         (dispatchEventImpl): Added subexpression to if-clause.  
20313
20314 2006-05-11  Mark Wielaard  <mark@klomp.org>
20315
20316         * java/util/Collections.java (UnmodifiableMapEntry): Qualify
20317         Map.Entry.
20318
20319 2006-05-10  David Gilbert  <david.gilbert@object-refinery.com>
20320
20321         * javax/swing/TransferHandler.java: Marked stub methods.
20322
20323 2006-05-10  Roman Kennke <kennke@aicas.com>
20324
20325         PR classpath/27481
20326         * javax/swing/plaf/basic/BasicInternalFrameUI.java
20327         (installDefaults): Set background of content pane to null, if
20328         no custom color has been installed by the application yet.
20329
20330 2006-05-10  Roman Kennke <kennke@aicas.com>
20331
20332         PR classpath/27481
20333         * javax/swing/JRootPane.java
20334         (createContentPane): Don't set background to null.
20335
20336 2006-05-10  Sven de Marothy <sven@physto.se>
20337
20338         * java/awt/print/PrinterJob.java:
20339         (lookupPrintServices): Un-comment-out.
20340
20341 2006-05-11  Raif S. Naffah  <raif@swiftdsl.com.au>
20342
20343         * tools/gnu/classpath/tools/getopt/OptionGroup.java
20344         (FILLER): New constant.
20345         (formatText(PrintStream,String,int)): New method.
20346         (formatText(PrintStream,String,int,Locale)): Likewise.
20347         (printHelp): Use formatText method.
20348         * tools/gnu/classpath/tools/getopt/Parser.java
20349         (MAX_LINE_LENGTH): New constant.
20350         (formatText(PrintStream,String)): New method.
20351         (formatText(PrintStream,String,Locale)): Likewise.
20352         (printHelp): New method.
20353         (printHelp(PrintStream)): Increased visibility to protected.
20354         Use formatText method.
20355
20356 2006-05-10  David Gilbert  <david.gilbert@object-refinery.com>
20357
20358         * javax/swing/plaf/metal/MetalRadioButtonUI.java
20359         (installDefaults): Use getPropertyPrefix() to allow subclasses to 
20360         modify the lookup key.
20361
20362 2006-05-10  Lillian Angel  <langel@redhat.com>
20363
20364         * java/util/SimpleTimeZone.java: Reverted patch.
20365         (SimpleTimeZone): Throw exception if startMonth == 
20366         endMonth.
20367         (SimpleTimeZone): Likewise.
20368         (checkRule): Rewritten to properly check all values (more 
20369         efficently).
20370         This code is now more stable, at least less buggy than before. 
20371         Fixed API documentation.
20372         (setStartRule): Moved checkRule call to end.
20373         (setStartRule): Likewise.
20374         (setEndRule): Likewise.
20375         (setEndRule): Likewise.
20376
20377 2006-05-10  Roman Kennke <kennke@aicas.com>
20378
20379         * gnu/java/awt/peer/swing/SwingComponent.java:
20380         Some API comment fixlets.
20381         * gnu/java/awt/peer/swing/SwingComponentPeer.java:
20382         (createImage): Create a BufferedImage, not a Toolkit image.
20383         (paint): Removed bogus API comment.
20384         (prepareImage): Added checks to avoid NPE.
20385         * gnu/java/awt/peer/swing/SwingContainerPeer.java:
20386         (getInsets): Added check to avoid NPE.
20387         (handleMouseEvent): Added check to avoid NPE.
20388         * gnu/java/awt/peer/swing/SwingFramePeer.java:
20389         Some API comment fixlets.
20390         * gnu/java/awt/peer/swing/SwingMenuBarPeer.java:
20391         Some API comment fixlets.
20392         * gnu/java/awt/peer/swing/SwingTextFieldPeer.java:
20393         Changed start_pos name to startPos.
20394         * gnu/java/awt/peer/swing/SwingWindowPeer.java:
20395         Some API comment fixlets.
20396
20397 2006-05-10  David Gilbert  <david.gilbert@object-refinery.com>
20398
20399         * java/awt/BasicStroke.java
20400         (equals): Fixed typo in HTML tag for API doc comment.
20401
20402 2006-05-10  Gary Benson  <gbenson@redhat.com>
20403
20404         * java/lang/ThreadGroup.java (parent): Make package-private.
20405         * java/lang/SecurityManager.java (checkAccess(Thread)):
20406         Reference ThreadGroup.parent directly to avoid extra checks.
20407         * java/lang/SecurityManager.java (checkAccess(ThreadGroup)):
20408         Likewise.
20409
20410 2006-05-10  Roman Kennke <kennke@aicas.com>
20411
20412         Reported by Ingo Proetel (proetel@aicas.com)
20413         * java/awt/EventDispatchThread.java
20414         (DEFAULT_PRIORITY): New constant field.
20415         (EventDispatchThread()): Added gnu.awt.dispatchthread.priority
20416         system property for adjusting the priority of the event
20417         dispatch thread.
20418
20419 2006-05-10  Roman Kennke <kennke@aicas.com>
20420
20421         Reported by Ingo Proetel (proetel@aicas.com)
20422         * java/awt/image/ColorModel.java
20423         (S_RGB_MODEL): New constant field.
20424         (getRGBDefault): Return constant SRGBColorModel.
20425         (SRGBColorModel): Specialized color model for sRGB.
20426
20427 2006-05-10  Roman Kennke <kennke@aicas.com>
20428
20429         * java/awt/ColorPaintContext.java
20430         (getRaster): Create Raster with (0,0) as source location.
20431
20432 2006-05-10  Roman Kennke <kennke@aicas.com>
20433
20434         * gnu/java/awt/java2d/AlphaCompositeContext.java
20435         (compose): Don't premultiply alpha to alpha itself.
20436
20437 2006-05-10  Roman Kennke <kennke@aicas.com>
20438
20439         * gnu/java/awt/java2d/AbstractGraphics2D.java
20440         (drawImage(Image,AffineTransform,ImageObserver)): Implemented.
20441         (drawImageImpl(Image,AffineTransform,ImageObserver,Rectangle)):
20442         New method.
20443         (drawImage(BufferedImage,BufferedImageOp,int,int)): Implemented.
20444         (drawRenderedImage(RenderedImage,AffineTransform)): Implemented.
20445         (drawRenderedImageImpl(RenderedImage,AffineTransform,Rectangle)):
20446         New method.
20447         (drawRenderableImage(RenderableImage,AffineTransform)): Implemented.
20448         (drawRenderableImageImpl(RenderableImage,AffineTransform,Rectangle)):
20449         New method.
20450         (scale): Inverse transform by doing 1/scale instead of -scale.
20451         (drawImage(Image,int,int,ImageObserver)): Implemented.
20452         (drawImage(Image,int,int,int,int,ImageObserver)): Implemented.
20453         (drawImage(Image,int,int,Color,ImageObserver)): Implemented.
20454         (drawImage(Image,int,int,int,int,Color,ImageObserver)): Implemented.
20455         (drawImage(Image,int,int,int,int,int,int,int,int,ImageObserver)):
20456         Implemented.
20457         (drawImage(Image,int,int,int,int,int,int,int,int,Color,ImageObserver)):
20458         Implemented.
20459         (fillScanline): Work on translated destination raster for
20460         correct compositin.
20461         (init): Fetch the clip after the destination raster is initialized.
20462         * gnu/java/awt/java2d/ImagePaint.java: New file.
20463         * gnu/java/awt/java2d/RasterGraphics
20464         (drawImage): Removed.
20465
20466 2006-05-09  Thomas Fitzsimmons  <fitzsim@redhat.com>
20467
20468         * resource/gnu/classpath/tools/appletviewer/MessagesBundle.properties:
20469         Clarify option descriptions.
20470         * tools/gnu/classpath/tools/appletviewer/Main.java: Use all
20471         uppercase for metasyntactic variables.
20472
20473 2006-05-09  Robert Schuster  <robertschuster@fsfe.org>
20474
20475         PR classpath/24216
20476         * javax/swing/text/AbstractDocument.java:
20477         (insertString): Added more documentation, added argument check.
20478         (remove): Added more documentation.
20479         (removeImpl): Added argument check.
20480         (replace): Added more documentation, added argument check.
20481
20482 2006-05-09  Tom Tromey  <tromey@redhat.com>
20483
20484         * tools/.cvsignore: Added appletviewer.
20485
20486 2006-05-09  Tom Tromey  <tromey@redhat.com>
20487
20488         * tools/gnu/classpath/tools/getopt/Parser.java (printHelp): Skip
20489         empty groups.
20490
20491 2006-05-09  Tom Tromey  <tromey@redhat.com>
20492
20493         * tools/gnu/classpath/tools/getopt/OptionGroup.java (printHelp): 
20494         Special case for '-J'.  Use space instead of '='.
20495         * tools/gnu/classpath/tools/getopt/Parser.java (setHeader): Added
20496         comment.
20497
20498 2006-05-09  Thomas Fitzsimmons  <fitzsim@redhat.com>
20499
20500         * configure.ac: Add --disable-plugin and --with-vm options.  Check
20501         for plugin support headers and libraries.
20502         * native/Makefile.am: Recurse into plugin directory.
20503         * native/plugin/.cvsignore: New file.
20504         * native/plugin/Makefile.am: New file.
20505         * native/plugin/gcjwebplugin.cc: New file.
20506         * tools/Makefile.am: Install appletviewer wrapper script.
20507         * tools/appletviewer.in: Replace VM location heuristic with
20508         VM_BINARY configure substitution.
20509
20510 2006-05-09  Tom Tromey  <tromey@redhat.com>
20511
20512         * tools/gnu/classpath/tools/getopt/OptionGroup.java (printHelp): Added
20513         an initial pass to look for short options.  Added 'longOnly' option.
20514         * tools/gnu/classpath/tools/appletviewer/Main.java (main): Removed -J
20515         option.
20516         * tools/gnu/classpath/tools/getopt/Parser.java (parsed): Put stadnard
20517         options into final group.  Added -J.
20518         (add): Insert new groups before final group.
20519         (printHelp): Updated.
20520
20521 2006-05-09  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
20522
20523         PR 27518
20524         * tools/gnu/classpath/tools/giop/GRMIC.java (main),
20525         tools/gnu/classpath/tools/rmi/RMIC.java (main):
20526         Expect -classpath option.
20527         * tools/gnu/classpath/tools/rmi/RMIC.txt,
20528         tools/gnu/classpath/tools/giop/GRMIC.txt: Documenting
20529         -classpath option.
20530         tools/gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java
20531         (classLoader): New field. (loadClass, setClassPath):
20532         New methods.
20533
20534 2006-05-09  Roman Kennke <kennke@aicas.com>
20535
20536         * gnu/java/awt/java2d/RasterGraphics.java
20537         (RasterGraphics): Call init() and super().
20538         (drawImage): Temporary drawImage impl until AbstractGraphics2D has
20539         this.
20540
20541 2006-05-09  Gary Benson  <gbenson@redhat.com>
20542
20543         * java/lang/Thread.java (Thread): Always perform threadgroup
20544         access checks on thread creation.
20545
20546 2006-05-09  Chris Burdess  <dog@gnu.org>
20547
20548         * gnu/xml/dom/DomNode.java: Permit comments and PIs in doctype nodes to
20549           be preserved during cloneNode.
20550
20551 2006-05-09  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
20552
20553         PR 27517
20554         * tools/gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java (compile): 
20555         Do not demand all thrown exceptions to be an instance of RemoteException.
20556
20557 2006-05-09  Thomas Fitzsimmons  <fitzsim@redhat.com>
20558
20559         * resource/gnu/classpath/tools/appletviewer/MessagesBundle.properties:
20560         Use hash-style comments.
20561         * resource/gnu/classpath/tools/appletviewer/MessagesBundle_de.properties:
20562         Likewise.
20563
20564 2006-05-09  David Gilbert  <david.gilbert@object-refinery.com>
20565
20566         * javax/swing/JLabel.java
20567         (paramString): Added more attribute details,
20568         * javax/swing/SwingUtilities.java
20569         (convertHorizontalAlignmentCodeToString): New method,
20570         (convertVerticalAlignmentCodeToString): New method.
20571
20572 2006-05-08  Tom Tromey  <tromey@redhat.com>
20573
20574         * tools/gnu/classpath/tools/jar/Updater.java (run): Updated.
20575         * tools/gnu/classpath/tools/jar/Main.java: Use javadoc for fields.
20576         * tools/gnu/classpath/tools/jar/Lister.java (listJar): Use
20577         ZipInputStream.
20578         (run): Updated.
20579         * tools/gnu/classpath/tools/jar/Extractor.java (run): Use System.err
20580         for verbose.
20581         (run): Use ZipInputStream.
20582         (initSet): New method.
20583         (shouldExtract): Likewise.
20584         (run): Use new methods.
20585         * tools/gnu/classpath/tools/jar/Creator.java
20586         (writeCommandLineEntries): New overload.
20587         (writeFile): Use System.err for verbose.
20588         (writeManifest): New method.
20589         (writtenItems): New field.
20590         (writeFile): Update it.
20591         (writeCommandLineEntries): Return void.  Call writeManifest.
20592         (addEntries): Don't add extra '/'.
20593         * NEWS: Mention jar.
20594
20595 2006-05-08  Lillian Angel  <langel@redhat.com>
20596
20597         * gnu/java/net/IndexListParser.java: New class.
20598         * java/net/URLClassLoader.java
20599         (JarURLLoader): Fixed code to use new class.
20600
20601 2006-05-08  Roman Kennke <kennke@aicas.com>
20602
20603         * javax/swing/JComboBox.java
20604         (AccessibleJComboBox.getAccessibleChildrenCount): Implemented.
20605         (AccessibleJComboBox.getAccessibleChild): Implemented.
20606         (AccessibleJComboBox.getAccessibleSelection()): Implemented.
20607         (AccessibleJComboBox.getAccessibleSelection(int)): Implemented.
20608         (AccessibleJComboBox.isAccessibleChildSelected): Implemented.
20609         (AccessibleJComboBox.getAccessibleAction): Implemented.
20610         (AccessibleJComboBox.getAccessibleActionDescription): Implemented.
20611         (AccessibleJComboBox.getAccessibleActionCount): Implemented.
20612         (AccessibleJComboBox.doAccessibleAction): Implemented.
20613         (AccessibleJComboBox.getAccessibleSelectionCount): Implemented.
20614         (AccessibleJComboBox.addAccessibleSelection): Implemented.
20615         (AccessibleJComboBox.removeAccessibleSelection): Implemented.
20616         (AccessibleJComboBox.clearAccessibleSelection): Implemented.
20617         (AccessibleJComboBox.selectAllAccessibleSelection): Implemented.
20618
20619 2006-05-08  Thomas Fitzsimmons  <fitzsim@redhat.com>
20620
20621         * configure.ac: Add support for building appletviewer.
20622         * resource/gnu/classpath/tools/appletviewer/MessagesBundle.properties:
20623         New file.
20624         * resource/gnu/classpath/tools/appletviewer/MessagesBundle_de.properties:
20625         New file.
20626         * tools/appletviewer.c: New file.
20627         * tools/appletviewer.in: New file.
20628         * tools/gnu/classpath/tools/appletviewer/AppletClassLoader.java:
20629         New file.
20630         * tools/gnu/classpath/tools/appletviewer/AppletSecurityManager.java:
20631         New file.
20632         * tools/gnu/classpath/tools/appletviewer/AppletTag.java: New file.
20633         * tools/gnu/classpath/tools/appletviewer/AppletWarning.java: New
20634         file.
20635         * tools/gnu/classpath/tools/appletviewer/CommonAppletContext.java:
20636         New file.
20637         * tools/gnu/classpath/tools/appletviewer/CommonAppletStub.java:
20638         New file.
20639         * tools/gnu/classpath/tools/appletviewer/ConsoleDialog.java: New
20640         file.
20641         * tools/gnu/classpath/tools/appletviewer/ErrorApplet.java: New
20642         file.
20643         * tools/gnu/classpath/tools/appletviewer/Main.java: New file.
20644         * tools/gnu/classpath/tools/appletviewer/PluginAppletContext.java:
20645         New file.
20646         * tools/gnu/classpath/tools/appletviewer/PluginAppletViewer.java:
20647         New file.
20648         * tools/gnu/classpath/tools/appletviewer/PluginAppletWindow.java:
20649         New file.
20650         * tools/gnu/classpath/tools/appletviewer/StandaloneAppletContext.java:
20651         New file.
20652         * tools/gnu/classpath/tools/appletviewer/StandaloneAppletViewer.java:
20653         New file.
20654         * tools/gnu/classpath/tools/appletviewer/StandaloneAppletWindow.java:
20655         New file.
20656         * tools/gnu/classpath/tools/appletviewer/TagParser.java: New
20657         file.
20658
20659 2006-05-08  Tom Tromey  <tromey@redhat.com>
20660
20661         * tools/gnu/classpath/tools/getopt/ClasspathToolParser.java: New file.
20662         * tools/gnu/classpath/tools/jar/Action.java: New file.
20663         * tools/gnu/classpath/tools/jar/Creator.java: New file.
20664         * tools/gnu/classpath/tools/jar/Entry.java: New file.
20665         * tools/gnu/classpath/tools/jar/Extractor.java: New file.
20666         * tools/gnu/classpath/tools/jar/Lister.java: New file.
20667         * tools/gnu/classpath/tools/jar/Main.java: New file.
20668         * tools/gnu/classpath/tools/jar/Updater.java: New file.
20669         * tools/gnu/classpath/tools/getopt/Option.java: New file.
20670         * tools/gnu/classpath/tools/getopt/OptionException.java: New file.
20671         * tools/gnu/classpath/tools/getopt/OptionGroup.java: New file.
20672         * tools/gnu/classpath/tools/getopt/Parser.java: New file.
20673         * tools/gnu/classpath/tools/getopt/FileArgumentCallback.java: New
20674         file.
20675
20676 2006-05-08  Lillian Angel  <langel@redhat.com>
20677
20678         * java/net/URLClassLoader.java
20679         (JarURLLoader): Added check to make sure the INDEX.LIST file
20680         exists.
20681
20682 2006-05-08  Roman Kennke <kennke@aicas.com>
20683
20684         * gnu/java/awt/java2d/AbstractGraphics2D.java
20685         (fill): Removed commented out code.
20686         (fillShape): Also determine the outline of the clip and feed
20687         it into the rendering method. Use new helper method for
20688         converting the shapes into lists of segments.
20689         (getUserBounds): Removed obsolete method.
20690         (rawFillShape): Respect the clip when rendering shapes.
20691         (fillShapeAntialias): Adjusted signature for new clipped rendering.
20692         However, the implementation can't clip still.
20693         (getSegments): New helper method for converting a shape into
20694         a list of segments.
20695         (clipShape): Removed obsolete method.
20696         * gnu/java/awt/java2d/PolyEdge.java
20697         (isClip): New field.
20698         (PolyEdge): Added isField argument to constructor.
20699
20700 2006-05-08  Roman Kennke <kennke@aicas.com>
20701
20702         PR 27481
20703         * javax/swing/JRootPane.java
20704         (createContentPane): Set background of the content pane to null,
20705         so that the content pane inherits its background from the
20706         root pane.
20707
20708 2006-05-08  Roman Kennke <kennke@aicas.com>
20709
20710         PR 27480
20711         * javax/swing/ButtonGroup.java
20712         (add): Check if new button is selected and if so, deselect other
20713         buttons in the group.
20714
20715 2006-05-08  Lillian Angel  <langel@redhat.com>
20716
20717         PR 27444
20718         * java/net/URLClassLoader.java
20719         (JarURLLoader): Added code to go through 
20720         META-INF/INDEX.LIST file to load all jars listed.
20721
20722 2006-05-08  Roman Kennke <kennke@aicas.com>
20723
20724         PR 27461
20725         * javax/swing/ImageIcon.java
20726         (ImageIcon(URL)): Set description to URL.toString().
20727
20728 2006-05-08  Roman Kennke <kennke@aicas.com>
20729
20730         PR 27482
20731         * javax/swing/JTable.java
20732         (IconCellRenderer.getTableCellRendererComponent): Set icon to
20733         null when cell value is null.
20734
20735 2006-05-08  Roman Kennke <kennke@aicas.com>
20736
20737         PR 27484
20738         * javax/swing/DefaultDesktopManager.java
20739         (closeFrame): Don't perform default close action on the frame
20740         to prevent endless loop.
20741
20742 2006-05-08  Roman Kennke <kennke@aicas.com>
20743
20744         PR 27485
20745         * javax/swing/table/DefaultTableModel.java
20746         (addExtraRows): New helper method.
20747         (checkSize): New helper method.
20748         (setRowCount): Use addExtraRows helper method.
20749         (addColumn): Use addExtraRows helper method.
20750         (getColumnName): Check and adjust size if necessary using
20751         checkSize().
20752
20753 2006-05-08  Roman Kennke <kennke@aicas.com>
20754
20755         PR 27486
20756         * javax/swing/JTable.java
20757         (setValueAt): Allow setting values even when table is editable.
20758
20759 2006-05-08  Tom Tromey  <tromey@redhat.com>
20760
20761         * java/text/SimpleDateFormat.java (compileFormat): Added missing
20762         space to error message.
20763
20764 2006-05-08  David Gilbert  <david.gilbert@object-refinery.com>
20765
20766         * javax/swing/AbstractButton.java: Fixed comment typos.
20767
20768 2006-05-07  Andrew John Hughes  <gnu_andrew@member.fsf.org>
20769
20770         PR classpath/27435:
20771         * java/util/zip/DeflaterEngine.java:
20772         (deflateFast(boolean,boolean)): Empty buffer when full.
20773         
20774 2006-05-07  Sven de Marothy <sven@physto.se>
20775
20776         Fixed PR27343
20777         * java/util/Calendar.java (setTimeZone): Force recalculation.
20778         
20779 2006-05-07  Sven de Marothy <sven@physto.se>
20780
20781         Fixed PR27463
20782         * javax/swing/plaf/metal/MetalInternalFrameTitlePane.java
20783         (propertyChange): Handle FRAME_ICON_PROPERTY property.
20784         
20785 2006-05-07  Andrew John Hughes  <gnu_andrew@member.fsf.org>
20786
20787         PR classpath/27311:
20788         * gnu/java/text/StringFormatBuffer.java:
20789         (toString()): Implemented so we can see the contents.
20790         * java/text/DecimalFormat.java:
20791         (formatInternal(double,StringFormatBuffer,FieldPosition)):
20792         Don't calculate the exponent when the number is 0 or less.
20793         Also, use log10 instead of log now it's available.
20794         
20795 2006-05-07  Raif S. Naffah  <raif@swiftdsl.com.au>
20796
20797         * gnu/javax/crypto/keyring/PrimitiveEntry.java (PrimitiveEntry):
20798         Use instance's field creationDate not the constructor's argument.
20799         * gnu/javax/crypto/keyring/PasswordEncryptedEntry.java:
20800         Removed unused imports.
20801         Sorted imports.
20802         (log): New field.
20803         (decrypt): Added trace/debug/timing statements.
20804         (encrypt): Likewise.
20805         Use PRNG instead of instantiating every time a new SecureRandom.
20806         * gnu/javax/crypto/keyring/PasswordAuthenticatedEntry.java:
20807         Removed unused imports.
20808         Sorted imports.
20809         (log): New field.
20810         (verify): Added trace/debug/timing statements.
20811         (authenticate): Likewise.
20812         Use PRNG instead of instantiating every time a new SecureRandom.
20813
20814 2006-05-07  Raif S. Naffah  <raif@swiftdsl.com.au>
20815
20816         * gnu/classpath/debug/Simple1LineFormatter.java (DAT_FORMAT): Removed.
20817         (THREAD_FORMAT): Likewise.
20818         (dateFormat): Added field.
20819         (threadFormat): Added field.
20820         (format): Initialize instance fields if null.
20821         Use StringBuilder instead of StringBuffer.
20822
20823 2006-05-07  Roman Kennke <kennke@aicas.com>
20824
20825         * gnu/java/awt/java2d/RasterGraphics.java: New file.
20826
20827 2006-05-07  Roman Kennke <kennke@aicas.com>
20828
20829         * gnu/java/awt/java2d/AbstractGraphics2D.java
20830         (fillShape): Determine user space bounds of shape and feed them
20831         into the actual rendering pipeline.
20832         (rawSetPixel): Made non-abstract for now. Maybe remove later.
20833         (rawSetForeground): Likewise.
20834         (getDestinationColorModel): Removed.
20835         (getDeviceBounds): Made non-abstract. Provide useful default impl.
20836         (rawFillShape): Handle paint context.
20837         (fillScanline): Implement painting and compositing.
20838         (fillShapeAntialias): Handle paint context.
20839         (fillScanlineAA): Implemented preliminary antialiasing based on
20840         composite context. Not working yet.
20841         (fillScanlineAlpha): Removed.
20842         (init): Fetch destination raster.
20843         (getDestinationRaster): New abstract method.
20844         (updateRaster): New backend method.
20845
20846 2006-05-07  Roman Kennke <kennke@aicas.com>
20847
20848         * gnu/java/awt/java2d/AlphaCompositeContext.java
20849         (compose): Fixed loops, conditions and logic to make compositing
20850         work correctly.
20851
20852 2006-05-07  Roman Kennke <kennke@aicas.com>
20853
20854         * java/awt/ColorPaintContext.java
20855         (ColorPaintContext): Fixed filling of the raster.
20856
20857 2006-05-07  Sven de Marothy <sven@physto.se>
20858
20859         Fixed PR27455
20860         * gnu/java/awt/peer/GLightweightPeer.java (mouseEntered): Remove.
20861         * java/awt/Component.java (processMouseEvent): 
20862         Do lightweight cursor handling.
20863         * javax/swing/plaf/basic/BasicTableHeaderUI.java 
20864         (endResizing,mouseMoved): Save and reset original cursor, not the 
20865         default one.
20866
20867 2006-05-07  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
20868
20869         PR 27298
20870         * javax/swing/plaf/basic/BasicTreeUI.java (NodeDimensionsHandler.
20871         getNodeDimensions): Mind the size of the node icon. (getRowX):
20872         use totalChildIndent. (TreeExpansionHandler): Set maximal height
20873         to zero on events. (nullIcon): New field. (getCurrentControlIcon):
20874         Return nullIcon if there is no other icon. (getNodeIcon): New method.
20875         (installDefaults): assign totalChildIndent. (installUI): Call
20876         updateExpandedDescendants. (paintHorizontalPartOfLeg): Rewritten.
20877         (paintRow): Rewritten. (updateRenderer): Do not set the renderer for
20878         the tree.
20879
20880 2006-05-06  Sven de Marothy <sven@physto.se>
20881
20882         Fixed PR27454
20883         * gnu/java/awt/peer/gtk/GtkImage: (drawPixels,drawPixelsScaled): 
20884         Check for zero image sizes.
20885         
20886 2006-05-06  Olivier Jolly  <olivier.jolly@pcedev.com>
20887
20888         Fixed PR27362
20889         * java/util/Calendar.java (clear(int)): Forced internal state
20890         completion before performing a field clearing.
20891
20892 2006-05-06  Olivier Jolly  <olivier.jolly@pcedev.com>
20893
20894         * java/util/Collections.java(UnmodifiableMap.UnmodifiableEntrySet.
20895         UnmodifiableMapEntry): New Map.Entry implementation which is immutable.
20896         (UnmodifiableMap.UnmodifiableEntrySet.iterator,
20897         UnmodifiableMap.UnmodifiableEntrySet.toArray,
20898         UnmodifiableMap.UnmodifiableEntrySet.toArray(Object[])): Used
20899         UnmodifiableMapEntry as part of their return value. 
20900
20901 2006-05-06  Raif S. Naffah  <raif@swiftdsl.com.au>
20902
20903         * tools/keytool.sh.in: Removed (renamed to keytool.in).
20904         * tools/jarsigner.in: Removed (renamed to jarsigner.in).
20905         * tools/Makefile.am: Include jarsigner and keytool classes in tools.zip.
20906         Generate jarsigner and keytool scripts.
20907         * tools/keytool.in: New file (renamed from keytool.sh.in).
20908         * tools/jarsigner.in: New file (renamed from jarsigner.sh.in).
20909         * tools/.cvsignore: Replaced *.sh with *
20910         * configure.ac: Replaced tools/*.sh with tools/*.
20911
20912 2006-05-05  Roman Kennke <kennke@aicas.com>
20913
20914         * java/awt/image/ColorModel.java
20915         (getNormalizedComponents): Implemented.
20916
20917 2006-05-05  Roman Kennke <kennke@aicas.com>
20918
20919         * javax/swing/plaf/basic/BasicRadioButtonUI.java
20920         (paint): Query the button model for it's state, not the
20921         button itself.
20922
20923 2006-05-05  Roman Kennke <kennke@aicas.com>
20924
20925         * javax/swing/JTable.java
20926         (tableChanged): Sync selection model with table model changes.
20927
20928 2006-05-05  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
20929
20930         * javax/swing/plaf/basic/BasicTreeUI.java (paint): Return early
20931         if there are no visible nodes to paint.
20932
20933 2006-05-05  David Gilbert  <david.gilbert@object-refinery.com>
20934
20935         * javax/swing/JOptionPane.java: API doc updates.
20936
20937 2006-05-05  David Gilbert  <david.gilbert@object-refinery.com>
20938
20939         * javax/swing/JToolBar.java
20940         (paramString): Reimplemented.
20941
20942 2006-05-05  David Gilbert  <david.gilbert@object-refinery.com>
20943
20944         * javax/swing/JScrollBar.java
20945         (paramString): Reimplemented.
20946
20947 2006-05-04  Tom Tromey  <tromey@redhat.com>
20948
20949         PR classpath/27375:
20950         * java/util/zip/ZipFile.java (entries): Now a LinkedHashMap.
20951         (readEntries): Updated.
20952         (getEntries): Likewise.
20953         (getEntry): Likewise.
20954         (getInputStream): Likewise.
20955
20956 2006-05-04  Thomas Fitzsimmons  <fitzsim@redhat.com>
20957
20958         * gnu/javax/imageio/jpeg/DCT.java,
20959         gnu/javax/imageio/jpeg/HuffmanTable.java,
20960         gnu/javax/imageio/jpeg/JPEGComponent.java,
20961         gnu/javax/imageio/jpeg/JPEGDecoder.java,
20962         gnu/javax/imageio/jpeg/JPEGException.java,
20963         gnu/javax/imageio/jpeg/JPEGFrame.java,
20964         gnu/javax/imageio/jpeg/JPEGImageInputStream.java,
20965         gnu/javax/imageio/jpeg/JPEGImageReader.java,
20966         gnu/javax/imageio/jpeg/JPEGImageReaderSpi.java,
20967         gnu/javax/imageio/jpeg/JPEGMarker.java,
20968         gnu/javax/imageio/jpeg/JPEGMarkerFoundException.java,
20969         gnu/javax/imageio/jpeg/JPEGScan.java,
20970         gnu/javax/imageio/jpeg/YCbCr_ColorSpace.java,
20971         gnu/javax/imageio/jpeg/ZigZag.java: New files.
20972
20973 2006-05-04  Lillian Angel  <langel@redhat.com>
20974
20975         * javax/swing/JLabel.java
20976         (JLabel): Pass in an empty string for the text parameter.
20977         (JLabel): Likewise.
20978         (JLabel): Likewise.
20979
20980 2006-05-04  Roman Kennke <kennke@aicas.com>
20981
20982         * javax/swing/plaf/basic/BasicButtonListener.java
20983         (mouseEntered): Fixed conditions for changing states.
20984
20985 2006-05-04  Roman Kennke <kennke@aicas.com>
20986
20987         * javax/swing/JOptionPane.java
20988         (AccessibleJOptionPane.getAccessibleRole): Implemented method.
20989
20990 2006-05-04  Roman Kennke <kennke@aicas.com>
20991
20992         * javax/swing/JLabel.java
20993         (AccessibleJLabel.getSelectedText): Return null instead of "".
20994         (AccessibleJLabel.getSelectionStart): Added comment why
20995         return -1 is correct here.
20996         (AccessibleJLabel.getSelectionEnd): Added comment why
20997         return -1 is correct here.
20998         (AccessibleJLabel.getCharacterAttribute): Added comment about what
20999         to do here.
21000         (AccessibleJLabel.getCharCount): Added comment about what
21001         to do here.
21002         (AccessibleJLabel.getCharacterBounds): Tagged as not implemented.
21003         (AccessibleJLabel.getIndexAtPoint): Tagged as not implemented.
21004         (paramString): Return super.paramString() here, this provides
21005         a more meaningful output.
21006
21007 2006-05-04  Roman Kennke <kennke@aicas.com>
21008
21009         * javax/swing/JComponent.java
21010         (paint): Added null check to avoid NPE when clip == null.
21011
21012 2006-05-04  Roman Kennke <kennke@aicas.com>
21013
21014         * javax/swing/AbstractButton.java
21015         (addImpl): New method. Installs an OverlayLayout if no
21016         other layout has been installed before.
21017         (setLayout): New method. Detect if a client app installs a custom
21018         layout.
21019
21020 2006-05-04  Roman Kennke <kennke@aicas.com>
21021
21022         * javax/swing/table/DefaultTableCellRenderer.java
21023         (noFocusBorder): Fixed width of empty border to 1.
21024         (getTableCellRendererComponent): Don't change the colors for
21025         focuses cells. Fixed border for focused cells.
21026
21027 2006-05-04  Roman Kennke <kennke@aicas.com>
21028
21029         * javax/swing/JTable.java
21030         (moveToCellBeingEdited): Adjust bounding box of editing component
21031         to exactly cover the grid.
21032         * javax/swing/plaf/basic/BasicTableUI.java
21033         (paint): Paint grid to the bottom and right of the cells instead
21034         of left and top. Adjust bounding box of cells accordingly.
21035         * javax/swing/plaf/metal/MetalLookAndFeel.java
21036         (initComponentDefaults): Fixed color of JTable selection border.
21037         * javax/swing/plaf/metal/OceanTheme.java
21038         (addCustomEntriesToTable): Fixed color of JTable selection border.
21039
21040 2006-05-04  Raif S. Naffah  <raif@swiftdsl.com.au>
21041
21042         * tools/gnu/classpath/tools/keytool/ExportCmd.java (setup):
21043         Use _alias instead of alias.
21044
21045 2006-05-03  Andrew John Hughes  <gnu_andrew@member.fsf.org>
21046
21047         * configure.ac:
21048         Set version to 0.92-pre.
21049         * NEWS:
21050         Add space for 0.92 entries.
21051
21052 2006-05-03  Andrew John Hughes  <gnu_andrew@member.fsf.org>
21053
21054         * include/Makefile.am:
21055         Added rules for gnu.java.net.local.LocalSocketImpl.h
21056         * include/java_lang_VMSystem.h:
21057         Regenerated correctly.
21058         
21059 2006-05-03  Sven de Marothy <sven@physto.se>
21060        
21061         PR 24023, 24701
21062         * java/awt/Image.java:
21063         (getScaledInstance): Default to AreaAveraging for "smooth", 
21064         don't thrown an error on illegal flag values.
21065         * java/awt/image/AreaAveragingScaleFilter.java: Implement.
21066
21067 2006-05-03  Robert Schuster  <robertschuster@fsfe.org>
21068
21069         * javax/swing/text/FieldView.java:
21070         (adjustAllocation): Added if-block to return null when shape argument
21071         is null.
21072         * javax/swing/text/PlainView.java:
21073         (updateDamage): Added if-block to return early if a is null.
21074
21075 2006-05-03  Robert Schuster  <robertschuster@fsfe.org>
21076
21077         * javax/swing/plaf/basic/BasicTextUI.java:
21078         (changeUpdate): Added note.
21079         (removeUpdate): Dito.
21080         (insertUpdate): Dito.
21081         (damageRange): Added if-block to return early.
21082         (modelToView): Added check of getVisibleEditorRect's return value.
21083         (getVisibleEditorRect): Return null instead of empty rectangle.
21084         * javax/swing/text/DefaultCaret.java:
21085         (clearHighlight): Removed if-clause to create a highlight entry if it
21086         did not exist before.
21087         * javax/swing/text/WrappedPlainView.java:
21088         (WrappedLine.modelToView): Throw exception if allocation area is empty,
21089         removed 2nd part of if-expression.
21090         (WrappedLine.updateDamage): Added more documentation, added check
21091         whether allocation area rectangle is null.
21092
21093 2006-05-03  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
21094
21095         * javax/swing/JSplitPane.java (setDividerLocation(int)):
21096         Reset to preferred sizes if the argument is negative.
21097
21098 2006-05-03  David Gilbert  <david.gilbert@object-refinery.com>
21099
21100         * javax/swing/JList.java: Added/updated API docs.
21101
21102 2006-05-03  Lillian Angel  <langel@redhat.com>
21103
21104         * javax/swing/JComponent.java
21105         (getRoot): New private function. Gets the root appropriate
21106         for painting. If an applet exists as a parent, then it is returned.
21107         (paintDoubleBuffered): Changed to use new function.
21108         * javax/swing/RepaintManager.java
21109         (getRoot): New private function. Gets the root appropriate
21110         for painting. If an applet exists as a parent, then it is returned.
21111         (getOffscreenBuffer): Changed to use new function.
21112         * javax/swing/SwingUtilties.java
21113         (getRoot): Reverted last patch to return Window, even if 
21114         an Applet exists.
21115
21116 2006-05-03  Raif S. Naffah  <raif@swiftdsl.com.au>
21117
21118         * gnu/javax/crypto/jce/keyring/GnuKeyring.java: Re-implemented using
21119         a pair of one public keyring and one private keyring.
21120         * gnu/javax/crypto/keyring/GnuPublicKeyring.java (log): New field.
21121         (containsCertificate): Added logging.
21122         (getCertificate): Likewise.
21123         (putCertificate): Likewsie.
21124         (load): Likewise.
21125         (store): Likewise.
21126         * gnu/javax/crypto/keyring/GnuPrivateKeyring.java (log): New field.
21127         (containsPrivateKey): Added logging.
21128         (getPrivateKey): Likewise.
21129         (putPrivateKey): Likewise.
21130         (containsPublicKey): Likewise.
21131         (getPublicKey): Likewise.
21132         (putPublicKey): Likewise.
21133         (containsCertPath): Likewise.
21134         (getCertPath): Likewise.
21135         (putCertPath): Likewise.
21136         (load): Likewise.
21137         (store): Likewise.
21138
21139 2006-05-03  Roman Kennke <kennke@aicas.com>
21140
21141         * gnu/java/awt/java2d/AlphaCompositeContext.java: New class.
21142         * java/awt/AlphaComposite.java
21143         (createContext): Implemented.
21144
21145 2006-05-03  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
21146
21147         * gnu/java/awt/peer/gtk/GdkGraphics2D.java (drawRaster):
21148         Set the current color again after drawing the raster.
21149
21150 2006-05-03  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
21151
21152         * javax/swing/text/WrappedPlainView.java (WrappedLine.modelToView):
21153         Do not check pos < currLineEnd if currLineStart == currLineEnd.
21154
21155 2006-05-03  Raif S. Naffah  <raif@swiftdsl.com.au>
21156
21157         * tools/gnu/classpath/tools/keytool/Command.java (getCallbackHandler):
21158         Assign returned value to field handler.
21159         * tools/gnu/classpath/tools/jarsigner/Main.java (getCallbackHandler):
21160         Likewise.
21161
21162 2006-05-02  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
21163
21164         * javax/swing/ScrollPaneLayout.java (layoutContainer):
21165         Return without action if there is no view in the viewport.
21166         * javax/swing/text/WrappedPlainView.java 
21167         (WrappedLine.getPreferredSpan): If metrics == null, update
21168         metrics.
21169         * javax/swing/tree/DefaultTreeModel.java (constructors):
21170         Do not call setRoot, assign the root node directly.
21171
21172 2006-05-02  Lillian Angel  <langel@redhat.com>
21173
21174         * javax/swing/SwingUtilities.java
21175         (getRoot): Should return the Applet if it exists.
21176         Only return the Window if an Applet has not been
21177         encountered.
21178
21179 2006-05-02  Lillian Angel  <langel@redhat.com>
21180
21181         * gnu/javax/swing/text/html/parser/support/Parser.java
21182         (readAttributes): Reverted Audrius' last patch. There is 
21183         a slight difference in code between the NUMTOKEN and SLASH case. 
21184
21185 2006-05-02  Robert Schuster  <robertschuster@fsfe.org>
21186
21187         * javax/swing/text/JTextComponent.java:
21188         (setText): Throw InternalError from catch-block.
21189         * javax/swing/text/GapContent.java:
21190         (removed): Removed if-expression, changed '>' to '>='.
21191
21192 2006-05-02  Roman Kennke <kennke@aicas.com>
21193
21194         * gnu/java/awt/java2d/AbstractGraphics2D.java
21195         (AA_SAMPLING): New constant.
21196         (alpha): New field. Used in the antialiasing renderer.
21197         (edgeTable): New field. Used in the antialiasing renderer.
21198         (AbstractGraphics2D): Initialize rendering hints wrt
21199         anti-aliasing.
21200         (draw): Clip after stroking. Commented out clipping for now,
21201         it seems to be buggy.
21202         (fill): Commented out clipping for now, it seems to be buggy.
21203         (setComposite): Don't create composite context.
21204         (setPaint): Only change paint when parameter is not null.
21205         (translate): Call setClip() so subclasses can update their clip
21206         too.
21207         (clip): Call setClip() so subclasses can update their clip
21208         too.
21209         (drawGlyphVector): Added clipping, but left it commented out
21210         because it's buggy.
21211         (getClipBounds): Returns null when clip is null.
21212         (drawLine): Call rawDrawLine with translation applied.
21213         (filLRect): Call rawFillRect with translation applied.
21214         (fillShape): Added support for anti-aliasing.
21215         (rawSetForeground(int,int,int)): New method.
21216         (rawFillShape): A couple of painting fixes.
21217         (fillScanline): Implemented to call rawDrawLine.
21218         (fillShapeAntialias): New method. Implements an anti-aliasing
21219         shape filler.
21220         (fillScanlineAA): New method. Used for the anti-aliasing
21221         shape filler.
21222         (fillScanlineAlpha): New method. Used for the anti-aliasing
21223         shape filler.
21224         (init): Initialize clip with the device bounds.
21225         (updateOptimization): Fixed the optimization condition.
21226
21227 2006-05-02  Robert Schuster  <robertschuster@fsfe.org>
21228
21229         * javax/swing/text/GapContent.java:
21230         (GapContent): Restrict size argument by 2.
21231         (insertString): Changed expression from >= to >.
21232         (remove): Changed right side of expression to 'length - 1', changed
21233         exception message.
21234         (getChars): Throw exception if where below 0.
21235         (replace): Replaced call to setPositionsInRange() with
21236         resetMarksAtZero(), removed note.
21237
21238 2006-05-02  Roman Kennke <kennke@aicas.com>
21239
21240         PR 27326
21241         * javax/swing/MenuSelectionManager.java
21242         (setSelectedPath): Rewritten.
21243
21244 2006-05-02  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
21245
21246         * gnu/javax/swing/text/html/parser/support/Parser.java
21247         (readAttributes): Merge case NUMTOKEN: and case SLASH:
21248         sections.
21249
21250 2006-05-02  Raif S. Naffah  <raif@swiftdsl.com.au>
21251
21252         * tools/.cvsignore: Added keytool.sh.
21253         * configure.ac: Added tools/keytool.sh to AC_CONFIG_FILES.
21254
21255 2006-05-02  Raif S. Naffah  <raif@swiftdsl.com.au>
21256
21257         * doc/tools.texinfo: New file.
21258         * doc/Makefile.am: Generate tools documentation.
21259
21260 2006-05-02  Raif S. Naffah  <raif@swiftdsl.com.au>
21261
21262         * tools/keytool.sh.in: New file.
21263         * tools/gnu/classpath/tools/keytool/CertReqCmd.java: Likewise.
21264         * tools/gnu/classpath/tools/keytool/Command.java: Likewise.
21265         * tools/gnu/classpath/tools/keytool/DeleteCmd.java: Likewise.
21266         * tools/gnu/classpath/tools/keytool/ExportCmd.java: Likewise.
21267         * tools/gnu/classpath/tools/keytool/GenKeyCmd.java: Likewise.
21268         * tools/gnu/classpath/tools/keytool/IdentityDBCmd.java: Likewise.
21269         * tools/gnu/classpath/tools/keytool/ImportCmd.java: Likewise.
21270         * tools/gnu/classpath/tools/keytool/KeyCloneCmd.java: Likewise.
21271         * tools/gnu/classpath/tools/keytool/KeyPasswdCmd.java: Likewise.
21272         * tools/gnu/classpath/tools/keytool/ListCmd.java: Likewise.
21273         * tools/gnu/classpath/tools/keytool/Main.java: Likewise.
21274         * tools/gnu/classpath/tools/keytool/Messages.java: Likewise.
21275         * tools/gnu/classpath/tools/keytool/PrintCertCmd.java: Likewise.
21276         * tools/gnu/classpath/tools/keytool/SelfCertCmd.java: Likewise.
21277         * tools/gnu/classpath/tools/keytool/StorePasswdCmd.java: Likewise.
21278         * tools/gnu/classpath/tools/keytool/keytool.txt: Likewise.
21279         * tools/gnu/classpath/tools/keytool/package.html: Likewise.
21280         * resource/gnu/classpath/tools/keytool/MessageBundle.properties: Likewise.
21281
21282 2006-05-02  Raif S. Naffah  <raif@swiftdsl.com.au>
21283
21284         * tools/gnu/classpath/tools/jarsigner/jarsigner.txt: Re-arranged to
21285         resemble more closely man-page style text.
21286         * tools/gnu/classpath/tools/jarsigner/SFHelper.java:
21287         Mark (Eclipse) strings that need not be externalised.
21288         (writeSF): Likewise.
21289         (writeDSA): Likewise.
21290         Use package-private Messages class to provide i18n-ready strings.
21291         (startSigning):
21292         Use package-private Messages class to provide i18n-ready strings.
21293         (updateEntry): Likewise.
21294         Mark (Eclipse) strings that need not be externalised.
21295         (finishSigning): Likewise.
21296         * tools/gnu/classpath/tools/jarsigner/Main.java:
21297         Mark (Eclipse) strings that need not be externalised.
21298         (main): Do not use constant strings as class name.
21299         Use package-private Messages class to provide i18n-ready strings.
21300         Reduced logging level so INFO becomes FINER, and WARNING becomes FINE.
21301         (processArgs): Do not use constant strings as class name.
21302         Mark (Eclipse) strings that need not be externalised.
21303         Reduced logging level so INFO becomes FINER, and WARNING becomes FINE.
21304         (start): Do not use constant strings as class name.
21305         (teardown): Likewise.
21306         Use ProviderUtil.
21307         (setupCommonParams): Do not use constant strings as class name.
21308         Use package-private Messages class to provide i18n-ready strings.
21309         Reduced logging level so INFO becomes FINER, and WARNING becomes FINE.
21310         (installNewProvider): Do not use constant strings as class name.
21311         Use ProviderUtil.
21312         (setupSigningParams): Do not use constant strings as class name.
21313         Use package-private Messages class to provide i18n-ready strings.
21314         Mark (Eclipse) strings that need not be externalised.
21315         (getCallbackHandler): Use CallbackUtil.
21316         * tools/gnu/classpath/tools/jarsigner/JarSigner.java (start):
21317         Use package-private Messages class to provide i18n-ready strings.
21318         Reduced logging level so INFO becomes FINER, and WARNING becomes FINE.
21319         * tools/gnu/classpath/tools/jarsigner/JarVerifier.java (start): Likewise.
21320         (verifySF): Likewise.
21321         (verifySFEntries): Do not use constant strings as class name.
21322         Use Boolean.valueOf instead of new Boolean().
21323         (verifySFEntry): Mark (Eclipse) strings that need not be externalised.
21324         * resource/gnu/classpath/tools/jarsigner/MessageBundle.properties:
21325         New file.
21326         * tools/gnu/classpath/tools/jarsigner/package.html: Likewise.
21327         * tools/gnu/classpath/tools/jarsigner/Messages.java: Likewise.
21328
21329 2006-05-02  Raif S. Naffah  <raif@swiftdsl.com.au>
21330
21331         * tools/gnu/classpath/tools/common/CallbackUtil.java: New file.
21332         * tools/gnu/classpath/tools/common/ProviderUtil.java: Likewise.
21333         * tools/gnu/classpath/tools/common/SecurityProviderInfo.java: Likewise.
21334
21335 2006-05-01  Tom Tromey  <tromey@redhat.com>
21336
21337         * java/nio/ByteBufferImpl.java (compact): Don't reset position
21338         in empty case.
21339         * gnu/java/nio/ChannelReader.java (read): Synchronize.
21340         (close): Synchronize.
21341         * java/nio/ShortBufferImpl.java (compact): Rewrote.
21342         * java/nio/LongBufferImpl.java (compact): Rewrote.
21343         * java/nio/IntBufferImpl.java (compact): Rewrote.
21344         * java/nio/FloatBufferImpl.java (compact): Rewrote.
21345         * java/nio/DoubleBufferImpl.java (compact): Rewrote.
21346         * java/nio/CharBufferImpl.java (compact): Rewrote.
21347         * gnu/java/nio/ChannelWriter.java: New file.
21348         * java/nio/channels/Channels.java (newWriter): Implemented.
21349
21350 2006-05-01  Lillian Angel  <langel@redhat.com>
21351
21352         * java/util/SimpleTimeZone.java
21353         (SimpleTimeZone): Do not throw exception if startMonth == endMonth.
21354         (SimpleTimeZone): Likewise.
21355         (checkRule): Rewritten to properly check all values (more efficently). 
21356         This code is now more stable, at least less buggy than before. Fixed
21357         API documentation.
21358         (setStartRule): Moved checkRule call to end.
21359         (setStartRule): Likewise.
21360         (setEndRule): Likewise.
21361         (setEndRule): Likewise.
21362
21363 2006-05-01  Tom Tromey  <tromey@redhat.com>
21364
21365         * lib/.cvsignore: Added classes.2.
21366
21367 2006-05-01  Tom Tromey  <tromey@redhat.com>
21368
21369         * java/util/jar/JarFile.java (provider): Now package-private.
21370         * java/lang/Enum.java (compareTo): Javadoc fix.
21371         * java/lang/Boolean.java (compareTo): Javadoc fix.
21372
21373 2006-05-01  Lillian Angel  <langel@redhat.com>
21374
21375         * gnu/javax/swing/text/html/parser/support/Parser.java
21376         (readAttributes): Formatted function. Added handling for 
21377         SLASH token. The value of an attribute may start with a slash
21378         (i.e. a path). I added handling similar to to the NUMTOKEN code.
21379         We should not be skipping over these type of attributes.
21380
21381 2006-04-30  Andrew John Hughes  <gnu_andrew@member.fsf.org>
21382
21383         * include/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.h,
21384         * include/gnu_java_awt_peer_gtk_GdkFontPeer.h,
21385         * include/gnu_java_awt_peer_gtk_GdkGraphics.h,
21386         * include/gnu_java_awt_peer_gtk_GdkGraphics2D.h,
21387         * include/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.h,
21388         * include/gnu_java_awt_peer_gtk_GdkPixbufDecoder.h,
21389         * include/gnu_java_awt_peer_gtk_GdkRobotPeer.h,
21390         * include/gnu_java_awt_peer_gtk_GdkTextLayout.h,
21391         * include/gnu_java_awt_peer_gtk_GtkButtonPeer.h,
21392         * include/gnu_java_awt_peer_gtk_GtkCanvasPeer.h,
21393         * include/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.h,
21394         * include/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.h,
21395         * include/gnu_java_awt_peer_gtk_GtkCheckboxPeer.h,
21396         * include/gnu_java_awt_peer_gtk_GtkChoicePeer.h,
21397         * include/gnu_java_awt_peer_gtk_GtkClipboard.h,
21398         * include/gnu_java_awt_peer_gtk_GtkComponentPeer.h,
21399         * include/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.h,
21400         * include/gnu_java_awt_peer_gtk_GtkFileDialogPeer.h,
21401         * include/gnu_java_awt_peer_gtk_GtkFramePeer.h,
21402         * include/gnu_java_awt_peer_gtk_GtkGenericPeer.h,
21403         * include/gnu_java_awt_peer_gtk_GtkImage.h,
21404         * include/gnu_java_awt_peer_gtk_GtkLabelPeer.h,
21405         * include/gnu_java_awt_peer_gtk_GtkListPeer.h,
21406         * include/gnu_java_awt_peer_gtk_GtkMenuBarPeer.h,
21407         * include/gnu_java_awt_peer_gtk_GtkMenuComponentPeer.h,
21408         * include/gnu_java_awt_peer_gtk_GtkMenuItemPeer.h,
21409         * include/gnu_java_awt_peer_gtk_GtkMenuPeer.h,
21410         * include/gnu_java_awt_peer_gtk_GtkPanelPeer.h,
21411         * include/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.h,
21412         * include/gnu_java_awt_peer_gtk_GtkScrollPanePeer.h,
21413         * include/gnu_java_awt_peer_gtk_GtkScrollbarPeer.h,
21414         * include/gnu_java_awt_peer_gtk_GtkSelection.h,
21415         * include/gnu_java_awt_peer_gtk_GtkTextAreaPeer.h,
21416         * include/gnu_java_awt_peer_gtk_GtkTextFieldPeer.h,
21417         * include/gnu_java_awt_peer_gtk_GtkToolkit.h,
21418         * include/gnu_java_awt_peer_gtk_GtkWindowPeer.h,
21419         * include/gnu_java_awt_peer_qt_MainQtThread.h,
21420         * include/gnu_java_awt_peer_qt_QMatrix.h,
21421         * include/gnu_java_awt_peer_qt_QPainterPath.h,
21422         * include/gnu_java_awt_peer_qt_QPen.h,
21423         * include/gnu_java_awt_peer_qt_QtAudioClip.h,
21424         * include/gnu_java_awt_peer_qt_QtButtonPeer.h,
21425         * include/gnu_java_awt_peer_qt_QtCanvasPeer.h,
21426         * include/gnu_java_awt_peer_qt_QtCheckboxPeer.h,
21427         * include/gnu_java_awt_peer_qt_QtChoicePeer.h,
21428         * include/gnu_java_awt_peer_qt_QtComponentPeer.h,
21429         * include/gnu_java_awt_peer_qt_QtContainerPeer.h,
21430         * include/gnu_java_awt_peer_qt_QtDialogPeer.h,
21431         * include/gnu_java_awt_peer_qt_QtEmbeddedWindowPeer.h,
21432         * include/gnu_java_awt_peer_qt_QtFileDialogPeer.h,
21433         * include/gnu_java_awt_peer_qt_QtFontMetrics.h,
21434         * include/gnu_java_awt_peer_qt_QtFontPeer.h,
21435         * include/gnu_java_awt_peer_qt_QtFramePeer.h,
21436         * include/gnu_java_awt_peer_qt_QtGraphics.h,
21437         * include/gnu_java_awt_peer_qt_QtGraphicsEnvironment.h,
21438         * include/gnu_java_awt_peer_qt_QtImage.h,
21439         * include/gnu_java_awt_peer_qt_QtLabelPeer.h,
21440         * include/gnu_java_awt_peer_qt_QtListPeer.h,
21441         * include/gnu_java_awt_peer_qt_QtMenuBarPeer.h,
21442         * include/gnu_java_awt_peer_qt_QtMenuComponentPeer.h,
21443         * include/gnu_java_awt_peer_qt_QtMenuItemPeer.h,
21444         * include/gnu_java_awt_peer_qt_QtMenuPeer.h,
21445         * include/gnu_java_awt_peer_qt_QtPanelPeer.h,
21446         * include/gnu_java_awt_peer_qt_QtPopupMenuPeer.h,
21447         * include/gnu_java_awt_peer_qt_QtScreenDevice.h,
21448         * include/gnu_java_awt_peer_qt_QtScrollPanePeer.h,
21449         * include/gnu_java_awt_peer_qt_QtScrollbarPeer.h,
21450         * include/gnu_java_awt_peer_qt_QtTextAreaPeer.h,
21451         * include/gnu_java_awt_peer_qt_QtTextFieldPeer.h,
21452         * include/gnu_java_awt_peer_qt_QtToolkit.h,
21453         * include/gnu_java_awt_peer_qt_QtVolatileImage.h,
21454         * include/gnu_java_awt_peer_qt_QtWindowPeer.h,
21455         * include/gnu_javax_sound_midi_alsa_AlsaMidiDeviceProvider.h,
21456         * include/gnu_javax_sound_midi_alsa_AlsaMidiSequencerDevice.h,
21457         * include/gnu_javax_sound_midi_alsa_AlsaPortDevice.h,
21458         * include/gnu_javax_sound_midi_dssi_DSSIMidiDeviceProvider.h,
21459         * include/gnu_javax_sound_midi_dssi_DSSISynthesizer.h,
21460         * include/gnu_xml_libxmlj_dom_GnomeAttr.h,
21461         * include/gnu_xml_libxmlj_dom_GnomeDocument.h,
21462         * include/gnu_xml_libxmlj_dom_GnomeDocumentBuilder.h,
21463         * include/gnu_xml_libxmlj_dom_GnomeDocumentType.h,
21464         * include/gnu_xml_libxmlj_dom_GnomeElement.h,
21465         * include/gnu_xml_libxmlj_dom_GnomeEntity.h,
21466         * include/gnu_xml_libxmlj_dom_GnomeNamedNodeMap.h,
21467         * include/gnu_xml_libxmlj_dom_GnomeNode.h,
21468         * include/gnu_xml_libxmlj_dom_GnomeNodeList.h,
21469         * include/gnu_xml_libxmlj_dom_GnomeNotation.h,
21470         * include/gnu_xml_libxmlj_dom_GnomeProcessingInstruction.h,
21471         * include/gnu_xml_libxmlj_dom_GnomeTypeInfo.h,
21472         * include/gnu_xml_libxmlj_dom_GnomeXPathExpression.h,
21473         * include/gnu_xml_libxmlj_dom_GnomeXPathNSResolver.h,
21474         * include/gnu_xml_libxmlj_dom_GnomeXPathNodeList.h,
21475         * include/gnu_xml_libxmlj_dom_GnomeXPathResult.h,
21476         * include/gnu_xml_libxmlj_sax_GnomeLocator.h,
21477         * include/gnu_xml_libxmlj_sax_GnomeXMLReader.h,
21478         * include/gnu_xml_libxmlj_transform_GnomeTransformer.h,
21479         * include/gnu_xml_libxmlj_transform_GnomeTransformerFactory.h,
21480         * include/java_lang_VMProcess.h:
21481         Regenerated.
21482         * native/jni/java-lang/java_lang_VMProcess.c:
21483         Redirect when pipe_count is 2 not 3.    
21484
21485 2006-04-30  Sascha Brawer <sascha@brawer.ch>
21486
21487         * gnu/java/awt/font/FontDelegate.java,
21488         * gnu/java/awt/font/FontFactory.java,
21489         * gnu/java/awt/font/GNUGlyphVector.java,
21490         * gnu/java/awt/font/opentype/CharGlyphMap.java,
21491         * gnu/java/awt/font/opentype/GlyphNamer.java,
21492         * gnu/java/awt/font/opentype/MacResourceFork.java,
21493         * gnu/java/awt/font/opentype/NameDecoder.java,
21494         * gnu/java/awt/font/opentype/OpenTypeFont.java,
21495         * gnu/java/awt/font/opentype/OpenTypeFontFactory.java,
21496         * gnu/java/awt/font/opentype/Scaler.java,
21497         * gnu/java/awt/font/opentype/truetype/Fixed.java,
21498         * gnu/java/awt/font/opentype/truetype/GlyphLoader.java,
21499         * gnu/java/awt/font/opentype/truetype/GlyphLocator.java,
21500         * gnu/java/awt/font/opentype/truetype/GlyphMeasurer.java,
21501         * gnu/java/awt/font/opentype/truetype/TrueTypeScaler.java,
21502         * gnu/java/awt/font/opentype/truetype/VirtualMachine.java,
21503         * gnu/java/awt/font/opentype/truetype/Zone.java,
21504         * gnu/java/awt/font/opentype/truetype/ZonePathIterator.java,
21505         * gnu/java/awt/font/opentype/truetype/doc-files/ZonePathIterator-1.dia,
21506         * gnu/java/awt/font/opentype/truetype/doc-files/ZonePathIterator-1.png:
21507         New files. Imported font framework from:
21508         http://www.brawer.ch/software/fonts/
21509
21510 2006-04-30  Roman Kennke <kennke@aicas.com>
21511
21512         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
21513         (lastTabInRun): Fix calculation of the last tab in a run. This
21514         has caused painting problems sometimes, making the
21515         last tab painted incorrectly.
21516
21517 2006-04-30  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
21518
21519         PR 27297
21520         * javax/swing/JComponent.java (paintChildrenWithOverlap):
21521         Use for and not while to prevent the endless loop.
21522
21523 2006-04-29  David Gilbert  <david.gilbert@object-refinery.com>
21524
21525         * javax/swing/JList.java
21526         (paramString): Changed from public to protected.
21527
21528 2006-04-29  Raif S. Naffah  <raif@swiftdsl.com.au>
21529
21530         * tools/gnu/classpath/tools/HelpPrinter.java (printHelp): New method.
21531         (printHelpAndExit): Re-factored to use the above method.
21532
21533 2006-04-29  Raif S. Naffah  <raif@swiftdsl.com.au>
21534
21535         * tools/jarsigner.sh.in: Changed license to GPL + Exception.
21536         Use -Xbootclasspath/p instead of -cp when invoking the main class.
21537         * tools/gnu/classpath/tools/jarsigner/Main.java:
21538         Changed license to GPL + Exception.
21539         (handler): New field.
21540         (getCallbackHandler): New method.
21541         (setupSigningParams): Use above method.
21542         * tools/gnu/classpath/tools/jarsigner/HashUtils.java:
21543         Changed license to GPL + Exception.
21544         * tools/gnu/classpath/tools/jarsigner/SFHelper.java: Likewise.
21545         * tools/gnu/classpath/tools/jarsigner/JarVerifier.java: Likewise.
21546         * tools/gnu/classpath/tools/jarsigner/JarSigner.java: Likewise.
21547         * tools/gnu/classpath/tools/jarsigner/jarsigner.txt: Updated copyright.
21548
21549 2006-04-29  Raif S. Naffah  <raif@swiftdsl.com.au>
21550
21551         * gnu/javax/security/auth/callback/ConsoleCallbackHandler.java
21552         (handleConfirmation): Use print instead of println.
21553         (handleConfirmation): When case is YES_NO_OPTION, print default option
21554         if one was set.
21555         (handleLanguage): Use print instead of println.
21556
21557 2006-04-29  Raif S. Naffah  <raif@swiftdsl.com.au>
21558
21559         * gnu/java/security/x509/X500DistinguishedName.java: Updated copyright.
21560         (putComponent): Handle O and OU components.
21561         (getDer): Use correct (it2) iterator.
21562         (readAttributeValue): Read next character and break if end-of-stream.
21563
21564 2006-04-29  Raif S. Naffah  <raif@swiftdsl.com.au>
21565
21566         * gnu/java/security/provider/Gnu.java (run):
21567         Add "RSA" as an alias to MD5withRSA.
21568         * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java (encodePublicKey):
21569         Always encode a NULL as the value of an algorithm parameters field.
21570         * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java (log): New field.
21571         (encodePrivateKey): Added trace/log statements.
21572         (decodePrivateKey): Likewise.
21573         * gnu/java/security/key/rsa/RSAKeyPairGenerator.java (log): New field.
21574         (setup): Added trace/log statements.
21575         (generate): Likewise.
21576         * gnu/java/security/key/rsa/GnuRSAPublicKey.java (str): New field.
21577         (toString): New method.
21578         * gnu/java/security/key/rsa/GnuRSAPrivateKey.java (DEBUG): New constant.
21579         (str): New field.
21580         (toString): New method.
21581         * gnu/java/security/key/rsa/GnuRSAKey.java (str): New field.
21582         (getEncoded): Use defaultFormat.
21583         (toString): New method.
21584         * gnu/java/security/key/dss/DSSKey.java (toString):
21585         Include defaultFormat in string.
21586         * gnu/java/security/jce/sig/RSAKeyFactory.java (engineGeneratePublic):
21587         Break if successfully decoded public key.
21588         (engineGeneratePrivate): Break if successfully decoded private key.
21589
21590 2006-04-29  Raif S. Naffah  <raif@swiftdsl.com.au>
21591
21592         * java/security/Security.java <clinit>: Add our Callback provider.
21593         * resource/java/security/classpath.security: Likewise
21594
21595 2006-04-28  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
21596
21597         PR 27296
21598         * javax/swing/ScrollPaneLayout.java (layoutContainer):
21599         Decide about scroll bars from the preferred view size, not
21600         the current size.
21601         * javax/swing/ViewportLayout.java (layoutContainer):
21602         Do not change returned preferred size. Do not treat JScrollPane
21603         specially.
21604
21605 2006-04-28  Sven de Marothy <sven@physto.se>
21606
21607         * java/awt/image/ReplicateScaleFilter.java: Fix comment. 
21608         * javax/swing/ProgressMonitor.java (actionPerformed): 
21609         Avoid divide-by-zero.
21610
21611 2006-04-28  Sven de Marothy <sven@physto.se>
21612
21613         * javax/swing/JSpinner.java: Fix default text justification.
21614         * javax/swing/plaf/basic/BasicSpinnerUI.java: Fix spinner layout size.
21615
21616 2006-04-28  David Gilbert  <david.gilbert@object-refinery.com>
21617
21618         * javax/swing/JList.java
21619         (getMinSelectionIndex): Return correct value, added API docs,
21620         (getMaxSelectionIndex): Added API docs.
21621
21622 2006-04-28  David Gilbert  <david.gilbert@object-refinery.com>
21623
21624         * javax/swing/JList.java
21625         (JList(Object[])): Pass new model directly to init(),
21626         (JList(Vector)): Likewise,
21627         (JList(ListModel)): Renamed argument and updated API docs,
21628         (init): Throw IllegalArgumentException for null argument,
21629         (setListData(Object[])): Delegate model creation,
21630         (setListData(Vector)): Likewise,
21631         (createListModel(Object[])): New private method,
21632         (createListModel(Vector)): New private method,
21633         (paramString): Implemented.
21634
21635 2006-04-28  Tom Tromey  <tromey@redhat.com>
21636
21637         * java/lang/Class.java (SYNTHETIC, ENUM, ANNOTATION): New fields.
21638         (isEnum): Rewrote.
21639         (isSynthetic): Likewise.
21640         (isAnnotation): Likewise.
21641         * vm/reference/java/lang/VMClass.java (isSynthetic): Removed.
21642         (isAnnotation): Likewise.
21643         (isEnum): Likewise.
21644
21645 2006-04-28  Robert Schuster  <robertschuster@fsfe.org>
21646
21647         * javax/swing/text/View.java:
21648         (getNextVisualPositionFrom): Call modelToView and viewToModel on parent
21649         view.
21650
21651 2006-04-28  Robert Schuster  <robertschuster@fsfe.org>
21652
21653         * javax/swing/text/View.java:
21654         (getNextVisualPositionFrom): Rewritten.
21655         * javax/swing/text/CompositeView.java:
21656         (getNextEastWestVisualPositionFrom): Partly implemented.
21657         (getNextNorthSouthVisualPositionFrom): Partly implemented.
21658
21659 2006-04-28  David Gilbert  <david.gilbert@object-refinery.com>
21660
21661         * javax/swing/JList.java
21662         (setFixedCellHeight): Use correct property name for event.
21663
21664 2006-04-28  Robert Schuster  <robertschuster@fsfe.org>
21665
21666         * javax/swing/text/Utilities.java:
21667         (getNextWord): Use codePointAt instead of charAt, added note, changed
21668         if-expression, added throwing of exception.
21669         (getPreviousWord): Use codePointAt instead of charAt.
21670
21671 2006-04-28  Jeroen Frijters  <jeroen@frijters.net>
21672
21673         * java/lang/StringBuilder.java
21674         (ensureCapacity, getChars, append(StringBuffer),
21675         append(char[],int,int), delete, replace, insert(int,char[],int,int),
21676         insert(int,String), insert(int,char), trimToSize): Replaced
21677         System.arraycopy calls with VMSystem.arraycopy.
21678
21679 2006-04-27  Tom Tromey  <tromey@redhat.com>
21680
21681         * java/awt/image/renderable/RenderableImageProducer.java
21682         (requestTopDownLeftRightResend): Implemented.
21683         (run): Likewise.
21684         (startProduction): Add new consumer.
21685
21686 2006-04-27  Sven de Marothy  <sven@physto.se>
21687
21688         * javax/swing/JLabel.java (setIcon): Repaint on setting the icon.
21689
21690 2006-04-27  Roman Kennke <kennke@aicas.com>
21691
21692         * java/awt/LightweightDispatcher.java
21693         Dispatch events only to targets that have a mouselistener
21694         attached. Changed to also handle null targets.
21695
21696 2006-04-27  Roman Kennke <kennke@aicas.com>
21697
21698         * NEWS: Added entries about accessibility support and L&F
21699         window decorations.
21700
21701 2006-04-27  Robert Schuster  <robertschuster@fsfe.org>
21702         
21703         * javax/swing/text/Utilities.java:
21704         (getTabbedTextOffset): Introduced width variable, rewritten the check
21705         which ends the loop.
21706         (getBreakLocation): Call getTabbedTextOffset with rounding argument set
21707         to false.
21708               
21709 2006-04-27  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
21710
21711         * examples/gnu/classpath/examples/swing/TreeDemo.java
21712         (createContent): Added root visibility and selection listener demos.
21713         * javax/swing/JTree.java (setRootVisible): If false, unselect
21714         the root node, if it is selected.
21715         * javax/swing/plaf/basic/BasicTreeUI.java 
21716         (TreeTraverseAction.actionPerformed): Do not select the root if it
21717         is not visible.
21718         * javax/swing/tree/DefaultTreeSelectionModel.java (removeSelectionPath,
21719         removeSelectionPaths): Reset lead to null if the current lead path is
21720         removed from selection.
21721         * javax/swing/tree/TreePath.java (getParentPath): Cache the parent path.
21722         * javax/swing/tree/FixedHeightLayoutCache.java (NodeRecord.getPath):
21723         Return the same path regardless is root visible or not. (update):
21724         Reduce the identation if the root is not visible.
21725         * javax/swing/tree/VariableHeightLayoutCache.java (NodeRecord.getPath):
21726         Return the same path regardless is root visible or not. (update):
21727         Reduce the identation if the root is not visible.
21728
21729 2006-04-26  Audrius Meskauskas  <AudriusA@Bioinformatics.org
21730
21731         * javax/swing/plaf/basic/BasicTreeUI.java
21732         (TreeAction.actionPerformed):Newly obtain the current lead
21733         path that must stay visible.
21734         (TreeTraverseAction.actionPerformed):Rewritten.
21735         * javax/swing/tree/FixedHeightLayoutCache.java (countRows):
21736         Do not treat root specially. (setModel): Assume the root node
21737         initially expanded.
21738         * javax/swing/tree/VariableHeightLayoutCache.java:(countRows):
21739         Do not treat root specially. (setModel): Assume the root node
21740         initially expanded.
21741
21742 2006-04-26  Chris Burdess  <dog@gnu.org>
21743
21744         Fixes PR 27290
21745         * javax/xml/datatype/DatatypeFactory.java: Use complete
21746           implementation resolution mechanism.
21747
21748 2006-04-26  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
21749
21750         * javax/swing/tree/DefaultTreeModel.java (nodeStructureChanged): 
21751         Implemented.
21752         * javax/swing/tree/DefaultTreeSelectionModel.java (toString):
21753         Removed NoImplementException form the implemented method.
21754
21755 2006-04-26  Tom Tromey  <tromey@redhat.com>
21756
21757         * javax/net/ssl/HttpsURLConnection.java (HttpsURLConnection): Doesn't
21758         throw IOException.
21759
21760 2006-04-26  David Gilbert  <david.gilbert@object-refinery.com>
21761
21762         * javax/swing/DefaultListSelectionModel.java
21763         (clone): Initialise empty listener list,
21764         (setSelectionMode): Throw IllegalArgumentException for bad input.
21765
21766 2006-04-26  David Gilbert  <david.gilbert@object-refinery.com>
21767
21768         * javax/swing/DefaultListSelectionModel.java
21769         (clearSelection): Clear the Bitset.
21770
21771 2006-04-26  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
21772
21773         * javax/swing/JTree.java (setLeadSelectionPath):
21774         Repaint the new and old lead pathes.
21775         * javax/swing/plaf/basic/BasicTreeUI.java
21776         (FocusHandler): Repaint the lead row when focus changes.
21777         (PropertyChangeHandler): Use existing constants, not the
21778         string literals for the property names.
21779         (TreeIncrementAction): Shrink the selection when moving
21780         from the selection edge to the selection anchor.
21781         (TreeSelectionHandler.valueChanged): Repaint the 
21782         new and old lead pathes.
21783         (paintRow): Treat row as focused only if it is the lead row.
21784         * javax/swing/tree/DefaultTreeCellRenderer.java
21785         (getTreeCellRendererComponent): Set the vertical alignment to CENTER.
21786         (paint): Rewritten.
21787         * javax/swing/tree/DefaultTreeSelectionModel.java
21788         (addSelectionPath): Event construction fix (old and new lead were
21789         always the same).
21790         (addSelectionPaths): Likewise.
21791         * javax/swing/JComponent.java (setOpaque): Explained.
21792         * javax/swing/tree/FixedHeightLayoutCache.java (getBounds):
21793         Accept null.
21794         * javax/swing/tree/VariableHeightLayoutCache.java (getBounds):
21795         Accept null.
21796
21797 2006-04-26  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
21798
21799         * examples/gnu/classpath/examples/swing/TreeDemo.java
21800         (createContent): Call DefaultTreeModel.reload(), not the
21801         tree.repaint(). Expand the parent of the added node.
21802         * javax/swing/JTree.java (constructor): Do not call
21803         UpdateUI (and documented why). (treeDidChange):
21804         Added comment, excluding the misinterpretation of this method.
21805         * javax/swing/plaf/basic/BasicTreeUI.java (componentListener,
21806         focusListener, keyListener, mouseListener, propertyListener,
21807         selectionModelPropertyChangeListener, treeModelListener,
21808         treeSelectionListener): Made package private.
21809         (PropertyChangeHandler): If the model changes, install the
21810         listener on it. (installUI): Assign treeModel.
21811         * javax/swing/tree/DefaultMutableTreeNode.java (add): Added
21812         comment, excluding misinterpretation.
21813         * javax/swing/tree/DefaultTreeModel.java (reload): Implemented.
21814         (reload(TreeNode)): Implemented.
21815
21816 2006-04-25  Tom Tromey  <tromey@redhat.com>
21817
21818         * javax/swing/JComboBox.java (AccessibleJComboBox): Now public.
21819         * javax/swing/tree/VariableHeightLayoutCache.java
21820         (getVisiblePathsFrom): Genericized.
21821         * javax/swing/tree/FixedHeightLayoutCache.java (getVisiblePathsFrom):
21822         Genericized.
21823
21824 2006-04-25  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
21825
21826         * javax/swing/plaf/basic/BasicTreeUI.java (MouseHandler.mousePressed):
21827         If clicked on the other row, cancel the current editing session.
21828
21829 2006-04-25  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
21830
21831         * javax/swing/plaf/basic/BasicTreeUI.java
21832         (NodeDimensionsHandler.getRowX): Add half of the icon width.
21833         (paintExpandControl): Always paint in one gap distance from the left
21834         border of the path bounds.
21835         (paintHorizontalPartOfLeg): Rewritted, taking the icon width
21836         into consideration.
21837         (paintVerticalPartOfLeg): Paint two gaps from the parent's bounds
21838         left edge.
21839
21840 2006-04-25  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
21841
21842         * javax/swing/plaf/basic/BasicTreeUI.java (paint): Rewritten.
21843
21844 2006-04-25  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
21845
21846         * gnu/javax/swing/text/html/parser/support/Parser.java (readAttributes):
21847         Allow slashes (/) in the unquoted parameter value. 
21848
21849 2006-04-25  Roman Kennke <kennke@aicas.com>
21850
21851         * gnu/java/awt/java2d/AbstractGraphics2D.java
21852         (drawString(String,int,int)): Implemented.
21853         (drawString(String,float,float)): Implemented.
21854         (drawString(AttributedCharacterIterator,int,int)): Implemented.
21855         (drawString(AttributedCharacterIterator,float,float)): Implemented.
21856         (getFontRenderContext): Implemented.
21857         (drawGlyphVector): Implemented.
21858         (getFont): Implemented.
21859         (setFont): Don't change font setting when null.
21860         (getFontMetrics): Implemented.
21861         (fillShape): Re-written to fill call rawFillShape() with a list
21862         of the edges instead of double arrays.
21863         (rawFillShape): Implemented using a polygon scanline conversion.
21864         (fillScanline): New helper method.
21865         (init): Initialize foreground black. Set font.
21866         * gnu/java/awt/java2d/PolyEdge.java: New file.
21867         * gnu/java/awt/java2d/PolyEdgeComparator.java: New file.
21868
21869 2006-04-25  David Gilbert  <david.gilbert@object-refinery.com>
21870
21871         * javax/swing/table/DefaultTableColumnModel.java: More API doc updates.
21872
21873 2006-04-25  David Gilbert  <david.gilbert@object-refinery.com>
21874
21875         * javax/swing/JTable.java: Fixed API doc tags,
21876         * javax/swing/text/AsyncBoxView.java: Likewise,
21877         * javax/swing/text/FlowView.java: Likewise.
21878
21879 2006-04-25  David Gilbert  <david.gilbert@object-refinery.com>
21880
21881         * javax/swing/table/DefaultTableColumnModel.java
21882         (moveColumn): Call fireColumnMoved() not fireColumnAdded.
21883
21884 2006-04-24  David Gilbert  <david.gilbert@object-refinery.com>
21885
21886         * javax/swing/table/DefaultTableColumnModel.java
21887         (DefaultTableColumnModel): Set selection model field and add 'this' as
21888         listener directly,
21889         (addColumn): Add 'this' as a PropertyChangeListener,
21890         (removeColumn): Remove column before firing event, and remove 'this' as
21891         a PropertyChangeListener,
21892         (setSelectionModel): Remove 'this' as a listener from old model, 
21893         (propertyChange): Check for 'width' property rather than
21894         TableColumn.COLUMN_WIDTH_PROPERTY.
21895
21896 2006-04-24  Chris Burdess  <dog@gnu.org>
21897
21898         Fixes PR 27262
21899         * gnu/xml/dom/DomDocument.java: getElementById returns user-defined ID
21900           attributes when no doctype exists.
21901
21902 2006-04-24  David Gilbert  <david.gilbert@object-refinery.com>
21903
21904         * javax/swing/event/ChangeEvent.java: Updated API docs,
21905         * javax/swing/event/ChangeListener.java: Likewise,
21906         * javax/swing/event/TableColumnModelEventListener.java: Likewise,
21907         * javax/swing/table/DefaultTableColumnModel.java: Likewise,
21908         * javax/swing/table/TableColumnModel.java: Likewise.
21909
21910 2006-04-24  Robert Schuster  <robertschuster@fsfe.org>
21911
21912         * javax/swing/text/Utilities.java:
21913         (getBreakLocation): Introduced shift variable, added notes.
21914         * javax/swing/text/WrappedPlainView.java:
21915         (calculateBreakPosition): Decrease allocation area bounds by insets,
21916         added early return when allocation area is empty, provide start offset
21917         as argument.
21918         (WrappedPlainView.WrappedLine): Change default value for numLines to 1.
21919         (WrappedPlainView.WrappedLine.paint): Added count variable, update
21920         numLines after loop.
21921         (WrappedPlainView.WrappedLine.determineNumLines): Added early return.
21922         (WrappedPlainView.WrappedLine.getPreferredSpan): Removed if-statement.
21923         (WrappedPlainView.WrappedLine.viewToModel): Changed note, removed
21924         decreasing variable end by one, changed break condition in while-loop,
21925         added check for return value.
21926         (WrappedPlainView.WrappedLine.updateDamage): Set numLines to one if
21927         allocation area is empty.
21928
21929 2006-04-24  Sven de Marothy  <sven@physto.se>
21930
21931         * gnu/java/awt/java2d/Segment.java: New file.
21932         * gnu/java/awt/java2d/CubicSegment.java: New file.
21933         * gnu/java/awt/java2d/QuadSegment.java: New file.
21934         * gnu/java/awt/java2d/LineSegment.java: New file.
21935         * java/awt/BasicStroke.java
21936         (start): New field.
21937         (end): New field.
21938         (createStrokedShape): Implemented.
21939         (solidStroke): New method.
21940         (dashedStroke): New method.
21941         (capEnds): New method.
21942         (convertPath): New method.
21943         (addSegments): New method.
21944         (capEnd): New method.
21945         (lineIntersection): New method.
21946         (joinSegments): New method.
21947
21948 2006-04-24  Roman Kennke <kennke@aicas.com>
21949
21950         * gnu/java/awt/java2d/AbstractGraphics2D.java: Made implements
21951         Cloneable.
21952         (font): New field.
21953         (clip): Changed clip to be in user space not in target space.
21954         (isOptimized): Added flag to allow optimized drawing for
21955         primitive operations (e.g. for Swing).
21956         (AbstractGraphics2D()): Set foreground in init() to avoid trouble
21957         with the paint context etc.
21958         (draw): Clip the shape before drawing it.
21959         (fill): Clip the shape before drawing it.
21960         (setComposite): Update isOptimized flag.
21961         (setPaint): Likewise.
21962         (setStroke): Likewise.
21963         (translate): Update the clip.
21964         (rotate): Likewise.
21965         (scale): Likewise.
21966         (shear): Likewise.
21967         (transform): Likewise.
21968         (setTransform): Likewise.
21969         (clip): Added optimization for rectangle clips.
21970         (create): Implemented.
21971         (clone): New method.
21972         (setFont): Basic implementation.
21973         (setClip): Update opimization flag.
21974         (drawLine): Added possible optimization.
21975         (fillRect): Added possible optimization.
21976         (fillShape): Implemented shape-filling by filling the flattended
21977         shape using polygon fill.
21978         (drawPixel): Added basic painting.
21979         (rawSetPixel): Changed signature to only take coordinates.
21980         (rawSetForeground): New abstract method.
21981         (getUserBounds): Implemented default for this method.
21982         (rawDrawLine): New method.
21983         (rawFillRect): New method.
21984         (rawFillPolygon): New method.
21985         (init): New method.
21986         (updateOptimization): New method.
21987         (computeIntersection): New method.
21988         (updateClip): New method.
21989         (clipShape): New method.
21990
21991 2006-04-23  Jeroen Frijters  <jeroen@frijters.net>
21992
21993         * java/lang/Package.java: Added compatibility constructor to ease
21994         VM interface migration.
21995
21996 2006-04-23  Jeroen Frijters  <jeroen@frijters.net>
21997
21998         * java/lang/Class.java (getEnumConstants): Implemented without
21999         delegating to VMClass.
22000         * vm/reference/java/lang/VMClass.java (getEnumConstants): Removed.
22001
22002 2006-04-23  Jeroen Frijters  <jeroen@frijters.net>
22003
22004         * java/lang/ClassLoader.java (definePackage): Added argument to
22005         Package constructor.
22006         * java/lang/Package.java (Package): Added ClassLoader argument.
22007         (loader): New field.
22008         (getDeclaredAnnotations): Implemented without help from VMPackage.
22009         * vm/reference/java/lang/VMClassLoader.java (static): Added argument
22010         to Package constructor.
22011         * vm/reference/java/lang/VMPackage.java: Removed.
22012
22013 2006-04-23  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
22014
22015         * examples/gnu/classpath/examples/swing/TreeDemo.java:
22016         (createContent): Added check box to swith between single and 
22017         multiple selection.
22018         * javax/swing/JTree.java (leadSelectionPath): Removed.
22019         (addSelectionInterval): Explained. (getLeadSelectionPath):
22020         Request the path from model. (getPathsBetweenRows): Explained.
22021         (setLeadSelectionPath): Set the path in model.
22022         * javax/swing/plaf/basic/BasicTreeUI.java 
22023         (TreeIncrementAction.actionPerformed, isMultiSelectionEvent, 
22024         isToggleSelectionEvent, selectPath, selectPathForEvent): Rewritten.
22025         (MouseHandler.mousePressed): Call selectPathForEvent.
22026
22027 2006-04-23  Roman Kennke <kennke@aicas.com>
22028
22029         * gnu/java/awt/java2d/AbstractGraphics2D.java: New file.
22030
22031 2006-04-22  Andrew John Hughes  <gnu_andrew@member.fsf.org>
22032
22033         * NEWS:
22034         Mention changes to VMProcess and VMSystem.
22035         * doc/vmintegration.texinfo:
22036         Change documentation on VMProcess and VMSystem.
22037         * include/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.h,
22038         * include/gnu_java_awt_peer_gtk_GdkFontPeer.h,
22039         * include/gnu_java_awt_peer_gtk_GdkGraphics.h,
22040         * include/gnu_java_awt_peer_gtk_GdkGraphics2D.h,
22041         * include/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.h,
22042         * include/gnu_java_awt_peer_gtk_GdkPixbufDecoder.h,
22043         * include/gnu_java_awt_peer_gtk_GdkRobotPeer.h,
22044         * include/gnu_java_awt_peer_gtk_GdkTextLayout.h,
22045         * include/gnu_java_awt_peer_gtk_GtkButtonPeer.h,
22046         * include/gnu_java_awt_peer_gtk_GtkCanvasPeer.h,
22047         * include/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.h,
22048         * include/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.h,
22049         * include/gnu_java_awt_peer_gtk_GtkCheckboxPeer.h,
22050         * include/gnu_java_awt_peer_gtk_GtkChoicePeer.h,
22051         * include/gnu_java_awt_peer_gtk_GtkClipboard.h,
22052         * include/gnu_java_awt_peer_gtk_GtkComponentPeer.h,
22053         * include/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.h,
22054         * include/gnu_java_awt_peer_gtk_GtkFileDialogPeer.h,
22055         * include/gnu_java_awt_peer_gtk_GtkFramePeer.h,
22056         * include/gnu_java_awt_peer_gtk_GtkGenericPeer.h,
22057         * include/gnu_java_awt_peer_gtk_GtkImage.h,
22058         * include/gnu_java_awt_peer_gtk_GtkLabelPeer.h,
22059         * include/gnu_java_awt_peer_gtk_GtkListPeer.h,
22060         * include/gnu_java_awt_peer_gtk_GtkMenuBarPeer.h,
22061         * include/gnu_java_awt_peer_gtk_GtkMenuComponentPeer.h,
22062         * include/gnu_java_awt_peer_gtk_GtkMenuItemPeer.h,
22063         * include/gnu_java_awt_peer_gtk_GtkMenuPeer.h,
22064         * include/gnu_java_awt_peer_gtk_GtkPanelPeer.h,
22065         * include/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.h,
22066         * include/gnu_java_awt_peer_gtk_GtkScrollPanePeer.h,
22067         * include/gnu_java_awt_peer_gtk_GtkScrollbarPeer.h,
22068         * include/gnu_java_awt_peer_gtk_GtkSelection.h,
22069         * include/gnu_java_awt_peer_gtk_GtkTextAreaPeer.h,
22070         * include/gnu_java_awt_peer_gtk_GtkTextFieldPeer.h,
22071         * include/gnu_java_awt_peer_gtk_GtkToolkit.h,
22072         * include/gnu_java_awt_peer_gtk_GtkWindowPeer.h,
22073         * include/gnu_java_awt_peer_qt_MainQtThread.h,
22074         * include/gnu_java_awt_peer_qt_QMatrix.h,
22075         * include/gnu_java_awt_peer_qt_QPainterPath.h,
22076         * include/gnu_java_awt_peer_qt_QPen.h,
22077         * include/gnu_java_awt_peer_qt_QtAudioClip.h,
22078         * include/gnu_java_awt_peer_qt_QtButtonPeer.h,
22079         * include/gnu_java_awt_peer_qt_QtCanvasPeer.h,
22080         * include/gnu_java_awt_peer_qt_QtCheckboxPeer.h,
22081         * include/gnu_java_awt_peer_qt_QtChoicePeer.h,
22082         * include/gnu_java_awt_peer_qt_QtComponentPeer.h,
22083         * include/gnu_java_awt_peer_qt_QtContainerPeer.h,
22084         * include/gnu_java_awt_peer_qt_QtDialogPeer.h,
22085         * include/gnu_java_awt_peer_qt_QtEmbeddedWindowPeer.h,
22086         * include/gnu_java_awt_peer_qt_QtFileDialogPeer.h,
22087         * include/gnu_java_awt_peer_qt_QtFontMetrics.h,
22088         * include/gnu_java_awt_peer_qt_QtFontPeer.h,
22089         * include/gnu_java_awt_peer_qt_QtFramePeer.h,
22090         * include/gnu_java_awt_peer_qt_QtGraphics.h,
22091         * include/gnu_java_awt_peer_qt_QtGraphicsEnvironment.h,
22092         * include/gnu_java_awt_peer_qt_QtImage.h,
22093         * include/gnu_java_awt_peer_qt_QtLabelPeer.h,
22094         * include/gnu_java_awt_peer_qt_QtListPeer.h,
22095         * include/gnu_java_awt_peer_qt_QtMenuBarPeer.h,
22096         * include/gnu_java_awt_peer_qt_QtMenuComponentPeer.h,
22097         * include/gnu_java_awt_peer_qt_QtMenuItemPeer.h,
22098         * include/gnu_java_awt_peer_qt_QtMenuPeer.h,
22099         * include/gnu_java_awt_peer_qt_QtPanelPeer.h,
22100         * include/gnu_java_awt_peer_qt_QtPopupMenuPeer.h,
22101         * include/gnu_java_awt_peer_qt_QtScreenDevice.h,
22102         * include/gnu_java_awt_peer_qt_QtScrollPanePeer.h,
22103         * include/gnu_java_awt_peer_qt_QtScrollbarPeer.h,
22104         * include/gnu_java_awt_peer_qt_QtTextAreaPeer.h,
22105         * include/gnu_java_awt_peer_qt_QtTextFieldPeer.h,
22106         * include/gnu_java_awt_peer_qt_QtToolkit.h,
22107         * include/gnu_java_awt_peer_qt_QtVolatileImage.h,
22108         * include/gnu_java_awt_peer_qt_QtWindowPeer.h,
22109         * include/gnu_javax_sound_midi_alsa_AlsaMidiDeviceProvider.h,
22110         * include/gnu_javax_sound_midi_alsa_AlsaMidiSequencerDevice.h,
22111         * include/gnu_javax_sound_midi_alsa_AlsaPortDevice.h,
22112         * include/gnu_javax_sound_midi_dssi_DSSIMidiDeviceProvider.h,
22113         * include/gnu_javax_sound_midi_dssi_DSSISynthesizer.h,
22114         * include/gnu_xml_libxmlj_dom_GnomeAttr.h,
22115         * include/gnu_xml_libxmlj_dom_GnomeDocument.h,
22116         * include/gnu_xml_libxmlj_dom_GnomeDocumentBuilder.h,
22117         * include/gnu_xml_libxmlj_dom_GnomeDocumentType.h,
22118         * include/gnu_xml_libxmlj_dom_GnomeElement.h,
22119         * include/gnu_xml_libxmlj_dom_GnomeEntity.h,
22120         * include/gnu_xml_libxmlj_dom_GnomeNamedNodeMap.h,
22121         * include/gnu_xml_libxmlj_dom_GnomeNode.h,
22122         * include/gnu_xml_libxmlj_dom_GnomeNodeList.h,
22123         * include/gnu_xml_libxmlj_dom_GnomeNotation.h,
22124         * include/gnu_xml_libxmlj_dom_GnomeProcessingInstruction.h,
22125         * include/gnu_xml_libxmlj_dom_GnomeTypeInfo.h,
22126         * include/gnu_xml_libxmlj_dom_GnomeXPathExpression.h,
22127         * include/gnu_xml_libxmlj_dom_GnomeXPathNSResolver.h,
22128         * include/gnu_xml_libxmlj_dom_GnomeXPathNodeList.h,
22129         * include/gnu_xml_libxmlj_dom_GnomeXPathResult.h,
22130         * include/gnu_xml_libxmlj_sax_GnomeLocator.h,
22131         * include/gnu_xml_libxmlj_sax_GnomeXMLReader.h,
22132         * include/gnu_xml_libxmlj_transform_GnomeTransformer.h,
22133         * include/gnu_xml_libxmlj_transform_GnomeTransformerFactory.h,
22134         * include/java_lang_VMProcess.h,
22135         * include/java_lang_VMSystem.h:
22136         Regenerated with GCJ 4.1.
22137
22138 2006-04-22  Casey Marshall  <csm@gnu.org>
22139
22140         Fixes PR classpath/27228.
22141         * gnu/javax/crypto/jce/sig/DHKeyPairGeneratorSpi.java
22142         (initialize): also accept `DHParameterSpec.'
22143         * gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java (setup):
22144         handle a passed-in `DHParameterSpec' properly.
22145         (generate): don't check if the random exponent is less than `q -
22146         1' if no `q' was specified.
22147
22148 2006-04-22  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
22149
22150         * javax/swing/JTree.java (TreeSelectionRedirector.valueChanged):
22151         Only repaint the patches, speficied in the passed event.
22152         (expandPath): Do nothing if the path is already expanded.
22153         (scrollPathToVisible): Only scroll to visible, do nothing else.
22154         * javax/swing/plaf/basic/BasicTreeUI.java 
22155         (TreeExpansionHandler.treeColapsed): Revalidate and repaint.
22156         (TreeExpansionHandler.treeExpanded): Revalidate and repaint.
22157         (TreeTraverseAction.actionPerformed): Collapse the node on the
22158         action "selectParent". (selectPath): Rewritten.
22159         * javax/swing/tree/DefaultTreeSelectionModel.java (clearSelection):
22160         Fire change event. (notifyPathChange): Implemented. (setSelectionPath):
22161         Do not reuse selection array.
22162         * javax/swing/tree/FixedHeightLayoutCache.java (getRowForPath):
22163         Accept null.
22164         * javax/swing/tree/VariableHeightLayoutCache.java (getRowForPath):
22165         Accept null.
22166
22167 2006-04-22  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
22168
22169         * javax/swing/tree/DefaultTreeSelectionModel.java
22170         (addSelectionPath): If the path cannot be added, set it.
22171         (addSelectionPaths): Call insureRowContinuity.
22172         (arePathsContiguous): Implemented.
22173         (canPathBeAdded): New private method.
22174         (canPathsBeAdded): Implemented.
22175         (canPathsBeRemoved): Implemented.
22176         (getPath): New private method.
22177         (insureRowContinuity): Implemented.
22178         (removeSelectionPath): Call insureRowContinuity.
22179         (removeSelectionPaths): Call insureRowContinuity.
22180         (resetRowSelection): Removed stub marking, not used in implementation 
22181         (nothing to do there).
22182         (selectOne): New private method.
22183         (setSelectionMode) Call insureRowContinuity.
22184         (setSelectionPaths) Remove the current selection by clearing it.
22185
22186 2006-04-22  Carsten Neumann  <cn-develop@gmx.net>
22187
22188         * javax/sql/Array.java: Fixed eclipse API doc warnings, named method
22189         parameters consistendly, documented some methods.
22190         * java/sql/Blob.java: Likewise.
22191         * java/sql/CallableStatement.java: Likewise.
22192         * java/sql/Clob.java: Likewise.
22193         * java/sql/Connection.java: Likewise.
22194         * java/sql/DatabaseMetaData.java: Likewise.
22195         * java/sql/Date.java: Likewise.
22196         * java/sql/Driver.java: Likewise.
22197         * java/sql/PreparedStatement.java: Likewise.
22198         * java/sql/ResultSet.java: Likewise.
22199         * java/sql/ResultSetMetaData.java: Likewise.
22200         * java/sql/SQLData.java: Likewise.
22201         * java/sql/SQLOutput.java: Likewise.
22202         * java/sql/SQLWarning.java: Likewise.
22203         * java/sql/Statement.java: Likewise.
22204         * java/sql/Time.java: Likewise.
22205         * java/sql/Timestamp.java: Likewise.
22206
22207 2006-04-21  Jeroen Frijters  <jeroen@frijters.net>
22208
22209         * java/lang/reflect/AccessibleObject.java:
22210         Implemented AnnotatedElement.
22211         (getAnnotation, getAnnotations, getDeclaredAnnotations,
22212         isAnnotationPresent): New methods.
22213
22214 2006-04-21  Tom Tromey  <tromey@redhat.com>
22215
22216         PR classpath/27163:
22217         * gnu/java/net/protocol/ftp/FTPConnection.java
22218         (changeWorkingDirectory): Do nothing if path is empty.
22219
22220 2006-04-21  Tom Tromey  <tromey@redhat.com>
22221
22222         PR libgcj/27231:
22223         * gnu/java/net/protocol/http/HTTPURLConnection.java (connect): Handle
22224         case where no '/' appears in 'location'.
22225
22226 2006-04-21  Tom Tromey  <tromey@redhat.com>
22227
22228         * java/security/Security.java (<clinit>): Add all default providers.
22229         * resource/java/security/classpath.security: Added comment.
22230
22231 2006-04-21  David Gilbert  <david.gilbert@object-refinery.com>
22232
22233         * javax/swing/SpinnerDateModel.java: Updated API docs all over,
22234         * javax/swing/SpinnerNumberModel.java: Likewise.
22235
22236 2006-04-21  David Gilbert  <david.gilbert@object-refinery.com>
22237
22238         * javax/swing/SpinnerDateModel.java
22239         (SpinnerDateModel(Date, Comparable, Comparable, int)): Fix argument
22240         checking to call compareTo() on start and end.
22241
22242 2006-04-21  David Gilbert  <david.gilbert@object-refinery.com>
22243
22244         * javax/swing/border/AbstractBorder.java: API doc updates,
22245         * javax/swing/border/BevelBorder.java: Likewise,
22246         * javax/swing/border/CompoundBorder.java: Likewise,
22247         * javax/swing/border/EtchedBorder.java: Likewise,
22248         * javax/swing/border/LineBorder.java: Likewise,
22249         * javax/swing/border/MatteBorder.java: Likewise,
22250         * javax/swing/border/TitledBorder.java: Likewise.
22251
22252 2006-04-21  David Gilbert  <david.gilbert@object-refinery.com>
22253
22254         * gnu/javax/crypto/cipher/Anubis.java:
22255         (selfTest): Use Boolean.valueOf() to avoid creating a new Boolean
22256         instance,
22257         * gnu/javax/crypto/cipher/Blowfish.java:
22258         (selfTest): Likewise,
22259         * gnu/javax/crypto/cipher/Cast5.java:
22260         (selfTest): Likewise,
22261         * gnu/javax/crypto/cipher/Khazad.java:
22262         (selfTest): Likewise,
22263         * gnu/javax/crypto/cipher/Rijndael.java:
22264         (selfTest): Likewise,
22265         * gnu/javax/crypto/cipher/Serpent.java:
22266         (selfTest): Likewise,
22267         * gnu/javax/crypto/cipher/Square.java:
22268         (selfTest): Likewise,
22269         * gnu/javax/crypto/cipher/Twofish.java:
22270         (selfTest): Likewise,
22271         * gnu/javax/crypto/mac/UMac32.java:
22272         (selfTest): Likewise,
22273         * gnu/javax/crypto/prng/CSPRNG.java:
22274         (getSystemInstance): Likewise.
22275
22276 2006-04-21  David Gilbert  <david.gilbert@object-refinery.com>
22277
22278         * gnu/java/security/hash/Haval.java:
22279         (selfTest): Use Boolean.valueOf() to avoid creating new Boolean 
22280         instance,
22281         * gnu/java/security/hash/MD2.java:
22282         (selfTest): Likewise,
22283         * gnu/java/security/hash/MD4.java:
22284         (selfTest): Likewise,
22285         * gnu/java/security/hash/MD5.java:
22286         (selfTest): Likewise,
22287         * gnu/java/security/hash/RipeMD128.java:
22288         (selfTest): Likewise,
22289         * gnu/java/security/hash/RipeMD160.java:
22290         (selfTest): Likewise,
22291         * gnu/java/security/hash/Sha160.java:
22292         (selfTest): Likewise,
22293         * gnu/java/security/hash/Sha256.java:
22294         (selfTest): Likewise,
22295         * gnu/java/security/hash/Sha384.java:
22296         (selfTest): Likewise,
22297         * gnu/java/security/hash/Sha512.java:
22298         (selfTest): Likewise,
22299         * gnu/java/security/hash/Tiger.java:
22300         (selfTest): Likewise,
22301         * gnu/java/security/hash/Whirlpool.java:
22302         (selfTest): Likewise.
22303
22304 2006-04-21  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
22305
22306         * javax/swing/plaf/basic/BasicTreeUI.java 
22307         (PropertyChangeHandler.propertyChange): Set the row mapper
22308         for the selection model.
22309         * javax/swing/tree/AbstractLayoutCache.java 
22310         (NodeDimensions.getNodeDimensions): Explained.
22311         (getPreferredHeight, getPreferredWidth, isFixedRowHeight):
22312         Implemented. (setRowHeight): Invalidate sizes. 
22313         * javax/swing/tree/DefaultTreeSelectionModel.java
22314         (addSelectionPath, addSelectionPaths): Update lead row.
22315         (removeSelectionPath, removeSelectionPaths): Do nothing if
22316         selection is empty.
22317         (clone): Only clone list selection model if it is not null.
22318         (getRow): New method. (isRowSelected, getLeadSelectionRow, 
22319         setSelectionPath, setSelectionPaths, toString): Implemented.
22320         * javax/swing/tree/FixedHeightLayoutCache.java (NodeRecord.getBounds):
22321         Pass the empty rectangle. (isFixedRowHeight): New method.
22322         * javax/swing/tree/VariableHeightLayoutCache.java
22323         (NodeRecord.getBounds): Pass the empty rectangle.
22324         
22325 2006-04-21  David Gilbert  <david.gilbert@object-refinery.com>
22326
22327         * gnu/java/security/Properties.java
22328         (init): Use Boolean.valueOf() to avoid creating new Boolean instances.
22329
22330 2006-04-21  David Gilbert  <david.gilbert@object-refinery.com>
22331
22332         * gnu/classpath/jdwp/util/Value.java
22333         (getUntaggedObj(ByteBuffer, Class)): Use Boolean.valueOf() to avoid 
22334         creating new Boolean instances.
22335
22336 2006-04-20  Mark Wielaard  <mark@klomp.org>
22337
22338         * java/awt/Toolkit.java (getDefaultToolkit): Get classloader in
22339         PrivilegedAction. Access awt.toolkit through SystemProperties.
22340
22341 2006-04-20  David Gilbert  <david.gilbert@object-refinery.com>
22342
22343         * javax/swing/ActionMap.java: Removed unused imports,
22344         * javax/swing/DefaultListSelectionModel.java
22345         (clearSelection): Removed unused label,
22346         * javax/swing/JScrollPane.java: Removed unused imports,
22347         * javax/swing/UIManager.java: Likewise,
22348         * javax/swing/table/DefaultTableCellRenderer.java: Likewise.
22349
22350 2006-04-20  David Gilbert  <david.gilbert@object-refinery.com>
22351
22352         * javax/swing/plaf/basic/BasicSpinnerUI.java: Removed unused imports,
22353         * javax/swing/plaf/basic/BasicTextAreaUI.java: Likewise,
22354         * javax/swing/plaf/basic/BasicTextFieldUI.java: Likewise,
22355         * javax/swing/plaf/basic/BasicTextUI.java: Likewise,
22356         * javax/swing/plaf/basic/BasicTreeUI.java: Likewise.
22357
22358 2006-04-20  David Gilbert  <david.gilbert@object-refinery.com>
22359
22360         * java/sql/Array.java: Fixed Eclipse API doc warnings,
22361         * java/sql/Blob.java: Likewise,
22362         * java/sql/CallableStatement.java: Likewise,
22363         * java/sql/Clob.java: Likewise,
22364         * java/sql/Connection.java: Likewise,
22365         * java/sql/DatabaseMetaData.java: Likewise,
22366         * java/sql/Date.java: Likewise,
22367         * java/sql/Driver.java: Likewise,
22368         * java/sql/PreparedStatement.java: Likewise,
22369         * java/sql/ResultSet.java: Likewise,
22370         * java/sql/ResultSetMetaData.java: Likewise,
22371         * java/sql/SQLData.java: Likewise,
22372         * java/sql/SQLOutput.java: Likewise,
22373         * java/sql/SQLWarning.java: Likewise,
22374         * java/sql/Statement.java: Likewise,
22375         * java/sql/Time.java: Likewise,
22376         * java/sql/Timestamp.java: Likewise.
22377
22378 2006-04-20  David Gilbert  <david.gilbert@object-refinery.com>
22379
22380         * java/sql/DriverManager.java
22381         (setLoginTimeout): Use incoming argument,
22382         (setLogStream): Likewise,
22383         (println): Fix API doc comment.
22384
22385 2006-04-20  David Gilbert  <david.gilbert@object-refinery.com>
22386
22387         * javax/swing/JMenuItem.java
22388         (paramString): Updated API docs,
22389         (getAccessibleContext): Added API docs,
22390         (AccessibleJMenuItem.stateChanged): Marked as stub,
22391         (AccessibleJMenuItem.getAccessibleRole): Added API docs,
22392         * javax/swing/JSlider.java
22393         (paramString): Fix for API docs,
22394         * javax/swing/JToolTip.java
22395         (getAccessibleContext): Fix for API docs.
22396
22397 2006-04-20  David Gilbert  <david.gilbert@object-refinery.com>
22398
22399         * javax/swing/JRadioButtonMenuItem.java
22400         (paramString): Reimplemented,
22401         (getAccessibleContext): API docs added,
22402         (AccessibleJRadioButtonMenuItem.AccessibleJRadioButtonMenuItem()): 
22403         Likewise,
22404         (AccessibleJRadioButtonMenuItem.getAccessibleRole): Likewise.
22405
22406 2006-04-20  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
22407
22408         * javax/swing/plaf/basic/BasicTreeUI.java
22409         (finish): Invalidate path bounds.
22410         (getMaxHeight): Set the row height to the layout cache.
22411         (startEditing): Do not request to recalculated 
22412         row height and preferred size.
22413         * javax/swing/tree/DefaultTreeCellEditor.java
22414         (ICON_TEXT_GAP, ICON_TREE_GAP): Removed, replacing
22415         with 0.
22416         * javax/swing/tree/FixedHeightLayoutCache.java:
22417         Rewritten.
22418
22419 2006-04-20  David Gilbert  <david.gilbert@object-refinery.com>
22420
22421         * javax/swing/JDesktopPane.java
22422         (paramString): Reimplemented,
22423         plus API doc updates in AccessibleJDesktopPane.
22424
22425 2006-04-20  David Gilbert  <david.gilbert@object-refinery.com>
22426
22427         * javax/swing/ImageIcon.java:
22428         (AccessibleImageIcon.getAccessibleStateSet): Return null always,
22429         (AccessibleImageIcon.getLocale): Declared exception and always return 
22430         null,
22431         (getAccessibleContext): Updated API docs,
22432         plus updated API docs all over AccessibleImageIcon.
22433
22434 2006-04-20  Roman Kennke  <kennke@aicas.com>
22435
22436         PR 27196
22437         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
22438         (paintText): Fetch the ascent only once. Add the ascent to
22439         the text rect also when tabs are disabled.
22440
22441 2006-04-20  Christian Thalinger  <twisti@complang.tuwien.ac.at>
22442
22443         * java/util/Locale.java (defaultLocale): Set to en_US per
22444         default and use user.country but prioritize user.region if
22445         defined.
22446         (getLocale(String language, String country)): Renamed region to
22447         country.
22448         (getLocale(String language, String region, String variant)):
22449         Likewise.
22450         (getAvailableLocales): Likewise.
22451
22452 2006-04-20  Roman Kennke  <kennke@aicas.com>
22453
22454         PR 27222
22455         * javax/swing/JList.java
22456         (JList()): Call init() with DefaultListModel instance.
22457         (JList(Object[])): Call init() with null.
22458         (JList(Vector)): Call init() with null.
22459         (JList(ListModel)): Call init() with model.
22460         (init): Changed to take the model as argument. Don't call
22461         setter methods and initialize stuff directly instead.
22462         (getCellBounds): Check if UI is null.
22463
22464 2006-04-20  Robert Schuster  <robertschuster@fsfe.org>
22465
22466         * javax/swing/text/WrappedPlainView.java: Initialize
22467         WrappedLine.numLines with -1.
22468         (WrappedPlainView.WrappedLine.getPreferredSpan): Check whether
22469         numLines is -1 and reculcalate the value appropriately.
22470         (WrappedPlainView.WrappedLine.updateDamage): Set numLines to -1 if
22471         allocation area is empty.
22472
22473 2006-04-20  David Gilbert  <david.gilbert@object-refinery.com>
22474
22475         * javax/swing/JTabbedPane.java
22476         (AccessibleJTabbedPane.stateChanged): Marked as stub,
22477         (AccessibleJTabbedPane.getAccessibleRole): Likewise,
22478         (AccessibleJTabbedPane.getAccessibleChildrenCount): Likewise,
22479         (AccessibleJTabbedPane.getAccessibleSelection): Likewise,
22480         (AccessibleJTabbedPane.getAccessibleAt): Likewise,
22481         (AccessibleJTabbedPane.getAccessibleSelectionCount): Likewise,
22482         (AccessibleJTabbedPane.getAccessibleSelection(int)): Likewise,
22483         (AccessibleJTabbedPane.isAccessibleChildSelected): Likewise,
22484         (AccessibleJTabbedPane.addAccessibleSelection): Likewise,
22485         (AccessibleJTabbedPane.removeAccessibleSelection): Likewise,
22486         (AccessibleJTabbedPane.clearAccessibleSelection): Likewise,
22487         (AccessibleJTabbedPane.selectAllAccessibleSelection): Likewise,
22488         (Page.getAccessibleStateSet): Likewise,
22489         (Page.getAccessibleIndexInParent): Likewise.
22490
22491 2006-04-19  David Gilbert  <david.gilbert@object-refinery.com>
22492
22493         * javax/swing/JProgressBar.java
22494         (paramString): Reimplemented.
22495
22496 2006-04-19  David Gilbert  <david.gilbert@object-refinery.com>
22497
22498         * javax/swing/JButton.java: Updated API docs all over.
22499
22500 2006-04-19  Roman Kennke  <kennke@aicas.com>
22501
22502         * java/awt/Toolkit.java
22503         (getDefaultToolkit): Use system classloader to load the
22504         toolkit.
22505
22506 2006-04-19  Robert Schuster  <robertschuster@fsfe.org>
22507
22508         * javax/swing/text/DefaultCaret.java:
22509         (DefaultCaret.Bypass.setDot): Call DefaultCaret.setDotImpl
22510         instead of DefaultCaret.setDot.
22511
22512 2006-04-19  Roman Kennke  <kennke@aicas.com>
22513
22514         * native/jni/java-net/local.c
22515         (local_read): Handle EINTR correctly.
22516         (local_write): Likewise.
22517
22518 2006-04-19  Riccardo Mottola  <multix@gmail.com>
22519
22520         PR classpath/27062, PR classpath/25650:
22521         * native/fdlibm/ieeefp.h: Check for _POWER and _IBMR2.
22522
22523 2006-04-19  Tom Tromey  <tromey@redhat.com>
22524
22525         * java/text/SimpleDateFormat.java (formatWithAttribute): Take absolute
22526         value of 'pureMinutes'.  PR classpath/27189.
22527
22528 2006-04-19  Olivier Jolly  <olivier.jolly@pcedev.com>
22529
22530    * vm/reference/java/lang/VMClassLoader.java (getBootPackages): Loads
22531    boot packages list from the META-INF/INDEX.LIST file if it exists. 
22532
22533 2006-04-19  Raif S. Naffah  <raif@swiftdsl.com.au>
22534
22535         Suggested by Stephen White <stephen-gnu-crypto@randomstuff.org.uk>
22536         * gnu/javax/crypto/prng/IPBE.java: Updated documentation.
22537         (ITERATION_COUNT): Removed modifiers.
22538         (PASSWORD): Likewise.
22539         (SALT): Likewise.
22540         (PASSWORD_ENCODING): New property.
22541         (DEFAULT_PASSWORD_ENCODING): New constant.
22542         * gnu/javax/crypto/prng/PBKDF2.java (setup): Check for MAC's raw key
22543         material (bytes) before a password (chars).
22544
22545 2006-04-19  David Gilbert  <david.gilbert@object-refinery.com>
22546
22547         * javax/swing/JMenu.java
22548         (getAccessibleChildrenCount): Marked as stub,
22549         (getAccessibleChild): Likewise,
22550         (getAccessibleSelection): Likewise,
22551         (getAccessibleSelection(int)): Likewise,
22552         (isAccessibleChildSelected): Likewise,
22553         (getAccessibleSelectionCount): Likewise,
22554         (addAccessibleSelection): Likewise,
22555         (removeAccessibleSelection): Likewise,
22556         (clearAccessibleSelection): Likewise,
22557         (selectAllAccessibleSelection): Likewise.
22558
22559 2006-04-19  David Gilbert  <david.gilbert@object-refinery.com>
22560
22561         * javax/swing/JSplitPane.java
22562         (getAccessibleContext): Added API docs,
22563         (paramString): Reimplemented,
22564         (setOrientation): Updated API docs,
22565         (setResizeWeight): Added argument checking and event notification.
22566
22567 2006-04-18  Casey Marshall  <csm@gnu.org>
22568
22569         Fixes PR classpath/25673        
22570         * java/security/KeyStore.java (getDefaultType): return "gkr" if no
22571         property is set. Update JavaDoc to reflect this.
22572
22573 2006-04-18  Lillian Angel  <langel@redhat.com>
22574
22575         * gnu/xml/dom/DomDocument.java
22576         (setCheckingCharacters): New function used to set
22577         checkingCharacters flag.
22578         * gnu/xml/dom/html2/DomHTMLParser.java
22579         (parseDocument): Added call to set checkingCharacters flag
22580         to false.
22581
22582 2006-04-18  Lillian Angel  <langel@redhat.com>
22583
22584         * gnu/xml/dom/DomDocument.java
22585         (checkNCName): Reverted last patch. Added check for colon at
22586         last position back in.
22587
22588 2006-04-18  Robert Schuster  <robertschuster@fsfe.org>
22589
22590         * examples/gnu/classpath/examples/swing/NavigationFilterDemo.java:
22591         New file.
22592         * examples/gnu/classpath/examples/swing/Demo.java:
22593         (mkMenuBar): Added NavigationFilter demo.
22594
22595 2006-04-18  David Gilbert  <david.gilbert@object-refinery.com>
22596
22597         * javax/swing/JSeparator.java: Updated API docs all over, plus
22598         (setOrientation): Fire PropertyChangeEvent,
22599         (paramString): Reimplemented.
22600
22601 2006-04-18  Robert Schuster  <robertschuster@fsfe.org>
22602
22603         * javax/swing/plaf/basic/BasicTextUI.java:
22604         (getNextVisualPositionFrom): Implemented.
22605
22606 2006-04-18  David Gilbert  <david.gilbert@object-refinery.com>
22607
22608         * javax/swing/JPanel.java: Updated API docs all over, plus
22609         (JPanel(LayoutManager, boolean)): Pass on null layout, set 
22610         double-buffer flag.
22611
22612 2006-04-18  Robert Schuster  <robertschuster@fsfe.org>
22613
22614         * examples/gnu/classpath/examples/swing/DocumentFilterDemo.java:
22615         New file.
22616         * examples/gnu/classpath/examples/swing/Demo.java:
22617         (mkMenuBar): Added DocumenFilter demo.
22618
22619 2006-04-18  Tom Tromey  <tromey@redhat.com>
22620
22621         * doc/www.gnu.org/include/layout.wml: Add FMJ.
22622
22623 2006-04-18  Mark Wielaard  <mark@klomp.org>
22624
22625         Reported by John Sullivan (johns@fsf.org)
22626         * doc/www.gnu.org/stories.wml: Update JikesRVM location.
22627
22628 2006-04-18  David Gilbert  <david.gilbert@object-refinery.com>
22629
22630         * javax/swing/JInternalFrame.java
22631         (JDesktopIcon.getAccessibleContext): Added API docs,
22632         (getDefaultCloseOperation): Likewise,
22633         (paramString): Added 'title' attribute,
22634         (setDefaultCloseOperation): Added API docs.
22635
22636 2006-04-18  David Gilbert  <david.gilbert@object-refinery.com>
22637
22638         * javax/swing/JSlider.java
22639         (paramString): Reimplemented.
22640
22641 2006-04-18  David Gilbert  <david.gilbert@object-refinery.com>
22642
22643         * javax/swing/JComboBox.java
22644         (paramString): Reimplemented,
22645         (getAccessibleContext): Added API docs,
22646         (AccessibleJComboBox.getAccessibleRole): Likewise.
22647
22648 2006-04-18  Roman Kennke  <kennke@aicas.com>
22649
22650         * javax/swing/RepaintManager.java
22651         (dirtyComponentsWork): New field.
22652         (ComponentComparator): Use dirtyComponentsWork instead of
22653         dirtyComponents.
22654         (RepaintManager): Initialize new field.
22655         (paintDirtyRegions): Swap dirtyComponents with dirtyComponentsWork
22656         and work on the copy.
22657
22658 2006-04-18  Roman Kennke  <kennke@aicas.com>
22659
22660         * gnu/java/awt/peer/swing/SwingComponentPeer.java
22661         (setBounds): Call reshape().
22662         * gnu/java/awt/peer/swing/SwingContainerPeer.java
22663         (SwingContainerPeer): Changed argument to be a Component
22664         instead a Container.
22665         (getInsets): Call insets().
22666         (handleMouseEvent): Added null check to avoid NPE.
22667         (handleMouseMotionEvent): Added null check to avoid NPE.
22668         
22669 2006-04-18  Roman Kennke  <kennke@aicas.com>
22670
22671         PR 27185
22672         * javax/swing/JComponent.java
22673         (paintChildrenWithOverlap): When one child is not opaque, propagate
22674         the dirty rectangles to the next child.
22675         (paintChildrenOptimized): Removed unnecessary 'optimization'.
22676         This actually didn't work right and probably gained nothing.
22677
22678 2006-04-18  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
22679
22680         * javax/swing/JTable.java (getCallRect): Do not cache rectangles.
22681         (moveToCellBeingEdited): Do not clone the rectangle here.
22682
22683 2006-04-18  David Gilbert  <david.gilbert@object-refinery.com>
22684
22685         * javax/swing/plaf/basic/BasicSliderUI.java
22686         (getActionMap): Fixed lookup key,
22687         (createActionMap): Modified actions to fetch slider/ui from the event
22688         source.
22689
22690 2006-04-17  Andrew John Hughes  <gnu_andrew@member.fsf.org>
22691
22692         * java/lang/Enum.java: Documented.
22693
22694 2006-04-17  Andrew John Hughes  <gnu_andrew@member.fsf.org>
22695
22696         * gnu/java/lang/InstrumentationImpl.java:
22697         Moved from java.lang.
22698         * java/lang/InstrumentationImpl.java:
22699         Removed.
22700         * vm/reference/gnu/java/lang/VMInstrumentationImpl.java:
22701         Moved from java.lang.
22702         * vm/reference/java/lang/VMClassLoader.java:
22703         Corrected reference to InstrumentationImpl.
22704         * vm/reference/java/lang/VMInstrumentationImpl.java:
22705         Removed.
22706         
22707 2006-04-17  Andrew John Hughes  <gnu_andrew@member.fsf.org>
22708
22709         * java/lang/annotation/Annotation.java:
22710         Documented.
22711         
22712 2006-04-17  David Gilbert  <david.gilbert@object-refinery.com>
22713
22714         * javax/swing/JToolBar.java
22715         (AccessibleJToolBar.AccessibleJToolBar()): Updated API docs,
22716         (AccessibleJToolBar.getAccessibleStateSet): Implemented,
22717         (AccessibleJToolBar.getAccessibleRole): Updated API docs,
22718         (getAccessibleContext): Likewise.
22719
22720 2006-04-17  Dalibor Topic  <robilad@kaffe.org>
22721
22722         * configure.ac:
22723         Added CLASSPATH_CONVENIENCE substitution for convenience library LDFLAGS.
22724
22725         * native/fdlibm/Makefile.am,
22726         native/jni/classpath/Makefile.am:
22727         Don't use -module and -version-info for convenience libraries LDFLAGS.
22728         Fixes libtool warnings.
22729
22730 2006-04-17  David Gilbert  <david.gilbert@object-refinery.com>
22731
22732         * javax/swing/plaf/basic/BasicComboBoxUI.java:
22733         (installKeyboardActions): Marked as stub,
22734         (uninstallKeyboardActions): Likewise,
22735         * javax/swing/plaf/basic/BasicComboPopup.java:
22736         (installKeyboardActions): Marked as stub,
22737         (uninstallKeyboardActions): Likewise,
22738         * javax/swing/plaf/basic/BasicInternalFrameUI.java:
22739         (installKeyboardActions): Marked as stub,
22740         (uninstallKeyboardActions): Likewise,
22741         * javax/swing/plaf/basic/BasicLabelUI.java:
22742         (installKeyboardActions): Marked as stub,
22743         (uninstallKeyboardActions): Likewise,
22744         * javax/swing/plaf/basic/BasicListUI.java:
22745         (installKeyboardActions): Marked as stub,
22746         (uninstallKeyboardActions): Likewise,
22747         * javax/swing/plaf/basic/BasicMenuBarUI.java:
22748         (installKeyboardActions): Marked as stub,
22749         (uninstallKeyboardActions): Likewise,
22750         * javax/swing/plaf/basic/BasicMenuUI.java:
22751         (installKeyboardActions): Marked as stub,
22752         (uninstallKeyboardActions): Likewise,
22753         * javax/swing/plaf/basic/BasicOptionPaneUI.java:
22754         (installKeyboardActions): Marked as stub,
22755         (uninstallKeyboardActions): Likewise,
22756         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
22757         (installKeyboardActions): Marked as stub,
22758         (uninstallKeyboardActions): Likewise,
22759         * javax/swing/plaf/basic/BasicScrollBarUI.java:
22760         (installKeyboardActions): Marked as stub,
22761         (uninstallKeyboardActions): Likewise,
22762         * javax/swing/plaf/basic/BasicScrollPaneUI.java:
22763         (installKeyboardActions): Marked as stub,
22764         (uninstallKeyboardActions): Likewise,
22765         * javax/swing/plaf/basic/BasicSplitPaneUI.java:
22766         (installKeyboardActions): Marked as stub,
22767         (uninstallKeyboardActions): Likewise,
22768         * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
22769         (installKeyboardActions): Marked as stub,
22770         (uninstallKeyboardActions): Likewise,
22771         * javax/swing/plaf/basic/BasicTableHeaderUI.java:
22772         (installKeyboardActions): Marked as stub,
22773         (uninstallKeyboardActions): Likewise,
22774         * javax/swing/plaf/basic/BasicTableUI.java:
22775         (installKeyboardActions): Marked as stub,
22776         (uninstallKeyboardActions): Likewise,
22777         * javax/swing/plaf/basic/BasicTextUI.java:
22778         (installKeyboardActions): Marked as stub,
22779         (uninstallKeyboardActions): Likewise,
22780         * javax/swing/plaf/basic/BasicToolBarUI.java:
22781         (installKeyboardActions): Marked as stub,
22782         (uninstallKeyboardActions): Likewise.   
22783
22784 2006-04-17  David Gilbert  <david.gilbert@object-refinery.com>
22785
22786         * javax/swing/plaf/basic/BasicSliderUI.java
22787         (installKeyboardActions): Implemented,
22788         (uninstallKeyboardActions): Implemented,
22789         (scrollByBlock): Accept any value for direction,
22790         (scrollByUnit): Likewise,
22791         (getInputMap): New method,
22792         (getActionMap): New method,
22793         (createActionMap): New method.
22794
22795
22796 2006-04-16  Andrew John Hughes  <gnu_andrew@member.fsf.org>
22797         
22798         * doc/vmintegration.texinfo:
22799         Fix sectioning.
22800
22801 2006-04-16  Tom Tromey  <tromey@redhat.com>
22802
22803         * native/jni/java-net/Makefile.am (AM_CFLAGS): Removed --save-temps.
22804
22805 2006-04-16  Andrew John Hughes  <gnu_andrew@member.fsf.org>
22806
22807         * NEWS:
22808         Mention generics additions to the VM interface.
22809         * doc/vmintegration.texinfo:
22810         Added information on VMClass 1.5 additions and
22811         VMSecureRandom.
22812         
22813 2006-04-16  Casey Marshall  <csm@gnu.org>
22814
22815         * NEWS: add an entry mentioning local socket support.
22816
22817 2006-04-16  Casey Marshall  <csm@gnu.org>
22818
22819         * configure.ac (--enable-local-sockets): new enable argument.
22820         (ENABLE_LOCAL_SOCKETS): new define.
22821         * native/jni/java-net/Makefile.am (local_sources): new variable.
22822         (lib_javanet_la_SOURCES): append `local_sources.'
22823         * native/jni/java-net/gnu_java_net_local_LocalSocketImpl.c,
22824         * native/jni/java-net/local.c,
22825         * native/jni/java-net/local.h,
22826         * include/gnu_java_net_local_LocalSocketImpl.h,
22827         * gnu/java/net/local/LocalServerSocket.java,
22828         * gnu/java/net/local/LocalSocket.java,
22829         * gnu/java/net/local/LocalSocketAddress.java,
22830         * gnu/java/net/local/LocalSocketImpl.java: new files.
22831
22832 2006-04-15  Andrew John Hughes  <gnu_andrew@member.fsf.org>
22833
22834         * javax/accessibility/AccessibleAction.java:
22835         (DECREMENT): Added field.
22836         (INCREMENT): Likewise.
22837         (TOGGLE_EXPAND): Likewise.
22838         * javax/accessibility/AccessibleRole.java:
22839         (EDITBAR): Added field.
22840         (FOOTER): Likewise.
22841         (HEADER): Likewise.
22842         (PARAGRAPH): Likewise.
22843         (PROGRESS_MONITOR): Likewise.
22844         (RULER): Likewise.
22845         * javax/accessibility/AccessibleState.java:
22846         (INDETERMINATE): Added field.
22847         (MANAGES_DESCENDANTS): Likewise.
22848         (TRUNCATED): Likewise.
22849
22850 2006-04-14  Tom Tromey  <tromey@redhat.com>
22851
22852         * javax/swing/tree/DefaultTreeSelectionModel.java (getListeners):
22853         Genericized.
22854         * javax/swing/tree/AbstractLayoutCache.java (getVisiblePathsFrom):
22855         Genericized.
22856
22857 2006-04-14  Robert Schuster  <robertschuster@fsfe.org>
22858
22859         * javax/swing/text/DefaultCaret.java:
22860         (getBypass): New method.
22861         (moveDot): Rewritten.
22862         (moveDotImpl): New method.
22863         (setDot): Rewritten.
22864         (setDotImpl): New method.
22865         (DefaultCaret.Bypass): New class.
22866
22867 2006-04-14  Robert Schuster  <robertschuster@fsfe.org>
22868
22869         * javax/swing/text/AbstractDocument.java:
22870         (getBypass): New method.
22871         (insertString): Rewritten.
22872         (remove): Rewritten.
22873         (replace): Rewritten.
22874         (insertStringImpl): New method.
22875         (removeImpl): New method.
22876         (replaceImpl): New method.
22877         (AbstractDocument.Bypass): New class.
22878
22879 2006-04-14  Casey Marshall  <csm@gnu.org>
22880
22881         Fixes PR classpath/24642
22882         * NEWS: add note about SecureRandom changes, and addition of
22883         VMSecureRandom.
22884         * java/security/SecureRandom.java (isSeeded): new field.
22885         (setSeed, setSeed): set `isSeeded' to `true.'
22886         (nextBytes): seed this instance if `isSeeded' is false.
22887         (getSeed): call `generateSeed.'
22888         (SECURERANDOM_SOURCE, JAVA_SECURITY_EGD, logger): new constants.
22889         (generateSeed, generateSeed): new methods.
22890         * vm/reference/java/security/VMSecureRandom.java: new file.
22891
22892 2006-04-14  Robert Schuster  <robertschuster@fsfe.org>
22893
22894         * javax/swing/text/FieldView.java:
22895         (paint): Apply clipping rectangle of the allocation area
22896         before painting the text.
22897         * javax/swing/text/DefaultHighlighter.java:
22898         (DefaultHighlighter.DefaultHighlightPainter): Use SwingUtilities to
22899         compute union and intersection, calculate intersection with allocation
22900         area before painting, adjust x and width when painting multiple lines
22901         by the range of the allocation area.
22902
22903 2006-04-14  Robert Schuster  <robertschuster@fsfe.org>
22904
22905         * javax/swing/text/DefaultHighlighter.java:
22906         (paintLayeredHighlights): Marked as stub.
22907
22908 2006-04-14  Robert Schuster  <robertschuster@fsfe.org>
22909
22910         * javax/swing/plaf/basic/BasicTextFieldUI.java:
22911         (propertyChanged): Added note, change color only if current background
22912         is a ColorUIResource instance.
22913
22914 2006-04-14  Tom Tromey  <tromey@redhat.com>
22915
22916         * java/beans/beancontext/BeanContextSupport.java (hasNext): No longer
22917         a stub.
22918         (next): Likewise.
22919
22920 2006-04-14  Tom Tromey  <tromey@redhat.com>
22921
22922         * javax/swing/JComboBox.java (AccessibleJComboBox): Now public.
22923
22924 2006-04-14  Mark Wielaard  <mark@klomp.org>
22925
22926         * java/lang/Thread.java (getUncaughtExceptionHandler): Return
22927         thread group when exceptionHandler isn't set.
22928         * vm/reference/java/lang/VMThread.java (run): Use result of
22929         thread.getUncaughtExceptionHandler directly.
22930
22931 2006-04-14  David Gilbert  <david.gilbert@object-refinery.com>
22932
22933         * javax/swing/JSplitPane.java
22934         (AccessibleJSplitPane.getAccessibleStateSet): Implemented,
22935         (AccessibleJSplitPane.getAccessibleRole): Implemented,
22936         (AccessibleJSplitPane.getAccessibleValue): Implemented,
22937         (AccessibleJSplitPane.getCurrentAccessibleValue): Implemented,
22938         (AccessibleJSplitPane.setCurrentAccessibleValue): Implemented,
22939         (AccessibleJSplitPane.getMinimumAccessibleValue): Implemented,
22940         (AccessibleJSplitPane.getMaximumAccessibleValue): Implemented.
22941
22942 2006-04-10  Tom Tromey  <tromey@redhat.com>
22943
22944         * javax/imageio/metadata/IIOMetadataFormatImpl.java (addObjectValue):
22945         Fixed parameter bounds.
22946
22947 2006-04-13  Andrew John Hughes  <gnu_andrew@member.fsf.org>
22948         
22949         * gnu/javax/crypto/assembly/Assembly.java,
22950         * gnu/javax/crypto/assembly/Cascade.java,
22951         * gnu/javax/crypto/assembly/CascadeStage.java,
22952         * gnu/javax/crypto/assembly/CascadeTransformer.java,
22953         * gnu/javax/crypto/assembly/Direction.java,
22954         * gnu/javax/crypto/assembly/LoopbackTransformer.java,
22955         * gnu/javax/crypto/assembly/ModeStage.java,
22956         * gnu/javax/crypto/assembly/Operation.java,
22957         * gnu/javax/crypto/assembly/PaddingTransformer.java,
22958         * gnu/javax/crypto/assembly/Stage.java,
22959         * gnu/javax/crypto/assembly/Transformer.java,
22960         * gnu/javax/crypto/cipher/Square.java,
22961         * gnu/javax/crypto/jce/cipher/AESSpi.java,
22962         * gnu/javax/crypto/jce/cipher/ARCFourSpi.java,
22963         * gnu/javax/crypto/jce/cipher/AnubisSpi.java,
22964         * gnu/javax/crypto/jce/cipher/BlowfishSpi.java,
22965         * gnu/javax/crypto/jce/cipher/CipherAdapter.java,
22966         * gnu/javax/crypto/jce/cipher/DESSpi.java,
22967         * gnu/javax/crypto/jce/cipher/KhazadSpi.java,
22968         * gnu/javax/crypto/jce/cipher/NullCipherSpi.java,
22969         * gnu/javax/crypto/jce/cipher/PBES2.java,
22970         * gnu/javax/crypto/jce/cipher/RijndaelSpi.java,
22971         * gnu/javax/crypto/jce/cipher/SerpentSpi.java,
22972         * gnu/javax/crypto/jce/cipher/SquareSpi.java,
22973         * gnu/javax/crypto/jce/cipher/TripleDESSpi.java,
22974         * gnu/javax/crypto/jce/cipher/TwofishSpi.java,
22975         * gnu/javax/crypto/jce/mac/HMacMD2Spi.java,
22976         * gnu/javax/crypto/jce/mac/HMacMD4Spi.java,
22977         * gnu/javax/crypto/jce/mac/HMacMD5Spi.java,
22978         * gnu/javax/crypto/jce/mac/HMacRipeMD128Spi.java,
22979         * gnu/javax/crypto/jce/mac/HMacRipeMD160Spi.java,
22980         * gnu/javax/crypto/jce/mac/HMacSHA160Spi.java,
22981         * gnu/javax/crypto/jce/mac/HMacSHA256Spi.java,
22982         * gnu/javax/crypto/jce/mac/HMacSHA384Spi.java,
22983         * gnu/javax/crypto/jce/mac/HMacSHA512Spi.java,
22984         * gnu/javax/crypto/jce/mac/HMacTigerSpi.java,
22985         * gnu/javax/crypto/jce/mac/HMacWhirlpoolSpi.java,
22986         * gnu/javax/crypto/jce/mac/MacAdapter.java,
22987         * gnu/javax/crypto/jce/mac/TMMH16Spi.java,
22988         * gnu/javax/crypto/jce/mac/UHash32Spi.java,
22989         * gnu/javax/crypto/jce/mac/UMac32Spi.java,
22990         * gnu/javax/crypto/key/dh/DiffieHellmanSender.java,
22991         * gnu/javax/crypto/key/srp6/SRP6TLSServer.java,
22992         * gnu/javax/crypto/keyring/PrivateKeyEntry.java,
22993         * gnu/javax/crypto/mode/IAuthenticatedMode.java,
22994         * gnu/javax/crypto/pad/WrongPaddingException.java,
22995         * gnu/javax/crypto/prng/ICMGenerator.java,
22996         * gnu/javax/crypto/prng/IPBE.java,
22997         * gnu/javax/crypto/prng/PBKDF2.java,
22998         * gnu/javax/crypto/sasl/ConfidentialityException.java,
22999         * gnu/javax/crypto/sasl/IllegalMechanismStateException.java,
23000         * gnu/javax/crypto/sasl/srp/IALG.java,
23001         * gnu/javax/crypto/sasl/srp/SRPServer.java:
23002         Remove CVS revision tags.
23003
23004 2006-04-13  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
23005
23006         * javax/swing/plaf/basic/BasicTreeUI.java (getPreferredSize): 
23007         Removed debugging code.
23008
23009 2006-04-13  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
23010  
23011         * javax/swing/JTree.java (getPreferredSize): Return the
23012         cloned instance.
23013         * javax/swing/ViewportLayout.java (layoutContainer):
23014         Do not manage the view size and location if the view is
23015         in the scroll pane. Also manage size and location for
23016         Scrollable, if it is not in the scroll pane.
23017         * javax/swing/plaf/basic/BasicTreeUI.java,
23018         * javax/swing/tree/FixedHeightLayoutCache.java,
23019         * javax/swing/tree/VariableHeightLayoutCache.java: Rewritten.
23020         * gnu/javax/swing/tree/GnuPath.java: New file.
23021
23022 2006-04-13  David Gilbert  <david.gilbert@object-refinery.com>
23023
23024         * javax/swing/JToolBar.java
23025         (AccessibleJToolBar.getAccessibleStateSet): Marked as stub.
23026
23027 2006-04-13  Robert Schuster  <robertschuster@fsfe.org>
23028
23029         * examples/gnu/classpath/examples/swing/TextAreaDemo.java:
23030         (createCustomColoredPanel): Set background color as demo intends,
23031         changed custom selection color to red.
23032         * examples/gnu/classpath/examples/swing/TextFieldDemo.java:
23033         Replaced various single variables with a Compound instance, added
23034         custom highlighter demo.
23035         (TextFieldDemo.DemoHighlightPainter): New class (taken from
23036         TextAreaDemo).
23037         (TextFieldDemo.Compound): New class.
23038         (createTextFieldCompound): New method.
23039         (createLeftAlignedPanel): Rewritten.
23040         (createRightAlignedPanel): Rewritten.
23041         (createCenteredPanel): Rewritten.
23042         (createCustomColoredPanel): Removed.
23043         (createCustomColoredPanel1): New method.
23044         (createCustomColoredPanel2): New method.
23045         (createCustomBordersPanel): New method.
23046         (createMiscPanel): Rewritten.
23047         (actionPerformed): Rewritten.
23048         (createContent): Add panels of new compounds to main panel, put
23049         main panel in a JScrollPane.
23050         * examples/gnu/classpath/examples/swing/Demo.java:
23051         (Demo): Put desktop in a scrollpane.
23052         (mkMenuBar): Check availability of MetalLookAndFeel.getCurrentTheme()
23053         method via reflection.
23054
23055 2006-04-13  David Gilbert  <david.gilbert@object-refinery.com>
23056
23057         * javax/swing/plaf/metal/MetalDesktopIconUI.java
23058         (createUI): Return new instance rather than shared instance.
23059
23060 2006-04-13  Robert Schuster  <robertschuster@fsfe.org>
23061
23062         * javax/swing/text/FieldView.java:
23063         (checkContainer): Call updateVisibility() at the end.
23064
23065 2006-04-13  Robert Schuster  <robertschuster@fsfe.org>
23066
23067         * java/awt/event/MouseEvent.java:
23068         (paramString): Add value of 'consumed' variable in string.
23069
23070 2006-04-13  Robert Schuster  <robertschuster@fsfe.org>
23071
23072         PR 26967
23073         * javax/swing/JTextField.java: Removed scrollOffset variable.
23074         (JTextField): Moved up initialization of horizontalVisibility field.
23075         (getScrollOffset): Implemented.
23076         (setScrollOffset): Implemented.
23077         (getHorizonztalVisibility): Removed note.
23078         (scrollRectToVisible): New method.
23079         * javax/swing/text/FieldView.java: Added cachedSpan variable.
23080         (checkContainer): New method.
23081         (updateVisibility): New method.
23082         (calculateHorizontalSpan): New method.
23083         (adjustAllocation): Removed unneeded local variables, added code
23084         to handle scrolling.
23085         (getPreferredSpan): Use new method calculateHorizontalSpan,
23086         avoid calculation by returning cached value cachedSpan.
23087         (paint): Added check whether the hosted component is a JTextField.
23088         (insertUpdate): Invalidate cached span value, update visibility
23089         if neccessary.
23090         (removeUpdate): Dito.
23091         (changeUpdate): Dito.
23092
23093 2006-04-13  David Gilbert  <david.gilbert@object-refinery.com>
23094
23095         * javax/swing/JInternalFrame.java
23096         (setTitle): Set old value to 'this.title', not 'title'.
23097
23098 2006-04-13  David Gilbert  <david.gilbert@object-refinery.com>
23099
23100         * javax/swing/JInternalFrame.java
23101         (AccessibleJInternalFrame.getAccessibleName): Implemented,
23102         (AccessibleJInternalFrame.getAccessibleRole): Implemented,
23103         (AccessibleJInternalFrame.getAccessibleValue): Implemented,
23104         (AccessibleJInternalFrame.getCurrentAccessibleValue): Implemented,
23105         (AccessibleJInternalFrame.getMaximumAccessibleValue): Implemented,
23106         (AccessibleJInternalFrame.getMinimumAccessibleValue): Implemented,
23107         (AccessibleJInternalFrame.setCurrentAccessibleValue): Implemented,
23108         (JDesktopIcon.AccessibleJDesktopIcon.getAccessibleRole): Implemented,
23109         (JDesktopIcon.AccessibleJDesktopIcon.getAccessibleValue): Implemented,
23110         (JDesktopIcon.AccessibleJDesktopIcon.getCurrentAccessibleValue): 
23111         Implemented,
23112         (JDesktopIcon.AccessibleJDesktopIcon.getMaximumAccessibleValue): 
23113         Implemented,
23114         (JDesktopIcon.AccessibleJDesktopIcon.getMinimumAccessibleValue): 
23115         Implemented,
23116         (JDesktopIcon.AccessibleJDesktopIcon.setCurrentAccessibleValue): 
23117         Implemented,
23118         (JInternalFrame()): Use "" for default title,
23119         (getAccessibleContext): Updated API docs,
23120         (getDesktopIcon): Likewise,
23121         (getLayer): Check for layer in client properties, and return 
23122         DEFAULT_LAYER if no setting is found,
23123         (getTitle): Updated API docs,
23124         (setDesktopIcon): Fire property change event.
23125
23126 2006-04-13  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
23127
23128         * javax/swing/ScrollPaneLayout.java (layoutContainer):
23129         Mind that the presence of one scroll bar may cause the
23130         need for another.
23131
23132 2006-04-12  Ito Kazumitsu  <kaz@maczuka.gcd.org>
23133
23134         * gnu/regexp/REToken.java(unicodeAware): New field,
23135         (toLowerCase, toUpperCase): New methods.
23136         * gnu/regexp/RETokenBackRef.java, gnu/regexp/RETokenChar.java,
23137         gnu/regexp/RETokenNamedProperty.java, gnu/regexp/RETokenRange.java:
23138         Use toLowerCase and toUpperCase defined in REToken instead of
23139         those defined in java.lang.Character.
23140         * gnu/regexp/gnu/regexp/RE.java(REG_ICASE_USASCII): New flag.
23141         (initialize): Sets unicodeAware of the generated REToken to false if
23142         REG_ICASE_USASCII is set.
23143         * gnu/regexp/RETokenChar.java(constructor): Don't convert the character
23144         to lower case and keep the original value.
23145         (matchOneString): Use the new method charEquals to compare characters.
23146         (charEquals): New method to compare characters.
23147         * java/util/regex/Pattern.java: Sets the flag REG_ICASE_USASCII to true.
23148
23149 2006-04-12  David Gilbert  <david.gilbert@object-refinery.com>
23150
23151         * javax/swing/event/InternalFrameEvent.java:
23152         (paramString): Implemented,
23153         updated API docs all over.
23154         
23155 2006-04-12  Casey Marshall  <csm@gnu.org>
23156
23157         * gnu/javax/crypto/prng/Fortuna.java (setup): call `fillBlock.'
23158         (Generator.setup): call `fillBlock.'
23159
23160 2006-04-12  Casey Marshall  <csm@gnu.org>
23161
23162         Fixes PR classpath/24481.
23163         * gnu/java/security/jce/prng/SecureRandomAdapter.java (<init>):
23164         initialize the adaptee.
23165         (setSeed): call `addRandomBytes;' don't re-initialize the adaptee.
23166         * gnu/java/security/prng/MDGenerator.java (addRandomByte,
23167         addRandomBytes): new methods.
23168
23169 2006-04-12  Tom Tromey  <tromey@redhat.com>
23170
23171         * java/io/DataOutputStream.java (writeUTF): Correctly handle zero
23172         length strings.
23173
23174 2006-04-12  Lillian Angel  <langel@redhat.com>
23175
23176         * gnu/xml/dom/DomDocument.java
23177         (checkNCName): Removed unneeded part of check.
23178         * gnu/xml/dom/DomNode.java
23179         (dispatchEvent): Added code to grow ancestors array
23180         if needed. Changed checks to use depth of node instead.
23181         Fixes an infinite loop and segmentation fault.
23182         * gnu/xml/dom/html2/DomHTMLParser.java
23183         (handleEndTag): No need to use/make a copy of the node.
23184         Causes an infinite loop.
23185
23186 2006-04-12  Tom Tromey  <tromey@redhat.com>
23187
23188         PR classpath/27131:
23189         * java/util/BitSet.java (get): Early return if to==from.
23190
23191 2006-04-12  Mark Wielaard  <mark@klomp.org>
23192
23193         * java/security/SecureRandom.java (algorithm): New private field.
23194         (SecureRandom): Initialize algorithm.
23195         (SecureRandom(SecureRandomSpi,Provider,String)): New private
23196         constructor.
23197         (getInstance): Call 3 argument constructor.
23198         (getAlgorithm): New method.
23199
23200 2006-04-12  Mark Wielaard  <mark@klomp.org>
23201
23202         Port UncaughtExceptionHandler support from generics branch.
23203         * NEWS: Document Thread.UncaughtExceptionHandler VMThread change.
23204
23205 2006-04-12  Andrew John Hughes  <gnu_andrew@member.fsf.org>
23206
23207         * java/lang/Thread.java:
23208         (setUncaughtExceptionHandler(UncaughtExceptionHandler):
23209         Added docs and security check.
23210         (getUncaughtExceptionHandler()): Documented.
23211         (setDefaultUncaughtExceptionHandler(UncaughtExceptionHandler):
23212         Added docs and security check.
23213         (getDefaultUncaughtExceptionHandler()): Documented.
23214         (getId()): Documented.
23215
23216 2006-04-12  Tom Tromey  <tromey@redhat.com>
23217
23218         * vm/reference/java/lang/VMThread.java (run): Use thread's
23219         uncaught handler.
23220         * java/lang/Thread.java (defaultHandler): New field.
23221         (setDefaultUncaughtExceptionHandler,
23222         getDefaultUncaughtExceptionHandler, setUncaughtExceptionHandler,
23223         getUncaughtExceptionHandler): New methods.
23224         * java/lang/ThreadGroup.java (ThreadGroup): Implements
23225         UncaughtExceptionHandler.
23226         (uncaughtException): Use getDefaultUncaughtExceptionHandler.
23227
23228 2006-04-11  Bryce McKinlay  <mckinlay@redhat.com>
23229
23230         * java/io/DataOutputStream.java (writeUTF): Re-use fixed length byte
23231         buffer. Loop only once to determine Utf8 length when possible. Make
23232         the inner loop bounded by buf.length.
23233         (getUTFlength): New private method.
23234         (buf): New private field.
23235
23236 2006-04-11  Lillian Angel  <langel@redhat.com>
23237
23238         * gnu/xml/dom/DomNodeIterator.java
23239         (nextNode): Moved line of code to avoid an infinite loop.
23240         * gnu/xml/dom/html2/DomHTMLAppletElement.java
23241         (getCls): New function.
23242         (setCls): Likewise.
23243         (getSrc): Likewise.
23244         (setSrc): Likewise.
23245         * gnu/xml/dom/html2/DomHTMLDocument.java:
23246         Added DomHTMLEmbedElement to map.
23247         (getApplets): Added node name, 'embed'.
23248         * gnu/xml/dom/html2/DomHTMLEmbedElement.java:
23249         New class.
23250         * gnu/xml/dom/html2/DomHTMLObjectElement.java
23251         (getJavaCode): New function.
23252         (setJavaCode): Likewise.
23253         (getObject): Likewise.
23254         (setObject): Likewise.
23255         (getJavaObject): Likewise.
23256         (setJavaObject): Likewise.
23257         (getJavaArchive): Likewise.
23258         (setJavaArchive): Likewise.
23259         (getJavaCodeBase): Likewise.
23260         (setJavaCodeBase): Likewise.
23261         (getJavaType): Likewise.
23262         (setJavaType): Likewise.
23263         (setMayscript): Likewise.
23264         (getMayscript): Likewise.
23265         (setScriptable): Likewise.
23266         (getScriptable): Likewise.
23267         * gnu/xml/dom/html2/DomHTMLParser.java
23268         (parseDocument): Should not check for well formedness
23269         when parsing an html document.
23270         * java/awt/Window.java
23271         (dispatchEvent): Added check to avoid NPE.
23272
23273 2006-04-10  Tom Tromey  <tromey@redhat.com>
23274
23275         * javax/accessibility/AccessibleStreamable.java (getStream): Fixed
23276         name.
23277         * javax/accessibility/AccessibleRelation.java (EMBEDS): Fixed value.
23278         (SUBWINDOW_OF, SUBWINDOW_OF_PROPERTY): Likewise.
23279
23280 2006-04-10  Robert Schuster  <robertschuster@fsfe.org>
23281
23282         * javax/swing/plaf/basic/BasicTextUI.java:
23283         (getNextVisualPositionFrom): Marked as stub.
23284
23285 2006-04-10  Roman Kennke  <kennke@aicas.com>
23286
23287         * javax/swing/plaf/basic/BasicLookAndFeel.java
23288         (initSystemColorDefaults): Changed to use loadSystemColorDefaults
23289         and create the defaults as strings constants.
23290         (loadSystemColors): Implemented stubbed method.
23291
23292 2006-04-10  Tom Tromey  <tromey@redhat.com>
23293
23294         * .settings/org.eclipse.core.resources.prefs: Set encoding for
23295         ChangeLog.
23296
23297 2006-04-10  Tom Tromey  <tromey@redhat.com>
23298
23299         * java/io/CharArrayWriter.java (append): Javadoc fix.
23300         (append): Likewise.
23301
23302 2006-04-10  Tom Tromey  <tromey@redhat.com>
23303
23304         * javax/accessibility/AccessibleTextSequence.java: New file.
23305         * javax/accessibility/AccessibleRelation.java (CHILD_NODE_OF): New
23306         field.
23307         (CHILD_NODE_OF_PROPERTY, EMBEDDED_BY, EMBEDDED_BY_PROPERTY, EMBEDS,
23308         EMBEDS_PROPERTY, FLOWS_FROM, FLOWS_FROM_PROPERTY, FLOWS_TO,
23309         FLOWS_TO_PROPERTY, PARENT_WINDOW_OF, PARENT_WINDOW_OF_PROPERTY,
23310         SUBWINDOW_OF, SUBWINDOW_OF_PROPERTY): Likewise.
23311         * javax/accessibility/AccessibleExtendedText.java: New file.
23312         * javax/accessibility/AccessibleContext.java
23313         (ACCESSIBLE_COMPONENT_BOUNDS_CHANGED): New field.
23314         (ACCESSIBLE_INVALIDATE_CHILDREN): Likewise.
23315         (ACCESSIBLE_TEXT_ATTRIBUTES_CHANGED): Likewise.
23316         * javax/accessibility/AccessibleAttributeSequence.java: New file.
23317         * javax/accessibility/AccessibleStreamable.java: New file.
23318         * javax/accessibility/AccessibleText.java (getIndexAtPoint): Javadoc
23319         fix.
23320
23321 2006-04-10  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
23322
23323         * javax/swing/tree/AbstractLayoutCache.java 
23324         (getNodeDimensions, getRowsForPath): Implemented.
23325         * javax/swing/tree/FixedHeightLayoutCache.java: Rewritten.
23326         * javax/swing/tree/VariableHeightLayoutCache.java: Rewritten.
23327
23328 2006-04-10  Roman Kennke  <kennke@aicas.com>
23329
23330         * javax/swing/tree/AbstractLayoutCache.java: Reformatted.
23331
23332 2006-04-10  Roman Kennke  <kennke@aicas.com>
23333
23334         * javax/swing/JInternalFrame.java
23335         (AccessibleJInternalFrame): Marked all stubbed methods as such
23336         by adding throws NotImplementedException.
23337
23338 2006-04-10  Roman Kennke  <kennke@aicas.com>
23339
23340         * javax/swing/JFileChooser.java
23341         (getAccessibleContext): Don't create a new instance on each
23342         call, instead store the accessible context in the
23343         accessibleContext field.
23344
23345 2006-04-10  Roman Kennke  <kennke@aicas.com>
23346
23347         * javax/swing/JComboBox.java
23348         (AccessibleJComboBox): Marked all stubbed methods as such
23349         by adding throws NotImplementedException.
23350
23351 2006-04-10  Roman Kennke  <kennke@aicas.com>
23352
23353         * javax/swing/ActionMap.java
23354         (readObject): Removed.
23355         (writeObject): Removed.
23356
23357 2006-04-10  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
23358
23359         * javax/swing/tree/DefaultTreeSelectionModel.java
23360         (addSelectionPaths, setSelectionPaths): Call 
23361         insureUniqueness. (clone, setRowMapper): Implemented.
23362         * TreePath (path): Marked final.
23363
23364 2006-04-10  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
23365
23366         * javax/swing/tree/DefaultTreeSelectionModel.java:
23367         Documented and autoformatted. (insureUniqueness):
23368         Removed stub marking.
23369
23370 2006-04-09  David Gilbert  <david.gilbert@object-refinery.com>
23371
23372         * javax/swing/SizeSequence.java
23373         (sizes): Don't initialise here,
23374         (SizeSequence(int, int)): Initialise sizes field,
23375         (SizeSequence(int[])): Clone argument instead of calling setSizes(),
23376         (setSize): Do nothing when index is out of bounds,
23377         (getIndex): Implemented,
23378         (setSizes): Reimplemented,
23379         (getSizes): Likewise,
23380         (insertEntries): Likewise,
23381         (removeEntries): Likewise,
23382         plus added API docs all over.
23383
23384 2006-04-09  Audrius Meskauskas  <AudriusA@Bioinformatics.org
23385
23386         * gnu/CORBA/gnuRequest.java (submit): Do not read any response after
23387         one way message and retry after any IOException.
23388
23389 2006-04-09  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
23390
23391         * gnu/CORBA/CDR/EncapsulationStream.java (constructor):
23392         Set the byte order.
23393
23394 2006-04-09  Wolfgang Baer  <WBaer@gmx.de>
23395
23396         * org/omg/PortableServer/ServantLocatorPOA.java: 
23397         (preinvoke, postinvoke): Remove default implementation.
23398         * org/omg/PortableServer/ServantActivatorPOA.java: 
23399         (incarnate, etherealize): Remove default implementation.        
23400         * org/omg/PortableInterceptor/ObjectReferenceFactory.java: 
23401         Extends from ValueBase and not from ObjectReferenceFactoryOperations.
23402         (make_object): Moved method from ObjectReferenceFactoryOperations.
23403         * org/omg/PortableInterceptor/ObjectReferenceFactoryOperations.java: 
23404         Removed unspecified interface.  
23405         * org/omg/DynamicAny/_DynAnyStub.java:
23406         (_DynAnyStub(Delegate)): Removed constructor.
23407         * org/omg/DynamicAny/_DynArrayStub.java,
23408         * org/omg/DynamicAny/_DynAnyFactoryStub.java,
23409         * org/omg/DynamicAny/_DynEnumStub.java,
23410         * org/omg/DynamicAny/_DynFixedStub.java,
23411         * org/omg/DynamicAny/_DynSequenceStub.java,
23412         * org/omg/DynamicAny/_DynStructStub.java,
23413         * org/omg/DynamicAny/_DynUnionStub.java,
23414         * org/omg/DynamicAny/_DynValueStub.java: 
23415         Extend from ObjectImpl and not from _DynAnyStub.
23416         (type, next, destroy, copy, rewind, assign, component_count, 
23417         current_component, equal, from_any, get_any, get_boolean, get_char, 
23418         get_double, get_dyn_any, get_float, get_long, get_longlong, get_octet, 
23419         get_reference, get_short, get_string, get_typecode, get_ulong, 
23420         get_ulonglong, get_ushort, get_val, get_wchar, get_wstring, insert_any,
23421         insert_boolean, insert_char, insert_double, insert_dyn_any, insert_float,
23422         insert_long, insert_longlong, insert_octet, insert_reference, 
23423         insert_short, insert_string, insert_typecode, insert_ulong, 
23424         insert_ulonglong, insert_ushort, insert_val, insert_wchar, 
23425         insert_wstring, seek, to_any): New methods copied from _DynAnyStub.             
23426         * org/omg/CosNaming/_BindingIteratorStub.java:
23427         (_BindingIteratorStub(Delegate)): Made package private.
23428         * org/omg/CosNaming/_NamingContextExtStub.java:
23429         (_NamingContextExtStub(Delegate)): Made package private.
23430         * org/omg/CosNaming/_NamingContextStub.java:
23431         (_NamingContextStub(Delegate)): Made package private.
23432         (throw4, throw5): Likewise.
23433         * gnu/CORBA/NamingService/NameParser.java (resolve): 
23434         Adapt to package private constructor. Use _set_delegate instead.        
23435         * org/omg/CosNaming/NamingContextOperations.java: Do not extend IDLEntity.
23436         * org/omg/CORBA/ORB.java: 
23437         (create_recursive_sequence_tc): Made abstract.
23438         (get_default_context): Likewise.
23439         * gnu/CORBA/OrbRestricted.java: 
23440         (create_recursive_sequence_tc): New moved method.
23441         (get_default_context): Likewise.        
23442         * org/omg/CORBA/ParameterMode.java: 
23443         (PARAM_IN, PARAM_OUT, PARAM_INOUT): Made final. 
23444
23445 2006-04-09  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
23446
23447         * gnu/CORBA/GIOP/MessageHeader.java (write): 
23448         More informative exception.
23449         * gnu/CORBA/IorDelegate.java (release): Do not close the socket.
23450         * gnu/CORBA/SocketRepository.java (get_socket):
23451         Removed debugging code.
23452
23453 2006-04-09  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
23454
23455         * gnu/CORBA/gnuRequest.java (submit): Try to read the response for the
23456         one way message, but ignore if EOF was received.
23457         * gnu/CORBA/GIOP/MessageHeader.java (read): Set the minor code to
23458         Minor.EOF if the end of file is received instead of the header.
23459
23460 2006-04-09  Roman Kennke  <kennke@aicas.com>
23461
23462         * javax/swing/plaf/metal/MetalRootPaneUI.java
23463         (MetalTitlePane.IconifyAction): New inner class.
23464         (MetalTitlePane.MaximizeAction): New inner class.
23465         (MetalTitlePane.createActions): Create iconifyAction and
23466         maximizeAction.
23467         (MetalRootLayout.titlePane): New field.
23468         (MetalRootLayout.MetalRootLayout): Take titlePane parameter in
23469         constructor.
23470         (MetalRootLayout.preferredLayoutSize): Changed to not make
23471         assumptions about the actual component order.
23472         (MetalRootLayout.layoutContainer): Changed to not make
23473         assumptions about the actual component order.
23474         (installWindowDecorations): Pass the titlePane as parameter to
23475         the MetalRootLayout constructor.
23476         (uninstallWindowDecorations): Changed to not make
23477         assumptions about the actual component order.
23478
23479 2006-04-08  Roman Kennke  <kennke@aicas.com>
23480
23481         * javax/swing/plaf/metal/MetalRootPaneUI.java
23482         (MetalTitlePane.MouseHandler): New inner class to handle dragging
23483         of frames.
23484         (MetalTitlePane.installListeners): Don't register a focus listener
23485         on the window. This is a potential memory leak and must be
23486         implemented on a different way. Install mouse listener here.
23487         (installWindowDecorations): Fixed assertion condition. Always
23488         insert the window decoration at index#1 in the layered 
23489         pane.
23490
23491 2006-04-08  Roman Kennke  <kennke@aicas.com>
23492
23493         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
23494         (Java_gnu_java_awt_peer_gtk_GtkWindowPeer_nativeSetBoundsUnlocked):
23495         Only resize window if actual width or height value changes.
23496         Avoids nasty flicker when only setLocation() is beeing called
23497         on a window.
23498
23499 2006-04-08  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
23500
23501         * gnu/CORBA/GIOP/MessageHeader.java (read): Throw more informative
23502         exception if the magic sequence does not match.
23503
23504 2006-04-08  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
23505
23506         * gnu/CORBA/gnuRequest.java (p_invoke, submit): Do not try to read
23507         response for the one way messages.
23508
23509 2006-04-08  Roman Kennke  <kennke@aicas.com>
23510
23511         * javax/swing/MenuSelectionManager.java
23512         (processKeyEvent): Implemented stub method.
23513         * javax/swing/JMenu.java
23514         (processKeyEvent): Implemented stub method.
23515         * javax/swing/JMenu.java
23516         (processKeyEvent): Implemented stub method.
23517         (processMenuKeyEvent): Implemented stub method.
23518
23519 2006-04-08  Roman Kennke  <kennke@aicas.com>
23520
23521         * javax/swing/AbstractAction.java
23522         (readObject): Removed unneeded method.
23523         (writeObject): Removed unneeded method.
23524
23525 2006-04-08  Wolfgang Baer  <WBaer@gmx.de>
23526
23527         * javax/swing/plaf/synth/SynthPainter.java: 
23528         (paintSplitPaneDividerBorder): Removed.
23529
23530 2006-04-08  Wolfgang Baer  <WBaer@gmx.de>
23531
23532         * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java: 
23533         (CLOSE_CMD, ICONIFY_CMD, MAXIMIZE_CMD, MOVE_CMD, RESTORE_CMD, SIZE_CMD):
23534         No longer constants.
23535         (static_initializer): Added to initialize above fields.
23536         * javax/accessibility/AccessibleRelation.java (LABEL_FOR, LABELED_BY, 
23537         MEMBER_OF, CONTROLLER_FOR, CONTROLLED_BY): No longer constants.
23538         (static_initializer): Added to initialize above fields.
23539
23540 2006-04-08  Wolfgang Baer  <WBaer@gmx.de>
23541
23542         * java/awt/Dialog.java: Improved documentation all over.
23543         (Dialog(Frame)): If gc is null use the owners GraphicsConfiguration.
23544         (Dialog(Dialog)): Likewise.
23545
23546 2006-04-08  Mark Wielaard  <mark@klomp.org>
23547
23548         * java/util/jar/JarFile.java (provider): New static field.
23549         (verify, verifyHashes, EntryInputStream.<init>): Pass provider
23550         to `getInstance.'
23551
23552 2006-04-08  Mark Wielaard  <mark@klomp.org>
23553
23554         PR 27081
23555         * java/lang/StackTraceElement.java (toString): Don't add space
23556         between type and source indicator.
23557
23558 2006-04-07  Casey Marshall  <csm@gnu.org>
23559
23560         Fixes PR classpath/24464        
23561         * java/util/jar/JarFile.java (verify, verifyHashes,
23562         EntryInputStream.<init>): pass the Gnu provider directly to
23563         `getInstance.'
23564
23565 2006-04-08  Raif S. Naffah  <raif@swiftdsl.com.au>
23566
23567         PR classpath/27071
23568         * gnu/java/security/hash/Whirlpool.java: Updated documentation.
23569         (DIGEST0): Use version 3 test vector.
23570         (Sd): Removed.
23571         (S_box): New field: Version 3 S-box values.
23572         (<clinit>): Use Version 3 circulant matrix to construct lookup tables.
23573         (transform): Formating.
23574         (padBuffer): Likewise.
23575         (getResult): Likewise.
23576         (selfTest): Likewise.
23577
23578 2006-04-07  Tom Tromey  <tromey@redhat.com>
23579
23580         * java/util/InvalidPropertiesFormatException.java
23581         (serialVersionUID): New field.
23582         (readObject, writeObject): New methods.
23583         * java/util/Arrays.java (toString): Javadoc fixes.
23584         * java/net/URLConnection.java: Cleaned up imports.
23585         * java/lang/reflect/ParameterizedType.java: Javadoc fix.
23586         * java/lang/reflect/MalformedParameterizedTypeException.java
23587         (serialVersionUID): New field.
23588         * java/lang/reflect/GenericSignatureFormatError.java
23589         (serialVersionUID): New field.
23590         * java/lang/Class.java (Class): Javado fixes.
23591         (getComponentType): Likewise.
23592         (getGenericInterfaces): Likewise.
23593         (getTypeParameters): Likewise.
23594         * java/io/CharArrayWriter.java (append): Javadoc fixes.
23595         * java/lang/annotation/AnnotationFormatError.java (serialVersionUID):
23596         New field.
23597         * java/lang/TypeNotPresentException.java (serialVersionUID): New
23598         field.
23599         * java/lang/EnumConstantNotPresentException.java (serialVersionUID):
23600         New field.
23601
23602 2006-04-07  Wolfgang Baer  <WBaer@gmx.de>
23603
23604         * java/awt/Dialog.java 
23605         (AccessibleAWTDialog): Added api docs
23606         (AccessibleAWTDialog.getAccessibleStateSet):
23607          Renamed from getAccessibleState.
23608         * java/awt/Frame.java 
23609         (AccessibleAWTFrame): Added api docs
23610         (AccessibleAWTFrame.getAccessibleStateSet):
23611          Renamed from getAccessibleState.
23612
23613 2006-04-07  Wolfgang Baer  <WBaer@gmx.de>
23614
23615         * java/awt/Dialog.java: Reformatted.
23616
23617 2006-04-07  Lillian Angel  <langel@redhat.com>
23618
23619         * java/awt/Component.java
23620         (eventTypeEnabled): Added code for HierarchyEvent.HIERARCHY_CHANGED,
23621         HierarchyEvent.ANCESTOR_MOVED and HierarchyEvent.ANCESTOR_RESIZED.
23622
23623 2006-04-07  Tom Tromey  <tromey@redhat.com>
23624
23625         * java/beans/beancontext/BeanContextMembershipEvent.java
23626         (serialVersionUID): New field.
23627         * java/beans/beancontext/BeanContextServicesSupport.java
23628         (addBeanContextServicesListener): Synchronize.
23629         (addService): Implemented.
23630         (createBCSChild): Implemented.
23631         (BCSSChild): Added arguments.
23632         (fireServiceAdded): Implemented.
23633         (fireServiceRevoked): Implemented.
23634         (getCurrentServiceSelectors): Implemented.
23635         (hasService): Implemented.
23636         (removeBeanContextServicesListener): Implemented.
23637         (serviceAvailable): Implemented.
23638         (serviceRevoked): Implemented.
23639         * java/beans/beancontext/BeanContextSupport.java (BCSChild): Added
23640         arguments.
23641         (createBCSChild): Implemented.
23642         (BeanContextSupport): 
23643         (addBeanContextMembershipListener): Synchronize.
23644         (fireChildrenAdded): Implemented.
23645         (fireChildrenRemoved): Implemented.
23646         (BeanContextSupport): Use default locale.
23647         (isEmpty): Implemented.
23648         (isDesignTime): Implemented.
23649         (size): Implemented.
23650         (toArray): Synchronized.
23651         (toArray): Likewise.
23652         (iterator): Likewise.
23653         (BCSIterator): Implemented.
23654         (bcsChildren): Implemented.
23655         (validatePendingAdd): Implemented.
23656         (validatePendingRemove): Likewise.
23657         (childJustAddedHook): Implemented.
23658         (childJustRemovedHook): Likewise.
23659         (classEquals): Likewise.
23660         (toArray): Mark as stub.
23661         (setDesignTime): Implemented.
23662         (copyChildren): Implemented.
23663         (containsKey): Implemented.
23664         (contains): Likewise.
23665         (containsAll): Likewise.
23666         (getResource): Implemented.
23667         (getResourceAsStream): Likewise.
23668         (removeBeanContextMembershipListener): Likewise.
23669         * java/beans/beancontext/BeanContextServiceRevokedEvent.java
23670         (serialVersionUID): New field.
23671         * java/beans/beancontext/BeanContextServiceAvailableEvent.java
23672         (serialVersionUID): New field.
23673         * java/beans/beancontext/BeanContext.java (instantiateChild): Javadoc
23674         fix.
23675
23676 2006-04-06  Roman Kennke  <kennke@aicas.com>
23677
23678         PR 26937
23679         * javax/swing/MenuSelectionManager.java
23680         (setSelectedPath): Search one more item in the loop.
23681         
23682 2006-04-06  Tom Tromey  <tromey@redhat.com>
23683
23684         * java/awt/image/renderable/RenderableImageProducer.java
23685         (image, context, consumers): New fields.
23686         (RenderableImageProducer): Implemented.
23687         (setRenderContext): Likewise.
23688         (addConsumer): Likewise.
23689         (isConsumer): Likewise.
23690         (removeConsumer): Likewise.
23691         (startProduction): Likewise.
23692
23693 2006-04-06  Roman Kennke  <kennke@aicas.com>
23694
23695         * java/awt/Component.java
23696         (AccessibleAWTComponent.getBounds): Return the component
23697         bounds regardless of its showing state.
23698         (AccessibleAWTComponent.getLocation): Return the component
23699         location regardless of its showing state.
23700         (AccessibleAWTComponent.getSize): Return the component
23701         size regardless of its showing state.
23702
23703 2006-04-06  Roman Kennke  <kennke@aicas.com>
23704
23705         * javax/swing/JRootPane.java
23706         (getAccessibleContext): New method. Provides an accessibleContext
23707         for JRootPanes.
23708
23709 2006-04-06  Roman Kennke  <kennke@aicas.com>
23710
23711         * java/awt/Toolkit.java
23712         (initAccessibility): Use the 'gnu.classpath.home.url' property
23713         to determine the system confiuration directory.
23714         * java/awt/Component.java
23715         (dispatchEvent): Trigger Toolkit dispatching here.
23716         (dispatchEventImpl): Moved Toolkit dispatching to dispatchEvent,
23717         so it can't be overridden by subclasses and is performed in
23718         any case.
23719
23720 2006-04-06  Wolfgang Baer  <WBaer@gmx.de>
23721         
23722         * javax/naming/Binding.java: Added API docs.
23723         * javax/naming/NameClassPair.java: Added API docs.
23724         (fullName): New field.
23725         (setNameInNamespace): New 1.5 method.
23726         (getNameInNamespace): Likewise.
23727
23728 2006-04-06  Wolfgang Baer  <WBaer@gmx.de>
23729
23730         * javax/naming/CompositeName.java: 
23731         (readObject): New deserialization method.
23732         (writeObject): New serialization method.
23733
23734 2006-03-29  Nektarios K. Papadopoulos  <npapadop at inaccessnetworks.com>
23735
23736         * javax/security/auth/x500/X500Principal.java
23737         (readAttributeValue) Check for separator after quoted value was
23738         failing in all cases.
23739
23740 2006-04-06  Mark Wielaard  <mark@klomp.org>
23741
23742         * java/lang/Class.java (getClassLoader): Don't do security check
23743         when loader is null.
23744
23745 2006-04-06  Roman Kennke  <kennke@aicas.com>
23746
23747         * java/awt/Toolkit.java
23748         (getDefaultToolkit): Initialize accessibility after setting
23749         up the toolkit.
23750         (initAccessibility): New helper method to setup accessibility.
23751
23752 2006-04-06  Roman Kennke  <kennke@aicas.com>
23753
23754         * javax/swing/AbstractButton.java
23755         (AccessibleAbstractButton.getAccessibleIcon): Implemented stub.
23756         (AccessibleAbstractButton.getAccessibleRelationSet): Implemented
23757         stub.
23758         (AccessibleAbstractButton.getIndexAtPoint): Implemented stub.
23759         (AccessibleAbstractButton.getAccessibleIcon): Implemented stub.
23760         (AccessibleAbstractButton.getCharacterBounds): Implemented stub.
23761         (AccessibleAbstractButton.getCharCount): Implemented stub.
23762         (AccessibleAbstractButton.getCaretPosition): Implemented stub.
23763         (AccessibleAbstractButton.getCharacterAttribute): Implemented stub.
23764         (AccessibleAbstractButton.getSelectionStart): Implemented stub.
23765         (AccessibleAbstractButton.getSelectionEnd): Implemented stub.
23766         (AccessibleAbstractButton.getSelectedText): Implemented stub.
23767         (AccessibleAbstractButton.getTextRectangle): Removed unneeded
23768         private method.
23769
23770 2006-04-06  Roman Kennke  <kennke@aicas.com>
23771
23772         * java/awt/Component.java
23773         (AccessibleAWTComponent.getAccessibleStateSet): Don't handle opaque
23774         state here. This is only done in JComponent.
23775         * javax/swing/JComponent.java
23776         (AccessibleJComponent.getAccessibleStateSet): Handle opaque flag
23777         here.
23778         (getNextFocusableComponent): Implemented stub method.
23779         (grabFocus): Implemented stub method.
23780         (unregisterKeyboardAction): Implemented stub method.
23781         (setNextFocusableComponent): Implemented stub method.
23782         * javax/swing/CompatibilityFocusTraversalPolicy.java: New file.
23783         This is a helper class for providing compatibility with the older
23784         Swing focus API.
23785
23786 2006-04-06  Wolfgang Baer  <WBaer@gmx.de>
23787
23788         Fixes bug #26995
23789         * javax/naming/directory/BasicAttribute.java,
23790         * javax/naming/directory/BasicAttributes.java: 
23791         (readObject): New deserialization method.
23792         (writeObject): New serialization method.
23793
23794 2006-04-06  Wolfgang Baer  <WBaer@gmx.de>
23795
23796         * javax/xml/validation/SchemaFactory.java: Corrected since tag.
23797         (getErrorHandler): Made method abstract.
23798         (setErrorHanlder): Likewise.
23799         * gnu/xml/validation/relaxng/RELAXNGSchemaFactory.java
23800         (getErrorHandler): Implement abstract method from superclass.
23801         (setErrorHandler): Likewise.
23802         (errorHandler): New field.
23803         * gnu/xml/validation/xmlschema/XMLSchemaSchemaFactory.java:     
23804         (getErrorHandler): Implement abstract method from superclass.
23805         (setErrorHandler): Likewise.
23806         (errorHandler): New field.      
23807         * javax/xml/XMLConstants.java: Corrected since tag.
23808         (XMLConstants): Added private constructor.
23809         * javax/xml/datatype/Duration.java: Corrected since tag.
23810         (multiply): Made method abstract.
23811         * javax/xml/datatype/DatatypeConstants.java: Corrected since tag.
23812         (DatatypeConstants): Added private constructor.
23813         * javax/xml/xpath/XPathConstants.java: Corrected since tag.
23814         (XPathConstants): Added private constructor.
23815
23816 2006-04-05  Tom Tromey  <tromey@redhat.com>
23817
23818         * javax/security/auth/kerberos/ServicePermission.java: Now final.
23819
23820 2006-04-05  Tom Tromey  <tromey@redhat.com>
23821
23822         PR libgcj/26625:
23823         * lib/Makefile.am (compile-classes): Touch the output file.
23824
23825 2006-04-05  Roman Kennke  <kennke@aicas.com>
23826
23827         * javax/swing/AbstractButton.java
23828         (AccessibleAbstractButton.getAccessibleStateSet): Removed handling
23829         of the focused state. This is already done in AccessibleAWTComponent.
23830
23831 2006-04-05  Roman Kennke  <kennke@aicas.com>
23832
23833         * javax/swing/JComponent.java
23834         (accessibleContext): Fixed API doc for this field.
23835         (AccessibleJComponent.AccessibleFocusHandler): Fixed API docs.
23836         (AccessibleJComponent.AccessibleFocusHandler.focusGained):
23837         Implemented and added API docs.
23838         (AccessibleJComponent.AccessibleFocusHandler.focusLost):
23839         Implemented and added API docs.
23840         (AccessibleJComponent.AccessibleContainerHandler): Fixed API docs.
23841         (AccessibleJComponent.AccessibleContainerHandler.componentAdded):
23842         Implemented and added API docs.
23843         (AccessibleJComponent.AccessibleContainerHandler.componentRemoved):
23844         Implemented and added API docs.
23845         (AccessibleJComponent.accessibleContainerHandler): Added API docs.
23846         (AccessibleJComponent.accessibleFocusHandler): Added API docs.
23847         (AccessibleJComponent.addPropertyChangeListener): Added API docs.
23848         (AccessibleJComponent.removePropertyChangeListener): Added API docs.
23849         (AccessibleJComponent.getAccessibleStateSet): Simply return
23850         super here. Added comment about this.
23851
23852 2006-04-05  Roman Kennke  <kennke@aicas.com>
23853
23854         * javax/swing/JComponent.java
23855         (AccessibleJComponent.addPropertyChangeListener): Install
23856         ContainerHandler and FocusHandler here.
23857         (AccessibleJComponent.removePropertyChangeListener): Uninstall
23858         ContainerHandler and FocusHandler here.
23859         (AccessibleJComponent.getAccessibleChildrenCount): Replaced
23860         by super.getAccessibleChildrenCount().
23861         (AccessibleJComponent.getAccessibleChild): Replaced
23862         by super.getAccessibleChild().
23863         (AccessibleJComponent.getAccessibleStateSet): Implemented by
23864         adding OPAQUE to the supported states.
23865         (AccessibleJComponent.getAccessibleName): Added titled border
23866         and label fallbacks.
23867         (AccessibleJComponent.getAccessibleDescription): Added tooltip
23868         and label fallbacks.
23869         (AccessibleJComponent.getAccessibleRole): Removed TODO.
23870         (AccessibleJComponent.getAccessibleKeyBinding): Added comment
23871         explaining why return null seems correct here.
23872         * javax/swing/JLabel.java
23873         (LABEL_PROPERTY): New constant.
23874         (setLabelFor): Store label in labeled component's client properties
23875         for the AccessibleJComponent to read.
23876
23877 2006-04-05  Tom Tromey  <tromey@redhat.com>
23878
23879         * java/util/zip/ZipFile.java (available): Defer to super if
23880         entry's size is unknown.
23881
23882 2006-04-05  Tom Tromey  <tromey@redhat.com>
23883
23884         * java/net/MimeTypeMapper.java (MimeTypeMapper): Look for system
23885         property with mime.types name.
23886         * gnu/classpath/SystemProperties.java: Set
23887         gnu.classpath.mime.types.file if not already set.
23888         * java/net/URLConnection.java (defaultFactory): New field.
23889         (guessContentTypeFromStream): Mark as unimplemented.
23890         (getContentHandler): Updated with libgcj's implementation.
23891         * gnu/java/net/DefaultContentHandlerFactory.java: New file,
23892         from libgcj.
23893
23894 2006-04-05  Bryce McKinlay  <mckinlay@redhat.com>
23895
23896         PR classpath/27028
23897         PR classpath/24752
23898         * java/util/AbstractList.java (hasNext): Don't throw
23899         ConcurrentModificationException. Update Javadoc.
23900         (hasPrevious): Likewise.
23901         (nextIndex): Likewise.
23902         (previousIndex): Likewise.
23903         * java/util/HashMap.java (hasNext): Likewise.
23904         * java/util/Hashtable.java (hasNext): Likewise.
23905         * java/util/IdentityHashMap.java (hasNext): Likewise.
23906         * java/util/LinkedHashMap.java (hasNext): Likewise.
23907         * java/util/LinkedList.java (nextIndex): Likewise.
23908         (previousIndex): Likewise.
23909         (hasNext): Likewise.
23910         (hasPrevious): Likewise.
23911         * java/util/TreeMap.java (hasNext): Likewise.
23912         * java/util/WeakHashMap.java (hasNext): Likewise.
23913
23914 2006-04-05  Roman Kennke  <kennke@aicas.com>
23915
23916         * javax/swing/AbstractButton.java
23917         (AccessibleAbstractButton.getAccessibleStateSet): Implemented stub.
23918         (AccessibleAbstractButton.doAccessibleAction): Implemented stub.
23919         (AccessibleAbstractButton.getAccessibleAction): Implemented stub.
23920         (AccessibleAbstractButton.getAccessibleActionCount): Implemented stub.
23921         (AccessibleAbstractButton.getAccessibleActionDescription):
23922         Implemented stub.
23923         (AccessibleAbstractButton.getAccessibleText): Implemented stub.
23924         (AccessibleAbstractButton.getAccessibleAction): Implemented stub.
23925         (AccessibleAbstractButton.getCurrentAccessibleValue): Implemented stub.
23926         (AccessibleAbstractButton.setCurrentAccessibleValue): Implemented stub.
23927         (AccessibleAbstractButton.getMinimumAccessibleValue): Implemented stub.
23928         (AccessibleAbstractButton.getMaximumAccessibleValue): Implemented stub.
23929
23930 2006-04-05  Roman Kennke  <kennke@aicas.com>
23931
23932         * javax/swing/JComboBox.java
23933         (selectWithKeyChar): Implemented stubbed method.
23934
23935 2006-04-05  Roman Kennke  <kennke@aicas.com>
23936
23937         * javax/swing/LookAndFeel.java
23938         (installProperty): New method. Allows primitive typed properties
23939         to be handled like UIResources.
23940         * javax/swing/AbstractButton.java
23941         (clientBorderPaintedSet): New field.
23942         (clientRolloverEnabledSet): New field.
23943         (clientIconTextGapSet): New field.
23944         (clientContentAreaFilledSet): New field.
23945         (setRolloverEnabled): Set the client field to true.
23946         (setBorderPainted): Likewise.
23947         (setIconTextGap): Likewise.
23948         (setContentAreaFilled): Likewise.
23949         (setUIProperty): New helper method.
23950         * javax/swing/JComponent.java
23951         (clientOpaqueSet): New field.
23952         (clientAutoscrollsSet): New field.
23953         (setAutoscrolls): Set the client field to true.
23954         (setOpaque): Likewise.
23955         (setUIProperty): New helper method.
23956         * javax/swing/JDesktopPane.java
23957         (clientDragModeSet): New field.
23958         (setDragMode): Set the client field to true.
23959         (setUIProperty): New helper method.
23960         * javax/swing/JSplitPane.java
23961         (clientDividerSizeSet): New field.
23962         (clientOneTouchExpandableSet): New field.
23963         (setDividerSize): Set the client field to true.
23964         (setOneTouchExpandable): Likewise.
23965         (setUIProperty): New helper method.
23966         * javax/swing/JTable.java
23967         (clientRowHeightSet): New field.
23968         (setRowHeight): Set the client field to true.
23969         (setUIProperty): New helper method.
23970         * javax/swing/JTree.java
23971         (clientRowHeightSet): New field.
23972         (clientScrollsOnExpandSet): New field.
23973         (clientShowsRootHandlesSet): New field.
23974         (setRowHeight): Set the client field to true.
23975         (setShowsRootHandles): Likewise.
23976         (setScrollsOnExpand): Likewise.
23977         (setUIProperty): New helper method.
23978
23979 2006-04-05  Roman Kennke  <kennke@aicas.com>
23980
23981         * java/awt/Component.java
23982         (getFont): Don't request the font from the peer's graphics. The
23983         graphics should instead get the font from the Component, which might
23984         result in a loop.
23985         (getFocusCycleAncestor): Don't special case Window.
23986         (nextFocus): Moved implementation from the DefaultKeyboardFocusManager
23987         to here. Correctly determine the focus cycle root.
23988         (transferFocusBackward): Likewise.
23989         (transferFocusUpCycle): Likewise.
23990         * java/awt/Container.java
23991         (transferFocusDownCycle): Moved implementation from
23992         DefaultKeyboardFocusManager to here.
23993         * java/awt/DefaultKeyboardFocusManager.java
23994         (focusPreviousComponent): Moved implementation to
23995         Component.transferFocusBackward().
23996         (focusNextComponent): Moved implementation to
23997         Component.nextFocus().
23998         (upFocusCycle): Moved implementation to
23999         Component.transferFocusUpCycle().
24000         (downFocusCycle): Moved implementation to
24001         Container.transferFocusDownCycle().
24002
24003 2006-04-05  David Gilbert  <david.gilbert@object-refinery.com>
24004
24005         * java/awt/image/ComponentSampleModel.java
24006         (equals): Implemented,
24007         (hashCode): Likewise.
24008
24009 2006-04-05  Jeroen Frijters  <jeroen@frijters.net>
24010
24011         * java/lang/Class.java
24012         (cast): New method.
24013
24014 2006-04-05  David Gilbert  <david.gilbert@object-refinery.com>
24015
24016         * java/awt/image/ComponentSampleModel.java
24017         (getBankIndices): Return a copy of the array, not a reference to the
24018         original,
24019         (getBandOffsets): Likewise.
24020
24021 2006-04-05  David Gilbert  <david.gilbert@object-refinery.com>
24022
24023         * java/awt/image/ComponentSampleModel.java: Added API docs all over.
24024
24025 2006-04-04  Tom Tromey  <tromey@redhat.com>
24026
24027         * java/net/MimeTypeMapper.java (MimeTypeMapper): Fixed indices.
24028
24029 2006-04-04  Tom Tromey  <tromey@redhat.com>
24030
24031         * java/net/MimeTypeMapper.java (mime_types): No longer static.
24032         (MimeTypeMapper): Initialize.
24033         (fillFromFile): New method.
24034         (main): New method.
24035         (mime_strings): Updated.
24036
24037 2006-04-04  Tom Tromey  <tromey@redhat.com>
24038
24039         * lib/gen-classlist.sh.in: Correct handle generated files.
24040
24041 2006-04-04  Ito Kazumitsu  <kaz@maczuka.gcd.org>
24042
24043         * gnu/regexp/CharIndexed.java(setAnchor): New method.
24044         * gnu/regexp/CharIndexedInputStream.java(setAnchor): New method.
24045         * gnu/regexp/CharIndexedCharSequence.java: New file.
24046         * gnu/regexp/CharIndexedCharArray.java: Rewritten as an extention of
24047         gnu.regexp.CharIndexedCharSequence.
24048         * gnu/regexp/CharIndexedString.java: Likewise.
24049         * gnu/regexp/CharIndexedStringBuffer.java: Likewise.
24050         * gnu/regexp/RE.java(makeCharIndexed): Make a new CharIndexed
24051         using CharIndexedCharSequence. Use setAnchor when the input
24052         object is already a CharIndexed.
24053         * java/util/regex/Matcher.java(inputCharIndexed): New field
24054         to be used as a parameter of the RE#getMatch.
24055
24056 2006-04-04  David Gilbert  <david.gilbert@object-refinery.com>
24057
24058         * java/awt/image/SampleModel.java: Reformatted.
24059
24060 2006-04-04  David Gilbert  <david.gilbert@object-refinery.com>
24061
24062         * java/awt/image/ComponentSampleModel.java
24063         (ComponentSampleModel(int, int, int, int, int[])): Added API 
24064         documentation,
24065         (ComponentSampleModel(int, int, int, int, int[], int[]): Throw 
24066         IllegalArgumentException for DataBuffer.TYPE_UNDEFINED, take copies
24067         of the bandOffsets and bankIndices arguments, added API documentation,
24068         * java/awt/image/SampleModel.java
24069         (SampleModel(int, int, int, int): Throw IllegalArgumentException for
24070         unrecognised dataTypes, w * h exceeds Integer.MAX_VALUE, and numBands
24071         less than or equal to zero, added API documentation.
24072
24073 2006-04-04  Lillian Angel  <langel@redhat.com>
24074
24075         * java/util/zip/ZipFile.java
24076         (getInputStream): Fixed to return size of ZipEntry
24077         minus the total bytes read. This guarantees that the 
24078         right value is returned even if some bytes have already
24079         been read.
24080
24081 2006-04-04  Thomas Fitzsimmons  <fitzsim@redhat.com>
24082
24083         * javax/imageio/plugins/jpeg/JPEGImageWriteParam.java (messages):
24084         Remove static modifier.
24085
24086 2006-04-04  David Gilbert  <david.gilbert@object-refinery.com>
24087
24088         * java/awt/image/ComponentSampleModel.java: Reformatted.
24089
24090 2006-04-03  Thomas Fitzsimmons  <fitzsim@redhat.com>
24091
24092         * javax/imageio/plugins/jpeg/JPEGImageWriteParam.java: New file.
24093         * javax/imageio/plugins/jpeg/JPEGImageReadParam.java: Add
24094         retrieval instructions to javadoc header.
24095         * javax/imageio/ImageWriteParam.java: Fix javadoc for
24096         compressionType field.
24097         * lib/Makefile.am (propertydirs): Add javax directory.
24098         (propertyfiles): Likewise.
24099         * resource/javax/imageio/plugins/jpeg/MessagesBundle.properties:
24100         New file.
24101
24102 2006-04-03  Tom Tromey  <tromey@redhat.com>
24103
24104         PR classpath/26971:
24105         * javax/naming/directory/BasicAttribute.java: Added missing @since.
24106         (BasicAttributeEnumeration.where): Initialize to 0.
24107         (BasicAttributeEnumeration.nextElement): Post-increment 'where'.
24108
24109 2006-04-03  Lillian Angel  <langel@redhat.com>
24110
24111         PR classpath/24596 and PR classpath/26930
24112         * java/util/zip/ZipFile.java
24113         (getInputStream): Override available function for 
24114         InflaterInputStream instance.
24115
24116 2006-04-03  Thomas Fitzsimmons  <fitzsim@redhat.com>
24117
24118         * javax/imageio/plugins/jpeg/JPEGImageReadParam.java: New file.
24119
24120 2006-04-03  Tom Tromey  <tromey@redhat.com>
24121
24122         * javax/security/auth/kerberos/ServicePermission.java: New file.
24123         * javax/security/auth/kerberos/DelegationPermission.java: New file.
24124         * javax/security/auth/kerberos/KerberosKey.java: New file.
24125         * javax/security/auth/kerberos/KeyImpl.java: New file.
24126         * javax/security/auth/kerberos/KerberosTicket.java: New file.
24127         * javax/security/auth/kerberos/KerberosPrincipal.java: New file.
24128
24129 2006-04-03  Sven de Marothy  <sven@physto.se>
24130
24131         * gnu/java/awt/peer/gtk/GtkClipboard.java: Add support for
24132         non-GtkImage images.
24133
24134 2006-04-03  Mark Wielaard  <mark@klomp.org>
24135
24136         * lib/gen-classlist.sh.in: Use classes.tmp, not classes.2
24137         as temporary file name.
24138
24139 2006-04-03  Dalibor Topic  <robilad@kaffe.org>
24140
24141         * INSTALL: Documented --with-glibj-zip option.
24142
24143 2006-04-03  Dalibor Topic  <robilad@kaffe.org>
24144
24145         Fixed all pscan warnings.
24146
24147         * native/jni/classpath/jcl.c (JCL_ThrowException),
24148         native/jni/classpath/jcl.h (DBG),
24149         native/target/generic/target_generic.h (TARGET_NATIVE_LAST_ERROR_STRING_FORMAT),
24150         native/target/generic/target_generic_misc.h (TARGET_NATIVE_MISC_FORMAT_STRING0):
24151         Use "%s" format in fprintf and snprintf explicitely when printing a single 
24152         string to prevent format string exploits.
24153         
24154         * native/jni/java-net/javanet.h (DBG): Removed duplicate
24155         definition. Included jcl.h instead.
24156  
24157 2006-04-03  Raif S. Naffah  <raif@swiftdsl.com.au>
24158
24159         * tools/gnu/classpath/tools/jarsigner/Main.java: Removed unused imports.
24160         (provider): Made it protected.
24161         (providerInstalled): New field.
24162         (Main): Made it a 0-arguments constructor.
24163         Removed throws clasue.
24164         (main): Removed throws clause.
24165         Call processArgs(args) after constructing instance.
24166         Call teardown() before existing.
24167         (processArgs): Added javadoc.
24168         Reduced to throws Exception.
24169         (start): Likewise.
24170         (teardown): New method.
24171         (setupCommonParams): Added javadoc.
24172         Install designated provider if not already installed.
24173         (installNewProvider): New method.
24174         (setupSigningParams): Added javadoc.
24175         Instantiate the KeyStore using type only.
24176         * tools/gnu/classpath/tools/jarsigner/JarSigner.java:
24177         Removed unused imports.
24178         (start): Reduced to throws Exception.
24179         * tools/gnu/classpath/tools/jarsigner/JarVerifier.java (start): Likewise.
24180         * tools/gnu/classpath/tools/jarsigner/HashUtils.java:
24181         Re-organized imports.
24182         * gnu/java/security/key/KeyPairGeneratorFactory.java (getInstance):
24183         Test ignoring case.
24184         (getNames): Add "dsa" as an algorithm provided by this Factory.
24185         (makeInstance): Construct IllegalArgumentException with 2 arguments.
24186
24187 2006-04-03  Roman Kennke  <kennke@aicas.com>
24188
24189         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
24190         (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getGlyphVector):
24191         Replaced g_free() with pango_item_free() to avoid problems
24192         with the allocator.
24193
24194 2006-04-03  Rafael H. Schloming  <rafaels@redhat.com>
24195
24196         Fixes bug #26668
24197         * java/util/logging/Level.java (parse): Document.
24198         * java/util/logging/LogManager.java (rootLogger): Removed.
24199         (LogManager): Just set loggers to new HashMap.
24200         (getLogManager): Make synchronized. Create and init LogManager if it
24201         doesn't exist yet.
24202         (static): Removed block.
24203         (MANAGER_PROPERTY): New private final string.
24204         (makeLogManager): Use new property string, move warning to
24205         createInstance() method.
24206         (CONFIG_PROPERTY): New private final string.
24207         (initLogManager): New method.
24208         (addLogger): Use Logger.root, not rootLogger.
24209         (findAncestor): Likewise.
24210         (readConfiguration): Move warning to createInstance() method.
24211         Add handlers directly to Logger.root. Warn about bad level values.
24212         (getClassProperty): Use new locateClass() method.
24213         (getInstanceProperty): Only catch specific newInstance Errors.
24214         (createInstance): Make private and takes a string to use in warning
24215         messages. Use new locateClass() method and generate appropriate
24216         warning message.
24217         (warn): New methods.
24218         (locateClass): Locates a class through the context class loader and
24219         system class loader as backup.
24220         * java/util/logging/Logger.java (root): New static final field.
24221         (Logger): Set parent to root.
24222         (setParent): Directly check root field.
24223
24224 2006-04-02  Andrew John Hughes  <gnu_andrew@member.fsf.org>
24225
24226         * java/util/Collections.java:
24227         (binarySearch(List, T)): Fixed signature.
24228         (unmodifiableList(List)): Likewise.
24229         (UnmodifiableList(List)): Fixed constructor.
24230         (UnmodifiableRandomAccessList(List)): Likewise.
24231         (unmodifiableMap(Map)): Fixed signature.
24232         (UnmodifiableMap(Map)): Fixed constructor.
24233         (unmodifiableSortedMap(Map)): Fixed signature.
24234         (UnmodifiableSortedMap(Map)): Fixed constructor.
24235         
24236 2006-04-02  Andrew John Hughes  <gnu_andrew@member.fsf.org>
24237
24238         * java/io/ObjectOutputStream.java:
24239         (writeObject(Object)): Added enum support.
24240         (writeClassDescriptor(ObjectStreamClass)): Likewise.
24241         * java/io/ObjectStreamClass.java:
24242         (isEnum()): New package-private method.
24243         (setFlags(Class)): Added enum support.
24244         * java/io/ObjectStreamConstants.java:
24245         (SC_ENUM): Added.
24246         
24247 2006-04-02  Robert Schuster  <robertschuster@fsfe.org>
24248
24249         * javax/swing/text/Segment.java:
24250         (setPosition): Make exception message more verbose.
24251         * javax/swing/text/WrappedPlainView.java:
24252         (insertUpdate): Removed unneeded repaint call.
24253         (changeUpdate): Dito.
24254         (removeUpdate): Dito.
24255         (WrappedLine.determineNumLines): Do not return numLines, break
24256         from loop if no new break point has been calculated.
24257         (WrappedLine.updateDamage): Rewritten.
24258         (WrappedLine.insertUpdate): Removed unneeded update code.
24259         (WrappedLine.removeUpdate): Removed unneeded update code, added
24260         comment.        
24261
24262 2006-04-02  Dalibor Topic  <robilad@kaffe.org>
24263
24264         * configure.ac (with-glibj-zip): Added new option.
24265
24266         * examples/Makefile.am,
24267         lib/Makefile.am,
24268         tools/Makefile.am: Adapted build classpath to use glibj.zip,
24269         in addition to classes in lib directory.
24270
24271 2006-04-02  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
24272
24273         * tools/gnu/classpath/tools/giop/GRMIC.java,
24274         tools/gnu/classpath/tools/giop/IorParser.java,
24275         tools/gnu/classpath/tools/giop/grmic/CompilationError.java,
24276         tools/gnu/classpath/tools/giop/grmic/Generator.java,
24277         tools/gnu/classpath/tools/giop/grmic/GiopIo.java,
24278         tools/gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java,
24279         tools/gnu/classpath/tools/giop/grmic/HashFinder.java,
24280         tools/gnu/classpath/tools/giop/grmic/MethodGenerator.java,
24281         tools/gnu/classpath/tools/rmi/RMIC.java,
24282         tools/gnu/classpath/tools/rmi/rmic/RmiMethodGenerator.java,
24283         tools/gnu/classpath/tools/rmi/rmic/RmicCompiler.java,
24284         tools/gnu/classpath/tools/rmi/rmic/WrapUnWrapper.java: Removed
24285         linking exception from the licensing header.
24286         * tools/gnu/classpath/tools/rmi/rmid/ActivationSystemImpl_Stub.java:
24287         Added licensing header.
24288
24289 2006-04-02  Mark Wielaard  <mark@klomp.org>
24290
24291         * tools/Makefile.am (bin_SCRIPTS): Renamed to jarsigner.sh.
24292         (jarsigner): Removed.
24293
24294 2006-04-02  Dalibor Topic  <robilad@kaffe.org>
24295
24296         * configure.ac: don't check for isnan function.
24297         * native/fdlibm/fdlibm.h: Always use the isnan macro.
24298
24299 2006-04-02  Raif S. Naffah  <raif@swiftdsl.com.au>
24300
24301         * configure.ac: Added tools/jarsigner.sh to AC_CONFIG_FILES.
24302         * tools/Makefile.am: Generate jarsigner shell script.
24303         * tools/jarsigner.sh.in: New template.
24304         * tools/.cvsignore: Added jarsigner.sh.
24305
24306 2006-04-02  Raif S. Naffah  <raif@swiftdsl.com.au>
24307
24308         * tools/gnu/classpath/tools/jarsigner/HashUtils.java: Use GPL.
24309         * tools/gnu/classpath/tools/jarsigner/SFHelper.java: Likewise.
24310         * tools/gnu/classpath/tools/jarsigner/JarVerifier.java: Likewise.
24311         * tools/gnu/classpath/tools/jarsigner/JarSigner.java: Likewise.
24312         * tools/gnu/classpath/tools/jarsigner/Main.java: Likewise.
24313         Re-organised imports.
24314
24315 2006-04-01  Bernhard Rosenkraenzer  <bero@arklinux.org>
24316
24317         PR classpath/25924:
24318         * java/awt/image/DirectColorModel.java (extractAndNormalizeSample):
24319         Handle case where alpha==0.
24320
24321 2006-04-02  Robert Schuster  <robertschuster@fsfe.org>
24322
24323         PR #26676
24324         * javax/swing/text/Utilities.java:
24325         (getTabbedTextOffset): Added check to decrement pos not below zero,
24326         changed '>' comparison to '>='.
24327         * javax/swing/text/WrappedPlainView.java:
24328         (lineHeight): New field.
24329         (calculateBreakPosition): Throw InternalError in catch block, removed
24330         unneeded brackets, use specific version of
24331         Utilities.getTabbedTextOffset.
24332         (paint): Set various properties neccessary for drawing.
24333         (WrappedLine.paint): Removed code to set field of outer class.
24334         (WrappedLine.modelToView): Removed unneeded expression from
24335         if-statement.
24336         (WrappedLine.viewToModel): Initialize end with endOffset - 1, removed
24337         -1 from return statement, copy only a subset into the Segment, removed
24338         special handling of mark value - just return it, simplified
24339         incrementation of currLineStart.
24340         (WrappedLine.insertUpdate): Recalculate numLines, report preference
24341         change to parent view.
24342         (WrappedLine.removeUpdate): Dito.
24343
24344 2006-04-02  Robert Schuster  <robertschuster@fsfe.org>
24345
24346         * javax/swing/text/Segment.java:
24347         (toString): Return empty string when array is null.
24348
24349 2006-04-02  Robert Schuster  <robertschuster@fsfe.org>
24350
24351         * javax/swing/plaf/basic/BasicTextUI.java:
24352         (damageRange): Use SwingUtilities.computeUnion to avoid
24353         unneccessary Rectangle instantiation.
24354
24355 2006-04-01  Tom Tromey  <tromey@redhat.com>
24356
24357         * java/security/cert/Certificate.java (serialVersionUID): Fixed.
24358
24359 2006-04-01  Robert Schuster  <robertschuster@fsfe.org>
24360
24361         * javax/swing/text/CompositeView.java: Fixed copyright header.
24362         * javax/swing/text/BoxView.java: Fixed copyright header.
24363         * javax/swing/text/WrappedPlainView.java: Fixed copyright header.
24364         * javax/swing/text/Utilities.java: Fixed copyright header.
24365
24366 2006-04-01  Robert Schuster  <robertschuster@fsfe.org>
24367
24368         * javax/swing/text/CompositeView.java:
24369         (modelToView): Throw BadLocationException when no child
24370         view can be found, restructed to throw exception as early
24371         as possible.
24372         (viewToModel): Use mutable allocation as argument for viewToModel
24373         call on child view.
24374         * javax/swing/text/BoxView.java:
24375         (getViewAtPoint): Call setBounds() r before method returns with
24376         suitable child view.
24377         * javax/swing/text/Utilities.java:
24378         (getPositionBelow): Added try-catch-block around modelToView call,
24379         added method return when BadLocationException was thrown.
24380         * javax/swing/text/WrappedPlainView.java:
24381         (WrappedLine.viewToModel): Changed '<=' to '<' in if-expression,
24382         added note about meaning of rect.x and rect.width, removed unneeded
24383         checks, added code to not return the last possible document offset.
24384
24385 2006-04-01  Robert Schuster  <robertschuster@fsfe.org>
24386
24387         * javax/swing/text/WrappedPlainView.java:
24388         (WrappedLine.viewToModel): Change < to <= in if-statement,
24389         removed addition of currLineStart to return value.
24390         * javax/swing/text/BoxView.java:
24391         (getViewAtPoint): Use copy instead of r for method call
24392         which modifies the second argument.
24393
24394 2006-04-01  Mark Wielaard  <mark@klomp.org>
24395
24396         Fixes PR26973
24397         * java/util/jar/Attributes.java: Fully qualify java.util.Map.
24398
24399 2006-03-31  Tom Tromey  <tromey@redhat.com>
24400
24401         * lib/split-for-gcj.sh: Updated for multi-field format.
24402         * lib/Makefile.am (CLEANFILES): Added classes.2.
24403         * lib/gen-classlist.sh.in (GCJ): Removed.  Create classes.1 and
24404         classes.2 using multiple fields.
24405
24406 2006-03-31  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
24407
24408         * javax/swing/JTable.java (columnSelectionChanged):
24409         Removed print statement.
24410         * javax/swing/DefaultListSelectionModel.java
24411         (addSelectionInterval, removeSelectionInterval):
24412         Fire the difference between selection. (setLeadSelectionIndex):
24413         Fire the difference and mark current and previous lead
24414         selection indexes for repaint.
24415
24416 2006-03-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
24417
24418         * javax/imageio/plugins/jpeg/JPEGHuffmanTable.java: Eliminate
24419         unnecessary copying.
24420         * javax/imageio/plugins/jpeg/JPEGQTable.java: Likewise.
24421
24422 2006-03-31  Lillian Angel  <langel@redhat.com>
24423
24424         * java/awt/Component.java
24425         (translateEvent): oldKey should be the value of the
24426         key char.
24427
24428 2006-03-31  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
24429
24430         * javax/swing/JTable.java (columnSelectionChanged):
24431         Treat second repaint parameter as width.
24432
24433 2006-03-31  Lillian Angel  <langel@redhat.com>
24434         
24435         PR classpath/26924
24436         * gnu/java/awt/peer/gtk/GtkCanvasPeer.java
24437         (realize): New native function.
24438         * include/gnu_java_awt_peer_gtk_GtkCanvasPeer.h:
24439         Added new function declaration.
24440         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c
24441         (realize): New function.
24442
24443 2006-03-31  Robert Schuster  <robertschuster@fsfe.org>
24444         
24445         * javax/swing/text/GapContent.java:
24446         (replace): Move all Position instances from gap's end to
24447         it's start before increasing the gap start.
24448         * javax/swing/plaf/basic/BasicTextAreaUI.java:
24449         (propertyChanged): Update the view only instead of
24450         indicating a document change.
24451
24452 2006-03-31  Roman Kennke  <kennke@aicas.com>
24453
24454         * javax/swing/JTextField.java
24455         (fireActionPerformed): Put the textfields text in the action
24456         instead of the action name.
24457
24458 2006-04-01  Raif S. Naffah  <raif@swiftdsl.com.au>
24459
24460         * tools/gnu/classpath/tools/jarsigner/Main.java (setupCommonParams):
24461         Check for null jar-file argument.
24462         (setupSigningParams): Check for null alias argument.
24463
24464 2006-03-31  Roman Kennke  <kennke@aicas.com>
24465
24466         * javax/swing/JComponent.java
24467         (paintChildren): Split up in two cases, depending on the
24468         optimizedDrawingEnabled flag.
24469         (paintChildrenWithOverlap): New method. Paints children when
24470         not optimizedDrawingEnabled. This implements better painting
24471         algorithm for overlapping components, so that the painted
24472         regions are minimized.
24473         (paintChildrenOptimized): New method. Paints children when
24474         when optimizedDrawingEnabled. This implements a painting
24475         algorithm that is optimized for the case when all children
24476         are guaranteed to be tiled.
24477
24478 2006-03-31  Raif S. Naffah  <raif@swiftdsl.com.au>
24479
24480         * tools/gnu/classpath/tools/jarsigner/SFHelper.java (updateEntry): Use
24481         Attributes.putValue(String,String).
24482         (finishSigning): Likewise.
24483         * gnu/java/util/jar/JarUtils.java (MANIFEST_VERSION): New constant.
24484         (SIGNATURE_VERSION): Likewise.
24485         (readSFManifest): Use local string constant.
24486         (readMainSection): Likewise.
24487         (readVersionInfo): Likewise.
24488         * java/util/jar/Attributes.java (MANIFEST_VERSION):
24489         Redefined using JarUtils constant.
24490         (SIGNATURE_VERSION): Likewise.
24491         (putValue(Name,String)): Made it private.
24492
24493 2006-03-31  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
24494
24495         * javax/swing/DefaultListSelectionModel.java (fireDifference):
24496         New method. (clearSelection): Rewritten. (setSelectionInterval):
24497         Fire the difference between current and new selection.
24498         * javax/swing/JTable.java (columnSelectionChanged, valueChanged):
24499         Only repaint the region, where selection has been changed.
24500         * javax/swing/plaf/basic/BasicTableUI.java 
24501         (TableAction.actionPerformed): Do not change the column selection
24502         when only row selection change is wanted (and in reverse) and 
24503         do not call the repaint() here.
24504
24505 2006-03-31  David Gilbert  <david.gilbert@object-refinery.com>
24506
24507         Fixes bug #26951
24508         * javax/swing/DefaultComboBoxModel.java
24509         (DefaultComboBoxModel(Vector)): Call getSize() instead of 
24510         vector.size(),
24511         (addElement): Call list.addElement() rather than list.add(), and only
24512         update selected item if it is currently null,
24513         (removeElementAt): Update selected item, then remove the element.
24514
24515 2006-03-31  David Gilbert  <david.gilbert@object-refinery.com>
24516
24517         Fixes bug #26955
24518         * java/awt/geom/Point2D.java
24519         (distanceSq(double, double)): Fixed order of arguments,
24520         (distanceSq(Point2D)): Likewise,
24521         (distance(double, double)): Likewise,
24522         (distance(Point2D)): Likewise.
24523
24524 2006-03-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
24525
24526         * javax/imageio/plugins/jpeg/JPEGQTable.java: New file.
24527         * javax/imageio/plugins/jpeg/JPEGHuffmanTable.java
24528         (ACChrominanceLengths, ACChrominanceValues, ACLuminanceLengths,
24529         ACLuminanceValues, DCChrominanceLengths, DCChrominanceValues,
24530         DCLuminanceLengths, DCLuminanceValues): Remove fields.
24531
24532 2006-03-30  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
24533
24534         * javax.swing.JTable (constructor): Initialize column
24535         model column margin and table row margin before setting the
24536         table column model. (initialiseLocalVars): Do not call 
24537         setIntercellSpacing.
24538
24539 2006-03-30  Chris Burdess  <dog@gnu.org>
24540
24541         * javax/xml/datatype/DatatypeFactory.java (newDurationDayTime): Fix
24542           method signature.
24543         * javax/xml/validation/SchemaFactoryLoader.java: New file.
24544
24545 2006-03-30  Mark Wielaard  <mark@klomp.org>
24546
24547         PR 26848
24548         * java/awt/Window.java (dispatchEventImpl): On ComponentEvents
24549         adjust bounds. On resize invalidate and validate container.
24550         Always pass on ComponentEvents to Container super class.
24551         * gnu/java/awt/peer/gtk/GtkFramePeer.java (setBounds): Adjust for
24552         menuBar and pass to GtkWindowPeer super class.
24553         (postConfigureEvent): Adjust menu bar width. Adjust y and height
24554         bounds and pass to GtkWindowPeer super class.
24555         * gnu/java/awt/peer/gtk/GtkWindowPeer.java (x, y, width, height):
24556         New fields for local bounds.
24557         (getX, getY): New methods.
24558         (getWidth): Don't call into awtComponent.
24559         (getHeight): Likewise.
24560         (create): Cache local bounds.
24561         (setLocation): Documented, made protected and just call
24562         nativeSetLocation.
24563         (setLocationUnlocked): Removed unused method.
24564         (setBoundsUnlocked): Likewise.
24565         (setBounds): Check whether bounds actually changed and cache local
24566         bounds.
24567         (setSize): Documented and made protected.
24568         (setResizable): Documented and cache local bounds.
24569         (postConfigureEvent): Update local bounds. Don't call awtComponent
24570         directly but post ComponentEvents.
24571         (show): Cache local bounds.
24572         (getBounds): Override to return cached bounds.
24573
24574 2006-03-30  Lillian Angel  <langel@redhat.com>
24575
24576         * gnu/java/awt/peer/gtk/GdkGraphics.java
24577         (drawImage): Added check to prevent NPE.
24578         (drawImage): Likewise.
24579         (drawImage): Likewise.
24580         * java/awt/Choice.java
24581         (dispatchEventImpl): New function. selectedIndex was
24582         not being updated properly otherwise.
24583
24584 2006-03-30  Roman Kennke  <kennke@aicas.com>
24585
24586         * javax/swing/JTabbedPane.java
24587         (removeTabAt): Removed debug code.
24588
24589 2006-03-30  Roman Kennke  <kennke@aicas.com>
24590
24591         PR 26045
24592         * javax/swing/plaf/basic/BasicTextUI.java
24593         (installKeyboardActions): Simply call getKeymap() and install this.
24594         (createKeymap): Reimplemented to fetch a keymap from the UIManager.
24595
24596 2006-03-30  Roman Kennke  <kennke@aicas.com>
24597
24598         * javax/swing/JTabbedPane.java
24599         (removeTabAt): Adjust selection correctly when removing a tab
24600         before the selected tab. Also remove the component from the
24601         container, not only the tab object. Repaint and revalidate the
24602         component after the removal.
24603         (removeAll): Set selection to -1 before removing the tabs.
24604
24605 2006-03-29  Andrew John Hughes  <gnu_andrew@member.fsf.org>
24606
24607         * java/io/ObjectInputStream.java:
24608         (parseContent(byte)): Added enum support.
24609         * java/io/ObjectStreamConstants.java:
24610         (TC_ENUM): Added.
24611         (TC_MAX): Changed to new maximum, TC_ENUM.
24612         
24613 2006-03-29  Lillian Angel  <langel@redhat.com>
24614
24615         Partial fix for bug #26929
24616         * gnu/java/awt/peer/gtk/GtkPanelPeer.java
24617         (updateComponent): Removed. We want to clear the panel
24618         before painting.
24619         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
24620         (Java_gnu_java_awt_peer_gtk_GdkGraphics_clearRect): Fixed typo.
24621         Should set the background to the saved background color.
24622
24623 2006-03-29  Mark Wielaard  <mark@klomp.org>
24624
24625         Partial fix for bug #26848 (pack).
24626         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (setVisible):
24627         Always show instances of Window.
24628
24629 2006-03-29  David Gilbert  <david.gilbert@object-refinery.com>
24630
24631         * javax/swing/JSlider.java
24632         (setPaintLabels): Only create standard labels if labelTable is null,
24633         * javax/swing/plaf/basic/BasicSliderUI.java
24634         (PropertyChangeHandler.propertyChange): Recalculate geometry for 
24635         "paintTicks" property change,
24636         (calculateThumbSize): Updated API docs,
24637         (calculateContentRect): Likewise,
24638         (calculateTrackBuffer): Take into account the lowest and highest 
24639         labels when calculating buffer space,
24640         (calculateTrackRect): Include labels, if visible, in the calculation of
24641         the trackRect position,
24642         (calculateTickRect): Height is zero if ticks are not painted,
24643         (calculateLabelRect): Use max dimensions of actual labels,
24644         (getWidthOfHighValueLabel): Use preferred size,
24645         (getWidthOfLowValueLabel): Likewise,
24646         (getHeightOfHighValueLabel): Likewise,
24647         (getHeightOfLowValueLabel): Likewise,
24648         (drawInverted): Just return slider setting,
24649         (getHighestValueLabel): Updated API docs,
24650         (paintTicks): Removed redundant (and buggy) code, replaced with calls 
24651         to xPositionForValue() and yPositionForValue(),
24652         (paintHorizontalLabel): Removed full qualification of class name,
24653         (paintVerticalLabel): Likewise,
24654         (xPositionForValue): Reimplemented,
24655         (yPositionForValue): Reimplemented,
24656         * javax/swing/plaf/metal/MetalSliderUI.java
24657         (paintTrack): Made track one pixel longer.
24658
24659 2006-03-29  Tom Tromey  <tromey@redhat.com>
24660
24661         PR gcc/26901:
24662         * tools/Makefile.am (JCOMPILER): Added encoding options.
24663         * examples/Makefile.am (JCOMPILER): Added encoding options.
24664
24665 2006-03-29  Gary Benson  <gbenson@redhat.com>
24666
24667         Partial fix for PR classpath/24895
24668         * java/io/FilePermission.java (implies): Canonicalize paths.
24669
24670 2006-03-29  Robert Schuster  <robertschuster@fsfe.org>
24671
24672         PR 26888
24673         * javax/swing/text/GapContent.java:
24674         (replace): Added call to resetMarksAtZero.
24675
24676 2006-03-29  Roman Kennke  <kennke@aicas.com>
24677
24678         PR 23527
24679         * javax/swing/plaf/basic/BasicMenuItemUI.java
24680         (cachedRect): New field.
24681         (BasicMenuItemUI): Initialize cachedRect field.
24682         (getPreferredMenuItemSize): Use layoutMenuItem() helper method
24683         to determine layout. Store maximum accelerator and text width
24684         in client properties of parent to allow correct alignment
24685         of accelerators among menu items of one menu.
24686         (paintMenuItem): Outsourced menu item layout into layoutMenuItem
24687         method. Align accelerators according to the values calculated
24688         in getPreferredMenuItemSize.
24689         (getAcceleratorString) New helper method.
24690         (layoutMenuItem): New helper method.
24691
24692 2006-03-29  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
24693
24694         * gnu/java/rmi/activation/ActivationSystemTransient.java: Rewritten.
24695         * gnu/java/rmi/activation/BidiTable.java: Rewritten.
24696         * gnu/java/rmi/dgc/LeaseRenewingTask.java (constructor, sheduleLeases):
24697         Avoid NPEs.
24698         * gnu/java/rmi/server/ActivatableServerRef.java (getRefClass, 
24699         readExternal, writeExternal): New methods.
24700         * gnu/java/rmi/server/UnicastRef.java (invokeCommon): Splitten into
24701         two stages, invokeCommon(Remote, ...) and 
24702         invokeCommen(UnicastConnection, ...).
24703         * java/rmi/server/RemoteObject.java (readObject, writeObject): Expect
24704         also the ActivatableRef. toString(): Documented.
24705         * gnu/java/rmi/server/ActivatableRef.java,
24706         tools/gnu/classpath/tools/rmi/Persistent.java,
24707         tools/gnu/classpath/tools/rmi/PersistentBidiHashTable.java,
24708         tools/gnu/classpath/tools/rmi/PersistentHashTable.java,
24709         tools/gnu/classpath/tools/rmi/REGISTRY.java,
24710         tools/gnu/classpath/tools/rmi/REGISTRY.txt,
24711         tools/gnu/classpath/tools/rmi/RMID.java,
24712         tools/gnu/classpath/tools/rmi/RMID.txt,
24713         tools/gnu/classpath/tools/rmi/registry/RegistryImpl.java,
24714         tools/gnu/classpath/tools/rmi/registry/RegistryImpl_Skel.java,
24715         tools/gnu/classpath/tools/rmi/registry/RegistryImpl_Stub.java,
24716         tools/gnu/classpath/tools/rmi/registry/package.html,
24717         tools/gnu/classpath/tools/rmi/rmid/ActivationSystemImpl.java,
24718         tools/gnu/classpath/tools/rmi/rmid/ActivationSystemImpl_Stub.java: 
24719         New files.
24720         * tools/README: Documented.
24721         * NEWS: Added entry about the activation.
24722
24723 2006-03-29  Roman Kennke  <kennke@aicas.com>
24724
24725         PR 23527
24726         * javax/swing/plaf/basic/BasicMenuItemUI.java
24727         (viewRect): New field.
24728         (textRect): New field.
24729         (accelRect): New field.
24730         (iconRect): New field.
24731         (arrowIconRect): New field.
24732         (checkIconRect): New field.
24733         (BasicMenuItemUI): Initialize new fields.
24734         (paintMenuItem): Rewritten to correctly layout and paint
24735         the menu item in a more straightforward way. Use cached rectangle
24736         objects for layout.
24737         (paintAccelerator): Pulled inside the paintMenuItem method.
24738
24739 2006-03-29  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
24740
24741         * tools/gnu/classpath/tools/rmi/rmic/templates/Stub_12Method.jav:
24742         Do not use initCause with UnexpectedException.
24743         * tools/gnu/classpath/tools/rmi/rmic/templates/Stub_12MethodVoid.jav:
24744         Likewise. 
24745
24746 2006-03-29  Mark Wielaard  <mark@klomp.org>
24747
24748         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
24749         (setCursorID): Removed unused static variable.
24750
24751 2006-03-29  David Gilbert  <david.gilbert@object-refinery.com>
24752
24753         * javax/swing/plaf/basic/BasicSliderUI.java: Reformatted.
24754
24755 2006-03-29  Mark Wielaard  <mark@klomp.org>
24756
24757         Fixes bug #26527
24758         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
24759         (gtkWidgetSetCursorUnlocked): Call gdk_flush().
24760
24761 2006-03-28  Roman Kennke  <kennke@aicas.com>
24762
24763         * javax/swing/UIManager.java
24764         (installLookAndFeel): Implemented.
24765         (setInstalledLookAndFeels): Implemented.
24766
24767 2006-03-28  Roman Kennke  <kennke@aicas.com>
24768
24769         * javax/swing/plaf/metal/MetalButtonUI.java
24770         (update): Paint gradient only when the background color
24771         is not a UIResource and if the button is neither armed nor
24772         pressed and if the button is contentAreaFilled.
24773
24774 2006-03-28  Roman Kennke  <kennke@aicas.com>
24775
24776         * javax/swing/JLayeredPane.java
24777         (addImpl): Repaint added component.
24778
24779 2006-03-28  Ito Kazumitsu  <kaz@maczuka.gcd.org>
24780
24781         * java/util/regex/Matcher.java: Reverted.
24782
24783 2006-03-28  Roman Kennke  <kennke@aicas.com>
24784
24785         * javax/swing/text/AsyncBoxView.java
24786         (setEstimatedMajorSpan): Made method protected.
24787         (getEstimatedMajorSpan): Made method protected.
24788         * javax/swing/text/BoxView.java
24789         (flipEastAndWestAtEnds): Fixed typo.
24790         * javax/swing/text/InternationalFormatter.java
24791         (getActions): Made method protected.
24792         * javax/swing/text/Position.java
24793         (Bias): Made class final.
24794         * javax/swing/text/html/HTML.java
24795         (MEDIA): Made field package private. Not specified.
24796         (NOBR): Made field package private. Not specified.
24797         * javax/swing/text/html/NullView.java
24798         Made class package private.
24799         * javax/swing/text/html/parser/Entity.java
24800         Made class non-serializable as specified.
24801
24802 2006-03-28  Roman Kennke  <kennke@aicas.com>
24803
24804         * javax/swing/plaf/metal/MetalButtonUI.java
24805         (update): Don't paint gradient if the background color is
24806         no UIResource. Removed double getModel() call. Don't check for
24807         OceanTheme.
24808
24809 2006-03-28  Roman Kennke  <kennke@aicas.com>
24810
24811         * javax/swing/plaf/basic/BasicMenuItemUI.java
24812         (paint): Call paintMenuItem with the selectionBackground as
24813         parameter.
24814         (paintBackground): Fixed the condition and color for the background
24815         painting.
24816
24817 2006-03-28  Roman Kennke  <kennke@aicas.com>
24818
24819         * javax/swing/plaf/metal/MetalTabbedPaneUI.java
24820         (tabsOpaque): New field.
24821         (paintLeftTabBorder): Paint some parts only when the tabs are
24822         opaque. Determine the tab background using the paintLeftTabBorder()
24823         helper method.
24824         (paintRightTabBorder): Likewise.
24825         (installDefaults): Fetch tabsOpaque property from the UIDefaults.
24826
24827 2006-03-27  Tom Tromey  <tromey@redhat.com>
24828
24829         PR classpath/25189:
24830         * java/lang/Enum.java (valueOf): Ensure that the named field
24831         is an enum constant.
24832         (compareTo): Check class of enum.
24833
24834 2006-03-27  Tom Tromey  <tromey@redhat.com>
24835
24836         * java/lang/reflect/ParameterizedType.java: Javadoc fix.
24837
24838 2006-03-27  Tom Tromey  <tromey@redhat.com>
24839
24840         * vm/reference/java/lang/reflect/Method.java (METHOD_MODIFIERS):
24841         New constant.
24842         (getModifiersInternal): Renamed from getModifiers.
24843         (getModifiers): New method.
24844         (isBridge): Likewise.
24845         (isSynthetic): Likewise.
24846         (isVarArgs): Likewise.
24847         * vm/reference/java/lang/reflect/Field.java (FIELD_MODIFIERS):
24848         New constant.
24849         (getModifiersInternal): Renamed from getModifiers.
24850         (getModifiers): New method.
24851         (isSynthetic): Likewise.
24852         (isEnumConstant): Likewise.
24853         * vm/reference/java/lang/reflect/Constructor.java
24854         (getModifiersInternal): Renamed from getModifiers.
24855         (getModifiers): New method
24856         (CONSTRUCTOR_MODIFIERS): New constant.
24857         (isSynthetic): New method.
24858         (isVarArgs): Likewise.
24859         * java/lang/reflect/Member.java (isSynthetic): New method.
24860
24861 2006-03-28  Tom Tromey  <tromey@redhat.com>
24862
24863         * java/net/Proxy.java (TYPE): Added missing ";".
24864
24865 2006-03-27  Andrew John Hughes  <gnu_andrew@member.fsf.org>
24866
24867         * java/math/RoundingMode.java:
24868         Fixed serialization UID.
24869         * java/net/Proxy.java:
24870         (Type): Likewise.
24871         
24872 2006-03-27  Andrew John Hughes  <gnu_andrew@member.fsf.org>
24873
24874         * java/io/CharArrayWriter.java:
24875         (append(char)): Documented.
24876         (append(CharSequence)): Likewise.
24877         (append(CharSequence,int,int)): Likewise.
24878         
24879 2006-03-27  Jeroen Frijters  <jeroen@frijters.net>
24880
24881         * vm/reference/java/lang/reflect/Constructor.java
24882         (getTypeParameters): Check return value of getSignature for null.
24883         * vm/reference/java/lang/reflect/Method.java
24884         (getTypeParameters): Check return value of getSignature for null.
24885
24886 2006-03-27  Andrew John Hughes  <gnu_andrew@member.fsf.org>
24887
24888         * java/rmi/activation/ActivationGroup_Stub.java:
24889         Made final.
24890         
24891 2006-03-27  Tom Tromey  <tromey@redhat.com>
24892        
24893         * java/io/CharArrayWriter.java (append): New overloads.
24894         
24895 2006-03-27  Lillian Angel  <langel@redhat.com>
24896
24897         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
24898         (Java_gnu_java_awt_peer_gtk_GdkGraphics_nativeDispose):
24899         Added check for colormap. Prevents assertion error.
24900         (Java_gnu_java_awt_peer_gtk_GdkGraphics_setFGColor):
24901         Likewise.
24902         (Java_gnu_java_awt_peer_gtk_GdkGraphics_nativeCopyState):
24903         Likewise.
24904         (Java_gnu_java_awt_peer_gtk_GdkGraphics_initState__II):
24905         Likewise.
24906         (Java_gnu_java_awt_peer_gtk_GdkGraphics_initFromImage):
24907         Likewise.
24908         (Java_gnu_java_awt_peer_gtk_GdkGraphics_initStateUnlocked):
24909         Likewise.
24910
24911 2006-03-27  Dalibor Topic  <robilad@kaffe.org>
24912
24913         * m4/acinclude.m4 (CLASSPATH_FIND_JAVAC): Use 
24914         AC_MSG_ERROR instead of echoing the error message 
24915         that no compiler has been found manually.
24916
24917 2006-03-27  Roman Kennke  <kennke@aicas.com>
24918
24919         * javax/swing/RepaintManager.java
24920         (commitBuffer): Use simple drawImage() method instead of the
24921         scaling version.
24922
24923 2006-03-27  Robert Schuster  <robertschuster@fsfe.org>
24924
24925         * javax/swing/text/PlainView.java:
24926         (drawLine): Use 'endOffset' instead of 'selectionEnd'
24927         for painting the selected line.
24928
24929 2006-03-27  David Gilbert  <david.gilbert@object-refinery.com>
24930
24931         * javax/swing/plaf/basic/BasicSliderUI.java
24932         (getThumbSize): Removed TODO and updated API docs.
24933
24934 2006-03-27  Robert Schuster  <robertschuster@fsfe.org>
24935
24936         * javax/swing/text/DefaultCaret.java:
24937         (mouseClicked): Word selection rewritten.
24938         (paint): Draw line inside the bounding rectangle.
24939         (damage): Retrieve caret height from line height.
24940
24941 2006-03-28  Raif S. Naffah  <raif@swiftdsl.com.au>
24942
24943         * tools/gnu/classpath/tools/jarsigner/Main.java (processArgs): Check
24944         for null args.
24945         Check for -help option.
24946         * tools/gnu/classpath/tools/jarsigner/jarsigner.txt: Added -help option.
24947
24948 2006-03-27  Roman Kennke  <kennke@aicas.com>
24949
24950         * javax/swing/text/FieldView.java
24951         (getPreferredSpan): Don't include trailing newline in
24952         calculations.
24953         * javax/swing/text/PlainView.java
24954         (drawLine): Don't include trailing newline.
24955         (determineMaxLineLength): Don't include trailing newline.
24956         (getLineBuffer): Made method final.
24957
24958 2006-03-27  David Gilbert  <david.gilbert@object-refinery.com>
24959
24960         * javax/swing/JSlider.java
24961         (AccessibleJSlider.AccessibleJSlider): Minor API doc edit,
24962         (AccessibleJSlider.getAccessibleRole): Removed declaration of 
24963         NotImplementedException,
24964         (AccessibleJSlider.getAccessibleValue): Updated API docs.
24965
24966 2006-03-26  Andrew John Hughes  <gnu_andrew@member.fsf.org>
24967
24968         * java/lang/ProcessBuilder.java:
24969         Made final.
24970
24971 2006-03-26  Andrew John Hughes  <gnu_andrew@member.fsf.org>
24972
24973         * gnu/java/net/protocol/http/Headers.java:
24974         Match layout of file on HEAD.
24975         * gnu/javax/swing/text/html/parser/htmlValidator.java:
24976         Likewise.
24977         * java/awt/datatransfer/DataFlavor.java
24978         Likewise.
24979
24980 2006-03-26  Andrew John Hughes  <gnu_andrew@member.fsf.org>
24981
24982         * gnu/java/security/jce/hash/HavalSpi.java,
24983         * gnu/java/security/jce/hash/MD2Spi.java,
24984         * gnu/java/security/jce/hash/MD4Spi.java,
24985         * gnu/java/security/jce/hash/MD5Spi.java,
24986         * gnu/java/security/jce/hash/MessageDigestAdapter.java,
24987         * gnu/java/security/jce/hash/RipeMD128Spi.java,
24988         * gnu/java/security/jce/hash/RipeMD160Spi.java,
24989         * gnu/java/security/jce/hash/Sha160Spi.java,
24990         * gnu/java/security/jce/hash/Sha256Spi.java,
24991         * gnu/java/security/jce/hash/Sha384Spi.java,
24992         * gnu/java/security/jce/hash/Sha512Spi.java,
24993         * gnu/java/security/jce/hash/TigerSpi.java,
24994         * gnu/java/security/jce/hash/WhirlpoolSpi.java,
24995         * gnu/java/security/jce/sig/DSSKeyPairGeneratorSpi.java,
24996         * gnu/java/security/jce/sig/DSSRawSignatureSpi.java,
24997         * gnu/java/security/jce/sig/KeyPairGeneratorAdapter.java,
24998         * gnu/java/security/jce/sig/RSAPSSRawSignatureSpi.java,
24999         * gnu/java/security/jce/sig/SignatureAdapter.java,
25000         * gnu/java/security/key/IKeyPairCodec.java,
25001         * gnu/java/security/key/IKeyPairGenerator.java,
25002         * gnu/java/security/key/KeyPairGeneratorFactory.java,
25003         * gnu/java/security/key/dss/DSSKey.java,
25004         * gnu/java/security/key/dss/DSSKeyPairRawCodec.java,
25005         * gnu/java/security/key/dss/DSSPrivateKey.java,
25006         * gnu/java/security/key/dss/DSSPublicKey.java,
25007         * gnu/java/security/key/dss/FIPS186.java,
25008         * gnu/java/security/key/rsa/GnuRSAKey.java,
25009         * gnu/java/security/key/rsa/GnuRSAPrivateKey.java,
25010         * gnu/java/security/key/rsa/GnuRSAPublicKey.java,
25011         * gnu/java/security/sig/ISignature.java,
25012         * gnu/java/security/sig/ISignatureCodec.java,
25013         * gnu/java/security/sig/dss/DSSSignature.java,
25014         * gnu/java/security/sig/dss/DSSSignatureRawCodec.java,
25015         * gnu/java/security/sig/rsa/RSAPSSSignature.java,
25016         * gnu/java/security/sig/rsa/RSAPSSSignatureRawCodec.java,
25017         * gnu/java/security/util/Util.java:
25018         Remove CVS revision tags.
25019
25020 2006-03-26  Tom Tromey  <tromey@redhat.com>
25021
25022         * java/io/InputStream.java (InputStream): Implements Closeable.
25023         
25024 2006-03-26  Ito Kazumitsu  <kaz@maczuka.gcd.org>
25025
25026         * gnu/regexp/CharIndexed.java(setLastMatch, getLastMatch, getAnchor):
25027         New methods.
25028         * gnu/regexp/CharIndexedCharArray.java(setLastMatch, getLastMatch,
25029         getAnchor): New methods.
25030         * gnu/regexp/CharIndexedInputStream.java(setLastMatch, getLastMatch,
25031         getAnchor): New methods.
25032         * gnu/regexp/CharIndexedString.java(setLastMatch, getLastMatch,
25033         getAnchor): New methods.
25034         * gnu/regexp/CharIndexedStringBuffer.java(setLastMatch, getLastMatch,
25035         getAnchor): New methods.
25036         * gnu/regexp/REMatch.java(start1): New field.
25037         * gnu/regexp/RE.java(initialize): Added support for \z and \G,
25038         (match): set the starting position to start1[] instead of start[],
25039         (getMatchImpl): Set the found REMatch to the input,
25040         (makeCharIndexed): Made public.
25041         * gnu/regexp/RETokenEndOfPreviousMatch.java: New file.
25042         * gnu/regexp/RETokenEndSub.java(matchThis, findMatch):
25043         set the value of start[] copying from start1[].
25044         * gnu/regexp/RETokenLookBehind.java(matchThis): Added the settings of
25045         offset.
25046         * java/util/regex/Matcher.java(inputCharIndexed): New field
25047         to be used as a parameter of the RE#getMatch.
25048
25049 2006-03-26  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
25050
25051         * gnu/java/rmi/activation/DefaultActivationGroup.java: 
25052         Documented the default jre spawning strategy (none).
25053         * java/rmi/activation/ActivationGroup.java (currentGroupId,
25054         getSystem): Obtain the acticivation system from the 
25055         DefaultActivationSystem.
25056
25057 2006-03-26  Raif S. Naffah  <raif@swiftdsl.com.au>
25058
25059         * tools/gnu/classpath/tools/jarsigner/Main.java (setupSigningParams):
25060         Ask user for keystore password if one was not provided.
25061
25062 2006-03-26  Raif S. Naffah  <raif@swiftdsl.com.au>
25063
25064         * tools/README: Added Security tools section.
25065         Documented the jarsigner tool.
25066
25067 2006-03-25  David Gilbert  <david.gilbert@object-refinery.com>
25068
25069         * javax/swing/JScrollBar.java
25070         (AccessibleJScrollBar.getAccessibleStateSet): Implemented,
25071         (AccessibleJScrollBar.getAccessibleRole): Likewise,
25072         (AccessibleJScrollBar.getAccessibleValue): Likewise,
25073         (AccessibleJScrollBar.getCurrentAccessibleValue): Likewise,
25074         (AccessibleJScrollBar.setCurrentAccessibleValue): Likewise,
25075         (AccessibleJScrollBar.getMinimumAccessibleValue): Likewise,
25076         (AccessibleJScrollBar.getMaximumAccessibleValue): Likewise,
25077         (getAccessibleContext): Updated API docs.
25078
25079 2006-03-25  Tom Tromey  <tromey@redhat.com>
25080
25081         * .externalToolBuilders/CreateLocaleData.launch: Run if resource files
25082         change or if generator script changes.
25083
25084 2006-03-25  Tom Tromey  <tromey@redhat.com>
25085
25086         * javax/naming/ldap/StartTlsRequest.java: New file.
25087         * javax/naming/ldap/StartTlsResponse.java: New file.
25088
25089 2006-03-25  Olivier Jolly  <olivier.jolly@pcedev.com>
25090
25091     * java/net/URLClassLoader.java (FileURLLoader.getResource): Added test
25092     to validate all components of a resource path.
25093     (FileURLLoader.walkPathComponents): Helper which ensures that we are
25094     allowed to walk through every component of a resource path.
25095     
25096 2006-03-25  Michael Koch  <konqueror@gmx.de>
25097
25098         * NEWS: Added item for CLDR 1.3 update.
25099
25100 2006-03-25  Michael Koch  <konqueror@gmx.de>
25101
25102         * resource/gnu/java/locale/LocaleInformation_ar_IN.properties,
25103         resource/gnu/java/locale/LocaleInformation_ar_IQ.properties,
25104         resource/gnu/java/locale/LocaleInformation_ar_KW.properties,
25105         resource/gnu/java/locale/LocaleInformation_ar_LY.properties,
25106         resource/gnu/java/locale/LocaleInformation_mn_MN.properties,
25107         resource/gnu/java/locale/LocaleInformation_uz_AF.properties:
25108         Removed locales.
25109
25110 2006-03-25  Michael Koch  <konqueror@gmx.de>
25111
25112         * resource/gnu/java/locale/LocaleInformation_az.properties,
25113         resource/gnu/java/locale/LocaleInformation_bs.properties,
25114         resource/gnu/java/locale/LocaleInformation_byn.properties,
25115         resource/gnu/java/locale/LocaleInformation_byn_ER.properties,
25116         resource/gnu/java/locale/LocaleInformation_el_CY.properties,
25117         resource/gnu/java/locale/LocaleInformation_gez.properties,
25118         resource/gnu/java/locale/LocaleInformation_gez_ER.properties,
25119         resource/gnu/java/locale/LocaleInformation_gez_ET.properties,
25120         resource/gnu/java/locale/LocaleInformation_haw.properties,
25121         resource/gnu/java/locale/LocaleInformation_haw_US.properties,
25122         resource/gnu/java/locale/LocaleInformation_kok.properties,
25123         resource/gnu/java/locale/LocaleInformation_kok_IN.properties,
25124         resource/gnu/java/locale/LocaleInformation_sid.properties,
25125         resource/gnu/java/locale/LocaleInformation_sid_ET.properties,
25126         resource/gnu/java/locale/LocaleInformation_sl_SI.properties,
25127         resource/gnu/java/locale/LocaleInformation_sr_BA_Cyrl.properties,
25128         resource/gnu/java/locale/LocaleInformation_sr_BA_Latn.properties,
25129         resource/gnu/java/locale/LocaleInformation_sr_Cyrl.properties,
25130         resource/gnu/java/locale/LocaleInformation_syr.properties,
25131         resource/gnu/java/locale/LocaleInformation_syr_SY.properties,
25132         resource/gnu/java/locale/LocaleInformation_tig.properties,
25133         resource/gnu/java/locale/LocaleInformation_tig_ER.properties,
25134         resource/gnu/java/locale/LocaleInformation_uz_AF_Arab.properties,
25135         resource/gnu/java/locale/LocaleInformation_uz_Arab.properties,
25136         resource/gnu/java/locale/LocaleInformation_uz_Latn.properties,
25137         resource/gnu/java/locale/LocaleInformation_wal.properties,
25138         resource/gnu/java/locale/LocaleInformation_wal_ET.properties:
25139         New locales.
25140
25141 2006-03-25  Michael Koch  <konqueror@gmx.de>
25142
25143         * resource/gnu/java/locale/LocaleInformation_fa.properties,
25144         resource/gnu/java/locale/LocaleInformation_kn.properties,
25145         resource/gnu/java/locale/LocaleInformation_kn_IN.properties,
25146         resource/gnu/java/locale/LocaleInformation_ko.properties,
25147         resource/gnu/java/locale/LocaleInformation_sl.properties,
25148         resource/gnu/java/locale/LocaleInformation_so.properties,
25149         resource/gnu/java/locale/LocaleInformation_so_DJ.properties,
25150         resource/gnu/java/locale/LocaleInformation_so_ET.properties,
25151         resource/gnu/java/locale/LocaleInformation_so_SO.properties,
25152         resource/gnu/java/locale/LocaleInformation_sr.properties:
25153         Random fixes I forgot to commit before.
25154
25155 2006-03-25  Michael Koch  <konqueror@gmx.de>
25156
25157         * resource/gnu/java/locale/LocaleInformation_ar_JO.properties,
25158         resource/gnu/java/locale/LocaleInformation_ar_QA.properties,
25159         resource/gnu/java/locale/LocaleInformation_ar_SA.properties,
25160         resource/gnu/java/locale/LocaleInformation_ar_SY.properties,
25161         resource/gnu/java/locale/LocaleInformation_ar_TN.properties,
25162         resource/gnu/java/locale/LocaleInformation_ar_YE.properties,
25163         resource/gnu/java/locale/LocaleInformation_as_IN.properties,
25164         resource/gnu/java/locale/LocaleInformation_be_BY.properties,
25165         resource/gnu/java/locale/LocaleInformation_bn_IN.properties,
25166         resource/gnu/java/locale/LocaleInformation_en.properties,
25167         resource/gnu/java/locale/LocaleInformation_en_IN.properties,
25168         resource/gnu/java/locale/LocaleInformation_en_PK.properties,
25169         resource/gnu/java/locale/LocaleInformation_en_US_POSIX.properties,
25170         resource/gnu/java/locale/LocaleInformation_es_PY.properties,
25171         resource/gnu/java/locale/LocaleInformation_fa.properties,
25172         resource/gnu/java/locale/LocaleInformation_fa_AF.properties,
25173         resource/gnu/java/locale/LocaleInformation_fa_IR.properties,
25174         resource/gnu/java/locale/LocaleInformation_gu_IN.properties,
25175         resource/gnu/java/locale/LocaleInformation_hi_IN.properties,
25176         resource/gnu/java/locale/LocaleInformation_ja_JP.properties,
25177         resource/gnu/java/locale/LocaleInformation_kn_IN.properties,
25178         resource/gnu/java/locale/LocaleInformation_mr_IN.properties,
25179         resource/gnu/java/locale/LocaleInformation_or_IN.properties,
25180         resource/gnu/java/locale/LocaleInformation_pa.properties,
25181         resource/gnu/java/locale/LocaleInformation_pa_IN.properties,
25182         resource/gnu/java/locale/LocaleInformation_ps_AF.properties,
25183         resource/gnu/java/locale/LocaleInformation_ru_RU.properties,
25184         resource/gnu/java/locale/LocaleInformation_sa.properties,
25185         resource/gnu/java/locale/LocaleInformation_sa_IN.properties,
25186         resource/gnu/java/locale/LocaleInformation_ta_IN.properties,
25187         resource/gnu/java/locale/LocaleInformation_te_IN.properties:
25188         Updated currency formats.
25189
25190 2006-03-25  Roman Kennke  <kennke@aicas.com>
25191
25192         * javax/swing/text/AbstractDocument.java
25193         (getAttributeContext): Made method final.
25194         (getCurrentWriter): Likewise.
25195         (getEndPosition): Likewise.
25196         (getProperty): Likewise.
25197         (getStartPosition): Likewise.
25198         (putProperty): Likewise.
25199         (readLock): Likewise.
25200         (readUnlock): Likewise.
25201         (writeLock): Likewise.
25202         (writeUnlock): Likewise.
25203
25204 2006-03-25  Roman Kennke  <kennke@aicas.com>
25205
25206         * javax/swing/InputMap.java
25207         (allKeys): Check if parent keys is null.
25208         * javax/swing/KeyboardManager.java
25209         (registerEntireMap): Also register map's parent keys.
25210         * javax/swing/plaf/metal/MetalRootPaneUI.java
25211         (propertyChange): Also call super.propertyChange().
25212
25213 2006-03-25  Raif S. Naffah  <raif@swiftdsl.com.au>
25214
25215         * tools/gnu/classpath/tools/jarsigner/HashUtils.java: New file.
25216         * tools/gnu/classpath/tools/jarsigner/JarSigner.java: Likewise.
25217         * tools/gnu/classpath/tools/jarsigner/JarVerifier.java: Likewise.
25218         * tools/gnu/classpath/tools/jarsigner/Main.java (Main): Likewise.
25219         * tools/gnu/classpath/tools/jarsigner/SFHelper.java: Likewise.
25220         * tools/gnu/classpath/tools/jarsigner/jarsigner.txt: Likewise.
25221
25222 2006-03-25  Raif S. Naffah  <raif@swiftdsl.com.au>
25223
25224         * gnu/java/util/jar/JarUtils.java: New file.
25225         * java/util/jar/Manifest.java (CRLF): Removed.
25226         (read_main_section): Likewise.
25227         (read_version_info): Likewise.
25228         (expect_header(String,BufferedReader)): Likewise.
25229         (expect_header(String,BufferedReader,String)): Likewise.
25230         (read_header_value): Likewise.
25231         (read_attributes): Likewise.
25232         (read_attribute): Likewise.
25233         (read_individual_sections): Likewise.
25234         (read_section_name): Likewise.
25235         (write_main_section): Likewise.
25236         (write_version_info): Likewise.
25237         (write_header): Likewise.
25238         (write_main_attributes): Likewise.
25239         (write_attribute_entry): Likewise.
25240         (write_individual_sections): Likewise.
25241         (write_entry_attributes): Likewise.
25242         (read): use JarUtils.
25243         (write): Likewise.
25244
25245 2006-03-25  Raif S. Naffah  <raif@swiftdsl.com.au>
25246
25247         * gnu/java/security/pkcs/SignerInfo.java (log): New field.
25248         (DEBUG): Removed.
25249         (debug): Likewise.
25250         (SignerInfo(BERReader)): Updated javadoc.
25251         Use JDK logging.
25252         (SignerInfo(X500Principal,BigInteger,OID,byte[],OID,byte[],byte[])):
25253         New constructor.
25254         (encode): New method.
25255         * gnu/java/security/pkcs/PKCS7SignedData.java (log): New field.
25256         (PKCS7_DATA): Removed.
25257         (DEBUG): Likewise.
25258         (debug): Likewise.
25259         (PKCS7SignedData(BERReader)): Updated javadoc.
25260         Use JDK logging.
25261         (PKCS7SignedData(Set,PKCS7Data,Certificate[],X509CRL[],Set)): New
25262         constructor.
25263         (encode): New method.
25264         * gnu/java/security/pkcs/PKCS7Data.java: New file.
25265         * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java (log): New field.
25266         (encodePrivateKey): Encode x (private MPN) as an OCTET STRING.
25267         (decodePrivateKey): Decode x from an OCTET STRING.
25268         * gnu/java/security/key/dss/DSSPublicKey.java (str): New field.
25269         (toString): New method.
25270         * gnu/java/security/key/dss/DSSPrivateKey.java (DEBUG): New field.
25271         (str): Likewise.
25272         (toString): New method.
25273         * gnu/java/security/key/dss/DSSKey.java (str): New Field.
25274         (toString): New method.
25275         * gnu/java/security/provider/DSAParameterGenerator.java: Removed.
25276
25277 2006-03-25  Roman Kennke  <kennke@aicas.com>
25278
25279         * java/util/GregorianCalender.java
25280         (computeTime): Fix comparison to correctly calculate the
25281         calendar.
25282
25283 2006-03-25  Wolfgang Baer  <WBaer@gmx.de>
25284
25285         Fixes bug #26837
25286         * java/awt/Window.java:         
25287         (setFocusCycleRoot): New overriden method.
25288         (isFocusCycleRoot): Likewise.
25289         (getFocusCycleRootAncestor): Likewise.
25290         * java/awt/Container.java:
25291         (getFocusTraversalPolicy): Check also for anchestor == null.
25292
25293 2006-03-25  Mark Wielaard  <mark@klomp.org>
25294
25295         Fixes bug #26863 reported by John K Peterson <johnandtina@byu.net>
25296         * gnu/java/util/prefs/NodeWriter.java (writeRoot): Don't immediately
25297         close root tag.
25298
25299 2006-03-24  Tom Tromey  <tromey@redhat.com>
25300
25301         * javax/imageio/stream/ImageOutputStreamImpl.java (writeBytes):
25302         Rewrote.
25303         (writeChar): Removed useless cast.
25304         (writeChars(String)): Implemented.
25305         (writeDouble): Rewrote.
25306         (writeFloat): Likewise.
25307         (writeUTF): Implemented.
25308         * javax/imageio/stream/ImageInputStreamImpl.java (byteOrder): Default
25309         to big endian.
25310
25311 2006-03-24  Roman Kennke  <kennke@aicas.com>
25312
25313         * javax/swing/JButton.java
25314         (def): Replaced field with defaultCapable field.
25315         (is_def): Removed field.
25316         (JButton): Initialize defaultCapable with true.
25317         (isDefaultButton): Documented and implemented method by querying
25318         the button's root pane if present.
25319         (isDefaultCapable): Changed def field to defaultCapable.
25320         Added documentation.
25321         (paramString): Call isDefaultButton() instead of accessing field,
25322         which got removed.
25323         (setDefaultCapable): Changed def field to defaultCapable.
25324         Added documentation.
25325         * javax/swing/JRootPane.java
25326         (setDefaultButton): Only change the default button if the
25327         new button is defaultCapable.
25328         * javax/swing/plaf/basic/BasicRootPaneUI.java
25329         (DefaultPressAction): New class.
25330         (DefaultReleaseAction): New class.
25331         (installKeyboardActions): Implemented.
25332         (uninstallKeyboardActions): Implemented.
25333         (propertyChange): Implemented.
25334         * javax/swing/plaf/metal/MetalBorders.java
25335         (ButtonBorder.paintBorder): 'Outsourced' default theme
25336         painting to paintDefaultButtonBorder().
25337         (ButtonBorder.paintDefaultButtonBorder): New helper method
25338         to paint the border in the default theme. This also fixes
25339         painting of the border for default buttons.
25340         (ButtonBorder.paintOceanButtonBorder): Added support for
25341         default button painting. Fixed border for pressed/default state.
25342         * javax/swing/plaf/metal/MetalButtonUI.java
25343         (update): Only paint gradient when in OceanTheme and when the
25344         button is not armed.
25345
25346 2006-03-24  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
25347
25348         * gnu/java/rmi/activation/ActivationSystemTransient.java:
25349         Inherit from Activator.
25350
25351 2006-03-24  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
25352
25353         * gnu/java/rmi/activation/DefaultActivationGroup.java (newInstance):
25354         Print debug message if debug flag is set.
25355         * gnu/java/rmi/activation/DefaultActivationSystem.java: Rewritten.
25356         * gnu/java/rmi/server/ActivatableServerRef.java (activate): assign
25357         detail, do not call iniCause(). (exportClass): New method.
25358         * gnu/java/rmi/server/CombinedClassLoader.java (constructor):
25359         Ignore null (bootstrap) class loader.
25360         * gnu/java/rmi/server/UnicastServerRef.java (methods, skel, stub,
25361         buildMethodHash, findStubSkelClass, getHelperClass): Changed 
25362         visibility to protected.
25363         * java/rmi/activation/Activatable.java (export, register): Rewritten.
25364         (toStub): New method.
25365         * java/rmi/activation/ActivationGroup.java (getSystem): Rewritten.
25366         * java/rmi/activation/ActivationSystem.java (SYSTEM_PORT): 
25367         Explained property java.rmi.activation.port.
25368
25369 2006-03-24  Tom Tromey  <tromey@redhat.com>
25370
25371         * .externalToolBuilders/CreateLocaleData.launch: Updated.
25372         * gnu/java/locale/.cvsignore: New file.
25373         * lib/Makefile.am (LocaleData.java): Put in gnu/java/locale.
25374         * java/util/Locale.java (getAvailableLocales): Clone result.
25375         (getISOCountries): Likewise.
25376         (getISOLanguages): Likewise.
25377         * scripts/generate-locale-list.sh: Make class public.  Added new
25378         array.
25379         * gnu/java/locale/LocaleHelper.java (getCollatorLocales): New method.
25380         (getLocaleCount): Likewise.
25381         * java/text/Collator.java (getInstance): Javadoc typo fix.
25382         (getAvailableLocales): Wrote.
25383
25384 2006-03-24  Roman Kennke  <kennke@aicas.com>
25385
25386         * javax/swing/JTabbedPane.java
25387         (getSelectedComponent): Return null when no component is
25388         selected.
25389
25390 2006-03-24  Mark Wielaard  <mark@klomp.org>
25391
25392         * NEWS: Add cursor and selection improvements.
25393
25394 2006-03-23  David Gilbert  <david.gilbert@object-refinery.com>
25395
25396         * java/awt/Component.java
25397         (getAccessibleName): Just return accessibleName,
25398         * javax/swing/AbstractButton.java
25399         (getAccessibleStateSet): Mark as stub,
25400         (getAccessibleName): Implemented,
25401         (getAcessibleIcon): Mark as stub,
25402         (getAccessibleRelationSet): Likewise,
25403         (getAccessibleAction): Likewise,
25404         (getAccessibleValue): Likewise,
25405         (getAccessibleActionCount): Likewise,
25406         (getAccessibleActionDescription): Likewise,
25407         (doAccessibleAction): Likewise,
25408         (getCurrentAccessibleValue): Likewise,
25409         (setCurrentAccessibleValue): Likewise,
25410         (getMinimumAccessibleValue): Likewise,
25411         (getMaximumAccessibleValue): Likewise,
25412         (getAccessibleText): Likewise,
25413         (getIndexAtPoint): Likewise,
25414         (getCharacterBounds): Likewise,
25415         (getCharCount): Likewise,
25416         (getCaretPosition): Likewise,
25417         (getAtIndex): Likewise,
25418         (getAfterIndex): Likewise,
25419         (getBeforeIndex): Likewise,
25420         (getCharacterAttribute): Likewise,
25421         (getSelectionStart): Likewise,
25422         (getSelectionEnd): Likewise,
25423         (getSelectedText): Likewise,
25424         (getTextRectangle): Likewise,
25425         (setIconTextGap): Fire PropertyChangeEvent, not state changed,
25426         (getIconTextGap): Added @since 1.4,
25427         (setContentAreaFilled): Reordered code to make event sequence match
25428         reference implementation,
25429         * javax/swing/JButton.java
25430         (getSelectedObjects): Removed,
25431         *javax/swing/JComponent.java
25432         (getAccessibleName): Call super.
25433
25434 2006-03-23  David Gilbert  <david.gilbert@object-refinery.com>
25435
25436         * javax/swing/JProgressBar.java
25437         (AccessibleJProgressBar.getAccessibleStateSet): Implemented,
25438         (AccessibleJProgressBar.getAccessibleRole): Added API docs,
25439         (AccessibleJProgressBar.getAccessibleValue): Implemented,
25440         (AccessibleJProgressBar.getCurrentAccessibleValue): Likewise,
25441         (AccessibleJProgressBar.setCurrentAccessibleValue): Likewise,
25442         (AccessibleJProgressBar.getMinimumAccessibleValue): Likewise,
25443         (AccessibleJProgressBar.getMaximumAccessibleValue): Likewise,
25444         (getAccessibleContext): Added API docs.
25445
25446 2006-03-23  Robert Schuster  <robertschuster@fsfe.org>
25447
25448         * javax/swing/plaf/basic/BasicTextUI.java:
25449         (FocusListener.focusLost): Put current selection into the system
25450         clipboard.
25451
25452 2006-03-23  Robert Schuster  <robertschuster@fsfe.org>
25453
25454         * java/awt/Component.java:
25455         (processMouseEvent): Remove call to consume event.
25456         (dispatchEventImpl): Handle specific events first, do focus request
25457         only when mouse event was not yet consumed.
25458         * javax/swing/text/DefaultCaret.java:
25459         (mousePressed): Rewritten.
25460         (setDot): Changed order of operations.
25461         (moveDot): Dito.
25462
25463 2006-03-23  David Gilbert  <david.gilbert@object-refinery.com>
25464
25465         * javax/swing/JComponent.java
25466         (AccessibleJComponent.changeSupport): Removed field,
25467         (AccessibleJComponent.AccessibleJComponent): Updated for removed field,
25468         (AccessibleJComponent.addPropertyChangeListener): Call super,
25469         (AccessibleJComponent.removePropertyChangeListener): Likewise,
25470         * javax/swing/JSlider.java
25471         (AccessibleJSlider.getAccessibleStateSet): Implemented,
25472         (AccessibleJSlider.getAccessibleRole): Likewise,
25473         (AccessibleJSlider.getAccessibleValue): Likewise,
25474         (AccessibleJSlider.getCurrentAccessibleValue): Likewise,
25475         (AccessibleJSlider.setCurrentAccessibleValue): Likewise,
25476         (AccessibleJSlider.getMinimumAccessibleValue): Likewise,
25477         (AccessibleJSlider.getMaximumAccessibleValue): Likewise,
25478         (getAccessibleContext): Added API docs.
25479
25480 2006-03-23  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
25481
25482         * gnu/java/rmi/activation/ActivationSystemTransient.java
25483         (debug): Made public. (constructor): Made protected.
25484         (activate, getActivationDesc): Throw more informative exceptions.
25485         * gnu/java/rmi/server/UnicastConnectionManager.java (toString):
25486         New method.
25487         * gnu/java/rmi/server/UnicastRef.java (remoteToString): 
25488         Stub, implemented.
25489         * gnu/java/rmi/server/UnicastServer.java (incomingMessageCall):
25490         Documented.
25491         * gnu/java/rmi/server/UnicastServerRef.java (incomingMessageCall):
25492         Better exception.
25493         * java/rmi/activation/Activatable.java (obtainId): Use the activation
25494         system, passed in the activation descriptor field.
25495         * java/rmi/activation/ActivationGroup.java (createGroup): Likewise.
25496         * java/rmi/activation/ActivationGroupID.java (system, uid): Changed
25497         to package private final. (equals): Compare uid, not the system. 
25498         (hashCode): Forward to uid.hashCode(). toString(): New method.
25499         * java/rmi/activation/ActivationID.java (readObject, writeObject):
25500         Rewritten. (equals): Compare UID only. toString(): New method.
25501         * java/rmi/server/ObjID.java (eq): New method. (equals): Compare also
25502         UID (space). (hashCode, toString): Rewritten.
25503         * java/rmi/server/RemoteObjectInvocationHandler.java (noArgs): 
25504         New method. (invoke): Treat null as an empty array for parameters.
25505         * java/rmi/server/UID.java (toString): Rewritten. (hashCode):
25506         Include count, do not include the static machineId.
25507
25508 2006-03-23  Tom Tromey  <tromey@redhat.com>
25509
25510         * java/net/URLConnection.java (getContent(Class[])): Implemented.
25511
25512 2006-03-23  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
25513
25514         * tools/gnu/classpath/tools/giop/GRMIC.java (main): Accept -force.
25515         * tools/gnu/classpath/tools/giop/GRMIC.txt: Explain -force.
25516         * tools/gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java
25517         (force): New field. (setForce): New method. (compile): Handle -force.
25518         * tools/gnu/classpath/tools/rmi/RMIC.java (main): Accept -force.
25519         * tools/gnu/classpath/tools/rmi/RMIC.txt: Explain -force.
25520
25521 2006-03-23  Roman Kennke  <kennke@aicas.com>
25522
25523         * javax/swing/JTabbedPane.java
25524         (Page.getBackground): Return the JTabbedPane's background,
25525         rather than the page's component background.
25526         (Page.getForeground): Return the JTabbedPane's foreground,
25527         rather than the page's component foreground.
25528         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
25529         (uninstallUI): Don't set colors to null.
25530         * javax/swing/plaf/metal/MetalTabbedPaneUI.java
25531         (paintTabBackground): Correctly determine the tab background.
25532         (getUnselectedBackground): New helper method to
25533         handle the UI property 'TabbedPane.unselectedBackground'
25534         correctly.
25535
25536 2006-03-23  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
25537
25538         * javax/swing/plaf/basic/BasicInternalFrameUI.java
25539         (BorderListener.showingResizeCursor): New field.
25540         (BorderListener.mouseMoved, BorderListner.mouseExited):
25541         Implemented.
25542
25543 2006-03-23  David Gilbert  <david.gilbert@object-refinery.com>
25544
25545         * javax/swing/JComboBox.java
25546         (selectWithKeyChar): Mark as stub,
25547         * javax/swing/JFileChooser.java
25548         (setDragEnabled): Mark as stub,
25549         (getDragEnabled): Likewise,
25550         * javax/swing/JSlider.java
25551         (AccessibleJSlider.getAccessibleStateSet): Mark as stub,
25552         (AccessibleJSlider.getAccessibleRole): Likewise,
25553         (AccessibleJSlider.getAccessibleValue): Likewise,
25554         (AccessibleJSlider.getCurrentAccessibleValue): Likewise,
25555         (AccessibleJSlider.setCurrentAccessibleValue): Likewise,
25556         (AccessibleJSlider.getMinimumAccessibleValue): Likewise,
25557         (AccessibleJSlider.getMaximumAccessibleValue): Likewise,
25558         * javax/swing/UIManager.java
25559         (installLookAndFeel): Mark as stub,
25560         (setInstalledLookAndFeels): Likewise.
25561
25562 2006-03-23  David Gilbert  <david.gilbert@object-refinery.com>
25563
25564         * javax/swing/filechooser/UnixFileSystemView.java
25565         (getSystemDisplayName): Mark as stub,
25566         (getSystemIcon): Likewise,
25567         (getSystemTypeDescription): Likewise.
25568
25569 2006-03-23  David Gilbert  <david.gilbert@object-refinery.com>
25570
25571         * javax/swing/tree/AbstractLayoutCache.java
25572         (getNodeDimensions): Mark as stub,
25573         (getPreferredHeight): Likewise,
25574         (getPreferredWidth): Likewise,
25575         (getRowsForPaths): Likewise,
25576         (isFixedRowHeight): Likewise,
25577         * javax/swing/tree/DefaultTreeModel.java
25578         (reload()): Mark as stub,
25579         (reload(TreeNode)): Likewise,
25580         (nodeStructureChanged): Likewise,
25581         * javax/swing/tree/DefaultTreeSelectionModel.java
25582         (clone): Mark as stub,
25583         (setRowMapper): Likewise,
25584         (setSelectionPaths): Likewise,
25585         (isRowSelected): Likewise,
25586         (resetRowSelection): Likewise,
25587         (insureRowContinuity): Likewise,
25588         (arePathsContiguous): Likewise,
25589         (canPathsBeAdded): Likewise,
25590         (canPathsBeRemoved): Likewise,
25591         (notifyPathChange): Likewise,
25592         (updateLeadIndex): Likewise,
25593         (insureUniqueness): Likewise,
25594         * javax/swing/tree/FixedHeightLayoutCache.java: Marked all methods as
25595         stubs,
25596         * javax/swing/tree/VariableHeightLayoutCache.java: Likewise.
25597
25598 2006-03-22  Tom Tromey  <tromey@redhat.com>
25599
25600         * javax/swing/text/StyleContext.java (getStaticAttribute): Mark as
25601         stub.
25602         (getStaticAttributeKey): Likewise.
25603         (readAttributeSet): Likewise.
25604         (writeAttributeSet): Likewise.
25605         (readAttributes): Likewise.
25606         (writeAttributes): Likewise.
25607         * javax/swing/text/html/HTMLEditorKit.java (insertAtBoundary): Mark
25608         as stub.
25609         * javax/swing/text/html/HTMLDocument.java (setParagraphAttributes):
25610         Mark as stub.
25611         (fireChangedUpdate): Likewise.
25612         (start): Likewise.
25613         (end): Likewise.
25614         (handleEndOfLineString): Likewise.
25615         (textAreaContent): Likewise.
25616         (preContent): Likewise.
25617         (addSpecialElement): Likewise.
25618         (setInnerHTML): Likewise.
25619         (setOuterHTML): Likewise.
25620         (insertBeforeStart): Likewise.
25621         (insertBeforeEnd): Likewise.
25622         (insertAfterEnd): Likewise.
25623         (insertAfterStart): Likewise.
25624         * javax/swing/table/JTableHeader.java (AccessibleJTableHeaderEntry):
25625         Mark all methods as stub.s
25626         * javax/swing/plaf/metal/MetalTreeUI.java (decodeLineStyle): Mark
25627         as stub.
25628         (paintHorizontalSeparators): Likewise.
25629         * javax/swing/plaf/basic/BasicLookAndFeel.java (loadSystemColors):
25630         Mark as stub.
25631         * javax/swing/MenuSelectionManager.java (processKeyEvent): Mark as
25632         stub.
25633         * java/beans/beancontext/BeanContextSupport.java: Mark most methods
25634         as stubs.
25635         * java/beans/beancontext/BeanContextServicesSupport.java: Mark most
25636         methods as stubs.
25637
25638 2006-03-22  Mark Wielaard  <mark@klomp.org>
25639
25640         * gnu/java/awt/peer/gtk/GtkCursor.java: New class.
25641
25642 2006-03-22  Mark Wielaard  <mark@klomp.org>
25643
25644         Fixes bug #26527
25645         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (gtkWidgetSetCursor):
25646         Takes GtkImage, x and y coordinates.
25647         (gtkWidgetSetCursorUnlocked): Likewise.
25648         (GtkComponentPeer): Set cursor when set.
25649         (setCursor): Handle GtkCursor.
25650         * gnu/java/awt/peer/gtk/GtkToolkit.java (createCustomCursor):
25651         New method.
25652         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
25653         (gtkWidgetSetCursor): Takes GtkImage, x and y coordinates.
25654         (gtkWidgetSetCursorUnlocked): Likewise. Handle custom image.
25655         * include/gnu_java_awt_peer_gtk_GtkComponentPeer.h: Regenerated.
25656
25657 2006-03-23  Roman Kennke  <kennke@aicas.com>
25658
25659         PR 26805
25660         * gnu/java/security/Registry.java
25661         (PKCS5_PAD): Added pad PKCS#5 algorithm.
25662         * gnu/javax/crypto/pad/PadFactory.java
25663         (getInstance): For PKCS#5, also return PKCS#7 pad
25664         algorithm.
25665         (getNames): Added PKCS#5.
25666         * javax/crypto/KeyGenerator.java
25667         (getInstance): Initialize key generator before returning
25668         it.
25669
25670 2006-03-23  Ito Kazumitsu  <kaz@maczuka.gcd.org>
25671
25672         * gnu/regexp/RE.java(REG_X_COMMENTS): New copilation flag,
25673         (initialize): Ignore whiltespaces and comments if REG_X_COMMENTS is set.
25674         * java/util/regex/Pattern.java(constructor): Set RE.REG_X_COMMENTS
25675         if COMMENTS is set.
25676
25677 2006-03-22  Tom Tromey  <tromey@redhat.com>
25678
25679         * javax/swing/plaf/synth/SynthStyle.java (getInt): Implemented.
25680         (getBoolean): Likewise.
25681         (getString): Likewise.
25682         (getIcon): Likewise.
25683
25684 2006-03-22  Mark Wielaard  <mark@klomp.org>
25685
25686         Fixes bug #26301
25687         * gnu/java/awt/peer/GLightweightPeer.java: Extend MouseAdapter.
25688         (GLightweightPeer(Component)): Install MouseListener.
25689         (setCursor): Implement.
25690         (mouseEntered): New method.
25691
25692 2006-03-22  Tom Tromey  <tromey@redhat.com>
25693
25694         * javax/swing/plaf/synth/ColorType.java (MAX_COUNT): No longer
25695         constant.
25696         * javax/swing/plaf/synth/SynthStyle.java (getColorForState): Now
25697         protected.
25698         (getFontForState): Likewise.
25699         (getInsets): Added 'result' argument.
25700         (getPainter): Renamed.
25701
25702 2006-03-22  Tom Tromey  <tromey@redhat.com>
25703
25704         * javax/swing/plaf/synth/SynthPainter.java
25705         (paintScrollBarThumbBackground): Added 'orientation' argument.
25706         (paintScrollBarThumbBorder): Likewise.
25707         (paintSliderThumbBackground): Likewise.
25708         (paintSliderThumbBorder): Likewise.
25709         (paintTabbedPaneTabBackground): Added 'index' argument.
25710         (paintTabbedPaneTabBorder): Likewise.
25711
25712 2006-03-22  Tom Tromey  <tromey@redhat.com>
25713
25714         * java/awt/ScrollPaneAdjustable.java (paramString): Implemented.
25715         (toString): New method.
25716
25717 2006-03-22  Tom Tromey  <tromey@redhat.com>
25718
25719         * doc/hacking.texinfo (Source Code Style Guide): Mention
25720         NotImplementedException.
25721         * javax/imageio/stream/MemoryCacheImageOutputStream.java
25722         (flushBefore): Mark as stub.
25723         (read): Likewise.
25724         * javax/imageio/stream/MemoryCacheImageInputStream.java (flushBefore):
25725         Mark as stub.
25726         * javax/imageio/stream/ImageOutputStreamImpl.java (flushBits): Mark
25727         as stub.
25728         (write): Likewise.
25729         (writeBit): Likewise.
25730         (writeChars): Likewise.
25731         (writeUTF): Likewise.
25732         * javax/imageio/stream/FileCacheImageOutputStream.java (read): Mark
25733         as stub.
25734         (read): Likewise.
25735         * java/net/URLConnection.java (getContent): Mark as stub.
25736         * java/awt/Window.java (applyResourceBundle): Mark as stub.
25737         * java/awt/TexturePaint.java (createContext): Mark as stub.
25738         (getTransparency): Mark as stub.
25739         * java/awt/ScrollPaneAdjustable.java (paramString): Mark as stub.
25740         * java/awt/GridBagLayout.java (AdjustForGravity): Mark as stub.
25741         * java/awt/GraphicsConfiguration.java (getBufferCapabilities): Mark as
25742         stub.
25743         (getImageCapabilities): Likewise.
25744         * java/awt/BasicStroke.java (createStrokedShape): Mark as stub.
25745         * java/awt/AlphaComposite.java (createContext): Mark as stub.
25746         * java/awt/image/renderable/RenderableImageProducer.java: Mark all
25747         methods as stubs.
25748         * java/awt/font/TextMeasurer.java (deleteChar): Mark as stub.
25749         (getAdvanceBetween): Likewise.
25750         (getLayout): Likewise.
25751         (insertChar): Likewise.
25752         (getLineBreakIndex): Likewise.
25753         * java/awt/font/ShapeGraphicAttribute.java (draw): Mark as stub.
25754         (getAdvance): Likewise.
25755         (getAscent): Likewise.
25756         (getDescent): Likewise.
25757         * java/awt/font/LineBreakMeasurer.java (deleteChar): Mark as stub.
25758         (insertChar): Likewise.
25759         (nextLayout): Likewise.
25760         (nextLayout): Likewise.
25761         (nextOffset): Likewise.
25762         (nextOffset): Likewise.
25763         * java/awt/font/ImageGraphicAttribute.java (draw): Mark as stub.
25764         (equals): Likewise.
25765         (getAdvance): Likewise.
25766         (getAscent): Likewise.
25767         (getBounds): Likewise.
25768         (getDescent): Likewise.
25769         (hashCode): Likewise.
25770         (ImageGraphicAttribute): Likewise.
25771         * java/awt/font/GraphicAttribute.java (getBounds): Mark as stub.
25772         (getJustificationInfo): Likewise.
25773         * java/awt/font/GlyphVector.java (getGlyphCharIndex): Mark as stub.
25774         (getGlyphCharIndices): Likewise.
25775         (getGlyphOutline): Likewise.
25776         (getGlyphPixelBounds): Likewise.
25777         (getLayoutFlags): Likewise.
25778         (getPixelBounds): Likewise.
25779         * java/awt/font/GlyphMetrics.java (getLSB): Mark as stub.
25780         (getRSB): Likewise.
25781         * java/nio/channels/Channels.java (newWriter): Mark as stub.
25782         * java/awt/dnd/DragSourceContext.java: Marked most methods as stubs.
25783         * java/awt/dnd/DragGestureRecognizer.java (fireDragGestureRecognized):
25784         Mark as stub.
25785         (resetRecognizer): Likewise.
25786         * java/awt/datatransfer/SystemFlavorMap.java (getFlavorsForNative):
25787         Mark as stub.
25788         (getNativesForFlavor): Likewise.
25789         * javax/swing/plaf/synth/SynthStyle.java: Mark all methods as stub.s
25790         * javax/swing/plaf/synth/SynthLookAndFeel.java (updateStyles): Mark
25791         as stub.
25792         (getRegion): Likewise.
25793         (createUI): Likewise.
25794         (initialize): Likewise.
25795         (uninitialize): Likewise.
25796         (getDefaults): Likewise.
25797         (load): Likewise.
25798         (shouldUpdateStyleOnAncestorChanged): Likewise.
25799         * javax/swing/plaf/synth/SynthGraphicsUtils.java (getMinimumSize):
25800         Mark as stub.
25801         (getPreferredSize): Likewise.
25802         (getMaximumSize): Likewise.
25803         (paintText): Likewise.
25804         * java/text/RuleBasedCollator.java (getCollationElementIterator): Mark
25805         as stub.
25806         * java/text/Collator.java (getAvailableLocales): Mark as stub.
25807
25808 2006-03-22  Wolfgang Baer  <WBaer@gmx.de>
25809
25810         * java/io/ObjectStreamConstants.java: Added since tag.
25811         (PROTOCOL_VERSION_1): Added javadoc.
25812         (PROTOCOL_VERSION_2): Likewise.
25813         * java/io/ObjectOutputStream.java: 
25814         (setDefaultProtocolVersion): Removed.
25815         (useProtocolVersion): Fixed parameter tests. Updated javadoc.
25816         
25817 2006-03-21  Lillian Angel  <langel@redhat.com>
25818
25819         * gnu/javax/imageio/bmp/BMPInfoHeader.java
25820         (BMPInfoHeader): Removed debug lines.
25821         * gnu/javax/imageio/bmp/EncodeRLE4.java
25822         (encode): Implemented.
25823         (uncompress): New function implemented to
25824         uncompress the image before encoding.
25825         * gnu/javax/imageio/bmp/EncodeRLE8.java
25826         (encode): Implemented.
25827         (uncompress): New function implemented to
25828         uncompress the image before encoding.
25829
25830 2006-03-21  Roman Kennke  <kennke@aicas.com>
25831
25832         * javax/swing/text/html/FormView.java
25833         (getImageData): New helper method.
25834
25835 2006-03-21  Tom Tromey  <tromey@redhat.com>
25836
25837         * vm/reference/gnu/classpath/Unsafe.java (arrayBaseOffset): Javadoc
25838         fix.
25839         (Unsafe): Now final.
25840
25841 2006-03-21  Roman Kennke  <kennke@aicas.com>
25842
25843         * javax/swing/text/html/FormView.java
25844         (MouseEventListener): New inner class.
25845
25846 2006-03-21  Roman Kennke  <kennke@aicas.com>
25847
25848         * javax/swing/text/html/ListView.java: New file.
25849
25850 2006-03-21  Tom Tromey  <tromey@redhat.com>
25851
25852         * java/text/Bidi.java: Completed.
25853
25854 2006-03-21  Anthony Balkissoon  <abalkiss@redhat.com>
25855
25856         * javax/swing/JTable.java:
25857         (columnAtPoint): Removed the null check, this method should throw a NPE
25858         if the argument is null.
25859
25860 2006-03-21  Robert Schuster  <robertschuster@fsfe.org>
25861
25862         * javax/swing/text/DefaultHighlighter.java:
25863         (DefaultHighlighter.DefaultHighlightPainter.paint): Rewritten.
25864
25865 2006-03-21  Robert Schuster  <robertschuster@fsfe.org>
25866
25867         * javax/swing/text/DefaultCaret.java: Added class variable denoting
25868         the textcomponent having a selection.
25869         (clearSelection): Clear 'componentWithSelection' variable.
25870         (handleSelection): Clear selection of current component having a
25871         selection before setting a new selection in another component.
25872         (mouseDragged): Only react on left mouse button.
25873         (mouseClicked): Only react on left mouse button.
25874
25875 2006-03-21  Roman Kennke  <kennke@aicas.com>
25876
25877         * javax/swing/plaf/metal/MetalTabbedPaneUI.java
25878         (paintContentBorderTopEdge): Implemented.
25879         (paintContentBorderBottomEdge): Implemented.
25880         (paintContentBorderLeftEdge): Implemented.
25881         (paintContentBorderRightEdge): Implemented.
25882         (isLastTabInRun): New helper method.
25883
25884 2006-03-21  Roman Kennke  <kennke@aicas.com>
25885
25886         * javax/swing/JTabbedPane.java
25887         (Page.getForeground): Fall back to returning the tabbed pane's
25888         foreground if no foreground has been exclicitly set.
25889
25890 2006-03-21  Roman Kennke  <kennke@aicas.com>
25891
25892         * javax/swing/plaf/metal/MetalComboBoxButton.java
25893         (setEnabled): Update colors of button correctly.
25894         * javax/swing/plaf/metal/MetalComboBoxUI.java
25895         (MetalPropertyChangeListener.propertyChange): Update the colors
25896         of the list and the button when any of the color properties
25897         of the ComboBox change.
25898
25899 2006-03-21  Roman Kennke  <kennke@aicas.com>
25900
25901         * javax/swing/plaf/basic/BasicButtonUI.java
25902         (uninstallDefaults): Only nullify button colors if they are
25903         not UIResource instances.
25904
25905 2006-03-21  David Gilbert  <david.gilbert@object-refinery.com>
25906
25907         * javax/swing/JComponent.java
25908         (AccessibleJComponent.getAccessibleDescription): Call super,
25909         * javax/swing/JToolTip.java: API doc updates all over, plus
25910         (AccessibleJToolTip.getAccessibleDescription): Implemented,
25911         (AccessibleJToolTip.getAccessibleRole): Implemented,
25912         (getAccessibleContext): Implemented,
25913         (paramString): Reimplemented,
25914         (setComponent): Fire PropertyChangeEvent,
25915         (setTipText): Likewise.
25916
25917 2006-03-20  Andrew John Hughes  <gnu_andrew@member.fsf.org>
25918
25919         * java/util/Formatter.java:
25920         Make the class final.
25921         
25922 2006-03-20  Andrew John Hughes  <gnu_andrew@member.fsf.org>
25923
25924         * java/lang/System.java:
25925         (nanoTime()): Documented.
25926         * java/lang/Thread.java:
25927         (setUncaughtExceptionHandler(UncaughtExceptionHandler):
25928         Added docs and security check.
25929         (getUncaughtExceptionHandler()): Documented.
25930         (setDefaultUncaughtExceptionHandler(UncaughtExceptionHandler):
25931         Added docs and security check.
25932         (getDefaultUncaughtExceptionHandler()): Documented.
25933         (getId()): Documented.
25934         (Thread.State): Documented.
25935         * vm/reference/gnu/classpath/Unsafe.java:
25936         Documented.
25937         (getUnsafe()): Updated to handle security.
25938         
25939 2006-03-20  Tom Tromey  <tromey@redhat.com>
25940
25941         * java/lang/System.java:
25942         (nanoTime()): Implemented.
25943         * java/lang/Thread.java:
25944         (getId()): Implemented.
25945         * java/util/AbstractMap.java:
25946         (SimpleImmutableEntry): New 1.6 class.
25947         (BasicMapEntry): Modified to be SimpleEntry.
25948         * java/util/Collections.java:
25949         Modified to use SimpleEntry.
25950         * java/util/EnumMap.java: Likewise.
25951         * java/util/HashMap.java: Likewise.
25952         * java/util/Hashtable.java: Likewise.
25953         * java/util/TreeMap.java: Likewise.
25954         * vm/reference/gnu/classpath/Unsafe.java:
25955         New class to handle low-level facilities for concurrency.
25956         * vm/reference/java/lang/VMSystem.java:
25957         (nanoTime()): Implemented.
25958         
25959 2006-03-20  Tom Tromey  <tromey@redhat.com>
25960
25961         * java/security/cert/PKIXCertPathChecker.java: Javadoc fix.
25962         * java/security/cert/CertStoreSpi.java: Added import for javadoc.
25963         (CertStoreSpi): Updated throws clause.
25964         * java/security/cert/CertPathValidatorSpi.java: Added import for
25965         javadoc.
25966         (engineValidate): Updated 'throws' clause.
25967         * java/security/cert/PKIXParameters.java: Javadoc fix.
25968         * java/security/cert/X509CertSelector.java
25969         (setAuthorityKeyIdentifier): Javadoc fix.
25970
25971 2006-03-20  Tom Tromey  <tromey@redhat.com>
25972
25973         * .classpath: Build gnu.javax.swing.plaf.
25974
25975 2006-03-20  Lillian Angel  <langel@redhat.com>
25976
25977         * gnu/javax/imageio/bmp/BMPDecoder.java:
25978         Removed unneeded import.
25979         * gnu/javax/imageio/bmp/BMPEncoder.java:
25980         New class.
25981         * gnu/javax/imageio/bmp/BMPFileHeader.java
25982         (BMPFileHeader): New constructor used to create info header
25983         for an output stream.
25984         (write): Fixed indexes.
25985         * gnu/javax/imageio/bmp/BMPImageReaderSpi.java:
25986         Initialized writerSpiNames field.
25987         * gnu/javax/imageio/bmp/BMPImageWriter.java:
25988         New class.
25989         * gnu/javax/imageio/bmp/BMPImageWriterSpi.java:
25990         New class.
25991         * gnu/javax/imageio/bmp/BMPInfoHeader.java:
25992         Change visibility for fields.
25993         (BMPInfoHeader): New constructor used to create
25994         file header for an output stream.
25995         (intToDWord): New method. Converts an int to a
25996         double word.
25997         (intToWord): New method. Converts an int to a word.
25998         * gnu/javax/imageio/bmp/DecodeBF32.java:
25999         Removed unneeded imports.
26000         * gnu/javax/imageio/bmp/EncodeRGB1.java:
26001         New class.
26002         * gnu/javax/imageio/bmp/EncodeRGB16.java:
26003         New class.
26004         * gnu/javax/imageio/bmp/EncodeRGB24.java:
26005         New class.
26006         * gnu/javax/imageio/bmp/EncodeRGB32.java:
26007         New class.
26008         * gnu/javax/imageio/bmp/EncodeRGB4.java:
26009         New class.
26010         * gnu/javax/imageio/bmp/EncodeRGB8.java:
26011         New class.
26012         * gnu/javax/imageio/bmp/EncodeRLE4.java:
26013         New class.
26014         * gnu/javax/imageio/bmp/EncodeRLE8.java:
26015         New class.
26016         * javax/imageio/ImageIO.java:
26017         Fixed comment.
26018
26019 2006-03-20  Roman Kennke  <kennke@aicas.com>
26020
26021         * javax/swing/plaf/metal/MetalTabbedPaneUI.java
26022         (TabbedPaneLayout.normalizeTabRuns): New method.
26023         (createLayoutManager): Return the Metal TabbedPaneLayout, not super.
26024         (paintTabBorder): Replaced if-else chain with switch.
26025         (paintTopTabBorder): Rewritten to correctly paint tab. Also support
26026         Ocean theme.
26027         (paintBottomTabBorder): Rewritten to correctly paint tab. Also support
26028         Ocean theme.
26029         (paintLeftTabBorder): Rewritten to correctly paint tab. Also support
26030         Ocean theme.
26031         (paintRightTabBorder): Rewritten to correctly paint tab. Also support
26032         Ocean theme.
26033         (paintTabBackground): Fetch background color from the TabbedPane.
26034         Fixed painting and improved by not using fillPolygon, and instead
26035         using fillRectangle. Replaced if-else chain with switch.
26036         (calculateMaxTabHeight): Added overridden method with FIXME.
26037         (getTabRunOverlay): Overridden to provide overlay for LEFT or RIGHT
26038         placement.
26039         (paintContentBorderTopEdge): Added stub with FIXME.
26040         (paintContentBorderBottomEdge): Added stub with FIXME.
26041         (paintContentBorderLeftEdge): Added stub with FIXME.
26042         (paintContentBorderRightEdge): Added stub with FIXME.
26043
26044 2006-03-20  Roman Kennke  <kennke@aicas.com>
26045
26046         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
26047         (tabsOpaque): New field.
26048         (installDefaults): Fetch tabsOpaque property from UIManager.
26049         (paintTab): Fill tab background when tabsOpaque property is true.
26050         * javax/swing/plaf/basic/BasicLookAndFeel.java
26051         (initComponentDefaults): Added TabbedPane.tabsOpaque property.
26052
26053 2006-03-20  Roman Kennke  <kennke@aicas.com>
26054
26055         * javax/swing/JTabbedPane.java
26056         (Pane.getBackground): When no background was explicitly set, return
26057         the JTabbedPane's background.
26058
26059 2006-03-20  Wolfgang Baer  <WBaer@gmx.de>
26060
26061         * org/omg/CORBA/ACTIVITY_COMPLETED.java,
26062         * org/omg/CORBA/ACTIVITY_REQUIRED.java,
26063         * org/omg/CORBA/BAD_INV_ORDER.java,
26064         * org/omg/CORBA/BAD_CONTEXT.java,
26065         * org/omg/CORBA/BAD_OPERATION.java,
26066         * org/omg/CORBA/BAD_PARAM.java,
26067         * org/omg/CORBA/BAD_QOS.java,
26068         * org/omg/CORBA/BAD_TYPECODE.java,
26069         * org/omg/CORBA/CODESET_INCOMPATIBLE.java,
26070         * org/omg/CORBA/COMM_FAILURE.java,
26071         * org/omg/CORBA/CurrentHolder.java,
26072         * org/omg/CORBA/DATA_CONVERSION.java,
26073         * org/omg/CORBA/FREE_MEM.java,
26074         * org/omg/CORBA/IMP_LIMIT.java,
26075         * org/omg/CORBA/INITIALIZE.java,
26076         * org/omg/CORBA/INTERNAL.java,
26077         * org/omg/CORBA/INTF_REPOS.java,
26078         * org/omg/CORBA/INVALID_ACTIVITY.java,
26079         * org/omg/CORBA/INVALID_TRANSACTION.java,
26080         * org/omg/CORBA/INV_FLAG.java,
26081         * org/omg/CORBA/INV_IDENT.java,
26082         * org/omg/CORBA/INV_OBJREF.java,
26083         * org/omg/CORBA/INV_POLICY.java,
26084         * org/omg/CORBA/MARSHAL.java,
26085         * org/omg/CORBA/NO_RESOURCES.java,
26086         * org/omg/CORBA/NO_MEMORY.java,
26087         * org/omg/CORBA/NO_IMPLEMENT.java,
26088         * org/omg/CORBA/NO_PERMISSION.java,
26089         * org/omg/CORBA/NO_RESPONSE.java,
26090         * org/omg/CORBA/OBJECT_NOT_EXIST.java,
26091         * org/omg/CORBA/OBJ_ADAPTER.java,
26092         * org/omg/CORBA/ParameterModeHolder.java,
26093         * org/omg/CORBA/PolicyError.java,
26094         * org/omg/CORBA/PolicyErrorHolder.java,
26095         * org/omg/CORBA/PolicyHolder.java,
26096         * org/omg/CORBA/PolicyListHolder.java,
26097         * org/omg/CORBA/REBIND.java,
26098         * org/omg/CORBA/TIMEOUT.java,
26099         * org/omg/CORBA/TRANSACTION_MODE.java,
26100         * org/omg/CORBA/TRANSACTION_REQUIRED.java,
26101         * org/omg/CORBA/TRANSACTION_ROLLEDBACK.java,
26102         * org/omg/CORBA/TRANSACTION_UNAVAILABLE.java,
26103         * org/omg/CORBA/TRANSIENT.java,
26104         * org/omg/CORBA/TypeCodeHolder.java,
26105         * org/omg/CORBA/UNKNOWN.java,
26106         * org/omg/CORBA/UnionMember.java,
26107         * org/omg/CORBA/UnknownUserException.java,
26108         * org/omg/CORBA/UnknownUserExceptionHolder.java,
26109         * org/omg/CORBA/WrongTransactionHolder.java,
26110         * org/omg/IOP/IOR.java,
26111         * org/omg/IOP/IORHolder.java,
26112         * org/omg/IOP/MultipleComponentProfileHolder.java,
26113         * org/omg/IOP/ServiceContextHolder.java,
26114         * org/omg/IOP/ServiceContextListHolder.java,
26115         * org/omg/IOP/TaggedComponentHolder.java,
26116         * org/omg/IOP/TaggedProfileHolder.java,
26117         * org/omg/PortableInterceptor/ObjectReferenceTemplateSeqHolder.java,
26118         * org/omg/PortableInterceptor/ObjectReferenceTemplateHolder.java,
26119         * org/omg/PortableInterceptor/IORInterceptor_3_0Holder.java,
26120         * org/omg/PortableInterceptor/ObjectReferenceFactoryHolder.java:
26121         Made class final, various javadoc fixlets.      
26122         * org/omg/CORBA/CompletionStatus.java, 
26123         * org/omg/CORBA/PERSIST_STORE.java,
26124         * org/omg/CORBA/ValueMember.java,
26125         * org/omg/PortableInterceptor/ForwardRequest.java,
26126         * org/omg/PortableInterceptor/InvalidSlot.java,
26127         * org/omg/IOP/CodecPackage/TypeMismatch.java,
26128         * org/omg/IOP/CodecPackage/InvalidTypeForEncoding.java,
26129         * org/omg/IOP/CodecPackage/FormatMismatch.java,
26130         * org/omg/IOP/CodecFactoryPackage/UnknownEncoding.java,
26131         * org/omg/IOP/Encoding.java,
26132         * org/omg/IOP/TaggedComponent.java,
26133         * org/omg/IOP/TaggedProfile.java: Made class final.
26134         * org/omg/CORBA/SystemException.java: Made class abstract.      
26135         * org/omg/CORBA/UserException.java: Made class abstract.
26136         (UserException): Now protected.
26137         (UserException(String)): Likewise.
26138         * org/omg/Messaging/SyncScopeHelper.java: Now abstract, javadoc fixes.
26139         (typecode): Removed unused private variable.
26140
26141 2006-03-20  Chris Burdess  <dog@gnu.org>
26142
26143         Fixes PR 26761
26144         * gnu/xml/stream/XMLParser.java: Permit U+fffd as XML Char.
26145
26146 2006-03-20  Roman Kennke  <kennke@aicas.com>
26147
26148         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
26149         (paintTabArea): Look up tab run indices in tabRuns array instead
26150         of using the index directly.
26151
26152 2006-03-20  Roman Kennke  <kennke@aicas.com>
26153
26154         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
26155         (paintTab): Fixed painting.
26156         (paintText): Fixed text painting.
26157         (paintFocusIndicator): Fixed painting of the focus rectangle.
26158         (paintContentBorder): Fixed painting of the content area.
26159
26160 2006-03-20  Mark Wielaard  <mark@klomp.org>
26161
26162         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java (pixbufLock): New
26163         static lock Object field.
26164         (produce): Synchronize on pixbufLock when calling initState(),
26165         pumpBytes() and pumpDone().
26166         (finalize): Likewise when calling finish().
26167         (GdkPixbufWriter.write): Likewise when calling streamImage().
26168         * gnu/java/awt/peer/gtk/GtkImage.java (GtkImage(String)): Likewise
26169         when calling loadPixbuf. Chain exception.
26170         (GtkImage(byte[])): Likewise when calling loadImageFromData.
26171         (GtkImage(URL)): Likewise.
26172         (GtkImage(int,int)): Likewise when calling createPixmap().
26173         (GtkImage(GtkImage,int,int,int)): Likewise when calling
26174         createScaledPixmap().
26175         (GtkImage(Pointer)): Likewise when calling createFromPixbuf().
26176         (setImage): Likewise when calling createPixmap() and setPixels().
26177         (getSource): Likewise when calling getPixels().
26178         (flush): Likewise when calling freePixmap().
26179         (finalize): Likewise.
26180         (drawImage): Likewise when calling drawPixelsScaledFlipped() and
26181         drawPixelsScaledFlipped().
26182         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
26183         (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_initState): Remove
26184         gdk_threads_enter/leave().
26185         (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_finish): Likewise.
26186         (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_pumpDone): Likewise.
26187         (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_streamImage): Likewise.
26188         (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_pumpBytes): Likewise.
26189         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c
26190         (Java_gnu_java_awt_peer_gtk_GtkImage_loadPixbuf): Likewise.
26191         (Java_gnu_java_awt_peer_gtk_GtkImage_loadImageFromData): Likewise.
26192         (Java_gnu_java_awt_peer_gtk_GtkImage_createFromPixbuf): Likewise.
26193         (Java_gnu_java_awt_peer_gtk_GtkImage_getPixels): Likewise.
26194         (Java_gnu_java_awt_peer_gtk_GtkImage_setPixels): Likewise.
26195         (Java_gnu_java_awt_peer_gtk_GtkImage_createPixmap): Likewise.
26196         (Java_gnu_java_awt_peer_gtk_GtkImage_freePixmap): Likewise.
26197         (Java_gnu_java_awt_peer_gtk_GtkImage_createScaledPixmap): Likewise.
26198
26199 2006-03-20  Roman Kennke  <kennke@aicas.com>
26200
26201         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
26202         (calculateTabHeight): Not need to use SwingUtilities here.
26203         (getTabInsets): Do not rotate insets.
26204
26205 2006-03-20  Roman Kennke  <kennke@aicas.com>
26206
26207         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
26208         (paint): Make sure the layout is valid before painting.
26209         (paintTabArea): Made tab painting more straightforward and efficient.
26210
26211 2006-03-20  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
26212
26213         * javax/swing/JTable.java (ROWS_PER_WHEEL_CLICK): Removed.
26214         (getScrollableUnitIncrement): Rewritten.
26215         * javax/swing/JTree.java (ROWS_PER_WHEEL_CLICK): Removed.
26216         (getScrollableUnitIncrement): Rewritten.
26217         * javax/swing/plaf/basic/BasicScrollPaneUI.java
26218         (ROWS_PER_WHEEL_CLICK): New field. 
26219         (MouseWheelHandler.mouseWheelMoved): Rewritten.
26220
26221 2006-03-20  Roman Kennke  <kennke@aicas.com>
26222
26223         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
26224         (paint): Make sure the layout is valid before painting.
26225         (paintTabArea): Made tab painting more straightforward and efficient.
26226
26227 2006-03-20  Roman Kennke  <kennke@aicas.com>
26228
26229         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
26230         (MouseHandler.mousePressed): Rewritten for clearer and simpler
26231         code.
26232         (MouseHandler.mouseEntered): Implemented to set the rollover tab.
26233         (MouseHandler.mouseMoved): Implemented to set the rollover tab.
26234         (MouseHandler.mouseExited): Implemented to unset the rollover tab.
26235         (TabbedPaneLayout.calculateLayoutInfo): Don't set the component's
26236         bounds here. That is moved into layoutContainer().
26237         (calculateSize): Correctly respect insets. Made code slightly more
26238         clear and efficient.
26239         (calculateTabRects): Rewritten completely. The old code was
26240         not quite right and unstable in some situations.
26241         (layoutContainer): Moved layout of tabbed pane's subcomponents
26242         here.
26243         (tabRunsDirty): New field.
26244         (rolloverTab): New field.
26245         (tabForCoordinate): Rewritten for simplicity and correctness.
26246         (setRolloverTab): New method.
26247         (getRolloverTab): New method.
26248
26249 2006-03-20  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
26250
26251         * javax/swing/JTable.java (getScrollableUnitIncrement): Rewritten.
26252         * javax/swing/JTree.java (getScrollableUnitIncrement): Rewritten.
26253         (getScrollableUnitIncrement
26254         * javax/swing/Scrollable.java: Documented.
26255         * javax/swing/plaf/basic/BasicScrollPaneUI.java 
26256         (MouseWheelHandler):Rewritten.
26257
26258 2006-03-20  Andrew John Hughes  <gnu_andrew@member.fsf.org>
26259
26260         * doc/vmintegration.texinfo:
26261         Updated with gnu.classpath.Unsafe
26262         
26263 2006-03-20  Andrew John Hughes  <gnu_andrew@member.fsf.org>
26264
26265         * NEWS:
26266         Updated with VMArray and Unsafe changes.
26267         
26268 2006-03-20  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
26269
26270         * javax/swing/JTable.java (ROWS_PER_WHEEL_CLICK): New field.
26271         (getScrollableUnitIncrement): Rewritten.
26272         * javax/swing/JTree.java (ROWS_PER_WHEEL_CLICK): New field.
26273         (getScrollableUnitIncrement): Rewritten. 
26274         (getScrollableBlockIncrement): Rewritten.
26275         * javax/swing/plaf/basic/BasicScrollPaneUI.java 
26276         (MouseWheelHandler): Implemented. (ViewportContainerListener): 
26277         New class. (containerListener): New field. (SCROLL_NON_SCROLABLES): 
26278         New field. (installListeners): Install wheel listeners. 
26279         (uninstallListeners): Uninstall wheel listeners.
26280         * javax/swing/plaf/basic/BasicTableUI.java: Remove the implementation
26281         of the MouseWheelListener. (installListeners): Do not install wheel
26282         listener. (ROWS_PER_WHEEL_CLICK): Removed.
26283
26284 2006-03-19  Andrew John Hughes  <gnu_andrew@member.fsf.org>
26285
26286         * vm/reference/gnu/classpath/Unsafe.java:
26287         Documented.
26288         (getUnsafe()): Updated to handle security.
26289
26290 2006-03-19  Tom Tromey  <tromey@redhat.com>
26291
26292         * vm/reference/gnu/classpath/Unsafe.java:
26293         New class to handle low-level facilities for concurrency.
26294
26295 2006-03-19  Mark Wielaard  <mark@klomp.org>
26296
26297         * include/Makefile.am: Rename PlainDatagramSocketImpl to
26298         VMPlainDatagramSocketImpl and PlainSocketImpl to VMPlainSocketImpl.
26299         * include/gnu_java_net_VMPlainDatagramSocketImpl.h: Regenerated.
26300         * include/gnu_java_net_VMPlainSocketImpl.h: Likewise.
26301
26302 2006-03-19  Mark Wielaard  <mark@klomp.org>
26303
26304         * gnu/java/awt/peer/gtk/GdkFontPeer.java (getPostScriptName): Return
26305         familyName.
26306         * gnu/java/awt/peer/gtk/GtkFontPeer.java: Removed unused file.
26307
26308 2006-03-19  Michael Koch  <konqueror@gmx.de>
26309
26310         * resource/gnu/java/locale/LocaleInformation_aa_ET.properties,
26311         resource/gnu/java/locale/LocaleInformation_am.properties,
26312         resource/gnu/java/locale/LocaleInformation_am_ET.properties,
26313         resource/gnu/java/locale/LocaleInformation_as_IN.properties,
26314         resource/gnu/java/locale/LocaleInformation_az_Cyrl.properties,
26315         resource/gnu/java/locale/LocaleInformation_bg.properties,
26316         resource/gnu/java/locale/LocaleInformation_bn_IN.properties,
26317         resource/gnu/java/locale/LocaleInformation_ca.properties,
26318         resource/gnu/java/locale/LocaleInformation_cs.properties,
26319         resource/gnu/java/locale/LocaleInformation_cy.properties,
26320         resource/gnu/java/locale/LocaleInformation_da.properties,
26321         resource/gnu/java/locale/LocaleInformation_de.properties,
26322         resource/gnu/java/locale/LocaleInformation_dv.properties,
26323         resource/gnu/java/locale/LocaleInformation_el.properties,
26324         resource/gnu/java/locale/LocaleInformation_en.properties,
26325         resource/gnu/java/locale/LocaleInformation_en_GB.properties,
26326         resource/gnu/java/locale/LocaleInformation_en_IN.properties,
26327         resource/gnu/java/locale/LocaleInformation_en_PK.properties,
26328         resource/gnu/java/locale/LocaleInformation_en_SG.properties,
26329         resource/gnu/java/locale/LocaleInformation_en_US_POSIX.properties,
26330         resource/gnu/java/locale/LocaleInformation_es.properties,
26331         resource/gnu/java/locale/LocaleInformation_es_AR.properties,
26332         resource/gnu/java/locale/LocaleInformation_es_BO.properties,
26333         resource/gnu/java/locale/LocaleInformation_es_CL.properties,
26334         resource/gnu/java/locale/LocaleInformation_es_CO.properties,
26335         resource/gnu/java/locale/LocaleInformation_es_CR.properties,
26336         resource/gnu/java/locale/LocaleInformation_es_DO.properties,
26337         resource/gnu/java/locale/LocaleInformation_es_EC.properties,
26338         resource/gnu/java/locale/LocaleInformation_es_ES.properties,
26339         resource/gnu/java/locale/LocaleInformation_es_GT.properties,
26340         resource/gnu/java/locale/LocaleInformation_es_HN.properties,
26341         resource/gnu/java/locale/LocaleInformation_es_MX.properties,
26342         resource/gnu/java/locale/LocaleInformation_es_NI.properties,
26343         resource/gnu/java/locale/LocaleInformation_es_PA.properties,
26344         resource/gnu/java/locale/LocaleInformation_es_PE.properties,
26345         resource/gnu/java/locale/LocaleInformation_es_PR.properties,
26346         resource/gnu/java/locale/LocaleInformation_es_PY.properties,
26347         resource/gnu/java/locale/LocaleInformation_es_SV.properties,
26348         resource/gnu/java/locale/LocaleInformation_es_US.properties,
26349         resource/gnu/java/locale/LocaleInformation_es_UY.properties,
26350         resource/gnu/java/locale/LocaleInformation_es_VE.properties,
26351         resource/gnu/java/locale/LocaleInformation_fa.properties,
26352         resource/gnu/java/locale/LocaleInformation_fa_AF.properties,
26353         resource/gnu/java/locale/LocaleInformation_fa_IR.properties,
26354         resource/gnu/java/locale/LocaleInformation_fi.properties,
26355         resource/gnu/java/locale/LocaleInformation_fr.properties,
26356         resource/gnu/java/locale/LocaleInformation_fr_CA.properties,
26357         resource/gnu/java/locale/LocaleInformation_ga.properties,
26358         resource/gnu/java/locale/LocaleInformation_gu_IN.properties,
26359         resource/gnu/java/locale/LocaleInformation_hi_IN.properties,
26360         resource/gnu/java/locale/LocaleInformation_hr.properties,
26361         resource/gnu/java/locale/LocaleInformation_hu.properties,
26362         resource/gnu/java/locale/LocaleInformation_id.properties,
26363         resource/gnu/java/locale/LocaleInformation_is.properties,
26364         resource/gnu/java/locale/LocaleInformation_it.properties,
26365         resource/gnu/java/locale/LocaleInformation_ja.properties,
26366         resource/gnu/java/locale/LocaleInformation_kk.properties,
26367         resource/gnu/java/locale/LocaleInformation_kl.properties,
26368         resource/gnu/java/locale/LocaleInformation_km.properties,
26369         resource/gnu/java/locale/LocaleInformation_ky.properties,
26370         resource/gnu/java/locale/LocaleInformation_lo.properties,
26371         resource/gnu/java/locale/LocaleInformation_lo_LA.properties,
26372         resource/gnu/java/locale/LocaleInformation_lt.properties,
26373         resource/gnu/java/locale/LocaleInformation_lt_LT.properties,
26374         resource/gnu/java/locale/LocaleInformation_lv.properties,
26375         resource/gnu/java/locale/LocaleInformation_mk.properties,
26376         resource/gnu/java/locale/LocaleInformation_mn.properties,
26377         resource/gnu/java/locale/LocaleInformation_mr.properties,
26378         resource/gnu/java/locale/LocaleInformation_mr_IN.properties,
26379         resource/gnu/java/locale/LocaleInformation_ms.properties,
26380         resource/gnu/java/locale/LocaleInformation_ms_BN.properties,
26381         resource/gnu/java/locale/LocaleInformation_mt.properties,
26382         resource/gnu/java/locale/LocaleInformation_nb.properties,
26383         resource/gnu/java/locale/LocaleInformation_nl.properties,
26384         resource/gnu/java/locale/LocaleInformation_nn.properties,
26385         resource/gnu/java/locale/LocaleInformation_om_ET.properties,
26386         resource/gnu/java/locale/LocaleInformation_or_IN.properties,
26387         resource/gnu/java/locale/LocaleInformation_pa.properties,
26388         resource/gnu/java/locale/LocaleInformation_pl.properties,
26389         resource/gnu/java/locale/LocaleInformation_pt.properties,
26390         resource/gnu/java/locale/LocaleInformation_ru.properties,
26391         resource/gnu/java/locale/LocaleInformation_ru_RU.properties,
26392         resource/gnu/java/locale/LocaleInformation_ru_UA.properties,
26393         resource/gnu/java/locale/LocaleInformation_sa.properties,
26394         resource/gnu/java/locale/LocaleInformation_sa_IN.properties,
26395         resource/gnu/java/locale/LocaleInformation_sk.properties,
26396         resource/gnu/java/locale/LocaleInformation_sr_Latn.properties,
26397         resource/gnu/java/locale/LocaleInformation_sv.properties,
26398         resource/gnu/java/locale/LocaleInformation_sw.properties,
26399         resource/gnu/java/locale/LocaleInformation_sw_TZ.properties,
26400         resource/gnu/java/locale/LocaleInformation_ta_IN.properties,
26401         resource/gnu/java/locale/LocaleInformation_te.properties,
26402         resource/gnu/java/locale/LocaleInformation_te_IN.properties,
26403         resource/gnu/java/locale/LocaleInformation_th.properties,
26404         resource/gnu/java/locale/LocaleInformation_ti.properties,
26405         resource/gnu/java/locale/LocaleInformation_ti_ER.properties,
26406         resource/gnu/java/locale/LocaleInformation_ti_ET.properties,
26407         resource/gnu/java/locale/LocaleInformation_tr.properties,
26408         resource/gnu/java/locale/LocaleInformation_tt.properties,
26409         resource/gnu/java/locale/LocaleInformation_uk.properties,
26410         resource/gnu/java/locale/LocaleInformation_ur.properties,
26411         resource/gnu/java/locale/LocaleInformation_uz.properties,
26412         resource/gnu/java/locale/LocaleInformation_zh.properties,
26413         resource/gnu/java/locale/LocaleInformation_zh_Hant.properties:
26414         More updates for CLDR 1.3.
26415         
26416 2006-03-19  Andrew John Hughes  <gnu_andrew@member.fsf.org>
26417
26418         * doc/vmintegration.texinfo:
26419         Updated to include VMArray.
26420         * include/Makefile.am:
26421         Replace java_lang_reflect_Array.h with
26422         java_lang_reflect_VMArray.h
26423         * include/java_lang_reflect_VMArray.h:
26424         New autogenerated header.
26425         * include/java_lang_reflect_Array.h:
26426         Removed.
26427         * java/lang/reflect/Array.java:
26428         (newInstance(Class,int)): Calls VMArray.
26429         (createMultiArray(Class,int[],int)): Likewise.
26430         (createObjectArray(Class,int)): Removed.
26431         * native/jni/java-lang/Makefile.am:
26432         Replaced java_lang_reflect_Array.c with
26433         java_lang_reflect_VMArray.c
26434         * native/jni/java-lang/java_lang_reflect_VMArray.c:
26435         Renamed from java_lang_reflect_Array.c.
26436         * vm/reference/java/lang/reflect/VMArray.java:
26437         (createObjectArray(Class,int)): Native method moved
26438         from java.lang.reflect.Array.
26439
26440 2006-03-19  Roman Kennke  <kennke@aicas.com>
26441
26442         * gnu/javax/swing/plaf/metal/CustomizableTheme.java: New class.
26443         * examples/gnu/classpath/examples/swing/MetalThemeEditor.java:
26444         New class.
26445         * examples/gnu/classpath/examples/swing/Demo.java
26446         (mkButtonBar): Hook up theme editor.
26447         (mkMenuBar): Hook up theme editor.
26448
26449 2006-03-19  Roman Kennke  <kennke@aicas.com>
26450
26451         * javax/swing/plaf/basic/BasicFileChooserUI.java
26452         (ApproveSelectionAction.actionPerformed): Added case for when
26453         nothing has been selected but the user has typed a filename
26454         into the textfield.
26455         (getFileName): Return the value of the text field.
26456
26457 2006-03-19  Roman Kennke  <kennke@aicas.com>
26458
26459         * javax/swing/JColorChooser.java
26460         (createDialog): Create JDialog instead of ModalDialog. Make this
26461         dialog modal by calling setModal(true).
26462         (ModalDialog): Removed unnecessary inner class.
26463
26464 2006-03-19  Tom Tromey  <tromey@redhat.com>
26465
26466         * java/awt/font/NumericShaper.java: Rewrote.
26467
26468 2006-03-19  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
26469
26470         * javax/swing/plaf/basic/BasicTableUI.java:
26471         Implement MouseWheelListener. (ROWS_PER_WHEEL_CLICK):
26472         New field. MouseInputHandler.mouseWheelMoved): New method.
26473         (installListeners): Register MouseInputHandler as
26474         wheel listener also.
26475         
26476 2006-03-19  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
26477
26478         PR 26746
26479         * javax/swing/ViewportLayout.java (layoutContainer):
26480         If Scrollable tracks dimension, set view size to the port size. 
26481         If port is larger than the view, move the view to the top/left.
26482
26483 2006-03-19  Roman Kennke  <kennke@aicas.com>
26484
26485         * javax/swing/MenuSelectionManager.java
26486         (isComponentPartOfCurrentMenu): Also consider the first element
26487         in a menu selection list. Make a isDescendentFrom check instead
26488         of simple equals to also catch sub components.
26489
26490 2006-03-19  Roman Kennke  <kennke@aicas.com>
26491
26492         * javax/swing/JComboBox.java
26493         (actionPerformed): Fetch selected item directly from the editor
26494         instead of trying to get it from the event.
26495
26496 2006-03-19  Roman Kennke  <kennke@aicas.com>
26497
26498         * javax/swing/plaf/basic/BasicComboBoxEditor.java
26499         (listener): Removed field.
26500         (BasicComboBoxEditor): Removed initialization of listener field.
26501         (addActionListener): Add listener directly to editor.
26502         (removeActionListener): Remove listener directly from editor.
26503         (ComboBoxEditorListener): Removed class.
26504         * javax/swing/plaf/basic/BasicComboBoxUI.java
26505         (getPreferredSize): Fixed to return the minimumSize.
26506         (getMinimumSize): Improved code for more clearness.
26507         (getMaximumSize): Return (32767,32767) as requested by the mauve test.
26508         (rectangleForCurrentValue): Correctly respect insets.
26509         (getDefaultSize): Return preferredSize here. Dont override height
26510         with 100.
26511         (getDisplaySize): Moved around code for more clearness. Added
26512         handling of prototype renderer.
26513         (ComboBoxLayoutManager.layoutContainer): Set editor bounds after
26514         arrowButton bounds since the former depends on the latter.
26515         * javax/swing/plaf/metal/MetalComboBoxButton.java:
26516         (MetalComboBoxButton): Make button rollover disabled.
26517         (isFocusTraversable): Return false unconditionally.
26518         * javax/swing/plaf/metal/MetalComboBoxEditor.java:
26519         (EditorTextField): New class. Fixes the size properties.
26520         (MetalComboBoxEditor): Create instance of EditorTextField.
26521         * javax/swing/plaf/metal/MetalComboBoxUI.java:
26522         (getMinimumSize): Fixed editable size.
26523
26524 2006-03-18  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
26525
26526         * javax/swing/JTable.java (BooleanCellRenderer): Rewritten.
26527
26528 2006-03-18  Roman Kennke  <kennke@aicas.com>
26529
26530         * javax/swing/plaf/metal/MetalToolBarUI.java
26531         (update): Added overridden method to support OceanTheme.
26532
26533 2006-03-18  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
26534
26535         * javax/swing/plaf/basic/BasicTableUI.java (KeyHandler.keyTyped): 
26536         Activate the cell editing on character keystroke.
26537
26538 2006-03-18  Mark Wielaard  <mark@klomp.org>
26539
26540         * java/awt/Component.java (eventTypeEnabled): Handle
26541         MouseEvent.MOUSE_WHEEL.
26542         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (postMouseWheelEvent):
26543         New callback method.
26544         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
26545         (AWT_MOUSE_WHEEL): New constant.
26546         (AWT_WHEEL_UNIT_SCROLL): Likewise.
26547         (postMouseWheelEventID): New static variable.
26548         (cp_gtk_component_init_jni): Record postMouseWheelEventID.
26549         (cp_gtk_component_connect_mouse_signals): Connect scroll-event.
26550         (button_number): Renamed to ...
26551         (button_number_direction): variable to hold button number or scroll
26552         direction.
26553         (component_button_press_cb): Use button_number_direction.
26554         (component_scroll_cb): New static callback function.
26555
26556 2006-03-18  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
26557
26558         * javax.swing.JTable.java (TableTextField.scrollRectToVisible):
26559         Return without action.
26560
26561 2006-03-18  Mark Wielaard  <mark@klomp.org>
26562
26563         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (paintComponent):
26564         Don't cast graphics object to GdkGraphics.
26565         (updateComponent): Likewise.
26566
26567 2006-03-18  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
26568
26569         * examples/gnu/classpath/examples/swing/TableDemo.java
26570         (TModel.getColumnClass): Set second column to Icon.
26571         (TModel.isCellEditable): Say icons are not editable.
26572         (createContent): Fill the in second column with some icons from 
26573         MetalIconFactory.
26574
26575 2006-03-18  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
26576
26577         * examples/gnu/classpath/examples/swing/Demo.java
26578         (mkButtonBar): Set maximal button bar height to the preferred height.
26579
26580 2006-03-18  Roman Kennke  <kennke@aicas.com>
26581
26582         * javax/swing/plaf/basic/BasicComboPopup.java
26583         (show): Substract insets from scroller width.
26584         (getPopupHeightForRowCount): If height==0, return a default of 100
26585         instead for empty ComboBoxes.
26586
26587 2006-03-18  Roman Kennke  <kennke@aicas.com>
26588
26589         * javax/swing/plaf/basic/BasicLookAndFeel.java
26590         (PopupHelper.autoClosePopups): Removed field.
26591         (PopupHelper.mousePressed): Removed processing of registered
26592         autoclose popups.
26593         (registerForAutoClose): Removed unneeded method.
26594         (autoClosePopups): Removed unneeded method.
26595         (registerForAutoClose): Removed unneeded method.
26596
26597 2006-03-18  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
26598
26599         * javax.swing.JTable.java (TableTextField): Set border.
26600         (moveToCellBeingEdited): Do not adjust the editor boundaries
26601
26602 2006-03-18  Michael Koch  <konqueror@gmx.de>
26603
26604         * resource/gnu/java/locale/LocaleInformation_aa.properties,
26605         resource/gnu/java/locale/LocaleInformation_af.properties,
26606         resource/gnu/java/locale/LocaleInformation_am.properties,
26607         resource/gnu/java/locale/LocaleInformation_ar.properties,
26608         resource/gnu/java/locale/LocaleInformation_az_Cyrl.properties,
26609         resource/gnu/java/locale/LocaleInformation_be.properties,
26610         resource/gnu/java/locale/LocaleInformation_bg.properties,
26611         resource/gnu/java/locale/LocaleInformation_bn.properties,
26612         resource/gnu/java/locale/LocaleInformation_ca.properties,
26613         resource/gnu/java/locale/LocaleInformation_cs.properties,
26614         resource/gnu/java/locale/LocaleInformation_cy.properties,
26615         resource/gnu/java/locale/LocaleInformation_da.properties,
26616         resource/gnu/java/locale/LocaleInformation_de.properties,
26617         resource/gnu/java/locale/LocaleInformation_de_CH.properties,
26618         resource/gnu/java/locale/LocaleInformation_dz.properties,
26619         resource/gnu/java/locale/LocaleInformation_en.properties,
26620         resource/gnu/java/locale/LocaleInformation_eo.properties,
26621         resource/gnu/java/locale/LocaleInformation_es.properties,
26622         resource/gnu/java/locale/LocaleInformation_et.properties,
26623         resource/gnu/java/locale/LocaleInformation_eu.properties,
26624         resource/gnu/java/locale/LocaleInformation_fa.properties,
26625         resource/gnu/java/locale/LocaleInformation_fa_AF.properties,
26626         resource/gnu/java/locale/LocaleInformation_fi.properties,
26627         resource/gnu/java/locale/LocaleInformation_fo.properties,
26628         resource/gnu/java/locale/LocaleInformation_fr.properties,
26629         resource/gnu/java/locale/LocaleInformation_ga.properties,
26630         resource/gnu/java/locale/LocaleInformation_gl.properties,
26631         resource/gnu/java/locale/LocaleInformation_gu.properties,
26632         resource/gnu/java/locale/LocaleInformation_he.properties,
26633         resource/gnu/java/locale/LocaleInformation_hi.properties,
26634         resource/gnu/java/locale/LocaleInformation_hr.properties,
26635         resource/gnu/java/locale/LocaleInformation_hu.properties,
26636         resource/gnu/java/locale/LocaleInformation_hy.properties,
26637         resource/gnu/java/locale/LocaleInformation_id.properties,
26638         resource/gnu/java/locale/LocaleInformation_is.properties,
26639         resource/gnu/java/locale/LocaleInformation_it.properties,
26640         resource/gnu/java/locale/LocaleInformation_ja.properties,
26641         resource/gnu/java/locale/LocaleInformation_ka.properties,
26642         resource/gnu/java/locale/LocaleInformation_km.properties,
26643         resource/gnu/java/locale/LocaleInformation_ko.properties,
26644         resource/gnu/java/locale/LocaleInformation_lo.properties,
26645         resource/gnu/java/locale/LocaleInformation_lt.properties,
26646         resource/gnu/java/locale/LocaleInformation_lv.properties,
26647         resource/gnu/java/locale/LocaleInformation_mk.properties,
26648         resource/gnu/java/locale/LocaleInformation_mr.properties,
26649         resource/gnu/java/locale/LocaleInformation_ms.properties,
26650         resource/gnu/java/locale/LocaleInformation_mt.properties,
26651         resource/gnu/java/locale/LocaleInformation_nb.properties,
26652         resource/gnu/java/locale/LocaleInformation_nl.properties,
26653         resource/gnu/java/locale/LocaleInformation_nn.properties,
26654         resource/gnu/java/locale/LocaleInformation_om.properties,
26655         resource/gnu/java/locale/LocaleInformation_pl.properties,
26656         resource/gnu/java/locale/LocaleInformation_ps.properties,
26657         resource/gnu/java/locale/LocaleInformation_pt.properties,
26658         resource/gnu/java/locale/LocaleInformation_pt_PT.properties,
26659         resource/gnu/java/locale/LocaleInformation_ro.properties,
26660         resource/gnu/java/locale/LocaleInformation_ru.properties,
26661         resource/gnu/java/locale/LocaleInformation_sk.properties,
26662         resource/gnu/java/locale/LocaleInformation_sl.properties,
26663         resource/gnu/java/locale/LocaleInformation_so.properties,
26664         resource/gnu/java/locale/LocaleInformation_sq.properties,
26665         resource/gnu/java/locale/LocaleInformation_sr.properties,
26666         resource/gnu/java/locale/LocaleInformation_sr_Latn.properties,
26667         resource/gnu/java/locale/LocaleInformation_sv.properties,
26668         resource/gnu/java/locale/LocaleInformation_sw.properties,
26669         resource/gnu/java/locale/LocaleInformation_ta.properties,
26670         resource/gnu/java/locale/LocaleInformation_te.properties,
26671         resource/gnu/java/locale/LocaleInformation_th.properties,
26672         resource/gnu/java/locale/LocaleInformation_tr.properties,
26673         resource/gnu/java/locale/LocaleInformation_uk.properties,
26674         resource/gnu/java/locale/LocaleInformation_uz.properties,
26675         resource/gnu/java/locale/LocaleInformation_vi.properties,
26676         resource/gnu/java/locale/LocaleInformation_zh.properties,
26677         resource/gnu/java/locale/LocaleInformation_zh_Hant.properties:
26678         Updated to use the new localized strings for currencies, languages,
26679         variants, territories, etc.
26680
26681 2006-03-18  Ito Kazumitsu  <kaz@maczuka.gcd.org>
26682
26683         * gnu/regexp/REMatch.java(matchedCharIndexed): New field,
26684         (start, end): Added comment about the negative values of them,
26685         (finish): Saves the input text in matchedCharIndexed,
26686         (toString): If the start or end index is out of bounds of the
26687         matched text, get the substring from matchedCharIndexed.
26688         Added special handlings in case start/end index < -1,
26689         (getSubStartIndex, getStartIndex, getSubEndIndex, getEndIndex):
26690         Added special handlings in case start/end index < -1,
26691         * gnu/regexp/RETokenLookAhead.java(matchThis): Return the newly
26692         found match, but keep the index as the original match.
26693         * gnu/regexp/RETokenLookBehind.java(matchThis): Return the newly
26694         found match, but keep the index as the original match.
26695         * gnu/regexp/RETokenBackRef.java(matchThis): Added special handlings
26696         in case start/end index < -1.
26697         
26698 2006-03-17  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
26699
26700         * gnu/java/rmi/activation/ActivationSystemTransient.java (debug):
26701         Set to false.   
26702
26703 2006-03-17  Robert Schuster  <robertschuster@fsfe.org>
26704          
26705         * javax/swing/text/DefaultCaret.java:
26706         (mouseClicked) Use setDot() and moveDot() instead of
26707         JTextComponent.select().
26708
26709 2006-03-17  Roman Kennke  <kennke@aicas.com>
26710
26711         * javax/swing/plaf/metal/MetalComboBoxEditor.java
26712         (MetalComboBoxEditorBorder.paintBorder): Implemented special
26713         border painting for the Ocean theme.
26714         (MetalComboBoxEditor): Create editor directly instead of going
26715         to super.
26716         
26717 2006-03-17  Roman Kennke  <kennke@aicas.com>
26718
26719         * javax/swing/text/JTextComponent.java
26720         (JTextComponent): Make text components opaque.
26721
26722 2006-03-17  Roman Kennke  <kennke@aicas.com>
26723
26724         * javax/swing/plaf/metal/MetalComboBoxUI.java
26725         (MetalComboBoxLayoutManager.layoutContainer): Forward to
26726         layoutComboBox().
26727         (MetalPropertyChangeListener.propertyChange): Update focusable
26728         flag according to the enable and editable state.
26729         (editablePropertyChanged): Removed unnecessary code.
26730         (getMinimumSize): Rewritten to correctly compute the
26731         size, respecting the insets of the components and the icon,
26732         the visual properties of the combobox, etc.
26733         (configureEditor): Update listeners correctly.
26734         (unconfigureEditor): Update listeners correctly.
26735         (layoutComboBox): Implemented.
26736
26737 2006-03-17  Roman Kennke  <kennke@aicas.com>
26738
26739         * javax/swing/plaf/metal/MetalComboBoxEditor.java
26740         (MetalComboBoxEditorBorder): Made this a subclass of AbstractBorder
26741         instead of Flush3DBorder.
26742         (paintBorder): Fixed border painting.
26743         (editorBorderInsets): Fixed border's insets.
26744
26745 2006-03-17  Roman Kennke  <kennke@aicas.com>
26746
26747         * javax/swing/plaf/metal/MetalComboBoxButton.java
26748         (rendererPane): Documented.
26749         (MetalComboBoxButton): Set enabled flag from ComboBox.
26750         Set focusable flag from ComboBox's enabled flag.
26751         (isFocusTraversable): Make button focus traversable if
26752         ComboBox is not editable but enable.
26753         (paintComponent): Fixed painting to correctly adjust
26754         the boxes of the renderer and button.
26755
26756 2006-03-17  Roman Kennke  <kennke@aicas.com>
26757
26758         * javax/swing/plaf/basic/BasicButtonUI.java
26759         (installDefaults): Only install UI margin if installed margin.
26760         is null or a UIResource.         
26761         (uninstallDefaults): Only uninstall margin if it's       
26762         a UIResource.    
26763          
26764  2006-03-17  Robert Schuster  <robertschuster@fsfe.org>          
26765          
26766          * javax/swing/text/DefaultCaret.java:   
26767          (mouseClicked) Use setDot() and moveDot() instead of    
26768          JTextComponent.select().        
26769  
26770 2006-03-17  Robert Schuster  <robertschuster@fsfe.org>
26771
26772         * javax/swing/text/DefaultEditorKit.java: Refactored anonymous
26773         inner classes into package-private inner classes, added actions
26774         for caret movement and selection to the next and previous word
26775         and an action which selects the whole text.
26776
26777 2006-03-17  Thomas Fitzsimmons  <fitzsim@redhat.com>
26778
26779         * javax/swing/Spring.java: Uncomment springdebug methods and
26780         rename them toString.
26781         * javax/swing/SpringLayout.java: Likewise.
26782
26783 2006-03-17  Robert Schuster  <robertschuster@fsfe.org>
26784
26785         * javax/swing/text/FieldView.java:
26786         (viewToModel): Added call to adjust allocation area.
26787
26788 2006-03-17  Roman Kennke  <kennke@aicas.com>
26789
26790         * javax/swing/plaf/basic/BasicComboBoxUI.java
26791         (mouseListener): Removed field.
26792         (buttonBackground): Removed field.
26793         (buttonShadow): Removed field.
26794         (buttonDarkShadow): Removed field.
26795         (buttonHighlight): Removed field.
26796         (BasicComboBoxUI): Initialize currentValuePane and cachedMinimumSize.
26797         (installUI): Initialize and configure renderer and editor here.
26798         (uninstallUI): Close popup before uninitializing.
26799         Message popup that we are uninitializing. Clear layout.
26800         (installDefaults): Install UI border. Don't install colors.
26801         (installListeners): Install listeners fetched from the popup.
26802         Remove handling of mouseListener.
26803         (uninstallDefaults): Uninstall border. Don't handle colors.
26804         (uninstallListeners): Don't handle mouseListener. Uninstall
26805         listener from the popup.
26806         (createMouseListener): Removed method.
26807         (createRenderer): Create UIResource.
26808         (installComponents): Cleaned up.
26809         (uninstallComponents): Only remove renderer when it is
26810         a UIResource.
26811         (addEditor): Remove editor before adding new one.
26812         Fetch editor from comboBox.
26813         (removeEditor): Only do something when editor != null. Unconfigure
26814         editor before removing.
26815         (configureEditor): Add key listener. Call comboBox.configureEditor.
26816         (unconfigureEditor): Removed key listener.
26817         (configureArrowButton): Only handle when arrowButton != null.
26818         Add mouse listeners to arrow button.
26819         (unconfigureArrowButton): Remove listeners.
26820         (createArrowButton): Don't handle colors here.
26821         (setPopupVisible): Don't handle focus here.
26822         (paint): Only paint when comboBox is not editable. Update
26823         hasFocus flag.
26824         (getPreferredSize): Implemented to be minimumSize + 4 pixels width.
26825         (getMinimumSize): Respect insets here.
26826         (getMaximumSize): Return preferredSize with width of 32767.
26827         (getInsets): Return ComboBox insets.
26828         (paintCurrentValue): Paint using currentValuePane.
26829         Install correct colors. Don't revalidate.
26830         (paintCurrentValueBackground): Implemented.
26831         (getDefaultSize): Reimplemented using a default renderer.
26832         (getDisplaySize): Reimplemented to use renderer.
26833         (ComboBoxLayoutManager.preferredLayoutSize): Forward to component.
26834         (ComboBoxLayoutManager.minimumLayoutSize): Forward to component.
26835         (ComboBoxLayoutManager.layoutContainer): Fixed layout.
26836         (FocusHandler.focusGained): Don't invalidate minimumSize.
26837         (FocusHandler.focusLost): Don't invalidate minimumSize.
26838         Only close popup if focus change is not temporary.
26839         (ItemHandler.itemStateChanged): Don't invalidate minimumSize.
26840         Reconfigure editor if not null.
26841         (ListDataHandler.contentsChanged): Revalidate and reconfigure
26842         editor if necessary.
26843         (ListDataHandler.intervalAdded): Fixed updating of the display size.
26844         (ListDataHandler.intervalRemoved): Forward to contentsChanged.
26845         (MouseHandler): Removed unnecessary class.
26846
26847 2006-03-17  Robert Schuster  <robertschuster@fsfe.org>
26848
26849         * examples/gnu/classpath/examples/swing/Demo.java:
26850         (Demo): Set default closing operation to shutdown the runtime.
26851
26852 2006-03-17  Roman Kennke  <kennke@aicas.com>
26853
26854         * javax/swing/plaf/basic/BasicComboPopup.java
26855         (BasicComboPopup): Create listeners here.
26856         Configure components here.
26857         (show): Correctly calculate bounds using computePopupBounds().
26858         Make scroller fixed-size. Removed special autocloser handling.
26859         (hide): Rewritten to use MenuSelectionHandler.
26860         (createList): Don't set selection mode here.
26861         (configureList): Correctly install colors and fonts and selectionMode.
26862         (createScroller): Set scrollpane policies.
26863         (configureScroller): Make scroller and scrollbar not-focusable.
26864         (configurePopup): Make popup opaque and borderPainted.
26865         (installComboBoxListeners): Don't install mouse listener on ComboBox.
26866         (delegateFocus): Implemented.
26867         (convertMouseEvent): Implemented.
26868         (updateListBoxSelectionForEvent): Implemented to also handle
26869         autoscrolling.
26870         (InvocationMouseHandler.mousePressed): Delegate focus correctly.
26871         Only open popup on left mouse-click.
26872         (InvocationMouseHandler.mouseReleased): Rewritten.
26873         (InvocationMouseMotionHandler.mouseDragged): Rewritten to better
26874         support autoscrolling.
26875         (ItemHandler.itemStateChanged): Implemented to sync selection with
26876         the comboBox.
26877         (ListMouseHandler.mouseReleased): Fetch selected index directly
26878         from list.
26879         (ListMouseMotionHandler.mouseMoved): Only update when mouse is inside
26880         the list box.
26881         (PropertyChangeHandler.propertyChange): Don't revalidate/repaint here.
26882         When model changes, then update listeners correctly.
26883         (uninstallListeners): Don't uninstall list listeners.
26884         (uninstallComboBoxListeners): Don't uninstall mouse listeners
26885         from comboBox.
26886         (syncSelection): New helper method.
26887
26888 2006-03-17  Robert Schuster  <robertschuster@fsfe.org>
26889
26890         * javax/swing/text/PlainView.java:
26891         (drawLine): Rewritten.
26892         (drawSelectedText): Corrected last argument for
26893         Utilities.drawTabbedText() call.
26894         (paint): Store start and end of selection in object variables,
26895         store constant values of for-loop in local variables.
26896         * javax/swing/text/Utilities.java:
26897         (drawTabbedText): Add 'pixelWidth' to the return value, store
26898         constant value of for-loop in local variable.
26899
26900 2006-03-17  Roman Kennke  <kennke@aicas.com>
26901
26902         * javax/swing/plaf/basic/BasicComboPopup.java
26903         (BasicComboPopup): Create listeners here.
26904         Configure components here.
26905         (show): Correctly calculate bounds using computePopupBounds().
26906         Make scroller fixed-size. Removed special autocloser handling.
26907         (hide): Rewritten to use MenuSelectionHandler.
26908         (createList): Don't set selection mode here.
26909         (configureList): Correctly install colors and fonts and selectionMode.
26910         (createScroller): Set scrollpane policies.
26911         (configureScroller): Make scroller and scrollbar not-focusable.
26912         (configurePopup): Make popup opaque and borderPainted.
26913         (installComboBoxListeners): Don't install mouse listener on ComboBox.
26914         (delegateFocus): Implemented.
26915         (convertMouseEvent): Implemented.
26916         (updateListBoxSelectionForEvent): Implemented to also handle
26917         autoscrolling.
26918         (InvocationMouseHandler.mousePressed): Delegate focus correctly.
26919         Only open popup on left mouse-click.
26920         (InvocationMouseHandler.mouseReleased): Rewritten.
26921         (InvocationMouseMotionHandler.mouseDragged): Rewritten to better
26922         support autoscrolling.
26923         (ItemHandler.itemStateChanged): Implemented to sync selection with
26924         the comboBox.
26925         (ListMouseHandler.mouseReleased): Fetch selected index directly
26926         from list.
26927         (ListMouseMotionHandler.mouseMoved): Only update when mouse is inside
26928         the list box.
26929         (PropertyChangeHandler.propertyChange): Don't revalidate/repaint here.
26930         When model changes, then update listeners correctly.
26931         (uninstallListeners): Don't uninstall list listeners.
26932         (uninstallComboBoxListeners): Don't uninstall mouse listeners
26933         from comboBox.
26934         (syncSelection): New helper method.
26935
26936 2006-03-17  Roman Kennke  <kennke@aicas.com>
26937
26938         * javax/swing/plaf/basic/BasicComboBoxRenderer.java
26939         (noFocusBorder): Make border with insets of (1,1,1,1).
26940         (BasicComboBoxRenderer): Make renderer opaque.
26941         No need to explicitly set alignment.
26942         (getListCellRendererComponent): Rewritten to correctly initialize
26943         color and font.
26944
26945 2006-03-17  Roman Kennke  <kennke@aicas.com>
26946
26947         * javax/swing/JPopupMenu.java
26948         (setVisible): Handle JPopupMenu opening and closing via
26949         the MenuSelectionHandler.
26950
26951 2006-03-17  Wolfgang Baer  <WBaer@gmx.de>
26952
26953         * org/omg/DynamicAny/DynAnyPackage/InvalidValue.java: Now final.
26954         * org/omg/DynamicAny/DynAnyPackage/TypeMismatch.java: Likewise.
26955         * org/omg/DynamicAny/DynAnyFactoryPackage/InconsistentTypeCode.java: 
26956         Likewise.       
26957         * org/omg/CORBA/portable/RemarshalException.java: Likewise
26958         * org/omg/CORBA/TypeCodePackage/BadKind.java: Likewise.
26959         * org/omg/CORBA/TypeCodePackage/Bounds.java: Likewise.
26960         * org/omg/CORBA/ORBPackage/InvalidName.java: Likewise.
26961         * org/omg/CORBA/ORBPackage/InconsistentTypeCode.java: Likewise.
26962         * org/omg/CORBA/DynAnyPackage/TypeMismatch.java: Likewise.
26963         * org/omg/CORBA/DynAnyPackage/InvalidValue.java: Likewise.
26964         * org/omg/CORBA/DynAnyPackage/InvalidSeq.java: Likewise.
26965         * org/omg/CORBA/DynAnyPackage/Invalid.java: Likewise.
26966         * org/omg/Dynamic/Parameter.java: Now final, javadoc fixes.
26967
26968 2006-03-17  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
26969
26970         * java/rmi/activation/Activatable.java: Implemented.
26971         java/rmi/activation/ActivationDesc.java: Implemented.
26972         java/rmi/activation/ActivationGroup.java: Implemented.
26973         java/rmi/activation/ActivationGroupDesc.java: Implemented.
26974         java/rmi/activation/ActivationID.java: Implemented.
26975         java/rmi/activation/ActivationSystem.java: Implemented.
26976         * gnu/java/rmi/server/UnicastServerRef.java 
26977         (exportObject, incommingMessageCall): Documented.
26978         * java/rmi/activation/package.html: Documented.
26979         * java/rmi/server/ObjID.java (objNum, space): Made package
26980         protected.
26981         * gnu/java/rmi/server/UnicastServer.java: Rewritten.
26982         * gnu/java/rmi/server/CombinedClassLoader.java (constructor):
26983         Iteration bug fix.
26984         * gnu/java/rmi/activation/ActivationSystemTransient.java: New file.
26985         gnu/java/rmi/activation/BidiTable.java: New file.
26986         gnu/java/rmi/activation/DefaultActivationGroup.java: New file.
26987         gnu/java/rmi/activation/DefaultActivationSystem.java: New file.
26988         gnu/java/rmi/server/ActivatableServerRef.java: New file.
26989
26990 2006-03-17  Mark Wielaard  <mark@klomp.org>
26991
26992         * java/security/BasicPermission.java (BasicPermission): Check
26993         name equals empty string to force NullPointerException.
26994
26995 2006-03-16  Thomas Fitzsimmons  <fitzsim@redhat.com>
26996
26997         PR classpath/26606
26998         Commit patch by Caolan McNamara  <caolanm@redhat.com>
26999         * javax/swing/Spring.java: Complete implementation
27000         * javax/swing/SpringLayout.java: Likewise.
27001
27002 2006-03-16  Keith Seitz  <keiths@redhat.com>
27003
27004         * gnu/classpath/jdwp/Jdwp.java (_mainThread): Not needed. Removed
27005         all references.
27006         (run): Remove catch clause for InterruptedException. It is no
27007         longer necessary.
27008
27009 2006-03-16  Thomas Fitzsimmons  <fitzsim@redhat.com>
27010
27011         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
27012         (getFontMetrics): Handle monospaced fonts specially.
27013
27014 2006-03-16  Keith Seitz  <keiths@redhat.com>
27015
27016         * gnu/classpath/jdwp/Jdwp.java (getJdwpThreadGroup): New method.
27017         * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java
27018         (suspendAllThreads): Use Jdwp.getJdwpThreadGroup.
27019         Don't suspend the current thread unless it is not part of the JDWP
27020         thread group.
27021
27022 2006-03-16  Thomas Fitzsimmons  <fitzsim@redhat.com>
27023
27024         * gnu/java/awt/peer/gtk/GdkFontMetrics.java (getLeading): Always
27025         return 0.
27026         * gnu/java/awt/peer/gtk/GdkFontPeer.java (getFontMetrics): Get
27027         font metrics through toolkit.
27028         * gnu/java/awt/peer/gtk/GdkGraphics.java (getFontMetrics):
27029         Likewise.
27030         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
27031         (getFontMetrics): To calculate Java logical ascent and descent
27032         values, average Pango ink and logical values.
27033
27034 2006-03-16  Anthony Balkissoon  <abalkiss@redhat.com>
27035
27036         * java/lang/Character.java: Updated header comment.
27037
27038 2006-03-16  Tom Tromey  <tromey@redhat.com>
27039
27040         * javax/sound/sampled/AudioSystem.java (getAudioFileFormat): New
27041         constructor.
27042         * javax/sound/sampled/FloatControl.java: Now abstract.
27043         * javax/sound/sampled/EnumControl.java: Now abstract.
27044         * javax/sound/sampled/CompoundControl.java: Now abstract.
27045         * javax/sound/sampled/BooleanControl.java: Now abstract.
27046
27047 2006-03-16  Tom Tromey  <tromey@redhat.com>
27048
27049         * java/awt/image/ConvolveOp.java (getBounds2D): Now final.
27050
27051 2006-03-16  Roman Kennke  <kennke@aicas.com>
27052
27053         * java/util/zip/ZipFile.java
27054         (openFile): New helper method.
27055         (ZipFile): Use new openFile method to ensure the proper
27056         exception is thrown. This applies for all overloaded constructors.
27057
27058 2006-03-16  Roman Kennke  <kennke@aicas.com>
27059
27060         * java/text/DateFormatSymbols.java
27061         (setAmPmStrings): Added null check and throw NPE.
27062         (setEras): Likewise.
27063         (setLocalPatternChars): Likewise.
27064         (setMonths): Likewise.
27065         (setShortMonths): Likewise.
27066         (setShortWeekdays): Likewise.
27067         (setWeekdays): Likewise.
27068         (setZoneStrings): Likewise.
27069
27070 2006-03-16  Roman Kennke  <kennke@aicas.com>
27071
27072         * javax/swing/DefaultDesktopManager.java
27073         (iconifyFrame): Repaint after removing the frame.
27074         (removeIconFor): Repaint after removing the icon.
27075
27076 2006-03-16  Roman Kennke  <kennke@aicas.com>
27077
27078         * javax/swing/JInternalFrame.java
27079         (remove): Respect the rootPaneCheckingEnabled flag here.
27080
27081 2006-03-16  Roman Kennke  <kennke@aicas.com>
27082
27083         * gnu/javax/swing/plaf/gnu/GNULookAndFeel.java
27084         Moved from examples into gnu.javax.swing.. namespace.
27085         * examples/gnu/classpath/examples/swing/GNULookAndFeel.java
27086         Moved to gnu.javax.swing.. namespace.
27087         * examples/gnu/classpath/examples/swing/Demo.java:
27088         (themesMenu): New field. Used to disable theme switch in
27089         non-Metal-L&Fs.
27090         (mkMenuBar): Added L&F menu.
27091         (ChangeThemeAction.actionPerformed): Only switch theme when
27092         in Metal L&F.
27093         (ChangeLAFAction): New class used for changing themes.
27094         * javax/swing/UIManager.java
27095         (installed): Added GNU L&F as installed L&F.
27096
27097 2006-03-16  Mark Wielaard  <mark@klomp.org>
27098
27099         * examples/gnu/classpath/examples/swing/badge.png: Removed.
27100         * examples/gnu/classpath/examples/icons/badge.png: Added.
27101         * examples/gnu/classpath/examples/swing/DemoDesktop.java: Use badge
27102         from icon directory.
27103
27104 2006-03-15  Thomas Fitzsimmons  <fitzsim@redhat.com>
27105
27106         * examples/gnu/classpath/examples/awt/AnimationApplet.java: New
27107         example.
27108         * examples/gnu/classpath/examples/swing/FillRect.java: Likewise.
27109         * examples/gnu/classpath/examples/awt/Demo.java: Add
27110         AnimationApplet demo.
27111         * examples/gnu/classpath/examples/swing/Demo.java: Add FillRect
27112         demo.
27113
27114 2006-03-15  Thomas Fitzsimmons  <fitzsim@redhat.com>
27115
27116         PR classpath/26486
27117         * gnu/java/awt/peer/gtk/GtkCanvasPeer.java (getGraphics): Remove
27118         method.
27119         (handleEvent): Likewise.
27120         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (isInRepaint):
27121         Remove field.
27122         (beginNativeRepaint): Remove method.
27123         (endNativeRepaint): Likewise.
27124         (handleEvent): Call paintComponent and updateComponent.
27125         (paintComponent): New method.
27126         (updateComponent): Likewise.
27127         (repaint): Return early if width or height is less than one.
27128         (postExposeEvent): Remove isInRepaint reference.
27129         * gnu/java/awt/peer/gtk/GtkContainerPeer.java: (getGraphics):
27130         Remove method.
27131         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (getGraphics): Inherit
27132         from GtkWindowPeer.
27133         (postMouseEvent): Likewise.
27134         (postExposeEvent): Likewise.
27135         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java (updateComponent):
27136         Override to do nothing.
27137         * gnu/java/awt/peer/gtk/GtkFramePeer.java (getGraphics): Inherit
27138         from GtkWindowPeer.
27139         (postMouseEvent): Likewise.
27140         (postExposeEvent): Likewise.
27141         * gnu/java/awt/peer/gtk/GtkPanelPeer.java (handleEvent): Inherit
27142         paint and update handling from GtkComponentPeer.
27143         (updateComponent): Override to call paintComponent.
27144         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c: Replace
27145         gdk_flush calls with schedule_flush calls.
27146         (flush): New function.
27147         (schedule_flush): Likewise.
27148
27149 2006-03-15  Tom Tromey  <tromey@redhat.com>
27150
27151         * java/beans/beancontext/BeanContextSupport.java (BCSChild): New
27152         constructor.
27153         (BCSIterator): Likewise.
27154         * java/beans/beancontext/BeanContextServicesSupport.java (BCSSChild):
27155         New constructor.
27156         (BCSSProxyServiceProvider): Likewise.
27157         (BCSSServiceProvider): Likewise.
27158
27159 2006-03-15  Tom Tromey  <tromey@redhat.com>
27160
27161         * javax/sound/midi/Track.java (Track): New constructor.
27162         (events): Now package-private.
27163         * javax/sound/midi/MidiUnavailableException.java
27164         (MidiUnavailableException): Removed invalid constructors.
27165         * javax/sound/midi/MidiSystem.java (MidiSystem): New constructor.
27166         * javax/sound/midi/InvalidMidiDataException.java
27167         (InvalidMidiDataException): Removed invalid constructors.
27168         * javax/sound/midi/Sequencer.java (hashCode): Now final.
27169         * javax/sound/midi/SysexMessage.java (SysexMessage): Now protected.
27170         * javax/sound/midi/ShortMessage.java (ShortMessage): Now protected.
27171         (SYSTEM_EXCLUSIVE): Removed.
27172         (getDataLength): Updated.
27173         * javax/sound/midi/MidiDevice.java (Info): Now protected.
27174         (equals): Now final
27175         (getName): Now final.
27176         (getVendor): Now final.
27177         (getDescription): Likewise.
27178         (hashCode): Likewise.
27179         (getVersion): Likewise.
27180         (toString): Likewise.
27181         * javax/sound/midi/MetaMessage.java (MetaMessage): Now protected.
27182         * javax/sound/sampled/ReverbType.java (getDecayTime): Now final.
27183         (getEarlyReflectionDelay): Likewise.
27184         (getEarlyReflectionIntensity): Likewise.
27185         (getLateReflectionDelay): Likewise.
27186         (getLateReflectionIntensity): Likewise.
27187         (toString): Likewise.
27188         * javax/sound/sampled/Port.java (toString): Now final.
27189         * javax/sound/sampled/LineEvent.java (getFramePosition): Now final.
27190         (getLine): Likewise.
27191         (getType): Likewise.
27192         * javax/sound/sampled/Mixer.java (Info): Now protected.
27193         (getDescription): Now final.
27194         (getName): Likewise.
27195         (getVendor): Likewise.
27196         (getVersion): Likewise.
27197         (toString): Likewise.
27198         * javax/sound/sampled/Control.java: Now abstract.
27199         (Type.toString): Now final.
27200
27201 2006-03-15  Keith Seitz  <keiths@redhat.com>
27202
27203         * gnu/classpath/jdwp/util/LineTable.java (lines): Remove all occurances
27204         of this redundant variable.
27205         (LineTable): Assert that the number of line numbers and the number of
27206         code indicies is the same.
27207
27208 2006-03-15  Tom Tromey  <tromey@redhat.com>
27209
27210         * javax/imageio/stream/ImageOutputStreamImpl.java (flushBits): Now
27211         final.
27212         * javax/imageio/stream/ImageOutputStream.java (flushBefore): Javadoc
27213         fix.
27214         * java/util/zip/ZipFile.java (ENDNRD): New constant.
27215         * java/util/zip/ZipConstants.java (ENDNRD, ENDDCD): Removed.
27216         * java/util/zip/Inflater.java (end): Not deprecated.
27217         * java/util/zip/Deflater.java (end): Not deprecated.
27218         * java/text/Bidi.java (Bidi): Now final.
27219         * java/nio/MappedByteBuffer.java (finalize): Now protected.
27220
27221 2006-03-15  Keith Seitz  <keiths@redhat.com>
27222
27223         * gnu/classpath/jdwp/util/Location.java: Rewrite using VMMethod.
27224         (Location): Index is a long, not an int.
27225         (getMethod): New method.
27226         (getIndex): New method.
27227         (toString): New method.
27228
27229 2006-03-15  Tom Tromey  <tromey@redhat.com>
27230
27231         * java/awt/image/RescaleOp.java (getRenderingHints): Now final.
27232         * java/awt/image/LookupOp.java (filter): Now final.
27233         (getBounds2D): Likewise.
27234         (getPoint2D): Likewise.
27235         (getTable): Likewise.
27236         (getRenderingHints): Likewise.
27237         * java/awt/image/ConvolveOp.java (filter): Now final.
27238         (getBounds2D): Likewise.
27239         (getKernel): Likewise.
27240         (getPoint2D): Likewise.
27241         (getRenderingHints): Likewise.
27242         * java/awt/image/BandCombineOp.java (getPoint2D): Now final.
27243         (getMatrix): Likewise.
27244         (getBounds2D): Likewise.
27245         (getRenderingHints): Likewise.
27246         * java/awt/image/AffineTransformOp.java (getPoint2D): Now final.
27247         * java/awt/Button.java (AccessibleAWTButton.serialVersionUID): Now
27248         private.
27249         * java/awt/dnd/DropTargetContext.java (TransferableProxy): Now
27250         protected.
27251         * java/awt/dnd/DropTarget.java (DropTargetAutoScroller): Now
27252         protected.
27253         * java/awt/MenuItem.java (AccessibleAWTMenuItem): Now protected.
27254
27255 2006-03-15  Keith Seitz  <keiths@redhat.com>
27256
27257         * gnu/classpath/jdwp/event/filters/LocationOnlyFilter.java:
27258         Update javadoc.
27259         (matches): Implement.
27260
27261 2006-03-15  Keith Seitz  <keiths@redhat.com>
27262
27263         * gnu/classpath/jdwp/event/BreakpointEvent.java: New file.
27264         
27265         * gnu/classpath/jdwp/exception/NativeMethodException.java: New file.
27266
27267 2006-03-15  Tom Tromey  <tromey@redhat.com>
27268
27269         * java/lang/StrictMath.java (signum): New methods.
27270
27271 2006-03-15  Tom Tromey  <tromey@redhat.com>
27272
27273         * .settings/org.eclipse.jdt.core.prefs: Set tabs to 8 spaces.
27274
27275 2006-03-15  Lillian Angel  <langel@redhat.com>
27276
27277         PR classpath/24211
27278         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
27279         (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_cairoSurfaceSetFilterUnlocked):
27280         Added check to avoid segmentation fault.
27281
27282 2006-03-15  Lillian Angel  <langel@redhat.com>
27283
27284         * java/awt/Container.java
27285         (getComponentAt): Fixed documentation.
27286         (getComponentAt): Likewise.
27287
27288 2006-03-15  Roman Kennke  <kennke@aicas.com>
27289
27290         * javax/swing/JComponent.java
27291         (dragBuffer): New field.
27292         (dragBufferInitialized): New field.
27293         (paint): Added facility for buffered dragging of components.
27294         (initializeDragBuffer): New method.
27295         (getConditionForKeyStroke): Removed deprecated flag. Adjusted
27296         API docs.
27297         * javax/swing/plaf/basic/BasicInternalFrameUI.java
27298         (BorderListener.mouseDragged): Turn on buffered dragging.
27299         (BorderListener.mouseReleased): Turn off buffered dragging.
27300
27301 2006-03-15  Lillian Angel  <langel@redhat.com>
27302
27303         * java/awt/Container.java
27304         (getComponentAt): Fixed documentation.
27305         (getComponentAt): Likewise.
27306         (findComponentAt): Likewise.
27307         (findComponentAt): Likewise.
27308
27309 2006-03-15  Roman Kennke  <kennke@aicas.com>
27310
27311         * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java
27312         (PropertyChangeHandler.propertyChange): Call enableActions().
27313         Fixed 'iconable' property name.
27314
27315 2006-03-15  Chris Burdess  <dog@gnu.org>
27316
27317         Fixes PR 26700
27318         * gnu/xml/stream/XMLParser.java: Fix for detectEncoding false positive.
27319
27320 2006-03-15  Roman Kennke  <kennke@aicas.com>
27321
27322         * examples/gnu/classpath/examples/swing/Demo.java:
27323         (desktop): New field.
27324         (mkMenuBar): Added new subdemos.
27325         (mkButtonWorld): Removed.
27326         (CheckCellRenderer): Moved to ListDemo.
27327         (LabelCellRenderer): Moved to ListDemo.
27328         (mkTreeWorld): Moved to TreeDemo.
27329         (mkDesktopWorld): Removed.
27330         (mkTabWorld): Moved to TabbedPaneDemo.
27331         (mkTabbedPane): Removed.
27332         (Demo): Replaced 'worlds' tabbed pane with desktop.
27333         (PopupAction): Made class non-static.
27334         (PopupAction.actionPerformed): Bring up subdemos in internal
27335         frame.
27336         (mkButtonBar): Added new demos.
27337         (createDesktop): New method.
27338         * examples/gnu/classpath/examples/swing/DemoDesktop.java: New class.
27339         * examples/gnu/classpath/examples/swing/ListDemo.java: New demo.
27340         * examples/gnu/classpath/examples/swing/TreeDemo.java: New demo.
27341         * examples/gnu/classpath/examples/swing/TabbedPaneDemo.java: New demo.
27342         * examples/gnu/classpath/examples/swing/badge.png: New image file.
27343
27344 2006-03-15  Lillian Angel  <langel@redhat.com>
27345         
27346         * java/awt/Container.java
27347         (getComponentAt): Fixed mistake in comments.
27348         (getComponentAt): Likewise.
27349         (locate): Likewise. Also, handled lightweight components.
27350         Heavyweights take precedence over lightweights, so we should
27351         iterate through the heavyweights first.
27352
27353 2006-03-15  Lillian Angel  <langel@redhat.com>
27354
27355         * java/awt/Container.java
27356         (getComponentAt): Added API documentation.
27357         (getComponentAt): Likewise.
27358         (locate): Likewise. Also, removed lines to ignore
27359         invisible components.
27360         (findComponentAt): Added API documentation.
27361         (findComponentAt): Added API documentation.
27362         (findComponentForMouseEvent): Removed, never used.
27363
27364 2006-03-15  Roman Kennke  <kennke@aicas.com>
27365
27366         * javax/swing/Popup.java
27367         (LightweightPopup.show): Repaint the panel after showing it.
27368
27369 2006-03-15  Lillian Angel  <langel@redhat.com>
27370
27371         * java/awt/Component.java
27372         (show): repaint should only be called if the component
27373         isShowing and isLightweight.
27374
27375 2006-03-15  Roman Kennke  <kennke@aicas.com>
27376
27377         * javax/swing/JInternalFrame.java
27378         (setClosable): Made this property bound.
27379         (setResizable): Made this property bound.
27380         (setIconifiable): Made this property bound.
27381         (setMaximizable): Made this property bound.
27382
27383 2006-03-15  David Gilbert  <david.gilbert@object-refinery.com>
27384
27385         * javax/swing/table/TableColumn.java
27386         (sizeWidthToFit): Implemented.
27387
27388 2006-03-15  David Gilbert  <david.gilbert@object-refinery.com>
27389
27390         * javax/swing/table/TableColumn.java: API docs updated all over, plus
27391         (setIdentifier): Fire required PropertyChangeEvent,
27392         (setCellEditor): Likewise.
27393
27394 2006-03-15  Roman Kennke  <kennke@aicas.com>
27395
27396         * examples/gnu/classpath/examples/swing/ButtonDemo.java,
27397         * examples/gnu/classpath/examples/swing/ComboBoxDemo.java,
27398         * examples/gnu/classpath/examples/swing/FileChooserDemo.java,
27399         * examples/gnu/classpath/examples/swing/ProgressBarDemo.java,
27400         * examples/gnu/classpath/examples/swing/ScrollBarDemo.java,
27401         * examples/gnu/classpath/examples/swing/SliderDemo.java,
27402         * examples/gnu/classpath/examples/swing/SpinnerDemo.java,
27403         * examples/gnu/classpath/examples/swing/TableDemo.java,
27404         * examples/gnu/classpath/examples/swing/TextAreaDemo.java,
27405         * examples/gnu/classpath/examples/swing/TextFieldDemo.java:
27406         Reworked to implemented DemoFactory and lazy loading of Sub-demos.
27407         * examples/gnu/classpath/examples/swing/Demo.java:
27408         Cleaned up. Reworked handling of Sub-demos to load lazily.
27409         * examples/gnu/classpath/examples/swing/DemoFactory.java:
27410         New interface. Used for loading the subdemos lazily.
27411
27412 2006-03-15  Roman Kennke  <kennke@aicas.com>
27413
27414         * javax/swing/plaf/basic/BasicToolBarUI.java
27415         (PropertyListener.propertyChange): Added null check to avoid NPE.
27416
27417 2006-03-14  David Gilbert  <david.gilbert@object-refinery.com>
27418
27419         * javax/swing/table/TableColumn.java
27420         (COLUMN_WIDTH_PROPERTY): Updated API docs,
27421         (width): Likewise.
27422         (minWidth): Likewise,
27423         (preferredWidth): Likewise,
27424         (maxWidth): Likewise,
27425         (headerRenderer): Likewise,
27426         (cellRenderer): Likewise,
27427         (cellEditor): Likewise,
27428         (changeSupport): Likewise,
27429         (firePropertyChange(String, Object, Object)): Removed,
27430         (firePropertyChange(String, int. int)): Likewise,
27431         (firePropertyChange(String, boolean, boolean)): Likewise,
27432         (setModelIndex): Fire property change,
27433         (setHeaderValue): Call changeSupport directly to generate event,
27434         (setHeaderRenderer): Likewise,
27435         (setCellRenderer): Likewise,
27436         (setWidth): Likewise,
27437         (setPreferredWidth): Likewise,
27438         (setMinWidth): Likewise,
27439         (setMaxWidth): Likewise,
27440         (createDefaultHeaderRenderer): Added API docs.
27441
27442 2006-03-14  Roman Kennke  <kennke@aicas.com>
27443
27444         * examples/gnu/classpath/examples/swing/Demo.java
27445         Removed static initializer.
27446         (mkMenuBar): Made method non-static. Added themes menu.
27447         (ChangeThemeAction): New inner class, used to change themes.
27448
27449 2006-03-14  David Gilbert  <david.gilbert@object-refinery.com>
27450
27451         * javax/swing/table/TableColumn.java
27452         (setMaxWidth): Updated width and preferredWidth if necessary,
27453         (getMaxWidth): Updated API docs.
27454
27455 2006-03-14  Roman Kennke  <kennke@aicas.com>
27456
27457         * javax/swing/plaf/basic/BasicSliderUI.java
27458         (TrackListener.mouseDragged): Only process event when slider is
27459         enabled.
27460         (TrackListener.mouseReleased): Only process event when slider is
27461         enabled.
27462         (TrackListener.mousePressed): Only process event when slider is
27463         enabled.
27464
27465 2006-03-14  Roman Kennke  <kennke@aicas.com>
27466
27467         * NEWS: Added note about OceanTheme support.
27468
27469 2006-03-14  Roman Kennke  <kennke@aicas.com>
27470
27471         * javax/swing/plaf/metal/MetalIconFactory.java
27472         (HorizontalSliderThumbIcon.gradientMask): New field
27473         (HorizontalSliderThumbIcon.paintIcon): Added support for the
27474         OceanTheme.
27475         (VerticalSliderThumbIcon.gradientMask): New field
27476         (VerticalSliderThumbIcon.paintIcon): Added support for the
27477         OceanTheme.
27478         * javax/swing/plaf/metal/MetalUtils.java
27479         (paintHorizontalGradient): Fixed painting of 'masked' gradients.
27480         (paintVerticalGradient): Fixed painting of 'masked' gradients.
27481
27482 2006-03-14  Mark Wielaard  <mark@klomp.org>
27483
27484         Fixes bug #26641
27485         * java/awt/LightweightDispatcher.java (dispatchEvent): Return result
27486         of handleMouseEvent.
27487         (handleMouseEvent): Return boolean to indicate whether we handled the
27488         event by passing it to a lightweight.
27489
27490 2006-03-14  Wolfgang Baer  <WBaer@gmx.de>
27491
27492         * org/omg/PortableInterceptor/ORBInitInfoPackage/ObjectIdHelper.java,
27493         * org/omg/PortableServer/ServantActivatorPOA.java,
27494         * org/omg/PortableServer/ServantLocatorPOA.java: 
27495         Make class abstract and minor api docs fixlets.
27496         * org/omg/PortableServer/ForwardRequest.java, 
27497         * org/omg/PortableServer/ServantLocatorPackage/CookieHolder.java, 
27498         * org/omg/PortableServer/POAPackage/AdapterAlreadyExists.java, 
27499         * org/omg/PortableServer/POAPackage/AdapterNonExistent.java, 
27500         * org/omg/PortableServer/POAPackage/InvalidPolicy.java, 
27501         * org/omg/PortableServer/POAPackage/NoServant.java, 
27502         * org/omg/PortableServer/POAPackage/ObjectAlreadyActive.java, 
27503         * org/omg/PortableServer/POAPackage/ObjectNotActive.java, 
27504         * org/omg/PortableServer/POAPackage/ServantAlreadyActive.java, 
27505         * org/omg/PortableServer/POAPackage/ServantNotActive.java, 
27506         * org/omg/PortableServer/POAPackage/WrongAdapter.java, 
27507         * org/omg/PortableServer/POAPackage/WrongPolicy.java, 
27508         * org/omg/PortableServer/POAManagerPackage/AdapterInactive.java, 
27509         * org/omg/PortableInterceptor/ORBInitInfoPackage/InvalidName.java,
27510         * org/omg/PortableInterceptor/ORBInitInfoPackage/DuplicateName.java,
27511         * org/omg/PortableServer/CurrentPackage/NoContext.java: Make class final.
27512
27513 2006-03-14  Wolfgang Baer  <WBaer@gmx.de>
27514
27515         * NEWS: Added entry about printing support.
27516
27517 2006-03-14  David Gilbert  <david.gilbert@object-refinery.com>
27518
27519         * javax/swing/table/TableColumn.java
27520         (COLUMN_WIDTH_PROPERTY): Updated API docs,
27521         (isResizable): Likewise,
27522         (setWidth): Likewise,
27523         (getWidth): Likewise,
27524         (setPreferredWidth): Likewise,
27525         (getPreferredWidth): Likewise,
27526         (setMinWidth): Check for negative argument and update width and 
27527         preferredWidth if necessary,
27528         (getMinWidth): Updated API docs.
27529
27530 2006-03-14  Lillian Angel  <langel@redhat.com>
27531         
27532         * java/awt/Container.java
27533         (addImpl): Removed call to repaint. No need to repaint here.
27534
27535 2006-03-14  Roman Kennke  <kennke@aicas.com>
27536
27537         * javax/swing/plaf/metal/MetalSliderUI.java
27538         (paintTrack): Added OceanTheme support.
27539
27540 2006-03-14  David Gilbert  <david.gilbert@object-refinery.com>
27541
27542         * javax/swing/table/TableColumn.java
27543         (setResizable): Fire PropertyChangeEvent if the flag value changes,
27544         (isResizable): Updated API docs.
27545
27546 2006-03-14  David Gilbert  <david.gilbert@object-refinery.com>
27547
27548         * javax/swing/LookAndFeel.java: Updated API docs.
27549
27550 2006-03-14  Roman Kennke  <kennke@aicas.com>
27551
27552         * javax/swing/plaf/metal/MetalUtils.java
27553         (paintGradient): Added support for 'masked' gradients.
27554         (paintHorizontalGradient): Likewise.
27555         (paintVerticalGradient): Likewise.
27556         * javax/swing/plaf/metal/MetalIconFactory.java
27557         (RadioButtonIcon.gradientMask): New field.
27558         (RadioButtonIcon.paintIcon): Added mask for gradient painting.
27559
27560 2006-03-14  Mark Wielaard  <mark@klomp.org>
27561
27562         Fixes bug #26645.
27563         * javax/swing/plaf/basic/BasicComboBoxEditor.java (listener):
27564         New field.
27565         (removeActionListener): Add listener to ComboBoxEditorListener.
27566         (removeActionListener): Remove listener from ComboBoxEditorListener.
27567         (ComboBoxEditorListener): New static helper class.
27568
27569 2006-03-14  Roman Kennke  <kennke@aicas.com>
27570
27571         * javax/swing/plaf/metal/MetalBorders.java
27572         (getToolBarButtonBorder): Don't create a UIResource border
27573         here.
27574         * javax/swing/plaf/metal/MetalToolBarUI.java
27575         (installUI): New overridden method. Installs the rollover property.
27576         (uninstallUI): New overridden method. Resets the rollover property.
27577         * javax/swing/plaf/metal/MetalUtils.java
27578         (paintGradient): Fetch Float values from the UIManager. Adjusted
27579         method signatures accordingly.
27580         (paintHorizontalGradient): Adjusted signature to accept float
27581         instead of double.
27582         (paintVerticalGradient): Adjusted signature to accept float
27583         instead of double.
27584         * javax/swing/plaf/metal/OceanTheme.java
27585         (addCustomEntriesToTable): Added missing UIDefaults entries,
27586         except of Icons. Fixed gradient entries to use Float instead
27587         of Double.
27588
27589 2006-03-14  Roman Kennke  <kennke@aicas.com>
27590
27591         * javax/swing/JInternalFrame.java
27592         (JInternalFrame): Make JInternalFrame opaque.
27593         * javax/swing/JToolBarFrame.java
27594         (JToolBar): Make JToolBar opaque.
27595
27596 2006-03-14  David Gilbert  <david.gilbert@object-refinery.com>
27597
27598         * javax/swing/tree/TreeNode.java: Fixed bad API doc tags,
27599         * javax/swing/tree/TreePath.java: Likewise.
27600
27601 2006-03-13  Tom Tromey  <tromey@redhat.com>
27602
27603         * javax/swing/text/html/StyleSheet.java (removeAttributes):
27604         Genericized.
27605         * javax/swing/plaf/synth/SynthLookAndFeel.java (load): Genericized.
27606         * java/rmi/server/RMIClassLoader.java (loadProxyClass): Genericized.
27607
27608 2006-03-13  Keith Seitz  <keiths@redhat.com>
27609
27610         * gnu/classpath/jdwp/processor/ReferenceTypeCommandSet.java
27611         (executeMethods): Output number of methods.
27612
27613 2006-03-13  Roman Kennke  <kennke@aicas.com>
27614
27615         * javax/swing/plaf/basic/BasicButtonUI.java
27616         (uninstallDefaults): Only uninstall border if it's a UIResource.
27617         * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java
27618         (SystemMenuBar.isFocusTraversable): Fixed typo in signature.
27619         * javax/swing/plaf/basic/BasicInternalFrameUI.java
27620         (installUI): Don't touch the opaque flag of the glassPane and
27621         the frame. Don't invalidate.
27622         * javax/swing/plaf/basic/BasicInternalFrameUI.java
27623         (installUI): Don't touch the opaque flag of the glassPane.
27624         * javax/swing/plaf/basic/BasicMenuBarUI.java
27625         (properyChangeListener): Made field private.
27626         (ChangeHandler): Made class private.
27627         (ContainerHandler): Made class private.
27628         (PropertyChangeHandler): Made class private.
27629         * javax/swing/plaf/basic/BasicMenuUI.java
27630         (MenuHandler): Made class private.
27631         (PropertyChangeHandler): Removed unneeded class.
27632         (MenuDragMouseHandler): Made class private.
27633         (MenuKeyHandler): Made class private.
27634         * javax/swing/plaf/basic/BasicPanelUI.java
27635         (installDefaults): Made method protected. Don't set opaque
27636         flag.
27637         * javax/swing/plaf/basic/BasicScrollBarUI.java
27638         (TrackListener.shouldScroll): Made method private.
27639         * javax/swing/plaf/basic/BasicSplitPaneUI.java
27640         (BasicHorizontalLayoutManager.BasicHorizontalLayoutManager):
27641         Made constructor package private.
27642         * javax/swing/plaf/basic/BasicTableHeaderUI.java
27643         (cellBorder): Made field private.
27644         * javax/swing/plaf/basic/BasicTextUI.java
27645         (installDefaults): Don't make component opaque.
27646         * javax/swing/plaf/basic/BasicToolBarUI.java
27647         (createNonRollOverBorder): Don't create UIResource border.
27648         (createRollOverBorder): Don't create UIResource border.
27649         (installComponents): Moved setRolloverBorders call here.
27650         (installDefaults): Moved setRolloverBorders call from here.
27651         (installUI): Don't make toolbar opaque.
27652         (setBorderToNonRollover): Handle AbstractButton instead of
27653         JButton here.
27654         (uninstallComponents): Don't nullify class fields here.
27655
27656 2006-03-13  David Gilbert  <david.gilbert@object-refinery.com>
27657
27658         * javax/swing/SwingUtilities.java
27659         (calculateInnerArea): handle null component, and replace 
27660         getLocalBounds() with getBounds(Rectangle) to avoid unnecessary object
27661         creation.
27662
27663 2006-03-13  Roman Kennke  <kennke@aicas.com>
27664
27665         * javax/swing/JColorChooser.java
27666         (updateUI): Don't call revalidate().
27667         * javax/swing/JComboBox.java
27668         (updateUI): Don't call invalidate().
27669         * javax/swing/JDesktopPane.java
27670         (updateUI): Don't call invalidate().
27671         * javax/swing/JFileChooser.java
27672         (updateUI): Don't call revalidate().
27673         * javax/swing/JMenu.java
27674         (updateUI): Don't call invalidate().
27675         * javax/swing/JMenuBar.java
27676         (updateUI): Don't call invalidate().
27677         * javax/swing/JMenuItem.java
27678         (updateUI): Don't call invalidate().
27679         * javax/swing/JOptionPane.java
27680         (updateUI): Don't call invalidate().
27681         * javax/swing/JPopupMenu.java
27682         (updateUI): Don't call invalidate().
27683         * javax/swing/JProgressBar.java
27684         (updateUI): Don't call invalidate().
27685         * javax/swing/JScrollBar.java
27686         (updateUI): Don't call invalidate() and repaint().
27687         * javax/swing/JScrollPane.java
27688         (updateUI): Rewritten to be like the other updateUI()
27689         methods.
27690         * javax/swing/JSlider.java
27691         (updateUI): Don't call invalidate() and repaint().
27692         * javax/swing/JSplitPane.java
27693         (updateUI): Don't call invalidate() and repaint().
27694         * javax/swing/JTabbedPane.java
27695         (updateUI): Don't call invalidate().
27696         * javax/swing/JTable.java
27697         (updateUI): Don't call revalidate() and repaint().
27698         * javax/swing/JToolBar.java
27699         (updateUI): Don't call revalidate() and repaint().
27700         * javax/swing/JToolTip.java
27701         (updateUI): Don't call revalidate() and repaint().
27702
27703 2006-03-13  Roman Kennke  <kennke@aicas.com>
27704
27705         * javax/swing/SwingUtilities.java
27706         (updateComponentTreeUI): Rewritten to be more robust. Handling of
27707         menus and non-Swing components is improved.
27708         (updateComponentTreeUIImpl): New helper method.
27709         (replaceUIActionMap): Added check for uiActionMap==parent to
27710         avoid loop.
27711         (replaceUIInputMap): Added check for uiInputMap==parent to
27712         avoid loop.
27713
27714 2006-03-13  Wolfgang Baer  <WBaer@gmx.de>
27715
27716         * gnu/classpath/debug/Component.java: 
27717         (IPP) New component for IPP debugging. 
27718         (EVERYTHING): Adapted to include IPP.
27719         * javax/print/PrintServiceLookup.java: 
27720         (registerServiceProvider): New method.
27721         (registerService): Likewise.
27722         (lookupPrintServices): Likewise.
27723         (lookupMultiDocPrintServices): Likewise.
27724         (lookupDefaultPrintService): Likewise.
27725         (static_initializer): Likewise.
27726         (printServiceLookups): New field for found service providers.
27727         (printServices): New field for application registered providers.
27728         (systemProvider): New field for the system provider.    
27729         * javax/print/ServiceUI.java: New file. 
27730         * javax/print/package.html: Added more usage content.
27731         * javax/print/event/package.html: Likewise.
27732         * javax/print/attribute/package.html: Likewise.
27733         * javax/print/attribute/standard/package.html: Likewise.
27734         * gnu/javax/print/PrintUriException.java,
27735         gnu/javax/print/PrintFlavorException.java,
27736         gnu/javax/print/PrinterDialog.java,
27737         gnu/javax/print/PrintAttributeException.java,
27738         gnu/javax/print/CupsPrintServiceLookup.java,
27739         gnu/javax/print/CupsServer.java,
27740         gnu/javax/print/CupsPrintService.java,
27741         gnu/javax/print/CupsMediaMapping.java,
27742         gnu/javax/print/CupsIppOperation.java:
27743         New implementation files of the Java Print Service API.
27744         * gnu/javax/print/ipp/IppValueTag.java,
27745         gnu/javax/print/ipp/MultiDocPrintJobImpl.java,
27746         gnu/javax/print/ipp/IppStatusCode.java,
27747         gnu/javax/print/ipp/IppUtilities.java,
27748         gnu/javax/print/ipp/IppResponse.java,
27749         gnu/javax/print/ipp/IppException.java,
27750         gnu/javax/print/ipp/IppPrintService.java,
27751         gnu/javax/print/ipp/IppRequest.java,
27752         gnu/javax/print/ipp/IppMultiDocPrintService.java,
27753         gnu/javax/print/ipp/IppDelimiterTag.java,
27754         gnu/javax/print/ipp/DocPrintJobImpl.java:
27755         New files of the IPP client implementation.
27756         * gnu/javax/print/ipp/attribute/UnknownAttribute.java,
27757         gnu/javax/print/ipp/attribute/StatusMessage.java,
27758         gnu/javax/print/ipp/attribute/RequestedAttributes.java,
27759         gnu/javax/print/ipp/attribute/NaturalLanguageSyntax.java,
27760         gnu/javax/print/ipp/attribute/DocumentAccessError.java,
27761         gnu/javax/print/ipp/attribute/DetailedStatusMessage.java,
27762         gnu/javax/print/ipp/attribute/DefaultValueAttribute.java,
27763         gnu/javax/print/ipp/attribute/CharsetSyntax.java: 
27764         New attribute syntax/role files of the printing implementation.
27765         * gnu/javax/print/ipp/attribute/supported/UriSecuritySupported.java,
27766         gnu/javax/print/ipp/attribute/supported/UriAuthenticationSupported.java,
27767         gnu/javax/print/ipp/attribute/supported/SidesSupported.java,
27768         gnu/javax/print/ipp/attribute/supported/PrintQualitySupported.java,
27769         gnu/javax/print/ipp/attribute/supported/PrinterUriSupported.java,
27770         gnu/javax/print/ipp/attribute/supported/PrinterResolutionSupported.java,
27771         gnu/javax/print/ipp/attribute/supported/PageRangesSupported.java,
27772         gnu/javax/print/ipp/attribute/supported/
27773         OrientationRequestedSupported.java, 
27774         gnu/javax/print/ipp/attribute/supported/OperationsSupported.java,
27775         gnu/javax/print/ipp/attribute/supported/
27776         MultipleDocumentHandlingSupported.java, 
27777         gnu/javax/print/ipp/attribute/supported/
27778         MultipleDocumentJobsSupported.java, 
27779         gnu/javax/print/ipp/attribute/supported/MediaSupported.java,
27780         gnu/javax/print/ipp/attribute/supported/JobSheetsSupported.java,
27781         gnu/javax/print/ipp/attribute/supported/JobHoldUntilSupported.java,
27782         gnu/javax/print/ipp/attribute/supported/IppVersionsSupported.java,
27783         gnu/javax/print/ipp/attribute/supported/
27784         GeneratedNaturalLanguageSupported.java,
27785         gnu/javax/print/ipp/attribute/supported/FinishingsSupported.java,
27786         gnu/javax/print/ipp/attribute/supported/DocumentFormatSupported.java,
27787         gnu/javax/print/ipp/attribute/supported/CompressionSupported.java,
27788         gnu/javax/print/ipp/attribute/supported/CharsetSupported.java:
27789         New supported attribute files.
27790         * gnu/javax/print/ipp/attribute/printer/CharsetConfigured.java,
27791         gnu/javax/print/ipp/attribute/printer/DocumentFormat.java,
27792         gnu/javax/print/ipp/attribute/printer/MultipleOperationTimeOut.java,
27793         gnu/javax/print/ipp/attribute/printer/NaturalLanguageConfigured.java,
27794         gnu/javax/print/ipp/attribute/printer/PrinterCurrentTime.java,
27795         gnu/javax/print/ipp/attribute/printer/PrinterDriverInstaller.java,
27796         gnu/javax/print/ipp/attribute/printer/PrinterStateMessage.java,
27797         gnu/javax/print/ipp/attribute/printer/PrinterUpTime.java:
27798         New printer description attribute files.
27799         * gnu/javax/print/ipp/attribute/job/AttributesCharset.java,
27800         gnu/javax/print/ipp/attribute/job/AttributesNaturalLanguage.java,
27801         gnu/javax/print/ipp/attribute/job/JobDetailedStatusMessages.java,
27802         gnu/javax/print/ipp/attribute/job/JobDocumentAccessErrors.java,
27803         gnu/javax/print/ipp/attribute/job/JobPrinterUri.java,
27804         gnu/javax/print/ipp/attribute/job/JobId.java,
27805         gnu/javax/print/ipp/attribute/job/JobMoreInfo.java,
27806         gnu/javax/print/ipp/attribute/job/JobUri.java,
27807         gnu/javax/print/ipp/attribute/job/JobStateMessage.java:
27808         New job description attribute files.
27809         * gnu/javax/print/ipp/attribute/defaults/CopiesDefault.java,
27810         gnu/javax/print/ipp/attribute/defaults/DocumentFormatDefault.java,
27811         gnu/javax/print/ipp/attribute/defaults/FinishingsDefault.java,
27812         gnu/javax/print/ipp/attribute/defaults/JobHoldUntilDefault.java,
27813         gnu/javax/print/ipp/attribute/defaults/JobPriorityDefault.java,
27814         gnu/javax/print/ipp/attribute/defaults/JobSheetsDefault.java,
27815         gnu/javax/print/ipp/attribute/defaults/MediaDefault.java,
27816         gnu/javax/print/ipp/attribute/defaults/
27817         MultipleDocumentHandlingDefault.java,
27818         gnu/javax/print/ipp/attribute/defaults/NumberUpDefault.java,
27819         gnu/javax/print/ipp/attribute/defaults/OrientationRequestedDefault.java,
27820         gnu/javax/print/ipp/attribute/defaults/PrinterResolutionDefault.java,
27821         gnu/javax/print/ipp/attribute/defaults/PrintQualityDefault.java,
27822         gnu/javax/print/ipp/attribute/defaults/SidesDefault.java:
27823         New default printing attribute files.
27824         * resource/gnu/javax/print/PrinterDialog.properties: New file.
27825         * resource/gnu/javax/print/PrinterDialog_de.properties: Likewise.
27826         * examples/gnu/classpath/examples/print/Demo.java: 
27827         New demo application of the current implemented functionality.
27828
27829 2006-03-13  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
27830
27831         * java/rmi/activation/ActivationGroupDesc.java: Implemented.
27832         java/rmi/activation/ActivationDesc.java.java,
27833         java/rmi/activation/ActivationGroup.java,
27834         java/rmi/activation/ActivationID.java,
27835         java/rmi/activation/ActivationMonitor.java,
27836         java/rmi/activation/ActivationSystem.java,
27837         java/rmi/activation/package.html: Documenting.
27838
27839 2006-03-13  Roman Kennke  <kennke@aicas.com>
27840
27841         * javax/swing/JInternalFrame.java
27842         (setSelected): Repaint frame when it is showing and the selection
27843         state changes.
27844
27845 2006-03-13  Roman Kennke  <kennke@aicas.com>
27846
27847         * javax/swing/AbstractButton.java
27848         (AbstractAccessibleButton.getAccessibleRelationSet): Return super....()
27849         instead of null.
27850
27851 2006-03-13  Roman Kennke  <kennke@aicas.com>
27852
27853         * javax/accessibility/AccessibleContext.java
27854         (getAccessibleRelationSet): Return empty set instead of null.
27855
27856 2006-03-13  Roman Kennke  <kennke@aicas.com>
27857
27858         * javax/swing/ImageIcon.java
27859         (loadImage): Remove completed images from the MediaTracker. This
27860         avoids a potential memory leak.
27861
27862 2006-03-12  Wolfgang Baer  <WBaer@gmx.de>
27863
27864         * javax/print/MultiDocPrintService.java, 
27865         * javax/print/MultiDocPrintJob.java, 
27866         * javax/print/MultiDoc.java: Added and enhanced documentation.
27867
27868 2006-03-12  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
27869
27870         * java/rmi/activation/ActivationID.java (uid): New field.
27871         (writeExternal, readExternal): New methods. 
27872         (equals, hashCode): Rewritten.
27873         * java/rmi/activation/ActivationInstantiator.java,
27874         * java/rmi/activation/ActivationSystem.java,
27875         * java/rmi/activation/Activator.java,
27876         * java/rmi/activation/Activatable.java,
27877         * java/rmi/activation/ActivationGroup.java,
27878         * java/rmi/activation/ActivationGroupDesc.java: 
27879         Documented and autoformatted.
27880         * java/rmi/activation/package.html: Added content.
27881         
27882 2006-03-12  Chris Burdess  <dog@gnu.org>
27883
27884         Fixes PR 26652
27885         * gnu/xml/stream/XMLParser.java: Fix for case when both reader and
27886           encoding are specified.
27887
27888 2006-03-11  David Gilbert  <david.gilbert@object-refinery.com>
27889
27890         * javax/swing/DefaultSingleSelectionModel.java: API docs all over, plus
27891         (changeEvent): Initialise in fireStateChange(),
27892         (setSelectedIndex): Check if change is made before firing event,
27893         (clearSelection): Delegate to setSelectedIndex(),
27894         (fireStateChanged): Initialise changeEvent if necessary,
27895         * javax/swing/SingleSelectionModel.java: API docs all over.
27896
27897 2006-03-11  Tom Tromey  <tromey@redhat.com>
27898
27899         * java/util/zip/InflaterInputStream.java: Reverted previous
27900         patch.
27901
27902 2006-03-11  Mark Wielaard  <mark@klomp.org>
27903
27904         * java/text/AttributedCharacterIterator.java (Attribute.readResolve):
27905         Compare name.
27906
27907 2006-03-11  David Gilbert  <david.gilbert@object-refinery.com>
27908
27909         * javax/swing/event/TreeSelectionEvent.java
27910         (isAddedPath(TreePath)): Throw IllegalArgumentException if path is
27911         not one of the added/removed paths,
27912         (cloneWithSource): Reformatted.
27913
27914 2006-03-11  David Gilbert  <david.gilbert@object-refinery.com>
27915
27916         * javax/swing/tree/TreeCellEditor.java: Added API docs,
27917         * javax/swing/tree/TreeCellRenderer.java: Likewise.
27918
27919 2006-03-10  Casey Marshall  <csm@gnu.org>
27920
27921         Fixes PR 23768.
27922         * javax/crypto/Cipher.java (doFinal, doFinal, doFinal): don't
27923         reset `state.'
27924         (doFinal, update): new methods.
27925         (init, init, init, init): initialize `state' after trying the
27926         implementation, which can throw an exception.
27927         * javax/crypto/CipherSpi.java (engineDoFinal, engineUpdate): new
27928         methods.
27929
27930 2006-03-11  Ito Kazumitsu  <kaz@maczuka.gcd.org>
27931
27932         * gnu/regexp/BacktrackStack.java: New file.
27933         * gnu/regexp/RE.java(findMatch): New method.
27934         * gnu/regexp/REMatch.java(next,matchFlags,MF_FIND_ALL,
27935         REMatchList): Removed. (backtrackStack): New field.
27936         * gnu/regexp/REToken.java(match): Changed from an abstract
27937         method to an ordinary method defined with the new method
27938         matchThis. (matchThis, getNext, findMatch, returnsFixedLengthMatches,
27939         findFixedLengthMatches, backtrack, toString): New methods.
27940         * gnu/regexp/RETokenAny.java: Inplemented new methods of REToken.
27941         * gnu/regexp/RETokenBackRef.java: Likewise.
27942         * gnu/regexp/RETokenChar.java: Likewise.
27943         * gnu/regexp/RETokenEnd.java: Likewise.
27944         * gnu/regexp/RETokenEndSub.java: Likewise.
27945         * gnu/regexp/RETokenIndependent.java: Likewise.
27946         * gnu/regexp/RETokenLookAhead.java: Likewise.
27947         * gnu/regexp/RETokenLookBehind.java: Likewise.
27948         * gnu/regexp/RETokenNamedProperty.java: Likewise.
27949         * gnu/regexp/RETokenPOSIX.java: Likewise.
27950         * gnu/regexp/RETokenRange.java: Likewise.
27951         * gnu/regexp/RETokenStart.java: Likewise.
27952         * gnu/regexp/RETokenWordBoundary.java: Likewise
27953         * gnu/regexp/RETokenOneOf.java: Rewriten.
27954         * gnu/regexp/RETokenRepeated.java: Rewriten.
27955
27956 2006-03-10  Roman Kennke  <kennke@aicas.com>
27957
27958         * javax/swing/plaf/metal/MetalBorders.java
27959         (RolloverButtonBorder.paintBorder): Only call super here.
27960         * javax/swing/plaf/metal/MetalButtonListener.java
27961         (propertyChange): Only call super here.
27962         * javax/swing/plaf/metal/MetalButtonUI.java
27963         (update): Changed condition from isOpaque() to isContentAreaFilled()
27964         for the gradient fill.
27965         * javax/swing/plaf/metal/MetalToggleButtonUI.java
27966         (paintText): API doc fix. Makes paintText not deprecated as specified
27967         but adds comment that this is obsolete.
27968         * javax/swing/plaf/metal/MetalUtils.java
27969         (fillMetalPattern): Fixed condition so that the Java2D is not
27970         used when the noGraphics2D property is set.
27971
27972 2006-03-10  Roman Kennke  <kennke@aicas.com>
27973
27974         * javax/swing/plaf/metal/MetalLookAndFeel.java
27975         (createDefaultTheme): Set OceanTheme as default metal theme.
27976
27977 2006-03-10  Roman Kennke  <kennke@aicas.com>
27978
27979         * javax/swing/text/WrappedPlainView.java
27980         (metrics): Made field package private to avoid accessor method.
27981         (WrappedLine.paint): Call drawLine with y offset of the font ascent.
27982         The drawLine (righly) interprets the y parameter as the baseline.
27983         * javax/swing/text/Utilities.java
27984         (getBreakLocation): Don't consider the offset. The returned value
27985         for getTabbedTextOffset is already relative to the offset.
27986
27987 2006-03-10  Wolfgang Baer  <WBaer@gmx.de>
27988
27989         * gnu/java/net/protocol/http/Headers.java: Added documentation all over.
27990         (dateFormat): Made private.
27991         (put): Replace only the last occurance and the value.
27992         (putAll): Save one iteration. Clarified documentation.
27993
27994 2006-03-10  Tom Tromey  <tromey@redhat.com>
27995
27996         * java/util/zip/InflaterInputStream.java (read): Replace with libgcj
27997         implementation.
27998         * java/util/zip/GZIPInputStream.java (readHeader): Use DEFLATED,
27999         not '8'.
28000
28001 2006-03-10  Lillian Angel  <langel@redhat.com>
28002
28003         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c
28004         (comboboxgroup_get_widget): New function.
28005         (removed): Fixed to use new function to get the correct widget.
28006         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
28007         (nativeSetCheckboxGroup): Reverted last patch to use get_widget
28008         function.
28009
28010 2006-03-10  Lillian Angel  <langel@redhat.com>
28011
28012         * java/awt/GridBagLayout.java
28013         (ArrangeGrid): Added checks to determine if component
28014         is placed last in a row or column. If so, the location
28015         of the last component should be used to get the location
28016         of the current component.
28017
28018 2006-03-10  Lillian Angel  <langel@redhat.com>
28019
28020         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
28021         (nativeSetCheckboxGroup): No need to use new function here.
28022         Should just pass in pointer.
28023
28024 2006-03-10  Lillian Angel  <langel@redhat.com>
28025
28026         * java/awt/GridBagLayout.java
28027         (distributeSizeAndWeight): Change else if to else. This
28028         allows for components to be added to a new row when 
28029         their gridheight is REMAINDER.
28030
28031 2006-03-10  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
28032
28033         * java/rmi/activation/ActivationDesc.java,
28034         java/rmi/activation/ActivationGroupID.java,
28035         java/rmi/activation/Activator.java,
28036         java/rmi/server/Operation.java,
28037         java/rmi/server/RemoteServer.java: Documented and formatted.
28038
28039 2006-03-10  David Gilbert  <david.gilbert@object-refinery.com>
28040
28041         * javax/swing/JToggleButton.java: Fixed API doc tags,
28042         * javax/swing/OverlayLayout.java: Likewise.
28043
28044 2006-03-10  David Gilbert  <david.gilbert@object-refinery.com>
28045
28046         * javax/swing/DefaultCellEditor.java
28047         (cancelCellEditing): Removed spurious API doc tag.
28048
28049 2006-03-10  Lillian Angel  <langel@redhat.com>
28050
28051         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
28052         (create): Put checkbox widget into an event box so it paints properly.
28053         (connectSignals): Fixed to use new function.
28054         (nativeSetCheckboxGroup): Likewise.
28055         (gtkToggleButtonSetActive): Likewise.
28056         (gtkWidgetModifyFont): Likewise.
28057         (gtkButtonSetLabel): Likewise.
28058         (combobox_get_widget): New function.
28059
28060 2006-03-10  David Gilbert  <david.gilbert@object-refinery.com>
28061
28062         * javax/swing/text/rtf/package.html: New file.
28063         
28064 2006-03-10  Roman Kennke  <kennke@aicas.com>
28065
28066         * javax/swing/plaf/metal/OceanTheme.java
28067         (addCustomEntriesToTable): Fixed ScrollBar.gradient value.
28068         * javax/swing/plaf/metal/MetalScrollBarUI.java
28069         (paintThumb): Only draw Metal pattern if theme is not OceanTheme.
28070         (paintThumbHorizontal): Added handling of OceanTheme.
28071         (paintThumbVertical): Added handling of OceanTheme.
28072
28073 2006-03-10  Roman Kennke  <kennke@aicas.com>
28074
28075         Reported by Fridjof Siebert <siebert@aicas.com>
28076         * java/awt/MediaTracker.java
28077         (removeImage): Only set prev to e when the the images of the
28078         entries are not the same. This avoids a potentially corrupt list.
28079
28080 2006-03-10  Chris Burdess  <dog@gnu.org>
28081
28082         PR 26620:
28083         * gnu/xml/transform/TransformerImpl.java: Suspend wellformedness
28084           checking while reindenting.
28085
28086 2006-03-10  Thomas Fitzsimmons  <fitzsim@redhat.com>
28087
28088         * javax/imageio/plugins/jpeg/JPEGHuffmanTable.java: New file.
28089
28090 2006-03-09  Tom Tromey  <tromey@redhat.com>
28091
28092         PR classpath/26585:
28093         * tools/Makefile.am (TOOLSdir): Don't put tools.zip in tools
28094         subdir.  Added README.
28095         (install-data-local): Removed.
28096         (uninstall-local): Likewise.
28097         (EXTRA_DIST): Removed.
28098
28099 2006-03-09  Tom Tromey  <tromey@redhat.com>
28100
28101         PR classpath/26623:
28102         * native/jni/qt-peer/Makefile.am (nativeexeclib_LTLIBRARIES):
28103         Renamed.
28104         * native/jni/midi-alsa/Makefile.am (nativeexeclib_LTLIBRARIES):
28105         Renamed.
28106         * native/jni/java-net/Makefile.am (nativeexeclib_LTLIBRARIES):
28107         Renamed.
28108         * native/jni/java-lang/Makefile.am (nativeexeclib_LTLIBRARIES):
28109         Renamed.
28110         * native/jni/xmlj/Makefile.am (nativeexeclib_LTLIBRARIES):
28111         Renamed.
28112         * native/jni/gtk-peer/Makefile.am (nativeexeclib_LTLIBRARIES):
28113         Renamed.
28114         * native/jni/midi-dssi/Makefile.am (nativeexeclib_LTLIBRARIES):
28115         Renamed.
28116         * native/jni/java-io/Makefile.am (nativeexeclib_LTLIBRARIES):
28117         Renamed.
28118         * native/jni/java-nio/Makefile.am (nativeexeclib_LTLIBRARIES):
28119         Renamed.
28120         * native/jni/java-util/Makefile.am (nativeexeclib_LTLIBRARIES):
28121         Renamed.
28122         * native/jawt/Makefile.am (nativeexeclib_LTLIBRARIES): Renamed.
28123         * configure.ac (nativeexeclibdir): Renamed from nativelibdir.
28124
28125 2006-03-09  Keith Seitz  <keiths@redhat.com>
28126
28127         * gnu/classpath/jdwp/processor/MethodCommandSet.java
28128         (executeVariableTable): Use VMMethod instead of reflection.
28129         (executeLineTable): Likewise.
28130         * gnu/classpath/jdwp/processor/ReferenceTypeCommandSet.java
28131         (executeMethods): Rewrite to use new VMVirtualMachine.getAllClassMethods.
28132         * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java
28133         (getLineTable): Removed. Now resides in VMMethod.
28134         (getVarTable): Likewise.
28135         (getAllClassMethods): New method.
28136         
28137 2006-03-09  Keith Seitz  <keiths@redhat.com>
28138
28139         * gnu/classpath/jdwp/event/EventManager.java: Update javadoc.
28140         * gnu/classpath/jdwp/event/ThreadStartEvent.java
28141         (ThreadStartEvent): Likewise.
28142         * gnu/classpath/jdwp/event/VmDeathEvent.java (VmDeathEvent): Likewise.
28143         * gnu/classpath/jdwp/event/filters/ConditionalFilter.java
28144         (ConditionalFilter): Likewise.
28145         * gnu/classpath/jdwp/event/filters/ExceptionOnlyFilter.java
28146         (ExceptionOnlyFilter): Likewise.
28147         * gnu/classpath/jdwp/event/filters/FieldOnlyFilter.java
28148         (FieldOnlyFilter): Likewise.
28149         * gnu/classpath/jdwp/event/filters/StepFilter.java (getDepth): Likewise.
28150         (getSize): Likewise.
28151         (StepFilter): Likewise.
28152         * gnu/classpath/jdwp/id/JdwpId.java: Likewise (for _tag).
28153         * gnu/classpath/jdwp/transport/JdwpPacket.java
28154         (JdwpPacket): Likewise.
28155         (fromBytes): Likewise.
28156         * gnu/classpath/jdwp/transport/JdwpReplyPacket.java
28157         (JdwpReplyPacket): Likewise.
28158         * gnu/classpath/jdwp/util/Value.java (getUntaggedObj): Likewise.
28159         * vm/reference/gnu/classpath/jdwp/VMIdManager.java
28160         (getReferenceType): Likewise.
28161         (newObjectId): Likewise.
28162         * vm/reference/gnu/classpath/jdwp/VMMethod.java (readId): Likewise.
28163         * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java
28164         (getFrames): Fix typo in parameter name and update javadoc.
28165         (getClassMethod): Update javadoc.
28166
28167 2006-03-09  David Gilbert  <david.gilbert@object-refinery.com>
28168
28169         * javax/swing/event/TreeSelectionEvent.java: Updated API docs,
28170         * javax/swing/event/TreeSelectionListener.java: Likewise.
28171
28172 2006-03-09  Lillian Angel  <langel@redhat.com>
28173
28174         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c
28175         (getHScrollbarHeight): Fixed property name.
28176         (getVScrollbarHeight): Likewise.
28177
28178 2006-03-09  Lillian Angel  <langel@redhat.com>
28179
28180         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
28181         (get_widget): New function.
28182         (gtkWidgetSetParent): Changed to use new function.
28183         (gtkWidgetSetCursorUnlocked): Likewise.
28184         (gtkWidgetSetSensitive): Likewise.
28185         (gtkWidgetRequestFocus): Likewise.
28186         (gtkWindowGetLocationOnScreen): Likewise.
28187         (gtkWidgetGetDimensions): Likewise.
28188         (gtkWidgetGetPreferredDimensions): Likewise.
28189         (setNativeBounds): Likewise.
28190         (gtkWidgetGetBackground): Likewise.
28191         (gtkWidgetGetForeground): Likewise.
28192         (gtkWidgetSetBackground): Likewise.
28193         (gtkWidgetSetForeground): Likewise.
28194         (setVisibleNativeUnlocked): Likewise.
28195         (isEnabled): Likewise.
28196         (isRealized): Likewise.
28197         (setNativeEventMask): Likewise.
28198
28199 2006-03-09  Lillian Angel  <langel@redhat.com>
28200
28201         PR Classpath\22163
28202         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
28203         (create): Added combobox widget to an event box.
28204         (connectSignals): Added call to choice_get_widget to get the
28205         combobox out of the event box.
28206         (append): Likewise.
28207         (nativeRemoveAll): Likewise.
28208         (nativeRemove): Likwise.
28209         (nativeAdd): Likewise.
28210         (selectNative): Likewise.
28211         (choice_get_widget): New function.
28212         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
28213         (create): Added list scroll window widget to an event box.
28214         (connectSignals): Changed call to use new function to get the
28215         correct widget out of the event box.
28216         (getWidgetModifyFont): Likewise.
28217         (getWidgetRequestFocus): Likewise.
28218         (append): Likewise.
28219         (add): Likewise.
28220         (delItems): Likewise.
28221         (select): Likewise.
28222         (deselect): Likewise.
28223         (getSize): Likewise.
28224         (getSelectedIndexes): Likewise.
28225         (makeVisible): Likewise.
28226         (setMultipleMode): Likewise.
28227         (list_get_widget): New function.
28228         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c
28229         (create): Added scrollpane to an eventbox.
28230         (setScrollPosition): Changed call to use new function to get the
28231         correct widget out of the event box.
28232         (gtkScrolledWindowSetHScrollIncrement): Likewise.
28233         (gtkScrolledWindowSetVScrollIncrement): Likewise.
28234         (getHScrollbarHeight): Likewise.
28235         (getVScrollbarWidth): Likewise.
28236         (setPolicy): Likewise.
28237         (scrollpane_get_widget): New function.
28238         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollbarPeer.c
28239         (connectSignals): Changed call to use new function to get the
28240         correct widget out of the event box.
28241         (create): Added scrollbar to an eventbox.
28242         (setLineIncrement): Changed call to use new function to get the
28243         correct widget out of the event box.
28244         (setPageIncrement): Likewise.
28245         (setBarValues): Likewise.
28246         (scrollbar_get_widget): New function.
28247         * native/jni/gtk-peer/gnu_java_gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
28248         (create): Added text area scroll window widget to an event box.
28249         (connectSignals): Changed call to use new function to get the
28250         correct widget out of the event box.
28251         (insert): Likewise.
28252         (replaceRange): Likewise.
28253         (gtkWidgetModifyFont): Likewise.
28254         (gtkWidgetRequestFocus): Likewise.
28255         (getHScrollbarHeight): Likewise.
28256         (getVScrollbarWidth): Likewise.
28257         (getCaretPosition): Likewise.
28258         (setCaretPosition):Likewise.
28259         (getSelectionStart): Likewise.
28260         (getSelectionEnd): Likewise.
28261         (select): Likewise.
28262         (setEditable): Likewise.
28263         (getText): Likewise.
28264         (setText): Likewise.
28265         (textarea_get_widget): New function.
28266
28267 2006-03-09  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
28268
28269         * java/rmi/dgc/VMID.java: 
28270         (equals, hashCode, static initializer): Rewritten.
28271         * java/rmi/dgc/package.html: Documented.
28272         
28273 2006-03-09  Mark Wielaard  <mark@klomp.org>
28274
28275         * gnu/java/awt/peer/gtk/GtkClipboard.java (clipboard, selection):
28276         New static field.
28277         (stringMimeType, imageMimeType, filesMimeType): Initialize directly.
28278         (canCache): Likewise.
28279         (GtkClipboard): Take String argument.
28280         (getInstance): Removed.
28281         (getClipboardInstance, getSelectionInstance): New static methods.
28282         (setSystemContents): Make synchronized. Takes boolean argument.
28283         (initNativeState): Add clipboard and selection.
28284         * gnu/java/awt/peer/gtk/GtkClipboardNotifier.java
28285         (announceClipboardChange, announcePrimaryChange): New static field.
28286         (announce): Take GtkClipboard as argument.
28287         (run): Check which clipboard to announce change for.
28288         * gnu/java/awt/peer/gtk/GtkSelection.java (clipboard): New final
28289         boolean field.
28290         (GtkSelection): Take GtkClipboard as argument.
28291         (requestText, requestImage, requestURIs, requestBytes): Add boolean
28292         clipboard argument.
28293         (requestMimeTypes): Likewise.
28294         * gnu/java/awt/peer/gtk/GtkToolkit.java (getSystemSelection):
28295         New method.
28296         * java/awt/Toolkit.java (getSystemSelection): Document.
28297         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c
28298         (cp_gtk_selection_instance): New var.
28299         (current_selection, owner): Removed.
28300         (clipboard_owner_change_cb): Use clipboard argument.
28301         (initNativeState): Store clipboard and selection instances. Cache
28302         setSystemContentsID, provideContentID, provideTextID, provideImageID,
28303         and provideURIsID.
28304         (clipboard_get_func): Use clipboard argument.
28305         (clipboard_clear_func): Likewise. Always call method.
28306         (advertiseContent): Don't cache method ids here. Check whether to
28307         use clpboard or selection. Don't set owner or current_selection.
28308         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkSelection.c
28309         (requestText, requestImage, requestURIs, requestBytes): Use extra
28310         boolean argument to select clipboard.
28311         * native/jni/gtk-peer/gtkpeer.h (cp_gtk_selection): New extern.
28312         (cp_gtk_clipboard_instance, cp_gtk_selection_instance): Likewise.
28313         * include/gnu_java_awt_peer_gtk_GtkClipboard.h: Regenerate.
28314         * include/gnu_java_awt_peer_gtk_GtkSelection.h: Likewise.
28315
28316 2006-03-09  Keith Seitz  <keiths@redhat.com>
28317
28318         * gnu/classpath/jdwp/Jdwp.java: Remove unused imports.
28319         * gnu/classpath/jdwp/event/EventRequest.java: Likewise.
28320         * gnu/classpath/jdwp/event/filters/ClassMatchFilter.java: Likewise.
28321         * gnu/classpath/jdwp/event/filters/ThreadOnlyFilter.java: Likewise.
28322         * gnu/classpath/jdwp/processor/ThreadReferenceCommandSet.java: Likewise.
28323         * gnu/classpath/jdwp/transport/ITransport.java: Likewise.
28324         * vm/reference/gnu/classpath/jdwp/VMIdManager.java: Likewise.
28325         * vm/reference/gnu/classpath/jdwp/VMMethod.java: Likewise.
28326         * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java: Likewise.
28327
28328 2006-03-09  Mark Wielaard  <mark@klomp.org>
28329
28330         * javax/swing/JList.java (ensureIndexIsVisible): Check whether cell
28331         bounds for index is valid.
28332         * javax/swing/plaf/basic/BasicListUI.java (valueChanged): Likewise.
28333         (paint): Likewise.
28334         (getCellBounds): Update documentation.
28335
28336 2006-03-09  Arnaud Vandyck  <avdyk@gnu.org>
28337
28338         * .classpath: added exclude pattern on source folders
28339         (Makefiles, README and .cvsignore)
28340
28341 2006-03-08  Michael Koch  <konqueror@gmx.de>
28342
28343         * java/net/Proxy.java (NO_PROXY): Made final.
28344         (equals): Likewise.
28345         (hashCode): Likewise.
28346
28347 2006-03-08  Keith Seitz  <keiths@redhat.com>
28348
28349         * vm/reference/gnu/classpath/jdwp/VMMethod.java: New file.
28350         * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java
28351         (getClassMethod): New method.
28352
28353 2006-03-08  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
28354
28355         * java/rmi/server/UID.java (getMachineId): Include the host IP address.
28356     
28357 2006-03-08  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
28358
28359         * java/rmi/server/ObjID.java: Documented and autoformatted.
28360
28361 2006-03-08  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
28362
28363         PR 26584
28364         * tools/Makefile.am (install-data-local,
28365         uninstall-local): Install/uninstall the tools/README only.
28366         * tools/gnu/classpath/tools/giop/README: Updated.
28367         * tools/README: New file.
28368
28369 2006-03-08  Lillian Angel  <langel@redhat.com>
28370
28371         * java/awt/GridBagLayout.java
28372         (GetLayoutInfo): If the last component added had gridwidth == REMAINDER,
28373         then the next item should be set to current_y (not 0).
28374
28375 2006-03-08  Lillian Angel  <langel@redhat.com>
28376
28377         * java/awt/GridBagLayout.java
28378         (GetLayoutInfo): If gridy is RELATIVE and there is no component
28379         in the bottom-most spot of the column, we need to place that component
28380         at the y-location of the other components in that row. If there are
28381         no other components in that row, then place it at y = 0.
28382
28383 2006-03-08  David Gilbert  <david.gilbert@object-refinery.com>
28384
28385         * javax/swing/ProgressMonitor.java: Updated API docs,
28386         * javax/swing/ProgressMonitorInputStream.java: Likewise.
28387
28388 2006-03-08  Michael Koch  <konqueror@gmx.de>
28389
28390         * java/net/InetSocketAddress.java
28391         (InetSocketAddress(String,int,resolve)): New private contructor.
28392         (InetSocketAddress(String,int)): Use new private constructor.
28393         (createUnresolved): New method.
28394
28395 2006-03-07  Michael Koch  <konqueror@gmx.de>
28396
28397         * gnu/java/net/DefaultProxySelector.java,
28398         java/net/Proxy.java, java/net/ProxySelector.java:
28399         New files.
28400
28401 2006-03-07  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
28402
28403         * java/rmi/server/UID.java (constructor): Assign last and time fields
28404         after pause.
28405
28406 2006-03-07  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
28407
28408         * java/rmi/server/UID.java: New file (replacing). 
28409
28410 2006-03-08  Raif S. Naffah  <raif@swiftdsl.com.au>
28411
28412         * java/util/jar/Manifest.java: Removed unused imports.
28413         (CRLF): New constant.
28414         (read): Added method documentation.
28415         Use UTF-8 encoding instead of 8859_1.
28416         (write): Added method documentation.
28417         Use BufferedOutputStream (w/ 4K buffer) instead of PrintWriter.
28418         (write_main_section): Replace PrintWriter arg with OutputStream.
28419         Replace JarException with IOException.
28420         (write_version_info): Likewise.
28421         (write_main_attributes): Likewise.
28422         (write_attribute_entry): Likewise.
28423         (write_individual_sections): Likewise.
28424         (write_entry_attributes): Likewise.
28425         (write_header): Replace PrintWriter arg with OutputStream.
28426         Re-implemented.
28427
28428 2006-03-07  David Gilbert  <david.gilbert@object-refinery.com>
28429
28430         * javax/swing/tree/DefaultMutableTreeNode.java
28431         (getFirstChild): Updated API docs,
28432         (getLastChild): Likewise,
28433         (getChildAfter): Likewise,
28434         (getChildBefore): Likewise,
28435         (isNodeSibling): Return true if node == this,
28436         (getSiblingCount): Updated API docs,
28437         (getNextSibling): Likewise,
28438         (getPreviousSibling): Likewise,
28439         (isLeaf): Likewise,
28440         (getFirstLeaf): Likewise,
28441         (getLastLeaf): Likewise,
28442         (getNextLeaf): Implemented,
28443         (getPreviousLeaf): Implemented.
28444
28445 2006-03-07  Tom Tromey  <tromey@redhat.com>
28446
28447         * java/awt/image/ColorModel.java (getComponents): Javadoc fix.
28448         * java/awt/datatransfer/FlavorEvent.java: Added missing @since.
28449         * java/awt/dnd/DropTargetEvent.java (serialVersionUID): New field.
28450         * java/awt/DefaultFocusTraversalPolicy.java (serialVersionUID): New
28451         field.
28452
28453 2006-03-07  David Gilbert  <david.gilbert@object-refinery.com>
28454
28455         * javax/swing/tree/DefaultMutableTreeNode.java: API docs all over plus
28456         (clone): Reimplemented,
28457         (add): Throw IllegalArgumentException if child is an ancestor,
28458         (remove(int)): Set child's parent to null,
28459         (remove(MutableTreeNode)): Check arguments and set child's parent to 
28460         null,
28461         (insert): Check allowsChildren flag, check for null argument, and
28462         check for a node that is an ancestor,
28463         (getIndex): Throw IllegalArgumentException for null argument,
28464         (setAllowsChildren): If setting to false, remove existing children,
28465         (removeAllChildren): Set parent to null for removed children.
28466
28467 2006-03-07  David Gilbert  <david.gilbert@object-refinery.com>
28468
28469         * javax/swing/tree/TreeNode.java: Reformatted and added API docs all
28470         over.
28471
28472 2006-03-06  Tom Tromey  <tromey@redhat.com>
28473
28474         * java/lang/StrictMath.java (ulp): New methods.
28475         * java/lang/Math.java (ulp): New methods.
28476
28477 2006-03-07  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
28478
28479         * gnu/java/rmi/server/UnicastRef.java,
28480         * gnu/java/rmi/server/UnicastServer.java: Formatted.
28481         
28482 2006-03-07  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
28483
28484         * gnu/java/rmi/server/CombinedClassLoader.java 
28485         (findClass, findLibrary, findResouce, findResources): check
28486         all loaders in array.
28487         
28488 2006-03-07  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
28489
28490         PR 25526
28491         * gnu/java/rmi/dgc/DGCImpl.java (LeaseRecord, leaseCache): Removed.
28492         (RefProtector):    new inner class. (dirty): Rewritten.
28493         * gnu/java/rmi/server/UnicastRef.java (dgcId, dgcInterfaceHash,
28494         dgcSequence, DIRTY, this_id): New fields. (equals, hashCode, notifyDGC):
28495         new methods. (readExternal): Create LeaseRenewingTask if non local.
28496         * gnu/java/rmi/server/UnicastServer.java (objects):
28497         Use WeakHashMap. (refcache): Use WeakIdentityHashMap.
28498         (getExported): New method.
28499         * gnu/java/rmi/dgc/LeaseRenewingTask.java: New file.
28500         
28501 2006-03-06  Mark Wielaard  <mark@klomp.org>
28502
28503         * doc/www.gnu.org/announce/20060306.wml: New file.
28504         * doc/www.gnu.org/newsitems.txt: Add 0.90 release announcement.
28505         * doc/www.gnu.org/downloads/downloads.wml: Add 0.90.
28506         
28507 2006-03-06  David Gilbert  <david.gilbert@object-refinery.com>
28508
28509         * javax/swing/plaf/metal/MetalLookAndFeel.java
28510         (initComponentDefaults): Use Boolean.TRUE for
28511         'CheckBoxMenuItem.borderPainted'.
28512         
28513 2006-03-06  Wolfgang Baer  <WBaer@gmx.de>
28514
28515         * gnu/java/net/protocol/http/Headers.java: Added documentation all over.
28516         (dateFormat): Made private.
28517         (put): Replace only the last occurance and the value.
28518         (putAll): Reimplemented with the put method.
28519         
28520 2006-03-06  Lillian Angel  <langel@redhat.com>
28521
28522         PR classpath/26569
28523         * java/awt/List.java
28524         (preferredSize): Return the size of the list if the peer is 
28525         null.
28526         * gnu/java/awt/peer/gtk/GtkListPeer.java
28527         (preferredSize): Code was returning the minimum size of the 
28528         list. Added adjustment to the width of the list so it is a 
28529         proper size.
28530         
28531 2006-03-06  Wolfgang Baer  <WBaer@gmx.de>
28532
28533         * gnu/java/net/protocol/http/HTTPURLConnection.java: Organized imports.
28534         (getRequestProperty): Remove duplicated null check.
28535         * java/net/URLConnection.java:
28536         (URLConnection): Javadoc fix.
28537         (addRequestProperty): Likewise.
28538         (getDefaultRequestProperty): Likewise.
28539         (getHeaderField): Likewise.
28540         (getHeaderFieldDate): Likewise.
28541         (getHeaderFieldKey): Likewise.
28542         (getHeaderFields): Likewise.
28543         (getRequestProperties): Likewise.
28544         (getRequestProperty): Likewise.
28545         (setDefaultRequestProperty): Likewise.
28546         (setRequestProperty): Likewise.
28547         
28548 2006-03-06  Robert Schuster  <robertschuster@fsfe.org>
28549       
28550         * examples/gnu/classpath/examples/swing/TextArea.java: New file.
28551         * examples/gnu/classpath/examples/swing/Demo.java:
28552         (mkButtonBar): Changed layout manager to GridLayout, added entry for
28553         textarea example.
28554         (mkMenuBar): Added entry for text area example.
28555         
28556 2006-03-06  Tom Tromey  <tromey@redhat.com>
28557
28558         * javax/swing/plaf/synth/Region.java (FILE_CHOOSER): Renamed.
28559         (FORMATTED_TEXT_FIELD): Likewise.
28560         
28561 2006-03-06  Tom Tromey  <tromey@redhat.com>
28562
28563         * javax/swing/plaf/synth/SynthPainter.java: Finished.
28564         
28565 2006-03-06  Robert Schuster  <robertschuster@fsfe.org>
28566
28567         * examples/gnu/classpath/examples/swing/Demo.java:
28568         (mkMenuBar): Added menu entry that will display the VM's name,
28569         version and distributor.
28570         
28571 2006-03-06  Tom Tromey  <tromey@redhat.com>
28572          
28573         * javax/swing/plaf/synth/SynthLookAndFeel.java (getDescription): 
28574         Javadoc fix.
28575         (getName): Likewise.
28576         
28577 2006-03-06  Raif S. Naffah  <raif@swiftdsl.com.au>
28578
28579         * java/util/jar/Manifest.java: Removed unused imports.
28580         (CRLF): New constant.
28581         (read): Added method documentation.
28582         Use UTF-8 encoding instead of 8859_1.
28583         (write): Added method documentation.
28584         Use BufferedOutputStream (w/ 4K buffer) instead of PrintWriter.
28585         (write_main_section): Replace PrintWriter arg with OutputStream.
28586         Replace JarException with IOException.
28587         (write_version_info): Likewise.
28588         (write_main_attributes): Likewise.
28589         (write_attribute_entry): Likewise.
28590         (write_individual_sections): Likewise.
28591         (write_entry_attributes): Likewise.
28592         (write_header): Replace PrintWriter arg with OutputStream.
28593         Re-implemented.
28594         
28595 2006-03-06  David Gilbert  <david.gilbert@object-refinery.com>
28596
28597         
28598         * javax/swing/tree/FixedHeightLayoutCache.java: Reformatted and fixed
28599         API doc tag warnings,
28600         * javax/swing/tree/VariableHeightLayoutCache.java: Likewise.
28601         
28602 2006-03-06  Dalibor Topic  <robilad@kaffe.org>
28603
28604         * gnu/java/net/protocol/file/Connection.java (unquote):
28605         Update position in buffer after decoding a unicode character
28606         outside of the basic plane.
28607         
28608 2006-03-06  Dalibor Topic  <robilad@kaffe.org>
28609
28610         * java/net/URI.java
28611         (quote): Pass Unicode characters outside the basic plane through.
28612         
28613 2006-03-06  Robert Schuster  <robertschuster@fsfe.org>
28614        
28615         * javax/swing/plaf/basic/BasicTextUI.java:
28616         (damageRange): Rewritten if-expressions to correctly identify the
28617         break condition.
28618
28619 2006-03-06  Mark Wielaard  <mark@klomp.org>
28620
28621         * configure.ac: Set version to 0.90-generics.
28622         * NEWS: Fix typos.
28623
28624 2006-03-06  Mark Wielaard  <mark@klomp.org>
28625
28626         Fixes bug #26568 reported by Paul Jenner <psj@harker.dyndns.org>
28627         * native/fdlibm/fdlibm.h (__ieee754_rem_pio2): Return an int32_t.
28628         (isnan): Define explicitly isnan if it is not a macro.
28629
28630 2006-03-06  Robert Schuster  <robertschuster@fsfe.org>
28631
28632         * javax/swing/text/GapContent.java:
28633         (insertString): Throw exception when argument is below
28634         zero.
28635
28636 2006-03-06  Robert Schuster  <robertschuster@fsfe.org>
28637
28638         * javax/swing/text/PlainDocument.java:
28639         (insertUpdate): Extended if-expression, added
28640         code to generate another Element when newly inserted characters
28641         and old ones will be on the same line.
28642
28643 2006-03-06  Robert Schuster  <robertschuster@fsfe.org>
28644
28645         * javax/swing/text/DefaultCaret.java:
28646         (mouseDragged): Do selection when shift is pressed.
28647         (mouseClicked): Implemented.
28648
28649 2006-03-06  Robert Schuster  <robertschuster@fsfe.org>
28650
28651         * javax/swing/text/PlainDocument.java: Fix copyright header,
28652         added author tags.
28653         (insertUpdate): Do not copy the whole document any more, added some
28654         more variables to prevent needless method calls.
28655
28656 2006-03-06  Christian Thalinger <twisti@complang.tuwien.ac.at>
28657
28658         * configure.ac: Check for FREETYPE2.  This is a reverted patch and
28659         is required on Darwin.
28660         * native/jni/gtk-peer/Makefile.am (AM_LDFLAGS): Added FREETYPE2.
28661         (AM_CFLAGS): Likewise.
28662
28663 2006-03-06  Mark Wielaard  <mark@klomp.org>
28664
28665         * NEWS: Add updates for 0.90 release.
28666
28667 2006-03-05  Robert Schuster  <robertschuster@fsfe.org>
28668
28669         * javax/swing/text/GapContent.java:
28670         (insertString): Throw exception when argument is below
28671         zero.
28672
28673 2006-03-05  David Gilbert  <david.gilbert@object-refinery.com>
28674
28675         
28676         * javax/swing/filechooser/FileFilter.java:
28677         (accept): Fixed API doc tag,
28678        (getDescription): Likewise,
28679         * javax/swing/filechooser/FileView.java:       
28680         (isTraversable): Fixed API doc tag.
28681
28682 2006-03-05  David Gilbert  <david.gilbert@object-refinery.com>
28683
28684         * javax/swing/colorchooser/ColorSelectionModel.java: Reformatted and
28685         added API docs all over.
28686
28687 2006-03-05  David Gilbert  <david.gilbert@object-refinery.com>
28688
28689         * javax/swing/plaf/ComboBoxUI.java: Fixed typo in class description,
28690         and corrected a bad API doc tag.
28691
28692 2006-03-05  David Gilbert  <david.gilbert@object-refinery.com>
28693
28694         * javax/swing/undo/StateEditable.java
28695         (restoreState): Fixed bad API doc tag,
28696         * javax/swing/undo/UndoableEdit.java: Copied API doc comments from
28697         AbstractUndoableEdit.java,
28698         * javax/swing/undo/UndoableEditSupport.java
28699         (createCompoundEdit): Fixed bad API doc tag,
28700         * javax/swing/undo/UndoManager.java
28701         (editToBeUndone): Fixed bad API doc tag,
28702         (editToBeRedone): Likewise.
28703
28704 2006-03-05  David Gilbert  <david.gilbert@object-refinery.com>
28705
28706         * javax/swing/DefaultFocusManager.java: Fixed bad API doc tags,
28707         * javax/swing/FocusManager.java: Likewise.
28708
28709
28710 2006-03-05  David Gilbert  <david.gilbert@object-refinery.com>
28711
28712         
28713         * javax/swing/plaf/metal/MetalComboBoxButton.java
28714         (MetalComboBoxButton(JComboBox, Icon, boolean, CellRendererPane,
28715         JList)): Fixed API doc tag,
28716         * javax/swing/plaf/metal/MetalInternalFrameTitlePane
28717         (createLayout): Fixed API doc warning.
28718         
28719 2006-03-05  Tom Tromey  <tromey@redhat.com>
28720
28721         * vm/reference/java/lang/reflect/Constructor.java (toString): Use
28722         ClassHelper.getUserName.
28723         * vm/reference/java/lang/reflect/Method.java (toString): Use
28724         ClassHelper.getUserName.
28725         (getUserTypeName): Removed.
28726         * gnu/java/lang/ClassHelper.java (getUserName): New method.
28727         * vm/reference/java/lang/reflect/Field.java (toString): Use
28728         ClassHelper.getUserName.
28729
28730 2006-03-05  Olivier Jolly  <olivier.jolly@pcedev.com>
28731
28732         Fixes PR 22813
28733         * java/net/URLClassLoader.java (FileURLLoader.getResource):   
28734         Allows directories as valid resources.
28735
28736 2006-03-05  Mark Wielaard  <mark@klomp.org>
28737
28738         * configure.ac (VERSION): Set to 0.90-pre-generics.
28739         * Merge with CVS trunk from classpath-0_90-branch-point.
28740
28741 2006-03-04  Tom Tromey  <tromey@redhat.com>
28742
28743         * javax/swing/SpringLayout.java (Constraints): New constructor.
28744         * javax/swing/Spring.java (width): New method.
28745         (height): Likewise.
28746         (scale): Likewise.
28747
28748 2006-03-04  Mark Wielaard  <mark@klomp.org>
28749
28750         * gnu/java/net/protocol/http/HTTPConnection.java (Pool.get): Remove
28751         existing connection from pool before returning.
28752
28753 2006-03-04  Mark Wielaard  <mark@klomp.org>
28754
28755         * gnu/xml/stream/SAXParser.java (parse(InputSource)): Ignore
28756         exceptions thrown by handlers while cleaning up and rethrow original
28757         exception.
28758
28759 2006-03-04  Tom Tromey  <tromey@redhat.com>
28760
28761         * java/beans/PropertyDescriptor.java (createPropertyEditor): New
28762         method.
28763         (findConstructor): Likewise.
28764         (instantiateClass): Likewise.
28765
28766 2006-03-04  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
28767
28768         * gnu/java/rmi/dgc/DGCImpl.java:  More comments, boilerplate fix.
28769         (dirty): Do not synchronize on Hashtable. Use the passed (requested) 
28770         lease value and not always the default one.
28771         (LeaseRecord): Remember the array of objects, marked as dirty.
28772         java/rmi/dgc/Lease.java: Boilerplate fix.
28773
28774 2006-03-05  Raif S. Naffah  <raif@swiftdsl.com.au>
28775
28776         * java/util/jar/Attributes.java (putValue): Made it public and updated
28777         method documentation.
28778
28779 2006-03-04  Mark Wielaard  <mark@klomp.org>
28780
28781         * java/awt/Container.java (remove(int)): Always call removeNotify()
28782         on removed Component.
28783
28784 2006-03-04  Mark Wielaard  <mark@klomp.org>
28785
28786         Fixes bug #26460 reported by Beat Wolf <asraniel@fryx.ch>.
28787         * javax/swing/JEditorPane.java (setText): Check for empty String
28788         with equals(), not equality (==).
28789
28790 2006-03-04  Mark Wielaard  <mark@klomp.org>
28791
28792         * javax/swing/text/html/HTMLDocument.java: Qualify ElementSpec as
28793         DefaultStyledDocument.ElementSpec for gcj 4.0.x.
28794
28795 2006-03-04  David Gilbert  <david.gilbert@object-refinery.com>
28796
28797         * javax/swing/text/GapContent.java
28798         (getArray): Mark as final.
28799
28800 2006-03-04  David Gilbert  <david.gilbert@object-refinery.com>
28801
28802         * javax/swing/text/StyleConstants.java
28803         (CharacterConstants.Background): Marked final,
28804         (CharacterConstants.BidiLevel): Likewise,
28805         (CharacterConstants.Bold): Likewise,
28806         (CharacterConstants.ComponentAttribute): Likewise,
28807         (CharacterConstants.Family): Likewise,
28808         (CharacterConstants.Size): Likewise,
28809         (CharacterConstants.Foreground): Likewise,
28810         (CharacterConstants.IconAttribute): Likewise,
28811         (CharacterConstants.Italic): Likewise,
28812         (CharacterConstants.StrikeThrough): Likewise,
28813         (CharacterConstants.Subscript): Likewise,
28814         (CharacterConstants.Superscript): Likewise,
28815         (CharacterConstants.Underline): Likewise,
28816         (ColorConstants.Foreground): Likewise,
28817         (ColorConstants.Background): Likewise,
28818         (FontConstants.Bold): Likewise,
28819         (FontConstants.Family): Likewise,
28820         (FontConstants.Italic): Likewise,
28821         (FontConstants.Size): Likewise,
28822         (ParagraphConstants.Alignment): Likewise,
28823         (ParagraphConstants.FirstLineIndent): Likewise,
28824         (ParagraphConstants.LeftIndent): Likewise,
28825         (ParagraphConstants.LineSpacing): Likewise,
28826         (ParagraphConstants.Orientation): Likewise,
28827         (ParagraphConstants.RightIndent): Likewise,
28828         (ParagraphConstants.SpaceAbove): Likewise,
28829         (ParagraphConstants.SpaceBelow): Likewise,
28830         (ParagraphConstants.TabSet): Likewise.  
28831
28832 2006-03-03  Tom Tromey  <tromey@redhat.com>
28833
28834         * javax/net/ssl/SSLException.java: Added missing @since.
28835         Wrote javadoc.
28836
28837 2006-03-03  Tom Tromey  <tromey@redhat.com>
28838
28839         * javax/net/ssl/SSLException.java (SSLException): New constructors.
28840         (serialVersionUID): New field.
28841
28842 2006-03-03  Tom Tromey  <tromey@redhat.com>
28843
28844         * java/security/spec/InvalidKeySpecException.java
28845         (InvalidKeySpecException): New constructors.
28846         * java/security/cert/CertificateParsingException.java
28847         (CertificateParsingException): New constructors.
28848         * java/security/cert/CertificateEncodingException.java
28849         (CertificateEncodingException): New constructors.
28850         * java/security/cert/CertificateException.java (CertificateException):
28851         New constructors.
28852         * java/security/cert/CRLException.java (CRLException): New
28853         constructors.
28854
28855 2006-03-03  Tom Tromey  <tromey@redhat.com>
28856
28857         * java/security/SignatureException.java (SignatureException): New
28858         constructors.
28859         * java/security/ProviderException.java (ProviderException): New
28860         constructors.
28861         * java/security/NoSuchAlgorithmException.java
28862         (NoSuchAlgorithmException): New constructors.
28863         * java/security/KeyStoreException.java (KeyStoreException): New
28864         constructors.
28865         * java/security/KeyManagementException.java (KeyManagementException):
28866         New constructors.
28867         * java/security/InvalidKeyException.java (InvalidKeyException): New
28868         constructors.
28869         * java/security/KeyException.java (KeyException): New constructors.
28870         * java/security/InvalidAlgorithmParameterException.java
28871         (InvalidAlgorithmParameterException): New constructors.
28872         * java/security/DigestException.java (DigestException): New
28873         constructors.
28874         * java/security/GeneralSecurityException.java
28875         (GeneralSecurityException): New constructors.
28876
28877 2006-03-03  David Gilbert  <david.gilbert@object-refinery.com>
28878
28879         * javax/swing/event/CaretEvent.java: Reformatting and fixed API doc 
28880         warnings,
28881         * javax/swing/event/DocumentEvent.java: Likewise,
28882         * javax/swing/event/EventListenerList.java: Likewise,
28883         * javax/swing/event/MenuDragMouseEvent.java: Likewise,
28884         * javax/swing/event/MenuKeyEvent.java: Likewise,
28885         * javax/swing/event/TableColumnModelEvent.java: Likewise,
28886         * javax/swing/event/TreeExpansionEvent.java: Likewise,
28887         * javax/swing/event/TreeModelEvent.java: Likewise,
28888         * javax/swing/event/TreeSelectionEvent.java: Likewise,
28889         * javax/swing/event/UndoableEditEvent.java: Likewise.
28890
28891 2006-03-03  Tom Tromey  <tromey@redhat.com>
28892
28893         * java/awt/Insets.java (set): New method.
28894         (equals): Added @since.
28895
28896 2006-03-03  David Daney  <ddaney@avtrex.com>
28897
28898         * gnu/java/net/protocol/http/HTTPURLConnection.java
28899         (getRequestProperties): Rewrote.
28900         (addRequestProperty): Rewrote.
28901         (getHeaderFields): Rewrote.
28902         (getHeaderField): Rewrote.
28903         (getHeaderFieldKey): Rewrote.
28904         (getHeaderField): Removed useless cast.
28905         * gnu/java/net/protocol/http/Headers.java: Entire class rewritten.
28906         * gnu/java/net/protocol/http/Request.java (dispatch): Use new Headers
28907         interface.
28908         (notifyHeaderHandlers): Use new Headers interface.
28909
28910 2006-03-03  Tom Tromey  <tromey@redhat.com>
28911
28912         * javax/naming/NamingException.java (getExplanation): Javadoc fix.
28913         * javax/naming/spi/ResolveResult.java,
28914         javax/naming/event/NamingExceptionEvent.java,
28915         javax/naming/event/NamingEvent.java,
28916         javax/naming/directory/SearchResult.java,
28917         javax/naming/directory/SearchControls.java,
28918         javax/naming/directory/SchemaViolationException.java,
28919         javax/naming/directory/NoSuchAttributeException.java,
28920         javax/naming/directory/ModificationItem.java,
28921         javax/naming/directory/InvalidSearchFilterException.java,
28922         javax/naming/directory/InvalidSearchControlsException.java,
28923         javax/naming/directory/InvalidAttributesException.java,
28924         javax/naming/directory/InvalidAttributeIdentifierException.java,
28925         javax/naming/directory/AttributeModificationException.java,
28926         javax/naming/directory/AttributeInUseException.java,
28927         javax/naming/TimeLimitExceededException.java,
28928         javax/naming/SizeLimitExceededException.java,
28929         javax/naming/PartialResultException.java,
28930         javax/naming/Reference.java,
28931         javax/naming/ServiceUnavailableException.java,
28932         javax/naming/OperationNotSupportedException.java,
28933         javax/naming/NotContextException.java,
28934         javax/naming/NoPermissionException.java,
28935         javax/naming/NoInitialContextException.java,
28936         javax/naming/NameNotFoundException.java,
28937         javax/naming/NameAlreadyBoundException.java,
28938         javax/naming/NameClassPair.java,
28939         javax/naming/MalformedLinkException.java,
28940         javax/naming/LinkLoopException.java,
28941         javax/naming/LinkException.java,
28942         javax/naming/LimitExceededException.java,
28943         javax/naming/InvalidNameException.java,
28944         javax/naming/InterruptedNamingException.java,
28945         javax/naming/InsufficientResourcesException.java,
28946         javax/naming/ContextNotEmptyException.java,
28947         javax/naming/ConfigurationException.java,
28948         javax/naming/CannotProceedException.java,
28949         javax/naming/CommunicationException.java,
28950         javax/naming/Binding.java,
28951         javax/naming/AuthenticationNotSupportedException.java,
28952         javax/naming/AuthenticationException.java: Added serialVersionUID.
28953
28954 2006-03-03  David Gilbert  <david.gilbert@object-refinery.com>
28955
28956         * javax/swing/event/TableColumnModelEvent.java: Reformatted.
28957
28958 2006-03-03  David Gilbert  <david.gilbert@object-refinery.com>
28959
28960         * javax/swing/event/TableModelListener.java: Updated API docs.
28961
28962 2006-03-03  Mark Wielaard  <mark@klomp.org>
28963
28964         * java/awt/Component.java (addNotify): Expand documentation.
28965
28966 2006-03-03  Mark Wielaard  <mark@klomp.org>
28967
28968         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (GtkComponentPeer):
28969         Always call setParentAndBounds().
28970         (setComponentBounds): Always call setBounds().
28971         (setBounds): Call setVisible().
28972         (setVisible): If no pixels are showing then don't make it visible.
28973         * gnu/java/awt/peer/gtk/GtkContainerPeer.java (endValidate): No need
28974         to call setParentAndBounds() anymore.
28975
28976 2006-03-03  Roman Kennke  <kennke@aicas.com>
28977
28978         * javax/swing/JInternalFrame.java
28979         (JInternalFrame): Set frame invisible.
28980         (show): Reformatted.
28981         * javax/swing/plaf/basic/BasicInternalFrameUI.java
28982         (installDefaults): Do not set invisible here.
28983
28984 2006-03-03  Roman Kennke  <kennke@aicas.com>
28985
28986         * java/awt/Toolkit.java
28987         (getScreenInsets): Return (0,0,0,0) here.
28988
28989 2006-03-03  Roman Kennke  <kennke@aicas.com>
28990
28991         * javax/swing/text/FlowView.java
28992         (FlowStrategy.layoutRow): Added check for rowCount == 0.
28993         (FlowStrategy.getLogicalView): Made method protected.
28994
28995 2006-03-03  Chris Burdess  <dog@gnu.org>
28996
28997         * gnu/xml/validation/relaxng/AnyNameNameClass.java,
28998           gnu/xml/validation/relaxng/AttributePattern.java,
28999           gnu/xml/validation/relaxng/ChoiceNameClass.java,
29000           gnu/xml/validation/relaxng/ChoicePattern.java,
29001           gnu/xml/validation/relaxng/DataPattern.java,
29002           gnu/xml/validation/relaxng/Define.java,
29003           gnu/xml/validation/relaxng/ElementPattern.java,
29004           gnu/xml/validation/relaxng/EmptyPattern.java,
29005           gnu/xml/validation/relaxng/FullSyntaxBuilder.java,
29006           gnu/xml/validation/relaxng/Grammar.java,
29007           gnu/xml/validation/relaxng/GrammarException.java,
29008           gnu/xml/validation/relaxng/GrammarValidator.java,
29009           gnu/xml/validation/relaxng/GroupPattern.java,
29010           gnu/xml/validation/relaxng/InterleavePattern.java,
29011           gnu/xml/validation/relaxng/ListPattern.java,
29012           gnu/xml/validation/relaxng/NSNameNameClass.java,
29013           gnu/xml/validation/relaxng/NameClass.java,
29014           gnu/xml/validation/relaxng/NameNameClass.java,
29015           gnu/xml/validation/relaxng/NotAllowedPattern.java,
29016           gnu/xml/validation/relaxng/OneOrMorePattern.java,
29017           gnu/xml/validation/relaxng/Param.java,
29018           gnu/xml/validation/relaxng/Pattern.java,
29019           gnu/xml/validation/relaxng/RELAXNGSchemaFactory.java,
29020           gnu/xml/validation/relaxng/RefPattern.java,
29021           gnu/xml/validation/relaxng/TextPattern.java,
29022           gnu/xml/validation/relaxng/ValuePattern.java: New RELAX NG grammar
29023           builder and data model.
29024         * gnu/xml/validation/xmlschema/AnyAttribute.java,
29025           gnu/xml/validation/xmlschema/AttributeDeclaration.java,
29026           gnu/xml/validation/xmlschema/AttributeUse.java,
29027           gnu/xml/validation/xmlschema/ComplexType.java,
29028           gnu/xml/validation/xmlschema/ElementDeclaration.java,
29029           gnu/xml/validation/xmlschema/Particle.java,
29030           gnu/xml/validation/xmlschema/ValidationException.java,
29031           gnu/xml/validation/xmlschema/XMLSchema.java,
29032           gnu/xml/validation/xmlschema/XMLSchemaAttributeTypeInfo.java,
29033           gnu/xml/validation/xmlschema/XMLSchemaBuilder.java,
29034           gnu/xml/validation/xmlschema/XMLSchemaElementTypeInfo.java,
29035           gnu/xml/validation/xmlschema/XMLSchemaSchemaFactory.java,
29036           gnu/xml/validation/xmlschema/XMLSchemaTypeInfo.java,
29037           gnu/xml/validation/xmlschema/XMLSchemaTypeInfoProvider.java,
29038           gnu/xml/validation/xmlschema/XMLSchemaValidator.java,
29039           gnu/xml/validation/xmlschema/XMLSchemaValidatorHandler.java: New
29040           W3C XML Schema builder and schema components.
29041         * javax/xml/validation/SchemaFactory.java: Recognise RELAX NG and W3C
29042           XML Schema namespace URIs.
29043
29044 2006-03-03  Thomas Fitzsimmons  <fitzsim@redhat.com>
29045
29046         * NEWS: Add entry for --enable-collections.
29047         * configure.ac: Add --enable-collections option.
29048         * lib/Makefile.am (collections.jar): New target.
29049         (glibj_DATA): Add $(COLLECTIONS).
29050         * lib/mkcollections.pl.in (destpath): Set from COLLECTION_PREFIX
29051         configure substitution.
29052         (classpath): Read from command line.
29053         (javautilclasses): Remove BasicMapEntry.  Add RandomAccess.
29054
29055 2006-03-03  David Gilbert  <david.gilbert@object-refinery.com>
29056
29057         * javax/swing/SpringLayout.java: Fixed API doc warnings.
29058
29059 2006-03-03  David Gilbert  <david.gilbert@object-refinery.com>
29060
29061         * javax/swing/event/ListSelectionEvent.java
29062         (toString): Implemented,
29063         plus updated API docs all over.
29064
29065 2006-03-03  David Gilbert  <david.gilbert@object-refinery.com>
29066
29067         * javax/swing/event/ListSelectionEvent.java: Reformatted and fixed
29068         API doc warnings,
29069         * javax/swing/event/ListSelectionListener.java: Updated API docs.
29070
29071 2006-03-03  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
29072
29073         * gnu/java/rmi/dgc/DGCImpl.java,
29074         java/rmi/dgc/DGC.java,
29075         java/rmi/dgc/Lease.java: Formatted and commented.
29076
29077 2006-03-03  Roman Kennke  <kennke@aicas.com>
29078
29079         * NEWS: Added comment about text highlighting and copy+paste
29080         in Swing.
29081
29082 2006-03-03  Roman Kennke  <kennke@aicas.com>
29083
29084         * javax/swing/JTabbedPane.java
29085         (remove(int)): Call super.remove(int) instead of remove(Component).
29086         Avoids a stack overflow.
29087
29088 2006-03-03  Roman Kennke  <kennke@aicas.com>
29089
29090         * javax/swing/JTable.java
29091         (distributeSpillResizing): Avoid ArithmeticException by checking
29092         divisor.
29093
29094 2006-03-03  David Gilbert  <david.gilbert@object-refinery.com>
29095
29096         * javax/swing/text/package.html: Added package description.
29097
29098 2006-03-03  David Gilbert  <david.gilbert@object-refinery.com>
29099
29100         * javax/swing/CellRendererPane.java: Minor API doc fix,
29101         * javax/swing/ComboBoxModel.java: Updated API docs.
29102
29103 2006-03-03  Chris Burdess  <dog@gnu.org>
29104
29105         Fixes PR 26503
29106         * gnu/xml/stream/EntityReferenceImpl.java,
29107           gnu/xml/stream/FilteredEventReader.java,
29108           gnu/xml/stream/SAXParser.java,
29109           gnu/xml/stream/XIncludeFilter.java,
29110           gnu/xml/stream/XMLEventAllocatorImpl.java,
29111           gnu/xml/stream/XMLEventFactoryImpl.java,
29112           gnu/xml/stream/XMLEventImpl.java,
29113           gnu/xml/stream/XMLEventReaderImpl.java,
29114           gnu/xml/stream/XMLEventWriterImpl.java,
29115           gnu/xml/stream/XMLInputFactoryImpl.java,
29116           gnu/xml/stream/XMLOutputFactoryImpl.java,
29117           gnu/xml/stream/XMLParser.java,
29118           javax/xml/stream/EventFilter.java,
29119           javax/xml/stream/Location.java,
29120           javax/xml/stream/StreamFilter.java,
29121           javax/xml/stream/XMLEventFactory.java,
29122           javax/xml/stream/XMLEventReader.java,
29123           javax/xml/stream/XMLEventWriter.java,
29124           javax/xml/stream/XMLInputFactory.java,
29125           javax/xml/stream/XMLOutputFactory.java,
29126           javax/xml/stream/XMLReporter.java,
29127           javax/xml/stream/XMLResolver.java,
29128           javax/xml/stream/XMLStreamConstants.java,
29129           javax/xml/stream/XMLStreamReader.java,
29130           javax/xml/stream/events/EntityDeclaration.java,
29131           javax/xml/stream/events/EntityReference.java,
29132           javax/xml/stream/events/XMLEvent.java,
29133           javax/xml/stream/util/EventReaderDelegate.java,
29134           javax/xml/stream/util/ReaderDelegate.java: Updated to final version of
29135           StAX API as specified in JWSDP 2.0.
29136         * gnu/xml/stream/EndEntityImpl.java,
29137           gnu/xml/stream/LocationImpl.java,
29138           gnu/xml/stream/StartEntityImpl.java,
29139           gnu/xml/stream/XMLStreamReaderImpl.java,
29140           javax/xml/stream/XMLFilter.java,
29141           javax/xml/stream/XMLIterator.java,
29142           javax/xml/stream/events/EndEntity.java,
29143           javax/xml/stream/events/StartEntity.java: Removed legacy files.
29144
29145 2006-03-03  David Gilbert  <david.gilbert@object-refinery.com>
29146
29147         * javax/swing/CellEditor.java: API doc updates,
29148         * javax/swing/DefaultCellEditor.java: Likewise.
29149
29150 2006-03-03  David Gilbert  <david.gilbert@object-refinery.com>
29151
29152         * javax/swing/AbstractListModel.java:
29153         (AbstractListModel): Added API docs,
29154         (fireContentsChanged): Minor API doc correction,
29155         (fireIntervalAdded): Likewise,
29156         (fireIntervalRemoved): Likewise.
29157
29158 2006-03-03  Roman Kennke  <kennke@aicas.com>
29159
29160         * NEWS: Added paragraph about Swing improvements.
29161
29162 2006-03-03  David Gilbert  <david.gilbert@object-refinery.com>
29163
29164         * javax/swing/AbstractAction.java: Updated API docs all over,
29165         * javax/swing/AbstractCellRenderer.java: Minor reformatting, plus
29166         (stopCellEditing): Minor API doc correction,
29167         * javax/swing/UnsupportedLookAndFeelException.java
29168         (UnsupportedLookAndFeelException): Changed argument name, updated API
29169         docs.
29170
29171 2006-03-03  Roman Kennke  <kennke@aicas.com>
29172
29173         * javax/swing/plaf/metal/MetalUtils.java
29174         (fillMetalPattern): Added switch to not use Graphics2D methods,
29175         even if they are available.
29176
29177 2006-03-03  Roman Kennke  <kennke@aicas.com>
29178
29179         * javax/swing/plaf/basic/BasicHTML.java
29180         (isHTMLString): Check for string beeing null.
29181         * javax/swing/plaf/basic/BasicInternalFrameUI.java
29182         (BasicInternalFrameListener.internalFrameActivated): Implemented.
29183         (BasicInternalFrameListener.internalFrameDeactivated): Implemented.
29184         (InternalFrameLayout): Don't touch the glass pane here.
29185         (installUI): Fix handling of glass pane.
29186         * javax/swing/plaf/basic/BasicLabelUI.java
29187         (vr): New field.
29188         (ir): New field.
29189         (tr): New field.
29190         (BasicLabelUI): Initialize new fields.
29191         (getPreferredSize): Avoid creating new Rectangles by using
29192         SwingUtilities method.
29193         (paint): Avoid creating new Rectangles by reusing
29194         new fields. Added some preliminary handling of HTML inside the
29195         label.
29196         (installComponents): Handle HTML by calling BasicHTML.updateRenderer.
29197         (uninstallComponents): Clear HTML renderer.
29198         (propertyChange): Check for HTML text and install renderer if
29199         appropriate.
29200         * javax/swing/plaf/basic/BasicListUI.java
29201         (getCellBounds): Avoid creating new Rectangle by using SwingUtilities
29202         method.
29203         * javax/swing/plaf/basic/BasicTextUI.java
29204         (RootView.getStartOffset): Implemented.
29205         (RootView.getEndOffset): Implemented.
29206         (RootView.getDocument): Implemented.
29207
29208 2006-03-03  Roman Kennke  <kennke@aicas.com>
29209
29210         * javax/swing/text/DefaultStyledDocument.java
29211         (ElementBuffer.inserUpdate): Added check for zero-length
29212         element.
29213         * javax/swing/text/DefaultStyledDocument.java
29214         (setIndex): Improved exception message.
29215         * javax/swing/text/TableView.java
29216         Made class abstract.
29217         (TableRow.replace): Probably extend columnRequirements
29218         arrays.
29219         (TableRow.layoutMinorAxis): Call super.layoutMinorAxis instead
29220         of super.layoutMajorAxis.
29221         (columnRequirements): Made field package private.
29222         (TableView): Do not load any child views here.
29223         (layoutColumns): Implemented this method.
29224         (updateColumnRequirements): New helper method.
29225         * javax/swing/text/Utilities.java
29226         (getBreakLocation): Also take offset into account when
29227         finding end location.
29228         * javax/swing/text/html/HTMLDocument.java
29229         (HTMLReader.parseStack): New field.
29230         (HTMLReader.blockOpen): Properly handle p-implied tags.
29231         (HTMLReader.blockClose): Properly handle p-implied and empty tags.
29232         (HTMLReader.addContent): Insert p-implied when adding content to
29233         a block element.
29234         * javax/swing/text/html/HTMLEditorKit.java
29235         (HTMLFactory.create): Create HTMLTableView for <table> tags and
29236         ParagraphView for TD tags. Print out warning for tags that don't have
29237         matching view yet and create NullView for them.
29238         (read): Only set document base when document != null.
29239         * javax/swing/text/html/HTMLTableView.java:
29240         New class
29241
29242 2006-03-03  Roman Kennke  <kennke@aicas.com>
29243
29244         * javax/swing/plaf/basic/BasicHTML.java
29245         (HTMLRootView): New inner class.
29246         (createHTMLView): Embed view inside a HTMLRootView.
29247
29248 2006-03-03  Wolfgang Baer  <WBaer@gmx.de>
29249
29250         * gnu/java/net/protocol/jar/Connection.java: 
29251         (connect): Throw FileNotFoundException.
29252         (getInputStream): Remove duplicated code.
29253
29254 2006-03-03  Roman Kennke  <kennke@aicas.com>
29255
29256         * javax/swing/RepaintManager.java
29257         (commitBuffer): Added null check for clip.
29258
29259 2006-03-02  Lillian Angel <langel@redhat.com>
29260
29261         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
29262         (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_delItem): Fixed
29263         to use GtkWidget instead of GTKMenu.
29264
29265 2006-03-02  Lillian Angel <langel@redhat.com>
29266
29267         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
29268         (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_delItem): Changed to 
29269         use the submenu to get the list of children. This now works
29270         in the same way as addItem.
29271
29272 2006-03-02  Anthony Balkissoon  <abalkiss@redhat.com>
29273
29274         * java/lang/StringBuilder.java:
29275         (codePointAt): New method.
29276         (codePointBefore): Likewise.
29277         (codePointCount): Likewise.
29278         (trimToSize): Likewise.
29279
29280 2006-03-02  Tom Tromey  <tromey@redhat.com>
29281
29282         * java/rmi/server/RMIClassLoader.java (getProviderInstance): Wrote.
29283
29284 2006-03-02  Tom Tromey  <tromey@redhat.com>
29285
29286         * java/rmi/server/RMIClassLoader.java (loadProxyClass): New method.
29287         (getProviderInstance): 
29288
29289 2006-03-02  Andrew John Hughes  <gnu_andrew@member.fsf.org>
29290
29291         * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c:
29292         Fix regression caused by move to VM variant.
29293         PR classpath/22926.
29294         
29295 2006-03-01  Tom Tromey  <tromey@redhat.com>
29296
29297         * vm/reference/java/net/VMNetworkInterface.java: Organized imports.
29298         * vm/reference/java/net/VMInetAddress.java: Organized imports.
29299         * vm/reference/java/lang/reflect/VMProxy.java (getProxyClass): Added
29300         imports for javadoc.
29301         (getProxyClass): Javadoc fixes.
29302         (getProxyData): Likewise.
29303         (generateProxyClass): Likewise.
29304         * vm/reference/java/lang/VMSystem.java (setIn): Javadoc fix.
29305         (setOut): Likewise.
29306         (setErr): Likewise.
29307         * vm/reference/java/lang/VMProcess.java: Javadoc fixes.
29308         * vm/reference/java/lang/VMClassLoader.java (getResources): Javadoc
29309         fix.
29310         * vm/reference/java/lang/VMClass.java (getComponentType): Import for
29311         javadoc.
29312         (getModifiers): Likewise.
29313         (getDeclaredClasses): Javadoc fix.
29314         (getDeclaredFields): Likewise.
29315         (getDeclaredMethods): Likewise.
29316         (getDeclaredConstructors): Likewise.
29317         * vm/reference/gnu/classpath/VMSystemProperties.java (preInit):
29318         Javadoc fix.
29319
29320 2006-03-01  Tom Tromey  <tromey@redhat.com>
29321
29322         * gnu/java/net/protocol/http/ResponseHeaderHandler.java: Javadoc fix.
29323         * gnu/java/net/protocol/http/HTTPConnection.java: Organized imports.
29324         (getVersion): Javadoc fix.
29325         (get): Likewise.
29326         * gnu/java/net/protocol/http/Headers.java: Organized imports.
29327         * gnu/java/net/protocol/ftp/FTPURLConnection.java: Organized imports.
29328
29329 2006-03-01  David Daney  <ddaney@avtrex.com>
29330
29331         * java/net/URL.java (URL(URL, String, URLStreamHandler)): Treat spec
29332         as relative if it contains a colon but no protocol handler can be
29333         found.
29334
29335 2006-03-01  Roman Kennke  <kennke@aicas.com>
29336
29337         * javax/swing/text/AbstractDocument.java
29338         (LeafElement.LeafElement): Handle delta with respect to content
29339         length not document length.
29340         * javax/swing/text/CompositeView.java
29341         (getViewIndex): Handle bias correctly.
29342         * javax/swing/text/DefaultCaret.java
29343         (paint): Align caret position to document bounds to avoid trouble
29344         when removing large portions of content.
29345         * javax/swing/text/DefaultStyledDocument.java
29346         (ElementBuffer.insertFirstContentTag): Use pos instead of offset.
29347         (ElementBuffer.createFracture): Copy old childs attribute. The
29348         ElementSpec usually doesn't carry attribute information.
29349         Use pos instead of offset.
29350         (ElementBuffer.insertFracture): Use pos instead of offset.
29351         (createDefaultRootElement): Don't use create* and instead directly
29352         instantiate the elements.
29353         (handleInsertAfterNewline): Compare the paragraphs startOffset
29354         rather than previous paragraphs endOffset.
29355         * javax/swing/text/JTextComponent.java
29356         (getScrollableTracksViewportWidth): Remove unnecessary cast to
29357         JViewport.
29358         (getScrollableTracksViewportHeight): Remove unnecessary cast to
29359         JViewport.
29360         * javax/swing/text/PlainView.java
29361         (damageLineRange): Avoid creating new Rectangle by using
29362         SwingUtilities.
29363         * javax/swing/text/View.java
29364         (forwardUpdate): Correct the use of bias.
29365         (modelToView): Avoid new Rectangles by using SwingUtilities.
29366         (dump): Made (temprorarily) protected for use in BasicTextUI.
29367         (dump(int)): Dump out the element of the view.
29368
29369 2006-03-01  Lillian Angel  <langel@redhat.com>
29370
29371         * NEWS: javax.imageio.plugins.bmp implementation.
29372
29373 2006-03-01  Lillian Angel  <langel@redhat.com>
29374
29375         * javax/imageio/ImageWriteParam.java: 
29376         Added documentation for fields.
29377         * javax/imageio/plugins/bmp/BMPImageWriteParam.java:
29378         New class implemented.
29379
29380 2006-03-01  Tom Tromey  <tromey@redhat.com>
29381
29382         * NEWS: Mention java.util.prefs update.
29383
29384 2006-03-01  Tom Tromey  <tromey@redhat.com>
29385
29386         * gnu/java/nio/channels/FileChannelImpl.java (position): Fixed typo.
29387         * java/nio/charset/UnmappableCharacterException.java:
29388         (serialVersionUID): New field.
29389         * java/nio/charset/MalformedInputException.java:
29390         (serialVersionUID): New field.
29391         * java/nio/charset/CoderMalfunctionError.java:
29392         (serialVersionUID): New field.
29393         * java/nio/charset/CharacterCodingException.java:
29394         (serialVersionUID): New field.
29395         * java/nio/channels/UnsupportedAddressTypeException.java:
29396         (serialVersionUID): New field.
29397         * java/nio/channels/UnresolvedAddressException.java:
29398         (serialVersionUID): New field.
29399         * java/nio/channels/OverlappingFileLockException.java:
29400         (serialVersionUID): New field.
29401         * java/nio/channels/NotYetConnectedException.java:
29402         (serialVersionUID): New field.
29403         * java/nio/channels/NotYetBoundException.java
29404         (serialVersionUID): New field.
29405         * java/nio/channels/NonWritableChannelException.java
29406         (serialVersionUID): New field.
29407         * java/nio/channels/NonReadableChannelException.java
29408         (serialVersionUID): New field.
29409         * java/nio/channels/NoConnectionPendingException.java
29410         (serialVersionUID): New field.
29411         * java/nio/channels/IllegalSelectorException.java
29412         (serialVersionUID): New field.
29413         * java/nio/channels/IllegalBlockingModeException.java
29414         (serialVersionUID): New field.
29415         * java/nio/channels/FileLockInterruptionException.java
29416         (serialVersionUID): New field.
29417         * java/nio/channels/ConnectionPendingException.java
29418         (serialVersionUID): New field.
29419         * java/nio/channels/ClosedSelectorException.java (serialVersionUID):
29420         New field.
29421         * java/nio/channels/ClosedChannelException.java (serialVersionUID):
29422         New field.
29423         * java/nio/channels/ClosedByInterruptException.java
29424         (serialVersionUID): New field.
29425         * java/nio/channels/CancelledKeyException.java (serialVersionUID): 
29426         New field.
29427         * java/nio/channels/AsynchronousCloseException.java
29428         (serialVersionUID): New field.
29429         * java/nio/channels/AlreadyConnectedException.java (serialVersionUID):
29430         New field.
29431         * java/nio/ReadOnlyBufferException.java (serialVersionUID): New field.
29432         * java/nio/InvalidMarkException.java (serialVersionUID): New field.
29433         * java/nio/BufferUnderflowException.java (serialVersionUID): New
29434         field.
29435         * java/nio/BufferOverflowException.java (serialVersionUID): New field.
29436         * java/nio/channels/spi/AbstractInterruptibleChannel.java (end):
29437         Javadoc fix.  Added import.
29438         * java/nio/channels/DatagramChannel.java (isConnected): Javadoc fix.
29439         (validOps): Likewise.
29440         * gnu/java/nio/charset/iconv/IconvProvider.java: Organized imports.
29441         * gnu/java/nio/charset/iconv/IconvEncoder.java: Organized imports.
29442         * gnu/java/nio/charset/iconv/IconvDecoder.java: Organized imports.
29443         * java/nio/channels/Channels.java: Added import.
29444         * java/nio/channels/FileChannel.java (lock): Typo fix.
29445         (tryLock): Likewise.
29446
29447 2006-03-01  Tom Tromey  <tromey@redhat.com>
29448
29449         * java/util/prefs/Preferences.java (defaultFactoryClass): Use
29450         FileBasedFactory.
29451         * gnu/java/util/prefs/FileBasedPreferences.java: New file.
29452         * java/util/prefs/AbstractPreferences.java (removeSpi): Typo fix.
29453         (clear): Likewise.
29454         (putSpi): Likewise.
29455         (newNode): Likewise.
29456         (node): Likewise.
29457         * gnu/java/util/prefs/MemoryBasedFactory.java: Typo fix.
29458         * gnu/java/util/prefs/FileBasedFactory.java (systemPreferences): New
29459         field.
29460         (systemRoot): Use it.
29461         (userPreferences): New field.
29462         (userRoot): Use it.
29463
29464 2006-03-01  Jeroen Frijters  <jeroen@frijters.net>
29465
29466         * java/util/ResourceBundle.java
29467         (tryBundle): Catch and ignore all Exceptions.
29468
29469 2006-02-28  Roman Kennke  <kennke@aicas.com>
29470
29471         * javax/swing/plaf/basic/BasicScrollBarUI.java
29472         (getPreferredSize): Fixed add a fixed space between the buttons
29473         instead of something related to min/max.
29474         (installComponents): Create and install buttons here.
29475         (installDefaults): Don't create buttons here.
29476         * javax/swing/plaf/metal/MetalScrollBarUI.java
29477         (getMinimumThumbSize): Return (0,0) when UI is not yet installed.
29478         (getPreferredSize): New method.
29479
29480 2006-02-28  David Gilbert  <david.gilbert@object-refinery.com>
29481
29482         * examples/gnu/classpath/examples/swing/Demo.java
29483         (mkMenuBar): Removed 'Toggles', 'Checkbox' and 'Radio' actions, 
29484         connected 'Spinner' action to SpinnerDemo, 
29485         (mkCheckbox): Removed,
29486         (mkRadio): Likewise,
29487         (mkSpinner): Likewise,
29488         (mkToggle): Likewise,
29489         (mkButtonBar): Removed 'Toggles', 'Checkbox' and 'Radio' actions,
29490         connected 'Spinner' action to SpinnerDemo.
29491
29492 2006-02-28  Wolfgang Baer  <WBaer@gmx.de>
29493
29494         * javax/print/ServiceUIFactory.java: Added documentation to class.
29495
29496 2006-02-28  Anthony Balkissoon  <abalkiss@redhat.com>
29497
29498         PR classpath/26434
29499         * javax/swing/DefaultListSelectionModel.java:
29500         (addSelectionInterval): Return early if either of the arguments is -1.
29501         (removeSelectionInterval): Likewise.
29502         (setSelectionInterval): Likewise.
29503
29504 2006-02-28  Lillian Angel  <langel@redhat.com>
29505
29506         * javax/swing/text/DefaultFormatter.java
29507         (stringToValue): Added NPE check.
29508
29509 2006-02-28  Roman Kennke  <kennke@aicas.com>
29510
29511         PR classpath/25675
29512         * javax/swing/JList.java
29513         (getPreferredScrollableViewportSize): Restored specified behaviour.
29514         * javax/swing/plaf/metal/MetalFileChooserUI.java
29515         (createList): Set filelist panel's preferredSize, so that it doesn't
29516         get size into infinity for big lists.
29517
29518 2006-02-28  Lillian Angel  <langel@redhat.com>
29519
29520         * javax/swing/ViewportLayout.java
29521         (layoutContainer): Should not extend container to be 
29522         minimum size. Mauve test shows that the preferred size
29523         and the size of the viewport can be set smaller than
29524         the minimum.
29525
29526 2006-02-28  Lillian Angel  <langel@redhat.com>
29527
29528         PR classpath/25675
29529         * javax/swing/JList.java
29530         (getPreferredScrollableViewportSize): Added a check to determine
29531         if orientation is VERTICAL_WRAP. If it is, we should only 
29532         show 3 columns. 
29533
29534 2006-02-28  Lillian Angel  <langel@redhat.com>
29535
29536         PR classpath/26003
29537         * javax/swing/ViewportLayout.java:
29538         Patch submitted by Audrius Meskauskas
29539         (addLayoutComponent): Added documentation.
29540         (removeLayoutComponent): Likewise.
29541         (preferredLayoutSize): Likewise.
29542         (minimumLayoutSize): Likewise.
29543         (layoutContainer): Fixed code, so view is set
29544         to the right position when inside a scrollpane. 
29545
29546 2006-02-28  Anthony Balkissoon  <abalkiss@redhat.com>
29547
29548         * java/math/BigInteger.java:
29549         Committed patch by Rafael: 
29550         developer.classpath.org/pipermail/classpath-patches/
29551         2006-February/000473.html
29552         (signum): Return early 0 if words == null and ival == 0.
29553         (readObject): Handle special case of magnitude.length or signum being
29554         0.
29555         (writeObject): If signum is zero return a zero-sized byte[].
29556
29557 2006-02-28  Lillian Angel  <langel@redhat.com>
29558
29559         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
29560         (create): Initially set the directory to the current working directory.
29561         (setDirectory): Removed else-if. No need for this check.
29562
29563 2006-02-28  Tom Tromey  <tromey@redhat.com>
29564
29565         * .project: Run java builder before header generation.
29566
29567 2006-02-28  Tom Tromey  <tromey@redhat.com>
29568
29569         * gnu/java/util/prefs/MemoryBasedPreferences.java (childrenNamesSpi):
29570         Javadoc fix.
29571         * gnu/java/util/prefs/EventDispatcher.java: New file.
29572         * gnu/java/util/prefs/NodeWriter.java (NodeWriter): Removed.
29573         (NodeWriter): Specify UTF-8.
29574         (writeHeader): Emit DOCTYPE.
29575         * java/util/prefs/Preferences.java (getFactory): Add cause to
29576         exception.
29577         (exportNode): Documented.
29578         (exportSubtree): Likewise.
29579         (importPreferences): Likewise.
29580         * java/util/prefs/NodeChangeEvent.java (readObject): New method.
29581         (writeObject): Likewise.
29582         * java/util/prefs/PreferenceChangeEvent.java (readObject): New method.
29583         (writeObject): Likewise.
29584         * java/util/prefs/AbstractPreferences.java (putBoolean): Use 1.4 code.
29585         (nodeListeners): New field.
29586         (preferenceListeners): Likewise.
29587         (addNodeChangeListener): Implemented.
29588         (addPreferenceChangeListener): Likewise.
29589         (removeNodeChangeListener): Likewise.
29590         (removePreferenceChangeListener): Likewise.
29591         (fire): New methods.
29592         (put): Fire event.
29593         (remove): Likewise.
29594         (purge): Likewise.  Fixed synchronization.
29595         (removeNode): Fixed synchronization.
29596         (getNode): Fire event.
29597         (flushNode): Fixed synchronization.
29598
29599 2006-02-28  Roman Kennke  <kennke@aicas.com>
29600
29601         * javax/swing/text/BranchElement.java
29602         (startOffset): New field.
29603         (endOffset): New field.
29604         (BranchElement): Initialize new fields.
29605         (getEndOffset): Rewritten to possibly return cached values
29606         if element has no children.
29607         (getStartOffset): Rewritten to possibly return cached values
29608         if element has no children.
29609         * javax/swing/text/LeafElement.java
29610         (startDelta): New field.
29611         (endDelta): New field.
29612         (LeafElement): Handle possible delta of start/endOffset when
29613         these parameters lie outside the document range.
29614         (getStartOffset): Handle possible startDelta.
29615         (getEndOffset): Handle possible startDelta.
29616
29617 2006-02-28  Anthony Balkissoon  <abalkiss@redhat.com>
29618
29619         * NEWS: Added line about Unicode 4.0.0 support.
29620
29621 2006-02-28  Roman Kennke  <kennke@aicas.com>
29622
29623         * javax/swing/SwingUtilities.java
29624         (layoutCompoundLabel): Set textIconGap to 0 when icon == null.
29625
29626 2006-03-01  Raif S. Naffah  <raif@swiftdsl.com.au>
29627
29628         * gnu/classpath/debug/Simple1LineFormatter.java: New file.
29629
29630 2006-03-01  Raif S. Naffah  <raif@swiftdsl.com.au>
29631
29632         * gnu/java/security/sig/rsa/RSAPKCS1V1_5SignatureX509Codec.java:
29633         Amended class documentation.
29634         (encodeSignature): Emit the ASN.1 raw bytes not the DER-encoded BIT
29635         STRING.
29636         (decodeSignature): Parse the ASN.1 raw bytes of a BIT STRING and not
29637         a BIT STRING construct.
29638         * gnu/java/security/sig/dss/DSSSignatureX509Codec.java: Amended class
29639         documentation.
29640         (encodeSignature): Emit the ASN.1 raw bytes not the DER-encoded BIT
29641         STRING.
29642         (decodeSignature): Parse the ASN.1 raw bytes of a BIT STRING and not
29643         a BIT STRING construct.
29644         * gnu/java/security/jce/sig/SignatureAdapter.java (log): New field.
29645         (engineVerify): Added logging.
29646
29647 2006-02-28  Roman Kennke  <kennke@aicas.com>
29648
29649         * java/awt/Component.java
29650         (dispatchEventImpl): Let the Toolkit dispatch global events.
29651         * java/awt/Container.java
29652         (dispatchEventImpl): Let the LightweightDispatcher handle events
29653         first.
29654         * java/awt/EventQueue.java
29655         (dispatchEvent): Don't do the global event dispatching here. This
29656         is moved to the Component.
29657         (globalDispatchEvent): Moved this method to Toolkit.
29658         * java/awt/LightweightDispatcher.java
29659         (instances): New field.
29660         (getInstance): New method. Delivers an instance of
29661         LightweightDispatcher.
29662         (LightweightDispatcher): Made default constructor private.
29663         (dispatchEvent): New method. Replaces the eventDispatched method.
29664         This now returns true when the event was actually dispatched.
29665         (eventDispatched): Replaced by dispatchEvent.
29666         (handleMouseEvent): Send MOUSE_CLICKED to the same component that
29667         received the last MOUSE_RELEASED.
29668         * java/awt/Toolkit.java
29669         (Toolkit): Don't register LightweightDispatcher as global event
29670         handler.
29671         (globalDispatchEvent): Moved here from EventQueue.
29672
29673 2006-02-27  David Daney  <ddaney@avtrex.com>
29674
29675         PR classpath/25851
29676         * gnu/java/net/protocol/http/HTTPURLConnection.java (imports) Cleaned
29677         up.
29678         (getRequestProperties): Rewrote.
29679
29680 2006-02-27  David Daney  <ddaney@avtrex.com>
29681
29682         PR classpath/26312
29683         * gnu/java/net/protocol/http/ChunkedInputStream.java (imports): Cleaned
29684         up.
29685         (ChunkedInputStream): Extend InputStream.
29686         (in): New field.
29687         (headers): Moved to top of class.
29688         (constructor): Save referenct to in.
29689         (read(byte[])): Removed method.
29690         (read(byte[], int, int)): Made synchronized and throw IOException
29691         on error parsing chunk header.
29692         (available): New method.
29693         (close): New method.
29694
29695 2006-02-27  David Daney  <ddaney@avtrex.com>
29696
29697         * gnu/java/net/protocol/http/HTTPURLConnection.java
29698         (imports): Cleaned up.
29699         (GetHTTPPropertiesAction): Removed, and moved contents to ...
29700         (constructor): ... Here, using SystemProperties instead of System.
29701         
29702 2006-02-27  Lillian Angel  <langel@redhat.com>
29703
29704         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
29705         (setDirectory): GtkFileChooser requires an absolute directory
29706         name. Added a check to make the directory passed to nativeSetDirectory
29707         is absolute.
29708
29709 2006-02-27  Roman Kennke  <kennke@aicas.com>
29710
29711         * javax/swing/SwingUtilities.java
29712         (computeIntersection): Changed to store result in rect, instead of
29713         creating new Rectangle instances. Fixed API docs accordingly.
29714         (computeUnion): Changed to store result in rect, instead of
29715         creating new Rectangle instances. Fixed API docs accordingly.
29716
29717 2006-02-27  Roman Kennke  <kennke@aicas.com>
29718
29719         * javax/swing/JViewport.java
29720         (static_init): Changed default scrollmode to BLIT.
29721         (paintSimple): Added some clipping to avoid painting problems.
29722         (paintBlit): Added some clipping to avoid painting problems.
29723
29724 2006-02-27  Roman Kennke  <kennke@aicas.com>
29725
29726         * javax/swing/JComponent.java
29727         (rectCache): Made field static to save memory.
29728         (getVisibleRect): Don't use rectCache and create new Rectangle
29729         instance instead.
29730         (repaint(Rectangle)): Directly call RepaintManager.addDirtyRegion().
29731         (repaint(long,int,int,int,int)): Directly call
29732         RepaintManager.addDirtyRegion(). The visibleRect check is now
29733         performed in the RepaintManager.
29734
29735 2006-02-27  Roman Kennke  <kennke@aicas.com>
29736
29737         * javax/swing/RepaintManager.java
29738         (currentRepaintManagers): Made field private.
29739         (rectCache): New field.
29740         (addDirtyRegion): Clip dirty rectangle with visible rectangle of
29741         component. Changed Rectangle handling to avoid unnecessary new
29742         Rectangle instances.
29743         (getOffscreenBuffer): Create buffer with size of the root window.
29744         Respect the maximum buffer size here.
29745         (commitBuffer): Align the regions so that they are inside the buffer
29746         image and inside the clip. This avoids problems with a bug in GTKImage.
29747         Fixed Rectangle handling to avoid creation of new Rectangle instances.
29748
29749 2006-02-26  Andrew John Hughes  <gnu_andrew@member.fsf.org>
29750
29751         * native/fdlibm/e_acos.c,
29752         * native/fdlibm/e_asin.c,
29753         * native/fdlibm/e_atan2.c,
29754         * native/fdlibm/e_cosh.c,
29755         * native/fdlibm/e_exp.c,
29756         * native/fdlibm/e_fmod.c,
29757         * native/fdlibm/e_hypot.c,
29758         * native/fdlibm/e_log.c,
29759         * native/fdlibm/e_log10.c,
29760         * native/fdlibm/e_rem_pio2.c,
29761         * native/fdlibm/e_remainder.c,
29762         * native/fdlibm/e_sinh.c,
29763         * native/fdlibm/e_sqrt.c,
29764         * native/fdlibm/k_cos.c,
29765         * native/fdlibm/k_sin.c,
29766         * native/fdlibm/k_tan.c,
29767         * native/fdlibm/s_atan.c,
29768         * native/fdlibm/s_cbrt.c,
29769         * native/fdlibm/s_ceil.c,
29770         * native/fdlibm/s_copysign.c,
29771         * native/fdlibm/s_cos.c,
29772         * native/fdlibm/s_expm1.c,
29773         * native/fdlibm/s_fabs.c,
29774         * native/fdlibm/s_finite.c,
29775         * native/fdlibm/s_floor.c,
29776         * native/fdlibm/s_log1p.c,
29777         * native/fdlibm/s_rint.c,
29778         * native/fdlibm/s_scalbn.c,
29779         * native/fdlibm/s_sin.c,
29780         * native/fdlibm/s_tan.c,
29781         * native/fdlibm/s_tanh.c:
29782         Fixed to call our macros rather than __HI and __LO.
29783         * native/fdlibm/fdlibm.h:
29784         Reintroduced previous extraction code.
29785         (EXTRACT_WORDS(ix0,ix1,d)): Readded.
29786         (GET_HIGH_WORD(i,d)): Readded.
29787         (GET_LOW_WORD(i,d)): Readded.
29788         (INSERT_WORDS(d,ix0,ix1)): Readded.
29789         (SET_HIGH_WORD(d,i)): Readded.
29790         (SET_LOW_WORD(d,i)): Readded.
29791         * native/jni/gtk-peer/gthread-jni.c:
29792         Use Glib macros to convert integers/pointers portably.
29793         
29794 2006-02-26  Raif S. Naffah  <raif@swiftdsl.com.au>
29795
29796         * java/security/SecureRandom.java (SecureRandom): Use GNU-CRYPTO class
29797         as the fallback SPI.
29798         * gnu/java/security/provider/Gnu.java (run): Replaced mappings with new
29799         ones referencing GNU-CRYPTO classes.
29800         * gnu/java/security/provider/PKIXCertPathValidatorImpl.java
29801         (engineValidate): Use GNU-CRYPTO class.
29802         * gnu/java/security/provider/DiffieHellmanKeyFactoryImpl: Removed.
29803         * gnu/java/security/provider/DiffieHellmanKeyPairGeneratorImpl: Likewise.
29804         * gnu/java/security/provider/DSAKeyFactory: Likewise.
29805         * gnu/java/security/provider/DSAKeyPairGenerator: Likewise.
29806         * gnu/java/security/provider/DSAParameters: Likewise.
29807         * gnu/java/security/provider/DSASignature: Likewise.
29808         * gnu/java/security/provider/EncodedKeyFactory: Likewise.
29809         * gnu/java/security/provider/GnuDHPublicKey: Likewise.
29810         * gnu/java/security/provider/GnuDSAPrivateKey: Likewise.
29811         * gnu/java/security/provider/GnuDSAPublicKey: Likewise.
29812         * gnu/java/security/provider/GnuRSAPrivateKey: Likewise.
29813         * gnu/java/security/provider/GnuRSAPublicKey: Likewise.
29814         * gnu/java/security/provider/MD2withRSA: Likewise.
29815         * gnu/java/security/provider/MD4withRSA: Likewise.
29816         * gnu/java/security/provider/MD5: Likewise.
29817         * gnu/java/security/provider/MD5withRSA: Likewise.
29818         * gnu/java/security/provider/RSA: Likewise.
29819         * gnu/java/security/provider/RSAKeyFactory: Likewise.
29820         * gnu/java/security/provider/SHA: Likewise.
29821         * gnu/java/security/provider/SHA1PRNG: Likewise.
29822         * gnu/java/security/provider/SHA1withRSA: Likewise.
29823         * gnu/javax/crypto/GnuDHPrivateKey: Likewise.
29824
29825 2006-02-26  Raif S. Naffah  <raif@swiftdsl.com.au>
29826
29827         * gnu/java/security/jce/sig/EncodedKeyFactory.java (log): New field.
29828         (engineGeneratePublic): Added logging.
29829         (engineGeneratePrivate): Likewise.
29830         * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java (log): New field.
29831         (encodePublicKey): Added logging.
29832         Clarified in method documentation that params is optional, but is
29833         always NULL if present.
29834         (decodePublicKey): Added logging.
29835         Handle optional NULL element.
29836
29837 2006-02-26  Raif S. Naffah  <raif@swiftdsl.com.au>
29838
29839         * java/util/logging/FileHandler.java: Fixed a javadoc reference.
29840
29841 2006-03-03  Tom Tromey  <tromey@redhat.com>
29842
29843         * java/awt/MenuBar.java (shortcuts): Genericized.
29844
29845 2006-03-03  Tom Tromey  <tromey@redhat.com>
29846
29847         * java/beans/EventSetDescriptor.java (EventSetDescriptor):
29848         Genericized.
29849         (getListenerType): Likewise.
29850         * java/beans/Introspector.java (getBeanInfo): Genericized.
29851         * java/beans/DefaultPersistenceDelegate.java (initialize):
29852         Genericized.
29853
29854 2006-03-01  Anthony Balkissoon  <abalkiss@redhat.com>
29855
29856         * java/math/BigDecimal.java:
29857         (precision): Fixed overflow problem with large numbers.
29858         (longValueExact): New method.
29859         (intValueExact): Likewise.
29860         (byteValueExact): Likewise.
29861         (shortValueExact): Likewise.
29862
29863 2006-03-01  Anthony Balkissoon  <abalkiss@redhat.com>
29864
29865         * java/math/BigDecimal.java:
29866         (remainder(BigDecimal)): New method.
29867         (divideAndRemainder(BigDecimal)): Likewise.
29868         (divideToIntegralValue(BigDecimal)): Likewise.
29869         (floor): New implementation method.
29870
29871 2006-02-28  Anthony Balkissoon  <abalkiss@redhat.com>
29872
29873         * java/math/BigDecimal.java:
29874         (divide(BigDecimal, int, RoundingMode)): New method.
29875         (divide(BigDecimal, RoundingMode)): Likewise.
29876         (divide(BigDecimal, int, int)): Removed incorrect throwing of exception
29877         when the new scale is < 0.
29878         (setScale(int, RoundingMode)): New method.
29879         (ulp): Likewise.
29880
29881 2006-02-27  Anthony Balkissoon  <abalkiss@redhat.com>
29882
29883         * java/math/BigDecimal.java: Replaced occurences of BigInteger.valueOf
29884         with BigInteger.ZERO, BigInteger.ONE, BigInteger.TEN where appropriate.
29885         (add(BigDecimal, MathContext)): New method.
29886         (subtract(BigDecimal, MathContext)): Likewise.
29887         (precision): Fixed to correctly handle BigIntegers with more than 19
29888         digits.
29889         (pow(int, MathContext)): New method.
29890
29891 2006-02-27  Anthony Balkissoon  <abalkiss@redhat.com>
29892
29893         * java/math/BigDecimal.java: Added @throws clause to constructors.
29894         (mathContext): Removed this unneeded field.
29895         (BigDecimal(int, MathContext)): New constructor.
29896         (BigDecimal(BigInteger, int, MathContext)): Likewise.
29897         (multiply(BigDecimal, MathContext)): New method.
29898         (negate(MathContext)): Likewise.
29899         (plus(MathContext)): Likewise.
29900         (numDigitsInLong): Fixed to properly handle negatives.
29901         
29902 2006-02-25  Chris Burdess  <dog@gnu.org>
29903   
29904         * gnu/java/net/CRLFInputStream.java,
29905           gnu/java/net/LineInputStream.java: Streams that use mark
29906           capabilities on the underlying stream do not expose mark
29907           functionality themselves.
29908         * gnu/xml/stream/CRLFReader.java: Fix incorrect end condition when
29909           off > 0.
29910
29911 2006-02-25  Ito Kazumitsu  <kaz@maczuka.gcd.org>
29912
29913         * gnu/regexp/REMatch.java(matchFlags): New int field used as
29914         option flags passed to match methods.
29915         (MF_FIND_ALL): New flag.
29916         * gnu/regexp/RETokenOneOf.java(matchP): Unless MF_FIND_ALL is set,
29917         do not try other possibilties once a match is found.
29918         * gnu/regexp/RETokenRepeated.java(findDoables): Set MF_FIND_ALL
29919         so that all possibilities can be found.
29920         (match): Rewritten using new methods matchMinimum and _match.
29921         (_match): New method which performs a depth-first recursive search.
29922         (matchMinimum): New method.
29923         (initVisited), (visitedContains), (addVisited): New methods for
29924         manipulating an array of icharacter positions which _match has
29925         already visited.
29926
29927 2006-02-24  Anthony Balkissoon  <abalkiss@redhat.com>
29928
29929         * java/math/BigDecimal.java:
29930         (BigDecimal(long, MathContext)): New constructor.
29931         (BigDecimal(BigInteger, MathContext)): Likewise.
29932         (BigDecimal(String, MathContext)): Likewise.
29933         (BigDecimal(double, MathContext)): Likewise.
29934         (round): Fixed a typo where the precision field was used instead of a
29935         call to the precision method, and also store the new precision in the
29936         returned BigDecimal.
29937         (abs(MathContext)): New method.
29938
29939 2006-02-24  Anthony Balkissoon  <abalkiss@redhat.com>
29940
29941         * java/math/BigDecimal.java
29942         (toBigInteger): Fixed problem where this method couldn't handle 
29943         negative values for scale.
29944         (toBigIntegerExact): New method.
29945         (stripTrailingZeros): Likewise.
29946
29947 2006-02-24  David Daney  <ddaney@avtrex.com>
29948
29949         PR classpath/26082
29950         * gnu/java/net/protocol/http/HTTPConnection.java (pool): Changed to
29951         type Pool.
29952         (Pool): New inner class.
29953         (timeLastUsed): New field.
29954         (setPool): Changed parameter type to Pool.
29955         (release): Moved pool management logic to new class Pool.
29956         * gnu/java/net/protocol/http/HTTPURLConnection.java (connectionPool):
29957         Removed.
29958         (maxConnections) : Removed.
29959         (GetHTTPPropertiesAction.run): Don't initialize maxConnections.
29960         (getConnection):  Moved pool management logic to HTTPConnection.Pool.
29961   
29962 2006-02-24  Lillian Angel  <langel@redhat.com>
29963   
29964         * java/awt/Container.java:
29965         Added new field. True if Container has been cleared and
29966         heavyweights need to be repainted.
29967         (paint): Fixed comment. Fixed to use backCleared and 
29968         reset backCleared.
29969         (update): Set backCleared to true after the background
29970         of the container has been cleared.
29971   
29972 2006-02-24  Lillian Angel  <langel@redhat.com>
29973   
29974         * java/awt/TextField.java
29975         (addNotify): Added call to super.
29976   
29977 2006-02-24  Lillian Angel  <langel@redhat.com>
29978   
29979         * java/awt/Component.java
29980         (reshape): Reverted last patch. Should have check here.
29981         (addNotify): Added check. If parent is lightweight, then
29982         initialize listener on the parent.
29983         (HeavyweightInLightweightListener): New class.
29984   
29985 2006-02-24  Roman Kennke  <kennke@aicas.com>
29986   
29987         * javax/swing/plaf/basic/BasicComboPopup.java
29988         (show): Register the popup with the autocloser after it has been
29989         opened completely, by putting the registration on the eventqueue.
29990   
29991 2006-02-24  Andrew John Hughes  <gnu_andrew@member.fsf.org>
29992   
29993         * gnu/java/security/prng/BasePRNG.java:
29994         (clone()): Added cast of buffer to byte[].
29995         * gnu/javax/crypto/mac/TMMH16.java:
29996         (clone()): Fixed casting of cloned arrays.
29997         * native/fdlibm/fdlibm.h:
29998         Added missing defines from old fdlibm.h needed by Darwin.
29999         (GET_FLOAT_WORD(i,d)): Re-added.
30000         (SET_FLOAT_WORD(d,i)): Re-added.
30001         
30002 2006-02-24  Roman Kennke  <kennke@aicas.com>
30003   
30004         * java/awt/Container.java:
30005         (dispatcher): Removed field.
30006         (dispatchEventImpl): Removed lightweight dispatching.
30007         (addNotifyContainerChildren): Removed LightweightDispatcher
30008         handling.
30009         (LightweightDispatcher): Removed class.
30010         * java/awt/LightweightDispatcher.java: New class.
30011         * java/awt/Toolkit.java
30012         (Toolkit): Install LightweightDispatcher in global listener
30013         array.
30014   
30015 2006-02-24  Chris Burdess  <dog@gnu.org>
30016   
30017         Fixes PR 26324
30018         * gnu/java/net/CRLFInputStream.java: Fix incorrect end condition when
30019           off > 0.
30020   
30021 2006-02-24  Andrew John Hughes  <gnu_andrew@member.fsf.org>
30022   
30023         * NEWS: Mentions the VMMath runtime changes.
30024         * doc/vmintegration.texinfo: Updated to include
30025         VMMath.
30026   
30027 2006-02-24  Roman Kennke  <kennke@aicas.com>
30028   
30029         * javax/swing/plaf/basic/BasicLookAndFeel.java
30030         (PopupHelper.autoClosePopups): New field.
30031         (PopupHelper.mousePressed): Also autoclose any registered popups.
30032         (PopupHelper.registerForAutoClose): New method.
30033         (PopupHelper.autoClosePopups): New method.
30034         (popupHelper): Changed type of field to PopupHelper.
30035         (registerForAutoClose): New method.
30036         * javax/swing/plaf/basic/BasicComboPopup.java
30037         (show): Register this popup for autoclosing.
30038   
30039 2006-02-24  Raif S. Naffah  <raif@swiftdsl.com.au>
30040   
30041         * gnu/javax/crypto/mac/TMMH16.java (clone): New method.
30042         * gnu/java/security/prng/MDGenerator.java (clone): New method.
30043         * gnu/java/security/prng/BasePRNG.java (clone): Clone buffer.
30044   
30045 2006-02-24  Roman Kennke  <kennke@aicas.com>
30046   
30047         Reported by Ingo Proetel <proetel@aicas.com>
30048         * java/util/logging/LogManager.java
30049         (addLogger): Search the parent loggers for log level
30050         configuration and inherit that.
30051         (readConfiguration): Provide minimal default configuration
30052         if no configuration can be found otherwise.
30053
30054 2006-02-23  Anthony Balkissoon  <abalkiss@redhat.com>
30055
30056         * java/math/BigDecimal.java:
30057         (toString): Fixed a problem where the negative sign was being displayed
30058         twice in the exponent.
30059         (toEngineeringString): New method.
30060         (toPlainString): Likewise.
30061         (pow): Likewise.
30062
30063 2006-02-23  Anthony Balkissoon  <abalkiss@redhat.com>
30064
30065         * java/math/BigDecimal.java:
30066         (toString): Rewrote this method to behave as specified.  Added API
30067         comments to explain behaviour.
30068         (scaleByPowerOfTen): New method.
30069
30070 2006-02-23  Roman Kennke  <kennke@aicas.com>
30071   
30072         * javax/swing/JRootPane.java
30073         (isOptimizedDrawingEnabled): Implemented to return true
30074         when the glassPane is not visible.
30075   
30076 2006-02-23  Roman Kennke  <kennke@aicas.com>
30077   
30078         * javax/swing/plaf/basic/BasicLookAndFeel.java
30079         (PopupHelper): New inner class.
30080         (popupHelper): New field.
30081         (initialize): New method.
30082         (uninitialize): New method.
30083         * javax/swing/plaf/basic/BasicPopupMenuUI.java
30084         (mouseInputListener): Removed field.
30085         (PopupMenuHandler.popupMenuWillBecomeInvisible): Removed
30086         handling of GlassPane.
30087         (PopupMenuHandler.popupMenuWillBecomeVisible): Removed
30088         handling of GlassPane.
30089         (MouseInputHandler): Removed class.
30090
30091 2006-02-23  Roman Kennke  <kennke@aicas.com>
30092
30093         * java/awt/AWTEvent.java
30094         (eventIdToMask): New utility method.
30095         * java/awt/EventQueue.java
30096         (dispatchEvent): Also globally dispatch events via the toolkit.
30097         (globalDispatchEvent): New method.
30098         * java/awt/Toolkit.java
30099         (awtEventListeners): New field.
30100         (Toolkit()): Initialize new field.
30101         (createComponent): Create GLightweightPeer here.
30102         (addAWTEventListener): Implemented and documented.
30103         (removeAWTEventListener): Implemented and documented.
30104         (getAWTEventListeners): Implemented and documented both method
30105         variants.
30106         * java/awt/event/AWTEventListenerProxy.java
30107         (eventDispatched): Don't filter events here.
30108
30109 2006-02-23  Chris Burdess  <dog@gnu.org>
30110
30111         Fixes PR 26410
30112         * gnu/xml/dom/DomDocumentBuilderFactory.java,
30113           gnu/xml/dom/JAXPFactory.java,
30114           gnu/xml/libxmlj/dom/GnomeDocumentBuilderFactory.java,
30115           javax/xml/parsers/DocumentBuilderFactory.java: Add and trivially
30116           implement DocumentBuilderFactory.get/setFeature methods.
30117
30118 2006-02-23  Lillian Angel  <langel@redhat.com>
30119
30120         * gnu/java/awt/peer/GLightweightPeer.java
30121         (repaint): Scott's proposed fix. Send repaint to the
30122         component's parent.
30123         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
30124         (setBounds): Removed next_parent, not needed. Removed
30125         lightweightChild, we always need to compensate for the
30126         menu bar's height.
30127         * java/awt/Component.java
30128         (setBounds): Removed check. Caused lots of problems, because some
30129         components were not being invalidated. Components should be
30130         invalidated when they are resized or moved, and in some cases,
30131         when a parent is resized/moved, the components do not know
30132         about it and do not adjust.
30133         * java/awt/Graphics.java
30134         (hitClip): Scott's proposed fix. Added check to handle a 
30135         null clip.
30136   
30137 2006-02-23  Wolfgang Baer  <WBaer@gmx.de>
30138   
30139         * javax/print/attribute/standard/MediaSize.java: 
30140         (media): Field renamed to mediaName for serialization.
30141         (MediaSize): Adapted to new fieldname.
30142         (getMediaSizeName): Likewise.
30143         * javax/print/attribute/HashAttributeSet.java: 
30144         (interfaceName): Field renamed to myInterface for serialization.
30145         (HashAttributeSet): Adapted to the new fieldname.
30146         (add): Likewise.
30147         (addAll): Likewise.
30148         (addInternal): Likewise.
30149         (attributeMap): Made transient.
30150         (readObject): New serialization method.
30151         (writeObject): Likewise.
30152         * javax/print/attribute/AttributeSetUtilities.java: 
30153         (SynchronizedAttributeSet.set): Field renamed to attrset for serialization.
30154         (SynchronizedAttributeSet.add): Adapted to the new fieldname.
30155         (SynchronizedAttributeSet.addAll): Likewise.
30156         (SynchronizedAttributeSet.clear): Likewise.
30157         (SynchronizedAttributeSet.containsKey): Likewise.
30158         (SynchronizedAttributeSet.containsValue): Likewise.     
30159         (SynchronizedAttributeSet.equals): Likewise.
30160         (SynchronizedAttributeSet.get): Likewise.
30161         (SynchronizedAttributeSet.hashCode): Likewise.  
30162         (SynchronizedAttributeSet.isEmpty): Likewise.
30163         (SynchronizedAttributeSet.remove): Likewise.    
30164         (SynchronizedAttributeSet.size): Likewise.      
30165         (SynchronizedAttributeSet.toArray): Likewise.   
30166         (UnmodifiableAttributeSet.set): Field renamed to attrset for serialization.
30167         (UnmodifiableAttributeSet.add): Adapted to the new fieldname.
30168         (UnmodifiableAttributeSet.addAll): Likewise.
30169         (UnmodifiableAttributeSet.clear): Likewise.
30170         (UnmodifiableAttributeSet.containsKey): Likewise.
30171         (UnmodifiableAttributeSet.containsValue): Likewise.     
30172         (UnmodifiableAttributeSet.equals): Likewise.
30173         (UnmodifiableAttributeSet.get): Likewise.
30174         (UnmodifiableAttributeSet.hashCode): Likewise.  
30175         (UnmodifiableAttributeSet.isEmpty): Likewise.
30176         (UnmodifiableAttributeSet.remove): Likewise.    
30177         (UnmodifiableAttributeSet.size): Likewise.      
30178         (UnmodifiableAttributeSet.toArray): Likewise.   
30179         * javax/print/attribute/standard/MediaPrintableArea.java: 
30180         (width): Field renamed to w for serialization.
30181         (height): Field renamed to h for serialization. 
30182         (MediaPrintableArea): Adapted to the new fieldnames.    
30183         (MediaPrintableArea): Likewise.
30184         (equals): Likewise.
30185         (hashCode): Likewise.
30186         (getHeight): Likewise.
30187         (getWidth): Likewise.
30188   
30189 2006-02-23  Andrew John Hughes  <gnu_andrew@member.fsf.org>
30190   
30191         * include/java_lang_VMMath.h:
30192         (Java_java_lang_VMMath_cbrt(JNIEnv*,jclass,jdouble)): Added.
30193         (Java_java_lang_VMMath_cosh(JNIEnv*,jclass,jdouble)): Added.
30194         (Java_java_lang_VMMath_expm1(JNIEnv*,jclass,jdouble)): Added.
30195         (Java_java_lang_VMMath_hypot(JNIEnv*,jclass,jdouble,jdouble)): Added.
30196         (Java_java_lang_VMMath_log10(JNIEnv*,jclass,jdouble)): Added.
30197         (Java_java_lang_VMMath_log1p(JNIEnv*,jclass,jdouble)): Added.
30198         (Java_java_lang_VMMath_sinh(JNIEnv*,jclass,jdouble)): Added.
30199         (Java_java_lang_VMMath_tanh(JNIEnv*,jclass,jdouble)): Added.
30200         * java/lang/Math.java:
30201         (cbrt(double)): Implemented.
30202         (cosh(double)): Implemented.
30203         (expm1(double)): Implemented.
30204         (hypot(double,double)): Implemented.
30205         (log10(double)): Implemented.
30206         (log1p(double)): Implemented.
30207         (signum(double)): Implemented.
30208         (signum(float)): Implemented.
30209         (sinh(double)): Implemented.
30210         (tanh(double)): Implemented.
30211         * native/fdlibm/Makefile.am:
30212         Added new files from fdlibm 5.3.
30213         * native/fdlibm/e_acos.c,
30214         * native/fdlibm/e_asin.c,
30215         * native/fdlibm/e_atan2.c,
30216         * native/fdlibm/e_exp.c,
30217         * native/fdlibm/e_fmod.c,       
30218         * native/fdlibm/e_log.c,
30219         * native/fdlibm/e_rem_pio2.c,
30220         * native/fdlibm/e_remainder.c,
30221         * native/fdlibm/e_scalb.c,
30222         * native/fdlibm/e_sqrt.c,
30223         * native/fdlibm/k_cos.c,
30224         * native/fdlibm/k_rem_pio2.c,
30225         * native/fdlibm/k_sin.c,
30226         * native/fdlibm/k_tan.c,
30227         * native/fdlibm/s_atan.c,
30228         * native/fdlibm/s_ceil.c,
30229         * native/fdlibm/s_copysign.c,
30230         * native/fdlibm/s_cos.c,
30231         * native/fdlibm/s_fabs.c,
30232         * native/fdlibm/s_finite.c,
30233         * native/fdlibm/s_floor.c,
30234         * native/fdlibm/s_rint.c,
30235         * native/fdlibm/s_scalbn.c,
30236         * native/fdlibm/s_sin.c,
30237         * native/fdlibm/s_tan.c,
30238         * native/fdlibm/w_acos.c,
30239         * native/fdlibm/w_asin.c,
30240         * native/fdlibm/w_atan2.c,
30241         * native/fdlibm/w_acos.c,
30242         * native/fdlibm/w_exp.c,
30243         * native/fdlibm/w_fmod.c,
30244         * native/fdlibm/w_log.c,
30245         * native/fdlibm/w_pow.c,
30246         * native/fdlibm/w_remainder.c,
30247         * native/fdlibm/w_sqrt.c:
30248         Updated to fdlibm 5.3.
30249         * native/fdlibm/e_cosh.c,
30250         * native/fdlibm/e_hypot.c,
30251         * native/fdlibm/e_log10.c,
30252         * native/fdlibm/e_sinh.c,
30253         * native/fdlibm/s_cbrt.c,
30254         * native/fdlibm/s_expm1.c,
30255         * native/fdlibm/s_log1p.c,
30256         * native/fdlibm/s_tanh.c,
30257         * native/fdlibm/w_cosh.c,
30258         * native/fdlibm/w_hypot.c,
30259         * native/fdlibm/w_log10.c,
30260         * native/fdlibm/w_sinh.c:
30261         Imported from fdlibm 5.3.
30262         * native/fdlibm/fdlibm.h:
30263         Imported from fdlibm 5.3 with Classpath additions.
30264         * native/fdlibm/namespace.h:
30265         Updated from new math_symbols file.
30266         * native/jni/java-lang/java_lang_VMMath.c:
30267         (Java_java_lang_VMMath_cbrt(JNIEnv*,jclass,jdouble)): Implemented.
30268         (Java_java_lang_VMMath_cosh(JNIEnv*,jclass,jdouble)): Implemented.
30269         (Java_java_lang_VMMath_expm1(JNIEnv*,jclass,jdouble)): Implemented.
30270         (Java_java_lang_VMMath_hypot(JNIEnv*,jclass,jdouble,jdouble)):
30271         Implemented.
30272         (Java_java_lang_VMMath_log10(JNIEnv*,jclass,jdouble)): Implemented.
30273         (Java_java_lang_VMMath_log1p(JNIEnv*,jclass,jdouble)): Implemented.
30274         (Java_java_lang_VMMath_sinh(JNIEnv*,jclass,jdouble)): Implemented.
30275         (Java_java_lang_VMMath_tanh(JNIEnv*,jclass,jdouble)): Implemented.
30276         * scripts/math_symbols:
30277         Added tanh, expm1, log10 and log1p.
30278         * vm/reference/java/lang/VMMath.java:
30279         (cbrt(double)): Implemented.
30280         (cosh(double)): Implemented.
30281         (expm1(double)): Implemented.
30282         (hypot(double,double)): Implemented.
30283         (log10(double)): Implemented.
30284         (log1p(double)): Implemented.
30285         (sinh(double)): Implemented.
30286         (tanh(double)): Implemented.
30287         
30288 2006-02-23  Wolfgang Baer  <WBaer@gmx.de>
30289
30290         * javax/print/DocFlavor.java: Added documentation all over.
30291         (BYTE_ARRAY.TEXT_HTML_HOST): Include host charset encoding to mimetype.
30292         (BYTE_ARRAY.TEXT_PLAIN_HOST): Likewise.
30293         (INPUT_STREAM.TEXT_HTML_HOST): Likewise.
30294         (INPUT_STREAM.TEXT_PLAIN_HOST): Likewise.
30295         (URL.TEXT_HTML_HOST): Likewise.
30296         (URL.TEXT_PLAIN_HOST): Likewise.
30297         (hostEncoding): Initialize with host default charset encoding.
30298         (mediaSubtype): Made transient.
30299         (mediaType): Likewise.
30300         (params): Made transient. Changed type to TreeMap.
30301         (className): Removed, changed to myClassName.
30302         (myClassName): New field as defined in serialized form.
30303         (DocFlavor): Adapted to new variable types, names.
30304         (parseMimeType): Reimplemented.
30305         (getParameter): Search with lowercase name.
30306         (getRepresentationClassName): Adapted to changed variable name.
30307         (hashCode): Likewise.
30308         (toString): Reimplemented.
30309         (readObject): New method for serialization.
30310         (writeObject): Likewise.
30311   
30312 2006-02-23  Roman Kennke  <kennke@aicas.com>
30313   
30314         * javax/swing/RepaintManager.java
30315         (commitBuffer): Clip the repaint area with the current clip.
30316   
30317 2006-02-23  Raif S. Naffah  <raif@swiftdsl.com.au>
30318   
30319         * gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java
30320         (DEFAULT_PRIME_SIZE): Made public.
30321         (DEFAULT_EXPONENT_SIZE): Likewise.
30322         (setup): Handle DHParameterSpec as well.
30323         * gnu/javax/crypto/key/dh/GnuDHKey.java (getEncoded): Return
30324         defaultFormat instead of Raw.
30325         * gnu/javax/crypto/key/dh/DHKeyPairX509Codec.java
30326         (checkIsConstructed): Removed.
30327         (checkIsBigInteger): Likewise.
30328         (decodePublicKey): Use DerUtil.
30329         * gnu/javax/crypto/key/dh/DHKeyPairPKCS8Codec.java
30330         (checkIsConstructed): Removed.
30331         (checkIsBigInteger): Likewise.
30332         (decodePrivateKey): Use DerUtil.
30333         * gnu/javax/crypto/jce/GnuCrypto.java (run): Updated mapping of
30334         KeyAgreement.DH.
30335         Added mappings for AlgorithmParameters.DH and
30336         AlgorithmParameterGenerator.DH.
30337         * gnu/javax/crypto/jce/DiffieHellmanImpl.java: New file.
30338         * gnu/javax/crypto/jce/sig/DHParametersGenerator.java: Likewise.
30339         * gnu/javax/crypto/jce/sig/DHParameters.java: Likewise.
30340         * gnu/javax/crypto/jce/sig/DHKeyFactory.java (engineGeneratePrivate):
30341         Return result.
30342         (engineGeneratePublic): Likewise.
30343         * gnu/java/security/util/DerUtil.java: New file.
30344         * gnu/java/security/sig/rsa/RSASignatureFactory.java (getNames):
30345         Include only valid RSA PKCS1 (v1.5) signature names.
30346         * gnu/java/security/sig/rsa/RSAPKCS1V1_5SignatureX509Codec.java
30347         (RSAPKCS1V1_5SignatureX509Codec): Removed.
30348         (checkIsConstructed): Likewise.
30349         * gnu/java/security/sig/dss/DSSSignatureX509Codec.java
30350         (checkIsConstructed): Removed.
30351         (checkIsBigInteger): Likewise.
30352         (decodeSignature): Use DerUtil.
30353         * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java
30354         (checkIsConstructed): Removed.
30355         (checkIsBigInteger): Likewise.
30356         (decodePublicKey): Use DerUtil.
30357         * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java
30358         (checkIsConstructed): Removed.
30359         (checkIsBigInteger): Likewise.
30360         (decodePrivateKey): Use DerUtil.
30361         * gnu/java/security/key/dss/DSSKeyPairX509Codec.java
30362         (checkIsConstructed): Removed.
30363         (checkIsBigInteger): Likewise.
30364         (decodePublicKey): Use DerUtil.
30365         * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java
30366         (checkIsConstructed): Removed.
30367         (checkIsBigInteger): Likewise.
30368         (decodePrivateKey): Use DerUtil.
30369         * gnu/java/security/key/dss/DSSKeyPairGenerator.java
30370         (DEFAULT_MODULUS_LENGTH): Made it public.
30371         * gnu/java/security/key/dss/DSSKey.java (getEncoded): Return
30372         defaultFormat instead of Raw.
30373         * gnu/java/security/jce/sig/DSSParametersGenerator.java: New file.
30374         * gnu/java/security/jce/sig/DSSParameters.java: Likewise..
30375         * gnu/java/security/jce/sig/DSSKeyFactory.java (engineGeneratePrivate):
30376         Return result.
30377         (engineGeneratePublic): Likewise.
30378         * gnu/javax/crypto/DiffieHellmanImpl: Removed.
30379
30380 2006-02-22  Anthony Balkissoon  <abalkiss@redhat.com>
30381
30382         * java/math/BigDecimal.java:
30383         (BigDecimal(char[], int, int, MathContext)): New constructor.
30384         (BigDecimal(char[], MathContext)): Likewise.
30385         (BigDecimal(char[])): Likewise.
30386         (BigDecimal(char[], int, int)): Likewise.
30387         (BigDecimal(String)): Fixed handling of exponent and scale.
30388
30389 2006-02-22  Mark Wielaard  <mark@klomp.org>
30390
30391         * java/awt/Checkbox.java (setState): Check that state actually changed
30392         before calling peer.
30393         (dispatchEventImpl): Set new state if ItemEvent.
30394         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java (changing): Removed.
30395         (create): Set currentState.
30396         (setState): Make synchronized, check and set currentState before
30397         calling gtkToggleButtonSetActive.
30398         (postItemEvent): Make synchronized, check and set currentState before
30399         posting ItemEvent.
30400         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
30401         (postItemEventID): Method now takes boolean.
30402         (item_toggled_cb): Likewise.
30403   
30404 2006-02-22  Robert Schuster  <robertschuster@fsfe.org>
30405   
30406         * javax/swing/text/DefaultHighlighter.java:
30407         (changeHighlight): Added code to minimize the damaged area.
30408   
30409 2006-02-22  Robert Schuster  <robertschuster@fsfe.org>
30410   
30411         * javax/swing/text/PlainView.java:
30412         (getPreferredSpan): Added missing 'break'.
30413         statement which corrects an unwanted fall through.
30414         (updateDamage): Update maxLineLength correctly when text is
30415         removed, call preferenceChanged accordingly.
30416         (viewToModel): Restrict line number to be within 0 and the
30417         number of elements-1.
30418   
30419 2006-02-22  Robert Schuster  <robertschuster@fsfe.org>
30420   
30421         * javax/swing/text/Utilities.java:
30422         (getPositionAbove): Prefer first value by changing comparison
30423         from < to <=.
30424         (getPositionBelow): Dito.
30425   
30426 2006-02-22  Robert Schuster  <robertschuster@fsfe.org>
30427   
30428         * javax/swing/text/DefaultEditorKit.java: Added checks and fallback
30429         behavior when magic caret position is null.
30430   
30431 2006-02-22  Roman Kennke  <kennke@aicas.com>
30432   
30433         * javax/swing/JTextField.java
30434         (isValidateRoot): New method.
30435   
30436 2006-02-22  Roman Kennke  <kennke@aicas.com>
30437   
30438         * javax/swing/JEditorPane.java
30439         (getPreferredSize): Rewritten to behave like the reference impl.
30440         (getScrollableTracksViewportWidth): Likewise.
30441         (getScrollableTracksViewportHeight): Likewise.
30442   
30443 2006-02-22  Roman Kennke  <kennke@aicas.com>
30444   
30445         * javax/swing/RepaintManager.java
30446         (addInvalidComponent): Also consider the component itself.
30447   
30448 2006-02-22  Mark Wielaard  <mark@klomp.org>
30449   
30450         * javax/swing/text/html/HTMLDocument.java (createDefaultRoot): Fully
30451         qualify AbstractDocument.AttributeContext.
30452         (blockOpen): Likewise.
30453   
30454 2006-02-21  Anthony Balkissoon  <abalkiss@redhat.com>
30455
30456         * java/math/BigDecimal.java:
30457         (mathContext): New field.
30458         (precision): Likewise.
30459         (BigDecimal(int)): New constructor.
30460         (BigDecimal(long)): Likewise.
30461         (BigDecimal(BigInteger)): Added API docs.
30462         (BigDecimal(BigInteger, int)): Removed incorrect NumberFormatException
30463         and added API docs.
30464         (plus): New method.
30465         (round): Likewise.
30466         (precision): Likewise.
30467         (valueOf): Likewise.
30468         (numDigitsInLong): New implementation method.
30469
30470 2006-02-21  Anthony Balkissoon  <abalkiss@redhat.com>
30471
30472         * java/math/MathContext.java: New class.
30473         * java/math/RoundingMode: New Enum.
30474
30475 2006-02-21  Mark Wielaard  <mark@klomp.org>
30476   
30477         * java/awt/Component.java (translateEvent): Translate
30478         AdjustmentEvents to 1.0 Events.
30479         * java/awt/Scrollbar.java (dispatchEventImpl): Set valueIsAdjusting.
30480         Call setValue() before processing event.
30481         * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java (setValues): Check
30482         whether we are currently changing and being called back from the
30483         Scrollbar component.
30484         (setBarValues): New native method.
30485         (postAdjustmentEvent): Mark AdjustmentEvent as user generated.
30486         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollbarPeer.c
30487         (Java_gnu_java_awt_peer_gtk_GtkScrollbarPeer_setValues): Renamed to
30488         Java_gnu_java_awt_peer_gtk_GtkScrollbarPeer_setBarValue
30489         * include/gnu_java_awt_peer_gtk_GtkScrollbarPeer.h: Regenerated.
30490   
30491 2006-02-21  Roman Kennke  <kennke@aicas.com>
30492   
30493         * javax/swing/text/View.java
30494         (setParent): Set child parent to null when disconnecting
30495         the view from the View hierarchy.
30496   
30497 2006-02-21  Wolfgang Baer  <WBaer@gmx.de>
30498   
30499         * javax/print/StreamPrintService.java: Added and enhanced documentation.
30500   
30501 2006-02-21  Roman Kennke  <kennke@aicas.com>
30502   
30503         * javax/swing/text/WrappedPlainView.java
30504         (calculateBreakPosition): Changed to use the view's allocation instead
30505         of the container's preferredSize.
30506   
30507 2006-02-21  Wolfgang Baer  <WBaer@gmx.de>
30508   
30509         * java/awt/CardLayout.java:
30510         (first): Updated api documentation.
30511         (last): Likewise.
30512         (next): Likewise.
30513         (previous): Likewise.
30514         (show): Clarified api docs. Return if name is null. Throw
30515         IllegalArgumentException if layout of container is not this.
30516         (gotoComponent): Updated api documentation. Throw
30517         IllegalArgumentException if layout of container is not this.
30518   
30519 2006-02-21  Roman Kennke  <kennke@aicas.com>
30520   
30521         * javax/swing/text/NavigationFilter.java
30522         (getNextVisualPositionFrom): New method.
30523   
30524 2006-02-21  Roman Kennke  <kennke@aicas.com>
30525   
30526         * javax/swing/plaf/basic/BasicTextUI.java
30527         (RootView.setView): Call setParent() on the view with this as
30528         argument instead of null.
30529         (setView): Don't set root view's parent here.
30530   
30531 2006-02-21  Roman Kennke  <kennke@aicas.com>
30532   
30533         * javax/swing/text/AbstractDocument.java
30534         (AbstractElement.getAttribute): Use getResolveParent() to fetch
30535         the resolving parent.
30536         (AbstractElement.getResolveParent): Fixed to handle possible null
30537         parent.
30538         * javax/swing/text/BoxView.java
30539         (childReqs): New field.
30540         (paint): Added debugging code (commented out).
30541         (getPreferredSpan): Rewritten to use new update* methods.
30542         (getMaximumSpan): Rewritten to return Integer.MAX_VALUE
30543         for the minor axis and preferredSpan for the major axis.
30544         (getMinimumSpan): Rewritten to use new update* methods.
30545         (baselineRequirements): Rewritten to avoid creation of 
30546         unnecessary SizeRequirements objects.
30547         (baselineLayout): Rewritten to use new update* methods.
30548         (calculateMajorAxisRequirements): Rewritten to avoid creation of 
30549         unnecessary SizeRequirements objects.
30550         (calculateMinorAxisRequirements): Rewritten to avoid creation of 
30551         unnecessary SizeRequirements objects.
30552         (layout): Some robustness fixes for the layout. Turned AssertionErrors
30553         into warnings.
30554         (layoutMajorAxis): Rewritten to use new update* methods.
30555         (layoutMinorAxis): Rewritten to use new update* methods.
30556         (getChildRequirements): Replaced by the update* methods.
30557         (getAlignment): Use update* methods.
30558         (updateChildRequirements): New methods. Updates the child requirements
30559         if necessary.
30560         (updateRequirements): New methods. Updates the BoxView requirements
30561         if necessary.
30562         * javax/swing/text/DefaultStyledDocument.java
30563         (ElementBuffer.insert): Added warning for illegal replacement operation.
30564         * javax/swing/text/FlowView.java
30565         (layoutRow): When offset doesn't change, return -1.
30566         (LogicalView): Now subclasses BoxView.
30567         (loadChildren): Let the CompositeView.setParent() load the children
30568         of the logicalView.
30569         (calculateMinorRequirements): New overridden method.
30570         * javax/swing/text/GlyphView.java
30571         (DefaultGlyphPainter.paint): Fixed typo.
30572         (startOffset): Made field private.
30573         (endOffset): Made field private.
30574         (paint): Call getStartOffset() and getEndOffset() instead of the
30575         element methods.
30576         (isStrikeThrough): Fixed typo.
30577         (breakView): Use Utilities.getBreakLocation() to determine best
30578         break location.
30579         (changedUpdate): Call preferencedChange on this instead of parent.
30580         (removeUpdate): Call preferencedChange on this instead of parent.
30581         * javax/swing/text/ParagraphView.java
30582         (Row.getAlignment): For Y_AXIS, call super.
30583         (getAlignment): Likewise.
30584         * javax/swing/text/Utilities.java
30585         (getBreakLocation): Set Segment object directly on the BreakIterator.
30586         * javax/swing/text/html/HTML.java
30587         (Attribute): Made class non-serializable and final as specified.
30588         (Attribute(String)): Made constructor private.
30589         (Attribute.compareTo): Removed.
30590         (Attribute.equals): Removed.
30591         (Attribute.hashCode): Removed.
30592         (Tag): Made class non-comparable and non-serializable as specified.
30593         (Tag.compareTo): Removed.
30594         (Tag.equals): Removed.
30595         (Tag.hashCode): Removed.
30596         * javax/swing/text/html/HTMLDocument.java
30597         (HTMLReader.blockOpen): Add tag as name attribute to element.
30598         * javax/swing/text/html/HTMLEditorKit.java
30599         (HTMLFactory.create): Create NullView for <head> tags, removed unused
30600         fallback.
30601         * javax/swing/text/html/InlineView.java
30602         (setPropertiesFromAttributes): Call super.
30603         * javax/swing/text/html/NullView.java: New class.
30604   
30605 2006-02-21  Roman Kennke  <kennke@aicas.com>
30606   
30607         PR classpath/26368
30608         * javax/swing/text/GapContent.java
30609         (GapContentPosition): Made class private.
30610         (InsertUndo): Made class private.
30611         (UndoRemove): Made class private.
30612         (WeakPositionComparator): New inner class.
30613         (positions): Made field private.
30614         (createPosition): Clear up GC'ed positions before creating
30615         a new one. Store position as WeakReference.
30616         (getPositionsInRange): Changed to handle WeakReference
30617         positions.
30618         (setPositionsInRange): Changed to handle WeakReference
30619         positions.
30620         (adjustPositionsInRange): Changed to handle WeakReference
30621         positions.
30622         (dumpPositions): Handle WeakReference positions.
30623         (clearPositionReferences): New method.
30624   
30625 2006-02-21  Robert Schuster  <robertschuster@fsfe.org>
30626   
30627         * javax/swing/plaf/basic/BasicTextUI.java:
30628         (paint): Remove unneccessary part of the if-expression.
30629         (damageRange): Added case where the range spans multiple lines.
30630         * javax/swing/text/DefaultCaret.java:
30631         (clearHighlight): New method.
30632         (handleHighlight): Removed unneccessary part of the if-expression.
30633         (setDot): Use clearHighlight method.
30634         * javax/swing/text/DefaultHighlighter.java: Use ArrayList instead
30635         of Vector.
30636         (paint): Prevented calling size() on every loop iteration, fixed
30637         calculation of allocation area bounds.
30638         (getHighlights): Implemented.
30639         (removeHighlight): Mark damaged area in textcomponent.
30640         (addHighlight): Mark damaged area in textcomponent.
30641         (changeHighlight): Mark damaged area in textcomponent.
30642         (DefaultHighlighter.HighlightEntry): Made it a real
30643         Highlighter.Highlight implementation.
30644         (DefaultHighlighter.DefaultHighlightPainter.paint): Fixed
30645         calculations.
30646
30647 2006-02-20  Stuart Ballard  <stuart.a.ballard@gmail.com>
30648
30649         * java/util/zip/ZipConstants.java
30650         (LOCSIG): Change type to long.
30651         (EXTSIG): Likewise.
30652         (CENSIG): Likewise.
30653         (ENDSIG): Likewise.
30654         * java/util/zip/ZipOutputStream.java
30655         (writeLeInt(long)): New method.
30656   
30657 2006-02-21  Michael Koch  <konqueror@gmx.de>
30658   
30659         * gnu/javax/net/ssl/provider/PRNG.java: Removed.
30660   
30661 2006-02-20  Mark Wielaard  <mark@klomp.org>
30662   
30663         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
30664         (begin_drawing_operation): Output stacktrace and return on bad cairo
30665         status.
30666         (end_drawing_operation): Likewise. And reset cairo_t.
30667   
30668 2006-02-20  Robert Schuster  <robertschuster@fsfe.org>
30669   
30670         * javax/swing/text/DefaultEditorKit.java: Fixed comparison
30671         in backward selection action.
30672   
30673 2006-02-20  Olivier Jolly  <olivier.jolly@pcedev.com>
30674   
30675         * java/lang/reflect/Proxy.java:
30676         (ProxyData.getProxyData): Skipped overriding of core methods.
30677         (ProxyData.isCoreObjectMethod): New method.
30678   
30679 2006-02-20  Mark Wielaard  <mark@klomp.org>
30680   
30681         * gnu/java/nio/charset/Provider.java (Provider): Package private.
30682   
30683 2006-02-20  Roman Kennke  <kennke@aicas.com>
30684   
30685         * javax/swing/text/html/Option.java: New class.
30686   
30687 2006-02-20  Lillian Angel  <langel@redhat.com>
30688   
30689         * java/swt/Window.java
30690         (show): Calling show() on the owned windows caused problems.
30691         Changed back to get the peer and call setVisible.
30692   
30693 2006-02-20  Roman Kennke  <kennke@aicas.com>
30694   
30695         * javax/swing/plaf/basic/BasicTextUI.java
30696         (damageRange): Implemented this method.
30697   
30698 2006-02-20  Robert Schuster  <robertschuster@fsfe.org>
30699   
30700         * javax/swing/text/GapContent.java:
30701         (shiftGapEndUp): Corrected new mark value.
30702         * javax/swing/text/AbstractDocument.java:
30703         (remove): Changed order of operations.
30704   
30705 2006-02-20  Robert Schuster  <robertschuster@fsfe.org>
30706   
30707         * javax/swing/text/GapContent.java:
30708         (shiftGapEndUp): Reverted.
30709         * javax/swing/text/AbstractDocument.java:
30710         (remove): Reverted.
30711   
30712 2006-02-20  Robert Schuster  <robertschuster@fsfe.org>
30713   
30714         * javax/swing/text/GapContent.java:
30715         (shiftGapEndUp): Corrected new mark value.
30716         * javax/swing/text/AbstractDocument.java:
30717         (remove): Changed order of operations.
30718   
30719 2006-02-20  Mark Wielaard  <mark@klomp.org>
30720   
30721         * java/awt/Menu.java (add(MenuItem)): Use item.getParent() to get
30722         parent field.
30723         (insert): Likewise.
30724         (addNotify): Add the item after addNotifying it.
30725         * java/awt/MenuBar.java (setHelpMenu): Only call removeNotify() when
30726         there is a peer. Use getParent() and setParent() to manipulate parent
30727         field.
30728         (add(Menu)): Use getParent() and setParent() to manipulate parent
30729         field. Call addNotify() and addMenu() when there is a peer.
30730         (remove(int)): Call removeNotify() and delMenu() when there is a peer.
30731         (addNotify): Use getPeer()/setPeer(). Call addMenu() and addHelpMenu()
30732         when there is a peer.
30733         * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java (create): Document.
30734         (GtkMenuComponentPeer): Document. Take MenuComponent as argument.
30735         (setFont): Call setFont(Font).
30736         (setFont(Font)): Document. Only set font when not null.
30737         * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java (create): Document. Made
30738         protected.
30739         (connectSignals): Likewise.
30740         (GtkMenuItemPeer): Document. Don't try to add item. Always call
30741         connectSignals().
30742         * gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java (create): Make
30743         protected.
30744         (postMenuActionEvent): Document.
30745         * gnu/java/awt/peer/gtk/GtkMenuPeer.java (create): Document. Made
30746         protected.
30747         (addItem): Document. Made private.
30748         (addTearOff): Made private.
30749         (connectSignals): New protected overridden method.
30750         (GtkMenuPeer): Correctly cast setupAccelGroup() arguments.
30751         * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java (hasHelpMenu): New field.
30752         (create): Document.
30753         (addMenu): Made private, take GtkMenuPeer as argument and document.
30754         (GtkMenuBarPeer): Document.
30755         (nativeSetHelpMenu): Removed.
30756         (addHelpMenu): Implement.
30757         (delMenu): Document.
30758         (addMenu): Implement.
30759         * gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java (setParent): Removed.
30760         * include/gnu_java_awt_peer_gtk_GtkMenuBarPeer.h: Regenerated.
30761         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c
30762         (Java_gnu_java_awt_peer_gtk_GtkMenuBarPeer_nativeSetHelpMenu):
30763         Removed.
30764   
30765 2006-02-20  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
30766   
30767         * gnu/java/rmi/server/RMIObjectInputStream.java (resolveProxyClass):
30768         Expect that proxy interfaces may have different class loaders.
30769         * gnu/java/rmi/server/UnicastServerRef.java: Rewritten.
30770         * java/rmi/registry/Registry.java,
30771         * java/rmi/server/UnicastRemoteObject.java: 
30772         Documented about proxy stubs.
30773         * gnu/java/rmi/server/CombinedClassLoader.java,
30774         java/rmi/server/RemoteObjectInvocationHandler.java: New files.
30775         * NEWS: Added entry.
30776
30777 2006-02-19  Mark Wielaard  <mark@klomp.org>
30778
30779         * gnu/java/awt/peer/gtk/GtkContainerPeer.java (endValidate): Set
30780         Parent and Bounds of our children if either or parent is showing, or
30781         we are a Window and are showing ourselves now.
30782   
30783 2006-02-19  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
30784   
30785         * gnu/classpath/tools/rmi/rmic/RmicCompiler.java (convertStubName): 
30786         New method.
30787         * gnu/classpath/tools/rmi/rmic/templates/Stub_12.jav: 
30788         Another stub name fix.
30789   
30790 2006-02-19  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
30791   
30792         * gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java (compile):
30793         Call convertStubName. (convertStubName): New method.
30794         * gnu/classpath/tools/rmi/RMIC.java (main): Stub name fix.
30795         * gnu/classpath/tools/rmi/rmic/RmiMethodGenerator.java 
30796         (convertStubName): New method.
30797         (getMethodHashCode): 
30798         Use existing gnu.java.rmi.server.RMIHashes.getMethodHash.
30799         * gnu/classpath/tools/rmi/rmic/templates/Stub_12.jav: Stub name fix.
30800
30801 2006-02-19  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
30802
30803         * java/rmi/server/UnicastRemoteObject.java: Documenting. 
30804
30805 2006-02-19  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
30806
30807         * gnu/java/rmi/server/UnicastServerRef.java: Reformatted.
30808
30809 2006-02-18  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
30810
30811         * javax/swing/JViewport.java (paintBackingStore): If the component has
30812         not been scrolled, only repaint the buffer part, indicated by
30813         the parameter graphics clip. 
30814      
30815 2006-02-19  Raif S. Naffah  <raif@swiftdsl.com.au>
30816
30817         * gnu/javax/crypto/key/OutgoingMessage.java (writePublicKey): Handle new
30818         internal format.
30819         (writePrivateKey): Likewise.
30820         (writeKey): New method.
30821         (getKeyType): Likewise.
30822         * gnu/javax/crypto/key/IncomingMessage.java (readPublicKey): Handle new
30823         internal format.
30824         (readPrivateKey): Likewise.
30825         (getKeyPairCodec): New method.
30826         * gnu/javax/crypto/key/srp6/SRPKey.java (getFormat): Always return Raw.
30827         * gnu/javax/crypto/key/dh/GnuDHKey.java (getFormat): Use FormatUtil.
30828         * gnu/java/security/Registry.java (RSA_SIG_PREFIX): New constant.
30829         (RSA_PSS_ENCODING): Likewise..
30830         (RSA_PKCS1_V1_5_ENCODING): Likewise.
30831         (RSA_PSS_SIG): Redefined using other constants.
30832         (RSA_PKCS1_V1_5_SIG): Likewise.
30833         (MAGIC_RAW_RSA_PKCS1V1_5_SIGNATURE): New constant.
30834         * gnu/java/security/util/FormatUtil.java: New file.
30835         * gnu/java/security/sig/SignatureFactory.java (names): New field.
30836         (getInstance): Let RSASignatureFactory handle RSA signature names.
30837         (getNames): Handle new RSA signature (with format) names.
30838         * gnu/java/security/sig/SignatureCodecFactory.java: New file.
30839         * gnu/java/security/sig/BaseSignature.java (BaseSignature): Add check
30840         for null md.
30841         (name): Include hash algorithm name.
30842         * gnu/java/security/sig/rsa/RSASignatureFactory.java: New file.
30843         * gnu/java/security/sig/rsa/RSAPSSSignature.java
30844         (RSAPSSSignature): Call constructor with IMessageDigest.
30845         (RSAPSSSignature(ImessageDigest,int)): New constructor.
30846         * gnu/java/security/sig/rsa/RSAPKCS1V1_5SignatureRawCodec.java: New
30847         file.
30848         * gnu/java/security/sig/rsa/RSAPKCS1V1_5SignatureX509Codec.java:
30849         Likewise.
30850         * gnu/java/security/sig/rsa/RSAPKCS1V1_5Signature.java
30851         (RSAPKCS1V1_5Signature(String)): Call constructor with IMessageDigest.
30852         (RSAPKCS1V1_5Signature(IMessageDigest)): New constructor.
30853         * gnu/java/security/sig/rsa/EMSA_PKCS1_V1_5.java (getInstance): Added
30854         hash algorithm name to exception.
30855         * gnu/java/security/sig/dss/DSSSignatureX509Codec.java: New file.
30856         * gnu/java/security/key/KeyPairCodecFactory.java
30857         (names): New class field.
30858         (getInstance(Sitrng)): Deconstruct and call getInstance(String,String).
30859         (getInstance(String,String)): New method.
30860         (getInstance(String,int)): New method.
30861         (getInstance(byte[])): Removed.
30862         (getInstance(Key)): Handle new formats.
30863         (getNames): Likewise.
30864         (getEncodingName(int)): Moved to FormatUtil.
30865         (getEncodingShortName(int)): Likewise.
30866         (getRawCodec(String)): New method.
30867         (getX509Codec(String)): Likewise.
30868         (getPKCS8Codec(String)): Likewise.
30869         (getRawCodec(Key)): Likewise.
30870         (getX509Codec(Key)): Likewise.
30871         (getPKCS8Codec(Key)): Likewise.
30872         * gnu/java/security/key/dss/DSSKey.java (getFormat): Use FormatUtil.
30873         * gnu/java/security/key/rsa/GnuRSAKey.java (getFormat): Likewise.
30874         * gnu/java/security/jce/sig/SHA512withRSA.java: New File.
30875         * gnu/java/security/jce/sig/SHA384withRSA.java: Likewise.
30876         * gnu/java/security/jce/sig/SHA256withRSA.java: Likewise.
30877         * gnu/java/security/jce/sig/SHA160withRSA.java: Likewise.
30878         * gnu/java/security/jce/sig/SHA160withDSS.java: Likewsie.
30879         * gnu/java/security/jce/sig/MD5withRSA.java: Likewise.
30880         * gnu/java/security/jce/sig/MD2withRSA.java: Likewise.
30881
30882 2006-02-18  Mark Wielaard  <mark@klomp.org>
30883
30884         * java/awt/dnd/DragSource.java (getDefaultDragSource): Return new
30885         DragSource.
30886         (NoDragGestureRecognizer): New static class.
30887         (createDragGestureRecognizer): Return NoDragGestureRecognizer when
30888         Toolkit doesn't support drag and drop.
30889
30890 2006-02-18  Mark Wielaard  <mark@klomp.org>
30891
30892         * javax/swing/AbstractAction.java (AbstractAction()): Nothing to do.
30893         (AbstractAction(String)): Just call putValue() for NAME.
30894         (putValue): Nothing to do is old and new value are both null.
30895
30896 2006-02-18  Mark Wielaard  <mark@klomp.org>
30897
30898         * javax/swing/JRootPane.java (layoutContainer): Get contentPane
30899         through getContentPane().
30900         (preferredLayoutSize): Likewise.
30901
30902 2006-02-18  Mark Wielaard  <mark@klomp.org>
30903
30904         * javax/swing/JMenuBar.java (paintBorder): Check whether border is
30905         actually set before painting.
30906
30907 2006-02-18  Mark Wielaard  <mark@klomp.org>
30908
30909         * javax/swing/text/html/HTMLDocument.java (addContent):
30910         Fully qualify AbstractDocument.AttributeContext and
30911         DefaultStyledDocument.ElementSpec.ContentType for gcj 4.0.
30912
30913 2006-02-18  Mark Wielaard  <mark@klomp.org>
30914
30915         * java/awt/datatransfer/DataFlavor.java (tryToLoadClass): Rewritten.
30916         (getRepresentationClassFromMime): Add exception cause to
30917         IllegalArgumentException.
30918   
30919 2006-02-17  Lillian Angel  <langel@redhat.com>
30920   
30921         * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
30922         Removed unneeded import.
30923         * gnu/java/awt/peer/gtk/GtkFramePeer.java:
30924         Removed unneeded imports.
30925         * java/awt/BorderLayout.java:
30926         Fixed comment, this is not yet handled in the JDK 1.5.
30927         * java/awt/Container.java:
30928         Removed unneeded import.
30929   
30930 2006-02-17  Lillian Angel  <langel@redhat.com>
30931   
30932         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
30933         (setBounds): Removed check. Coordinates should always be changed
30934         to incorporate the parent's coordinates.
30935         * gnu/java/awt/peer/gtk/GtkFramePeer.java
30936         (setMenuBar): Added checks. Don't validate component if it has 
30937         not been validated yet, it will be validated later. Only validate
30938         if it has already been validated, in that case it needs to be
30939         revalidated.
30940         * java/awt/Window.java
30941         (show): Added check. If the window is visible, then bring it to the
30942         front. Otherwise, iterate through all its children windows and show them.
30943         No need to do both.
30944
30945 2006-02-17  Roman Kennke  <kennke@aicas.com>
30946
30947         * javax/swing/text/html/ParagraphView.java: New file.
30948
30949 2006-02-17  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
30950
30951         * javax/swing/JTable.java (getCellRect): return +rowMargin if spacing
30952         is included. (moveToCellBeingEdited): Adjusted to start editing at the
30953         same location where was the initial text.
30954         * javax/swing/plaf/basic/BasicTableUI.java (paint): Rewritten.
30955
30956 2006-02-17  Chris Burdess  <dog@gnu.org>
30957
30958         Fixes PRs 26319, 26320, 26321, 26322, 26325
30959         * gnu/xml/stream/SAXParser.java: On error, reset parser before
30960           rethrowing exception.
30961         * gnu/xml/stream/XMLParser.java: Only report "illegal use of
30962           1.1-style prefix unbinding in 1.0 document" error for xmlns
30963           prefixes, not xmlns attributes. Fix a problem with empty namespace
30964           stack at the end of a document. Permit parameter entity references
30965           in element and attribute-list definition name area. Corrected
30966           normalisation of whitespace character entity references in CDATA
30967           attribute values. Fixed number of characters read following a
30968           reset when detecting end of character data with characters after a
30969           Unicode surrogate pair.
30970   
30971 2006-02-17  Roman Kennke  <kennke@aicas.com>
30972   
30973         * javax/swing/text/html/HTMLEditorKit.java
30974         (HTMLFactory.create): Create InlineView for content tags.
30975         * javax/swing/text/html/HTMLDocument.java
30976         (HTMLReader.flush): Call create() on first flush and insert
30977         on subsequent flushes.
30978   
30979 2006-02-17  Roman Kennke  <kennke@aicas.com>
30980   
30981         * javax/swing/text/AbstractDocument.java
30982         (BranchElement.getStartOffset): Implemented workaround for wrong
30983         NPE.
30984         (BranchElement.getEndOffset): Implemented workaround for wrong
30985         NPE.
30986         (ElementBuffer.split): Use createBranchElement() instead of
30987         new BranchElement().
30988         (ElementBuffer.insertFracture): Use createBranchElement() instead of
30989         new BranchElement().
30990         (ElementBuffer.recreateAfterFracture): Use createBranchElement()
30991         instead of new BranchElement().
30992         (createDefaultRoot): Use createBranchElement() and createLeafElement
30993         instead of the constructors.
30994         (create): Rewritten.
30995   
30996 2006-02-17  Keith Seitz  <keiths@redhat.com>
30997   
30998         * gnu/classpath/jdwp/id/JdwpId.java (size): Remove.
30999         (SIZE): New constant.
31000         * gnu/classpath/jdwp/processor/VirtualMachineCommandSet.java
31001         (executeIDsizes): Use SIZE constant.
31002         * vm/reference/gnu/classpath/jdwp/VMFrame.java (size): Remove.
31003         (SIZE): New constant.
31004
31005 2006-02-17  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
31006
31007         * javax/swing/JTable.java (IconCellRenderer): Set the component
31008         text to empty string. (createDefaultRenderers): Register
31009         IconCellRenderer also for ImageIcon. 
31010         (getCellEditor(int, int), getCellRenderer(int, int)):
31011         Use model index for data model and column index for column model.
31012         (getColumnClass): Convert to model index before requesting class
31013         from model. 
31014   
31015 2006-02-17  Roman Kennke  <kennke@aicas.com>
31016   
31017         * javax/swing/text/html/HTMLDocument.java
31018         (createDefaultRoot): Implemented.
31019         (createLeafElement): Implemented.
31020         (createBranchElement): Implemented.
31021         (BlockElement.getName): Fixed to handle HTML.Tag objects as name.
31022         (RunElement.getName): Fixed to handle HTML.Tag objects as name.
31023         (HTMLReader.ParagraphAction.start): Call blockOpen at the very least.
31024         (HTMLReader.ParagraphAction.end): Call blockClose at the very least.
31025         (HTMLReader.blockOpen): Add name attribute with the current tag.
31026         (HTMLReader.addContent): Add name attribute with HTML.Tag.CONTENT.
31027   
31028 2006-02-17  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
31029   
31030         * javax/swing/plaf/basic/BasicTableHeaderUI.java (MouseInputHandler):
31031         Rewritten.
31032         * javax/swing/table/JTableHeader.java: Documenting related methods.
31033   
31034 2006-02-17  Jeroen Frijters  <jeroen@frijters.net>
31035   
31036         Fixes PR 25752
31037         * gnu/java/net/protocol/ftp/FTPURLConnection.java
31038         (connect): Changed to use SystemProperties.
31039         (getInputStream): Try changeWorkingDirectory to figure out if
31040         url is a directory, if not use retrieve.
31041         (getOutputStream): Don't worry about directories, simply always
31042         try to do a store.
31043   
31044 2006-02-17  Jeroen Frijters  <jeroen@frijters.net>
31045   
31046         * gnu/java/net/protocol/ftp/ActiveModeDTP.java
31047         (ActiveModeDTP): Mark accept thread as daemon.
31048   
31049 2006-02-17  Michael Koch  <konqueror@gmx.de>
31050   
31051         * tools/.cvsignore: Ignore tools.zip.
31052   
31053 2006-02-16  Keith Seitz  <keiths@redhat.com>
31054   
31055         * vm/reference/gnu/classpath/jdwp/VMIdManager.java (newReferenceTypeId):
31056         Set the ID's reference.
31057         (<clinit>): Remove comments for field, method, and frame ID types,
31058         which will not be handled by VMIdManager.
31059   
31060 2006-02-17  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
31061   
31062         * javax/swing/JTable.java (getCellEditor, getCellRenderer):
31063         Use model index, not the column number.
31064         * javax/swing/plaf/basic/BasicTableHeaderUI.java (MouseInputHandler):
31065         Rewritten. (draggingHeaderRect): New field. (paint): Animate column 
31066         movement by painting draggingHeaderRect.
31067         * NEWS: Added entry about JTable columns. 
31068   
31069 2006-02-16  Keith Seitz  <keiths@redhat.com>
31070   
31071         * gnu/classpath/jdwp/id/JdwpId.java (size): Make static. Return
31072         default size of eight bytes.
31073         * gnu/classpath/jdwp/id/ObjectId.java (size): Remove.
31074         * gnu/classpath/jdwp/id/ReferenceTypeId.java (size): Remove.
31075         * gnu/classpath/jdwp/processor/VirtualMachineCommandSet.java
31076         (executeIDsizes): Use new static methods.
31077         * vm/reference/gnu/classpath/jdwp/VMFrame.java (size): New static
31078         method.
31079         
31080 2006-02-16  David Daney  <ddaney@avtrex.com>
31081   
31082         PR classpath/26312
31083         * gnu/java/net/protocol/http/ChunkedInputStream.java (read): Mask
31084         return value with 0xff.
31085   
31086 2006-02-16  Keith Seitz  <keiths@redhat.com>
31087   
31088         * gnu/classpath/jdwp/event/EventRequest.java (getFilters): New method.
31089         (matches): Use Iterator instead of ListIterator.
31090   
31091 2006-02-16  Keith Seitz  <keiths@redhat.com>
31092   
31093         * gnu/classpath/jdwp/Jdwp.java (_doInitialization): Name the packet
31094         processor thread for easier debugging.
31095         (_enforceSuspendPolicy): Suspend the current thread, not the JDWP
31096         main thread.
31097   
31098 2006-02-16  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
31099   
31100         * javax/swing/JTable.java 
31101         (TableColumnPropertyChangeHandler.propertyChange): Return without
31102         action if table header resizing column in not null. (doLayout):
31103         Only repaint the header if it is not null.      
31104         * javax/swing/plaf/basic/BasicTableHeaderUI.java 
31105         (MouseInputHandler.mouseExited, MouseInputHandler.mouseReleased):
31106         Rewritten. (MouseInputHandler.endResizing): New method.
31107   
31108 2006-02-16  Roman Kennke  <kennke@aicas.com>
31109   
31110         * javax/swing/text/html/InlineView.java: New file.
31111   
31112 2006-02-16  Roman Kennke  <kennke@aicas.com>
31113   
31114         * javax/swing/JTabbedPane.java
31115         (AccessibleJTable.getAccessibleChild): Implemented to return
31116         the Page instance for the specified index.
31117         (Page): Changed to implement Accessible and extend
31118         AccessibleContext.
31119         (Page.getAccessibleContext): New method.
31120         (Page.getAccessibleRole): New method.
31121         (Page.getAccessibleStateSet): New method.
31122         (Page.getAccessibleIndexInParent): New method.
31123         (Page.getAccessibleChildrenCount): New method.
31124         (Page.getAccessibleChild): New methdod.
31125         (Page.getLocale): New method.
31126   
31127 2006-02-16  Roman Kennke  <kennke@aicas.com>
31128   
31129         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
31130         (TabbedPaneLayout.calculateTabRects): Expand tabRuns array when
31131         tabCount gets greater than tabRuns.length.
31132         (TabbedPaneScrollLayout.calculateTabRects): Expand tabRuns array
31133         when tabCount gets greater than tabRuns.length.
31134         (paintTabArea): Don't set tabCount == runCount.
31135   
31136 2006-02-16  Roman Kennke  <kennke@aicas.com>
31137   
31138         * javax/swing/plaf/basic/BasicTextUI.java
31139         (installUI): Moved installation of PropertyChangeListener
31140         to installListeners(). Call modelChanged() after everything is
31141         is installed.
31142         (installListeners): Install PropertyChangeListener here.
31143         (uninstallUI): Moved uninstallation of PropertyChangeListener
31144         to uninstallListeners.
31145         (uninstallListeners): Uninstall PropertyChangeListener here.
31146
31147 2006-02-16  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
31148
31149         * javax/swing/JTable.java (doLayout): 
31150         case AUTO_RESIZE_SUBSEQUENT_COLUMNS rewritten. Repaint the header
31151         on exit.
31152         javax/swing/plaf/basic/BasicTableHeaderUI.java 
31153         (MouseInputHandler.mouseDragged): Do not repaint the header.
31154   
31155 2006-02-16  Roman Kennke  <kennke@aicas.com>
31156   
31157         * javax/swing/JViewport.java
31158         (static_initializer): Set default scrollMode to backingstore.
31159   
31160 2006-02-16  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
31161   
31162         * javax/swing/JTable.java (moveToCellBeingEdited): Clone the value,
31163         returned by getCellRect. To not translate the component.
31164   
31165 2006-02-16  Roman Kennke  <kennke@aicas.com>
31166   
31167         * javax/swing/JComponent.java
31168         (rectCache): Made field non-static to avoid nasty interferences.
31169         (computeVisibleRect): Avoid creation of new Rectangles and double
31170         calculations on ints by using Swing.computeIntersection() instead
31171         of Rectangle2D.intersect().
31172         (repaint): Interect the dirty region with the visible rectangle
31173         of this component to avoid unnecessary painting.
31174   
31175 2006-02-16  Gary Benson  <gbenson@redhat.com>
31176   
31177         * java/lang/Thread.java (stop): Add a missing access check.
31178   
31179 2006-02-16  Robert Schuster  <robertschuster@fsfe.org>
31180   
31181         * javax/swing/text/JTextComponent.java:
31182         (replaceSelection): Added code to update the magic caret position.
31183         * javax/swing/text/DefaultEditorKit.java: Added code to update
31184         the magic caret position of the text component in all relevant
31185         movement actions, make use of the magic caret position in up
31186         and down movements and selections, simplified some actions
31187         (code-wise).
31188
31189 2006-02-15  Anthony Balkissoon  <abalkiss@redhat.com>
31190
31191         * gnu/java/lang/CharData.java: Regenerated from 
31192         doc/unicode/UnicodeData-4.0.0.txt, doc/unicode/SpecialCasing-4.0.0.txt
31193         and scripts/unicode-muncher.pl.
31194         * java/lang/Character.java: 
31195         (PrivateUseCharacters): New private static class.
31196         (UnassignedCharacters): Likewise.
31197         (blocks): Changed from char[] to char[][] to reflect the changes in 
31198         gnu/java/lang/CharData.  There is now one char[] per Unicode code
31199         plane.
31200         (data): Likewise.
31201         (numValue): Likewise.
31202         (upper): Likewise.
31203         (lower): Likewise.
31204         (direction): Likewise.
31205         (readChar): Replaced this method with new method readCodePoint.
31206         (readCodePoint): New method.
31207         (isLowerCase(char)): Redirected to new isLowerCase(int).
31208         (isLowerCase(int)): New method.
31209         (isUpperCase(char)): Redirected to new isUpperCase(int).
31210         (isUpperCase(int)): New method.
31211         (isTitleCase(char)): Redirected to new isTitleCase(int).
31212         (isTitleCase(int)): New method.
31213         (isDigit(char)): Redirected to new isDigit(int).
31214         (isDigit(int)): New method.
31215         (isDefined(char)): Redirected to new isDefined(int).
31216         (isDefined(int)): New method.
31217         (isLetter(char)): Redirected to new isLetter(int).
31218         (isLetter(int)): New method.
31219         (isLetterOrDigit(char)): Redirected to new isLetterOrDigit(int).
31220         (isLetterOrDigit(int)): New method.
31221         (isJavaIdentifierStart(char)): Redirected to new 
31222         isJavaIdentifierStart(int).
31223         (isJavaIdentifierStart(int)): New method.
31224         (isJavaIdentifierPart(char)): Redirected to new 
31225         isJavaIdentifierPart(int).
31226         (isJavaIdentifierPart(int)): New method.
31227         (isUnicodeIdentifierStart(char)): Redirected to new
31228         isUnicodeIdentifierStart(int).
31229         (isUnicodeIdentifierStart(int)): New method.
31230         (isUnicodeIdentifierPart(char)): Redirected to new 
31231         isUnicodeIdentifierPart(int).
31232         (isUnicodeIdentifierPart(int)): New method.
31233         (isIdentifierIgnorable(char)): Redirected to new
31234         isIdentifierIgnorable(int).
31235         (isIdentifierIgnorable(int)): New method.
31236         (toLowerCase(char)): Changed access to lower to correspond with new
31237         char[][] type of lower.
31238         (toLowerCase(int)) New method.
31239         (toUpperCase(char)): Changed access to upper to correspond with new
31240         char[][] type of upper.
31241         (toUpperCase(int)): New method.
31242         (toTitleCase(int)): New method.
31243         (digit(char, int)): Replaced call to readChar with call to 
31244         readCodePoint and changed access to numValue to reflect new char[][]
31245         type of numValue. 
31246         (digit(int, int)): New method.
31247         (getNumericValue(char)): Changed access to numValue to reflect new
31248         char[][] type of numValue.
31249         (getNumericValue(int)): New method.
31250         (isSpaceChar(char)): Redirected to new isSpaceChar(int).
31251         (isSpaceChar(int)): New method.
31252         (isWhitespace(char)): Redirected to new isWhitespace(int).
31253         (isWhitespace(int)): New method.
31254         (isISOControl(char)): Redirected to new isISOControl(int).
31255         (isISOControl(int)): New method.
31256         (getType(char)): Redirected to new getType(int).
31257         (getType(int)): New method.
31258         (getDirectionality(char)): Redirected to new getDirectionality(int).
31259         (getDirectionality(int)): New method.
31260         (isMirrored(char)): Changed call to readChar to readCodePoint.
31261         (isMirrored(int)): New method.
31262         * java/lang/String.java:
31263         (upperCaseExpansion): Changed access to Character.direction to reflect
31264         new char[][] type of direction.
31265         (offsetByCodePoints): New method.
31266         * scripts/unicode-muncher.pl: Adapted this script to handle Unicode 
31267         4.0.0 which introduced supplementary character assignments.  
31268
31269 2006-02-15  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
31270
31271         * javax/swing/JTable.java,
31272         javax/swing/plaf/basic/BasicTableHeaderUI.java,
31273         javax/swing/table/DefaultTableModel.java: Documented.
31274   
31275 2006-02-15  Lillian Angel  <langel@redhat.com>
31276   
31277         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
31278         Removed duplicate methods.
31279   
31280 2006-02-15  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
31281   
31282         * javax/swing/JTable.java (distributeSpillResizing): New method.
31283         (doLayout): Use distributeSpillResizing when resizing.
31284         * javax/swing/plaf/basic/BasicTableHeaderUI.java (MouseInputHandler):
31285         Rewritten. (installListeners): Add mouse motion listener. 
31286         (uninstallListeners): Remove mouse motion listener. 
31287   
31288 2006-02-15  Lillian Angel  <langel@redhat.com>
31289   
31290         * gnu/java/awt/peer/gtk/GtkDialogPeer.java
31291         (setVisible): Removed method.
31292         * gnu/java/awt/peer/gtk/GtkWindowPeer.java
31293         (setLocation): New method.
31294         (setLocationUnlocked): New method.
31295         (show): Changed to use setLocation instead of setBounds.
31296         * java/awt/Component.java
31297         (show): Should call peer.show(), not peer.setVisible(), so the
31298         location of the component is correctly set.
31299         (preferredSize): Added curly braces so else statements are
31300         properly associated with if's.
31301         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
31302         (Java_gnu_java_awt_peer_gtk_GtkWindowPeer_nativeSetLocation): 
31303         New function.
31304         (Java_gnu_java_awt_peer_gtk_GtkWindowPeer_nativeSet
31305         LocationUnlocked): New function.
31306         * include/gnu_java_awt_peer_gtk_GtkWindowPeer.h:
31307         Added declarations for Java_gnu_java_awt_peer_gtk_
31308         GtkWindowPeer_nativeSetLocation and 
31309         Java_gnu_java_awt_peer_gtk_GtkWindowPeer
31310         _nativeSetLocationUnlocked.
31311   
31312 2006-02-15  Mark Wielaard  <mark@klomp.org>
31313   
31314         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c
31315         (Java_gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer_create):
31316         Downcast gtk_plug_new result when used.
31317   
31318 2006-02-15  Olivier Jolly  <olivier.jolly@pcedev.com>
31319   
31320         * java/io/ObjectOutputStream.java (writeClassDescriptor):
31321         Call assignNewHandle() after writing Proxy class.
31322   
31323 2006-02-15  Olivier jolly  <olivier.jolly@pcedev.com>
31324   
31325         Fixes bug #14144
31326         * java/io/ObjectInputStream.java (readClassDescriptor):
31327         Class doesn't have to be abstract for first_nonserial.
31328   
31329 2006-02-15  Roman Kennke  <kennke@aicas.com>
31330   
31331         * javax/swing/JInternalFrame.java
31332         (setClosed): Call dispose to actually make the frame invisible
31333         and unselected.
31334   
31335 2006-02-15  Roman Kennke  <kennke@aicas.com>
31336   
31337         * javax/swing/JInternalFrame.java
31338         (dispose): Call setVisible(false) instead of hide.
31339         (doDefaultCloseOperation): Likewise.
31340   
31341 2006-02-15  Roman Kennke  <kennke@aicas.com>
31342   
31343         * javax/swing/JComponent.java
31344         (paintChildren): Also check for the visibility of a child component
31345         to avoid artifacts.
31346         (repaint): Simply add this component to the RepaintManager rather than
31347         trying to do useless optimization here.
31348   
31349 2006-02-15  David Gilbert  <david.gilbert@object-refinery.com>
31350   
31351         * javax/swing/JSpinner.java
31352         (DefaultEditor.DefaultEditor(JSpinner)): Add self to text field as a 
31353         PropertyChangeListener,
31354         (DefaultEditor.getSpinner): Updated API docs,
31355         (DefaultEditor.dismiss): Likewise,
31356         (DefaultEditor.getTextField): Likewise,
31357         (DefaultEditor.layoutContainer): Likewise,
31358         (DefaultEditor.minimumLayoutSize): Likewise,
31359         (DefaultEditor.preferredLayoutSize): Likewise,
31360         (DefaultEditor.propertyChange): Implemented,
31361         (DefaultEditor.stateChanged): Implemented,
31362         (DefaultEditor.removeLayoutComponent): Updated API docs,
31363         (DefaultEditor.addLayoutComponent): Likewise,
31364         (NumberEditor.NumberEditor(JSpinner)): Set formatter for text field,
31365         (NumberEditor.NumberEditor(JSpinner, String)): Likewise,
31366         (NumberEditor.getFormat): Implemented,
31367         (NumberEditor.getModel): Updated API docs,
31368         (NumberEditorFormatter): New static inner class,
31369         (ListEditor.getModel): Updated API docs,
31370         (DateEditor.dateFormat): Removed,
31371         (DateEditor.DateEditor(JSpinner)): Set formatter for text field,
31372         (DateEditor.DateEditor(JSpinner, String)): Likewise,
31373         (DateEditor.init): Removed,
31374         (DateEditor.getFormat): Reimplemented,
31375         (DateEditorFormatter): New static inner class,
31376         (ModelListener): New inner class,
31377         (model): Updated API docs,
31378         (editor): Likewise,
31379         (listener): Removed,
31380         (JSpinner()): Updated API docs,
31381         (JSpinner(SpinnerModel)): Set up ModelListener,
31382         (setEditor): Fire property change,
31383         (getModel): Updated API docs,
31384         (setModel): Removed check for null editor,
31385         (setValue): Updated API docs,
31386         (getUIClassID): Updated API docs,
31387         (createEditor): Handle SpinnerListModel case,
31388         * javax/swing/plaf/basic/BasicSpinnerUI.java
31389         (createUI): Updated API docs,
31390         (createPropertyChangeListener): Added FIXME,
31391         (installDefaults): Set text field border to null,
31392         (DefaultLayoutManager): Updated API docs,
31393         (DefaultLayoutManager.layoutContainer): Modified layout,
31394         (DefaultLayoutManager.minimumLayoutSize): Ignore button heights,
31395         (DefaultLayoutManager.preferredLayoutSize): Likewise,
31396         (DefaultLayoutManager.removeLayoutComponent): Removed tabs,
31397         (DefaultLayoutManager.addLayoutComponent): Likewise,
31398         (DefaultLayoutManager.minSize): Renamed prefSize,
31399         (DefaultLayoutManager.setBounds): Reformatted,
31400         (DefaultLayoutManager.editor): Added API docs,
31401         (DefaultLayoutManager.next): Likewise,
31402         (DefaultLayoutManager.previous): Likewise,
31403         * javax/swing/plaf/metal/MetalLookAndFeel.java
31404         (initComponentDefaults): Added entry for 'Spinner.border',
31405         * examples/gnu/classpath/examples/swing/SpinnerDemo.java: New file.
31406
31407 2006-02-15  Chris Burdess  <dog@gnu.org>
31408
31409         * gnu/xml/validation/datatype/BooleanType.java,
31410           gnu/xml/validation/datatype/ByteType.java,
31411           gnu/xml/validation/datatype/DateTimeType.java,
31412           gnu/xml/validation/datatype/DateType.java,
31413           gnu/xml/validation/datatype/DecimalType.java,
31414           gnu/xml/validation/datatype/DoubleType.java,
31415           gnu/xml/validation/datatype/DurationType.java,
31416           gnu/xml/validation/datatype/FloatType.java,
31417           gnu/xml/validation/datatype/GDayType.java,
31418           gnu/xml/validation/datatype/GMonthDayType.java,
31419           gnu/xml/validation/datatype/GMonthType.java,
31420           gnu/xml/validation/datatype/GYearMonthType.java,
31421           gnu/xml/validation/datatype/GYearType.java,
31422           gnu/xml/validation/datatype/IntType.java,
31423           gnu/xml/validation/datatype/IntegerType.java,
31424           gnu/xml/validation/datatype/LongType.java,
31425           gnu/xml/validation/datatype/MaxExclusiveFacet.java,
31426           gnu/xml/validation/datatype/MaxInclusiveFacet.java,
31427           gnu/xml/validation/datatype/MinExclusiveFacet.java,
31428           gnu/xml/validation/datatype/MinInclusiveFacet.java,
31429           gnu/xml/validation/datatype/NegativeIntegerType.java,
31430           gnu/xml/validation/datatype/NonNegativeIntegerType.java,
31431           gnu/xml/validation/datatype/NonPositiveIntegerType.java,
31432           gnu/xml/validation/datatype/PositiveIntegerType.java,
31433           gnu/xml/validation/datatype/ShortType.java,
31434           gnu/xml/validation/datatype/SimpleType.java,
31435           gnu/xml/validation/datatype/TimeType.java,
31436           gnu/xml/validation/datatype/TypeBuilder.java,
31437           gnu/xml/validation/datatype/UnsignedByteType.java,
31438           gnu/xml/validation/datatype/UnsignedIntType.java,
31439           gnu/xml/validation/datatype/UnsignedLongType.java,
31440           gnu/xml/validation/datatype/UnsignedShortType.java: Provide value
31441           objects for datatypes. Make maxExclusive,minExclusive,maxInclusive,
31442           minInclusive facets use the value space of the base type, and
31443           implement.
31444
31445 2006-02-15  Mark Wielaard  <mark@klomp.org>
31446
31447         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c
31448         (Java_gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer_create):
31449         gtk_plug_new() returns a GtkWindow.
31450
31451 2006-02-15  David Gilbert  <david.gilbert@object-refinery.com>
31452
31453         * javax/swing/SpinnerNumberModel.java
31454         (getNextValue): Check for null maximum,
31455         (getPreviousValue): Check for null minimum.
31456   
31457 2006-02-15  Roman Kennke  <kennke@aicas.com>
31458   
31459         * javax/swing/plaf/basic/BasicTableUI.java
31460         (paint): Paint vertical and horizontal lines one pixel shifted
31461         left/top.
31462   
31463 2006-02-15  Jeroen Frijters  <jeroen@frijters.net>
31464   
31465         * java/util/zip/ZipFile.java
31466         (checkZipFile): Inlined readLeInt and rewritten for robustness.
31467         (readLeShort(DataInput,byte[]), readLeInt(DataInput,byte[],
31468         readLeShort(byte[],int), readLeInt(byte[],int)): Removed.
31469         (readEntries): Rewritten to use PartialInputStream.
31470         (locBuf, checkLocalHeader): Removed.
31471         (getInputStream): Rewritten to use new PartialInputStream.
31472         (PartialInputStream): Rewritten to do buffering.
31473
31474 2006-02-15  Michael Koch  <konqueror@gmx.de>
31475
31476         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c
31477         (Java_gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer_create):
31478         Make sure the embedded window gets no decorations.
31479         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
31480         (window_get_frame_extents): Return early of the window has no
31481         decorations.
31482   
31483 2006-02-15  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
31484   
31485         * examples/gnu/classpath/examples/swing/TableDemo.java
31486         (TModel, createContent): Explain which value appears in the header.
31487         * javax/swing/JTable.java (setColumnModel): Only set the
31488         column header value if the getHeaderValue() returns null.
31489
31490 2006-02-14  Mark Wielaard  <mark@klomp.org>
31491
31492         Fixes bug #23931
31493         * gnu/java/awt/peer/gtk/GtkImage.java (errorImage): New static field.
31494         (getErrorImage): New static method.
31495         * gnu/java/awt/peer/gtk/GtkToolkit.java (GtkErrorImage): Removed.
31496         (bufferedImageOrError): Renamed to ...
31497         (imageOrError): Renamed from bufferedImageOrError, takes Image.
31498         Returns GtkImage.getErrorImage() when argument null.
31499         (createImage(String)): Always use imageOrError.
31500         (createImage(URL)): Likewise.
31501         (createImage(ImageProducer)): Likewise.
31502         (createImage(byte[],int,int)): Likewise.
31503
31504 2006-02-14  Roman Kennke  <kennke@aicas.com>
31505
31506         * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java: Removed
31507         unneeded imports.
31508         * javax/swing/plaf/basic/BasicInternalFrameUI.java: Likewise.
31509         * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Likewise.
31510         * javax/swing/plaf/basic/BasicRootPaneUI.java: Likewise.
31511         * javax/swing/plaf/basic/BasicSplitPaneDivider.java: Likewise.
31512         * javax/swing/plaf/basic/BasicHTML.java: Fixed API comment.
31513
31514 2006-02-14  Roman Kennke  <kennke@aicas.com>
31515
31516         * javax/swing/text/AsyncBoxView.java
31517         (ChildState.locator): Removed wrong field.
31518         (ChildState): Removed initialization of removed field.
31519         (locator): Changed access modifier to be protected as specified.
31520
31521 2006-02-14  Roman Kennke  <kennke@aicas.com>
31522
31523         * javax/swing/ToolTipManager.java: Removed unneeded imports.
31524         * javax/swing/Timer.java: Some small reindention.
31525         (task): Made package private to avoid synthetic accessor method.
31526   
31527 2006-02-14  Roman Kennke  <kennke@aicas.com>
31528   
31529         * javax/swing/SwingUtilities.java
31530         (layoutCompoundLabel): Dont set textIconGap to 0 when there is
31531         no icon.
31532   
31533 2006-02-14  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
31534   
31535         * examples/gnu/classpath/examples/swing/TableDemo.java:
31536         Making the columns variable width.
31537         * javax/swing/JTable.java (distributeSpill, doLayout):
31538           Call getPreferredSize and not getSize().
31539   
31540 2006-02-14  Roman Kennke  <kennke@aicas.com>
31541   
31542         * javax/swing/DefaultCellEditor.java
31543         (DefaultCellEditor): API doc fixlet.
31544   
31545 2006-02-14  Roman Kennke  <kennke@aicas.com>
31546   
31547         * javax/swing/JViewport.java
31548         (isPaintRoot): New field.
31549         (repaint): Only call super here. Also added a comment regarding
31550         the diversion from the JDK.
31551         (paintBlit): Implemented real blitting.
31552         (paintImmediately2): New method. Overrides the same package private
31553         method in JComponent.
31554   
31555 2006-02-14  Roman Kennke  <kennke@aicas.com>
31556   
31557         * javax/swing/plaf/basic/BasicTableUI.java
31558         (paint): Check for boundary cases when determining the painting
31559         area.
31560   
31561 2006-02-14  Mark Wielaard  <mark@klomp.org>
31562   
31563         * java/awt/Menu.java (add): Always set parent of item to this. Call
31564         addNotify() on item when we have a MenuPeer already.
31565         (insert): Always adjust parent for item. Call addNotify() on item if
31566         we already have a peer.
31567         (remove(int)): Always clear item parent. Call removeNotify() on item
31568         if we had a peer.
31569   
31570 2006-02-14  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
31571   
31572         * javax/swing/JTable.java (rowAtPoint): Return -1 if the computed 
31573         row == getRowCount().
31574   
31575 2006-02-14  Lillian Angel  <langel@redhat.com>
31576         
31577         * gnu/java/awt/peer/gtk/GtkDialogPeer.java
31578         (setVisible): New method to override super. Need to set the
31579         native bounds of the component, so it appears at the
31580         correct location.
31581
31582 2006-02-14  Mark Wielaard  <mark@klomp.org>
31583
31584         * java/awt/Frame.java (setMenuBar): Update MenuBar parent.
31585         (remove): If menu component is the current MenuBar remove it,
31586         otherwise call super.remove().
31587         * java/awt/MenuBar.java (frame): Remove field.
31588         * java/awt/MenuComponent.java (postEvent): Use getParent() always.
31589
31590 2006-02-14  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
31591
31592         * tools/gnu/classpath/tools/giop/NameServicePersistent.java: Refer
31593         to NameServicePersistent.
31594         * tools/gnu/classpath/tools/giop/NameServicePersistent.txt: New file.
31595         * tools/gnu/classpath/tools/giop/NamingServicePersistent.txt: Deleted.
31596
31597 2006-02-14  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
31598
31599         * NEWS: Updated tool status.
31600         * gnu/CORBA/NamingService/NamingMap.java (Map): Made protected.
31601         (constructor, bind, rebind): Rewritten.  
31602         * gnu/CORBA/NamingService/TransientContext.java: Rewritten.
31603         * tools/gnu/classpath/tools/giop/README: Updated.
31604         * tools/gnu/classpath/tools/giop/NameServicePersistent.java,
31605         tools/gnu/classpath/tools/giop/NamingServicePersistent.txt,
31606         tools/gnu/classpath/tools/giop/nameservice/PersistentContext.java,
31607         tools/gnu/classpath/tools/giop/nameservice/PersistentContextMap.java,
31608         tools/gnu/classpath/tools/giop/nameservice/PersistentMap.java: 
31609         New files.
31610   
31611 2006-02-14  David Gilbert  <david.gilbert@object-refinery.com>
31612   
31613         * javax/swing/JComponent.java
31614         (getListeners): Check for PropertyChangeListener.class and delegate to 
31615         getPropertyChangeListeners() for that case.
31616   
31617 2006-02-13  Roman Kennke  <kennke@aicas.com>
31618   
31619         * javax/swing/plaf/basic/BasicTableUI.java
31620         (paint): Determine the cells that need painting based on the
31621         current clip. Use getCellRect() for calculating the cell
31622         bounds.
31623   
31624 2006-02-13  Roman Kennke  <kennke@aicas.com>
31625   
31626         * javax/swing/JTable.java
31627         (rectCache): New field.
31628         (getCellRect): Returns cached Rectangle instance.
31629   
31630 2006-02-13  Roman Kennke  <kennke@aicas.com>
31631   
31632         * javax/swing/JLayeredPane.java
31633         (removeAll): New method. Avoid potential memory leak.
31634         (isOptimizedDrawingEnabled): Replaced heuristic with accurate
31635         calculation.
31636   
31637 2006-02-14  Stuart Ballard  <stuart.a.ballard@gmail.com>
31638   
31639         * javax/swing/undo/StateEdit.java (RCSID): Match Sun's value.
31640         * javax/swing/undo/StateEditable.java (RCSID): Likewise.
31641   
31642 2006-02-13  Tom Tromey  <tromey@redhat.com>
31643   
31644         * vm/reference/java/lang/reflect/Method.java: Javadoc fix.
31645         * vm/reference/java/lang/reflect/Constructor.java: Javadoc fix.
31646   
31647 2006-02-13  Roman Kennke  <kennke@aicas.com>
31648   
31649         * javax/swing/RepaintManager.java
31650         (offscreenBuffers): New field.
31651         (doubleBuffer): Removed field.
31652         (repaintUnderway): New field.
31653         (commitRequests): New field.
31654         (RepaintManager): Initialize new fields.
31655         (paintDirtyRegions): Handle repaintUnderway flag. Commit
31656         buffers when done.
31657         (getOffscreenBuffer): Returns the offscreen buffer for the
31658         corresponding root component.
31659         (commitBuffer): New method.
31660         (commitRemainingBuffers): New method.
31661         * javax/swing/JComponent.java
31662         (paint): Call paintDoubleBuffered with the current clip.
31663         (paintImmediately2): Don't paint on screen here.
31664         (paintDoubleBuffered): Rewritten for real double buffering.
31665         (paintSimple): Draw to screen in this method.
31666   
31667 2006-02-13  Roman Kennke  <kennke@aicas.com>
31668   
31669         * javax/swing/JRootPane.java
31670         (JRootPane): Set opaque property to true.
31671   
31672 2006-02-13  Tom Tromey  <tromey@redhat.com>
31673   
31674         * .classpath: Updated for external/relaxngDatatype.
31675   
31676 2006-02-13  Chris Burdess  <dog@gnu.org>
31677   
31678         * gnu/xml/stream/UnicodeReader.java,
31679           gnu/xml/validation/datatype/Annotation.java,
31680           gnu/xml/validation/datatype/AnySimpleType.java,
31681           gnu/xml/validation/datatype/AnyType.java,
31682           gnu/xml/validation/datatype/AnyURIType.java,
31683           gnu/xml/validation/datatype/AtomicSimpleType.java,
31684           gnu/xml/validation/datatype/Base64BinaryType.java,
31685           gnu/xml/validation/datatype/BooleanType.java,
31686           gnu/xml/validation/datatype/ByteType.java,
31687           gnu/xml/validation/datatype/DateTimeType.java,
31688           gnu/xml/validation/datatype/DateType.java,
31689           gnu/xml/validation/datatype/DecimalType.java,
31690           gnu/xml/validation/datatype/DoubleType.java,
31691           gnu/xml/validation/datatype/DurationType.java,
31692           gnu/xml/validation/datatype/EntitiesType.java,
31693           gnu/xml/validation/datatype/EntityType.java,
31694           gnu/xml/validation/datatype/EnumerationFacet.java,
31695           gnu/xml/validation/datatype/Facet.java,
31696           gnu/xml/validation/datatype/FloatType.java,
31697           gnu/xml/validation/datatype/FractionDigitsFacet.java,
31698           gnu/xml/validation/datatype/GDayType.java,
31699           gnu/xml/validation/datatype/GMonthDayType.java,
31700           gnu/xml/validation/datatype/GMonthType.java,
31701           gnu/xml/validation/datatype/GYearMonthType.java,
31702           gnu/xml/validation/datatype/GYearType.java,
31703           gnu/xml/validation/datatype/HexBinaryType.java,
31704           gnu/xml/validation/datatype/IDRefType.java,
31705           gnu/xml/validation/datatype/IDRefsType.java,
31706           gnu/xml/validation/datatype/IDType.java,
31707           gnu/xml/validation/datatype/IntType.java,
31708           gnu/xml/validation/datatype/IntegerType.java,
31709           gnu/xml/validation/datatype/LanguageType.java,
31710           gnu/xml/validation/datatype/LengthFacet.java,
31711           gnu/xml/validation/datatype/ListSimpleType.java,
31712           gnu/xml/validation/datatype/LongType.java,
31713           gnu/xml/validation/datatype/MaxExclusiveFacet.java,
31714           gnu/xml/validation/datatype/MaxInclusiveFacet.java,
31715           gnu/xml/validation/datatype/MaxLengthFacet.java,
31716           gnu/xml/validation/datatype/MinExclusiveFacet.java,
31717           gnu/xml/validation/datatype/MinInclusiveFacet.java,
31718           gnu/xml/validation/datatype/MinLengthFacet.java,
31719           gnu/xml/validation/datatype/NCNameType.java,
31720           gnu/xml/validation/datatype/NMTokenType.java,
31721           gnu/xml/validation/datatype/NMTokensType.java,
31722           gnu/xml/validation/datatype/NameType.java,
31723           gnu/xml/validation/datatype/NegativeIntegerType.java,
31724           gnu/xml/validation/datatype/NonNegativeIntegerType.java,
31725           gnu/xml/validation/datatype/NonPositiveIntegerType.java,
31726           gnu/xml/validation/datatype/NormalizedStringType.java,
31727           gnu/xml/validation/datatype/NotationType.java,
31728           gnu/xml/validation/datatype/PatternFacet.java,
31729           gnu/xml/validation/datatype/PositiveIntegerType.java,
31730           gnu/xml/validation/datatype/QNameType.java,
31731           gnu/xml/validation/datatype/ShortType.java,
31732           gnu/xml/validation/datatype/SimpleType.java,
31733           gnu/xml/validation/datatype/StringType.java,
31734           gnu/xml/validation/datatype/TimeType.java,
31735           gnu/xml/validation/datatype/TokenType.java,
31736           gnu/xml/validation/datatype/TotalDigitsFacet.java,
31737           gnu/xml/validation/datatype/Type.java,
31738           gnu/xml/validation/datatype/TypeBuilder.java,
31739           gnu/xml/validation/datatype/TypeLibrary.java,
31740           gnu/xml/validation/datatype/TypeLibraryFactory.java,
31741           gnu/xml/validation/datatype/UnionSimpleType.java,
31742           gnu/xml/validation/datatype/UnsignedByteType.java,
31743           gnu/xml/validation/datatype/UnsignedIntType.java,
31744           gnu/xml/validation/datatype/UnsignedLongType.java,
31745           gnu/xml/validation/datatype/UnsignedShortType.java,
31746           gnu/xml/validation/datatype/WhiteSpaceFacet.java,
31747           resource/META-INF/services/org.relaxng.datatype.DatatypeLibraryFactory:
31748           RELAX NG datatype library implementation for XML Schema Datatypes.
31749
31750 2006-02-13  Chris Burdess  <dog@gnu.org>
31751
31752         * LICENCE,
31753           NEWS,
31754           configure.ac,
31755           doc/README.jaxp,
31756           external/Makefile.am,
31757           external/relaxngDatatype/.cvsignore,
31758           external/relaxngDatatype/Makefile.am,
31759           external/relaxngDatatype/README.txt,
31760           external/relaxngDatatype/copying.txt,
31761           external/relaxngDatatype/org/relaxng/datatype/Datatype.java,
31762           external/relaxngDatatype/org/relaxng/datatype/DatatypeBuilder.java,
31763           external/relaxngDatatype/org/relaxng/datatype/DatatypeException.java,
31764           external/relaxngDatatype/org/relaxng/datatype/DatatypeLibrary.java,
31765           external/relaxngDatatype/org/relaxng/datatype/DatatypeLibraryFactory.java,
31766           external/relaxngDatatype/org/relaxng/datatype/DatatypeStreamingValidator.java,
31767           external/relaxngDatatype/org/relaxng/datatype/ValidationContext.java,
31768           external/relaxngDatatype/org/relaxng/datatype/helpers/DatatypeLibraryLoader.java,
31769           external/relaxngDatatype/org/relaxng/datatype/helpers/ParameterlessDatatypeBuilder.java,
31770           external/relaxngDatatype/org/relaxng/datatype/helpers/StreamingValidatorImpl.java,
31771           lib/Makefile.am,
31772           lib/gen-classlist.sh.in: Added external RELAX NG pluggable
31773           datatypes library API.
31774   
31775 2006-02-13  Mark Wielaard  <mark@klomp.org>
31776   
31777         * gnu/java/awt/peer/gtk/GtkGenericPeer.java (awtWidget): Made field
31778         final.
31779         (gtkWidgetModifyFont(Font)): New protected helper method.
31780         (gtkWidgetModifyFont(String,int,int)): Made protected and document.
31781         * gnu/java/awt/peer/gtk/GtkButtonPeer.java (gtkWidgetModifyFont): Made
31782         protected and document.
31783         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java (gtkWidgetModifyFont):
31784         Likewise.
31785         * gnu/java/awt/peer/gtk/GtkLabelPeer.java (gtkWidgetModifyFont):
31786         Likewise.
31787         * gnu/java/awt/peer/gtk/GtkListPeer.java (gtkWidgetModifyFont):
31788         Likewise.
31789         * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java (create): Made protected.
31790         (setFont): Removed method. Done in GtkMenuComponent.
31791         * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java (create): Made
31792         abstract and protected.
31793         (setFont): Made private, add implementation.
31794         (setFont(Font)): Implemented.
31795         * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java (gtkWidgetModifyFont):
31796         Made protected and document.
31797         (create): Made protected.
31798         (setFont): Removed method. Done in GtkMenuComponent.
31799         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java
31800         (gtkWidgetModifyFont): Made protected and document.
31801         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (gtkWidgetModifyFont):
31802         Removed, similar to GtkGenericPeer super class implementation.
31803         * include/gnu_java_awt_peer_gtk_GtkTextFieldPeer.h: Regenerated.
31804         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
31805         (Java_gnu_java_awt_peer_gtk_GtkTextFieldPeer_gtkWidgetModifyFont):
31806         Removed.
31807   
31808 2006-02-13  Mark Wielaard  <mark@klomp.org>
31809   
31810         * java/lang/Math.java (static): Explicitly call
31811         System.loadLibrary("javalang").
31812   
31813 2006-02-13  Wolfgang Baer  <WBaer@gmx.de>
31814   
31815         * javax/print/StreamPrintServiceFactory.java: New file.
31816   
31817 2006-02-13  Tom Tromey  <tromey@redhat.com>
31818   
31819         * tools/.cvsignore: Added Makefile.
31820   
31821 2006-02-13  Wolfgang Baer  <WBaer@gmx.de>
31822   
31823         * java/awt/print/PrinterGraphics.java: Reformatted.
31824         * java/awt/print/Paper.java: Likewise.
31825         * java/awt/print/PageFormat.java: Likewise.
31826         * java/awt/print/Pageable.java: Likewise.
31827   
31828 2006-02-13  Lillian Angel  <langel@redhat.com>
31829   
31830         * java/awt/BorderLayout.java
31831         (layoutContainer): Rewrote part of this function to 
31832         properly set the bounds of the components.
31833         (setBounds): Removed method, not needed.
31834   
31835 2006-02-13  Roman Kennke  <kennke@aicas.com>
31836   
31837         * javax/swing/text/DefaultStyledDocument.java
31838         (ElementBuffer.clone): Fixed replace call.
31839         (clone): Removed method.
31840   
31841 2006-02-13  Roman Kennke  <kennke@aicas.com>
31842   
31843         * java/rmi/server/UnicastRemoteObject.java: Reformatted.
31844   
31845 2006-02-13  Roman Kennke  <kennke@aicas.com>
31846   
31847         * java/rmi/server/UnicastRemoteObject.java
31848         (exportObject(Remote)): Forward method call to export(Remote,int).
31849   
31850 2006-02-13  Andrew John Hughes  <gnu_andrew@member.fsf.org>
31851   
31852         * include/Makefile.am:
31853         Swapped Math.h for VMMath.h
31854         * include/java_lang_Math.h:
31855         Removed.
31856         * include/java_lang_VMMath.h:
31857         New autogenerated header for the new class.
31858         * java/lang/Math.java:
31859         (sin(double)): Changed to link to VMMath.
31860         (cos(double)): Changed to link to VMMath.
31861         (tan(double)): Changed to link to VMMath.
31862         (asin(double)): Changed to link to VMMath.
31863         (acos(double)): Changed to link to VMMath.
31864         (atan(double)): Changed to link to VMMath.
31865         (atan2(double)): Changed to link to VMMath.
31866         (exp(double)): Changed to link to VMMath.
31867         (log(double)): Changed to link to VMMath.
31868         (sqrt(double)): Changed to link to VMMath.
31869         (pow(double,double)): Changed to link to VMMath.
31870         (IEEEremainder(double,double)): Changed to link to VMMath.
31871         (ceil(double)): Changed to link to VMMath.
31872         (floor(double)): Changed to link to VMMath.
31873         (rint(double)): Changed to link to VMMath.
31874         * native/jni/java-lang/Makefile.am:
31875         Replaced java_lang_Math.c with java_lang_VMMath.c
31876         * native/jni/java-lang/java_lang_Math.c:
31877         Removed.
31878         * native/jni/java-lang/java_lang_VMMath.c:
31879         Renamed from java_lang_Math.c.
31880         * vm/reference/java/lang/VMMath.java:
31881         New class.
31882         (sin(double)): New native method.
31883         (cos(double)): New native method.
31884         (tan(double)): New native method.
31885         (asin(double)): New native method.
31886         (acos(double)): New native method.
31887         (atan(double)): New native method.
31888         (atan2(double)): New native method.
31889         (exp(double)): New native method.
31890         (log(double)): New native method.
31891         (sqrt(double)): New native method.
31892         (pow(double,double)): New native method.
31893         (IEEEremainder(double,double)): New native method.
31894         (ceil(double)): New native method.
31895         (floor(double)): New native method.
31896         (rint(double)): New native method.
31897         
31898 2006-02-13  Lillian Angel  <langel@redhat.com>
31899   
31900         * java/awt/Component.java
31901         (repaint): No need to call isShowing, it is done in the other repaint call.
31902         (repaint): Likewise.
31903         (repaint): Likewise.
31904   
31905 2006-02-13  Lillian Angel  <langel@redhat.com>
31906   
31907         * java/awt/Component.java
31908         (repaint): Reverted last change.
31909         (repaint): Likewise.
31910         (repaint): Likewise.
31911
31912 2006-02-13  Lillian Angel  <langel@redhat.com>
31913
31914         * gnu/java/awt/peer/gtk/GtkPanelPeer.java
31915         (handleEvent): Made more efficent by handling paint event and
31916         setting the clip for the graphics.
31917         * gnu/java/awt/peer/gtk/GtkWindowPeer.java
31918         (handleEvent): Likewise.
31919         * java/awt/Component.java
31920         (repaint): No need to call isShowing, it is done in the other repaint call.
31921         (repaint): Likewise.
31922         (repaint): Likewise.
31923   
31924 2006-02-13  Roman Kennke  <kennke@aicas.com>
31925   
31926         * javax/swing/text/AbstractDocument.java
31927         (setParent): Added API docs. Call setParent(null) on children before
31928         disconnecting this view from the View hierarchy.
31929   
31930 2006-02-13  Roman Kennke  <kennke@aicas.com>
31931   
31932         * javax/swing/text/AbstractDocument.java
31933         (readUnlock): Don't attempt to unlock when the current threads also
31934         holds a write lock.
31935   
31936 2006-02-13  David Gilbert  <david.gilbert@object-refinery.com>
31937   
31938         * javax/swing/plaf/metal/MetalBorders.java
31939         (ButtonBorder.getBorderInsets(Component)): Return insets directly,
31940         (ButtonBorder.getBorderInsets(Component, Insets)): Don't check for null
31941         insets argument,
31942         (Flush3DBorder.borderInsets): New field,
31943         (Flush3DBorder.getBorderInsets(Component)): Return insets directly,
31944         (Flush3DBorder.getBorderInsets(Component, Insets)): Don't check for 
31945         null insets argument, and populate result from borderInsets,
31946         (PaletteBorder.borderInsets): New field,
31947         (PaletteBorder.getBorderInsets(Component)): Return insets directly,
31948         (PaletteBorder.getBorderInsets(Component, Insets)): Don't check for 
31949         null insets argument, and populate result from borderInsets,
31950         (InternalFrameBorder.borderInsets): New field,
31951         (InternalFrameBorder.getBorderInsets(Component)): Return insets 
31952         directly,
31953         (InternalFrameBorder.getBorderInsets(Component, Insets)): Don't check 
31954         for null insets argument, and populate result from borderInsets,
31955         (MenuItemBorder.borderInsets): Initialise to correct value.
31956
31957 2006-02-13  Roman Kennke  <kennke@aicas.com>
31958
31959         * javax/swing/text/AsyncBoxView.java: New file.
31960
31961 2006-02-13  Ito Kazumitsu  <kaz@maczuka.gcd.org>
31962
31963         Fixes bug #26166
31964         * gnu/regexp/RE.java(initialize): Parsing of character class expression
31965         was moved to a new method parseCharClass.
31966         (parseCharClass): New method originally in initialize. Added parsing
31967         of nested character classes.
31968         (ParseCharClassResult): New inner class used as a return value of
31969         parseCharClass.
31970         (getCharExpression),(getNamedProperty): Made static.
31971         * gnu/regexp/RESyntax.java(RE_NESTED_CHARCLASS): New syntax flag.
31972         * gnu/regexp/RETokenOneOf.java(addition): New Vector for storing
31973         nested character classes.
31974         (RETokenOneOf): New constructor accepting the Vector addition.
31975         (getMinimumLength), (getMaximumLength): Returns 1 if the token
31976         stands for only one character.
31977         (match): Added the processing of the Vector addition.
31978         (matchN), (matchP): Do not check next token if addition is used.
31979   
31980 2006-02-12  Olivier Jolly <olivier.jolly@pcedev.com>
31981   
31982         * AUTHORS: add self.
31983   
31984 2006-02-12  Tom Tromey  <tromey@redhat.com>
31985   
31986         * gnu/classpath/ServiceProviderLoadingAction.java: Javadoc fix.
31987         * gnu/classpath/ServiceFactory.java (ServiceIterator): Javadoc fix.
31988         (securityContext): Likewise.
31989         (log): Likewise.
31990   
31991 2006-02-12  Dalibor Topic  <robilad@kaffe.org>
31992   
31993         Fixes PR 26218.
31994   
31995         * gnu/java/net/protocol/file/Connection.java (unquote):
31996         Convert Unicode characters outside basic plane to UTF-8,
31997         rather than throwing an exception.
31998   
31999 2006-02-12  Tom Tromey  <tromey@redhat.com>
32000   
32001         * javax/sound/sampled/LineEvent.java (readObject): New method.
32002         (writeObject): Likewise.
32003         (serialVersionUID): New field.
32004   
32005 2006-02-12  Mark Wielaard  <mark@klomp.org>
32006   
32007         * java/beans/PropertyChangeSupport.java (addPropertyChangeListener):
32008         Silently ignores null listener.
32009         (addPropertyChangeListener(String, PropertyChangeListener): Likewise.
32010         (getPropertyChangeListeners): Returns empty PropertyChangeListener
32011         array for null propertyName.
32012
32013 2006-02-12  Wolfgang Baer  <WBaer@gmx.de>
32014
32015         * java/rmi/MarshalledObject.java: Added api docs to the class.
32016         * java/rmi/Remote.java: Added interface api docs.
32017         * java/rmi/package.html: Added package description.
32018         * java/rmi/AccessException.java: Minor api doc fixes.
32019         * java/rmi/NoSuchObjectException.java: Likewise.
32020         * java/rmi/AlreadyBoundException.java: Likewise.
32021         * java/rmi/RemoteException.java: Likewise.
32022         * java/rmi/NotBoundException.java: Likewise.
32023         * java/rmi/RMISecurityException.java: Likewise.
32024         * java/rmi/StubNotFoundException.java: Likewise.        
32025
32026 2006-02-12  Mark Wielaard  <mark@klomp.org>
32027
32028         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (postKeyEvent): Call
32029         q() to get EventQueue.
32030         * gnu/java/awt/peer/gtk/GtkGenericPeer.java (q): Remove static field.
32031         (enableQueue): Remove static method.
32032         * gnu/java/awt/peer/gtk/GtkToolkit.java (getSystemEventQueueImpl):
32033         Don't call GtkGenericPeer.enableQueue().
32034
32035 2006-02-12  Wolfgang Baer  <WBaer@gmx.de>
32036
32037         * java/rmi/MarshalledObject.java: Reformatted.
32038         * java/rmi/Naming.java: Likewise.       
32039
32040 2006-02-12  Jeroen Frijters  <jeroen@frijters.net>
32041
32042         * java/io/InputStream.java
32043         (read(byte[],int,int)): Changed argument validation to prevent
32044         integer overflow. Remove redundant check.
32045   
32046 2006-02-12  Jeroen Frijters  <jeroen@frijters.net>
32047   
32048         Fixes PR 26220
32049         * java/io/InputStreamReader.java
32050         (InputStreamReader(InputStream)): Use SystemProperties.
32051         (InputStreamReader(InputStream,Charset)): Corrected @since tag.
32052         Throw NullPointerException if in is null.
32053         Added maxBytesPerChar initialisation.
32054         (InputStreamReader(InputStream,CharsetDecoder)): Corrected @since tag.
32055         Throw NullPointerException if in is null.
32056
32057 2006-02-12  Raif S. Naffah  <raif@swiftdsl.com.au>
32058
32059         * gnu/javax/crypto/key/dh/GnuDHPublicKey.java
32060         (GnuDHPublicKey(4)): Call constructor with 5 arguments.
32061         (GnuDHPublicKey): New constructor.
32062         (getEncoded): Removed.
32063         (valueOf): Added support for ASN.1 encoding.
32064         (getEncoded(int)): Likewise.
32065         (equals): New method.
32066         * gnu/javax/crypto/key/dh/GnuDHPrivateKey.java
32067         (GnuDHPrivateKey(4)): Call constructor with 5 arguments.
32068         (GnuDHPrivateKey(5)): New constructor.
32069         (getEncoded): Removed.
32070         (valueOf): Added support for ASN.1 encoding.
32071         (getEncoded(int)): Likewise.
32072         (equals): New method.
32073         * gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java
32074         (PREFERRED_ENCODING_FORMAT): New constant.
32075         (DEFAULT_ENCODING_FORMAT): Likewise.
32076         (preferredFormat): New field.
32077         (setup): Handle preferred encoding format identifier.
32078         (generate): Call constructors with format identifier.
32079         * gnu/javax/crypto/key/dh/GnuDHKey.java (defaultFormat): New field.
32080         (GnuDHKey): Added an int argument.
32081         (getEncoded): New method.
32082         (getFormat): New implementation.
32083         (getEncoded(int)): New abstract method.
32084         * gnu/javax/crypto/key/dh/DHKeyPairX509Codec.java: New file.
32085         * gnu/javax/crypto/key/dh/DHKeyPairPKCS8Codec.java: Likewise.
32086         * gnu/javax/crypto/jce/GnuCrypto.java (run): Added mappings for DH
32087         key-pair generator and key-factory.
32088         * gnu/javax/crypto/jce/sig/DHKeyPairGeneratorSpi.java: New file.
32089         * gnu/javax/crypto/jce/sig/DHKeyFactory.java: Likewise.
32090         * gnu/java/security/jce/sig/KeyPairGeneratorAdapter.java: Made it public.
32091         * gnu/java/security/jce/sig/EncodedKeyFactory.java
32092         (invokeConstructor): New method.
32093         (getConcreteClass): Likewise.
32094         (getConcreteCtor): Likewise.
32095         (invokeValueOf): Likewise.
32096         (getValueOfMethod): Likewise.
32097         (engineGeneratePublic): Add support for DH keys.
32098         (engineGeneratePrivate): Likewise.
32099         (decodeDHPublicKey(DHPublicKeySpec)): New method.
32100         (decodeDHPublicKey(byte[])): Likewise.
32101         (decodeDHPrivateKey(DHPrivateKeySpec)): Likewise.
32102         (decodeDHPrivateKey(byte[])): Likewise.
32103
32104 2006-02-11  Mark Wielaard  <mark@klomp.org>
32105
32106         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (repaintTimer):
32107         Removed field.
32108         (repaint): Immediately post to queue when tm <= 0, otherwise call
32109         RepaintTimerTask.schedule().
32110         (RepaintTimerTask): Make static.
32111         (RepaintTimerTask.repaintTimer): New static final field.
32112         (RepaintTimerTask.awtComponent): New field.
32113         (schedule): New static method.
32114
32115 2006-02-11  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
32116
32117         * tools/gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java
32118         * tools/gnu/classpath/tools/giop/grmic/MethodGenerator.java
32119         * tools/gnu/classpath/tools/giop/grmic/templates/Tie.jav,
32120         tools/gnu/classpath/tools/giop/grmic/templates/TieMethod.jav,
32121         tools/gnu/classpath/tools/giop/grmic/templates/TieMethodVoid.jav:
32122         Rewritten.
32123         * tools/gnu/classpath/tools/giop/grmic/HashFinder.java: New file.
32124   
32125 2006-02-11  Raif S. Naffah  <raif@swiftdsl.com.au>
32126   
32127         * gnu/java/security/jce/sig/EncodedKeyFactory.java
32128         (engineGeneratePublic): Added support for raw key-specifications.
32129         (engineGeneratePrivate): Likewise.
32130         (decodeDSSPublicKey): New method.
32131         (decodeRSAPublicKey): Likewise.
32132         (decodeDSSPrivateKey): Likewise.
32133         (decodeRSAPrivateKey): Likewise.
32134         * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java
32135         (encodePrivateKey): Throw InvalidParameterException.
32136         (decodePublicKey): Likewise.
32137         (decodePrivateKey): Likewise.
32138         * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java
32139         (encodePublicKey): Likewise.
32140         (encodePrivateKey): Likewise.
32141         (decodePublicKey): Likewise.
32142         * gnu/java/security/key/dss/DSSKeyPairX509Codec.java
32143         (encodePrivateKey): Likewise.
32144         (decodePublicKey): Likewise.
32145         (decodePrivateKey): Likewise.
32146         * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java
32147         (encodePublicKey): Likewise.
32148         (encodePrivateKey): Likewise.
32149         (decodePublicKey): Likewise.
32150   
32151 2006-02-10  Roman Kennke  <kennke@aicas.com>
32152   
32153         * javax/swing/text/StyleContext.java
32154         (registerStaticAttributeKey): New static method.
32155   
32156 2006-02-10  Roman Kennke  <kennke@aicas.com>
32157   
32158         * javax/swing/text/DefaultStyledDocument.java
32159         (ElementBuffer.clone): New method.
32160   
32161 2006-02-10  Roman Kennke  <kennke@aicas.com>
32162   
32163         * javax/swing/text/ParagraphView.java
32164         (findOffsetToCharactersInString): New method.
32165         (getClosestPositionTo): New method.
32166         (getPartialSize): New method.
32167         (getTabBase): New method.
32168         (adjustRow): New method.
32169         (breakView): New method.
32170         (getBreakWeight): New method.
32171   
32172 2006-02-10  Roman Kennke  <kennke@aicas.com>
32173   
32174         * javax/swing/text/GapContent.java
32175         (updateUndoPositions): New method.
32176         * javax/swing/text/StringContent.java
32177         (updateUndoPositions): New method.
32178   
32179 2006-02-10  Raif S. Naffah  <raif@swiftdsl.com.au>
32180   
32181         * gnu/java/security/key/rsa/GnuRSAPrivateKey.java (GnuRSAPrivateKey(9)):
32182         Made it public.
32183         * gnu/java/security/jce/sig/RSAKeyFactory.java: New file.
32184         * gnu/java/security/jce/sig/DSSKeyFactory.java (engineGeneratePublic):
32185         Added support for encoded key specifications.
32186         (engineGeneratePrivate): Likewise.
32187         (engineGetKeySpec): Likewise.
32188         (engineTranslateKey): Corrected order of MPIs and use ctors with 5 args.
32189   
32190 2006-02-10  Robert Schuster  <robertschuster@fsfe.org>
32191   
32192         * javax/swing/text/Utilities.java:
32193         (getTabbedTextOffset): Fixed usage of variable p0.
32194         (getPositionAbove): Rewritten.
32195         (getPositionBelow): Rewritten.
32196   
32197 2006-02-09  Roman Kennke  <kennke@aicas.com>
32198   
32199         * javax/swing/text/BoxView.java
32200         (getAxis): Added @since tag.
32201         (setAxis): Added @since tag.
32202         (layoutChanged): Added @since tag.
32203         (isLayoutValid): Added @since tag.
32204         (paint): Don't call setSize here. This is done in RootView already.
32205         (getMaximumSpan): Reimplemented to return the requirements'
32206         maximum size. Added API docs.
32207         (getMinimumSpan): New method.
32208         (layout): Fixed layout order.
32209         (modelToView): Call layout instead of setSize here.
32210         (getResizeWeight): New method.
32211         (getChildAllocation): New method.
32212         (forwardUpdate): New method.
32213         (viewToModel): New method.
32214         (flipEastEndWestEnds): New method.
32215         * javax/swing/text/CompositeView.java
32216         (modelToView): Made this method more robust by returning a default
32217         location if it's not possible to calculate one via the children.
32218         This default location returns the left or right edge of this
32219         view.
32220         (createDefaultLocation): New helper method.
32221         * javax/swing/text/IconView.java
32222         (modelToView): Don't throw BadLocationException. This should
32223         really only be thrown if the position is outside the document
32224         model, not if it's outside the view's boundary.
32225   
32226 2006-02-09  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
32227   
32228         * tools/Makefile.am: Handle rmi and giop folders separately.
32229   
32230 2006-02-09  David Gilbert  <david.gilbert@object-refinery.com>
32231   
32232         * javax/swing/SpinnerDateModel.java: Updated API docs all over,
32233         * javax/swing/SpinnerNumberModel.java: Likewise.
32234   
32235 2006-02-09  David Gilbert  <david.gilbert@object-refinery.com>
32236   
32237         * javax/swing/SpinnerDateModel.java: Removed tabs,
32238         * javax/swing/SpinnerNumberModel.java: Likewise.
32239   
32240 2006-02-09  Anthony Balkissoon  <abalkiss@redhat.com>
32241   
32242         * doc/unicode/SpecialCasing-4.0.0.txt: New file.
32243         * doc/unicode/UnicodeData-4.0.0.txt: New file.
32244   
32245 2006-02-09  Wolfgang Baer  <WBaer@gmx.de>
32246   
32247         Fixes bug #26081
32248         * gnu/java/net/protocol/http/HTTPURLConnection.java: 
32249         (isRedirect): Removed, moved to Response.java.
32250         (connect): If error condition redirect responseSink to errorSink.
32251         (getInputStream): If error condition throw IOException, for the error
32252         codes 404 and 410 throw a FileNotFoundException.        
32253         * gnu/java/net/protocol/http/Response.java (isError): New method.
32254         (isRedirect): New method, moved from HTTPURLConnection.java.
32255   
32256 2006-02-09  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
32257   
32258         * tools/Makefile.am: Add tools/gnu/classpath/tools/rmi folder.
32259         * tools/gnu/classpath/tools/giop/GRMIC.txt: Explain it called from RMIC.
32260         * tools/gnu/classpath/tools/giop/grmic/Generator.java (getResource): 
32261         Better diagnostic.
32262         * tools/gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java:
32263         Rewritten.
32264         * tools/gnu/classpath/tools/giop/grmic/MethodGenerator.java: Implement
32265         AbstractMethodGenerator.
32266         * tools/gnu/classpath/tools/AbstractMethodGenerator.java,
32267         tools/gnu/classpath/tools/rmi/RMIC.java,
32268         tools/gnu/classpath/tools/rmi/RMIC.txt,
32269         tools/gnu/classpath/tools/rmi/rmic/RmiMethodGenerator.java,
32270         tools/gnu/classpath/tools/rmi/rmic/RmicCompiler.java,
32271         tools/gnu/classpath/tools/rmi/rmic/WrapUnWrapper.java,
32272         tools/gnu/classpath/tools/rmi/rmic/templates/Stub_12.jav,
32273         tools/gnu/classpath/tools/rmi/rmic/templates/Stub_12Method.jav,
32274         tools/gnu/classpath/tools/rmi/rmic/templates/Stub_12MethodVoid.jav: 
32275         New files.
32276         * NEWS: Corrected entry about the tools.
32277   
32278 2006-02-09  Lillian Angel  <langel@redhat.com>
32279   
32280         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
32281         (handleEvent): Added more to check to prevent assertion errors.
32282         * gnu/java/awt/peer/gtk/GtkPanelPeer.java
32283         (handleEvent): Likewise.
32284         * gnu/java/awt/peer/gtk/GtkWindowPeer.java
32285         (handleEvent): Likewise.
32286   
32287 2006-02-09  Mark Wielaard  <mark@klomp.org>
32288   
32289         * javax/swing/JTable.java (tableChanged): Interpret null event as
32290         "everything changed".
32291   
32292 2006-02-09  Roman Kennke  <kennke@aicas.com>
32293   
32294         * javax/swing/text/DefaultCaret.java
32295         (DocumentHandler.removeUpdate): When update policy is
32296         'on eventqueue', and the update doesn't come from the
32297         event queue, check if the current dot location is still
32298         valid.
32299         (moveDot): Make sure the new dot location is valid.
32300         (setDot): Set the mark the same as the dot.
32301   
32302 2006-02-09  Roman Kennke  <kennke@aicas.com>
32303   
32304         * javax/swing/text/AbstractDocument.java
32305         (remove): Perform all operations within a write lock and in the
32306         correct order.
32307   
32308 2006-02-09  Mark Wielaard  <mark@klomp.org>
32309   
32310         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollbarPeer.c
32311         (Java_gnu_java_awt_peer_gtk_GtkScrollbarPeer_create): Make sure max is
32312         creater than min, adjusting page_size if necessary.
32313         (Java_gnu_java_awt_peer_gtk_GtkScrollbarPeer_setValues): Likewise.
32314   
32315 2006-02-09  Lillian Angel  <langel@redhat.com>
32316   
32317         * gnu/java/awt/peer/gtk/GtkPanelPeer.java
32318         (handleEvent): Added code to handle PaintEvent.UPDATE.
32319         Sun does not call update(Graphics g) on Panels.
32320         * gnu/java/awt/peer/gtk/GtkWindowPeer.java
32321         (handleEvent): New method. Added code to handle PaintEvent.UPDATE.
32322         Sun does not call update(Graphics g) on Panels.
32323   
32324 2006-02-09  Roman Kennke  <kennke@aicas.com>
32325   
32326         * javax/swing/text/BoxView.java
32327         (myAxis): Made field private.
32328         (xLayoutValid): Replaced by layoutValid array.
32329         (yLayoutValid): Replaced by layoutValid array.
32330         (layoutValid): New field.
32331         (spansX): Replaced by spans array.
32332         (spansY): Replaced by spans array.
32333         (spans): New field.
32334         (offsetsX): Replaced by offsets array.
32335         (offsetsY): Replaced by offsets array.
32336         (offsets): New field.
32337         (requirements): New field.
32338         (BoxView): Initialize new fields.
32339         (layoutChanged): Rewritten to use the layoutValid array.
32340         (isLayoutValid): Rewritten to use the layoutValid array.
32341         (replace): Use the new arrays.
32342         (getPreferredSpan): Rewritten to call calculateXXXRequirements
32343         instead of baselineRequirements.
32344         (baselineRequirements): Rewritten to calculate baseline requirements.
32345         (baselineLayout): Rewritten to calculate baseline layout.
32346         (childAllocation): Use new arrays.
32347         (layout): Rewritten. Only update the layout if necessary.
32348         (layoutMajorAxis): Directly set layoutValid.
32349         (layoutMinorAxis): Directly set layoutValid. Use cached size
32350         requirements.
32351         (getWidth): Use new span array.
32352         (getHeight): Likewise.
32353         (setSize): Rewritten to simply call layout().
32354         (validateLayout): Removed unneeded method.
32355         (getSpan): Use new arrays.
32356         (getOffset): Use new arrays.
32357         (getAlignment): Use cached requirements if possible.
32358         (preferenceChanged): Use new arrays.
32359         * javax/swing/text/FlowView.java
32360         (FlowStrategy.insertUpdate): Do nothing here.
32361         (FlowStrategy.removeUpdate): Do nothing here.
32362         (FlowStrategy.changedUpdate): Do nothing here.
32363         (FlowStrategy.layoutRow): Rewritten.
32364         (FlowStrategy.createView): Rewritten.
32365         (FlowStrategy.adjustRow): New method.
32366         (LogicalView.getViewIndex): Fixed condition for finding child
32367         view.
32368         (layoutDirty): New field indicating the state of the layout.
32369         (FlowView): Initialize new field.
32370         (loadChildren): Set parent on logical view so that preferenceChanges
32371         get propagated upwards.
32372         (layout): Rewritten to match the specs.
32373         (insertUpdate): Set layout to dirty.
32374         (removeUpdate): Set layout to dirty.
32375         (changedUpdate): Set layout to dirty.
32376         * javax/swing/text/GlyphView.java
32377         (getBreakWeight): Rewritten to use the Utilities class. Commented
32378         out though because that is broken.
32379         (insertUpdate): Call preferenceChanged on this object instead of
32380         parent.
32381         * javax/swing/text/ParagraphView.java
32382         (Row.loadChildren): Overridden to be a noop to prevent initial
32383         creation of child views. This is carried out by the flow layout.
32384         * javax/swing/text/View.java
32385         (getPreferredSpan): Added API docs.
32386         (getResizeWeight): Added API docs.
32387         (getMaximumSpan): Added API docs. Rewritten to only have one exit
32388         point.
32389         (getMinimumSpan): Added API docs. Rewritten to return 0 when
32390         resizable instead of Integer.MAX_VALUE.
32391         (getAlignment): Added API docs.
32392         (replace): Added API docs.
32393         (forwardUpdate): Rewritten to only notify child views that need to
32394         be notified.
32395   
32396 2006-02-09  Roman Kennke  <kennke@aicas.com>
32397   
32398         * javax/swing/plaf/basic/BasicTextUI.java
32399         (RootView.paint): Call setSize() before painting the view.
32400   
32401 2006-02-09  Ito Kazumitsu  <kaz@maczuka.gcd.org>
32402   
32403         Fixes bug #26112
32404         * gnu/regexp/RE.java(REG_REPLACE_USE_BACKSLASHESCAPE): New execution
32405         flag which enables backslash escape in a replacement.
32406         (getReplacement): New public static method. 
32407         (substituteImpl),(substituteAllImpl): Use getReplacement.
32408         * gnu/regexp/REMatch.java(substituteInto): Replace $n even if n>=10.
32409         * java/util/regex/Matcher.java(appendReplacement)
32410         Use RE#getReplacement.
32411         (replaceFirst),(replaceAll): Use RE.REG_REPLACE_USE_BACKSLASHESCAPE.
32412
32413 2006-02-09  Raif S. Naffah  <raif@swiftdsl.com.au>
32414
32415         * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java: New file.
32416         * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java: Likewise.
32417         * gnu/java/security/key/rsa/RSAKeyPairGenerator.java
32418         (PREFERRED_ENCODING_FORMAT): New constant.
32419         (DEFAULT_ENCODING_FORMAT): Likewise.
32420         (preferredFormat): New field.
32421         (setup): Add support for preferred encoding format.
32422         (generate): Call key constructors with explicit format identifier.
32423         * gnu/java/security/key/rsa/GnuRSAPublicKey.java (GnuRSAPublicKey(2)): 
32424         Call constructor with 3 arguments..
32425         (GnuRSAPublicKey(3)): New constructor.
32426         (valueOf): Added support for ASN.1 format.
32427         (getEncoded): Likewise.
32428         * gnu/java/security/key/rsa/GnuRSAPrivateKey.java (GnuRSAPrivateKey(4)):
32429         Call constructor with 5 arguments.
32430         (GnuRSAPrivateKey(5)): New constructor.
32431         (GnuRSAPrivateKey(9)): New constructor.
32432         (valueOf): Added support for ASN.1 format.
32433         (getEncoded): Likewise.
32434         * gnu/java/security/key/rsa/GnuRSAKey.java (defaultFormat): New field.
32435         (GnuRSAKey): Modified constructor.
32436         (getFormat): Return preferred format identifier.
32437         * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java
32438         (decodePrivateKey): Fixed documentation.
32439         Check Version field.
32440         * gnu/java/security/jce/sig/RSAKeyPairGeneratorSpi.java
32441         (initialize(int,SecureRandom)): Set ASN.1 as the preferred encoding
32442         format.
32443         (initialize(AlgorithmParameterSpec,SecureRandom)): Likewise.
32444         * gnu/java/security/jce/sig/EncodedKeyFactory.java
32445         (engineGeneratePublic): Added support for RSA.
32446         (engineGeneratePrivate): Likewise.
32447
32448 2006-02-09  Wolfgang Baer  <WBaer@gmx.de>
32449
32450         * java/net/URLConnection.java:
32451         (setAllowUserInteraction): Throw IllegalStateException if connected.
32452         (getRequestProperty): Document return value if key is null.
32453         * gnu/java/net/protocol/http/HTTPURLConnection.java:
32454         (getRequestProperty): Return null if key is null.
32455         (getRequestProperties): Throw IllegalStateException if connected.
32456         (setRequestProperty): Call super method for exception tests.
32457         (addRequestProperty): Likewise.
32458   
32459 2006-02-09  Wolfgang Baer  <WBaer@gmx.de>
32460   
32461         * gnu/java/net/protocol/http/Request.java:
32462         (Request): Remove initialization of removed field.
32463         (requestBodyNegotiationThreshold): Removed now unused field.
32464         (setRequestBodyNegotiationThreshold): Remove now unused method.
32465         (dispatch): Do not use 'Expect 100-continue' header if content-length
32466         is over a treshold. If user specified 'Expect 100-continue' still
32467         initialize the expectingContinue variable.
32468
32469 2006-02-08  David Gilbert  <david.gilbert@object-refinery.com>
32470
32471         * javax/swing/SpinnerNumberModel.java
32472         (SpinnerNumberModel(Number, Comparable, Comparable, Number): Allow 
32473         maximum and minimum to take null values,
32474         (setValue): Only fire ChangeEvent if new value is different to old 
32475         value,
32476         (setMinimum): Fixed test for updating value,
32477         (setMaximum): Likewise,
32478         (setStepSize): Likewise.
32479   
32480 2006-02-08  Tom Tromey  <tromey@redhat.com>
32481   
32482         * tools/.cvsignore: Added Makefile.in.
32483   
32484 2006-02-08  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
32485   
32486         * java/rmi/server/RemoteRef.java,
32487         java/rmi/server/RemoteStub.java: Commented.
32488   
32489 2006-02-08  David Gilbert  <david.gilbert@object-refinery.com>
32490   
32491         * javax/swing/SpinnerDateModel.java
32492         (SpinnerDateModel(Date, Comparable, Comparable, int)): Added argument
32493         checks,
32494         (getPreviousValue): Check result against start, not end,
32495         (setValue): Check that value actually changes before firing 
32496         ChangeEvent.
32497
32498 2006-02-08  Lillian Angel  <langel@redhat.com>
32499
32500         * java/awt/Choice.java
32501         (select): Fixed up code, added some checks to prevent errors.
32502         (dispatchEventImpl): Removed. This function is not needed. It 
32503         causes several assertion errors.
32504   
32505 2006-02-08  Roman Kennke  <kennke@aicas.com>
32506   
32507         * javax/swing/text/PlainView.java
32508         (drawLine): Call drawUnselectedText() with end offset - 1 to avoid
32509         drawing unnecessary characters.
32510   
32511 2006-02-08  Lillian Angel  <langel@redhat.com>
32512   
32513         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
32514         (handleEvent): Fixed check to determine if height or
32515         width is less than 1.
32516   
32517 2006-02-08  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
32518   
32519         *tools/Makefile.am (ALL_TOOLS_FILES): Add $(TOOLS_HELPS).
32520   
32521 2006-02-08  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
32522   
32523         * examples/gnu/classpath/examples/CORBA/swing/x5/_GameManagerImpl_Tie.java,
32524         examples/gnu/classpath/examples/CORBA/swing/x5/_PlayerImpl_Tie.java:
32525         Documenting the code generator.
32526         * gnu/CORBA/IOR.java (toStringFormatted, 
32527         CodeSet_component.toStringFormatted): New methods.
32528         * tools/Makefile.am (TOOLS_JAVA_FILES, READMES): Rewritten.
32529         * tools/gnu/classpath/tools/giop/README: Rewritten.
32530         * tools/gnu/classpath/tools/giop/GRMIC.java (main): Rewritten. 
32531         (printHelpAndExit): Removed.
32532         *tools/gnu/classpath/tools/giop/IorParser.java,
32533         tools/gnu/classpath/tools/giop/IorParser.txt,
32534         tools/gnu/classpath/tools/giop/NameService.java,
32535         tools/gnu/classpath/tools/giop/NamingService.txt,
32536         tools/gnu/classpath/tools/HelpPrinter.java: New files.
32537         NEWS: Added note about GIOP tools.
32538
32539 2006-02-07  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
32540
32541         * .classpath: New source patch (tools).
32542         * Makefile.am (SUBDIRS, DIST_SUBDIRS): added "tools".
32543         * configure.ac (AC_CONFIG_FILES): added tools/Makefile
32544         * tools/gnu/classpath/tools/Makefile.am,
32545         tools/gnu/classpath/tools/giop/GRMIC.java
32546         tools/gnu/classpath/tools/giop/GRMIC.txt,
32547         tools/gnu/classpath/tools/giop/README,
32548         tools/gnu/classpath/tools/giop/grmic/CompilationError.java,
32549         tools/gnu/classpath/tools/giop/grmic/Generator.java,
32550         tools/gnu/classpath/tools/giop/grmic/GiopIo.java,
32551         tools/gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java,
32552         tools/gnu/classpath/tools/giop/grmic/MethodGenerator.java,
32553         tools/gnu/classpath/tools/giop/grmic/templates/ImplTie.jav,
32554         tools/gnu/classpath/tools/giop/grmic/templates/Stub.jav,
32555         tools/gnu/classpath/tools/giop/grmic/templates/StubMethod.jav,
32556         tools/gnu/classpath/tools/giop/grmic/templates/StubMethodVoid.jav,
32557         tools/gnu/classpath/tools/giop/grmic/templates/Tie.jav,
32558         tools/gnu/classpath/tools/giop/grmic/templates/TieMethod.jav,
32559         tools/gnu/classpath/tools/giop/grmic/templates/TieMethodVoid.jav: New files.
32560   
32561 2006-02-07  David Gilbert  <david.gilbert@object-refinery.com>
32562   
32563         * java/awt/BasicStroke.java: Updated API docs all over,
32564         * java/awt/doc-files/capjoin.png: New file.
32565   
32566 2006-02-07  Lillian Angel  <langel@redhat.com>
32567   
32568         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
32569         (handleEvent): Added check. Should not paint or update the 
32570         component if it's width and height are both 0.  
32571   
32572 2006-02-07  Roman Kennke  <kennke@aicas.com>
32573   
32574         * javax/swing/text/AbstractDocument.java
32575         (insertString): Enclose locking/unlocking in try-finally block
32576         and also keep locked while notifying the listeners.
32577   
32578 2006-02-07  Roman Kennke  <kennke@aicas.com>
32579   
32580         * javax/swing/text/GlyphView.java
32581         (GlyphView): Initialize startOffset and endOffset with -1 (indicating
32582         element boundary).
32583         (getStartOffset): Return element boundary if startOffset < 0.
32584         (getEndOffset): Return element boundary if endOffset < 0.
32585         (createFragment): Set startOffset and endOffset fields of fragment
32586         if one of p0 or p1 is not at the element boundary.
32587   
32588 2006-02-07  Roman Kennke  <kennke@aicas.com>
32589   
32590         * javax/swing/CellRendererPane.java
32591         (paintComponent): Enclosed painting in try finally to properly
32592         clean up even when throwing an exception.
32593   
32594 2006-02-07  Roman Kennke  <kennke@aicas.com>
32595   
32596         * javax/swing/UIManager.java
32597         (listeners): Made this an instance of
32598         java.beans.PropertyChangeSupport instead of the obsoleted
32599         SwingPropertyChangeSupport.
32600
32601 2006-02-07  Robert Schuster  <robertschuster@fsfe.org>
32602
32603         * javax/swing/text/DefaultEditorToolkit.java: Changed behavior
32604         of actions "delete-next" and "delete-previous", added new TextAction
32605         implementations for "selection-begin", "selection-begin-line",
32606         "selection-end" and "selection-end-line".
32607   
32608 2006-02-07  Roman Kennke  <kennke@aicas.com>
32609   
32610         * javax/swing/plaf/basic/BasicTextUI.java
32611         (paint): Acquire read lock on the document before calling
32612         paintSafely.
32613         (paintSafely): Added comment about what this method does.
32614         (paintBackground): Implemented to actually paint the background.
32615         (update): Overridden to _not_ paint the background. This is done
32616         in paintBackground in this UI.
32617   
32618 2006-02-07  Roman Kennke  <kennke@aicas.com>
32619   
32620         * javax/swing/text/View.java
32621         (forwardUpdate): Don't notify newly added child views as specified.
32622   
32623 2006-02-07  Robert Schuster  <robertschuster@fsfe.org>
32624   
32625         * gnu/java/beans/decoder/DefaultExceptionListener.java: Removed.
32626   
32627 2006-02-07  Roman Kennke  <kennke@aicas.com>
32628   
32629         * javax/swing/text/DefaultStyledDocument.java
32630         (ElementBuffer.insert): Only register change when the element
32631         actually changed.
32632   
32633 2006-02-07  Raif S. Naffah  <raif@swiftdsl.com.au>
32634   
32635         * gnu/java/security/key/KeyPairCodecFactory.java (getEncodingName): New
32636         method.
32637         (getEncodingShortName): Likewise.
32638         * gnu/java/security/key/IKeyPairCodec.java (X509_FORMAT): New constant.
32639         (PKCS8_FORMAT): Likewise.
32640         (ASN1_FORMAT): Likewise.
32641         * gnu/java/security/key/dss/DSSPublicKey.java (DSSPublicKey(4)): Call
32642         constructor with 5 arguments.
32643         (DSSPublicKey(5)): New constructor.
32644         (valueOf): Handle ASN.1 encoding.
32645         (getEncoded): Likewise.
32646         * gnu/java/security/key/dss/DSSPrivateKey.java (DSSPrivateKey(4)): Call
32647         constructor with 5 arguments.
32648         (DSSPrivateKey(5)): New constructor.
32649         (valueOf): Handle ASN.1 encoding.
32650         (getEncoded): Likewise.
32651         * gnu/java/security/key/dss/DSSKeyPairX509Codec.java: New file.
32652         * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java: Likewise.
32653         * gnu/java/security/key/dss/DSSKeyPairGenerator.java
32654         (PREFERRED_ENCODING_FORMAT): New constant.
32655         (DEFAULT_ENCODING_FORMAT): Likewise.
32656         (preferredFormat): New field.
32657         (setup): Handle preferred format ID.
32658         (generate): Use new ctors with 5 arguments.
32659         * gnu/java/security/key/dss/DSSKey.java (DSSKey): Now accepts a format
32660         ID as an additional argument.
32661         (defaultFormat): new field.
32662         (getFormat): Returns the preferred format as a short string.
32663         * gnu/java/security/jce/sig/DSSKeyFactory.java: New file.
32664         * gnu/java/security/jce/sig/EncodedKeyFactory.java (engineGetKeySpec):
32665         Likewise
32666         * gnu/java/security/jce/sig/DSSKeyPairGeneratorSpi.java
32667         (initialize(AlgorithmParameterSpec)): Set ASN.1 as the preferred
32668         encoding format.
32669         (initialize(int,boolean,SecureRandom)): Likewise.
32670         * gnu/java/security/der/DERWriter.java (writeBitString): Use
32671         writeLength() instead of write().
32672         return buf.length + 1 instead of buf.length.
32673   
32674 2006-02-07  Roman Kennke  <kennke@aicas.com>
32675   
32676         * javax/swing/plaf/basic/BasicTextUI.java
32677         (RootView.preferenceChange): Changed view parameter to view so
32678         that it doesn't hide a field of that class.
32679         (RootView.getViewCount): Rewritten to clean up ECJ warning.
32680         (RootView.modelToView): Removed unnecessary cast from View to View.
32681         (PropertyChangeHandler): Made inner class private.
32682         (updateHandler): Made field private.
32683         (getVisibleEditorRect): Removed unneeded local variable that
32684         shadowed a field with the same name and purpose.
32685   
32686 2006-02-07  Robert Schuster  <robertschuster@fsfe.org>
32687   
32688         * javax/swing/text/JTextComponent.java:
32689         (getSelectedText): Calculate offset and use that as
32690         second argument.
32691   
32692 2006-02-07  Roman Kennke  <kennke@aicas.com>
32693   
32694         * javax/swing/JTextPane.java
32695         (setCharacterAttributes): Replace input attributes when
32696         replace==true.
32697   
32698 2006-02-07  Roman Kennke  <kennke@aicas.com>
32699   
32700         * java/awt/Component.java
32701         (firePropertyChange(String,byte,byte)): Made method public.
32702         (firePropertyChange(String,char,char)): Made method public.
32703         (firePropertyChange(String,short,short)): Made method public.
32704         (firePropertyChange(String,long,long)): Made method public.
32705         (firePropertyChange(String,float,float)): Made method public.
32706         (firePropertyChange(String,double,double)): Made method public.
32707   
32708 2006-02-06  Tom Tromey  <tromey@redhat.com>
32709   
32710         * gnu/CORBA/NamingService/NamingServiceTransient.java (main): Use
32711         2006.
32712         * gnu/java/rmi/registry/RegistryImpl.java (version): Use 2006.
32713   
32714 2006-02-06  Anthony Green  <green@redhat.com>
32715   
32716         * gnu/xml/aelfred2/XmlParser.java: Add missing break;.
32717   
32718 2006-02-07  Raif S. Naffah  <raif@swiftdsl.com.au>
32719   
32720         * .settings/org.eclipse.jdt.core.prefs:
32721         Force a line split on extends and implements.
32722         Force a white-space after unary operators.
32723         Don't force a new-line after @params.
32724         Add new-line at end-of-file.
32725         * scripts/eclipse-gnu.xml: Export version of the above named GNU.
32726   
32727 2006-02-07  Raif S. Naffah  <raif@swiftdsl.com.au>
32728   
32729         * gnu/java/security/provider/GnuDSAPublicKey.java (getEncoded): Use
32730         Registry constant.
32731         * gnu/java/security/provider/GnuDSAPrivateKey.java (getEncoded):
32732         Likewise.
32733         * gnu/java/security/provider/GnuRSAPrivateKey.java (getEncoded):
32734         Likewise.
32735         * gnu/java/security/provider/GnuRSAPublicKey.java (getEncoded):
32736         Likewise.
32737         * gnu/java/security/provider/EncodedKeyFactory.java
32738         (ID_DSA): Redefined in terms of Registry constant.
32739         (ID_DSA): Redefined in terms of Registry constant.
32740         (ID_DH): Redefined in terms of Registry constant.
32741         * gnu/java/security/Registry.java (X509_ENCODING): New constant.
32742         (PKCS8_ENCODING): Likewise.
32743         (ASN1_ENCODING): Likewise.
32744         (RAW_ENCODING_SHORT_NAME): Likewise.
32745         (X509_ENCODING_SORT_NAME): Likewise.
32746         (PKCS8_ENCODING_SHORT_NAME): Likewise.
32747         (ASN1_ENCODING_SHORT_NAME): Likewise.
32748         (X509_ENCODING_ID): Likewise.
32749         (PKCS8_ENCODING_ID): Likewise.
32750         (ASN1_ENCODING_ID): Likewise.
32751         (DSA_OID_STRING): Likewise.
32752         (RSA_OID_STRING): Likewise.
32753         (DH_OID_STRING): Likewise.
32754
32755 2006-02-06  Roman Kennke  <kennke@aicas.com>
32756
32757         * javax/swing/text/GlyphView.java:
32758         (DefaultGlyphPainter.paint): Store/restore Graphics color setting.
32759         Only fill background if there is a background set on the view.
32760         Call Utilities.drawTabbedText with the baseline height, rather than
32761         the upper left corner of the view rectangle.
32762         (getBackground): Return null if no background is set.
32763         * javax/swing/text/GlyphView.java:
32764         (setPropertiesFromAttributes): Use null for background when no
32765         background is set. StyleConstants.getBackground() doesn't work
32766         for this, because it returns Color.BLACK in that case.
32767   
32768 2006-02-06  Roman Kennke  <kennke@aicas.com>
32769   
32770         * java/awt/Container.java
32771         (changeSupport): Removed duplicate (from Component) field.
32772         (addPropertyChangeListener): Call super.
32773   
32774 2006-02-06  Ito Kazumitsu  <kaz@maczuka.gcd.org>
32775   
32776         * java/util/regex/Matcher.java(matches):
32777         set RE.REG_TRY_ENTIRE_MATCH as an execution flag of getMatch.
32778   
32779 2006-02-06  Ito Kazumitsu  <kaz@maczuka.gcd.org>
32780
32781         Fixes bug #25812
32782         * gnu/regexp/CharIndexed.java(lookBehind),(length): New method.
32783         * gnu/regexp/CharIndexedCharArray.java
32784         (lookBehind),(length): Implemented.
32785         * gnu/regexp/CharIndexedInputStream.java: Likewise.
32786         * gnu/regexp/CharIndexedString.java: Likewise.
32787         * gnu/regexp/CharIndexedStringBuffer.java: Likewise.
32788         * gnu/regexp/REToken.java(getMaximumLength): New method.
32789         * gnu/regexp/RE.java(internal constructor RE): Added new argument
32790         maxLength.
32791         (initialize): Parse (?<=X), (?<!X), (?>X).
32792         (getMaximumLength): Implemented.
32793         * gnu/regexp/RETokenAny.java(getMaximumLength): Implemented.
32794         * gnu/regexp/RETokenChar.java: Likewise.
32795         * gnu/regexp/RETokenEnd.java: Likewise.
32796         * gnu/regexp/RETokenEndSub.java: Likewise.
32797         * gnu/regexp/RETokenLookAhead.java: Likewise.
32798         * gnu/regexp/RETokenNamedProperty.java: Likewise.
32799         * gnu/regexp/RETokenOneOf.java: Likewise.
32800         * gnu/regexp/RETokenPOSIX.java: Likewise.
32801         * gnu/regexp/RETokenRange.java: Likewise.
32802         * gnu/regexp/RETokenRepeated.java: Likewise.
32803         * gnu/regexp/RETokenStart.java: Likewise.
32804         * gnu/regexp/RETokenWordBoundary.java: Likewise.
32805         * gnu/regexp/RETokenIndependent.java: New file.
32806         * gnu/regexp/RETokenLookBehind.java: New file.
32807   
32808 2006-02-06  Roman Kennke  <kennke@aicas.com>
32809   
32810         * java/awt/Component.java
32811         (firePropertyChange(String,byte,byte)): New method.
32812         (firePropertyChange(String,char,char)): New method.
32813         (firePropertyChange(String,short,short)): New method.
32814         (firePropertyChange(String,long,long)): New method.
32815         (firePropertyChange(String,float,float)): New method.
32816         (firePropertyChange(String,double,double)): New method.
32817
32818 2006-02-06  Roman Kennke  <kennke@aicas.com>
32819
32820         * javax/swing/JComponent.java
32821         (AccessibleJComponent.changeSupport): Changed to be a
32822         java.beans.PropertyChangeSupport rather than
32823         SwingPropertyChangeSupport.
32824         (AccessibleJComponent.AccessibleJComponent()): Change initialization
32825         of above field.
32826         (changeSupport): Removed unneeded field.
32827         (removePropertyChangeListener): Removed unneeded methods.
32828         (addPropertyChangeListener): Removed unneeded methods.
32829         (getPropertyChangeListeners): Removed unneeded methods.
32830         (firePropertyChange(String,boolean,boolean)): Changed to simply
32831         call super. Added specnote.
32832         (firePropertyChange(String,char,char)): Changed to simply
32833         call super. Added specnote.
32834         (firePropertyChange(String,int,int)): Changed to simply
32835         call super. Added specnote.
32836         (firePropertyChange(String,byte,byte)): Removed.
32837         (firePropertyChange(String,Object,Object)): Removed.
32838         (firePropertyChange(String,double,double)): Removed.
32839         (firePropertyChange(String,float,float)): Removed.
32840         (firePropertyChange(String,long,long)): Removed.
32841         (firePropertyChange(String,short,short)): Removed.
32842   
32843 2006-02-06  Roman Kennke  <kennke@aicas.com>
32844   
32845         * javax/swing/event/SwingPropertyChangeSupport.java
32846         (listeners): Removed field.
32847         (propertyListeners): Removed field.
32848         (source): Removed field.
32849         (SwingPropertyChangeSupport()): Removed initialization of removed
32850         fields.
32851         (addPropertyChangeListener): Removed methods.
32852         (removePropertyChangeListener): Removed methods.
32853         (getPropertyChangeListeners): Removed methods.
32854         (firePropertyChange): Removed methods.
32855         (hasListeners): Removed methods.
32856   
32857 2006-02-06  Jeroen Frijters  <jeroen@frijters.net>
32858   
32859         Fixes PR 25313
32860         * java/net/InetAddress.java
32861         (readResolve): Implemented.
32862   
32863 2006-02-06  Jeroen Frijters  <jeroen@frijters.net>
32864   
32865         Fixes PR 26121
32866         * java/io/ObjectInputStream.java
32867         (readNextBlock()): Handle TC_RESET.
32868   
32869 2006-02-06  Wolfgang Baer  <WBaer@gmx.de>
32870         
32871         * javax/print/attribute/standard/Compression.java,
32872         * javax/print/attribute/standard/Finishings.java, 
32873         * javax/print/attribute/standard/JobMediaSheets.java,
32874         * javax/print/attribute/standard/JobSheets.java,
32875         * javax/print/attribute/standard/JobState.java,
32876         * javax/print/attribute/standard/JobStateReason.java,
32877         * javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
32878         * javax/print/attribute/standard/PrintQuality.java,
32879         * javax/print/attribute/standard/Media.java,
32880         * javax/print/attribute/standard/MultipleDocumentHandling.java,
32881         * javax/print/attribute/standard/PrinterStateReason.java,
32882         * javax/print/attribute/standard/PDLOverrideSupported.java: 
32883         (getName): Make method final.
32884         (getCategory): Likewise.
32885         * javax/print/attribute/standard/MediaSize.java: 
32886         (getName): Make method final.
32887         (getCategory): Likewise.
32888         (ISO): Added private default constructor.
32889         (NA): Likewise.
32890         (JIS): Likewise.
32891         (Other): Likewise.
32892         (Engineering): Likewise.
32893
32894 2006-02-06  Wolfgang Baer  <WBaer@gmx.de>
32895         
32896         * native/jni/java-net/javanet.c (_javanet_connect):
32897         Throw ConnectException instead of IOException if connection failed.
32898         * native/jni/java-net/javanet.h:
32899         Add a define for java.net.ConnectException
32900   
32901 2006-02-05  Mark Wielaard  <mark@klomp.org>
32902   
32903         Fixes bug #26101
32904         reported by Egon Willighagen <egon.willighagen@gmail.com>
32905         * javax/swing/DefaultListCellRenderer.java
32906         (getListCellRendererComponent): Turn null value into empty string.
32907   
32908 2006-02-04  Ito Kazumitsu  <kaz@maczuka.gcd.org>
32909   
32910         * gnu/regexp/RETokenNamedProperty.java(getHandler): Check for
32911         a Unicode block if the name starts with "In".
32912         (UnicodeBlockHandler): New inner class.
32913   
32914 2006-02-04  Roman Kennke  <kennke@aicas.com>
32915   
32916         * java/awt/Container.java
32917         (getComponentZOrder): New method.
32918         (setComponentZOrder): New method.
32919         * javax/swing/JLayeredPane.java
32920         (setPosition): Reimplemented to use setComponentZOrder().
32921         (getIndexOf): Reimplemented to use getComponentZOrder().
32922         (addImpl): Pass layerContraint to super call. Important for possibly
32923         installed layout managers.
32924         (swapComponents): Remove unneeded method.
32925
32926 2006-02-04  Raif S. Naffah  <raif@swiftdsl.com.au>
32927
32928         * gnu/java/security/jce/sig/DSSKeyPairGeneratorSpi.java: Implement
32929         DSAKeyPairGenerator.
32930         (initialize(int,SecureRandom)): Call initialize(keysize, false, random).
32931         (initialize(AlgorithmParameterSpec,SecureRandom)): More explicit error
32932         message.
32933         Surround call to adaptee in a try/catch.
32934         (initialize((DSAParams,SecureRandom)): New method.
32935         (initialize(int,boolean,SecureRandom)): New method.
32936         * gnu/java/security/jce/sig/KeyPairGeneratorAdapter.java: Extends
32937         KeyPairGenerator rather than KeyPairGeneratorSpi.
32938         (KeyPairGeneratorAdapter): Call super with algorithm name.
32939
32940 2006-02-04  Raif S. Naffah  <raif@swiftdsl.com.au>
32941
32942         * gnu/javax/crypto/sasl/srp/SRPServer.java (prng): New field.
32943         (getDefaultPRNG): New method.
32944         (parseO): Use method above.
32945         * gnu/javax/crypto/sasl/srp/SRPClient.java (prng): New field.
32946         (getDefaultPRNG): New method.
32947         (createO): Use method above.
32948         * gnu/javax/crypto/sasl/srp/KDF.java (prng): New class field.
32949         (nextByte): Use above field.
32950         * gnu/javax/crypto/pad/PKCS1_V1_5.java (selfTest): Use PRNG instance.
32951         * gnu/java/security/sig/rsa/RSA.java: New class field.
32952         (newR): Use above field
32953         * gnu/java/security/sig/rsa/EME_PKCS1_V1_5.java (prng): New field.
32954         (encode): Use field.above.
32955         * gnu/java/security/key/dss/FIPS186.java (prng): New field.
32956         (getDefaultPRNG): new method.
32957         (nextRandomBytes): Use above method.
32958         * gnu/java/security/key/rsa/RSAKeyPairGenerator.java: Likewise.
32959         * gnu/java/security/sig/BaseSignature.java: Likewise.
32960         * gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java: Likewise.
32961         * gnu/javax/crypto/key/dh/RFC2631.java: Likewise.
32962         * gnu/javax/crypto/key/srp6/SRPKeyPairGenerator.java: Likewise.
32963         * gnu/javax/crypto/key/BaseKeyAgreementParty.java: Likewise.
32964         * gnu/java/security/key/dss/DSSKeyPairGenerator.java (prng): New field.
32965         (getDefaultPRNG): new method.
32966         (nextRandomBytes): Use above method.
32967         (STRICT_DEFAULTS): new class field.
32968         (USE_DEFAULTS): more documentation to clarify behavior.
32969         (setup): amended to handle new attribute.
32970         * gnu/java/security/util/PRNG.java: New file.
32971   
32972 2006-02-03  Lillian Angel  <langel@redhat.com>
32973   
32974         * javax/swing/plaf/basic/BasicColorChooserUI.java:
32975         chooser field should be protected, not package-private. 
32976   
32977 2006-02-03  Lillian Angel  <langel@redhat.com>
32978         
32979         * javax/swing/text/DefaultStyledDocument.java
32980         (changeUpdate): Cleaned up code.
32981         (split): Likewise.
32982         (insertUpdate): Set offset to be equal to pos after
32983         insertContentTag call.
32984         (insertContentTag): If paragraph has no children, should use
32985         replace instead of Edit.
32986         (insertFracture): Moved around code to prevent any exception. Also,
32987         left side of tree should not be recreated if it has already been 
32988         edited. In that case, we should only be creating a new right branch
32989         when fracturing.
32990         (getEditForParagraphAndIndex): No need to check index. We should
32991         use the same edit for each paragraph.
32992   
32993 2006-02-03  Mark Wielaard  <mark@klomp.org>
32994   
32995         * javax/swing/event/SwingPropertyChangeSupport.java
32996         (propertyListeners): Change type to HashMap.
32997         (SwingPropertyChangeSupport): Allocate HashMap.
32998   
32999 2006-02-03  Raif S. Naffah  <raif@swiftdsl.com.au>
33000   
33001         * java/security/KeyPairGenerator.java (getInstance): Test for
33002         instanceof KeyPairGenerator before KeyPairGeneratorSpi.
33003   
33004 2006-02-02  Roman Kennke  <kennke@aicas.com>
33005   
33006         * javax/swing/RepaintManager.java
33007         Made fields private.
33008         (RepaintWorker.run): Enclosed work stuff in try finally block in
33009         order to clean up correctly if invalidation or painting fails,
33010         otherwise we would get no more RepaintWorkers onto the EventQueue.
33011         Also, now the RepaintWorker is marked 'dead' only after it has
33012         finished its work, avoid more than one RepaintWorker on the queue.
33013         (ComponentComparator.compareTo): Compare dirty rectangle sizes
33014         instead of hierarchy depths.
33015         (workDirtyComponents): Removed unused field.
33016         (repaintOrder): Removed unused field.
33017         (workRepaintOrder): Removed unused field.
33018         (workInvalidComponents): Removed unused field.
33019         (RepaintManager()): Removed initialization of removed fields.
33020         (addInvalidComponent): Fine tuned synchronization.
33021         (removeInvalidComponent): Fine tune synchronization.
33022         (addDirtyRegion): Short circuit invalid dirty regions. Fine tuned
33023         synchronization. Don't manager repaintOrder here.
33024         (insertRepaintOrder): Removed method.
33025         (markCompletelyClean): Fine tuned synchronization.
33026         (validateInvalidComponents): Dont use a working copy of the
33027         invalidComponents list, instead fine tuned synchronization on this
33028         list. Also, don't search validateRoot, this is already done in
33029         addInvalidComponent().
33030         (paintDirtyRegions): Compute repaint order here, based on size of
33031         damaged regions. Fine tuned synchronization. Avoid use of working
33032         copies of dirtyComponent.
33033   
33034 2006-02-02  Lillian Angel  <langel@redhat.com>
33035   
33036         * javax/swing/text/DefaultStyledDocument.java
33037         (insertUpdate): JoinNextDirection should push the 
33038         'next' paragraph on the stack.
33039   
33040 2006-02-02  Lillian Angel  <langel@redhat.com>
33041   
33042         * javax/swing/text/DefaultStyledDocument.java
33043         (insertUpdate): Rewrote code for Originate. This prevents
33044         leaves being created multiple times. If it is on the last 
33045         ElementSpec, the leaves need to be created right then; 
33046         otherwise, only a branch is created.
33047         (insertContentTag): Rewrote to add new leaf directly if
33048         this is a branch with no children. Otherwise, it
33049         recreates the remainder of the tree as before.
33050   
33051 2006-02-02  Ito Kazumitsu  <kaz@maczuka.gcd.org>
33052   
33053         * gnu/regexp/REMatch.java(REMatchList): New inner utility class
33054         for making a list of REMatch instances.
33055         * gnu/regexp/RETokenOneOf.java(match): Rewritten using REMatchList.
33056         * gnu/regexp/RETokenRepeated.java(findDoables): New method.
33057         (match): Rewritten using REMatchList.
33058         (matchRest): Rewritten using REMatchList.
33059   
33060 2006-02-02  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
33061   
33062         * examples/gnu/classpath/examples/CORBA/swing/x5/PlayingDesk.java 
33063         (friendsMove):  Call repaint() only after endOfGame is assigned.
33064   
33065 2006-02-02  Mark Wielaard  <mark@klomp.org>
33066   
33067         Fixes bug #25769 reported by Artemus Harper <subanark@gmail.com>
33068         * java/util/AbstractCollection.java (toString): Only use Iterator,
33069         check whether collection contains itself.
33070   
33071 2006-02-01  Casey Marshall  <csm@gnu.org>
33072   
33073         Partial fix for PR classpath/25143.
33074         * javax/crypto/EncryptedPrivateKeyInfo.java (algName): new field.
33075         (<init>): fill in `algName,' derive `algOid' from `algName.'
33076         (getOid): new method.
33077         (encode): embed NULL value for parameters if `params' is `null.'
33078   
33079 2006-02-01  Casey Marshall  <csm@gnu.org>
33080   
33081         Tag check and OTHER_NAME fixes suggested by Rafael Teixeira
33082         <monoman@gmail.com>.    
33083         * gnu/java/security/x509/ext/GeneralNames.java (<init>): fix tag
33084         check; fix OTHER_NAME parsing; fix DIRECTORY_NAME parsing.
33085   
33086 2006-02-01  Casey Marshall  <csm@gnu.org>
33087   
33088         toString fix suggested by Rafael Teixeira <monoman@gmail.com>.
33089         * gnu/java/security/der/DERValue.java
33090         (getLength, getEncoded, getEncodedLength): throw an exception,
33091         don't initialize `encoded' to a bogus value.
33092         (toString): return a more helpful string.
33093
33094         Partial fix for PR classpath/25144.
33095         * gnu/java/security/der/DERWriter.java (write): if the value is
33096         the pseudo-value used for CONSTRUCTED, write the encoded value
33097         directly.
33098         
33099 2006-02-01  Tom Tromey  <tromey@redhat.com>
33100   
33101         * java/security/Security.java (loadProviders): Use system class
33102         loader.
33103   
33104 2006-02-01  Mark Wielaard  <mark@klomp.org>
33105   
33106         * gnu/regexp/RE.java (getRETokenNamedProperty): Chain exception.
33107         * gnu/regexp/RETokenNamedProperty.java (LETTER, MARK, SEPARATOR,
33108         SYMBOL, NUMBER, PUNCTUATION, OTHER): New final byte[] fields.
33109         (getHandler): Check for grouped properties L, M, Z, S, N, P or C.
33110         (UnicodeCategoriesHandler): New private static class.
33111         
33112 2006-02-01  Lillian Angel  <langel@redhat.com>
33113   
33114         * javax/swing/text/DefaultStyledDocument.java:
33115         Removed unneeded fields.
33116         (insertUpdate): Removed field initialization.
33117         (insertContentTag): Rewrote part of function. Still
33118         not complete.
33119   
33120 2006-02-01  Lillian Angel  <langel@redhat.com>
33121   
33122         * javax/swing/text/DefaultStyledDocument.java
33123         (insertParagraph): Cleaned up code.
33124         (insertFirstContentTag): Fixed call to recreateLeaves.
33125         (insertContentTag): Added check to code to determine where
33126         content should be inserted with respect to next element.
33127         (createFracture): Removed check, recreateLeaves is called in 
33128         other places when needed.
33129         (recreateLeaves): Added new parameter for paragraph instead
33130         of checking the stack. Removed editing for newBranch, replaced
33131         with a replace call.
33132
33133 2006-02-01  Anthony Balkissoon  <abalkiss@redhat.com>
33134
33135         * doc/unicode/Blocks-4.0.0.txt: New file.
33136         * java/lang/Character.java: Regenerated inner class UnicodeBlock from 
33137         scripts/unicode-blocks.pl and doc/unicode/Blocks-4.0.0.txt.
33138         * scripts/unicode-blocks.pl: Copied this over from the generics branch
33139         but replaced some 1.5-only features (such as enum).
33140   
33141 2006-01-31  Roman Kennke  <kennke@aicas.com>
33142   
33143         * javax/swing/text/PasswordView.java
33144         (drawSelectedText): Use drawEchoCharacter() method to draw echo
33145         character.
33146         (drawUnselectedText): Use drawEchoCharacter() method to draw echo
33147         character.
33148   
33149 2006-01-31  Roman Kennke  <kennke@aicas.com>
33150   
33151         * javax/swing/JTextField.java
33152         (getPreferredSize): Also include textfield's insets in width
33153         calculation.
33154   
33155 2006-01-31  Roman Kennke  <kennke@aicas.com>
33156   
33157         * javax/swing/plaf/basic/BasicTextUI.java
33158         (getPreferredSize): Include the textcomponent's insets in
33159         preferredSize.
33160   
33161 2006-01-31  Roman Kennke  <kennke@aicas.com>
33162   
33163         * javax/swing/table/DefaultTableCellRenderer.java
33164         (getTableCellRendererComponent): Moved setting of the value into
33165         setValue(). Removed (bogus) special handling of JTextField values.
33166         (setValue): Made ?: statement more clear by rewriting it
33167         with if .. else.
33168   
33169 2006-01-31  Roman Kennke  <kennke@aicas.com>
33170   
33171         * javax/swing/JLayeredPane.java
33172         (insertIndexForLayer): Fixed algorithm to correctly determine
33173         inser index for positions >= 0.
33174         (addImpl): Fixed API docs for the index parameter.
33175   
33176 2006-01-31  Mark Wielaard  <mark@klomp.org>
33177   
33178         * java/net/URI.java (getURIGroup): Check for null to see whether
33179         group actually exists.
33180   
33181 2006-01-31  Lillian Angel  <langel@redhat.com>
33182   
33183         * javax/swing/text/DefaultStyledDocument.java
33184         (changeUpdate): Fixed calls to split to incorporate 
33185         new parameter.
33186         (insertParagraph): Likewise. Uses 0 as editIndex
33187         because inserting into a new paragraph.
33188         (insertContentTag): Fixed check to use 
33189         recreateLeaves. Added a FIXME comment.
33190         (split): Added a new parameter for edits.
33191   
33192 2006-01-31  Roman Kennke  <kennke@aicas.com>
33193   
33194         * javax/swing/plaf/basic/BasicRootPaneUI.java
33195         (installDefaults): Don't install a background color here.
33196   
33197 2006-01-31  Lillian Angel  <langel@redhat.com>
33198   
33199         * javax/swing/text/DefaultStyledDocument.java
33200         (insert): Removed comment.
33201         (insertUpdate): Added comment.
33202         (recreateLeaves): Removed call to push newBranch onto the
33203         stack. This does not need to be done here.
33204   
33205 2006-01-31  Chris Burdess  <dog@gnu.org>
33206   
33207         * gnu/xml/stream/SAXParser.java,
33208           gnu/xml/stream/UnicodeReader.java,
33209           gnu/xml/stream/XIncludeFilter.java,
33210           gnu/xml/stream/XMLParser.java: Fix case where resolved InputSource
33211           only resolved the system ID not the stream. Make some utility methods
33212           public and static for use by other private XML APIs.
33213         * java/lang/ClassNotFoundException.java: Ensure that initCause can be
33214           called without throwing IllegalStateException.
33215         * java/util/logging/SimpleFormatter.java: Write thrown exception if
33216           provided.
33217
33218 2006-01-31  Ito Kazumitsu  <kaz@maczuka.gcd.org>
33219
33220         Fixes bug #22873
33221         * gnu/regexp/REMatch(toString(int)): Throw IndexOutOfBoundsException
33222         for an invalid index and return null for a skipped group.
33223
33224 2006-01-31  Ito Kazumitsu  <kaz@maczuka.gcd.org>
33225
33226         Fixes bug #26002
33227         * gnu/regexp/gnu/regexp/RE.java(initialize): Parse /\p{prop}/.
33228         (NamedProperty): New inner class.
33229         (getNamedProperty): New method.
33230         (getRETokenNamedProperty): New Method.
33231         * gnu/regexp/RESyntax.java(RE_NAMED_PROPERTY): New syntax falg.
33232         * gnu/regexp/RETokenNamedProperty.java: New file.
33233
33234 2006-01-31  Roman Kennke  <kennke@aicas.com>
33235
33236         * javax/swing/plaf/PlainView.java
33237         (paint): Call drawLine with baseline coordinates.
33238         (drawLine): Documented and indented this method.
33239         (drawUnselecetedText): Documented and indented this method.
33240         * javax/swing/plaf/text/Utilites.java
33241         (drawTabbedText): The coordinates denote the baseline of the text
33242         not the upper left corner.
33243   
33244 2006-01-31  Roman Kennke  <kennke@aicas.com>
33245   
33246         * javax/swing/plaf/basic/BasicTextUI.java
33247         (createKeymap): Don't store KeyBindings[] as focusInputMap in
33248         UIManager. Added FIXME regarding the implementation of this method.
33249   
33250 2006-01-30  David Gilbert  <david.gilbert@object-refinery.com>
33251   
33252         * examples/gnu/classpath/examples/swing/ButtonDemo.java
33253         (ButtonDemo): Move content initialisation to new method,
33254         (initFrameContent): New method,
33255         (main): Call initFrameContent(),
33256         * examples/gnu/classpath/examples/swing/ComboBoxDemo.java: Likewise,
33257         * examples/gnu/classpath/examples/swing/FileChooserDemo.java: Likewise,
33258         * examples/gnu/classpath/examples/swing/ScrollBarDemo.java: Likewise,
33259         * examples/gnu/classpath/examples/swing/SliderDemo.java: Likewise,
33260         * examples/gnu/classpath/examples/swing/TextFieldDemo.java: Likewise.
33261   
33262 2006-01-30  David Gilbert  <david.gilbert@object-refinery.com>
33263   
33264         * examples/gnu/classpath/examples/swing/Demo.java
33265         (Demo): Set frame size,
33266         (mkButtonBar): Removed stacked sub-panels.
33267   
33268 2006-01-30  Lillian Angel  <langel@redhat.com>
33269   
33270         * javax/swing/text/DefaultStyledDocument.java:
33271         Added new fields.
33272         (insert): Initialized fields. Removed call to addEdit, 
33273         and created ElementEdit instead.
33274         (insertUpdate): Added check for fracturing. If the
33275         fracturing was not successful, we should push the
33276         last element back on the stack.
33277         (insertParagraph): Fixed call to getEditForParagraphAndIndex.
33278         Also, changed replace calls to use Edit.
33279         (insertFirstContentTag): Removed unneeded check and fixed call
33280         to recreateLeaves.
33281         (insertContent): Fixed check to use new fields. Added code in
33282         to check if leaves overlap.
33283         (createFracture): Fixed call to recreateLeaves.
33284         (recreateLeaves): Fixed code and cleaned it up a bit.
33285         (insertFracture): Set fracNotCreated field.
33286         (addEdit): Removed, this method is not needed.
33287   
33288 2006-01-30  Roman Kennke  <kennke@aicas.com>
33289   
33290         * javax/swing/JRootPane.java
33291         (RootLayout.prefSize): Removed caching for preferredSize.
33292         (RootLayout.invalidateLayout): Likewise.
33293         (RootLayout.preferredLayoutSize): Likewise.     
33294   
33295 2006-01-30  Roman Kennke  <kennke@aicas.com>
33296   
33297         PR classpath/26035
33298         * javax/swing/JFrame.java
33299         (frameInit): Handle the defaultLookAndFeelDecorated flag.
33300         * javax/swing/plaf/metal/MetalRootPaneUI.java
33301         (MetalFrameBorder): New inner class, provides the border for
33302         top level containers with L&F decorations.
33303         (MetalTitlePane): New inner class, provides the title pane for
33304         top level containers with L&F decorations.
33305         (MetalRootLayout): New inner class. Used to layout the root pane
33306         when L&F window decorations are enabled.
33307         (installUI): New method. Handles window decorations.
33308         (uninstallUI): New method. Handles window decorations.
33309         (propertyChange): Handles window decorations.
33310         (installWindowDecorations): New method. Handles window
33311         decorations.
33312         (uninstallWindowDecorations): New method. Handles window
33313         decorations.
33314         * javax/swing/plaf/metal/MetalLookAndFeel.java
33315         (getSupportsWindowDecorations): Overridden to return true.
33316
33317 2006-01-30  Mark Wielaard  <mark@klomp.org>
33318
33319         * javax/swing/JProgressBar.java (JProgressBar(int)): Document
33320         IllegalArgumentException when orientation is illegal.
33321         (JProgressBar(int, int, int)): Likewise and throw exception.
33322         (setOrientation): Likewise.
33323   
33324 2006-01-30  Roman Kennke  <kennke@aicas.com>
33325   
33326         * javax/swing/ViewportLayout.java
33327         (minimumLayoutSize): Rewritten to unconditionally return (4,4).
33328   
33329 2006-01-30  Mark Wielaard  <mark@klomp.org>
33330   
33331         * javax/swing/JProgressBar.java (orientation): Always set by
33332         constructor.
33333         (JProgressBar(int)): Document default on 'illegal' value.
33334         (JProgressBar(int, int, int)): Likewise and set orientation to
33335         HORIZONTAL when 'illegal'.
33336         (setOrientation): Likewise.
33337   
33338 2006-01-30  Roman Kennke  <kennke@aicas.com>
33339   
33340         * javax/swing/plaf/basic/BasicListUI.java
33341         (ListDataHandler.contentsChanged): Update the
33342         updateLayoutStateNeeded flag.
33343         (ListDataHandler.intervalAdded): Update the
33344         updateLayoutStateNeeded flag.
33345         (ListDataHandler.intervalRemoved): Update the
33346         updateLayoutStateNeeded flag.
33347         (PropertyChangeHandler.propertyChange): Correctly update the
33348         listeners on new list model.
33349         (maybeUpdateLayoutState): Don't consider the validation state
33350         of the list.
33351   
33352 2006-01-30  Mark Wielaard  <mark@klomp.org>
33353   
33354         * gnu/xml/transform/ApplyTemplatesNode.java (clone): Check whether
33355         sortKeys is null.
33356   
33357 2006-01-30  Roman Kennke  <kennke@aicas.com>
33358   
33359         * javax/swing/JLayeredPane.java
33360         (insertIndexForLayer): Fixed algorithm to correctly insert
33361         components within different layers and -1 position.
33362   
33363 2006-01-30  Mark Wielaard  <mark@klomp.org>
33364   
33365         * doc/api/Makefile.am (create_html): Add -validhtml.
33366   
33367 2006-01-30  Roman Kennke  <kennke@aicas.com>
33368   
33369         * javax/swing/JLayeredPane.java
33370         (insertIndexForLayer): Fixed algorithm to correctly insert
33371         components within same layer and -1 position.
33372   
33373 2006-01-30  Ito Kazumitsu  <kaz@maczuka.gcd.org>
33374   
33375         Fixes bug #24876
33376         * gnu/regexp/gnu/regexp/RE.java(REG_TRY_ENTIRE_MATCH):
33377         New execution flag.
33378         (getMatchImpl): if REG_TRY_ENTIRE_MATCH is set, add an
33379         implicit RETokenEnd at the end of the regexp chain.
33380         Do not select the longest match, but select the first match.
33381         (match): Do not take care of REMatch.empty.
33382         * gnu/regexp/REMatch.java(empty): To be used only in RETokenRepeated.
33383         * gnu/regexp/RETokenOneOf.java: Corrected a typo in a comment.
33384         * gnu/regexp/RETokenBackRef.java: Do not take care of REMatch.empty.
33385         * gnu/regexp/RETokenRepeated.java (match): Rewrote stingy matching.
33386         Do not take care of REMatch.empty. Set and check REMatch.empty
33387         when trying to match the single token.
33388
33389 2006-01-30  Mark Wielaard  <mark@klomp.org>
33390
33391         * java/awt/Cursor.java (toString): Include name and type.
33392
33393 2006-01-30  Raif S. Naffah  <raif@swiftdsl.com.au>
33394
33395         * gnu/javax/crypto/mac/HMac.java (clone): Clone ipadHash, opadHash, and
33396         the ipad buffer.
33397         * gnu/javax/crypto/mac/BaseMac.java (clone): Clone underlyingHash.
33398   
33399 2006-01-30  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
33400         
33401         PR 26027
33402         * javax/swing/plaf/basic/BasicListUI.java  (maybeUpdateLayoutState):
33403         Consider the validation state of the list. 
33404
33405 2006-01-29  Robert Schuster  <robertschuster@fsfe.org>
33406
33407         * gnu/java/beans/DefaultExceptionListener.java: Constant public field
33408         INSTANCE added.
33409         * java/beans/XMLDecoder.java:
33410         (setExceptionListener): Use shared DefaultExceptionListener
33411         instance.
33412         * java/beans/Encoder.java:
33413         (setExceptionListener): Use shared DefaultExceptionListener
33414         instance.
33415   
33416 2006-01-29  Roman Kennke  <kennke@aicas.com>
33417   
33418         * javax/swing/ScrollPaneLayout.java
33419         (minimumLayoutSize): Rewritten to match JDKs behaviour.
33420   
33421 2006-01-29  Mark Wielaard  <mark@klomp.org>
33422   
33423         * java/net/SocketPermission.java (setActions): Trim and lower case
33424         action.
33425   
33426 2006-01-29  Raif S. Naffah  <raif@swiftdsl.com.au>
33427   
33428         * gnu/java/security/util/Prime2.java (passEulerCriterion): Was
33429         incorrectly failing primality test for some known primes. Fixed.
33430         (passFermatLittleTheorem): Removed.
33431         (passMillerRabin): Removed.
33432         (isProbablePrime): Cache primes that pass the primality tests.
33433         Use BigInteger.isProbablePrime(int) for primality tests.
33434         (debugBI): New static debugging method.
33435   
33436 2006-01-28  Roman Kennke  <kennke@aicas.com>
33437   
33438         * javax/swing/plaf/basic/BasicListUI.java
33439         (updateLayoutState): Removed unneeded special case for VERTICAL.
33440   
33441 2006-01-28  Roman Kennke  <kennke@aicas.com>
33442   
33443         * javax/swing/plaf/basic/BasicListUI.java
33444         (getCellBounds): Determine correct list width when having a
33445         layoutOrientation of VERTICAL.
33446         (maybeUpdateLayoutState): Don't consider the validation state of
33447         the list.
33448   
33449 2006-01-28  Mark Wielaard  <mark@klomp.org>
33450   
33451         Reported by Dimitri Fontaine <dimitri@dalibo.com>
33452         * java/awt/print/NoPrinterJob.java: New (fake) class.
33453         * java/awt/print/PrinterJob.java (getPrinterJob): Return NoPrinterJob.
33454   
33455 2006-01-28  Mark Wielaard  <mark@klomp.org>
33456   
33457         * gnu/javax/crypto/mac/HMac.java (clone): Cast cloned ipad to byte[].
33458   
33459 2006-01-28  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
33460   
33461         * gnu/classpath/examples/swing/Demo.java (mkTree): Make a larger tree.
33462         (addChildren): New method.
33463   
33464 2006-01-28  Raif S. Naffah  <raif@swiftdsl.com.au>
33465   
33466         * gnu/javax/crypto/jce/mac/MacAdapter.java (MacAdapter(IMac, Map)): New
33467         constructor for cloning purposes.
33468         (clone): New implementation that ensures cloning.
33469         * gnu/javax/crypto/mac/HMac.java (clone): Implement Cloneable.
33470         * gnu/java/security/Registry.java: Changed value of GNU_SECURITY to
33471           "GNU".
33472   
33473 2006-01-27  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
33474   
33475         * javax/swing/plaf/basic/BasicTreeUI.java (updateCachedPreferredSize):
33476         Call updateCurrentVisiblePath.
33477   
33478 2006-01-27  Roman Kennke  <kennke@aicas.com>
33479   
33480         * examples/gnu/classpath/examples/swing/MiniDemo.java: New file.
33481   
33482 2006-01-27  Roman Kennke  <kennke@aicas.com>
33483   
33484         * examples/gnu/classpath/examples/swing/ButtonDemo.java
33485         (createContent): Only create new content if we don't have one
33486         already.
33487         * examples/gnu/classpath/examples/swing/ComboBoxDemo.java
33488         (createContent): Only create new content if we don't have one
33489         already.
33490         * examples/gnu/classpath/examples/swing/FileChooserDemo.java
33491         (createContent): Only create new content if we don't have one
33492         already.
33493         * examples/gnu/classpath/examples/swing/ScrollBarDemo.java
33494         (createContent): Only create new content if we don't have one
33495         already.
33496         * examples/gnu/classpath/examples/swing/SliderDemo.java
33497         (createContent): Only create new content if we don't have one
33498         already.
33499         * examples/gnu/classpath/examples/swing/TableDemo.java
33500         (createContent): Only create new content if we don't have one
33501         already.
33502         * examples/gnu/classpath/examples/swing/TextFieldDemo.java
33503         (createContent): Only create new content if we don't have one
33504         already.
33505   
33506 2006-01-27  Lillian Angel  <langel@redhat.com>
33507   
33508         * javax/swing/text/DefaultStyledDocument.java
33509         (insertFirstContentTag): Removed check, not needed. This
33510         still needs to be fixed for some cases. Added call to
33511         recreateLeaves.
33512         (createFracture): Added call to recreateLeaves.
33513         (recreateLeaves): New method used to recreate all the
33514         leaves after the initial insertion. This still needs 
33515         more work.
33516         (handleInsertAfterNewline): Removed else, not needed.
33517   
33518 2006-01-27  Roman Kennke  <kennke@aicas.com>
33519   
33520         * javax/swing/JLayeredPane.java
33521         (inserIndexForLayer): Fixed direction of search.
33522   
33523 2006-01-27  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
33524   
33525         * javax/swing/JTree.java (constructor): Put EXPANDED for the root 
33526         node into nodeStates.
33527   
33528 2006-01-27  Roman Kennke  <kennke@aicas.com>
33529   
33530         * javax/swing/JLayeredPane.java
33531         (FRAME_CONTENT_LAYER): Made field final.
33532         (componentToLayer): Made field private.
33533         (rectCache): Removed field.
33534         (layers): Removed field.
33535         (JLayeredPane()): Removed initialization of removed fields.
33536         (getLayer): Rewritten to make use of client properties in
33537         JComponents and to be more straighforward.
33538         (static getLayer): Rewritten to make use of client properties in
33539         JComponents.
33540         (layerToRange): Removed method.
33541         (incrLayer): Removed method.
33542         (decrLayer): Removed method.
33543         (highestLayer): Rewritten to be more straightforward.
33544         (lowestLayer): Rewritten to be more straightforward.
33545         (getPosition): Rewritten to be more straightforward.
33546         (getComponentsInLayer): Rewritten to be more straightforward.
33547         (getComponentCountInLayer): Rewritten to be more straightforward.
33548         (getIndexOf): Rewritten to be more straightforward.
33549         (inserIndexForLayer): Rewritten to be more straightforward.
33550         (remove): Rewritten to be more straightforward.
33551         (setLayer): Rewritten to be more straightforward.
33552         (addImpl): Rewritten to be more straightforward.
33553         (putLayer): Rewritten to be more straightforward.
33554
33555 2006-01-27  Anthony Balkissoon  <abalkiss@redhat.com>
33556
33557         * java/lang/Character.java:
33558         (offsetByCodePoints(CharSequence, int, int)): New API method.
33559         (offsetByCodePoints(char[], int, int, int, int)): Likewise.
33560         (toChars): Throw the Exception that the docs say we throw.
33561         (codePointAt): Fixed an off-by-one error in the bounds of the if 
33562         statement.
33563         * java/lang/String.java:
33564         (String(int[], int, int)): New API constructor.
33565   
33566 2006-01-27  Lillian Angel  <langel@redhat.com>
33567   
33568         * javax/swing/text/DefaultStyledDocument.java
33569         (insert): Moved this loop to insertUpdate.
33570         (insertUpdate): Likewise. Fixed variable
33571         names. Incremented pos if new paragraph
33572         is inserted.
33573         (split): Changed edits to use replace instead. Prevents
33574         assertion errors.
33575         (insertFirstContentTag): Removed else.
33576         (insertContentTag): Implemented else for JoinNextDirection.
33577         (createFracture): Fixed up code, still not fully complete.
33578         (insertFracture): Fixed to use return value from 
33579         recreateAfterFracture.
33580         (recreateAfterFracture): Changed to return an array of the
33581         elements to be added. This prevents an assertion error.
33582         (contains): New function checks if an element is already in 
33583         the Vector. Vector's contain function was not enough to use.
33584         (addAddedElement): Changed to use new contains function.
33585         (addAddedElements): Likewise.
33586         (addRemovedElement): Likewise.
33587         (addRemovedElements): Likewise.        
33588         
33589 2006-01-27  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
33590
33591         PR 25520
33592         * vm/reference/java/io/VMObjectInputStream.java (loaderAction.run):
33593         If no user class loaders found on the stack, return the thread 
33594         context class loader. (currentClassLoader): Explained.
33595   
33596 2006-01-27  Roman Kennke  <kennke@aicas.com>
33597   
33598         * java/awt/Container.java
33599         (swapComponents): Removed unspecified method.
33600         * javax/swing/JLayeredPane.java
33601         (setPosition): Reimplemented correctly.
33602         (swapComponents): New helper method.
33603   
33604 2006-01-27  Mark Wielaard  <mark@klomp.org>
33605   
33606         * configure.ac: Set version to 0.21-pre.
33607   
33608 2006-01-27  Roman Kennke  <kennke@aicas.com>
33609   
33610         PR classpath/25968
33611         * javax/swing/JComponent.java
33612         (findOverlapFreeParent): Improved the algorithm to make better use
33613         of the optimizedDrawingEnabled flag.
33614         * javax/swing/JLayeredPane.java
33615         (isOptimizedDrawingEnabled): Reimplemented to match the specs.
33616         * javax/swing/JViewport.java
33617         (computeBlit): Fixed check to decide if blitting is possible or not,
33618         so that it doesn't blit if nothing was scrolled (in order to
33619         update the buffer when the view updates itself).
33620   
33621 2006-01-27  Roman Kennke  <kennke@aicas.com>
33622   
33623         * javax/swing/plaf/metal/MetalFileChooserUI.java
33624         (createList): Don't set scrollbar policy.
33625   
33626 2006-01-27  Roman Kennke  <kennke@aicas.com>
33627   
33628         * javax/swing/plaf/basic/BasicPopupMenuUI.java
33629         (PopupMenuHandler.popupMenuWillBecomeInvisible):
33630         Fixed to also handle non-Swing toplevel containers.
33631         (PopupMenuHandler.popupMenuWillBecomeVisible):
33632         Fixed to also handle non-Swing toplevel containers.
33633         * javax/swing/Popup.java
33634         (JWindowPopup.JWindowPopup()): Correctly set parent window on
33635         popup.
33636   
33637 2006-01-27  Roman Kennke  <kennke@aicas.com>
33638   
33639         * javax/swing/plaf/basic/BasicInternalFrameUI.java
33640         (InternalFramePropertyChangeListener): Don't implement
33641         VetoableChangeListener.
33642         (InternalFramePropertyChangeListener.vetoableChange): Removed.
33643         (internalFrameVetoableChangeListener): Removed unneeded field.
33644         (installListeners): Don't install vetoableChangeListener.
33645         * javax/swing/event/DocumentEvent.java
33646         (EventType): Made class final.
33647   
33648 2006-01-27  Roman Kennke  <kennke@aicas.com>
33649   
33650         * javax/swing/SwingUtilities.java
33651         (calculateInsetArea): Removed unneeded method. The method
33652         calculateInnerArea has the same purpose and is actually specified.
33653         (calculateInnerArea): Rewritten to not use calculateInsetArea.
33654         * javax/swing/plaf/basic/BasicMenuItemUI.java
33655         (paintMenuItem): Use SwingUtilities.calculateInnerArea() instead
33656         of SwingUtilities.calculateInsetArea().
33657   
33658 2006-01-27  Roman Kennke  <kennke@aicas.com>
33659   
33660         * javax/swing/plaf/basic/BasicTreeUI.java
33661         (installDefaults): Removed requestFocusInWindow() call.
33662         * javax/swing/JComponent.java
33663         (requestFocusInWindow(boolean)): Made method protected.
33664         (printComponent): Made method protected.
33665         (printChildren): Made method protected.
33666         (printComponent): Made method protected.
33667         (printBorder): Made method protected.
33668   
33669 2006-01-27  Roman Kennke  <kennke@aicas.com>
33670   
33671         * javax/swing/AbstractButton.java
33672         (ButtonChangeListener.ButtonChangeListener()): Made constructor
33673         package private.
33674         * javax/swing/ImageIcon.java
33675         (component): Made field final.
33676         (tracker): Made field final.
33677         * javax/swing/JApplet.java
33678         (AccessibleJApplet.AccessibleJApplet): Made constructor protected.
33679         * javax/swing/JCheckBox.java
33680         (AccessibleJCheckBox.AccessibleJCheckBox): Made constructor
33681         protected.
33682         * javax/swing/JDialog.java
33683         (AccessibleJDialog.AccessibleJDialog): Made constructor protected.
33684         * javax/swing/JFrame.java
33685         (AccessibleJFrame.AccessibleJFrame): Made constructor protected.
33686         * javax/swing/JLayeredPane.java
33687         (AccessibleJLayered.AccessibleJLayeredPane): Made constructor
33688         protected.
33689         (DEFAULT_LAYER): Made field final.
33690         (PALETTE_LAYER): Made field final.
33691         (MODAL_LAYER): Made field final.
33692         (POPUP_LAYER): Made field final.
33693         (DRAG_LAYER): Made field final.
33694         * javax/swing/JMenu.java
33695         (ActionChangeListener): Made class private.
33696         * javax/swing/JOptionPane.java
33697         (UNITITIALIZED_VALUE): Made field final.
33698         * javax/swing/JPanel.java
33699         (AccessibleJPanel.AccessibleJPanel): Made constructor protected.
33700         * javax/swing/JPopupMenu.java
33701         (ActionChangeListener): Made class private.
33702         * javax/swing/JTree.java
33703         (paramString): Made method protected.
33704         * javax/swing/JViewport.java
33705         (AccessibleJViewport.AccessibleJViewport): Made constructor protected.
33706         * javax/swing/JWindow.java
33707         (AccessibleJWindow.AccessibleJWindow): Made constructor protected.
33708         * javax/swing/RepaintManager.java
33709         (RepaintWorker): Made class private.
33710   
33711 2006-01-27  Roman Kennke  <kennke@aicas.com>
33712   
33713         * gnu/java/awt/peer/swing/SwingComponentPeer.java
33714         (handleEvent): Removed debug statement.
33715   
33716 2006-01-27  Roman Kennke  <kennke@aicas.com>
33717   
33718         * java/awt/Component.java
33719         (coalescePaintEvents): Don't try to optimize coalescing. This hurts
33720         more than it helps.
33721   
33722 2006-01-26  Lillian Angel  <langel@redhat.com>
33723   
33724         * javax/swing/text/DefaultStyledDocument.java
33725         (createFracture): Commented out a known problem,
33726         added FIXME tag.
33727   
33728 2006-01-26  Lillian Angel  <langel@redhat.com>
33729   
33730         * javax/swing/text/DefaultStyledDocument.java
33731         (ElementBuffer): Added fields.
33732         (remove): Initialized pos.
33733         (change): Likewise.
33734         (insert): Likewise.
33735         (insertUpdate): Incremented pos. Fixed check, createFracture should
33736         be called on first tag if it is not ContentType.
33737         (insertFirstContentTag): Reworked to use proper offsets and
33738         set offset accordingly. This might need more work in the future.
33739         (insertContentTag): Likewise. Fixed to use pos, instead of 
33740         offset.
33741         (createFracture): Fixed to recreate other leaves. Still needs
33742         more work.
33743         (insertFracture): Reimplemented.
33744         (recreateAfterFracture): New method.
33745         (getParagraphElement): Reimplemented, more efficent.
33746
33747 2006-01-26  Christian Thalinger  <twisti@complang.tuwien.ac.at>
33748
33749         * native/jni/java-lang/java_lang_VMDouble.c (doubleToLongBits)
33750         (doubleToRawLongBits, longBitsToDouble): Swap the byte
33751         ordering for little-endian arms without VFP.
33752
33753 2006-01-26  Raif S. Naffah  <raif@swiftdsl.com.au>
33754
33755         PR classpath/25981
33756         * gnu/javax/crypto/jce/GnuCrypto.java (run): Added KeyGenerator entries.
33757
33758 2006-01-26  Mark Wielaard  <mark@klomp.org>
33759
33760         Fixes bug #25970 reported by Michael Kay <mike@saxonica.com>
33761         * java/math/BigDecimal.java (compareTo): Don't strip trailing zeros.
33762         Add trailing zeros to the fraction of the decimal with the smallest
33763         scale.
33764
33765 2006-01-26  Roman Kennke  <kennke@aicas.com>
33766
33767         * javax/swing/text/html/ObjectView.java: New file.
33768
33769 2006-01-26  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
33770
33771         * javax/swing/plaf/basic/BasicTreeUI.java (MouseHandler.mousePressed): 
33772         Call startEditing when appropriate.
33773         (WAIT_TILL_EDITING, EDIT, startEditTimer): New fields.
33774         (startEditing): Always edit if directly ordered from 
33775         MouseHandler.mousePressed.
33776         * javax/swing/tree/DefaultTreeCellEditor.java (CLICK_COUNT_TO_START): 
33777         New field. (createTreeCellEditor): Set click count to start.
33778         (getTreeCellEditorComponent): Assing realEditor directly.
33779
33780 2006-01-25  Casey Marshall  <csm@gnu.org>
33781
33782         Merging GNU Crypto and Jessie.
33783
33784         * NEWS: mention the merge in the 0.21 notes.
33785         * gnu/classpath/debug/Component.java (SSL_APPLICATION): removed.
33786         (SSL_RECORD_LAYER): new constants.
33787         * gnu/java/security/provider/Gnu.java (<init>): add new algorithms
33788         to provider.
33789         * resource/java/security/classpath.security: add new providers.
33790         * gnu/javax/crypto/assembly/Assembly.java,
33791         gnu/javax/crypto/assembly/Cascade.java,
33792         gnu/javax/crypto/assembly/CascadeStage.java,
33793         gnu/javax/crypto/assembly/CascadeTransformer.java,
33794         gnu/javax/crypto/assembly/DeflateTransformer.java,
33795         gnu/javax/crypto/assembly/Direction.java,
33796         gnu/javax/crypto/assembly/LoopbackTransformer.java,
33797         gnu/javax/crypto/assembly/ModeStage.java,
33798         gnu/javax/crypto/assembly/Operation.java,
33799         gnu/javax/crypto/assembly/PaddingTransformer.java,
33800         gnu/javax/crypto/assembly/Stage.java,
33801         gnu/javax/crypto/assembly/Transformer.java,
33802         gnu/javax/crypto/assembly/TransformerException.java,
33803         gnu/javax/crypto/cipher/Anubis.java,
33804         gnu/javax/crypto/cipher/BaseCipher.java,
33805         gnu/javax/crypto/cipher/Blowfish.java,
33806         gnu/javax/crypto/cipher/Cast5.java,
33807         gnu/javax/crypto/cipher/CipherFactory.java,
33808         gnu/javax/crypto/cipher/DES.java,
33809         gnu/javax/crypto/cipher/IBlockCipher.java,
33810         gnu/javax/crypto/cipher/IBlockCipherSpi.java,
33811         gnu/javax/crypto/cipher/Khazad.java,
33812         gnu/javax/crypto/cipher/NullCipher.java,
33813         gnu/javax/crypto/cipher/Rijndael.java,
33814         gnu/javax/crypto/cipher/Serpent.java,
33815         gnu/javax/crypto/cipher/Square.java,
33816         gnu/javax/crypto/cipher/TripleDES.java,
33817         gnu/javax/crypto/cipher/Twofish.java,
33818         gnu/javax/crypto/cipher/WeakKeyException.java,
33819         gnu/javax/crypto/jce/GnuCrypto.java,
33820         gnu/javax/crypto/jce/GnuSasl.java,
33821         gnu/javax/crypto/jce/PBKDF2SecretKeyFactory.java,
33822         gnu/javax/crypto/jce/cipher/AESSpi.java,
33823         gnu/javax/crypto/jce/cipher/ARCFourSpi.java,
33824         gnu/javax/crypto/jce/cipher/AnubisSpi.java,
33825         gnu/javax/crypto/jce/cipher/BlowfishSpi.java,
33826         gnu/javax/crypto/jce/cipher/Cast5Spi.java,
33827         gnu/javax/crypto/jce/cipher/CipherAdapter.java,
33828         gnu/javax/crypto/jce/cipher/DESSpi.java,
33829         gnu/javax/crypto/jce/cipher/KhazadSpi.java,
33830         gnu/javax/crypto/jce/cipher/NullCipherSpi.java,
33831         gnu/javax/crypto/jce/cipher/PBES2.java,
33832         gnu/javax/crypto/jce/cipher/RijndaelSpi.java,
33833         gnu/javax/crypto/jce/cipher/SerpentSpi.java,
33834         gnu/javax/crypto/jce/cipher/SquareSpi.java,
33835         gnu/javax/crypto/jce/cipher/TripleDESSpi.java,
33836         gnu/javax/crypto/jce/cipher/TwofishSpi.java,
33837         gnu/javax/crypto/jce/key/AnubisKeyGeneratorImpl.java,
33838         gnu/javax/crypto/jce/key/AnubisSecretKeyFactoryImpl.java,
33839         gnu/javax/crypto/jce/key/BlowfishKeyGeneratorImpl.java,
33840         gnu/javax/crypto/jce/key/BlowfishSecretKeyFactoryImpl.java,
33841         gnu/javax/crypto/jce/key/Cast5KeyGeneratorImpl.java,
33842         gnu/javax/crypto/jce/key/Cast5SecretKeyFactoryImpl.java,
33843         gnu/javax/crypto/jce/key/DESKeyGeneratorImpl.java,
33844         gnu/javax/crypto/jce/key/DESSecretKeyFactoryImpl.java,
33845         gnu/javax/crypto/jce/key/DESedeSecretKeyFactoryImpl.java,
33846         gnu/javax/crypto/jce/key/KhazadKeyGeneratorImpl.java,
33847         gnu/javax/crypto/jce/key/KhazadSecretKeyFactoryImpl.java,
33848         gnu/javax/crypto/jce/key/RijndaelKeyGeneratorImpl.java,
33849         gnu/javax/crypto/jce/key/RijndaelSecretKeyFactoryImpl.java,
33850         gnu/javax/crypto/jce/key/SecretKeyFactoryImpl.java,
33851         gnu/javax/crypto/jce/key/SecretKeyGeneratorImpl.java,
33852         gnu/javax/crypto/jce/key/SerpentKeyGeneratorImpl.java,
33853         gnu/javax/crypto/jce/key/SerpentSecretKeyFactoryImpl.java,
33854         gnu/javax/crypto/jce/key/SquareKeyGeneratorImpl.java,
33855         gnu/javax/crypto/jce/key/SquareSecretKeyFactoryImpl.java,
33856         gnu/javax/crypto/jce/key/TripleDESKeyGeneratorImpl.java,
33857         gnu/javax/crypto/jce/key/TwofishKeyGeneratorImpl.java,
33858         gnu/javax/crypto/jce/key/TwofishSecretKeyFactoryImpl.java,
33859         gnu/javax/crypto/jce/keyring/GnuKeyring.java,
33860         gnu/javax/crypto/jce/mac/HMacHavalSpi.java,
33861         gnu/javax/crypto/jce/mac/HMacMD2Spi.java,
33862         gnu/javax/crypto/jce/mac/HMacMD4Spi.java,
33863         gnu/javax/crypto/jce/mac/HMacMD5Spi.java,
33864         gnu/javax/crypto/jce/mac/HMacRipeMD128Spi.java,
33865         gnu/javax/crypto/jce/mac/HMacRipeMD160Spi.java,
33866         gnu/javax/crypto/jce/mac/HMacSHA160Spi.java,
33867         gnu/javax/crypto/jce/mac/HMacSHA256Spi.java,
33868         gnu/javax/crypto/jce/mac/HMacSHA384Spi.java,
33869         gnu/javax/crypto/jce/mac/HMacSHA512Spi.java,
33870         gnu/javax/crypto/jce/mac/HMacTigerSpi.java,
33871         gnu/javax/crypto/jce/mac/HMacWhirlpoolSpi.java,
33872         gnu/javax/crypto/jce/mac/MacAdapter.java,
33873         gnu/javax/crypto/jce/mac/OMacAnubisImpl.java,
33874         gnu/javax/crypto/jce/mac/OMacBlowfishImpl.java,
33875         gnu/javax/crypto/jce/mac/OMacCast5Impl.java,
33876         gnu/javax/crypto/jce/mac/OMacDESImpl.java,
33877         gnu/javax/crypto/jce/mac/OMacImpl.java,
33878         gnu/javax/crypto/jce/mac/OMacKhazadImpl.java,
33879         gnu/javax/crypto/jce/mac/OMacRijndaelImpl.java,
33880         gnu/javax/crypto/jce/mac/OMacSerpentImpl.java,
33881         gnu/javax/crypto/jce/mac/OMacSquareImpl.java,
33882         gnu/javax/crypto/jce/mac/OMacTripleDESImpl.java,
33883         gnu/javax/crypto/jce/mac/OMacTwofishImpl.java,
33884         gnu/javax/crypto/jce/mac/TMMH16Spi.java,
33885         gnu/javax/crypto/jce/mac/UHash32Spi.java,
33886         gnu/javax/crypto/jce/mac/UMac32Spi.java,
33887         gnu/javax/crypto/jce/params/BlockCipherParameters.java,
33888         gnu/javax/crypto/jce/params/DEREncodingException.java,
33889         gnu/javax/crypto/jce/params/DERReader.java,
33890         gnu/javax/crypto/jce/params/DERWriter.java,
33891         gnu/javax/crypto/jce/prng/ARCFourRandomSpi.java,
33892         gnu/javax/crypto/jce/prng/CSPRNGSpi.java,
33893         gnu/javax/crypto/jce/prng/FortunaImpl.java,
33894         gnu/javax/crypto/jce/prng/ICMRandomSpi.java,
33895         gnu/javax/crypto/jce/prng/UMacRandomSpi.java,
33896         gnu/javax/crypto/jce/spec/BlockCipherParameterSpec.java,
33897         gnu/javax/crypto/jce/spec/TMMHParameterSpec.java,
33898         gnu/javax/crypto/jce/spec/UMac32ParameterSpec.java,
33899         gnu/javax/crypto/key/BaseKeyAgreementParty.java,
33900         gnu/javax/crypto/key/GnuSecretKey.java,
33901         gnu/javax/crypto/key/IKeyAgreementParty.java,
33902         gnu/javax/crypto/key/IncomingMessage.java,
33903         gnu/javax/crypto/key/KeyAgreementException.java,
33904         gnu/javax/crypto/key/KeyAgreementFactory.java,
33905         gnu/javax/crypto/key/OutgoingMessage.java,
33906         gnu/javax/crypto/key/dh/DHKeyPairRawCodec.java,
33907         gnu/javax/crypto/key/dh/DiffieHellmanKeyAgreement.java,
33908         gnu/javax/crypto/key/dh/DiffieHellmanReceiver.java,
33909         gnu/javax/crypto/key/dh/DiffieHellmanSender.java,
33910         gnu/javax/crypto/key/dh/ElGamalKeyAgreement.java,
33911         gnu/javax/crypto/key/dh/ElGamalReceiver.java,
33912         gnu/javax/crypto/key/dh/ElGamalSender.java,
33913         gnu/javax/crypto/key/dh/GnuDHKey.java,
33914         gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java,
33915         gnu/javax/crypto/key/dh/GnuDHPrivateKey.java,
33916         gnu/javax/crypto/key/dh/GnuDHPublicKey.java,
33917         gnu/javax/crypto/key/dh/RFC2631.java,
33918         gnu/javax/crypto/key/srp6/SRP6Host.java,
33919         gnu/javax/crypto/key/srp6/SRP6KeyAgreement.java,
33920         gnu/javax/crypto/key/srp6/SRP6SaslClient.java,
33921         gnu/javax/crypto/key/srp6/SRP6SaslServer.java,
33922         gnu/javax/crypto/key/srp6/SRP6TLSClient.java,
33923         gnu/javax/crypto/key/srp6/SRP6TLSServer.java,
33924         gnu/javax/crypto/key/srp6/SRP6User.java,
33925         gnu/javax/crypto/key/srp6/SRPAlgorithm.java,
33926         gnu/javax/crypto/key/srp6/SRPKey.java,
33927         gnu/javax/crypto/key/srp6/SRPKeyPairGenerator.java,
33928         gnu/javax/crypto/key/srp6/SRPKeyPairRawCodec.java,
33929         gnu/javax/crypto/key/srp6/SRPPrivateKey.java,
33930         gnu/javax/crypto/key/srp6/SRPPublicKey.java,
33931         gnu/javax/crypto/keyring/AuthenticatedEntry.java,
33932         gnu/javax/crypto/keyring/BaseKeyring.java,
33933         gnu/javax/crypto/keyring/BinaryDataEntry.java,
33934         gnu/javax/crypto/keyring/CertPathEntry.java,
33935         gnu/javax/crypto/keyring/CertificateEntry.java,
33936         gnu/javax/crypto/keyring/CompressedEntry.java,
33937         gnu/javax/crypto/keyring/EncryptedEntry.java,
33938         gnu/javax/crypto/keyring/Entry.java,
33939         gnu/javax/crypto/keyring/EnvelopeEntry.java,
33940         gnu/javax/crypto/keyring/GnuPrivateKeyring.java,
33941         gnu/javax/crypto/keyring/GnuPublicKeyring.java,
33942         gnu/javax/crypto/keyring/IKeyring.java,
33943         gnu/javax/crypto/keyring/IPrivateKeyring.java,
33944         gnu/javax/crypto/keyring/IPublicKeyring.java,
33945         gnu/javax/crypto/keyring/MalformedKeyringException.java,
33946         gnu/javax/crypto/keyring/MaskableEnvelopeEntry.java,
33947         gnu/javax/crypto/keyring/MeteredInputStream.java,
33948         gnu/javax/crypto/keyring/PasswordAuthenticatedEntry.java,
33949         gnu/javax/crypto/keyring/PasswordEncryptedEntry.java,
33950         gnu/javax/crypto/keyring/PasswordProtectedEntry.java,
33951         gnu/javax/crypto/keyring/PrimitiveEntry.java,
33952         gnu/javax/crypto/keyring/PrivateKeyEntry.java,
33953         gnu/javax/crypto/keyring/Properties.java,
33954         gnu/javax/crypto/keyring/PublicKeyEntry.java,
33955         gnu/javax/crypto/mac/BaseMac.java,
33956         gnu/javax/crypto/mac/HMac.java,
33957         gnu/javax/crypto/mac/HMacFactory.java,
33958         gnu/javax/crypto/mac/IMac.java,
33959         gnu/javax/crypto/mac/MacFactory.java,
33960         gnu/javax/crypto/mac/MacInputStream.java,
33961         gnu/javax/crypto/mac/MacOutputStream.java,
33962         gnu/javax/crypto/mac/OMAC.java,
33963         gnu/javax/crypto/mac/TMMH16.java,
33964         gnu/javax/crypto/mac/UHash32.java,
33965         gnu/javax/crypto/mac/UMac32.java,
33966         gnu/javax/crypto/mode/BaseMode.java,
33967         gnu/javax/crypto/mode/CBC.java,
33968         gnu/javax/crypto/mode/CFB.java,
33969         gnu/javax/crypto/mode/CTR.java,
33970         gnu/javax/crypto/mode/EAX.java,
33971         gnu/javax/crypto/mode/ECB.java,
33972         gnu/javax/crypto/mode/IAuthenticatedMode.java,
33973         gnu/javax/crypto/mode/ICM.java,
33974         gnu/javax/crypto/mode/IMode.java,
33975         gnu/javax/crypto/mode/ModeFactory.java,
33976         gnu/javax/crypto/mode/OFB.java,
33977         gnu/javax/crypto/pad/BasePad.java,
33978         gnu/javax/crypto/pad/IPad.java,
33979         gnu/javax/crypto/pad/PKCS1_V1_5.java,
33980         gnu/javax/crypto/pad/PKCS7.java,
33981         gnu/javax/crypto/pad/PadFactory.java,
33982         gnu/javax/crypto/pad/SSL3.java,
33983         gnu/javax/crypto/pad/TBC.java,
33984         gnu/javax/crypto/pad/TLS1.java,
33985         gnu/javax/crypto/pad/WrongPaddingException.java,
33986         gnu/javax/crypto/prng/ARCFour.java,
33987         gnu/javax/crypto/prng/CSPRNG.java,
33988         gnu/javax/crypto/prng/Fortuna.java,
33989         gnu/javax/crypto/prng/ICMGenerator.java,
33990         gnu/javax/crypto/prng/IPBE.java,
33991         gnu/javax/crypto/prng/PBKDF2.java,
33992         gnu/javax/crypto/prng/PRNGFactory.java,
33993         gnu/javax/crypto/prng/UMacGenerator.java,
33994         gnu/javax/crypto/sasl/AuthInfo.java,
33995         gnu/javax/crypto/sasl/AuthInfoProviderFactory.java,
33996         gnu/javax/crypto/sasl/ClientFactory.java,
33997         gnu/javax/crypto/sasl/ClientMechanism.java,
33998         gnu/javax/crypto/sasl/ConfidentialityException.java,
33999         gnu/javax/crypto/sasl/IAuthInfoProvider.java,
34000         gnu/javax/crypto/sasl/IAuthInfoProviderFactory.java,
34001         gnu/javax/crypto/sasl/IllegalMechanismStateException.java,
34002         gnu/javax/crypto/sasl/InputBuffer.java,
34003         gnu/javax/crypto/sasl/IntegrityException.java,
34004         gnu/javax/crypto/sasl/NoSuchMechanismException.java,
34005         gnu/javax/crypto/sasl/NoSuchUserException.java,
34006         gnu/javax/crypto/sasl/OutputBuffer.java,
34007         gnu/javax/crypto/sasl/SaslEncodingException.java,
34008         gnu/javax/crypto/sasl/SaslInputStream.java,
34009         gnu/javax/crypto/sasl/SaslOutputStream.java,
34010         gnu/javax/crypto/sasl/SaslUtil.java,
34011         gnu/javax/crypto/sasl/ServerFactory.java,
34012         gnu/javax/crypto/sasl/ServerMechanism.java,
34013         gnu/javax/crypto/sasl/UserAlreadyExistsException.java,
34014         gnu/javax/crypto/sasl/anonymous/AnonymousClient.java,
34015         gnu/javax/crypto/sasl/anonymous/AnonymousServer.java,
34016         gnu/javax/crypto/sasl/anonymous/AnonymousUtil.java,
34017         gnu/javax/crypto/sasl/crammd5/CramMD5AuthInfoProvider.java,
34018         gnu/javax/crypto/sasl/crammd5/CramMD5Client.java,
34019         gnu/javax/crypto/sasl/crammd5/CramMD5Registry.java,
34020         gnu/javax/crypto/sasl/crammd5/CramMD5Server.java,
34021         gnu/javax/crypto/sasl/crammd5/CramMD5Util.java,
34022         gnu/javax/crypto/sasl/crammd5/PasswordFile.java,
34023         gnu/javax/crypto/sasl/plain/PasswordFile.java,
34024         gnu/javax/crypto/sasl/plain/PlainAuthInfoProvider.java,
34025         gnu/javax/crypto/sasl/plain/PlainClient.java,
34026         gnu/javax/crypto/sasl/plain/PlainRegistry.java,
34027         gnu/javax/crypto/sasl/plain/PlainServer.java,
34028         gnu/javax/crypto/sasl/srp/CALG.java,
34029         gnu/javax/crypto/sasl/srp/ClientStore.java,
34030         gnu/javax/crypto/sasl/srp/IALG.java,
34031         gnu/javax/crypto/sasl/srp/KDF.java,
34032         gnu/javax/crypto/sasl/srp/PasswordFile.java,
34033         gnu/javax/crypto/sasl/srp/SRP.java,
34034         gnu/javax/crypto/sasl/srp/SRPAuthInfoProvider.java,
34035         gnu/javax/crypto/sasl/srp/SRPClient.java,
34036         gnu/javax/crypto/sasl/srp/SRPRegistry.java,
34037         gnu/javax/crypto/sasl/srp/SRPServer.java,
34038         gnu/javax/crypto/sasl/srp/SecurityContext.java,
34039         gnu/javax/crypto/sasl/srp/ServerStore.java,
34040         gnu/javax/crypto/sasl/srp/StoreEntry.java,
34041         gnu/javax/net/ssl/Base64.java,
34042         gnu/javax/net/ssl/EntropySource.java,
34043         gnu/javax/net/ssl/NullManagerParameters.java,
34044         gnu/javax/net/ssl/PrivateCredentials.java,
34045         gnu/javax/net/ssl/SRPManagerParameters.java,
34046         gnu/javax/net/ssl/SRPTrustManager.java,
34047         gnu/javax/net/ssl/StaticTrustAnchors.java,
34048         gnu/javax/net/ssl/provider/Alert.java,
34049         gnu/javax/net/ssl/provider/AlertException.java,
34050         gnu/javax/net/ssl/provider/Certificate.java,
34051         gnu/javax/net/ssl/provider/CertificateRequest.java,
34052         gnu/javax/net/ssl/provider/CertificateType.java,
34053         gnu/javax/net/ssl/provider/CertificateVerify.java,
34054         gnu/javax/net/ssl/provider/CipherSuite.java,
34055         gnu/javax/net/ssl/provider/ClientHello.java,
34056         gnu/javax/net/ssl/provider/ClientKeyExchange.java,
34057         gnu/javax/net/ssl/provider/CompressionMethod.java,
34058         gnu/javax/net/ssl/provider/Constructed.java,
34059         gnu/javax/net/ssl/provider/ContentType.java,
34060         gnu/javax/net/ssl/provider/Context.java,
34061         gnu/javax/net/ssl/provider/DiffieHellman.java,
34062         gnu/javax/net/ssl/provider/DigestInputStream.java,
34063         gnu/javax/net/ssl/provider/DigestOutputStream.java,
34064         gnu/javax/net/ssl/provider/Enumerated.java,
34065         gnu/javax/net/ssl/provider/Extension.java,
34066         gnu/javax/net/ssl/provider/Extensions.java,
34067         gnu/javax/net/ssl/provider/Finished.java,
34068         gnu/javax/net/ssl/provider/GNUSecurityParameters.java,
34069         gnu/javax/net/ssl/provider/Handshake.java,
34070         gnu/javax/net/ssl/provider/JCESecurityParameters.java,
34071         gnu/javax/net/ssl/provider/JDBCSessionContext.java,
34072         gnu/javax/net/ssl/provider/Jessie.java,
34073         gnu/javax/net/ssl/provider/JessieDHPrivateKey.java,
34074         gnu/javax/net/ssl/provider/JessieDHPublicKey.java,
34075         gnu/javax/net/ssl/provider/JessieRSAPrivateKey.java,
34076         gnu/javax/net/ssl/provider/JessieRSAPublicKey.java,
34077         gnu/javax/net/ssl/provider/KeyPool.java,
34078         gnu/javax/net/ssl/provider/MacException.java,
34079         gnu/javax/net/ssl/provider/OverflowException.java,
34080         gnu/javax/net/ssl/provider/PRNG.java,
34081         gnu/javax/net/ssl/provider/ProtocolVersion.java,
34082         gnu/javax/net/ssl/provider/Random.java,
34083         gnu/javax/net/ssl/provider/RecordInput.java,
34084         gnu/javax/net/ssl/provider/RecordInputStream.java,
34085         gnu/javax/net/ssl/provider/RecordOutputStream.java,
34086         gnu/javax/net/ssl/provider/RecordingInputStream.java,
34087         gnu/javax/net/ssl/provider/SRPTrustManagerFactory.java,
34088         gnu/javax/net/ssl/provider/SSLHMac.java,
34089         gnu/javax/net/ssl/provider/SSLRSASignature.java,
34090         gnu/javax/net/ssl/provider/SSLRandom.java,
34091         gnu/javax/net/ssl/provider/SSLServerSocket.java,
34092         gnu/javax/net/ssl/provider/SSLServerSocketFactory.java,
34093         gnu/javax/net/ssl/provider/SSLSocket.java,
34094         gnu/javax/net/ssl/provider/SSLSocketFactory.java,
34095         gnu/javax/net/ssl/provider/SSLSocketInputStream.java,
34096         gnu/javax/net/ssl/provider/SSLSocketOutputStream.java,
34097         gnu/javax/net/ssl/provider/SecurityParameters.java,
34098         gnu/javax/net/ssl/provider/ServerHello.java,
34099         gnu/javax/net/ssl/provider/ServerKeyExchange.java,
34100         gnu/javax/net/ssl/provider/Session.java,
34101         gnu/javax/net/ssl/provider/SessionContext.java,
34102         gnu/javax/net/ssl/provider/Signature.java,
34103         gnu/javax/net/ssl/provider/SynchronizedRandom.java,
34104         gnu/javax/net/ssl/provider/TLSHMac.java,
34105         gnu/javax/net/ssl/provider/TLSRandom.java,
34106         gnu/javax/net/ssl/provider/Util.java,
34107         gnu/javax/net/ssl/provider/X509KeyManagerFactory.java,
34108         gnu/javax/net/ssl/provider/X509TrustManagerFactory.java,
34109         gnu/javax/net/ssl/provider/XMLSessionContext.java,
34110         gnu/javax/security/auth/Password.java,
34111         gnu/javax/security/auth/callback/AWTCallbackHandler.java,
34112         gnu/javax/security/auth/callback/AbstractCallbackHandler.java,
34113         gnu/javax/security/auth/callback/ConsoleCallbackHandler.java,
34114         gnu/javax/security/auth/callback/DefaultCallbackHandler.java,
34115         gnu/javax/security/auth/callback/GnuCallbacks.java,
34116         gnu/javax/security/auth/callback/SwingCallbackHandler.java,
34117         gnu/java/security/Registry.java,
34118         gnu/java/security/Properties.java,
34119         gnu/java/security/hash/BaseHash.java,
34120         gnu/java/security/hash/HashFactory.java,
34121         gnu/java/security/hash/Haval.java,
34122         gnu/java/security/hash/IMessageDigest.java,
34123         gnu/java/security/hash/MD2.java,
34124         gnu/java/security/hash/MD4.java,
34125         gnu/java/security/hash/MD5.java,
34126         gnu/java/security/hash/RipeMD128.java,
34127         gnu/java/security/hash/RipeMD160.java,
34128         gnu/java/security/hash/Sha160.java,
34129         gnu/java/security/hash/Sha256.java,
34130         gnu/java/security/hash/Sha384.java,
34131         gnu/java/security/hash/Sha512.java,
34132         gnu/java/security/hash/Tiger.java,
34133         gnu/java/security/hash/Whirlpool.java,
34134         gnu/java/security/jce/hash/HavalSpi.java,
34135         gnu/java/security/jce/hash/MD2Spi.java,
34136         gnu/java/security/jce/hash/MD4Spi.java,
34137         gnu/java/security/jce/hash/MD5Spi.java,
34138         gnu/java/security/jce/hash/MessageDigestAdapter.java,
34139         gnu/java/security/jce/hash/RipeMD128Spi.java,
34140         gnu/java/security/jce/hash/RipeMD160Spi.java,
34141         gnu/java/security/jce/hash/Sha160Spi.java,
34142         gnu/java/security/jce/hash/Sha256Spi.java,
34143         gnu/java/security/jce/hash/Sha384Spi.java,
34144         gnu/java/security/jce/hash/Sha512Spi.java,
34145         gnu/java/security/jce/hash/TigerSpi.java,
34146         gnu/java/security/jce/hash/WhirlpoolSpi.java,
34147         gnu/java/security/jce/prng/HavalRandomSpi.java,
34148         gnu/java/security/jce/prng/MD2RandomSpi.java,
34149         gnu/java/security/jce/prng/MD4RandomSpi.java,
34150         gnu/java/security/jce/prng/MD5RandomSpi.java,
34151         gnu/java/security/jce/prng/RipeMD128RandomSpi.java,
34152         gnu/java/security/jce/prng/RipeMD160RandomSpi.java,
34153         gnu/java/security/jce/prng/SecureRandomAdapter.java,
34154         gnu/java/security/jce/prng/Sha160RandomSpi.java,
34155         gnu/java/security/jce/prng/Sha256RandomSpi.java,
34156         gnu/java/security/jce/prng/Sha384RandomSpi.java,
34157         gnu/java/security/jce/prng/Sha512RandomSpi.java,
34158         gnu/java/security/jce/prng/TigerRandomSpi.java,
34159         gnu/java/security/jce/prng/WhirlpoolRandomSpi.java,
34160         gnu/java/security/jce/sig/DSSKeyPairGeneratorSpi.java,
34161         gnu/java/security/jce/sig/DSSRawSignatureSpi.java,
34162         gnu/java/security/jce/sig/KeyPairGeneratorAdapter.java,
34163         gnu/java/security/jce/sig/RSAKeyPairGeneratorSpi.java,
34164         gnu/java/security/jce/sig/RSAPSSRawSignatureSpi.java,
34165         gnu/java/security/jce/sig/SignatureAdapter.java,
34166         gnu/java/security/key/IKeyPairCodec.java,
34167         gnu/java/security/key/IKeyPairGenerator.java,
34168         gnu/java/security/key/KeyPairCodecFactory.java,
34169         gnu/java/security/key/KeyPairGeneratorFactory.java,
34170         gnu/java/security/key/dss/DSSKey.java,
34171         gnu/java/security/key/dss/DSSKeyPairGenerator.java,
34172         gnu/java/security/key/dss/DSSKeyPairRawCodec.java,
34173         gnu/java/security/key/dss/DSSPrivateKey.java,
34174         gnu/java/security/key/dss/DSSPublicKey.java,
34175         gnu/java/security/key/dss/FIPS186.java,
34176         gnu/java/security/key/rsa/GnuRSAKey.java,
34177         gnu/java/security/key/rsa/GnuRSAPrivateKey.java,
34178         gnu/java/security/key/rsa/GnuRSAPublicKey.java,
34179         gnu/java/security/key/rsa/RSAKeyPairGenerator.java,
34180         gnu/java/security/key/rsa/RSAKeyPairRawCodec.java,
34181         gnu/java/security/prng/BasePRNG.java,
34182         gnu/java/security/prng/EntropySource.java,
34183         gnu/java/security/prng/IRandom.java,
34184         gnu/java/security/prng/LimitReachedException.java,
34185         gnu/java/security/prng/MDGenerator.java,
34186         gnu/java/security/prng/PRNGFactory.java,
34187         gnu/java/security/prng/RandomEvent.java,
34188         gnu/java/security/prng/RandomEventListener.java,
34189         gnu/java/security/sig/BaseSignature.java,
34190         gnu/java/security/sig/ISignature.java,
34191         gnu/java/security/sig/ISignatureCodec.java,
34192         gnu/java/security/sig/SignatureFactory.java,
34193         gnu/java/security/sig/dss/DSSSignature.java,
34194         gnu/java/security/sig/dss/DSSSignatureRawCodec.java,
34195         gnu/java/security/sig/rsa/EME_PKCS1_V1_5.java,
34196         gnu/java/security/sig/rsa/EMSA_PKCS1_V1_5.java,
34197         gnu/java/security/sig/rsa/EMSA_PSS.java,
34198         gnu/java/security/sig/rsa/RSA.java,
34199         gnu/java/security/sig/rsa/RSAPKCS1V1_5Signature.java,
34200         gnu/java/security/sig/rsa/RSAPSSSignature.java,
34201         gnu/java/security/sig/rsa/RSAPSSSignatureRawCodec.java,
34202         gnu/java/security/util/Base64.java,
34203         gnu/java/security/util/ExpirableObject.java,
34204         gnu/java/security/util/Prime2.java,
34205         gnu/java/security/util/Sequence.java,
34206         gnu/java/security/util/SimpleList.java,
34207         gnu/java/security/util/Util.java,
34208         resource/gnu/javax/security/auth/callback/MessagesBundle.properties:
34209         new files imported from GNU Crypto and Jessie.
34210
34211 2006-01-25  Tom Tromey  <tromey@redhat.com>
34212
34213         * gnu/java/net/protocol/http/ChunkedInputStream.java (read):
34214         Fixed calculation of number of bytes to read.
34215         (size, count, meta, eof): Document.
34216
34217 2006-01-25  Anthony Balkissoon  <abalkiss@redhat.com>
34218
34219         * java/lang/Character.java:
34220         (codePointCount(char[], int, int)): New API method.
34221         (codePointCount(CharSequence, int, int)): Likewise.
34222   
34223 2006-01-25  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
34224   
34225         PR 25205
34226         * javax/swing/DefaultCellEditor.java (getTreeCellEditorComponent): 
34227         Rewritten.
34228         * javax/swing/JTree.java (stopEditing, cancelEditing): Return without 
34229         action if not editing.
34230         * javax/swing/plaf/basic/BasicTreeUI.java 
34231         (CellEditorHandler.editingCancelled): Delegate to cancelEditing.
34232         (CellEditorHandler.editingStopped): Delegate to stopEditing.
34233         (EditorUpdateTimer): Removed.
34234         (TreeAction.actionPerformed): Stop and not cancel the current editing 
34235         when starting editing another node.
34236         (editorTimer, newVal): Removed.
34237         (cancelEditing): Do not send the cancel message.
34238         (completeEditing): Obtain the edited value from the editor.
34239         (finish): New method.
34240         (paintRow): Do not paint the editing component here.
34241         (startEditing, stopEditing): Rewritten.
34242         * javax/swing/tree/DefaultTreeCellEditor.java
34243         (DefaultTextField): Added SVUID.
34244         (EditorContainer): Rewritten.
34245         (RealEditorListener): New inner class.
34246         (ICON_TEXT_GAP, TREE_ICON_GAP: New constants).
34247         (constructor): Add cell editor listener. Do not instantiate timer.
34248         (actionPerformed): Return without action.
34249         (cancelCellEditing): Rewritten.
34250         (createTreeCellEditor): Add cell editor listener to the editor.
34251         (getCellEditorValue): Request the value from the realEditor.
34252         (isCellEditable): Removed timer management.
34253         (prepareForEditing): Remove all components befor adding the 
34254         editingComponent.
34255         (startEditingTimer): Start only if it is not null.
34256         (stopCellEditing): Rewritten.
34257         (stopEditingTimer): New method.
34258         (valueChanged): Do not configure editing component here.
34259   
34260 2006-01-25  Roman Kennke  <kennke@aicas.com>
34261   
34262         * javax/swing/text/html/FormView.java: New file.
34263   
34264 2006-01-25  Roman Kennke  <kennke@aicas.com>
34265   
34266         * javax/swing/JSplitPane.java
34267         (addImpl): Call resetToPreferredSizes() when no dividerLocation
34268         has been set in order to set an initial layout.
34269         * javax/swing/plaf/basic/BasicSplitPaneUI.java
34270         (BasicHorizontalLayoutManager.layoutContainer): Fixed error for
34271         layout of the right component.
34272         (BasicHorizontalLayoutManager.resetToPreferredSizes): Set the
34273         dividerLocation to the size of the left component.
34274         (createDefaultNonContinuousLayoutDivider): Fetch the color from
34275         the UIManager.
34276         (setDividerLocation): Don't validate the location here. Sometimes
34277         the divider needs to be set to an invalid location.
34278         (startDragging): Don't revalidate and repaint here.
34279         (finishDraggingTo): Don't repaint here. Also, don't call
34280         dragDividerTo() here.
34281         * javax/swing/plaf/basic/BasicLookAndFeel.java
34282         (initComponentDefaults): Added SplitPaneDivider.draggingColor
34283         default value.
34284   
34285 2006-01-25  Roman Kennke  <kennke@aicas.com>
34286   
34287         * javax/swing/JSplitPane.java
34288         (addImpl): Removed invalidate() and layout() call.
34289         * javax/swing/plaf/basic/BasicSplitPaneUI.java
34290         (PropertyHandler.propertyChange): Remove layoutContainer() and
34291         repaint() call.
34292   
34293 2006-01-25  Roman Kennke  <kennke@aicas.com>
34294   
34295         * configure.ac
34296         * native/Makefile.am
34297         * native/jni/classpath/Makefile.am
34298         * native/jni/classpath/jcl.c
34299         * native/jni/classpath/jcl.h
34300         * native/jni/classpath/native_state.c
34301         * native/jni/gtk-peer/Makefile.am
34302         * native/jni/java-io/Makefile.am
34303         * native/jni/java-io/java_io_VMFile.c
34304         * native/jni/java-io/java_io_VMObjectStreamClass.c
34305         * native/jni/java-lang/Makefile.am
34306         * native/jni/java-net/Makefile.am
34307         * native/jni/java-net/java_net_VMInetAddress.c
34308         * native/jni/java-net/javanet.c
34309         * native/jni/java-net/javanet.h
34310         * native/jni/java-nio/Makefile.am
34311         * native/jni/java-nio/gnu_java_nio_VMPipe.c
34312         * native/jni/java-nio/gnu_java_nio_VMSelector.c
34313         * native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c
34314         * native/jni/java-nio/java_nio_MappedByteBufferImpl.c
34315         * native/jni/java-nio/java_nio_VMDirectByteBuffer.c
34316         * native/jni/java-util/Makefile.am
34317         * native/jni/java-util/java_util_VMTimeZone.c
34318         * native/jni/midi-dssi/Makefile.am
34319         * native/jni/xmlj/Makefile.am
34320         * native/target/Makefile.am
34321         * native/target/Linux/target_native_math.h
34322         * native/target/Linux/target_native_memory.h
34323         * native/target/Linux/Makefile.am
34324         * native/target/Linux/target_native_io.h
34325         * native/target/Linux/target_native_math_float.h
34326         * native/target/Linux/target_native_math_int.h
34327         * native/target/generic/target_generic.c
34328         * native/target/generic/target_generic_io.c
34329         * native/target/generic/target_generic_math.h
34330         * native/target/generic/target_generic_memory.h
34331         * native/target/generic/target_generic_misc.c
34332         * native/target/generic/target_generic_network.c
34333         * native/target/generic/Makefile.am
34334         * native/target/generic/target_generic.h
34335         * native/target/generic/target_generic_file.h
34336         * native/target/generic/target_generic_io.h
34337         * native/target/generic/target_generic_math_float.h
34338         * native/target/generic/target_generic_math_int.h
34339         * native/target/generic/target_generic_misc.h
34340         * native/target/generic/target_generic_network.h:
34341         Reverted target native related changes back to the state of the
34342         0.20 release.
34343         * native/target/MinGW/.cvsignore
34344         * native/target/MinGW/Makefile.am
34345         * native/target/MinGW/target_native.h
34346         * native/target/MinGW/target_native_file.h
34347         * native/target/MinGW/target_native_io.h
34348         * native/target/MinGW/target_native_math.h
34349         * native/target/MinGW/target_native_memory.h
34350         * native/target/MinGW/target_native_misc.h
34351         * native/target/MinGW/target_native_network.h
34352         * native/target/RTEMS/.cvsignore
34353         * native/target/RTEMS/Makefile.am
34354         * native/target/RTEMS/target_native.h
34355         * native/target/RTEMS/target_native_file.h
34356         * native/target/RTEMS/target_native_io.h
34357         * native/target/RTEMS/target_native_math.h
34358         * native/target/RTEMS/target_native_memory.h
34359         * native/target/RTEMS/target_native_misc.h
34360         * native/target/RTEMS/target_native_network.h
34361         * native/target/SunOS/.cvsignore
34362         * native/target/SunOS/Makefile.am
34363         * native/target/SunOS/target_native.h
34364         * native/target/SunOS/target_native_file.h
34365         * native/target/SunOS/target_native_io.h
34366         * native/target/SunOS/target_native_math.h
34367         * native/target/SunOS/target_native_memory.h
34368         * native/target/SunOS/target_native_misc.h
34369         * native/target/SunOS/target_native_network.h
34370         * native/target/embOS/.cvsignore
34371         * native/target/embOS/Makefile.am
34372         * native/target/embOS/target_native.h
34373         * native/target/embOS/target_native_file.h
34374         * native/target/embOS/target_native_io.c
34375         * native/target/embOS/target_native_io.h
34376         * native/target/embOS/target_native_math.h
34377         * native/target/embOS/target_native_memory.h
34378         * native/target/embOS/target_native_misc.h
34379         * native/target/embOS/target_native_network.h
34380         * native/target/posix/.cvsignore
34381         * native/target/posix/Makefile.am
34382         * native/target/posix/target_posix.c
34383         * native/target/posix/target_posix.h
34384         * native/target/posix/target_posix_file.c
34385         * native/target/posix/target_posix_file.h
34386         * native/target/posix/target_posix_io.c
34387         * native/target/posix/target_posix_io.h
34388         * native/target/posix/target_posix_math.c
34389         * native/target/posix/target_posix_math.h
34390         * native/target/posix/target_posix_memory.c
34391         * native/target/posix/target_posix_memory.h
34392         * native/target/posix/target_posix_misc.c
34393         * native/target/posix/target_posix_misc.h
34394         * native/target/posix/target_posix_network.c
34395         * native/target/posix/target_posix_network.h:
34396         Removed.
34397   
34398 2006-01-24  Wolfgang Baer  <WBaer@gmx.de>
34399   
34400         * javax/print/PrintService.java,
34401         * javax/print/DocPrintJob.java,
34402         * javax/print/CancelablePrintJob.java:
34403         Added and enhanced api documentation for class and methods.             
34404
34405 2006-01-24  Wolfgang Baer  <WBaer@gmx.de>
34406
34407         * javax/print/SimpleDoc.java: Make class final.
34408         * javax/print/attribute/standard/PrinterIsAcceptingJobs.java: Likewise.
34409         * javax/print/attribute/DateTimeSyntax.java: 
34410         (toString): New overridden method.
34411         * javax/print/attribute/standard/JobStateReasons.java:
34412         (add): Use the super.add method to avoid recursion.
34413         * javax/print/attribute/standard/PrinterStateReasons.java: 
34414         (put): Use the super.put method to avoid recursion.
34415
34416 2006-01-24  Robert Schuster  <robertschuster@fsfe.org>
34417
34418         * java/beans/XMLEncoder.java:
34419         (writeExpression): Added early return (fixes PR #25941).
34420         (setExceptionListener, anonymous Class): Removed printStackTrace
34421         call.
34422         * java/beans/Encoder: Removed unused imports.
34423         (setupDefaultPersistenceDelegates): Removed unneccessary
34424         PersistenceDelegates for subclasses.
34425         * java/beans/PersistenceDelegate:
34426         (initialize): Use local variable as first argument as it was
34427         intended once.
34428         * java/beans/DefaultPersistenceDelegate:
34429         (initialize): Added call to superclass' implementation, added
34430         early return.
34431   
34432 2006-01-24  Tom Tromey  <tromey@redhat.com>
34433   
34434         * java/util/regex/PatternSyntaxException.java: Added @since.
34435         * java/util/regex/Matcher.java (Matcher): Implements MatchResult.
34436         * java/util/regex/MatchResult.java: New file.
34437   
34438 2006-01-24  David Gilbert  <david.gilbert@object-refinery.com>
34439   
34440         * javax/swing/text/StringContent.java: Added API docs all over, plus 
34441         minor reformatting.
34442   
34443 2006-01-24  Gary Benson  <gbenson@redhat.com>
34444   
34445         * java/net/SocketPermission.java: Implemented serialization.
34446   
34447 2006-01-24  David Gilbert  <david.gilbert@object-refinery.com>
34448   
34449         * javax/swing/text/StringContent.java
34450         (remove): Modified argument check to prevent removal of last character,
34451         (getChars): Removed null argument check to allow NullPointerException,
34452         added API docs,
34453         (checkLocation): Added API docs and white space.
34454   
34455 2006-01-23  Lillian Angel  <langel@redhat.com>
34456   
34457         * javax/swing/text/DefaultStyledDocument.java
34458         (insertUpdate): Should only call createFracture with 
34459         StartTagType. Added check.
34460         (insertContentTag): Should use the tags length for splitting.
34461         Also, added a check to determine if current's start and end offset are
34462         equal to the offset and endOffset. If so, only one leaf element
34463         should be added. 
34464         (createFracture): Removed FIXME. This function is complete.
34465         (split): Added calls to replace. Changed so the child is 
34466         added immediately to the paragraph. Prevents NPEs.
34467
34468 2006-01-23  Mark Wielaard  <mark@klomp.org>
34469
34470         * examples/Makefile.am (EXAMPLE_ZIP): Group cd and commands.
34471
34472 2006-01-23  Tom Tromey  <tromey@redhat.com>
34473
34474         * gnu/java/security/x509/X509Certificate.java (parse):
34475         Unconditionally read value; for version==1 case when reading
34476         algorithm ID.
34477
34478 2006-01-23  Roman Kennke  <kennke@aicas.com>
34479
34480         * javax/swing/plaf/synth/ColorType.java,
34481         * javax/swing/plaf/synth/Region.java,
34482         * javax/swing/plaf/synth/SynthConstants.java,
34483         * javax/swing/plaf/synth/SynthContext.java
34484         * javax/swing/plaf/synth/SynthGraphicsUtils.java,
34485         * javax/swing/plaf/synth/SynthLookAndFeel.java,
34486         * javax/swing/plaf/synth/SynthPainter.java,
34487         * javax/swing/plaf/synth/SynthStyle.java,
34488         * javax/swing/plaf/synth/SynthStyleFactory.java,
34489         * javax/swing/plaf/synth/package.html:
34490         New files. Added the public API and framework classes for the
34491         Synth look and feel.
34492   
34493 2006-01-23  David Gilbert  <david.gilbert@object-refinery.com>
34494   
34495         * javax/swing/text/Segment.java: API docs all over.
34496   
34497 2006-01-23  Lillian Angel  <langel@redhat.com>
34498   
34499         * javax/swing/text/DefaultStyledDocument.java
34500         (split): Should not use createLeafElement and createBranchElement here.
34501         We should just instaniate the LeafElements and BranchElements instead 
34502         to avoid the case where create*Element is overridden.
34503   
34504 2006-01-23  Lillian Angel  <langel@redhat.com>
34505   
34506         * javax/swing/text/DefaultStyledDocument.java
34507         (insertFirstContentTag): Moved check outside of if-statement.
34508         This should be checked before creating the new leaf element.
34509         (insertFracture): Fixed check to prevent an NPE. The previous
34510         leaf should only be recreated if it has been created by
34511         insertFirstContentTag. Also, fixed up code: if the endOffset is
34512         greater than the offset, then we need to create a temp leaf
34513         as a place holder. Otherwise, the leaf elements should be
34514         created normally.
34515   
34516 2006-01-23  Gary Benson  <gbenson@redhat.com>
34517   
34518         * java/net/SocketPermission.java: Almost completely rewritten.
34519   
34520 2006-01-23  Lillian Angel  <langel@redhat.com>
34521         
34522         * javax/swing/text/DefaultStyledDocument.java
34523         (insertFracture): Set temp leaf's attributes to prevent an NPE.
34524   
34525 2006-01-23  Lillian Angel  <langel@redhat.com>
34526   
34527         * javax/swing/text/DefaultStyledDocument.java:
34528         Formatted ElementBuffer and added new fields.
34529         (remove): Added check to determine if length is 0.
34530         (insertFirstContentTag): Initialized firstCreated to the element that is created 
34531         by the first tag encountered. Removed check in JoinPreviousDirection case, no
34532         longer needed. In OriginateDirection case, added a loop to remove all old leafs
34533         that have been recreated.
34534         (insertContentTag): Cleaned up code. Removed checks that did not do anything.
34535         (insertFracture): Fixed up code, removed unneeded objects and checks. Added
34536         FIXME tags to the lines that need to be rewritten.      
34537
34538 2006-01-23  Mark Wielaard  <mark@klomp.org>
34539
34540         * examples/Makefile.am: Add support for fastjar.
34541
34542 2006-01-23  Ito Kazumitsu  <kaz@maczuka.gcd.org>
34543
34544         * gnu/regexp/REToken.java(empty): Made Cloneable.
34545         * gnu/regexp/RETokenOneOf.java(match): RE.java(match):
34546         Use separate methods matchN and matchP depending on the
34547         boolean negative.
34548         (matchN): New method used when negative. Done as before.
34549         (matchP): New method used when not negative. Each token is
34550         tried not by itself but by a clone of it.
34551
34552 2006-01-23  Chris Burdess  <dog@gnu.org>
34553
34554         Fixes bug #25906
34555         * gnu/xml/dom/DomCharacterData.java: Use a separate empty node list
34556           class to avoid getLength method contention.
34557         * gnu/xml/stream/SAXParser.java: Rethrow correct exception.
34558
34559 2006-01-23  Chris Burdess  <dog@gnu.org>
34560
34561         * native/jni/java-util/Makefile.am: Include library required
34562           explicitly by BSD systems.
34563         * native/target/generic/target_generic_misc.h: Remove old commented
34564           out code.
34565         * native/target/generic/target_generic_network.h: Fallbacks (to
34566           SO_NOSIGPIPE and then 0) for non-portable glibc MSG_NOSIGNAL.
34567
34568 2006-01-22  Tom Tromey  <tromey@redhat.com>
34569
34570         * native/target/posix/.cvsignore: Added .deps.
34571
34572 2006-01-22  Mark Wielaard  <mark@klomp.org>
34573
34574         Fixes bug #25832,
34575         reported by James Damour <James.Damour@corp.request.com>
34576         * java/awt/Container.java (addImpl): Use empty string as name when
34577         null constraints for LayoutManager.addLayoutComponent().
34578
34579 2006-01-22  Chris Burdess  <dog@gnu.org>
34580
34581         Fixes bug #25903
34582         * gnu/xml/dom/DomDocumentBuilder.java: Default to using file URL
34583           representing current directory as base for relative URLs.
34584
34585 2006-01-22  Ito Kazumitsu  <kaz@maczuka.gcd.org>
34586
34587         Fixes bug #25837
34588         * gnu/regexp/REMatch.java(empty): New boolean indicating
34589         an empty string matched.
34590         * gnu/regexp/RE.java(match): Sets empty flag when an empty
34591         string matched.
34592         (initialize): Support back reference \10, \11, and so on.
34593         (parseInt): renamed from getEscapedChar and returns int.
34594         * gnu/regexp/RETokenRepeated.java(match): Sets empty flag
34595         when an empty string matched. Fixed a bug of the case where
34596         an empty string matched. Added special handling of {0}.
34597         * gnu/regexp/RETokenBackRef.java(match): Sets empty flag
34598         when an empty string matched. Fixed the case insensitive matching.
34599   
34600 2006-01-21  Roman Kennke  <kennke@aicas.com>
34601   
34602         * javax/swing/plaf/metal/MetalSplitPaneDivider.java
34603         (paint): Added painting of border if one is installed.
34604   
34605 2006-01-21  Roman Kennke  <kennke@aicas.com>
34606   
34607         PR classpath/25843:
34608         * javax/swing/plaf/basic/BasicBorders.java
34609         (getSplitPaneDividerBorder): Use new border constructor
34610         without arguments.
34611         (SplitPaneDividerBorder.highlight): Removed unneeded field.
34612         (SplitPaneDividerBorder.shadow): Removed unneeded field.
34613         (SplitPaneDividerBorder()): Changed constructor to do nothing. The
34614         colors are fetched dynamically in the paintBorder method.
34615         (SplitPaneDividerBorder.paintBorder): Fetch colors dynamically from
34616         the look and feel.
34617         (SplitPaneDividerBorder.isBorderOpaque): Returns true
34618         unconditionally.
34619         * javax/swing/plaf/basic/BasicLookAndFeel.java
34620         (initComponentDefaults): Added default for SplitPaneDivider.border.
34621         * javax/swing/plaf/basic/BasicSplitPaneDivider.java
34622         (tmpBorder): Removed unneeded inner class.
34623         (BasicSplitPaneDivider): Removed setting of border.
34624         (setSplitPaneUI): Don't add the mouse handler to the splitpane
34625         itself.
34626         * javax/swing/plaf/basic/BasicSplitPaneUI.java
34627         (BasicHorizontalLayoutManager.layoutContainer): Mostly rewritten
34628         to get behaviour right.
34629         (BasicHorizontalLayoutManager.distributeExtraSpace): Removed
34630         implementation. This must be rewritten since the layout now works
34631         slightly different (basically, it shouldn't modify the sizes[]
34632         here but instead the dividerLocation.
34633         (dividerLocation): New field.
34634         (installDefaults): Initialize border on divider.
34635         (uninstallDefaults): Only remove background color and border from
34636         splitPane if they are instances of UIDefaults (== not set by
34637         application).
34638         (setDividerLocation): Set the dividerLocation field instead of
34639         doing stunt acts here.
34640         (getDividerLocation): Return dividerLocation field.
34641         (getMinimumDividerLocation): Fixed calculation of minimum location.
34642         
34643 2006-01-21  Guilhem Lavaux  <guilhem@kaffe.org>
34644   
34645         * m4/acinclude.m4
34646         (CLASSPATH_WITH_GLIBJ): Add support for fastjar.
34647   
34648         * lib/Makefile.am: Likewise. 
34649   
34650 2006-01-21  Roman Kennke  <kennke@aicas.com>
34651   
34652         * javax/swing/PopupFactory.java
34653         (getPopup): If there is no Swing root found in any way, use a
34654         heavyweight popup. This is useful for mixed Swing/AWT GUIs, or
34655         for the Swing AWT peers.
34656   
34657 2006-01-20  Tom Tromey  <tromey@redhat.com>
34658   
34659         * gnu/java/net/protocol/http/HTTPURLConnection.java (connect):
34660         Read response body for redirect.
34661   
34662 2006-01-20  Chris Burdess  <dog@gnu.org>
34663   
34664         * gnu/java/net/protocol/http/HTTPURLConnection.java: Don't follow
34665           redirects on 304.
34666   
34667 2006-01-20  Lillian Angel  <langel@redhat.com>
34668   
34669         * javax/swing/text/DefaultStyledDocument.java
34670         (pad): Removed, not needed.
34671         (printElements): Likewise.
34672         (printEdit): Likewise.
34673   
34674 2006-01-20  Roman Kennke  <kennke@aicas.com>
34675   
34676         * javax/swing/text/DefaultFormatter.java
34677         (DefaultFormatter): Don't set a value class.
34678   
34679 2006-01-19  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
34680   
34681         * javax/swing/DefaultCellEditor.java: Commented.
34682   
34683 2006-01-19  Roman Kennke  <kennke@aicas.com>
34684   
34685         * javax/swing/JOptionPane.java
34686         Added cast to Frame for JDialog constructor.
34687   
34688 2006-01-19  Roman Kennke  <kennke@aicas.com>
34689   
34690         * javax/swing/JWindow.java
34691         (JWindow(Window)): Fixed to accept null owner argument.
34692         (JWindow(Window,GraphicsConfiguration)): Fixed to accept null
34693         owner argument.
34694         * javax/swing/SwingUtilities.java
34695         (getOwnerFrame): Owner parameter and return value are fixed to
34696         be of type Window for compatibity with the above JWindow
34697         constructor.
34698         * javax/swing/JDialog.java
34699         (JDialog): Added cast to Frame to make sure the correct constructor
34700         is called.
34701         * javax/swing/JFileChooser.java
34702         (createDialog): Added cast to Frame for JDialog constructor.
34703   
34704 2006-01-19  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
34705   
34706         * javax/swing/JTable.java (rowAtPoint): Rewritten.
34707   
34708 2006-01-19  Roman Kennke  <kennke@aicas.com>
34709   
34710         * javax/swing/JWindow.java: Added API docs to the constructors.
34711   
34712 2006-01-19  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
34713   
34714         * javax/swing/JTable.java: Commenting method headers.
34715         (EditorUpdateTimer): Removed.
34716   
34717 2006-01-19  Roman Kennke  <kennke@aicas.com>
34718   
34719         * javax/swing/JDialog.java
34720         (JDialog()): Call SwingUtilities.getOwnerFrame() with null.
34721         (JDialog(Frame,String,boolean,GraphicsConfiguration)): Call
34722         SwingUtilities.getOwnerFrame() with the owner argument.
34723         * javax/swing/JFileChooser.java
34724         (showOpenDialog(Component)): Call pack() on the dialog instead of
34725         setting a fixed height.
34726         (showSaveDialog()): Likewise.
34727         (showDialog()): Likewise.
34728         (createDialog): Call SwingUtilities.getOwnerFrame() with null.
34729         * javax/swing/JOptionPane.java: Call SwingUtilities.getOwnerFrame()
34730         with null.
34731         * javax/swing/JWindow.java
34732         (JWindow()): Call SwingUtilities.getOwnerFrame() with null.
34733         (JWindow(Frame)): Call SwingUtilities.getOwnerFrame() with owner
34734         argument.
34735         * javax/swing/SwingUtilities.java
34736         (getOwnerFrame): Changed to take a owner parameter that is returned
34737         as owner frame when not null.
34738   
34739 2006-01-19  Roman Kennke  <kennke@aicas.com>
34740   
34741         * gnu/java/awt/peer/swing/SwingFramePeer.java
34742         (handleMouseEvent): Fixed handling of mouse events.
34743         (handleMouseMotionEvent): Fixed handling of mouse events.
34744
34745 2006-01-19  Roman Kennke  <kennke@aicas.com>
34746
34747         * native/target/generic/target_generic_misc.c:
34748         (targetGenericMisc_formatString): Added missing method.
34749
34750 2006-01-19  Wolfgang Baer  <WBaer@gmx.de>
34751
34752         * m4/acinclude.m4: Test also for ecj found before exiting configure
34753         with no javac found error message. 
34754
34755 2006-01-19  Ito Kazumitsu  <kaz@maczuka.gcd.org>
34756
34757         Fixes bug #23212
34758         * gnu/regexp/RE.java(initialize): Support escaped characters such as
34759         \0123, \x1B, \u1234.
34760         (getEscapedChar): New method.
34761         (CharExpression): New inner class.
34762         (getCharExpression): New Method.
34763         * gnu/regexp/RESyntax.java(RE_OCTAL_CHAR, RE_HEX_CHAR,
34764         RE_UNICODE_CHAR): New syntax bits.
34765
34766 2006-01-19  Roman Kennke  <kennke@aicas.com>
34767
34768         * native/target/Makefile.am: Fixed so that posix stuff is really
34769         only built when requested.
34770
34771 2006-01-19  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
34772
34773         * javax/swing/JTable.java (editingStopped, editingCancelled):
34774         Repaint the edited cell.
34775         (setValueAt): Do not add the value object to this container.
34776         (editorTimer, rowBeingEdited, columnBeingEdited, oldCellValue): Removed.
34777         (editingStopped): Use editingRow, editingColumn and not
34778         rowBeingEdited, columnBeingEdited. (editValueAt): rewritten.
34779         (doLayout): Move the editor component, if present, into the new
34780         location and call repaint(). (moveToCellBeingEdited): new method.
34781         (TableTextField): new inner class.
34782         (getDefaultEditor): Instantiante TableTextField, not JTextField.
34783         (setValueAt): Repaint the changed segment.
34784         (createDefaultEditors): Implemented.
34785         (BooleanCellRenderer): Center the checkbox and use the default foreground
34786         and background colors.   
34787         * javax/swing/plaf/basic/BasicTableUI.java
34788         (paintCell): Do not paint the caret here. Do not accept unused parameters.
34789         (paint): No need to allocate rectangle for each cell.   
34790         * javax/swing/DefaultCellEditor.java: Rewritten.         
34791         * examples/gnu/classpath/examples/swing/Demo.java (mkTable):
34792         Use TableDemo.java table example.
34793         * examples/gnu/classpath/examples/swing/TableDemo.java: New file.
34794
34795 2006-01-19  Roman Kennke  <kennke@aicas.com>
34796
34797         * configure.ac: Added/fixed --enable-posix-layer option to enable
34798         build of posix layer.
34799         * native/target/Makefile.am: Added build for posix layer.
34800
34801 2006-01-19  Christian Thalinger  <twisti@complang.tuwien.ac.at>
34802
34803         * configure.ac: Set TARGET to Linux per default.
34804         * native/target/Makefile.am (libtarget_la_LIBADD): Removed
34805         libtargetos.la.
34806         * native/target/Linux/Makefile.am: Don't build a libtargetos.la.
34807         * native/target/generic/Makefile.am (INCLUDES): Renamed to
34808         AM_CPPFLAGS.
34809         
34810 2006-01-19  Raif S. Naffah  <raif@swiftdsl.com.au>
34811
34812         * java/security/interfaces/RSAMultiPrimePrivateCrtKey.java: Replaced
34813           what looked like proprietary documentation with original or new one.
34814         * java/security/spec/PSSParameterSpec.java: Likewise.
34815         * java/security/spec/RSAMultiPrimePrivateCrtKeySpec.java: Likewise.
34816         * java/security/spec/RSAOtherPrimeInfo.java: Likewise.
34817         * java/security/AlgorithmParameterGenerator.java: Likewise.
34818         * java/security/AlgorithmParameters.java: Likewise.
34819         * java/security/Identity.java: Likewise.
34820         * java/security/IdentityScope.java: Likewise.
34821         * java/security/KeyFactory.java: Likewise.
34822         * java/security/KeyPairGenerator.java: Likewise.
34823         * java/security/MessageDigest.java: Likewise.
34824         * java/security/Policy.java: Likewise.
34825         * java/security/ProtectionDomain.java: Likewise.
34826         * java/security/Security.java: Likewise.
34827         * java/security/Signature.java: Likewise.
34828         * java/security/SignatureSpi.java: Likewise.
34829         * java/security/SignedObject.java: Likewise.
34830         * java/security/Signer.java: Likewise.
34831   
34832 2006-01-18  Roman Kennke  <kennke@aicas.com>
34833   
34834         * configure.ac: Added --enable-posix-layer option to enable
34835         build of the posix target layer.
34836   
34837 2006-01-18  Roman Kennke  <kennke@aicas.com>
34838   
34839         * native/jni/java-net/java_net_VMInetAddress.c
34840         (Java_java_net_VMInetAddress_lookupInaddrAny): Use target native macro
34841         for INADDR_ANY.
34842   
34843 2006-01-18  Roman Kennke  <kennke@aicas.com>
34844   
34845         * native/jni/java-util/java_util_VMTimeZone.c:
34846         (Java_java_util_VMTimeZone_getSystemTimeZoneId): Rewritten
34847         to use target native layer.
34848         (jint_to_charbuf): Removed unneeded helper function.
34849   
34850 2006-01-18  Roman Kennke  <kennke@aicas.com>
34851   
34852         * native/jni/java-nio/gnu_java_nio_VMPipe.c:
34853         Removed unnecessary include.
34854         * native/jni/java-nio/gnu_java_nio_VMSelector.c:
34855         Reorganized includes to only include sys/* headers when available.
34856         * native/jni/java-nio/java_nio_MappedByteBufferImpl.c:
34857         (get_pagesize): Return 0 when nothing else works.
34858         (Java_java_nio_MappedByteBufferImpl_unmapImpl):
34859         Replaced munmap() and strerror() with corresponding target macros.
34860         (Java_java_nio_MappedByteBufferImpl_isLoadedImpl):
34861         Replaced strerror() with corresponding target macro.
34862         (Java_java_nio_MappedByteBufferImpl_forceImpl):
34863         Replaced strerror() with corresponding target macro.
34864         * native/jni/java-nio/java_nio_VMDirectByteBuffer.c:
34865         (Java_java_nio_VMDirectByteBuffer_allocate):
34866         Replaced malloc() with the corresponding target macro.
34867         (Java_java_nio_VMDirectByteBuffer_free):
34868         Replaced free() with the corresponding target macro.
34869         (Java_java_nio_VMDirectByteBuffer_put__Lgnu_classpath_Pointer_2IB):
34870         Add index to pointer when assigning the value.
34871         (Java_java_nio_VMDirectByteBuffer_get__Lgnu_classpath_Pointer_2I_3BII):
34872         Replaced memcpy with corresponding target macro. Add index when
34873         doing the memcpy, not when fetching the pointer.
34874         (Java_java_nio_VMDirectByteBuffer_put__Lgnu_classpath_Pointer_2I_3BII):
34875         Replaced memcpy with corresponding target macro.
34876         (Java_java_nio_VMDirectByteBuffer_shiftDown):
34877         Replaced memmove with the corresponding target macro.
34878
34879 2006-01-17  Tom Tromey  <tromey@redhat.com>
34880
34881         PR classpath/20198:
34882         * java/net/URLClassLoader.java (FileURLLoader): Added argument.
34883         (JarURLLoader): Likewise.
34884         (addURLImpl): Canonicalize file URLs.
34885
34886 2006-01-17  Christian Thalinger  <twisti@complang.tuwien.ac.at>
34887
34888         * configure.ac: Set TARGET.
34889         * native/Makefile.am, native/jni/classpath/Makefile.am,
34890         native/jni/gtk-peer/Makefile.am, native/jni/java-io/Makefile.am,
34891         native/jni/java-lang/Makefile.am, native/jni/java-net/Makefile.am,
34892         native/jni/java-nio/Makefile.am, native/jni/midi-dssi/Makefile.am,
34893         native/jni/xmlj/Makefile.am, native/target/Makefile.am,
34894         native/target/Linux/Makefile.am,
34895         native/target/generic/Makefile.am,
34896         native/target/posix/Makefile.am: Build libclasspath.so with jcl
34897         and target stuff linked in and link it against lib*.so libraries.
34898
34899 2006-01-17  Roman Kennke  <kennke@aicas.com>
34900
34901         * native/jni/java-net/javanet.c:
34902         (_javanet_connect): Changed type of some local variables to jint.
34903         Fixed error handling to throw a SocketTimeoutException if the
34904         connection attempt times out.
34905         (_javanet_bind): Changed type of some local variables to jint.
34906         (_javanet_accept): Likewise.
34907         (_javanet_recvfrom): Likewise.
34908         (_javanet_sendto): Fixed error handling to throw a
34909         PortUnreachableException when connection is refused.
34910         (_javanet_get_option): Changed type of some local variables to jint.
34911         Implemented SOCKOPT_SO_BROADCAST.
34912         (_javanet_shutdownInput): Replaced shutdown call with corresponding
34913         target native macro.
34914         (_javanet_shutdownOutput): Replaced shutdown call with corresponding
34915         target native macro.
34916         * native/jni/java-net/javanet.h:
34917         Defined SOCKET_TIMEOUT_EXCEPTION, PORT_UNREACHABLE_EXCEPTION and
34918         SOCKOPT_SO_BROADCAST.
34919   
34920 2006-01-17  Lillian Angel  <langel@redhat.com>
34921   
34922         * javax/swing/text/DefaultStyledDocument.java
34923         (insert): Cleaned up loop. No need to make so many calls
34924         to getAddedElements and getRemovedElements.
34925         (insertFracture): Removed unneeded array.
34926   
34927 2006-01-17  Lillian Angel  <langel@redhat.com>
34928         
34929         * javax/swing/text/JTextComponent.java
34930         (AccessibleJTextComponent): Implemented.
34931         (getCaretPosition): Implemented.
34932         (getSelectedText): Implemented.
34933         (getSelectionStart): Implemented.
34934         (getSelectionEnd): Implemented.
34935         (getSelectionEnd): Implemented.
34936         (getCharCount): Implemented.
34937         (insertTextAtIndex): Implemented.
34938         (getTextRange): Implemented.
34939         (delete): Implemented.
34940         (cut): Implemented.
34941         (paste): Implemented.
34942         (replaceText): Implemented.
34943         (selectText): Implemented.
34944   
34945 2006-01-17  Anthony Balkissoon  <abalkiss@redhat.com>
34946   
34947         * javax/swing/text/DefaultStyledDocument.java:
34948         (pad): New debugging method.
34949         (printElements): Likewise.
34950         (printPendingEdits): Likewise.
34951         (printElement): Likewise.
34952         (Edit): Improved docs, moved this class to be an inner class of
34953         ElementBuffer since it only applies within that scope.  Changed added 
34954         and removed to be Vectors instead of arrays because we need to be able 
34955         to add to them after construction.
34956         (ElementBuffer): Updated docs with link to article that helped in this
34957         classes implementation.
34958         (ElementBuffer.Edit.getRemovedElements): New method.
34959         (ElementBuffer.Edit.getAddedElements): Likewise.
34960         (ElementBuffer.Edit.addRemovedElement): Likewise.
34961         (ElementBuffer.Edit.addRemovedElements): Likewise.
34962         (ElementBuffer.Edit.addAddedElement): Likewise.
34963         (ElementBuffer.Edit.addAddedElements): Likewise.
34964         (ElementBuffer.Edit<init>): Improved docs, call addRemovedElements and 
34965         addAddedElements.
34966         (ElementBuffer.getEditForParagraphAndIndex): New method.
34967         (ElementBuffer.removeUpdate): Changed type of paragraph to 
34968         BranchElement.  Corrected style of adding the edit to use the new Edit
34969         facilities.
34970         (ElementBuffer.changeUpdate): Changed style of adding the edit to use
34971         the new Edit facilities.
34972         (ElementBuffer.split): Likewise.
34973         (ElementBuffer.insertParagraph): Likewise.
34974         (ElementBuffer.insertContentTag): Likewise.
34975         (ElementBuffer.insert): Push all BranchElements until the deepest one, 
34976         not just the root and the first one. Apply the structural changes to 
34977         the tree at the same time as updating the DocumentEvent.
34978         (ElementBuffer.insertUpdate): Fixed docs.  Removed the special case 
34979         handling of EndTags as the first ElementSpec.  Instead have to handle
34980         ContentTags as a special case if they are the first ElementSpec and if
34981         not have to fracture the tree.
34982         (ElementBuffer.createFracture): New method.  May not be complete yet.
34983         Added FIXME indicating what may remain to be done.
34984         (ElementBuffer.insertFirstContentTag): New method.
34985         (ElementBuffer.insertFracture): Added FIXME explaining what remains to
34986         be done.  Changed the adding of edits to use the new Edit facilities.
34987         Removed the adding of edits for Elements that weren't in the tree prior
34988         to the insertion.
34989         (insertUpdate): Removed incorrect condition for setting a StartTag's
34990         direction to JoinNextDirection.
34991         * javax/swing/text/StyleContent.java: 
34992         (SmallAttributeSet.toString): Fixed an off-by-one error in the loop 
34993         that was causing an ArrayOutOfBoundsException.
34994   
34995 2006-01-17  Roman Kennke  <kennke@aicas.com>
34996   
34997         * native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c:
34998         (Java_gnu_java_nio_channels_FileChannelImpl_init): Improved
34999         exception messages a little.
35000         (Java_gnu_java_nio_channels_FileChannelImpl_open): Provided
35001         alternative implementation for systems without filesystems.
35002         Replaced snprintf with the corresponding target native macro.
35003         (Java_gnu_java_nio_channels_FileChannelImpl_implCloseChannel):
35004         Only do something when we have a filesystem.
35005         (Java_gnu_java_nio_channels_FileChannelImpl_available): Provided
35006         alternative implementation for systems without filesystems.
35007         (Java_gnu_java_nio_channels_FileChannelImpl_size): Provided
35008         alternative implementation for systems without filesystems.
35009         (Java_gnu_java_nio_channels_FileChannelImpl_implPosition): Provided
35010         alternative implementation for systems without filesystems.
35011         (Java_gnu_java_nio_channels_FileChannelImpl_seek):
35012         Only do something when we have a filesystem.
35013         (Java_gnu_java_nio_channels_FileChannelImpl_implTruncate):
35014         Only do something when we have a filesystem.
35015         (Java_gnu_java_nio_channels_FileChannelImpl_mapImpl): Provided
35016         alternative implementation for systems without filesystems.
35017         (Java_gnu_java_nio_channels_FileChannelImpl_read__):
35018         Replaced ssize_t variables with jint. Provided
35019         alternative implementation for systems without filesystems.
35020         (Java_gnu_java_nio_channels_FileChannelImpl_read___3BII):
35021         Replaced ssize_t variables with jint. Provided
35022         alternative implementation for systems without filesystems.
35023         (Java_gnu_java_nio_channels_FileChannelImpl_write__I):
35024         Replaced ssize_t variables with jint. Provided
35025         alternative implementation for systems without filesystems.
35026         (Java_gnu_java_nio_channels_FileChannelImpl_force):
35027         Only do something when we have a filesystem.
35028         (Java_gnu_java_nio_channels_FileChannelImpl_write___3BII):
35029         Replaced ssize_t variables with jint. Provided
35030         alternative implementation for systems without filesystems.
35031         (Java_gnu_java_nio_channels_FileChannelImpl_lock): Reimplemented
35032         to use the corresponding target native macro.
35033         (Java_gnu_java_nio_channels_FileChannelImpl_unlock): Reimplemented
35034         to use the corresponding target native macro.
35035   
35036 2006-01-17  Lillian Angel  <langel@redhat.com>
35037   
35038         * javax/swing/text/DefaultTextUI.java:
35039         Added deprecated tag.
35040         * javax/swing/text/JTextComponent.java
35041         (AccessibleJTextComponent): Fixed API doc and
35042         partiall9 implemented.
35043         (getCaretPosition): Fixed API doc and implemented.
35044         (getSelectedText): Fixed API doc.
35045         (getSelectionStart): Likewise.
35046         (getSelectionEnd): Likewise.
35047         (caretUpdate): Fixed API doc and
35048         partially implemented.
35049         (getAccessibleStateSet): Likewise.
35050         (getAccessibleRole): Fixed API doc and implemented.
35051         (getAccessibleEditableText): Implemented.
35052         (getAccessibleText): Fixed API doc and implemented.
35053         (insertUpdate): Fixed API doc.
35054         (changedUpdate): Likewise.
35055         (getIndexAtPoint): Likewise.
35056         (getRootEditorRect): Removed.
35057         (getCharacterBounds): Fixed API doc.
35058         (getCharCount): Likewise.
35059         (getCharacterAttribute): Likewise.
35060         (getAtIndex): Likewise.
35061         (getAfterIndex): Likewise.
35062         (getBeforeIndex): Likewise.
35063         (getAccessibleActionCount): Added function stub.
35064         (getAccessibleActionDescription): Added function,
35065         partially implemented.
35066         (doAccessibleAction): Added function stub.
35067         (setTextContents): Likewise.
35068         (insertTextAtIndex): Likewise.
35069         (delete): Likewise.
35070         (cut): Likewise.
35071         (paste): Likewise.
35072         (replaceText): Likewise.
35073         (selectText): Likewise.
35074         (setAttributes): Likewise.
35075         (getAccessibleContext): Implemented.
35076   
35077 2006-01-17  Ito Kazumitsu  <kaz@maczuka.gcd.org>
35078   
35079         Fixes bug #25817
35080         * gnu/regexp/RETokenRange.java(constructor):
35081         Keep lo and hi as they are.
35082         (match): Changed the case insensitive comparison.
35083   
35084 2006-01-17  Ito Kazumitsu  <kaz@maczuka.gcd.org>
35085   
35086         * gnu/regexp/RETokenChar.java(chain):
35087         Do not concatenate tokens whose insens flags are diffent.
35088   
35089 2006-01-17  Roman Kennke  <kennke@aicas.com>
35090   
35091         * native/target/generic/target_generic_network.c:
35092         (targetGenericNetwork_receive): Fixed signature to match the
35093         corresponding .h file.
35094         (targetGenericNetwork_receiveWithAddressPort): Fixed signature
35095         to match the corresponding .h file.
35096   
35097 2006-01-17  Roman Kennke  <kennke@aicas.com>
35098   
35099         * native/jni/classpath/jcl.c:
35100         (JCL_malloc): Replaced calls to malloc with the corresponding
35101         target layer macro.
35102         (JCL_free): Replaced calls to free with the corresponding
35103         target layer macro.
35104         * native/jni/classpath/native_state.c:
35105         (cp_gtk_init_state_table_with_size): Replaced calls to malloc and
35106         calloc with the corresponding target layer macro.
35107         (remove_node): Replaced calls to free with the corresponding
35108         target layer macro.
35109         (add_node): Replaced calls to malloc with the corresponding
35110         target layer macro.
35111
35112 2006-01-17  Roman Kennke  <kennke@aicas.com>
35113
35114         * native/jni/java-io/java_io_VMObjectStreamClass.c:
35115         (getFieldReference): Use MALLOC/FREE macros for portability instead
35116         of direct call to malloc() and free().
35117
35118 2006-01-17  Roman Kennke  <kennke@aicas.com>
35119
35120         * native/jni/classpath/jcl.c: Added missing imports.
35121         (JCL_realloc): Fixed signature to include oldsize. This is needed
35122         for some targets. Make this function use the MEMORY_REALLOC macro
35123         for portability.
35124         * native/jni/classpath/jcl.h
35125         (JCL_realloc): Adjusted signature.
35126         * native/jni/java-io/java_io_VMFile.c:
35127         (Java_java_io_VMFile_create): Use target layer macro for handling
35128         errno, for portability.
35129         (Java_java_io_VMFile_length): Release filename string in error cases
35130         before returning.
35131         (Java_java_io_VMFile_list): Initialize filename variable. Use new
35132         version of JCL_realloc.
35133         * native/jni/java-net/java_net_VMInetAddress.c:
35134         (Java_java_net_VMInetAddress_getHostByName): Use renamed macro
35135         TARGET_NATIVE_NETWORK_GET_HOSTADDRESS_BY_NAME.
35136         * native/jni/java-net/javanet.c:
35137         (_javanet_bind): Make errorstr variable const to avoid compiler
35138         warning.
35139         (_javanet_set_option): Fixed typo.
35140         (_javanet_get_option): Fixed typo.
35141         * native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c:
35142         (Java_gnu_java_nio_channels_FileChannelImpl_open): Made
35143         error_string variable const to avoid compiler warning.
35144         * native/target/generic/target_generic_file.h:
35145         Replaced // comments with /* */ comments to avoid compiler warnings.
35146         Added some spaces to make code better readable.
35147         * native/target/generic/target_generic_memory.h:
35148         Replaced // comments with /* */ comments to avoid compiler warnings.
35149         * native/target/generic/target_generic_misc.c:
35150         Removed unused TARGET_NATIVE_MISC_FORMAT_STRING macro. This caused
35151         compiler warnings due to use of varargs.
35152         * native/target/generic/target_generic_misc.h:
35153         Removed unused TARGET_NATIVE_MISC_FORMAT_STRING macro. This caused
35154         compiler warnings due to use of varargs.
35155         * native/target/generic/target_generic_network.h:
35156         Replaced // comments with /* */ comments to avoid compiler warnings.
35157         (targetGenericNetwork_receive): Fixed signature to use signed chars
35158         for buffer parameter to avoid warning when passing a jbyte to the
35159         function.
35160   
35161 2006-01-17  David Gilbert  <david.gilbert@object-refinery.com>
35162   
35163         * javax/swing/text/StyleConstants.java
35164         (getAlignment): Removed isDefined() check, so that resolving parent is 
35165         used for lookup,
35166         (getBackground): Likewise, plus changed default value to Color.BLACK,
35167         (getBidiLevel): Removed isDefined() check,
35168         (getComponent): Likewise,
35169         (getFirstLineIndent): Likewise,
35170         (getFontFamily): Likewise,
35171         (getFontSize): Likewise,
35172         (getForeground): Likewise,
35173         (getIcon): Likewise,
35174         (getLeftIndent): Likewise,
35175         (getLineSpacing): Likewise,
35176         (getRightIndent): Likewise,
35177         (getSpaceAbove): Likewise,
35178         (getSpaceBelow): Likewise,
35179         (getTabSet): Likewise,
35180         (isBold): Likewise,
35181         (isItalic): Likewise,
35182         (isStrikeThrough): Likewise,
35183         (isSubscript): Likewise,
35184         (isSuperscript): Likewise,
35185         (isUnderline): Likewise.
35186
35187 2006-01-17  Gary Benson  <gbenson@redhat.com>
35188
35189         * java/lang/System.java (setSecurityManager): Catch
35190         ClassNotFoundException not Throwable.
35191
35192 2006-01-16  Anthony Green  <green@redhat.com>
35193
35194         PR classpath/25803
35195         * gnu/java/net/protocol/http/Request.java
35196           (createResponseBodyStream): Remove Content-Encoding for
35197           compressed streams.
35198   
35199 2006-01-16  Chris Burdess  <dog@gnu.org>
35200   
35201         * gnu/xml/stream/XMLParser.java,
35202           gnu/xml/stream/XMLStreamWriterImpl.java: Thoroughly check
35203           XMLStreamWriter arguments for conformance to the XML specifications.
35204         * gnu/xml/transform/Stylesheet.java,
35205           gnu/xml/transform/Template.java,
35206           gnu/xml/transform/TransformerImpl.java,
35207           gnu/xml/xpath/LangFunction.java,
35208           gnu/xml/xpath/Selector.java: better handling of template priorities;
35209           fix indents when pretty-printing; recursive tests for xml:lang.
35210         * gnu/xml/util/XHTMLWriter.java,
35211           gnu/xml/util/XMLWriter.java: Deprecate old serializer classes.
35212
35213 2006-01-16  Roman Kennke  <kennke@aicas.com>
35214
35215         * native/target/MinGW/.cvsignore: New file.
35216         * native/target/RTEMS/.cvsignore: New file.
35217         * native/target/SunOS/.cvsignore: New file.
35218         * native/target/embOS/.cvsignore: New file.
35219         * native/target/posix/.cvsignore: New file.
35220
35221 2006-01-16  David Gilbert  <david.gilbert@object-refinery.com>
35222
35223         * javax/swing/text/StyleConstants.java: Updated API docs all over.
35224
35225 2006-01-16  Roman Kennke  <kennke@aicas.com>
35226
35227         * configure.ac: Include new target native directories in build.
35228
35229 2006-01-16  Roman Kennke  <kennke@aicas.com>
35230
35231         * native/target/generic/target_generic_file.h: Added missing
35232         include.
35233         * native/target/generic/target_generic_network.c: Fixed several
35234         typos and includes.
35235         * native/target/generic/target_generic_network.h: Likewise.
35236
35237 2006-01-16  Roman Kennke  <kennke@aicas.com>
35238
35239         * native/target/Makefile.am: Adjusted SUBDIRS and DIST_SUBDIRS
35240         to include the new targets.
35241         * native/target/posix/Makefile.am: Fixed filenames.
35242
35243 2006-01-16  Roman Kennke  <kennke@aicas.com>
35244
35245         * native/target/Makefile.am: Include new targets.
35246         * native/target/Linux/Makefile.am: Include new memory layer.
35247         * native/target/MinGW/Makefile.am: New file. Includes MinGW in dist.
35248         * native/target/RTEMS/Makefile.am: New file. Includes RTEMS in dist.
35249         * native/target/SunOS/Makefile.am: New file. Includes SunOS in dist.
35250         * native/target/embOS/Makefile.am: New file. Includes embOS in dist.
35251         * native/target/generic/Makefile.am: Include new memory and math
35252         layer.
35253         * native/target/posix/Makefile.am: New file. Includes posix in dist.
35254   
35255 2006-01-16  Ito Kazumitsu  <kaz@maczuka.gcd.org>
35256   
35257         Fixes bug #22884
35258         * gnu/regexp/RE.java(initialize): Parse embedded flags.
35259         * gnu/regexp/RESyntax.java(RE_EMBEDDED_FLAGS): New syntax bit.
35260   
35261 2006-01-16  Roman Kennke  <kennke@aicas.com>
35262   
35263         * native/target/generic/target_generic_network.c: Fixed typo.
35264         * native/target/generic/target_generic_network.h: Fixed typo.
35265   
35266 2006-01-16  Nicolas Geoffray  <nicolas.geoffray@menlina.com>
35267   
35268         * doc/vmintegration.texinfo: Updated subsection of the
35269         java.lang.InstrumentationImpl documentation.
35270   
35271 2006-01-16  Roman Kennke  <kennke@aicas.com>
35272   
35273         * native/target/RTEMS/target_native.h,
35274         * native/target/RTEMS/target_native_file.h,
35275         * native/target/RTEMS/target_native_io.h,
35276         * native/target/RTEMS/target_native_math.h,
35277         * native/target/RTEMS/target_native_memory.h,
35278         * native/target/RTEMS/target_native_misc.h,
35279         * native/target/RTEMS/target_native_network.h:
35280         New files. Implement the target native layer for the RTEMS platform.
35281   
35282 2006-01-16  Roman Kennke  <kennke@aicas.com>
35283   
35284         * native/target/SunOS/target_native.h,
35285         * native/target/SunOS/target_native_file.h,
35286         * native/target/SunOS/target_native_io.h,
35287         * native/target/SunOS/target_native_math.h,
35288         * native/target/SunOS/target_native_memory.h,
35289         * native/target/SunOS/target_native_misc.h,
35290         * native/target/SunOS/target_native_network.h:
35291         New files. Implement the target native layer for the SunOS platform.
35292   
35293 2006-01-16  Roman Kennke  <kennke@aicas.com>
35294   
35295         * native/target/MinGW/target_native.h,
35296         * native/target/MinGW/target_native_file.h,
35297         * native/target/MinGW/target_native_io.h,
35298         * native/target/MinGW/target_native_math.h,
35299         * native/target/MinGW/target_native_memory.h,
35300         * native/target/MinGW/target_native_misc.h,
35301         * native/target/MinGW/target_native_network.h:
35302         New files. Implement the target native layer for the MinGW
35303         platform.
35304   
35305 2006-01-16  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
35306   
35307         PR 25770
35308         * javax/swing/DefaultCellEditor.java
35309         (delegate): Assign new instance immediately.
35310         (DefaultCellEditor(JTextField textfield)): Require 2 clicks.
35311         (getTableCellEditorComponent): Rewritten.
35312         (prepareAsJTextField):New method (add listener only once).
35313         * javax/swing/JTable.java
35314         (editingCanceled): Rewritten.
35315         (editingStopped ): Rewritten.
35316         (rowAtPoint): Mind row margin.
35317         (getCellRect): Mind row margin.
35318         (getDefaultEditor): Removing JTextComponent border.
35319         (editCellAt): Rewritten.
35320         * javax/swing/plaf/basic/BasicTableUI.java (MouseInputHandler):
35321         Activate editing mode by the mouse clicks.
35322         (getMaximumSize): Mind row margin.
35323         (getPreferredSize): Mind row margin.
35324         (TableAction): Added 'stop editing' command. 
35325
35326 2006-01-16  Roman Kennke  <kennke@aicas.com>
35327
35328         * jni/java-io/java_io_VMFile.c
35329         (Java_java_io_VMFile_list): Use new 4 argument version of
35330         TARGET_NATIVE_FILE_READ_DIR macro.
35331         * target/Linux/target_native_io.h: Fixed comment at #endif.
35332         * target/Linux/target_native_memory.h: New file. Contains
35333         portability macros for memory operations.
35334         * target/generic/target_generic.c: New file. Contains some functions
35335         for portability.
35336         * target/generic/target_generic.h: Use posix target and shorter macro
35337         names if CP_NEW is set. 
35338         * target/generic/target_generic_file.h: Use posix target and shorter
35339         macro names if CP_NEW is set.
35340         (TARGET_NATIVE_FILE_READ_DIR): New parameter for maxNameLength.
35341         * target/generic/target_generic_io.c: New file. Contains some
35342         functions for IO portability.
35343         * target/generic/target_generic_io.h: Use posix target and shorter
35344         macro names if CP_NEW is set.
35345         * target/generic/target_generic_misc.c: New file. Contains some
35346         functions for miscallaneaous portability issues.
35347         * target/generic/target_generic_misc.h: Use posix target and shorter
35348         macro names if CP_NEW is set.
35349         * target/generic/target_generic_network.c: New file. Contains some
35350         functions for networking portability.
35351         * target/generic/target_generic_network.h: Use posix target and
35352         shorter macro names if CP_NEW is set.
35353         * target/posix/Makefile.am,
35354         * target/posix/target_posix.c,
35355         * target/posix/target_posix.h,
35356         * target/posix/target_posix_file.c,
35357         * target/posix/target_posix_file.h,
35358         * target/posix/target_posix_io.c,
35359         * target/posix/target_posix_io.h,
35360         * target/posix/target_posix_math.c,
35361         * target/posix/target_posix_math.h,
35362         * target/posix/target_posix_memory.c,
35363         * target/posix/target_posix_memory.h,
35364         * target/posix/target_posix_misc.c,
35365         * target/posix/target_posix_misc.h,
35366         * target/posix/target_posix_network.c,
35367         * target/posix/target_posix_network.h:
35368         New files. This implements the target native layer macros for
35369         Posix-like systems.
35370
35371 2006-01-16  Gary Benson  <gbenson@redhat.com>
35372
35373         * java/net/SocketPermission.java (implies): Fix action checks.
35374
35375 2006-01-16  Roman Kennke  <kennke@aicas.com>
35376
35377         * native/target/generic/target_generic_math_float.h: Removed. This
35378         file has been replaced by target_generic_math.h.
35379         * native/target/generic/target_generic_math_int.h: Removed. This
35380         file has been replaced by target_generic_math.h.
35381         * native/target/generic/target_generic_math.h: New file. Replaces
35382         the old _int and _float versions.
35383         * native/target/Linux/target_native_math_float.h: Removed. This
35384         file has been replaced by target_native_math.h.
35385         * native/target/Linux/target_native_math_int.h: Removed. This
35386         file has been replaced by target_native_math.h.
35387         * native/target/Linux/target_native_math.h: New file. Replaces
35388         the old _int and _float versions.
35389         * native/target/Linux/Makefile.am: Adjusted for the changed
35390         filenames.
35391         * native/jni/java-io/java_io_VMFile.c: Include target_native_math.h
35392         instead of target_native_math_int.h.
35393         * native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c:
35394         Likewise.
35395         * native/target/generic/target_generic_file.h: Likewise.
35396   
35397 2006-01-16  David Gilbert  <david.gilbert@object-refinery.com>
35398   
35399         * javax/swing/text/MutableAttributeSet.java: Updated API docs all over.
35400   
35401 2006-01-16  David Gilbert  <david.gilbert@object-refinery.com>
35402   
35403         * javax/swing/text/SimpleAttributeSet.java
35404         (SimpleAttributeSet()): Initialise storage directly,
35405         (SimpleAttributeSet(AttributeSet)): Removed null check and documented
35406         NullPointerException,
35407         (containsAttribute): If key is found locally, don't check resolving
35408         parent if the value doesn't match,
35409         (getAttribute): Removed redundant instanceof and cast.
35410   
35411 2006-01-16  Gary Benson  <gbenson@redhat.com>
35412   
35413         * java/lang/System.java (setSecurityManager): Ensure policy
35414         files are loaded before a security manager is put in place.
35415   
35416 2006-01-16  David Gilbert  <david.gilbert@object-refinery.com>
35417   
35418         * javax/swing/text/SimpleAttributeSet.java: Updated API docs all over.
35419   
35420 2006-01-16  Wolfgang Baer  <WBaer@gmx.de>
35421   
35422         * javax/print/attribute/standard/MediaSize.java: 
35423         (static_initializer): Added comment.
35424         (MediaSize): Added javadoc to mention cache registration.
35425         (MediaSize): Likewise.
35426         (MediaSize): Likewise.
35427         (MediaSize): Likewise.
35428   
35429 2006-01-16  Raif S. Naffah  <raif@swiftdsl.com.au>
35430   
35431         PR classpath/25202
35432         * gnu/javax/security/auth/login/ConfigFileTokenizer.java: New class.
35433         * gnu/javax/security/auth/login/ConfigFileParser.java: New class.
35434         * gnu/javax/security/auth/login/GnuConfiguration.java: New class.
35435         * javax/security/auth/login/AppConfigurationEntry.java: Updated
35436           copyright year.
35437           (toString): Added method implementation.
35438           (LoginModuleControlFlag.toString): Removed class name from result.
35439         * javax/security/auth/login/Configuration.java: Updated copyright year.
35440           (getConfig(): replaced calls to NullConfiguration with
35441           GnuConfiguration.
35442
35443 2006-01-15  Tom Tromey  <tromey@redhat.com>
35444
35445         * javax/swing/text/html/HTMLDocument.java (parseBuffer): Genericized.
35446         * javax/swing/text/StyleContext.java (removeAttributes): Genericized.
35447         * java/beans/PersistenceDelegate.java (initialize): Genericized.
35448         * java/beans/Encoder.java (getPersistenceDelegate): Genericized.
35449         (setPersistenceDelegate): Likewise.
35450
35451 2006-01-15  Wolfgang Baer  <WBaer@gmx.de>
35452
35453         * javax/print/attribute/standard/PrinterStateReasons.java: 
35454         (printerStateReasonSet): Genericize the return type.
35455
35456 2006-01-15  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
35457
35458         * javax/swing/table/DefaultTableCellRenderer.java 
35459         (getTableCellRendererComponent): Render null as the empty cell.
35460
35461 2006-01-14  Anthony Green  <green@redhat.com>
35462
35463         * java/net/ServerSocket.java (accept): Remove bogus
35464         security check.
35465         (implAccept): Add FIXME comment.
35466
35467 2006-01-14  Wolfgang Baer  <WBaer@gmx.de>
35468
35469         Fixes bug #25387
35470         * javax/print/Doc.java: Added and enhanced documentation.
35471         * javax/print/SimpleDoc.java: New file. 
35472   
35473 2006-01-14  Wolfgang Baer  <WBaer@gmx.de>
35474   
35475         * javax/print/attribute/standard/MediaSize.java: 
35476         (Other.TABLOID): New MediaSize added in 1.5
35477   
35478 2006-01-14  Chris Burdess  <dog@gnu.org>
35479   
35480         * gnu/xml/stream/SAXParser.java: Ensure that parser is reset
35481           correctly when I/O and runtime exceptions occur during parsing.
35482   
35483 2006-01-13  Roman Kennke  <kennke@aicas.com>
35484   
35485         * gnu/java/awt/peer/swing/SwingButtonPeer.java,
35486         * gnu/java/awt/peer/swing/SwingCanvasPeer.java,
35487         * gnu/java/awt/peer/swing/SwingComponent.java,
35488         * gnu/java/awt/peer/swing/SwingComponentPeer.java,
35489         * gnu/java/awt/peer/swing/SwingContainerPeer.java,
35490         * gnu/java/awt/peer/swing/SwingFramePeer.java,
35491         * gnu/java/awt/peer/swing/SwingLabelPeer.java,
35492         * gnu/java/awt/peer/swing/SwingMenuBarPeer.java,
35493         * gnu/java/awt/peer/swing/SwingMenuItemPeer.java,
35494         * gnu/java/awt/peer/swing/SwingMenuPeer.java,
35495         * gnu/java/awt/peer/swing/SwingPanelPeer.java,
35496         * gnu/java/awt/peer/swing/SwingTextFieldPeer.java,
35497         * gnu/java/awt/peer/swing/SwingToolkit.java,
35498         * gnu/java/awt/peer/swing/SwingWindowPeer.java,
35499         * gnu/java/awt/peer/swing/package.html:
35500         New files. Implemented some basic AWT peers based on Swing.
35501   
35502 2006-01-13  Roman Kennke  <kennke@aicas.com>
35503   
35504         * java/awt/peer/ComponentPeer.java: Added API docs all over.
35505   
35506 2006-01-13  Roman Kennke  <kennke@aicas.com>
35507   
35508         * java/awt/MenuComponent.java: Reformatted to better match our
35509         coding style.
35510   
35511 2006-01-13  Roman Kennke  <kennke@aicas.com>
35512   
35513         * java/awt/Frame.java: Reformatted to better match our
35514         coding style.
35515   
35516 2006-01-13  Roman Kennke  <kennke@aicas.com>
35517   
35518         * java/awt/MenuBar.java
35519         (accessibleContext): Removed unnecessary field. This is already
35520         defined in MenuComponent.
35521         (setHelpMenu): Renamed the peer variable to myPeer because it was
35522         hiding a field of MenuComponent.
35523         (addNotify): Removed unnecessary cast.
35524   
35525 2006-01-13  Roman Kennke  <kennke@aicas.com>
35526   
35527         * java/awt/MenuBar.java: Reformatted to better match our
35528         coding style.
35529   
35530 2006-01-13  Roman Kennke  <kennke@aicas.com>
35531   
35532         * java/awt/MenuBar.java
35533         (frame): New field.
35534         (removeNotify): Clear frame field when beeing removed from the
35535         frame.
35536         * java/awt/Frame.java
35537         (setMenuBar): Store a reference of the frame in the MenuBar.
35538         * java/awt/MenuComponent.java
35539         (postEvent): Implemented to forward the call to the parent until
35540         a parent can handle the event.
35541         (dispatchEvent): Moved handling of old style events from
35542         dispatchEventImpl() to here.
35543         (dispatchEventImpl): Moved handling of old style events to
35544         dispatchEvent().
35545   
35546 2006-01-13  Roman Kennke  <kennke@aicas.com>
35547   
35548         * java/awt/Component.java
35549         (dispatchEvent): Moved handling of old style events from
35550         dispatchEventImpl() to this method.
35551         (translateEvent): Removed unnecessary cast.
35552         (dispatchEventImpl): Moved handling of old style events to
35553         dispatchEvent().
35554         
35555 2006-01-13  Lillian Angel  <langel@redhat.com>
35556   
35557         * javax/swing/text/DefaultStyledDocument.java
35558         (createDefaultRoot): Removed FIXME.
35559         (setLogicalStyle): Added fireUndoableEditUpdate call and 
35560         removed FIXME.
35561   
35562 2006-01-13  Lillian Angel  <langel@redhat.com>
35563   
35564         * javax/swing/text/DefaultStyledDocument.java
35565         (Edit): New inner class.
35566         (changeUpdate): Changed addEdit call to add a new
35567         instance of Edit to the edits Vector, so addEdits can
35568         be done later.
35569         (split): Likewise.
35570         (insertParagraph): Likewise.
35571         (insertFracture): Likewise.
35572         (insertContentTag): Likewise.
35573         (insert): Added loop to go through edits Vector and perform
35574         addEdit on each object.
35575   
35576 2006-01-13  Chris Burdess  <dog@gnu.org>
35577   
35578         * gnu/xml/transform/AbstractNumberNode.java,
35579           gnu/xml/transform/ApplyImportsNode.java,
35580           gnu/xml/transform/ApplyTemplatesNode.java,
35581           gnu/xml/transform/AttributeNode.java,
35582           gnu/xml/transform/CallTemplateNode.java,
35583           gnu/xml/transform/ChooseNode.java,
35584           gnu/xml/transform/CommentNode.java,
35585           gnu/xml/transform/CopyNode.java,
35586           gnu/xml/transform/CopyOfNode.java,
35587           gnu/xml/transform/DocumentFunction.java,
35588           gnu/xml/transform/ElementNode.java,
35589           gnu/xml/transform/ForEachNode.java,
35590           gnu/xml/transform/IfNode.java,
35591           gnu/xml/transform/LiteralNode.java,
35592           gnu/xml/transform/MessageNode.java,
35593           gnu/xml/transform/OtherwiseNode.java,
35594           gnu/xml/transform/ParameterNode.java,
35595           gnu/xml/transform/ProcessingInstructionNode.java,
35596           gnu/xml/transform/Stylesheet.java,
35597           gnu/xml/transform/Template.java,
35598           gnu/xml/transform/TemplateNode.java,
35599           gnu/xml/transform/TextNode.java,
35600           gnu/xml/transform/TransformerImpl.java,
35601           gnu/xml/transform/ValueOfNode.java,
35602           gnu/xml/transform/WhenNode.java,
35603           gnu/xml/xpath/NodeTypeTest.java,
35604           gnu/xml/xpath/Selector.java: simplified debugging output; ignore
35605           with-param parameters when template does not define parameters; apply
35606           conflict resolution for templates; strip whitespace on documents
35607           retrieved via document() function; allow node() to match document
35608           nodes.
35609
35610 2006-01-13  Mark Wielaard  <mark@klomp.org>
35611
35612         * doc/www.gnu.org/announce/20060113.wml: New file.
35613         * doc/www.gnu.org/newsitems.txt: Add 0.20 release announcement.
35614         * doc/www.gnu.org/downloads/downloads.wml: Add 0.20.
35615   
35616 2006-01-13  Lillian Angel  <langel@redhat.com>
35617   
35618         * javax/swing/text/DefaultStyledDocument.java:
35619         Removed unused fields.
35620         (insert): Removed unused fields.
35621         (endEdit): Removed, not needed.
35622         (insertUpdate): Removed call to endEdit.
35623         (prepareContentInsertion): Removed, not needed.
35624         (insertContentTag): Removed call to prepareContentInsertion.
35625         (printElements): Removed, not needed.
35626         (attributeSetsAreSame): Removed, not needed.
35627   
35628 2005-01-13  Mark Wielaard  <mark@klomp.org>
35629
35630         * java/lang/reflect/Modifier.java (toString(int, StringBuffer)):
35631         Duplicate of toString(int, StringBuilder).
35632
35633 2005-01-13  Mark Wielaard  <mark@klomp.org>
35634
35635         * configure.ac: Set version to 0.20.
35636         * NEWS: Add entries for all the new work done.
35637
35638 2005-01-13  Mark Wielaard  <mark@klomp.org>
35639
35640         * javax/swing/text/DefaultCaret.java: Chain all AssertionErrors.
35641
35642 2005-01-13  Mark Wielaard  <mark@klomp.org>
35643
35644         * java/util/regex/Pattern.java (Pattern): Chain REException.
35645
35646 2006-01-13  Chris Burdess  <dog@gnu.org>
35647
35648         * gnu/xml/xpath/NameTest.java: Removed debugging output.
35649
35650 2005-01-13  Jeroen Frijters  <jeroen@frijters.net>
35651
35652         * java/security/Security.java
35653         (getProperty): Added hack to skip security check when trusted
35654         code is direct caller.
35655
35656 2005-01-13  Jeroen Frijters  <jeroen@frijters.net>
35657
35658         * java/io/PrintStream.java
35659         (line_separator, PrintStream(OutputStream,boolean)): Use
35660         SystemProperties.
35661
35662 2005-01-13  Jeroen Frijters  <jeroen@frijters.net>
35663
35664         * gnu/java/nio/charset/Provider.java: Added comment about its
35665         special relation with CharsetProvider.
35666         (static): Removed.
35667         * gnu/java/nio/charset/iconv/IconvProvider.java: Added comment about
35668         its special relation with CharsetProvider.
35669         (static): Removed.
35670         * java/nio/charset/spi/CharsetProvider.java
35671         (CharsetProvider): Add special case to skip security check for
35672         built in providers.
35673
35674 2005-01-13  Mark Wielaard  <mark@klomp.org>
35675
35676         * javax/swing/JMenuItem.java (JMenuItem(Action)): Check whether
35677         name, accel, mnemonic and command are defined before setting.
35678
35679 2005-01-12  Mark Wielaard  <mark@klomp.org>
35680
35681         * javax/swing/plaf/metal/MetalFileChooserUI.java
35682         (FileRenderer.getListCellRendererComponent): Set empty name and null
35683         icon when File is null.
35684
35685 2006-01-13  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
35686
35687         * gnu/java/rmi/server/UnicastRef.java (newCall):
35688         Throw ConnectException after catching IOException.
35689
35690 2006-01-12  Lillian Angel  <langel@redhat.com>
35691
35692         * javax/swing/text/DefaultStyledDocument.java
35693         (insertUpdate): Removed unneeded check.
35694
35695 2006-01-12  Anthony Balkissoon  <abalkiss@redhat.com>
35696
35697         * javax/swing/text/DefaultStyledDocument.java:
35698         (ElementBuffer.insertContentTag): If the direction is JoinNextDirection
35699         and we haven't come immediately after a fracture, adjust the Element
35700         offsets.  Added comment explaining the situation.
35701         (insert): Return early if no ElementSpecs passed in.  Removed redundant
35702         call to insertUpdate.  Fired the UndoableEditUpdate.
35703
35704 2006-01-12  Ito Kazumitsu  <kaz@maczuka.gcd.org>
35705
35706         Fixes bug #22802
35707         * gnu/regexp/RE.java(initialize): Fixed the parsing of
35708         character classes within a subexpression.
35709
35710 2006-12-12  Lillian Angel  <langel@redhat.com>
35711
35712         * javax/swing/text/DefaultStyledDocument.java
35713         (insertUpdate): Added check to check if attribute set is 
35714         empty.
35715         (insertUpdate): Added check to determine if last character
35716         is a newline. If it is, we should not be fracturing.
35717         (insert): Added check to determine if attribute set is empty.
35718         If it is, insertUpdate should not be called.
35719
35720 2006-12-12  Guilhem Lavaux  <guilhem@kaffe.org>
35721
35722         * configure.ac: Check for isnan.
35723
35724         * native/fdlibm/fdlibm.h: If we have a isnan function then do not
35725         define the macro.
35726
35727 2006-01-12  Chris Burdess  <dog@gnu.org>
35728
35729         * gnu/xml/stream/XMLParser.java: Corrected the handling of some XML
35730           1.1 character ranges.
35731
35732 2006-01-12  Anthony Balkissoon  <abalkiss@redhat.com>
35733
35734         * javax/swing/TransferHandler.java:
35735         (TransferAction<init>): Call super constructor.  Fixes Mauve regression
35736         gnu/testlet/javax/swing/JTextField/CopyPaste.
35737
35738 2006-01-12  Christian Thalinger  <twisti@complang.tuwien.ac.at>
35739
35740         * resource/Makefile.am: Install 
35741         logging.properties into $(prefix)/lib.
35742         * resource/Makefile.am (securitydir): Changed to 
35743         $(prefix)/lib/security.
35744
35745 2006-01-12  Roman Kennke  <kennke@aicas.com>
35746
35747         * javax/swing/JTextField.java
35748         (createDefaultModel): Moved installation of the filterNewlines
35749         property to setDocument().
35750         (setDocument): New method. Installs the filterNewlines property
35751         on the document.
35752
35753 2006-01-12  Chris Burdess  <dog@gnu.org>
35754
35755         * gnu/xml/dom/DomNode.java,
35756           gnu/xml/transform/ElementAvailableFunction.java: Removed debugging
35757           output.
35758         * gnu/xml/xpath/NameTest.java,
35759           gnu/xml/xpath/NamespaceTest.java,
35760           gnu/xml/xpath/Selector.java: Fix regression for namespace axis
35761           navigation.
35762         * gnu/xml/transform/MessageNode.java: Use standard logging system
35763           for outputting messages.
35764
35765 2006-01-12  Tom Tromey  <tromey@redhat.com>
35766
35767         * java/net/InetAddress.java (DEFAULT_CACHE_SIZE): Removed.
35768         (DEFAULT_CACHE_PERIOD, DEFAULT_CACHE_PURGE_PCT): Likewise.
35769         (cache_size, cache_period, cache_purge_pct, cache): Likewise.
35770         (static initializer): Removed cache code.
35771         (checkCacheFor, addToCache): Removed.
35772         (getAllByName): Removed cache code.
35773         (lookup_time): Removed.
35774         (InetAddress): Updated.
35775
35776 2006-01-12  Chris Burdess  <dog@gnu.org>
35777
35778         * gnu/xml/dom/DomDocument.java,
35779           gnu/xml/dom/DomElement.java,
35780           gnu/xml/dom/DomNode.java,
35781           gnu/xml/stream/XMLParser.java,
35782           gnu/xml/transform/Bindings.java,
35783           gnu/xml/transform/ElementAvailableFunction.java,
35784           gnu/xml/transform/ElementNode.java,
35785           gnu/xml/transform/FunctionAvailableFunction.java,
35786           gnu/xml/transform/NamespaceProxy.java,
35787           gnu/xml/transform/StreamSerializer.java,
35788           gnu/xml/transform/Stylesheet.java,
35789           gnu/xml/transform/TransformerImpl.java,
35790           gnu/xml/xpath/Selector.java: Implement isEqualNode correctly for
35791           document and element nodes; correct coalescing semantics when parsing;
35792           attribute-sets can only refer to top-level variables and parameters;
35793           fix namespace retrieval during element-available and
35794           function-available functions; implement xsl:fallback for extension
35795           elements; tokenize whitespace correctly during whitespace stripping;
35796           correct following and previous node axes selectors.
35797
35798 2006-01-12  Roman Kennke  <kennke@aicas.com>
35799
35800         * java/util/Hashtable.java
35801         (KeyEnumerator.nextElement): Added null check to avoid NPE.
35802         (ValueEnumerator.nextElement): Added null check to avoid NPE.
35803
35804 2006-01-12  Lillian Angel  <langel@redhat.com>
35805
35806         * javax/swing/text/GapContent.java
35807         (UndoInsertString): Changed name of class to InsertUndo to match the JDK.
35808
35809 2006-01-12  Mark Wielaard  <mark@klomp.org>
35810
35811         * vm/reference/gnu/java/net/VMPlainSocketImpl.java (connect):
35812         Throw UnknowHostException when name could not be resolved.
35813
35814 2006-01-12  Jeroen Frijters  <jeroen@frijters.net>
35815
35816         * java/net/URL.java
35817         (static, getURLStreamHandler): Use SystemProperties.
35818
35819 2006-01-12  Mark Wielaard  <mark@klomp.org>
35820
35821         * vm/reference/gnu/java/net/VMPlainDatagramSocketImpl.java (receive):
35822         Use packet.getLength().
35823         * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c
35824         (nativeReceive): Check whether the receiver wants zero bytes.
35825
35826 2006-01-12  Mark Wielaard  <mark@klomp.org>
35827
35828         * native/jni/java-net/javanet.c (_javanet_recvfrom): Return -1 when
35829         other side orderly closed connection.
35830         * vm/reference/gnu/java/net/VMPlainSocketImpl.java
35831         (read(PlainSocketImpl)): Mask byte to return unsigned int. Return -1
35832         when end of stream reached.
35833
35834 2006-01-12  Mark Wielaard  <mark@klomp.org>
35835
35836         * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c:
35837         Remove asserts.
35838         * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c: Likewise.
35839         * native/jni/java-net/java_net_VMInetAddress.c: Likewise.
35840         * native/jni/java-net/java_net_VMNetworkInterface.c: Likewise.
35841         * native/jni/java-net/javanet.c: Likewise.
35842
35843 2006-01-12  Mark Wielaard  <mark@klomp.org>
35844
35845         * native/fdlibm/mprec.c (Balloc): Disable assert to workaround
35846         PR classpath/23863.
35847
35848 2006-01-11  Chris Burdess  <dog@gnu.org>
35849
35850         * gnu/xml/transform/AttributeNode.java,
35851           gnu/xml/transform/ElementNode.java,
35852           gnu/xml/transform/LiteralNode.java,
35853           gnu/xml/transform/StreamSerializer.java,
35854           gnu/xml/transform/StrippingInstruction.java,
35855           gnu/xml/transform/Stylesheet.java,
35856           gnu/xml/transform/TransformerImpl.java,
35857           gnu/xml/transform/ValueOfNode.java,
35858           gnu/xml/xpath/Expr.java,
35859           gnu/xml/xpath/LocalNameFunction.java,
35860           gnu/xml/xpath/NameFunction.java,
35861           gnu/xml/xpath/NameTest.java,
35862           gnu/xml/xpath/NamespaceUriFunction.java,
35863           gnu/xml/xpath/NodeTypeTest.java,
35864           gnu/xml/xpath/SubstringFunction.java,
35865           javax/xml/namespace/QName.java: don't determine element namespace
35866           from namespace aliases when specified; better namespace handling
35867           when serializing elements; don't create HTML meta element unless
35868           head element exists; correct encoding of CDATA sections containing
35869           ']]>'; encode HTML character entity references; use ISO-Latin-1 as
35870           default encoding for HTML output; rewrite of XSLT
35871           strip-space/preserve-space handling; correct doctype-public and
35872           doctype-system output attributes; insert generated doctype before
35873           document element; fixed result tree whitespace stripping
35874           algorithm; fixed semantics of XPath name, local-name, and
35875           namespace-uri functions; name tests handle XML/XMLNS namespaces
35876           correctly; fixed semantics of processing-instruction node test.
35877         * gnu/xml/transform/TransformerFactoryImpl.java: Add main method to
35878           aid debugging.
35879
35880 2006-01-11  Lillian Angel  <langel@redhat.com>
35881
35882         * javax/swing/text/DefaultStyledDocument.java
35883         (insertFracture): Added calls to addEdit for each time a structure 
35884         is changed. addEdit is called on the newBranch, previous, and parent
35885         structures.
35886
35887 2006-01-11  Anthony Balkissoon  <abalkiss@redhat.com>
35888
35889         * javax/swing/text/DefaultStyledDocument.java:
35890         (ElementBuffer.insertContentTag): Don't adjust the structure here.  
35891         This will have been taken care of in insertFracture.  Added a comment
35892         explaining that we need to add edits to the DocumentEvent and that
35893         this may be the place to do it.
35894
35895 2006-01-11  Anthony Balkissoon  <abalkiss@redhat.com>
35896
35897         * javax/swing/text/DefaultStyledDocument.java:
35898         (ElementBuffer.insertUpdate): Properly recreate Elements if the first
35899         tag is an end tag. Avoid NPE by pushing the proper Element on to the 
35900         elementStack when there is a start tag with JoinNextDirection.
35901
35902 2006-01-11  Roman Kennke  <kennke@aicas.com>
35903
35904         Reported by: Fridjof Siebert <siebert@aicas.com>
35905         * java/util/Hashtable.java
35906         (KEYS): Removed unneeded field.
35907         (VALUES): Removed unneeded field.
35908         (ENTRIES): Removed unneeded field.
35909         (keys): Return a KeyEnumerator instance.
35910         (elements): Returns a ValueEnumerator instance.
35911         (toString): Use an EntryIterator instance.
35912         (keySet): Return a KeyIterator instance.
35913         (values): Return a ValueIterator instance.
35914         (entrySet): Return an EntryIterator instance.
35915         (hashCode): Use EntryIterator instance.
35916         (rehash): Changed this loop to avoid redundant reads and make
35917         it obvious that null checking is not needed.
35918         (writeObject): Use EntryIterator instance.
35919         (HashIterator): Removed class.
35920         (Enumerator): Removed class.
35921         (EntryIterator): New class.
35922         (KeyIterator): New class.
35923         (ValueIterator): New class.
35924         (EntryEnumerator): New class.
35925         (KeyEnumerator): New class.
35926         (ValueEnumerator): New class.
35927
35928 2006-01-11  Lillian Angel  <langel@redhat.com>
35929
35930         * javax/swing/text/DefaultStyledDocument.java
35931         (toString): Shouldn't append the '>' character here.
35932         (createDefaultRoot): Should not set the resolve parent. This
35933         causes problems when comparing attribute sets.
35934
35935 2006-01-10  Anthony Balkissoon  <abalkiss@redhat.com>
35936
35937         * javax/swing/text/DefaultStyledDocument.java:
35938         (ElementBuffer.insertUpdate): Rewritten to properly handle start and
35939         end tags.
35940         (ElementBuffer.insertFracture): New method.
35941         (ElementBuffer.insertContentTag): Removed unnecessary case for 
35942         JoinFractureDirection - this only applies to start tags, not content
35943         tags.
35944         (insertUpdate): Corrected conditions for setting direction to 
35945         JoinNextDirection.
35946
35947 2006-01-10  Roman Kennke  <kennke@aicas.com>
35948
35949         * Makefile.am (EXTRA_DIST): Added ChangeLog-2004.
35950         * ChangeLog-2005: New File.
35951
35952 2006-01-10  Roman Kennke  <kennke@aicas.com>
35953
35954         * native/jni/java-nio/java_nio_VMDirectByteBuffer.c
35955         (get): Release the array with the correct pointer.
35956         (put): Release the array with the correct pointer. Copy the array
35957         around _before_ releasing it.
35958
35959 2006-01-10  Roman Kennke  <kennke@aicas.com>
35960
35961         * javax/swing/ViewportLayout.java
35962         (layoutContainer): Fixed condition, to avoid ClasscastException.
35963
35964 2006-01-10  Roman Kennke  <kennke@aicas.com>
35965
35966         * javax/swing/plaf/basic/BasicSplitPaneDivider.java
35967         (MouseHandler.mousePressed): Fixed indendation.
35968         (MouseHandler.mouseDragged): Fixed indendation.
35969
35970 2006-01-10  Roman Kennke  <kennke@aicas.com>
35971
35972         * javax/swing/plaf/basic/BasicLookAndFeel.java
35973         (playSound): Added @since 1.4 to the API docs.
35974
35975 2006-01-10  Roman Kennke  <kennke@aicas.com>
35976
35977         * javax/swing/plaf/basic/BasicListUI.java
35978         (maybeUpdateLayoutState): Also update the layout state, if the
35979         list has been invalidated since the last update.
35980
35981 2006-01-10  Roman Kennke  <kennke@aicas.com>
35982
35983         * javax/swing/plaf/ComponentUI.java
35984         (update): Fixed indendation.
35985
35986 2006-01-10  Roman Kennke  <kennke@aicas.com>
35987
35988         * javax/swing/ViewportLayout.java
35989         (layoutContainer): Fixed condition, so that Scrollable components
35990         are always forced to have to Viewport size, when they
35991         return true for getScrollableTracksViewportHeight() and ..Width().
35992
35993 2006-01-10  Roman Kennke  <kennke@aicas.com>
35994
35995         * javax/swing/RepaintManager.java
35996         (validateInvalidComponents): Fixed condition to avoid NPE.
35997
35998 2006-01-10  Roman Kennke  <kennke@aicas.com>
35999
36000         * javax/swing/JViewport.java:
36001         (static_initializer): Removed unused variable myScrollMode.
36002
36003 2006-01-10  Roman Kennke  <kennke@aicas.com>
36004
36005         * javax/swing/JTabbedPane.java:
36006         Cleared API docs a little.
36007
36008 2006-01-10  Roman Kennke  <kennke@aicas.com>
36009
36010         * java/util/StringTokenizer.java
36011         (StringTokenizer(String, String, boolean)):
36012         Don't trigger NPE here for conformance with the spec.
36013
36014 2006-01-10  Roman Kennke  <kennke@aicas.com>
36015
36016         * java/util/ArrayList.java
36017         (DEFAULT_CAPACITY): Changed default capacity to 10, as specified.
36018
36019 2006-01-10  Roman Kennke  <kennke@aicas.com>
36020
36021         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
36022         (GdkGraphics2D(GdkGraphics2D)): Added null check for the bg
36023         field to avoid NPE.
36024
36025 2006-01-10  Roman Kennke  <kennke@aicas.com>
36026
36027         * native/jni/java-net/javanet.c
36028         (_javanet_shutdownOutput): Replaced strerror() with
36029         TARGET_NATIVE_LAST_ERROR_STRING() for portability.
36030         (_javanet_shutdownInput): Replaced strerror() with
36031         TARGET_NATIVE_LAST_ERROR_STRING() for portability.
36032
36033 2006-01-10  Robert Schuster  <robertschuster@fsfe.org>
36034
36035         * java/beans/EventSetDescriptor.java: Reformatted and
36036         fixed API docs.
36037
36038 2006-01-10  Roman Kennke  <kennke@aicas.com>
36039
36040         * java/lang/SecurityManager.java
36041         Fully qualified AWT class references in API docs.
36042
36043 2006-01-10  Robert Schuster  <robertschuster@fsfe.org>
36044
36045         * java/beans/EventSetDescriptor.java:
36046         (getGetListenerMethod): New method.
36047
36048 2006-01-10  Mark Wielaard  <mark@klomp.org>
36049
36050         * lib/Makefile.am (GCJX): Add -g to get linenumber info.
36051
36052 2006-01-10  Jeroen Frijters  <jeroen@frijters.net>
36053
36054         PR classpath/25727
36055         * java/util/Hashtable.java
36056         (contains): Call equals on existing value.
36057         (containsKey, get, put, remove): Call equals on existing key.
36058         (getEntry): Call equals on existing entry.
36059
36060 2006-01-10  Jeroen Frijters  <jeroen@frijters.net>
36061
36062         PR classpath/24618
36063         * java/util/AbstractMap.java
36064         (equals(Object,Object)): Test for identity first.
36065         * java/util/WeakHashMap.java
36066         (WeakBucket.WeakEntry.equals): Use helper method to determine equality.
36067         (WeakBucket.WeakEntry.toString): Fixed string representation of
36068         null key.
36069         (internalGet): Use helper method to determine equality.
36070
36071 2006-01-09  Robert Schuster  <robertschuster@fsfe.org>
36072
36073         * java/beans/EventSetDescriptor.java: Implemented the two 1.4
36074         constructors.
36075
36076 2006-01-09  Anthony Balkissoon  <abalkiss@redhat.com>
36077
36078         * javax/swing/text/PlainDocument.java:
36079         (insertUpdate): Handle special case of an insertion immediately 
36080         following a newline character.
36081
36082 2006-01-09  Roman Kennke  <kennke@aicas.com>
36083
36084         * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c
36085         (connect): Added stream parameter to _connect() call.
36086         * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c
36087         (connect): Added stream parameter to _connect() call.
36088         * native/jni/java-net/javanet.c
36089         (_javanet_create_localfd): Added stream parameter. Look up
36090         fd field based on the stream parameter either in SocketImpl or
36091         in DatagramSocketImpl.
36092         (_javanet_connect): Added stream parameter. Call create_localfd
36093         using this stream parameter. Set localPort field either in
36094         SocketImpl or in DatagramSocketImpl, depending on the stream
36095         flag.
36096         * native/jni/java-net/javanet.c
36097         (_javanet_connect): Added stream parameter.
36098
36099 2006-01-09  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
36100
36101         * javax.management.Attribute.java: Grammar and 
36102         formatting fixes.
36103
36104 2006-01-09  Mark Wielaard  <mark@klomp.org>
36105
36106         * gnu/java/nio/channels/FileChannelImpl.java (map): Throw correct
36107         exception when channel is not readable or writable.
36108         * native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c
36109         (mapImpl): Add PROT_WRITE when mode == 'c' (MAP_PRIVATE). Make sure
36110         there is enough space to mmap().
36111
36112 2006-01-09  Robert Schuster  <robertschuster@fsfe.org>
36113
36114         * java/beans/Introspector.java:
36115         (getBeanInfo(Class, int)): New method.
36116         (getBeanInfo(Class, Class): Moved common code in a new method.
36117         (merge): New method.
36118
36119 2006-01-09  Robert Schuster  <robertschuster@fsfe.org>
36120
36121         * java/beans/XMLEncoder.java: Fix spelling mistakes.
36122
36123 2006-01-09  Anthony Balkissoon  <abalkiss@redhat.com>
36124
36125         * javax/swing/text/DefaultStyledDocument.java:
36126         (insertUpdate): Removed call to checkForInsertAfterNewline and instead
36127         inlined this method because it needs to change the value of the 
36128         finalStartTag and finalStartDirection variables.
36129         (checkForInsertAfterNewline): Removed this method.
36130         (handleInsertAfterNewline): Added case for making the start tag's 
36131         direction JoinNextDirection.
36132
36133 2006-01-09  Lillian Angel  <langel@redhat.com>
36134
36135         * javax/swing/plaf/basic/BasicTreeUI.java:
36136         Added new field.
36137         (setRowHeight): Row height is set to the max height of
36138         all the nodes, or 20 as a default value.
36139         (getPathBounds): Cleaned up code.
36140         (getMaxHeight): New helper function that gets the max 
36141         height of all the rows.
36142         (getClosestPathForLocation): Fixed to use getMaxHeight.
36143         (updateCachedPreferredSize): Likewise.
36144         (installUI): Shouldn't expand tree on startup.
36145         (getNodeDimensions): Fixed to use getMaxHeight. 
36146
36147 2006-01-09  Mark Wielaard  <mark@klomp.org>
36148
36149         * javax/swing/JList.java (setSelectedIndex): Clear selection when
36150         argument is negative.
36151
36152 2006-01-08  Mark Wielaard  <mark@klomp.org>
36153
36154         * java/net/InetAddress.java (getInaddrAny): Explicitly set hostName.
36155
36156 2006-01-09  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
36157
36158         * javax.management.Attribute.java: New file. 
36159
36160 2006-01-09  Roman Kennke  <kennke@aicas.com>
36161
36162         * java/net/DatagramSocketImpl.java
36163         (localPort): Renamed to localport for correct access from native
36164         code.
36165
36166 2006-01-09  Roman Kennke  <kennke@aicas.com>
36167
36168         * javax/swing/Popup.java
36169         (LightweightPopup.hide): Repaint the layered pane when popup is
36170         removed.
36171
36172 2006-01-09  Roman Kennke  <kennke@aicas.com>
36173
36174         * java/awt/Container.java
36175         (remove): Don't repaint the container here.
36176
36177 2006-01-08  Tom Tromey  <tromey@redhat.com>
36178
36179         * java/lang/InheritableThreadLocal.java: Organized imports.
36180
36181 2006-01-08  Ito Kazumitsu  <kaz@maczuka.gcd.org>  
36182
36183         Fixes bug #25679
36184         * gnu/regexp/RETokenRepeated.java(match): Optimized the case
36185         when an empty string matched an empty token.
36186
36187 2006-01-08  Chris Burdess  <dog@gnu.org>
36188
36189         * gnu/xml/stream/SAXParser.java: Check standalone status for mixed
36190           content models from external entities.
36191         * gnu/xml/stream/UnicodeReader.java: Report error instead of
36192           attempting to continue with unpaired surrogates.
36193         * gnu/xml/stream/XMLParser.java: Don't normalize LF equivalents when
36194           resolving entities with character entity references; better
36195           checking of valid character ranges; don't report an error for URI
36196           fragments in notation declarations; check unbound namespace
36197           prefixes for elements and attributes, including XML 1.1 unbinding
36198           syntax; namespace-aware checking of attribute duplicates.
36199
36200 2006-01-08  Robert Schuster  <robertschuster@fsfe.org>
36201
36202         * java/beans/Statement.java: Doc fixes.
36203         (doExecute): Workaround for Class.forName call.
36204         (toString): Made output look more like on the JDK.
36205         * java/beans/Expression.java: Doc fixes.
36206         (toString): Made output look more like on the JDK.
36207         * java/beans/PersistenceDelegate.java,
36208         java/beans/DefaultPersistenceDelegate.java,
36209         java/beans/Encoder.java,
36210         java/beans/XMLEncoder.java: New file.
36211         * gnu/java/beans/encoder/ArrayPersistenceDelegate.java,
36212         gnu/java/beans/encoder/ClassPersistenceDelegate.java,
36213         gnu/java/beans/encoder/CollectionPersistenceDelegate.java,
36214         gnu/java/beans/encoder/Context.java,
36215         gnu/java/beans/encoder/GenericScannerState.java,
36216         gnu/java/beans/encoder/IgnoringScannerState.java,
36217         gnu/java/beans/encoder/MapPersistenceDelegate.java,
36218         gnu/java/beans/encoder/ObjectId.java,
36219         gnu/java/beans/encoder/PrimitivePersistenceDelegate.java,
36220         gnu/java/beans/encoder/ReportingScannerState.java,
36221         gnu/java/beans/encoder/Root.java,
36222         gnu/java/beans/encoder/ScanEngine.java,
36223         gnu/java/beans/encoder/ScannerState.java,
36224         gnu/java/beans/encoder/StAXWriter.java,
36225         gnu/java/beans/encoder/Writer.java: New file.
36226         * gnu/java/beans/encoder/elements/Array_Get.java,
36227         gnu/java/beans/encoder/elements/Element.java,
36228         gnu/java/beans/encoder/elements/List_Set.java,
36229         gnu/java/beans/encoder/elements/Array_Set.java,
36230         gnu/java/beans/encoder/elements/NullObject.java,
36231         gnu/java/beans/encoder/elements/StaticMethodInvocation.java,
36232         gnu/java/beans/encoder/elements/StaticFieldAccess.java,
36233         gnu/java/beans/encoder/elements/StringReference.java,
36234         gnu/java/beans/encoder/elements/ClassResolution.java,
36235         gnu/java/beans/encoder/elements/ArrayInstantiation.java,
36236         gnu/java/beans/encoder/elements/PrimitiveInstantiation.java,
36237         gnu/java/beans/encoder/elements/ObjectReference.java,
36238         gnu/java/beans/encoder/elements/ObjectInstantiation.java,
36239         gnu/java/beans/encoder/elements/List_Get.java,
36240         gnu/java/beans/encoder/elements/MethodInvocation.java: New file.
36241
36242 2006-01-08  Chris Burdess  <dog@gnu.org>
36243
36244         * java/lang/Character.java (toChars,toCodePoint): Correct these
36245           methods to use algorithms from Unicode specification.
36246  
36247 2006-01-08  Mark Wielaard  <mark@klomp.org>
36248
36249         * native/jni/xmlj/Makefile.am (libxmlj_la_LIBADD): Add jcl.o.
36250
36251 2006-01-07  Paul Jenner  <psj@harker.dyndns.org>
36252
36253         Fixes bug #25711
36254         * examples/Makefile.am: Corrected DESTDIR install paths.
36255
36256 2006-01-07  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
36257
36258         * org/omg/CORBA/INVALID_ACTIVITY.java: Removed non - 
36259         ASCII character (line 46).
36260
36261 2006-01-07  Roman Kennke  <kennke@aicas.com>
36262
36263         * javax/swing/text/TableView.java: New file.
36264
36265 2006-01-07  Chris Burdess  <dog@gnu.org>
36266
36267         * gnu/xml/stream/BufferedReader.java: Removed commented out code.
36268         * gnu/xml/stream/XIncludeFilter.java: Correct XML Base behaviour.
36269         * gnu/xml/stream/XMLParser.java: Make additional StAX properties
36270           available; correct handling of unparsed entity references;
36271           absolutize all base URIs; remove commented out code.
36272
36273 2006-01-07  Chris Burdess  <dog@gnu.org>
36274
36275         * gnu/xml/stream/SAXParser.java,
36276           gnu/xml/stream/XMLParser.java: Add SAX property to return base
36277           URI of the current event.
36278
36279 2006-01-07  Chris Burdess  <dog@gnu.org>
36280
36281         * gnu/xml/stream/SAXParser.java: Add SAX feature to set XML Base
36282           aware processing.
36283
36284 2006-01-07  Chris Burdess  <dog@gnu.org>
36285
36286         * gnu/xml/stream/SAXParser.java,
36287           gnu/xml/stream/XIncludeFilter.java,
36288           gnu/xml/stream/XMLParser.java: Updated documentation.
36289
36290 2006-01-07  Chris Burdess  <dog@gnu.org>
36291
36292         * AUTHORS: add self.
36293
36294 2006-01-06  Casey Marshall  <csm@gnu.org>
36295
36296         * AUTHORS: add myself.
36297
36298 2006-01-06  Casey Marshall  <csm@gnu.org>
36299
36300         PR classpath/25699
36301         * javax/crypto/CipherInputStream.java (logger): new constant.
36302         (cipher): make final.
36303         (outLength, inBuffer, inLength): removed.
36304         (isStream): make final.
36305         (VIRGIN, LIVING, DYING, DEAD, state): removed.
36306         (eof): new field.
36307         (<init>): call `super,' not `this;' remove `inBuffer' and
36308         `outBuffer' initialization; init `eof;' add debug logging.
36309         (<init>): call `this' with a new null cipher.
36310         (available): fix javadoc to reflect the real semantics; if we
36311         don't have a buffer, call `nextBlock.'
36312         (close): synchronize.
36313         (read): synchronize; fix testing for buffered data.
36314         (read): synchronize; add `skip' semantics if first argument is
36315         `null;' decrypt stream cipher data only if there is any; fix tests
36316         for buffered data.
36317         (skip): stop using `available' to see how many data are buffered.
36318         (nextBlock): simplify to use cipher-allocated output buffers
36319         instead of internally allocated ones.
36320
36321 2006-01-06  Tom Tromey  <tromey@redhat.com>
36322
36323         * java/lang/String.java (codePointCount): Fixed javadoc.
36324
36325 2006-01-06  Tom Tromey  <tromey@redhat.com>
36326
36327         * java/lang/String.java (contains): Added @since.
36328
36329 2006-01-06  Ito Kazumitsu  <kaz@maczuka.gcd.org>  
36330
36331         Fixes bug #25616
36332         * gnu/regexp/RE.java(initialize): Allow repeat.empty.token.
36333         * gnu/regexp/RETokenRepeated.java(match): Break the loop
36334         when an empty string matched an empty token.
36335
36336 2006-01-06  Jeroen Frijters  <jeroen@frijters.net>
36337
36338         PR classpath/24858
36339         * gnu/java/util/WeakIdentityHashMap.java: New file.
36340         * java/lang/InheritableThreadLocal.java
36341         (newChildThread): Modified to remove key indirection.
36342         * java/lang/Thread.java
36343         (locals): Changed type to WeakIdentityHashMap.
36344         (getThreadLocals): Instantiate WeakIdentityHashMap instead of
36345         WeakHashMap.
36346         * java/lang/ThreadLocal.java
36347         (key, Key): Removed.
36348         (get, set): Changed to use "this" instead of "key".
36349
36350 2006-01-06  Dalibor Topic  <robilad@kaffe.org>
36351
36352         * native/fdlibm/Makefile.am (libfdlibm_la_SOURCES): Removed java-assert.h.
36353
36354         * native/fdlibm/java-assert.h: Removed file.
36355
36356         * native/fdlibm/mprec.c: Include assert.h. Don't include java-assert.h.
36357         Replaced use of JvAssert by assert.
36358
36359 2006-01-05  Anthony Balkissoon  <abalkiss@redhat.com>
36360
36361         * javax/swing/text/DefaultCaret.java:
36362         (setDot): Fixed paramater to Math.max to be this.dot and not the 
36363         parameter dot.
36364
36365 2006-01-05  Roman Kennke  <kennke@aicas.com>
36366
36367         * javax/swing/plaf/basic/BasicListUI.java
36368         (getCellHeight): New helper method.
36369         (getCellBounds): Use new helper method for determining the cell
36370         height.
36371         (paint): Don't call list.indexToLocation() but instead call
36372         directly into the same UI method.
36373         (locationToIndex): Fixed calculation of # visible rows and handling
36374         of cell heights.
36375         (indexToLocation): Fixed calculation of # visible rows and handling
36376         of cell heights.
36377
36378 2006-01-05  Roman Kennke  <kennke@aicas.com>
36379
36380         * javax/swing/plaf/metal/MetalFileChooserUI.java
36381         (createList): Set VERTICAL_SCROLLBAR_NEVER mode on the JScrollPane
36382         in the file chooser.
36383
36384 2006-01-05  Anthony Balkissoon  <abalkiss@redhat.com>
36385
36386         * javax/swing/JTextPane.java:
36387         (replaceSelection): If the document is an AbstractDocument, use replace
36388         rather than remove and insert.
36389         * javax/swing/event/EventListenerList.java:
36390         (getListeners): Reversed the order of the listeners to match the 
36391         reference implementation.
36392         * javax/swing/text/AbstractDocument.java:
36393         (insertString): Add the UndoableEdit from the content.insertString call
36394         to the DocumentEvent.
36395         (DefaultDocumentEvent.toString): Implemented.
36396         * javax/swing/text/DefaultCaret.java:
36397         (setDot): Make sure dot is > 0 and less than the length of the 
36398         document.
36399         * javax/swing/text/DefaultStyledDocument.java:
36400         (ElementBuffer.insertUpdate): Set the modified tag of the document 
36401         event when we get start and end tags.  This ensures that we create the
36402         proper BranchElements in endEdit().
36403         (ElementBuffer.insertUpdate): Added FIXME to handle 
36404         JoinFractureDirection case.
36405         (insertUpdate): Added code to check if we're inserting immediately 
36406         after a newline and to handle this case (create start and end tags). 
36407         Only change the direction of the first and last tags if they are of 
36408         type ContentType.
36409         (checkForInsertAfterNewline): New helper method.
36410         (handleInsertAfterNewline): Likewise.
36411         * javax/swing/text/View.java:
36412         (updateLayout): Avoid NPE by checking if shape is null.  Repaint 
36413         container.
36414
36415 2006-01-05  Mark Wielaard  <mark@klomp.org>
36416
36417         * newsitems.txt: Add fosdem meeting.
36418         * events/events.wml: Likewise.
36419         * events/fosdem06.wml: New file.
36420         
36421 2006-01-05  Lillian Angel  <langel@redhat.com>
36422         
36423         * javax/swing/text/GapContent.java
36424         (createPosition): No positions should be created inside the
36425         gap. Fixed check to ensure this does not happen.
36426
36427 2006-01-05  Roman Kennke  <kennke@aicas.com>
36428
36429         * javax/swing/RepaintManager.java
36430         (validateInvalidComponents): Search for the validate root
36431         and start validating there.
36432
36433 2006-01-05  Roman Kennke  <kennke@aicas.com>
36434
36435         * javax/swing/plaf/basic/BasicListUI.java
36436         (ComponentHandler): Removed unneeded class.
36437         (ListDataHandler.contentsChanged): Revalidate instead of calling
36438         damageLayout().
36439         (ListDataHandler.intervalAdded): Revalidate instead of calling
36440         damageLayout().
36441         (ListDataHandler.intervalRemoved): Revalidate instead of calling
36442         damageLayout().
36443         (PropertyChangeHandler.propertyChange): Or flags together instead
36444         of adding them. Don't call damageLayout().
36445         (componentListener): Removed unnecessary field.
36446         (damageLayout): Removed unnecessary method.
36447         (installListeners): Don't install unnecessary listeners.
36448         (uninstallListeners): Dito.
36449         (getPreferredSize): Don't ask for the real list height and
36450         calculate with the previously calculated list height.
36451         (locationToIndex): Renamed list parameter to l so that it doesn't
36452         shadow the field with the same name.
36453         (indexToLocation): Renamed list parameter to l so that it doesn't
36454         shadow the field with the same name.
36455
36456 2006-01-04  Tom Tromey  <tromey@redhat.com>
36457
36458         * include/.cvsignore: Ignore config-int.h.
36459
36460 2006-01-04  Roman Kennke  <kennke@aicas.com>
36461
36462         * javax/swing/plaf/basic/BasicListUI.java
36463         (getPreferredSize): Rewritten to match the specs.
36464
36465 2006-01-04  Roman Kennke  <kennke@aicas.com>
36466
36467         * javax/swing/JFileChooser.java
36468         (showOpenDialog): Set fixed width on the dialog.
36469         (showSaveDialog): Set fixed width on the dialog.
36470         (showDialog): Set fixed width on the dialog.
36471
36472 2006-01-04  Roman Kennke  <kennke@aicas.com>
36473
36474         * javax/swing/plaf/basic/BasicListUI.java
36475         (locationToIndex): Added FIXME about getVisibleRowCount() usage.
36476         Adjusted iteration to not use visibleRowCount and instead iterate
36477         over the real number of elements in cellHeights.
36478         (indexToLocation): Added FIXME about getVisibleRowCount() usage.
36479         Adjusted iteration to not use visibleRowCount and instead iterate
36480         over the real number of elements in cellHeights.
36481
36482 2006-01-04  Roman Kennke  <kennke@aicas.com>
36483
36484         * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c,
36485         * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c:
36486         Added __attribute__((__unused__)) macros to avoid gcc warnings.
36487
36488 2006-01-04  Roman Kennke  <kennke@aicas.com>
36489
36490         * vm/reference/gnu/java/net/VMPlainSocketImpl.java: New VM class.
36491         * vm/reference/gnu/java/net/VMPlainDatagramSocketImpl.java:
36492         New VM class.
36493         * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c: New file.
36494         * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c:
36495         New file.
36496         * native/jni/java-net/gnu_java_net_PlainDatagramSocketImpl.c:
36497         Removed.
36498         * native/jni/java-net/gnu_java_net_PlainSocketImpl.c: Removed.
36499         * native/jni/java-net/Makefile.am: Adjusted for new source files.
36500         * gnu/java/net/PlainDatagramSocketImpl.java: Use new VM interface.
36501         * gnu/java/net/PlainSocketImpl.java: Use new VM interface.
36502         * include/gnu_java_net_PlainDatagramSocketImpl.h: Removed.
36503         * include/gnu_java_net_PlainSocketImpl.h: Removed.
36504         * include/gnu_java_net_VMPlainDatagramSocketImpl.h: New header file.
36505         * include/gnu_java_net_VMPlainSocketImpl.h: New header file.
36506
36507 2006-01-04  Lillian Angel  <langel@redhat.com>
36508
36509         * javax/swing/plaf/metal/MetalFileChooserUI.java
36510         (propertyChange): Fixed to change the combo box label
36511         appropriately. Also, fixed to set the textfield's text
36512         correctly.
36513         (editFile): Fixed size of editing field.
36514         (installComponents): Correctly aligned all panels.
36515         (installStrings): Fixed to set the label's text
36516         appropriately depending on the dialog type.
36517
36518 2006-01-04  Lillian Angel  <langel@redhat.com>
36519
36520         PR classpath/25473 
36521         PR classpath/25479
36522         * javax/swing/JTree.java
36523         (JTree): Because some L&F defaults have been updated,
36524         the selectionMode for the tree needed to be set to SINGLE.
36525         * javax/swing/plaf/basic/BasicFileChooserUI.java:
36526         Initialized accessoryPanel.
36527         * javax/swing/plaf/metal/MetalFileChooserUI.java
36528         (installComponents): Added accessoryPanel to the filechooser.
36529
36530 2006-01-04  Dalibor Topic  <robilad@kaffe.org>
36531
36532         * configure.ac: Added AX_CREATE_STDINT_H
36533
36534         * include/Makefile.am (DISTCLEANFILES): Remove config-int.h.
36535
36536         * m4/ax_create_stdint_h.m4: New file.
36537
36538         * native/fdlibm/mprec.h: Include config-int.h. Removed C99
36539         typedefs. Removed stdint.h and inttypes.h includes.
36540  
36541 2006-01-03  Mark Wielaard  <mark@klomp.org>
36542
36543         * javax/swing/JMenuItem.java (configurePropertiesFromAction): Only
36544         register keyboard action when accelerator is not null.
36545         * javax/swing/plaf/basic/BasicMenuItemUI.java (propertyChange): Only
36546         re-register accelerator if not null.
36547         (installKeyboardActions): Only put accelerator in map when not null.
36548
36549 2006-01-04  Lillian Angel  <langel@redhat.com>
36550
36551         * javax/swing/plaf/basic/BasicLookAndFeel.java
36552         (initComponentDefaults): Removed unneeded default.
36553         * javax/swing/plaf/metal/MetalLookAndFeel.java
36554         (initComponentDefaults): Added and fixed several defaults.
36555
36556 2006-01-04  Roman Kennke  <kennke@aicas.com>
36557
36558         * javax/swing/plaf/basic/BasicHTML.java: New class.
36559
36560 2006-01-03  Tom Tromey  <tromey@redhat.com>
36561
36562         * java/io/OutputStreamWriter.java (OutputStreamWriter): Added @since.
36563         * java/io/InputStreamReader.java (InputStreamReader): Added @since.
36564
36565 2006-01-03  Mark Wielaard  <mark@klomp.org>
36566
36567         * org/omg/CORBA/INVALID_ACTIVITY.java: Remove non-ascii characters.
36568
36569 2006-01-03  Mark Wielaard  <mark@klomp.org>
36570
36571         * javax/swing/plaf/metal/MetalLookAndFeel.java (MetalLookAndFeel):
36572         Always call createDefaultTheme().
36573         (createDefaultTheme): Check whether theme is still null.
36574
36575 2006-01-03  Mark Wielaard  <mark@klomp.org>
36576
36577         * gnu/java/awt/peer/gtk/GdkGraphics2D.java (setBackground): Set to
36578         Color.WHITE if null.
36579
36580 2006-01-03  Lillian Angel  <langel@redhat.com>
36581
36582         * javax/swing/plaf/metal/MetalLookAndFeel.java
36583         (getDescription): Fixed to return the correct string.
36584         (getID): Likewise.
36585         (getName): Likewise.
36586         (getDefaults): Added check to avoid NPE.
36587         (getAcceleratorForeground): Likewise.
36588         (getAcceleratorSelectedForeground): Likewise.
36589         (getBlack): Likewise.
36590         (getControl): Likewise.
36591         (getControlDarkShadow): Likewise.
36592         (getControlDisabled): Likewise.
36593         (getControlHighlight): Likewise.
36594         (getControlInfo): Likewise.
36595         (getControlShadow): Likewise.
36596         (getControlTextColor): Likewise.
36597         (getControlTextFont): Likewise.
36598         (getDesktopColor): Likewise.
36599         (getFocusColor): Likewise.
36600         (getHighlightedTextColor): Likewise.
36601         (getInactiveControlTextColor): Likewise.
36602         (getInactiveSystemTextColor): Likewise.
36603         (getMenuBackground): Likewise.
36604         (getMenuDisabledForeground): Likewise.
36605         (getMenuForeground): Likewise.
36606         (getMenuSelectedBackground): Likewise.
36607         (getMenuSelectedForeground): Likewise.
36608         (getMenuTextFont): Likewise.
36609         (getPrimaryControl): Likewise.
36610         (getPrimaryControlDarkShadow): Likewise.
36611         (getPrimaryControlHighlight): Likewise.
36612         (getPrimaryControlInfo): Likewise.
36613         (getPrimaryControlShadow): Likewise.
36614         (getSeparatorBackground): Likewise.
36615         (getSeparatorForeground): Likewise.
36616         (getSubTextFont): Likewise.
36617         (getSystemTextColor): Likewise.
36618         (getSystemTextFont): Likewise.
36619         (getTextHighlightColor): Likewise.
36620         (getUserTextColor): Likewise.
36621         (getUserTextFont): Likewise.
36622         (getWhite): Likewise.
36623         (getWindowBackground): Likewise.
36624         (getWindowTitleBackground): Likewise.
36625         (getWindowTitleFont): Likewise.
36626         (getWindowTitleForeground): Likewise.
36627         (getWindowTitleInactiveBackground): Likewise.
36628         (getWindowTitleInactiveForeground): Likewise.
36629
36630 2006-01-03  Mark Wielaard  <mark@klomp.org>
36631
36632         * javax/swing/JTextArea.java
36633         (JTextArea(Document,text,int,int)): Only call setText() when text is
36634         not null.
36635
36636 2006-01-03  Lillian Angel  <langel@redhat.com>
36637
36638         * javax/swing/plaf/basic/BasicFileChooserUI.java
36639         (installStrings): Fixed installation of defaults that
36640         were changed in BasicLookAndFeel.
36641         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
36642         (installDefaults): Fixed installation of defaults that
36643         were changed in BasicLookAndFeel.
36644
36645 2006-01-03  Lillian Angel  <langel@redhat.com>
36646
36647         * javax/swing/plaf/basic/BasicLookAndFeel.java
36648         (initComponentDefaults): Fixed several defaults that differed
36649         from the JDK.
36650
36651 2006-01-03  Lillian Angel  <langel@redhat.com>
36652
36653         * javax/swing/tree/DefaultTreeSelectionModel.java
36654         (DefaultTreeSelectionModel): Default should be DISCONTIGUOUS_TREE_SELECTION.
36655
36656 2006-01-03  Lillian Angel  <langel@redhat.com>
36657
36658         * javax/swing/AbstractAction.java
36659         (AbstractAction): Fixed to pass in null. Should not be 
36660         an empty string. Removed TODO comment.
36661         (AbstractAction): Removed TODO comment.
36662         * javax/swing/JList.java
36663         (init): Default selection mode should be MULTIPLE_INTERVAL_SELECTION.
36664         * javax/swing/JMenuItem.java
36665         (JMenuItem): Set all defaults if the action passed in is not null.
36666         * javax/swing/JProgressBar.java
36667         (JProgressBar): Added check to prevent NPE.
36668
36669 2006-01-03  Lillian Angel  <langel@redhat.com>
36670
36671         * javax/swing/plaf/basic/BasicListUI.java
36672         (getPreferredSize): The JDK adds some extra space to 
36673         the list, so we should as well.
36674         * javax/swing/plaf/metal/MetalFileChooserUI.java
36675         (getPreferredSize): Should only take the fileListPanel's
36676         width into account when getting the size. Also, the buttonPanel's
36677         size should not be checked, since it is in the bottomPanel already.
36678         (getMinimumSize): Likewise.
36679
36680 2006-01-03  Lillian Angel  <langel@redhat.com>
36681
36682         * javax/swing/JList.java
36683         (init): visibleRowCount should be 7, like the JDK.
36684         * javax/swing/plaf/metal/MetalFileChooserUI.java
36685         (installComponents): No need to add the fileFilterCombo
36686         to a panel. It can be added to the row directly.
36687
36688 2006-01-03  Lillian Angel  <langel@redhat.com>
36689         
36690         PR classpath/25480 PR classpath/25478
36691         * javax/swing/plaf/basic/BasicScrollPaneUI.java
36692         (updateViewport): Made changes suggested by
36693         Chris Lansdown.
36694         * javax/swing/plaf/metal/MetalFileChooserUI.java:
36695         Removed unneeded import.
36696         (createList): Removed comment, JList wrapping 
36697         now works.
36698         (getPreferredSize): Made changes suggested by
36699         Chris Lansdown. Uses fileListPanel, instead
36700         of fileList.
36701         (getMinimumSize): Uses fileListPanel, instead
36702         of fileList.
36703         * javax/swing/plaf/metal/MetalRadioButtonUI.java
36704         (paintFocus): Fixed height.
36705
36706 2006-01-03  Roman Kennke  <kennke@aicas.com>
36707
36708         * javax/swing/plaf/basic/BasicListUI.java
36709         (locationToIndex): Added check to avoid ArrayOutOfBoundsException.
36710
36711 2006-01-03  Roman Kennke  <kennke@aicas.com>
36712
36713         * javax/swing/plaf/basic/BasicListUI.java
36714         (locationToIndex): Special case for when variable cell heights
36715         are possible. (cellHeights is used instead of cellHeight).
36716         (indexToLocation): Special case for when variable cell heights
36717         are possible. (cellHeights is used instead of cellHeight).
36718
36719 2006-01-03  Roman Kennke  <kennke@aicas.com>
36720
36721         * javax/swing/text/DefaultStyledDocument.java
36722         (ElementBuffer.remove): New method.
36723         (ElementBuffer.removeUpdate): New method.
36724         (removeUpdate): New method.
36725
36726 2006-01-03  Roman Kennke  <kennke@aicas.com>
36727
36728         * lib/Makefile.am:
36729         (dist-hook): Preserve attributes of Java sources when copying to
36730         dist dir.
36731
36732 2006-01-03  Raif S. Naffah  <raif@swiftdsl.com.au>
36733
36734         * AUTHORS: Added self.
36735         * java/security/Security.java (getProvider): Ensures provider's name is
36736           not null, not an empty string, and is trimmed before usage.
36737
36738 2006-01-01  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
36739
36740         * gnu/CORBA/Poa/AOM.java (add):
36741         Changed parameter Object into gnuServantObject.
36742         (Obj.object): Changed type to gnuServantObject.
36743         (findObject): Rewritten.
36744
36745 2006-01-01  Andreas Tobler  <a.tobler@schweiz.ch>
36746
36747         * native/jni/qt-peer/mainqtthread.cpp: Remove call to disable double
36748         buffering. Ability has gone in Qt-4.1.x.
36749
36750         * configure.ac (QT_CFLAGS): Check for 4.1.0 version and for QtCore
36751         to have the right include flags.
36752
36753 2006-01-01  Raif S. Naffah  <raif@swiftdsl.com.au>
36754
36755         * java/security/MessageDigest.java (getInstance(String,String)):
36756         Use trimmed copy of provider name.
36757         * gnu/java/security/Engine.java
36758         (getInstance(String,String,Provider,Object[])): Use trimmed copy of
36759         service and algorithm names.
36760
36761 2006-01-01  Raif S. Naffah  <raif@swiftdsl.com.au>
36762
36763         * java/net/InetAddress.java (getAllByName): use LOCALHOST if
36764         localhost is null or is an empty string. Trim hostname before
36765         lookup.
36766