OSDN Git Service

PR fortran/30820
[pf3gnuchains/gcc-fork.git] / libjava / classpath / ChangeLog
1 2007-05-07 Keith Seitz  <keiths@redhat.com>
2
3         * gnu/classpath/jdwp/Jdwp.java (notify): Rewrite to call
4         new array-based method.
5         (notify): New function.
6         (sendEvent): Rewrite to use sendEvents.
7         (sendEvents): New method.
8         * gnu/classpath/jdwp/event/Event.java (toPacket): Make static.
9         Change parameters to use arrays for events and requests.
10         Add suspendPolicy parameter.
11         Move per-event data transformation to...
12         (_toData): ... here.
13         * gnu/classpath/jdwp/transport/JdwpConnection.java
14         (sendEvent): Renamed to ...
15         (sendEvents): ... this.
16         Change parameters to use arrays for events and requests.
17         Add suspendPolicy parameter.
18
19 2007-05-03  Andrew Haley  <aph@redhat.com>
20
21         * gnu/javax/management/Server.java (Server): Record the delegate.
22         (registerMBean): Notify the delegate.
23         (unregisterMBean): Likewise.
24         (notify): New method.
25
26 2007-04-04  Francis Kung  <fkung@redhat.com>
27
28         * gnu/java/awt/peer/gtk/ComponentGraphics.java
29         (cairoDrawGlyphVector): Removed method.
30         (cairoSetFont): Removed method.
31         (disposeNative): Removed method.
32         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
33         (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoDrawGlyphVector): Added
34         locking.
35         (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoSetFont): Added locking.
36         (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_disposeNative): Added locking.
37
38 2007-04-27  Keith Seitz  <keiths@redhat.com>
39
40         * gnu/classpath/jdwp/event/EventManager.java
41         (getEventRequest): Rename to...
42         (getEventRequests): ...this.
43         Change return type to array of requests.
44         Construct a list of all matching events and return
45         them all.
46         * gnu/classpath/jdwp/Jdwp.java (notify): Use getEventRequests
47         and send event notifications for all matching requests.
48
49 2007-04-27  Keith Seitz  <keiths@redhat.com>
50
51         * gnu/classpath/jdwp/event/filters/LocationOnlyFilter.java
52         (matches): Use Location.equals to determine equality.
53         * gnu/classpath/jdwp/VMMethod.java (equals):
54         New method.
55         * gnu/classpath/jdwp/util/Location.java (equals):
56         New method.
57
58 2007-03-16  Francis Kung  <fkung@redhat.com>
59
60         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
61         (cairoArc): Make protected rather than private so it can be over-ridden.
62         (cairoClip): Likewise.
63         (cairoClosePath): Likewise.
64         (cairoCurveTo): Likewise.
65         (cairoDrawGlyphVector): Likewise.
66         (cairoFill): Likewise.
67         (cairoLineTo): Likewise.
68         (cairoMoveTo): Likewise.
69         (cairoNewPath): Likewise.
70         (cairoRectangle): Likewise.
71         (cairoResetClip): Likewise.
72         (cairoRestore): Likewise.
73         (cairoSave): Likewise.
74         (cairoScale): Likewise.
75         (cairoSetAntialias): Likewise.
76         (cairoSetDash): Likewise.
77         (cairoSetFillRule): Likewise.
78         (cairoSetFont): Likewise.
79         (cairoSetLine): Likewise.
80         (cairoSetMatrix): Likewise.
81         (cairoSetOperator): Likewise.
82         (cairoSetRGBAColor): Likewise.
83         (cairoStroke): Likewise.
84         (drawPixels): Likewise.
85         (init): Likewise.
86         (setGradient): Likewise.
87         (setPaintPixels): Likewise.
88         (cairoDrawLine): Removed.
89         (cairoDrawRect): Removed.
90         (cairoFillRect): Removed.
91         (cairoPreserveClip): Removed.
92         (cairoRelCurveTo): Removed.
93         (cairoRelLineTo): Removed.
94         (cairoRelMoveTo): Removed.
95         * gnu/java/awt/peer/gtk/ComponentGraphics.java
96         (cairoArc): New method wrapping superclass method in locks.
97         (cairoClip): Likewise.
98         (cairoClosePath): Likewise.
99         (cairoCurveTo): Likewise.
100         (cairoDrawGlyphVector): Likewise.
101         (cairoFill): Likewise.
102         (cairoLineTo): Likewise.
103         (cairoMoveTo): Likewise.
104         (cairoNewPath): Likewise.
105         (cairoRectangle): Likewise.
106         (cairoResetClip): Likewise.
107         (cairoRestore): Likewise.
108         (cairoSave): Likewise.
109         (cairoScale): Likewise.
110         (cairoSetAntialias): Likewise.
111         (cairoSetDash): Likewise.
112         (cairoSetFillRule): Likewise.
113         (cairoSetFont): Likewise.
114         (cairoSetLine): Likewise.
115         (cairoSetMatrix): Likewise.
116         (cairoSetOperator): Likewise.
117         (cairoSetRGBAColor): Likewise.
118         (cairoStroke): Likewise.
119         (disposeNative): Likewise.
120         (drawPixels): Likewise.
121         (init): Likewise.
122         (setGradient): Likewise.
123         (setPaintPixels): Likewise.
124         (draw): Do not lock, as locking is now done in the wrapped native methods.
125         (drawComposite): Likewise.
126         (drawGlyphVector): Likewise.
127         (drawImage): Likewise.
128         (drawRenderedImage): Likewise.
129         (fill): Likewise.
130         (setClip): Removed.
131         (lock): Added documentation.
132         (unlock): Added documentation.
133         * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Regenerated.
134         * include/gnu_java_awt_peer_gtk_ComponentGraphics.h: Regenerated.
135         * lib/gnu/java/awt/peer/gtk/ComponentGraphics.class: Regenerated.
136         * lib/gnu/java/awt/peer/gtk/CairoGraphics2D.class: Regenerated.
137         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
138         (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoDrawLine): Removed.
139         (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoDrawRect): Removed.
140         (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoFillRect): Removed.
141         (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoPreserveClip): Removed.
142         (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoRelCurveTo): Removed.
143         (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoRelLineTo): Removed.
144         (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoRelMoveTo): Removed.
145
146 2007-04-23  Jeroen Frijters  <jeroen@frijters.net>
147
148         PR classpath/31646:
149         * java/util/Arrays.java (qsort): Corrected initial median calculation.
150
151 2007-04-19  Casey Marshall  <csm@gnu.org>
152
153         PR classpath/31626:
154         * gnu/javax/net/ssl/provider/SSLSocketFactoryImpl.java
155         (createSocket): New method.
156
157 2007-04-18  Tom Tromey  <tromey@redhat.com>
158
159         * tools/gnu/classpath/tools/javah/MethodHelper.java (print):
160         Changed arguments.  Directly print method name.
161         * tools/gnu/classpath/tools/javah/ClassWrapper.java
162         (methodNameMap): New field.
163         (makeVtable): Initialize it.
164         (printMethods): Compute name for bridge targets.
165
166 2007-04-17  Andrew Haley  <aph@redhat.com>
167
168         * gnu/java/rmi/server/UnicastConnectionManager.java
169         (UnicastConnectionManager(int port, RMIServerSocketFactory)):
170         Listen on "localhost", not localhost.
171
172 2007-04-17  Francis Kung  <fkung@redhat.com>
173
174         PR classpath/31311
175         * gnu/java/awt/peer/gtk/ComponentGraphics.java
176         (dispose): Removed method.
177         (disposeSurface): Removed method.
178         * gnu_java_awt_peer_gtk_ComponentGraphics.h: Regenerated.
179         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
180         (Java_gnu_java_awt_peer_gtk_ComponentGraphics_disposeSurface): Removed.
181         (Java_gnu_java_awt_peer_gtk_ComponentGraphics_initState): Destroy surface
182         after it is used to create a cairo context.
183
184 2007-04-16  Tom Tromey  <tromey@redhat.com>
185
186         https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=236614
187         * gnu/javax/net/ssl/provider/SSLSocketFactoryImpl.java
188         (createSocket): Change order of delegation.
189
190 2007-04-16  Andrew Haley  <aph@redhat.com>
191
192         * java/io/ObjectInputStream.java: (parseContent):  Call (String,
193         Object) version of dumpElementln.
194         (dumpElementln(String, Object)): New method.
195         * java/io/ObjectOutputStream.java (writeObject): Call (String,
196         Object) version of dumpElementln.
197         (dumpElementln(String, Object)): New method.
198
199 2007-04-16  Andrew John Hughes  <gnu_andrew@member.fsf.org>
200
201         * javax/management/ObjectName.java:
202         (parse(String)): Catch multiple wildcards,
203         initialise with an empty string (so null isn't
204         appended), and emit comma even when wildcard
205         ends the list.
206         (checkComponents()): Catch newlines.
207         (quote(String)): Handle newlines and quotes
208         correctly.
209
210 2007-04-16  Andrew Haley  <aph@redhat.com>
211
212         * org/omg/IOP/TaggedComponentHelper.java (read): Use
213         read_octet_array(), not read().
214         (write): Use write_octet_array(), not write().
215
216         * org/omg/PortableServer/Servant.java (_get_delegate): Throw if no
217         delegate has been set.
218
219         * javax/management/ObjectName.java serialVersionUID: Declare.
220         Make all fields transient.
221         (parse): Break out from constructor.
222         (writeObject, readObject): New methods.
223
224 2007-04-02  Keith Seitz  <keiths@redhat.com>
225
226         * gnu/classpath/jdwp/event/ThreadStartEvent.java (Event):
227         Event type is "THREAD_START" not "THREAD_END".
228
229         * gnu/classpath/jdwp/transport/SocketTransport.java (ITransport):
230         Handle configure strings ":port" and "port".
231
232 2007-03-30  Andrew Haley  <aph@redhat.com>
233
234         * javax/management/ObjectName.java: Handle 0-length names.
235
236 2007-03-27  Andrew Haley  <aph@redhat.com>
237
238         * javax/management/MBeanServerFactory.java: Use the domain that
239         we've been passed, not the fixed string "DefaultDomain".
240
241 2007-03-29  Tom Tromey  <tromey@redhat.com>
242
243         PR libgcj/29869:
244         * gnu/java/util/jar/JarUtils.java (log): Commented out.
245         (readSFManifest): Don't log.
246
247 2007-03-28  Casey Marshall  <csm@gnu.org>
248
249         * gnu/javax/net/ssl/provider/ClientHandshake.java (RSAGen.implRun):
250         check keyEncipherment bit of the certificate, and just pass the public
251         key to the cipher.
252
253 2007-03-27  Casey Marshall  <csm@gnu.org>
254
255         PR classpath/31302:
256         * gnu/javax/net/ssl/provider/SSLSocketImpl.java (SSLSocketImpl):
257         Always make a new socket.
258         (bind, connect, getInetAddress, getLocalAddress, getPort,
259         getLocalPort, getRemoteSocketAddress, getLocalSocketAddress,
260         setTcpNoDelay, getTcpNoDelay, setSoLinger, getSoLinger,
261         setOOBInline, getOOBInline, setSoTimeout, getSoTimeout,
262         setSendBufferSize, getSendBufferSize, setReceiveBufferSize,
263         getReceiveBufferSize, setKeepAlive, getKeepAlive, setTrafficClass,
264         getTrafficClass, setReuseAddress, getReuseAddress, close,
265         shutdownInput, shutdownOutput, isConnected, isBound, isClosed,
266         isInputShutdown, isOutputShutdown): Always use
267         'underlyingSocket'.
268
269 2007-03-27  Tom Tromey  <tromey@redhat.com>
270
271         PR classpath/31303:
272         * external/sax/org/xml/sax/helpers/XMLReaderFactory.java
273         (createXMLReader): Code in Classpath default.
274
275 2007-03-27  Keith Seitz  <keiths@redhat.com>
276
277         Merged from upstream:
278         2007-03-09  Kyle Galloway  <kgallowa@redhat.com>
279         * gnu/classpath/jdwp/exception/InvalidTagException.java: New file.
280         * gnu/classpath/jdwp/processor/ArrayReferenceCommandSet.java
281         (executeGetValues): Use Value type.
282         (exectureSetValues): Ditto.  
283         * gnu/classpath/jdwp/processor/ClassTypeCommandSet.java
284         (executeGetValues): Use Value type.
285         (executeSetValues): Ditto.
286         (invokeMethod): Record method return type.
287         * gnu/classpath/jdwp/processor/ObjectReferenceCommandSet.java
288         (executeGetValues): Use Value type.
289         (executeSetValues): Ditto.
290         * gnu/classpath/jdwp/processor/ReferenceTypeCommandSet.java
291         (executeGetValues): Use Value type.
292         * gnu/classpath/jdwp/processor/StackFrameCommandSet.java
293         (executeGetValues): Use Value type.
294         (executeSetValues): Ditto.
295         * gnu/classpath/jdwp/util/MethodResult.java: Add resType to store
296         return type.
297         (getResultType): New Method.
298         (setResultType): Ditto.
299         * gnu/classpath/jdwp/util/Value.java: Remove.
300         * gnu/classpath/jdwp/value: New Package.
301         * gnu/classpath/jdwp/value/Value.java: New file.
302         * gnu/classpath/jdwp/value/BooleanValue.java: New file.
303         * gnu/classpath/jdwp/value/ByteValue.java: New file.
304         * gnu/classpath/jdwp/value/CharValue.java: New file.
305         * gnu/classpath/jdwp/value/DoubleValue.java: New file.
306         * gnu/classpath/jdwp/value/FloatValue.java: New file.
307         * gnu/classpath/jdwp/value/IntValue.java: New file.
308         * gnu/classpath/jdwp/value/LongValue.java: New file.
309         * gnu/classpath/jdwp/value/ObjectValue.java: New file.
310         * gnu/classpath/jdwp/value/ShortValue.java: New file.
311         * gnu/classpath/jdwp/value/StringValue.java: New file.
312         * gnu/classpath/jdwp/value/ValueFactory.java: New file.
313         * gnu/classpath/jdwp/value/VoidValue.java: New file.
314
315         2007-02-28  Keith Seitz  <keiths@redhat.com>
316         * gnu/classpath/jdwp/processor/EventRequestCommandSet.java
317         (executeSet): Check if VM has capability for field access
318         or modification events.
319         * gnu/classpath/jdwp/processor/MethodCommandSet.java
320         (executeByteCodes): Check if VM has capability and
321         implement.
322         * gnu/classpath/jdwp/processor/ObjectReferenceCommandSet.java
323         (executeMonitorInfo): Likewise.
324         * gnu/classpath/jdwp/processor/ReferenceTypeCommandSet.java
325         (executeSourceDebugExtension): Likewise.
326         * gnu/classpath/jdwp/processor/StackFrameCommandSet.java
327         (executePopFrames): Likewise.
328         * gnu/classpath/jdwp/processor/ThreadReferenceCommandSet.java
329         (executeOwnedMonitors): Likewise.
330         (executeCurrentContendedMonitor): Likewise.
331         * gnu/classpath/jdwp/processor/VirtualMachineCommandSet.java
332         (executeCapabilities): Rewrite using new VMVirtualMachine
333         capabilities.
334         (executeRedefineClasses): Check if VM has capability and
335         implement.
336         (executeSetDefaultStratum): Likewise.
337         * gnu/classpath/jdwp/util/MonitorInfo.java; New file.
338         * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java
339         (canWatchFieldModification): New class constant.
340         (canWatchFieldAccess): Likewise.
341         (canGetBytecodes): Likewise.
342         (canGetSyntheticAttribute): Likewise.
343         (canGetOwnedMonitorInfo): Likewise.
344         (canGetCurrentContendedMonitor): Likewise.
345         (canGetMonitorInfo): Likewise.
346         (canRedefineClasses): Likewise.
347         (canAddMethod): Likewise.
348         (canUnrestrictedlyRedefineClasses): Likewise.
349         (canPopFrames): Likewise.
350         (canUseInstanceFilters): Likewise.
351         (canGetSourceDebugExtension): Likewise.
352         (canRequestVMDeathEvent): Likewise.
353         (canSetDefaultStratum): Likewise.
354         (redefineClasses): New method.
355         (setDefaultStratum): Likewise.
356         (getSourceDebugExtension): Likewise.
357         (getBytecodes): Likewise.
358         (getMonitorInfo): Likewise.
359         (getOwnedMonitors): Likewise.
360         (getCurrentContendedMonitor): Likewise.
361         (popFrames): Likewise.
362
363         2007-02-28  Keith Seitz  <keiths@redhat.com>
364         * gnu/classpath/jdwp/processor/MethodCommandSet.java
365         (executeLineTable): Use ReferenceTypeId instead of
366         ClassReferenceTypeId.
367         (executeVariableTable): Likewise.
368         (executeVariableTableWithGeneric): Fix error message.
369         * gnu/classpath/jdwp/processor/ReferenceTypeCommandSet.java
370         (executeSignatureWithGeneric): Fix error message.
371         (executeFieldWithGeneric): Likewise.
372         (executeMethodsWithGeneric): Likewise.
373         * gnu/classpath/jdwp/processor/StackFrameCommandSet.java
374         (executeGetValues): Use ThreadId instead of ObjectId.
375         (executeSetValues): Likewise.
376         (executeThisObject): Likewise.
377
378         2007-02-28  Kyle Galloway  <kgallowa@redhat.com>
379         * gnu/classpath/jdwp/id/NullObjectId.java: New class.
380         * gnu/classpath/jdwp/util/NullObject.java: New class.
381         * vm/reference/gnu/classpath/jdwp/VMIdManager.java
382         (getObjectId): Handle null object.
383         (get): Handle objectId of 0. 
384
385         2007-02-22  Keith Seitz  <keiths@redhat.ecom>
386         * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java
387         (getAllLoadedClassesCount): Remove.
388         (getAllLoadedClasses): Return a Collection.
389         * gnu/classpath/jdwp/processor/VirtualMachineCommandSet.java
390         (executeClassesBySignature): VMVirtualMachine.getAllLoadedClasses
391         now returns Collection.
392         (executeAllClasses): Likewise.
393         Get size of return from Colleciton instead of calling
394         getAllLoadedClassesCount.
395
396         2007-02-22  Kyle Galloway  <kgallowa@redhat.com>
397         * gnu/classpath/jdwp/processor/StackFrameCommandSet.java 
398         (executeGetValues): Pass a signature byte to VMFrame.getValue.
399         * vm/reference/gnu/classpath/jdwp/VMFrame.java (getValue): Add
400         signature parameter.
401
402         2007-02-02  Kyle Galloway  <kgallowa@redhat.com>
403         * gnu/classpath/jdwp/processor/StackFrameCommandSet.java
404         (executeGetValues): Changed getFrame to use a jlong to pass frameID.
405         (executeSetValues): Ditto.
406         (executeThisObject): Ditto.
407         * vm/reference/gnu/classpath/jdwp/VMFrame.java: Added thread field
408         and a constructor used to create VMFrames.
409         (getThread): New method.
410         * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java(getFrame):
411         Changed to take a long instead of a ByteBuffer to pass the frameID.
412
413         2007-01-15  Kyle Galloway  <kgallowa@redhat.com>
414         * gnu/classpath/jdwp/exception/InvalidSlotException.java: New file.
415
416 2007-03-26  Tom Tromey  <tromey@redhat.com>
417
418         * doc/cp-tools.texinfo (gcjh Tool): Added more text.
419         (rmid Tool): Likewise.
420
421 2007-03-25  Dalibor Topic  <robilad@kaffe.org>
422
423         * doc/cp-tools.texinfo: Fix node ordering.
424
425 2007-03-19  Matthias Klose  <doko@ubuntu.com>
426
427         * doc/Makefile.am: Build a gcjh(1) man page.
428         * doc/cp-tools.texinfo: Add documentation for gcjh.
429
430 2007-03-26  Stepan Kasal  <skasal@redhat.com>
431
432         * tools/gnu/classpath/tools/javah/Main.java (cniOrJniSeen): New
433         field.
434         (getParser): Use new field.
435
436 2007-03-17  Thomas Fitzsimmons  <fitzsim@redhat.com>
437
438         * resource/com/sun/tools/javac/messages.properties
439         (Main.FailedToRead, Main.MalformedURL, Main.FailedToLoad): Clarify
440         messages for when --with-ecj-jar is not specified.
441         * configure.ac (FOUND_ECJ_JAR): Remove conditional.
442         * tools/Makefile.am: Build com.sun.tools.javac package
443         unconditionally.
444         * configure, doc/api/Makefile.in, doc/Makefile.in,
445         examples/Makefile.in, external/jsr166/Makefile.in,
446         external/Makefile.in, external/relaxngDatatype/Makefile.in,
447         external/sax/Makefile.in, external/w3c_dom/Makefile.in,
448         include/Makefile.in, lib/Makefile.in, Makefile.in,
449         native/fdlibm/Makefile.in, native/jawt/Makefile.in,
450         native/jni/classpath/Makefile.in,
451         native/jni/gconf-peer/Makefile.in,
452         native/jni/gtk-peer/Makefile.in, native/jni/java-io/Makefile.in,
453         native/jni/java-lang/Makefile.in, native/jni/java-net/Makefile.in,
454         native/jni/java-nio/Makefile.in, native/jni/java-util/Makefile.in,
455         native/jni/Makefile.in, native/jni/midi-alsa/Makefile.in,
456         native/jni/midi-dssi/Makefile.in,
457         native/jni/native-lib/Makefile.in, native/jni/qt-peer/Makefile.in,
458         native/jni/xmlj/Makefile.in, native/Makefile.in,
459         native/plugin/Makefile.in, resource/Makefile.in,
460         scripts/Makefile.in, tools/Makefile.in: Regenerate.
461         * tools/classes/com/sun/tools/javac: New directory.
462         * tools/classes/com/sun/tools/javac/Main.class,
463         tools/classes/com/sun/tools/javac/Messages.class: New files.
464
465 2007-03-16  Tom Tromey  <tromey@redhat.com>
466
467         * tools/gnu/classpath/tools/javah/Main.java (run): Use class'
468         name in File case.
469
470 2007-03-16  Tom Tromey  <tromey@redhat.com>
471
472         * tools/gnu/classpath/tools/javah/JniStubPrinter.java
473         (printClass): Added filename argument.
474         * tools/gnu/classpath/tools/javah/JniIncludePrinter.java
475         (printClass): Added filename argument.
476         * tools/gnu/classpath/tools/javah/CniIncludePrinter.java
477         (printClass): Use user's file name.
478         * tools/gnu/classpath/tools/javah/CniStubPrinter.java
479         (printClass): Use user's file name.
480         * tools/gnu/classpath/tools/javah/Printer.java (printClass): Added
481         filename argument.
482         * tools/gnu/classpath/tools/javah/Main.java (getParser): Fix '-v'
483         argument order.
484         (writeHeaders): Use a HashMap.
485         (run): Put class name into HashMap for writeHeaders.
486
487 2007-03-02  Mario Torre  <neugens@limasoftware.net>
488
489         PR classpath/31017:
490         committed for Petteri Räty <betelgeuse@gentoo.org>
491         * configure.ac: fix broken build for gcj browser plugin
492
493 2007-02-20  Jakub Jelinek  <jakub@redhat.com>
494
495         * java/util/Date.java (parse): Properly parse 09:01:02 as
496         hours/minutes/seconds, not as hours/minutes/year.
497         * java/util/SimpleTimeZone.java (SimpleTimeZone): Simplify
498         {start,end}TimeMode constructor by calling shorter constructor,
499         set {start,end}TimeMode fields after it returns.
500         (setStartRule): Don't adjust startTime into WALL_TIME.  Set
501         startTimeMode to WALL_TIME.
502         (endStartRule): Similarly.
503         (getOffset): Handle properly millis + dstOffset overflowing into the
504         next day.  Adjust startTime resp. endTime based on startTimeMode
505         resp. endTimeMode.
506         * java/util/TimeZone.java (zoneinfo_dir, availableIDs, aliases0): New
507         static fields.
508         (timezones): Remove synchronized keyword.  Set zoneinfo_dir.
509         If non-null, set up aliases0 and don't put anything into
510         timezones0.
511         (defaultZone): Call getTimeZone instead of timezones().get.
512         (getDefaultTimeZone): Fix parsing of EST5 or EST5EDT6.  Use
513         getTimeZoneInternal instead of timezones().get.
514         (parseTime): Parse correctly hour:minute.
515         (getTimeZoneInternal): New private method.
516         (getTimeZone): Do the custom ID checking first, canonicalize
517         ID for custom IDs as required by documentation.  Call
518         getTimeZoneInternal to handle the rest.
519         (getAvailableIDs(int)): Add locking.  Handle zoneinfo_dir != null.
520         (getAvailableIDs(File,String,ArrayList)): New private method.
521         (getAvailableIDs()): Add locking.  Handle zoneinfo_dir != null.
522         * gnu/java/util/ZoneInfo.java: New file.
523
524 2007-02-20  Matthias Klose  <doko@ubuntu.com>
525
526         * doc/Makefile.am: Add rules to build and install man pages
527         from texinfo docs.
528         * doc/hacking.texinfo doc/tools.texinfo, doc/vmintegration.texinfo:
529         Rename, prefix files with "cp-".
530         * doc/cp-tools.texinfo: Add markup for man page generation,
531         add documentation for command line options for gjar, gjavah,
532         gnative2ascii, gorbd, grmid, grmiregistry, gserialver, gtnameserv.
533         doc/texi2pod.pl: New, taken from the GCC sources.
534
535 2006-10-14  Edwin Steiner  <edwin.steiner@gmx.net>
536
537         PR classpath/28652:
538         * javax/management/MBeanInfo.java (MBeanInfo): 
539         Use clone to duplicate the arrays in order to
540         preserve the array type.
541
542 2007-02-16  Andrew Haley  <aph@redhat.com>
543
544         * gnu/java/lang/management/MemoryMXBeanImpl.java,
545         javax/management/MBeanServerDelegate.java: Use
546         gnu.javax.management.ListenerData rather than
547         gnu.classpath.ListenerData.
548         * gnu/javax/management/ListenerData.java: Move here from
549         gnu/classpath/ListenerData.java.
550
551 2007-02-14  Jakub Jelinek  <jakub@redhat.com>
552         Andrew Haley  <aph@redhat.com>
553
554         * java/util/TimeZone.java (getDateParams): Negate dayOfWeek.
555
556 2007-02-09  Tom Tromey  <tromey@redhat.com>
557
558         PR libgcj/30647:
559         * configure: Rebuilt.
560         * configure.ac: Also check for jack/jack.h.
561
562 2007-02-09  Jakub Jelinek  <jakub@redhat.com>
563
564         * java/util/TimeZone.java: Handle default (one hour) daylight
565         savings.
566
567 2007-02-09  Jakub Jelinek  <jakub@redhat.com>
568
569         PR 23566
570         * scripts/timezones.pl: Parse each file in 2 passes, in one parse
571         just Rule lines, in the other everything else.  Pass 0 instead of
572         $savings as second argument to parseRule when parsing the start
573         rule.
574         * java/util/TimeZone.java (timezones): Regenerate from tzdata2007a.
575
576 2007-02-07  Chris Burdess  <dog@gnu.org>
577
578         Fixes PR 30718.
579         * gnu/xml/dom/ls/SAXEventSink.java: Add public accessor/mutators.
580         * gnu/xml/transform/XSLURIResolver.java: Add support for custom
581           SAXSources without a backing URL or stream.
582
583         Fixes PR 27710.
584         * gnu/xml/dom/DomDocumentBuilderFactory.java: Fall back to synchronous
585           LSParser if implementation does not support asynchronous.
586         * gnu/xml/stream/XMLParser.java,
587           gnu/xml/stream/XIncludeFilter.java: Use custom code instead of
588           java.net.URL to resolve to an an absolute URI, to avoid nonexistent
589           protocol handler problems.
590
591 2007-02-06  Tom Tromey  <tromey@redhat.com>
592
593         PR libgcj/30707:
594         * tools/gnu/classpath/tools/javah/JniIncludePrinter.java
595         (printClass): Always print a header.
596
597 2007-02-05  Andrew Haley  <aph@redhat.com>
598
599         PR cp-tools/30706
600         * tools/gnu/classpath/tools/javah/JniIncludePrinter.java:
601         (printClass): Replace '/' in filenames with '_'.
602         * tools/gnu/classpath/tools/javah/JniStubPrinter.java
603         (printClass): Likewise.
604
605 2007-02-05  Tom Tromey  <tromey@redhat.com>
606
607         * java/net/Proxy.java (equals): Handle case where address==null.
608         (hashCode): Likewise.
609         (toString): Likewise.
610
611 2007-01-31  Tom Tromey  <tromey@redhat.com>
612
613         * resource/gnu/classpath/tools/jar/messages.properties
614         (Main.Stdin): New message.
615         * tools/gnu/classpath/tools/jar/Main.java (initializeParser): Add
616         '-@' option.
617         (readNames): New method.
618         (run): Use it.
619
620 2007-01-26  Andrew Haley  <aph@redhat.com>
621
622         * java/lang/SecurityManager.java: Load and initialize
623         java.security.Security.
624
625 2007-01-26  Tom Tromey  <tromey@redhat.com>
626
627         * tools/gnu/classpath/tools/javah/FieldHelper.java (print): Print
628         'volatile' after field type.
629
630 2007-01-23  Marco Trudel  <mtrudel@gmx.ch>
631
632         * java/util/Arrays.java (binarySearch): Change comparison order.
633
634 2007-01-17  Tom Tromey  <tromey@redhat.com>
635
636         * tools/gnu/classpath/tools/javah/PathOptionGroup.java
637         (PathOptionGroup): Set default boot class path.
638
639 2006-12-14  Andrew Haley  <aph@redhat.com>
640
641         * tools/gnu/classpath/tools/jar/Creator.java: Close the
642         inputStream.
643
644 2006-10-12  Andrew Haley  <aph@redhat.com>
645
646         * java/lang/InheritableThreadLocal.java: Rename NULL to sentinel.
647         * java/lang/ThreadLocal.java: Likewise.
648
649 2006-09-13  Andrew Haley  <aph@redhat.com>
650
651         * external/jsr166/java/util/concurrent/atomic/AtomicIntegerFieldUpdater.java:
652         Revert previous gcj-specific disabling of checks.
653         * external/jsr166/java/util/concurrent/atomic/AtomicReferenceFieldUpdater.java:
654         Likewise.
655         * classpath/external/jsr166/java/util/concurrent/atomic/AtomicLongFieldUpdater.java:
656         Likewise.
657
658 2006-09-13  Andrew Haley  <aph@redhat.com>
659
660         * java/util/PriorityQueue.java: Throw IllegalArgumentException for
661         capacity < 1.
662         (Iterator.remove()): Decrement index after removing element.
663
664 2006-12-11  Jeroen Frijters  <jeroen@frijters.net>
665
666         * javax/net/ssl/SSLSocketFactory.java (getDefault):
667         Chain exception cause.
668
669 2006-12-11  Roman Kennke  <kennke@aicas.com>
670
671         * .classpath: Include ASM in Eclipse classpath.
672
673 2006-12-11  Andrew John Hughes  <gnu_andrew@member.fsf.org>
674
675         * gnu/java/lang/management/BeanImpl.java:
676         (translate(String)): Trim strings of whitespace.
677         * javax/management/MBeanAttributeInfo.java:
678         (MBeanAttributeInfo(String,String,Method,Method)):
679         Use Class.getName() for normal (non-parameterized) cases.
680         * javax/management/MBeanConstructorInfo.java:
681         (MBeanConstructorInfo(String, Constructor)):
682         Likewise.
683         * javax/management/MBeanOperationInfo.java:
684         (MBeanOperationInfo(String, Method)):
685         Likewise.
686
687 2006-12-11  Andrew John Hughes  <gnu_andrew@member.fsf.org>
688
689         * java/lang/Class.java:
690         (getClasses()): Return Class<?>[].
691         (internalGetClasses()): Likewise.
692         (getConstructor(Class<?>...)): Add type parameter
693         to parameters.
694         (getDeclaredConstructor(Class<?>...)): Likewise.
695         (getDeclaredClasses()): Return Class<?>[].
696         (getDeclaredClasses(boolean)): Likewise.
697         (getDeclaredConstructors()): Return Constructor<?>[].
698         (getDeclaredConstructors(boolean)): Likewise.
699         (getDeclaredMethod(String,Class<?>...)): Add type
700         parameter to parameters.
701         (getInterfaces()): Return Class<?>[].
702         (getMethods(String,Class<?>...)): Add type
703         parameter to parameters.
704         * java/text/CollationKey.java:
705         Make non-final.
706         * java/text/DecimalFormatSymbols.java:
707         Likewise.
708         
709 2006-12-11  Andrew John Hughes  <gnu_andrew@member.fsf.org>
710
711         * gnu/java/lang/management/BeanImpl.java:
712         (translate(String)): Handle Map and List as
713         Strings of the form "java.util.Map<K,V>" and
714         "java.util.List<E>"
715         * javax/management/MBeanAttributeInfo.java:
716         (MBeanAttributeInfo(String,String,Method,Method)):
717         Use generic parameter and return types.
718         * javax/management/MBeanConstructorInfo.java:
719         (MBeanConstructorInfo(String, Constructor)):
720         Use generic parameter types.
721         * javax/management/MBeanOperationInfo.java:
722         (MBeanOperationInfo(String, Method)):
723         Use generic parameter and return types.
724         
725 2006-12-10  Andrew John Hughes  <gnu_andrew@member.fsf.org>
726
727         * gnu/java/lang/management/BeanImpl.java:
728         (translate(String)): Comment out code for using type
729         variables for Map and List.
730         * java/lang/Thread.java:
731         (Thread(ThreadGroup,Runnable,String,long)): Fix
732         incrementation of totalThreadsCreated to be prior to use.
733         
734 2006-12-10  Andrew John Hughes  <gnu_andrew@member.fsf.org>
735
736         * javax/management/MBeanServerFactory.java:
737         (createMBeanServer(String)): Added security check.
738         (findMBeanServer(String)): Likewise.
739         (newMBeanServer(String)): Likewise.
740         (releaseMBeanServer(String)): Likewise.
741         * javax/management/MBeanServerPermission.java:
742         New file.
743         
744 2006-12-08  David Daney  <ddaney@avtrex.com>
745
746         * native/jni/java-nio/gnu_java_nio_VMChannel.c (is_non_blocking_fd):
747         Fix comment.
748
749 2006-12-08  David Daney  <ddaney@avtrex.com>
750
751         * NEWS: Mention URLConnection.[get|set]ReadTimeout.
752
753 2006-12-08  David Daney  <ddaney@avtrex.com>
754
755         * gnu/java/net/protocol/http/HTTPConnection.java (imports): Add
756         SocketException.
757         (HTTPConnection): Handle NumberFormatException in properties parsing.
758         (Pool.get): Set timeout on reused sockets.
759         * gnu/java/net/protocol/http/HTTPURLConnection.java (proxyPort):
760         Initialize.
761         (HTTPURLConnection): Cleanup properties handling.
762         (getConnection): Use both connection and read timeouts.
763         (setConnectTimeout): Removed.
764         (setReadTimeout): New method.
765         * java/net/URLConnection.java (timeout): Renamed to...
766         (connectTimeout): ... connectTimeout throughout.
767         (readTimeout): New field.
768         (getReadTimeout): New method.
769         (setReadTimeout): New method.
770
771 2006-12-08  Tania Bento  <tbento@redhat.com>
772
773         * java/awt/ScrollPane.java
774         (doLayout): Change the location of the scrollpane's child
775         to (0, 0).
776
777 2006-12-08  David Daney  <ddaney@avtrex.com>
778
779         * native/jni/java-nio/gnu_java_nio_VMChannel.c (is_non_blocking_fd):
780         New method.
781         (Java_gnu_java_nio_VMChannel_read__ILjava_nio_ByteBuffer_2): Throw
782         SocketTimeoutException if a blocking socket timesout.
783         (Java_gnu_java_nio_VMChannel_readScattering): Same.
784         (Java_gnu_java_nio_VMChannel_read__I): Same.
785         (Java_gnu_java_nio_VMChannel_connect): Initialize the fd set.
786         (Java_gnu_java_nio_VMChannel_connect6): Same.
787
788 2006-12-08  Mark Wielaard  <mark@klomp.org>
789
790         * configure.ac (VERSION): Set to 0.93-generics.
791         * NEWS: Add release date.
792
793 2006-12-08  Tania Bento  <tbento@redhat.com>
794
795         * java/awt/ScrollPane.java
796         (getScrollPosition): Throw NullPointerException if scrollpane
797         does have a child.
798         (setScrollPosition(int, int)): Throw NullPointerException if
799         scrollpane does have a child.  Check that both ints are within
800         the allowed bounds; If they are not, scroll to the closest allowed
801         bound.
802
803 2006-12-07  Roman Kennke  <kennke@aicas.com>
804
805         * javax/swing/JEditorPane.java
806         (EditorKitMapping): New inner helper class.
807         (editorKits): New static field for caching editor kit instances.
808         (static_initiazer): Initialize static mappings here.
809         (createEditorKitForContentType): Try to use cached instance.
810         Use correct classloader for loading.
811         (getEditorKitClassNameForContentType): Make use of EditorKitMapping
812         class.
813         (getEditorKitForContentType): Store the fetched editor kit.
814         Fallback to createDefaultEditorKit().
815         (init): Don't clean the static registry here.
816         (registerEditorKitForContentType(String,String,ClassLoader)):
817         Implemented.
818         (registerEditorKitForContentType(String,String)): Delegate to
819         the other version of this method with the thread's context
820         classloader.
821
822 2006-12-07  Mark Wielaard  <mark@klomp.org>
823
824         * examples/gnu/classpath/examples/swing/HtmlDemo.java
825         (setPage): Don't convert URL to String for setPage().
826
827 2006-12-07  Mark Wielaard  <mark@klomp.org>
828
829         * tools/Makefile.am (clean-local): Remove iasm and asm.lst.
830
831 2006-12-07  Mark Wielaard  <mark@klomp.org>
832
833         * tools/Makefile.am: Explicitly define  and use bootclasspath as
834         GLIBJ_BOOTCLASSPATH
835
836 2006-12-07  Mark Wielaard  <mark@klomp.org>
837
838         * javax/swing/JEditorPane.java (createEditorKitForContentType):
839         Always load from system class loader.
840
841 2006-12-07  Mark Wielaard  <mark@klomp.org>
842
843         * java/net/URL.java (URL(URL,String,URLStreamHandler,boolean)): New
844         private constructor.
845         (URL(URL,String,URLStreamHandler)): Call new constructor.
846         (URL(URL,String)): Likewise.
847         (URL(String)): Likewise.
848
849 2006-12-07  Tom Tromey  <tromey@redhat.com>
850
851         * NEWS: Mention ASM.
852         * INSTALL: Don't mention --with-asm.
853         * tools/external/README: New file.
854         * tools/toolwrapper.c (main): Don't use ASM_JAR.
855         * tools/gjavah.in: Don't use PATH_TO_ASM.
856         * tools/grmic.in: Likewise.
857         * tools/Makefile.am (GLIBJ_CLASSPATH): Removed PATH_TO_ASM, added
858         'asm'.
859         (javah, rmic): Removed variables.
860         (bin_PROGRAMS): Updated.
861         (gappletviewer_CFLAGS): Don't define ASM_JAR.
862         (gjarsigner_CFLAGS): Likewise.
863         (gkeytool_CFLAGS): Likewise.
864         (gjar_CFLAGS): Likewise.
865         (gnative2ascii_CFLAGS): Likewise.
866         (gserialver_CFLAGS): Likewise.
867         (grmiregistry_CFLAGS): Likewise.
868         (gtnameserv_CFLAGS): Likewise.
869         (gorbd_CFLAGS): Likewise.
870         (grmid_CFLAGS): Likewise.
871         (gjavah_CFLAGS): Likewise.
872         (grmic_CFLAGS): Likewise.
873         (bin_SCRIPTS): Updated.
874         (TOOLS_JAVA_FILES): Updated.
875         ($(TOOLS_ZIP)): Compile ASM sources.  Copy resource files.
876         * configure.ac: Removed --with-asm.  Always build gjavah.
877
878 2006-12-06  Roman Kennke  <kennke@aicas.com>
879
880         * examples/gnu/classpath/examples/swing/BrowserEditorKit.java:
881         New class.
882         * examples/gnu/classpath/examples/swing/HtmlDemo.java
883         (LoadActionListener): Call setPage() helper method.
884         (createContent): Register tweaked editor kit. For FormSubmitEvents
885         call submitForm(), otherwise setPage().
886         (postData): Helper method for posting form data.
887         (setPage): Helper method for navigating to a new URL.
888         (submitForm): Helper method for submitting a form.
889         * examples/gnu/classpath/examples/swing/forms.html:
890         Added text/password fields and select boxes.
891         * examples/gnu/classpath/examples/swing/welcome.html: Fixed typo.
892
893 2006-12-06  Roman Kennke  <kennke@aicas.com>
894
895         * javax/swing/text/html/FormView.java
896         (SubmitThread.postData): Implemented.
897         (SubmitThread.run): Pass data to postData().
898         (actionPerformed): Reset form when reset button is activated.
899         (createComponent): Add support for select lists and comboboxes.
900         Don't set value of text and password fields here, this is done
901         now in HTMLDocument for consistency.
902         (getElementFormData): Add support for fetching form data from
903         select lists and comboboxes as well as textareas.
904         (getSelectData): New helper method. Fetches form data from
905         select boxes.
906         (getTextAreaData): New helper method. Fetches form data from
907         textareas.
908         (resetForm): New helper method. Resets the entire form.
909         * javax/swing/text/html/HTMLDocument.java
910         (HTMLReader.FormAction.end): Handle SELECT and OPTION tags.
911         (HTMLReader.FormAction.start): Handle SELECT and OPTION tags.
912         (HTMLReader.FormAction.setModel): Initialize text and password
913         values here. Also, use the resetable special models.
914         Group radio buttons into ButtonGroup for exclusive selection.
915         (HTMLReader.FormTagAction): New class. Handles FORM tags.
916         (HTMLReader.buttonGroups): New field.
917         (HTMLReader.numOptions): New field.
918         (HTMLReader.option): New field.
919         (HTMLReader.selectModel): New field.
920         (HTMLReader.textAreaDocument): Make ResetablePlainDocument.
921         (HTMLReader.handleText): Handle OPTION text.
922         (HTMLReader.initTags): Map FORM tags to FormTagAction.
923         (HTMLReader.textAreaContent): Set initial content.
924         * javax/swing/text/html/Option.java
925         (Option): Make copy of attribute set. Initialize selected state.
926         (getValue): Fetch value from attribute set.
927         * javax/swing/text/html/ResetableModel.java: New interface.
928         * javax/swing/text/html/ResetablePlainDocument.java: New class.
929         Supports resetting the state.
930         * javax/swing/text/html/ResetableToggleButtonModel.java: Likewise.
931         * javax/swing/text/html/SelectComboBoxModel.java: Likewise.
932         * javax/swing/text/html/SelectListModel.java: Likewise.
933
934 2006-12-06  Roman Kennke  <kennke@aicas.com>
935
936         * javax/swing/text/DefaultCaret.java
937         (appear): Adjust visibility here.
938         (setDotImpl): Don't adjust visibility here.
939         (moveDotImpl): Don't adjust visibility here.
940
941 2006-12-06  Roman Kennke  <kennke@aicas.com>
942
943         * gnu/java/awt/peer/gtk/AsyncImage.java
944         (Loader.run): Synchronize on the AsyncImage to avoid threading
945         issues.
946         (addObservers): Check for obs==null outside and synchronize on
947         this inside to avoid locking issues.
948         (checkImage): New helper method.
949         (notifyObservers): Check that the correct lock is held and
950         remove actual locking.
951         * gnu/java/awt/peer/gtk/GtkToolkit.java
952         (checkImage): Added special handling for AsyncImages.
953         
954 2006-12-06  Roman Kennke  <kennke@aicas.com>
955
956         * examples/gnu/classpath/examples/swing/Demo.java
957         (getIcon): Made package private.
958         * examples/gnu/classpath/examples/swing/HtmlDemo.java
959         (hyperlinkUpdate): Convert URL to string.
960
961 2006-12-06  Mark Wielaard  <mark@klomp.org>
962
963         * gnu/java/awt/peer/gtk/AsyncImage.java (addObserver): Never notify
964         null Observer.
965
966 2006-12-06  Roman Kennke  <kennke@aicas.com>
967
968         * examples/gnu/classpath/examples/icons/back.png,
969         * examples/gnu/classpath/examples/icons/reload.png:
970         New icons for the HTML browser.
971         * examples/gnu/classpath/examples/swing/HtmlDemo.java
972         (history): New field. Manages the browsing history.
973         (HtmlDemo): Initialize history.
974         (createContent): Set location and add history. Add toolbar.
975         (createToolBar): New helper method.
976         (main): Make default size bigger.
977         * examples/gnu/classpath/examples/swing/frame1.html,
978         * examples/gnu/classpath/examples/swing/frame2.html,
979         * examples/gnu/classpath/examples/swing/frame3.html,
980         * examples/gnu/classpath/examples/swing/frame4.html,
981         * examples/gnu/classpath/examples/swing/frames.html,
982         * examples/gnu/classpath/examples/swing/tables.html:
983         New example pages.
984         * examples/gnu/classpath/examples/swing/welcome.html
985         Add a couple of links and new test pages.
986
987 2006-12-06  Roman Kennke  <kennke@aicas.com>
988
989         * javax/swing/JEditorPane.java
990         (getStream): Buffer the stream for efficiency.
991         (setPage): Don't scroll the view at this point.
992         * javax/swing/plaf/basic/BasicTextUI.java
993         (RootView.paint): Call RootView's setSize to get synchronization.
994         (RootView.setSize): Synchronize to prevent race in layout code.
995         * javax/swing/text/AbstractDocument.java
996         (notifyListeners): New field.
997         (fireChangedUpdate): Track notifyListener field.
998         (fireRemoveUpdate): Track notifyListener field.
999         (fireIndertUpdate): Track notifyListener field.
1000         (writeLock): Check notifyListener and throw IllegalStateException.
1001         * javax/swing/text/View.java
1002         (preferenceChanged): Create local var for better thread safety and
1003         more efficiency.
1004
1005 2006-12-06  Thomas Fitzsimmons  <fitzsim@redhat.com>
1006
1007         * java/awt/ScrollPane.java (addNotify): Add a parent panel for any
1008         lightweight component, not just for non-Panel components.
1009         (addImpl): Do not call doLayout.
1010         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
1011         (setNativeBounds): Ensure widget parent is a GtkFixed before
1012         calling gtk_fixed_move.
1013         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
1014         (setNativeBounds): Likewise.
1015         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
1016         (setNativeBounds): Likewise.
1017
1018 2006-12-06  Roman Kennke  <kennke@aicas.com>
1019
1020         * javax/swing/text/html/TableView.java
1021         (RowView.layoutMajorAxis): Check column index for invalid value.
1022         (updateGrid): Check column index for invalid value.
1023
1024 2006-12-06  Roman Kennke  <kennke@aicas.com>
1025
1026         * javax/swing/text/html/BlockView.java
1027         (getAlignment): Align blocks horizontally by the superclass.
1028         * javax/swing/text/html/HTMLEditorKit.java
1029         (HTMLFactory.create): Replace equals comparison by == for efficiency.
1030         Add mapping for misplaced tr, td and th tags. Include object mapping.
1031         * javax/swing/text/html/TableView.java
1032         (RowView.replace): Invalidate grid early.
1033         (gridValid): Initialize with false.
1034         (create): Only create RowView and CellView for correctly placed
1035         tags. Avoid unnecessary casts.
1036         (getAlignment): Removed.
1037         (replace): Invalidate grid early.
1038
1039 2006-12-06  Francis Kung  <fkung@redhat.com>
1040
1041         * java/awt/geom/RectangularShape.java
1042         (getBounds): Remove empty rectangle check.
1043
1044 2006-12-06  Ben Konrath  <bkonrath@redhat.com>
1045
1046         Fixes PR 29853.
1047         * gnu/xml/dom/DomAttr.java: Don't report mutation if oldValue and
1048         newValue are the same.
1049         * gnu/xml/dom/DomNode.java: Set parent if null during mutation.
1050
1051 2006-12-06  Tania Bento  <tbento@redhat.com>
1052
1053         * javax/swing/border/CompoundBorder.java:
1054         (isBorderOpaque): If inside border is null, return true if outside
1055         border is opaque, false otherwise; if outside border is null, return
1056         true if inside border is opaque, false otherwise; if inside or
1057         outside border are both not null, then return true only if both the
1058         inside and outside border are opaque, false otherwise.
1059
1060 2006-12-06  Tania Bento  <tbento@redhat.com>
1061
1062         * javax/swing/border/CompoundBorder.java:
1063         (isBorderOpaque): If inside and outside border both have a null
1064         value, return true.
1065
1066 2006-12-06  Chris Burdess  <dog@gnu.org>
1067
1068         Fixes PR 29272.
1069         * javax/xml/parsers/DocumentBuilderFactory.java: Fix broken Javadoc.
1070         * gnu/xml/stream/SAXParser.java: Fix file descriptor leak.
1071
1072 2006-12-06  Chris Burdess  <dog@gnu.org>
1073
1074         Fixes PR 29264.
1075         * gnu/xml/stream/XMLStreamWriterImpl.java: Allow arbitrary text in
1076           writeDTD method.
1077
1078 2006-12-06  Chris Burdess  <dog@gnu.org>
1079
1080         Fixes PR 28816.
1081         * javax/xml/validation/SchemaFactory.java: Use correct algorithm to
1082           discover schema factory implementation class.
1083
1084 2006-12-05  Francis Kung  <fkung@redhat.com>
1085
1086         * java/awt/BasicStroke.java
1087         (capEnd): Prevent division by zero.
1088         * java/awt/geom/Arc2D.java
1089         (ArcIterator.ArcIterator): Do not shift the arc to make the extent positive.
1090         (ArcIterator.currentSegment): Handle a negative extent.
1091
1092 2006-12-05  Francis Kung  <fkung@redhat.com>
1093
1094         * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
1095         (constructor): Handle translated subimages properly, ie, if the image's
1096         0,0 position is not the data buffer's first element.
1097
1098 2006-12-05  Roman Kennke  <kennke@aicas.com>
1099
1100         * gnu/java/awt/peer/gtk/AsyncImage.java
1101         (Loader.run): Nullify observers after loading.
1102         (observers): Made package private.
1103         (addObserver): Check for null observers field. Create local
1104         variable for thread safety.
1105         (getHeight): Use addObserver() for checking state of field
1106         and notifying observer when necessary.
1107         (getWidth): Use addObserver() for checking state of field
1108         and notifying observer when necessary.
1109         (getProperty): Use addObserver() for checking state of field
1110         and notifying observer when necessary.
1111         (notifyObservers): Check for null observers field. Create local
1112         variable for thread safety.
1113
1114 2006-12-05  Roman Kennke  <kennke@aicas.com>
1115
1116         * javax/swing/text/html/HTMLEditorKit.java
1117         (HTMLFactory.create): Removed debug output.
1118         * javax/swing/text/html/InlineView.java
1119         (getBreakWeight): Likewise.
1120         * javax/swing/text/html/StyleSheet.java
1121         (addRule): Likewise.
1122         (ListPainter.paint): Removed debug output.
1123
1124 2006-12-05  Roman Kennke  <kennke@aicas.com>
1125
1126         * javax/swing/text/html/BlockView.java
1127         (painter): Made package visible.
1128         * javax/swing/text/html/StyleSheet.java
1129         (translateBorder): New helper method.
1130         (translateHTMLToCSS): Add mappings for border attributes.
1131         * javax/swing/text/html/TableView.java
1132         Made class subclass of BlockView to get CSS goodness.
1133         (CellView.rowSpan): New field.
1134         (CellView.setPropertiesFromAttributes): Fetch rowspan.
1135         (RowView.overlap): New field.
1136         (RowView.rowIndex): New field.
1137         (RowView.layoutMajorAxis): Skip overlapping cells.
1138         (RowView.layoutMinorAxis): Layout cells that span more than 1 row.
1139         (numColumns): New field.
1140         (tmpRect): New field.
1141         (TableView): Initialize tmpRect.
1142         (calculateColumnRequirements): Adjusted and fixed for multirows.
1143         (getAlignment): Overridden to center tables.
1144         (paint): Overridden to fix clipping.
1145         (getStyleSheet): Made protected.
1146         (layoutMajorAxis): Invalidate rows.
1147         (setPropertiesFromAttributes): Made protected and call super.
1148         (updateGrid): Update the overlapping information for multirows.
1149
1150 2006-12-05  Roman Kennke  <kennke@aicas.com>
1151
1152         * gnu/java/awt/peer/gtk/AsyncImage.java
1153         (addObserver): Check for null and ignore null observers.
1154         (getWidth): Check for null and ignore null observers.
1155         (getHeight): Check for null and ignore null observers.
1156         (getProperty): Check for null and ignore null observers.
1157
1158 2006-12-05  Francis Kung  <fkung@redhat.com>
1159
1160         * java/awt/BasicStroke.java
1161         (capEnd): Prevent division by zero.
1162         * java/awt/geom/Arc2D.java
1163         (ArcIterator.ArcIterator): Do not shift the arc to make the extent positive.
1164         (ArcIterator.currentSegment): Handle a negative extent.
1165
1166 2006-12-05  Francis Kung  <fkung@redhat.com>
1167
1168         * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
1169         (constructor): Handle translated subimages properly, ie, if the image's
1170         0,0 position is not the data buffer's first element.
1171
1172 2006-12-05  Roman Kennke  <kennke@aicas.com>
1173
1174         * javax/swing/text/html/ImageView.java
1175         (imageUpdate): Use spans field to determine if the CSS width/height
1176         are set. Call safePreferenceChanged to protect view structure
1177         from threading issues.
1178         (spans): Made package private.
1179         (ImageView): Initialize loadOnDemand with false.
1180         (loadImage): Call Toolkit.prepareImage() to make sure we have
1181         our Observer registered.
1182         (safePreferenceChanged): New helper method. Calls preferenceChanged
1183         in a thread safe environment.
1184
1185 2006-12-05  Roman Kennke  <kennke@aicas.com>
1186
1187         * NEWS: Add entry about improved HTML support.
1188
1189 2006-12-05  Roman Kennke  <kennke@aicas.com>
1190
1191         * javax/swing/text/html/ImageView.java
1192         (ImageView): Initialize spans array here.
1193         (setPropertiesFromAttributes): Moved init of spans array to
1194         constructor.
1195
1196 2006-12-05  Roman Kennke  <kennke@aicas.com>
1197
1198         * javax/swing/text/html/BlockView.java
1199         (painter): Made package visible.
1200         * javax/swing/text/html/StyleSheet.java
1201         (translateBorder): New helper method.
1202         (translateHTMLToCSS): Add mappings for border attributes.
1203         * javax/swing/text/html/TableView.java
1204         Made class subclass of BlockView to get CSS goodness.
1205         (CellView.rowSpan): New field.
1206         (CellView.setPropertiesFromAttributes): Fetch rowspan.
1207         (RowView.overlap): New field.
1208         (RowView.rowIndex): New field.
1209         (RowView.layoutMajorAxis): Skip overlapping cells.
1210         (RowView.layoutMinorAxis): Layout cells that span more than 1 row.
1211         (numColumns): New field.
1212         (tmpRect): New field.
1213         (TableView): Initialize tmpRect.
1214         (calculateColumnRequirements): Adjusted and fixed for multirows.
1215         (getAlignment): Overridden to center tables.
1216         (paint): Overridden to fix clipping.
1217         (getStyleSheet): Made protected.
1218         (layoutMajorAxis): Invalidate rows.
1219         (setPropertiesFromAttributes): Made protected and call super.
1220         (updateGrid): Update the overlapping information for multirows.
1221
1222 2006-12-05  Roman Kennke  <kennke@aicas.com>
1223
1224         * javax/swing/text/html/HTMLEditorKit.java
1225         (HTMLFactory.create): Removed debug output.
1226         * javax/swing/text/html/InlineView.java
1227         (getBreakWeight): Likewise.
1228         * javax/swing/text/html/StyleSheet.java
1229         (addRule): Likewise.
1230         (ListPainter.paint): Removed debug output.
1231
1232 2006-12-06  Roman Kennke  <kennke@aicas.com>
1233
1234         * javax/swing/text/html/BlockView.java
1235         (getAlignment): Align blocks horizontally by the superclass.
1236         * javax/swing/text/html/HTMLEditorKit.java
1237         (HTMLFactory.create): Replace equals comparison by == for efficiency.
1238         Add mapping for misplaced tr, td and th tags. Include object mapping.
1239         * javax/swing/text/html/TableView.java
1240         (RowView.replace): Invalidate grid early.
1241         (gridValid): Initialize with false.
1242         (create): Only create RowView and CellView for correctly placed
1243         tags. Avoid unnecessary casts.
1244         (getAlignment): Removed.
1245         (replace): Invalidate grid early.
1246
1247
1248 2006-12-06  Roman Kennke  <kennke@aicas.com>
1249
1250         * javax/swing/text/html/TableView.java
1251         (RowView.layoutMajorAxis): Check column index for invalid value.
1252         (updateGrid): Check column index for invalid value.
1253
1254 2006-12-06  Roman Kennke  <kennke@aicas.com>
1255
1256         * javax/swing/JEditorPane.java
1257         (getStream): Buffer the stream for efficiency.
1258         (setPage): Don't scroll the view at this point.
1259         * javax/swing/plaf/basic/BasicTextUI.java
1260         (RootView.paint): Call RootView's setSize to get synchronization.
1261         (RootView.setSize): Synchronize to prevent race in layout code.
1262         * javax/swing/text/AbstractDocument.java
1263         (notifyListeners): New field.
1264         (fireChangedUpdate): Track notifyListener field.
1265         (fireRemoveUpdate): Track notifyListener field.
1266         (fireIndertUpdate): Track notifyListener field.
1267         (writeLock): Check notifyListener and throw IllegalStateException.
1268         * javax/swing/text/View.java
1269         (preferenceChanged): Create local var for better thread safety and
1270         more efficiency.
1271
1272 2006-12-06  Roman Kennke  <kennke@aicas.com>
1273
1274         * examples/gnu/classpath/examples/icons/back.png,
1275         * examples/gnu/classpath/examples/icons/reload.png:
1276         New icons for the HTML browser.
1277         * examples/gnu/classpath/examples/swing/HtmlDemo.java
1278         (history): New field. Manages the browsing history.
1279         (HtmlDemo): Initialize history.
1280         (createContent): Set location and add history. Add toolbar.
1281         (createToolBar): New helper method.
1282         (main): Make default size bigger.
1283         * examples/gnu/classpath/examples/swing/frame1.html,
1284         * examples/gnu/classpath/examples/swing/frame2.html,
1285         * examples/gnu/classpath/examples/swing/frame3.html,
1286         * examples/gnu/classpath/examples/swing/frame4.html,
1287         * examples/gnu/classpath/examples/swing/frames.html,
1288         * examples/gnu/classpath/examples/swing/tables.html:
1289         New example pages.
1290         * examples/gnu/classpath/examples/swing/welcome.html
1291         Add a couple of links and new test pages.
1292
1293 2006-12-06  Roman Kennke  <kennke@aicas.com>
1294
1295         * examples/gnu/classpath/examples/swing/Demo.java
1296         (getIcon): Made package private.
1297         * examples/gnu/classpath/examples/swing/HtmlDemo.java
1298         (hyperlinkUpdate): Convert URL to string.
1299
1300 2006-12-06  Roman Kennke  <kennke@aicas.com>
1301
1302         * javax/swing/text/DefaultCaret.java
1303         (appear): Adjust visibility here.
1304         (setDotImpl): Don't adjust visibility here.
1305         (moveDotImpl): Don't adjust visibility here.
1306
1307 2006-12-06  Roman Kennke  <kennke@aicas.com>
1308
1309         * javax/swing/text/html/FormView.java
1310         (SubmitThread.postData): Implemented.
1311         (SubmitThread.run): Pass data to postData().
1312         (actionPerformed): Reset form when reset button is activated.
1313         (createComponent): Add support for select lists and comboboxes.
1314         Don't set value of text and password fields here, this is done
1315         now in HTMLDocument for consistency.
1316         (getElementFormData): Add support for fetching form data from
1317         select lists and comboboxes as well as textareas.
1318         (getSelectData): New helper method. Fetches form data from
1319         select boxes.
1320         (getTextAreaData): New helper method. Fetches form data from
1321         textareas.
1322         (resetForm): New helper method. Resets the entire form.
1323         * javax/swing/text/html/HTMLDocument.java
1324         (HTMLReader.FormAction.end): Handle SELECT and OPTION tags.
1325         (HTMLReader.FormAction.start): Handle SELECT and OPTION tags.
1326         (HTMLReader.FormAction.setModel): Initialize text and password
1327         values here. Also, use the resetable special models.
1328         Group radio buttons into ButtonGroup for exclusive selection.
1329         (HTMLReader.FormTagAction): New class. Handles FORM tags.
1330         (HTMLReader.buttonGroups): New field.
1331         (HTMLReader.numOptions): New field.
1332         (HTMLReader.option): New field.
1333         (HTMLReader.selectModel): New field.
1334         (HTMLReader.textAreaDocument): Make ResetablePlainDocument.
1335         (HTMLReader.handleText): Handle OPTION text.
1336         (HTMLReader.initTags): Map FORM tags to FormTagAction.
1337         (HTMLReader.textAreaContent): Set initial content.
1338         * javax/swing/text/html/Option.java
1339         (Option): Make copy of attribute set. Initialize selected state.
1340         (getValue): Fetch value from attribute set.
1341         * javax/swing/text/html/ResetableModel.java: New interface.
1342         * javax/swing/text/html/ResetablePlainDocument.java: New class.
1343         Supports resetting the state.
1344         * javax/swing/text/html/ResetableToggleButtonModel.java: Likewise.
1345         * javax/swing/text/html/SelectComboBoxModel.java: Likewise.
1346         * javax/swing/text/html/SelectListModel.java: Likewise.
1347
1348 2006-12-06  Roman Kennke  <kennke@aicas.com>
1349
1350         * examples/gnu/classpath/examples/swing/BrowserEditorKit.java:
1351         New class.
1352         * examples/gnu/classpath/examples/swing/HtmlDemo.java
1353         (LoadActionListener): Call setPage() helper method.
1354         (createContent): Register tweaked editor kit. For FormSubmitEvents
1355         call submitForm(), otherwise setPage().
1356         (postData): Helper method for posting form data.
1357         (setPage): Helper method for navigating to a new URL.
1358         (submitForm): Helper method for submitting a form.
1359         * examples/gnu/classpath/examples/swing/forms.html:
1360         Added text/password fields and select boxes.
1361         * examples/gnu/classpath/examples/swing/welcome.html: Fixed typo.
1362
1363 2006-12-07  Mark Wielaard  <mark@klomp.org>
1364
1365         * java/net/URL.java (URL(URL,String,URLStreamHandler,boolean)): New
1366         private constructor.
1367         (URL(URL,String,URLStreamHandler)): Call new constructor.
1368         (URL(URL,String)): Likewise.
1369         (URL(String)): Likewise.
1370
1371 2006-12-07  Mark Wielaard  <mark@klomp.org>
1372
1373         * javax/swing/JEditorPane.java (createEditorKitForContentType):
1374         Always load from system class loader.
1375
1376 2006-12-06  Ben Konrath  <bkonrath@redhat.com>
1377
1378         Fixes PR 29853.
1379         * gnu/xml/dom/DomAttr.java: Don't report mutation if oldValue and
1380         newValue are the same.
1381         * gnu/xml/dom/DomNode.java: Set parent if null during mutation.
1382
1383 2006-12-06  Chris Burdess  <dog@gnu.org>
1384
1385         Fixes PR 29272.
1386         * javax/xml/parsers/DocumentBuilderFactory.java: Fix broken Javadoc.
1387         * gnu/xml/stream/SAXParser.java: Fix file descriptor leak.
1388
1389 2006-12-06  Chris Burdess  <dog@gnu.org>
1390
1391         Fixes PR 29264.
1392         * gnu/xml/stream/XMLStreamWriterImpl.java: Allow arbitrary text in
1393         writeDTD method.
1394
1395 2006-12-056  Chris Burdess  <dog@gnu.org>
1396
1397         Fixes PR 28816.
1398         * javax/xml/validation/SchemaFactory.java: Use correct algorithm to
1399         discover schema factory implementation class.
1400
1401 2006-12-05  Roman Kennke  <kennke@aicas.com>
1402
1403         * gnu/java/awt/peer/gtk/AsyncImage.java: New class. Supports
1404         asynchronous loading of images.
1405         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
1406         (drawImage): Fetch real image from possibly AsyncImage.
1407         * gnu/java/awt/peer/gtk/ComponentGraphics.java
1408         (drawImage): Fetch real image from possibly AsyncImage.
1409         * gnu/java/awt/peer/gtk/GtkToolkit.java
1410         (createImage(URL)): Create async image.
1411         (imageOrError): Made method static for easy access from AsyncImage.
1412         (prepareImage): For async images, register the observer to the
1413         image.
1414
1415 2006-12-05  Roman Kennke  <kennke@aicas.com>
1416
1417         (paintComponent): Include paint area from event.
1418         (updateComponent): Include paint area from event.
1419
1420 2006-12-06  Thomas Fitzsimmons  <fitzsim@redhat.com>
1421
1422         * java/awt/ScrollPane.java (addNotify): Add a parent panel for any
1423         lightweight component, not just for non-Panel components.
1424         (addImpl): Do not call doLayout.
1425         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
1426         (setNativeBounds): Ensure widget parent is a GtkFixed before
1427         calling gtk_fixed_move.
1428         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
1429         (setNativeBounds): Likewise.
1430         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
1431         (setNativeBounds): Likewise.
1432
1433 2006-12-04  Thomas Fitzsimmons  <fitzsim@redhat.com>
1434
1435         * java/awt/Component.java (getFontImpl): Return a default font if
1436         topmost parent's font is null.
1437
1438 2006-12-04  Mark Wielaard  <mark@klomp.org>
1439
1440         * javax/swing/text/html/CSS.java (parseMarginShorthand):
1441         Remove debug output.
1442
1443 2006-12-04  Roman Kennke  <kennke@aicas.com>
1444
1445         * java/awt/font/TextLayout.java
1446         (hitTestChar): Fixed conditions for inclusion of range.
1447         Use layout information in the run for more efficiency.
1448
1449 2006-12-04  Roman Kennke  <kennke@aicas.com>
1450
1451         * javax/swing/text/GlyphView.java
1452         (J2DGlyphPainter): New inner class.
1453         (checkPainter): For Java2D capable environments create
1454         a J2DGlyphPainter.
1455
1456 2006-12-04  Roman Kennke  <kennke@aicas.com>
1457
1458         * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
1459         (FreeTypeGlyphVector): Don't filter control chars here.
1460         (getGlyphs): Filter control chars and replace them by
1461         hair space char.
1462
1463 2006-12-04  Roman Kennke  <kennke@aicas.com>
1464
1465         * native/jni/java-nio/gnu_java_nio_VMChannel.c
1466         (Java_gnu_java_nio_VMChannel_connect): Retry on EINTR.
1467
1468 2006-12-04  Andrew John Hughes  <gnu_andrew@member.fsf.org>
1469
1470         * gnu/java/lang/management/BeanImpl.java:
1471         (translate(String)): Don't assume the list uses "E",
1472         just use the first and only type variable.
1473         * java/lang/management/ManagementFactory.java:
1474         (getPlatformMBeanServer()): Register logging bean.
1475         * javax/management/openmbean/OpenType.java:
1476         (OpenType(String,String,String)): Actually use
1477         the string created to handle arrays.
1478         
1479 2006-12-04  Mark Wielaard  <mark@klomp.org>
1480
1481         * native/jni/java-nio/gnu_java_nio_VMChannel.c
1482         (JCL_thread_interrupted): Use CallStaticBooleanMethod.
1483
1484 2006-12-04  Mark Wielaard  <mark@klomp.org>
1485
1486         * vm/reference/gnu/java/nio/VMChannel.java (isThreadInterrupted):
1487         Make static.
1488         * native/jni/java-nio/gnu_java_nio_VMChannel.c
1489         (JCL_thread_interrupted): Only take JNIEnv.
1490         (vm_channel_class): New static variable.
1491         (initID): Set vm_channel_class.
1492         Wrap all reads() and writes() in do-while blocks that check
1493         interrupted status.
1494
1495 2006-12-04  Andrew John Hughes  <gnu_andrew@member.fsf.org>
1496
1497         * gnu/javax/management/Server.java:
1498         Make map final and initialise it.
1499         (unregisterMBean(ObjectName)): Match against
1500         delegate's object name and not the instance.
1501         * java/lang/management/ManagementFactory.java:
1502         Added constant fields.
1503         (getPlatformMBeanServer()): Implemented.
1504         * javax/management/MBeanServerFactory.java: New file.
1505         
1506 2006-12-04  Roman Kennke  <kennke@aicas.com>
1507
1508         * javax/swing/text/BoxView.java
1509         (paint): Replaced painting algorithm with more simple and more
1510         reliable painting of the box.
1511         * javax/swing/text/html/BlockView.java
1512         (PositionInfo): New inner class. Stores additional CSS
1513         positioning information.
1514         (positionInfo): New field.
1515         (BlockView): Initialize positionInfo field.
1516         (fetchLayoutInfo): New helper method. Fetches additional
1517         CSS positioning information.
1518         (layoutMajorAxis): Perform additional CSS layout.
1519         (layoutMinorAxis): Perform additional CSS layout.
1520         (positionView): New helper method.
1521         (replace): Overridden to fetch additional layout information.
1522         * javax/swing/text/html/CSS.java
1523         (Attribute.POSITION): New field.
1524         (Attribute.LEFT): New field.
1525         (Attribute.RIGHT): New field.
1526         (Attribute.TOP): New field.
1527         (Attribute.BOTTOM): New field.
1528         (getValue): Create Length for left, right, top and bottom
1529         attributes.
1530
1531 2006-12-04  Roman Kennke  <kennke@aicas.com>
1532
1533         * gnu/javax/swing/text/html/parser/support/Parser.java
1534         (Sgml): Consume any whitespace that immediately follows
1535         and sgml insertion.
1536         (parseDocument): Consume any initial whitespace.
1537
1538 2006-12-03  Mark Wielaard  <mark@klomp.org>
1539
1540         * gnu/javax/management/Server.java (beans): Initialize.
1541         (registerMBean): Don't initialize beans.
1542
1543 2006-12-03  Mark Wielaard  <mark@klomp.org>
1544
1545         * java/util/logging/LogManager.java (getLevelProperty): Check
1546         whether value is null before passing to Level.parse().
1547
1548 2006-12-04  Robert Lougher  <rob.lougher@gmail.com>
1549
1550         * java/lang/management/ThreadInfo.java (ThreadInfo): Check
1551         whether given a null lock and lockOwner.
1552
1553 2006-12-03  Mark Wielaard  <mark@klomp.org>
1554
1555         * javax/swing/JEditorPane.java (PageLoader.in): Made a PageStream.
1556         (PageLoader.page): Made package local.
1557         (PageLoader.run): Don't reset loader.
1558         (PageLoader.cancel): New method.
1559         (loading): Renamed to loader.
1560         (getPage): Return loader.page.
1561         (setPage): Always set loader. Never reset to null.
1562
1563 2006-12-03  Mark Wielaard  <mark@klomp.org>
1564
1565         * javax/swing/plaf/basic/BasicTreeUI.java (paint): Check whether
1566         path[k] is null.
1567         (isLastChild): Return false when path is null.
1568
1569 2006-12-03  Mark Wielaard  <mark@klomp.org>
1570
1571         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (paintArea): Renamed
1572         to currentPaintArea.
1573         (paintComponent): Work with local reference to currentPaintArea.
1574         (updateComponent): Likewise.
1575         (coalescePaintEvent): Set currentPaintArea.
1576
1577 2006-12-02  Andrew John Hughes  <gnu_andrew@member.fsf.org>
1578
1579         * javax/management/MBeanServerBuilder.java: New file.
1580         
1581 2006-12-01  Mark Wielaard  <mark@klomp.org>
1582
1583         * java/text/DecimalFormat.java (parse): Always increment parsing
1584         index and adjust pos result.
1585
1586 2006-12-01  Roman Kennke  <kennke@aicas.com>
1587
1588         * javax/swing/text/html/HTML.java
1589         (Attribute.DYNAMIC_CLASS): New field.
1590         (Attribute.PSEUDO_CLASS): New field.
1591         * javax/swing/text/html/HTMLDocument.java
1592         (HTMLReader.CharacterAction.start): Initialize anchor with link
1593         pseudo attribute.
1594         (updateSpecialClass): New helper method. Updates the dynamic
1595         or pseudo class for anchor tags.
1596         * javax/swing/text/html/HTMLEditorKit.java
1597         (LinkController.lastAnchorElement): New field. For tracking
1598         enter/exit of anchors.
1599         (LinkController.activateLink): Set pseudo class to 'visited'.
1600         (LinkController.mouseMoved): Added support for tracking
1601         the 'hover' dynamic class.
1602         * javax/swing/text/html/InlineView.java
1603         (changedUpdate): Fetch new properties.
1604         * javax/swing/text/html/StyleSheet.java
1605         (attributeSetToMap): New helper method.
1606         (getRule): Also append dynamic and pseudo class to key.
1607         (resolveStyle): Resolve style based generally on all attributes.
1608         * javax/swing/text/html/TableView.java
1609         (RowView.layoutMajorAxis): Make sure the grid is valid.
1610         (updateGrid): Made package private.
1611         * gnu/javax/swing/text/html/css/Selector.java
1612         (calculateSpecificity): Added support for dynamic and pseudo classes.
1613         (matches): Changed to operate on general attributes.
1614         Added support for dynamic and pseudo classes.
1615
1616 2006-12-01  Mario Torre  <neugens@limasoftware.net>
1617
1618         * java/text/DecimalFormat.java (formatInternal): move the formatting of
1619         fractional portion in a separate method.
1620         Also fixes the handling of decimal separator and its associated field.
1621         (handleFractionalPart): new method, needed to relax a bit
1622         formatInternal.
1623         
1624 2006-12-01  Andrew John Hughes  <gnu_andrew@member.fsf.org>
1625
1626         * java/beans/beancontext/BeanContextServicesSupport.java:
1627         (BCSSProxyServiceProvider.getCurrentServiceSelectors(BeanContextServices,
1628         Class)): Implemented.
1629         (BCSSProxyServiceProvider.getService(BeanContextServices, Object,
1630         Class, Object)): Implemented.
1631         (BCSSProxyServiceProvider.releaseService(BeanContextServices,
1632         Object, Object)): Implemented.
1633         (BCSSProxyServiceProvider.serviceRevoked(BeanContextServiceRevokedEvent)):
1634         Implemented.
1635         (initialiseBeanContextResources()): Implemented.
1636         (releaseBeanContextResoures()): Implemented.
1637         
1638 2006-12-01  Mark Wielaard  <mark@klomp.org>
1639
1640         * include/gnu_java_awt_peer_gtk_GdkFontPeer.h: Regenerated.
1641
1642 2006-12-01  Roman Kennke  <kennke@aicas.com>
1643
1644         * gnu/javax/swing/text/html/css/BorderStyle.java: New class for
1645         handling border styles.
1646         * gnu/javax/swing/text/html/css/BorderWidth.java
1647         (isValid): New method.
1648         * gnu/javax/swing/text/html/css/Length.java
1649         (isValid): New method.
1650         * javax/swing/text/html/CSS.java
1651         (addInternal): Added shorthand parsing for border, padding and
1652         margin.
1653         (parseBackgroundShorthand): Added API docs.
1654         (parsePaddingShorthand): New method. Handles padding shorthand
1655         values.
1656         (parseMarginShorthand): New method. Handles margin shorthand
1657         values.
1658         (parseBorderShorthand): New method. Handles border shorthand
1659         values.
1660         * javax/swing/text/html/StyleSheet.java
1661         (translateHTMLToCSS): Set specific padding attributes.
1662         (BoxPainter.BoxPainter): Don't handle PADDING and MARGIN here.
1663         These shorthands are now handled in CSS.
1664         (BoxPainter.paint): Exclude the outer margin.
1665
1666 2006-12-01  Roman Kennke  <kennke@aicas.com>
1667
1668         * gnu/javax/swing/text/html/css/Length.java
1669         (emBase): New field.
1670         (exBase): New field.
1671         (isFontEMRelative): New field.
1672         (isFontEXRelative): New field.
1673         (Length): Recognize and setup EM and EX relative values.
1674         (getValue): Handle EM and EX relative values.
1675         (isEMRelative): New method.
1676         (isEXRelative): New method.
1677         (setEMBase): New method.
1678         (setEXBase): New method.
1679         (setFontBases): New method.
1680         * gnu/javax/swing/text/html/parser/support/Parser.java
1681         (_handleEmptyTag): Use new isBlock() helper method.
1682         (_handleEndTag_remaining): Use new isBlock() helper method.
1683         (_handleStartTag): Consume whitespace after block start tag.
1684         (Comment): Consume whitespace after a comment.
1685         (isBlock): New helper method.
1686         (readAttributes): Consider all characters in unquoted attribute
1687         values.
1688         * javax/swing/text/html/BlockView.java
1689         (layoutMinorAxis): Use cached span value.
1690         (paint): Added debug code (commented out).
1691         (setPropertiesFromAttributes): Set the EM and EX base on lengths.
1692         * javax/swing/text/html/CSSBorder.java
1693         (CSSBorder): Take StyleSheet as argument. Call getBorderWidth()
1694         with stylesheet.
1695         (getBorderWidth): Set the EM and EX base on the length values.
1696         * javax/swing/text/html/HTMLDocument.java
1697         (HTMLReader.ParagraphAction.end): Do not set the inParagraph field.
1698         (HTMLReader.ParagraphAction.start): Do not set the inParagraph field.
1699         (HTMLReader.inImpliedParagraph): Removed.
1700         (HTMLReader.inParagraph): Removed.
1701         (HTMLReader.parseStack): New field.
1702         (HTMLReader.addContent): Use new paragraph handling.
1703         (HTMLReader.addSpecialElement): Use new paragraph handling.
1704         (HTMLReader.blockClose): Use new paragraph handling.
1705         (HTMLReader.blockOpen): Use new paragraph handling.
1706         (HTMLReader.inImpliedParagraph): New helper method.
1707         (HTMLReader.inParagraph): New helper method.
1708         * javax/swing/text/html/ImageView.java
1709         (attributes): New field. Caches view attributes.
1710         (spans): New field. Caches CSS spans.
1711         (getAttributes): Correctly setup CSS view attributes.
1712         (getPreferredSpan): Use caches spans.
1713         (getStyleSheet): Use the view's getDocument() method.
1714         (setPropertiesFromAttributes): Cache spans and setup EM and EX.
1715         (updateSize): Use cached spans.
1716         * javax/swing/text/html/ParagraphView.java
1717         (setPropertiesFromAttributes): Setup EM and EX.
1718         * javax/swing/text/html/StyleSheet.java
1719         (BoxPainter.BoxPainter): Setup EM and EX correctly.
1720         (getEMBase): New helper method.
1721         (getEXBase): New helper method.
1722         * javax/swing/text/html/TableView.java
1723         (width): New field. Caches the table width.
1724         (calculateMinorAxisRequirements): Use caches span.
1725         (setPropertiesFromAttributes): Cache span and setup EM/EX.
1726         (updateGrid): Correctly setup EM/EX.
1727
1728 2006-11-30  Roman Kennke  <kennke@aicas.com>
1729
1730         * javax/swing/text/html/FormSubmitEvent.java: New class.
1731         * javax/swing/text/html/FormView.java
1732         (SubmitThread): New class for submitting data in a separate thread.
1733         (actionPerformed): Fetch the actual for data.
1734         (addData): New helper method.
1735         (getElementFormData): New helper method.
1736         (getFormData): New helper method.
1737         (getInputFormData): New helper method.
1738         (submitData): Implemented.
1739         * javax/swing/text/html/FrameView.java
1740         (createComponent): Add this as hyperlink listener.
1741         Set the target document as frame document.
1742         (getTopEditorPane): New helper method.
1743         (hyperlinkUpdate): Implementation of the HyperlinkListener interface.
1744         (handleHyperlinkEvent): New helper method.
1745         (handleFormSubmitEvent): New helper method.
1746         * javax/swing/text/html/HTMLDocument.java
1747         (HTMLReader.BaseAction.start): Track the base target.
1748         (HTMLReader.BaseAction.end): Removed.
1749         (baseTarget): New field.
1750         (frameDocument): New field.
1751         (getBaseTarget): New property accessor.
1752         (isFrameDocument): New property accessor.
1753         (processHTMLFrameHyperlinkEvent): Implemented.
1754         (setFrameDocument): New property accessor.
1755         (updateFrame): New helper method.
1756         (updateFrameSet): New helper method.
1757         * javax/swing/text/html/HTMLEditorKit.java
1758         (LinkController.createHyperlinkEvent): Handle frame documents.
1759         (autoFormSubmission): New field.
1760         (HTMLEditorKit): Set autoFormSubmission to true.
1761         (isAutoFormSubmission): New property accessor.
1762         (setAutoFormSubmission): New property accessor.
1763
1764 2006-11-30  Roman Kennke  <kennke@aicas.com>
1765
1766         * javax/swing/text/ElementIterator.java
1767         (ElementRef): New inner class.
1768         (currentDepth): Removed.
1769         (currentElement): Removed.
1770         (previousItem): Removed.
1771         (stack): New field. Holds the iteration stack.
1772         (state): Removed.
1773         (ElementIterator(Document)): Removed init of removed fields.
1774         (ElementIterator(Element)): Removed init of removed fields.
1775         (current): Changed to stack based algorithm.
1776         (deepestLeaf): New helper method.
1777         (depth): Changed to stack based algorithm.
1778         (first): Changed to stack based algorithm.
1779         (next): Changed to stack based algorithm.
1780         (previous): Changed to stack based algorithm.
1781
1782 2006-11-30  Francis Kung  <fkung@redhat.com>
1783
1784         * .settings/org.eclipse.jdt.core.prefs: Set compilar compliance to 1.4.
1785         * .externalToolBuilders/ClasspathJar.launch: Include sun.* classses.
1786
1787 2006-11-30  Francis Kung  <fkung@redhat.com>
1788
1789         * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
1790         (draw): Set transform in buffered composite.
1791         (drawComposite): Do not transform bounds; round bounds.
1792         (drawGlyphVector):  Set transform in buffered composite.
1793         (drawRenderedImage):  Set transform in buffered composite.
1794         (fill):  Set transform in buffered composite.
1795         (updateBufferedImage): Fix scanline & height calculations.
1796         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
1797         (createPath): Simplify width & height calculation.
1798         (drawImage): Also transform width & height.
1799
1800 2006-11-30  Roman Kennke  <kennke@aicas.com>
1801
1802         * javax/swing/text/html/FrameSetView.java: New class. Implements
1803         HTML framesets.
1804         * javax/swing/text/html/FrameView.java: New class. Implements
1805         HTML frames.
1806         * javax/swing/text/html/HTMLDocument.java:
1807         (HTMLReader.addSpecialElement): Only add one artificial space.
1808         * javax/swing/text/html/HTMLEditorKit.java
1809         (HTMLFactory.create): Uncomment code for FrameSetView and FrameView.
1810         * gnu/javax/swing/text/html/parser/support/Parser.java
1811         (_handleEmptyTag): Also consume whitespace after frame tags.
1812
1813 2006-11-30  Gary Benson  <gbenson@redhat.com>
1814
1815         * java/lang/Thread.java: Javadoc fixes.
1816
1817 2006-11-29  Tom Tromey  <tromey@redhat.com>
1818
1819         PR classpath/28203:
1820         * java/lang/Class.java (getAnnotations): Rewrote.
1821
1822 2006-11-29  Tania Bento  <tbento@redhat.com>
1823
1824         * tools/gnu/classpath/tools/appletviewer/TagParser.java:
1825         (parseParams): Unescape 'val' before putting it into the Map.
1826         (unescapeString): New private method.
1827
1828 2006-11-29  Tom Tromey  <tromey@redhat.com>
1829
1830         * tools/gnu/classpath/tools/getopt/package.html: New file.
1831
1832 2006-11-29  David Gilbert  <david.gilbert@object-refinery.com>
1833
1834         * javax/swing/plaf/metal/MetalIconFactory.java
1835         (HorizontalSliderThumbIcon.paintIcon()): Commented out gradient paint,
1836         (VerticalSliderThumbIcon.paintIcon()): Likewise.
1837
1838 2006-11-29  Mario Torre  <neugens@limasoftware.net>
1839
1840         * java/text/NumberFormat.java (getCurrencyInstance): Replaced dollar sign
1841         with the default international currency sign \u00A4.
1842         * java/text/DecimalFormat.java (scanFix): Fix to use the localized symbol
1843         table for string formatting.
1844         (formatInternal): likewise.
1845         (scanNegativePattern): likewise.
1846         (applyPattern): likewise.
1847         * java/text/DecimalFormatSymbols.java (clone): Revert to old version as
1848         Locale is immutable and does not need clone.
1849
1850 2006-11-29  Francis Kung  <fkung@redhat.com>
1851
1852         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
1853         (drawLine): Remove hard-coded pixel shifting.
1854
1855 2006-11-29  Roman Kennke  <kennke@aicas.com>
1856
1857         * java/awt/Component.java
1858         (isShowing): Simplified condition code and avoid unnecessary
1859         if-codepaths.
1860         (coalesceEvents): Always coalesce paint events and let the peer
1861         figure out the expanding of the repaint area.
1862         * gnu/java/awt/peer/swing/SwingComponentPeer.java
1863         (currentPaintEvents): Removed. Replaced by paintArea.
1864         (paintArea): New field. Tracks the dirty area.
1865         (SwingComponentPeer): Removed init of currentPaintEvents.
1866         (coalescePaintEvent): Simplified to only union the dirty regions.
1867         (handleEvent): Paint dirty region that was tracked in paintArea.
1868         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
1869         (paintArea): New field. Tracks the dirty region.
1870         (coalescePaintEvent): Implemented to track the dirty region.
1871         (paintComponent): Use the dirty region in paintArea. Protect
1872         state by putting the paint and dispose code in a try-finally.
1873         (updateComponent): Use the dirty region in paintArea. Protect
1874         state by putting the paint and dispose code in a try-finally.
1875
1876 2006-11-29  Roman Kennke  <kennke@aicas.com>
1877
1878         * java/awt/font/TextLayout.java
1879         (getVisualHighlightShape): Removed debug output.
1880
1881 2006-11-28  Andrew Haley  <aph@redhat.com>
1882
1883         * vm/reference/sun/reflect/misc/ReflectUtil.java
1884         (checkPackageAccess): Implement.
1885
1886 2006-11-28  Dalibor Topic  <robilad@kaffe.org>
1887
1888         * native/jni/java-lang/java_lang_VMDouble.c:
1889         (parseDoubleFromChars) New function. Factored out from ...
1890         (Java_java_lang_VMDouble_parseDouble): Factored out the parsing.
1891         (dtoa_toString): New function. Factored out from ...
1892         (Java_java_lang_VMDouble_toString) : Factored out the conversion.
1893         Changed conversion mode to 2, as modes 0 and 1 don't round
1894         as the API spec demands. Invoke conversion function as often
1895         as necessary with growing precision until a reversible
1896         representation of the double in form of a string is reached.
1897
1898 2006-11-28  Roman Kennke  <kennke@aicas.com>
1899
1900         * javax/swing/JComponent.java
1901         (putClientProperty): Do not fire event when both old and new
1902         value are == null.
1903
1904 2006-11-27  Andrew John Hughes  <gnu_andrew@member.fsf.org>
1905
1906         * java/lang/Enum.java:
1907         Make name and ordinal final.
1908         
1909 2006-11-27  Casey Marshall  <csm@gnu.org>
1910
1911         * java/util/jar/JarEntry.java (certs): removed.
1912         (jarfile): new field.
1913         (getCertificates): read the certificates from the containing JarFile.
1914         * java/util/jar/JarFile.java (JarEnumeration.nextElement): don't
1915         fill in 'certs,' fill in 'jarfile' for the entry.
1916         (getEntry): likewise.
1917         
1918 2006-11-27  Francis Kung  <fkung@redhat.com>
1919
1920         * java/awt/image/WritableRaster.java
1921         (createChild): Implemented.
1922
1923 2006-11-27  Roman Kennke  <kennke@aicas.com>
1924
1925         * java/awt/font/TextLayout.java
1926         (TextLayout(TextLayout,int,int)): Also layout the new runs.
1927         (getVisualHighlightShape): Implemented.
1928         (layoutRuns): Fixed boundary so that the last run is also laid out.
1929         (left): New helper method.
1930         (right): New helper method.
1931
1932 2006-11-27  Roman Kennke  <kennke@aicas.com>
1933
1934         * java/awt/font/TextLayout.java
1935         (getCaretShape(TextHitInfo,Rectangle2D)): Implemented.
1936         (getCaretShape(TextHitInfo)): Use natural bounds.
1937         (getCaretShapes(int,Rectangle2D,CaretPolicy)): New API method.
1938         (getCaretShapes(int,Rectangle2D)): Delegate to new method
1939         above with DEFAULT_CARET_POLICY.
1940         (getCaretShapes(int)): Use natural bounds.
1941
1942 2006-11-27  Roman Kennke  <kennke@aicas.com>
1943
1944         * java/awt/font/TextLayout.java
1945         (Run.font): New field.
1946         (Run.location): New field.
1947         (Run.Run): Initialize font.
1948         (font): Removed field. This is moved into Run as the actual font
1949         is something run-specific.
1950         (TextLayout(String,Font,FontRenderContext)): Set font on the
1951         single runs. Layout the runs here.
1952         (TextLayout(TextLayout,int,int)): Copy over the run fonts.
1953         (findRunAtIndex): New helper method.
1954         (getCaretInfo): Implemented.
1955         (layoutRuns): New helper method.
1956         (toString): Don't put font in output string.
1957
1958 2006-11-27  Raif S. Naffah  <classpath@naffah-raif.name>
1959
1960         * AUTHORS: Added Jeroen Fritjers.
1961
1962 2006-11-27  neugens  <neugens@nirvana.limasoftware.net>
1963
1964         * java/text/DecimalFormat.java (formatInternal): Add an explicit test
1965         for FieldPosition to be null.
1966         Check if the factional part is just 0 and can be omitted from the
1967         result.
1968         (scanNegativePattern): Fixed index out of bound exception when searching
1969         for international currency symbol in negative pattern.  
1970
1971 2006-11-27  Andrew John Hughes  <gnu_andrew@member.fsf.org>
1972
1973         * java/beans/beancontext/BeanContextSupport.java:
1974         (readObject(ObjectInputStream)): Implemented.
1975         (writeObject(ObjectOutputStream)): Likewise.
1976         (BCSChild.getTargetChild()): Added.
1977         (bcsPreDeserializationHook()): Implemented.
1978         (bcsPreSerializationHook()): Likewise.
1979         (childDeserializedHook(Object,BCSChild)): Likewise.
1980         (isSerializing()): Likewise.
1981         (readChildren(ObjectInputStream)): Likewise.
1982         (writeChildren(ObjectOutputStream)): Likewise.
1983         
1984 2006-11-26  Roger Sayle  <roger <at> eyesopen.com>
1985             Ian Lance Taylor  <ian <at> airs.com>
1986             Paolo Bonzini <bonzini <at> gnu.org>
1987
1988         Fixes bug #25557.
1989
1990         * lib/gen-classlist.sh.in:  Avoid using test's -ef operator for
1991         increased portability.  Likewise, use -f instead of -e.
1992
1993 2006-11-26  Mark Wielaard  <mark@klomp.org>
1994
1995         * lib/Makefile.am (propertydirs): Removed.
1996         (resources): Explicitly create all dirs.
1997
1998 2006-11-26  Mark Wielaard  <mark@klomp.org>
1999
2000         * gnu/java/net/PlainSocketImpl.java (accept): Reset timeout on Socket.
2001
2002 2006-11-26  Dalibor Topic  <robilad@kaffe.org>
2003
2004         * native/target/.cvsignore,
2005         native/target/generic/.cvsignore,
2006         native/target/Linux/.cvsignore:
2007         Removed no longer used files.
2008
2009         * native/target: Removed no longer used directory.
2010
2011 2006-11-26  Dalibor Topic  <robilad@kaffe.org>
2012
2013         Fixes bug #29133.
2014
2015         * libraries/clib/nio/gnu_java_nio_VMSelector.c
2016         (Java_gnu_java_nio_VMSelector_select):
2017         Use strerror if strerror_r is not available.
2018
2019         Reported by:  Michael Franz <mvfranz@gmail.com>,
2020                       Riccardo Mottola <zuse@libero.it>
2021
2022 2006-11-26  Dalibor Topic  <robilad@kaffe.org>
2023
2024         Fixes bug #26756.
2025         
2026         * native/jni/midi-dssi/Makefile.am (AM_CFLAGS): Removed 
2027         STRICT_WARNING_CFLAGS since it caused the build to fail 
2028         on GNU/Linux.
2029
2030 2006-11-26  Ian Rogers  <ian.rogers@manchester.ac.uk>
2031
2032         * doc/vmintegration.texinfo: Update VM Threading Model section.
2033
2034 2006-11-26  Tom Tromey  <tromey@redhat.com>
2035
2036         * native/jni/java-net/java_net_VMNetworkInterface.c: Conditionally
2037         include ifaddrs.h.
2038         (Java_java_net_VMNetworkInterface_getVMInterfaces): Updated
2039         conditional.
2040         * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c:
2041         Conditionally include ifaddrs.h.
2042         (getif_address): Updated conditional.
2043         (getif_index): Likewise.
2044         * configure.ac: Check for ifaddrs.h.
2045
2046 2006-11-25  Mark Wielaard  <mark@klomp.org>
2047
2048         * java/io/File.java (list): Return empty list for unreadable dirs.
2049
2050 2006-11-25  Mark Wielaard  <mark@klomp.org>
2051
2052         * gnu/java/awt/peer/gtk/CairoGraphics2D.java (drawGlyphVector):
2053         Synchronize on font peer.
2054         (setFont): Likewise.
2055         * gnu/java/awt/peer/gtk/GdkFontPeer.java (getFontMetrics): Mark
2056         synchronized.
2057         (getTextMetrics): Likewise.
2058
2059 2006-11-25  Roman Kennke  <kennke@aicas.com>
2060
2061         * javax/swing/text/GapContent.java
2062         (getPositionsInRange): Rewritten to use the more efficient
2063         binary search searchFirst() and avoid an NPE that was caused
2064         by GC'ed positions.
2065
2066 2006-11-25  Mark Wielaard  <mark@klomp.org>
2067
2068         * javax/swing/text/CompositeView.java (modelToView): Never return
2069         null.
2070
2071 2006-11-25  Mark Wielaard  <mark@klomp.org>
2072
2073         * javax/swing/text/html/TableView.java (calculateColumnRequirements):
2074         Check whether rowView instanceof RowView.
2075         (updateGrid): Likewise.
2076
2077 2006-11-25  Mario Torre  <neugens@nirvana.limasoftware.net>
2078
2079         PR28462
2080         * java/text/DecimalFormat.java: Almost new rewrite, and update to 1.5.
2081         * java/text/NumberFormat.java (format): all format methods, fixed
2082         FieldPosition argument should never be null.
2083         (format(Object, StringBuffer, FieldPosition)): fixed signature,
2084         method is not final.
2085         * java/text/DecimalFormatSymbols.java (clone): fixed to also clone
2086         locale.
2087         * AUTHORS: added my name to the file.
2088
2089 2006-11-25  Mark Wielaard  <mark@klomp.org>
2090
2091         * javax/swing/text/html/StyleSheet.java (paint): Guard against
2092         getChildAllocation() returning null.
2093
2094 2006-11-25  Mark Wielaard  <mark@klomp.org>
2095
2096         * gnu/javax/swing/text/html/css/Selector.java (calculateSpecificity):
2097         Use clazzIndex for id substring.
2098
2099 2006-11-25  Mark Wielaard  <mark@klomp.org>
2100
2101         * java/awt/EventQueue.java (pop): Only terminate dispatchThread when
2102         it is still running.
2103
2104 2006-11-25  Mark Wielaard  <mark@klomp.org>
2105
2106         Fixes bug #28822
2107         * doc/api/Makefile.am (create_html): Guard GJDOC invocation with
2108         CREATE_API_DOCS
2109
2110 2006-11-24  Tania Bento  <tbento@redhat.com>
2111
2112         * java/awt/font/TextHitInfo.java
2113         (equals(TextHitInfo)): If TextHitInfo parameter is null, return false.
2114         (beforeOffset): Decreased first parameter by 1.
2115
2116 2006-11-24  Francis Kung  <fkung@redhat.com>
2117
2118         * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
2119         (constructor): Check sample model when setting fastCM flag.
2120         (updateBufferedImage): Check scanline and sample model offsets before
2121         copying data directly into the image data buffer.
2122
2123 2006-11-24  Francis Kung  <fkung@redhat.com>
2124
2125         * gnu/java/awt/java2d/QuadSegment.java
2126         (offsetSubdivided): Handle special straight-line cases.
2127
2128 2006-11-24  Roman Kennke  <kennke@aicas.com>
2129
2130         * java/awt/dnd/DropTarget.java
2131         (DropTargetAutoScroller.HYSTERESIS): New constant.
2132         (DropTargetAutoScroller.DELAY): New constant.
2133         (DropTargetAutoScroller.inner): New field. A cached
2134         Rectangle instance.
2135         (DropTargetAutoScroller.outer): New field. A cached
2136         Rectangle instance.
2137         (DropTargetAutoScroller.timer): New field. The actual timer.
2138         (DropTargetAutoScroller.DropTargetAutoScroller):
2139         Initialize timer.
2140         (DropTargetAutoScroller.actionPerformed): Implemented.
2141         (DropTargetAutoScroller.stop): Implemented.
2142         (DropTargetAutoScroller.updateLocation): Implemented.
2143         (clearAutoscroll): Stop the autoscroller before nullifying it.
2144         (createDropTargetAutoScroller): Don't set the field here,
2145         only return a new instance.
2146         (dragEnter): Only do something when active. Initialize
2147         auto scrolling.
2148         (dragExit): Only do something when active. Stop auto scrolling.
2149         (dragOver): Only do something when active. Update auto scrolling.
2150         (drop): Only do something when active. Update auto scrolling.
2151         (dropActionChanged): Only do something when active. Update
2152         auto scrolling.
2153         (initializeAutoScrolling): Check if component is an instance
2154         of Autoscroll, otherwise do nothing.
2155         (setActive): Disable autoscrolling when deactivating.
2156         (setComponent): When component is set to null, disable autoscrolling.
2157
2158 2006-11-24  David Gilbert  <david.gilbert@object-refinery.com>
2159
2160         * java/beans/beancontext/BeanContextServicesSupport.java
2161         (getChildBeanContextServicesListener): Implemented.
2162
2163 2006-11-23  Roman Kennke  <kennke@aicas.com>
2164
2165         * gnu/java/awt/peer/headless/HeadlessGraphicsEnvironment.java
2166         (createGraphics): Use constructor to create new instance of
2167         BufferedImageGraphics.
2168         * java/awt/Toolkit.java
2169         (getDefaultToolkit): Really try to get a real toolkit. Only
2170         use HeadlessToolkit if no other is available.
2171         * gnu/java/awt/peer/gtk/GtkToolkit.java
2172         (checkHeadless): New helper method. Checks for headless environment
2173         and throws HeadlessException if appropriate.
2174         (createButton): Check for headless.
2175         (createCanvas): Check for headless.
2176         (createCheckbox): Check for headless.
2177         (createCheckboxMenuItem): Check for headless.
2178         (createChoice): Check for headless.
2179         (createDialog): Check for headless.
2180         (createDragGestureRecognizer): Check for headless.
2181         (createDragSourceContextPeer): Check for headless.
2182         (createEmbeddedWindow): Check for headless.
2183         (createFileDialog): Check for headless.
2184         (createFrame): Check for headless.
2185         (createCheckbox): Check for headless.
2186         (createLabel): Check for headless.
2187         (createList): Check for headless.
2188         (createMenu): Check for headless.
2189         (createMenuBar): Check for headless.
2190         (createMenuItem): Check for headless.
2191         (createPanel): Check for headless.
2192         (createPopupMenu): Check for headless.
2193         (createScrollbar): Check for headless.
2194         (createScrollPane): Check for headless.
2195         (createTextArea): Check for headless.
2196         (createTextField): Check for headless.
2197         (createWindow): Check for headless.
2198
2199 2006-11-23  David Gilbert  <david.gilbert@object-refinery.com>
2200
2201         * java/beans/beancontext/BeanContextSupport.java
2202         (deserialize): Implemented,
2203         (serialize): Implemented.
2204
2205 2006-11-23  Roman Kennke  <kennke@aicas.com>
2206
2207         * gnu/java/awt/peer/headless/HeadlessGraphicsEnvironment.java
2208         (createGraphics): Try to use Cairo graphics if available.
2209
2210 2006-11-22  David Gilbert  <david.gilbert@object-refinery.com>
2211
2212         * java/beans/beancontext/BeanContextSupport.java
2213         (toArray): Added API docs,
2214         (toArray(Object[])): Added API docs, removed NotImplementedException.
2215
2216 2006-11-22  Tania Bento  <tbento@redhat.com>
2217
2218         * javax/swing/JRootPane.java
2219         (setLayeredPane): Added documentation; throw 
2220         IllegalComponentStateException if layered pane parameter is null.
2221
2222 2006-11-22  David Gilbert  <david.gilbert@object-refinery.com>
2223
2224         * java/beans/beancontext/BeanContextSupport.java
2225         (avoidingGui): Removed NotImplementedException.
2226
2227 2006-11-22  Francis Kung  <fkung@redhat.com>
2228
2229         * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
2230         (drawGlyphVector): Clip updated area to glyph bounds.
2231         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
2232         (createPath): Eliminate distortion when pixel-shifting rectangles; separate
2233         x-coordinate and y-coordinate pixel shifting.
2234         (shifted): Removed method.
2235         (shiftX): New method, recognising scaling transforms.
2236         (shiftY): New method, recognising scaling transforms.
2237         (walkPath): Separate x-coordinate and y-coordinate pixel shifting.
2238
2239 2006-11-22  Roman Kennke  <kennke@aicas.com>
2240
2241         * java/awt/font/TextLayout.java
2242         (hash): New field. Caches the hash code.
2243         (hashCode): Implemented.
2244
2245 2006-11-22  Roman Kennke  <kennke@aicas.com>
2246
2247         * java/awt/image/ImageFilter.java
2248         Reformat whole class.
2249         (getFilterInstance): Don't touch the consumer field. Don't check
2250         consumer.
2251         (imageComplete): Don't check consumer.
2252         (setColorModel): Don't check consumer.
2253         (setDimensions): Don't check consumer.
2254         (setHints): Don't check consumer.
2255         (setPixels): Don't check consumer.
2256         (setProperties): Pass the original property too.
2257         * java/awt/image/IndexColorModel.java
2258         (IndexColorModel(int,int,byte[],byte[],byte[],int)): Set the
2259         transparent pixel by calling the new helper method.
2260         (IndexColorModel(int,int,byte[],int,boolean,int)): Set the
2261         transparent pixel by calling the new helper method.
2262         (IndexColorModel(int,int,int[],int,boolean,int,int)): Set the
2263         transparent pixel by calling the new helper method.
2264         (coerceData): Removed. This is not needed.
2265         (getAlpha): Simply return value from color map. The transparent
2266         pixel has to be there.
2267         (setTransparentPixel): New helper method. Inserts the transparent
2268         pixel.
2269         * java/awt/image/RGBImageFilter.java
2270         Reformat whole class.
2271         (convertColorModelToDefault): Removed. No longer needed.
2272         (filterIndexColorModel): Don't handle transparent pixels
2273         separately.
2274         (filterRGBPixels): Set pixels on consumer already.
2275         (makeColor): Removed. No longer needed.
2276         * java/awt/image/ReplicateScaleFilter.java
2277         (replicatePixels): Removed.
2278         (setDimension): Correctly compute destination size, avoid double
2279         calculations.
2280         (setPixels): Avoid double calculations. Fixed some boundary cases.
2281         (setupSources): New helper method.
2282         * java/awt/image/SampleModel.java
2283         (setDataElements): Also handle TYPE_SHORT, TYPE_FLOAT
2284         and TYPE_DOUBLE.
2285         * java/awt/image/SinglePixelPackedSampleModel.java
2286         (setDataElements(int,int,int,int,Object,DataBuffer)): Removed.
2287         This is not needed as the superclass already copies line
2288         by line.
2289         (setDataElements(int,int,Object,DataBuffer)): Simplified code,
2290         removed some checks that the RI also doesn't perform. Call
2291         DataBuffer.setElem().
2292
2293 2006-11-22  Roman Kennke  <kennke@aicas.com>
2294
2295         * java/awt/text/TextLayout.java
2296         (getLogicalRangesForVisualSelection): Implemented.
2297
2298 2006-11-21  Andrew John Hughes  <gnu_andrew@member.fsf.org>
2299
2300         * sun/reflect/annotation/AnnotationParser.java,
2301         * sun/reflect/annotation/AnnotationType.java,
2302         * sun/reflect/annotation/EnumConstantNotPresentExceptionProxy.java,
2303         * sun/reflect/annotation/ExceptionProxy.java:
2304         Stubbed.
2305         * sun/misc/ServiceConfigurationError.java,
2306         * sun/misc/Service.java:
2307         Implemented.
2308         
2309 2006-11-21  Roman Kennke  <kennke@aicas.com>
2310
2311         * java/awt/text/TextLayout.java
2312         (Run.isLeftToRight): New helper method.
2313         (logicalToVisual): New field. Maps logical indices to visual
2314         indices.
2315         (visualToLogical): New field. Maps visual indices to logical
2316         indices.
2317         (TextLayout): Setup mappings.
2318         (setupMappings): New method for setting up the mappings.
2319         (getCharacterLevel): Reorganized code.
2320         (getNextLeftHit(int)): Implemented.
2321         (getNextLeftHit(int,CaretPolicy)): New method.
2322         (getNextLeftHit(TextHitInfo)): Implemented.
2323         (getNextRightHit(int)): Implemented.
2324         (getNextRightHit(int,CaretPolicy)): New method.
2325         (getNextRightHit(TextHitInfo)): New method.
2326         (getVisualOtherHit): Implemented.
2327         (checkHitInfo): New helper methods for checking parameters.
2328         (hitToCaret): New helper method. Maps hit infos to caret locations.
2329         (caretToHit): New helper method. Maps caret locations to hit infos.
2330         (isCharacterLTR): New helper method.
2331         (CaretPolicy.getStrongCaret): Implemented.
2332
2333 2006-11-21  Francis Kung  <fkung@redhat.com>
2334
2335         * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
2336         (draw): Include stroke width when calculating bounds.
2337         (updateBufferedImage): Round bounds more generously, handle negative
2338         height/width values, and clip more intelligently.
2339         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
2340         (createPath): Add shortcut optimization for lines.
2341         (draw): Include stroke width when calculating bounds.
2342         (drawLine): Delegate to main draw() method.
2343         (drawRect): Likewise.
2344         (fillRect): Delegate to main fill() method.
2345         (findStrokedBounds): New method.
2346         (setCustomPaint): Round bounds more generously.
2347         * gnu/java/awt/peer/gtk/ComponentGraphics.java
2348         (drawLine): Removed.
2349         (drawRect): Removed.
2350         (fillRect): Removed.
2351
2352 2006-11-21  Francis Kung  <fkung@redhat.com>
2353
2354         * gnu/java/awt/java2d/TexturePaintContext.java
2355         (getRaster): Handle negative coordinate values.
2356         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
2357         (setPaint): Moved custom paint processing to a new method.
2358         (setPaintPixels): Added x, y parameters.
2359         (getRealBounds): Added documentation.
2360         (copy): Copy clipping information.
2361         (drawLine): Process custom paints.
2362         (setCustomPaint): New method.
2363         (fill): Process custom paints.
2364         (drawGlyphVector): Process custom paints.
2365         (drawRect): Process custom paints.
2366         (draw): Process custom paints.
2367         * gnu/java/awt/peer/gtk/CairoSurface.java
2368         (cairoCM_opaque): New constant.
2369         * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
2370         (argb32): Removed constant.
2371         (rgb32): Removed constant.
2372         (BufferedImageGraphics(BufferedImage)): Updated constant names.
2373         (BufferedImageGraphics(BufferedImageGraphics)): Copy color model flags.
2374         (updateBufferedImage): Transform to device-space before updating.
2375         * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h
2376         (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_setPaintPixels): Added x, y
2377         parameters.
2378         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
2379         (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_setPaintPixels): Set pattern
2380         source at designated x, y origin.
2381
2382 2006-11-21  Roman Kennke  <kennke@aicas.com>
2383
2384         * java/awt/text/TextLayout.java
2385         (Run): New inner helper class.
2386         (length): New field.
2387         (naturalBounds): New field.
2388         (offset): New field.
2389         (runIndices): Removed. This is now encapsulate in a Run object.
2390         (runs): Changed to Run[].
2391         (string): Changed to char[].
2392         (totalAdvance): New field. Caches advance value.
2393         (TextLayout(String,Font,FontRenderContext)): Change to store
2394         string as char[] and run layout as Run[]. Clean out empty
2395         run items.
2396         (TextLayout(TextLayout,int,int)): Change to store
2397         string as char[] and run layout as Run[].
2398         (clone): Call private constructor for maximum efficiency.
2399         (determineWhitespace): Adapted to use char[] data.
2400         (draw): Adapted to use Run objects.
2401         (getAdvance): Cache computed total advance.
2402         (getBlackBoxBounds): Adapted to use Run objects.
2403         (getCaretInfo): Use natural layout bounds.
2404         (getCharacterCount): Return length field.
2405         (getLogicalHighlightShape): Adapted to use Run objects.
2406         (getNaturalBounds): New helper method. Calculates and returns the
2407         natural bounds of this text layout.
2408         (getOutline): Adapted to use Run objects.
2409         (getStringProperties): Adapted to use char[] data.
2410         (getVisibleAdvance): Adapted to use char[] and Run data.
2411         (handleJustify): Adapted to use char[] and Run data.
2412         (hitTestChar(float,float,Rectangle2D)): Implemented.
2413         (hitTestChar(float,float)): Use natural bounds.
2414         (setCharIndices): Adapted to use char[] and Run data.
2415         (toString): Adapted to use char[] and Run data.
2416         * java/text/Bidi.java
2417         (requiresBidi): Exclude paragraph separators from bidi-triggers.
2418
2419 2006-11-21  Roman Kennke  <kennke@aicas.com>
2420
2421         * gnu/java/awt/peer/gtk/GdkFontMetrics.java:
2422         Removed. This is now an inner class in GdkFontPeer.
2423         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
2424         (drawString(float,float)): Use text layout cache from
2425         GdkFontPeer.
2426         (getFontMetrics): Delegate to GdkFontPeer.
2427         * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
2428         (getGlyphCodes): Also check array size.
2429         (getGlyphPositions): Also check array size.
2430         * gnu/java/awt/peer/gtk/GdkFontPeer.java
2431         (GdkFontLineMetrics.fm): Removed.
2432         (GdkFontLineMetrics.strikeThroughOffset): Removed.
2433         (GdkFontLineMetrics.strikeThroughThickness): Removed.
2434         (GdkFontLineMetrics.underlineOffset): Removed.
2435         (GdkFontLineMetrics.underlineThickness): Removed.
2436         (GdkFontLineMetrics.GdkFontLineMetrics): Don't take
2437         FontMetrics argument. Don't init removed fields.
2438         (GdkFontLineMetrics.getAscent): Return font peer's field.
2439         (GdkFontLineMetrics.getDescent): Return font peer's field.
2440         (GdkFontLineMetrics.getHeight): Return font peer's field.
2441         (GdkFontLineMetrics.getLeading): Return font peer's field.
2442         (GdkFontLineMetrics.getNumChars): Reformat.
2443         (GdkFontLineMetrics.getStrikeThroughOffset): Return half ascent.
2444         (GdkFontLineMetrics.getStrikeThroughThickness): Return 1.
2445         (GdkFontLineMetrics.getUnderlineOffset): Return font peer's field.
2446         (GdkFontLineMetrics.getUnderlineThickness): Return font peer's field.
2447         (GdkFontMetrics): Moved class in here as inner class. 
2448         Make it use the font peer's fields and for the char(s) width
2449         and string width method, use TextLayout to measure the actual widths.
2450         (ascent): New field.
2451         (bundle): Removed.
2452         (DEFAULT_CTX): New constant field.
2453         (descent): New field.
2454         (FONT_METRICS_ASCENT): New constant.
2455         (FONT_METRICS_DESCENT): New constant.
2456         (FONT_METRICS_HEIGHT): New constant.
2457         (FONT_METRICS_MAX_ADVANCE): New constant.
2458         (FONT_METRICS_MAX_ASCENT): New constant.
2459         (FONT_METRICS_MAX_DESCENT): New constant.
2460         (FONT_METRICS_UNDERLINE_OFFSET): New constant.
2461         (FONT_METRICS_UNDERLINE_THICKNESS): New constant.
2462         (height): New field.
2463         (maxAdvance): New field.
2464         (maxAscent): New field.
2465         (maxDescent): New field.
2466         (metrics): New field. Stores a FontMetrics for this font.
2467         (textLayoutCache): New field. Caches TextLayout instances.
2468         (underlineOffset): New field.
2469         (underlineThickness): New field.
2470         (cinit): Don't initialize resource bundle.
2471         (GdkFontPeer): Setup the metrics.
2472         (getFontMetrics): Return stored metrics if possible.
2473         (getLineMetrics): Adapt to new constructor.
2474         (initFont): New helper method.
2475         (setupMetrics): New helper method.
2476         * gnu/java/awt/peer/gtk/GtkToolkit.java
2477         (LRUCache): Made class a static class.
2478         (getFontMetrics): Delegate to GdkFontPeer.
2479         * native/jni/gtk-peer/gdkfont.h
2480         Added new constant defines.
2481         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
2482         (getFontMetrics): Rewritten to fetch the font metrics from
2483         FreeType.
2484
2485 2006-11-20  Tania Bento  <tbento@redhat.com>
2486
2487         * javax/swing/ButtonGroup.java:
2488         (setSelected): Select the ButtonModel if all conditions
2489         are met.
2490
2491 2006-11-20  Tania Bento  <tbento@redhat.com>
2492
2493         * javax/swing/JSlider.java:
2494         (updateLabelUIs): Removed casting.
2495
2496 2006-11-20  Mark Wielaard  <mark@klomp.org>
2497
2498         * gnu/java/util/regex/RE.java (messages): Don't initialize.
2499         (bundle): New static final String field.
2500         (getLocalizedMessage): Initialize messages when still null.
2501         * gnu/java/util/regex/RESyntax.java (SYNTAX_IS_FINAL): Removed.
2502         (set): Use RE.getLocalizedMessage().
2503         (clear): Likewise.
2504         (setLineSeparator): Likewise.
2505
2506 2006-11-20  Roman Kennke  <kennke@aicas.com>
2507
2508         * javax/swing/text/html/StyleSheet.java
2509         (linked): New field.
2510         (styleSheet): Replaced by linked.
2511         (addStyleSheet): Use an arraylist for simplicity.
2512         (getRule): Removed useless instantiation.
2513         (getStyleSheets): Convert array list to array.
2514         (removeStyleSheet): Use an arraylist for simplicity.
2515         (resolveStyle): Include styles from linked lists.
2516
2517 2006-11-20  Roman Kennke  <kennke@aicas.com>
2518
2519         * javax/swing/text/BoxView.java
2520         (BoxView): Initialize with invalid req's.
2521         (forwardUpdate): Trigger repaint when children changed the
2522         major axis.
2523         (getResizeWeight): Return resizable when the pref differs from
2524         the min or the pref differs from the max size.
2525         (layoutMajorAxis): Actually sum up the preferred sizes.
2526         (paint): Made binary search more robust.
2527         (replace): Let arrays shrink when needed.
2528         (replaceLayoutArray): Let arrays shrink when needed.
2529         (setAxis): Trigger preferenceChanged.
2530         * javax/swing/text/CompositeView.java
2531         (getInsideAllocation): Call insets method to take account
2532         of overriding subclasses.
2533         * javax/swing/text/DefaultStyledDocument.java
2534         (ElementBuffer.finishEdit): Clear the stack and edits buffer.
2535         (ElementBuffer.insertUpdate): Only remove the found element, not
2536         all.
2537         * javax/swing/text/GlyphView.java
2538         (insertUpdate): Pass null in preferenceChanged.
2539         (removeUpdate): Pass null in preferenceChanged.
2540         (changedUpdate): Pass null in preferenceChanged.
2541         * javax/swing/text/Utilities.java
2542         (drawTabbedText): Avoid single calls to charWidth() and instead
2543         call charsWidth() on whole chunks.
2544         * javax/swing/text/html/HTMLDocument.java
2545         (BlockElement.getName): Fall back to super when necessary.
2546         (RunElement.getName): Fall back to super when necessary.
2547         (HTMLReader.MAX_THRESHOLD): New constant field.
2548         (HTMLReader.GROW_THRESHOLD): New constant field.
2549         (HTMLReader.theshold): New field.
2550         (HTMLReader.HTMLReader): Fetch threshold from document.
2551         (HTMLReader.addContent): Sucessivly grow the threshold.
2552         (createLeafElement): Don't create two elemens and don't set
2553         attribute.
2554         * javax/swing/text/html/TableView.java
2555         (RowView.replace): Invalidate grid.
2556         (gridValid): Made package private.
2557         (layoutMinorAxis): Mark all rows as invalid.
2558         (replace): Invalidate grid.
2559
2560 2006-11-20  Roman Kennke  <kennke@aicas.com>
2561
2562         * javax/swing/text/AbstractDocument.java
2563         (DefaultDocumentEvent.changes): Changed to be a HashMap.
2564         (DefaultDocumentEvent.modified): Made private.
2565         (DefaultDocumentEvent.THRESHOLD): New constant field.
2566         (DefaultDocumentEvent.DefaultDocumentEvent): Don't initialize
2567         changes table.
2568         (DefaultDocumentEvent.addEdit): Switch to hashmap only when
2569         exceeding threshold.
2570         (DefaultDocumentEvent.getChange): Use iterative approach
2571         when we have no hashmap yet.
2572         (documentCV): Removed.
2573         (numWriters): Renamed from numWritersWaiting.
2574         (createPosition): Reformat.
2575         (getCurrentWriter): Synchronized.
2576         (readLock): Implement more straightforward.
2577         (readUnlock): Implement more straightforward.
2578         (writeLock): Implement more straightforward.
2579         (writeUnlock): Implement more straightforward.
2580         (remove): Write-lock here.
2581         (removeImpl): Don't write-lock here.
2582
2583 2006-11-20  Roman Kennke  <kennke@aicas.com>
2584
2585         * javax/swing/JEditorPane.java
2586         (setPage): Set priority on loading thread.
2587
2588 2006-11-20  Roman Kennke  <kennke@aicas.com>
2589
2590         * javax/swing/plaf/basic/BasicTextUI.java
2591         (RootView.paint): Avoid allocation.
2592         (cachedInsets): New field. Caches an Insets instance.
2593         (getNextVisualPositionFrom): Read-lock the document to avoid
2594         thread nastiness. Push allocation.
2595         (getPreferredSize): Push fake allocation when not yet laid out.
2596         (getVisibleEditorRect): Use cached insets.
2597         (viewToModel): Read-lock the document to avoid
2598         thread nastiness. Push allocation.
2599
2600 2006-11-20  Roman Kennke  <kennke@aicas.com>
2601
2602         * javax/swing/text/StyleContext.java
2603         (attributeSetPool): Synchronize this map.
2604         (addAttribute): Synchronize this method.
2605         (addAttributes: Synchronize this method.
2606         (readObject): Install synchronized map on target object.
2607         (removeAttribute): Synchronize this method.
2608         (removeAttributes): Synchronize this method.
2609         (removeAttributes): Synchronize this method.    
2610         
2611 2006-11-20  Roman Kennke  <kennke@aicas.com>
2612
2613         * javax/swing/text/GapContent.java
2614         (GapContentPosition.GapContentPosition): Removed constructor.
2615         (Mark): Made subclass of WeakReference to refer directly to
2616         the associated position.
2617         (Mark.refCount): Removed.
2618         (Mark.Mark(int,GapContentPosition,ReferenceQueue):
2619         New constructor. Used to reference a position and register the
2620         reference queue.
2621         (Mark.Mark(index)): Call super and don't adjust mark offset.
2622         (Mark.compareTo): Removed.
2623         (Mark.equals): Removed.
2624         (Mark.getOffset): Return at least null. Removed assert.
2625         (Mark.getPosition): New helper method.
2626         (garbageMarks): New field.
2627         (positions): Removed.
2628         (searchMark): New field.
2629         (GapContent): Removed init of positions map.
2630         (addImpl): New helper method.
2631         (adjustPositionsInRange): Removed.
2632         (compare): New helper method.
2633         (createPosition): Rewritten for new datastructures. This now
2634         performs a much more efficient binary search for finding
2635         a position at the requested offste.
2636         (garbageCollect): Rewritten to collect unused marks.
2637         (getPositionsInRange): Adjusted for new data structures.
2638         (removeImpl): New helper method.
2639         (replace): Use new addImpl() and removeImpl() helper method for
2640         correctly adjusting the positions and gap.
2641         (search): Rewritten. Implements a more suitable binary search.
2642         (searchFirst): New helper method.
2643         (setPositionsInRange): Removed.
2644         (shiftEnd): Update the marks here.
2645         (shiftGap): Update the marks here.
2646         (shiftGapEndUp): Update the marks here.
2647         (shiftGapStartDown): Update the marks here.
2648
2649 2006-11-20  Marco Trudel <mtrudel@gmx.ch>
2650
2651         * java/util/jar/JarFile.java (digestAlgorithms): New field used to cache
2652         digest algorithm implementations.
2653         (readSignatures): Parse the manifest once and reuse that data.
2654         Add support for line breaks.
2655         (verifyHashes): Use the parsed manifest entry.
2656         (readManifestEntry): Removed.
2657
2658 2006-11-20  Andrew John Hughes  <gnu_andrew@member.fsf.org>
2659
2660         * java/beans/beancontext/BeanContextServicesSupport.java:
2661         Added more documentation.
2662         (addService(Class,BeanContextServiceProvider,boolean)):
2663         Synchronized over global hierarchy lock.
2664         (bcsPreDeserializationHook(ObjectInputStream)): Implemented.
2665         (bcsPreSerializationHook(ObjectOutputStream)): Implemented.
2666         (childJustRemovedHook(Object,BCSChild)): Implemented.
2667         (createBCSSServiceProvider(Class,BeanContextServiceProvider)):
2668         Implemented.
2669         (fireServiceRevoked(BeanContextServiceRevokedEvent)):
2670         Added revocation-only listeners.
2671         (getBeanContextServicesPeer()): Implemented.
2672         (getCurrentServiceClasses(Class)): Synchronized over global
2673         hierarchy lock.
2674         (getCurrentServiceSelectors(Class)): Synchronized over global
2675         hierarchy lock, and fixed FIXME.
2676         (getService(BeanContextChild,Object,Class,Object,
2677         BeanContextServiceRevokedListener)): Implemented.
2678         (hasService(Class)): Synchronized over global hierarchy lock.
2679         (releaseService(BeanContextChild,Object,Object)): Implemented.
2680         (revokeService(Class,BeanContextServiceProvider,boolean)): Implemented.
2681         * java/beans/beancontext/BeanContextSupport.java:
2682         (remove(Object, boolean)): Documentation correction.
2683         
2684 2006-11-19  Roman Kennke  <kennke@aicas.com>
2685
2686         * javax/swing/JEditorPane.java
2687         (PageStream): New inner class.
2688         (PageLoader): New inner class.
2689         (loading): New field.
2690         (setPage): Implemented asynchronous loading.
2691         * javax/swing/text/DefaultStyledDocument.java
2692         (ElementBuffer.create): New helper method.
2693         (create): Use new ElementBuffer method instead of hack.
2694         * javax/swing/text/html/HTMLDocument.java
2695         (HTMLReader.flushImpl): New helper method.
2696         (HTMLReader.addContent): Use flushImpl().
2697         (HTMLReader.blockClose): Added null check.
2698         (HTMLReader.flush): Use flushImpl().
2699         * javax/swing/text/html/HTMLEditorKit.java
2700         (createDefaultDocument): Set load priority to 4 and token threshold
2701         to 100.
2702         * javax/swing/text/html/TableView.java
2703         (insertUpdate): Overridden to provide correct view factory.
2704         (removeUpdate): Overridden to provide correct view factory.
2705         (changedUpdate): Overridden to provide correct view factory.
2706
2707 2006-11-19  Roman Kennke  <kennke@aicas.com>
2708
2709         * javax/swing/text/BoxView.java
2710         (clipRect): New field.
2711         (tmpRect): New field.
2712         (layout): Reorganized code. Now uses layoutAxis() helper method.
2713         (layoutAxis): New helper method.
2714         (paint): Optimized by using cached Rectangle objects and
2715         a binary search for child views inside the clip.
2716         * javax/swing/text/CompositeView.java
2717         (insideAllocation): Made private and initialized in constructor.
2718         (getInsideAllocation): Removed initialization block for
2719         insideAllocation field. Avoid unnecessary allocations.
2720         * javax/swing/text/GlyphView.java
2721         (DefaultGlyphPainter.paint): Only paint the actual glyphs here
2722         The remaining stuff (background, underline and striking) is
2723         done in the GlpyhView itself. Avoid unnecessary allocations.
2724         (cached): A cached Segment instance.
2725         (getText): Return cached segment.
2726         (paint): Paint underline, strike and background here. Avoid
2727         unecessary allocs.
2728
2729 2006-11-19  Roman Kennke  <kennke@aicas.com>
2730
2731         * javax/swing/text/html/StyleSheet.java
2732         (getFontSize): Removed debug output.
2733         (ListPainter.tmpRect): New field.
2734         (ListPainter.paint): Align bullet vertically centered to
2735         the first line of the paragraph.
2736
2737 2006-11-17  Roman Kennke  <kennke@aicas.com>
2738
2739         * gnu/javax/swing/text/html/css/CSSParser.java
2740         (parseDeclaration): Trim string before reporting.
2741         * gnu/javax/swing/text/html/css/FontSize.java
2742         (size): New field.
2743         (isRelative): New field.
2744         (sizeIndex): New field.
2745         (FontSize): Initialize new fields.
2746         (getValue): Changed to call getValue(int).
2747         (getValue(int)): New method. Implements relative font sizes.
2748         (isRelative): New method.
2749         (mapAbsolute): Store index.
2750         (mapEM): New helper method.
2751         (mapLarger): New helper method.
2752         (mapPercent): New helper method.
2753         (mapRelative): New helper method.
2754         (mapSmaller): New helper method.
2755         (mapValue): New helper method.
2756         * javax/swing/text/html/CSS.java
2757         (parseBackgroundShorthand): Create CSSColor directly.
2758         * javax/swing/text/html/StyleSheet.java
2759         (addRule): Invalidate resolved styles.
2760         (getFont): Call new getFontSize() method to resolve relative
2761         font sizes.
2762         (getFontSize): New helper method. Resolves relative font sizes.
2763         (translateHTMLToCSS): Create CSS objects directly.
2764
2765 2006-11-13  Andrew John Hughes  <gnu_andrew@member.fsf.org>
2766
2767         * gnu/java/util/regex/RETokenNamedProperty.java:
2768         (getHandler(String)): Add support for 'all'.
2769
2770 2006-11-18  Andrew John Hughes  <gnu_andrew@member.fsf.org>
2771
2772         * gnu/javax/management/Server.java:
2773         Initial implementation of a GNU management server.
2774         * javax/management/MBeanPermission.java,
2775         * javax/management/MBeanRegistration.java,
2776         * javax/management/MBeanTrustPermission.java:
2777         Implemented.
2778         
2779 2006-11-17  Mark Wielaard  <mark@klomp.org>
2780
2781         * docs/www.gnu.org/newsitems.txt: Add Sun GPL news announcement.
2782
2783 2006-11-17  Gary Benson  <gbenson@redhat.com>
2784
2785         * java/net/DatagramSocket.java (getLocalAddress, connect,
2786         receive): Perform security check on address not hostname.
2787
2788 2006-11-16  Roman Kennke  <kennke@aicas.com>
2789
2790         * gnu/javax/swing/text/html/parser/support/Parser.java
2791         (_handleText): Fixed condition for consuming whitespace.
2792         Removed validator check, this is superfluous now.
2793
2794 2006-11-16  Roman Kennke  <kennke@aicas.com>
2795
2796         * gnu/javax/swing/text/html/css/CSSParser.java
2797         (parseRuleset): Support 'combined' selectors.
2798         (main): Adapt callback for combined selectors support.
2799         * gnu/javax/swing/text/html/css/CSSParserCallback.java
2800         (startStatement): Take selector array as argument, to
2801         support combined selectors.
2802         * javax/swing/text/html/BlockView.java
2803         (calculateMinorAxisRequirements): Fetch and apply alignment.
2804         * javax/swing/text/html/StyleSheet.java
2805         (CSSStyle): Inverted the constants for correct precedence.
2806         (CSSStyleSheetParserCallback.styles): New field. Stores the current
2807         styles.
2808         (CSSStyleSheetParserCallback.style): Removed.
2809         (CSSStyleSheetParserCallback.declaration): Update multiple styles.
2810         (CSSStyleSheetParserCallback.end): Push multiple styles.
2811         (CSSStyleSheetParserCallback.start): Initialize multiple styles.
2812
2813 2006-11-16  Roman Kennke  <kennke@aicas.com>
2814
2815         * javax/swing/text/FlowView.java
2816         (LogicalView.getPreferredSpan): Calculate maximum correctly.
2817         * javax/swing/text/GlyphView.java
2818         (tabExpander): New field.
2819         (tabX): New field.
2820         (breakView): Set tabX on broken view.
2821         (getPartialSpan): Let the painter fetch the span.
2822         (getTabbedSpan): Update the tab expander field. Maybe trigger
2823         relayout.
2824         (getTabExpander): Simply return the stored expander.
2825         * javax/swing/text/Utilities.java
2826         (getTabbedTextOffset): Made algoritm a little smarter and more
2827         efficient.
2828         (getTabbedTextWidth): Don't add single char widths, instead add
2829         chunks of characters.
2830         * javax/swing/text/html/ParagraphView.java
2831         (calculateMinorAxisRequirements): Adjust margin only when the
2832         CSS span is not fixed.
2833
2834 2006-11-16  David Gilbert  <david.gilbert@object-refinery.com>
2835
2836         * java/beans/beancontext/BeanContextSupport.java
2837         (getChildBeanContextMembershipListener): Implemented,
2838         (getChildPropertyChangeListener): Implemented,
2839         (getChildSerializable): Implemented,
2840         (getChildVetoableChangeListener): Implemented,
2841         (getChildVisibility): Implemented,
2842         (setDesignTime): Use same property name as Sun's implementation.
2843
2844 2006-11-16  David Gilbert  <david.gilbert@object-refinery.com>
2845
2846         * java/beans/DesignMode.java: Reformatted and removed a FIXME,
2847         * java/beans/Statement.java
2848         (toString): Updated to match reference implementation.
2849
2850 2006-11-15  Roman Kennke  <kennke@aicas.com>
2851
2852         * javax/swing/text/html/HTMLEditorKit.java
2853         (InsertHTMLTextAction.actionPerformed): Also try inserting
2854         the alternate tag. Adjust the selection accordingly.
2855         (InsertHTMLTextAction.adjustSelection): New helper method.
2856         Adjusts the selection after an insertion.
2857         (insertAtBoundary): Delegate to deprecated method.
2858         (insertAtBoundry): Implemented missing method.
2859         (tryInsert): New helper method.
2860         (defaultActions): Implemented to fill the array with
2861         a couple of InsertHTMLTextActions.
2862
2863 2006-11-15  Roman Kennke  <kennke@aicas.com>
2864
2865         * javax/swing/text/html/ImageView.java
2866         (Observer): New class. Observes image loading.
2867         (haveHeight): New field.
2868         (haveWidth): New field.
2869         (height): New field.
2870         (width): New field.
2871         (image): New field.
2872         (imageIcon): New field.
2873         (loading): New field.
2874         (observer): New field.
2875         (reloadImage): New field.
2876         (reloadProperties): New field.
2877         (ImageView): Initialize observer and some flags.
2878         (getImage): Update the image state and return the image.
2879         (loadImage): New helper method. Actually starts loading.
2880         (paint): Rewritten to paint the image directly, not via Icon.
2881         (reloadImage): Rewritten. Loads the image and its properties.
2882         (renderIcon): Removed. No more necessary.
2883         (setPropertiesFromAttributes): Don't nullify image here.
2884         Added comment about missing impl.
2885         (setSize): Added comment about missing impl.
2886         (updateSize): New helper method. Updates the size attributes.
2887         (updateState): New helper method. Makes sure the image
2888         and its properties are valid.
2889
2890 2006-11-15  Roman Kennke  <kennke@aicas.com>
2891
2892         * gnu/javax/swing/text/html/parser/support/Parser.java
2893         (_handleEndTag_remaining): Consume whitespace after a closing
2894         block like tag.
2895
2896 2006-11-15  Roman Kennke  <kennke@aicas.com>
2897
2898         * javax/swing/text/html/HTMLDocument.java
2899         (HTMLReader.ParagraphAction.end): Call super instead of blockClose()
2900         directly.
2901         (HTMLReader.ParagraphAction.start): Call super instead of blockOpen()
2902         directly.
2903         (HTMLReader.parseStack): Removed.
2904         (HTMLReader.blockClose): Simply call addContent() with ' '
2905         instead of doing more complicated stuff. Removed parseStack
2906         handling.
2907         (HTMLReader.blockOpen): Removed parseStack handling.
2908         (getInsertingReader): Removed parseStack init.
2909         * gnu/javax/swing/text/html/parser/htmlValidator.java
2910         (closeTag): Return true only when the tag actually should be
2911         closed.
2912         * gnu/javax/swing/text/html/parser/support/Parser.java
2913         (_handleEndTag): Only actually close the tag when the validator
2914         allows it.
2915
2916 2006-11-15  Roman Kennke  <kennke@aicas.com>
2917
2918         * javax/swing/text/html/CSS.java
2919         (Attribute.BORDER_SPACING): New field for the CSS border-spacing
2920         attribute.
2921         * javax/swing/text/html/StyleSheet.java
2922         (BoxPainter.bottomPadding): New field.
2923         (BoxPainter.leftPadding): New field.
2924         (BoxPainter.rightPadding): New field.
2925         (BoxPainter.topPadding): New field.
2926         (BoxPainter.BoxPainter): Fetch the MARGIN and PADDING* attributes
2927         too.
2928         (BoxPainter.getInset): Recognize and include the padding.
2929         (translateHTMLToCSS): Added mapping for CELLPADDING and CELLSPACING.
2930          javax/swing/text/html/TableView.java
2931         (RowView.calculateMajorAxisRequirements): Adjust req's for
2932         cellSpacing.
2933         (RowView.layoutMajorAxis): Adjust multi-column span for cellSpacing.
2934         (cellSpacing): New field.
2935         (columnRequirements): Made package private to avoid accessor method.
2936         (calculateMinorAxisRequirements): Include cellSpacing.
2937         (calculateMajorAxisRequirements): Overridden to include cellSpacing.
2938         (layoutMajorAxis): Likewise.
2939         (layoutColumns): Respect cellSpacing.
2940         (setParent): Overridden to fetch the CSS attributes when view gets
2941         connected.
2942         (setPropertiesFromAttributes): New method. Fetches the cell
2943         spacing from the CSS attributes.
2944
2945 2006-11-15  Roman Kennke  <kennke@aicas.com>
2946
2947         * gnu/javax/swing/text/html/parser/support/Parser.java
2948         (_handleText): Consume whitespace directly before a closing tag.
2949         (restOfTag): Consume whitespace directly after opening.
2950         * gnu/javax/swing/text/html/parser/support/textPreProcessor.java
2951         (preprocess): Don't perform array boundary checking by
2952         catch AIOOBE, instead check the boundary in loop condition.
2953         * gnu/javax/swing/text/html/parser/support/low/Constants.java
2954         (TAG_CLOSE): New constants. Describes the token pattern for
2955         a closing tag.
2956
2957 2006-11-14  Roman Kennke  <kennke@aicas.com>
2958
2959         * javax/swing/text/html/ImageView.java
2960         (getPreferredSpan): Use CSS length values.
2961         * javax/swing/text/html/TableView.java
2962         (CellView.calculateMajorAxisRequirements): Overridden to
2963         set the maximum reqs to maximum.
2964         (RowView.getMaximumSize): For the X_AXIS, set the maximum
2965         span to maximum.
2966         (RowView.getMinimumSpan): Overridden. For the X_AXIS, return
2967         the total column reqs.
2968         (RowView.getPreferredSpan): Overridden. For the X_AXIS, return
2969         the total column reqs.
2970         * gnu/javax/swing/text/html/css/CSSColor.java
2971         (convertValue): Catch NumberFormatExceptions for more robustness.
2972         * gnu/javax/swing/text/html/css/FontSize.java
2973         (mapPixels): Actually map px values. Catch NFE for more robustness.
2974
2975 2006-11-14  Roman Kennke  <kennke@aicas.com>
2976
2977         * gnu/java/awt/font/autofit/AxisHints.java,
2978         * gnu/java/awt/font/autofit/Constants.java,
2979         * gnu/java/awt/font/autofit/GlyphHints.java,
2980         * nu/java/awt/font/autofit/Latin.java,
2981         * nu/java/awt/font/autofit/LatinAxis.java,
2982         * gnu/java/awt/font/autofit/LatinMetrics.java,
2983         * gnu/java/awt/font/autofit/Scaler.java,
2984         * gnu/java/awt/font/autofit/Script.java,
2985         * gnu/java/awt/font/autofit/ScriptMetrics.java,
2986         * gnu/java/awt/font/autofit/Segment.java,
2987         * gnu/java/awt/font/autofit/Width.java:
2988         New classes. This is some skeleton stuff for the FreeType-alike
2989         auto-gridfitter.
2990         * gnu/java/awt/font/opentype/CharGlyphMap.java: Made class public.
2991         * gnu/java/awt/font/opentype/OpenTypeFont.java
2992         (unitsPerEm): Made field public.
2993         (getRawGlyphOutline): New method. Fetches the raw outline.
2994         * gnu/java/awt/font/opentype/Scaler.java
2995         (getRawGlyphOutline): New method. Fetches the raw outline.
2996         * gnu/java/awt/font/opentype/truetype/GlyphLoader.java
2997         (loadGlyph): New method. This is used to load raw outlines.
2998         * gnu/java/awt/font/opentype/truetype/TrueTypeScaler.java
2999         (getRawOutline): New method. Fetches the raw outline.
3000         * gnu/java/awt/font/opentype/truetype/Zone.java:
3001         Made class public.
3002
3003 2006-11-14  Roman Kennke  <kennke@aicas.com>
3004
3005         * javax/swing/RepaintManager.java
3006         (RepaintManager): Fetch the default state for the double buffering
3007         from a system property gnu.swing.doublebuffering.
3008
3009 2006-11-14  Roman Kennke  <kennke@aicas.com>
3010
3011         * javax/swing/plaf/basic/BasicLabelUI.java
3012         (cachedInsets): New field.
3013         (getFontMetrics): New helper method. Fetches the font metrics
3014         from the component or the toolkit.
3015         (getPreferredSize): Use getFontMetrics() helper method for
3016         fetching the font metrics.
3017         (paint): Use getFontMetrics() helper method for
3018         fetching the font metrics. Only paint if icon or text
3019         are != null. Use cached insets.
3020         (paintDisabledText): Don't store/restore color object. The
3021         JComponent painting mechanism takes care of this by calling
3022         create().
3023         (paintEnabledText): Don't store/restore color object. The
3024         JComponent painting mechanism takes care of this by calling
3025         create().
3026
3027 2006-11-14  Roman Kennke  <kennke@aicas.com>
3028
3029         * gnu/java/awt/peer/GLightweightPeer.java
3030         (handleEvent): Try to do something reasonable and trigger painting
3031         for the lightweight component.
3032         (getFontMetrics): Fetch and return a font metrics object from
3033         the Toolkit.
3034
3035 2006-11-13  Andrew John Hughes  <gnu_andrew@member.fsf.org>
3036
3037         * gnu/java/util/regex/RETokenNamedProperty.java:
3038         (getHandler(String)): Add support for 'all'.
3039         
3040 2006-11-13  Andreas Tobler  <a.tobler@schweiz.org>
3041
3042         * AUTHORS: Add myself.
3043
3044 2006-11-13  Thomas Fitzsimmons  <fitzsim@redhat.com>
3045
3046         * AUTHORS: Add Tania Bento, Thomas Fitzsimmons, Francis Kung and
3047         Dalibor Topic.  Re-order 'K' section.  Remove trailing space from
3048         Roman Kennke's entry.
3049
3050 2006-11-13  Roman Kennke  <kennke@aicas.com>
3051
3052         * java/awt/image/IndexColorModel.java
3053         (createCompatibleSampleModel): Implemented missing method.
3054
3055 2006-11-11  Andreas Tobler  <a.tobler@schweiz.org>
3056
3057         * gnu/java/awt/peer/gtk/GtkImageConsumer.java (setPixels): Handle data
3058         from big endian systems correctly.
3059
3060 2006-11-11  Roman Kennke  <kennke@aicas.com>
3061
3062         * gnu/javax/swing/text/html/css/CSSColor.java
3063         (isValidColor): New helper method. Checks strings if they
3064         form a valid color value.
3065         * gnu/javax/swing/text/html/css/Length.java
3066         (Length): Catch number format exceptions.
3067         * javax/swing/text/html/CSS.java
3068         (addInternal): New method. Checks for shorthand CSS attributes
3069         and parses them.
3070         (parseBackgroundShorthand): New method. Parses the background
3071         shorthand attribute.
3072         * javax/swing/text/html/HTMLDocument.java
3073         (HTMLReader.LinkAction): Made class a subclass of HiddenAction.
3074         (HTMLReader.LinkAction.start): Implemented to load the linked
3075         stylesheet.
3076         (HTMLReader.LinkAction.end): Removed. This is not needed.
3077         * javax/swing/text/html/StyleSheet.java
3078         (CSSStyleSheetParserCallback.declaration): Push declaration
3079         through CSS.addInternal() to parse shorthand attributes.
3080         (addCSSAttribute): Push declaration through CSS.addInternal()
3081         to parse shorthand attributes.
3082         (importStyleSheet): Implemented. This adds a stylesheet from
3083         an URL.
3084         * javax/swing/text/html/TableView.java
3085         (calculateColumnRequirements): Increase column index for
3086         non CellView children to avoid endless loop.
3087         * javax/swing/text/CompositeView.java
3088         (setParent): Comparen with numChildren not with real arraylength.
3089
3090 2006-11-11  David Gilbert  <david.gilbert@object-refinery.com>
3091
3092         * java/beans/beancontext/BeanContextSupport.java
3093         (getChildBeanContextChild): Implemented.
3094
3095 2006-11-10  Roman Kennke  <kennke@aicas.com>
3096
3097         * javax/swing/text/View.java
3098         (updateLayout): Only repaint when needed.
3099
3100 2006-11-10  David Gilbert  <david.gilbert@object-refinery.com>
3101
3102         * java/util/Collections.java
3103         (sort(List)): Minor API doc addition,
3104         (sort(List, Comparator)): Likewise.
3105
3106 2006-11-10  David Fu  <fchoong@netbeans.jp>
3107
3108         * javax/swing/text/html/HTMLWriter.java
3109         (traverse): Removed Classpath specific handling of implied
3110         tags.
3111         (traverseHtmlFragment): Removed Classpath specific handling of
3112         implied tags.
3113
3114 2006-11-10  Roman Kennke  <kennke@aicas.com>
3115
3116         * javax/swing/text/ParagraphView.java
3117         (Row.getMaximumSize): Removed. This method is not necessary.
3118         * javax/swing/text/html/TableView.java
3119         (CellView): Moved attribute init to setPropertiesFromAttributes().
3120         (setPropertiesFromAttributes): Fetch attributes here.
3121         (RowView.RowView): Documented.
3122         (RowView.getMaximumSpan): Overridden to restrict the max span
3123         in the Y direction.
3124         (RowView.layoutMajorAxis): Correctly layout the spans.
3125         (columnWidths): New field. Stores the width attributes of
3126         the columns.
3127         (calculateColumnRequirements): Added support for relative
3128          (== percent) width attributes.
3129         (calculateMajorAxisRequirements): Removed.
3130         (calculateMinorAxisRequirements): Removed unnecessary code.
3131         (getMaximumSpan): Overridden to restrict the table's width.
3132         (layoutColumns): Documented. Implement more clever table layout,
3133         i.e. for relative columns etc.
3134         (layoutMinorAxis): Don't mark rows invalid.
3135         (updateGrid): Added docs. Initialize column widths.
3136
3137 2006-11-09  Roman Kennke  <kennke@aicas.com>
3138
3139         * gnu/java/awt/peer/headless/HeadlessGraphicsEnvironment,
3140         * gnu/java/awt/peer/headless/HeadlessToolkit: New classes.
3141         Implement basic headless toolkit.
3142         * java/awt/Toolkit.java
3143         (getDefaultToolkit): Check headless property and create
3144         headless toolkit when true.
3145
3146 2006-11-09  Ingo Proetel  <proetel@aicas.com>
3147 2006-11-09  Roman Kennke  <kennke@aicas.com>
3148
3149         * gnu/java/awt/peer/swing/SwingButtonPeer.java
3150         (SwingButton.button): New field.
3151         (SwingButton.SwingButton): Added constructor.
3152         (SwingButton.isShowing): Access button field instead of
3153         the surrounding class.
3154         (SwingButton.getParent): Access button field instead of
3155         the surrounding class.
3156         (SwingButtonPeer): Call new SwingButton constructor.
3157         * gnu/java/awt/peer/swing/SwingComponent.java:
3158         Several documentation updates.
3159         * gnu/java/awt/peer/swing/SwingComponentPeer.java
3160         (currentPaintEvents): New field.
3161         (peerFont): New field.
3162         (SwingComponentPeer): Initialize currentPaintEvents fields.
3163         (coalescePaintEvents): Implemented.
3164         (dispose): Unregister peer from heavyweight list of its container.
3165         (getGraphics): Fetch graphics from parent component.
3166         (handleEvent): Discard paint event if its coalesced.
3167         (init): Register component with its container for proper painting.
3168         (paint): Call peerPaint().
3169         (peerPaint): Added argument that indicates if we should update.
3170         Call paint or update on the actual AWT component.
3171         (peerPaintComponent): New method. Paints the peer (Swing) component.
3172         (setFont): Set peerFont field.
3173         * gnu/java/awt/peer/swing/SwingContainerPeer.java
3174         (backbuffer): New field.
3175         (focusOwner): New field.
3176         (heavyweightDescendents): New field.
3177         (SwingContainerPeer): Take Container as argument. Don't call init
3178         yet.
3179         (addHeavyweightDescendent): New method.
3180         (getFocusOwner): New helper method.
3181         (getInsets): Delegate to insets().
3182         (handleKeyEvent): Dispatch event to focus owner.
3183         (handleMouseEvent): Dispatch to child component.
3184         (isDoubleBuffering): New helper method.
3185         (peerPaint): Overridden to implement container painting with
3186         double buffering.
3187         (peerPaintChildren): New method. Paints the descendents of this
3188         container.
3189         (removeHeavyweightDescendent): New helper method.       
3190         * gnu/java/awt/peer/swing/SwingFramePeer.java
3191         (peerPaint): Removed.
3192         (peerPaintComponent): Overridden to paint the menu bar.
3193         * gnu/java/awt/peer/swing/SwingLabelPeer.java
3194         (SwingLabel.label): New field.
3195         (SwingLabel.SwingLabel): Added constructor with Label argument.
3196         (SwingLabel.getGraphics): Implemented to fetch the graphics from
3197         the actual AWT component.
3198         (SwingLabel.getParent): Implemented to fetch the parent from
3199         the AWT component.
3200         (SwingLabel.isShowing): Access the label field.
3201         (SwingLabelPeer): Set alignment from label.
3202         * gnu/java/awt/peer/swing/SwingListPeer.java: New class.
3203         * gnu/java/awt/peer/swing/SwingMenuBarPeer.java: Documentation
3204         fixlet.
3205         * gnu/java/awt/peer/swing/SwingPanelPeer.java:
3206         Don't be a lighweight peer.
3207         (SwingPanelPeer): Call init.
3208         * gnu/java/awt/peer/swing/SwingTextAreaPeer.java: New class.
3209         * gnu/java/awt/peer/swing/SwingTextFieldPeer.java
3210         (SwingTextField.textField): New field.
3211         (SwingTextField.SwingTextField): New constructor.
3212         (SwingTextField.isShowing): Access field not enclosing class.
3213         (SwingTextField.getGraphics): New method.
3214         (SwingTextField.getParent): New method.
3215         (SwingTextFieldPeer): Call new constructor.
3216         (select): Renamed arguments.
3217         * gnu/java/awt/peer/swing/SwingWindowPeer.java
3218         (SwingWindowPeer): Call init.
3219
3220 2006-11-09  Tania Bento  <tbento@redhat.com>
3221
3222         * javax/swing/JLabel.java
3223         (JLabel(Icon)): Changed documentation; Changed text to null.
3224         (JLabel(Icon,int)): Likewise.
3225         (JLabel(text)): Changed documenation.
3226         (JLabel(text,int)): Likewise.
3227         (JLabel(text,Icon,int)): Changed documentation; Throw 
3228         IllegalArgumentException if int is not one of LEFT, RIGHT,
3229         CENTER, LEADING or TRAILING.
3230
3231 2006-11-09  David Gilbert  <david.gilbert@object-refinery.com>
3232
3233         * java/beans/beancontext/BeanContextSupport.java
3234         (BeanContextSupport): Use correct dtime default,
3235         (BeanContextSupport(BeanContext)): Likewise,
3236         (BeanContextSupport(BeanContext, Locale)): Likewise, plus renamed
3237         locale argument,
3238         (BeanContextSupport(BeanContext, Locale, boolean)): Likewise,
3239         (BeanContextSupport(BeanContext, Locale, boolean, boolean)): Likewise.
3240
3241 2006-11-09  David Gilbert  <david.gilbert@object-refinery.com>
3242
3243         * java/beans/beancontext/BeanContextSupport.java
3244         (getBeanContextPeer): Implemented.
3245
3246 2006-11-09  Roman Kennke  <kennke@aicas.com>
3247
3248         * javax/swing/text/html/BlockView.java
3249         (cssHeight): Removed.
3250         (cssWidth): Removed.
3251         (cssSpans): New field. Replaces the two fields above.
3252         (BlockView): Allocate cssSpans array.
3253         (layoutMinorAxis): Fetch and use child span, not this view's span.
3254         (setCSSSpan): Adjusted to use cssSpans array.
3255         (setPropertiesFromAttributes): Adjusted to use cssSpans array.
3256
3257 2006-11-09  Roman Kennke  <kennke@aicas.com>
3258
3259         * javax/swing/text/html/InlineView.java
3260         (nowrap): New field.
3261         (getBreakWeight): Add support for nowrap.
3262         (setPropertiesFromAttributes): Fetch the nowrap setting.
3263
3264 2006-11-09  Roman Kennke  <kennke@aicas.com>
3265
3266         * gnu/javax/swing/text/html/css/CSSParser.java
3267         (parseRuleset): Use new Selector class.
3268         (parseValue): Parse multiple anys, not only one.
3269         (main): Allow stylesheet be specified on the command line.
3270         Use new Selector class.
3271         * gnu/javax/swing/text/html/css/CSSParserCallback.java
3272         (startStatement): Use Selector class.
3273         * gnu/javax/swing/text/html/css/CSSScanner.java
3274         (readName): Actually read a character in the loop to avoid
3275         endless loop.
3276         * gnu/javax/swing/text/html/css/Length.java
3277         (getValue): Only multiply when we have a percentage value.
3278         * gnu/javax/swing/text/html/css/Selector.java:
3279         New class. Provides handling of CSS selectors.
3280         * javax/swing/text/html/StyleSheet.java
3281         (CSSStyle.PREC_AUTHOR_IMPORTANT): New constant field.
3282         (CSSStyle.PREC_AUTHOR_NORMAL): New constant field.
3283         (CSSStyle.PREC_NORM): New constant field.
3284         (CSSStyle.PREC_UA): New constant field.
3285         (CSSStyle.PREC_USER_IMPORTANT): New constant field.
3286         (CSSStyle.precedence): New field.
3287         (CSSStyle.priority): Removed.
3288         (CSSStyle.selector): New field.
3289         (CSSStyle.CSSStyle(int,Selector)): Initialize with Selector
3290         and precendence.
3291         (CSSStyle.compareTo): Adjusted to use the precedence and
3292         specificity of the selector.
3293         (CSSStyleSheetParserCallback.precedence): New field.
3294         (CSSStyleSheetParserCallback.selector): Removed.
3295         (CSSStyleSheetParserCallback.style): New field.
3296         (CSSStyleSheetParserCallback.CSSStyleSheetParserCallback):
3297         Initialize with precedence.
3298         (CSSStyleSheetParserCallback.declaration): Don't look up
3299         existing rule, simply create new one.
3300         (CSSStyleSheetParserCallback.endStatement): Append style
3301         to stylesheet.
3302         (CSSStyleSheetParserCallback.startStatement): Use new Selector
3303         class.
3304         (css): Changed to be ArrayList.
3305         (addRule): Create parser with author-normal precendence.
3306         (getRule): Fixed implementation.
3307         (loadRules): Create parser with UA precendence.
3308         (resolveStyle): Use Selector class for resolving and matching
3309         stylesheet rules.
3310         (translateHTMLToCSS): Added mappings for a couple of HTML
3311         attributes.
3312
3313 2006-11-09  David Gilbert  <david.gilbert@object-refinery.com>
3314
3315         Fixes bug #29770
3316         * java/beans/SimpleBeanInfo.java
3317         (loadImage): Check for nulls.
3318
3319 2006-11-09  Robert Schuster  <robertschuster@fsfe.org>
3320
3321         * native/jni/java-nio/gnu_java_nio_VMChannel.c:
3322         (getpeername): Added 16 byte offset to memcpy operation.
3323
3324 2006-11-09  Robert Schuster  <robertschuster@fsfe.org>
3325
3326         * native/jni/java-nio/gnu_java_nio_VMChannel.c:
3327         (getsockname): Added 16 byte offset to memcpy operation.
3328
3329 2006-11-08  Mark Wielaard  <mark@klomp.org>
3330
3331         Fixes bug #29754
3332         * java/io/OutputStreamWriter.java
3333         (OutputStreamWriter(OutputStream,Charset)): Set encodingName.
3334         (OutputStreamWriter(OutputStream,CharsetEncoder)): Likewise.
3335
3336 2006-11-08  Roman Kennke  <kennke@aicas.com>
3337
3338         * javax/swing/text/html/HTMLEditorKit.java
3339         (getParser): Use plain HTML_401F DTD.
3340         * javax/swing/text/html/HTMLDocument.java
3341         (HTMLReader.print): Removed method and all calls to it.
3342         (HTMLReader.printBuffer): Removed method and all calls to it.
3343         (HTMLReader.inImpliedParagraph): New field.
3344         (HTMLReader.inParagraph): New field.
3345         (HTMLReader.addContent): Create implied p-tag if necessary.
3346         (HTMLReader.addSpecialElement): Create implied p-tag if necessary.
3347         (HTMLReader.blockClose): Close implied p-tag if necessary.
3348         (HTMLReader.blockOpen): Close implied p-tag if necessary.
3349         * gnu/javax/swing/text/html/parser/HTML_401Swing.java: Removed.
3350
3351 2006-11-08  Roman Kennke  <kennke@aicas.com>
3352
3353         * javax/swing/text/html/HTMLEditorKit.java
3354         (HTMLFactory.create): Removed mapping for TD tag. This
3355         is done in TableView.
3356         * javax/swing/text/html/TableView.java:
3357         Implemented from scratch.
3358
3359 2006-11-07  Roman Kennke  <kennke@aicas.com>
3360
3361         * gnu/javax/swing/text/html/parser/support/Parser.java
3362         (_handleText): Check if text content is actually allowed before
3363         passing empty text fragments on to the parser callbacks.
3364
3365 2006-11-07  Mark Wielaard  <mark@klomp.org>
3366
3367         * gnu/java/net/protocol/jar/Handler.java (parseURL): Flatten jar
3368         path.
3369         (flat): New method.
3370
3371 2006-11-07  Tania Bento  <tbento@redhat.com>
3372
3373         * java/awt/FlowLayout.java
3374         (getSize): If parent does not have a component, then a 
3375         different formula is used to calcuate the width.
3376
3377 2006-11-07  Roman Kennke  <kennke@aicas.com>
3378
3379         * javax/swing/text/html/HTMLEditorKit.java
3380         (HTMLFactory.create): Include ListView.
3381         * javax/swing/text/html/ListView.java
3382         (paint): Removed comment.
3383         * javax/swing/text/html/StyleSheet.java
3384         (CSSStyle.priority): New field.
3385         (CSSStyle.CSSStyle(int)): New constructor with priority.
3386         (CSSStyle.compareTo): New method. Used for sorting the styles.
3387         (CSSStyleSheetParserCallback.declaration): Store the style
3388         with the complete selector.
3389         (ListPainter.attributes): Renamed as field.
3390         (ListPainter.styleSheet): New field.
3391         (ListPainter.type): New field.
3392         (ListPainter.ListPainter): Pass StyleSheet to constructor.
3393         (ListPainter.paint): Provide simplistic implementation.
3394         (getListPainter): Pass StyleSheet to constructor.
3395         (resolveStyle): Fixed CSS style resolving.
3396
3397 2006-11-07  Roman Kennke  <kennke@aicas.com>
3398
3399         * gnu/javax/swing/text/html/css/BorderWidth.java:
3400         New class. Handles CSS border width values.
3401         * gnu/javax/swing/text/html/css/Length.java
3402         (floatValue): Made protected so that BorderWidth can access it.
3403         * javax/swing/text/html/CSS.java
3404         (Attribute.BORDER_BOTTOM_COLOR): New static field.
3405         (Attribute.BORDER_BOTTOM_STYLE): New static field.
3406         (Attribute.BORDER_LEFT_COLOR): New static field.
3407         (Attribute.BORDER_LEFT_STYLE): New static field.
3408         (Attribute.BORDER_RIGHT_COLOR): New static field.
3409         (Attribute.BORDER_RIGHT_STYLE): New static field.
3410         (Attribute.BORDER_TOP_COLOR): New static field.
3411         (Attribute.BORDER_TOP_STYLE): New static field.
3412         (getValue): Added some mappings for the border color and
3413         border width values.
3414         * javax/swing/text/html/CSSBorder.java: New class. Implements
3415         CSS borders.
3416         * javax/swing/text/html/StyleSheet.java
3417         (BoxPainter.background): New field.
3418         (BoxPainter.border): New field.
3419         (BoxPainter.bottomInset): Documented.
3420         (BoxPainter.leftInset): Documented.
3421         (BoxPainter.rightInset): Documented.
3422         (BoxPainter.topInset): Documented.
3423         (BoxPainter.BoxPainter): Added support for borders and background.
3424         (BoxPainter.getInset): Add border insets.
3425         (BoxPainter.paint): Implemented. Paints the background and the
3426         CSS border.
3427         (addRule): Be less picky about parse and IO exceptions.
3428         (getBoxPainter): Adjust to new BoxPainter constructor.
3429
3430 2006-11-07  Andreas  <a.tobler@schweiz.org>
3431
3432         * examples/Makefile.am: Add rule to install the *.html files we use
3433         in the Swing Demo.
3434
3435 2006-11-06  Francis Kung  <fkung@redhat.com>
3436
3437         * gnu/java/awt/peer/gtk/ComponentGraphics.java
3438         (fillRect): Handle custom composites.
3439         (drawRenderedImage): Handle custom composites.
3440         (drawImage): Handle custom composites.
3441         (createBuffer): New method.
3442         (drawLine): Handle custom composites.
3443         (drawComposite): New method.
3444         (fill): Handle custom composites.
3445         (getNativeCM): New method.
3446         (drawGlyphVector): Handle custom composites.
3447         (drawRect): Handle custom composites.
3448         (draw): Handle custom composites.
3449         * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
3450         (drawComposite): Unset composite during draw call, to prevent parent
3451         from handling composite again.
3452         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
3453         (getBufferCM): Added comments.
3454         (getNativeCM): Made abstract.
3455         (setComposite): Removed comments.
3456
3457 2006-11-06  Roman Kennke  <kennke@aicas.com>
3458
3459         * examples/gnu/classpath/examples/swing/HtmlDemo.java:
3460         Fixed initial window size and start document.
3461
3462 2006-11-06  Roman Kennke  <kennke@aicas.com>
3463
3464         * javax/swing/text/html/HTMLDocument.java
3465         (HTMLReader.addSpecialElement): Removed comment about
3466         htmlAttributeSet.
3467         (HTMLReader.handleComment): Create SimpleAttributeSet instead
3468         of htmlAttributeSet.
3469         * javax/swing/text/html/parser/DocumentParser.java
3470         (gnuParser.handleStartTag): Use SimpleAttributeSet instead
3471         of htmlAttributeSet.
3472         * javax/swing/text/html/parser/ParserDelegator.java
3473         (gnuParser.handleStartTag): Use SimpleAttributeSet instead
3474         of htmlAttributeSet.
3475         * gnu/javax/swing/text/html/parser/GnuParserDelegator.java
3476         (gnuParser.handleStartTag): Use SimpleAttributeSet instead
3477         of htmlAttributeSet.
3478         * gnu/javax/swing/text/html/parser/support/Parser.java
3479         (getAttributes): Return a SimpleAttributeSet.
3480         (restOfTag): Don't set resolving parent here.
3481
3482 2006-11-06  Tania Bento  <tbento@redhat.com>
3483
3484         * java/awt/TextComponent.java
3485         (setSelectionStart): Added check.
3486
3487 2006-11-06  Tania Bento  <tbento@redhat.com>
3488
3489         * java/awt/TextField.java
3490         (minimumSize(int)): Check if minimum size has been previously
3491         set and changed values of Dimension returned if peer == null.
3492         (preferredSize(int)): Check if preferred size has been previously
3493         set and changed values of Dimension returned if peer == null.
3494
3495 2006-11-06  Roman Kennke  <kennke@aicas.com>
3496
3497         * javax/swing/JTree.java
3498         (TreeModelHandler.treeNodesRemoved): Implemented.
3499         (TreeModelHandler.treeStructureChanged): Implemented.
3500         (nodeStates): Made package private.
3501
3502 2006-11-06  Francis Kung  <fkung@redhat.com>
3503
3504         PR 29420
3505         * javax/swing/JTree.java
3506         (clearSelectionPathStates): New private method to clean up nodeStates.
3507         (removeSelectionPath): Call clearSelectionPathStates().
3508         (removeSelectionPaths): Call clearSelectionPathStates().
3509         (removeSelectionRow): Call clearSelectionPathStates().
3510         (setSelectionPath): Call clearSelectionPathStates().
3511         (setSelectionPaths): Call clearSelectionPathStates().
3512         (setSelectionRow): Call clearSelectionPathStates().
3513
3514 2006-11-06  Ito Kazumitsu  <kaz@maczuka.gcd.org>
3515
3516         Fixes bug #29703
3517         * java/util/regex/Matcher.java(reset): Reset inputCharIndexed.
3518
3519 2006-11-06  Roman Kennke  <kennke@aicas.com>
3520
3521         * examples/gnu/classpath/examples/swing/HtmlDemo.java:
3522         Changed to implement a minimalistic browser.
3523         * examples/gnu/classpath/examples/swing/forms.html,
3524         * examples/gnu/classpath/examples/swing/textstyles.html,
3525         * examples/gnu/classpath/examples/swing/welcome.html:
3526         Some example content.
3527
3528 2006-11-06  Roman Kennke  <kennke@aicas.com>
3529
3530         * javax/swing/text/ComponentView.java
3531         (setParent): Lock the document and repaint the hosting
3532         container.
3533         * javax/swing/text/FlowView.java
3534         (FlowStrategy.createView): Removed comment.
3535         (FlowView): Initialize span with Short.MAX_VALUE.
3536         (getFlowStart): Return 0 unconditionally.
3537         (layout): Moved code around to make it more readable.
3538         (loadChildren): Always set the parent.
3539         * javax/swing/text/GlyphView.java
3540         (DefaultGlyphPainter.fontMetrics): New field.
3541         (DefaultGlyphPainter.getAscent): Use new helper method to
3542         synchronize the font metrics.
3543         (DefaultGlyphPainter.getBoundedPosition): Use new helper method
3544         to synchronize the font metrics.
3545         (DefaultGlyphPainter.getDescent): Use new helper method to
3546         synchronize the font metrics.
3547         (DefaultGlyphPainter.getHeight): Use new helper method to
3548         synchronize the font metrics.
3549         (DefaultGlyphPainter.getSpan): Use new helper method to
3550         synchronize the font metrics.
3551         (DefaultGlyphPainter.modelToView): Use new helper method to
3552         synchronize the font metrics.
3553         (DefaultGlyphPainter.updateFontMetrics): New helper method for
3554         font metrics caching.
3555         (DefaultGlyphPainter.viewToModel): Use new helper method to
3556         synchronize the font metrics. Fixed view to model mapping.
3557         * javax/swing/text/View.java
3558         (removeAll): Pass null to replace().
3559         (setParent): Only reparent children that have this view as parent.
3560
3561 2006-11-05  Mark Wielaard  <mark@klomp.org>
3562
3563         * include/gnu_java_net_VMPlainDatagramSocketImpl.h: Removed.
3564         * include/gnu_java_nio_channels_FileChannelImpl.h: Removed.
3565         * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c:
3566         Removed.
3567         * native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c:
3568         Removed.
3569         * native/jni/java-nio/Makefile.am (libjavanio_la_SOURCES):
3570         Remove gnu_java_nio_channels_FileChannelImpl.c.
3571
3572 2006-11-03  Roman Kennke  <kennke@aicas.com>
3573
3574         * javax/swing/text/html/BlockView.java
3575         (attributes): New field.
3576         (cssHeight): New field.
3577         (cssWidth): New field.
3578         (painter): New field.
3579         (calculateMajorAxisRequirements): Overridden to account for
3580         CSS settings.
3581         (calculateMinorAxisRequirements): Overridden to account for
3582         CSS settings.
3583         (layoutMinorAxis): Overridden to account for CSS settings.
3584         (changedUpdate): Formatting fixlet.
3585         (constrainSize): New helper method.
3586         (getAlignment): Fix alignment.
3587         (getAttributes): Cache attributes for better performance.
3588         (getStyleSheet): Fetch stylesheet from document rather than creating
3589         a new one.
3590         (paint): Remove comment.
3591         (setCSSSpan): New helper method.
3592         (setPropertiesFromAttributes): Implemented to fetch the
3593         recognized properties.
3594         * javax/swing/text/html/CSS.java
3595         (getValue): Added mapping for width and height attributes.
3596         * javax/swing/text/html/InlineView.java
3597         (longestWord): New field.
3598         (getLongestWord): New helper method.
3599         (calculateLongestWord): New helper method.
3600         (getMinimumSpan): Overridden to constrain the minimum span by the
3601         longest word.
3602         * javax/swing/text/html/ParagraphView.java
3603         (cssHeight): New field.
3604         (cssWidth): New field.
3605         (calculateMinorAxisRequirements): Overridden to account for
3606         CSS settings.
3607         (setCSSSpan): New helper method.
3608         (setPropertiesFromAttributes): Fetch CSS width and height. Added
3609         null check.
3610         * gnu/javax/swing/text/html/css/Length.java
3611         (percentage): New field.
3612         (Length): Determine percentage values.
3613         (getValue(float)): New method for handling percentage values.
3614         (isPercentage): New method.
3615
3616 2006-11-03  Tania Bento  <tbento@redhat.com>
3617
3618         * java/awt/TextArea.java
3619         (getMinimumSize): Changed documentation.
3620         (getPreferredSize): Changed documentation.
3621         (getMinimumSize(int,int)): Changed documenation.
3622         (getPreferredSize(int,int)): Changed documenation.
3623         (minimumSize): Changed documentation.
3624         (preferredSize): Changed documenation.
3625         (minimumSize(int,int)): Changed documentation.  Checked if 
3626         minimum size had been previously set and changed values of
3627         Dimension returned if peer == null.
3628         (preferredSize(int, int)): Checked if preferred size had been
3629         previously set and changed values of Dimension returned if
3630         peer = null.
3631
3632 2006-11-03  Tania Bento  <tbento@redhat.com>
3633
3634         * java/awt/event/ComponentEvent.java
3635         (paramString): Changed format of string representation returned.
3636
3637 2006-11-03  Roman Kennke  <kennke@aicas.com>
3638
3639         * javax/swing/text/html/HTMLDocument.java
3640         (HTMLReader.FormAction.start): Added support for textarea.
3641         (HTMLReader.FormAction.end): Added support for textarea.
3642         (HTMLReader.HeadAction.end): Call super to actually close the
3643         block.
3644         (HTMLReader.inTextArea): New field.
3645         (HTMLReader.textAreaDocument): New field.
3646         (HTMLReader.handleText): Call textAreaContent when inside
3647         a textarea tag.
3648         (HTMLReader.textAreaContent): Implemented to initialize
3649         the text area's model.
3650         * javax/swing/text/html/FormView.java
3651         (createComponent): Added support for textarea tag.
3652
3653 2006-11-03  Roman Kennke  <kennke@aicas.com>
3654
3655         * javax/swing/text/html/HTMLDocument.java
3656         (HTMLReader.IsindexAction.start): Implemented.
3657
3658 2006-11-03  Roman Kennke  <kennke@aicas.com>
3659
3660         * javax/swing/text/html/StyleSheet.java
3661         (addRule): Implemented.
3662         * javax/swing/text/html/HTMLDocument.java
3663         (HTMLReader.inStyleTag): New field.
3664         (HTMLReader.styles): New field.
3665         (HTMLReader.HeadAction.end): Implemented to read all stylesheets,
3666         if any.
3667         (HTMLReader.StyleAction.start): Set inStyleTag flag.
3668         (HTMLReader.StyleAction.end): Set inStyleTag flag.
3669         (HTMLReader.handleText): When inside a style tag, add
3670         content to the styles array.
3671
3672 2006-11-02  Roman Kennke  <kennke@aicas.com>
3673
3674         * javax/swing/text/html/FormView.java
3675         (maxIsPreferred): New field.
3676         (createComponent): Initialize components correctly.
3677         (getMaximumSpan): Return the preferred span for components
3678         that need this. The maxIsPreferred flag is set accordingly
3679         in createComponent.
3680         * javax/swing/text/html/HTMLDocument.java
3681         (HTMLReader.FormAction.start): Implemented to set the
3682         correct model as attribute.
3683         (HTMLReader.FormAction.setModel): New helper method.
3684         (HTMLReader.FormAction.end): Call super to finish the element.
3685         Added TODO about things left to do.
3686         (HTMLReader.handleComment): Use SimpleAttributeSet rather
3687         than htmlAttributeSet.
3688         * javax/swing/text/html/HTMLEditorKit.java
3689         (HTMLFactory.create): Create BlockView for FORM tags.
3690         Create FormView for INPUT, TEXTAREA and SELECT tags.
3691
3692 2006-11-02  David Gilbert  <david.gilbert@object-refinery.com>
3693
3694         * java/awt/geom/GeneralPath.java: API doc fixes.
3695
3696 2006-11-02  Roman Kennke  <kennke@aicas.com>
3697
3698         * javax/swing/text/html/ImageView.java
3699         (getImageURL): Fetch attribute from element. Consider the
3700         base URL for relative image locations.
3701
3702 2006-11-02  Roman Kennke  <kennke@aicas.com>
3703
3704         * javax/swing/JEditorPane.java
3705         (setContentType): Strip off attributes.
3706         * javax/swing/text/html/HTMLEditorKit.java
3707         (LinkController.activateLink(int,JEditorPane,int,int): New
3708         method. Implements activation of a hyperlink.
3709         (LinkController.activateLinke(int,JEditorPane)): Delegate
3710         to the other activateLink() method.
3711         (LinkController.createHyperlinkEvent): New helper method.
3712         (LinkController.mouseClicked): Implemented to activate the link.
3713         (LinkController.mouseDragged): Added comment that this
3714         method does nothing.
3715         (LinkController.mouseMoved): Update cursor for hyperlinks.
3716         (mouseHandler): Renamed field to linkController.
3717         (HTMLEditorKit): Create a link controller.
3718         (clone): Give the clone a new link controller.
3719         (deinstall): De-install link controller as mouseMotionListener too.
3720         (install): Install link controller as mouseMotionListener too.
3721
3722 2006-11-02  Roman Kennke  <kennke@aicas.com>
3723
3724         PR 29644
3725         * javax/swing/text/FlowView.java
3726         (FlowStrategy.changedUpdate): Reversed condition. This caused
3727         wrong layout and bad performance.
3728         (FlowStrategy.insertUpdate): Reversed condition. This caused
3729         wrong layout and bad performance.
3730         (FlowStrategy.removeUpdate): Reversed condition. This caused
3731         wrong layout and bad performance.
3732         (LogicalView): Changed to be a subclass of CompositeView.
3733         (LogicalView()): Only take one Element argument.
3734         (LogicalView.childAllocation): New method for implementing
3735         the abstract CompositeView method.
3736         (LogicalView.forwardUpdateToView): Overridden for correct
3737         reparenting.
3738         (getMinimumSpan): Overridden to handle line breaking correctly.
3739         (getPreferredSpan): Implemented to handle line breaking correctly.
3740         (getViewAtPoint): New method for implementing
3741         the abstract CompositeView method.
3742         (getViewIndexAtPosition): Overridden to handle leaf elements
3743         correctly.
3744         (isAfter): New method for implementing
3745         the abstract CompositeView method.
3746         (isBefore): New method for implementing
3747         the abstract CompositeView method.
3748         (loadChildren): Overridden to handle leaf elements
3749         correctly.
3750         (paint): New method for implementing
3751         the abstract CompositeView method.
3752         (calculateMinorAxisRequirements): Use preferredSpan in calculation.
3753         (loadChildren): Initialize flow layout by sending a synthetic
3754         insertUpdate() to the layout strategy.
3755         * javax/swing/text/GlyphView.java
3756         (DefaultGlyphPainter.getBoundedPosition): Fall back to Toolkit's
3757         font metrics if component is not available. Add initial offset
3758         to result.
3759         (breakView): Be more clever when breaking the view.
3760         (getBreakLocation): New helper method to determine a good
3761         break location.
3762         (getBreakWeight): Be more clever when breaking the view.
3763         (getTabbedSpan): Make sure we have a painter. Use view's
3764         start and end offset rather than the element's.
3765         * javax/swing/text/Utilities.java
3766         (drawTabbedText): Avoid useless add and sub with the y offset.
3767
3768 2006-11-02  Roman Kennke  <kennke@aicas.com>
3769
3770         PR 29644
3771         * gnu/java/awt/peer/ClasspathFontPeer.java
3772         (getStringBounds): Removed abstract method. This is replaced
3773         in java.awt.Font to use a TextLayout.
3774         * gnu/java/awt/peer/gtk/GtkWindowPeer.java
3775         (GtkWindowPeer): Set a font on the window object.
3776         * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
3777         (FreetypeGlyphVector(Font,String,FontRenderContext,int)):
3778         Changed to take char,int,int instead of String. Filter
3779         control characters.
3780         (FreetypeGlyphVector(Font,String,FontRenderContext)):
3781         Create char array out of string.
3782         (getLogicalBounds): Don't translate bounds. They already are
3783         translated.
3784         * gnu/java/awt/peer/gtk/GdkFontMetrics.java
3785         (stringWidth): Filter out control characters.
3786         * gnu/java/awt/peer/gtk/GdkFontPeer.java
3787         (getStringBounds): Removed unneeded method.
3788         (layoutGlyphVector): Pass char array directly to FreetypeGlyphVector
3789         constructor.
3790         * gnu/java/awt/peer/qt/QtFontPeer.java
3791         (getStringBounds): Removed unneeded method.
3792         * gnu/java/awt/peer/x/XFontPeer.java
3793         (getStringBounds): Removed unneeded method.
3794         * gnu/java/awt/peer/x/XFontPeer2.java
3795         (getStringBounds): Removed unneeded method.
3796         * java/awt/Font.java
3797         (getStringBounds(char[],int,int,FontRenderContext)):
3798         Use TextLayout to determine the bounds.
3799         (getStringBounds(CharacterIterator,int,int,FontRenderContext)):
3800         Delegate to the char[] version of this method.
3801         (getStringBounds(String,FontRenderContext)):
3802         Delegate to the char[] version of this method.
3803         (getStringBounds(String,int,int,FontRenderContext)):
3804         Delegate to the String version of this method.
3805
3806 2006-11-01  Tania Bento  <tbento@redhat.com>
3807
3808         * java/awt/ScrollPaneAdjustable.java
3809         (paramString): Changed format of string representation returned.
3810         (paramStringHelper): New private method.
3811
3812 2006-11-01  Tania Bento  <tbento@redhat.com>
3813
3814         * java/awt/GridBagLayout.java
3815         (toString): Implemented method.
3816
3817 2006-10-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
3818
3819         * native/plugin/gcjwebplugin.cc (GCJ_New): Move GLib threading
3820         initialization to NP_Initialize.
3821         (NP_Initialize): Initialize GLib threading.
3822
3823 2006-10-31  Tania Bento  <tbento@redhat.com>
3824
3825         * javax/swing/JTextField.java
3826         (fireActionPerformed): When creating the new event, if
3827         actionCommand == null, then getText() is used.
3828
3829 2006-10-31  Francis Kung  <fkung@redhat.com>
3830
3831         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
3832         (fillArc): Corrected arc type to Arc2D.PIE.
3833
3834 2006-10-31  Roman Kennke  <kennke@aicas.com>
3835
3836         * javax/swing/text/html/HTMLDocument.java
3837         (HTMLReader.PreAction.end): Implemented.
3838         (HTMLReader.PreAction.start): Implemented.
3839         (HTMLReader.inPreTag): New field.
3840         (HTMLReader.handleTag): When inside a pre tag, call preContent().
3841         (HTMLReader.preContent): Implemented.
3842
3843 2006-10-31  Tania Bento  <tbento@redhat.com>
3844
3845         * javax/swing/JTextField.java
3846         (fireActionPerformed): When creating the new event, 
3847         actionCommand should be used as the command, not
3848         getText().
3849
3850 2006-10-31  Roman Kennke  <kennke@aicas.com>
3851
3852         * javax/swing/text/html/HTMLEditorKit.java
3853         (write): Use HTMLWriter or MinimalHTMLWriter for writing
3854         HTML or Styled documents.
3855
3856 2006-10-31  David Fu  <fchoong@netbeans.jp>
3857
3858         * javax/swing/text/html/HTMLWriter.java: New class.
3859
3860 2006-10-30  Roman Kennke  <kennke@aicas.com>
3861
3862         * java/awt/dnd/DragSourceContext.java
3863         (dragExit): Use constant fields instead of 0.
3864         (updateCurrentCursor): Completed implementation.
3865
3866 2006-10-30  Roman Kennke  <kennke@aicas.com>
3867
3868         * java/awt/dnd/DragGestureRecognizer.java
3869         (resetRecognizer): Added API docs. Do not replace the events object
3870         but rather clear() it. Removed not implemented tag.
3871
3872 2006-10-30  Roman Kennke  <kennke@aicas.com>
3873
3874         * java/awt/datatransfer/DataFlavor.java
3875         (writeExternal): Remove not implemented tag.
3876
3877 2006-10-30  Roman Kennke  <kennke@aicas.com>
3878
3879         * java/awt/datatransfer/DataFlavor.java
3880         (javaFileListFlavor): Don't explicitly specify class.
3881         (plainTextFlavor): Don't explicitly specify class.
3882         (mimeType): Changed to type MimeType. Remove final.
3883         (representationClass): Remove final.
3884         (DataFlavor): Don't do anything here.
3885         (DataFlavor(Class,String,String)): Removed.
3886         (DataFlavor(Class,String)): Initialize here.
3887         (DataFlavor(String,String,ClassLoader)): Initialize in init().
3888         (DataFlavor(String,String)): Initialize in init().
3889         (DataFlavor(String)): Initialize in init().
3890         (init): New initialization method.
3891         (getMimeType): Delegate to MimeType.toString().
3892         (getParameter(String,String)): Removed. Is now done in MimeType.
3893         (getParameter(String)): Delegate to MimeType.
3894         (getPrimaryType): Delegate to MimeType.
3895         (getRepresentationClassFromMime): Removed.
3896         (getRepresentationClassFromMimeThrows): Removed.
3897         (getSubType): Delegate to MimeType.
3898         (hashCode): Take MimeType.toString() for the hashCode.
3899         (isFlavorRemoveObjectType): Return true only when representation
3900         class is remove and serializable and the mime type is remote.
3901         (isFlavorSerializedObjectType): Return true only when representation
3902         class is serializable and the mime type is serialized.
3903         (isMimeTypeEqual): Rewritten to delegate to MimeType.matches().
3904         (isMimeTypeSerializedObject): Delegate to isMimeTypeEqual().
3905         (readExternal): Implemented stub method.
3906         (writeExternal): Implemented stub method.
3907         * java/awt/datatransfer/MimeType.java: New helper class.
3908
3909 2006-10-28  Roman Kennke  <kennke@aicas.com>
3910
3911         * javax/swing/TransferHandler.java
3912         (importData): Implemented stub method. Added API docs.
3913
3914 2006-10-26  Christian Elias Naur  <elias@oddlabs.com>
3915
3916         * native/jni/gtk-peer/gtk_jawt.c (classpath_jawt_get_depth): New
3917         function.
3918         * native/jni/classpath/classpath_jawt.h: Likewise.
3919         * native/jawt/jawt.c (_Jv_GetDrawingSurfaceInfo): Added
3920         initializer for surface_info_x11->depth.
3921
3922 2006-10-26  Tania Bento  <tbento@redhat.com>
3923         
3924         * java/awt/FileDialog.java:
3925         (setFile): Changed if-clause condition.
3926
3927 2006-10-25  Francis Kung  <fkung@redhat.com>
3928
3929         * include/gnu_java_nio_VMChannel.h,
3930         * include/java_net_VMNetworkInterface.h,
3931         * include/gnu_java_nio_EpollSelectorImpl.h,
3932         * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h,
3933         * include/gnu_java_nio_FileChannelImpl.h,
3934         * include/gnu_java_nio_KqueueSelectorImpl.h,
3935         * include/gnu_java_nio_VMPipe.h,
3936         * include/gnu_java_net_VMPlainSocketImpl.h: Regenerated.
3937
3938 2006-10-25  Tania Bento  <tbento@redhat.com>
3939
3940         * java/awt/Dialog.java: Created new private variable
3941         next_dialog_number.
3942         (Dialog(Frame, String, boolean, GraphicsConfiguration)):
3943         Set cursor to default cursor.
3944         (Dialog(Dialog, STring, boolean, GraphicsConfiguration)):
3945         Same.
3946         (generateName): New method.
3947         (getUniqueLong): New private method.
3948         * java/awt/FileDialog.java: Created new private variable
3949         next_file_dialog_number.
3950         (setFile): If file == "", set it to null.
3951         (generateName): New method.
3952         (getUniqueLong): New private method.
3953
3954 2006-10-25  Robert Schuster  <robertschuster@fsfe.org>
3955
3956         * java/net/MulticastSocket.java:
3957         (setNetworkInterface): Rewritten.
3958
3959 2006-10-25  Robert Schuster  <robertschuster@fsfe.org>
3960
3961         * native/jni/java-net/javanet.h: Added declaration for
3962         _javanet_create_inetaddress.
3963         * native/jni/java-net/javanet.c:
3964         (_javanet_create_inetaddress): Removed static keyword.
3965
3966 2006-10-25  Robert Schuster  <robertschuster@fsfe.org>
3967
3968         * gnu/java/net/PlainDatagramSocketImpl.java:
3969         (connect): Use VMChannel instance for connect call.
3970         (getTimeToLive): Call VMPlainSocketImpl.getTimeToLive.
3971         (setTimeToLive): Call VMPlainSocketImpl.setTimeToLive.
3972         (setOption): Handle multicast options.
3973         (getOption): Handle multicast options.
3974         * gnu/java/net/PlainSocketImpl.java:
3975         (getTimeToLive): Call VMPlainSocketImpl.getTimeToLive.
3976         (setTimeToLive): Call VMPlainSocketImpl.setTimeToLive.
3977         (setOption): Filter unappropriate options.
3978         (getOption): Filter unappropriate options.
3979         (connect): Use given SocketAddress.
3980         (close): Reset address and port.
3981         (getInetAddress): 
3982         * include/Makefile.am: Removed all occurences of
3983         gnu_java_net_VMPlainDatagramSocketImpl.h.
3984         * include/gnu_java_net_VMPlainDatagramSocketImpl.h: Removed.
3985         * native/jni/java-net/Makefile.am: Removed
3986         gnu_java_net_VMPlainDatagramSocketImpl.c from sources.
3987         * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c:
3988         Removed.
3989         as SocketException, declare to throw SocketException.
3990         * native/jni/java-nio/gnu_java_nio_VMChannel.c: Added definitions
3991         for SocketException and ConnectException.
3992         (Java_gnu_java_nio_VMChannel_connect): Throw SocketException instead
3993         of IOException.
3994         (Java_gnu_java_nio_VMChannel_connect6): Throw SocketException instead
3995         of IOException.
3996         (Java_gnu_java_nio_VMChannel_accept): Rewritten.
3997         (JCL_thread_interrupted): New function.
3998         (initIDs): Added initialisation for isThreadInterrupted method id.
3999         * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c: Added
4000         CPNET_IP_TTL to java_sockopt enum.
4001         (Java_gnu_java_net_VMPlainSocketImpl_setOption): Handle CPNET_IP_TTL
4002         case, handle SO_LINGER case properly.
4003         (Java_gnu_java_net_VMPlainSocketImpl_getOption): Handle CPNET_IP_TTL
4004         case, handle SO_LINGER case properly.
4005         (Java_gnu_java_net_VMPlainSocketImpl_getMulticastInterface): New
4006         function.
4007         (Java_gnu_java_net_VMPlainSocketImpl_setMulticastInterface): New
4008         function.
4009         (Java_gnu_java_net_VMPlainSocketImpl_setMulticastInterface6): New
4010         function.
4011         (Java_gnu_java_net_VMPlainSocketImpl_leave6): Fixed constant to be
4012         IPV6_LEAVE_GROUP.
4013         * vm/reference/gnu/java/net/VMPlainDatagramSocketImpl.java: Removed.
4014         * vm/reference/gnu/java/nio/VMChannel.java:
4015         (connect(int, byte[], int, int)): Declare to throw SocketException.
4016         (connect6): Declare to throw SocketException.
4017         (connect(InetSocketAddress, int)): Catch IOException and rethrow
4018         (isThreadInterrupted): New method.
4019         * vm/reference/gnu/java/net/VMPlainSocketImpl.java: Added CP_IP_TTL
4020         field.
4021         (setTimeToLive): New method.
4022         (getTimeToLive): New method.
4023         (setMulticastInterface(int, InetAddress)): New method.
4024         (setMulticastInterface(int, int, Inet4Address): New method.
4025         (setMulticastInterface6(int, int, Inet6Address): New method.
4026         (setOptions): Handle SO_LINGER case.
4027         (getOptions): Add missing SO_REUSEADDR case.
4028         * java/net/Socket.java:
4029         (Socket(InetAddress, int, InetAddress, int, boolean)): Close socket
4030         when exception was thrown out of connect().
4031         (setSoLinger): Replaced instantiations with valueOf calls, replaced
4032         Boolean.FALSE with Integer.valueOf(-1).
4033         * native/jni/native-lib/cpio.h: Added cpio_closeOnExec declaration.
4034         * native/jni/native-lib/cpio.c: Added cpio_closeOnExec implementation.
4035         * NEWS: Documented VM interface changes.
4036
4037 2006-10-25  Robert Schuster  <robertschuster@fsfe.org>
4038
4039         * java/net/Inet6Address.java:
4040         (isMulticastAddress): Fixed check.
4041
4042 2006-10-25  Robert Schuster  <robertschuster@fsfe.org>
4043
4044         Fixes PR29576
4045         * java/net/MulticastSocket.java:
4046         (getNetworkInterface): Return a special NetworkInterface instance
4047         if the socket's multicast interface is set to any.
4048
4049 2006-10-25  Robert Schuster  <robertschuster@fsfe.org>
4050
4051         Fixes PR29576
4052         * java/net/NetworkInterface.java:
4053         (createAnyInterface): New method.
4054         (equals): Added if-statement to handle case where netif.name is null.
4055         * vm/reference/java/net/VMNetworkInterface.java:
4056         (hashCode): Rewritten.
4057         (VMNetworkInterface): New constructor.
4058
4059 2006-10-24  Thomas Fitzsimmons  <fitzsim@redhat.com>
4060
4061         * tools/Makefile.am: Add ASM_JAR define to each tool's CFLAGS.
4062         * tools/toolwrapper.c (main): Set bootclasspath, not classpath.
4063         Add ASM_JAR to bootclasspath.
4064
4065 2006-10-24  Tania Bento  <tbento@redhat.com>
4066
4067         * java/awt/Scrollbar.java:
4068         (setLineIncrement): Removed unnecessary if-clause and if 
4069         lineIncrement == 0, then it should be set to 1, not 0.
4070         (setPageIncrement): Removed unnecessary if-clause and if
4071         pageIncrement == 0, then it should be set to 1, not 0.
4072         (setValues): If visibleAmount <= 0, it should be set to 1, not 0.
4073         If maximum <= minimum, maximum should be set to mininum + 1. The
4074         actual value of maximum is maximum - visibleAmount, so I made 
4075         this change to the appropriate if-check. Remove the two unneccessary
4076         if-clauses.
4077
4078 2006-10-23  Francis Kung  <fkung@redhat.com>
4079
4080         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
4081         (cairoSetFont): New method.
4082         (copy): Set font using setFont method.
4083         (setFont): Call cairoSetFont.
4084         (setup): Set font using setFont method.
4085         * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Added method.
4086         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
4087         (install_font_peer): Removed.
4088         (cairoDrawGlyphVector): Removed call to install_font_peer.
4089         (cairoSetFont): New method.
4090
4091 2006-10-23  Thomas Fitzsimmons  <fitzsim@redhat.com>
4092
4093         * gnu/java/awt/peer/NativeEventLoopRunningEvent.java: New file.
4094         * gnu/java/awt/peer/gtk/GtkMainThread.java: Post
4095         NativeEventLoopRunningEvent after GTK main loop start and stop.
4096         * java/awt/EventQueue.java (isShutdown): Check nativeLoopRunning.
4097         (getNextEvent): Set dispatchThread to null.
4098         (postEventImpl): Set nativeLoopRunning.
4099         (pop): Interrupt event dispatch thread.
4100         * java/awt/Frame.java (noteFrame): Synchronize on weakFrames.
4101
4102 2006-10-22  Christian Thalinger  <twisti@complang.tuwien.ac.at>
4103
4104         * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c (config-int.h):
4105         Added include.
4106         * native/jni/java-nio/gnu_java_nio_VMChannel.c (config-int.h):
4107         Likewise.
4108
4109 2006-10-23  Marco Trudel <mtrudel@gmx.ch>
4110
4111         * gnu/javax/crypto/pad/PKCS7.java (unpad): Removed an unnecessary test.
4112         * javax/crypto/CipherOutputStream.java: Re-implemented.
4113         * gnu/javax/crypto/jce/cipher/CipherAdapter.java
4114         (engineUpdate(byte[], int, int)): Always keep data for unpadding in padded
4115         decryption mode and check if it is a complete block.
4116         (engineUpdate(byte[], int, int, byte[], int)): Likewise.
4117         (engineDoFinal(byte[], int, int)): In padded decryption mode, take
4118         partially processed data into account.
4119
4120 2006-10-21  Tom Tromey  <tromey@redhat.com>
4121
4122         PR classpath/29086:
4123         * java/util/AbstractCollection.java (toArray): Removed cast.
4124
4125 2006-10-20  Tom Tromey  <tromey@redhat.com>
4126
4127         * tools/gnu/classpath/tools/javah/JniIncludePrinter.java (printClass):
4128         Don't use mangled class name for .h file.
4129         * tools/gnu/classpath/tools/javah/JniStubPrinter.java (printClass):
4130         Don't use mangled class name for .c file.
4131         * tools/gnu/classpath/tools/javah/CniPrintStream.java (writeClass):
4132         Handle classes from the default package.
4133
4134 2006-10-20  Francis Kung  <fkung@redhat.com>
4135
4136         * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Added missing constants.
4137
4138 2006-10-19  Francis Kung  <fkung@redhat.com>
4139
4140         PR 29510
4141         * java/awt/image/BufferedImage.java
4142         (constructor): Updated some properties of default image types.
4143         * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
4144         (argb32): Updated field to match default in BufferedImage.
4145
4146 2006-10-18  Roman Kennke  <kennke@aicas.com>
4147
4148         PR 29419
4149         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
4150         (copyArea): Changed size comparison to return when size == 0
4151         too.
4152         * javax/swing/JViewport.java
4153         (paintBackingStore): Check width and height of blitted area
4154         and only do blit if its > 0.
4155         (paintBlit): Check width and height of blitted area
4156         and only do blit if its > 0.
4157
4158 2006-10-18  Roman Kennke  <kennke@aicas.com>
4159
4160         PR 27091
4161         * gnu/java/awt/peer/gtk/GtkFramePeer.java
4162         (maximize): New native method.
4163         (unmaximize): New native method.
4164         (iconify): New native method.
4165         (deiconify): New native method.
4166         (getState): Implemented.
4167         (setState): Implemented.
4168         * gnu/java/awt/peer/gtk/GtkWindowPeer.java
4169         (oldState): Rename to windowState and made protected, so that
4170         the FramePeer can access it.
4171         (postWindowEvent): Handle state change events more gently and
4172         correctly.
4173         * java/awt/Frame.java
4174         (getState): Fetch state from getExtendedState().
4175         (setExtendedState): Update the peer. Check if the state change
4176         is actually supported.
4177         (getExtendedState): Update the state from the peer.
4178         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFramePeer.c
4179         (maximize): New method.
4180         (unmaximize): New method.
4181         (iconify): New method.
4182         (deiconify): New method.
4183         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
4184         (AWT_FRAME_NORMAL): New macro.
4185         (AWT_FRAME_ICONIFIED): New macro.
4186         (AWT_FRAME_MAXIMIZED_BOTH): New macro.
4187         (window_window_state_cb): Rewritten to handle window state changes
4188         more gently (mostly on the java side of the world).
4189         * include/gnu_java_awt_peer_gtk_GtkFramePeer.h: Regenerated.
4190
4191 2006-10-18  Tania Bento  <tbento@redhat.com>
4192
4193         * java/awt/CardLayout.java:
4194         (maximumLayoutSize): Return a new Dimension with Integer.MAX_VALUE as
4195         its height and width if Container passed as argument is null.
4196         (gotoComponent): Consider the case where the component is not visible.
4197
4198 2006-10-18  Thomas Fitzsimmons  <fitzsim@redhat.com>
4199
4200         * resource/gnu/classpath/tools/appletviewer/MessagesBundle.properties:
4201         Rename file...
4202         * resource/gnu/classpath/tools/appletviewer/messages.properties:
4203         New file.
4204         * resource/gnu/classpath/tools/appletviewer/MessagesBundle_de.properties:
4205         Remove file.
4206         * tools/gnu/classpath/tools/appletviewer/AppletWarning.java:
4207         Remove file.
4208         * tools/gnu/classpath/tools/appletviewer/ConsoleDialog.java:
4209         Likewise.
4210         * tools/gnu/classpath/tools/appletviewer/Messages.java: New file.
4211         * tools/gnu/classpath/tools/appletviewer/CommonAppletStub.java:
4212         Retrieve user-visible strings through Messages.getString.
4213         * tools/gnu/classpath/tools/appletviewer/Main.java: Likewise.
4214         * tools/gnu/classpath/tools/appletviewer/PluginAppletContext.java:
4215         Likewise.
4216         * tools/gnu/classpath/tools/appletviewer/PluginAppletViewer.java:
4217         Likewise.
4218         * tools/gnu/classpath/tools/appletviewer/PluginAppletWindow.java:
4219         Likewise.
4220         * tools/gnu/classpath/tools/appletviewer/StandaloneAppletContext.java:
4221         Likewise.
4222         * tools/gnu/classpath/tools/appletviewer/StandaloneAppletViewer.java:
4223         Likewise.
4224         * tools/gnu/classpath/tools/appletviewer/StandaloneAppletWindow.java:
4225         Likewise.
4226
4227 2006-10-18  Roman Kennke  <kennke@aicas.com>
4228
4229         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
4230         (AWT_WINDOW_OPENED): Remove unnecessary macro.
4231         (window_show_cb): Removed unnecessary function.
4232         (connect_signals): Don't connect signal for show.  *
4233         gnu/java/awt/peer/gtk/GtkWindowPeer.java
4234         (hasBeenShown): Removed. This is handled in java.awt.Window.
4235         (postWindowEvent): Removed handling of WINDOW_OPENED. This is done
4236         in java.awt.Window.  * java/awt/Window.java
4237         (dispose): Post WINDOW_CLOSED here, not WINDOW_OPENED.
4238
4239 2006-10-18  Francis Kung  <fkung@redhat.com>
4240
4241         * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java
4242         (drawRenderedImage):  New method.
4243         (drawImage): New method.
4244         (CairoSurfaceGraphics): Set clip.
4245         (createBuffer): New method.
4246         (getBufferCM): New method.
4247         (drawComposite): New method.
4248         (fill): New method.
4249         (getNativeCM): New method.
4250         (drawGlyphVector): New method.
4251         (draw): New method.
4252         * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
4253         (getNativeCM): Reflect renamed field.
4254         * gnu/java/awt/peer/gtk/CairoSurface.java
4255         (cairoCM_pre): Renamed from cairoColorModel.
4256         (cairoColorModel): Set premultiplication to false.
4257
4258 2006-10-18  Roman Kennke  <kennke@aicas.com>
4259
4260         PR 28769
4261         * javax/swing/JScrollPane.java
4262         (viewportBorder): Made field private.
4263         (wheelScrollingEnabled): Made field private.
4264         (JScrollPane): Enabled wheel scrolling by default.
4265         * javax/swing/JTree.java
4266         (TreeSelectionRedirector.valueChanged): Don't repaint anything
4267         here.
4268         (getScrollableUnitIncrement): Fixed thinko.
4269         * javax/swing/plaf/basic/BasicScrollBarUI.java
4270         (static scrollByBlock): New static method to avoid code duplication
4271         for the BasicScrollPane wheel scrolling.
4272         (static scrollByUnits): New static method to avoid code duplication
4273         for the BasicScrollPane wheel scrolling.
4274         (scrollByBlock): Delegate to static helper method.
4275         (scrollByUnit): Delegate to static helper method.
4276         * javax/swing/plaf/basic/BasicScrollPaneUI.java
4277         (MouseWheelHandler.mouseWheelMoved): Delegate to BasicScrollBarUI
4278         static helper methods to avoid code duplication.
4279         (MouseWheelHandler.bounds): Removed.
4280         (MouseWheelHandler.getValue): Removed.
4281         (MouseWheelHandler.scroll): Removed.
4282
4283 2006-10-18  Roman Kennke  <kennke@aicas.com>
4284
4285         PR 29502
4286         * gnu/java/awt/peer/gtk/GtkWindowPeer.java
4287         (updateComponent): Don't override this here.
4288         * java/awt/Window.java
4289         (addWindowListener): Ignore null listener. Set newEventsOnly flag.
4290         (addWindowFocusListener): Ignore null listener. Set newEventsOnly
4291         flag.
4292         (addWindowStateListener): Ignore null listener. Set newEventsOnly
4293         flag.
4294
4295 2006-10-18  Roman Kennke  <kennke@aicas.com>
4296
4297         * javax/swing/JEditorPane.java
4298         (getStream): Try to detect and set the content type of the
4299         connection stream.
4300
4301 2006-10-18  Roman Kennke  <kennke@aicas.com>
4302
4303         * javax/swing/RepaintManager.java
4304         (RepaintWorkerEvent): Pass full set of params to super.
4305         (RepaintWorker.dispatch): Overridden to allow apps to call this
4306         via reflection.
4307         (addDirtyRegion): Synchronize a little more to protect the
4308         dirtyComponents field and avoid NPEs.
4309         (invokeLater): Pass full set of params to RepaintWorkerEvent
4310         constructor.
4311
4312 2006-10-18  Roman Kennke  <kennke@aicas.com>
4313
4314         * javax/swing/JEditorPane.java
4315         (page): Removed field. The page is now stored in the correct
4316         document property.
4317         (getPage): Fetch page URL from document property.
4318         (read): Set the document for this JEditorPane. Use a Reader
4319         for reading in the document.
4320         (setPage): Call getStream() to get the stream from which we read.
4321         Fire property change. Store page in document property.
4322
4323 2006-10-18  Roman Kennke  <kennke@aicas.com>
4324
4325         * java/awt/datatransfer/DataFlavor.java
4326         (DataFlavor(String)): Removed check for space in mime string.
4327
4328 2006-10-18  Roman Kennke  <kennke@aicas.com>
4329
4330         * java/awt/Container.java
4331         (validateTree): Call ContainerPeer.begin|endLayout() rather than
4332         begin|endValidate().
4333         (validate): Call ContainerPeer.begin|endValidate() here.
4334         Added some local vars to avoid NPEs.
4335
4336 2006-10-18  Roman Kennke  <kennke@aicas.com>
4337
4338         * native/target/.cvsignore
4339         * native/target/Linux/.cvsignore
4340         * native/target/generic/.cvsignore:
4341         Added to let CVS ignore the generated Makefile and Makefile.in
4342         files.
4343
4344 2006-10-18  Roman Kennke  <kennke@aicas.com>
4345
4346         PR 29448
4347         * java/awt/Window.java
4348         (eventTypeEnabled): Overridden to handle WindowEvents.
4349         (processEvent): Switch between processWindowEvent(),
4350         processWindowFocusEvent() and processWindowStateEvent() here,
4351         rather than simply calling processWindowEvent().
4352         (processWindowEvent): Only dispatch event to listener, do not
4353         switch to processWindowFocusEvent() or processWindowStateEvent()
4354         here.
4355         * javax/swing/JFrame.java
4356         (frameInit): Explicitly enable window and key events here.
4357         (processWindowEvent): Throw out some unnecessary code.
4358         * javax/swing/JWindow.java
4359         (windowInit): Explicitly enable key events here.
4360         * javax/swing/JDialog.java
4361         (close_action): Renamed to closeAction.
4362         (dialogInit): Explicitly enable window events here.
4363         (getDefaultCloseOperation): Renamed close_action to closeAction.
4364         (processWindowEvent): Throw out some unnecessary code.
4365         Renamed close_action to closeAction.
4366         (setDefaultCloseOperation): Renamed close_action to closeAction.
4367
4368 2006-10-17  Thomas Fitzsimmons  <fitzsim@redhat.com>
4369
4370         * gnu/java/awt/peer/gtk/GtkMainThread.java: Introduce running flag
4371         to track native GTK event loop status.
4372         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c: Set and
4373         clear running flag when native GTK event loop starts and stops.
4374
4375 2006-10-17  Roman Kennke  <kennke@aicas.com>
4376
4377         * javax/swing/TransferHandler.java
4378         (exportToClipboard): Implemented.
4379
4380 2006-10-17  Francis Kung  <fkung@redhat.com>
4381
4382         * gnu/java/awt/peer/gtk/BufferedImageGraphics.java (draw): Extend updated
4383         region to account for pixel-shifting.
4384         * gnu/java/awt/peer/gtk/CairoGraphics2D.java (shiftDrawCalls): Made
4385         proctected.
4386
4387 2006-10-17  Francis Kung  <fkung@redhat.com>
4388
4389         PR 29450
4390         * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
4391         (getLogicalBounds): Translate individual glyphs before appending bounds.
4392         (getOutline): Translate individual glyphs before appending outline.
4393
4394 2006-10-17  Cameron McCormack  <cam@mcc.id.au>
4395
4396         PR 29014
4397         * java/awt/font/TextLayout.java
4398         (bidi): New field.
4399         (constructor): Store bidi in field.
4400         (getCharacterLevel): Implemented.
4401
4402 2006-10-17  Roman Kennke  <kennke@aicas.com>
4403
4404         * javax/swing/TransferHandler.java
4405         (PropertyTransferable): New inner class. Handles transfers
4406         from component properties.
4407         (createTransferable): Implemented.
4408
4409 2006-10-17  Francis Kung  <fkung@redhat.com>
4410
4411         * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
4412         (drawComposite): Ensure composite does not extend beyond buffer
4413         bounds.
4414         * java/awt/image/Raster.java
4415         (createChild): Ensure child does not extend beyond parent's
4416         bounds.
4417         * java/awt/image/WritableRaster.java
4418         (createWritableChild): Ensure child does not extend beyond
4419         parent's bounds.
4420
4421 2006-10-17  Jeroen Frijters  <jeroen@frijters.net>
4422
4423         * native/jni/classpath/jcl.c
4424         (JNI_OnLoad): Corrected calling convention.
4425
4426 2006-10-16  Roman Kennke  <kennke@aicas.com>
4427
4428         * javax/swing/TransferHandler.java
4429         (propertyName): New field.
4430         (TransferHandler(String)): Store property name in field.
4431         (canImport): Implemented stub method.
4432         (exportDone): This is a no-op. Removed not-implemented mark.
4433         (getPropertyDataFlavor): New helper method.
4434         (getPropertyDescriptor): New helper method.
4435
4436 2006-10-16  Roman Kennke  <kennke@aicas.com>
4437
4438         * javax/swing/AbstractButton.java
4439         (AccessibleJButton.getAfterIndex): Implemented.
4440         (AccessibleJButton.getAtIndex): Implemented.
4441         (AccessibleJButton.getBeforeIndex): Implemented.
4442         (AccessibleJButton.getCharacterAttribute): Completed incomplete
4443         method implementation.
4444
4445 2006-10-16  Roman Kennke  <kennke@aicas.com>
4446
4447         * javax/swing/JLabel.java
4448         (AccessibleJLabel.getIndexAtPoint): Implemented.
4449         (AccessibleJLabel.getCharacterBounds): Implemented.
4450         (AccessibleJLabel.getTextRectangle): New helper method.
4451
4452 2006-10-16  Roman Kennke  <kennke@aicas.com>
4453
4454         * javax/swing/filechooser/FileSystemView.java
4455         (getFileSystemView): Mark as implemented.
4456
4457 2006-10-14  Roman Kennke  <kennke@aicas.com>
4458
4459         PR 27957
4460         * javax/swing/JComponent.java
4461         (toolTipText): Removed field.
4462         (createToolTip): Don't set tooltip text here. This is done
4463         in the ToolTipManager.
4464         (setToolTipText): Set tooltip text as client property.
4465         (getToolTipText): Get tooltip text from client property.
4466         * javax/swing/ToolTipManager.java
4467         (currentComponent): Made field non-static and of type JComponent.
4468         (currentPoint): Made field non-static.
4469         (currentTip): Made field non-static.
4470         (popup): Made field non-static.
4471         (toolTipText): New field. Stores the current tooltip text.
4472         (checkTipUpdate): New helper method. Checks for updates of
4473         the tooltip text and triggers the appropriate actions.
4474         (getContentPaneDeepestComponent): Removed unneeded casts.
4475         (mouseEntered): Removed unneeded cast. Initially fetch tooltip
4476         text from component.
4477         (mouseMoved): Check for tooltip text updates.
4478         (showTip): Set tooltip text from current setting.
4479
4480 2006-10-14  Roman Kennke  <kennke@aicas.com>
4481
4482         PR 27956
4483         * javax/swing/JSlider.java
4484         (setPaintLabels): Call setLabelTable() instead of setting
4485         the field directly. This also updates the label's size.
4486
4487 2006-10-13  Tom Tromey  <tromey@redhat.com>
4488
4489         * tools/gnu/classpath/tools/javah/ClassWrapper.java (toString): New
4490         method.
4491
4492 2006-10-13  Tania Bento  <tbento@redhat.com>
4493
4494         * java/awt/ScrollPane.java
4495         (setLayout): Should throw AWTError whenever called.
4496
4497 2006-10-13  Roman Kennke  <kennke@aicas.com>
4498
4499         PR 29448
4500         * java/awt/Component.java
4501         (dispatchEventImpl): Special handle ComponentReshapeEvents to
4502         update the AWT's knowledge about a component's size.
4503         * gnu/java/awt/ComponentReshapeEvent.java: New class.
4504         * gnu/java/awt/peer/gtk/GtkWindowPeer.java
4505         (postConfigureEvent): Directly dispatch a ComponentReshapeEvent
4506         to update the AWT's knowledge about the component bounds.
4507
4508 2006-10-13  Tania Bento  <tbento@redhat.com>
4509
4510         * java/awt/ScrollPaneAdjustable.java
4511         (setMaximum): Should throw AWTError whenever called.
4512         (setMinimum): Same.
4513         (setVisibleAmount): Same.
4514
4515 2006-10-13  Tania Bento  <tbento@redhat.com>
4516
4517         * java/awt/ScrollPane.java
4518         (addImpl): When calling super, index should be value passed, 
4519         not -1.
4520         (getIsValidString): New helper method for paramString().
4521         (getScrollbarDisplayString): New helper method for paramString(). 
4522         (paramString): Changed format of outputted string.
4523
4524 2006-10-13  David Gilbert  <david.gilbert@object-refinery.com>
4525
4526         * javax/swing/tree/DefaultTreeSelectionModel.java
4527         (clone): Added cast to TreePath[].
4528
4529 2006-10-13  Roman Kennke  <kennke@aicas.com>
4530
4531         PR 27780
4532         * javax/swing/JMenuItem.java
4533         (isDragging): New field. Indicates if we are inside a mouse
4534         drag.
4535         (createMenuDragMouseEvent): Removed unneeded method.
4536         (processMenuDragMouseEvent): Track if we are dragging.
4537         (processMouseEvent): Simply forward to processMenuDragMouseEvent().
4538         * javax/swing/plaf/basic/BasicMenuItemUI.java
4539         (MenuDragMouseHandler.menuDragMouseDragged): Fetch
4540         MenuSelectionManager from event.
4541         (MenuDragMouseHandler.menuDragMouseEntered): Fetch
4542         MenuSelectionManager from event.
4543         (MenuDragMouseHandler.menuDragMouseExited): Fetch
4544         MenuSelectionManager from event.
4545         (MenuDragMouseHandler.menuDragMouseReleased): Click on mouse
4546         release inside menu item, otherwise clear selection.
4547         (MenuInputHandler.mouseReleased): Avoid multiple calls to getX()
4548         and getY(). Call doClick() rather than the doClick() of JMenuItem.
4549         (doClick): Perform an immediate click.
4550
4551 2006-10-13  Thomas Fitzsimmons  <fitzsim@redhat.com>
4552
4553         * javax/swing/DefaultComboBoxModel.java (setSelectedItem): Simply
4554         return if object is not in the list.
4555
4556 2006-10-12  Andrew Haley  <aph@redhat.com>
4557
4558         * java/lang/InheritableThreadLocal.java: Rename NULL to sentinel.
4559         * java/lang/ThreadLocal.java: Likewise.
4560
4561 2006-10-12  Roman Kennke  <kennke@aicas.com>
4562
4563         PR 27956
4564         * javax/swing/JSlider.java
4565         (LabelUIResource): New inner class. A JLabel as UIResource.
4566         (createStandardLabels): Don't set label bounds here.
4567         Create LabelUIResource instances.
4568         (setInverted): Repaint.
4569         (setLabelTable): Update the label UIs. Revalidate and repaint.
4570         (setMajorTickSpacing): Update the label table. Repaint if
4571         necessary.
4572         (setMinorTickSpacing): Repaint if necessary.
4573         (setOrientation): Revalidate.
4574         (setPaintLabels): Revalidate and repaint.
4575         (setPaintTicks): Revalidate and repaint.
4576         (setPaintTrack): Repaint.
4577         (updateLabelUIs): Set the label sizes here.
4578         (updateUI): Also update the label UIs.
4579         * javax/swing/plaf/basic/BasicSliderUI.java
4580         (ComponentHandler.componentResized): Don't revalidate.
4581         (FocusHandler.focusGained): Don't set field.
4582         (FocusHandler.focusLost): Don't set field.
4583         (PropertyChangeHandler.propertyChange): Calculate geometry
4584         and repaint for a couple more properties.
4585         (TrackListener.mouseReleased): Repaint.
4586         (hasFocus): Removed unneeded field.
4587         (calculateContentRect): No need to check for content size < 0.
4588         (calculateFocusRect): Use insets from insetCache.
4589         (calculateLabelRect): Fixed calculation of label rectangle.
4590         It is relative to the tick rectangle, rather than the content
4591         rectangle.
4592         (calculateTickRect): Small restructuring to avoid unnecessary
4593         comparisons.
4594         (calculateTrackRect): Fixed calculation of track rectangle.
4595         (getMaximumSize): Fixed. Fetch preferred size and set
4596         the height of width to Short.MAX_VALUE.
4597         (getMinimumHorizontalSize): Fixed to return UIManager value.
4598         (getMinimumVerticalSize): Fixed to return UIManager value.
4599         (getPreferredHorizontalSize): Fixed to return UIManager value.
4600         (getPreferredVerticalSize): Fixed to return UIManager value.
4601         (getMinimumSize): Fixed to return the UIManager value plus
4602         insets added.
4603         (getPreferredSize): Fixed to return the UIManager value plus
4604         insets added.
4605         (getWidthOfWidestLabel): Restructured for more cleanness and
4606         efficiency.
4607         (hitClip): New helper method.
4608         (paintHorizontalLabel): Replaced by more efficient and clean
4609         implementation.
4610         (paintVerticalLabel): Replaced by more efficient and clean
4611         implementation.
4612         (paintLabels): Replaced by more efficient and clean
4613         implementation.
4614         (paint): Check if rectangles intersect with clip for maximum
4615         efficiency.
4616         (recalculateIfInsetsChanged): Fixed. This method should
4617         recalculate only when the insets changed.
4618         (setThumbLocation): Repaint with a reasonable clip.
4619         (xPositionForValue): Made more clean and efficient.
4620         (yPositionForValue): Made more clean and efficient.
4621         * javax/swing/plaf/basic/BasicLookAndFeel.java
4622         (initComponenDefaults): Added Slider.horizontalSize,
4623         Slider.verticalSize, Slider.minimumHorizontalSize and
4624         Slider.minimumVerticalSize properties.
4625         * javax/swing/plaf/metal/MetalSliderUI.java
4626         (getTickLength): Add 1 for horizontal sliders and 3 for
4627         vertical sliders.
4628         (paintMajorTickForHorizSlider): Fix colors. Fix line locations.
4629         (paintMinorTickForHorizSlider): Fix colors. Fix line locations.
4630         (paintMajorTickForVertSlider): Fix colors. Fix line locations.
4631         (paintMinorTickForVertSlider): Fix colors. Fix line locations.
4632
4633 2006-10-12  Roman Kennke  <kennke@aicas.com>
4634
4635         PR 28696
4636         * javax/swing/text/FlowView.java
4637         (FlowStrategy.layout): Preserve logical views from getting lost.
4638         (FlowStrategy.layoutRow): Fix line breaking.
4639         (FlowStrategy.adjustRow): Fix line breaking.
4640         (FlowStrategy.changedUpdate): Mark layout invalid, or repaint.
4641         (FlowStrategy.insertUpdate): Mark layout invalid, or repaint.
4642         (FlowStrategy.removeUpdate): Mark layout invalid, or repaint.
4643         (createView): Don't check index.
4644         (contains): New helper method.
4645         (reparent): New helper method.
4646         (layoutDirty): Removed unneeded field.
4647         (FlowView): Removed layoutDirty field init.
4648         (changedUpdate): Removed layoutDirty handling.
4649         (insertUpdate): Removed layoutDirty handling.
4650         (removeUpdate): Removed layoutDirty handling.
4651         (layout): Use isLayoutValid() rather than the layoutDirty field.
4652         * javax/swing/text/GlyphView.java
4653         (startOffset): Removed.
4654         (endOffset): Removed.
4655         (offset): New field.
4656         (length): New field.
4657         (GlyphView): Initialize new fields. Removed old fields.
4658         (createFragment): Create fragment with new relative offsets.
4659         (getEndOffset): Work with new relative offsets.
4660         (getStartOffset): Work with new relative offsets.
4661         * javax/swing/text/ParagraphView.java
4662         (Row.getStartOffset): Overidden to determine the minimum start
4663         offset from the children.
4664         (Row.getEndOffset): Overidden to determine the maximum end
4665         offset from the children.
4666         * javax/swing/text/html/BRView.java
4667         Make subclass of InlineView.
4668         (getBreakWeight): Fall back to super for Y_AXIS.
4669
4670 2006-10-12  Roman Kennke  <kennke@aicas.com>
4671
4672         PR 28733
4673         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
4674         (TabPaneLayout.normalizeTabRuns): Replaced algorithm with
4675         one that avoids faulty state that could cause division by zero
4676         error.
4677
4678 2006-10-12  Roman Kennke  <kennke@aicas.com>
4679
4680         PR 28057
4681         * javax/swing/plaf/basic/BasicRadioButtonUI.java
4682         (paint): Determine correct icon. Added support for HTML label.
4683         Added small optimizations.
4684         (getPreferredSize): Only consider the buttons iconTextGap, and
4685         only when the text is not null.
4686         * javax/swing/plaf/basic/BasicLookAndFeel.java
4687         (initComponentDefaults): Fetch border for RadioButton from
4688         BasicButtons.getRadioButtonBorder().
4689         * javax/swing/plaf/metal/MetalRadioButtonUI.java
4690         (paintFocus): Paint focus rectangle one pixel smaller.
4691
4692 2006-10-12  Roman Kennke  <kennke@aicas.com>
4693
4694         PR 29418
4695         * javax/swing/tree/AbstractLayoutCache.java
4696         (getNodeDimensions): Don't throw InternalError, but instead
4697         return null.
4698         (getRowsForPaths): Check for null here.
4699         (isFixedRowHeight): Returns true when rowHeight > 0.
4700         (setSelectionModel): Set this as the row mapper for the selection
4701         model.
4702         * javax/swing/tree/VariableHeightLayoutCache.java
4703         (NodeRecord.NodeRecord): Initialize bounds field.
4704         (getBounds): Simply return the bounds field.
4705         (row2Node): Changed to be an ArrayList.
4706         (RECT_CACHE): New field. Caches a Rectangle instance.
4707         (countRows): Added y parameter and return value. The method
4708         now takes the current y position as parameter, and returns
4709         the updated y position.
4710         (getBounds): Fixed to return the correct bounds.
4711         (getPathForRow): Replaced by fixed implementation.
4712         (getPreferredHeight): Replaced by more efficient implementation.
4713         This simply fetches the last node record and returns its lower
4714         bounds.
4715         (getPreferredWidth): Added null check.
4716         (getVisibleChildCount): Added null check.
4717         (getVisiblePathsFrom): Added null check.
4718         (setExpandedState): Also expand the ancestors of the node
4719         to be expanded.
4720         (setModel): Set dirty flag rather than updating for real.
4721         (setNodeDimensions): Overridden to set the dirty flag.
4722         (setRowHeight): Overridden to set the dirty flag.
4723         (update): Don't special case the root here, this is done now
4724         in countRows().
4725
4726 2006-10-12  Roman Kennke  <kennke@aicas.com>
4727
4728         * javax/swing/JComponent.java
4729         (paintImmediately2): Added support for components which need
4730         to force themselves as paint root.
4731         (isPaintRoot): New method. This should be overridden by components
4732         which need to force themselves as paint root.
4733         * javax/swing/JViewport.java
4734         (isPaintRoot): Overridden to force the viewport as paint root
4735         when running in backingstore mode.
4736
4737 2006-10-12  Roman Kennke  <kennke@aicas.com>
4738
4739         * javax/swing/tree/DefaultTreeSelectionModel.java
4740         (PathPlaceHolder): New inner class. Wraps a path and its status
4741         wrt to its newness.
4742         (selectedPaths): New field. A supporting datastructure.
4743         (tmpPaths): New field. A supporting datastructure.
4744         (DefaultTreeSelectionModel): Initialize the list selection model,
4745         the leadIndex and the supporting datastructures.
4746         (addPropertyChangeListener): Create changeSupport object lazily.
4747         (addSelectionPaths): Mostly rewritten to handle the different
4748         selection modes correctly.
4749         (addSelectionPath): Delegate to addSelectionPaths().
4750         (arePathsContiguous): Replaced with more efficient implementation
4751         using BitSet
4752         (canPathBeAdded): Removed unneeded method.
4753         (canPathsBeAdded): Replaced with more efficient implementation.
4754         (clearSelection): Create correct event. Clear the fields correctly,
4755         including the supporting datastructures.
4756         (clone): Also clone the supporting datastructures and nullify
4757         changeSupport field.
4758         (getMaxSelectionRow): Delegate to list selection model.
4759         (getMinSelectionRow): Delegate to list selection model.
4760         (getPath): Removed unneeded method.
4761         (getPropertyChangeListeners): Handle null changeSupport field
4762         correctly.
4763         (getRow): Handle null rowMapper field correctly.
4764         (getSelectionRows): Handle invisible rows correctly.
4765         (insureRowContinuity): Replaced by more efficient and correct
4766         implementation.
4767         (isRowSelected): Delegate to list selection model.
4768         (notifyPathChange): Made more efficient by use of PathPlaceHolder
4769         class.
4770         (removePropertyChangeListener): Handle null changeSupport field.
4771         (removeSelectionPaths): Mostly rewritten to handle the different
4772         selection modes correctly.
4773         (removeSelectionPath): Delegate to removeSelectionPaths().
4774         (resetRowSelection): Handle list selection model.
4775         (selectOne): Removed unneeded field.
4776         (setRowMapper): Reset the row selection.
4777         (setSelectionMode): Check for invalid mode and set to
4778         DISCONTINUOUS_TREE_SELECTION in this case. Fire property change.
4779         (setSelectionPaths): Mostly rewritten to handle the different
4780         selection modes correctly.
4781         (setSelectionPath): Delegate to setSelectionPaths().
4782         (updateLeadIndex): Made more efficient.
4783
4784 2006-10-11  Francis Kung  <fkung@redhat.com>
4785
4786         * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
4787         (buffer, locked): New fields.
4788         (constructors): Initialize new variables.
4789         (createBuffer): New method.
4790         (draw): Implement custom composites.
4791         (drawComposite): New method.
4792         (drawGlyphVector): Implement custom composites.
4793         (drawImage): Implement custom composites.
4794         (drawRenderedImage): Implement custom composites.
4795         (fill): Implement custom composites.
4796         (getBufferCM): New method.
4797         (getNativeCM): New method.
4798         (updateBufferedImage): Fix premultiplication.
4799         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
4800         (copy): Copy composite.
4801         (drawImage): Set background properly.
4802         (getBufferCM): New method.
4803         (setComposite): Reset alpha composite when using custom composite.
4804         * gnu/java/awt/peer/gtk/CairoSurface.java
4805         (cairoColorModel): New field.
4806         (nativeColorModel): Renamed.
4807         (constructor): Use renamed createCairoSampleModel method.
4808         (createCairoSampleModel): New method.
4809         (createNativeSampleModel): Renamed.
4810         (getBufferedImage): Use renamed cairoColorModel field.
4811         * gnu/java/awt/peer/gtk/GtkVolatileImage.java
4812         (gdkColorModel): New field.
4813         (createGdkSampleModel): New method.
4814         (getPixels): Added comments.
4815         (getSnapshot): Use GDK colour and sample models.
4816         * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
4817         (createBuffer): Use GDK colour and sample models.
4818         (getNativeCM): Added comments.
4819         * java/awt/image/BufferedImage.java
4820         (constructor): Set premultiplied flag properly.
4821         
4822 2006-10-11  Edwin Steiner  <edwin.steiner@gmx.net>
4823
4824         * native/jni/java-nio/gnu_java_nio_VMChannel.c
4825         (Java_gnu_java_nio_VMChannel_lock): Special case Long.MAX_VALUE.
4826
4827 2006-10-10  Francis Kung  <fkung@redhat.com>
4828
4829         PR 29372
4830         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
4831         (createPath): Added isDraw parameter.
4832         (draw): Updated createPath call.
4833         (fill): Updated createPath call.
4834
4835 2006-10-10  Tom Tromey  <tromey@redhat.com>
4836
4837         PR classpath/29362:
4838         * gnu/xml/transform/TransformerImpl.java (transform): Only strip if
4839         there is a stylesheet.
4840
4841 2006-10-10  Roman Kennke  <kennke@aicas.com>
4842
4843         * java/awt/Toolkit.java
4844         (getDefaultTookit): Make method synchronized to avoid
4845         accidentally creating more than one toolkits from different
4846         threads.
4847
4848 2006-10-10  Roman Kennke  <kennke@aicas.com>
4849
4850         * java/awt/LightweightDispatcher.java
4851         (handleMouseEvent): Redispatch MOUSE_WHEEL events too.
4852         (redispatch): Transfer the button to the redispatched event.
4853
4854 2006-10-10  Francis Kung  <fkung@redhat.com>
4855
4856         * java/awt/image/ColorModel.java (coerceData): Implemented.
4857
4858 2006-10-09  Christian Elias Naur  <elias@oddlabs.com>
4859
4860         * vm/reference/java/lang/VMClassLoader.java:
4861         (defineClassWithTransformers): Use proper class name format.
4862
4863 2006-10-09  Gary Benson  <gbenson@redhat.com>
4864
4865         * java/net/ServerSocket.java
4866         (implAccept): Add security check.
4867         (accept): Close socket if security check fails.
4868         (setSocketFactory): Add security check and already-set check.
4869
4870 2006-10-09  Roman Kennke  <kennke@aicas.com>
4871
4872         PR 29325
4873         * javax/swing/JSplitPane.java
4874         (dividerLocation): New field. Stores the divider location.
4875         (JSplitPane): Initialize dividerLocation with -1.
4876         (addImpl): Removed unneeded local variables.
4877         (getDividerLocation): Manage dividerLocation in the JSplitPane
4878         class, not in the UI.
4879         (setDividerLocation): Manage dividerLocation in the JSplitPane
4880         class, not in the UI. Only call the UI method for notification.
4881         * javax/swing/plaf/basic/BasicSplitPaneUI.java
4882         (BasicHorizontalLayoutManager.layoutContainer): Fetch divider
4883         location from the JSplitPane. Honour the minimumSize, but only
4884         if the divider location hasn't been set explicitly.
4885         (BasicHorizontalLayoutManager.minimumLayoutSize): Removed unneeded
4886         statement.
4887         (BasicHorizontalLayoutManager.preferredLayoutSize): Removed unneeded
4888         statement.
4889         (BasicHorizontalLayoutManager.resetToPreferredSizes): Don't touch
4890         the divider location.
4891         (dividerLocationSet): New field.
4892         (dividerLocation): Removed field.
4893         (createActionMap): Fetch and set divider location on the JSplitPane.
4894         (getDividerLocation): Return the actual real divider location.
4895         (getMaximumSize): Removed unneeded cast.
4896         (getPreferredSize): Removed unneeded cast.
4897         (getMinimumSize): Removed unneeded cast.
4898         (installUI): Initialize dividerLocationSet with false.
4899         (uninstallUI): Initialize dividerLocationSet with false.
4900         (setDividerLocation): Set dividerLocationSet to true.
4901
4902 2006-10-09  Robert Schuster  <robertschuster@fsfe.org>
4903
4904         * native/jni/java-net/gnu_java_net/VMPlainSocketImpl.c:
4905         (Java_gnu_java_net_VMPlainSocketImpl_joinGroup): Properly
4906         convert jstring into char *.
4907         (Java_gnu_java_net_VMPlainSocketImpl_joinGroup6): Dito.
4908         (Java_gnu_java_net_VMPlainSocketImpl_leaveGroup): Dito.
4909         (Java_gnu_java_net_VMPlainSocketImpl_leaveGroup6): Dito.
4910         (getif_address): Added const modifier to second argument.
4911         (getif_index): Dito.
4912
4913 2006-10-09  Roman Kennke  <kennke@aicas.com>
4914
4915         * javax/swing/JTree.java
4916         (isSelected): Added API docs.
4917
4918 2006-10-09  Roman Kennke  <kennke@aicas.com>
4919
4920         * javax/swing/JTree.java
4921         (isSelected): Delegate to the selection model directly.
4922
4923 2006-10-09  Robert Schuster  <robertschuster@fsfe.org>
4924
4925         * gnu/java/nio/KqueueSelectorImpl.java: Renamed field
4926         sizeof_struct_kevent to _sizeof_struct_kevent.
4927
4928 2006-10-07  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
4929
4930         * tools/gnu/classpath/tools/rmic/RMICException.java:
4931         javadoc corrections, reformatted.
4932
4933 2006-10-07  Christian Elias Naur  <elias@oddlabs.com>
4934
4935         * gnu/java/lang/InstrumentationImpl.java:
4936         Made constructor package visible.
4937
4938 2006-10-05  Gary Benson  <gbenson@redhat.com>
4939
4940         * java/net/Socket.java
4941         (Socket): Perform security check on address not hostname.
4942
4943 2006-10-04  Roman Kennke  <kennke@aicas.com>
4944
4945         * javax/swing/tree/VariableHeightLayoutCache.java
4946         (getBounds): When rect is null, create a new Rectangle.
4947
4948 2006-10-04  Christian Thalinger  <twisti@complang.tuwien.ac.at>
4949
4950         * native/jni/java-nio/javanio.c (cpnio_read, cpnio_readv)
4951         (cpnio_write, cpnio_writev, cpnio_socket, cpnio_connect)
4952         (cpnio_accept, cpnio_sendto, cpnio_recvfrom, cpnio_fcntl)
4953         (cpnio_select): Use CPNIO_EXPORT.
4954         * native/jni/java-nio/javanio.h (CPNIO_EXPORT): Define to static
4955         inline instead of extern inline, as newer GCCs changed their
4956         behavior.
4957
4958 2006-10-04  Gary Benson  <gbenson@redhat.com>
4959
4960         * java/net/InetAddress.java: Updated javadoc.
4961         (<clinit>, getByLiteral): Throw InternalError on failures.
4962
4963 2006-10-03  Francis Kung  <fkung@redhat.com>
4964
4965         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
4966         (compCtx): New field for composite context.
4967         (copy): Copy composite.
4968         (dispose): Dispose of composite context.
4969         (getNativeCM): New method.
4970         (setComposite): Discard old composite context and set up new context.
4971         (setRenderingHints): Update composite context.
4972         * gnu/java/awt/peer/gtk/CairoSurface.java
4973         (nativeColorModel): New field, renamed from nativeModel.
4974         (nativeModel): Renamed field to nativeColorModel.
4975         (CairoSurface(int, int)): Call new method to create sample model.
4976         (createNativeSampleModel): New method.
4977         (getBufferedImage): Updated variable name.
4978         * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
4979         (buffer): New field.
4980         (createBuffer): New method.
4981         (draw): New method.
4982         (drawComposite): New method.
4983         (drawGlyphVector): New method.
4984         (drawImage(Image, AffineTransform, Color, ImageObserver)): New method.
4985         (drawImage(Image, int, int, ImageObserver)): Check composite.
4986         (drawImage(Image, int, int, int, int, ImageObserver)): Check composite.
4987         (fill): New method.
4988         (getNativeCM): New method.
4989         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c
4990         (Java_gnu_java_awt_peer_gtk_GtkVolatileImage_nativeGetPixels): Use 
4991         intermediary pixbuf to grab on-screen pixels.
4992
4993 2006-10-03  Tom Tromey  <tromey@redhat.com>
4994
4995         PR classpath/28987:
4996         * java/util/IdentityHashMap.java (tombstone): Removed.
4997         (emptyslot): Removed.
4998         (nullslot): New field.
4999         (IdentityHashMap): Don't fill array.
5000         (clear): Fill with null.
5001         (hash): Now final.  Use linear probing.
5002         (xform): New method.
5003         (unxform): Likewise.
5004         (removeAtIndex): Likewise.
5005         (clone, containsKey, containsValue, entrySet, get, hashCode,
5006         keySet, put, remove, values): Updated.
5007         (IdentityIterator, IdentityEntry): Likewise.
5008         (writeObject): Likewise.
5009
5010 2006-10-03  Tom Tromey  <tromey@redhat.com>
5011
5012         * java/util/Locale.java (hashcode): Updated javadoc.
5013         (hashcodeCache): Removed.
5014         (Locale): Updated.
5015         (hashCode): Updated.
5016         (writeObject): New method.
5017         (readObject): Updated.
5018
5019 2006-10-02  Francis Kung  <fkung@redhat.com>
5020
5021         * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
5022         (updateBufferedImage): Recognise that raw data is alpha-premultiplied.
5023         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
5024         (clearRect): Paint background colour with AlphaComposite.SRC rule.
5025         (drawImage(Image, AffineTransform, Color, ImageObserver)): Alpha
5026         pre-multiply data before drawing.
5027         (fillRect): Draw using regular fill() method.
5028         (setComposite): Handle null case with AlphaComposite.SrcOver default.
5029         * gnu/java/awt/peer/gtk/CairoSurface.java
5030         (nativeModel): Use correct value for alpha premultiplication (true).
5031         * java/awt/image/BufferedImage.java
5032         (coerceData): Update isPremultiplied field.
5033
5034 2006-10-02  Andrew John Hughes  <gnu_andrew@member.fsf.org>
5035
5036         * gnu/classpath/ListenerData.java:
5037         New class for holding listener data.
5038         * gnu/java/lang/management/MemoryMXBeanImpl.java:
5039         ListenerData class moved to its own file.
5040         * javax/management/MBeanServerDelegate.java,
5041         * javax/management/MBeanServerDelegateMBean.java,
5042         * javax/management/MBeanServerNotification.java:
5043         Implemented.
5044
5045 2006-10-02  Tania Bento  <tbento@redhat.com>
5046
5047         * java/ast/Rectangle.java:
5048         (Rectangle(Rectangle)): Do not throw NPE.
5049         (Rectangle(Point, Dimension)): Same.
5050         (Rectangle(Point)): Same.
5051         (Rectangle(Dimension)): Same.
5052
5053 2006-09-29  Casey Marshall  <csm@gnu.org>
5054
5055         PR 29190
5056         * gnu/java/nio/EpollSelectionKeyImpl.java: extend
5057         `AbstractSelectionKey.'
5058         (cancel, isValid): removed.
5059         * gnu/java/nio/EpollSelectorImpl.java (cancelledKeys): removed.
5060         (events): new field.
5061         (INITIAL_CAPACITY, MAX_DOUBLING_CAPACITY, CAPACITY_INCREMENT): new
5062         fields.
5063         (<clinit>): initialize those constants.
5064         (<init>): don't initialize `cancelledKeys;' initialize `events.'
5065         (doSelect): deregister cancelled keys; remove keys attached to
5066         closed channels; wrap `epoll_wait' in `begin' and `end' calls; use
5067         `events' buffer; reallocate `events' buffer if needed.
5068         (register): reallocate `events' buffer if needed.
5069         (reallocateBuffer): new method.
5070         (cancel): removed.
5071
5072 2006-09-29  Roman Kennke  <kennke@aicas.com>
5073
5074         PR 28929
5075         * javax/swing/JViewport.java
5076         (cinit): Renamed system property to gnu.swing.scrollmode
5077         to avoid bloat. Default to BACKINGSTORE, this is much
5078         more reliable.
5079         (repaint): Forward repaint() to parent as is specified.
5080
5081 2006-09-29  Tania Bento  <tbento@redhat.com>
5082
5083         * javax/swing/plaf/basic/BasicTableUI.java
5084         (getPreferredSize): The number of iterations for the for-loop should be
5085         the number of columns in the table's column model, not the number of
5086         columns of the table.
5087         * javax/swing/JTable.java
5088         (JTable(TableModel, TableColumnModel, ListSelectionModel): Removed 4
5089         lines that are not needed.
5090         (initializeLocalVars): dragEnabled should be set to false, not true.
5091         (getCellRenderer): Added a check to prevent an
5092         ArrayIndexOutOfBoundsException.
5093         (doLayout): The number of iterations for the for-loops should be the
5094         number of columns in the table's column model, not the number of columns
5095         of the table.
5096
5097 2006-09-29  Roman Kennke  <kennke@aicas.com>
5098
5099         * gnu/java/awt/java2d/AbstractGraphics2D.java: Updated
5100         API docs.
5101         (isOptimized): Initialize with true.
5102         (paintRaster): Removed unneeded field.
5103         (shapeCache): New static field. Caches certain shapes for reuse.
5104         (computeIntersection): Removed unneeded casts.
5105         (drawArc): Use shape cache.
5106         (drawImage): Removed unneeded statement.
5107         (drawLine): Use shape cache. Pass untranslated coordinates
5108         to rawDrawLine().
5109         (drawOval): Use shape cache.
5110         (drawPolygon): Use shape cache.
5111         (drawRect): Overridden to provide accelerated rectangle drawing
5112         if possible and to use the shape cache.
5113         (drawRoundRect): Use shape cache.
5114         (fillArc): Use shape cache.
5115         (fillOval): Use shape cache.
5116         (fillPolygon): Use shape cache.
5117         (fillRect): Pass untranslated coordinates to rawFillRect().
5118         Use shape cache.
5119         (fillRoundRect): Use shape cache.
5120         (fillScanlineAA): Removed unneeded statement.
5121         (fillScanline): Updated API docs.
5122         (fillShapeAntialias): Removed unnecessary cast.
5123         (fillShapeImpl): Update API docs. Removed unnecessary cast.
5124         (fillShape): Updated API docs.
5125         (getShapeCache): New helper method.
5126         * gnu/java/awt/java2d/ShapeCache.java: New class. Caches
5127         certain shapes for reuse in AbstractGraphics2D.
5128
5129 2006-09-28  Andrew John Hughes  <gnu_andrew@member.fsf.org>
5130
5131         * javax/management/BadBinaryOpValueExpException.java:
5132         (getExp()): Implemented.
5133         * javax/management/MBeanConnection.java:
5134         Renamed to MBeanServerConnection.
5135         * javax/management/MBeanServer.java:
5136         (setAttribute(Attribute)): Fixed...
5137         (setAttribute(ObjectName,Attribute)): to this.
5138         * javax/management/MBeanServerConnection.java:
5139         Renamed from MBeanConnection.
5140         * javax/management/QueryExp.java:
5141         Extend Serializable.
5142         * javax/management/ValueExp.java:
5143         Likewise.
5144         * javax/management/loading/ClassLoaderRepository.java:
5145         (loadClass(String)): Throw ClassNotFoundException.
5146         (loadClassBefore(ClassLoader,String)): Likewise.
5147         (loadClassWithout(String, ClassLoader): Fixed...
5148         (loadClassWithout(ClassLoader,String)): to this.
5149         
5150 2006-09-28  Roman Kennke  <kennke@aicas.com>
5151
5152         * javax/swing/tree/DefaultTreeCellRenderer.java
5153         (DefaultTreeCellRenderer): Fetch drawsFocusBorderAroundIcon
5154         property from UIManager.
5155         (paint): Rewritten to use super's implementation and only paint
5156         background and focus indicator before.
5157         (paintFocus): New helper method.
5158         (getXOffset): New helper method.
5159
5160 2006-09-28  Andrew John Hughes  <gnu_andrew@member.fsf.org>
5161         
5162         * javax/management/BadBinaryOpValueExpException.java,
5163         * javax/management/MBeanConnection.java,
5164         * javax/management/MBeanServer.java,
5165         * javax/management/ObjectInstance.java:
5166         Implemented.
5167         * javax/management/ObjectName.java:
5168         (setMBeanServer(MBeanServer)): Implemented.
5169         * javax/management/QueryExp.java,
5170         * javax/management/ValueExp.java,
5171         * javax/management/loading/ClassLoaderRepository.java:
5172         Implemented.
5173
5174 2006-09-27  Robert Schuster  <robertschuster@fsfe.org>
5175
5176         * gnu/java/nio/VMChannelOwner.java: Removed unneeded imports.
5177
5178 2006-09-27  Robert Schuster  <robertschuster@fsfe.org>
5179
5180         * vm/reference/gnu/java/nio/VMChannel.java: Removed unneeded imports.
5181         * vm/reference/gnu/java/nio/VMPipe.java: Removed unneeded imports.
5182         * gnu/java/nio/EpollSelectorImpl.java:
5183         (doSelect): Use Integer.valueOf() instead of constructor call.
5184         (register): Use Integer.valueOf() instead of constructor call.
5185
5186 2006-09-27  Roman Kennke  <kennke@aicas.com>
5187
5188         * java/awt/Container.java
5189         (addContainerListener): Activate newEventsOnly for the component.
5190         Ignore null listeners.
5191
5192 2006-09-27  Roman Kennke  <kennke@aicas.com>
5193
5194         * java/awt/EventQueue.java
5195         (Queue): New inner class. Implements the actual queue.
5196         (LOW_PRIORITY): New constant field.
5197         (NORM_PRIORITY): New constant field.
5198         (queueHead): Removed. Moved into Queue.
5199         (queueTail): Removed. Moved into Queue.
5200         (queues): New field.
5201         (EventQueue): Initialize two internal queues, one for
5202         normal events, one for low priority events.
5203         (getNextEventImpl): New helper method, fetches the next event.
5204         (getNextEvent): Use getNextEventImpl() for fetching the event.
5205         (peekEvent): Use getNextEventImpl() for fetching the event.
5206         (peekEvent(int)): Search for event in all queues.
5207         (postEventImpl(AWTEvent)): Moved actual posting into
5208         postEventImpl(AWTEvent,int). Prioritize events here.
5209         (postEventImpl(AWTEvent,int)): Take priority parameter and insert
5210         event into correct queue. Re-enable event coalescing.
5211         * gnu/java/awt/LowPriorityEvent.java: New marker interface.
5212         * javax/swing/RepaintManager.java
5213         (RepaintWorkerEvent): New internal class. This is a low priority
5214         event for the repaint worker.
5215         (addDirtyRegion): Use new internal invokeLater() for sending
5216         a low priority event.
5217         (addInvalidComponent): Use new internal invokeLater() for sending
5218         a low priority event.
5219         (commitBuffer): Added some null checks.
5220         (invokeLater): New helper method. Sends a low priority
5221         repaint worker event on the event queue.
5222
5223 2006-09-27  Roman Kennke  <kennke@aicas.com>
5224
5225         PR 29036
5226         PR 29161
5227         * javax/swing/plaf/basic/BasicButtonUI.java
5228         (cachedInsets): New field.
5229         (installListeners): Fire synthetic property change to initialize
5230         TEXT_LAYOUT_CACHE for the button because the font has been
5231         installed before.
5232         (uninstallUI): Clear the TEXT_LAYOUT_CACHE for the button.
5233         (paint): Use cached insets.
5234         (paintText): Let new method forward to old one, not vice versa.
5235         * javax/swing/plaf/basic/BasicMenuItemUI.java
5236         (defaultAcceleratorLabelGap): Removed unused field.
5237         (MenuGap): Removed unused field.
5238         (propertyChangeListener): Made private.
5239         (getAcceleratorRect): Removed unused method.
5240         (getAcceleratorText): Removed unused method.
5241         (getPath): Removed unnecessary cast.
5242         (installListeners): Fire synthetic property change to initialize
5243         TEXT_LAYOUT_CACHE for the button because the font has been
5244         installed before.
5245         (uninstallUI): Clear the TEXT_LAYOUT_CACHE for the button.
5246         (layoutMenuItem): Removed unused statements.
5247         
5248 2006-09-27  Roman Kennke  <kennke@aicas.com>
5249
5250         PR 29218
5251         * javax/swing/tree/DefaultTreeModel.java
5252         (isLeaf): Check if the node allows children when
5253         asksAllowsChildren is true, otherwise fall back
5254         to return the node's leaf property.
5255
5256 2006-09-27  Mario Torre  <neugens@limasoftware.net>
5257
5258         * scripts/check_jni_methods.sh: removed methods from the
5259         ignore list:
5260         Java_gnu_java_util_prefs_gconf_GConfNativePeer_finalize_1class
5261         Java_gnu_java_util_prefs_gconf_GConfNativePeer_init_1id_1cache
5262         Java_gnu_java_util_prefs_gconf_GConfNativePeer_init_1class
5263         Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1escape_1key
5264         Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1unescape_1key
5265         * native/jni/gconf-peer/GConfNativePeer.c: fixed coding style
5266         to better follow the GNU style.
5267         * include/gnu_java_util_prefs_gconf_GConfNativePeer.h.
5268         regenerated header file for GConfNativePeer.
5269
5270 2006-09-27  Robert Schuster  <robertschuster@fsfe.org>
5271
5272         * INSTALL: Added information about grmic being built when ASM
5273         is available, added information about gconf dependency, indented
5274         Qt4 dependency section.
5275         * configure.ac: Added information about grmic being built when ASM
5276         is available.
5277
5278 2006-09-27  Ian Rogers  <ian.rogers@manchester.ac.uk>
5279
5280         * native/jni/classpath/jcl.c (JNI_OnLoad): Don't call
5281         DeleteGlobalRef on a local ref.
5282
5283 2006-09-24  Mario Torre  <neugens@limasoftware.net>
5284
5285         * scripts/check_jni_methods.sh: added two new methods in the
5286         ignore list:
5287         Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1escape_1key
5288         and
5289         Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1unescape_1key
5290         * native/jni/gconf-peer/GConfNativePeer.c:
5291         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1all_1keys):
5292         refacored method name, renamed from
5293         Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1gconf_1client_1all_1keys.
5294         Added code to unescape escaped GConf key names.
5295         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1all_1nodes):
5296         refacored method name, renamed from
5297         Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1gconf_1client_1all_1nodes.
5298         Added code to unescape escaped GConf key names.
5299         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1escape_1key):
5300         new function.
5301         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1unescape_1key):
5302         new function.
5303         * gnu/java/util/prefs/gconf/GConfNativePeer.java: removed
5304         version javadoc tag.
5305         (escapeString): new method.
5306         (unescapeString): likewise.
5307         (gconf_escape_key): new native method.
5308         (gconf_unescape_key): likewise.
5309         (gconf_client_suggest_sync): update native method signature, now
5310         explicity throws BackingStoreException.
5311         (gconf_client_all_nodes): update native method signature, now
5312         explicity throws BackingStoreException. Refactored method name,
5313         renamed from gconf_client_gconf_client_all_nodes.
5314         (gconf_client_all_keys): update native method signature, now
5315         explicity throws BackingStoreException. Refactored method name,
5316         renamed from gconf_client_gconf_client_all_keys.
5317         (getKeys): refactored to use the new method name
5318         gconf_client_all_keys.
5319         (getChildrenNodes): refactored to use the new method name
5320         gconf_client_all_nodes.
5321         * gnu/java/util/prefs/GConfBasedPreferences.java: removed
5322         version javadoc tag.
5323         (GConfBasedPreferences): Added code to escape node names from
5324         invalid characters so that GConf now accept invalid node names.
5325         (GConfBasedPreferences): Moved code to register the current
5326         node to the list of nodes watched by GConf outside the constructor.
5327         (childSpi): Added code to register the current node to the
5328         list of nodes watched by GConf.
5329         (getGConfKey): Added code to escape key names from
5330         invalid characters so that GConf now accept invalid key names.
5331
5332 2006-09-26  Tom Tromey  <tromey@redhat.com>
5333
5334         * tools/gnu/classpath/tools/javah/Printer.java (Printer): Don't
5335         call mkdirs in output-directory case.
5336         (getPrintStream): Create output directory.
5337         * tools/gnu/classpath/tools/javah/Main.java (makeOutputDirectory):
5338         Don't call mkdirs.
5339
5340 2006-09-27  Raif S. Naffah  <raif@swiftdsl.com.au>
5341
5342         * tools/gnu/classpath/tools/javah/CniIncludePrinter.java (CniIncludePrinter):
5343         Accept three additional arguments.
5344         (writePreambleImpl): New method.
5345         (getPrintStreamImpl): Likewise.
5346         (printClass): Adapted to use new methods in Printer superclass.
5347         * tools/gnu/classpath/tools/javah/CniStubPrinter.java: Likewise.
5348         * tools/gnu/classpath/tools/javah/JniIncludePrinter.java: Likewise.
5349         * tools/gnu/classpath/tools/javah/JniStubPrinter.java: Likewise.
5350         * tools/gnu/classpath/tools/javah/Main.java (outFileName): New field.
5351         (force): Likewise.
5352         (getParser): Add support for -o option.
5353         Check that only one of -d or -o is defined.
5354         Add support for -jni option.
5355         Add support for -force option.
5356         (makeOutputFile): New method.
5357         (writeHeaders): Removed File argument from signature.
5358         (run): Take into account newly added fields.
5359         Invoke concrete PrintStream implementations with augmented constructors.
5360         * tools/gnu/classpath/tools/javah/Printer.java (outputFileObject): New field.
5361         (isDirectory): Likewise.
5362         (force): Likewise.
5363         (wrotePreamble): Likewise.
5364         (Printer): Changed ctor to accept three additional arguments.
5365         (printClass): Changed signature to accept one ClassWrapper argument.
5366         (writePreambleImpl): New abstract method.
5367         (getPrintStreamImpl): Likewise.
5368         (getPrintStream): New method.
5369         (writePreamble): Likewise.
5370
5371 2006-09-26  Tania Bento  <tbento@redhat.com>
5372
5373         * java/awt/GridLayout.java
5374         (toString): There is no common before hgap.
5375         * java/awt/Rectangle.java
5376         (Rectangle(Rectangle)): Throw NPE if Rectangle is null.
5377         (Rectangle(Point, Rectangle)): Throw NPE if either Point or 
5378         Rectangle is null.
5379         (Rectangle(Point)): Throw NPE if Point is null.
5380         (Rectangle(Dimension)): Throw NPE if Dimension is null.
5381
5382 2006-09-26  David Gilbert  <david.gilbert@object-refinery.com>
5383
5384         * javax/swing/plaf/metal/MetalIconFactory.java
5385         (FileIcon16.paintIcon): Apply vertical shift by the number of pixels
5386         returned by getShift(),
5387         (FileIcon16.getShift): Updated API docs,
5388         (FolderIcon16.paintIcon): Apply vertical shift by the number of pixels
5389         returned by getShift(),
5390         (FolderIcon16.getShift): Updated API docs,
5391         (TreeFolderIcon.getShift): Likewise,
5392         (TreeLeafIcon.getShift): Likewise.
5393
5394 2006-09-26  David Gilbert  <david.gilbert@object-refinery.com>
5395
5396         * javax/swing/plaf/metal/MetalIconFactory.java
5397         (FileIcon16.paintIcon): Fetch colors from look and feel,
5398         (FolderIcon16.paintIcon): Likewise.
5399
5400 2006-09-25  Casey Marshall  <csm@gnu.org>
5401
5402         * gnu/java/nio/FileChannelImpl.java (read): revert back to using
5403         `readScattering.'
5404         (write): revert back to using `writeGathering.'
5405         * vm/reference/gnu/java/nio/VMChannel.java (writeGathering): find
5406         the first buffer that has data remaining, and start at that one.
5407
5408 2006-09-25  Tom Tromey  <tromey@redhat.com>
5409
5410         * native/jni/gconf-peer/Makefile.am (libgconfpeer_la_LDFLAGS): New
5411         variable.
5412
5413 2006-09-25  Tom Tromey  <tromey@redhat.com>
5414
5415         * tools/.cvsignore: Updated.
5416
5417 2006-09-25  Tom Tromey  <tromey@redhat.com>
5418
5419         PR libgcj/29178:
5420         * gnu/java/nio/charset/US_ASCII.java (Encoder.canEncode): New method.
5421         (Encoder.canEncode): Likewise.
5422         (Encoder.encodeLoop): Return unmappable for all non-ASCII characters.
5423         * gnu/java/nio/charset/ByteCharset.java (Encoder.canEncode): New
5424         method.
5425         (Encoder.canEncode): Likewise.
5426         * gnu/java/nio/charset/ISO_8859_1.java (Encoder.canEncode): New
5427         method.
5428         (Encoder.canEncode): Likewise.
5429
5430 2006-09-25  Tom Tromey  <tromey@redhat.com>
5431
5432         * native/fdlibm/mprec.c (mprec_calloc): Renamed.
5433         (Balloc): Updated.
5434
5435 2006-09-25  Francis Kung  <fkung@redhat.com>
5436
5437         * java/awt/image/ColorModel.java
5438         (coerceData): Made abstract.
5439         (coerceDataWorker): New protected method.
5440         * java/awt/image/ComponentColorModel.java
5441         (coerceData): Return new instance of proper ColorModel.
5442         * java/awt/image/DirectColorModel.java
5443         (coerceData): Return new instance of proper ColorModel.
5444         * java/awt/image/IndexColorModel.java
5445         (coerceData): New method.
5446
5447 2006-09-24  Casey Marshall  <csm@gnu.org>
5448
5449         * gnu/java/nio/FileChannelImpl.java
5450         (read): call `read' in a loop, don't use `readScattering.'
5451         (write): call `write' in a loop, don't use `writeGathering.'
5452
5453 2006-09-24  Mark Wielaard  <mark@klomp.org>
5454
5455         * configure.ac: Move -pedantic from WARNING to STRICT flags.
5456
5457 2006-09-24  Jeroen Frijters  <jeroen@frijters.net>
5458
5459         * java/nio/channels/spi/AbstractSelectableChannel.java
5460         (register): Set interestOps and attachment when the key already
5461         exists.
5462
5463 2006-09-24  Jeroen Frijters  <jeroen@frijters.net>
5464
5465         * java/net/ServerSocket.java
5466         (bind(SocketAddress,int)): Added support for null address.
5467         Throw proper exception if already bound.
5468         Handle unresolved addresses correctly. Ignore exceptions that
5469         happen during close in error path (to prevent losing the original
5470         exception.)
5471
5472 2006-09-24  Mark Wielaard  <mark@klomp.org>
5473
5474         Suggested by Aaron M. Ucko <ucko@debian.org>
5475         Fixes bug #29203
5476         * native/fdlibm/mprec.c (ulp): Define L as int32_t.
5477
5478 2006-09-24  Jeroen Frijters  <jeroen@frijters.net>
5479
5480         * java/nio/channels/spi/AbstractSelectableChannel.java
5481         (implCloseChannel): Cancel all keys after closing the channel.
5482
5483 2006-09-22  Casey Marshall  <csm@gnu.org>
5484
5485         * gnu/java/nio/EpollSelectorImpl.java (doSelect): remove keys
5486         after we delete them.
5487         (selectedKeys): return an empty set if nothing's been selected.
5488         * native/jni/java-nio/gnu_java_nio_EpollSelectorImpl.c
5489         (Java_gnu_java_nio_EpollSelectorImpl_epoll_1delete): don't
5490         throw an exception on EBADF.
5491         (Java_gnu_java_nio_EpollSelectorImpl_epoll_1wait): don't
5492         throw exception on EINTR, just return 0.
5493         
5494 2006-09-22  Casey Marshall  <csm@gnu.org>
5495
5496         * native/jni/java-io/java_io_VMFile.c (Java_java_io_VMFile_list):
5497         remove `const' from `filename.'
5498         * native/jni/native-lib/cpio.c (cpio_readDir): remove `const' from
5499         `filename.'
5500         * native/jni/native-lib/cpio.h (cpio_readDir): likewise.
5501
5502 2006-09-22  Casey Marshall  <csm@gnu.org>
5503
5504         * configure.ac (AC_CHECK_FUNCS): check for `readdir_r.'
5505         * native/jni/java-io/java_io_VMFile.c (Java_java_io_VMFile_list):
5506         allocate `filename,' and handle changes to `cpio_readDir.'
5507         * native/jni/native-lib/cpio.c (cpio_readDir): use `readdir_r' if
5508         available; copy the filename into the destination buffer; return
5509         an error code if readdir returns NULL, but errno is 0.
5510         * native/jni/native-lib/cpio.h (cpio_readDir): change second
5511         parameter to `const char *.'
5512
5513 2006-09-23  Andrew John Hughes  <gnu_andrew@member.fsf.org>
5514
5515         * javax/management/ObjectName.java:
5516         Implemented.
5517         
5518 2006-09-22  Thomas Fitzsimmons  <fitzsim@redhat.com>
5519
5520         * resource/gnu/classpath/tools/orbd: New directory.
5521         * resource/gnu/classpath/tools/rmic: Likewise.
5522         * resource/gnu/classpath/tools/rmid: Likewise.
5523         * resource/gnu/classpath/tools/rmiregistry: Likewise.
5524         * resource/gnu/classpath/tools/tnameserv: Likewise.
5525         * tools/gnu/classpath/tools/giop: Move contents to...
5526         * tools/gnu/classpath/tools/orbd,
5527         tools/gnu/classpath/tools/tnameserv: New directories.
5528         * tools/gnu/classpath/tools/rmi/rmic: Move contents to...
5529         * tools/gnu/classpath/tools/rmic: New directory.
5530         * tools/gnu/classpath/tools/rmi/rmid: Move contents to...
5531         * tools/gnu/classpath/tools/rmid: New directory.
5532         * tools/gnu/classpath/tools/rmi/registry: Move contents to...
5533         * tools/gnu/classpath/tools/rmiregistry: New directory.
5534         * resource/gnu/classpath/tools/orbd/messages.properties: New file.
5535         * resource/gnu/classpath/tools/rmic/messages.properties: Likewise.
5536         * resource/gnu/classpath/tools/rmid/messages.properties: Likewise.
5537         * resource/gnu/classpath/tools/rmiregistry/messages.properties:
5538         Likewise.
5539         * resource/gnu/classpath/tools/tnameserv/messages.properties:
5540         Likewise.
5541         * tools/gnu/classpath/tools/orbd/Main.java,
5542         tools/gnu/classpath/tools/orbd/Messages.java,
5543         tools/gnu/classpath/tools/orbd/PersistentContext.java,
5544         tools/gnu/classpath/tools/orbd/PersistentContextMap.java,
5545         tools/gnu/classpath/tools/orbd/PersistentMap.java,
5546         tools/gnu/classpath/tools/rmic/AbstractMethodGenerator.java,
5547         tools/gnu/classpath/tools/rmic/CompilationError.java,
5548         tools/gnu/classpath/tools/rmic/Generator.java,
5549         tools/gnu/classpath/tools/rmic/GiopIo.java,
5550         tools/gnu/classpath/tools/rmic/HashFinder.java,
5551         tools/gnu/classpath/tools/rmic/Main.java,
5552         tools/gnu/classpath/tools/rmic/Messages.java,
5553         tools/gnu/classpath/tools/rmic/MethodGenerator.java,
5554         tools/gnu/classpath/tools/rmic/RMICException.java,
5555         tools/gnu/classpath/tools/rmic/RmiMethodGenerator.java,
5556         tools/gnu/classpath/tools/rmic/RmicBackend.java,
5557         tools/gnu/classpath/tools/rmic/SourceGiopRmicCompiler.java,
5558         tools/gnu/classpath/tools/rmic/SourceRmicCompiler.java,
5559         tools/gnu/classpath/tools/rmic/Variables.java,
5560         tools/gnu/classpath/tools/rmic/WrapUnWrapper.java,
5561         tools/gnu/classpath/tools/rmic/templates,
5562         tools/gnu/classpath/tools/rmid/ActivationSystemImpl.java,
5563         tools/gnu/classpath/tools/rmid/ActivationSystemImpl_Stub.java,
5564         tools/gnu/classpath/tools/rmid/Main.java,
5565         tools/gnu/classpath/tools/rmid/Messages.java,
5566         tools/gnu/classpath/tools/rmid/PersistentBidiHashTable.java,
5567         tools/gnu/classpath/tools/rmiregistry/Main.java,
5568         tools/gnu/classpath/tools/rmiregistry/Messages.java,
5569         tools/gnu/classpath/tools/rmiregistry/PersistentHashTable.java,
5570         tools/gnu/classpath/tools/rmiregistry/RegistryImpl.java,
5571         tools/gnu/classpath/tools/rmiregistry/RegistryImpl_Skel.java,
5572         tools/gnu/classpath/tools/rmiregistry/RegistryImpl_Stub.java,
5573         tools/gnu/classpath/tools/tnameserv/Main.java,
5574         tools/gnu/classpath/tools/tnameserv/Messages.java: New files.
5575         * tools/gnu/classpath/tools/rmic/ClassRmicCompiler.java: Import
5576         RMIC.java from cp-tools.
5577         * configure.ac (AC_CONFIG_FILES): Add tools/grmiregistry,
5578         tools/gtnameserv, tools/gorbd, tools/grmid and tools/grmic.
5579         (AC_CONFIG_COMMANDS): Add grmiregistry, gtnameserv, gorbd, grmid
5580         and grmic.
5581         * examples/Makefile.am (GLIBJ_CLASSPATH): Add tools.zip.
5582         * gnu/CORBA/NamingService/NamingServiceTransient.java (main):
5583         Rename...
5584         (start): New method.
5585         * tools/Makefile.am: Add build support for new tool wrappers.
5586         * tools/gorbd.in: New file.
5587         * tools/grmic.in: Likewise.
5588         * tools/grmid.in: Likewise.
5589         * tools/grmiregistry.in: Likewise.
5590         * tools/gtnameserv.in: Likewise.
5591         * tools/gnu/classpath/tools/AbstractMethodGenerator.java: Move to...
5592         * tools/gnu/classpath/tools/rmic/AbstractMethodGenerator.java: New
5593         file.
5594         * tools/gnu/classpath/tools/HelpPrinter.java: Remove file.
5595         * tools/gnu/classpath/tools/rmi/Persistent.java: Move to...
5596         * tools/gnu/classpath/tools/common/Persistent.java: New file.
5597
5598 2006-09-22  Ito Kazumitsu  <kaz@maczuka.gcd.org>
5599
5600         Fixes bug #29047
5601         * gnu/java/util/regex/RETokenRepeated.java
5602         (findMatch): Rewriten without using recursive calls,
5603         (FindMatchControlStack): New class,
5604         (FindMatchControl): New class,
5605         (TryAnotherResult): New class,
5606         (tryAnother): New method.
5607
5608 2006-09-22  Gary Benson  <gbenson@redhat.com>
5609
5610         * java/net/SocketPermission.java
5611         (processHostport): Cope with IPv6 addresses with a
5612         one-digit first component.
5613
5614 2006-09-22  Roman Kennke  <kennke@aicas.com>
5615
5616         * java/awt/Component.java
5617         (enableEvents): Set newEventsOnly flag.
5618         * java/awt/Container.java
5619         (dispatchEventImpl): Consume event if lightweight dispatcher
5620         dispatched the event. Don't call processEvent() here, this
5621         is already done in Component.dispatchEventImpl(). For
5622         heavyweights or when the lightweight dispatcher could
5623         not dispatch, fall back to calling super.
5624         (dispatchNoLightweight): New helper method to avoid
5625         recursivly calling the lightweight dispatcher.
5626         * java/awt/LightweightDispatcher.java
5627         (dragButton): Removed field.
5628         (dragTarget): Removed field.
5629         (mouseEventTarget): New field.
5630         (convertPointToChild): Removed method.
5631         (dispatchEvent): Don't depend on component beeing
5632         a window.
5633         (findTarget): Improved algorithm for finding a target.
5634         Before we went down to the deepest component and went
5635         up again to find a suitable target. Now we go
5636         down only once, without going up.
5637         (handleMouseEvent): Broke method down into some smaller
5638         helper methods.
5639         (isDragging): New helper method.
5640         (isMouseListening): New helper method.
5641         (redispatch): New helper method.
5642         (trackEnterExit): New helper method.
5643
5644 2006-09-22  David Gilbert  <david.gilbert@object-refinery.com>
5645
5646         * javax/swing/SizeSequence.java
5647         (getSize): Return 0 if index is out of bounds.
5648
5649 2006-09-21  Tom Tromey  <tromey@redhat.com>
5650
5651         * tools/gnu/classpath/tools/javah/PathOptionGroup.java
5652         (PathOptionGroup): Make -I a joined option.
5653         * tools/gnu/classpath/tools/keytool/CACertCmd.java: Updated.
5654         * tools/gnu/classpath/tools/keytool/CertReqCmd.java: Updated.
5655         * tools/gnu/classpath/tools/keytool/DeleteCmd.java: Updated.
5656         * tools/gnu/classpath/tools/keytool/ExportCmd.java: Updated.
5657         * tools/gnu/classpath/tools/keytool/GenKeyCmd.java: Updated.
5658         * tools/gnu/classpath/tools/keytool/IdentityDBCmd.java: Updated.
5659         * tools/gnu/classpath/tools/keytool/ImportCmd.java: Updated.
5660         * tools/gnu/classpath/tools/keytool/KeyCloneCmd.java: Updated.
5661         * tools/gnu/classpath/tools/keytool/KeyPasswdCmd.java: Updated.
5662         * tools/gnu/classpath/tools/keytool/ListCmd.java: Updated.
5663         * tools/gnu/classpath/tools/keytool/MainCmd.java: Updated.
5664         * tools/gnu/classpath/tools/keytool/PrintCertCmd.java: Updated.
5665         * tools/gnu/classpath/tools/keytool/SelfCertCmd.java: Updated.
5666         * tools/gnu/classpath/tools/keytool/StorePasswdCmd.java: Updated.
5667         * tools/gnu/classpath/tools/appletviewer/Main.java: Updated.
5668         * tools/gnu/classpath/tools/jar/Main.java: Updated.
5669         * tools/gnu/classpath/tools/jarsigner/Main.java: Updated.
5670         * tools/gnu/classpath/tools/javah/Main.java: Updated.
5671         * tools/gnu/classpath/tools/native2ascii/Main.java: Updated.
5672         * tools/gnu/classpath/tools/serialver/SerialVer.java: Updated.
5673         * resource/gnu/classpath/tools/getopt/Messages.properties: Removed
5674         unused entries.
5675         * resource/gnu/classpath/tools/common/Messages.properties: New file.
5676         * tools/gnu/classpath/tools/common/Messages.java: New file.
5677         * tools/gnu/classpath/tools/getopt/Messages.java: Now package-private.
5678         * tools/gnu/classpath/tools/common/ClasspathToolParser.java: Moved
5679         from getopt.
5680         (ClasspathToolParser): Add -J option here.
5681         (ClasspathToolParser): Call other constructor in this class.
5682         * tools/gnu/classpath/tools/getopt/Parser.java (handleLongOption):
5683         Handle joined options.
5684         (handleShortOptions): Likewise.
5685         (handleShortOption): Removed.
5686         (finalGroup): New field.
5687         (Parser): Initialize new field.  Don't add -J option.
5688         (addFinal): New method.
5689         * tools/gnu/classpath/tools/getopt/OptionGroup.java (printHelp): Use
5690         isJoined.
5691         * tools/gnu/classpath/tools/getopt/Option.java (isJoined): New method.
5692         (Option): Check short option for validity.
5693         (Option): New constructors.
5694         (joined): New field.
5695
5696 2006-09-21  csm  <csm@pollux.local>
5697
5698         * gnu/java/net/PlainDatagramSocketImpl.java (send): ignore
5699         `InterruptedIOException;' try again if it gets thrown.
5700         (receive): likewise, but re-throw `SocketTimeoutException.'
5701         * gnu/java/nio/EpollSelectorImpl.java (doSelect): just return 0
5702         if we have nothing to select.
5703
5704 2006-09-21  Francis Kung  <fkung@redhat.com>
5705
5706         * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java:
5707         (getLogicalBounds): Respect glyph transformations.
5708         (getGlyphOutline): Added null pointer check.
5709         (getGlyphTransform): Do not generate identity transform (API permits null).
5710         (setGlyphPosition): Do not invalidate transform.
5711         (setGlyphTransform): Do not modify glyph position.
5712
5713 2006-09-21  Francis Kung  <fkung@redhat.com>
5714
5715         * java/awt/image/ColorModel.java (coerceData): Set alpha premultiplied flag.
5716
5717 2006-09-21  Francis Kung  <fkung@redhat.com>
5718
5719         * java/awt/image/ColorModel.java (coerceData): Return proper colour model.
5720         * java/awt/image/ComponentColorModel.java (coerceData): Likewise.
5721         * java/awt/image/DirectColorModel.java (coerceData): Likewise.
5722
5723 2006-09-21  Tania Bento  <tbento@redhat.com>
5724
5725         * javax/swing/JTabbedPane.java:
5726         (insertTab): Notify ChangeListeners if the tab inserted is selected.
5727         (setModel): A ChangeListener should be created only if there does not 
5728         currently exist one.
5729
5730 2006-09-21  David Gilbert  <david.gilbert@object-refinery.com>
5731
5732         * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java
5733         (MaximizeAction.actionPerformed): Change icon on maxButton.
5734
5735 2006-09-21  Roman Kennke  <kennke@aicas.com>
5736
5737         * javax/swing/plaf/basic/BasicScrollPaneUI.java
5738         (syncScrollPaneWithViewport): Fixed typo (hsb vs. vsb).
5739         Use more efficient getViewPosition() and getViewSize() methods
5740         to avoid creating a rectangle.
5741         (HSBChangeListener.stateChanged): Update the view position
5742         unconditionally. Let the Viewport figure out if something
5743         changed.
5744         (VSBChangeListener.stateChanged): Update the view position
5745         unconditionally. Let the Viewport figure out if something
5746         changed.
5747         * javax/swing/JViewport.java
5748         (ViewListener.componentResized): Fire state change, because
5749         the extentSize changes.
5750         (extentSize): Removed unneeded field.
5751         (viewSize): Removed unneeded field.
5752         (getExtentSize): Return the viewport's size here.
5753         (getViewRect): Reformatted.
5754         (getViewSize): Reordered for only one return statement.
5755         (paintImmediately2): Fixed up javadoc.
5756         (paint): Removed unneeded statement.
5757         (setExtentSize): Set viewport size and check for actual change
5758         of value.
5759         (setViewPosition): Simplified condition. Set scrollUnderway
5760         true and don't set isViewSizeSet. Avoid creating one Point
5761         object.
5762         (setViewSize): Fixed != comparison with equals(). Set scrollUnderway
5763         to false.
5764         * javax/swing/JScrollBar.java
5765         (ScrollBarListener): New class. Forwards change events from
5766         the model as adjustment events.
5767         (sbChangeListener): New field.
5768         (JScrollBar): Install listener on new model.
5769         (fireAdjustmentValueChanged(int,int,int)): Delegate to new helper
5770         method.
5771         (fireAdjustmentValueChanged(int,int,int,boolean)): New helper
5772         method to allow custom isAdjusting value.
5773         (setMaximum): Only forward to model.
5774         (setMinimum): Only forward to model.
5775         (setValue): Only forward to model.
5776         (setVisibleAmount): Only forward to model.
5777         (setValues): Only forward to model.
5778         (setModel): Update the change listener.
5779
5780 2006-09-20  Christian Thalinger  <twisti@complang.tuwien.ac.at>
5781
5782         * java/util/Formatter.java (basicIntegralConversion): Removed 
5783         check for ZERO && !LEFT_JUSTIFY.
5784                 
5785 2006-09-20  Roman Kennke  <kennke@aicas.com>
5786
5787         PR 29036
5788         * javax/swing/plaf/metal/DefaultMetalTheme.java
5789         (PLAIN_CONTROL_TEXT_FONT): New constant field.
5790         (BOLD_CONTROL_TEXT_FONT): New constant field.
5791         (PLAIN_MENU_TEXT_FONT): New constant field.
5792         (BOLD_MENU_TEXT_FONT): New constant field.
5793         (controlTextFont): Removed.
5794         (menuTextFont): Removed.
5795         (CONTROL_TEXT_FONT): New constant field.
5796         (MENU_TEXT_FONT): New constant field.
5797         (getControlTextFont): Use getFont() helper method for fetching
5798         the correct font.
5799         (getMenuTextFont): Use getFont() helper method for fetching
5800         the correct font.
5801         (getFont): New helper method.
5802         (isBoldMetal): New helper method.
5803
5804 2006-09-20  Casey Marshall  <csm@gnu.org>
5805
5806         * NEWS: mention epoll selector along with the kqueue one.
5807
5808 2006-09-20  Casey Marshall  <csm@gnu.org>
5809
5810         * native/jni/java-nio/gnu_java_nio_EpollSelectorImpl.c
5811         (Java_gnu_java_nio_EpollSelectorImpl_epoll_1delete): ignore ENOENT.
5812
5813 2006-09-20  Francis Kung  <fkung@redhat.com>
5814
5815         PR 29011
5816         * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java:
5817         (getGlyphTransform): Use translation instead of scale.
5818         (performDefaultLayout): Increment position values instead of resetting, and
5819         pre-increment instead of post-increment.
5820         (setGlyphTransform): Handle null case with identity transform.
5821
5822 2006-09-20  Casey Marshall  <csm@gnu.org>
5823
5824         * configure.ac (AC_CHECK_HEADERS): check for `sys/epoll.h.'
5825         (AC_CHECK_FUNCS): check for `epoll_create.'
5826         * gnu/java/nio/EpollSelectionKeyImpl.java: new file.
5827         * gnu/java/nio/EpollSelectorImpl.java: new file.
5828         * gnu/java/nio/SelectorProviderImpl.java (epoll_failed): new class
5829         field.
5830         (openSelector): return epoll selector if requested and available.
5831         * include/Makefile.am (H_FILES): add gnu_java_nio_EpollSelectorImpl.h.
5832         (gnu_java_nio_EpollSelectorImpl.h): new target.
5833         * include/gnu_java_nio_EpollSelectorImpl.h: new file.
5834         * native/jni/java-nio/Makefile.am (libjavanio_la_SOURCES): add
5835         gnu_java_nio_EpollSelectorImpl.c.
5836         * native/jni/java-nio/gnu_java_nio_EpollSelectorImpl.c: new file.
5837
5838 2006-09-20  Casey Marshall  <csm@gnu.org>
5839
5840         * gnu/java/nio/SocketChannelImpl.java (finishConnect): don't
5841         call `isConnected.'
5842         (isConnected): return false if `connectionPending' is true.
5843
5844 2006-09-20  Francis Kung  <fkung@redhat.com>
5845
5846         PR 29011
5847         * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java:
5848         (constructor): Expanded glyphPositions array to accomodate Y-coordinates.
5849         (getGlyphOutline): Call getGylphTransform to generate transform.
5850         (getGylphPosition): Read position directly out of array.
5851         (getGlyphPositions): Read positions directly out of array.
5852         (getGlyphTransform): Generate transform based on gylphPositions array.
5853         (performDefaultLayout): Populate glyphPositions array instead of transforms.
5854         (setGlyphPosition): Set position directly into array.
5855         (setGlyphTransform): Update positions array as well.
5856
5857 2006-09-20  David Daney  <ddaney@avtrex.com>
5858
5859         PR classpath/28661
5860         * gnu/java/net/protocol/http/HTTPURLConnection.java (connect):  Add
5861         default content-type for POST method.
5862
5863 2006-09-20  David Gilbert  <david.gilbert@object-refinery.com>
5864
5865         * javax/swing/plaf/basic/BasicRadioButtonUI.java
5866         (BasicRadioButtonUI): Don't fetch icon here,
5867         (installDefaults): Initialise icon here,
5868         (getDefaultIcon): Just return icon.
5869
5870 2006-09-20  Mark Wielaard  <mark@klomp.org>
5871
5872         * native/jni/java-nio/Makefile.am (libjavanio_la_SOURCES):
5873         Add gnu_java_nio_channels_FileChannelImpl.c and javanio.h.
5874         (EXTRA_DIST): Include javanio.c.
5875
5876 2006-09-20  David Gilbert  <david.gilbert@object-refinery.com>
5877
5878         * java/awt/geom/RoundRectangle2D.java:
5879         (getPathIterator): Reimplemented,
5880         and updated various API doc comments.
5881
5882 2006-09-20  Roman Kennke  <kennke@aicas.com>
5883
5884         * java/awt/Container.java
5885         (addImpl): Set the new component's parent after it has been
5886         added to the array. Call addNotify() and invalidate()
5887         after the component has been added, so that the peer
5888         gets to know about the component structure when it is created.
5889         * java/awt/Window.java
5890         (dispatchEventImpl): Only revalidate when window is resized,
5891         let the other stuff be processed by the superclass.
5892         (dispose): Post WINDOW_CLOSED event only when some listener
5893         is registered or event is explicitly enabled.
5894         (show): Post WINDOW_OPENED event when appropriate.
5895
5896 2006-09-20  Roman Kennke  <kennke@aicas.com>
5897
5898         * java/awt/Component.java
5899         (addNotify): Invalidate here. Fetch peer font.
5900         (getFont): Delegate to helper method, to protect from
5901         overriding client code. Lock the tree while fetching the font.
5902         (getFontImpl): New helper method. Moved code from getFont() in
5903         here.
5904         (removeNotify): Nullify peerFont too.
5905         (setFont): Synchronize on tree and component to avoid threading
5906         issues. Update the peerFont correctly.
5907         (validate): Update the peer font if necessary, before validating.
5908         (getGraphics): Revert to recursive graphics fetching.
5909         Set component font on the Graphics object.
5910         (translateEvent): Removed unnecessary cast.
5911         * java/awt/Container.java
5912         (invalidateTree): Made final and private. Made implementation
5913         slightly more efficient.
5914         (setFont): Get old and new font via getFont() to account for
5915         the real font, and only invalidate the tree when they are not
5916         the same and not equal.
5917         (visitChild): Set the font of the child on the component graphics.
5918         * java/awt/Frame.java
5919         (setMenuBar): Create local reference of peer for thread safety.
5920         Only call simple invalidate, not invalidateTree().
5921
5922 2006-09-19  Cameron McCormack  <cam@mcc.id.au>
5923
5924         PR 29012
5925         * gnu/java/awt/peer/gtk/BufferedImageGraphics.java:
5926         (constructor): Copy image field.
5927
5928 2006-09-19  David Gilbert  <david.gilbert@object-refinery.com>
5929
5930         * javax/swing/JMenuBar.java
5931         (getHelpMenu): Implemented to throw an Error, and added API docs,
5932         (getMargin): Added API docs,
5933         (setMargin): Likewise.
5934
5935 2006-09-19  David Gilbert  <david.gilbert@object-refinery.com>
5936
5937         * javax/swing/AbstractButton.java
5938         (AbstractButton): Don't call updateUI(),
5939         * javax/swing/JButton.java
5940         (JButton(String, Icon)): Call setModel() before init(),
5941         * javax/swing/JMenuItem.java
5942         (JMenuItem()): Delegate to another constructor,
5943         (JMenuItem(Icon)): Likewise,
5944         (JMenuItem(Action)): Set model,
5945         (JMenuItem(String, Icon)): Likewise,
5946         * javax/swing/JToggleButton.java
5947         (init): Call setModel() before init().
5948
5949 2006-09-19  Mark Wielaard  <mark@klomp.org>
5950
5951         Fixes bug #29137
5952         * java/util/logging/LogManager.java (addLogger): Always check for
5953         existing children of a new Logger.
5954
5955 2006-09-19  Roman Kennke  <kennke@aicas.com>
5956
5957         * javax/swing/plaf/basic/BasicScrollPaneUI.java
5958         (HSBChangeListener.stateChanged): Moved handling of header to
5959         syncScrollPaneWithViewport().
5960         (VSBChangeListener.stateChanged): Moved handling of header to
5961         syncScrollPaneWithViewport().
5962         (ViewportChangedHandler.stateChanged): Removed unused statements.
5963         (syncScrollPaneWithViewport): Added null checks. Use setValues
5964         rather then the single setter methods to avoid multiple
5965         adjustments and side effects. Also snyc the headers here.
5966         (updateScrollBarDisplayPolicy): Revalidate and repaint here.
5967         (uninstallUI): Removed unnecessary cast and this qualifier as well
5968         as the call to super.
5969
5970 2006-09-19  Gary Benson  <gbenson@redhat.com>
5971
5972         * java/net/ResolverCache.java: New class (a DNS cache).
5973         * java/net/InetAddress.java
5974         (internalGetCanonicalHostName, getAllByName): Use the above.
5975
5976 2006-09-19  Jeroen Frijters  <jeroen@frijters.net>
5977
5978         * gnu/java/nio/SocketChannelImpl.java: Removed unused import.
5979         * java/net/ServerSocket.java
5980         (port): New field.
5981         (bind): Set port field.
5982         (close): Set impl to null.
5983         (isClosed): Check impl and channel instead of using VMChannel.
5984         (toString): Use port field and getLocalPort() method.
5985         * java/net/Socket.java
5986         (isClosed): Check impl and channel instead of using VMChannel.
5987
5988 2006-09-18  Tom Tromey  <tromey@redhat.com>
5989
5990         * java/util/concurrent/CopyOnWriteArrayList.java
5991         (CopyOnWriteArrayList): New constructor.
5992
5993 2006-09-18  Casey Marshall  <csm@gnu.org>
5994
5995         * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c
5996         (Java_gnu_java_net_VMPlainSocketImpl_listen): remove debug printf.
5997
5998 2006-09-18  Tom Tromey  <tromey@redhat.com>
5999
6000         * gnu/javax/net/ssl/provider/SSLSocket.java (isBound, isClosed,
6001         isConnected): Removed old comment.
6002         (getRemoteSocketAddress): Uncommented.
6003         (setOOBInline, getOOBInline, setKeepAlive, getKeepAlive,
6004         setTrafficClass, getTrafficClass, setReuseAddress,
6005         getReuseAddress, shutdownInput, shutdownOutput, isInputShutdown,
6006         isOutputShutdown): Uncommented.
6007
6008 2006-09-18  David Pirkle  <dpirkle@symyx.com>
6009
6010         Fixes PR 28589
6011         * gnu/xml/transform/XSLURIResolver.java: Test SAXSource for specific
6012           input stream during resolution.
6013
6014 2006-09-18  Roman Kennke  <kennke@aicas.com>
6015
6016         * java/awt/LightweightDispatcher.java
6017         (findTarget): Correctly translate child coordinates.
6018         Use Component.eventTypeEnabled() for checking if a component
6019         has a certain event enabled.
6020         (handleMouseEvent): Find the correct mouse event target.
6021         Use Component.eventTypeEnabled() for checking if a component
6022         has a certain event enabled.
6023
6024 2006-09-18  Roman Kennke  <kennke@aicas.com>
6025
6026         * java/awt/Component.java
6027         (show): Test for the peer beeing lightweight directly.
6028         (paintAll): Validate before painting. Don't paint when not
6029         showing. Call peer.paint() when the component is heavyweight.
6030         (repaint): Delegate to the parent when lightweight, rather
6031         than skipping to the nearest heavyweight.
6032         (createImage): Added null check to prevent NPE.
6033         (dispatchEvent): Moved old event dispatching and toolkit
6034         event dispatching to dispatchEventImpl.
6035         (addComponentListener): Don't enable event. Only add listener
6036         when not null. Switch to new event dispatching only.
6037         (addFocusListener): Likewise.
6038         (addHierarchyListener): Likewise.
6039         (addHierarchyBoundsListener): Likewise.
6040         (addKeyListener): Likewise.
6041         (addMouseListener): Likewise.
6042         (addMouseMotionListener): Likewise.
6043         (addMouseWheelListener): Likewise.
6044         (addInputMethodListener): Likewise.
6045         (coalesceEvents): For mouse events coalesce them only when
6046         their modifiers are equal. For paint events coalesce the events
6047         when one contains the other, without going through complicated
6048         heuristics.
6049         (dispatchEventImpl): Moved old event dispatching and toolkit
6050         event dispatching to dispatchEventImpl.
6051         (coalescePaintEvents): Removed.
6052         (HeavyweightInLightweightListener.componentHidden):
6053         Fixed condition.
6054         * java/awt/Container.java
6055         (addImpl): Don't enable events on lightweights.
6056         (remove): Reordered operations. Don't remove any listeners.
6057         Throw ArrayIndexOutOfBoundsException when index >= ncomponents.
6058         Only removeNotify() when peer is != null. Only invalidate if 
6059         not already invalid. Only fire ContainerEvent if there is
6060         an interested listener or the event is enabled. Dispatch this
6061         event directly without the event queue.
6062         (removeAll): Likewise.
6063         (paintComponents): Only paint when showing. Also paint heavyweights.
6064         Don't paint the container itself.
6065         (removeNotify): Create local variables for improved thread safety.
6066         (addNotifyContainerChildren): Don't enable events for lightweights.
6067
6068 2006-09-18  Roman Kennke  <kennke@aicas.com>
6069
6070         * java/awt/EventQueue.java
6071         (INITIAL_QUEUE_DEPTH): Removed obsolete field.
6072         (next_in): Removed obsolete field.
6073         (next_out): Removed obsolete field.
6074         (queueHead): New field. Markes the head of the queue.
6075         (queueTail): New field. Markes the tail of the queue.
6076         (queue): Removed obsolete field.
6077         (EventQueue): Documented empty block.
6078         (getNextEvent): Changed array based implementation to single-linked
6079         list based implementation.
6080         (invokeAndWait): Use an Object as synchronization object rather
6081         than the current thread.
6082         (peekEvent(int)): Changed array based implementation to single-linked
6083         list based implementation.
6084         (peekEvent()): Changed array based implementation to single-linked
6085         list based implementation.
6086         (pop()): Changed array based implementation to single-linked
6087         list based implementation.
6088         (postEvent): Foward to postEventImpl.
6089         (postEventImpl): Changed array based implementation to single-linked
6090         list based implementation.
6091         (push): Changed array based implementation to single-linked
6092         list based implementation.
6093         * java/awt/AWTEvent.java
6094         (queueNext): New field. Implements a single-linked list for
6095         the EventQueue.
6096
6097 2006-09-17  Mark Wielaard  <mark@klomp.org>
6098
6099         * javax/swing/text/html/HTMLEditorKit (getStyleSheet): Load
6100         resource from HTMLEditorKit.class.
6101
6102 2006-09-17  Mark Wielaard  <mark@klomp.org>
6103
6104         * javax/swing/plaf/basic/BasicToolBarUI.java
6105         (setBorderToNonRollover): Check whether border is null.
6106         (setBorderToRollover): Likewise.
6107
6108 2006-09-17  Mark Wielaard  <mark@klomp.org>
6109
6110         * javax/swing/JTree.java (setLeadSelectionPath): Handle null path.
6111
6112 2006-09-17  Mark Wielaard  <mark@klomp.org>
6113
6114         * native/jni/java-nio/javanio.c (cpnio_fcntl): Last argument is long.
6115         * native/jni/java-nio/javanio.h (cpnio_fcntl): Likewise.
6116         * native/jni/java-nio/gnu_java_nio_VMChannel.c
6117         (Java_gnu_java_nio_VMChannel_lock): Likewise.
6118         (Java_gnu_java_nio_VMChannel_unlock): Likewise.
6119
6120 2006-09-17  Casey Marshall  <csm@gnu.org>
6121
6122         * native/jni/classpath/jcl.c (JNI_OnLoad): mark `reserved' as
6123         unused.
6124
6125 2006-09-17  Chris Burdess  <dog@gnu.org>
6126
6127         Fixes PR 27610 27687.
6128         * gnu/xml/dom/ls/SAXEventSink.java: Permit limited subclassing.
6129         * gnu/xml/transform/SAXTemplatesHandler.java,
6130         * gnu/xml/transform/SAXTransformerHandler.java: New files.
6131         * gnu/xml/transform/TransformerFactoryImpl.java: Implement
6132           SAXTransformerFactory.
6133
6134 2006-09-16  Casey Marshall  <csm@gnu.org>
6135
6136         * NEWS: updated.
6137         * configure.ac (AC_CHECK_HEADERS): check for `sys/event.h'.
6138         (AC_CHECK_FUNCS): add checks for readv, writev, getifaddrs,
6139         kqueue, and kevent.
6140         (HAVE_INET6): define if IPv6 is supported.
6141         * gnu/java/net/PlainDatagramSocketImpl.java (channel): new field.
6142         (native_fd): removed.
6143         (impl): new field.
6144         (<init>): throw IOException; initialize fields.
6145         (finalize): removed.
6146         (getNativeFD): removed.
6147         (bind): use `PlainSocketImpl.bind.'
6148         (create): use `PlainSocketImpl.initSocket.'
6149         (disconnect): use `PlainSocketImpl.disconnect.'
6150         (getLocalPort): new method.
6151         (send): use `VMChannel.send.'
6152         (receive): use `VMChannel.receive.'
6153         (setOption): use `PlainSocketImpl.setOption.'
6154         (getOption): use `PlainSocketImpl.getOption.'
6155         (close): use `VMChannel.State.close.'
6156         (join): use `PlainSocketImpl.join.'
6157         (leave): use `PlainSocketImpl.leave.'
6158         (joinGroup, leaveGroup): implemented.
6159         * gnu/java/net/PlainSocketImpl.java: make non-final.
6160         (native_fd): removed.
6161         (impl): new field.
6162         (channel): new field.
6163         (<init>): initialize `impl.'
6164         (finalize, getNativeFD): removed.
6165         (setOption): use `PlainSocketImpl.setOption.'
6166         (getOption): use `PlainSocketImpl.getOption.'
6167         (shutdownInput): use `PlainSocketImpl.shutdownInput.'
6168         (shutdownOutput): use `PlainSocketImpl.shutdownOutput.'
6169         (create): create `channel,' initialize `impl's native state.
6170         (connect): use `connect(SocketAddress, int).'
6171         (connect): use `SocketChannelImpl.connect;' initialize `address'
6172         and `port.'
6173         (bind): use `VMPlainSocketImpl.bind.'
6174         (listen): use `VMPlainSocketImpl.listen.'
6175         (accept): use `SocketChannelImpl.accept.'
6176         (available): use `VMChannel.available.'
6177         (close): use `PlainSocketImpl.close.'
6178         (sendUrgentData): use `PlainSocketImpl.sendUrgentData.'
6179         (getVMChannel, getInetAddress, getLocalPort, getLocalAddress,
6180         getPort): new methods.
6181         (SocketInputStream.read): use `VMChannel.read.'
6182         (SocketInputStream.read): use `SocketChannel.read.'
6183         (SocketOutputStream.write): use `VMChannel.write.'
6184         (SocketOutputStream.write): use `SocketChannel.write.'
6185         * gnu/java/nio/DatagramChannelImpl.java: implement VMChannel.
6186         (channel): new field.
6187         (<init>): initialize `channel.'
6188         (implCloseSelectableChannel): use `VMChannel.close.'
6189         (implConfigureBlocking): use `VMChannel.setBlocking.'
6190         (connect): use `VMChannel.connect.'
6191         (disconnect): use `VMChannel.disconnect.'
6192         (isConnected): use `VMChannel.getPeerAddress.'
6193         (write): use `VMChannel.write.'
6194         (write): use `VMChannel.writeGathering.'
6195         (read): use `VMChannel.read.'
6196         (read): use `VMChannel.readScattering.'
6197         (receive): use `VMChannel.receive.'
6198         (send): use `VMChannel.send.'
6199         (getVMChannel): new method.
6200         * gnu/java/nio/DatagramChannelSelectionKey.java (getNativeFD):
6201         access native FD through VMChannel.State.
6202         * gnu/java/nio/FileChannelImpl.java: moved from
6203         gnu/java/nio/channels/FileChannelImpl.java.
6204         * gnu/java/nio/FileLockImpl.java: fix imports.
6205         * gnu/java/nio/KqueueSelectionKeyImpl.java: new file.
6206         * gnu/java/nio/KqueueSelectorImpl.java: new file.
6207         * gnu/java/nio/NIOSocket.java (impl): removed.
6208         (channel): new field.
6209         (<init>): init superclass with a `NIOSocketImpl;' init `channel.'
6210         (getPlainSocketImpl, setChannel): removed.
6211         (isConnected): new method.
6212         * gnu/java/nio/NIOSocketImpl.java: new file.
6213         * gnu/java/nio/PipeImpl.java (SourceChannelImpl): implement
6214         `VMChannelOwner.'
6215         (SourceChannelImpl.native_fd): removed.
6216         (SourceChannelImpl.<init>): init with a `VMChannel.'
6217         (SourceChannelImpl.getNativeFD): removed.
6218         (SourceChannelImpl.getVMChannel): new method.
6219         (SourceChannelImpl.implCloseSelectableChannel): implement.
6220         (SinkChannelImpl): implement `VMChannelOwner.'
6221         (SinkChannelImpl.native_fd): removed.
6222         (SinkChannelImpl.<init>): init with a `VMChannel.'
6223         (SinkChannelImpl.implCloseSelectableChannel): implement.
6224         (SinkChannelImpl.getNativeFD): removed.
6225         (SinkChannelImpl.getVMChannel): new method.
6226         * gnu/java/nio/SelectionKeyImpl.java (getNativeFD): mark
6227         deprecated.
6228         * gnu/java/nio/SelectorProviderImpl.java (SELECTOR_IMPL_KQUEUE,
6229         SELECTOR_IMPL_EPOLL, SELECTOR_IMPL): new constants.
6230         (openSelector): return kqueue selector if available.
6231         * gnu/java/nio/ServerSocketChannelImpl.java: implement
6232         `VMChannelOwner.'
6233         (channel): new field.
6234         (<init>): init `channel.'
6235         (finalizer): check if the `VMChannel.State' is valid.
6236         (implCloseSelectableChannel): use `VMChannel.close.'
6237         (implConfigureBlocking): use `VMChannel.setBlocking.'
6238         (accept): use `VMChannel.accept.'
6239         (getVMChannel): new method.
6240         * gnu/java/nio/ServerSocketChannelSelectionKey.java (getNativeFD):
6241         access native FD through `VMChannel.State.'
6242         * gnu/java/nio/SocketChannelImpl.java: implement `VMChannelOwner.'
6243         (impl): removed.
6244         (channel, connected, connectAddress): new field.
6245         (<init>): new constructors.
6246         (getPlainSocketImpl): removed.
6247         (implCloseSelectableChannel): use `VMChannel.close.'
6248         (implConfigureBlocking): use `VMChannel.setBlocking.'
6249         (connect): use `connect(SocketAddress,int).'
6250         (connect): use `VMChannel.connect.'
6251         (finishConnect): don't use a selector.
6252         (isConnected): use `VMChannel.getPeerAddress.'
6253         (read): use `VMChannel.read.'
6254         (read): use `VMChannel.readScattering.'
6255         (write): use `VMChannel.write.'
6256         (write): use `VMChannel.writeGathering.'
6257         (getVMChannel): new method.
6258         * gnu/java/nio/SocketChannelSelectionKey.java (getNativeFD): get
6259         native FD from `VMChannel.State.'
6260         * gnu/java/nio/SocketChannelSelectionKeyImpl.java (getNativeFD):
6261         get native FD from `VMChannel.State.'
6262         * gnu/java/nio/VMChannelOwner.java: new file.
6263         * gnu/java/nio/channels/FileChannelImpl.java: removed.
6264         * include/Makefile.am: generate `gnu_java_nio_FileChannelImpl.h'
6265         and `gnu_java_nio_KqueueSelectorImpl.h;' don't generate
6266         `gnu_java_nio_channels_FileChannelImpl.h.'
6267         * include/gnu_java_net_VMPlainSocketImpl.h: regenerated.
6268         * include/gnu_java_nio_FileChannelImpl.h: new file.
6269         * include/gnu_java_nio_KqueueSelectorImpl.h: new file.
6270         * include/gnu_java_nio_VMChannel.h: regenerated.
6271         * include/gnu_java_nio_VMPipe.h: regenerated.
6272         * include/java_net_VMNetworkInterface.h: regenerated.
6273         * java/io/FileDescriptor.java: fix imports.
6274         * java/io/FileInputStream.java (<init>): handle exceptions.
6275         (read): wrap the destination arary.
6276         * java/io/FileOutputStream.java (<init>): handle exceptions.
6277         (write): wrap the source array.
6278         * java/io/RandomAccessFile.java (<init>): handle exceptions.
6279         * java/net/DatagramSocket.java (<init>): handle exceptions.
6280         (receive): handle length/port setting.
6281         (connect): bind to any address/port if the argument is null.
6282         * java/net/NetworkInterface.java (name, inetAddress): removed.
6283         (netif): new field.
6284         (<init>): make private.
6285         (getName): return `netif.name.'
6286         (getInetAddresses): access `netif.addresses.'
6287         (getDisplayName): return `netif.name.'
6288         (getByName, getByAddress): handle changes to `VMNetworkInterface.'
6289         (condense): removed.
6290         (getNetworkInterfaces): handle changes to `VMNetworkInterface.'
6291         (equals): compare `netif' fields.
6292         (hashCode): get hash codes from `netif.'
6293         (toString): use a StringBuffer.
6294         * java/net/ServerSocket.java (close): don't set `impl' to null.
6295         (isClosed): use `VMChannel.State.isClosed.'
6296         * java/net/Socket.java (getLocalAddress): don't use `getOption' if
6297         the `SocketImpl' is a `PlainSocketImpl.'
6298         (close): just close the `impl.'
6299         (toString): use `super.toString' in the value we return.
6300         (isConnected): just access `impl,' not `getImpl.'
6301         (isBound): use `PlainSocketImpl' methods if we can.
6302         (isClosed): look at `VMChannel.State.'
6303         * native/jni/classpath/jcl.c (JNI_OnLoad): new function.
6304         (JCL_NewRawDataObject): don't initialize cached fields here; throw
6305         an exception if they were not.
6306         (JCL_GetRawData): throw an exception if cached fields weren't
6307         created.
6308         * native/jni/java-lang/java_lang_VMProcess.c: handle
6309         FileChannelImpl move.
6310         * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c
6311         (IO_EXCEPTION, SOCKET_EXCEPTION, BIND_EXCEPTION,
6312         THROW_NO_NETWORK): new macros.
6313         (Java_gnu_java_net_VMPlainSocketImpl_bind): reipmlemented.
6314         (Java_gnu_java_net_VMPlainSocketImpl_bind6): new function.
6315         (Java_gnu_java_net_VMPlainSocketImpl_listen): reimplemented.
6316         (java_sockopt): new enum.
6317         (Java_gnu_java_net_VMPlainSocketImpl_setOption): reimplemented.
6318         (Java_gnu_java_net_VMPlainSocketImpl_getOption): reimplemented.
6319         (Java_gnu_java_net_VMPlainSocketImpl_shutdownInput):
6320         reimplemented.
6321         (Java_gnu_java_net_VMPlainSocketImpl_shutdownOutput):
6322         reimplemented.
6323         (Java_gnu_java_net_VMPlainSocketImpl_sendUrgentData): new
6324         function.
6325         (Java_gnu_java_net_VMPlainSocketImpl_join): new function.
6326         (Java_gnu_java_net_VMPlainSocketImpl_join6): new function.
6327         (Java_gnu_java_net_VMPlainSocketImpl_read): removed.
6328         (Java_gnu_java_net_VMPlainSocketImpl_leave): new function.
6329         (Java_gnu_java_net_VMPlainSocketImpl_leave6): new function.
6330         (Java_gnu_java_net_VMPlainSocketImpl_joinGroup): new function.
6331         (Java_gnu_java_net_VMPlainSocketImpl_write): removed.
6332         (Java_gnu_java_net_VMPlainSocketImpl_joinGroup6): new function.
6333         (Java_gnu_java_net_VMPlainSocketImpl_leaveGroup): new function.
6334         (Java_gnu_java_net_VMPlainSocketImpl_leaveGroup6): new function.
6335         (getif_address): new function.
6336         (getif_index): new function.
6337         * native/jni/java-net/java_net_VMNetworkInterface.c
6338         (java_net_VMNetworkInterface_init,
6339         java_net_VMNetworkInterface_addAddress): new file-scope globals.
6340         (Java_java_net_VMNetworkInterface_initIds): new function.
6341         (struct netif_entry): new struct.
6342         (free_netif_list): new function.
6343         (Java_java_net_VMNetworkInterface_getInterfaces): removed.
6344         (Java_java_net_VMNetworkInterface_getVMInterfaces): new function.
6345         * native/jni/java-nio/Makefile.am (libjavanio_la_SOURCES): remove
6346         gnu_java_nio_channels_FileChannelImpl.c, add
6347         gnu_java_nio_KqueueSelectorImpl.c.
6348         * native/jni/java-nio/gnu_java_nio_KqueueSelectorImpl.c: new file.
6349         * native/jni/java-nio/gnu_java_nio_VMChannel.c
6350         (INTERRUPTED_IO_EXCEPTION, SOCKET_TIMEOUT_EXCEPTION, ALIGN_UP,
6351         ALIGN_DOWN): new macros.
6352         (JCL_init_buffer): get the address through GetDirectBufferAddress
6353         if possible.
6354         (Java_gnu_java_nio_VMChannel_stdin_1fd,
6355         Java_gnu_java_nio_VMChannel_stdout_1fd,
6356         Java_gnu_java_nio_VMChannel_stderr_1fd): new functions.
6357         (Java_gnu_java_nio_VMChannel_setBlocking): fix setting blocking
6358         value.
6359         (Java_gnu_java_nio_VMChannel_read): renamed...
6360         (Java_gnu_java_nio_VMChannel_read__ILjava_nio_ByteBuffer_2): to
6361         this; handle interrupted IO; add HAVE_READ check.
6362         (Java_gnu_java_nio_VMChannel_write): renamed...
6363         (Java_gnu_java_nio_VMChannel_write__ILjava_nio_ByteBuffer_2): to
6364         this; handle zero-length write; add HAVE_WRITE check.
6365         (Java_gnu_java_nio_VMChannel_receive): new function.
6366         (Java_gnu_java_nio_VMChannel_send): new function.
6367         (Java_gnu_java_nio_VMChannel_send6): new function.
6368         (Java_gnu_java_nio_VMChannel_read__I): new function.
6369         (Java_gnu_java_nio_VMChannel_write__II): new function.
6370         (Java_gnu_java_nio_VMChannel_socket): new function.
6371         (Java_gnu_java_nio_VMChannel_connect): new function.
6372         (Java_gnu_java_nio_VMChannel_connect6): new function.
6373         (Java_gnu_java_nio_VMChannel_getsockname): new function.
6374         (Java_gnu_java_nio_VMChannel_getpeername): new function.
6375         (Java_gnu_java_nio_VMChannel_accept): new function.
6376         (Java_gnu_java_nio_VMChannel_disconnect): new function.
6377         (Java_gnu_java_nio_VMChannel_close): new function.
6378         (Java_gnu_java_nio_VMChannel_available): new function.
6379         (FileChannel_mode): new enum.
6380         (Java_gnu_java_nio_VMChannel_open): new function.
6381         (Java_gnu_java_nio_VMChannel_position): new function.
6382         (Java_gnu_java_nio_VMChannel_seek): new function.
6383         (Java_gnu_java_nio_VMChannel_truncate): new funciton.
6384         (Java_gnu_java_nio_VMChannel_lock): new function.
6385         (Java_gnu_java_nio_VMChannel_unlock): new function.
6386         (Java_gnu_java_nio_VMChannel_size): new function.
6387         (Java_gnu_java_nio_VMChannel_map): new function.
6388         (Java_gnu_java_nio_VMChannel_flush): new function.
6389         * native/jni/java-nio/gnu_java_nio_VMPipe.c
6390         (Java_gnu_java_nio_VMPipe_init): removed.
6391         (Java_gnu_java_nio_VMPipe_pipe0): new function.
6392         * native/jni/java-nio/javanio.c: new file.
6393         * native/jni/java-nio/javanio.h: new file.
6394         * native/jni/native-lib/cpnet.c (cpnet_getHostByName): fix for
6395         systems without `gethostbyname_r.'
6396         * vm/reference/gnu/java/net/VMPlainSocketImpl.java (nfd): new
6397         field.
6398         (<init>, <init>): new constructors.
6399         (setOption, getOption): make instance methods; defer to native
6400         implementation.
6401         (connect): removed.
6402         (bind): make an instance method; defer to native methods.
6403         (accept): removed.
6404         (available): removed.
6405         (listen): make an instance method; defer to native method.
6406         (read): removed.
6407         (join, leave): new methods.
6408         (write): removed.
6409         (joinGroup, leaveGroup): new methods.
6410         (shutdownInput, shutdownOutput): make instance methods.
6411         (sendUrgentData): removed.
6412         (State): new class.
6413         * vm/reference/gnu/java/nio/VMChannel.java: make final.
6414         (fd): removed.
6415         (nfd): new field.
6416         (<init>): new, public constructors.
6417         (getVMChannel): methods removed.
6418         (getState, getStdin, getStdout, getStderr, stdin_fd, stdout_fd,
6419         stderr_fd): new methods.
6420         (setBlocking): make an instance method.
6421         (available): new method.
6422         (read): get native fd from `nfd.'
6423         (read): new single-byte read method.
6424         (readScattering): get native fd from `nfd.'
6425         (receive): new method.
6426         (write, writeGathering): get native fd from `nfd.'
6427         (send): new method.
6428         (write): new single-byte write method.
6429         (initSocket): new method.
6430         (connect): new method.
6431         (disconnect): new method.
6432         (getLocalAddress): new method.
6433         (getPeerAddress): new method.
6434         (accept): new method.
6435         (openFile): new method.
6436         (position): new method.
6437         (seek): new method.
6438         (truncate): new method.
6439         (lock): new method.
6440         (unlock): new method.
6441         (size): new method.
6442         (map): new method.
6443         (flush): new method.
6444         (close): new method.
6445         (State): new class.
6446         (Kind): new class.
6447         * vm/reference/gnu/java/nio/VMPipe.java (init): removed.
6448         (pipe, pipe0): new method.
6449         * vm/reference/java/net/VMNetworkInterface.java (name, addresses):
6450         new fields.
6451         (<clinit>): call `initIds.'
6452         (initIds): new method.
6453         (getInterfaces): removed.
6454         (getVMInterfaces): new method.
6455         (addAddress): new method.
6456         * vm/reference/java/nio/channels/VMChannels.java: fix imports.
6457
6458 2006-09-16  Chris Burdess  <dog@gnu.org>
6459
6460         Fixes PR 28572.
6461         * gnu/xml/transform/StreamSerializer.java: Don't escape XML entities
6462           when in text output mode.
6463
6464 2006-09-16  Chris Burdess  <dog@gnu.org>
6465
6466         Fixes PR 27293.
6467         * gnu/xml/dom/DomNode.java: Increment length of node during insert.
6468
6469 2006-09-14  Michael Koch  <konqueror@gmx.de>
6470
6471         * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Recreated.
6472
6473 2006-09-15  Chistian Elias Naur  <elias@oddlabs.com>
6474
6475         * java/io/ObjectStreamClass.java (setClass(Class, ObjectStreamClass)):
6476         Added !cl.isArray() to serialVersionUID mismatch check.
6477
6478 2006-09-14  Francis Kung  <fkung@redhat.com>
6479
6480         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
6481         (gnu_java_awt_peer_gtk_CairoGraphics2D_setGradient): Updated constants to
6482         be compatibe with Cairo 1.2.x.
6483
6484 2006-09-14  Francis Kung  <fkung@redhat.com>
6485
6486         * gnu/java/awt/peer/gtk/CairoGraphics2D.java: Added interpolation constants.
6487         (cairoSurfaceSetFilter): Removed method.
6488         (drawImage): Pass interpolation type as argument to drawing methods.
6489         (drawPixels): Added interpolation parameter.
6490         (drawRaster): Pass interpolation type as argument to drawing method.
6491         (getInterpolation): New method.
6492         (setRenderingHint): Store hints, but do not set interpolation in cairo.
6493         (setRenderingHints): Store hints, but do not set interpolation in cairo.
6494         * gnu/java/awt/peer/gtk/CairoSurface.java
6495         (drawSurface): Added interpolation parameter.
6496         (nativeDrawSurface): Added interpolation parameter.
6497         * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h
6498         (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_drawPixels): Added interpolation
6499         parameter.
6500         (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoSurfaceSetFilter): Removed.
6501         * native/jni/gtk-peer/cairographics2d.h
6502         (java_awt_rendering_hints_filter): Added bicubic interpolation constant.
6503         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
6504         (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_drawPixels): Added interpolation
6505         parameter.
6506         (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoSurfaceSetFilter): Removed.
6507         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
6508         (Java_gnu_java_awt_peer_gtk_CairoSurface_nativeDrawSurface): Added
6509         interpolation parameter.
6510
6511 2006-09-14  Gary Benson  <gbenson@redhat.com>
6512
6513         * java/net/InetAddress.java
6514         (internalGetCanonicalHostName): New method.
6515         (getCanonicalHostName): Use internalGetCanonicalHostName.
6516         (getByLiteral): New method.
6517         (getAllByName): Use getByLiteral.
6518         * java/net/SocketPermission.java
6519         (host): Replaced with...
6520         (hostname, address): New fields.
6521         (equals, hashcode): Reflect the above.
6522         (setHostPort): Parse host into hostname or address.
6523         (implies): Rewrite host checks.
6524
6525 2006-09-14  David Gilbert  <david.gilbert@object-refinery.com>
6526
6527         Fixes PR28699
6528         * java/awt/Menu.java
6529         (insert(MenuItem, int)): Fixed loop range,
6530         (insert(String, int)): Updated API docs.
6531
6532 2006-09-14  Christian Thalinger  <twisti@complang.tuwien.ac.at>
6533
6534         Fixes PR22800
6535         * native/fdlibm/mprec.h (Storeinc): Define correctly for LE
6536         architectures (like Arm).
6537         * native/jni/java-lang/java_lang_VMDouble.c (doubleToLongBits):
6538         Reverted SWAP_DOUBLE patch.
6539         (doubleToRawLongBits): Likewise.
6540         (longBitsToDouble): Likewise.
6541
6542 2006-09-14  David Gilbert  <david.gilbert@object-refinery.com>
6543
6544         * java/awt/Menu.java: Reformatted source file.
6545
6546 2006-09-14  Jeroen Frijters  <jeroen@frijters.net>
6547
6548         * gnu/java/rmi/server/ActivatableRef.java
6549         (readExternal, writeExternal): Partial fix for serialization format.
6550
6551 2006-09-14  Jeroen Frijters  <jeroen@frijters.net>
6552
6553         PR classpath/28984
6554         * java/io/InputStreamReader.java
6555         (read(char[],int,int)): Fixed bug.
6556
6557 2006-09-13  Francis Kung  <fkung@redhat.com>
6558
6559         * java/awt/image/BandCombineOp.java: Updated documentation.
6560         (filter(Raster, WritableRaster)): Use int arrays, and added simple cache.
6561
6562 2006-09-13  Tom Tromey  <tromey@redhat.com>
6563
6564         PR classpath/29034:
6565         * java/io/PipedReader.java (read): Return early if len==0.
6566         * java/io/PipedInputStream.java (read): Return early if len==0.
6567
6568 2006-09-13  Francis Kung  <fkung@redhat.com>
6569
6570         * java/awt/image/ConvolveOp.java (filter(Raster, WritableRaster)):
6571         Removed hard-coded max sample value.
6572         * java/awt/image/RescaleOp.java (filter(Raster, WritableRaster)): 
6573         Fixed finding of max sample value.
6574
6575 2006-09-12  David Gilbert  <david.gilbert@object-refinery.com>
6576
6577         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
6578         (setPaint): Check null argument ('p').
6579
6580 2006-09-12  Francis Kung  <fkung@redhat.com>
6581
6582         PR 27940
6583         * gnu/java/awt/java2d/TexturePaintContext.java
6584         (constructor): Fixed typo, getMinY instead of getMaxX.
6585         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
6586         (setPaint): Implemented support for custom Paint classes.
6587         (setPaintPixels): Renamed from setTexturePixels, added repeat parameter.
6588         (setTexturePixels): Renamed to setPaintPixels, added repeat parameter.
6589         * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Renamed setTexturePixels
6590         to setPaintPixels, and added repeat parameter.
6591         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c:
6592          Renamed setTexturePixels to setPaintPixels, and added repeat parameter.
6593
6594 2006-09-12  Gary Benson  <gbenson@redhat.com>
6595
6596         * java/net/NetworkInterface.java (getInetAddresses):
6597         Fix port used in security check.
6598
6599 2006-09-12  David Gilbert  <david.gilbert@object-refinery.com>
6600
6601         * javax/swing/plaf/metal/DefaultMetalTheme.java
6602         (CONTROL_TEXT_FONT): Renamed 'controlTextFont',
6603         (MENU_TEXT_FONT): Renamed 'menuTextFont',
6604         (getControlTextFont): Check 'swing.boldMetal' setting before 
6605         initialising font,
6606         (getMenuTextFont): Likewise.
6607
6608 2006-09-12  David Gilbert  <david.gilbert@object-refinery.com>
6609
6610         * javax/swing/plaf/metal/OceanTheme.java
6611         (addCustomEntriesToTable): Added 'List.focusCellHighlightBorder' entry.
6612
6613 2006-09-12  David Gilbert  <david.gilbert@object-refinery.com>
6614
6615         * javax/swing/plaf/metal/MetalIconFactory.java
6616         (InternalFrameDefaultMenuIcon.paintIcon): Use theme colors.
6617
6618 2006-09-12  David Gilbert  <david.gilbert@object-refinery.com>
6619
6620         * javax/swing/AbstractSpinnerModel.java: API doc updates.
6621
6622 2006-09-12  David Gilbert  <david.gilbert@object-refinery.com>
6623
6624         * javax/swing/AbstractButton.java
6625         (AbstractButton): Initialise textIconGap field.
6626
6627 2006-09-11  Tom Tromey  <tromey@redhat.com>
6628
6629         * tools/gnu/classpath/tools/javah/FieldHelper.java (print): Print
6630         "volatile" when needed.
6631
6632 2006-09-11  David Gilbert  <david.gilbert@object-refinery.com>
6633
6634         * java/text/AttributedCharacterIterator.java
6635         (LANGUAGE): Initialise with lower case string,
6636         (INPUT_METHOD_SEGMENT): Likewise,
6637         (READING): Likewise,
6638         * java/text/AttributedStringIterator.java
6639         (getRunLimit): Check all attributes for changes.
6640
6641 2006-09-11  David Gilbert  <david.gilbert@object-refinery.com>
6642
6643         * java/text/AttributedCharacterIterator.java: Added @since tag, 
6644         renamed some variables (no underscores) and removed some spaces to
6645         match the common style,
6646         * java/text/AttributedString.java: Likewise,
6647         * java/text/AttributedStringIterator.java: Likewise.
6648
6649 2006-09-11  Gary Benson  <gbenson@redhat.com>
6650
6651         * java/net/Inet4Address.java
6652         (FAMILY): Renamed back to AF_INET.
6653         (<init>, writeReplace): Reflect the above.
6654         * java/net/Inet6Address.java
6655         (FAMILY): Renamed back to AF_INET6.
6656         (<init>): Reflect the above.
6657
6658 2006-09-11  Cameron McCormack  <cam-gcc-bugzilla@aka.mcc.id.au>
6659
6660         Fixes PR29010
6661         * java/text/AttributedString.java
6662         (AttributedString(AttributedCharacterIterator, int, int, 
6663         AttributedCharacterIterator.Attribute[])): Fixed check for defined 
6664         attribute.
6665
6666 2006-09-11  Gary Benson  <gbenson@redhat.com>
6667
6668         * java/net/Inet4Address.java
6669         (AF_INET): Renamed to FAMILY.
6670         (<init>, writeReplace): Reflect the above.
6671         * java/net/Inet6Address.java
6672         (AF_INET6): Renamed to FAMILY.
6673         (<init>): Reflect the above.
6674
6675 2006-09-10  Ito Kazumitsu  <kaz@maczuka.gcd.org>
6676
6677         Fixes bug #28867
6678         Originally in Kaffe: 2004-04-16  Helmer Kraemer <hkraemer@freenet.de>
6679         * java/net/ServerSocket.java(implAccept): Deleted socket.implCreated.
6680         * java/net/Socket.java: Avoid creating a redundant file descriptor.
6681         (implCreated): Deleted, (getImpl): Don't check impleCreated,
6682         (bind): Call getImpl().create(true).
6683
6684 2006-09-09  Chris Burdess  <dog@gnu.org>
6685
6686         * gnu/xml/xpath/Expr.java: Ensure that node-set evaluation returns
6687           an instance of org.w3c.dom.NodeList.
6688
6689 2006-09-08  Thomas Fitzsimmons  <fitzsim@redhat.com>
6690
6691         * tools/gnu/classpath/tools/appletviewer/Main.java: Warn about
6692         missing security manager when run in standalone mode.
6693
6694 2006-09-08  Francis Kung  <fkung@redhat.com>
6695
6696         * java/awt/image/AffineTransformOp.java: Updated documentation.
6697         (createCompatibleDestRaster): Updated formatting.
6698         (filter(BufferedImage, BufferedImage)): Updated formatting.
6699         (filter(Raster, WritableRaster)): Delegated processing to native peers for
6700         if colour model is compatible.
6701         (filterBicubic): Get entire pixel at once, and use appropriate array type.
6702         (filterBilinear): Get entire pixel at once, and use appropriate array type.
6703
6704 2006-09-08  Gary Benson  <gbenson@redhat.com>
6705
6706         * java/net/InetAddress.java
6707         (family): Updated javadoc and made private.
6708         (<init>): Add an address family argument.
6709         (readObject): Don't overwrite family.
6710         * java/net/Inet4Address.java
6711         (AF_INET): New constant.
6712         (<init>): Use AF_INET as the family.
6713         (writeReplace): Likewise.
6714         * java/net/Inet6Address.java
6715         (AF_INET6): New constant.
6716         (<init>): Use AF_INET6 as the family.
6717
6718 2006-09-08  Gary Benson  <gbenson@redhat.com>
6719
6720         * java/net/InetAddress.java
6721         (getHostName): Move lookup into getCanonicalHostName.
6722         (getCanonicalHostName): Move lookup from getHostName,
6723         Perform security check on canonical name (ie after lookup).
6724
6725 2006-09-08  Gary Benson  <gbenson@redhat.com>
6726
6727         * java/net/Inet4Address.java (isMulticastAddress,
6728         isLoopbackAddress, isAnyLocalAddress, isLinkLocalAddress,
6729         isSiteLocalAddress, isMCGlobal, isMCNodeLocal, isMCLinkLocal,
6730         isMCSiteLocal, isMCOrgLocal, getHostAddress): Moved
6731         implementations from InetAddress.
6732         * java/net/InetAddress.java (isMulticastAddress,
6733         isLoopbackAddress, isAnyLocalAddress, isLinkLocalAddress,
6734         isSiteLocalAddress, isMCGlobal, isMCNodeLocal, isMCLinkLocal,
6735         isMCSiteLocal, isMCOrgLocal, getHostAddress): Replace
6736         implementations with UnsupportedOperationExceptions.
6737         
6738 2006-09-08  Gary Benson  <gbenson@redhat.com>
6739
6740         * java/net/InetAddress.java
6741         (inaddr_any): Removed.
6742         (ANY_IF, LOCALHOST): Create using getByAddress.
6743         (<init>): Updated javadoc.
6744         (getHostName): Cache hostname even if the lookup failed.
6745         (getByAddress): Create Inet4Address objects when passed
6746         IPv4-mapped IPv6 addresses.
6747         (aton): Removed.
6748         (getAllByName): Create address objects using getByAddress.
6749         Do not perform security checks unless actually required.
6750         Do not strip whitespace from the hostname.
6751         (getInaddrAny): Removed.
6752         (getLocalHost): Return the loopback address if getByName
6753         throws a SecurityException.
6754         (readResolve): Updated javadoc.
6755         * vm/reference/java/net/VMInetAddress.java (aton): Declared.
6756         * include/java_net_VMInetAddress.h
6757         (Java_java_net_VMInetAddress_aton): Likewise.
6758         * native/jni/java-net/java_net_VMInetAddress.c
6759         (Java_java_net_VMInetAddress_aton): New method.
6760         * native/jni/native-lib/cpnet.h (cpnet_aton): Declared.
6761         * native/jni/native-lib/cpnet.c (cpnet_aton): New method.
6762         * configure.ac (AC_CHECK_FUNCS): Checks for cpnet_aton.
6763         * java/net/Inet4Address.java (writeReplace): Updated javadoc.
6764         * NEWS: Added note about updated VM interface.
6765
6766 2006-09-07  David Gilbert  <david.gilbert@object-refinery.com>
6767
6768         * javax/swing/plaf/basic/BasicInternalFrameUI.java
6769         (setNorthPane): Assign component to titlePane.
6770
6771 2006-09-07  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
6772
6773         * gnu/CORBA/NamingService/NameParser.java (corbaloc):
6774         Remove unused variable alt_addr.
6775         * gnu/CORBA/NamingService/NameTransformer.java (toName):
6776         Remove unused variables.
6777
6778 2006-09-07  David Gilbert  <david.gilbert@object-refinery.com>
6779
6780         * javax/swing/plaf/metal/MetalScrollBarUI.java
6781         (installDefaults): Initialise scrollBarWidth from UI defaults here,
6782         (createDecreaseButton): Don't fetch scrollBarWidth here, 
6783         (createIncreaseButton): Likewise.
6784
6785 2006-09-07  David Gilbert  <david.gilbert@object-refinery.com>
6786
6787         * java/awt/image/MemoryImageSource.java: Added API docs.
6788
6789 2006-09-06  David Gilbert  <david.gilbert@object-refinery.com>
6790
6791         * javax/swing/plaf/basic/BasicScrollBarUI.java
6792         (installDefaults): Call configureScrollBarColors().
6793
6794 2006-09-06  Francis Kung  <fkung@redhat.com>
6795
6796         * java/awt/image/RescaleOp.java: Updated documentation and formatting.
6797         (constructor): Make copy of arrays.
6798         (createCompatibleDestImage): Changed treatment of null ColorModel.
6799         (filter(BufferedImage, BufferedImage)): Re-implemented.
6800         (filter(Raster, WritableRaster, boolean[])): New method.
6801         (filter(Raster, WritableRaster)): Re-implemented.
6802         (getOffsets): Prevent ArrayIndexOutOfBoundsException.
6803         (getPoint2D): Cleaned up formatting.
6804         (getScaleFactors): Prevent ArrayIndexOutOfBoundsException.
6805
6806 2006-09-06  David Gilbert  <david.gilbert@object-refinery.com>
6807
6808         * javax/swing/UIManager.java
6809         (getBoolean(Object)): Reimplemented,
6810         (getBoolean(Object, Locale)): Likewise,
6811         (getBorder(Object)): Likewise,
6812         (getBorder(Object, Locale)): Likewise,
6813         (getColor(Object)): Likewise,
6814         (getColor(Object, Locale)): Likewise,
6815         (getDimension(Object)): Likewise,
6816         (getDimension(Object, Locale)): Likewise,
6817         (getFont(Object)): Likewise,
6818         (getFont(Object, Locale)): Likewise,
6819         (getIcon(Object)): Likewise,
6820         (getIcon(Object, Locale)): Likewise,
6821         (getInsets(Object)): Updated API docs,
6822         (getInsets(Object, Locale)): Likewise,
6823         (getInt(Object)): Reimplemented,
6824         (getInt(Object, Locale)): Likewise,
6825         (getString(Object)): Likewise,
6826         (getString(Object, Locale)): Likewise.
6827
6828 2006-09-06  David Gilbert  <david.gilbert@object-refinery.com>
6829
6830         * javax/swing/UIManager.java
6831         (MultiplexUIDefaults.MultiplexUIDefaults()): Don't allow null fallback,
6832         (getDefaults): Initialise MultiplexUIDefaults with empty fallback.
6833
6834 2006-09-06  David Gilbert  <david.gilbert@object-refinery.com>
6835
6836         * javax/swing/plaf/metal/MetalLookAndFeel.java
6837         (initComponentDefaults): Corrected various font defaults.
6838
6839 2006-09-05  David Gilbert  <david.gilbert@object-refinery.com>
6840
6841         * java/awt/List.java: Added @since to various methods.
6842
6843 2006-09-05  Andrew John Hughes  <gnu_andrew@member.fsf.org>
6844
6845         * native/jni/native-lib/cpprocess.c:
6846         (forkAndExec(char*,char*,int,int,pid_t,char*)):
6847         Add redirection of stdout to stderr.
6848         * native/jni/native-lib/cpprocess.h:
6849         Added redirect argument.
6850         * native/jni/java-lang/java_lang_VMProcess.c
6851         (Java_java_lang_VMProcess_nativeSpawn): Readd redirect argument.
6852         * vm/reference/java/lang/VMProcess.java: Likewise.
6853         * include/java_lang_VMProcess.h: Regenerated.
6854         
6855 2006-09-05  Andreas Tobler  <a.tobler@schweiz.ch>
6856
6857         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c: Adjust
6858         __attribute to __attribute__.
6859
6860         * native/jni/java-nio/java_nio_MappedByteBufferImpl.c: Remove duplicate
6861         header include.
6862
6863 2006-09-05  David Gilbert  <david.gilbert@object-refinery.com>
6864
6865         * java/awt/List.java: Source code reformatted.
6866
6867 2006-09-05  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
6868
6869         * gnu/CORBA/CollocatedOrbs.java,
6870         gnu/CORBA/SafeForDirectCalls.java: New files.
6871         * gnu/CORBA/NamingService/Binding_iterator_impl.java:
6872         Implement gnu.CORBA.SafeForDirectCalls.
6873         * gnu/CORBA/NamingService/Ext.java: Likewise.
6874         * gnu/CORBA/NamingService/TransientContext.java: Likewise.
6875         * gnu/CORBA/OrbFunctional.java (createIor):Cache the address
6876         of the local host. (ior_to_object): Return the local object
6877         where possible. (run): Register/unregister this ORB.
6878         * gnu/CORBA/Poa/LocalRequest.java (v_invoke): Call gnuPOA.checkDiscarding.      
6879         * gnu/CORBA/Poa/gnuPOA.java (checkDiscarding): Made package private.
6880         * gnu/CORBA/Poa/gnuServantObject.java (noRetain): New field.
6881         (constructors): Initialize noRetain. (_invoke): Drop servant
6882         if noRetain is true. (getHandler): Always seach for the new servant
6883         if noRetain is true.
6884         * gnu/CORBA/SimpleDelegate.java (create_request): Implemented.
6885         * NEWS: Added note about the new feature.
6886
6887 2006-09-05  David Gilbert  <david.gilbert@object-refinery.com>
6888
6889         * java/awt/Choice.java
6890         (addItem): Fixed API doc glitch.
6891
6892 2006-09-05  Francis Kung  <fkung@redhat.com>
6893
6894         * java/awt/image/LookupOp.java: Updated documentation & formatting.
6895         (createCompatibleDestImage): Re-implemented.
6896         (filter(BufferedImage, BufferedImage)): Added check for src/dest image
6897         compatibility, and use ColorConvertOp for color conversion if needed.
6898         (filter(Raster, WritableRaster)): Made exceptions more descriptive.
6899
6900 2006-09-05  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
6901
6902         gnu/CORBA/CDR/Vio.java,
6903         org/omg/CORBA_2_3/ORB.java,
6904         org/omg/CORBA_2_3/portable/InputStream.java,
6905         org/omg/CORBA_2_3/portable/OutputStream.java,
6906         org/omg/CosNaming/BindingIteratorHelper.java,
6907         org/omg/CosNaming/BindingTypeHelper.java,
6908         org/omg/CosNaming/NameComponentHelper.java,
6909         org/omg/CosNaming/NameHelper.java,
6910         org/omg/CosNaming/NamingContextExtHelper.java,
6911         org/omg/CosNaming/NamingContextExtPackage/AddressHelper.java,
6912         org/omg/CosNaming/NamingContextExtPackage/InvalidAddressHelper.java,
6913         org/omg/CosNaming/NamingContextExtPackage/InvalidAddressHolder.java,
6914         org/omg/CosNaming/NamingContextExtPackage/StringNameHelper.java,
6915         org/omg/CosNaming/NamingContextExtPackage/URLStringHelper.java,
6916         org/omg/CosNaming/NamingContextHelper.java,
6917         org/omg/CosNaming/NamingContextPackage/AlreadyBoundHelper.java,
6918         org/omg/CosNaming/NamingContextPackage/InvalidName.java,
6919         org/omg/CosNaming/NamingContextPackage/InvalidNameHelper.java,
6920         org/omg/CosNaming/NamingContextPackage/NotEmptyHelper.java,
6921         org/omg/CosNaming/NamingContextPackage/NotFoundReasonHelper.java,
6922         org/omg/CosNaming/NamingContextPackage/NotFoundReasonHolder.java,
6923         org/omg/DynamicAny/AnySeqHelper.java,
6924         org/omg/DynamicAny/DynAnyFactoryHelper.java,
6925         org/omg/DynamicAny/DynAnyFactoryOperations.java,
6926         org/omg/DynamicAny/DynAnyFactoryPackage/InconsistentTypeCodeHelper.java,
6927         org/omg/DynamicAny/DynAnyHelper.java,
6928         org/omg/DynamicAny/DynAnyOperations.java,
6929         org/omg/DynamicAny/DynAnyPackage/InvalidValueHelper.java,
6930         org/omg/DynamicAny/DynAnyPackage/TypeMismatchHelper.java,
6931         org/omg/DynamicAny/DynAnySeqHelper.java,
6932         org/omg/DynamicAny/DynArrayHelper.java,
6933         org/omg/DynamicAny/DynEnumHelper.java,
6934         org/omg/DynamicAny/DynFixedHelper.java,
6935         org/omg/DynamicAny/DynSequenceHelper.java,
6936         org/omg/DynamicAny/DynStructHelper.java,
6937         org/omg/DynamicAny/DynStructOperations.java,
6938         org/omg/DynamicAny/DynUnionHelper.java,
6939         org/omg/DynamicAny/DynValueHelper.java,
6940         org/omg/DynamicAny/NameDynAnyPairHelper.java,
6941         org/omg/DynamicAny/NameDynAnyPairSeqHelper.java,
6942         org/omg/IOP/CodecFactoryHelper.java,
6943         org/omg/IOP/CodecFactoryPackage/UnknownEncodingHelper.java,
6944         org/omg/IOP/CodecOperations.java,
6945         org/omg/IOP/CodecPackage/FormatMismatchHelper.java,
6946         org/omg/IOP/CodecPackage/InvalidTypeForEncodingHelper.java,
6947         org/omg/IOP/CodecPackage/TypeMismatchHelper.java,
6948         org/omg/IOP/ComponentIdHelper.java,
6949         org/omg/IOP/ExceptionDetailMessage.java,
6950         org/omg/IOP/MultipleComponentProfileHelper.java,
6951         org/omg/IOP/ProfileIdHelper.java,
6952         org/omg/IOP/ServiceContextListHelper.java,
6953         org/omg/IOP/ServiceIdHelper.java,
6954         org/omg/IOP/TAG_CODE_SETS.java,
6955         org/omg/PortableInterceptor/ClientRequestInfoOperations.java,
6956         org/omg/PortableInterceptor/ClientRequestInterceptorOperations.java,
6957         org/omg/PortableInterceptor/CurrentHelper.java,
6958         org/omg/PortableInterceptor/IORInfo.java,
6959         org/omg/PortableInterceptor/IORInterceptor_3_0Helper.java,
6960         org/omg/PortableInterceptor/ORBIdHelper.java,
6961         org/omg/PortableInterceptor/ORBInitInfoOperations.java,
6962         org/omg/PortableInterceptor/ORBInitInfoPackage/InvalidNameHelper.java,
6963         org/omg/PortableInterceptor/ORBInitializerOperations.java,
6964         org/omg/PortableInterceptor/ObjectReferenceFactoryHelper.java,
6965         org/omg/PortableInterceptor/ObjectReferenceTemplateHelper.java,
6966         org/omg/PortableInterceptor/RequestInfoOperations.java,
6967         org/omg/PortableInterceptor/ServerIdHelper.java,
6968         org/omg/PortableInterceptor/ServerRequestInfoOperations.java,
6969         org/omg/PortableInterceptor/ServerRequestInterceptorOperations.java,
6970         org/omg/PortableServer/AdapterActivatorOperations.java,
6971         org/omg/PortableServer/CurrentHelper.java,
6972         org/omg/PortableServer/CurrentPackage/NoContextHelper.java,
6973         org/omg/PortableServer/ForwardRequestHelper.java,
6974         org/omg/PortableServer/IdAssignmentPolicyValue.java,
6975         org/omg/PortableServer/IdUniquenessPolicyValue.java,
6976         org/omg/PortableServer/ImplicitActivationPolicyValue.java,
6977         org/omg/PortableServer/LifespanPolicyValue.java,
6978         org/omg/PortableServer/POA.java,
6979         org/omg/PortableServer/POAHelper.java,
6980         org/omg/PortableServer/POAManagerPackage/AdapterInactiveHelper.java,
6981         org/omg/PortableServer/POAManagerPackage/State.java,
6982         org/omg/PortableServer/POAOperations.java,
6983         org/omg/PortableServer/POAPackage/AdapterAlreadyExistsHelper.java,
6984         org/omg/PortableServer/POAPackage/AdapterNonExistentHelper.java,
6985         org/omg/PortableServer/POAPackage/InvalidPolicy.java,
6986         org/omg/PortableServer/POAPackage/NoServantHelper.java,
6987         org/omg/PortableServer/POAPackage/ObjectAlreadyActiveHelper.java,
6988         org/omg/PortableServer/POAPackage/ObjectNotActiveHelper.java,
6989         org/omg/PortableServer/POAPackage/ServantAlreadyActiveHelper.java,
6990         org/omg/PortableServer/POAPackage/ServantNotActiveHelper.java,
6991         org/omg/PortableServer/POAPackage/WrongAdapterHelper.java,
6992         org/omg/PortableServer/POAPackage/WrongPolicyHelper.java,
6993         org/omg/PortableServer/RequestProcessingPolicyValue.java,
6994         org/omg/PortableServer/ServantActivatorHelper.java,
6995         org/omg/PortableServer/ServantLocatorHelper.java,
6996         org/omg/PortableServer/ServantLocatorOperations.java,
6997         org/omg/PortableServer/ServantRetentionPolicyValue.java,
6998         org/omg/PortableServer/ThreadPolicyValue.java,
6999         org/omg/PortableServer/_ServantActivatorStub.java,
7000         org/omg/PortableServer/_ServantLocatorStub.java,
7001         org/omg/PortableServer/portable/Delegate.java: Documentation fixes.
7002
7003 2006-09-05  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
7004
7005         * javax/rmi/CORBA/Tie.java,
7006         org/omg/CORBA/AnyHolder.java,
7007         org/omg/CORBA/AnySeqHelper.java,
7008         org/omg/CORBA/AnySeqHolder.java,
7009         org/omg/CORBA/BooleanHolder.java,
7010         org/omg/CORBA/BooleanSeqHelper.java,
7011         org/omg/CORBA/BooleanSeqHolder.java,
7012         org/omg/CORBA/ByteHolder.java,
7013         org/omg/CORBA/CharHolder.java,
7014         org/omg/CORBA/CharSeqHelper.java,
7015         org/omg/CORBA/CharSeqHolder.java,
7016         org/omg/CORBA/Context.java,
7017         org/omg/CORBA/CurrentHelper.java,
7018         org/omg/CORBA/CustomValue.java,
7019         org/omg/CORBA/DataOutputStream.java,
7020         org/omg/CORBA/DefinitionKindHelper.java,
7021         org/omg/CORBA/DomainManagerOperations.java,
7022         org/omg/CORBA/DoubleHolder.java,
7023         org/omg/CORBA/DoubleSeqHelper.java,
7024         org/omg/CORBA/DoubleSeqHolder.java,
7025         org/omg/CORBA/DynAny.java,
7026         org/omg/CORBA/DynSequence.java,
7027         org/omg/CORBA/DynValue.java,
7028         org/omg/CORBA/DynamicImplementation.java,
7029         org/omg/CORBA/FieldNameHelper.java,
7030         org/omg/CORBA/FixedHolder.java,
7031         org/omg/CORBA/FloatHolder.java,
7032         org/omg/CORBA/FloatSeqHelper.java,
7033         org/omg/CORBA/FloatSeqHolder.java,
7034         org/omg/CORBA/IdentifierHelper.java,
7035         org/omg/CORBA/IntHolder.java,
7036         org/omg/CORBA/LocalObject.java,
7037         org/omg/CORBA/LongHolder.java,
7038         org/omg/CORBA/LongLongSeqHelper.java,
7039         org/omg/CORBA/LongLongSeqHolder.java,
7040         org/omg/CORBA/LongSeqHelper.java,
7041         org/omg/CORBA/LongSeqHolder.java,
7042         org/omg/CORBA/ORB.java,
7043         org/omg/CORBA/ObjectHelper.java,
7044         org/omg/CORBA/ObjectHolder.java,
7045         org/omg/CORBA/OctetSeqHelper.java,
7046         org/omg/CORBA/OctetSeqHolder.java,
7047         org/omg/CORBA/PolicyErrorCodeHelper.java,
7048         org/omg/CORBA/PolicyErrorHelper.java,
7049         org/omg/CORBA/PolicyHelper.java,
7050         org/omg/CORBA/PolicyListHelper.java,
7051         org/omg/CORBA/PolicyTypeHelper.java,
7052         org/omg/CORBA/PrincipalHolder.java,
7053         org/omg/CORBA/RepositoryIdHelper.java,
7054         org/omg/CORBA/Request.java,
7055         org/omg/CORBA/ShortHolder.java,
7056         org/omg/CORBA/ShortSeqHelper.java,
7057         org/omg/CORBA/ShortSeqHolder.java,
7058         org/omg/CORBA/StringSeqHelper.java,
7059         org/omg/CORBA/StringSeqHolder.java,
7060         org/omg/CORBA/ULongLongSeqHelper.java,
7061         org/omg/CORBA/ULongLongSeqHolder.java,
7062         org/omg/CORBA/ULongSeqHelper.java,
7063         org/omg/CORBA/ULongSeqHolder.java,
7064         org/omg/CORBA/UShortSeqHelper.java,
7065         org/omg/CORBA/UShortSeqHolder.java,
7066         org/omg/CORBA/ValueBaseHelper.java,
7067         org/omg/CORBA/ValueBaseHolder.java,
7068         org/omg/CORBA/VersionSpecHelper.java,
7069         org/omg/CORBA/WCharSeqHelper.java,
7070         org/omg/CORBA/WCharSeqHolder.java,
7071         org/omg/CORBA/WStringSeqHelper.java,
7072         org/omg/CORBA/WStringSeqHolder.java,
7073         org/omg/CORBA/WrongTransactionHelper.java,
7074         org/omg/CORBA/_IDLTypeStub.java,
7075         org/omg/CORBA/_PolicyStub.java,
7076         org/omg/CORBA/portable/BoxedValueHelper.java,
7077         org/omg/CORBA/portable/Delegate.java,
7078         org/omg/CORBA/portable/ObjectImpl.java,
7079         org/omg/CORBA/portable/ServantObject.java,
7080         org/omg/CORBA/portable/StreamableValue.java,
7081         org/omg/CosNaming/BindingType.java,
7082         org/omg/CosNaming/IstringHelper.java,
7083         org/omg/DynamicAny/FieldNameHelper.java,
7084         org/omg/PortableServer/Servant.java: Documentation fixes.
7085
7086 2006-09-04  David Gilbert  <david.gilbert@object-refinery.com>
7087
7088         * java/awt/Rectangle.java
7089         (setRect(double, double, double, double)): Modified rounding of input
7090         values.
7091
7092 2006-09-03  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
7093
7094         * gnu/javax/swing/text/html/parser/HTML_401F.java (defineElements):
7095         Disallow H1 - H6 in the paragraphs.
7096         * gnu/javax/swing/text/html/parser/support/textPreProcessor.java
7097         (preprocess): Leave at most one leading and/or trailing space.
7098         * javax/swing/text/html/HTMLDocument.java (HTMLReader.handleText):
7099         Do not add any text after closing the HTML tag.
7100
7101 2006-09-02  Roman Kennke  <kennke@aicas.com>
7102
7103         PR 28928
7104         * javax/swing/plaf/basic/BasicTextUI.java
7105         (RootView.getPreferredSpan): Default to 10 when there is no
7106         real view.
7107         (RootView.getMinimumSpan): Forward to view and default to 10
7108         when there is no real view.
7109         (RootView.getMaximumSpan): Return Integer.MAX_VALUE.
7110         (getMaximumSize): Check for overflow.
7111         * javax/swing/text/FieldView.java
7112         (getResizeWeight): Removed unneeded assignment.
7113
7114 2006-09-01  Francis Kung  <fkung@redhat.com>
7115         * java/awt/image/ColorConvertOp.java
7116         (copyImage): Updated javadoc and comments.
7117         (copyRaster): Add javadoc.
7118         (createCompatibleColorModel): Add javadocs and comments.
7119         (createCompatibleDestImage): Use correct transfer type.
7120         (createCompatibleDestRaster): Add new parameter for transfer type.
7121         (filter): Use correct transfer type.
7122         * java/awt/image/ConvolveOp.java: Updated javadocs.
7123         (createCompatibleDestImage): Set new image properties correctly.
7124         (filter(BufferedImage, BufferedImage): Correct handling of premultiplication.
7125         (filter(WritableRaster, Raster): Clip sample values to [0-255].
7126
7127 2006-09-01  Robert Schuster  <robertschuster@fsfe.org>
7128
7129         * javax/swing/table/DefaultTableModel.java:
7130         (checkSize): Added null check for dataVector.
7131
7132 2006-09-01  Robert Schuster  <robertschuster@fsfe.org>
7133
7134         * javax/swing/plaf/basic/BasicSplitPaneUI.java:
7135         (BasicHorizontalLayout.getAlignmentX): Return fixed value.
7136         (BasicHorizontalLayout.getAlignmentY): Return fixed value.
7137
7138 2006-09-01  Robert Schuster  <robertschuster@fsfe.org>
7139
7140         * javax/swing/plaf/metal/MetalCheckBoxIcon.java:
7141         (paintIcon): Removed unused import statements, lowered cast requirement
7142         from JCheckBox to AbstractButton.
7143
7144 2006-09-01  Robert Schuster  <robertschuster@fsfe.org>
7145
7146         * javax/swing/plaf/basic/BasicLookAndFeel.java:
7147         (initComponentDefaults): Added, changed and removed some
7148         tabbed pane properties.
7149
7150 2006-09-01  Robert Schuster  <robertschuster@fsfe.org>
7151
7152         * examples/gnu/classpath/examples/swing/TabbedPaneDemo.java:
7153         (createContent): Changed menu item name and tab naming.
7154
7155 2006-09-01  Roman Kennke  <kennke@aicas.com>
7156
7157         PR 28922
7158         * javax/swing/plaf/basic/BasicHTML.java
7159         (HTMLRootView.getAttributes): Overridden to return null.
7160         (HTMLRootView.getElement): Overridden to return the view's
7161         element.
7162
7163 2006-09-01  Robert Schuster  <robertschuster@fsfe.org>
7164
7165         * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
7166         (calculateTabAreaHeight): Use getTabRunOverlay method instead
7167         of accessing variable directly.
7168         (calculateTabAreaWidth): Dito.
7169
7170 2006-08-31  Keith Seitz  <keiths@redhat.com>
7171
7172         * include/jvmti.h: Include jvmti_md.h.
7173
7174 2006-08-31  Keith Seitz  <keiths@redhat.com>
7175
7176         From Martin Platter  <motse@complang.tuwien.ac.at>:
7177         * Makefile.am (include_HEADERS): Include jvmti.h.
7178         * include/jvmti.h (jvmtiEnv) [!__cplusplus]: Add missing '*'.
7179         (jvmtiError): Remove superfluous comma after last entry.
7180         (jvmtiEvent): It's "BREAKPOINT" not "BERAKPOINT".
7181         (_Jv_jvmtiEnv.StopThread): Add missing exception parameter.
7182         (_Jv_jvmtiEnv.RawMonitorWait): Add missing millis parameter.
7183         (_Jv_jvmtiEnv.GetSourceFileName): source_name_ptr is pointer to
7184         character pointer.
7185         (_Jv_JVMTIEnv::StopThread): Add missing exception parameter.
7186         (_Jv_JVMTIEnv::RawMonitorWait): Add missing millis parameter.
7187         (_Jv_JVMTIEnv::GetSourceFileName): source_name_ptr is pointer to
7188         character pointer.
7189
7190 2006-08-31  Roman Kennke  <kennke@aicas.com>
7191
7192         * javax/swing/text/BoxView.java
7193         (getWidth): Return the width with insets added, not with one
7194         added and one removed.
7195         (getHeight): Return the height with insets added, not with one
7196         added and one removed.
7197         * javax/swing/text/GlyphView.java
7198         (DefaultGlyphPainter.viewToModel): Need to add the start offset.
7199         * javax/swing/text/ParagraphView.java
7200         (Row.getAlignment): Adjust alignment with respect to
7201         the justification attribute.
7202         (Row.getLeftInset): Overridden to adjust for firstLineIndent
7203         attribute.
7204         * javax/swing/text/html/CSS.java
7205         (getValue): Convert length values.
7206         * javax/swing/text/html/Paragraph.java
7207         (painter): New field.
7208         (paint): Implemented to delegate painting to the BoxPainter too.
7209         (setPropertiesFromAttributes): Implemented to load attributes
7210         from CSS.
7211         * javax/swing/text/html/StyleSheet.java
7212         (BoxPainter.as): Removed field.
7213         (BoxPainter.leftInset): New field.
7214         (BoxPainter.bottomInset): New field.
7215         (BoxPainter.rightInset): New field.
7216         (BoxPainter.topInset): New field.
7217         (BoxPainter.BoxPainter): Implemented to load the insets from
7218         CSS.
7219         (BoxPainter.getInset): Implemented.
7220         * gnu/javax/swing/text/html/Length.java: New class.
7221         Converts CSS length units to usable values.
7222
7223 2006-08-31  Andreas Tobler  <a.tobler@schweiz.ch>
7224
7225         * configure.ac: Add check for gethostbyname_r.
7226         Add check for MSG_NOSIGNAL and SO_NOSIGPIPE.
7227         * native/jni/native-lib/cpnet.c (SOCKET_NOSIGNAL): Define
7228         SOCKET_NOSIGNAL according to the configure check.
7229         (cpnet_send): Use SOCKET_NOSIGNAL.
7230         (cpnet_sendTo): Likewise.
7231         (cpnet_getHostByName): Use gethostbyname in case gethostbyname_r is not
7232         defined.
7233         * native/jni/native-lib/cpio.c: Define O_SYNC and O_DSYNC in case they
7234         are not available.
7235
7236         * lib/Makefile.am (cssfiles): Add new rule to install css files.
7237
7238 2006-08-31  Roman Kennke  <kennke@aicas.com>
7239
7240         * javax/swing/JEditorPane.java
7241         (getPreferredSize): Replace preferred size with minimum
7242         UI size only if the scrollable does _not_ track the viewport
7243         size and only if the viewport's size is smaller than the
7244         scrollable's size.
7245         (getScrollableTracksViewportWidth): Avoid unnecessary multiple
7246         method calls.
7247         * javax/swing/plaf/basic/BasicTextUI.java
7248         (getPreferredSize): Read-lock the document to avoid
7249         concurrency problems.
7250         (getMaximumSize): Return maximum size of the view.
7251         Read-lock the document to avoid concurrency problems.
7252         (getMinimumSize): Return minimum size of the view.
7253         Read-lock the document to avoid concurrency problems.
7254
7255 2006-08-31  Gary Benson  <gbenson@redhat.com>
7256
7257         * java/net/SocketPermission.java
7258         (maybeBracketIPv6Address): Renamed to processHostport.
7259         (processHostport): Also translate "" to "localhost".
7260         (setHostPort): Remove special cases for empty hostport and for
7261         extra colons in hostport (processHostport handles these now).
7262
7263 2006-08-31  Mark Wielaard  <mark@klomp.org>
7264
7265         * javax/swing/text/ZoneView.java (Zone): Make static class.
7266         Constructor takes axis parameter.
7267         (createZone): Create Zone with getAxis() as major axis.
7268
7269 2006-08-30  Roman Kennke  <kennke@aicas.com>
7270
7271         * javax/swing/text/ZoneView.java
7272         (loadChildren): Implemented.
7273         (getViewIndexAtPosition): Implemented.
7274         (checkZoneAt): New helper method.
7275         (splitZone): New helper method.
7276         (getPreferredZoneEnd): New helper method.
7277
7278 2006-08-30  Roman Kennke  <kennke@aicas.com>
7279
7280         * javax/swing/text/ZoneView.java: New class.
7281
7282 2006-08-30  Roman Kennke  <kennke@aicas.com>
7283
7284         * javax/swing/JMenu.java
7285         (getMenu): Removed unneeded cast.
7286         (getPopupMenuOrigin): Made positioning algorithm better respect
7287         the screen bounds.
7288         (setMenuLocation): Also set the location on the popup if it's
7289         not null.
7290         (setModel): Use menuChangeListener so that we don't override
7291         the changeListener field from AbstractButton.
7292         (setPopupMenuVisible): Use custom location if set, otherwise
7293         fallback to getPopupMenuOrigin().
7294
7295 2006-08-29  Roman Kennke  <kennke@aicas.com>
7296
7297         * javax/swing/text/InternationalFormatter.java
7298         (stringToValue): Fixed bounds check.
7299         * javax/swing/text/MaskFormatter.java
7300         (MaskFormatter): Don't explicitly set allosInvalid property.
7301         (convertStringToValue): New helper method.
7302         (convertValueToString): New helper method.
7303         (convertValue): Removed. Replaced by the 2 convert* methods
7304         above.
7305         (getPadCharAt): Removed.
7306         (isCharValid): Removed.
7307         (pad): Removed.
7308         (stringToValue): Fixed stringToValue conversion.
7309         (stripLiterals): Removed.
7310         (valueToString): Fixed valueToString conversion.
7311         * javax/swing/text/DefaultFormatter.java
7312         (DefaultFormatter): Default to commitsOnValidEdit = false.
7313
7314 2006-08-29  Roman Kennke  <kennke@aicas.com>
7315
7316         * javax/swing/text/TextAction.java
7317         (getTextComponent): Check event for null and return null in
7318         this case.
7319         (augmentList): Augment Actions based on their names.
7320         * javax/swing/text/DefaultEditorKit.java
7321         (BeginAction.actionPerformed): Check target for null.
7322         (BeginLineAction.actionPerformed): Check target for null.
7323         (CopyAction.actionPerformed): Check target for null.
7324         (CutAction.actionPerformed): Check target for null.
7325         (EndAction.actionPerformed): Check target for null.
7326         (EndLineAction.actionPerformed): Check target for null.
7327         (InsertBreakAction.actionPerformed): Check target for null.
7328         (InsertTabAction.actionPerformed): Check target for null.
7329         (PasteAction.actionPerformed): Check target for null.
7330         (SelectAllAction.actionPerformed): Check target for null.
7331         (SelectionBeginAction.actionPerformed): Check target for null.
7332         (SelectionBeginLineAction.actionPerformed): Check target for null.
7333         (SelectionEndAction.actionPerformed): Check target for null.
7334         (SelectionEndLineAction.actionPerformed): Check target for null.
7335         (SelectLineAction.actionPerformed): Check target for null.
7336         (SelectWordAction.actionPerformed): Check target for null.
7337
7338 2006-08-29  Roman Kennke  <kennke@aicas.com>
7339
7340         * javax/swing/plaf/basic/BasicTextUI.java
7341         (FocusHandler): New class. This is moved from the anonymous
7342         inner focus listener class to a static member class, and
7343         is now shared between components.
7344         (DocumentHandler): This class is combined with the PropertyHandler
7345         into the Handler class.
7346         (PropertyChangeHandler): This class is combined with the
7347         DocumentHandler into the Handler class.
7348         (Handler): New class. This combines the Property and Document
7349         handler into one class.
7350         (RootView.changedUpdate): Only forward if real view != null.
7351         (RootView.insertUpdate): Only forward if real view != null.
7352         (RootView.removeUpdate): Only forward if real view != null.
7353         (documentHandler): Removed field and replaced by handler.
7354         (focuslistener): Made field static and renamed to focusListener.
7355         (handler): New field.
7356         (kit): Lazily initialize field.
7357         (rootView): Lazily initialize field.
7358         (updateHandler): Removed and replaced by handler.
7359         (getEditorKit): Lazily instantiate field.
7360         (installDefaults): Don't set margin twice. Install correct
7361         property for disabledTextColor. Moved caret and highlighter
7362         initialization to installFixedDefaults.
7363         (installFixedDefaults): New method. Installs defaults that
7364         can't be overridden by subclasses.
7365         (installListeners): Only install focus handler when new
7366         system property gnu.swing.text.no-xlike-clipboard is not set.
7367         Lazily initialize focus handler.
7368         (installUI): Lazily initialize rootView. Install handler
7369         both for property and document changes.
7370         (uninstallDefaults): Uninstall the UI defaults.
7371         (uninstallFixedDefaults): New method. Uninstalls the fixed
7372         defaults.
7373         (installListeners): Only uninstall focus handler when not null.
7374         (uninstallUI): Uninstall property and document listener here.
7375
7376 2006-08-29  Gary Benson  <gbenson@redhat.com>
7377
7378         * java/net/SocketPermission.java
7379         (maybeBracketIPv6Address): New method.
7380         (<init>): Pass the hostport argument through the above.
7381
7382         * java/net/NetworkInterface.java (getInetAddresses):
7383         Don't bracket IPv6 addresses.
7384
7385 2006-08-28  Roman Kennke  <kennke@aicas.com>
7386
7387         * javax/swing/text/BoxView.java
7388         (calculateMinorAxisRequirements): Initialize max size
7389         with Integer.MAX_VALUE.
7390         * javax/swing/text/Utilities.java
7391         (getBreakLocation): For simple chars, scan the text directly.
7392         * javax/swing/text/WrappedPlainView.java
7393         (tabBase): New field.
7394         (tabSize): New field.
7395         (calculateBreakPosition): Use Utilities. Fixed for correct
7396         break calculation.
7397         (changedUpdate): Update children directly.
7398         (insertUpdate): Update children directly. Notify children.
7399         (removeUpdate): Update children directly. Notify children.
7400         (updateChildren): New helper method.
7401         (nextTabStop): Fixed to return correct results.
7402         (paint): Update tabBase.
7403         (updateMetrics): Update tab size.
7404
7405 2006-08-28  Roman Kennke  <kennke@aicas.com>
7406
7407         * javax/swing/text/Position.java
7408         (Bias.Forward): Initialize with 'Forward' rather then 'forward'.
7409         (Bias.Backward): Initialize with 'Backward' rather then 'backward'.
7410
7411 2006-08-28  Roman Kennke  <kennke@aicas.com>
7412
7413         * javax/swing/text/View.java
7414         (height): Removed unneeded field.
7415         (width): Removed unneeded field.
7416         (getBreakWeight): Return GoodBreakWeight when pos is after
7417         the view's span.
7418         (getToolTipText): Check view index more carefully. Avoid
7419         Rectangle creation.
7420         (insertUpdate): Only execute method body if view count > 0.
7421         When updateChildren returns false, clear the ec variable.
7422         (updateChildren): Added null checks.
7423         (viewToModel): Initialize bias array correctly.
7424         * javax/swing/text/CompositeView.java
7425         (children): Made private.
7426         (numChildren): New field.
7427         (loadChildren): Check factory for null. Don't load children
7428         when factory is null.
7429         (replace): Removed null check. Nullify removed children. Made
7430         growing the array more efficient.
7431         (getViewCount): Return numChildren rather then the real array
7432         size.
7433         * javax/swing/text/BoxView.java
7434         (getViewAtPoint): Fixed algorithm for finding the view.
7435         (replace): Made array growing more efficient.
7436         (replaceLayoutArray): New helper method for growing/patching
7437         the layout arrays.
7438         (viewToModel): Make sure we have a valid layout.
7439
7440 2006-08-28  Tania Bento  <tbento@redhat.com>
7441
7442         * java/awt/MenuShortcut.java
7443         (MenuShortcut (int, boolean)): Set keyName.
7444         (toString): Modified string output.
7445         (setKeyName): New private method.
7446
7447 2006-08-28  Roman Kennke  <kennke@aicas.com>
7448
7449         * javax/swing/text/GapContent.java
7450         (Mark.getOffset): Made assert less strict, include boundary.
7451         (search): Made package private to avoid accessor method.
7452
7453 2006-08-28  Roman Kennke  <kennke@aicas.com>
7454
7455         * javax/swing/text/StringContent.java
7456         (InsertUndo.positions): New field.
7457         (InsertUndo.redo): Update the undo positions.
7458         (InsertUndo.undo): Fetch the undo positions.
7459         (Mark): New class. Layer of indirection to allow Positions
7460         to be GC'ed while we still hold references to the Mark.
7461         (RemoveUndo.len): New field.
7462         (RemoveUndo.positions): New field.
7463         (RemoveUndo.RemoveUndo): Fetch undo positions.
7464         (RemoveUndo.redo): Re-fetch positions and string.
7465         (RemoveUndo.undo): Update undo positions.
7466         (StickyPosition.mark): New field.
7467         (StickyPosition.offset): Removed field.
7468         (StickyPosition.StickyPosition): Create new Mark. Register
7469         Position in queueOfDeath. Update reference count on mark.
7470         (StickyPosition.getOffset): Return offset stored in mark.
7471         (StickyPosition.setOffset): Removed unneeded method.
7472         (UndoPosRef): New class. Handles undo/redo on positions/marks.
7473         (EMPTY): New field.
7474         (marks): New field. Stores the marks.
7475         (positions): Removed field.
7476         (queueOfDeath): New field. Used for GCing the positions.
7477         (StringContent): Initialize queueOfDeath.
7478         (createPosition): Lazily create marks vector.
7479         (garbageCollect): New helper method. Collects positions
7480         to be GCed and updates their marks.
7481         (getChars): Fixed bounds check.
7482         (getPositionsInRange): When v == null, create new Vector,
7483         otherwise use v. Store UndoPosRefs in vector.
7484         (getString): Added comment about bug in RI.
7485         (insertString): Use new helper method for replacing the array.
7486         Correctly update positions.
7487         (length): Removed this qualifier.
7488         (remove): Use new helper method for replacing the array.
7489         Correctly update positions.
7490         (replace): New helper method for growing or patching the array.
7491         (updateUndoPositions): Implemented. Updates the positions
7492         for undo/redo operations.
7493
7494 2006-08-27  Roman Kennke  <kennke@aicas.com>
7495
7496         * javax/swing/text/StyleContext.java
7497         (NamedStyle.attributes): Made field transient.
7498         (NamedStyle.changeEvent): Made field transient.
7499         (NamedStyle.name): Removed field. The name is stored as
7500         attribute.
7501         (NamedStyle.NamedStyle(String,Style)): Call setName() for
7502         storing the name and check for null name and resolveParent.
7503         Don't initialize changeEvent.
7504         (NamedStyle.copyAttributes): Return a new NamedStyle,
7505         rather than a plain copy of the attributes field.
7506         (NamedStyle.fireStateChange): Lazily create changeEvent
7507         field.
7508         (NamedStyle.getName): Fetch name from attributes.
7509         (NamedStyle.setName): Store name from attributes.
7510         (NamedStyle.readObject): Implemented for correct
7511         deserialization.
7512         (NamedStyle.writeObject): Implemented for correct
7513         serialization.
7514         (NamedStyle.setResolveParent): When new parent is null,
7515         remove resolveParent attribute. Use addAttribute() method
7516         rather than StyleContext addAttribute().
7517         (NamedStyle.toString): Fixed to produce output equal to the
7518         RI.
7519         (SmallAttributeSet.resolveParent): New field.
7520         (SmallAttributeSet.SmallAttributeSet(AttributeSet)): Update
7521         the resolveParent field correctly.
7522         (SmallAttributeSet.SmallAttributeSet(Object[])): Don't copy
7523         array but store it directly. Update
7524         the resolveParent field correctly.
7525         (SmallAttributeSet.clone): Return this as the object is
7526         immutable.
7527         (SmallAttributeSet.containsAttributes): Make sure that keys
7528         and values are the same.
7529         (SmallAttributeSet.containsAttribute):  Make sure that keys
7530         and values are the same.
7531         (SmallAttributeSet.copyAttributes): Return this as the object is
7532         immutable.
7533         (SmallAttributeSet.equals): Fixed comparison. Two AttributeSet
7534         are equal if they have the same number of attributes and
7535         one contains the other.
7536         (SmallAttributeSet.getAttribute): Improved lookup of
7537         resolveParent.
7538         (SmallAttributeSet.getResolveParent): Improved lookup of
7539         resolveParent.
7540         (SmallAttributeSet.isEqual): When comparing object is a
7541         SmallAttributeSet, consider them equal only if they are the
7542         same object.
7543         (SmallAttributeSet.toString): Fixed to produce output equal to the
7544         RI.
7545         (attributeSetPool): New field.
7546         (defaultStyleContext): Initialize lazily.
7547         (defaultStyle): Removed field. This is stored in the style context
7548         as attribute.
7549         (listenerList): Removed field. The NamedStyle stores the
7550         listeners.
7551         (readAttributeKeys): New static field. Used for looking up
7552         the serialization mappings when reading.
7553         (search): New field. Used as search key.
7554         (staticAttributeKeys): Replaced by read/writeAttributeKeys.
7555         (styles): New field. Stores the styles and listeners.
7556         (styleTable): Removed field. Replaced by styles field.
7557         (writeAttributeKeys): New static field. Used for looking up
7558         the serialization mappings when writing.
7559         (static_initializer): Register mappings for all keys in
7560         StyleConstants.
7561         (StyleContext): Initialize styles correctly.
7562         (addAttributes): Fixed caching of immutable attributes.
7563         (addAttribute): Fixed caching of immutable attributes.
7564         (removeAttributes): Fixed caching of immutable attributes.
7565         (removeAttribute): Fixed caching of immutable attributes.
7566         (addChangeListener): Add listener to styles field.
7567         (removeChangeListener): Remove listener from styles field.
7568         (getChangeListeners): Fetch listeners from styles field.
7569         (addStyle): Add style to styles field.
7570         (cleanupPool): New method.
7571         (getDefaultStyleContext): Lazily create context.
7572         (getEmptySet): Simply return SimpleAttributeSet.EMPTY.
7573         (getMutableAttributeSet): New helper method. Used for
7574         caching.
7575         (getStaticAttribute): Fetch key from readAttributeKeys.
7576         (getStyleNames): Return names from styles field.
7577         (getStyle): Lookup style in styles field.
7578         (removeStyle): Remove style from styles field.
7579         (readAttributeSet): Fixed deserialization.
7580         (writeAttributeSet): Fixed serialization.
7581         (readObject): Fixed deserialization.
7582         (writeObject): Fixed serialization.
7583         (reclaim): Simply cleanup the pool.
7584         (registerStaticAttributeKey): Store mapping in both ways.
7585         (searchImmutableSet): New helper method for caching.
7586         (toString): Fixed for output like the RI.
7587         * javax/swing/text/StyleConstants.java
7588         (keys): New field. Stores all known keys.
7589         (StyleConstants): Store created key in keys list.
7590         * javax/swing/event/EventListenerList.java
7591         (readObject): Fixed deserialization.
7592         (writeObject): Fixed serialization.
7593
7594 2006-08-25  Roman Kennke  <kennke@aicas.com>
7595
7596         * javax/swing/text/CompositeView.java
7597         (insets): Removed. Replaced by single short fields.
7598         (top): New field. Replaces insets.
7599         (bottom): New field. Replaces insets.
7600         (left): New field. Replaces insets.
7601         (right): New field. Replaces insets.
7602         (CompositeView): Initialize insets fields.
7603         (createDefaultLocation): Removed unneeded method.
7604         (getBottomInset): Return field directly.
7605         (getTopInset): Return field directly.
7606         (getLeftInset): Return field directly.
7607         (getRightInset): Return field directly.
7608         (getInsideAllocation): Adjusted to work on new insets fields.
7609         (getViewIndex): Fixed check.
7610         (loadChildren): Don't replace the old children.
7611         (replace): Make sure that there is an array to operate on.
7612         Only set parent to null, when it is this View.
7613         (setInsets): Adjusted to work with new insets fields.
7614         (setParagraphInsets): Fixed to pull insets directly from
7615         StyleConstants.
7616
7617 2006-08-25  Roman Kennke  <kennke@aicas.com>
7618
7619         * javax/swing/text/ComponentView.java
7620         (Interceptor): New inner helper class. Used to propagate
7621         invalidate requests and cache component layout sizes.
7622         (interceptor): New field.
7623         (getAlignment): Fetch alignment from interceptor container.
7624         (getComponent): Don't create component here. This is done
7625         in setParent().
7626         (getMaximumSpan): Fetch layout info from interceptor. Check
7627         for illegal axis.
7628         (getMinimumSpan): Fetch layout info from interceptor. Check
7629         for illegal axis.
7630         (getPreferredSpan): Fetch layout info from interceptor. Check
7631         for illegal axis.
7632         (modelToView): Fixed model to view mapping.
7633         (viewToModel): Fixed view to model mapping.
7634         (paint): Check for null. Set bounds on interceptor rather
7635         then component.
7636         (setParentImpl): Install interceptor between component
7637         and hosting container.
7638         (setParent): Call super.setParent() immediately.
7639
7640 2006-08-25  Roman Kennke  <kennke@aicas.com>
7641
7642         * javax/swing/text/LabelView.java
7643         (setPropertiesFromAttributes): Only set background when
7644         the corresponding attribute is actually defined, otherwise
7645         set to null, as the StyleConstants would return black.
7646         * javax/swing/text/DefaultStyledDocument.java
7647         (ElementBuffer.documentEvent): Removed obsolete field.
7648         (ElementBuffer.change): Do prepareEdits() and finishEdits()
7649         to correctly update the element structure.
7650         (ElementBuffer.insertContentTag): Removed unused statement.
7651         (ElementBuffer.recreateAfterFracture): Removed
7652         unused obsolete method.
7653         (setCharacterAttributes): Removed unused statement.
7654
7655 2006-08-25  Roman Kennke  <kennke@aicas.com>
7656
7657         * examples/gnu/classpath/examples/swing/Demo.java
7658         (LaterMain.run): Removed unused local variable.
7659         (Demo): Don't put desktop in scrollpane.
7660         (addChildren): Removed unused method.
7661         (mkButtonBar): Added HTML demo.
7662         (mkMenuBar): Added HTML demo.
7663         (mkPanel): Removed unused method.
7664         (mkScrollPane): Removed unused method.
7665         (mkTree): Removed unused method.
7666         (valign2str): Removed unused method.
7667         * examples/gnu/classpath/examples/swing/HtmlDemo.java:
7668         Initialize text field with some HTML that already works.
7669         (DEBUG): New field. Set to true for debugging output.
7670         (createContent): Dump element tree after parsing.
7671
7672 2006-08-25  Roman Kennke  <kennke@aicas.com>
7673
7674         * javax/swing/text/html/CSS.java
7675         (getValue): Added color value conversion.
7676         * javax/swing/text/html/HTMLDocument.java
7677         (HTMLReader.ConvertAction): New class, converts HTML style tags
7678         to CSS attributes.
7679         (HTMLReader.initTags): Register ConvertAction for <font> tag.
7680         * javax/swing/text/html/InlineView.java
7681         (setPropertiesFromAttributes): Implemented to fetch
7682         CSS character attributes.
7683         * javax/swing/text/html/StyleSheet.java
7684         (addCSSAttribute): Convert value.
7685         (getBackground): Implemented to fetch CSS background color
7686         attribute.
7687         (getForeground): Implemented to fetch CSS color
7688         attribute.
7689         (getFont): Adjust font size for superscript and subscript.
7690         (translateHTMLToCSS): Rudimentary implementation that
7691         copies the original attributes, so that any CSS attributes in
7692         there are preserved.
7693         (stringToColor): Use CSSColor for conversion.
7694         * gnu/javax/swing/text/html/css/CSSColor.java:
7695         New class. Converts CSS color values to RGB color values.
7696         * gnu/javax/swing/text/html/CharacterAttributeTranslator.java:
7697         Removed. This is more or less replaced by CSSColor and the
7698         ConvertAction in HTMLReader.
7699
7700 2006-08-25  Roman Kennke  <kennke@aicas.com>
7701
7702         * javax/swing/text/BoxView.java
7703         (childReqs): Removed obsolete field.
7704         (baselineLayout): Reimplemented for correct baseline layout.
7705         (baselineRequirements): Reimplemented for correct baseline
7706         layout.
7707         (updateChildRequirements): Removed obsolete method.
7708         * javax/swing/text/GlyphView.java
7709         (DefaultGlyphPainter.getSpan): Removed unused statement.
7710         (DefaultGlyphPainter.paint): Dont paint subscript/superscript
7711         specially. The subscript/superscript layout is performed
7712         via the alignment, the font is supplied by the StyleContext.
7713         (breakView): Removed unused statements.
7714         (getAlignment): Adjust alignment according to the
7715         superscript/subscript setting.
7716         (getFont): Reimplemented to fetch the font from the style
7717         context, or from the document if the stylecontext is not
7718         available.
7719         (getPreferredSpan): Adjust span for superscript. Use switch
7720         instead of if-else.
7721         * javax/swing/text/LabelView.java
7722         (setPropertiesFromAttributes): Fetch background and foreground
7723         from document / style context.
7724         (isSubscript): Resync properties if needed.
7725         * javax/swing/text/ParagraphView.java
7726         (Row.calculateMinorAxisRequirements): Overridden to perform
7727         a baseline layout.
7728         (Row.layoutMinorAxis): Overridden to perform a baseline layout.
7729
7730 2006-08-24  Roman Kennke  <kennke@aicas.com>
7731
7732         * javax/swing/text/Utilities.java
7733         (BUF_LENGTH): Removed unused field.
7734         (drawTabbedText): Removed unneeded cast.
7735         (getBreakLocation): Removed unneeded cast.
7736         Fixed offset to account for Segments not starting at 0.
7737
7738 2006-08-24  Roman Kennke  <kennke@aicas.com>
7739
7740         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
7741         (TabbedPaneLayout.normalizeTabRuns): Removed unused statement.
7742         (TabbedPaneScrollLayout.layoutContainer): Likewise.
7743         (ScrollingPane.updateUI): Likewise.
7744         (calculateTabWidth): Rewritten to correctly and efficiently
7745         layout the tab width.
7746         (layoutLabel): Call SwingUtilities method with the tabPane
7747         as argument.
7748         (paintContentBorderLeftEdge): Removed unused statement.
7749         (paintContentBorderRightEdge): Removed unused statement.
7750         (paintContentBorder): Removed unused statement.
7751
7752 2006-08-24  Roman Kennke  <kennke@aicas.com>
7753
7754         * javax/swing/plaf/basic/BasicTextUI.java
7755         (RootView.getAttributes): Overridden to return null,
7756         as the RootView has no parent.
7757
7758 2006-08-24  Roman Kennke  <kennke@aicas.com>
7759
7760         * javax/swing/text/html/CSSParser.java: Removed.
7761         * javax/swing/text/html/CSS.java
7762         (getValue): New helper method. Returns special converter
7763         instances for certain kinds of property values.
7764         * javax/swing/text/html/HTMLDocument.java
7765         (HTMLReader.CharacterAction.start): Don't translate tags
7766         here. Instead, store the attributes directly with the tag
7767         as key.
7768         (content): Removed field. The Content object is handled
7769         by AbstractDocument.
7770         (styleSheet): Removed field. The styleSheet is the styleContext
7771         of this document and handled by the DefaultStyledDocument already.
7772         (HTMLDocument(Content,StyleSheet): Simply call super here.
7773         The super classes already handle the content and styleContext.
7774         (HTMLDocument()): Call this() with a default GapContent and
7775         StyleSheet.
7776         (getStyleSheet): Return the styleContext here.
7777         (insertUpdate): New method. Overridden to add the
7778         CONTENT dummy tag to the element's attributes.
7779         (setBase): Set the base on the styleContext.
7780         * javax/swing/text/html/HTMLEditorKit.java
7781         (styleContext): Removed unneeded field.
7782         (styleSheet): Made field private.
7783         (HTMLEditorKit): Do nothing here. The StyleSheet is
7784         created lazily in getStyleSheet(). A styleContext is not
7785         needed here.
7786         (getStyleSheet): Create StyleSheet correctly.
7787         (insertHTML): Removed unneeded cast.
7788         * javax/swing/text/html/InlineView.java
7789         (attributes): New field.
7790         (changedUpdate): Reload attributes. Trigger preferenceChanged.
7791         (getAttributes): Implemented to fetch the attributes from
7792         the stylesheet.
7793         * javax/swing/text/html/MultiAttributeSet.java: New class.
7794         Multiplexes between several AttributeSets.
7795         * javax/swing/text/html/MultiStyle.java: New class.
7796         Multiplexes between several Styles.
7797         * javax/swing/text/html/ParagraphView.java
7798         (attributes): New field.
7799         (getAttributes): Implemented to fetch the attributes from
7800         the stylesheet.
7801         * javax/swing/text/html/StyleSheet.java
7802         (CssParser): Removed inner class.
7803         (CSSStyle): New inner class. Represents a style defined
7804         by a CSS rule.
7805         (CSSStyleSheetParserCallback): New class, for parsing
7806         CSS stylesheets.
7807         (css): New field. Stores the CSS rules.
7808         (resolvedStyles): New field. Stores resolved styles.
7809         (StyleSheet): Initialize resolvedStyles map.
7810         (addRule): Removed bogus impl.
7811         (getFont): Implemented to fetch font, based on CSS rules.
7812         (getResolvedStyle): New helper method. Looks up resolved
7813         styles, and resolves a style if necessary.
7814         (resolveStyle): New pair of helper methods. Resolves
7815         CSS style rules.
7816         (getRule(String)): Provide rudimentary implementation.
7817         (getRule(Tag,Element)): Implemented.
7818         (getViewAttributes): Implemented.
7819         (loadRules): Implemented.
7820         (translateHTMLToCSS): Tagged as not implemented.
7821         * javax/swing/text/html/ViewAttributeSet.java: New class.
7822
7823 2006-08-24  Roman Kennke  <kennke@aicas.com>
7824
7825         * javax/swing/text/FlowView.java:
7826         (LogicalView.getAttributes): New method. Overrides super
7827         impl to return the attributes of the FlowView instance.
7828         * javax/swing/text/LabelView.java:
7829         (setPropertiesFromAttributes): Fetch attributes from
7830         View, rather then from the Element. (In the HTML
7831         package the getAttributes() method is overridden to
7832         return different attributes). Fetch font from the StyledDocument.
7833
7834 2006-08-24  Roman Kennke  <kennke@aicas.com>
7835
7836         * javax/swing/text/DefaultEditorKit.java:
7837         (DefaultKeyTypedAction.actionPerform): Also filter
7838         ALT and CTRL modifiers.
7839
7840 2006-08-24  Roman Kennke  <kennke@aicas.com>
7841
7842         * gnu/javax/swing/text/html/css/FontSize.java,
7843         * gnu/javax/swing/text/html/css/FontStyle.java,
7844         * gnu/javax/swing/text/html/css/FontWeight.java:
7845         New classes. Used to convert CSS font attributes to AWT/Swing
7846         Font constants.
7847
7848 2006-08-24  Francis Kung  <fkung@redhat.com>
7849         * gnu/java/awt/color/PyccConverter.java: Throw UnsupportedOperationExceptions.
7850         * java/awt/image/ColorConvertOp.java: Updated javadocs.
7851         (srccs, dstcs, rasterValid): Variables removed.
7852         (ColorConvertOp(RenderingHints)): Initialize spaces to empty array.
7853         (copyRaster): Check for null rendering hints
7854         (createCompatibleColorModel): New private method.
7855         (createCompatibleDestImage): Re-implemented.
7856         (createCompatibleDestRaster(Raster, ColorSpace, boolean)): New private method.
7857         (createCompatibleDestRaster(Raster)): Re-implemented.
7858         (filter(BufferedImage, BufferedImage)): Add checks; fix temp image creation.
7859         (filter(Raster, WritableRaster)): Add checks; fix temp raster creation.
7860         (getPoint2D): Clean up formatting.
7861         * java/awt/image/ComponentColorModel.java
7862         (constructor): use findBits method instead of passing null.
7863         (findBits): New method.
7864
7865 2006-08-24  Gary Benson  <gbenson@redhat.com>
7866
7867         * java/net/NetworkInterface.java (getInetAddresses): Bracket IPv6
7868         addresses.
7869
7870 2006-08-24  Jeroen Frijters  <jeroen@frijters.net>
7871
7872         * java/lang/ref/Reference.java
7873         (queue, nextOnQueue): Made volatile.
7874         (enqueue): Made thread safe.
7875         * java/lang/ref/ReferenceQueue.java
7876         (lock): New field.
7877         (poll): Removed synchronized.
7878         (enqueue): Changed to synchronize on lock object, to update Reference
7879         state and return success status.
7880         (dequeue, remove): Synchronize on lock object.
7881
7882 2006-08-24  Jeroen Frijters  <jeroen@frijters.net>
7883
7884         * java/security/SecureClassLoader.java
7885         (protectionDomainCache): Changed to HashMap.
7886         (SecureClassLoader): Removed redundant security check.
7887         (defineClass(String,byte[],int,int,CodeSource): Moved
7888         protection domain lookup/construction to new method.
7889         (defineClass(String,ByteBuffer,CodeSource): New method.
7890         (getProtectionDomain): New method.
7891
7892 2006-08-23  Roman Kennke  <kennke@aicas.com>
7893
7894         * javax/swing/JComponent.java
7895         (isRepainting): Made package private.
7896         (paintChild): New field.
7897         (findOpaqueParent): Removed method. This is now in
7898         paintImmediately().
7899         (findOverlapFreeParent): Removed method. This is now
7900         in paintImmediately2().
7901         (findPaintRoot): Removed method. This is now
7902         in paintImmediately2().
7903         (isCompletelyObscured): Changed to take rectangle as single
7904         ints as argument.
7905         (isPaintingDoubleBuffered): Removed method. This is now
7906         in paintImmediately2().
7907         (isPartiallyObscured): New helper method.
7908         (onTop): New helper method for optimization.
7909         (paintChildren): Paint only to specific child when
7910         requested like this from paintImmediately2().
7911         (paintDoubleBuffered): Changed to take rectangle as single int
7912         arguments.
7913         (paintImmediately2): Changed to take rectangle as single int
7914         arguments. Optimized determination of paint root.
7915         (paintImmediately(Rectangle)): Change to delegate to
7916         paintImmediately(int,int,int,int).
7917         (paintImmediately(int,int,int,int)): Look for opaque ancestor
7918         and start painting there.
7919         (paint): Call paintDoubleBuffered() with int arguments. Only
7920         paint component, when not completely occupied by opaque child.
7921         (processKeyBinding): Removed unnecessary cast.
7922         (isOccupiedByChild): New helper method.
7923         * javax/swing/RepaintManager.java
7924         (repaintUnderway): Removed obsolete field.
7925         (commitRequests): Removed obsolete field.
7926         (RepaintManager): Removed initialization of obsolete fields.
7927         (addDirtyRegion): Removed unused statement.
7928         (commitBuffer): Changed to take plain ints as argument.
7929         (compileRepaintRoots): Optimized to avoid use of Rectangle.
7930         Compute offsets in place, rather than using SwingUtilities.
7931         (paintDirtyRegions): Removed unused field.
7932         * javax/swing/JMenuItem.java
7933         (onTop): Return true when not descendant of JInternalFrame.
7934         * javax/swing/JPopupMenu.java
7935         (onTop): Return true.
7936         * javax/swing/JToolTip.java
7937         (onTop): Return true.
7938         * javax/swing/JViewport.java
7939         (paintImmediately2): Change signature to match the
7940         corresponding JComponent method.
7941
7942 2006-08-23  Tania Bento  <tbento@redhat.com>
7943
7944         * java/awt/Color.java
7945         (brighter): Modified algorithm to correctly determine the
7946         new brighter colour.
7947
7948 2006-08-23  Roman Kennke  <kennke@aicas.com>
7949
7950         * java/awt/Container.java
7951         (maxSize): Removed field. This is already declared in Component.
7952         (validateTree): Check for ContainerPeer. Don't addNotify here.
7953         Only validate Component instances if they are invalid.
7954
7955 2006-08-22  Roman Kennke  <kennke@aicas.com>
7956
7957         * javax/swing/JComponent.java
7958         (preferredSize): Removed field.
7959         (maximumSize): Removed field.
7960         (minimumSize): Removed field.
7961         (getMaximumSize): Adjusted to delegate to Component, rather
7962         then managing the size in JComponent.
7963         (getMinimumSize): Adjusted to delegate to Component, rather
7964         then managing the size in JComponent.
7965         (getPreferredSize): Adjusted to delegate to Component, rather
7966         then managing the size in JComponent.
7967         (isMaximumSizeSet): Removed.
7968         (isMinimumSizeSet): Removed.
7969         (isPreferredSizeSet): Removed.
7970         (setMaximumSize): Removed.
7971         (setMinimumSize): Removed
7972         (setPreferredSize): Removed.
7973
7974 2006-08-22  Roman Kennke  <kennke@aicas.com>
7975
7976         * javax/swing/AbstractButton.java
7977         (ButtonChangeListener.stateChanged): Delegate to combined
7978         handler.
7979         (EventHandler): New inner class. Handles all three types
7980         of events on the model.
7981         (eventHandler): New field. Stores the combined event
7982         handler.
7983         (AbstractButton): Moved listener initialization to
7984         setModel().
7985         (createActionListener): Return combined handler.
7986         (createChangeListener): Return combined handler.
7987         (createItemListener): Return combined handler.
7988         (getEventHandler): New helper method for creating the combined
7989         handler.
7990         (setModel): Initialize listeners here.
7991         * javax/swing/plaf/basic/BasicButtonListener.java
7992         (ButtonAction): New class. Implements the keyboard action
7993         for buttons.
7994         (checkOpacity): Implemented.
7995         (createDefaultActionMap): New helper method.
7996         (installKeyboardActions): Rewritten to install InputMap
7997         and ActionMap according to 'new' keyboard input method.
7998         (mouseClicked): Commented as no-op.
7999         (mouseDragged): Commented as no-op.
8000         (mouseMoved): Commented as no-op.
8001         (propertyChange): Check for contentAreaFilled change and
8002         update opacity. Pull handling of HTLM in font and text handler.
8003         (stateChanged): Repaint button.
8004         (uninstallKeyboardActions): Properly uninstall keyboard actions.
8005         * javax/swing/plaf/basic/BasicButtonUI.java
8006         (listener): Removed.
8007         (sharedListener): New static field. Stores the shared listener.
8008         (sharedUI): New static field. Stores the shared UI.
8009         (createButtonListener): Return shared instance here.
8010         (createUI): Return shared instance here.
8011         (getButtonListener): New helper method. Looks for the
8012         BasicButtonListener installed on a button and returns it.
8013         (installDefaults): Correctly install rollover property here.
8014         Fetch defaultTextShiftOffset. Initialize opaqueness correctly.
8015         (installKeyboardActions): Fetch listener with new helper method.
8016         (installListeners): Don't use removed field. Check for null.
8017         (installUI): Added comment about order of method invocations.
8018         (uninstallDefaults): Don't uninstall non-uninstallable properties.
8019         (uninstallKeyboardActions): Fetch listener with new helper method.
8020         (uninstallListeners): Fetch listener with new helper method.
8021         (paintIcon): Paint icon offset when pressed and armed.
8022         * javax/swing/plaf/metal/MetalButtonListener.java: Removed.
8023         * javax/swing/plaf/metal/MetalButtonUI.java
8024         (sharedUI): New field. Stores the shared UI.
8025         (MetalButtonUI): Don't initialize fields here.
8026         (createButtonListener): Removed method. Use super impl.
8027         (createUI): Return shared instance.
8028         (getDisabledTextColor): Update field here.
8029         (getFocusColor): Update field here.
8030         (getSelectColor): Update field here.
8031         (installDefaults): Don't handle rollover property here.
8032         (uninstallDefaults): Don't handle rollover property here.
8033         (paintButtonPressed): Use accessor method to update the
8034         field value.
8035
8036 2006-08-21  Mark Wielaard  <mark@klomp.org>
8037
8038         Merge NATIVE_LAYER branch.
8039
8040         2006-08-20  Mark Wielaard  <mark@klomp.org>
8041
8042         * doc/tools.texinfo: Add file from trunk.
8043         * native/jni/Makefile.am (DIST_SUBDIRS): Add native-lib.
8044         * native/jni/java-io/java_io_VMFile.c: Include lstat and readlink
8045         headers.
8046         * native/jni/java-lang/java_lang_VMProcess.c
8047         (Java_java_lang_VMProcess_nativeSpawn): Remove redirect argument.
8048         * native/jni/java-net/java_net_VMInetAddress.c
8049         (Java_java_net_VMInetAddress_getHostByName): Remove unused variable.
8050         * native/jni/native-lib/Makefile.am: Remove empty and nonexisting
8051         files.
8052         * native/jni/native-lib/cpio.c (cpio_setFileReadonly): Use correct
8053         mask.
8054         * native/jni/native-lib/cpnet.c (cpnet_connect): Removed unused
8055         theaddr.
8056         * native/jni/native-lib/cpnet.h (cpnet_freeAddresses): Moved from
8057         cpnet.h.
8058         * native/jni/native-lib/cpnet.h (cpnet_freeAddresses): Declare,
8059         don't implement.
8060         * vm/reference/java/lang/VMProcess.java: Removed unused redirect
8061         argument.
8062         * include/java_lang_VMProcess.h: Regenerated.
8063
8064         2006-07-09  Guilhem Lavaux  <guilhem@kaffe.org>
8065
8066         * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c
8067         (nativeReceive): Fixed the type of the arrays (use java types).
8068         (nativeSendTo): Force throwing an exception if port is 0.
8069
8070         * native/jni/java-net/javanet.c:
8071         (_javanet_accept): Throw SocketTimeoutException if ETIMEDOUT is
8072         returned.
8073         (_javanet_recvfrom): Likewise.
8074         (_javanet_sendto): Throw a NullPointerException if the socket is
8075         not connected and no address is given.
8076         
8077         * native/jni/java-net/javanet.h
8078         (NULL_EXCEPTION): Defined.
8079
8080         2006-06-16  Guilhem Lavaux  <guilhem@kaffe.org>
8081
8082         * native/jni/java-net/java_net_VMInetAddress.c
8083         (Java_java_net_VMInetAddress_getHostByName): Fix detection of
8084         error.
8085
8086         * native/jni/java-net/javanet.c
8087         (_javanet_accept): Fixed bogus call to TARGET.
8088         (_javanet_create_inetaddress): Fixed address generation. Fixed
8089         bogus memory free.
8090         (_javanet_bind): set "Reuse address" flag.
8091
8092         * native/jni/native-lib/cpio.c
8093         (cpio_getModificationTime): Fixed type.
8094         (cpio_removeFile): Use rmdir too.
8095
8096         * native/jni/native-lib/cpnet.c
8097         (cpnet_getHostByName): Fixed error detection.
8098
8099         * native/jni/native-lib/cpnet.h
8100         (cpnet_newIPV4address, cpnet_newIPV6address): Put zero in the
8101         memory.
8102         (cpnet_IPV4AddressToBytes): Fixed types.
8103         
8104         2006-06-10  Guilhem Lavaux  <guilhem@kaffe.org>
8105
8106         * native/jni/native-lib/cpio.c
8107         (cpio_openDir, cpio_closeDir, cpio_readDir): Implemented.
8108
8109         * native/jni/native-lib/cpnet.h:
8110         (cpnet_bytesToIPV4Address): Fixed type casting to avoid being
8111         messed by signs in jbyte.
8112         
8113         * native/jni/native-lib/cpproc.h
8114         (CPIO_EXEC_NUM_PIPES): Compilation fix.
8115
8116         2006-05-09  Guilhem Lavaux  <guilhem@kaffe.org>
8117
8118         * native/jni/native-lib/cpnet.c
8119         (cpnet_getSocketTimeout, cpnet_setSocketTimeout): Reimplemented.
8120         (waitForWritable, waitForReadable): New functions.
8121         (socketTimeouts): New static global table to hold timeouts for all
8122         socket fds.
8123         (cpnet_accept,cpnet_bind,cpnet_sendTo,cpnet_recv,cpnet_recvFrom):
8124         Added waitForXXXX safeguards to handle socket timeouts.
8125
8126         * native/jni/java-net/javanet.c
8127         (_javanet_accept): Check for the right error value when a timeout
8128         occurs.
8129         
8130         2006-03-25  Guilhem Lavaux  <guilhem@kaffe.org>
8131
8132         * native/jni/java-io/Makefile.am,
8133         native/jni/java-lang/Makefile.am,
8134         native/jni/java-net/Makefile.am,
8135         native/jni/java-nio/Makefile.am: Link to libclasspathnative.la now.
8136
8137         * native/jni/native-lib/Makefile.am: Added cpproc.c
8138
8139         * native/jni/native-lib/cpio.c: Implemented missing functions for
8140         CPIO.
8141
8142         * native/jni/native-lib/cpnet.c
8143         (cpnet_getHostByName): Fixed address array initialization.
8144         
8145         * native/jni/native-lib/cpproc.c: Implemented.
8146         
8147         2006-02-19  Guilhem Lavaux  <guilhem@kaffe.org>
8148
8149         * configure.ac: Invoke GCC_ATTRIBUTE_UNUSED.
8150
8151         * m4/gcc_attribute.m4: New file from ac_archive.
8152         
8153         * native/jni/java-net/javanet.c: Adapted to cpnet API
8154         modification.
8155
8156         * native/jni/native-lib/cpnet.c: Implemented.
8157
8158         * native/jni/native-lib/cpnet.h
8159         (cpnet_openSocketDatagram,
8160         cpnet_openSocketStream): These calls need an address family now.
8161         (cpnet_IPV4AddressToBytes,
8162         cpnet_bytesToIPV4Address): Convert the address to network order.
8163         
8164         2006-02-19  Guilhem Lavaux  <guilhem@kaffe.org>
8165
8166         * native/jni/java-io/java_io_VMFile.c,
8167         native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c,
8168         native/jni/midi-dssi/dssi_data.h,
8169         native/jni/native-lib/cpio.c,
8170         native/jni/native-lib/cpmath.h: Removed cpmath
8171         dependency. Fixed coding style.
8172
8173         2006-02-18  Guilhem Lavaux  <guilhem@kaffe.org>
8174
8175         * native/jni/java-lang/java_lang_VMProcess.c: Removed TARGET
8176         dependency. Simplified the JNI code by moving some part into the
8177         native layer.
8178
8179         * native/jni/native-lib/cpproc.h: New interface to handle processes.
8180
8181         2006-02-18  Guilhem Lavaux  <guilhem@kaffe.org>
8182
8183         * native/jni/java-net/java_net_VMInetAddress.c: Fixed compilation
8184         errors. Removed any remaining TARGET invocations.
8185
8186         * native/jni/java-net/javanet.c
8187         (_javanet_create_inetaddress): Removed spurious arr and
8188         octets. Fixed compilation errors.
8189
8190         * native/jni/native-lib/cpnet.h
8191         (cpnet_getHostname, cpnet_getHostByName, cpnet_getHostByAddr,
8192         cpnet_setIPV4Any, cpnet_freeAddresses, cpnet_isIPV6Address,
8193         cpnet_isIPV4Address): New functions.
8194         (cpnet_bytesToIPV4Address): Fixed interface to be consistent with
8195         the rest.
8196         
8197         2006-01-28  Guilhem Lavaux  <guilhem@kaffe.org>
8198
8199         * native/jni/java-io/java_io_VMFile.c,
8200         native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c,
8201         native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c,
8202         native/jni/java-net/javanet.c,
8203         native/jni/java-net/javanet.h: Adapted the VM layer code
8204         to the new native layer.
8205
8206         * native/jni/native-lib/cpnet.h
8207         (cpnet_addMembership,
8208         cpnet_dropMembership,
8209         cpnet_getAvailableBytes): Added the declarations of
8210         some new functions.
8211         (cpnet_newIPV6Address,
8212         cpnet_IPV6AddressToBytes,
8213         cpnet_bytesToIPV6Address): Implemented.
8214         (cpnet_newIPV4Address): Initialize the sin_family field.
8215
8216         2006-01-28  Guilhem Lavaux  <guilhem@kaffe.org>
8217
8218         * native/target: Removed.
8219
8220         * configure.ac: Removed target from CLASSPATH_INCLUDES and
8221         Makefile generation.
8222
8223         * native/jni/native-lib/Makefile.am,
8224         native/jni/native-lib/cpnet.h,
8225         native/jni/native-lib/cpnet.c
8226         native/jni/native-lib/cpio.h,
8227         native/jni/native-lib/cpio.c,
8228         native/jni/native-lib/cpmath.h: Imported new native compatibility
8229         layer.
8230
8231 2006-08-21  Roman Kennke  <kennke@aicas.com>
8232
8233         * gnu/javax/swing/text/html/css/CSSParser.java:
8234         New class.
8235         * gnu/javax/swing/text/html/css/CSSParserCallback.java:
8236         New interface.
8237         * gnu/javax/swing/text/html/css/CSSParserException.java:
8238         New exception.
8239         * gnu/javax/swing/text/html/css/CSSScanner.java:
8240         Adjusted API comments. Made all constants package private.
8241         (EOF): New constant field.
8242         (parseBuffer): Made package private.
8243         (tokenEnd): Made package private.
8244         (CSSScanner): Initialize lookahead buffer with -1.
8245         (main): Print out to System.out rather then System.err.
8246         (nextToken): Push back character after IDENT.
8247
8248 2006-08-21  Jeroen Frijters  <jeroen@frijters.net>
8249
8250         * java/io/File.java (normalizePath): Fixed handling of "//" and "\\".
8251
8252 2006-08-21  Roman Kennke  <kennke@aicas.com>
8253
8254         * gnu/javax/swing/text/html/css/CSSScanner.java
8255         (main): Use buffered input stream.
8256         (nextToken): Removed 65536 workaround. Use int value directly
8257         without cast to char.
8258         (readComment): Use int value directly without cast to char.
8259         Cast to char only when putting the character into the buffer.
8260         (readEscape): Likewise.
8261         (readIdent): Likewise.
8262         (readName): Likewise.
8263         (readNum): Likewise.
8264         (readString): Likewise.
8265         (readWhitespace): Likewise.
8266
8267 2006-08-21  Ingo Proetel  <proetel@aicas.com>
8268
8269         * java/io/InputStreamReader.java
8270         (bytesCache): New field.
8271         (cacheLock): New field.
8272         (read(byte[],int,int): Avoid allocations of new byte
8273         array on every call and reuse cached byte array if possible.
8274
8275 2006-08-21  Roman Kennke  <kennke@aicas.com>
8276
8277         * gnu/java/net/local/LocalSocketImpl.java
8278         Only load native lib if this is supported by runtime.
8279         * native/jni/java-net/local.c
8280         Include config.h unconditionally.
8281         * native/jni/java-net/gnu_java_net_local_LocalSocketImpl.c
8282         Include config.h unconditionally.
8283
8284 2006-08-21  Friedjof Siebert  <siebert@aicas.com>
8285
8286         * java/io/ObjectInputStream.java
8287         (objectLookupTable): Changed to be a Vector.
8288         (ObjectInputStream): Initialize objectLookupTable as Vector.
8289         (assignNewHandle): Store Object using handle index rather than
8290         Hashtable, using the new rememberHandle() method.
8291         (hierarchy): New method. This replaces inputGetObjectStreamClasses()
8292         with a caching in ObjectStreamClass.
8293         (inputGetObjectStreamClass): Replaced by hierarchy().
8294         (lookupHandle): New method. Looks up an object by it's handle
8295         index.
8296         (parseContent): Avoid creating of Integer objects. Use
8297         hierarchy() method for looking up the class hierarchy.
8298         (processResolution): Use rememberHandle() to store
8299         handle per index, rather than Hashtabling the object.
8300         (readFields): 
8301         (rememberHandle): New method.
8302         * java/io/ObjectOutputStream.java
8303         (OIDLookupTable): Use ObjectIdentityMap2Int instead of
8304         Hashtable for improved lookup performance.
8305         (ObjectOutputStream): Initialize OIDLookupTable as
8306         ObjectIdentityMap2Int.
8307         (assignNewHandle): Change to use ObjectIdentityMap2Int.
8308         (findHandle): Change to use ObjectIdentityMap2Int.
8309         (getBooleanField): Removed.
8310         (getByteField): Removed.
8311         (getCharField): Removed.
8312         (getDoubleField): Removed.
8313         (getField): Removed.
8314         (getFloatField): Removed.
8315         (getIntField): Removed.
8316         (getLongField): Removed.
8317         (getObjectField): Removed.
8318         (writeFields(Object,ObjectStreamClass)): Use new helper method.
8319         (writeFields(Object,ObjectStreamField)): New helper method.
8320         Use switch rather then if-else cascade.
8321         (writeObject): Use int handle, rather then Integer.
8322         * java/io/ObjectStreamClass.java
8323         (hierarchy): New field. Caches the class hierarchy.
8324         (methodCache): New field. Caches methods.
8325         (readObjectSignature): New field. Stores the read signature.
8326         (uidCache): New field. Caches UIDs.
8327         (writeObjectSignature): New field. Stores the write signature.
8328         (cacheMethods): Cache methods in methodCache.
8329         (calculateClassID): Outsourced from getClassUID()
8330         for computing the UIDs.
8331         (getClassUIDFromField): Outsourced from getClassUID() for
8332         fetching the UID from the class field.
8333         (getClassUID): Use cached uid if possible. Use new helper
8334         methods for fetching the UID from the field or computing
8335         from scratch.
8336         (getObjectStreamClasses): Removed. Replaced by more
8337         efficient hierarchy() method, that also caches the result.
8338         (hierarchy): Replaces getObjectStreamClasses() for caching
8339         the result.
8340         (loadedByBootOrApplicationClassLoader): New helper method.
8341         (setClass): Invalidate hierarchy cache.
8342         (setSuperclass): Invalidate hierarchy cache.
8343         * java/io/ObjectStreamField.java
8344         (field): Made field package private for access from other
8345         classes.
8346         * gnu/java/io/ObjectIdentityWrapper.java: Removed.
8347         * gnu/java/io/ObjectIdentityMap2Int.java: Efficient
8348         hashtable for mapping objects to ints.
8349
8350 2006-08-21  Roman Kennke  <kennke@aicas.com>
8351
8352         * java/io/File.java
8353         (getAbsolutePath): Fetch absolute path from
8354         VMFile.getAbsolutePath(). Moved actual impl to there.
8355         (isAbsolute): Let VMFile determine the absoluteness.
8356         (toURL): Let VMFile convert the filename.
8357         * vm/reference/java/io/VMFile.java
8358         (getAbsolutePath): New method.
8359         (isAbsolute): New method.
8360         (toURL): New method.
8361
8362 2006-08-21  Jeroen Frijters  <jeroen@frijters.net>
8363
8364         * NEWS: Added note about updated VM interface.
8365
8366 2006-08-20  Andrew John Hughes  <gnu_andrew@member.fsf.org>
8367
8368         * java/lang/management/ManagementFactory.java:
8369         Updated documentation.
8370         
8371 2006-08-20  Ito Kazumitsu  <kaz@maczuka.gcd.org>
8372
8373         Fixes bug #28412
8374         * gnu/java/util/regex/CharIndexed.java(move1, setHitEnd, hitEnd):
8375         New methods.
8376         * gnu/java/util/regex/CharIndexedCharSequence.java,
8377         gnu/java/util/regex/CharIndexedInputStream.java: Implemented the
8378         new methods above.
8379         * gnu/java/util/regex/RE.java(REG_FIX_STARTING_POSITION): New flag,
8380         (match): call the new method setHitEnd of the input,
8381         (getMatchImpl): Handle the new flag REG_FIX_STARTING_POSITION,
8382         Some optimization commented out, Use CharIndexed#move1 instead of move.
8383         * gnu/java/util/regex/REMatch.java: Made some debugging methods public.
8384         * gnu/java/util/regex/REToken.java(match): The method body has been
8385         moved to an internal private method, (matchFake): New method,
8386         (setHitEnd): New method.
8387         * gnu/java/util/regex/RETokenChar.java(matchThis): Call setHitEnd
8388         if the match is not complete, (matchOneString): Count the number of
8389         characters which matched the pattern.
8390         * gnu/java/util/regex/RETokenEnd.java(fake): New field,
8391         (setFake): New method, (match): Call super.match or super.matchFake.
8392         * gnu/java/util/regex/RETokenEndSub.java(setHitEnd): New method.
8393         * gnu/java/util/regex/RETokenOneOf.java(match): call the new method
8394         setHitEnd of the input,
8395         * gnu/java/util/regex/RETokenRepeated.java(match): Likewise.
8396         * java/util/regex/Matcher.java(lookingAt, match): Use the new flag
8397         RE.REG_FIX_STARTING_POSITION, (hitEnd, toString): New methods.
8398
8399 2006-08-18  Tom Tromey  <tromey@redhat.com>
8400
8401         * gnu/javax/swing/text/html/css/CSSScanner.java (readWhitespace): Push
8402         the 'int', not the cast char.
8403
8404 2006-08-18  Roger Sayle  <roger@eyesopen.com>
8405
8406         * scripts/check_jni_methods.sh: Don't use the "set -C" command
8407         which isn't available in all shells.
8408
8409 2006-08-18  Roger Sayle  <roger@eyesopen.com>
8410
8411         * lib/Makefile.am (resources): Fix some shell portability issues.
8412
8413 2006-08-18  Thomas Fitzsimmons  <fitzsim@redhat.com>
8414
8415         * configure.ac (tool-wrappers): Check for ltdl support when tool
8416         wrapper binaries are enabled.
8417         * tools/Makefile.am (LIBJVM): Remove variable.
8418         (AM_CPPFLAGS): Add LIBJVM define.
8419         (gappletviewer_LDFLAGS, gjarsigner_LDFLAGS, gkeytool_LDFLAGS,
8420         gjar_LDFLAGS, gnative2ascii_LDFLAGS, gserialver_LDFLAGS,
8421         gjavah_LDFLAGS): Remove variables.
8422         * tools/toolwrapper.c (main): Use dlopen to load libjvm library.
8423
8424 2006-08-18  Tom Tromey  <tromey@redhat.com>
8425
8426         * gnu/java/util/prefs/NodeWriter.java (writeParents): Removed
8427         debugging prints.
8428         * gnu/java/util/prefs/NodeReader.java (readNodes): Removed debugging
8429         print.
8430         (readEntries): Likewise.
8431
8432 2006-08-17  Roman Kennke  <kennke@aicas.com>
8433
8434         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
8435         (layoutLabel): Reset the text and icon rectangles.
8436
8437 2006-08-17  Thomas Fitzsimmons  <fitzsim@redhat.com>
8438
8439         PR classpath/28537
8440         * native/plugin/Makefile.am (libgcjwebplugin_la_CXXFLAGS):
8441         Transform gappletviewer name using program_transform_name.
8442
8443 2006-08-17  Jeroen Frijters  <jeroen@frijters.net>
8444
8445         * javax/swing/filechooser/FileSystemView.java
8446         (getFileSystemView): Always return UnixFileSystemView, since
8447         that's the only one we got. Marked with NotImplementedException.
8448         * javax/swing/plaf/basic/BasicFileChooserUI.java
8449         (mouseClicked, installUI): Don't parse path by hand.
8450
8451 2006-08-17  Roman Kennke  <kennke@aicas.com>
8452
8453         * javax/swing/JComponent.java
8454         (scrollRectToVisible): Handle intermediate non-JComponents
8455         more gracefully.
8456
8457 2006-08-17  Roman Kennke  <kennke@aicas.com>
8458
8459         * javax/swing/RepaintManager.java
8460         (blitBuffer): Removed. This is now done in commitBuffer().
8461         (commitBuffer): Always paint on the root window or applet.
8462         No need to look for intermediate heavyweights. Optimized
8463         rectangle translation.
8464         (commitRemainingBuffers): Removed. Not needed anymore.
8465         (getHeavyweightParent): Removed. Not needed anymore.
8466         (getOffscreenBuffer): Fetch offscreen image from the
8467         actual root component.
8468         (paintDirtyRegions): Don't call commitRemainingBuffers().
8469
8470 2006-08-17  Roman Kennke  <kennke@aicas.com>
8471
8472         * javax/swing/SwingUtilities.java
8473         (clipString): New helper method for trimming strings.
8474         (layoutCompoundLabelImpl): Fixed algorithm to conform
8475         testsuites. Trim text if it's too long. Avoid creating
8476         new Rectangles. Optimized for performance.
8477         (layoutCompoundLabel): Use switch rather then if-else-chain.
8478         * javax/swing/plaf/basic/BasicButtonUI.java
8479         (viewR): New field.
8480         (iconR): New field.
8481         (textR): New field.
8482         (paint): Reset and use cached rectangles. Only call paintIcon()
8483         if icon is not null. Don't call paintButtonPressed() when
8484         button is selected, only when it is both armed and pressed.
8485         * javax/swing/plaf/basic/BasicGraphicsUtils.java
8486         (getPreferredButtonSize): Reused cached rectangles rather
8487         then creating new ones. Don't create new Rectangle via
8488         Rectangle.union().
8489         * javax/swing/plaf/basic/BasicLabelUI.java
8490         (getPreferredSize): Correctly reset cached rectangles. Especially
8491         the view rect must have a big size to give it room for layouting.
8492         Short cut layout when text == null.
8493         (paint): Correctly reset cached rectangles.
8494         * javax/swing/plaf/basic/BasicMenuItemUI.java
8495         (resetRectangles): New helper method.
8496         (getPreferredMenuItemSize): Correctly reset the cached rectangles.
8497         (paintMenuItem): Correctly reset the cached rectangles.
8498         * javax/swing/plaf/basic/BasicRadioButtonUI.java
8499         (getPreferredSize): Use cached Rectangle objects and initialize
8500         them correctly.
8501         (paint): Use cached Rectangle objects and initialize
8502         them correctly.
8503
8504 2006-08-17  David Gilbert  <david.gilbert@object-refinery.com>
8505
8506         * java/util/Calendar.java: API doc additions.
8507
8508 2006-08-17  Robert Schuster  <robertschuster@fsfe.org>
8509
8510         * javax/swing/DefaultButtonModel.java:
8511         (setRollover): Simplified statement.
8512
8513 2006-08-17  Jeroen Frijters  <jeroen@frijters.net>
8514
8515         * gnu/java/rmi/server/RMIClassLoaderImpl.java
8516         (loadClass): Rewritten to use getClassLoader.
8517         (loadProxyClass): Implemented.
8518         (getClassLoader): Fixed support for null or empty codebase.
8519         * gnu/java/rmi/server/RMIObjectInputStream.java
8520         (resolveClass): Use user class loader as default class loader.
8521         (resolveProxyClass): Delegate to RMIClassLoader.loadProxyClass.
8522         * gnu/javax/rmi/CORBA/UtilDelegateImpl.java
8523         (loadClass): Simplified and use user class loader instead of
8524         context class loader as default.
8525         * java/io/ObjectInputStream.java
8526         (currentLoader): Use VMStackWalker.firstNonNullClassLoader().
8527         * vm/reference/gnu/classpath/VMStackWalker.java
8528         (firstNonNullClassLoader): New method.
8529         * vm/reference/java/io/VMObjectInputStream.java
8530         (loaderAction, currentClassLoader): Removed.
8531
8532 2006-08-17  Robert Schuster  <robertschuster@fsfe.org>
8533
8534         * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
8535         (getTabBounds(JTabbedPane, int)): Added code to shift rectangle
8536         by current scroll offset, added method documention.
8537         (getTabBounds(int, Rectangle)): Added method documentation.
8538         * javax/swing/plaf/metal/MetalTabbedPaneUI.java:
8539         (paintContentBorderLeftEdge): Changed y to 1.
8540
8541 2006-08-17  Robert Schuster  <robertschuster@fsfe.org>
8542
8543         * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
8544         (MouseHandler.mouseReleased): Implemented.
8545         (MouseHandler.mousePressed): Added delegation to tabbed pane.
8546         (MouseHandler.mouseEntered): Dito.
8547         (MouseHandler.mouseExited): Dito.
8548         (MouseHandler.mouseMoved): Dito.
8549         (MouseHandler.redispatchEvent): New method.
8550         (PropertyChangeHandler.propertyChange): Added extra block level,
8551         added code to handle tab placement changes, added comment.
8552         (updateViewPosition): Set unneeded coordinate to 0, added comment.
8553
8554 2006-08-16  Roman Kennke  <kennke@aicas.com>
8555
8556         * gnu/javax/swing/text/html/css/CSSScanner.java: New file.
8557         * gnu/javax/swing/text/html/css/CSSLexicalException.java:
8558         New file.
8559
8560 2006-08-16  Mark Wielaard  <mark@klomp.org>
8561
8562         * java/awt/Component.java (orientation): Renamed to
8563         componentOrientation.
8564         (setComponentOrientation): Use new field name.
8565         (getComponentOrientation): Likewise.
8566
8567 2006-08-16  Roman Kennke  <kennke@aicas.com>
8568
8569         PR 28750
8570         * javax/swing/plaf/basic/BasicTreeUI.java
8571         (CellEditorHandler.editingCancelled): Call completeEditing
8572         directly.
8573         (CellEditorHandler.editingStopped): Call completeEditing
8574         directly.
8575         (NodeDimensionHandler.getNodeDimensions): Rewritten
8576         to use the preferred sizes of the renderer and editor.
8577         (TreeExpansionHandler.treeCollapsed): Complete editing
8578         here.
8579         (TreeSelectionHandler.valueChanged): Complete editing
8580         here.
8581         (cancelEditing): Call completeEditing with false, false and
8582         false. Don't call finish (removed method).
8583         (completeEditing(boolean,boolean,boolean): Only do something when
8584         stopEditingInCompleteEditing is true. Nullify editingComponent
8585         and editingPath. Remove editingComponent from tree. Update
8586         the layout when necessary and repaint.
8587         (completeEditing): Stop editing when necessary.
8588         (editorRequestFocus): New helper method. Request focus
8589         on the actual editor.
8590         (finish) Removed. This is now done in completeEditing().
8591         (prepareForUIInstall): Set stopEditingInCompleteEditing to true.
8592         (setLargeModel): Complete editing here.
8593         (setRootVisible): Complete editing here.
8594         (setRowHeight): Complete editing here.
8595         (setSelectionModel): Complete editing here.
8596         (startEditing): Correctly initialize and start editing.
8597         (updateExpandedDescendants): Complete editing here.
8598         * javax/swing/tree/DefaultTreeCellEditor.java
8599         (DefaultTextField): Fetch size from super and use renderer's height
8600         if appropriate.
8601         (EditorContainer.EditorContainer): Set layout to null, just
8602         to make sure.
8603         (EditorContainer.doLayout): Layout so that the editor
8604         is offset to the right of the icon.
8605         (EditorContainer.getPreferredSize): Implemented to
8606         provide a reasonable preferred size.
8607         (EditorContainer.paint): Position icon in the middle.
8608         Also paint border if appropriate.
8609         (EditorContainer.setBounds): Removed.
8610         (RealEditorListener): Removed.
8611         (DefaultTreeCellEditor): Set correct border.
8612         (cancelCellEditing): Message real editor. Call finish().
8613         (createCellEditor): Don't add listener.
8614         (determineOffset): Correctly determine offset, and update
8615         the icon.
8616         (finish): New helper method.
8617         (getTreeCellEditorComponent): Set correct font. Call
8618         prepareForEditing() and determineOffset() to correctly initialize
8619         the state.
8620         (stopCellEditing): Messsage realEditor to stop editing. Call
8621         finish to clean up.
8622         (stopEditingTimer): Removed.
8623         (valueChanged): Correctly reset lastPath.
8624         * javax/swing/tree/DefaultTreeCellRenderer.java
8625         (getPreferredSize): Return super plus some extra space for
8626         better readability.
8627
8628 2006-08-16  Roman Kennke  <kennke@aicas.com>
8629
8630         * javax/swing/plaf/metal/MetalTreeUI.java
8631         (LineStyleListener): New property listener, that updates
8632         the line style setting if the corresponding property
8633         changes.
8634         (lineStyleListener): New field.
8635         (lineStyle): New field.
8636         (LINE_STYLE_ANGLED): New constant field.
8637         (LINE_STYLE_HORIZONTAL): New constant field.
8638         (LINE_STYLE_NONE): New constant field.
8639         (LINE_STYLE_VALUE_ANGLED): New constant field.
8640         (LINE_STYLE_VALUE_HORIZONTAL): New constant field.
8641         (LINE_STYLE_VALUE_NONE): New constant field.
8642         (LINE_STYLE_PROPERTY): New constant field.
8643         (decodeLineStyle): Implemented.
8644         (installUI): Install line style listener. Set initial
8645         lineStyle.
8646         (uninstallUI): Uninstall line style listener.
8647         (paintHorizontalPartOfLeg): Only call super for angled
8648         lineStyle.
8649         (paintVerticalPartOfLeg): Only call super for angled
8650         lineStyle.
8651         (paintHorizontalSeparators): Implemented.
8652         (paint): If lineStyle==HORIZONTAL, call
8653         paintHorizontalSeparators().
8654         * examples/gnu/classpath/examples/swing/TreeDemo.java
8655         (createContent): Add panel for selecting line styles.   
8656
8657 2006-08-16  Robert Schuster  <robertschuster@fsfe.org>
8658         
8659         * examples/gnu/classpath/demo/swing/TabbedPaneDemo.java:
8660         (createContent): Rewritten.
8661         (createPlacementChangingMenuItem): New method.
8662         (createLayoutPolicyChangingMenuItem): New method.
8663         (createTabbedPane): New method.
8664         (createTabContent): New method.
8665
8666 2006-08-16  Robert Schuster  <robertschuster@fsfe.org>
8667
8668         * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
8669         (MouseHandler.mousePressed): Fixed indentation, intercept clicks on
8670         disabled tabs, do proper revalidation in WRAP_TAB_LAYOUT mode.
8671
8672 2006-08-16  Robert Schuster  <robertschuster@fsfe.org>
8673
8674         * javax/swing/text/WrappedPlainView.java:
8675         (WrappedLine.modelToView): Provide variable pos as argument and not a fixed value.
8676         (calculateBreakPosition): Add p0 to return value.
8677
8678 2006-08-15  Roman Kennke  <kennke@aicas.com>
8679
8680         * javax/swing/plaf/basic/BasicTreeUI.java
8681         (MouseHandler.selectedOnPress): New field.
8682         (MouseHandler.handleEvent): New helper method for handling
8683         selection and start/stop editing for mouse events.
8684         (MouseHandler.mouseDragged): Commented as no-op method.
8685         (MouseHandler.mouseMoved): Commented as no-op method.
8686         (MouseHandler.mousePressed): Use handleEvent() to handle
8687         selection and editing handling.
8688         (MouseHandler.mouseReleased): Use handleEvent() to handle
8689         selection and editing handling.
8690         (MouseInputHandler.MouseInputHandler): Register itself
8691         as mouse listener on source. Redispatch event to
8692         destination.
8693         (MouseInputHandler.dispatch): New helper method.
8694         (MouseInputHandler.mouseClicked): Dispatch event.
8695         (MouseInputHandler.mouseDragged): Dispatch event.
8696         (MouseInputHandler.mouseEntered): Stop dispatching
8697         if dragging stopped.
8698         (MouseInputHandler.mouseExited): Stop dispatching
8699         if dragging stopped.
8700         (MouseInputHandler.mouseMoved): Stop dispatching.
8701         (MouseInputHandler.mousePressed): Marked as no-op.
8702         (MouseInputHandler.mouseReleased): Dispatch and stop
8703         dispatching afterwards.
8704         (MouseInputHandler.removeFromSource): Implemented.
8705         (PropertyChangeHandler.propertyChange): Also handle
8706         editable property changes by calling setEditable().
8707         (SelectionModelPropertyChangeHandler.propertyChange):
8708         Reset row selection.
8709         (startEditTimer): Removed.
8710         (setCellEditor): Call updateEditor().
8711         (setEditable): Call updateEditor().
8712         (startEditingAtPath): Make path fully visible before starting
8713         editing.
8714         (startEditing): Maybe cancel previous edit session. Add
8715         editing component itself, not its parent container.
8716         Register MouseInputHandler for correctly redispatching
8717         initial events.
8718         (stopEditing): Message cellEditor and only completeEditing()
8719         when approved by cell editor.
8720         (updateCellEditor): Complete editing before updating
8721         the cell editor. Get cell editor from JTree if possible,
8722         otherwise create default editor. Update the listeners
8723         on the editor.
8724         * javax/swing/tree/DefaultTreeCellEditor.java
8725         (CLICK_COUNT_TO_START): Removed.
8726         (DefaultTreeCellEditor): Install correct border. Let setTree()
8727         update the listeners. Don't initialize lastPath and font yet.
8728         (actionPerformed): Implemented to start editing.
8729         (createTreeCellEditor): Set click count to start to 1, rather than
8730         3.
8731         (isCellEditable): Prepare editor here. Determine if we can
8732         start immediately, or if we trigger a timer to do so.
8733         (prepareForEditing): Don't removeAll() (not necessary),
8734         check editingComponent to be non-null.
8735         (setTree): Update listeners.
8736         (shouldStartEditingTimer): Check for left mouse button.
8737         (startEditingTimer): Lazily create timer.
8738
8739 2006-08-15  Lillian Angel  <langel@redhat.com>
8740
8741         * java/awt/dnd/DropTargetDragEvent.java
8742         (getTransferable): Implemented.
8743
8744 2006-08-15  Roman Kennke  <kennke@aicas.com>
8745
8746         * java/util/Vector.java
8747         (removeAll): Added comment about NPE.
8748         (retainAll): Added comment about NPE.
8749
8750 2006-08-15  Roman Kennke  <kennke@aicas.com>
8751
8752         * java/util/zip/ZipFile.java
8753         (UTF8DECODER): Removed.
8754         (UTF8CHARSET): New constant field. Stores the UTF8 charset.
8755         (utf8Decoder): New instance field.
8756         (decodeChars): Lazily create UTF8 decoder. Use instance
8757         field rather than a static field to avoid corruption.
8758
8759 2006-08-15  Roman Kennke  <kennke@aicas.com>
8760
8761         * java/io/PrintStream.java
8762         (line_separator): Provide default for system property.
8763         * java/io/FileDescriptor.java
8764         (valid): Create local copy of channel field for better
8765         threading safetly.
8766
8767 2006-08-15  Ingo Proetel  <proetel@aicas.com>
8768
8769         * java/util/zip/ZipFile.java
8770         (PartialInputStream.UTF8DECODER): New constant field, used
8771         for decoding UTF8 strings.
8772         (readLeShort): Access buffer directly if it has enough bytes
8773         available.
8774         (readLeInt): Access buffer directly if it has enough bytes
8775         available.
8776         (decodeChars): New helper method for decoding UTF8 strings.
8777         (readString): Avoid NIO charset decoder if possible.
8778
8779 2006-08-15  Roman Kennke  <kennke@aicas.com>
8780
8781         * java/util/Vector.java
8782         (removeAll): Don't explicitly null-check here. The RI allows
8783         null arguments when Vector is empty. In other cases we
8784         implicitly throw an NPE.
8785         (retainAll): Don't explicitly null-check here. The RI allows
8786         null arguments when Vector is empty. In other cases we
8787         implicitly throw an NPE.
8788
8789 2006-08-14  Casey Marshall  <csm@gnu.org>
8790
8791         Merge in ssl-nio-branch work. See `ChangeLog-ssl-nio' for a record
8792         of changes made on this branch.
8793         Files modified:
8794         * gnu/classpath/debug/Component.java
8795         * gnu/classpath/debug/SystemLogger.java
8796         * gnu/java/security/action/GetPropertyAction.java
8797         * gnu/java/security/action/GetSecurityPropertyAction.java
8798         * gnu/javax/crypto/RSACipherImpl.java
8799         * gnu/javax/net/ssl/PrivateCredentials.java
8800         * gnu/javax/net/ssl/provider/Alert.java
8801         * gnu/javax/net/ssl/provider/AlertException.java
8802         * gnu/javax/net/ssl/provider/Certificate.java
8803         * gnu/javax/net/ssl/provider/CertificateRequest.java
8804         * gnu/javax/net/ssl/provider/CertificateType.java
8805         * gnu/javax/net/ssl/provider/CertificateVerify.java
8806         * gnu/javax/net/ssl/provider/CipherSuite.java
8807         * gnu/javax/net/ssl/provider/ClientHello.java
8808         * gnu/javax/net/ssl/provider/ClientKeyExchange.java
8809         * gnu/javax/net/ssl/provider/CompressionMethod.java
8810         * gnu/javax/net/ssl/provider/Constructed.java
8811         * gnu/javax/net/ssl/provider/ContentType.java
8812         * gnu/javax/net/ssl/provider/DiffieHellman.java
8813         * gnu/javax/net/ssl/provider/Extension.java
8814         * gnu/javax/net/ssl/provider/Finished.java
8815         * gnu/javax/net/ssl/provider/Handshake.java
8816         * gnu/javax/net/ssl/provider/Jessie.java
8817         * gnu/javax/net/ssl/provider/ProtocolVersion.java
8818         * gnu/javax/net/ssl/provider/Random.java
8819         * gnu/javax/net/ssl/provider/ServerHello.java
8820         * gnu/javax/net/ssl/provider/ServerKeyExchange.java
8821         * gnu/javax/net/ssl/provider/Signature.java
8822         * gnu/javax/net/ssl/provider/Util.java
8823         * gnu/javax/net/ssl/provider/X509KeyManagerFactory.java
8824         * gnu/javax/net/ssl/provider/X509TrustManagerFactory.java
8825         * java/security/MessageDigest.java
8826         * java/security/MessageDigestSpi.java
8827         * java/security/Signature.java
8828         * java/security/SignatureSpi.java
8829         * javax/crypto/Mac.java
8830         * javax/crypto/MacSpi.java
8831         * javax/net/ssl/HandshakeCompletedEvent.java
8832         * javax/net/ssl/HttpsURLConnection.java
8833         * javax/net/ssl/SSLContext.java
8834         * javax/net/ssl/SSLContextSpi.java
8835         * javax/net/ssl/SSLSession.java
8836         Files added:
8837         * gnu/javax/net/ssl/provider/ServerKeyExchangeBuilder.java 
8838         * gnu/javax/net/ssl/provider/SSLv3HMacSHAImpl.java 
8839         * gnu/javax/net/ssl/provider/SimpleSessionContext.java 
8840         * gnu/javax/net/ssl/provider/ServerRSAParams.java 
8841         * gnu/javax/net/ssl/provider/SSLContextImpl.java 
8842         * gnu/javax/net/ssl/provider/ServerDHParams.java 
8843         * gnu/javax/net/ssl/provider/ClientHelloBuilder.java 
8844         * gnu/javax/net/ssl/provider/ClientDHE_PSKParameters.java 
8845         * gnu/javax/net/ssl/provider/SignatureAlgorithm.java 
8846         * gnu/javax/net/ssl/provider/CipherSuiteList.java 
8847         * gnu/javax/net/ssl/provider/ServerNameList.java 
8848         * gnu/javax/net/ssl/provider/SSLServerSocketImpl.java 
8849         * gnu/javax/net/ssl/provider/CompressionMethodList.java 
8850         * gnu/javax/net/ssl/provider/ServerRSA_PSKParameters.java 
8851         * gnu/javax/net/ssl/provider/ClientKeyExchangeBuilder.java 
8852         * gnu/javax/net/ssl/provider/TrustedAuthorities.java 
8853         * gnu/javax/net/ssl/provider/CertificateStatusRequest.java 
8854         * gnu/javax/net/ssl/provider/ServerHelloDone.java 
8855         * gnu/javax/net/ssl/provider/ServerDHE_PSKParameters.java 
8856         * gnu/javax/net/ssl/provider/SSLSocketImpl.java 
8857         * gnu/javax/net/ssl/provider/ServerHelloBuilder.java 
8858         * gnu/javax/net/ssl/provider/Record.java 
8859         * gnu/javax/net/ssl/provider/SSLRSASignatureImpl.java 
8860         * gnu/javax/net/ssl/provider/EncryptedPreMasterSecret.java 
8861         * gnu/javax/net/ssl/provider/PreSharedKeyManagerFactoryImpl.java 
8862         * gnu/javax/net/ssl/provider/KeyExchangeAlgorithm.java 
8863         * gnu/javax/net/ssl/provider/SSLServerSocketFactoryImpl.java 
8864         * gnu/javax/net/ssl/provider/CertificateBuilder.java 
8865         * gnu/javax/net/ssl/provider/ClientRSA_PSKParameters.java 
8866         * gnu/javax/net/ssl/provider/CertificateStatusType.java 
8867         * gnu/javax/net/ssl/provider/ExtensionList.java 
8868         * gnu/javax/net/ssl/provider/ClientCertificateTypeList.java 
8869         * gnu/javax/net/ssl/provider/ClientPSKParameters.java 
8870         * gnu/javax/net/ssl/provider/X500PrincipalList.java 
8871         * gnu/javax/net/ssl/provider/ServerHandshake.java 
8872         * gnu/javax/net/ssl/provider/ClientDiffieHellmanPublic.java 
8873         * gnu/javax/net/ssl/provider/SessionImpl.java 
8874         * gnu/javax/net/ssl/provider/SSLSocketFactoryImpl.java 
8875         * gnu/javax/net/ssl/provider/ServerPSKParameters.java 
8876         * gnu/javax/net/ssl/provider/TruncatedHMAC.java 
8877         * gnu/javax/net/ssl/provider/MaxFragmentLength.java 
8878         * gnu/javax/net/ssl/provider/HelloRequest.java 
8879         * gnu/javax/net/ssl/provider/ServerKeyExchangeParams.java 
8880         * gnu/javax/net/ssl/provider/UnresolvedExtensionValue.java 
8881         * gnu/javax/net/ssl/provider/CipherAlgorithm.java 
8882         * gnu/javax/net/ssl/provider/ClientHandshake.java 
8883         * gnu/javax/net/ssl/provider/ExchangeKeys.java 
8884         * gnu/javax/net/ssl/provider/CertificateURL.java 
8885         * gnu/javax/net/ssl/provider/EmptyExchangeKeys.java 
8886         * gnu/javax/net/ssl/provider/CertificateRequestBuilder.java 
8887         * gnu/javax/net/ssl/provider/SSLv3HMacMD5Impl.java 
8888         * gnu/javax/net/ssl/provider/Builder.java 
8889         * gnu/javax/net/ssl/provider/Debug.java 
8890         * gnu/javax/net/ssl/provider/SSLEngineImpl.java 
8891         * gnu/javax/net/ssl/provider/MacAlgorithm.java 
8892         * gnu/javax/net/ssl/provider/DelegatedTask.java 
8893         * gnu/javax/net/ssl/provider/InputSecurityParameters.java 
8894         * gnu/javax/net/ssl/provider/ClientHelloV2.java 
8895         * gnu/javax/net/ssl/provider/OutputSecurityParameters.java 
8896         * gnu/javax/net/ssl/provider/AbstractHandshake.java 
8897         * javax/net/ssl/SSLEngine.java 
8898         * javax/net/ssl/CertPathTrustManagerParameters.java 
8899         * javax/net/ssl/KeyStoreBuilderParameters.java 
8900         * javax/net/ssl/X509ExtendedKeyManager.java 
8901         * javax/net/ssl/SSLEngineResult.java 
8902         * gnu/javax/net/ssl/PreSharedKeyManager.java 
8903         * gnu/javax/net/ssl/Session.java 
8904         * gnu/javax/net/ssl/PreSharedKeyManagerParameters.java 
8905         * gnu/javax/net/ssl/SSLCipherSuite.java 
8906         * gnu/javax/net/ssl/AbstractSessionContext.java 
8907         * gnu/javax/net/ssl/SessionStoreException.java 
8908         * gnu/javax/net/ssl/SSLRecordHandler.java 
8909         * gnu/javax/net/ssl/SSLProtocolVersion.java 
8910         * gnu/javax/crypto/key/GnuPBEKey.java 
8911         * gnu/java/security/util/ByteBufferOutputStream.java 
8912         * gnu/java/security/Requires.java 
8913         * gnu/javax/security/auth/callback/CertificateCallback.java 
8914         Files removed:
8915         * gnu/javax/net/ssl/provider/Context.java
8916         * gnu/javax/net/ssl/provider/DigestInputStream.java
8917         * gnu/javax/net/ssl/provider/DigestOutputStream.java
8918         * gnu/javax/net/ssl/provider/Enumerated.java
8919         * gnu/javax/net/ssl/provider/Extensions.java
8920         * gnu/javax/net/ssl/provider/GNUSecurityParameters.java
8921         * gnu/javax/net/ssl/provider/JCESecurityParameters.java
8922         * gnu/javax/net/ssl/provider/JDBCSessionContext.java
8923         * gnu/javax/net/ssl/provider/JessieDHPrivateKey.java
8924         * gnu/javax/net/ssl/provider/JessieDHPublicKey.java
8925         * gnu/javax/net/ssl/provider/JessieRSAPrivateKey.java
8926         * gnu/javax/net/ssl/provider/JessieRSAPublicKey.java
8927         * gnu/javax/net/ssl/provider/KeyPool.java
8928         * gnu/javax/net/ssl/provider/OverflowException.java
8929         * gnu/javax/net/ssl/provider/RecordInput.java
8930         * gnu/javax/net/ssl/provider/RecordInputStream.java
8931         * gnu/javax/net/ssl/provider/RecordOutputStream.java
8932         * gnu/javax/net/ssl/provider/RecordingInputStream.java
8933         * gnu/javax/net/ssl/provider/SSLRSASignature.java
8934         * gnu/javax/net/ssl/provider/SSLServerSocket.java
8935         * gnu/javax/net/ssl/provider/SSLServerSocketFactory.java
8936         * gnu/javax/net/ssl/provider/SSLSocket.java
8937         * gnu/javax/net/ssl/provider/SSLSocketFactory.java
8938         * gnu/javax/net/ssl/provider/SSLSocketInputStream.java
8939         * gnu/javax/net/ssl/provider/SSLSocketOutputStream.java
8940         * gnu/javax/net/ssl/provider/SecurityParameters.java
8941         * gnu/javax/net/ssl/provider/Session.java
8942         * gnu/javax/net/ssl/provider/SessionContext.java
8943         * gnu/javax/net/ssl/provider/SynchronizedRandom.java
8944         * gnu/javax/net/ssl/provider/XMLSessionContext.java
8945
8946 2006-08-14  Roman Kennke  <kennke@aicas.com>
8947
8948         * javax/swing/plaf/basic/BasicSplitPaneDivider.java
8949         (DividerLayout.layoutContainer): Removed debug output.
8950         * javax/swing/plaf/basic/BasicSplitPaneUI.java
8951         (BasicHorizontalLayoutManager.axis): New field.
8952         (BasicHorizontalLayoutManager.BasicHorizontalLayoutManager(int)):
8953         New constructor.
8954         (BasicHorizontalLayoutManager.BasicHorizontalLayoutManager()):
8955         Call new axis constructor.
8956         (BasicHorizontalLayoutManager.getAvailableSize): Refactored to
8957         handle direction.
8958         (BasicHorizontalLayoutManager.getInitialLocation): Refactored to
8959         handle direction.
8960         (BasicHorizontalLayoutManager.getPreferredSizeOfComponent):
8961         Refactored to handle direction.
8962         (BasicHorizontalLayoutManager.getSizeOfComponent): Refactored
8963         to handle direction.
8964         (BasicHorizontalLayoutManager.minimumLayoutSize): Refactored to
8965         handle direction.
8966         (BasicHorizontalLayoutManager.preferredLayoutSize): Refactored
8967         to handle direction.
8968         (BasicHorizontalLayoutManager.minimumSizeOfComponent): Refactored
8969         to handle direction.
8970         (BasicHorizontalLayoutManager.setComponentToSize): Refactored
8971         to handle direction.
8972         (BasicHorizontalLayoutManager.updateComponents): Don't reset
8973         divider size.
8974         (BasicVerticalLayoutManager.BasicVerticalLayoutManager):
8975         New explicit constructor. Calls super with vertical axis.
8976         (BasicVerticalLayoutManager.getAvailableSize): Functionality moved
8977         to BasicHorizontalLayoutManager.
8978         (BasicVerticalLayoutManager.getInitialLocation): Functionality
8979         moved to BasicHorizontalLayoutManager.
8980         (BasicVerticalLayoutManager.getPreferredSizeOfComponent):
8981         Functionality moved to BasicHorizontalLayoutManager.
8982         (BasicVerticalLayoutManager.getSizeOfComponent): Functionality
8983         moved to BasicHorizontalLayoutManager.
8984         (BasicVerticalLayoutManager.minimumLayoutSize): Functionality
8985         moved to BasicHorizontalLayoutManager.
8986         (BasicVerticalLayoutManager.minimumSizeOfComponent):
8987         Functionality moved to BasicHorizontalLayoutManager.
8988         (BasicVerticalLayoutManager.preferredLayoutSize): Functionality
8989         moved to BasicHorizontalLayoutManager.
8990         (BasicVerticalLayoutManager.setComponentToSize): Functionality
8991         moved to BasicHorizontalLayoutManager.
8992         * javax/swing/plaf/metal/MetalSplitPaneDivider.java
8993         (BUTTON_SPRITE): Renamed to BUTTON_SPRITE_L.
8994         (BUTTON_SPRITE_R): New constant field.
8995         (MetalOneTouchButton.paint): Paint R sprite for right buttons,
8996         L sprite for left buttons.
8997         
8998 2006-08-14  Andreas Tobler  <a.tobler@schweiz.ch>
8999
9000         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
9001         (query_formats): g_free 'name' after usage.
9002         g_strfreev 'ch', the gdk_pixbuf_format_get_extensions instance.
9003         g_strfreev 'ch', the gdk_pixbuf_format_get_mime_types instance.
9004
9005 2006-08-14  Thomas Fitzsimmons  <fitzsim@redhat.com>
9006
9007         PR classpath/27723
9008         * configure.ac (MOZILLA_FOUND): Add pkg-config check for
9009         seamonkey-plugin.
9010
9011 2006-08-14  Francis Kung  <fkung@redhat.com>
9012
9013         PR 28694
9014         * java/awt/image/ColorModel.java
9015         (coerceData): Added check for non-transparent images.
9016
9017 2006-08-14  Francis Kung  <fkung@redhat.com>
9018
9019         * java/awt/image/BandCombineOp.java
9020         (BandCombineOp): Perform checks on validity of matrix.
9021         (createCompatibleDestRaster): Add checks and choose raster type dynamically.
9022         (filter): Updated to work with new matrix storage.
9023         (getMatrix): Updated javadoc.
9024         (getPoint2D): Formatting change.
9025
9026 2006-08-14  Francis Kung  <fkung@redhat.com>
9027
9028         * java/awt/image/AffineTransformOp.java
9029         (AffineTransformOp): Updated javadoc.
9030         (createCompatibleDestImage): Match behaviour of reference implementation.
9031         (createCompatibleDestRaster): Formatting changes.
9032         (filter(BufferedImage, BufferedImage)): Create compatible destination image.
9033         (filter(Raster, WritableRaster)): Re-implemented.
9034         (filterBicubic): New private method.
9035         (filterBilinear): New private method.
9036         (filterNearest): New private method.
9037         (getBounds2D): No longer fixed around one point for rotations.
9038         (getInterpolationType): Add support for bicubic interpolation.
9039
9040 2006-08-14  Roman Kennke  <kennke@aicas.com>
9041
9042         * javax/swing/plaf/metal/MetalLookAndFeel.java
9043         (MetalLookAndFeel): Moved theme initialization to
9044         getDefaults().
9045         (createDefaultTheme): Forward to getCurrentTheme().
9046         (getDefaults): Initialize theme before doing anything else.
9047         (getCurrentTheme): Recognize swing.metalTheme property.
9048
9049 2006-08-14  Roman Kennke  <kennke@aicas.com>
9050
9051         * javax/swing/JTable
9052         (getScrollableUnitIncrement): Expose partially exposed
9053         row in scrolling direction.
9054
9055 2006-08-14  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
9056
9057         * javax/swing/JTable (getScrollableUnitIncrement): 
9058         Removing my name as the whole method body have been
9059         recently completely replaced.
9060
9061 2006-08-14  Roman Kennke  <kennke@aicas.com>
9062
9063         PR 28028
9064         * javax/swing/text/Utilities.java
9065         (getTabbedTextOffset): Don't add p0 here.
9066
9067 2006-08-14  Roman Kennke  <kennke@aicas.com>
9068
9069         PR 28719
9070         * javax/swing/plaf/basic/BasicScrollPaneUI.java
9071         (MouseWheelHandler.mouseWheelMoved): Scroll negative delta
9072         when wheel is going up.
9073
9074 2006-08-14  Roman Kennke  <kennke@aicas.com>
9075
9076         PR 28693
9077         * javax/swing/plaf/basic/BasicSplitPaneDivider.java
9078         (BasicOneTouchButton): New inner class.
9079         (DividerLayout.changeButtonOrientation): Removed.
9080         (DividerLayout.positionButtons): Moved into layoutContainer.
9081         (DividerLayout.layoutContainer): Reworked for correct layout.
9082         (OneTouchAction): New inner class.
9083         (centerOneTouchButtons): New field.
9084         (BasicSplitPaneDivider): Initialize centerOneTouchButton from
9085         UIManager.
9086         (createLeftOneTouchButton): Reimplemented to return
9087         BasicOneTouchButton.
9088         (createRightOneTouchButton): Reimplemented to return
9089         BasicOneTouchButton.
9090         (getPreferredSize): Reimplemented to return fixed preferredSize.
9091         (oneTouchExpandableChanged): Add OneTouchAction action to
9092         buttons. Don't install mouse listeners.
9093         (MouseHandler.mousePressed): Removed handling of one touch buttons.
9094         (paint): Don't trigger extra paint for buttons.
9095         (propertyChange): Revalidate splitPane when orientation is changed.
9096         (setBasicSplitPaneUI): Call oneTouchExpandableChanged only when
9097         oneTouchExpandable is true.
9098         * javax/swing/plaf/basic/BasicSplitPaneUI.java
9099         (installDefaults): Install dividerSize on the divider too.
9100         * javax/swing/plaf/metal/MetalSplitPaneDivider.java
9101         (MetalDividerLayout): Removed. Functionality is already
9102         in BasicSplitPaneDivider.DividerLayout.
9103         (MetalOneTouchButton): New inner class.
9104         (BUTTON_SPRITE): New constant field.
9105         (MetalSplitPaneDivider): Don't change layout.
9106         (createLeftOneTouchButton): Overridden to return custom button
9107         for Metal.
9108         (createRightOneTouchButton): Overridden to return custom button
9109         for Metal.
9110         (paint): Don't trigger button painting. Call super instead.
9111
9112 2006-08-13  Roman Kennke  <kennke@aicas.com>
9113
9114         * javax/swing/plaf/basic/BasicTableHeaderUI.java
9115         (installKeyboardAction): Unmarked as stub. Added comment
9116         explaining that the RI seems to do nothing here.
9117         (uninstallKeyboardAction): Unmarked as stub. Added comment
9118         explaining that the RI seems to do nothing here.
9119
9120 2006-08-13  Roman Kennke  <kennke@aicas.com>
9121
9122         PR 28135
9123         * javax/swing/ScrollPaneLayout.java
9124         (layoutContainer): Consider the viewportBorder of the
9125         JScrollPane.
9126         (minimumLayoutSize): Consider the viewportBorder of the
9127         JScrollPane.
9128         (preferredLayoutSize): Consider the viewportBorder of the
9129         JScrollPane.
9130         * javax/swing/plaf/basic/BasicScrollPaneUI.java
9131         (installDefaults): Also install viewportBorder if specified.
9132         (paint): Paint viewportBorder if present.
9133         (uninstallDefaults): Uninstall viewportBorder if appropriate.
9134         Don't nullify foreground, background and font. Uninstall
9135         border via LookAndFeel helper method to avoid uninstall
9136         user set border.
9137
9138 2006-08-13  Roman Kennke  <kennke@aicas.com>
9139
9140         PR 28696
9141         * javax/swing/plaf/basic/BasicHTML.java
9142         (HTMLRootView.HTMLRootView): Trigger initial layout.
9143         (HTMLRootView.setSize): Overridden to forward to real view.
9144         * javax/swing/plaf/basic/BasicToolTipUI.java
9145         (PropertyChangeHandler): New inner class. Updates the HTML
9146         renderer.
9147         (propertyChangeHandler): New field.
9148         (getMaximumSize): Add HTML width delta.
9149         (getMinimumSize): Add HTML width delta.
9150         (getPreferredSize): Reimplemented to use HTML view for size
9151         calculation if appropriate, otherwise use simple stringWidth()
9152         measurement.
9153         (installListeners): Install propertyChangeHandler.
9154         (uninstallListeners): Uninstall propertyChangeHandler.
9155         (installUI): Update HTML renderer.
9156         (uninstallUI): Update HTML renderer.
9157         (paint): Reimplemented to use HTML view for rendering if
9158         appropriate, simple drawString otherwise.
9159         * javax/swing/plaf/metal/MetalToolTipUI.java
9160         (getPreferredSize): Call super and add accelerator delta.
9161         (paint): Simply call super.
9162
9163 2006-08-13  Roman Kennke  <kennke@aicas.com>
9164
9165         * javax/swing/JMenu.java
9166         (changeListener): Renamed to menuChangeListener to avoid
9167         shadowing changeListener field from AbstractButton.
9168
9169 2006-08-13  Roman Kennke  <kennke@aicas.com>
9170
9171         * javax/swing/JTree.java
9172         (getScrollableUnitIncrement): Fixed direction.
9173         (getScrollableBlockIncrement): Implemented to scroll one
9174         page.
9175         * javax/swing/tree/VariableHeightLayoutCache.java
9176         (distance): Consider y + height already outside the node.
9177
9178 2006-08-13  Roman Kennke  <kennke@aicas.com>
9179
9180         * javax/swing/JTable.java
9181         (getScrollableUnitIncrement): Fixed direction. Make it behave
9182         like the RI.
9183         (getScrollableBlockIncrement): Fixed direction. Make it behave
9184         like the RI.
9185
9186 2006-08-13  Roman Kennke  <kennke@aicas.com>
9187
9188         * javax/swing/JList.java
9189         (getScrollableUnitIncrement): Fixed direction. Implemented
9190         horizontal scrolling. Improved usability.
9191         (getScrollableBlockIncrement): Fixed direction. Improved usability.
9192
9193 2006-08-13  Roman Kennke  <kennke@aicas.com>
9194
9195         * javax/swing/plaf/basic/BasicScrollBarUI.java
9196         (scrollByUnit): Scroll by -unit when direction is not positive
9197         and +unit otherwise.
9198         (scrollByBlock): Scroll by -unit when direction is not positive
9199         and +unit otherwise.
9200
9201 2006-08-13  Roman Kennke  <kennke@aicas.com>
9202
9203         PR 28028
9204         * javax/swing/text/PlainView.java
9205         (paint): Limit painted area to the lines inside the clip
9206         and allocation.
9207
9208 2006-08-13  Roman Kennke  <kennke@aicas.com>
9209
9210         * javax/swing/plaf/basic/BasicTextUI.java
9211         (uninstallListeners): Unregister document listener.
9212
9213 2006-08-13  Sven de Marothy  <sven@physto.se>
9214
9215         * java/util/Locale.java
9216         (hashcodeCache): New field.
9217         (hashCode): use the above field instead of the serialized one
9218         (writeObject): Removed method.
9219         (readObject): Intern strings.
9220         (equals): Revert to previous method.
9221
9222 2006-08-13  Roman Kennke  <kennke@aicas.com>
9223
9224         * javax/swing/JTabbedPane.java
9225         (JTabbedPane): Call setModel() here and let this install the
9226         change listener correctly.
9227         (setModel): Correctly uninstall and reinstall ChangeListener when
9228         model changes.
9229
9230 2006-08-13  Raif S. Naffah  <raif@swiftdsl.com.au>
9231
9232         PR Classpath/23952
9233         * java/util/ResourceBundle.java (CACHE_SIZE): New constant.
9234         (bundleCache): Replaced with an LRU of CACHE_SIZE elements.
9235         (lastDefaultLocale): Removed.
9236         (emptyLocale): Likewise.
9237         (BundleKey.defaultLocale): New field.
9238         (BundleKey.BundleKey): Add a Locale (as a 1st positional) argument.
9239         (BundleKey.set): Likewise.
9240         (BundleKey.equals): Take defaultLocal field into consideration.
9241         (getBundle(String, Locale, ClassLoader)): Use updated BundleKey and LRU.
9242
9243 2006-08-13  Roman Kennke  <kennke@aicas.com>
9244
9245         * javax/swing/JMenu.java
9246         (MenuChangeListener): New inner class, helps firing menu events.
9247         (changeListener): New field.
9248         (add(text)): Create new JMenuItem here and call add(JMenuItem).
9249         (add(Action)): Create Action using createActionComponent()
9250         and add via add(Component).
9251         (setModel): Install and uninstall MenuChangeListener here.
9252
9253 2006-08-13  Raif S. Naffah  <raif@swiftdsl.com.au>
9254
9255         PR Classpath/27372
9256         * java/math/BigInteger.java: Updated copyright year.
9257         (init): Consume as little bytes as possible.
9258         (BigInteger(int, int, Random)): Ensure bitLength bits are used.
9259         (valueOf(String, int)): Throw NumberFormatException for malformed strings
9260         as per RI's documentation.
9261
9262 2006-08-13  Sven de Marothy  <sven@physto.se>
9263
9264         * java/util/Locale.java
9265         (hashcode): Is a serialized field, not transient.
9266         (equals): Should NOT compare strings by reference.
9267         (readObject/writeObject): Use the default methods and handle the hash
9268         seperately.
9269
9270 2006-08-13  Raif S. Naffah  <raif@swiftdsl.com.au>
9271
9272         PR Classpath/28678
9273         * gnu/java/security/Engine.java (getInstance(String, String, Provider)):
9274         Updated documentation.
9275         Formatting.
9276         (getInstance(String, String, Provider, Object[])): Likewise.
9277         Separate checks for null and empty string arguments.
9278         Include as much information as possible in the exception's message.
9279         Do not swallow original exception; instead use it as the cause of the
9280         resulting exception.
9281         * gnu/javax/security/auth/callback/AbstractCallbackHandler.java
9282         (getInstance(String)): Updated documentation.
9283         Formatting.
9284         Store last exception caught when iterating through all providers.
9285         If no implementation found, raise last exception if one was caught.
9286         (getInstance(String, String)): Updated documentation.
9287         Formatting.
9288         Check for null or empty provider as per RI-5's documentation.
9289         (getInstance(String, Provider)): Updated documentation.
9290         Formatting.
9291         Use as much information as possible in the exception message.
9292         Do not swallow original exception; instead use it as the cause for the
9293         ultimate raised exception(s).
9294         * java/security/cert/CertificateFactory.java: Likewise.
9295         * java/security/cert/CertPathBuilder.java: Likewise.
9296         * java/security/cert/CertPathValidator.java: Likewise.
9297         * java/security/cert/CertStore.java: Likewise.
9298         * java/security/AlgorithmParameterGenerator.java: Likewise.
9299         * java/security/AlgorithmParameters.java: Likewise.
9300         * java/security/KeyFactory.java: Likewise.
9301         * java/security/KeyPairGenerator.java: Likewise.
9302         * java/security/KeyStore.java: Likewise.
9303         * java/security/MessageDigest.java: Likewise.
9304         * java/security/SecureRandom.java: Likewise.
9305         * java/security/Signature.java: Likewise.
9306         * javax/crypto/Cipher.java: Likewise.
9307         * javax/crypto/ExemptionMechanism.java: Likewise.
9308         * javax/crypto/KeyAgreement.java: Likewise.
9309         * javax/crypto/KeyGenerator.java: Likewise.
9310         * javax/crypto/Mac.java: Likewise.
9311         * javax/crypto/SecretKeyFactory.java: Likewise.
9312         * javax/net/ssl/KeyManagerFactory.java: Likewise.
9313         * javax/net/ssl/SSLContext.java: Likewise.
9314         * javax/net/ssl/TrustManagerFactory.java: Likewise.
9315
9316 2006-08-13  Roman Kennke  <kennke@aicas.com>
9317
9318         * javax/swing/JEditorPane.java
9319         (getScrollableTracksViewportHeight): Also check maximum size.
9320         * javax/swing/JTextPane.java
9321         (insertIcon): Use input attributes for adding the icon
9322         attribute.
9323         * javax/swing/plaf/basic/BasicTextUI.java
9324         (RootView.setSize): Overridden to forward to real view.
9325         (getPreferredSize): Trigger setSize() on the view.
9326         (viewToModel(JTextComponent,Point)): Pass Position.Bias array
9327         to viewToModel() call, rather then null.
9328         * javax/swing/text/ParagraphView.java
9329         (changedUpdate): Invalide layout. Call super.
9330         * javax/swing/text/SimpleAttributeSet.java
9331         (clone): Use super's clone method to create clone.
9332         * javax/swing/text/StyleConstants.java
9333         (setIcon): Also set element name attribute.
9334         * javax/swing/text/StyledEditorKit.java
9335         (BoldAction.actionPerformed): Actually set the bold attribute,
9336         not italic.
9337         (setCharacterAttributes): Replaced with more straightforward
9338         impl.
9339         * javax/swing/text/TextAction.java
9340         (getFocusedComponent): Implemented.
9341         * javax/swing/text/Utilities.java
9342         (getNextVisualPositionFrom): Pass Position.Bias arrays instead
9343         of null.
9344         * javax/swing/text/View.java
9345         (changedUpdate): Nullify element change when updateChildren
9346         says so.
9347
9348 2006-08-11  Andrew John Hughes  <gnu_andrew@member.fsf.org>
9349
9350         * vm/reference/gnu/java/lang/management/VMMemoryMXBeanImpl.java:
9351         Fix documentation typos.
9352
9353 2006-08-11  David Daney  <ddaney@avtrex.com>
9354
9355         PR classpath/28580
9356         * gnu/java/net/protocol/http/Request.java (readResponse):  Call
9357         createResponseBodyStream in more cases and with new parameter.
9358         (createResponseBodyStream):  Added new parameter mayHaveBody.  Handle
9359         HEAD and !mayHaveBody responses specially.
9360         
9361 2006-08-11  Roman Kennke  <kennke@aicas.com>
9362
9363         * javax/swing/text/GlyphView.java
9364         (DefaultGlyphPainter.modelToView): Fixed model->view mapping.
9365         * javax/swing/text/LabelView.java
9366         (valid): New flag indicating if the text attributes are valid.
9367         (LabelView): Initialize valid field with false.
9368         (setPropertiesFromAttributes): Call setter methods instead
9369         of setting properties directly. Set valid to true.
9370         (changedUpdate): Invalidate attributes. Call super.
9371         (getBackground): Sync attributes if necessary.
9372         (getForeground): Sync attributes if necessary.
9373         (getFont): Sync attributes if necessary.
9374         (isUnderline): Sync attributes if necessary.
9375         (isSuperscript): Sync attributes if necessary.
9376         (isStrikeThrough): Sync attributes if necessary.
9377         (getFontMetrics): Sync attributes if necessary. Fetch font metrics
9378         from toolkit if Container is not available yet.
9379
9380 2006-08-11  Roman Kennke  <kennke@aicas.com>
9381
9382         * javax/swing/text/PlainView.java
9383         (tabBase): New field.
9384         (tabSize): New field.
9385         (updateMetrics): Update tabSize.
9386         (lineToRect): Only allocate when really necessary.
9387         (modelToView): Use tabBase for offset calculations.
9388         (paint): Only allocate when really necessary. Update tabBase.
9389         (nextTabStop): Fixed tab calculation.
9390         (viewToModel): Correctly handle multiline text and locations
9391         outside the view's bounds. Set bias.
9392         (getLineLength): Use tabBase.
9393         * javax/swing/text/Utilities.java
9394         (drawTabbedText): Don't special case newlines. The views
9395         must take care of this.
9396
9397 2006-08-11  Roman Kennke  <kennke@aicas.com>
9398
9399         * javax/swing/text/GapContent.java
9400         (UndoPosRef): New inner class. Used for resetting positions
9401         after undo/redo operations.
9402         (InsertUndo.positions): New field.
9403         (InsertUndo.undo): Store positions in removed range.
9404         (InsertUndo.redo): Restore positions in re-inserted range.
9405         (UndoRemove.positions): New field.
9406         (UndoRemove.UndoRemove): Store positions in removed range.
9407         (UndoRemove.undo): Restore positions in re-inserted range.
9408         (UndoRemove.redo): Store positions in removed range.
9409         (insertString): Create InsertUndo instance before actually
9410         inserting the string.
9411         (remove): Create UndoRemove instance before actually
9412         removing.
9413         (getPositionsInRange): Don't clear the Vector. Return Vector
9414         of UndoPosRefs.
9415         (updateUndoPositions): Implemented to reset all UndoPosRefs
9416         in the vector.
9417
9418 2006-08-11  Jeroen Frijters  <jeroen@frijters.net>
9419
9420         * java/io/ObjectInputStream.java (readClassDescriptor):
9421         Use class's class loader to resolve field types.
9422         * java/io/ObjectStreamField.java
9423         (ObjectStreamField(String,String,ClassLoader)): Removed.
9424         (ObjectStreamField(String,String)): Don't try to resolve typename.
9425         (resolveType): New method.
9426
9427 2006-08-10  Roman Kennke  <kennke@aicas.com>
9428
9429         * javax/swing/text/BoxView.java
9430         (calculateMajorAxisRequirements): Sum up the preferred and
9431         maximum sizes.
9432         (isAfter): Also add in the rectangle's with/height.
9433         (childAllocation): Don't trigger layout here.
9434         (layoutMinorAxis): Removed debug output.
9435         (getWidth): Consider the insets.
9436         (getHeight): Consider the insets.
9437         (setSize): Consider the insets.
9438         (updateRequirements): Check axis and throw
9439         IllegalArgumentException.
9440
9441 2006-08-10  Roman Kennke  <kennke@aicas.com>
9442
9443         * javax/swing/text/AbstractDocument.java
9444         (BidiRootName): New constant field, denotes the element name
9445         for bidi root elements.
9446         (AsyncLoadPriority): New constant field, denotes the property
9447         to store the asynchronousLoadPriority.
9448         (I18N): New constant field, denotes the property for
9449         I18N support.
9450         (bidiRoot): Made field type BidiRootElement.
9451         (AbstractDocument): Build initial element structure for
9452         bidi.
9453         (getAsynchronousLoadPriority): Implemented. Returns the
9454         value stored in the document properties.
9455         (setAsynchronousLoadPriority): Implemented. Sets the
9456         value stored in the document properties.
9457         (getEndPosition): Implemented to use a Position from the
9458         content.
9459         (getStartPosition): Implemented to use a Position from the
9460         content.
9461         (insertStringImpl): Update the I18N setting if necessary.
9462         (insertUpdate): Update the bidi structure if necessary.
9463         (postRemoveUpdate): Update the bidi structure if necessary.
9464         (putProperty): Update the I18N setting and bidi structure
9465         if necessary.
9466         (updateBidi): New helper method for updating the bidi
9467         structure.
9468         (getBidis): New helper method. Fetches the Bidi analysers
9469         for the paragraphs of the range to check.
9470         (dump): Also dump the bidi structure.
9471         (AbstractElement.dump): Indent the '>' correctly.
9472         (AbstractElement.children): Check numChildren rather then
9473         children.length.
9474         (BidiRootElement): New inner class.
9475         (BidiElement): New inner class.
9476
9477 2006-08-10  Roman Kennke  <kennke@aicas.com>
9478
9479         * javax/swing/text/GapContent.java
9480         (getChars): Optimized to only copy array when really necessary.
9481         Respect the partialReturn property.
9482
9483 2006-08-10  Lillian Angel  <langel@redhat.com>
9484
9485         * gnu/java/awt/dnd/peer/gtk/GtkDragSourceContextPeer.java
9486         (getComponentPeer): Added check to prevent NPE.
9487
9488 2006-08-10  Gary Benson  <gbenson@redhat.com>
9489
9490         * java/security/AccessControlContext.java (<init>):
9491         Avoid a duplicated AccessController.getContext() call.
9492
9493 2006-08-09  Mark Wielaard  <mark@klomp.org>
9494   
9495         * doc/www.gnu.org/newsitems.txt: Add 0.92.
9496         * doc/www.gnu.org/downloads/downloads.wml: Likewise.
9497         * doc/www.gnu.org/announce/20060809.wml: New file.
9498
9499 2006-08-09  Mark Wielaard  <mark@klomp.org>
9500
9501         * configure.ac (VERSION): Set to 0.92-generics.
9502         * NEWS: Add updates for 0.92 release.
9503
9504 2006-08-09  Tom Tromey  <tromey@redhat.com>
9505
9506         PR classpath/28658:
9507         * java/text/SimpleDateFormat.java (parse): Let an unquoted space in
9508         the pattern match any number of spaces in the text.
9509
9510 2006-08-09  Sven de Marothy  <sven@physto.se>
9511
9512         * java/awt/image/BufferedImage.java
9513         (BufferedImage): Reimplement predefined-type constructor.
9514         (observers/tileObservers): Field renamed to tileObservers.
9515         (createDefaultIndexedColorModel): New method.
9516
9517 2006-08-09  Tom Tromey  <tromey@redhat.com>
9518
9519         PR classpath/28666:
9520         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice.c
9521         (Java_gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice_nativeGetDisplayModes):
9522         Create a 'short' array.
9523
9524 2006-08-09  Tom Tromey  <tromey@redhat.com>
9525
9526         * tools/gnu/classpath/tools/javah/JniHelper.java (getName): Properly
9527         handle arrays.
9528         * tools/gnu/classpath/tools/javah/JniIncludePrinter.java
9529         (writeFields): Print "L" after int constant.  Don't mangle the field
9530         name.  Only print int/long fields.
9531
9532 2006-08-09  Tom Tromey  <tromey@redhat.com>
9533
9534         * tools/gnu/classpath/tools/javah/Main.java (getParser): Name program
9535         "javah".
9536
9537 2006-08-09  Sven de Marothy  <sven@physto.se>
9538
9539         * javax/swing/JTree.java
9540         (JTree): Default SelectionModel should be DefaultTreeSelectionModel.
9541         (setSelectionModel): Null parameter should create an EmptySelectionM.
9542
9543 2006-08-09  Roman Kennke  <kennke@aicas.com>
9544
9545         * javax/swing/text/AbstractDocument.java
9546         (insertString): Perform modifications inside a write lock.
9547         (insertStringImpl): Don't lock here. This is already done
9548         in insertString().
9549         (replace): Perform modifications inside a write lock.
9550         (AbstractElement.AbstractElement): Call addAttributes() to
9551         add the attributes.
9552         (AbstractElement.getName): Fetch name from the ElementNameAttibute.
9553         (BranchElement.lastIndex): New field. Optimizes getElementIndex().
9554         (BranchElement.BranchElement): Set lastIndex to -1.
9555         (BranchElement.getElementIndex): Implemented more efficient
9556         search.
9557
9558 2006-08-09  Roman Kennke  <kennke@aicas.com>
9559
9560         * javax/swing/text/DefaultStyledDocument.java
9561         (Edit): Moved this inner class into ElementBuffer where it
9562         is actually needed.
9563         (edits): Moved this field into ElementBuffer.
9564         (getEditForParagraphAndIndex): Removed obsolete method.
9565         (insertUpdate): Added some optimizations and fixes. Split
9566         out handling insertion after newlines.
9567         (insertAfterNewline): New helper method. Handles insertions
9568         after a newline.
9569         (ElementBuffer.Edit): New inner class. Moved here from
9570         DefaultStyledDocument.
9571         (ElementBuffer.createdFracture): New field.
9572         (ElementBuffer.documentEvent): Made private.
9573         (ElementBuffer.edits): New field. Moved here from
9574         DefaultStyledDocument.
9575         (ElementBuffer.fracNotCreated): Replaced by createdFracture.
9576         (ElementBuffer.fracturedChild): New field.
9577         (ElementBuffer.fracturedParent): New field.
9578         (ElementBuffer.insertPath): New field.
9579         (ElementBuffer.lastFractured): Removed. Replaced by fracturedChild and
9580         fracturedParent.
9581         (ElementBuffer.offsetLastIndex): New field.
9582         (ElementBuffer.offsetLastIndexReplace): New field.
9583         (ElementBuffer.recreateLeafs): New field.
9584         (ElementBuffer.ElementBuffer): Don't initialize stack here.
9585         (ElementBuffer.canJoin): New helper method.
9586         (ElementBuffer.changeUpdate): Changed to use elementStack with
9587         Edits rather than Elements. Let the split method do the work.
9588         (ElementBuffer.cloneAsNecessary): New helper method.
9589         (ElementBuffer.createFracture): Changed to fracture the bottommost
9590         child in the stack.
9591         (ElementBuffer.finishEdit): New helper method. Moved out
9592         from insertUpdate to perform the actual changes and update
9593         the event.
9594         (fracture): New helper method.
9595         (insertContentTag): Fixed some bugs and changed to use Edit
9596         instances in the stack, rather then Elements.
9597         (insertElement): New helper method. Moved out from insertUpdate()
9598         to process the ElementSpecs.
9599         (insertFirstContentTag): Fixed some problems and changed to use Edit
9600         instances in the stack, rather then Elements.
9601         (insertFracture): Removed. Basically moved into createFracture()
9602         and fracture().
9603         (insertParagraph): Removed.
9604         (insertUpdate): Split out the ElementSpec processing into
9605         insertElement(). Use Edit instances in the stack. Fixed some
9606         problems.
9607         (insert): Split out the preparation and finishing code into
9608         prepareEdit() and finishEdit().
9609         (join): New helper method.
9610         (pop): New helper method.
9611         (prepareEdit): New helper method.
9612         (recreateFracturedElement): New helper method.
9613         (recreateLeaves): Removed.
9614         (recreate): New helper method.
9615         (removeElements): New helper method. Split out from removeUpdate().
9616         (removeUpdate): Split out the actual removal. Use the
9617         Edit stack to perform removal and perform the remove actions
9618         and event updates afterwards, just like in insertImpl().
9619         (remove): Use prepareEdit() and finishEdit().
9620         (split): Replaced with more flexible impl.
9621
9622 2006-08-09  Sven de Marothy  <sven@physto.se>
9623
9624         * gnu/java/awt/peer/gtk/CairoSurface.java
9625         Change class to extend WritableRaster and not DataBuffer.
9626         (CairoDataBuffer): New inner class.
9627         * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
9628         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
9629         * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java
9630         Accomodate the above change.
9631
9632 2006-08-09  Sven de Marothy  <sven@physto.se>
9633
9634         * gnu/java/awt/peer/gtk/GtkMainThread.java
9635         New file.
9636         * gnu/java/awt/peer/gtk/GtkChoicePeer.java
9637         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
9638         Replace GtkToolkit.mainThread with GtkMainThread.mainThread.
9639         * gnu/java/awt/peer/gtk/GtkToolkit.java
9640         Minor style fixes; removed unused fields, 
9641         set fields to private where possible.
9642         (createDialog, createFrame, createWindow, createEmbeddedWindow): 
9643         Call GtkMainThread.createWindow().
9644         * gnu/java/awt/peer/gtk/GtkWindowPeer.java
9645         (dispose): New method.
9646         * include/gnu_java_awt_peer_gtk_GtkToolkit.h
9647         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
9648         (gtkQuit): New native method.
9649
9650 2006-08-08  Lillian Angel  <langel@redhat.com>
9651
9652         * java/awt/Component.java
9653         (setDropTarget): Added check.
9654
9655 2006-08-08  Lillian Angel  <langel@redhat.com>
9656
9657         * gnu/java/awt/dnd/peer/gtk/GtkDragSourceContextPeer.java
9658         (GtkDragSourceContextPeer): Added FIXME. Changed call
9659         to setTarget. 
9660         * gnu/java/awt/dnd/peer/gtk/GtkDropTargetContextPeer.java
9661         (GtkDropTargetContextPeer): Removed target initialization.
9662         * java/awt/Component.java
9663         (setTarget): Removed commented out code.
9664
9665 2006-08-08  Mark Wielaard  <mark@klomp.org>
9666
9667         * javax/swing/text/DefaultHighlighter.java: Qualify
9668         Highlighter.HighlightPainter class name for gcj.
9669
9670 2006-08-05  Roman Kennke  <kennke@aicas.com>
9671
9672         * javax/swing/plaf/basic/BasicTableUI.java
9673         (MouseInputHandler.mousePressed): Request focus on list
9674         component.
9675
9676 2006-08-05  Roman Kennke  <kennke@aicas.com>
9677
9678         * javax/swing/plaf/basic/BasicListUI.java
9679         (MouseInputHandler.mousePressed): Request focus on list
9680         component.
9681
9682 2006-08-05  Roman Kennke  <kennke@aicas.com>
9683
9684         PR 28650
9685         * javax/swing/plaf/basic/BasicMenuBarUI.java
9686         (getActionMap): Store ActionMap in MenuBar.actionMap, rather
9687         than Tree.actionMap.
9688         * javax/swing/plaf/basic/BasicTreeUI.java
9689         (action): Removed obsolete field.
9690         (uninstallKeyboardActions): Removed action field handling.
9691         (installKeyboardActions): Removed action field handling.
9692         (createDefaultActions): Don't install removed TreeAction.
9693         (TreeAction): Removed obsolete inner class.
9694         (ActionListenerProxy): Removed obsolete inner class.
9695         (MouseHandler.mousePressed): Request focus on JTree component
9696         on mouse press.
9697
9698 2006-08-08  Roman Kennke  <kennke@aicas.com>
9699
9700         * javax/swing/plaf/basic/BasicListUI.java
9701         (MouseInputHandler.mousePressed): Request focus on list
9702         component.
9703
9704 2006-08-08  Roman Kennke  <kennke@aicas.com>
9705
9706         * javax/swing/plaf/basic/BasicTableUI.java
9707         (MouseInputHandler.mousePressed): Request focus on list
9708         component.
9709
9710 2006-08-08  Roman Kennke  <kennke@aicas.com>
9711
9712         * javax/swing/plaf/basic/BasicTextUI.java
9713         (damageRange(JTextComponent,int,int)): Call damageRange() with
9714         correct biases, rather than null.
9715         (damageRange(JTextComponent,int,int,Bias,Bias)): Rewritten
9716         to use simpler modelToView() approach without much special
9717         casing. This seems not worth the effort and actually
9718         caused problems. Added locking of the document.
9719         * javax/swing/text/BoxView.java
9720         (requirementsValid): New field.
9721         (calculateMajorAxisRequirements): Rewritten without using
9722         SizeRequirements. The SizeRequirements algorithms are slightly
9723         different and too inefficient.
9724         (calculateMinorAxisRequirements): Rewritten without using
9725         SizeRequirements. The SizeRequirements algorithms are slightly
9726         different and too inefficient.
9727         (getAlignment): Simply return the alignment of the cached
9728         requirements.
9729         (getMaximumSpan): Add insets.
9730         (getMinimumSpan): Add insets.
9731         (getPreferredSpan): Add insets.
9732         (layoutMajorAxis): Rewritten without using
9733         SizeRequirements. The SizeRequirements algorithms are slightly
9734         different and too inefficient.
9735         (layoutMinorAxis): Rewritten without using
9736         SizeRequirements. The SizeRequirements algorithms are slightly
9737         different and too inefficient.
9738         (modelToView): Call setSize() rather than layout().
9739         (paint): Check clip for more efficient painting.
9740         (preferenceChanged): Invalidate requirements here.
9741         (replace): Invalidate requirements here.
9742         (updateRequirements): Update requirements only when requirements
9743         are marked invalid.
9744         * javax/swing/text/CompositeView.java
9745         (modelToView): Added some more checks and handling of corner cases.
9746         * javax/swing/text/FlowView.java
9747         (calculateMinorAxisRequirements): Set aligment to 0.5 and maximum
9748         span to Integer.MAX_VALUE. Limit preferredSize to minimumSize.
9749         * javax/swing/text/IconView.java
9750         (getAlignment): Implemented to return 1.0 for vertical alignment.
9751         * javax/swing/text/ParagraphView.java
9752         (Row.getMaximumSpan): Implemented to let Rows span the whole
9753         ParagraphView.
9754         (getAlignment): Fixed horizontal alignment and vertical alignment
9755         for empty paragraphs to be 0.5.
9756
9757 2006-08-08  Roman Kennke  <kennke@aicas.com>
9758
9759         * javax/swing/text/View.java
9760         (modelToView): Added special handling for corner case at the end
9761         of the view and for multiline views.
9762
9763 2006-08-08  Roman Kennke  <kennke@aicas.com>
9764
9765         * javax/swing/plaf/basic/BasicTextUI.java
9766         (modelToView): Read-lock the document. Set size of the
9767         root view before fetching the model-to-view mapping.
9768         (getViewIndex): Check of the position is inside the range and
9769         return -1 if this is not the case.
9770         (getViewAtPosition(int,Rectangle): Update child allocation for valid
9771         view index.
9772         (getViewIndexAtPosition(int)): Delegate the index search to
9773         the element since we have a 1:1 mapping between elements and
9774         views here.
9775         * javax/swing/text/DefaultCaret.java
9776         (appear): Ignore BadLocationException.
9777         (paint): Ignore BadLocationException.
9778         * javax/swing/text/FlowView.java
9779         (changedUpdate): Also notify the layoutPool view.
9780         (removeUpdate): Also notify the layoutPool view.
9781         * javax/swing/text/ParagraphView.java
9782         (Row.getViewIndexAtPosition): Overridden to search linearily
9783         through the view instead of relying on a 1:1 model to view
9784         mapping.
9785         * javax/swing/text/View.java
9786         (removeUpdate): Clear ElementChange object if updateChildren
9787         returns false.
9788         (forwardUpdate): Special handle some boundary cases.
9789
9790 2006-08-07  Raif S. Naffah  <raif@swiftdsl.com.au>
9791
9792         * gnu/java/security/key/dss/DSSKey.java: Updated documentation.
9793         (hasInheritedParameters): New method.
9794         (equals): Updated documentation.
9795         Take into consideration the outcome of hasInheritedParameters invocation.
9796         (toString): Call hasInheritedParameters and adjust the result accordingly.
9797         * gnu/java/security/key/dss/DSSKeyPairX509Codec.java (encodePublicKey):
9798         Updated documentation.
9799         Handle case of public keys with null p, q, and g MPIs.
9800         (decodePublicKey): Handle case of absent or NULL p, q and g MPIs.
9801
9802 2006-08-07  Tom Tromey  <tromey@redhat.com>
9803
9804         PR libgcj/23682:
9805         * java/nio/channels/SelectionKey.java (attach): Now synchronized.
9806         (attachment): Likewise.
9807         * java/nio/channels/spi/AbstractSelectionKey.java (cancel): Now
9808         synchronized.
9809         (isValid): Likewise.
9810         * gnu/java/nio/SelectionKeyImpl.java (impl): Now final
9811         (ch): Likewise.
9812         (interestOps): Synchronize.
9813         (readyOps): Likewise.
9814         * gnu/java/nio/SelectorImpl.java (register): Synchronize around
9815         interestOps call.
9816
9817 2006-08-07  C. Scott Marshall  <csm@gnu.org>
9818
9819         Fixes PR 28608.
9820         * java/nio/DirectByteBufferImpl.java (duplicate): only reset if
9821         the mark has been set.
9822         * native/jni/java-nio/java_nio_VMDirectByteBuffer.c
9823         (Java_java_nio_VMDirectByteBuffer_allocate): zero out the
9824         allocated data.
9825
9826 2006-08-07  Sven de Marothy  <sven@physto.se>
9827
9828         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
9829         (drawGlyphVector): Synchronize against font object when drawing.
9830         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
9831         (nativeDrawGlyphVector): Use pango locking when drawing.
9832         (install_font_peer): Use pango locking when creating the cairo face.
9833
9834 2006-08-06  Roman Kennke  <kennke@aicas.com>
9835
9836         PR 28571
9837         * gnu/java/awt/peer/gtk/GtkCanvasPeer.java
9838         (getPreferredSize): Renamed method to preferredSize(). That's
9839         the one that gets called from java.awt.*.
9840         * java/awt/peer/ComponentPeer.java
9841         (getPreferredSize): Added specnote about this method never
9842         beeing called in the RI.
9843         (getMinimumSize): Added specnote about this method never
9844         beeing called in the RI.
9845
9846 2006-08-03  Sven de Marothy  <sven@physto.se>
9847
9848         * gnu/java/awt/peer/gtk/ComponentGraphics.java
9849         (grab, nativeGrab): New methods.
9850         * include/gnu_java_awt_peer_gtk_ComponentGraphics.h
9851         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
9852         (nativeGrab): New method.
9853         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
9854         (print): Implement.
9855         * java/awt/Component.java
9856         (printAll): Should call peer print method.
9857
9858 2006-08-06  Thomas Minor  <1nocentrabidlamb@sexMagnet.com>
9859
9860         * java/net/URL.java (getContent(Class[])): Implement.
9861
9862 2006-08-06  Mark Wielaard  <mark@klomp.org>
9863
9864         PR 28555
9865         Suggested by Matthew Burgess <matthew@linuxfromscratch.org>
9866         * gnu/xml/transform/ApplyTemplatesNode.java (clone): Check whether
9867         withParams is null.
9868         * gnu/xml/transform/ForEachNode.java (clone): Check whether
9869         sortKeys is null.
9870
9871 2006-08-06  Roman Kennke  <kennke@aicas.com>
9872
9873         * NEWS: Added note about the X peers.
9874         * INSTALL: Added install notes about the X peers. 
9875
9876 2006-08-06  Raif S. Naffah  <raif@swiftdsl.com.au>
9877             Paul Jenner  <psj@harker.dyndns.org>
9878
9879         * README: Update bug, patches and cvs instructions plus new URLs of
9880         various external projects.
9881
9882 2006-08-06  Thomas Fitzsimmons  <fitzsim@redhat.com>
9883
9884         * configure.ac (MOZILLA_FOUND): Fall back to
9885         mozilla-firefox-plugin.
9886
9887 2006-08-06  Mario Torre  <neugens@limasoftware.net>
9888
9889         Reported by Raif S. Naffah <raif@swiftdsl.com.au>
9890         * native/jni/gconf-peer/GConfNativePeer.c (init_gconf_client):
9891         g_type_init earlier in function to correctly initialize the
9892         type system used by the backend.
9893
9894 2006-08-05  Roman Kennke  <kennke@aicas.com>
9895   
9896         * javax/swing/text/DefaultHighlight.java
9897         (DefaultHighlightPainter.paintHighlight): Removed method.
9898         (DefaultHighlightPainter.paintLayer): Implemented.
9899         (DefaultHighlightPainter.paint): Implemented more efficient
9900         painting for multiline-highlights.
9901         (HighlightEntry.p0): Changed to be a Position.
9902         (HighlightEntry.p1): Changed to be a Position.
9903         (HighlightEntry.HighlightEntry): Changed to take Position
9904         arfuments.
9905         (HighlightEntry.getStartOffset): Changed to return p0.getOffset();
9906         (HighlightEntry.getEndOffset): Changed to return p1.getOffset();
9907         (LayerHighlightEntry): New inner class. Extends HighlightEntry
9908         and tracks the painted rectangle for efficient repainting.
9909         (addHighlight): Handle layered highlight.
9910         (changeHighlight): Handle layered highlight.
9911         (paintLayeredHighlights): Implemented.
9912         (paint): Paint only non-layered highlights here.
9913         (removeAllHighlights): Trigger correct repaint.
9914         (removeHighlight): Handle layered highlight here for
9915         more efficient repainting.
9916         * javax/swing/text/GlyphView.java
9917         (paint): Handle layered highlights.
9918         * javax/swing/text/PlainView.java
9919         (paint): Handle layered highlights.
9920         * javax/swing/text/WrappedPlainView.java
9921         (WrappedLine.paint): Handle layered highlights.
9922
9923 2006-08-07  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
9924   
9925         PR 26972
9926         * NEWS: As suggested by Paul Jennier, added note about the fix of
9927         the InitialContext.
9928
9929 2006-08-07  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
9930
9931         * NEWS: Added entry about the context factories for JNDI.
9932
9933 2006-08-07  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
9934
9935         PR 27383
9936         * gnu/CORBA/Connected_objects.java (size): New method.
9937         * gnu/CORBA/OrbFunctional.java (countConnectedObjects):
9938         New method.
9939         * javax/naming/spi/NamingManager.java (getURLContext):
9940         Also search for the URL context factories in 
9941         gnu/javax/naming/jndi/url.
9942         * gnu/javax/naming/giop/ContextContinuation.java,
9943         gnu/javax/naming/giop/CorbalocParser.java,
9944         gnu/javax/naming/giop/GiopNamingEnumeration.java,
9945         gnu/javax/naming/giop/GiopNamingServiceFactory.java,
9946         gnu/javax/naming/giop/GiopNamingServiceURLContext.java,
9947         gnu/javax/naming/giop/ListBindingsEnumeration.java,
9948         gnu/javax/naming/giop/ListEnumeration.java,
9949         gnu/javax/naming/jndi/url/corbaname/corbanameURLContextFactory.java,
9950         gnu/javax/naming/jndi/url/rmi/ContextContinuation.java,
9951         gnu/javax/naming/jndi/url/rmi/ListBindingsEnumeration.java,
9952         gnu/javax/naming/jndi/url/rmi/ListEnumeration.java,
9953         gnu/javax/naming/jndi/url/rmi/RmiContinuation.java,
9954         gnu/javax/naming/jndi/url/rmi/RmiNamingEnumeration.java,
9955         gnu/javax/naming/jndi/url/rmi/rmiURLContext.java,
9956         gnu/javax/naming/jndi/url/rmi/rmiURLContextFactory.java: New files.
9957
9958 2006-08-06  Sven de Marothy  <sven@physto.se>
9959
9960         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
9961         (drawGlyphVector): Synchronize against font object when drawing.
9962         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
9963         (nativeDrawGlyphVector): Use pango locking when drawing.
9964         (install_font_peer): Use pango locking when creating the cairo face.
9965
9966 2006-08-06  C. Scott Marshall  <csm@gnu.org>
9967
9968         Fixes PR 28608.
9969         * java/nio/DirectByteBufferImpl.java (duplicate): only reset if
9970         the mark has been set.
9971         * native/jni/java-nio/java_nio_VMDirectByteBuffer.c
9972         (Java_java_nio_VMDirectByteBuffer_allocate): zero out the
9973         allocated data.
9974
9975 2006-08-06  Mark Wielaard  <mark@klomp.org>
9976
9977         PR 28555
9978         Suggested by Matthew Burgess <matthew@linuxfromscratch.org>
9979         * gnu/xml/transform/ApplyTemplatesNode.java (clone): Check whether
9980         withParams is null.
9981         * gnu/xml/transform/ForEachNode.java (clone): Check whether
9982         sortKeys is null.
9983
9984 2006-08-06  Raif S. Naffah  <raif@swiftdsl.com.au>
9985             Paul Jenner  <psj@harker.dyndns.org>
9986
9987         * README: Update bug, patches and cvs instructions plus new URLs of
9988         various external projects.
9989   
9990 2006-08-05  Andrew John Hughes  <gnu_andrew@member.fsf.org>
9991
9992         * gnu/java/lang/management/BeanImpl.java:
9993         (cacheMBeanInfo(MBeanInfo)): Override given MBeanInfo
9994         with open variant.
9995         (getCachedMBeanInfo()): Return open variant.
9996         (getMBeanInfo()): Likewise.
9997         (getTypeFromClass(Class)): Implemented.
9998         (translateSignature(MBeanParameterInfo)): Likewise.
9999         (translate(String)): Likewise.
10000         * javax/management/StandardMBean.java:
10001         (getMBeanInfo()): Return attribute names with capital letters,
10002         as in docs for java.lang.management.ManagementFactory, and
10003         ensure descriptions are not "".
10004         * javax/management/openmbean/OpenMBeanConstructorInfoSupport.java,
10005         * javax/management/openmbean/OpenMBeanInfoSupport.java,
10006         * javax/management/openmbean/OpenMBeanOperationInfoSupport.java:
10007         (toString()): Use Arrays.toString().
10008         * javax/management/openmbean/OpenMBeanParameterInfoSupport.java:
10009         (OpenMBeanParameterInfoSupport(String, String, OpenType)):
10010         Set open type here rather than in other constructors.
10011
10012 2006-08-05  Andrew John Hughes  <gnu_andrew@member.fsf.org>
10013
10014         * javax/management/MBeanFeatureInfo.java:
10015         Make string variable package-private.
10016         * javax/management/StandardMBean.java:
10017         (getMBeanInterface()): Made final.
10018         * javax/management/openmbean/SimpleType.java:
10019         Made final.
10020
10021 2006-08-05  Jeroen Frijters  <jeroen@frijters.net>
10022
10023         * java/awt/Component.java (setDropTarget): Commented out GTK specific
10024         code.
10025   
10026 2006-08-05  Andrew John Hughes  <gnu_andrew@member.fsf.org>
10027
10028         * examples/gnu/classpath/examples/swing/FillRect.java,
10029         * gnu/CORBA/Focused_ORB.java,
10030         * gnu/CORBA/interfaces/gnuSocketFactory.java,
10031         * gnu/classpath/ByteArray.java,
10032         * gnu/classpath/ObjectPool.java,
10033         * gnu/java/awt/peer/ClasspathTextLayoutPeer.java,
10034         * gnu/java/awt/peer/x/fonts.properties,
10035         * gnu/java/security/util/Prime2.java,
10036         * gnu/javax/imageio/gif/GIFStream.java,
10037         * javax/swing/text/html/HTMLTableView.java,
10038         * native/cni/Makefile.am,
10039         * org/omg/CORBA/SendingContext/RunTimeOperations.java,
10040         * org/omg/CORBA/SendingContext/Runtime.java,
10041         * resource/gnu/regexp/MessagesBundle.properties,
10042         * resource/gnu/regexp/MessagesBundle_fr.properties,
10043         * resource/gnu/regexp/MessagesBundle_it.properties,
10044         * tools/appletviewer.in,
10045         * tools/jarsigner.in,
10046         * tools/keytool.in,
10047         * vm/reference/java/lang/management/VMThreadInfo.java:
10048         Removed.
10049         * examples/gnu/classpath/examples/awt/aicas.png,
10050         * examples/gnu/classpath/examples/awt/palme.gif,
10051         * examples/gnu/classpath/examples/java2d/aicas.png,
10052         * examples/gnu/classpath/examples/java2d/palme.gif,
10053         * gnu/java/awt/font/opentype/truetype/doc-files/ZonePathIterator-1.dia,
10054         * gnu/java/awt/font/opentype/truetype/doc-files/ZonePathIterator-1.png,
10055         * java/awt/doc-files/capjoin.png,
10056         * java/awt/geom/doc-files/Area-1.png,
10057         * java/awt/geom/doc-files/Ellipse-1.png,
10058         * java/awt/geom/doc-files/GeneralPath-1.png:
10059         Added.
10060         
10061 2006-08-05  Andrew John Hughes  <gnu_andrew@member.fsf.org>
10062
10063         * configdiag.jnlp:
10064         Removed.
10065         
10066 2006-08-05  Andrew John Hughes  <gnu_andrew@member.fsf.org>
10067
10068         * gnu/java/lang/management/BeanImpl.java:
10069         (getAttribute(String)): Implemented.
10070
10071 2006-08-05  Roman Kennke  <kennke@aicas.com>
10072
10073         * javax/swing/text/JTextComponent.java
10074         (AccessibleJTextComponent.dot): Renamed field into caretDot.
10075         (AccessibleJTextComponent.textComp): Removed field
10076         and replace with JTextComponent.this construct.
10077         (AccessibleJTextComponent.AccessibleJTextComponent):
10078         Fetch caret position.
10079         (caretUpdate): Implemented. Fires property change events and
10080         updates the caretDot field.
10081         (changedUpdate): Implemented. Fires property change events.
10082         (insertUpdate): Implemented. Fires property change events.
10083         (removeUpdate): Implemented. Fires property change events.
10084         (cut): Replaced textComp with JTextComponent.this construct.
10085         (paste): Replaced textComp with JTextComponent.this construct.
10086         (replaceText): Replaced textComp with JTextComponent.this construct.
10087         (selectText): Replaced textComp with JTextComponent.this construct.
10088         (getCaretPosition): Replaced textComp with JTextComponent.this
10089         construct.
10090         (getCharCount): Replaced textComp with JTextComponent.this construct.
10091         (getSelectedText): Replaced textComp with JTextComponent.this
10092         construct.
10093         (getSelectionEnd): Replaced textComp with JTextComponent.this
10094         construct.
10095         (getSelectionStart): Replaced textComp with JTextComponent.this
10096         construct.
10097         (getTextRange): Replaced textComp with JTextComponent.this
10098         construct.
10099         (doAccessibleAction): Implemented.
10100         (getAccessibleActionCount): Implemented.
10101         (getAccessibleActionDescription): Implemented.
10102         (getAccessibleStateSet): Implemented.
10103         (getAfterIndex): Implemented.
10104         (getBeforeIndex): Implemented.
10105         (getAtIndex): Implemented.
10106         (getAtIndexImpl): New helper method.
10107         (getCharacterAttribute): Implemented.
10108         (getCharacterBounds): Implemented.
10109         (getIndexAtPoint): Implemented. 
10110         (insertTextAtIndex): Implemented.
10111         (setAttributes): Implemented.
10112         (setTextContents): Implemented.
10113
10114 2006-08-05  Raif S. Naffah  <raif@swiftdsl.com.au>
10115   
10116         * configure.ac: Better handling of default-preferences-peer option.
10117
10118 2006-08-04  Andreas Tobler  <a.tobler@schweiz.ch>
10119
10120         * java/awt/BasicStroke.java (dashedStroke): Cast coords.clone to
10121         double[].
10122
10123 2006-08-04  Andrew John Hughes  <gnu_andrew@member.fsf.org>
10124
10125         * javax/management/openmbean/TabularData.java:
10126         Documentation corrections.
10127         * javax/management/openmbean/TabularDataSupport.java:
10128         New file.
10129
10130 2006-08-04  Francis Kung  <fkung@redhat.com>
10131
10132         * java/awt/BasicStroke.java
10133         (dashedStroke): Implemented.
10134
10135 2006-08-04  Andrew John Hughes  <gnu_andrew@member.fsf.org>
10136
10137         * javax/management/BadAttributeValueExpException.java,
10138         * javax/management/BadStringOperationException.java,
10139         * javax/management/InstanceAlreadyExistsException.java,
10140         * javax/management/InstanceNotFoundException.java,
10141         * javax/management/InvalidApplicationException.java,
10142         * javax/management/MBeanRegistrationException.java,
10143         * javax/management/MalformedObjectNameException.java,
10144         * javax/management/RuntimeErrorException.java,
10145         * javax/management/RuntimeMBeanException.java,
10146         * javax/management/ServiceNotFoundException.java:
10147         New files.
10148         
10149 2006-08-04  Roman Kennke  <kennke@aicas.com>
10150
10151         * javax/swing/SwingUtilities.java
10152         (layoutCompoundLabel(JComponent,FontMetrics,String,Icon,int,int,int,
10153          int,Rectangle,Rectangle,Rectangle,int)): Delegate to new
10154         layoutCompoundLabelImpl().
10155         (layoutCompoundLabel(FontMetrics,String,Icon,int,int,int,int,
10156          Rectangle,Rectangle,Rectangle,int)): Delegate to new
10157         layoutCompoundLabelImpl().
10158         (layoutCompoundLabelImpl): New helper method. Moved impl from
10159         layoutCompoundLabel() to here and added handling of HTML.
10160         * javax/swing/plaf/basic/BasicButtonUI.java
10161         (installUI): Update HTML view if appropriate.
10162         (uninstallUI): New method. Do the usual uninstallUI things
10163         and uninstall HTML view.
10164         (getMinimumSize): New method. Adjusts the minimum size
10165         by the HTML view minimum size.
10166         (getMaximumSize): New method. Adjusts the maximum size
10167         by the HTML view maximum size.
10168         (getPreferredSize): Pass the button's iconTextGap to the
10169         BasicGraphicsUtils method.
10170         (paint): Let HTML view paint the text, if present.
10171         * javax/swing/plaf/basic/BasicButtonListener.java
10172         (propertyChange): Update the HTML view when the button's
10173         text is changed.
10174         
10175 2006-08-04  Mario Torre  <neugens@limasoftware.net>
10176
10177         Reported by Raif S. Naffah <raif@swiftdsl.com.au>
10178         * native/jni/gconf-peer/GConfNativePeer.c (init_gconf_client):
10179         g_type_init earlier in function to correctly initialize the
10180         type system used by the backend.
10181
10182 2006-08-04  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
10183
10184         PR 26972
10185         * javax/naming/Name.java (addAll, getPrefix, getSuffix):
10186         Documented.
10187         * gnu/javax/naming/ictxImpl/trans/GnuName.java: New file.
10188
10189 2006-08-04  Robert Schuster  <robertschuster@fsfe.org>
10190
10191         Reported by Henrik Gulbrandsen <henrik@gulbra.net>
10192         Fixes PR27864.
10193         * gnu/xml/dom/DomIterator.java:
10194         (successor): Added if-statement.
10195
10196 2006-08-04  Mark Wielaard  <mark@klomp.org>
10197
10198         * scripts/Makefile.am (EXTRA_DIST): Add import-cacerts.sh.
10199
10200 2006-08-04  Robert Schuster  <robertschuster@fsfe.org>
10201
10202         * javax/swing/plaf/metal/MetalMenuBarUI.java:
10203         (update): Check size and paint smaller gradient.
10204         * javax/swing/plaf/metal/MetalBorders.java:
10205         (MenuBarBorder): Removed borderColor field.
10206         (MenuBarBorder.paintBorder): Added note, fetch color from UIManager or
10207         MetalLookAndFeel.
10208
10209 2006-08-03  Roman Kennke  <kennke@aicas.com>
10210
10211         PR 27637
10212         * javax/swing/plaf/basic/BasicInternalFrameUI.java
10213         (ComponentHandler.componentResized): Reimplemented to handle
10214         arbitrary parents.
10215         (InternalFramePropertyChangeHandler.propertyChange): (Un)install
10216         component listener on changed ancestor.
10217         (installListeners): Install componentListener.
10218         (uninstallListeners): Uninstall componentListener.
10219
10220 2006-08-03  Carsten Neumann  <cn-develop@gmx.net>
10221
10222         * StrictMath.java (cbrt): Return argument if it is a NaN.
10223         (cosh): Likewise.
10224         (expm1): Likewise.
10225         (sinh): Likewise.
10226   
10227 2006-08-03  Carsten Neumann  <cn-develop@gmx.net>
10228   
10229         * java/lang/StrictMath.java (tanh): New method.
10230   
10231 2006-08-03  Raif S. Naffah  <raif@swiftdsl.com.au>
10232   
10233         * scripts/import-cacerts.sh: Batch CA certificates import script.
10234   
10235 2006-08-03  Roman Kennke  <kennke@aicas.com>
10236
10237         PR 27606
10238         * javax/swing/plaf/basic/BasicListUI.java
10239         (paintCell): Pass row index to cell renderer.
10240         * javax/swing/plaf/basic/MetalFileChooserUI.java
10241         (DirectoryComboBoxRenderer.indentIcon): New field.
10242         (DirectoryComboBoxRenderer.DirectoryComboBoxRenderer):
10243         Initialize indentIcon.
10244         (DirectoryComboBoxRenderer.getListCellRendererComponent):
10245         Fall back to super and removed standard functionality.
10246         Handle indentation.
10247         (IndentIcon): New class. Wraps and indents another icon.
10248
10249 2006-08-02  Andrew John Hughes  <gnu_andrew@member.fsf.org>
10250
10251         * javax/management/MBeanConstructorInfo.java:
10252         (MBeanConstructorInfo(String,String,MBeanParameterInfo[]):
10253         Copy array rather than directly assigning.
10254         * javax/management/MBeanInfo.java:
10255         (MBeanInfo(String,String,MBeanAttributeInfo[],
10256         MBeanConstructorInfo[], MBeanOperationInfo[],
10257         MBeanNotificationInfo[])): Likewise.
10258         * javax/management/MBeanOperationInfo.java:
10259         (MBeanOperationInfo(String,String,MBeanParameterInfo[],String,int)):
10260         Likewise.
10261         * javax/management/openmbean/OpenMBeanAttributeInfoSupport.java,
10262         * javax/management/openmbean/OpenMBeanConstructorInfoSupport.java:
10263         New files.
10264         * javax/management/openmbean/OpenMBeanInfo.java:
10265         Corrected documentation.
10266         * javax/management/openmbean/OpenMBeanInfoSupport.java:
10267         New file.
10268         * javax/management/openmbean/OpenMBeanOperationInfo.java:
10269         Corrected documentation.
10270         * javax/management/openmbean/OpenMBeanOperationInfoSupport.java:
10271         New file.
10272         * javax/management/openmbean/OpenMBeanParameterInfoSupport.java:
10273         (MBeanParameterInfo(String,String,OpenType,Object,Object[])):
10274         Call other constructor rather than reimplementing.
10275
10276 2006-08-02  Lillian Angel  <langel@redhat.com>
10277
10278         * java/awt/dnd/DragSource.java
10279         (isDragImageSupported): Implemented.
10280         (getDragThreshold): Changed default value.
10281         * java/awt/dnd/DropTarget.java
10282         (DropTarget): Default action is changed to ACTION_COPY_OR_MOVE.
10283         (DropTarget): Likewise.
10284         (DropTarget): If FlavorMap passed in is null, we should use the system default.
10285         (addDropTargetListener): Added check to determine if new DropTargetListener
10286         is this class. If so, an IllegalArgumentException is thrown. If the 
10287         new listener is null, nothing happens.
10288
10289 2006-08-02  Thomas Fitzsimmons  <fitzsim@redhat.com>
10290
10291         * configure.ac (MOZILLA_FOUND): Fall back to
10292         mozilla-firefox-plugin.
10293
10294 2006-08-02  Sven de Marothy  <sven@physto.se>
10295
10296         * java/awt/geom/AffineTransform.java
10297         (hashCode): Tweak impl. 
10298         * java/awt/font/FontRenderContext.java
10299         (hashCode): Implement. 
10300
10301 2006-08-02  Carsten Neumann  <cn-develop@gmx.net>
10302
10303         * java/lang/StrictMath.java (sinh): New method.
10304
10305 2006-08-02  Roman Kennke  <kennke@aicas.com>
10306
10307         PR 27605
10308         * javax/swing/JComboBox.java
10309         (setSelectedItem): Fire ActionEvent here.
10310         * javax/swing/plaf/basic/BasicDirectoryModel.java
10311         (directories): Changed to type Vector.
10312         (files): New field.
10313         (loadThread): New field.
10314         (DirectoryLoadThread): New inner class. This loads the contents
10315         of directories asynchronously.
10316         (getDirectories): Return cached Vector.
10317         (getFiles): Return cached Vector.
10318         (getSize): Return plain size of contents Vector.
10319         (propertyChange): Reread directory also for DIRECTORY_CHANGED,
10320         FILE_FILTER_CHANGED, FILE_HIDING_CHANGED and FILE_VIEW_CHANGED.
10321         (sort): Don't store sorted list in contents. This must be done
10322         asynchronously from the EventThread.
10323         (validateFileCache): Rewritten for asynchronous reading
10324         of directory contents.
10325         * javax/swing/plaf/basic/BasicFileChooserUI.java
10326         (installListeners): Install model as PropertyChangeListener.
10327         (uninstallListeners): Uninstall model as PropertyChangeListener.
10328         (createPropertyChangeListener): Return null just like the
10329         RI.
10330
10331 2006-08-02  Sven de Marothy  <sven@physto.se>
10332   
10333         * gnu/java/awt/peer/gtk/GtkChoicePeer.java
10334         (remove): Force event on removing item 0 when it's selected.
10335         (handleEvent): Always call Choice.selected().
10336         * java/awt/Choice.java:
10337         (remove): Simplify and correct.
10338   
10339 2006-08-02  Mark Wielaard  <mark@klomp.org>
10340   
10341         PR 28535
10342         * configure.ac (gconf-peer): Check for gdk-2.0.
10343         * native/jni/gconf-peer/Makefile.am
10344         (AM_LDFLAGS): Use GDK_LIBS.
10345         (AM_CFLAGS): Use GDK_CFLAGS.
10346   
10347 2006-08-02  Thomas Minor  <1nocentrabidlamb@sexMagnet.com>
10348   
10349         * java/net/URL.java (getContent(Class[])): Implement.
10350   
10351 2006-08-02  Roman Kennke  <kennke@aicas.com>
10352   
10353         PR 27624
10354         * javax/swing/JMenu.java
10355         (JMenu()): Removed setting of delay.
10356         (JMenu(String)): Removed setting of delay.
10357         (JMenu(Action)): Removed setting of delay.
10358         (JMenu(String,boolean)): Removed setting of delay.
10359         (setSelectedHelper): Removed unneeded method.
10360         (setSelected): Simply set the model state.
10361         (setPopupMenuVisible): Recognize the popup location
10362         determined by getPopupMenuOrigin().
10363         (getPopupMenuOrigin): Recognize the UI properties for
10364         X and Y offset.
10365         (menuSelectionChanged): Call setSelected() directly.
10366         * javax/swing/JPopupMenu.java
10367         (menuSelectionChanged): If invoker is a JMenu, then delegate
10368         to that to get the position right.
10369         * javax/swing/Popup.java
10370         (LightweightPopup.show): Insert the popup as first component
10371         in the layer, so that it overlaps it's caller.
10372         * javax/swing/plaf/basic/BasicMenuItemUI.java
10373         (getPath): Don't include the popup.
10374         * javax/swing/plaf/basic/BasicMenuUI.java
10375         (SelectMenuAction): New class. This invokes the popup when
10376         a menu is selected.
10377         (installDefaults): Install delay of 200 ms.
10378         (setupPostTimer): Implemented.
10379         (MouseInputHandler.mouseClicked): Do nothing here.
10380         (MouseInputHandler.mouseEntered): Use MenuSelectionManager
10381         magic to handle the selection. Open the menu via a timer.
10382         (MouseInputHandler.mousePressed): Use MenuSelectionManager
10383         magic to handle the selection. Open the menu via a timer.
10384         (MenuDragMouseHandler.menuMouseDragged): Probably use
10385         timer.
10386         (menuDragMouseEntered): Do nothing here.
10387   
10388 2006-08-02  Andrew John Hughes  <gnu_andrew@member.fsf.org>
10389         
10390         * javax/management/openmbean/InvalidOpenTypeException.java,
10391         * javax/management/openmbean/KeyAlreadyExistsException.java:
10392         New files.
10393
10394 2006-08-02  Roman Kennke  <kennke@aicas.com>
10395
10396         PR 27604
10397         * javax/swing/plaf/basic/BasicChooserUI.java
10398         (BasicFileView.getName): Fetch the real name from the
10399         file chooser's FileSystemView.
10400         * javax/swing/plaf/metal/MetalChooserUI.java
10401         (DirectoryComboBoxRenderer.getListCellRendererComponent):
10402         Set the text fetched from the JFileChooser.getName().
10403         * javax/swing/FileSystemView.java
10404         (createFileObject): When file is a filesystem root,
10405         create a filesystem root object first.
10406         (getSystemDisplayName): Return the filename. Added specnote
10407         about ShellFolder class that is mentioned in the spec.
10408         * javax/swing/UnixFileSystemView.java
10409         (getSystemDisplayName): Implemented to return the real name
10410         of a file, special handling files like '.' or '..'.
10411
10412 2006-08-03  Mark Wielaard  <mark@klomp.org>
10413
10414         * examples/gnu/classpath/examples/icons/badge.png: Add file.
10415
10416 2006-08-03  Roman Kennke  <kennke@aicas.com>
10417
10418         PR 28562
10419         * javax/swing/plaf/basic/BasicOptionPaneUI.java
10420         (PropertyChangeHandler.propertyChange): Cleanly reinstall
10421         components when visual property chanegs.
10422
10423 2006-08-03  Roman Kennke  <kennke@aicas.com>
10424
10425         PR 28562
10426         * javax/swing/plaf/basic/BasicOptionPaneUI.java
10427         (PropertyChangeHandler.propertyChange): Uninstall and reinstall
10428         component when visual properties change.
10429
10430 2006-08-03  Roman Kennke  <kennke@aicas.com>
10431
10432         PR 28534
10433         * javax/swing/JTree.java
10434         (JTree(TreeModel)): Set cell renderer to null.
10435         * javax/swing/plaf/basic/BasicTreeUI.java
10436         (setCellRenderer): Finish editing before setting the
10437         cell renderer. Refresh the layout. Don't set the
10438         currentCellRenderer field here (that's done in updateRenderer).
10439         (updateRenderer): Handle createdRenderer field here too.
10440         Set renderer to a default handler when the current renderer
10441         in the JTree is null.
10442
10443 2006-08-02  Raif S. Naffah  <raif@swiftdsl.com.au>
10444
10445         PR Classpath/23899
10446         * java/security/SecureRandom.java (next): Call nextBytes as per specs.
10447
10448 2006-08-02  Raif S. Naffah  <raif@swiftdsl.com.au>
10449
10450         PR Classpath/28556
10451         * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java (encodePrivateKey):
10452         Updated documentation to clarify that RFC-2459 states that the parameters
10453         field of the AlgorithmIdentifier element MUST be NULL if present.
10454         Amended the code to reflect the specs.
10455         (decodePrivateKey): Handle case of NULL AlgorithmIdentifier.parameters.
10456
10457 2006-08-01  Andrew John Hughes  <gnu_andrew@member.fsf.org>
10458
10459         * javax/management/openmbean/OpenMBeanParameterInfoSupport.java:
10460         Call parameter 'defaultValue' not 'defValue'.
10461
10462 2006-08-01  Andrew John Hughes  <gnu_andrew@member.fsf.org>
10463
10464         * javax/management/openmbean/OpenMBeanParameterInfoSupport.java:
10465         New file.
10466
10467 2006-08-01  Roman Kennke  <kennke@aicas.com>
10468   
10469         PR 28562
10470         * javax/swing/plaf/basic/BasicOptionPaneUI.java
10471         (PropertyChangeHandler.propertyChange): Cleanly reinstall
10472         components when visual property chanegs.
10473   
10474 2006-08-01  Andrew John Hughes  <gnu_andrew@member.fsf.org>
10475
10476         * javax/management/openmbean/OpenMBeanAttributeInfo.java:
10477         (toString()): Corrected documentation.
10478         * javax/management/openmbean/OpenMBeanConstructorInfo.java,
10479         * javax/management/openmbean/OpenMBeanInfo.java,
10480         * javax/management/openmbean/OpenMBeanOperationInfo.java:
10481         New files.
10482         * javax/management/openmbean/OpenMBeanParameterInfo.java:
10483         (toString()): Corrected documentation.
10484         
10485 2006-08-01  Tania Bento  <tbento@redhat.com>
10486
10487         * java/awt/Choice.java
10488         (remove(int)): Added documentation.
10489
10490 2006-08-01  Tania Bento  <tbento@redhat.com>
10491         
10492         * java/awt/Choice.java
10493         (remove(int)): An IllegalArgumentException should not be thrown
10494         if int is invalid.  Update selectedIndex and peer selection.
10495
10496 2006-08-01  Tania Bento  <tbento@redhat.com>
10497
10498         * java/awt/CardLayout.java
10499         (toString): Changed format of string outputted.
10500         (goToComponent): Changed the order of the if-clause.
10501
10502 2006-07-31  Tom Tromey  <tromey@redhat.com>
10503
10504         * INSTALL: Updated for ASM.
10505
10506 2006-07-31  Tom Tromey  <tromey@redhat.com>
10507
10508         PR libgcj/23682:
10509         * java/nio/channels/SelectionKey.java (attach): Now synchronized.
10510         (attachment): Likewise.
10511         * java/nio/channels/spi/AbstractSelectionKey.java (cancel): Now
10512         synchronized.
10513         (isValid): Likewise.
10514         * gnu/java/nio/SelectionKeyImpl.java (impl): Now final
10515         (ch): Likewise.
10516         (interestOps): Synchronize.
10517         (readyOps): Likewise.
10518         * gnu/java/nio/SelectorImpl.java (register): Synchronize around
10519         interestOps call.
10520
10521 2006-07-31  Roman Kennke  <kennke@aicas.com>
10522
10523         * NEWS: Added note about the X peers.
10524         * INSTALL: Added install notes about the X peers.
10525
10526 2006-07-31  Carsten Neumann  <cn-develop@gmx.net>
10527
10528         * StrictMath.java (getLowDWord): Return long instead of int.
10529         (getHighDWord): Likewise.
10530         (buildDouble): Take two long arguments.
10531         (cbrt): Adapted to int -> long change.
10532         (expm1): Likewise.
10533         (cosh): Likewise.
10534
10535 2006-07-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
10536
10537         * native/jni/qt-peer/Makefile.am (libqtpeer_la_LDFLAGS): Add
10538         -avoid-version.
10539
10540 2006-07-31  Raif S. Naffah  <raif@swiftdsl.com.au>
10541
10542         * java/security/Provider.java: Updated copyright year.
10543         Updated documentation.
10544         Formatting.
10545         (put): Updated documentation.
10546         Added security manager check.
10547         Canonicalize the key before adding its mapping.
10548         (get): Override superclass implementation to use canonicalized keys.
10549         (remove): Updated documentation.
10550         Added security manager check.
10551         Canonicalize the key before removing its mapping.
10552         (clear): Updated documentation.
10553         Added security manager check.
10554         (toCanonicalKey): New method.
10555
10556 2006-07-30  Matt Wringe  <mwringe@redhat.com>
10557
10558         * gnu/java/security/Engine.java
10559         (getInstance): Ignore self referencing aliases.
10560
10561 2006-07-30  Mark Wielaard  <mark@klomp.org>
10562
10563         * javax/swing/JComponent.java (getListeners): Revert
10564         un-genericization.
10565
10566 2006-07-30  Mark Wielaard  <mark@klomp.org>
10567
10568         * resource/java/security/classpath.security: Add /dev/urandom as
10569         default securerandom.source.
10570
10571 2006-07-30  Mark Wielaard  <mark@klomp.org>
10572
10573         * java/util/GregorianCalendar.java (maximums): Months can have up to
10574         6 weeks.
10575         (nonLeniencyCheck): weeks is either 5 or 6.
10576
10577 2006-07-30  Andrew John Hughes  <gnu_andrew@member.fsf.org>
10578         
10579         * javax/management/openmbean/OpenMBeanAttributeInfo.java,
10580         * javax/management/openmbean/OpenMBeanParameterInfo.java:
10581         New files.
10582
10583 2006-07-30  Matt Wringe  <mwringe@redhat.com>
10584
10585         * gnu/java/security/Engine.java 
10586         (getInstance): Ignore self referencing aliases.
10587
10588 2006-07-30  Sven de Marothy  <sven@physto.se>
10589
10590         * java/awt/Choice.java:
10591         (accessibleAction): Call select() directly.
10592         (add, insert, remove): Reimplement.
10593         (dispatchEventImpl): Always call super.
10594         (processItemEvent): Does not set the index.
10595         * include/gnu_java_awt_peer_gtk_GtkChoicePeer.h
10596         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
10597         (append): removed.
10598         (nativeAdd): Name changed to add.
10599         (selection_changed_cb): Simplify callback.
10600         * gnu/java/awt/peer/gtk/GtkChoicePeer.java
10601         (selected): New field.
10602         (add): Replaced with native impl.
10603         (handleEvent): New method.      
10604         
10605 2006-07-30  Sven de Marothy  <sven@physto.se>
10606
10607         * java/awt/Choice.java:
10608         Reformat, fix copyright year.
10609
10610 2006-07-29  Mark Wielaard  <mark@klomp.org>
10611
10612         * javax/swing/JComponent.java (paintingDoubleBuffered): Renamed
10613         static field isPaintingDoubleBuffered to not have the same name
10614         as a method.
10615
10616 2006-07-29  Andrew John Hughes  <gnu_andrew@member.fsf.org>
10617   
10618         * examples/gnu/classpath/examples/management/TestBeans.java:
10619         New file.
10620         * javax/management/MBeanAttributeInfo.java:
10621         (toString()): Implemented.
10622         * javax/management/MBeanConstructorInfo.java:
10623         (toString()): Implemented.
10624         * javax/management/MBeanFeatureInfo.java:
10625         (toString()): Implemented.
10626         * javax/management/MBeanInfo.java:
10627         (toString()): Implemented.
10628         * javax/management/MBeanNotificationInfo.java:
10629         (toString()): Implemented.
10630         * javax/management/MBeanOperationInfo.java:
10631         (toString()): Implemented.
10632         * javax/management/MBeanParameterInfo.java:
10633         (toString()): Implemented.
10634         * javax/management/StandardMBean.java:
10635         (getMBeanInfo()): Fix attribute naming.
10636
10637 2006-07-29  Andrew John Hughes  <gnu_andrew@member.fsf.org>
10638
10639         * gnu/java/lang/management/BeanImpl.java:
10640         Extended javax.management.StandardMBean.
10641         * gnu/java/lang/management/ClassLoadingMXBeanImpl.java,
10642         * gnu/java/lang/management/CompilationMXBeanImpl.java,
10643         * gnu/java/lang/management/GarbageCollectorMXBeanImpl.java,
10644         * gnu/java/lang/management/MemoryMXBeanImpl.java,
10645         * gnu/java/lang/management/MemoryManagerMXBeanImpl.java,
10646         * gnu/java/lang/management/MemoryPoolMXBeanImpl.java,
10647         * gnu/java/lang/management/OperatingSystemMXBeanImpl.java,
10648         * gnu/java/lang/management/RuntimeMXBeanImpl.java,
10649         * gnu/java/lang/management/ThreadMXBeanImpl.java:
10650         Call the superclass with the appropriate class.
10651         * java/lang/management/ManagementFactory.java:
10652         (getOperatingSystemMXBean()): Catch exception from
10653         StandardMBean.
10654         (getRuntimeMXBean()): Likewise.
10655         (getClassLoadingMXBean()): Likewise.
10656         (getThreadMXBean()): Likewise.
10657         (getMemoryMXBean()): Likewise.
10658         (getCompilationMXBean()): Likewise.
10659         (getMemoryPoolMXBeans()): Likewise.
10660         (getMemoryManagerMXBeans()): Likewise.
10661         (getGarbageCollectorMXBeans()): Likewise.
10662         * javax/management/MBeanFeatureInfo.java:
10663         hashCode()): Fixed to check for null values.
10664
10665 2006-07-29  Matt Wringe  <mwringe@redhat.com>
10666
10667         * gnu/java/security/Engine.java
10668         (getInstance): Add case insentivity to algorithm names
10669         * java/security/Provider.java
10670         (put): Stop using canonical key naming
10671         (remove): Likewise
10672         (toCanonicalKey): Method removed
10673         (get): Method removed, no longer needs to overwrite
10674         parent implementation
10675
10676 2006-07-29  Mark Wielaard  <mark@klomp.org>
10677
10678         * gnu/java/awt/peer/gtk/GdkTextLayout.java: Removed.
10679         * gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java: Removed.
10680         * include/gnu_java_awt_peer_gtk_GdkTextLayout.h: Removed.
10681         * include/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.h: Removed.
10682         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c: Removed.
10683         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c:
10684         Removed.
10685
10686 2006-07-29  Sven de Marothy  <sven@physto.se>
10687
10688         * java/math/BigDecimal.java
10689         Adjust copyright date.
10690         (divide(BigDecimal): Implement.
10691         (precision): Reimplement.
10692         (numDigitsInBigInteger, numDigitsInLong): Removed.
10693         (toString): Get exponent from string length,
10694         fix negative values with exponential form.
10695         (toEngineeringString): Same as for toString.
10696         (setScale): Throw ArithmeticException if scale < 0.
10697
10698 2006-07-27  Francis Kung  <fkung@redhat.com>
10699
10700         * gnu/java/awt/java2d/CubicSegment.java: Added import.
10701         (cp1): Renamed from first().
10702         (c2): Renamed from last().
10703         (first): Renamed to cp1().
10704         (getDisplacedSegments): Implemented.
10705         (last): Renamed to cp2().
10706         * gnu/java/awt/java2d/LineSegment.java
10707         (cp1): Renamed from first().
10708         (c2): Renamed from last().
10709         (first): Renamed to cp1().
10710         (last): Renamed to cp2().
10711         * gnu/java/awt/java2d/QuadSegment.java
10712         (cp1): Renamed from first().
10713         (c2): Renamed from last().
10714         (first): Renamed to cp1().
10715         (last): Renamed to cp2().
10716         * gnu/java/awt/java2d/Segment.java: Added comments.
10717         (first): New field.
10718         (Segment): Keep track of first element in list.
10719         (add): Update first & last element variables.
10720         (cp1): Renamed from first().
10721         (c2): Renamed from last().
10722         (first()): Renamed to cp1() to reduce ambiguity.
10723         (last()): Renamed to cp2() to reduce ambiguity.
10724         (reverseAll): Update first element variable..
10725         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
10726         (draw): Remove flattening path iterator.
10727         * java/awt/BasicStroke.java: Clarified comments.
10728         (addSegments): Refactored some code into joinSegments and
10729         joinInnerSegments.
10730         (capEnd): Rename of Segment.first() and Segment.end().
10731         (joinInnerSegments): New method.
10732         (joinOuterSegments): New method.
10733         (joinSegments): Refactored some code into joinOuterSegments.
10734         (solidStroke): Connect segments together properly.
10735
10736 2006-07-28  Thomas Fitzsimmons  <fitzsim@redhat.com>
10737
10738         * native/jawt/Makefile.am (libjawt_la_LDFLAGS): Add
10739         -avoid-version.
10740         * native/jni/gtk-peer/Makefile.am (libgtkpeer_la_LDFLAGS):
10741         Likewise.
10742         * native/jni/midi-alsa/Makefile.am (libgjsmalsa_la_LDFLAGS):
10743         Likewise.
10744         * native/jni/midi-dssi/Makefile.am (libgjsmdssi_la_LDFLAGS):
10745         Likewise.
10746
10747 2006-07-28  Tom Tromey  <tromey@redhat.com>
10748
10749         * configure.ac: Enable -Werror by default on Linux-with-gcc.
10750
10751 2006-07-28  Lillian Angel  <langel@redhat.com>
10752
10753         * native/jni/gtk-peer/GtkDragSourceContextPeer.c:
10754         Removed function declarations.
10755         (connect_signals_for_widget): Removed implementation because
10756         stub functions have been removed.
10757         (drag_begin_cb): Removed function.
10758         (drag_motion_cb): Likewise.
10759         (drag_data_get_cb): Likewise.
10760         (drag_data_delete_cb): Likewise.
10761         (drag_drop_cb): Likewise.
10762         (drag_end_cb): Likewise.
10763         (drag_data_received_cb): Likewise.      
10764
10765 2006-07-28  Mark Wielaard  <mark@klomp.org>
10766
10767         * configure.ac: Set version to 0.93-pre.
10768
10769 2006-07-29  Raif S. Naffah  <raif@swiftdsl.com.au>
10770
10771         * tools/Makefile.am: Added source 1.4 compliance option when ECJ is used.
10772
10773 2006-07-29  Raif S. Naffah  <raif@swiftdsl.com.au>
10774
10775         * tools/gnu/classpath/tools/keytool/Command.java: Removed unused import.
10776         (getCallbackHandler): Fully qualify linked class in javadoc.
10777         * tools/gnu/classpath/tools/keytool/GenKeyCmd.java (cmdOptionsParser): Removed.
10778         * tools/gnu/classpath/tools/keytool/ImportCmd.java (imported): Likewise.
10779         * tools/gnu/classpath/tools/keytool/Main.java (printHelp): Likewise.
10780
10781 2006-07-27  Tom Tromey  <tromey@redhat.com>
10782
10783         PR classpath/28486:
10784         * java/net/URLStreamHandler.java (equals): Properly handle default
10785         port.  Rewrote javadoc.  Don't compare 'authority' parts of URLs.
10786
10787 2006-07-27  Roman Kennke  <kennke@aicas.com>
10788
10789         * javax/swing/text/AbstractDocument.java
10790         (documentCV): Made field private.
10791         (bypass): Made field private.
10792         (bidiRoot): New field.
10793         (AbstractDocument): Initialize bidiRoot.
10794         (getBidiRootElement): Return bidiRoot.
10795         (getRootElements): Adjusted to also return the bidiRoot element.
10796         (BranchElement.startOffset): Removed unneeded field.
10797         (BranchElement.endOffset): Removed unneeded field.
10798         (BranchElement.BranchElement): Removed unneeded fields.
10799         (BranchElement.getEndOffset): Don't explicitly throw NPE here. This is
10800         done automatically when there's no element left in the array.
10801         (BranchElement.getStartOffset): Likewise.
10802         (BranchElement.replace): Reordered calculations to avoid double
10803         calculations.
10804         (removeImpl): Silently ignore requests with length <= 0.
10805         * javax/swing/text/GapContent.java
10806         (createPosition): Removed explicit check for correct offset.
10807         This class can deal with offsets outside the document.
10808         (shiftEnd): Update all positions, even those outside the
10809         document.
10810         (adjustPositionsInRange): Fixed to also adjust positions outside
10811         the document boundary.
10812
10813 2006-07-18  Kyle Galloway  <kgallowa@redhat.com>
10814
10815     * gnu/classpath/jdwp/event/ExceptionEvent.java: Added _klass field to hold
10816     defining class.
10817     (getParameter): Returns _klass field instead of determining
10818     class from _instance.
10819     (setCatchLoc): New method.
10820     (writeData): Now assumes Location deals with empty locations instead of
10821     using null.
10822     * gnu/classpath/jdwp/util/Location.java (write): Check for empty
10823     locations and write out accordingly.
10824     (getEmptyLocation): New method. 
10825
10826 2006-07-27  Roman Kennke  <kennke@aicas.com>
10827
10828         * javax/swing/text/SimpleAttributeSet.java
10829         (EMPTY): Use EmptyAttributeSet for this field rather than
10830         SimpleAttributeSet.
10831         * javax/swing/text/EmptyAttributeSet.java: New class. Implements
10832         an empty and immutable AttributeSet.
10833
10834 2006-07-27  Roman Kennke  <kennke@aicas.com>
10835
10836         * java/awt/Component.java
10837         (reshape): Invalidate the component itself only when the
10838         size has changed. Invalidate the parent always. Fixed
10839         repainting. Pulled out the notification into
10840         notifyReshape().
10841         (notifyReshape): New helper method. Notify interested listeners
10842         about a reshape.
10843         (update): Simply call paint() without clearing the background.
10844         This is done in Container.update() if appropriate.
10845         (repaint): Delagate the repaint to the nearest heavyweight
10846         parent (for lightweights) and send an UPDATE event, rather than
10847         calling ComponentPeer.repaint().
10848         * java/awt/Container.java
10849         (backCleared): Removed field.
10850         (paint): Removed handling of backCleared flag.
10851         (update): Only paint if the container is actually
10852         showing. Removed handling of backCleared flag.
10853
10854 2006-07-27  Robert Schuster <robertschuster@fsfe.org>
10855
10856         * javax/swing/plaf/basic/BasicTabbedPaneUI.java: Fixed copyright and
10857         authorship.
10858         (NavigateAction): New inner class.
10859         (NavigatePageDownAction): New inner class.
10860         (NavigatePageUpAction): New inner class.
10861         (RequestFocusAction): New inner class.
10862         (RequestFocusForVisibleComponentAction): New inner class.
10863         (FocusHandler.focusGained): Implemented.
10864         (FocusHandler.focusLost): Implemented.
10865         (MouseHandler.mouseReleased): Implemented.
10866         (MouseHandler.mousePressed): Rewritten.
10867         (PropertyChangeHandler.propertyChange): Reset currentScrollOffset and
10868         currentScrollLocation to 0.
10869         (TabbedPaneLayout.calculateSize): Stored tab count in local variable,
10870         removed local variables, fixed indentation to stay under 80 column
10871         limit.
10872         (TabbedPaneLayout.calculateTabRects): Decrease tab area position by
10873         one, set selectedIndex to 0 if its negative, corrected start values
10874         for normalization, suppressed padding when only one tab run,
10875         (TabbedPaneLayout.minimumLayoutSize): Toggled argument value.
10876         (TabbedPaneLayout.normalizeTabRuns): Fixed indentation to stay under
10877         80 column limit, corrected the starting value for the bounds fixing
10878         phase.
10879         (TabbedPaneLayout.preferredTabAreaWidth): Fixed indentation.
10880         (TabbedPaneLayout.rotateTabInRuns): Corrected comparison value for
10881         selectedRun, set start index for loop to 0.
10882         (TabbedPaneScrollLayout.preferredLayoutSize): Toggled argument value.
10883         (TabbedPaneScrollLayout.calculateTabRects): Rewritten.
10884         (TabbedPaneScrollLayout.layoutContainer): Added scrolling button
10885         alignment and visibility handling.
10886         (TabSelectionHandler.stateChanged): Do revalidation only in wrap tab
10887         layout mode.
10888         (ScrollingPanel.ScrollingPanelUI.paint): Rewritten.
10889         (currentScrollOffset): New field.
10890         (tabRuns): Rewritten documentation.
10891         (selectedColor): New field.
10892         (tempTextRect): New field.
10893         (tempIconRect): New field.
10894         (scrollTab): New method.
10895         (updateButtons): New method.
10896         (updateViewPosition): New method.
10897         (createLayoutManager): Reordered method calls, predefine new fields,
10898         register proper listeners.
10899         (uninstallComponents): Implemented.
10900         (installDefaults): Corrected property names, fixed indentation,.
10901         (uninstallDefaults): Set new fields to null.
10902         (uninstallListeners): Remove listeners from components neccessary for
10903         scrolling tab layout.
10904         (installKeyboardActions): Implemented.
10905         (uninstallKeyboardActions): Implemented.
10906         (paint): Paint tab area background.
10907         (paintTabArea): Fixed indentation, removed usage of local Rectangle
10908         objects.
10909         (getTabLabelShiftX): Rewritten.
10910         (getTabLabelShiftY): Rewritten.
10911         (paintFocusIndicator): Reindented.
10912         (paintTabBorder): Rewritten.
10913         (paintTabBackground): Corrected color usage, rewritten background
10914         rectangle painting.
10915         (paintContentBorderTopEdge): Rewritten.
10916         (paintContentBorderBottomEdge): Rewritten.
10917         (paintContentBorderLeftEdge): Rewritten.
10918         (paintContentBorderRightEdge): Rewritten.
10919         (tabForCoordinate): Return selected index when no tab could be
10920         found, removed FIXME note.
10921         (getRunForTab): Changed return value for first if-statement.
10922         (navigateSelectedTab): Fixed last argument for both
10923         getTabRunOffset() calls.
10924         (selectedNextTabInRun): Added scrolling code.
10925         (selectedPreviousTabInRun): Added scrolling code.
10926         (selectedNextTab): Added scrolling code.
10927         (selectedPreviousTab): Added scrolling code.
10928         (selectAdjacentRunTab): Added scrolling code.
10929         (getTextViewForTab): Added FIXME note.
10930         (calculateTabHeight): Changed FIXME note.
10931         (getTabRunOffset): Fixed indentation.
10932         (getNextTabIndexInRun): Corrected return value.
10933         (rotateInsets): Make TOP case the default in switch-statement.
10934         (getActionMap): New method.
10935         (createActionMap): New method.
10936         * javax/swing/plaf/metal/MetalTabbedPaneUI.java:
10937         (createLayoutManager): Rewritten.
10938         (paintLeftTabBorder): Do not paint left line when previous tab
10939         is selected but current tab is the first in its run, do not paint
10940         left line when current tab is selected and is first in its run.
10941         (paintRightTabBorder): Added missing setColor() call, fixed color
10942         usage, do not paint right line if previous tab is selected but
10943         current tab is the first in its run.
10944         (paintBottomTabBorder): Do not paint left line if tab is selected
10945         and is the first tab in the last run.
10946         (paintFocusIndicator): New method.
10947         (getLabelShiftX): New method.
10948         (getLabelShiftY): New method.
10949
10950 2006-07-27  Andreas Tobler  <a.tobler@schweiz.ch>
10951
10952         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
10953         (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoSetMatrix): Remove
10954         g_assert from unused obj.
10955         (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoDrawGlyphVector): Mark
10956         obj as unused and remove g_assert on it.
10957
10958 2006-07-26  Roman Kennke  <kennke@aicas.com>
10959
10960         * javax/swing/RepaintManager.java
10961         (markCompletelyDirty): Add dirty region with Integer.MAX_VALUE
10962         for the component.
10963         (isCompletelyDirty): Consider a component completely dirty
10964         when it has a dirty region with Integer.MAX_VALUE.
10965
10966 2006-07-26  Roman Kennke  <kennke@aicas.com>
10967
10968         * java/awt/KeyboardFocusManager.java
10969         (getGlobalFocusOwner): Explicitly check for thread security.
10970         (getGlobalPermanentFocusOwner): Explicitly check for thread security.
10971         (getGlobalFocusedWindow): Explicitly check for thread security.
10972         (getGlobalActiveWindow): Explicitly check for thread security.
10973         (getGlobalCurrentFocusCycleRoot): Explicitly check for thread security.
10974         (getGlobalObject): Added new argument for specifying if
10975         a security check should be performed or not.
10976         (setGlobalObject): Don't check for thread security when
10977         calling getGlobalObject.
10978
10979 2006-07-26  Andrew John Hughes  <gnu_andrew@member.fsf.org>
10980
10981         * javax/management/MBeanConstructorInfo.java:
10982         Documentation fix.
10983         * javax/management/MBeanInfo.java:
10984         (MBeanInfo(String,String,MBeanAttributeInfo[],
10985         MBeanConstructorInfo[], MBeanOperationInfo[],
10986         MBeanNotificationInfo[])): Implemented.
10987         (equals(Object)): Likewise.
10988         (getAttributes()): Likewise.
10989         (getConstructors()): Likewise.
10990         (getOperations()): Likewise.
10991         (hashCode()): Likewise.
10992         * javax/management/MBeanOperationInfo.java,
10993         * javax/management/NotCompliantMBeanException.java,
10994         * javax/management/StandardMBean.java:
10995         New files.
10996
10997 2006-07-26  Sven de Marothy  <sven@physto.se>
10998
10999         * java/awt/geom/GeneralPath.java: Fix severe typo.
11000         
11001 2006-07-26  Sven de Marothy  <sven@physto.se>
11002
11003         * include/java_lang_VMSystem.h
11004         * vm/reference/java/lang/VMSystem.java
11005         * native/jni/java-lang/java_lang_VMSystem.c
11006         (nanoTime, currentTimeMillis): Switch the former to native code and
11007         the latter to java.
11008         
11009 2006-07-26  Andreas Tobler  <a.tobler@schweiz.ch>
11010
11011         * gnu/java/awt/peer/qt/QtCheckboxPeer.java: Removed unneeded imports.
11012         * gnu/java/awt/peer/qt/QtComponentGraphics.java: Likewise.
11013         * gnu/java/awt/peer/qt/QtComponentPeer.java: Likewise.
11014         * gnu/java/awt/peer/qt/QtContainerPeer.java: Likewise.
11015         * gnu/java/awt/peer/qt/QtDialogPeer.java: Likewise.
11016         * gnu/java/awt/peer/qt/QtEmbeddedWindowPeer.java: Likewise.
11017         * gnu/java/awt/peer/qt/QtFontMetrics.java: Likewise.
11018         * gnu/java/awt/peer/qt/QtFontPeer.java: Likewise.
11019         * gnu/java/awt/peer/qt/QtGraphics.java: Likewise.
11020         * gnu/java/awt/peer/qt/QtGraphicsEnvironment.java: Likewise.
11021         * gnu/java/awt/peer/qt/QtImage.java: Likewise.
11022         * gnu/java/awt/peer/qt/QtImageConsumer.java: Likewise.
11023         * gnu/java/awt/peer/qt/QtImageDirectGraphics.java: Likewise.
11024         * gnu/java/awt/peer/qt/QtImageGraphics.java: Likewise.
11025         * gnu/java/awt/peer/qt/QtMenuBarPeer.java: Likewise.
11026         * gnu/java/awt/peer/qt/QtMenuItemPeer.java: Likewise.
11027         * gnu/java/awt/peer/qt/QtPopupMenuPeer.java: Likewise.
11028         * gnu/java/awt/peer/qt/QtScreenDeviceConfiguration.java: Likewise.
11029         * gnu/java/awt/peer/qt/QtScrollPanePeer.java: Likewise.
11030         * gnu/java/awt/peer/qt/QtToolkit.java: Likewise.
11031         * gnu/java/awt/peer/qt/QtVolatileImage.java: Likewise.
11032
11033 2006-07-26  Roman Kennke  <kennke@aicas.com>
11034
11035         * java/awt/KeyboardFocusManager.java
11036         (getFocusOwner): Don't check permanent owner.
11037         (getGlobalFocusOwner): Don't check permanent owner.
11038
11039 2006-07-26  Carsten Neumann  <cn-develop@gmx.net>
11040
11041         * StrictMath.java (cosh): New method.
11042         (expm1): New method.
11043         (EXPM1_Q1): New field.
11044         (EXPM1_Q2): Likewise.
11045         (EXPM1_Q3): Likewise.
11046         (EXPM1_Q4): Likewise.
11047         (EXPM1_Q6): Likewise.
11048
11049 2006-07-26  Roman Kennke  <kennke@aicas.com>
11050
11051         * javax/swing/plaf/basic/BasicButtonListener.java
11052         (mousePressed): Request focus if appropriate.
11053         * javax/swing/text/DefaultCaret.java
11054         (mousePressed): Also handle the focus of the text component
11055         as specified. Don't consume events.
11056
11057 2006-07-26  Roman Kennke  <kennke@aicas.com>
11058
11059         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
11060         (focusRequest): Removed field.
11061         (postFocusEvent(int,boolean,Component)): Removed.
11062         (postFocusEvent(int,boolean)): Reverted to post event using
11063         the heavyweight component.
11064         (requestFocus): Post focus event using the heavyweight
11065         component.
11066         * gnu/java/awt/peer/gtk/GtkWindowPeer.java
11067         (requestFocus): Post focus event using the heavyweight
11068         component.
11069         * java/awt/AWTEvent.java
11070         (isFocusManagerEvent): New field, indicating if this is
11071         an event that is redispatched by the KeyboardFocusManager.
11072         * java/awt/Component.java
11073         (requestFocusImpl): Register component for
11074         heavyweight->lightweight mapping.
11075         (dispatchEventImpl): Retarget focus events before dispatching
11076         to the KeyboardFocusManager. Use new AWTEvent flag instead
11077         of locking hack. Dispatch all events through the
11078         KeyboardFocusManager. Don't request focus on lightweight
11079         components.
11080         * java/awt/DefaultKeyboardFocusManager.java
11081         (dispatchEvent): Pulled out handling of FOCUS_GAINED and
11082         FOCUS_LOST.
11083         (handleFocusGained): Fixed handling of temporary vs permanent
11084         focus changes. Added some checks.
11085         (handleFocusLost): Fixed handling of temporary vs permanent
11086         focus changes. Added some checks.
11087         * java/awt/EventDispatchThread.java
11088         (run): Don't dispatch to KeyboardFocusManager here. This
11089         is done in Component.dispatchEventImpl().
11090         * java/awt/KeyboardFocusManager.java
11091         (redispatchEvent): Use new AWTEvent flag instead of locking hack.
11092         (focusRequests): New field.
11093         (retargetFocusEvent): New method. Retargets focus events
11094         that come from heavyweights to the correct lightweight component.
11095         (addLightweightFocusRequest): New method. Stores a mapping
11096         for later retargetting of heavyweight focus events.
11097         * java/awt/Window.java
11098         (addFocusListener): Removed bogus method. If at all, this
11099         should be performed in the KeyboardFocusManager.
11100         (Window): Don't install a focus listener on the Window.
11101
11102 2006-07-26  Robert Schuster <robertschuster@fsfe.org>
11103
11104         * gnu/java/awt/peer/gtk/CairoGraphics2D.java:
11105         (drawLine): Apply shift to line coordinates.
11106
11107 2006-07-26  Robert Schuster <robertschuster@fsfe.org>
11108
11109         * java/awt/image/ColorConvertOp.java: Fixed copyright header.
11110         (copyimage): Do not call setRenderingHints() when the respective map
11111         does not exist.
11112         (filter): Removed code to clone the ColorModel instance.
11113         * java/awt/image/ColorModel.java:
11114         (cloneColorModel): Removed.
11115
11116 2006-07-26  Robert Schuster <robertschuster@fsfe.org>
11117
11118         * javax/swing/JTabbedPane.java:
11119         (setSelectedIndex): Removed updating of component visibility status,
11120         added note.
11121         (remove(Component)): Use indexOfComponent() to find whether we have
11122         to use super.remove(int) or removeTabAt().
11123
11124 2006-07-26  Roman Kennke  <kennke@aicas.com>
11125
11126         * javax/swing/JOptionPane.java
11127         (createDialog): Add property change handler for closing
11128         the dialog when the value property changes.
11129         (ValuePropertyHandler): New inner helper class.
11130         * javax/swing/plaf/basic/BasicOptionPaneUI.java
11131         (OptionPaneCloseAction): New class.
11132         (messageForeground): Removed field.
11133         (messageBorder): Removed field.
11134         (buttonBorder): Removed field.
11135         (addIcon): Configure the new label.
11136         (addMessageComponents): Configure newly created labels.
11137         (burstStringInto): Likewise.
11138         (createButtonArea): Install border here.
11139         (createMessageArea): Install border and foreground here.
11140         (createSeparator): Added comment and removed
11141         NotImplementedException.
11142         (installComponents): Don't install the UI defaults for the
11143         message and button area here. This is moved to the
11144         corresponding create* methods. Adjusted comment about
11145         separator.
11146         (installDefaults): Removed initialization of removed fields.
11147         (installKeyboardActions): Implemented.
11148         (getActionMap): New helper method.
11149         (createDefaultActions): New helper method.
11150         (uninstallDefaults): Removed de-initialization of removed fields.
11151         (uninstallKeyboardActions): Implemented.
11152         (configureLabel): New helper method.
11153         * javax/swing/plaf/basic/BasicTableUI.java
11154         (getActionMap): Fixed the UI property names.
11155         * javax/swing/plaf/basic/BasicToolBarUI.java
11156         (getActionMap): Fixed the UI property names.
11157
11158 2006-07-26  David Gilbert  <david.gilbert@object-refinery.com>
11159
11160         * java/awt/image/BandedSampleModel.java
11161         (getDataElements): Check for negative x or y,
11162         (getPixels): Likewise,
11163         (getSamples): Likewise,
11164         (setSamples): Likewise.
11165
11166 2006-07-26  Roman Kennke  <kennke@aicas.com>
11167
11168         * javax/swing/plaf/basic/BasicToolBarUI.java
11169         (ToolBarAction): New inner class for handling keyboard
11170         actions.
11171         (installKeyboardActions): Implemented.
11172         (getActionMap): New helper method.
11173         (createDefaultActions): New helper method.
11174         (installListeners): Install focus listener on toolbar's
11175         children, rather than the toolbar itself.
11176         (navigateFocusedComp): Implemented.
11177         (uninstallKeyboardActions): Implemented.
11178         (uninstallListeners): Uninstall focus listener from
11179         toolbar's children, rather than the toolbar itself.
11180         (ToolBarContListener.componentAdded): Install focus
11181         listener on added child.
11182         (ToolBarContListener.componentRemoved): Uninstall focus
11183         listener from removed child.
11184         (ToolBarFocusListener.ToolBarFocusListener): Nothing to do here.
11185         (ToolBarFocusListener.focusGained): Implemented.
11186         (ToolBarFocusListener.focusLost): Implemented.
11187
11188 2006-07-26  Roman Kennke  <kennke@aicas.com>
11189
11190         * java/awt/DefaultKeyboardFocusManager.java
11191         (dispatchEvent): Notify old focus owner when it has lost
11192         focus.
11193
11194 2006-07-26  Roman Kennke  <kennke@aicas.com>
11195
11196         * javax/swing/plaf/basic/BasicTableUI.java
11197         (FocusHandler.focusGained): Implemented to refresh the
11198         lead cell.
11199         (FocusHandler.focusLost): Implemented to refresh the
11200         lead cell.
11201         (FocusHandler.repaintLeadCell): New helper method.
11202         (MouseInputHandler.mouseEntered): Do nothing here.
11203         (MouseInputHandler.mouseExited): Do nothing here.
11204         (MouseInputHandler.mouseMoved): Do nothing here.
11205         (installKeyboardActions): Rewritten to use a shared InputMap
11206         and ActionMap and correctly install the maps via SwingUtilities
11207         methods.
11208         (getActionMap): New helper method.
11209         (createDefaultActions): New helper method.
11210         (ActionListenerProxy): Removed unneeded class.
11211         (TableAction): Made class static.
11212         (TableAction.actionPerformed): Determine table by fetching
11213         the event source. Pass the table to helper methods.
11214         Use __command__ hack to determine the action command.
11215         (TableAction.getFirstVisibleColumnIndex): Get table as argument.
11216         (TableAction.getLastVisibleColumnIndex): Get table as argument.
11217         (TableAction.getFirstVisibleRowIndex): Get table as argument.
11218         (TableAction.getLastVisibleRowIndex): Get table as argument.
11219         (TableAction.advanceMultipleSelection): Get table as argument.
11220         (uninstallDefaults): Do nothing here.
11221         (uninstallKeyboardActions): Uninstall the keyboard actions.
11222
11223 2006-07-26  Roman Kennke  <kennke@aicas.com>
11224
11225         * javax/swing/JComponent.java
11226         (processKeyBinding): Store the action command as property
11227         in the Action instance that we call. This allows for
11228         improvement on the side of the Action.
11229
11230 2006-07-26  Roman Kennke  <kennke@aicas.com>
11231
11232         * javax/swing/plaf/metal/MetalUtils.java
11233         (fillMetalPattern): Use fillRect() instead of drawLine() to
11234         fill single pixels.
11235
11236 2006-07-26  Roman Kennke  <kennke@aicas.com>
11237
11238         * javax/swing/text/GapContent.java
11239         (getChars): Check for negative length and throw
11240         BadLocationException.
11241
11242 2006-07-26  Roman Kennke  <kennke@aicas.com>
11243
11244         * javax/swing/plaf/basic/BasicMenuBarUI.java
11245         (FocusAction): Made class static.
11246
11247 2006-07-26  Roman Kennke  <kennke@aicas.com>
11248
11249         * javax/swing/plaf/basic/BasicLookAndFeel.java
11250         (initComponentDefaults): Add keyboard bindings for
11251         PopupMenu.
11252
11253 2006-07-26  Roman Kennke  <kennke@aicas.com>
11254
11255         * javax/swing/UIManager.java
11256         (getLookAndFeelDefaults): Return the look and feel defaults.
11257         (setLookAndFeel): Improved exception messsage.
11258
11259 2006-07-26  David Gilbert  <david.gilbert@object-refinery.com>
11260
11261         * javax/swing/text/StringContent.java
11262         (StringContent): Changed initialLength to 10.
11263
11264 2006-07-26  David Gilbert  <david.gilbert@object-refinery.com>
11265
11266         * java/util/Vector.java: Fixed API doc typo.
11267
11268 2006-07-26  David Gilbert  <david.gilbert@object-refinery.com>
11269
11270         * java/awt/image/BandedSampleModel.java
11271         (createCompatibleSampleModel): Fixed typo in loop increment, set
11272         correct scanlineStride, and updated API docs.
11273
11274 2006-07-25  Roman Kennke  <kennke@aicas.com>
11275
11276         * javax/swing/plaf/basic/BasicPopupMenuUI.java
11277         (NavigateAction): New inner class. This is responsible for
11278         keyboard navigation through menus.
11279         (KeyboardHelper): New inner class. This manages the
11280         keyboard mappings and focus when a popup opens or closes.
11281         (keyboardHelper): New static field.
11282         (numPopups): New static field.
11283         (installUI): Create KeyboardHelper for first popup.
11284         Call installKeyboardActions().
11285         (installKeyboardActions): Removed NotImplementedException.
11286         This method is a no-op.
11287         (installKeyboardActionsImpl): New method. Installs keyboard
11288         mapping when a popup is opened.
11289         (getActionMap): New helper method.
11290         (createDefaultActions): New helper method.
11291         (uninstallUI): Uninstall KeyboardHelper when last Popup is
11292         uninstalled. Call uninstallKeyboardActions().
11293         (uninstallKeyboardActions): Removed NotImplementedException.
11294         This method is a no-op.
11295         (uninstallKeyboardActionsImpl): New method. Uninstalls keyboard
11296         mapping when a popup is closed.
11297         
11298 2006-07-25  Roman Kennke  <kennke@aicas.com>
11299
11300         * java/awt/Component.java
11301         (requestFocus()): Reimplemented to use requestFocusImpl().
11302         (requestFocus(boolean)): Reimplemented to use requestFocusImpl().
11303         (requestFocusInWindow()): Reimplemented to use requestFocusImpl().
11304         (requestFocusInWindow(boolean)): Reimplemented to use
11305         requestFocusImpl().
11306         (requestFocusImpl): Reimplemented focus request to use
11307         new peer method. Also added some obvious additional checks
11308         for rejecting focus requests early.
11309         * java/awt/ComponentPeer.java
11310         (requestFocus(Component,boolean,boolean,long)): Documented
11311         this method.
11312         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
11313         (requestFocus): New field.
11314         (gtkWidgetHasFocus): New native method.
11315         (gtkWidgetCanFocus): New native method.
11316         (requestFocus): Replaced with assert false to prevent
11317         usage of obsolete method.
11318         (postFocusEvent(int,boolean,Component)): New overloaded method
11319         for posting the focus event to a specific target.
11320         (postFocusEvent(int,boolean)): Post event to requestFocus
11321         component.
11322         (requestFocus(Component,boolean,boolean,long)): Implemented.
11323         (getWindowFor): New helper method.
11324         (isLightweightDescendant): New helper method.
11325         * gnu/java/awt/peer/gtk/GtkWindowPeer.java
11326         (gtkWindowHasFocus): New native method.
11327         (requestFocus(Component,boolean,boolean,long)): New method.
11328         Overrides GtkComponentPeer method to specially handly the
11329         case when a Window receives a focus request for a lightweight
11330         child.
11331         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
11332         (gtkWidgetHasFocus): New native method.
11333         (gtkWidgetCanFocus): New native method.
11334         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11335         (gtkWindowHasFocus): New native method.
11336         * include/gnu_java_awt_peer_gtk_GtkComponentPeer.h,
11337         * include/gnu_java_awt_peer_gtk_GtkWindowPeer.h:
11338         Regenerated.
11339
11340 2006-07-25  Francis Kung  <fkung@redhat.com>
11341
11342         * java/awt/DefaultKeyboardFocusManager.java
11343         (dispatchEvent): Add check for valid component.
11344
11345 2006-07-25  Andrew John Hughes  <gnu_andrew@member.fsf.org>
11346
11347         * javax/management/MBeanConstructorInfo.java:
11348         New file.
11349         * javax/management/MBeanNotificationInfo.java:
11350         Documentation fix.
11351         * javax/management/MBeanParameterInfo.java:
11352         New file.
11353
11354 2006-07-25  Robert Schuster <robertschuster@fsfe.org>
11355
11356         * java/awt/peer/gtk/CairoGraphics.java:
11357         (drawLine): Added special case for 1 pixel lines.
11358
11359 2006-07-25  Robert Schuster <robertschuster@fsfe.org>
11360
11361         Fixes PR27844.
11362         * java/awt/peer/gtk/CairoGraphics.java:
11363         (drawLine): Removed calls to shifted().
11364
11365 2006-07-25  Robert Schuster <robertschuster@fsfe.org>
11366
11367         * javax/swing/JTabbedPane.java:
11368         (remove(Component)): Rewritten.
11369         (setSelectedIndex): Implemented updating of component visibility state.
11370
11371 2006-07-25  Sven de Marothy  <sven@physto.se>
11372
11373         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c
11374         (init): Default to the actual depth in the worst case.
11375         
11376         * java/awt/Font.java
11377         (createFont(int, File)): New method.
11378         
11379 2006-07-25  Ito Kazumitsu  <kaz@maczuka.gcd.org>
11380
11381         Fixes bug #28413
11382         * gnu/java/util/regex/RETokenEnd.java(check_java_line_terminators):
11383         New field.
11384         (RETokenEnd): New constructer to set check_java_line_terminators.
11385         (matchThis): Checck line terminators if check_java_line_terminators.
11386         * gnu/java/util/regex/RETokenStart.java: Likewise.
11387         * gnu/regexp/RE.java(initialize): Use the new constructors for
11388         RETokenEnd and RETokenStart if REG_MULTILINE is set.
11389         * java/util/regex/Pattern.java(Patteren): Changed so that
11390         gnu/regexp/RE.java may use the new the new constructors.
11391
11392 2006-07-25  Roman Kennke  <kennke@aicas.com>
11393
11394         * java/awt/Container.java
11395         (focusTraversalPolicyProvider): New field.
11396         (isFocusTraversalPolicyProvider): New method.
11397         (setFocusTraversalPolicyProvider): New method.
11398         * java/awt/ContainerOrderFocusTraversalPolicy.java
11399         (getFirstComponent): Use accept() instead of lengthy checks.
11400         Don't fetch getComponents() to avoid copying of array.
11401         Traverse down the hierarchy to find the first focused component.
11402         * java/awt/DefaultKeyboardFocusManager.java
11403         (dispatchEvent): Let the initial component request focus.
11404
11405 2006-07-25  David Gilbert  <david.gilbert@object-refinery.com>
11406
11407         * javax/swing/text/Segment.java
11408         (last): Update current index before returning DONE for zero count.
11409         
11410 2006-07-24  Mark Wielaard  <mark@klomp.org>
11411
11412         * javax/swing/tree/TreePath.java (equals): Swap path equals call.
11413
11414 2006-07-25  Roman Kennke  <kennke@aicas.com>
11415
11416         * javax/swing/plaf/basic/BasicMenuBarUI.java
11417         (FocusAction): New inner class. Used to grab focus.
11418         (installKeyboardActions): Implemented.
11419         (uninstallKeyboardActions): Implemented.
11420         (getActionMap): New helper method.
11421         (createDefaultActions): New helper method.
11422
11423 2006-07-25  Robert Schuster <robertschuster@fsfe.org>
11424
11425         * examples/gnu/classpath/examples/swing/Demo.java:
11426         (mkMenuBar): Install instantiable basic look and feel.
11427         (InstantiableBasicLookAndFeel): New inner class.
11428
11429 2006-07-25  Roman Kennke  <kennke@aicas.com>
11430
11431         * javax/swing/plaf/basic/BasicInternalFrameUI.java
11432         (GlassPaneDispatcher.dragTarget): New field.
11433         (GlassPaneDispatcher.isDragging): New field.
11434         (GlassPaneDispatcher.pressedComponent): Removed field.
11435         (GlassPaneDispatcher.tempComponent): Removed field.
11436         (GlassPaneDispatcher.pressCount): Removed field.
11437         (GlassPaneDispatcher.mousePressed): Call
11438         borderListener.mousePressed() to activate the frame.
11439         (acquireComponentForMouseEvent): Removed method.
11440         (handleEvent): Rewritten.
11441         (redispatch): New method.
11442         (InternalFramePropertyChangeListener.propertyChange):
11443         Make glasspane invisible when frame is selected, and visible
11444         if it gets deselected.
11445         
11446 2006-07-25  Roman Kennke  <kennke@aicas.com>
11447
11448         * java/awt/LightweightDispatcher.java
11449         (handleMouseEvent): Dispatch event to real target if
11450         the dragTarget has become invisible in the meantime.
11451
11452 2006-07-25  David Gilbert  <david.gilbert@object-refinery.com>
11453
11454         * javax/swing/text/TabSet.java
11455         (equals): New method override for 1.5,
11456         (hashCode): Likewise,
11457         (toString): Added spaces to match reference implementation.
11458
11459 2006-07-24  Andrew John Hughes  <gnu_andrew@member.fsf.org>
11460
11461         * javax/management/IntrospectionException.java,
11462         * javax/management/MBeanAttributeInfo.java:
11463         New files.
11464         * javax/management/MBeanNotificationInfo.java:
11465         Documentation cleanups.
11466         
11467 2006-07-24  David Gilbert  <david.gilbert@object-refinery.com>
11468
11469         * javax/swing/text/TabSet.java
11470         (TabSet): Check for null argument,
11471         (getTab): Throw IllegalArgumentException for index out of bounds,
11472         (getTabIndexAfter): Changed test to '<=',
11473         and updated API docs all over,
11474         * javax/swing/text/TabStop.java: Updated API docs.
11475
11476 2006-07-24  David Gilbert  <david.gilbert@object-refinery.com>
11477
11478         * javax/swing/text/TabStop.java
11479         (toString): Don't use 'left ' prefix, and added space between tab
11480         location and '(w/leader)' suffix.
11481
11482 2006-07-24  Francis Kung  <fkung@redhat.com>
11483
11484         * javax/swing/JComboBox.java
11485         (DefaultKeySelectionManager): Implemented.
11486         (createDefaultKeySelectionManager): Implemented.
11487         (getKeySelectionManager): Implemented.
11488         (processKeyEvent): Removed duplicate code.
11489         * javax/swing/JPopupMenu.java
11490         (selectionModel): Changed visibility.
11491         * javax/swing/plaf/basic/BasicComboBoxUI.java
11492         (KeyHandler.keyPressed): Added navigation keys.
11493         (configureEditor): Add key listener.
11494         (installListeners): Install focus listener to combo box.
11495         (isNavigationKey): Added enter, escape, and tab.
11496         (selectPreviousPossibleValue): Added out of bounds check.
11497         (unconfigureEditor): Remove key listener.
11498         * javax/swing/plaf/metal/MetalComboBoxButton.java
11499         (paintComponent): Highlight combo box when in focus.
11500
11501 2006-07-24  Roman Kennke  <kennke@aicas.com>
11502
11503         * javax/swing/SwingUtilities.java
11504         (isLeftMouseButton): Fixed condition.
11505         * java/awt/LightweightDispatcher.java
11506         (handleMouseEvent): Dispatch MOUSE_ENTERED even when mouse
11507         is dragged.
11508
11509 2006-07-24  Roman Kennke  <kennke@aicas.com>
11510
11511         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
11512         (setPaint): Fixed scaleX and scaleY.
11513
11514 2006-07-24  Roman Kennke  <kennke@aicas.com>
11515
11516         * javax/swing/JTable.java
11517         (handleInsert): Repaint the whole table for variable row
11518         height tables and an optimized region otherwise.
11519         (handleDelete): Likewise.
11520         (handleUpdate): Likewise.
11521
11522 2006-07-24  Mario Torre  <neugens@limasoftware.net>
11523
11524         * gnu/java/awt/peer/gtk/GtkToolkit.java (createDragGestureRecognizer):
11525         now explicity registerListeners on GtkMouseDragGestureRecognizer
11526         instance.
11527         * gnu/java/awt/dnd/GtkMouseDragGestureRecognizer.java
11528         (unregisterListeners): new method, overrided from base class
11529         to rise visibility (from protected to public).
11530         (registerListeners): Likewise.
11531         (GtkMouseDragGestureRecognizer): fixed potential threading issue:
11532         removed call to registerListeners from the constructor.
11533
11534 2006-07-23  Andrew John Hughes  <gnu_andrew@member.fsf.org>
11535
11536         * gnu/java/lang/management/MemoryPoolMXBeanImpl.java,
11537         * java/lang/management/MemoryPoolMXBean.java:
11538         (getType()): Changed return type to MemoryType.
11539         * java/lang/management/MemoryType.java:
11540         New file.
11541
11542 2006-07-23  Mark Wielaard  <mark@klomp.org>
11543
11544         * configure.ac: Check for moc and moc-qt4.
11545
11546 2006-07-23  David Gilbert  <david.gilbert@object-refinery.com>
11547
11548         * java/awt/image/Kernel.java: API doc updates.
11549
11550 2006-07-22  Andreas Tobler  <a.tobler@schweiz.ch>
11551
11552         * gnu/java/awt/peer/gtk/CairoSurface.java: Optimize pixel swap code a
11553         bit more.
11554
11555 2006-07-22  Mark Wielaard  <mark@klomp.org>
11556
11557         * java/lang/Iterable.java: Import all of java.util.
11558         * lib/mkcollections.pl.in (javautilclasses): Add Iterable.
11559         * lib/Makefile.am: Only search for .java files in COLLECTIONS_PREFIX.
11560
11561 2006-07-22  Andrew John Hughes  <gnu_andrew@member.fsf.org>
11562
11563         * doc/vmintegration.texinfo:
11564         Document getType(String).
11565         * gnu/java/lang/management/MemoryPoolMXBeanImpl.java,
11566         * java/lang/management/MemoryPoolMXBean.java:
11567         (getType()): Implemented.
11568         * vm/reference/gnu/java/lang/management/VMMemoryPoolMXBeanImpl.java
11569         (getType(String)): Implemented.
11570         
11571 2006-07-22  Andrew John Hughes  <gnu_andrew@member.fsf.org>
11572
11573         * doc/vmintegration.texinfo:
11574         Move end of itemization block.
11575
11576 2006-07-22  Robert Schuster  <robertschuster@fsfe.org>
11577
11578         * javax/swing/plaf/metal/MetalLookAndFeel.java:
11579         (initComponentDefaults): Added new properties, added comments.
11580         
11581 2006-07-22  Andrew John Hughes  <gnu_andrew@member.fsf.org>
11582
11583         * doc/vmintegration.texinfo:
11584         Mention callback methods.
11585         * gnu/java/lang/management/MemoryMXBeanImpl.java:
11586         (fireNotification(String,String,long,long,long,long,long)):
11587         Made package-private.
11588         (fireThresholdExceededNotification(String,long,long,long,
11589         long,long)): Likewise.
11590         (fireCollectionThresholdExceededNotification(String,long,
11591         long,long,long,long)): Likewise.
11592         * java/lang/management/MemoryMXBean.java:
11593         Document notifications.
11594
11595 2006-07-22  Andrew John Hughes  <gnu_andrew@member.fsf.org>
11596
11597         * gnu/java/lang/management/MemoryMXBeanImpl.java:
11598         (fireNotification(String,String,long,long,long,long,long)):
11599         Implemented.
11600         (fireThresholdExceededNotification(String,long,long,long,
11601         long,long)): Likewise.
11602         (fireCollectionThresholdExceededNotification(String,long,
11603         long,long,long,long)): Likewise.
11604         * java/lang/management/MemoryNotificationInfo.java:
11605         Use composite type from MemoryMXBeanImpl.
11606         * javax/management/openmbean/CompositeData.java:
11607         Correct documentation.
11608         * javax/management/openmbean/CompositeDataSupport.java,
11609         * javax/management/openmbean/InvalidKeyException.java:
11610         New files.
11611
11612 2006-07-22  Raif S. Naffah  <raif@swiftdsl.com.au>
11613
11614         * gnu/java/security/util/IntegerUtil.java: New file.
11615
11616 2006-07-22  Raif S. Naffah  <raif@swiftdsl.com.au>
11617
11618         PR Classpath/28100
11619         * gnu/javax/crypto/cipher/TripleDES.java: Updated documentation.
11620         (KEY_SIZE): Likewise.
11621         (adjustParity(int,byte[],int): New method.
11622         (adjustParity(byte[],int): Call above method with 3 as 1st argument.
11623         (isParityAdjusted(int,byte[],int)): New method.
11624         (isParityAdjusted): Call above method with 3 as 1st argument.
11625         (keySizes): Add 8 and 16 as other valid key sizes.
11626         (makeKey): Amended to cater for 1, 2 and 3 independent DES keys.
11627
11628 2006-07-22  Andreas Tobler  <a.tobler@schweiz.ch>
11629
11630         * gnu/java/awt/peer/gtk/CairoSurface.java (CairoSurface): Rearrange
11631         code for the pixel swap routine to be more efficient.
11632
11633 2006-07-21  Carsten Neumann  <cn-develop@gmx.net>
11634
11635         * java/util/CopyOnWriteArrayList.java (indexOf(E, int)): New method.
11636         (lastIndexOf(E, int)): Likewise.
11637         (add(E)): Increase the size of newData array by one.
11638         (add(int, E)): Likewise.
11639
11640 2006-07-20  Lillian Angel  <langel@redhat.com>
11641
11642         * gnu/java/awt/dnd/GtkMouseDragGestureRecognizer.java:
11643         Removed unused fields.
11644         (GtkMouseDragGestureRecognizer): Removed initializations.
11645
11646 2006-07-20  Lillian Angel  <langel@redhat.com>
11647
11648         * gnu/java/awt/dnd/GtkMouseDragGestureRecognizer.java
11649         (GtkMouseDragGestureRecognizer): New constructor.
11650         (GtkMouseDragGestureRecognizer): New constructor.
11651         (GtkMouseDragGestureRecognizer): New constructor.
11652         (mouseClicked): Removed FIXME.
11653         (mousePressed): Implemented.
11654         (mouseReleased): Implemented.
11655         (mouseEntered): Implemented.
11656         (mouseDragged): Implemented to check mouse point and trigger origin.
11657         (mouseMoved): Removed FIXME.
11658         (getDropActionFromEvent): New helper function used to convert mouse event
11659         modifiers to a drop action.
11660         * java/awt/dnd/DragSource.java
11661         (getDragThreshold): Changed to return some arbitrary value for testing
11662         purposes.
11663
11664 2006-07-20  Roman Kennke  <kennke@aicas.com>
11665
11666         * java/awt/LightweightDispatcher.java
11667         (findTarget): Also consider components that have their eventMask
11668         set, for compatibility with stonage AWT. Optimized check
11669         for MouseListener.
11670         (handleMouseEvent): Likewise.
11671
11672 2006-07-20  Roman Kennke  <kennke@aicas.com>
11673
11674         * javax/swing/JTable.java
11675         (tableChanged): Split out handling of the event into multiple
11676         subroutines.
11677         (handleCompleteChange): New method. Clear the selection and
11678         check the lead/anchor indices.
11679         (handleInsert): New method. Check the lead/anchor indices.
11680         Optimized repainting.
11681         (handleDelete): New method. Check the lead/anchor indices.
11682         Optimized repainting.
11683         (handleUpdate): New method. Optimized repainting.
11684         (checkSelection): New helper method.
11685         (setSelectionModel): Update lead/anchor indices.
11686
11687 2006-07-20  Lillian Angel  <langel@redhat.com>
11688
11689         PR 28440
11690         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
11691         (dispose): Reset all fields.
11692
11693 2006-07-20  Roman Kennke  <kennke@aicas.com>
11694
11695         * gnu/java/awt/peer/x/XToolkit.java
11696         (createImage(InputStream)): Only copy image to Pixmap if
11697         it's actually opaque. Transparent images are left as
11698         BufferedImage and composited later onto the screen.
11699         * gnu/java/awt/peer/x/XGraphics.java
11700         (XGraphics): Fetch some parameters for image rendering.
11701         (drawImage): Added special handling of transparent images.
11702         (getRGB): New helper method.
11703         (setRGB): New helper method.
11704
11705 2006-07-20  Roman Kennke  <kennke@aicas.com>
11706
11707         * gnu/javax/imageio/IIOInputStream.java: New class. Wraps
11708         ImageInputStreams as normal InputStreams.
11709         * gnu/javax/imageio/gif/GIFStream.java:
11710         Moved to gnu/javax/imageio/IIOInputStream.java.
11711         * gnu/javax/imageio/gif/GIFImageReader.java
11712         (readImage): Use IIOInputStream.
11713         * gnu/javax/imageio/gif/GIFImageReaderSpi.java
11714         (canDecodeInput): Use IIOInputStream.
11715         * gnu/javax/imageio/png/PNGException.java: Make subclass
11716         of IOException.
11717         * gnu/javax/imageio/png/PNGImageReader.java: New class.
11718         Implements the ImageIO ImageReader for PNG.
11719         * gnu/javax/imageio/png/PNGImageReaderSpi.java: New class.
11720         Implements the ImageIO ImageReaderSpi for PNG.
11721         * javax/imageio/spi/IIORegistry.java:
11722         (IIORegistry): Add PNGImageReaderSpi.
11723
11724 2006-07-20  David Gilbert  <david.gilbert@object-refinery.com>
11725
11726         * java/awt/image/ComponentSampleModel.java
11727         (getPixel): Added argument check,
11728         (getSample): Modified exception message.
11729
11730 2006-07-20  David Gilbert  <david.gilbert@object-refinery.com>
11731
11732         PR Classpath/28422
11733         * java/awt/image/ConvolveOp.java
11734         (filter(Raster, WritableRaster)): Reimplemented,
11735         (fillEdge): New private method.
11736
11737 2006-07-19  Keith Seitz  <keiths@redhat.com>
11738
11739         * include/jvmti.h (JVMTI_VERSION_1_0): Define.
11740         (JVMTI_VERSION): Define.
11741
11742 2006-07-19  Roman Kennke  <kennke@aicas.com>
11743
11744         * resource/gnu/regexp/MessagesBundle.properties,
11745         * resource/gnu/regexp/MessagesBundle_fr.properties,
11746         * resource/gnu/regexp/MessagesBundle_it.properties:
11747         Moved to resource/gnu/java/util/regex.
11748         * resource/gnu/java/util/regex/MessagesBundle.properties,
11749         * resource/gnu/java/util/regex/MessagesBundle_fr.properties,
11750         * resource/gnu/java/util/regex/MessagesBundle_it.properties:
11751         New files.
11752         * gnu/java/util/regex/RE.java
11753         Use new resource bundle location.
11754
11755 2006-07-19  Roman Kennke  <kennke@aicas.com>
11756
11757         * javax/swing/JComponent.java
11758         (paintChildren): Refactored. The paintChildrenOptimized method
11759         has been moved back in here. Added locking of the tree and
11760         only check for completely obscured child components
11761         when not optimized drawing enabled. Use Graphics.create() to
11762         protect from irreversible changes.
11763         (isCompletelyObscured): New helper method.
11764         (paintComponent): Also use Graphics.create() for Graphics2D,
11765         to protect from irreverible changes.
11766         (clipAndTranslateGraphics): Refactored to use more efficient
11767         iterative (vs recursive) approach.
11768         * javax/swing/RepaintManager.java
11769         (getOffscreenBuffer): Create image from root component.
11770         
11771 2006-07-19  Roman Kennke  <kennke@aicas.com>
11772
11773         * gnu/java/awt/peer/x/XGraphics.java
11774         (translate): Don't set the clip on the X server.
11775         (clipRect): Use setXClip() to set the clip on the X server.
11776         (hitClip): More efficient and correct implementation.
11777         (setClip): Use setXClip() to set the clip on the X server.
11778         (setClip(Shape)): Use setXClip() to set the clip on the X server.
11779         (copyArea): Translate and clip the source rectangle correctly.
11780         (dispose): Only flush when object is not yet disposed.
11781         (clone): Use setXClip() to set the clip on the X server.
11782
11783 2006-07-19  Sven de Marothy  <sven@physto.se>
11784
11785         * gnu/javax/imageio/png/PNGChunk.java,
11786         * gnu/javax/imageio/png/PNGData.java,
11787         * gnu/javax/imageio/png/PNGDecoder.java,
11788         * gnu/javax/imageio/png/PNGEncoder.java,
11789         * gnu/javax/imageio/png/PNGException.java,
11790         * gnu/javax/imageio/png/PNGFile.java,
11791         * gnu/javax/imageio/png/PNGFilter.java,
11792         * gnu/javax/imageio/png/PNGGamma.java,
11793         * gnu/javax/imageio/png/PNGHeader.java,
11794         * gnu/javax/imageio/png/PNGICCProfile.java,
11795         * gnu/javax/imageio/png/PNGPalette.java,
11796         * gnu/javax/imageio/png/PNGPhys.java,
11797         * gnu/javax/imageio/png/PNGTime.java:
11798         New files.
11799
11800 2006-07-19  Sven de Marothy  <sven@physto.se>
11801
11802         * java/net/Inet6Address.java:
11803         (getScopedId, getScopedInterface): New methods.
11804         
11805 2006-07-19  Lillian Angel  <langel@redhat.com>
11806
11807         * examples/gnu/classpath/examples/awt/Demo.java
11808         (DragDropWindow): Fixed typo in Label text.
11809         * gnu/java/awt/dnd/peer/gtk/GtkDragSourceContextPeer.java
11810         (GtkDragSourceContextPeer): Removed unneeded initialization for field.
11811         (startDrag): Initialized context field.
11812         (transferablesFlavorsChanged): Removed FIXME. Nothing is done in this
11813         function.
11814         (dragEnter): New function.
11815         (dragExit): Likewise.
11816         (dragDropEnd): Likewise.
11817         (dragMouseMoved): Likewise.
11818         (dragOver): Likewise.
11819         (dragActionChanged): Likewise.
11820
11821 2006-07-19  Raif S. Naffah  <raif@swiftdsl.com.au>
11822
11823         PR Classpath/26302
11824         * resource/java/security/classpath.security: Updated copyright year.
11825         (auth.login.defaultCallbackHandler): New property; set to our default
11826         callback handler. This is needed by the LoginContext when no callback
11827         handler was specified.
11828         * javax/security/auth/login/LoginContext.java: Updated copyright year.
11829         (LoginContext(4)): Assign passed parameters to local fields before invoking
11830         lookup method.
11831
11832 2006-07-19  Roman Kennke  <kennke@aicas.com>
11833
11834         * gnu/java/awt/peer/x/XGraphics.java
11835         (drawImage(Image,int,int,int,int,int,int,int,int,ImageObserver)):
11836         Fixed ordering of parameters.
11837
11838 2006-07-18  Andrew John Hughes  <gnu_andrew@member.fsf.org>
11839
11840         * gnu/java/lang/management/MemoryMXBeanImpl.java:
11841         (MemoryMXBeanImpl()): Implemented.
11842         (ListenerData): New private class.
11843         (addNotificationListener(NotificationListener,
11844         NotificationFilter, Object)): Implemented.
11845         (getNotificationInfo()): Likewise.
11846         (removeNotificationListener(NotificationListener)):
11847         Likewise.
11848         (removeNotificationListener(NotificationListener,
11849         NotificationFilter, Object)): Likewise.
11850         
11851 2006-07-18  Roman Kennke  <kennke@aicas.com>
11852
11853         * gnu/java/awt/peer/x/XFontPeer.java
11854         (encodeFont): Be more flexible with font sizes.
11855         (validSize): New helper method.
11856         * gnu/java/awt/peer/x/XGraphics.java
11857         (drawImage(Image,int,int,int,int,int,int,int,int,ImageObserver)):
11858         Implemented.
11859         (drawImage(Image,int,int,int,int,int,int,int,int,Color,ImageObserver)):
11860         Implemented.
11861         * gnu/java/awt/peer/x/XImage.java
11862         (properties): New field.
11863         (getProperty): Implemented.
11864         * resource/gnu/java/awt/peer/x/fonts.properties:
11865         Added copyright header. Fixed font size field.
11866
11867 2006-07-18  David Gilbert  <david.gilbert@object-refinery.com>
11868
11869         * java/awt/image/BandedSampleModel.java
11870         (createDataBuffer): New method override,
11871         * java/awt/image/ByteLookupTable.java
11872         (ByteLookupTable(int, byte[][])): Create new array to hold references,
11873         (ByteLookuptable(int, byte[])): Check for null array,
11874         * java/awt/image/ComponentSampleModel.java
11875         (createDataBuffer): Removed unnecessary braces,
11876         (getSample): Check (x, y) is within bounds,
11877         * java/awt/image/ShortLookupTable.java
11878         (ShortLookupTable(int, short[][])): Create new array to hold references,
11879         (ShortLookupTable(int, short[])): Check for null array,
11880         (getTable): Added API docs,
11881         (lookupPixel): Source reformatting.
11882
11883 2006-07-18  Tania Bento  <tbento@redhat.com>
11884         
11885         * java/awt/GridLayout.java
11886         (setHgap): Illegal Argument Exception should not be thrown if 
11887         hgap < 0.
11888         (setVgap): Illegal Argument Exception should not be thrown if 
11889         vgap < 0.
11890         (toString): Opening square braket ([) should appear before hgap
11891         value, not the name of the class.
11892
11893 2006-07-18  Roman Kennke  <kennke@aicas.com>
11894
11895         * lib/copy-vmresources.sh.in: Reverted.
11896         * gnu/java/awt/peer/x/fonts.properties: Moved to resource/
11897         * resource/gnu/java/awt/peer/x/fonts.properties: New file.
11898
11899 2006-07-18  Roman Kennke  <kennke@aicas.com>
11900
11901         * lib/copy-vmresources.sh.in: Include properties from X peers.
11902
11903 2006-07-18  Raif S. Naffah  <raif@swiftdsl.com.au>
11904
11905         PR Classpath/27205
11906         * tools/gnu/classpath/tools/jarsigner/SFHelper.java (writeDSA): Check
11907         certificate validity.
11908         (getIssuerName): New method.
11909         (getSubjectName): Likewise.
11910         (getNotAfterDate): Likewise.
11911         (getNotBeforeDate): Likewise.
11912         * resource/gnu/classpath/tools/jarsigner/messages.properties: Added
11913         messages for newly added messages in SFHelper.
11914
11915 2006-07-18  Roman Kennke  <kennke@aicas.com>
11916
11917         * gnu/java/awt/peer/x/XDialogPeer.java: New class.
11918         * gnu/java/awt/peer/x/XEventPump.java
11919         (handleEvent): Cast to XWindowPeer rather than XFramePeer.
11920         * gnu/java/awt/peer/x/XFramePeer.java
11921         Made a subclass of XWindowPeer, rather than SwingFramePeer.
11922         * gnu/java/awt/peer/x/XGraphics.java
11923         Made subclass of Graphics rather than Graphics2D. Removed
11924         all Graphics2D specific method stubs.
11925         (setColor): Map colors using the X color map that is
11926         stored in XToolkit.
11927         * gnu/java/awt/peer/x/XToolkit.java
11928         (colorMap): New field.
11929         (getLocalGraphicsEnvironment): Return new XGraphicsEnvironment
11930         instance.
11931         (createDialog): Implemented.
11932         (createImage(ImageProducer)): Implemented.
11933         (createImage(InputStream)): Use createImage(ImageProducer)
11934         to convert the BufferedImage to an XImage.
11935         * gnu/java/awt/peer/x/XWindowPeer.java
11936         (XWindowPeer): Removed debug output.
11937
11938 2006-07-18  David Gilbert  <david.gilbert@object-refinery.com>
11939
11940         * java/awt/image/BufferedImageOp.java: API docs added,
11941         * java/awt/image/RasterOp.java: Likewise.
11942
11943 2006-07-18  David Gilbert  <david.gilbert@object-refinery.com>
11944
11945         * java/awt/Graphics2D.java: API docs updated.
11946
11947 2006-07-18  David Gilbert  <david.gilbert@object-refinery.com>
11948
11949         * java/awt/image/WritableRaster.java: Added API docs and reformatted 
11950         source code.
11951
11952 2006-07-18  Sven de Marothy  <sven@physto.se>
11953
11954         * java/net/Inet6Address.java:
11955         Add 1.5 serialized fields.
11956         (getByAddress): New methods.
11957         (readObject, writeObject): New methods. 
11958         (equals): Reimplement.
11959
11960 2006-07-18  David Gilbert  <david.gilbert@object-refinery.com>
11961
11962         * java/awt/image/Raster.java: Added API docs and reformatted source
11963         code.
11964
11965 2006-07-18  Andreas Tobler  <a.tobler@schweiz.ch>
11966
11967         * gnu/java/awt/peer/gtk/BufferedImageGraphics.java: Remove unneeded
11968         imports.
11969         * gnu/java/awt/peer/gtk/CairoSurface.java: Likewise.
11970         * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java: Likewise.
11971         * gnu/java/awt/peer/gtk/ComponentGraphicsCopy.java: Likewise.
11972         * gnu/java/awt/peer/gtk/GdkFontPeer.java: Likewise.
11973         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java: Likewise.
11974         * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Likewise.
11975         * gnu/java/awt/peer/gtk/GtkClipboardNotifier.java: Likewise.
11976         * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Likewise.
11977         * gnu/java/awt/peer/gtk/GtkContainerPeer.java: Likewise.
11978         * gnu/java/awt/peer/gtk/GtkDialogPeer.java: Likewise.
11979         * gnu/java/awt/peer/gtk/GtkFramePeer.java: Likewise.
11980         * gnu/java/awt/peer/gtk/GtkImage.java: Likewise.
11981         * gnu/java/awt/peer/gtk/GtkImageConsumer.java: Likewise.
11982         * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java: Likewise.
11983         * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java: Likewise.
11984         * gnu/java/awt/peer/gtk/GtkMouseInfoPeer.java: Likewise.
11985         * gnu/java/awt/peer/gtk/GtkPanelPeer.java: Likewise.
11986         * gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java: Likewise.
11987         * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java: Likewise.
11988         * gnu/java/awt/peer/gtk/GtkWindowPeer.java: Likewise.
11989         * gnu/java/awt/peer/gtk/VolatileImageGraphics.java: Likewise.
11990
11991 2006-07-17  Andreas Tobler  <a.tobler@schweiz.ch>
11992
11993         * javax/swing/text/html/HTMLEditorKit.java: Rearrange import statements
11994         to make it compile again under jikes. Note added.
11995
11996 2006-07-17  Lillian Angel  <langel@redhat.com>
11997
11998         * examples/gnu/classpath/examples/awt/Demo.java
11999         (Demo): Added new window for DnD demo.
12000         (DragDropWindow): New class.
12001         * gnu/java/awt/dnd/peer/gtk/GtkDragSourceContextPeer.java:
12002         Added new fields and declarations for native functions.
12003         (GtkDragSourceContextPeer): Implemented.
12004         (getComponentPeer): New function.
12005         (startDrag): Partially implemented.
12006         (getCursor): Implemented.
12007         (setCursor): Implemented.
12008         * include/GtkDragSourceContextPeer.h: New file.
12009         * include/Makefile.am: Added new header file.
12010         * java/awt/Component.java
12011         (addNotify): Added call to the dropTarget's addNotify.
12012         * java/awt/dnd/DragSource.java
12013         (startDrag): Fixed code to use shared instances of peer and
12014         context.
12015         (getDragThreshold): Added stub.
12016         * java/awt/dnd/DropTarget.java
12017         (DropTarget): Implemented fully.
12018         (addNotify): Added code to get the peer of the parent that is
12019         not lightweight.
12020         * java/awt/dnd/DropTargetDragEvent.java
12021         (getTransferable): Added stub.
12022         * native/jni/gtk-peer/GtkDragSourceContextPeer.c: New file.
12023         * native/jni/gtk-peer/Makefile.am: Added new c file.
12024         * gnu/java/awt/dnd/peer/gtk/GtkDropTargetContextPeer.java:
12025         Changed to extend GtkGenericPeer.
12026         (GtkDropTargetContextPeer): New constructor.
12027         * gnu/java/awt/dnd/peer/gtk/GtkDropTargetPeer.java:
12028         Changed to extend GtkGenericPeer.
12029         (GtkDropTargetContextPeer): New constructor.
12030
12031 2006-07-17  David Gilbert  <david.gilbert@object-refinery.com>
12032
12033         * java/awt/image/SinglePixelPackedSampleModel.java
12034         (createSubsetSampleModel): Added argument check and API docs.
12035
12036 2006-07-17  Roman Kennke  <kennke@aicas.com>
12037
12038         * gnu/java/awt/peer/x/XGraphics.java
12039         (copyArea): Implemented.
12040
12041 2006-07-17  David Gilbert  <david.gilbert@object-refinery.com>
12042
12043         * java/awt/image/SinglePixelPackedSampleModel.java
12044         (getSampleSize): Return copy of array,
12045         (getOffset): Added API docs,
12046         (getScanlineStride): Likewise,
12047         (hashCode): Implemented.
12048
12049 2006-07-17  David Gilbert  <david.gilbert@object-refinery.com>
12050
12051         * java/awt/image/MultiPixelPackedSampleModel.java
12052         (getOffset): Updated API docs and source reformatting,
12053         (getBitOffset): Source reformatting only,
12054         (getDataElements): Likewise,
12055         (getPixel): Likewise,
12056         (getPixels): Removed method override,
12057         (setDataElements): Reimplemented.
12058
12059 2006-07-17  Gary Benson  <gbenson@redhat.com>
12060
12061         * resource/META-INF/services/.cvsignore: New file.
12062         * lib/.cvsignore: Updated.      
12063
12064 2006-07-17  Roman Kennke  <kennke@aicas.com>
12065
12066         * javax/swing/plaf/basic/BasicButtonListener.java
12067         (propertyChange): Only do the text layout caching as long
12068         as the noGraphics2D property isn't set.
12069         * javax/swing/plaf/basic/BasicMenuItemUI.java
12070         (PropertyChangeHandler.propertyChange): Only do the text layout
12071         caching as long as the noGraphics2D property isn't set.
12072
12073 2006-07-17  Roman Kennke  <kennke@aicas.com>
12074
12075         * gnu/java/awt/peer/x/XGraphicsEnvironment.java
12076         (XGraphicsEnvironment): Make constructor public so that it
12077         can be called via Class.forName().newInstance().
12078         * gnu/java/awt/peer/x/XImage.java
12079         (XImage): Fetch GraphicsEnvironment via
12080         GraphicsEnvironment.getLocalGraphicsEnvironment() rather
12081         than the XToolkit method, to avoid double instantiation
12082         of the XGraphicsEnvironment.
12083         * gnu/java/awt/peer/x/XToolkit.java
12084         (env): Removed field.
12085         (getLocalGraphicsEnvironment): Removed impl. This method
12086         should not be called since we set the graphicsenv property
12087         in the constructor.
12088
12089 2006-07-16  Andrew John Hughes  <gnu_andrew@member.fsf.org>
12090
12091         * java/util/UUID.java:
12092         (compareTo(Object)): Call compareTo(UUID).
12093         (compareTo(UUID)): Implemented.
12094         
12095 2006-07-16  Tom Tromey  <tromey@redhat.com>
12096
12097         * java/lang/StrictMath.java (cbrt): Added '@since'.
12098
12099 2006-07-16  Carsten Neumann  <cn-develop@gmx.net>
12100
12101         * java/lang/StrictMath.java (cbrt): New method.
12102         (getLowDWord): New helper method.
12103         (getHighDWord): Likewise.
12104         (buildDouble): Likewise.
12105         (CBRT_B1): New field.
12106         (CBRT_B2): Likewise.
12107         (CBRT_C): Likewise.
12108         (CBRT_D): Likewise.
12109         (CBRT_E): Likewise.
12110         (CBRT_F): Likewise.
12111         (CBRT_G): Likewise.
12112
12113 2006-07-16  Andrew John Hughes  <gnu_andrew@member.fsf.org>
12114
12115         * javax/management/MBeanInfo.java:
12116         (getNotifications()): Implemented.
12117         * javax/management/NotificationBroadcaster.java:
12118         (removeNotificationListener(NotificationListener)):
12119         Renamed from removeListener.
12120         * javax/management/NotificationEmitter.java:
12121         (removeNotificationListener(NotificationListener,
12122         NotificationFilter, Object)): Likewise.
12123         * javax/management/NotificationFilter.java:
12124         Implement Serializable.
12125         * javax/management/NotificationListener.java:
12126         Implement java.util.EventListener.
12127         * javax/rmi/ssl/SslRMIClientSocketFactory.java:
12128         Implement Serializable.
12129
12130 2006-07-16  Andrew John Hughes  <gnu_andrew@member.fsf.org>
12131
12132         * java/lang/management/MemoryNotificationInfo.java:
12133         New file.
12134         
12135 2006-07-16  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
12136
12137         PR 28392
12138         * gnu/javax/swing/text/html/parser/htmlValidator.java 
12139         (tagIsValidForContext): If it is not possible to insert any tag, but 
12140         is possible to insert a P, insert a P.
12141         * gnu/javax/swing/text/html/parser/HTML_401Swing.java
12142         (newInstance): Removed print statement. (getBodyElements):
12143         Removed ABBR, ACRONYM, BDO, Q, S, SUB, SUP and ADDRESS from the
12144         valid body level tags (will be enclosed into P's).
12145
12146 2006-07-17  Raif S. Naffah  <raif@swiftdsl.com.au>
12147
12148         * tools/gnu/classpath/tools/keytool/Command.java (setKeystoreURLParam):
12149         Condition the creation of .keystore (a default keystore) based on the
12150         createIfNotFound argument as well.
12151
12152 2006-07-16  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
12153
12154         PR 28392
12155         * examples/gnu/classpath/examples/swing/HtmlDemo.java:
12156         Removed heading p tag from the parsing example.
12157         * gnu/javax/swing/text/html/parser/HTML_401F.java:
12158         (createHtmlContentModel): Explained.
12159         (defineElements): Call getBodyElements to get the body
12160         elements. (getBodyElements): New method. (model):
12161         Made protected from private.
12162         * gnu/javax/swing/text/html/parser/htmlValidator.java
12163         (openTag): Mind that current content model may be null.
12164         (tagIsValidForContext): If the tag is PCDATA, and it is not
12165         valid for context, but the paragraph (P) is valid for context,
12166         suggest to insert the P tag here.
12167         * javax/swing/text/html/HTMLDocument.java (HTMLReader.addContent,
12168         HTMLReader.blockOpen, HTMLReader.blockClose): Do not handle
12169         implied P tags here.
12170         * javax/swing/text/html/HTMLEditorKit.java (getParser):
12171         Get the custom parser, using HTML_401Swing.java DTD.
12172         * javax/swing/text/html/parser/ParserDelegator.java:
12173         Removed the obsolete note that HTMLEditorKit does not exist.
12174         * gnu/javax/swing/text/html/parser/GnuParserDelegator.java,
12175         gnu/javax/swing/text/html/parser/HTML_401Swing.java: New files.
12176
12177 2006-07-16  Andrew John Hughes  <gnu_andrew@member.fsf.org>
12178
12179         * javax/management/ListenerNotFoundException.java:
12180         New file.
12181         * javax/management/MBeanFeatureInfo.java:
12182         (hashCode()): Use summation instead of multiplication
12183         for consistency with other classes.
12184         * javax/management/MBeanNotificationInfo.java,
12185         * javax/management/Notification.java,
12186         * javax/management/NotificationBroadcaster.java,
12187         * javax/management/NotificationEmitter.java,
12188         * javax/management/NotificationFilter.java,
12189         * javax/management/NotificationListener.java:
12190         New files.
12191         * javax/management/OperationsException.java:
12192         (serialVersionUID): Added.
12193         
12194 2006-07-16  Thomas Minor  <1nocentrabidlamb@sexMagnet.com>
12195             Mark Wielaard  <mark@klomp.org>
12196
12197         * java/io/PrintStream.java: Added four constructors, for File and
12198         String describing a filename with or without explicit encoding.
12199
12200 2006-07-16  Sven de Marothy  <sven@physto.se>
12201
12202         * javax/rmi/ssl/SslRMIServerSocketFactory.java,
12203         * javax/rmi/ssl/SslRMIClientSocketFactory.java:
12204         New files.
12205
12206 2006-07-16  Raif S. Naffah  <raif@swiftdsl.com.au>
12207
12208         PR Classpath/28391
12209         * tools/gnu/classpath/tools/keytool/Command.java (setKeyStoreParams(5)): 
12210         New method.
12211         (setKeyStoreParams(4)): Call the above method with false as its 1st arg.
12212         (setProviderClassNameParam): Made private.
12213         (setKeystoreTypeParam): Likewise.
12214         (setKeyPasswordParam): Likewise
12215         (setKeystorePasswordParam): Likewise.
12216         (setKeystoreURLParam): Now accepts 2 more arguments; the first a boolean to
12217         create or not the keystore if it's not there, and the second is the store's
12218         password to process before loading the keystore. Amended the code
12219         accordingly.
12220         * tools/gnu/classpath/tools/keytool/GenKeyCmd.java (setup): Call super's
12221         setKeyStoreParams(5) with true as its first argument.
12222         * tools/gnu/classpath/tools/keytool/IdentityDBCmd.java (setup): Likewise.
12223         * tools/gnu/classpath/tools/keytool/ImportCmd.java (setup): Likewise.
12224
12225 2006-07-16  Sven de Marothy  <sven@physto.se>
12226
12227         * java/util/UUID.java: New file.
12228
12229 2006-07-16  Raif S. Naffah  <raif@swiftdsl.com.au>
12230
12231         * gnu/javax/crypto/jce/cipher/KeyWrappingAlgorithmAdapter.java: New file.
12232         * gnu/javax/crypto/jce/cipher/AESKeyWrapSpi.java: New file.
12233         * gnu/javax/crypto/jce/cipher/AES128KeyWrapSpi.java: Likewise.
12234         * gnu/javax/crypto/jce/cipher/AES192KeyWrapSpi.java: Likewise.
12235         * gnu/javax/crypto/jce/cipher/AES256KeyWrapSpi.java: Likewise.
12236         * gnu/javax/crypto/jce/cipher/TripleDESKeyWrapSpi.java: Likewise.
12237         * gnu/javax/crypto/jce/GnuCrypto.java (.run): Added mappings for newly
12238         added Key Wrapping Algorithm SPIs.
12239
12240 2006-07-16  Raif S. Naffah  <raif@swiftdsl.com.au>
12241
12242         * javax/crypto/Cipher.java (getOutputSize): Allow SPIs initialised for key
12243         wrapping/unwrapping to invoke their engineGetOutputSize.
12244
12245 2006-07-16  Raif S. Naffah  <raif@swiftdsl.com.au>
12246
12247         * gnu/javax/crypto/kwa/TripleDESKeyWrap.java (rnd): New field.
12248         (engineInit): If a SecureRandom was specified then use it.
12249         (nextRandomBytes): New method.
12250         (engineWrap): Use above method.
12251         * gnu/javax/crypto/kwa/BaseKeyWrappingAlgorithm.java (prng): New field.
12252         (getDefaultPRNG): New method.
12253         * gnu/javax/crypto/kwa/AESKeyWrap.java (engineInit): Reset underlying AES.
12254         * gnu/javax/crypto/kwa/IKeyWrappingAlgorithm.java (SOURCE_OF_RANDOMNESS):
12255         New constant.
12256
12257 2006-07-16  Raif S. Naffah  <raif@swiftdsl.com.au>
12258
12259         * gnu/javax/crypto/jce/params/BlockCipherParameters.java
12260         (engineGetParameterSpec): Should be able to return an IvParameterSpec.
12261
12262 2006-07-16  Raif S. Naffah  <raif@swiftdsl.com.au>
12263
12264         * gnu/javax/crypto/cipher/DES.java (adjustParity): Index limit now takes
12265         offset into consideration.
12266
12267 2006-07-16  Mario Torre  <neugens@limasoftware.net>
12268
12269         * native/jni/gconf-peer/GConfNativePeer.c (init_gconf_client):
12270         Fixed comment. This functions now requires to be called
12271         with gdk lock held, the comment states that.
12272         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_init_1id_1cache):
12273         Introduces gdk locks around critical regions of code.
12274         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1gconf_1client_1all_1keys):
12275         Likewise.
12276         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1gconf_1client_1all_1nodes):
12277         Likewise.
12278         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1suggest_1sync):
12279         Likewise.
12280         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1unset):
12281         Likewise.
12282         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1get_1string):
12283         Likewise.
12284         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1set_1string):
12285         Likewise.
12286         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1remove_1dir):
12287         Likewise.
12288         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1add_1dir):
12289         Likewise.
12290         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1dir_1exists):
12291         Likewise.
12292         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_finalize_1class):
12293         * native/jni/gconf-peer/Makefile.am: The GConf peer now depends on GTK.
12294
12295 2006-07-15  Sven de Marothy  <sven@physto.se>
12296
12297         * javax/swing/JFileChooser.java
12298         Change default selection mode to FILES_ONLY.
12299         * javax/swing/plaf/basic/BasicDirectoryModel.java
12300         Document, fix selection mode filtering.
12301         (renameFile): Implement
12302         * javax/swing/plaf/basic/BasicFileChooserUI.java
12303         (selectedDir): New field to handle selected directories,
12304         disallow selecting of directories in FILES_ONLY mode.
12305         * javax/swing/plaf/metal/MetalFileChooserUI.java:
12306         (EditingActionListener.actionPerformed):
12307         Stop editing on all actions (e.g. return-key press)
12308
12309 2006-07-15  Mark Wielaard  <mark@klomp.org>
12310
12311         * doc/vmintegration.texinfo (gnu.java.lang.management): Change xref
12312         to code.
12313         (JNI Implementation): Mark JVMTI Implementation as next.
12314         (JVMTI Implementation): Mark JNI Implementation as prev.
12315
12316 2006-07-15  Mark Wielaard  <mark@klomp.org>
12317
12318         * include/Makefile.am: Remove
12319         include/gnu_java_awt_peer_gtk_GdkTextLayout.h.
12320         * include/gnu_java_awt_peer_gtk_GdkTextLayout.h: Removed.
12321         * native/jni/gtk-peer/Makefile.am: Remove
12322         gnu_java_awt_peer_gtk_GdkTextLayout.c
12323         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c:
12324         Removed.
12325
12326         * include/gnu_java_awt_peer_gtk_GtkWindowPeer.h: Regenerated.
12327
12328 2006-07-15  Mark Wielaard  <mark@klomp.org>
12329
12330         * autogen.sh: Recognize autoconf 2.60.
12331
12332 2006-07-15  Keith Seitz  <keiths@redhat.com>
12333
12334         * NEWS: Update for JVMTI and jvmti.h.
12335         * doc/vmintegration.texinfo: Likewise.
12336         * include/jvmti.h: New file.
12337
12338 2006-07-15  Mark Wielaard  <mark@klomp.org>
12339
12340         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c:
12341         Removed C++ style comment.
12342
12343 2006-07-15  Sven de Marothy  <sven@physto.se>
12344
12345         * gnu/java/awt/peer/gtk/GtkMouseInfoPeer.java,
12346         * java/awt/MouseInfo.java,
12347         * java/awt/PointerInfo.java,
12348         * java/awt/peer/MouseInfoPeer.java:
12349         New files.
12350
12351         * java/awt/Image.java
12352         (accelerationPriority): New field.
12353         (setAccelerationPriority, getAccelerationPriority): New methods..
12354
12355         * include/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.h,
12356         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.c,
12357         * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java:
12358         (getMouseCoordinates): New method.
12359
12360         * gnu/java/awt/peer/gtk/GtkFramePeer.java
12361         (updateAlwaysOnTop): Remove stub overload.
12362
12363         * gnu/java/awt/ClasspathToolkit.java,
12364         * gnu/java/awt/peer/gtk/GtkToolkit.java,
12365         * include/gnu_java_awt_peer_gtk_GtkToolkit.h,
12366         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c:
12367         (getMouseInfoPeer): New method.
12368         (getMouseNumberOfButtons): New method.
12369         
12370         * gnu/java/awt/peer/gtk/GtkWindowPeer.java
12371         * include/gnu_java_awt_peer_gtk_GtkWindowPeer.h
12372         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
12373         (gtkWindowSetAlwaysOnTop): New method.
12374         (updateAlwaysOnTop): Implement.
12375
12376         * java/awt/Toolkit.java,
12377         (getMouseInfoPeer): New method.
12378
12379         * java/awt/Window.java
12380         (alwaysOnTop): New field.
12381         (isAlwaysOnTop, setAlwaysOnTop): New methods.
12382
12383         * java/awt/peer/WindowPeer.java: Doc fix.
12384
12385 2006-07-14  Sven de Marothy  <sven@physto.se>
12386
12387         * java/awt/font/TextLayout.java:
12388         (hitTestChar): Stub method.
12389         * java/awt/font/TextMeasurer.java:
12390         (getLayout): Throw exception on invalid argument.
12391         
12392 2006-07-14  Sven de Marothy  <sven@physto.se>
12393
12394         * java/awt/image/DataBuffer.java
12395         (DataBuffer): Call constructors in the correct order,
12396         
12397 2006-07-14  Mark Wielaard  <mark@klomp.org>
12398
12399         Revert to previous implementation.
12400         * java/awt/GridBagLayout.java (AdjustForGravity): Only adjust for
12401         constraints insets.
12402
12403 2006-07-14  Roman Kennke  <kennke@aicas.com>
12404
12405         * gnu/java/awt/peer/x/XToolkit.java
12406         (XToolkit): Install properties to SystemProperties
12407         rather than System, to avoid SecurityManager.
12408         (getImage(String)): Return error image when string is invalid.
12409         (createImage(URL)): Moved image loading to helper method.
12410         (createImage(ImageProducer)): Implemented.
12411         (createImage(byte[],int,int)): Implemented.
12412         (createImage(InputStream)): New helper method.
12413
12414 2006-07-14  Tania Bento  <tbento@redhat.com>
12415
12416         * java/awt/FlowLayout.java
12417         (setHgap): No Excpetion should be thrown if hgap has
12418         a negative value.
12419         (setVgap): No Exception should be thrown if vgap has
12420         a negative value.
12421
12422 2006-07-14  David Gilbert  <david.gilbert@object-refinery.com>
12423
12424         * java/awt/image/MultiPixelPackedSampleModel.java: 
12425         Added API docs all over.
12426
12427 2006-07-14  Matt Wringe  <mwringe@redhat.com>
12428
12429         * gnu/javax/crypto/jce/cipher/CipherAdapter.java 
12430         (engineInit): Throw InvalidAlgorithmParameterException
12431         for invalid IVParameterSpec IV length.
12432
12433 2006-07-14  David Gilbert  <david.gilbert@object-refinery.com>
12434
12435         * java/awt/image/MultiPixelPackedSampleModel.java
12436         (createDataBuffer): Include dataBitOffset in calculating the size for
12437         the data buffer.
12438
12439 2006-07-14  David Gilbert  <david.gilbert@object-refinery.com>
12440
12441         * java/awt/image/MultiPixelPackedSampleModel.java
12442         (getSampleSize()): Return a copy of the array,
12443         (getTransferType()): New method override.
12444
12445 2006-07-14  Roman Kennke  <kennke@aicas.com>
12446
12447         * java/awt/CardLayout.java
12448         (show): Validate parent to make sure that the layout is
12449         valid.
12450
12451 2006-07-14  Roman Kennke  <kennke@aicas.com>
12452
12453         * java/awt/Component.java
12454         (enable): Added tree locking.
12455         (disable): Added tree locking.
12456         (show): Added tree locking.
12457         (hide): Added tree locking.
12458         (getLocationOnScreen): Added tree locking.
12459         (reshape): Added tree locking.
12460         (addHierarchyListener): Added tree locking.
12461         (removeHierarchyListener): Added tree locking.
12462         (addHierarchyBoundsListener): Added tree locking.
12463         (removeHierarchyBoundsListener): Added tree locking.
12464         (addNotify): Added tree locking.
12465         (removeNotify): Added tree locking.
12466         * java/awt/Container.java
12467         (invalidateTree): Added tree locking.
12468         (getAlignmentX): Added tree locking.
12469         (getAlignmentY): Added tree locking.
12470         (addNotify): Added tree locking.
12471         (setComponentZOrder): Added tree locking.
12472         (getComponentZOrder): Added tree locking.
12473
12474 2006-07-14  David Gilbert  <david.gilbert@object-refinery.com>
12475
12476         * java/awt/image/MultiPixelPackedSampleModel.java
12477         (createSubsetSampleModel): Restored argument check, but let null
12478         through.
12479
12480 2006-07-14  David Gilbert  <david.gilbert@object-refinery.com>
12481
12482         * java/awt/image/MultiPixelPackedSampleModel.java
12483         (createSubsetSampleModel): Removed argument check.
12484
12485 2006-07-14  Roman Kennke  <kennke@aicas.com>
12486
12487         * java/awt/Component.java
12488         (numHierarchyListeners): New field.
12489         (numHierarchyBoundsListeners): New field.
12490         (show): Fire hierarchy events here. Only fire component event
12491         if there is actually a listener for it.
12492         (hide): Fire hierarchy events here. Only fire component event
12493         if there is actually a listener for it.
12494         (reshape): Fire hierarchy events here. Only fire component event
12495         if there is actually a listener for it.
12496         (addHierarchyListeners): Update listener counters.
12497         (removeHierarchyListeners): Update listener counters.
12498         (addHierarchyBoundsListeners): Update listener counters.
12499         (removeHierarchyBoundsListeners): Update listener counters.
12500         (fireHierarchyEvent): New helper method for firing hierarchy
12501         events.
12502         * java/awt/Container.java
12503         (addImpl): Update listener counters. Fire hierarchy event.
12504         (remove): Update listener counters. Fire hierarchy event.
12505         (fireHierarchyEvent): New helper method for firing hierarchy
12506         events.
12507         (updateHierarchyListenerCount): New helper method for
12508         updating the listener counters.
12509
12510 2006-07-14  David Gilbert  <david.gilbert@object-refinery.com>
12511
12512         * java/awt/image/MultiPixelPackedSampleModel.java
12513         (equals): New method override,
12514         (hashCode): Likewise.
12515
12516 2006-07-14  David Gilbert  <david.gilbert@object-refinery.com>
12517
12518         * java/awt/image/MultiPixelPackedSampleModel.java
12519         (MultiPixelPackedSampleModel(int, int, int, int, int, int)): 
12520         Corrected scanlineStride calculation.
12521
12522 2006-07-14  Raif S. Naffah  <raif@swiftdsl.com.au>
12523
12524         * gnu/java/security/Registry.java (KWA_PREFIX): New constant.
12525         (AES_KWA): Likewise.
12526         (AES128_KWA): Likewise.
12527         (AES192_KWA): Likewise.
12528         (AES256_KWA): Likewise.
12529         (RIJNDAEL_KWA): Likewise.
12530         (TRIPLEDES_KWA): Likewise.
12531         (DESEDE_KWA): Likewise.
12532         * gnu/javax/crypto/kwa/AESKeyWrap.java: New file
12533         * gnu/javax/crypto/kwa/BaseKeyWrappingAlgorithm.java: Likewise.
12534         * gnu/javax/crypto/kwa/IKeyWrappingAlgorithm.java: Likewise.
12535         * gnu/javax/crypto/kwa/KeyUnwrappingException.java: Likewise.
12536         * gnu/javax/crypto/kwa/KeyWrappingAlgorithmFactory.java: Likewise.
12537         * gnu/javax/crypto/kwa/TripleDESKeyWrap.java: Likewise.
12538
12539 2006-07-14  Raif S. Naffah  <raif@swiftdsl.com.au>
12540
12541         * gnu/javax/crypto/pad/IPad.java: Updated class documentation.
12542         (PADDING_BLOCK_SIZE): New constant.
12543         (init(Map attributes)): New method.
12544         * gnu/javax/crypto/pad/BasePad.java (init): New method.
12545
12546 2006-07-14  Mario Torre  <neugens@limasoftware.net>
12547
12548         * gnu/java/security/OID.java (OID): Private Constructor removed as
12549         it is not needed anymore.
12550         (clone): Fixed. Now uses super.clone instead of the private
12551         constructor as per specification of clone method.
12552         (serialVersionUID): added new field to allow serialization.
12553
12554 2006-07-13  Sven de Marothy  <sven@physto.se>
12555
12556         * gnu/javax/imageio/gif/GIFImageReader.java
12557         (read): Remove old debugging trace.
12558
12559 2006-07-13  Andreas Tobler  <a.tobler@schweiz.ch>
12560
12561         PR awt/28369:
12562         * gnu/java/awt/peer/gtk/CairoSurface.java (ColorModel): Swap red and
12563         blue mask.
12564
12565 2006-07-13  Roman Kennke  <kennke@aicas.com>
12566
12567         * java/awt/Component.java
12568         (DEFAULT_MAX_SIZE): New static constant.
12569         (preferredSize): Return copy of the actual value computed
12570         by new helper method.
12571         (preferredSizeImpl): New helper method. Adds locking and
12572         correct handling of cached value.
12573         (minimumSize): Return copy of the actual value computed
12574         by new helper method.
12575         (minimumSizeImpl): New helper method. Adds locking and
12576         correct handling of cached value.
12577         (getMaximumSize):  Return copy of the actual value computed
12578         by new helper method.
12579         (maximumSizeImpl): New helper method. Adds locking and
12580         correct handling of cached value.
12581         (invalidate): Correct handling of cached layout information.
12582         Added locking.
12583         * java/awt/Container.java
12584         (preferredSize): Minimized locking. Corrected handling of cached
12585         values. Return copy of real value.
12586         (minimumSize): Minimized locking. Corrected handling of cached
12587         values. Return copy of real value.
12588         (getMaximumSize): Minimized locking. Corrected handling of cached
12589         values. Return copy of real value.
12590         
12591 2006-07-13  Tania Bento  <tbento@redhat.com>
12592
12593         * gnu/java/awt/peer/ClasspathFontPeer.java
12594         (isLogicalFontName): Return true if name == default.
12595         (logicalFontNameToFaceName): Check if name == default,
12596         and if so, return "Dialog.plain".
12597         (setStandardAttributes(String, Map)): If name == null, 
12598         it should be set to "Default", not "SansSerif".
12599         * java/awt/Canvas.java
12600         (generateName): Fixed documentation.
12601         * java/awt/CheckboxMenuItem.java
12602         Added static variable "next_chkmenuitem_number".
12603         (generateName): Added and implemented method.
12604         (getUniqueLong): Likewise.
12605         * java/awt/Choice.java
12606         Added static variable "next_choice_number".
12607         (generateName): Added and implemented method.
12608         (getUniqueLong): Likewise.
12609         * java/awt/Cursor.java
12610         (Cursor(int)): Set name depending on the type passed.
12611         * java/awt/List.java
12612         Added static variable "next_list_number".
12613         (generateName): Added and implemented method.
12614         (getUniqueLong): Likewise.
12615         * java/awt/Menu.java
12616         Added static variable "next_menu_number".
12617         (generateName): Added and implemented method.
12618         (getUniqueLong): Likewise.
12619         * java/awt/MenuBar.java
12620         Added static variable "next_menubar_number".
12621         (generateName): Added and implemented method.   
12622         (getUniqueLong): Likewise.
12623         * java/awt/MenuComponent.java
12624         (getName): Before returning name, check if name == null
12625         and name is not explicity set.  If this is the case,    
12626         name will be generated.
12627         (generateName): Added and implemented method.   
12628         * java/awt/MenuItem.java
12629         Added static variable "next_menuitem_number".
12630         (generateName): Added and implemented method.   
12631         (getUniqueLong): Likewise.
12632         * java/awt/PopupMenu.java
12633         Added static variable "next_popup_number".
12634         (generateName): Added and implemented method.
12635         (getUniqueLong): Likewise.
12636         * java/awt/ScrollPane.java
12637         Added static variable "next_scrollpane_number".
12638         (generateName): Added and implemented method.
12639         (getUniqueLong): Likewise.
12640         * java/awt/TextField.java
12641         Added static variable "next_textfield_number".
12642         (generateName): Added and implemented method.
12643         (getUniqueLong): Likewise.
12644
12645
12646 2006-07-13  David Gilbert  <david.gilbert@object-refinery.com>
12647
12648         * java/awt/image/SinglePixelPackedSampleModel.java
12649         (SinglePixelPackageSampleModel(int, int, int, int, int[])): Convert
12650         mask correctly as an unsigned integer,
12651         (equals): New method override.
12652
12653 2006-07-13  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
12654
12655         * javax/swing/text/html/HTMLDocument.java (insertAfterEnd,
12656         insertAfterStart, insertBeforeEnd):  Removed stub markings.
12657
12658 2006-07-13  David Gilbert  <david.gilbert@object-refinery.com>
12659
12660         * java/awt/image/BandedSampleModel.java: API doc updates and source 
12661         code reformatting,
12662         * java/awt/image/SinglePixelPackageSampleModel.java: Likewise.
12663
12664 2006-07-13  David Gilbert  <david.gilbert@object-refinery.com>
12665
12666         * java/awt/image/BandedSampleModel.java: API doc updates.
12667
12668 2006-07-13  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
12669
12670         * javax/swing/text/html/HTMLDocument.java (HTMLReader.parseStack): 
12671         Made package private. (HTMLReader.charAttr, HTMLReader.charAttrStack,
12672         HTMLReader.insertTag, HTMLReader.insertTagEncountered, 
12673         HTMLReader.pushDepth, HTMLReader.popDepth): Documented. 
12674         (HRMLReader.blockClose): Mind that parser stack may be empty. 
12675         (HTMLReader.handeComment, HTMLReader.handleStartTag,
12676         HTMLReader.handleEndTag, HTMLReader.handleSimpleTag): Rewritten. 
12677         (HTMLReader.shouldInsert): New method. (getElement(String)): 
12678         Pass HTML.Atrribute.ID. (insertAfterEnd, insertBeforeEnd, 
12679         insertAfterStart, insertBeforeStart, setInnerHTML, setOuterHTML):
12680         Implemented. (getInsertingReader): New method. 
12681         * examples/gnu/classpath/examples/swing/HtmlDemo.java:
12682         Added buttons to demonstrate the work of the insert actions.
12683
12684 2006-07-13  David Gilbert  <david.gilbert@object-refinery.com>
12685
12686         * java/awt/image/SampleModel.java: API doc updates and additions,
12687         * java/awt/image/SinglePixelPackedSampleModel.java: Likewise.
12688
12689 2006-07-12  Sven de Marothy  <sven@physto.se>
12690
12691         * javax/swing/JFileChooser.java:
12692         (createDialog): Close operation should cause a cancel.
12693
12694 2006-07-12  Francis Kung  <fkung@redhat.com>
12695
12696         * gnu/java/awt/peer/gtk/CairoGraphics2D.java: Organized imports.
12697         (cairoArc): New native method.
12698         (cairoRestore): New native method.
12699         (cairoSave): New native method.
12700         (cairoScale): New native method.
12701         (createPath): New method to centralize code from draw and fill.
12702         (draw): Modified to use createPath method.
12703         (fill): Modified to use createPath method.
12704         * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Added 
12705         function declarations.
12706         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
12707         (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoScale): New 
12708         method.
12709         (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoSave): New 
12710         method.
12711         (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoArc): New 
12712         method.
12713         
12714 2006-07-12  Tom Tromey  <tromey@redhat.com>
12715
12716         PR libgcj/27271:
12717         * java/util/zip/ZipFile.java (getInputStream): Call addDummyByte
12718         on PartialInputStream.
12719         (PartialInputStream.dummyByteCount): New field.
12720         (PartialInputStream.fillBuffer): Handle dummy byte.
12721         (PartialInputStream.read): Likewise.
12722         (PartialInputStream.addDummyByte): New method.
12723
12724 2006-07-12  Mario Torre  <neugens@limasoftware.net>
12725
12726         * native/jni/gconf-peer/GConfNativePeer.c
12727         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1get_1string):
12728         Fixed C++ style comment.
12729
12730 2006-07-12  David Gilbert  <david.gilbert@object-refinery.com>
12731
12732         * java/util/Arrays.java
12733         (asList): Updated API docs.
12734
12735 2006-07-11  Robert Schuster  <robertschuster@fsfe.org>
12736
12737         Fixes PR28350.
12738         * native/jni/gconf-peer/GConfNativePeer.c:
12739         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1set_1string):
12740         Changed if-expression.
12741         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1get_1string):
12742         Added check for _value not being NULL.
12743         
12744 2006-07-11  Roman Kennke  <kennke@aicas.com>
12745
12746         * native/jni/java-net/gnu_java_net_local_LocalSocketImpl.c
12747         (read): Use fd when local sockets are disabled to make the
12748         compiler quite.
12749         (write): Likewise.
12750
12751 2006-07-11  Roman Kennke  <kennke@aicas.com>
12752
12753         * java/awt/image/MultiPixelPackedSampleModel.java
12754         (MultiPixelPackedSampleModel): Substract -1 so that the integer
12755         division gets rounded up.
12756
12757 2006-07-11  Andrew John Hughes  <gnu_andrew@member.fsf.org>
12758
12759         * java/lang/management/ManageFactory.java:
12760         (getMemoryManagerMXBeans()): Use addAll, not add.
12761         
12762 2006-07-11  Vivek Lakshmanan  <vivekl@redhat.com>
12763
12764         PR 27649:
12765         * gnu/classpath/ByteArray.java: Removed (moved).
12766         * gnu/java/security/util/ByteArray.java: New File.
12767         * gnu/javax/crypto/RSACipherImpl.java: Reference 
12768         gnu.java.security.util.ByteArray instead of gnu.classpath.ByteArray.
12769
12770 2006-07-11  Roman Kennke  <kennke@aicas.com>
12771
12772         * native/jni/java-net/gnu_java_net_local_LocalSocketImpl.c
12773         (available): Pass fd as argument and avoid JNI class/field
12774         lookup.
12775         (read): Likewise.
12776         (write): Likewise.
12777         * include/gnu_java_net_local_LocalSocketImpl.h:
12778         Regenerated.
12779         * gnu/java/net/local/LocalSocketImpl.h
12780         (available): Pass fd as argument and avoid JNI class/field
12781         lookup.
12782         (read): Likewise.
12783         (write): Likewise.      
12784
12785 2006-07-11  Sven de Marothy  <sven@physto.se>
12786
12787         * gnu/javax/sound/sampled/AU/AUReader.java:
12788         Correct file extension from .as to .au.
12789
12790 2006-07-11  Sven de Marothy  <sven@physto.se>
12791
12792         * gnu/javax/sound/sampled/AU/AUReader.java:
12793         New file.
12794         * resource/META-INF/services/javax.sound.sampled.spi.AudioFileReader: 
12795         Added new provider.
12796
12797 2006-07-11  David Gilbert  <david.gilbert@object-refinery.com>
12798
12799         * javax/swing/JTable.java
12800         (setRowSelectionAllowed): Fire required PropertyChangeEvent,
12801         (setColumnSelectionAllowed): Likewise.
12802
12803 2006-07-10  Vivek Lakshmanan  <vivekl@redhat.com>
12804
12805         PR 27649:
12806         * gnu/classpath/debug/Simple1LineFormatter.java: Use
12807         AccessController.doPrivileged instead of SystemProperties.getProperty.
12808         * gnu/classpath/debug/SystemLogger.java: Likewise.
12809         * gnu/java/security/PolicyFile.java: Likewise and cut unnecessary
12810         repeated getProperty calls for "file.seperator".
12811         (refresh): Since already in privileged block, call System.getProperty
12812         instead of SystemProperties.getProperty.
12813         * gnu/java/security/key/dss/DSSKey.java
12814         (toString): Use AccessController.doPrivileged instead of
12815         SystemProperties.getProperty.
12816         * gnu/java/security/key/dss/DSSPrivateKey.java
12817         (toString): Likewise.
12818         * gnu/java/security/key/dss/DSSPublicKey.java
12819         (toString): Likewise.
12820         * gnu/java/security/key/rsa/GnuRSAKey.java
12821         (toString): Likewise.
12822         * gnu/java/security/key/rsa/GnuRSAPrivateKey.java
12823         (toString): Likewise.
12824         * gnu/java/security/key/rsa/GnuRSAPublicKey.java
12825         (toString): Likewise.
12826         * gnu/javax/crypto/sasl/plain/PasswordFile.java: Likewise.
12827         * gnu/javax/crypto/key/dh/GnuDHKey.java 
12828         (toString): Likewise.
12829         * gnu/javax/crypto/key/dh/GnuDHPrivateKey.java 
12830         (toString): Likewise.
12831         * gnu/javax/crypto/key/dh/GnuDHPublicKey.java 
12832         (toString): Likewise.
12833
12834 2006-07-11  David Gilbert  <david.gilbert@object-refinery.com>
12835
12836         * javax/swing/AbstractButton.java
12837         (disabledIcon): Fixed name (was 'disabeldIcon'),
12838         (getDisabledIcon): Updated for corrected field name,
12839         (setDisabledIcon): Fire a PropertyChangeEvent.
12840
12841 2006-07-11  David Gilbert  <david.gilbert@object-refinery.com>
12842
12843         * javax/swing/DefaultBoundedRangeModel.java
12844         (readObject): New private method,
12845         (writeObject): Likewise.
12846
12847 2006-07-11  David Gilbert  <david.gilbert@object-refinery.com>
12848
12849         * javax/swing/ButtonGroup.java
12850         (add): Ignore null argument,
12851         (remove): Ignore null argument.  If removing selected button, clear the
12852         sel field,
12853         (findButton): Changed case for method name, and documented,
12854         (setSelected): Updated for modification to findButton() method name,
12855         (isSelected): Updated API docs.
12856
12857 2006-07-11  David Gilbert  <david.gilbert@object-refinery.com>
12858
12859         * java/awt/image/BufferedImage.java
12860         (BufferedImage(int, int, int)): Use correct color space for 
12861         TYPE_BYTE_GRAY and TYPE_USHORT_GRAY, and throw an 
12862         IllegalArgumentException for an unrecognised type.
12863
12864 2006-07-10  Andrew John Hughes  <gnu_andrew@member.fsf.org>
12865
12866         * java/lang/management/ManagementFactory.java:
12867         (getMemoryPoolMXBeans): Genericized fully.
12868         (getMemoryManagerMXBeans): Likewise.
12869         (getGarbageCollectorMXBeans): Likewise.
12870         
12871 2006-07-10  Tom Tromey  <tromey@redhat.com>
12872
12873         * java/lang/management/ManagementFactory.java (getMemoryPoolMXBeans):
12874         Genericized.
12875         (getMemoryManagerMXBeans): Likewise.
12876         (getGarbageCollectorMXBeans): Likewise.
12877
12878 2006-07-10  Mario Torre  <neugens@limasoftware.net>
12879
12880         * java/awt/BasicStroke.java: Removed unused import.
12881         * gnu/java/awt/java2d/CubicSegment.java (clone): Fixed. 
12882         * gnu/java/awt/java2d/LineSegment.java (clone): Fixed. 
12883         * gnu/java/awt/java2d/QuadSegment.java (clone): Fixed.
12884
12885 2006-07-10  Matt Wringe  <mwringe@redhat.com>
12886
12887         PR classpath/28212:
12888         * javax/crypto/spec/SecretKeySpec.java 
12889         (equals): Check object type. 
12890
12891 2006-07-10  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
12892
12893         * examples/gnu/classpath/examples/CORBA/SimpleCommunication/
12894         communication/StructureToPassHelper.java,
12895         examples/gnu/classpath/examples/CORBA/SimpleCommunication/
12896         communication/StructureToReturnHelper.java,
12897         examples/gnu/classpath/examples/CORBA/SimpleCommunication/
12898         communication/TreeNodeHelper.java,
12899         examples/gnu/classpath/examples/CORBA/SimpleCommunication/
12900         communication/WeThrowThisExceptionHelper.java,
12901         gnu/CORBA/ForwardRequestHelper.java,
12902         org/omg/CORBA/CompletionStatusHelper.java,
12903         org/omg/CORBA/CurrentHelper.java,
12904         org/omg/CORBA/DefinitionKindHelper.java,
12905         org/omg/CORBA/IDLTypeHelper.java,
12906         org/omg/CORBA/NameValuePairHelper.java,
12907         org/omg/CORBA/ObjectHelper.java,
12908         org/omg/CORBA/ParameterModeHelper.java,
12909         org/omg/CORBA/PolicyErrorCodeHelper.java,
12910         org/omg/CORBA/PolicyErrorHelper.java,
12911         org/omg/CORBA/PolicyHelper.java,
12912         org/omg/CORBA/PolicyListHelper.java,
12913         org/omg/CORBA/PolicyTypeHelper.java,
12914         org/omg/CORBA/ServiceDetailHelper.java,
12915         org/omg/CORBA/ServiceInformationHelper.java,
12916         org/omg/CORBA/SetOverrideTypeHelper.java,
12917         org/omg/CORBA/StringValueHelper.java,
12918         org/omg/CORBA/UnionMemberHelper.java,
12919         org/omg/CORBA/UnknownUserExceptionHelper.java,
12920         org/omg/CORBA/VisibilityHelper.java,
12921         org/omg/CORBA/WStringValueHelper.java,
12922         org/omg/CORBA/WrongTransactionHelper.java,
12923         org/omg/CosNaming/BindingHelper.java,
12924         org/omg/CosNaming/BindingIteratorHelper.java,
12925         org/omg/CosNaming/BindingListHelper.java,
12926         org/omg/CosNaming/BindingTypeHelper.java,
12927         org/omg/CosNaming/NameComponentHelper.java,
12928         org/omg/CosNaming/NameHelper.java,
12929         org/omg/CosNaming/NamingContextExtHelper.java,
12930         org/omg/CosNaming/NamingContextExtPackage/AddressHelper.java,
12931         org/omg/CosNaming/NamingContextExtPackage/InvalidAddressHelper.java,
12932         org/omg/CosNaming/NamingContextExtPackage/StringNameHelper.java,
12933         org/omg/CosNaming/NamingContextExtPackage/URLStringHelper.java,
12934         org/omg/CosNaming/NamingContextHelper.java,
12935         org/omg/CosNaming/NamingContextPackage/AlreadyBoundHelper.java,
12936         org/omg/CosNaming/NamingContextPackage/CannotProceedHelper.java,
12937         org/omg/CosNaming/NamingContextPackage/InvalidNameHelper.java,
12938         org/omg/CosNaming/NamingContextPackage/NotEmptyHelper.java,
12939         org/omg/CosNaming/NamingContextPackage/NotFoundHelper.java,
12940         org/omg/CosNaming/NamingContextPackage/NotFoundReasonHelper.java,
12941         org/omg/DynamicAny/AnySeqHelper.java,
12942         org/omg/DynamicAny/DynAnyFactoryHelper.java,
12943         org/omg/DynamicAny/DynAnyFactoryPackage/InconsistentTypeCodeHelper.java,
12944         org/omg/DynamicAny/DynAnyHelper.java,
12945         org/omg/DynamicAny/DynAnyPackage/InvalidValueHelper.java,
12946         org/omg/DynamicAny/DynAnyPackage/TypeMismatchHelper.java,
12947         org/omg/DynamicAny/DynAnySeqHelper.java,
12948         org/omg/DynamicAny/DynArrayHelper.java,
12949         org/omg/DynamicAny/DynEnumHelper.java,
12950         org/omg/DynamicAny/DynFixedHelper.java,
12951         org/omg/DynamicAny/DynSequenceHelper.java,
12952         org/omg/DynamicAny/DynStructHelper.java,
12953         org/omg/DynamicAny/DynUnionHelper.java,
12954         org/omg/DynamicAny/DynValueHelper.java,
12955         org/omg/DynamicAny/NameDynAnyPairHelper.java,
12956         org/omg/DynamicAny/NameDynAnyPairSeqHelper.java,
12957         org/omg/DynamicAny/NameValuePairHelper.java,
12958         org/omg/DynamicAny/NameValuePairSeqHelper.java,
12959         org/omg/IOP/CodecFactoryHelper.java,
12960         org/omg/IOP/CodecFactoryPackage/UnknownEncodingHelper.java,
12961         org/omg/IOP/CodecPackage/FormatMismatchHelper.java,
12962         org/omg/IOP/CodecPackage/InvalidTypeForEncodingHelper.java,
12963         org/omg/IOP/CodecPackage/TypeMismatchHelper.java,
12964         org/omg/IOP/ComponentIdHelper.java,
12965         org/omg/IOP/IORHelper.java,
12966         org/omg/IOP/MultipleComponentProfileHelper.java,
12967         org/omg/IOP/ProfileIdHelper.java,
12968         org/omg/IOP/ServiceContextHelper.java,
12969         org/omg/IOP/ServiceContextListHelper.java,
12970         org/omg/IOP/ServiceIdHelper.java,
12971         org/omg/IOP/TaggedComponentHelper.java,
12972         org/omg/IOP/TaggedProfileHelper.java,
12973         org/omg/PortableInterceptor/AdapterManagerIdHelper.java,
12974         org/omg/PortableInterceptor/AdapterNameHelper.java,
12975         org/omg/PortableInterceptor/AdapterStateHelper.java,
12976         org/omg/PortableInterceptor/CurrentHelper.java,
12977         org/omg/PortableInterceptor/ForwardRequestHelper.java,
12978         org/omg/PortableInterceptor/IORInterceptor_3_0Helper.java,
12979         org/omg/PortableInterceptor/InvalidSlotHelper.java,
12980         org/omg/PortableInterceptor/ORBInitInfoPackage/DuplicateNameHelper.java,
12981         org/omg/PortableInterceptor/ORBInitInfoPackage/InvalidNameHelper.java,
12982         org/omg/PortableInterceptor/ObjectReferenceFactoryHelper.java,
12983         org/omg/PortableInterceptor/ObjectReferenceTemplateHelper.java,
12984         org/omg/PortableInterceptor/ObjectReferenceTemplateSeqHelper.java,
12985         org/omg/PortableServer/CurrentHelper.java,
12986         org/omg/PortableServer/CurrentPackage/NoContextHelper.java,
12987         org/omg/PortableServer/ForwardRequestHelper.java,
12988         org/omg/PortableServer/POAHelper.java,
12989         org/omg/PortableServer/POAManagerPackage/AdapterInactiveHelper.java,
12990         org/omg/PortableServer/POAPackage/AdapterAlreadyExistsHelper.java,
12991         org/omg/PortableServer/POAPackage/AdapterNonExistentHelper.java,
12992         org/omg/PortableServer/POAPackage/InvalidPolicyHelper.java,
12993         org/omg/PortableServer/POAPackage/NoServantHelper.java,
12994         org/omg/PortableServer/POAPackage/ObjectAlreadyActiveHelper.java,
12995         org/omg/PortableServer/POAPackage/ObjectNotActiveHelper.java,
12996         org/omg/PortableServer/POAPackage/ServantAlreadyActiveHelper.java,
12997         org/omg/PortableServer/POAPackage/ServantNotActiveHelper.java,
12998         org/omg/PortableServer/POAPackage/WrongAdapterHelper.java,
12999         org/omg/PortableServer/POAPackage/WrongPolicyHelper.java,
13000         org/omg/PortableServer/ServantActivatorHelper.java,
13001         org/omg/PortableServer/ServantLocatorHelper.java: Remove the 
13002         typecode caching and always use OrbRestricted.Singleton.
13003
13004 2006-07-09  Tom Tromey  <tromey@redhat.com>
13005
13006         * java/util/logging/LoggingMXBean.java (getLoggerNames): Genericized.
13007
13008 2006-07-09  Mark Wielaard  <mark@klomp.org>
13009
13010         * gnu/java/awt/peer/gtk/ComponentGraphics.java (hasXRenderExtension):
13011         New static final boolean field.
13012         (getComponentGraphics): Use hasXRenderExtension.
13013         (setClip): Override method for locking.
13014
13015 2006-07-09  David Gilbert  <david.gilbert@object-refinery.com>
13016
13017         * javax/swing/AbstractButton.java
13018         (setHorizontalTextPosition): Added check for illegal argument,
13019         (setVerticalTextPosition): Likewise.
13020
13021 2006-07-09  David Gilbert  <david.gilbert@object-refinery.com>
13022
13023         * javax/swing/Timer.java
13024         (setDelay): Throw IllegalArgumentException for negative delay,
13025         (setInitialDelay): Likewise,
13026         * javax/swing/ToolTipManager.java
13027         (setInitialDelay): Document IllegalArgumentException,
13028         (setDismissDelay): Likewise,
13029         (setReshowDelay): Likewise.
13030
13031 2006-07-09  Andrew John Hughes  <gnu_andrew@member.fsf.org>
13032
13033         * java/lang/management/MemoryUsage.java:
13034         (from(javax.management.openmbean.CompositeData)):
13035         Implemented.
13036         * java/lang/management/ThreadInfo.java:
13037         Changed to use open types throughout for the state.
13038         (ThreadInfo(long,String,String,long,long,String,
13039         long,String,long,long,boolean,StackTraceElement[])):
13040         New constructor.
13041         (checkAttribute(javax.management.openmbean.CompositeType,
13042         String, javax.management.openmbean.OpenType)): New method.
13043         (from(javax.management.openmbean.CompositeData)):
13044         Implemented.
13045         (getLockName()): Fixed to use new variable.
13046         (getLockOwnerId()): Likewise.
13047         (getLockOwnerName()): Likewise.
13048         (getThreadId()): Likewise.
13049         (getThreadName()): Likewise.
13050         (getThreadState()): Likewise.
13051         (toString()): Refactored to use new variables.
13052         * javax/management/openmbean/ArrayType.java:
13053         New file.
13054         * javax/management/openmbean/CompositeType.java:
13055         Variables should be transient, not volatile.
13056         * javax/management/openmbean/OpenDataException.java:
13057         (serialVersionUID): Added.
13058         * javax/management/openmbean/SimpleType.java:
13059         New file.
13060         * javax/management/openmbean/TabularType.java
13061         Variables should be transient, not volatile.
13062
13063 2006-07-09  Tom Tromey  <tromey@redhat.com>
13064
13065         * tools/.cvsignore: Updated for new tools.
13066
13067 2006-07-09  Andrew John Hughes  <gnu_andrew@member.fsf.org>
13068
13069         * javax/management/openmbean/CompositeData.java,
13070         * javax/management/openmbean/CompositeType.java,
13071         * javax/management/openmbean/OpenDataException.java,
13072         * javax/management/openmbean/OpenType.java,
13073         * javax/management/openmbean/TabularData.java,
13074         * javax/management/openmbean/TabularType.java,
13075         * javax/management/openmbean/package.html:
13076         New files.
13077
13078 2006-07-09  Mark Wielaard  <mark@klomp.org>
13079
13080         * gnu/javax/print/ipp/IppRequest.java: Remove double assignment.
13081         * gnu/java/rmi/server/UnicastServerRef.java: Likewise.
13082         * gnu/java/rmi/server/ActivatableServerRef.java: Likewise.
13083
13084 2006-07-08  Anthony Green  <green@redhat.com>
13085
13086         * gnu/javax/sound/sampled/WAV/WAVReader.java,
13087         resource/META-INF/services/javax.sound.sampled.spi.AudioFileReader: 
13088         New files.
13089
13090 2006-07-09  Mario Torre  <neugens@limasoftware.net>
13091
13092         * native/jni/gconf-peer/GConfNativePeer.c:
13093         Fixed indentation to be more compliant to the GNU coding
13094         guidelines.
13095         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1unset):
13096         Added explicit test for errors in the GConf backend.
13097         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1get_1string):
13098         Added explicit test for errors in the GConf backend.
13099         Fixed Segmentation Fault when non valid key names are given as input.
13100         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1set_1string):
13101         likewise.
13102         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1dir_1exists):
13103         Added explicit test for errors in the GConf backend.
13104         * gnu/java/util/prefs/gconf/GConfNativePeer.java:
13105         Added javadoc comments for all native methods.
13106         (nodeExist): removed test to check for valid absolute path name
13107         for nodes.
13108         (startWatchingNode): likewise.
13109         (stopWatchingNode): likewise.
13110         (setString): likewise, plus fixed javadoc comments.
13111         (unset): likekwise.
13112         (getKey): likewise.
13113         (getKeys): likewise, also fixed javadoc comments.
13114         (getChildrenNodes): likewise.
13115         * gnu/java/util/prefs/GConfBasedPreferences.java:
13116         changed DEFAULT_USER_ROOT to /apps/classpath.
13117         (constructor): Test to check for a valid absolute path for nodes
13118         is now in the contructor for that node, instead of being on
13119         each method of the backend.
13120         (getGConfKey): removed empty new line.
13121
13122 2006-07-08  Mark Wielaard  <mark@klomp.org>
13123
13124         * .classpath: Add gnu/java/awt/peer/x/ to excludes.
13125
13126 2006-07-08  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
13127
13128         * javax/swing/text/FlowView.java (FlowStrategy.layoutRow):
13129         Handle the forced break in the same way as exceeding the
13130         available row space.
13131         * javax/swing/text/html/HRuleView.java: Rewritten.
13132         * javax/swing/text/html/HTMLDocument.java 
13133         (HTMLReader.addSpecialElement):Reserve two characters for
13134         the special elements.
13135         * examples/gnu/classpath/examples/swing/HtmlDemo.java
13136         (text): Extended the HTML example to parse.
13137
13138 2006-07-07  David Gilbert  <david.gilbert@object-refinery.com>
13139
13140         * javax/swing/AbstractButton.java
13141         (setHorizontalAlignment): Check for illegal argument,
13142         (setVerticalAlignment): Likewise.
13143
13144 2006-07-07  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
13145
13146         * javax/swing/text/html/TableView.java
13147         (getStyleSheet): New method. (RowView.getStyleSheet):
13148         New method.
13149
13150 2006-07-07  David Gilbert  <david.gilbert@object-refinery.com>
13151
13152         * javax/swing/AbstractButton.java
13153         (setRolloverIcon): Call setRolloverEnabled(true),
13154         (setRolloverSelectedIcon): Likewise.
13155
13156 2006-07-07  David Gilbert  <david.gilbert@object-refinery.com>
13157
13158         * javax/swing/border/TitledBorder.java
13159         (setTitlePosition): Added message to exception,
13160         (setTitleJustification): Likewise.
13161
13162 2006-07-07  David Gilbert  <david.gilbert@object-refinery.com>
13163
13164         * javax/swing/plaf/metal/MetalLookAndFeel.java
13165         (createDefaultTheme): Corrected API docs,
13166         (initComponentDefaults): Added entry for 'TitledBorder.border',
13167         (getCurrentTheme): Initialise theme if it is null.
13168
13169 2006-07-07  Roman Kennke  <kennke@aicas.com>
13170
13171         * java/awt/Component.java
13172         (isValid): Return false when component has no peer,
13173         don't query the showing state.
13174
13175 2006-07-07  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
13176
13177         * javax/swing/text/FlowView.java (FlowStrategy.layoutRow):
13178         Advance the offset also in the case of the enforced break.
13179
13180 2006-07-07  David Gilbert  <david.gilbert@object-refinery.com>
13181
13182         * javax/swing/plaf/basic/BasicArrowButton.java
13183         (MAXIMUM_SIZE): Removed field,
13184         (MINIMUM_SIZE): Likewise,
13185         (PREFERRED_SIZE): Likewise,
13186         (getMaximumSize): Return new instance every time,
13187         (getMinimumSize): Likewise,
13188         (getPreferredSize): Likewise.
13189
13190 2006-07-07  Roman Kennke  <kennke@aicas.com>
13191
13192         * java/awt/LightweightDispatcher.java
13193         (findTarget):  Avoid array copying in
13194         Container.getComponents().
13195
13196 2006-07-07  Roman Kennke  <kennke@aicas.com>
13197
13198         * javax/swing/JComponent.java
13199         (paintChildrenWithOverlap): Avoid array copying in
13200         Container.getComponents().
13201         (paintChildrenOptimized): Avoid array copying in
13202         Container.getComponents().
13203         (fireAncestorEvent):  Avoid array copying in
13204         Container.getComponents().
13205         (findOverlapFreeParent): Avoid array copying in
13206         Container.getComponents().
13207
13208 2006-07-07  Matt Wringe <mwringe@redhat.com>
13209
13210         * javax/crypto/spec/PBEKeySpec.java: Updated copyright year.
13211         (passwordValid): New field.
13212         (setPassword): New method.
13213         (setSalt): Likewise.
13214         (setIterationCount): Likewise.
13215         (setKeyLength): Likewise.
13216         (PBEKeySpec(char[])): Use new setter methods.
13217         (PBEKeySpec(char[], byte[], int)): Likewise.
13218         (PBEKeySpec(char[], byte[], int, int)): Likewise.
13219         (clearPassword): Set passwordValid to false.
13220         (getPassword): Check that clearPassword() was not called earlier.
13221         Return a clone of the password.
13222         (getSalt): Return a clone of the salt if it was not null.
13223
13224 2006-07-07  Roman Kennke  <kennke@aicas.com>
13225
13226         * java/awt/Component.java
13227         (isValid): Always return false when component is
13228         not showing.
13229         (setFont): Always set font, even when setting
13230         the same or equal font again.
13231
13232 2006-07-07  David Gilbert  <david.gilbert@object-refinery.com>
13233
13234         * javax/swing/plaf/metal/MetalIconFactory.java
13235         (CheckBoxMenuItemIcon): Implement UIResource,
13236         (FileChooserDetailViewIcon): Likewise,
13237         (FileChooserHomeFolderIcon): Likewise,
13238         (FileChooserListViewIcon): Likewise,
13239         (FileChooserNewFolderIcon): Likewise,
13240         (FileChooserUpFolderIcon): Removed redundant 'implements',
13241         (RadioButtonMenuItemIcon): Implement UIResource,
13242         (HorizontalSliderThumbIcon): Likewise,
13243         (InternalFrameCloseIcon): Likewise,
13244         (InternalFrameDefaultMenuIcon): Likewise,
13245         (InternalFrameAltMaximizeIcon): Likewise,
13246         (InternalFrameMaximizeIcon): Likewise,
13247         (InternalFrameMinimizeIcon): Likewise,
13248         (VerticalSliderThumbIcon): Likewise,
13249         (TreeHardDriveIcon): Likewise,
13250         (TreeFloppyDriveIcon): Likewise,
13251         (TreeComputerIcon): Likewise,
13252         (horizontalSliderThumbIcon): New field,
13253         (verticalSliderThumbIcon): New field,
13254         (getHorizontalSliderThumbIcon): Cache icon,
13255         (getVerticalSliderThumbIcon): Likewise.
13256
13257 2006-07-06  Mark Wielaard  <mark@klomp.org>
13258
13259         * lib/Makefile.am (CLEANFILES): Add Makefile.deps.
13260         (DISTCLEANFILES): Add standard.omit.
13261         (clean-local): Remove Makefile.deps, only remove dirs.
13262
13263 2006-07-06  Roman Kennke  <kennke@aicas.com>
13264
13265         * java/awt/Component.java
13266         (setFont): Only invalidate when component is valid.
13267         * java/awt/Container.java
13268         (setLayout): Only invalidate when component is valid.
13269
13270 2006-07-06  Lillian Angel  <langel@redhat.com>
13271
13272         * gnu/java/awt/dnd/GtkMouseDragGestureRecognizer.java:
13273         New class not fully implemented.
13274         * gnu/java/awt/dnd/peer/gtk/GtkDragSourceContextPeer.java:
13275         New class not fully implemented.
13276         * gnu/java/awt/dnd/peer/gtk/GtkDropTargetPeer.java:
13277         New class not fully implemented.
13278         * gnu/java/awt/dnd/peer/gtk/GtkDropTargetContextPeer.java:
13279         New class not fully implemented.
13280         * nu/java/awt/peer/gtk/GtkToolkit.java:
13281         Fixed Imports.
13282         (createDragSourceContextPeer): Implemented.
13283         (createDragGestureRecognizer): New function to override
13284         java.awt.Toolkit.createDragGestureRecognizer.
13285         * java/awt/dnd/DragSource.java
13286         (NoDragGestureRecognizer): Removed inner class.
13287         (createDragGestureRecognizer): Re-Implemented to 
13288         call Toolkit's createDragGestureRecognizer.
13289         (createDefaultDragGestureRecognizer): Re-Implemented to
13290         call Toolkit's createDragGestureRecognizer.
13291         * java/awt/dnd/DropTarget.java
13292         (addNotify): Added check to determine type of peer and call
13293         addDropTarget.
13294         (removeNotify): Added call to removeDropTarget.
13295
13296 2006-07-06  Tom Tromey  <tromey@redhat.com>
13297
13298         * gnu/java/util/prefs/EventDispatcher.java (dispatch): Notify
13299         'queue'.
13300         (run): Wait on queue, not 'this'.
13301
13302 2006-07-06  Lillian Angel  <langel@redhat.com>
13303
13304         * java/awt/dnd/DragSource.java
13305         (startDrag): Implemented. Added comments describing
13306         what the function should do. Removed FIXME.
13307
13308 2006-07-06  Tania Bento  <tbento@redhat.com>
13309         
13310         * gnu/java/awt/Canvas.java
13311         Added new private variable 'next_canvas_number'.
13312         (generateName): Added.
13313         (getUniqueLong): Added.
13314
13315 2006-07-06  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
13316
13317         * gnu/javax/swing/text/html/CharacterAttributeTranslator.java
13318         (getColor): Made public.
13319         * javax/swing/text/html/StyleSheet.java (stringToColor):
13320         Use CharacterAttributeTranslator.getColor(String)
13321
13322 2006-07-06  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
13323
13324         * javax/swing/text/html/HTMLEditorKit.java:
13325         (HTMLFactory.createElement): Update reference to the html table view.
13326         * javax/swing/text/html/HTMLTableView.java: Removed (renamed).
13327         * javax/swing/text/html/TableView.java: New file.
13328
13329 2006-07-06  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
13330
13331         * javax/swing/text/html/HTMLEditorKit.java: 
13332         (HTMLFactory.createElement): Uncomment
13333         code for BRView and HRuleView.
13334         * javax/swing/text/html/BRView.java,
13335         javax/swing/text/html/HRuleView.java: New files.
13336
13337 2006-07-05  Andrew John Hughes  <gnu_andrew@member.fsf.org>
13338
13339         * java/lang/Thread.java:
13340         (getAllStackTraces(Map<Thread,StackTraceElement[]>)):
13341         Added generic type signature.
13342
13343 2006-07-05  Andrew John Hughes  <gnu_andrew@member.fsf.org>
13344
13345         * NEWS: Updated.
13346         * doc/vmintegration.texinfo: Likewise.
13347         * examples/gnu/classpath/examples/management/TestGarbageCollector.java,
13348         * examples/gnu/classpath/examples/management/TestMemoryManager.java,
13349         * gnu/java/lang/management/GarbageCollectorMXBeanImpl.java,
13350         * gnu/java/lang/management/MemoryManagerMXBeanImpl.java,
13351         * java/lang/management/GarbageCollectorMXBean.java:
13352         New files.
13353         * java/lang/management/ManagementFactory.java:
13354         (getGarbageCollectorMXBeans()): Implemented.
13355         (getMemoryManagerMXBeans()): Likewise.
13356         * vm/reference/gnu/java/lang/management/VMGarbageCollectorMXBeanImpl.java,
13357         * vm/reference/gnu/java/lang/management/VMMemoryManagerMXBeanImpl.java:
13358         New files.
13359         * vm/reference/java/lang/management/VMManagementFactory.java:
13360         (getMemoryManagerNames()): Added.
13361         (getGarbageCollectorNames()): Added.
13362         
13363 2006-07-05  Thomas Fitzsimmons  <fitzsim@redhat.com>
13364
13365         * native/plugin/Makefile.am (nativeexeclib_LTLIBRARIES): Rename
13366         from lib_LTLIBRARIES.
13367         (install-plugin): Depend on nativeexeclib_LTLIBRARIES.
13368
13369 2006-07-05  Lillian Angel  <langel@redhat.com>
13370
13371         * java/awt/dnd/DragGestureEvent.java:
13372         Added new fields.
13373         (DragGestureEvent): Initialized new fields, added to check and 
13374         added documentation.
13375         (getSourceAsDragGestureRecognizer): Added documentation and 
13376         changed to use getSource.
13377         (getComponent): Added documentation and fixed to return the proper
13378         value.
13379         (getDragSource): Likewise.
13380         (getDragOrigin): Added documentation.
13381         (iterator): Implemented and added documentation.
13382         (toArray): Likewise.
13383         (toArray): Likewise.
13384         (getDragAction): Likewise.
13385         (getTriggerEvent): Likewise.
13386         (startDrag): Likewise.
13387         * java/awt/dnd/DragGestureRecognizer.java
13388         (resetRecognizer): Added FIXME.
13389         * java/awt/dnd/DragSource.java:
13390         Added new field.
13391         (DragSource): Set ds to be null if headless.
13392         (getDefaultDragSource): Added documentation and implemented.
13393         (isDragImageSupported): Marked as unimplemented.
13394         (startDrag): Likewise.
13395         (createDragSourceContext): Implemented.
13396         (NoDragGestureRecognizer): Formatted inner class.
13397         * java/awt/dnd/DropTarget.java
13398         (stop): Marked as unimplemented.
13399         (actionPerformed): Likewise.
13400         (addDropTargetListener): Added code to throw exception.
13401         (removeDropTargetListener): Added check, removed FIXME.
13402         (dragEnter): Implemented.
13403         (dragOver): Implemented.
13404         (dropActionChanged): Implemented.
13405         (dragExit): Implemented.
13406         (drop): Implemented.
13407         (addNotify): Implemented.
13408         (removeNotify): Implemented.
13409         (createDropTargetContext): Implemented.
13410         (createDropTargetAutoScroller): Implemented.
13411         (initializeAutoscrolling): Implemented.
13412         (updateAutoscroll): Implemented.
13413         (clearAutoscroll): Implemented.
13414         * java/awt/dnd/DropTargetContext.java
13415         (dropComplete): Implemented.
13416         (acceptDrag): Implemented.
13417         (rejectDrag): Implemented.
13418         (acceptDrop): Implemented.
13419         (rejectDrop): Implemented.
13420         (getCurrentDataFlavors): Implemented.
13421         (getTransferable): Partially implemented.
13422         * java/awt/dnd/DropTargetDragEvent.java
13423         (getDropAction): Uncommented correct code.
13424         * java/awt/dnd/DropTargetDropEvent.java
13425         (dropComplete) :Implemented.
13426         * java/awt/dnd/InvalidDnDOperationException.java
13427         (InvalidDnDOperationException): Added call to super.
13428
13429 2006-07-05  Robert Schuster  <robertschuster@fsfe.org>
13430
13431         * javax/swing/plaf/basic/BasicArrowButton.java:
13432         (paint): Removed getBounds() call, changed center point
13433         calculation.
13434
13435 2006-07-05  David Gilbert  <david.gilbert@object-refinery.com>
13436
13437         * javax/swing/InputMap.java
13438         (inputMap): Don't initialize yet,
13439         (InputMap): Removed TODO,
13440         (get): Check for null inputMap,
13441         (put): Return immediately for null keyStroke, check for null inputMap
13442         and initialize if necessary,
13443         (remove): Check for null inputMap,
13444         (size): Likewise,
13445         (clear): Likewise,
13446         (keys): Likewise,
13447         (allKeys): Likewise,
13448         (writeObject): Removed,
13449         (readObject): Removed.
13450
13451 2006-07-05  David Gilbert  <david.gilbert@object-refinery.com>
13452
13453         * gnu/classpath/examples/swing/TabbedPaneDemo.java
13454         (createContent): Use different labels for buttons.
13455
13456 2006-07-04  Andrew John Hughes  <gnu_andrew@member.fsf.org>
13457
13458         * NEWS: Updated.
13459         * doc/vmintegration.texinfo: Likewise.
13460         * examples/gnu/classpath/examples/management/TestMemoryPool.java,
13461         * gnu/java/lang/management/MemoryPoolMXBeanImpl.java:
13462         New files.
13463         * java/lang/management/ManagementFactory.java:
13464         (getMemoryPoolMXBeans()): Implemented.
13465         * vm/reference/gnu/java/lang/management/VMMemoryPoolMXBeanImpl.java,
13466         * vm/reference/java/lang/management/VMManagementFactory.java:
13467         New files.
13468         
13469 2006-07-04  Lillian Angel  <langel@redhat.com>
13470
13471         * java/awt/dnd/DragSourceContext.java:
13472         Removed FIXMEs from fields.
13473         (DragSourceContext): Added code to initialize cursor and sourceActions.
13474         (getDragSource): Added documentation.
13475         (getComponent): Likewise.
13476         (getTrigger): Likewise.
13477         (getSourceActions): Added documentation and implemented.
13478         (setCursor): Implemented. Added documentation.
13479         (getCursor): Implemented. Added documentation.
13480         (dragEnter): Added code to notify DragSource's listeners.
13481         (dragOver): Likewise.
13482         (dragExit): Likewise.
13483         (dropActionChanged): Likewise.
13484         (dragDropEnd): Likewise.
13485         (dragMouseMoved): Implemented.
13486         (getTransferable): Added API documentation.
13487         (updateCurrentCursor): Added API documentation and partially implemented.
13488
13489 2006-07-04  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
13490
13491         * javax/swing/plaf/basic/BasicTreeUI.java (KeyHandler): Implemented.
13492
13493 2006-07-04  Lillian Angel  <langel@redhat.com>
13494
13495         * java/awt/dnd/DragSourceContext.java
13496         (DragSourceContext): Implemented fully. Fixed API docs.
13497         (transferablesFlavorsChanged): Implemented.
13498         (dragEnter): Implemented.
13499         (dragOver): Implemented.
13500         (dragExit): Implemented.
13501         (dropActionChanged): Implemented.
13502         (dragDropEnd): Implemented.
13503
13504 2006-07-04  Lillian Angel  <langel@redhat.com>
13505
13506         * javax/swing/plaf/basic/BasicOptionPaneUI.java:
13507         Fixed name of constant.
13508         (getIconWidth): Changed name of constant returned.
13509         (getIconHeight): Likewise.
13510         (paint): Likewise.
13511         (createSeparator): Marked as unimplemented.
13512         * javax/swing/plaf/basic/BasicTableUI.java
13513         (focusGained): Marked as unimplemented.
13514         (focusLost): Marked as unimplemented.
13515         (mouseEntered): Likewise.
13516         (mouseMoved): Likewise.
13517         (uninstallDefaults): Likewise.
13518         * javax/swing/plaf/basic/BasicToolBarUI.java
13519         (mouseClicked): Changed comment.
13520         (mouseEntered): Likewise.
13521         (mouseExited): Likewise.
13522         (mouseMoved): Likewise.
13523         (setOrientation): Implemented.
13524         (ToolBarFocusListener): Marked as unimplemented.
13525         (focusGained): Marked as unimplemented.
13526         (focusLost): Marked as unimplemented.
13527
13528 2006-07-04  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
13529
13530         PR 28061
13531         * javax/swing/plaf/basic/BasicTreeUI.java (isLocationInExpandControl):
13532         Mind the effect of the root visibility on the position of the control.
13533         Quess icon width 18. (paintVerticalPartOfLeg): Do no paint the 
13534         vertical line over first level nodes.
13535
13536 2006-07-04  Lillian Angel  <langel@redhat.com>
13537
13538         * javax/swing/plaf/basic/BasicMenuUI.java
13539         (installKeyboardActions): Implemented to call super. Nothing else
13540         needs to be done here.
13541         (setupPostTimer): Marked as unimplemented.
13542         (uninstallKeyboardActions): Implemented to call super. Nothing else
13543         needs to be done here.
13544         (mouseMoved): Removed TODO. Nothing to be done here.
13545         (ChangeHandler): Implemented.
13546         (menuDragMouseExited): Removed TODO. Nothing to be done here.
13547         (menuDragMouseReleased): Removed TODO. Nothing to be done here.
13548         (menuKeyReleased): Removed TODO. Nothing to be done here.
13549         (menuKeyTyped): Marked as unimplemented.
13550
13551 2006-07-04  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
13552
13553         PR 28061
13554         * gnu/javax/swing/plaf/gnu/GNULookAndFeel.java
13555         (getDefaults): Set hash color to black.
13556         * javax/swing/plaf/basic/BasicLookAndFeel.java
13557         (initComponentDefaults): Set hash color to grey blue.
13558         * javax/swing/plaf/basic/BasicTreeUI.java
13559         (instellDefaults): Set hash color.
13560         * javax/swing/plaf/metal/MetalIconFactory.java
13561         (TreeControlIcon.paint): Rewritten.
13562
13563 2006-07-04  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
13564
13565         PR 28061
13566         * javax/swing/plaf/basic/BasicTreeUI.java (MouseHandler.mousePressed):
13567         Always cancel the current editing session before doing anything else,
13568         return immediately if this fails.
13569         (TreeHomeAction): Ensure that the lead selection path is visible after
13570         the action is performed. TreeIncrementAction: Likewise. TreeToggleAction:
13571         Likewise. TreeTraverseAction: Likewise.
13572
13573 2006-07-04  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
13574
13575         PR 28061
13576         * javax/swing/plaf/basic/BasicTreeUI.java (MouseHandler.mousePressed):
13577         Returned back the code to handle the start of the click-pause-click
13578         editing initiation, explained about this code. 
13579         (TreeStartEditingAction): New inner class.
13580         (stopEditingInCompleteEditing): Explained about this field.
13581         (completeEditing(boolean, boolean, boolean): Only return early
13582         if there is no current editing session.
13583         (createDefaultActions): Install TreeStartEditingAction and
13584         TreeCancelEditingAction.
13585
13586 2006-07-04  Mario Torre  <neugens@limasoftware.net>
13587
13588         * configure.ac: Added new option --enable-default-preferences-peer
13589         to pass user specified default preference backend.
13590         If the GConf peer is built, GConf become the default backend.
13591         * resource/META-INF/services/java.util.prefs.PreferencesFactory.in:
13592         new file. 
13593         * lib/Makefile.am: excludes files terminating in 'in' from
13594         the metafiles list.
13595         * lib/copy-vmresources.sh.in: excludes files terminating in 'in'
13596         from copy into META-INF.
13597         * java/util/prefs/Preferences.java: added two new import
13598         classes gnu.classpath.ServiceFactory and java.util.Iterator.
13599         (getFactory): Now try to check for
13600         a system defined default preference backend before to fall back on
13601         FileBasedPreference.
13602
13603 2006-07-04  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
13604
13605         PR 28061
13606         * javax/swing/JTree.java (COLLAPSED): Initialise to Boolean.FALSE.
13607         (EXPANDED): Initialise to Boolean.TRUE.
13608         * javax/swing/plaf/basic/BasicTreeUI.java (completeUIInstall):
13609         First configure layout cache and then set the assigned value 
13610         as row mapper. Set the root visibility property.
13611         (toggleExpandState): Obtains expansion state from the layout cache.
13612
13613 2006-07-03  Andrew John Hughes  <gnu_andrew@member.fsf.org>
13614
13615         * java/lang/management/MemoryPoolMXBean.java:
13616         New file.
13617         
13618 2006-07-03  Raif S. Naffah  <raif@swiftdsl.com.au>
13619
13620         * gnu/javax/crypto/RSACipherImpl.java: Source formatting.
13621
13622 2006-07-03  Raif S. Naffah  <raif@swiftdsl.com.au>
13623
13624         * gnu/javax/crypto/sasl/anonymous/AnonymousClient.java: Source formatting.
13625         * gnu/javax/crypto/sasl/anonymous/AnonymousServer.java: Likewise.
13626         * gnu/javax/crypto/sasl/anonymous/AnonymousUtil.java: Likewise.
13627         * gnu/javax/crypto/sasl/crammd5/CramMD5AuthInfoProvider.java: Likewise.
13628         * gnu/javax/crypto/sasl/crammd5/CramMD5Client.java: Likewise.
13629         * gnu/javax/crypto/sasl/crammd5/CramMD5Registry.java: Likewise.
13630         * gnu/javax/crypto/sasl/crammd5/CramMD5Server.java: Likewise.
13631         * gnu/javax/crypto/sasl/crammd5/CramMD5Util.java: Likewise.
13632         * gnu/javax/crypto/sasl/crammd5/PasswordFile.java: Likewise.
13633         * gnu/javax/crypto/sasl/plain/PasswordFile.java: Likewise.
13634         * gnu/javax/crypto/sasl/plain/PlainAuthInfoProvider.java: Likewise.
13635         * gnu/javax/crypto/sasl/plain/PlainClient.java: Likewise.
13636         * gnu/javax/crypto/sasl/plain/PlainRegistry.java: Likewise.
13637         * gnu/javax/crypto/sasl/plain/PlainServer.java: Likewise.
13638         * gnu/javax/crypto/sasl/srp/CALG.java: Likewise.
13639         * gnu/javax/crypto/sasl/srp/ClientStore.java: Likewise.
13640         * gnu/javax/crypto/sasl/srp/IALG.java: Likewise.
13641         * gnu/javax/crypto/sasl/srp/KDF.java: Likewise.
13642         * gnu/javax/crypto/sasl/srp/PasswordFile.java: Likewise.
13643         * gnu/javax/crypto/sasl/srp/SecurityContext.java: Likewise.
13644         * gnu/javax/crypto/sasl/srp/ServerStore.java: Likewise.
13645         * gnu/javax/crypto/sasl/srp/SRP.java: Likewise.
13646         * gnu/javax/crypto/sasl/srp/SRPAuthInfoProvider.java: Likewise.
13647         * gnu/javax/crypto/sasl/srp/SRPClient.java: Likewise.
13648         * gnu/javax/crypto/sasl/srp/SRPRegistry.java: Likewise.
13649         * gnu/javax/crypto/sasl/srp/SRPServer.java: Likewise.
13650         * gnu/javax/crypto/sasl/srp/StoreEntry.java: Likewise.
13651         * gnu/javax/crypto/sasl/AuthInfo.java: Likewise.
13652         * gnu/javax/crypto/sasl/AuthInfoProviderFactory.java: Likewise.
13653         * gnu/javax/crypto/sasl/ClientFactory.java: Likewise.
13654         * gnu/javax/crypto/sasl/ClientMechanism.java: Likewise.
13655         * gnu/javax/crypto/sasl/ConfidentialityException.java: Likewise.
13656         * gnu/javax/crypto/sasl/IAuthInfoProvider.java: Likewise.
13657         * gnu/javax/crypto/sasl/IAuthInfoProviderFactory.java: Likewise.
13658         * gnu/javax/crypto/sasl/IllegalMechanismStateException.java: Likewise.
13659         * gnu/javax/crypto/sasl/InputBuffer.java: Likewise.
13660         * gnu/javax/crypto/sasl/IntegrityException.java: Likewise.
13661         * gnu/javax/crypto/sasl/NoSuchMechanismException.java: Likewise.
13662         * gnu/javax/crypto/sasl/NoSuchUserException.java: Likewise.
13663         * gnu/javax/crypto/sasl/OutputBuffer.java: Likewise.
13664         * gnu/javax/crypto/sasl/SaslEncodingException.java: Likewise.
13665         * gnu/javax/crypto/sasl/SaslInputStream.java: Likewise.
13666         * gnu/javax/crypto/sasl/SaslOutputStream.java: Likewise.
13667         * gnu/javax/crypto/sasl/SaslUtil.java: Likewise.
13668         * gnu/javax/crypto/sasl/ServerFactory.java: Likewise.
13669         * gnu/javax/crypto/sasl/ServerMechanism.java: Likewise.
13670         * gnu/javax/crypto/sasl/UserAlreadyExistsException.java: Likewise.
13671
13672 2006-07-02  Anthony Green  <green@redhat.com>
13673
13674         * gnu/javax/sound/midi/file/MidiFileWriter.java (writeTrack): Make
13675         sure that every track written ends with an End Of Track meta
13676         message.
13677
13678 2006-07-02  Andrew John Hughes  <gnu_andrew@member.fsf.org>
13679
13680         * java/lang/management/MemoryUsage.java:
13681         (toString()): Fix missing MB for maximum memory usage.
13682         
13683 2006-07-02  Andrew John Hughes  <gnu_andrew@member.fsf.org>
13684
13685         * NEWS:
13686         Updated to include VMCompilationMXBeanImpl.
13687         * doc/vmintegration.texinfo:
13688         Likewise, along with update to VMMemoryMXBeanImpl
13689         as below.
13690         * examples/gnu/classpath/examples/management/TestCompilation.java,
13691         * gnu/java/lang/management/CompilationMXBeanImpl.java,
13692         * java/lang/management/CompilationMXBeanImpl.java:
13693         New files.
13694         * java/lang/management/ManagementFactory.java:
13695         (getCompilationMXBean()): Implemented.
13696         * vm/reference/gnu/java/lang/management/VMCompilationMXBeanImpl.java:
13697         New file.
13698         * vm/reference/gnu/java/lang/management/VMMemoryMXBeanImpl.java:
13699         (getHeapMemoryUsage()): Added default implementation.   
13700         
13701 2006-07-02  Anthony Green  <green@redhat.com>
13702
13703         * NEWS: Mention MIDI file reader/writer providers.
13704
13705 2006-07-02  Anthony Green  <green@redhat.com>
13706
13707         * resource/META-INF/services/javax.sound.midi.spi.MidiFileWriter,
13708         gnu/javax/sound/midi/file/MidiFileWriter.java,
13709         gnu/javax/sound/midi/file/MidiDataOutputStream.java: New files.
13710
13711 2006-07-01  Andrew John Hughes  <gnu_andrew@member.fsf.org>
13712
13713         * NEWS:
13714         Updated to include VMMemoryMXBeanImpl.
13715         * doc/vmintegration.texinfo: Likewise.
13716         * examples/gnu/classpath/examples/management/TestMemory.java:
13717         New file.
13718         * gnu/java/lang/management/ClassLoadingMXBeanImpl.java:
13719         Remove redundant import.
13720         * gnu/java/lang/management/MemoryMXBeanImpl.java:
13721         New file.
13722         * gnu/java/lang/management/ThreadMXBeanImpl.java:
13723         Remove redundant import.
13724         * java/lang/management/ManagementFactory.java:
13725         (getMemoryMXBean()): Implemented.
13726         * java/lang/management/MemoryMXBean.java,
13727         * java/lang/management/MemoryUsage.java:
13728         New files.
13729         * java/lang/management/ThreadInfo.java:
13730         (toString()): Updated documentation.
13731         * vm/reference/gnu/java/lang/management/VMMemoryMXBeanImpl.java:
13732         New file.
13733         
13734 2006-07-01  Anthony Green  <green@redhat.com>
13735
13736         * resource/META-INF/services/javax.sound.midi.spi.MidiFileReader,
13737         gnu/javax/sound/midi/file/MidiFileReader.java,
13738         gnu/javax/sound/midi/file/ExtendedMidiFileFormat.java,
13739         gnu/javax/sound/midi/file/MidiDataInputStream.java: New files.
13740
13741 2006-07-02  Raif S. Naffah  <raif@swiftdsl.com.au>
13742
13743         * gnu/javax/crypto/prng/ARCFour.java: Source formatting.
13744         * gnu/javax/crypto/prng/CSPRNG.java: Likewise.
13745         * gnu/javax/crypto/prng/Fortuna.java: Likewise.
13746         * gnu/javax/crypto/prng/ICMGenerator.java: Likewise.
13747         * gnu/javax/crypto/prng/PBKDF2.java: Likewise.
13748         * gnu/javax/crypto/prng/PRNGFactory.java: Likewise.
13749         * gnu/javax/crypto/prng/UMacGenerator.java: Likewise.
13750
13751 2006-07-02  Raif S. Naffah  <raif@swiftdsl.com.au>
13752
13753         * gnu/javax/crypto/pad/BasePad.java: Source formatting.
13754         * gnu/javax/crypto/pad/IPad.java: Likewise.
13755         * gnu/javax/crypto/pad/PadFactory.java: Likewise.
13756         * gnu/javax/crypto/pad/PKCS1_V1_5.java: Likewise.
13757         * gnu/javax/crypto/pad/PKCS7.java: Likewise.
13758         * gnu/javax/crypto/pad/SSL3.java: Likewise.
13759         * gnu/javax/crypto/pad/TBC.java: Likewise.
13760         * gnu/javax/crypto/pad/TLS1.java: Likewise.
13761         * gnu/javax/crypto/pad/WrongPaddingException.java: Likewise.
13762
13763 2006-07-01  Anthony Green  <green@redhat.com>
13764
13765         * javax/sound/midi/SysexMessage.java (setMessage): Fix sysex
13766         status byte test.
13767         (setMessage): Fix it again, in a different setMessage method.
13768
13769 2006-07-02  Raif S. Naffah  <raif@swiftdsl.com.au>
13770
13771         * gnu/javax/crypto/mode/BaseMode.java: Source formatting.
13772         * gnu/javax/crypto/mode/CBC.java: Likewise.
13773         * gnu/javax/crypto/mode/CFB.java: Likewise.
13774         * gnu/javax/crypto/mode/CTR.java: Likewise.
13775         * gnu/javax/crypto/mode/EAX.java: Likewise.
13776         * gnu/javax/crypto/mode/ECB.java: Likewise.
13777         * gnu/javax/crypto/mode/IAuthenticatedMode.java: Likewise.
13778         * gnu/javax/crypto/mode/ICM.java: Likewise.
13779         * gnu/javax/crypto/mode/IMode.java: Likewise.
13780         * gnu/javax/crypto/mode/ModeFactory.java: Likewise.
13781         * gnu/javax/crypto/mode/OFB.java: Likewise.
13782
13783 2006-07-02  Raif S. Naffah  <raif@swiftdsl.com.au>
13784
13785         * gnu/javax/crypto/mac/BaseMac.java: Source formatting.
13786         * gnu/javax/crypto/mac/HMac.java: Likewise.
13787         * gnu/javax/crypto/mac/HMacFactory.java: Likewise.
13788         * gnu/javax/crypto/mac/IMac.java: Likewise.
13789         * gnu/javax/crypto/mac/MacFactory.java: Likewise.
13790         * gnu/javax/crypto/mac/MacInputStream.java: Likewise.
13791         * gnu/javax/crypto/mac/MacOutputStream.java: Likewise.
13792         * gnu/javax/crypto/mac/OMAC.java: Likewise.
13793         * gnu/javax/crypto/mac/TMMH16.java: Likewise.
13794         * gnu/javax/crypto/mac/UHash32.java: Likewise.
13795         * gnu/javax/crypto/mac/UMac32.java: Likewise.
13796
13797 2006-07-01  Anthony Green  <green@redhat.com>
13798
13799         * javax/sound/midi/Track.java (vector, eventSet): Initialize. 
13800
13801 2006-07-02  Raif S. Naffah  <raif@swiftdsl.com.au>
13802
13803         * gnu/javax/crypto/keyring/AuthenticatedEntry.java: Source formatting.
13804         * gnu/javax/crypto/keyring/BaseKeyring.java: Likewise.
13805         * gnu/javax/crypto/keyring/BinaryDataEntry.java: Likewise.
13806         * gnu/javax/crypto/keyring/CertificateEntry.java: Likewise.
13807         * gnu/javax/crypto/keyring/CertPathEntry.java: Likewise.
13808         * gnu/javax/crypto/keyring/CompressedEntry.java: Likewise.
13809         * gnu/javax/crypto/keyring/EncryptedEntry.java: Likewise.
13810         * gnu/javax/crypto/keyring/Entry.java: Likewise.
13811         * gnu/javax/crypto/keyring/EnvelopeEntry.java: Likewise.
13812         * gnu/javax/crypto/keyring/GnuPrivateKeyring.java: Likewise.
13813         * gnu/javax/crypto/keyring/GnuPublicKeyring.java: Likewise.
13814         * gnu/javax/crypto/keyring/IKeyring.java: Likewise.
13815         * gnu/javax/crypto/keyring/IPrivateKeyring.java: Likewise.
13816         * gnu/javax/crypto/keyring/IPublicKeyring.java: Likewise.
13817         * gnu/javax/crypto/keyring/MalformedKeyringException.java: Likewise.
13818         * gnu/javax/crypto/keyring/MaskableEnvelopeEntry.java: Likewise.
13819         * gnu/javax/crypto/keyring/MeteredInputStream.java: Likewise.
13820         * gnu/javax/crypto/keyring/PasswordAuthenticatedEntry.java: Likewise.
13821         * gnu/javax/crypto/keyring/PasswordEncryptedEntry.java: Likewise.
13822         * gnu/javax/crypto/keyring/PasswordProtectedEntry.java: Likewise.
13823         * gnu/javax/crypto/keyring/PrimitiveEntry.java: Likewise.
13824         * gnu/javax/crypto/keyring/PrivateKeyEntry.java: Likewise.
13825         * gnu/javax/crypto/keyring/Properties.java: Likewise.
13826         * gnu/javax/crypto/keyring/PublicKeyEntry.java: Likewise.
13827
13828 2006-07-01  David Gilbert  <david.gilbert@object-refinery.com>
13829
13830         * javax/swing/AbstractCellEditor.java: Source code formatting,
13831         * javax/swing/AbstractSpinnerModel.java: Likewise,
13832         * javax/swing/Box.java: Likewise,
13833         * javax/swing/BoxLayout.java: Likewise,
13834         * javax/swing/DefaultListModel.java: Likewise,
13835         * javax/swing/GrayFilter.java: Likewise,
13836         * javax/swing/LookAndFeel.java: Likewise,
13837         * javax/swing/ProgressMonitor.java: Likewise,
13838         * javax/swing/ProgressMonitorInputStream.java: Likewise,
13839         * javax/swing/ScrollPaneLayout.java: Likewise,
13840         * javax/swing/SpringLayout.java: Likewise,
13841         * javax/swing/event/EventListenerList.java: Likewise,
13842         * javax/swing/event/MenuEvent.java: Likewise,
13843         * javax/swing/event/TreeExpansionListener.java: Likewise.
13844
13845 2006-07-01  Andrew John Hughes  <gnu_andrew@member.fsf.org>
13846
13847         * NEWS:
13848         Mention threading bean and getState().
13849         * doc/vmintegration.texinfo:
13850         Update documentation for threading bean and new
13851         method of VMThread.
13852         
13853 2006-07-01  Andrew John Hughes  <gnu_andrew@member.fsf.org>
13854         
13855         * examples/gnu/classpath/examples/management/TestClassLoading.java,
13856         * examples/gnu/classpath/examples/management/TestOS.java,
13857         * examples/gnu/classpath/examples/management/TestRuntime.java,
13858         * examples/gnu/classpath/examples/management/TestThread.java:
13859         New files.
13860         
13861 2006-07-01  Jeroen Frijters  <jeroen@frijters.net>
13862
13863         * java/lang/ThreadGroup.java
13864         (getThreadFromId, getThreadFromIdImpl): New methods.
13865
13866 2006-07-01  Jeroen Frijters  <jeroen@frijters.net>
13867
13868         * java/lang/Thread.java:
13869         Make thread IDs start from 1 in a more efficient way.
13870
13871 2006-07-01  Andrew John Hughes  <gnu_andrew@member.fsf.org>
13872
13873         * java/lang/Thread.java:
13874         Make thread IDs start from 1.
13875         
13876 2006-07-01  Andrew John Hughes  <gnu_andrew@member.fsf.org>
13877
13878         * gnu/java/lang/management/BeanImpl.java:
13879         New superclass for all bean implementations.
13880         * gnu/java/lang/management/ClassLoadingMXBeanImpl.java:
13881         Extend BeanImpl and call permission code there.
13882         * gnu/java/lang/management/OperatingSystemMXBeanImpl.java:
13883         Extend BeanImpl.
13884         * gnu/java/lang/management/RuntimeMXBeanImpl.java:
13885         Extend BeanImpl and call permission code there.
13886         * gnu/java/lang/management/ThreadMXBeanImpl.java:
13887         New file.
13888         * java/lang/management/ManagementFactory.java:
13889         (getThreadMXBean()): Implemented.
13890         * java/lang/management/ThreadInfo.java:
13891         (ThreadInfo(Thread,int)): Replaced...
13892         (ThreadInfo(Thread,long,long,Object,Thread,long,long,
13893         boolean, boolean, StackTraceElement[])): with this.
13894         (getBlockedCount()): Refactored to use local variables.
13895         (getBlockedTime()): Likewise.
13896         (getLockName()): Likewise.
13897         (getLockOwnerId()): Likewise.
13898         (getLockOwnerName()): Likewise.
13899         (getStackTrace()): Likewise.
13900         (getWaitedCount()): Likewise.
13901         (getWaitedTime()): Likewise.
13902         (isInNative()): Likewise.
13903         (isSuspended()): Likewise.
13904         (toString()): Changed to use new local variables.
13905         * java/lang/management/ThreadMXBean.java:
13906         (getThreadInfo(long, int)): Corrected documentation.
13907         (getThreadInfo(long[], int)): Likewise.
13908         * vm/reference/gnu/java/lang/management/VMThreadMXBeanImpl.java:
13909         New file.
13910         * vm/reference/java/lang/management/VMThreadInfo.java:
13911         Removed.
13912
13913 2006-07-01  Raif S. Naffah  <raif@swiftdsl.com.au>
13914
13915         * gnu/javax/crypto/key/dh/DHKeyPairRawCodec.java: Source formatting.
13916         * gnu/javax/crypto/key/dh/DiffieHellmanKeyAgreement.java: Likewise.
13917         * gnu/javax/crypto/key/dh/DiffieHellmanReceiver.java: Likewise.
13918         * gnu/javax/crypto/key/dh/DiffieHellmanSender.java: Likewise.
13919         * gnu/javax/crypto/key/dh/ElGamalKeyAgreement.java: Likewise.
13920         * gnu/javax/crypto/key/dh/ElGamalReceiver.java: Likewise.
13921         * gnu/javax/crypto/key/dh/ElGamalSender.java: Likewise.
13922         * gnu/javax/crypto/key/dh/GnuDHKey.java: Likewise.
13923         * gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java: Likewise.
13924         * gnu/javax/crypto/key/dh/GnuDHPrivateKey.java: Likewise.
13925         * gnu/javax/crypto/key/dh/GnuDHPublicKey.java: Likewise.
13926         * gnu/javax/crypto/key/dh/RFC2631.java: Likewise.
13927         * gnu/javax/crypto/key/srp6/SRP6Host.java: Likewise.
13928         * gnu/javax/crypto/key/srp6/SRP6KeyAgreement.java: Likewise.
13929         * gnu/javax/crypto/key/srp6/SRP6SaslClient.java: Likewise.
13930         * gnu/javax/crypto/key/srp6/SRP6SaslServer.java: Likewise.
13931         * gnu/javax/crypto/key/srp6/SRP6TLSClient.java: Likewise.
13932         * gnu/javax/crypto/key/srp6/SRP6TLSServer.java: Likewise.
13933         * gnu/javax/crypto/key/srp6/SRP6User.java: Likewise.
13934         * gnu/javax/crypto/key/srp6/SRPAlgorithm.java: Likewise.
13935         * gnu/javax/crypto/key/srp6/SRPKey.java: Likewise.
13936         * gnu/javax/crypto/key/srp6/SRPKeyPairGenerator.java: Likewise.
13937         * gnu/javax/crypto/key/srp6/SRPKeyPairRawCodec.java: Likewise.
13938         * gnu/javax/crypto/key/srp6/SRPPrivateKey.java: Likewise.
13939         * gnu/javax/crypto/key/srp6/SRPPublicKey.java: Likewise.
13940         * gnu/javax/crypto/key/BaseKeyAgreementParty.java: Likewise.
13941         * gnu/javax/crypto/key/GnuSecretKey.java: Likewise.
13942         * gnu/javax/crypto/key/IKeyAgreementParty.java: Likewise.
13943         * gnu/javax/crypto/key/IncomingMessage.java: Likewise.
13944         * gnu/javax/crypto/key/KeyAgreementException.java: Likewise.
13945         * gnu/javax/crypto/key/KeyAgreementFactory.java: Likewise.
13946         * gnu/javax/crypto/key/OutgoingMessage.java: Likewise.
13947
13948 2006-07-01  Roman Kennke  <kennke@aicas.com>
13949
13950         * gnu/java/awt/java2d/AbstractGraphics2D.java
13951         (transform): Make field protected.
13952         (getDestinationRaster): Provide default implementation for
13953         previously abstract method.
13954
13955 2006-06-30  Tania Bento  <tbento@redhat.com>
13956
13957         * java/awt/TextArea.java
13958         (TextArea(String, int, int, int)): No longer throws
13959         IllegalArgumentException if rows, columns, or scrollbarVisibility 
13960         values are invalid.  
13961         (TextArea(String, int, int, int)): If rows or columns are < 0, 
13962         they get set to 0.  If scrollbarVisibility is < 0 or > 4, it 
13963         gets set to the default value of 0 (SCROLLBARS_BOTH).
13964          (appendText): Added case when peer = null.
13965         (insertText): Added case when peer == null.
13966         (replaceText): Added case when peer == null.
13967         * java/awt/TextComponent.java
13968         (TextComponent(String)): If text == null, set it to "".
13969
13970 2006-06-30  Lillian Angel  <langel@redhat.com>
13971
13972         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
13973         (create): Added synchronized block around groupMap.get calls.
13974         (setCheckboxGroup): Likewise.
13975
13976 2006-06-30  Lillian Angel  <langel@redhat.com>
13977
13978         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
13979         (create): Changed to be non-synchronized.
13980         (setLabel): Likewise.
13981         (setCheckboxGroup): Likewise.
13982         (addToGroupMap): Likewise. Added synchronized block around
13983         code.
13984         (dispose): Changed to be non-synchronized.
13985
13986 2006-06-30  Lillian Angel  <langel@redhat.com>
13987
13988         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java:
13989         Changed all return values of native functions to void.
13990         (create): Changed function to be synchronized. Removed
13991         call to put value in groupMap, this is now done from 
13992         the native code.
13993         (setState): Changed function to be synchronized.
13994         (setLabel): Changed function to be synchronized.
13995         (setCheckboxGroup): Changed function to be synchronized. Removed
13996         call to put value in groupMap, this is now done from
13997         the native code.
13998         (postItemEvent): Changed function to be synchronized.
13999         (addToGroupMap): New function. Called by native code to add
14000         new value to the group.
14001         (dispose): Changed function to be synchronized.
14002         * include/gnu_java_awt_peer_gtk_GtkCheckboxPeer.h: Updated
14003         all functions.
14004         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
14005         (cp_gtk_checkbox_init_jni): Added code to link to 
14006         java function.
14007         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_createRadioButton): 
14008         Changed return value to void. Added call
14009         to java function to set pointer in groupMap.
14010         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_addtoGroup): Likewise. Also,
14011         changed check to an assert. Also, removed call to set/del pointer.
14012         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_removeFromGroup): 
14013         Likewise. Also, added check to determine if native_group should be 
14014         set to NULL.
14015         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_switchToGroup): Likewise.
14016
14017 2006-06-30  Sven de Marothy  <sven@physto.se>
14018
14019         * gnu/java/awt/ClasspathToolkit.java,
14020         * gnu/java/awt/peer/x/XToolkit.java,
14021         * gnu/java/awt/peer/qt/QtToolkit.java,
14022         * gnu/java/awt/peer/gtk/GtkToolkit.java,
14023         Remove ClasspathTextLayoutPeer.
14024         * gnu/java/awt/peer/gtk/GdkTextLayout.java,
14025         * gnu/java/awt/peer/ClasspathTextLayoutPeer:
14026         Files removed.
14027         
14028 2006-06-30  Sven de Marothy  <sven@physto.se>
14029
14030         * gnu/java/awt/peer/gtk/CairoGraphics2D.java:
14031         (drawGlyphVector): Don't draw empty vectors.
14032
14033 2006-06-30  Lillian Angel  <langel@redhat.com>
14034             Tom Fitzsimmons <fitzsim@redhat.com>
14035
14036         * gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java: Removed class.
14037         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java:
14038         Added current_group, groupMap fields. Added definitions for
14039         new native functions.
14040         (create): Removed FIXME. Added code to create the check button or
14041         radio button when appropriate. Updated groupMap to contain
14042         pointer to the newly created group.
14043         (setCheckboxGroup): Added code to handle all cases. Removing
14044         a button from a group, adding a button to a group, or changing the
14045         group of a button.
14046         (dispose): Changed to call super.
14047         * include/Makefile.am: Removed reference to 
14048         gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.h.
14049         * include/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.h: Removed file.
14050         * include/gnu_java_awt_peer_gtk_GtkCheckboxPeer.h: Added definitions
14051         for new functions.
14052         * native/jni/gtk-peer/Makefile.am: Removed reference to 
14053         gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c.
14054         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c:
14055         Removed file.
14056         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
14057         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_combobox_get_widget): 
14058         Renamed to checkbox_get_widget.
14059         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_connectSignals): 
14060         Changed to use checkbox_get_widget.
14061         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_nativeSetCheckboxGroup): 
14062         Removed.
14063         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_gtkWidgetModifyFont):
14064         Changed to use checkbox_get_widget.
14065         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_gtkButtonSetLabel):
14066         Likewise.
14067         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_createCheckButton):
14068         New function. Creates checkbutton without a group.
14069         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_createRadioButton):
14070         Creates a radio button in a group, using groupPointer. If groupPointer
14071         is 0, then a new group is created.
14072         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_addToGroup): Adds the
14073         check button to a group, using groupPointer. A radio button is created
14074         in its place. If groupPointer is 0, then a new group is created.
14075         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_removeFromGroup): The
14076         radio button is removed from the group. A check button is created in 
14077         its place.
14078         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_switchToGroup): The
14079         radio button is moved to a new group.
14080
14081 2006-06-30  Mark Wielaard  <mark@klomp.org>
14082
14083         * configure.ac: Move standard.omit creation after dirs are created.
14084         Cat standard.omit.in from srcdir. Make exclude regex more explicit.
14085         * lib/Makefile.am (EXTRA_DIST): Add standard.omit.in.
14086         (clean-local): Remove standard.omit.
14087         * lib/gen-classlist.sh.in: Use omit file in build dir.
14088         * lib/standard.omit.in: Make exclude regex more explicit.
14089
14090 2006-06-30  Roman Kennke  <kennke@aicas.com>
14091
14092         * lib/Makefile.am: Added Escher dir/jar to classpath when
14093         requested.
14094         * configure.ac: Moved handling of standard.omit to a place
14095         where it actually gets executed.
14096
14097 2006-06-30  David Gilbert  <david.gilbert@object-refinery.com>
14098
14099         * java/awt/TextComponent.java: Reformatted source code,
14100         * java/awt/TextField.java: Likewise.
14101
14102 2006-06-29  Jeroen Frijters <jeroen@sumatra.nl>
14103
14104         * java/lang/Thread.java:
14105         (getState()): Handle case of no VMThread
14106         correctly.
14107
14108 2006-06-29  Andrew John Hughes  <gnu_andrew@member.fsf.org>
14109
14110         * java/lang/Thread.java,
14111         * java/lang/VMThread.java:
14112         Reverted patch from 2006-06-28.
14113         
14114 2006-06-29  Roman Kennke  <kennke@aicas.com>
14115
14116         * gnu/java/awt/peer/x/GLGraphics.java,
14117         * gnu/java/awt/peer/x/ImageConverter.java,
14118         * gnu/java/awt/peer/x/KeyboardMapping.java,
14119         * gnu/java/awt/peer/x/XEventPump.java,
14120         * gnu/java/awt/peer/x/XFontPeer.java,
14121         * gnu/java/awt/peer/x/XFontPeer2.java,
14122         * gnu/java/awt/peer/x/XFramePeer.java,
14123         * gnu/java/awt/peer/x/XGraphics.java,
14124         * gnu/java/awt/peer/x/XGraphics2D.java,
14125         * gnu/java/awt/peer/x/XGraphicsConfiguration.java,
14126         * gnu/java/awt/peer/x/XGraphicsDevice.java,
14127         * gnu/java/awt/peer/x/XGraphicsEnvironment.java,
14128         * gnu/java/awt/peer/x/XImage.java,
14129         * gnu/java/awt/peer/x/XLightweightPeer.java,
14130         * gnu/java/awt/peer/x/XToolkit.java,
14131         * gnu/java/awt/peer/x/XWindowPeer.java,
14132         * gnu/java/awt/peer/x/fonts.properties: New files.
14133         * lib/standard.omit: Removed.
14134         * lib/standard.omit.in: Added.
14135         * configure.ac: Added configure option --with-escher. Added some
14136         configury for omitting gnu.java.awt.peer.x package when
14137         this option is not specified.
14138
14139 2006-06-29  David Gilbert  <david.gilbert@object-refinery.com>
14140
14141         * javax/swing/JComponent.java
14142         (JComponent()): Initialize the locale here, not the default locale,
14143         (getDefaultLocale): If null, return Locale.getDefault(),
14144         (setDefaultLocale): Added API docs.
14145
14146 2006-06-29  Tania Bento  <tbento@redhat.com>
14147
14148         * java/awt/Container.java
14149         (applyComponentOrientation): Implemented method.
14150
14151 2006-06-29  Gary Benson  <gbenson@redhat.com>
14152
14153         * java/io/File.java (listRoots): Merge security checks from libgcj.
14154
14155 2006-06-29  Gary Benson  <gbenson@redhat.com>
14156
14157         * java/io/FilePermission.java (implies): Work when path is "/".
14158
14159 2006-06-28  Andrew John Hughes  <gnu_andrew@member.fsf.org>
14160
14161         * java/lang/Thread.java:
14162         (Thread(ThreadGroup,Runnable,String,long)): Update
14163         state.
14164         (Thread(VMThread,String,int,boolean)): Likewise.
14165         (join(long,int)): Likewise.
14166         (resume()): Likewise.
14167         (sleep(long,int)): Likewise.
14168         (start()): Likewise.
14169         (stop()): Likewise.
14170         (suspend()): Likewise.
14171         (die()): Likewise.
14172         (getState()): Return either state or use VMThread.
14173         * java/lang/VMThread.java:
14174         (getState()): Added default implementation to return
14175         thread.state
14176         
14177 2006-06-28  Andreas Tobler  <a.tobler@schweiz.ch>
14178
14179         * gnu/java/awt/peer/gtk/CairoSurface.java: Swap the data from the
14180         GdkPixbuf correctly on big endian systems. Fix a typo in the little
14181         endian swapping code.
14182
14183         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c
14184         (Java_gnu_java_awt_peer_gtk_GtkImage_getPixels): Swap the pixeldata
14185         without alpha information correctly on big endian systems.
14186
14187 2006-06-28  Roman Kennke  <kennke@aicas.com>
14188
14189         * gnu/java/net/local/LocalSocket.java
14190         (setSoTimeout): Don't throw exception and ignore request.
14191         (getSoTimeout): Don't throw exception and always return 0.
14192
14193 2006-06-28  David Gilbert  <david.gilbert@object-refinery.com>
14194
14195         * javax/swing/JComponent.java
14196         (getRegisteredKeyStrokes): Implemented.
14197
14198 2006-06-28  David Gilbert  <david.gilbert@object-refinery.com>
14199
14200         * javax/swing/JComponent.java
14201         (verifyInputWhenFocusTarget): Initialise to true.
14202
14203 2006-06-28  David Gilbert  <david.gilbert@object-refinery.com>
14204
14205         * java/beans/VetoableChangeSupport.java
14206         (addVetoableChangeListener(VetoableChangeListener)): Do nothing for
14207         null listener,
14208         (addVetoableChangeListener(String, VetoableChangeListener)): Do nothing
14209         for null property name and/or listener,
14210         * javax/swing/JComponent.java
14211         (getListeners): Handle VetoableChangeListener.class as a special case,
14212         (getVetoableChangeListeners): Fetch these from the 
14213         vetoableChangeSupport object.
14214
14215 2006-06-28  David Gilbert  <david.gilbert@object-refinery.com>
14216
14217         * javax/swing/JComponent.java
14218         (componentPopupMenu): New field,
14219         (inheritsPopupMenu): New field,
14220         (getInheritsPopupMenu): Implemented,
14221         (setInheritsPopupMenu): Likewise,
14222         (getComponentPopupMenu): Likewise,
14223         (setComponentPopupMenu): Likewise,
14224         * javax/swing/JLabel.java
14225         (JLabel(String, Icon, int)): Set inheritsPopupMenu to true.
14226
14227 2006-06-28  Raif S. Naffah  <raif@swiftdsl.com.au>
14228
14229         * gnu/javax/crypto/key/dh/GnuDHPublicKey.java (str): New field.
14230         (toString): New method.
14231         * gnu/javax/crypto/key/dh/GnuDHPrivateKey.java (str): New field.
14232         (toString): New method.
14233         * gnu/javax/crypto/key/dh/GnuDHKey.java (str): New field.
14234         (toString): New method.
14235         * gnu/javax/crypto/key/dh/DHKeyPairPKCS8Codec.java (encodePrivateKey):
14236         Handle case when Q is null.
14237         (decodePrivateKey): Likewise.
14238         * gnu/javax/crypto/key/dh/DHKeyPairX509Codec.java (encodePublicKey):
14239         Likewise.
14240         (decodePublicKey): Likewise.
14241         * gnu/javax/crypto/jce/GnuCrypto.java (run): Added AlgorithmParameters
14242         aliases for all block ciphers.
14243         * gnu/javax/crypto/jce/DiffieHellmanImpl.java (result): Changed to byte[].
14244         (engineDoPhase): Compute fully the shared secret.
14245         (checkState): New method.
14246         (reset): Likewise.
14247         (engineGenerateSecret()): Reset key-agreement before returning.
14248         (engineGenerateSecret(byte[],int)): Check for short-buffer.
14249         Reset key-agreement before returning.
14250         (engineGenerateSecret(String)): Reset key-agreement before returning.
14251         (engineInit(Key,SecureRandom)): Call reset() before returning.
14252         * gnu/javax/crypto/jce/params/BlockCipherParameters.java (log): New field.
14253         (engineInit): Replace printing to System.out with conditional logging.
14254         * gnu/javax/crypto/jce/cipher/CipherAdapter.java (engineInitHandler):
14255         When the key-size is not specified, attempt best effort to find a suitable
14256         value among those advertised by the cipher before setting it to the length
14257         of provided key material.
14258
14259 2006-06-28  David Gilbert  <david.gilbert@object-refinery.com>
14260
14261         * javax/swing/table/DefaultTableColumnModel.java
14262         (changeEvent): Don't initialize yet, removed FIXME,
14263         (fireColumnModelChanged): Initialize changeEvent if necessary.
14264
14265 2006-06-27  Andrew John Hughes  <gnu_andrew@member.fsf.org>
14266
14267         * java/lang/Thread.java:
14268         (getAllStackTraces()): Implemented.
14269         (getStackTrace()): Likewise.
14270         
14271 2006-06-27  Tania Bento  <tbento@redhat.com>
14272
14273         * java/awt/Component.java
14274         (setComponentOrientation): NPE should not be thrown.
14275
14276 2006-06-27  Tom Tromey  <tromey@redhat.com>
14277
14278         * configure.ac: Create gjar, gnative2ascii, gserialver.
14279         * tools/gappletviewer.in: Quote $@.
14280         * tools/gkeytool.in: Likewise.
14281         * tools/gjarsigner.in: Likewise.
14282         * tools/gjar.in: New file.
14283         * tools/gnative2ascii.in: Likewise.
14284         * tools/gserialver.in: Likewise.
14285         * tools/Makefile.am (bin_PROGRAMS): Added gjar, gnative2ascii,
14286         gserialver.
14287         (bin_SCRIPTS): Likewise.
14288
14289 2006-06-27  Andrew John Hughes  <gnu_andrew@member.fsf.org>
14290
14291         * java/lang/management/ThreadMXBean.java:
14292         (getThreadInfo(long[])): Corrected return type.
14293         (getThreadInfo(long[], int)): Likewise.
14294
14295 2006-06-27  Mark Wielaard  <mark@klomp.org>
14296
14297         * java/awt/datatransfer/Clipboard.java (addFlavorListener): Do
14298         nothing when listener is null.
14299         (removeFlavorListener): Likewise.
14300
14301         * java/awt/datatransfer/DataFlavor.java
14302         (getRepresentationClassFromMime): Renamed to
14303         getRepresentationClassFromMimeThrows.
14304         (isRepresentationClassInputStream): Use Class.isAssignableFrom().
14305         (isRepresentationClassSerializable): Likewise.
14306         (isFlavorJavaFileListType): Likewise and check primary and
14307         subtype.
14308         (getParameter): Parameters are separated by semi-colons.
14309         (DataFlavor(Class,String,String)): Do some sanity checks.
14310         (DataFlavor(String,String,ClassLoader)): Call
14311         getRepresentationClassFromMimeThrows.
14312         (DataFlavor(String)): Likewise.
14313         (equals(DataFlavor)): Special case primary type text and charset
14314         parameter.
14315         
14316 2006-06-27  David Gilbert  <david.gilbert@object-refinery.com>
14317
14318         * java/awt/Component.java
14319         (setName): Fire required PropertyChangeEvent,
14320         * java/awt/Label.java
14321         (getText): Removed redundant brackets,
14322         (generateName): New method (override),
14323         (nextLabelNumber): New field,
14324         (getUniqueLong): New method.
14325
14326 2006-06-27  Roman Kennke  <kennke@aicas.com>
14327
14328         * gnu/java/awt/peer/swing/SwingComponentPeer.java
14329         (createImage): Delegate this to the parent.
14330         (handleEvent): Only handle PAINT/UPDATE events when the
14331         component is actually showing.
14332         (hide): Repaint the parent after hiding a component.
14333         (prepareImage): Have only one return point.
14334         (setVisible): Delegate to show() and hide().
14335         (createVolatileImage): Added null check to avoid NPE.
14336
14337 2006-06-27  David Gilbert  <david.gilbert@object-refinery.com>
14338
14339         * java/awt/Label.java: Reformatted source code.
14340
14341 2006-06-27  Roman Kennke  <kennke@aicas.com>
14342
14343         * java/awt/image/BufferedImage.java
14344         (getSource): Use a fixed DirectColorModel to deliver the
14345         RGB pixels to the ImageConsumer.
14346
14347 2006-06-27  David Gilbert  <david.gilbert@object-refinery.com>
14348
14349         * java/awt/Point.java
14350         (setLocation(double, double)): Round to nearest integer coordinates.
14351
14352 2006-06-27  David Gilbert  <david.gilbert@object-refinery.com>
14353
14354         * java/awt/Component.java
14355         (minSizeSet): New field,
14356         (maxSize): Likewise,
14357         (maxSizeSet): Likewise,
14358         (isMaximumSizeSet): Implemented,
14359         (isMinimumSizeSet): Likewise,
14360         (isPreferredSizeSet): Likewise,
14361         (setMaximumSize): Likewise,
14362         (setMinimumSize): Likewise,
14363         (setPreferredSize): Likewise. 
14364
14365 2006-06-27  Roman Kennke  <kennke@aicas.com>
14366
14367         * javax/imageio/spi/IIORegistry.java
14368         (IIORegistry): Added BMP codec.
14369
14370 2006-06-27  Mark Wielaard  <mark@klomp.org>
14371
14372         * javax/swing/JComponent.java
14373         (firePropertyChange(String,char,char)): New override method.
14374
14375 2006-06-26  Andrew John Hughes  <gnu_andrew@member.fsf.org>
14376
14377         * java/lang/Thread.java:
14378         (getState()): New method.
14379         * java/lang/management/ClassLoadingMXBean.java:
14380         Corrected class documentation.
14381         * java/lang/management/ManagementFactory.java:
14382         Added new temporary marked stub to get thread bean.
14383         * java/lang/management/OperatingSystemMXBean.java:
14384         Corrected class documentation.
14385         * java/lang/management/RuntimeMXBean.java:
14386         Corrected class documentation.
14387         * java/lang/management/ThreadInfo.java,
14388         * java/lang/management/ThreadMXBean.java:
14389         New classes.
14390         * vm/reference/java/lang/VMThread.java:
14391         (getState()): New method.
14392         * vm/reference/java/lang/management/VMThreadInfo.java:
14393         New VM class.
14394
14395 2006-06-26  Sven de Marothy  <sven@physto.se>
14396
14397         * gnu/javax/imageio/gif/GIFFile.java
14398         * gnu/javax/imageio/gif/GIFImageReader.java
14399         * gnu/javax/imageio/gif/GIFImageSpi.java
14400         * gnu/javax/imageio/gif/GIFStream.java
14401         New files.
14402         * javax/imageio/spi/IIORegistry.java: Load new GIF decoder plugin.
14403
14404 2006-06-26  Tania Bento  <tbento@redhat.com>
14405
14406         * java/awt/List.java
14407         (List): A list should have at least 4 visible rows.     
14408         (replaceItem): Should throw an ArrayIndexOutOfBoundsException,
14409         not an IllegalArgumentException.
14410         (makeVisible): Should not throw an IllegalArgumentException if
14411         the specified index is out of range.
14412
14413 2006-06-26  David Gilbert  <david.gilbert@object-refinery.com>
14414
14415         * javax/swing/JList.java
14416         (getNextMatch): Reimplemented to perform a circular search for the 
14417         matching item.
14418
14419 2006-06-26  David Gilbert  <david.gilbert@object-refinery.com>
14420
14421         * javax/swing/JList.java
14422         (init): Set default value for visibleRowCount to 8,
14423         (setVisibleRowCount): Fire PropertyChangeEvent when value changes.
14424
14425 2006-06-26  David Gilbert  <david.gilbert@object-refinery.com>
14426
14427         * javax/swing/JList.java
14428         (valueIsAdjusting): Removed,
14429         (init): Removed initialization of valueIsAdjusting field,
14430         (getValueIsAdjusting): Fetch value from selection model,
14431         (setValueIsAdjusting): Store value in selection model.
14432
14433 2006-06-26  Roman Kennke  <kennke@aicas.com>
14434
14435         * javax/swing/plaf/basic/BasicListUI.java
14436         (installKeyboardActions): Rewritten to fit with the
14437         ActionMap/InputMap architecture.
14438         (uninstallKeyboardActions): Implemented.
14439         (ListAction): Made private. Added TODO for splitting
14440         up this bulk Action.
14441         (ListAction.ListAction): New constructor. This one
14442         takes a cmd parameter to be installed as actionCommand.
14443
14444 2006-06-26  Raif S. Naffah  <raif@swiftdsl.com.au>
14445
14446         * gnu/java/security/key/rsa/RSAKeyPairRawCodec.java: Remove RCS Revision.
14447         * gnu/javax/crypto/assembly/DeflateTransformer.java: Likewise.
14448
14449 2006-06-26  Raif S. Naffah  <raif@swiftdsl.com.au>
14450
14451         * gnu/javax/crypto/jce/PBKDF2SecretKeyFactory.java: Source formatting.
14452         * gnu/javax/crypto/jce/GnuSasl.java: Likewise.
14453         * gnu/javax/crypto/jce/GnuCrypto.java: Likewise.
14454         * gnu/javax/crypto/jce/DiffieHellmanImpl.java: Likewise.
14455         * gnu/javax/crypto/jce/spec/UMac32ParameterSpec.java: Likewise.
14456         * gnu/javax/crypto/jce/spec/TMMHParameterSpec.java: Likewise.
14457         * gnu/javax/crypto/jce/spec/BlockCipherParameterSpec.java: Likewise.
14458         * gnu/javax/crypto/jce/sig/DHKeyFactory.java: Likewise.
14459         * gnu/javax/crypto/jce/prng/UMacRandomSpi.java: Likewise.
14460         * gnu/javax/crypto/jce/prng/ICMRandomSpi.java: Likewise.
14461         * gnu/javax/crypto/jce/prng/FortunaImpl.java: Likewise.
14462         * gnu/javax/crypto/jce/prng/CSPRNGSpi.java: Likewise.
14463         * gnu/javax/crypto/jce/prng/ARCFourRandomSpi.java: Likewise.
14464         * gnu/javax/crypto/jce/params/DERWriter.java: Likewise.
14465         * gnu/javax/crypto/jce/params/DERReader.java: Likewise.
14466         * gnu/javax/crypto/jce/params/DEREncodingException.java: Likewise.
14467         * gnu/javax/crypto/jce/params/BlockCipherParameters.java: Likewise.
14468         * gnu/javax/crypto/jce/mac/UMac32Spi.java: Likewise.
14469         * gnu/javax/crypto/jce/mac/UHash32Spi.java: Likewise.
14470         * gnu/javax/crypto/jce/mac/TMMH16Spi.java: Likewise.
14471         * gnu/javax/crypto/jce/mac/OMacTwofishImpl.java: Likewise.
14472         * gnu/javax/crypto/jce/mac/OMacTripleDESImpl.java: Likewise.
14473         * gnu/javax/crypto/jce/mac/OMacSquareImpl.java: Likewise.
14474         * gnu/javax/crypto/jce/mac/OMacSerpentImpl.java: Likewise.
14475         * gnu/javax/crypto/jce/mac/OMacRijndaelImpl.java: Likewise.
14476         * gnu/javax/crypto/jce/mac/OMacKhazadImpl.java: Likewise.
14477         * gnu/javax/crypto/jce/mac/OMacImpl.java: Likewise.
14478         * gnu/javax/crypto/jce/mac/OMacDESImpl.java: Likewise.
14479         * gnu/javax/crypto/jce/mac/OMacCast5Impl.java: Likewise.
14480         * gnu/javax/crypto/jce/mac/OMacBlowfishImpl.java: Likewise.
14481         * gnu/javax/crypto/jce/mac/OMacAnubisImpl.java: Likewise.
14482         * gnu/javax/crypto/jce/mac/MacAdapter.java: Likewise.
14483         * gnu/javax/crypto/jce/mac/HMacWhirlpoolSpi.java: Likewise.
14484         * gnu/javax/crypto/jce/mac/HMacTigerSpi.java: Likewise.
14485         * gnu/javax/crypto/jce/mac/HMacSHA512Spi.java: Likewise.
14486         * gnu/javax/crypto/jce/mac/HMacSHA384Spi.java: Likewise.
14487         * gnu/javax/crypto/jce/mac/HMacSHA256Spi.java: Likewise.
14488         * gnu/javax/crypto/jce/mac/HMacSHA160Spi.java: Likewise.
14489         * gnu/javax/crypto/jce/mac/HMacRipeMD160Spi.java: Likewise.
14490         * gnu/javax/crypto/jce/mac/HMacRipeMD128Spi.java: Likewise.
14491         * gnu/javax/crypto/jce/mac/HMacMD5Spi.java: Likewise.
14492         * gnu/javax/crypto/jce/mac/HMacMD4Spi.java: Likewise.
14493         * gnu/javax/crypto/jce/mac/HMacMD2Spi.java: Likewise.
14494         * gnu/javax/crypto/jce/mac/HMacHavalSpi.java: Likewise.
14495         * gnu/javax/crypto/jce/keyring/GnuKeyring.java: Likewise.
14496         * gnu/javax/crypto/jce/key/TwofishSecretKeyFactoryImpl.java: Likewise.
14497         * gnu/javax/crypto/jce/key/TwofishKeyGeneratorImpl.java: Likewise.
14498         * gnu/javax/crypto/jce/key/TripleDESKeyGeneratorImpl.java: Likewise.
14499         * gnu/javax/crypto/jce/key/SquareSecretKeyFactoryImpl.java: Likewise.
14500         * gnu/javax/crypto/jce/key/SquareKeyGeneratorImpl.java: Likewise.
14501         * gnu/javax/crypto/jce/key/SerpentSecretKeyFactoryImpl.java: Likewise.
14502         * gnu/javax/crypto/jce/key/SerpentKeyGeneratorImpl.java: Likewise.
14503         * gnu/javax/crypto/jce/key/SecretKeyGeneratorImpl.java: Likewise.
14504         * gnu/javax/crypto/jce/key/SecretKeyFactoryImpl.java: Likewise.
14505         * gnu/javax/crypto/jce/key/RijndaelSecretKeyFactoryImpl.java: Likewise.
14506         * gnu/javax/crypto/jce/key/RijndaelKeyGeneratorImpl.java: Likewise.
14507         * gnu/javax/crypto/jce/key/KhazadSecretKeyFactoryImpl.java: Likewise.
14508         * gnu/javax/crypto/jce/key/KhazadKeyGeneratorImpl.java: Likewise.
14509         * gnu/javax/crypto/jce/key/DESSecretKeyFactoryImpl.java: Likewise.
14510         * gnu/javax/crypto/jce/key/DESKeyGeneratorImpl.java: Likewise.
14511         * gnu/javax/crypto/jce/key/DESedeSecretKeyFactoryImpl.java: Likewise.
14512         * gnu/javax/crypto/jce/key/Cast5SecretKeyFactoryImpl.java: Likewise.
14513         * gnu/javax/crypto/jce/key/Cast5KeyGeneratorImpl.java: Likewise.
14514         * gnu/javax/crypto/jce/key/BlowfishSecretKeyFactoryImpl.java: Likewise.
14515         * gnu/javax/crypto/jce/key/BlowfishKeyGeneratorImpl.java: Likewise.
14516         * gnu/javax/crypto/jce/key/AnubisSecretKeyFactoryImpl.java: Likewise.
14517         * gnu/javax/crypto/jce/key/AnubisKeyGeneratorImpl.java: Likewise.
14518         * gnu/javax/crypto/jce/cipher/TwofishSpi.java: Likewise.
14519         * gnu/javax/crypto/jce/cipher/TripleDESSpi.java: Likewise.
14520         * gnu/javax/crypto/jce/cipher/SquareSpi.java: Likewise.
14521         * gnu/javax/crypto/jce/cipher/SerpentSpi.java: Likewise.
14522         * gnu/javax/crypto/jce/cipher/RijndaelSpi.java: Likewise.
14523         * gnu/javax/crypto/jce/cipher/PBES2.java: Likewise.
14524         * gnu/javax/crypto/jce/cipher/NullCipherSpi.java: Likewise.
14525         * gnu/javax/crypto/jce/cipher/KhazadSpi.java: Likewise.
14526         * gnu/javax/crypto/jce/cipher/DESSpi.java: Likewise.
14527         * gnu/javax/crypto/jce/cipher/CipherAdapter.java: Likewise.
14528         * gnu/javax/crypto/jce/cipher/Cast5Spi.java: Likewise.
14529         * gnu/javax/crypto/jce/cipher/BlowfishSpi.java: Likewise.
14530         * gnu/javax/crypto/jce/cipher/ARCFourSpi.java: Likewise.
14531         * gnu/javax/crypto/jce/cipher/AnubisSpi.java: Likewise.
14532         * gnu/javax/crypto/jce/cipher/AESSpi.java: Likewise.
14533
14534 2006-06-26  David Gilbert  <david.gilbert@object-refinery.com>
14535
14536         * javax/swing/JList.java
14537         (setLayoutOrientation): Check for valid argument.
14538
14539 2006-06-26  Roman Kennke  <kennke@aicas.com>
14540
14541         * javax/swing/JComponent.java
14542         (firePropertyChange(String,int,int)): New method. Overrides
14543         Component method and makes it public.
14544         (firePropertyChange(String,boolean,boolean)): Likewise.
14545
14546 2006-06-25  Vivek Lakshmanan  <vivekl@redhat.com>
14547         
14548         * gnu/java/security/.cvsignore: New File.
14549         * gnu/java/security/Configuration.java.in: New File.
14550         * gnu/java/security/Properties.java: Change import from 
14551         gnu.classpath.Configuration to gnu.java.security.Configuration.
14552         * gnu/java/security/hash/Whirlpool.java: Likewise.
14553         * gnu/java/security/jce/sig/EncodedKeyFactory.java: Likewise.
14554         * gnu/java/security/jce/sig/SignatureAdapter.java: Likewise.
14555         * gnu/java/security/key/dss/DSSKeyPairGenerator.java: Likewise.
14556         * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java: Likewise.
14557         * gnu/java/security/key/dss/DSSPrivateKey.java: Likewise.
14558         * gnu/java/security/key/rsa/GnuRSAPrivateKey.java: Likewise.
14559         * gnu/java/security/key/rsa/RSAKeyPairGenerator.java: Likewise.
14560         * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java: Likewise.
14561         * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java: Likewise.
14562         * gnu/java/security/pkcs/PKCS7SignedData.java: Likewise.
14563         * gnu/java/security/pkcs/SignerInfo.java: Likewise.
14564         * gnu/java/security/provider/PKIXCertPathValidatorImpl.java: Likewise.
14565         * gnu/java/security/sig/rsa/EMSA_PSS.java: Likewise.
14566         * gnu/java/security/sig/rsa/RSAPSSSignature.java: Likewise.
14567         * gnu/java/security/util/Base64.java: Likewise.
14568         * gnu/java/security/x509/X509CRL.java: Likewise.
14569         * gnu/java/security/x509/X509CRLEntry.java: Likewise.
14570         * gnu/java/security/x509/ext/Extension.java: Likewise.
14571         * gnu/javax/crypto/cipher/Anubis.java: Likewise.
14572         * gnu/javax/crypto/cipher/BaseCipher.java: Likewise.
14573         * gnu/javax/crypto/cipher/Khazad.java: Likewise.
14574         * gnu/javax/crypto/cipher/Rijndael.java: Likewise.
14575         * gnu/javax/crypto/cipher/Twofish.java: Likewise.
14576         * gnu/javax/crypto/jce/keyring/GnuKeyring.java: Likewise.
14577         * gnu/javax/crypto/jce/prng/ICMRandomSpi.java: Likewise.
14578         * gnu/javax/crypto/jce/prng/UMacRandomSpi.java: Likewise.
14579         * gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java: Likewise.
14580         * gnu/javax/crypto/key/srp6/SRPKeyPairGenerator.java: Likewise.
14581         * gnu/javax/crypto/keyring/Entry.java: Likewise.
14582         * gnu/javax/crypto/keyring/EnvelopeEntry.java: Likewise.
14583         * gnu/javax/crypto/keyring/GnuPrivateKeyring.java: Likewise.
14584         * gnu/javax/crypto/keyring/GnuPublicKeyring.java: Likewise.
14585         * gnu/javax/crypto/keyring/PasswordAuthenticatedEntry.java: Likewise.
14586         * gnu/javax/crypto/keyring/PasswordEncryptedEntry.java: Likewise.
14587         * gnu/javax/crypto/mac/OMAC.java: Likewise.
14588         * gnu/javax/crypto/pad/BasePad.java: Likewise.
14589         * gnu/javax/crypto/pad/PKCS1_V1_5.java: Likewise.
14590         * gnu/javax/crypto/pad/PKCS7.java: Likewise.
14591         * gnu/javax/crypto/pad/TBC.java: Likewise.
14592         * gnu/javax/crypto/prng/CSPRNG.java: Likewise.
14593         * gnu/javax/crypto/sasl/SaslInputStream.java: Likewise.
14594         * gnu/javax/crypto/sasl/SaslOutputStream.java: Likewise.
14595         * gnu/javax/crypto/sasl/srp/SRPClient.java: Likewise.
14596         * gnu/javax/crypto/sasl/srp/SRPServer.java: Likewise.
14597         * gnu/javax/security/auth/login/ConfigFileParser.java: Likewise.
14598         * gnu/javax/security/auth/login/ConfigFileTokenizer.java: Likewise.
14599         * gnu/javax/security/auth/login/GnuConfiguration.java 
14600         (getAppConfigurationEntry): Change reference to 
14601         gnu.classpath.Configuration.DEBUG to gnu.java.security.Configuration.DEBUG.
14602         (getConfigFromUserHome): Likewise.
14603         (getInputStreamFromURL): Likewise.
14604         (getUserHome): Likewise.
14605         (init): Likewise.
14606         (processSecurityProperties): Likewise.
14607         (processSystemProperty): Likewise.
14608         (processUserHome): Likewise.
14609         * configure.ac: Add gnu/java/security/Configuration.java to AC_CONFIG_FILES list.
14610         * lib/Makefile.am: Remove gnu/java/security/Configuration.java when required.
14611         
14612
14613 2006-06-25  Carsten Neumann  <cn-develop@gmx.net>
14614
14615         * javax/swing/text/DefaultCaret.java (isActive): New method.
14616
14617 2006-06-26  Andrew John Hughes  <gnu_andrew@member.fsf.org>
14618
14619         * gnu/java/lang/management/ClassLoadingMXBeanImpl.java,
14620         * java/lang/management/ClassLoadingMXBean.java:
14621         (getTotalLoadedClassCount()): Corrected return type.
14622         (getUnloadedClassCount()): Likewise.
14623         * vm/reference/gnu/java/lang/management/VMClassLoadingMXBeanImpl.java:
14624         (getUnloadedClassCount()): Likewise.
14625         
14626 2006-06-25  Raif S. Naffah  <raif@swiftdsl.com.au>
14627
14628         * gnu/javax/crypto/cipher/WeakKeyException.java: Source formatting.
14629         * gnu/javax/crypto/cipher/Twofish.java: Likewise.
14630         * gnu/javax/crypto/cipher/TripleDES.java: Likewise.
14631         * gnu/javax/crypto/cipher/Square.java: Likewise.
14632         * gnu/javax/crypto/cipher/Serpent.java: Likewise.
14633         * gnu/javax/crypto/cipher/Rijndael.java: Likewise.
14634         * gnu/javax/crypto/cipher/NullCipher.java: Likewise.
14635         * gnu/javax/crypto/cipher/Khazad.java: Likewise.
14636         * gnu/javax/crypto/cipher/IBlockCipherSpi.java: Likewise.
14637         * gnu/javax/crypto/cipher/IBlockCipher.java: Likewise.
14638         * gnu/javax/crypto/cipher/DES.java: Likewise.
14639         * gnu/javax/crypto/cipher/CipherFactory.java: Likewise.
14640         * gnu/javax/crypto/cipher/Cast5.java: Likewise.
14641         * gnu/javax/crypto/cipher/Blowfish.java: Likewise.
14642         * gnu/javax/crypto/cipher/BaseCipher.java: Likewise.
14643         * gnu/javax/crypto/cipher/Anubis.java: Likewise.
14644
14645 2006-06-25  Raif S. Naffah  <raif@swiftdsl.com.au>
14646
14647         * gnu/javax/crypto/assembly/TransformerException.java: Source formatting.
14648         * gnu/javax/crypto/assembly/Transformer.java: Likewise.
14649         * gnu/javax/crypto/assembly/Stage.java: Likewise.
14650         * gnu/javax/crypto/assembly/PaddingTransformer.java: Likewise.
14651         * gnu/javax/crypto/assembly/Operation.java: Likewise.
14652         * gnu/javax/crypto/assembly/ModeStage.java: Likewise.
14653         * gnu/javax/crypto/assembly/LoopbackTransformer.java: Likewise.
14654         * gnu/javax/crypto/assembly/Direction.java: Likewise.
14655         * gnu/javax/crypto/assembly/DeflateTransformer.java: Likewise.
14656         * gnu/javax/crypto/assembly/CascadeTransformer.java: Likewise.
14657         * gnu/javax/crypto/assembly/CascadeStage.java: Likewise.
14658         * gnu/javax/crypto/assembly/Cascade.java: Likewise.
14659         * gnu/javax/crypto/assembly/Assembly.java: Likewise.
14660
14661 2006-06-24  Andrew John Hughes  <gnu_andrew@member.fsf.org>
14662
14663         * NEWS,
14664         * doc/vmintegration.texinfo:
14665         Updated with information on new VM interface.
14666         * gnu/java/lang/management/ClassLoadingMXBeanImpl.java,
14667         * java/lang/management/ClassLoadingMXBean.java:
14668         New files implementing the class loading bean.
14669         * java/lang/management/ManagementFactory.java:
14670         (getClassLoadingMXBean()): Implemented.
14671         * vm/reference/gnu/java/lang/management/VMClassLoadingMXBeanImpl.java:
14672         New VM interface file.
14673
14674 2006-06-24  Andrew John Hughes  <gnu_andrew@member.fsf.org>
14675
14676         * gnu/java/lang/management/RuntimeMXBeanImpl.java:
14677         (isBootClassPathSupported()): Use SystemProperties
14678         rather than System.getProperty.
14679         
14680 2006-06-24  Raif S. Naffah  <raif@swiftdsl.com.au>
14681
14682         * gnu/java/security/Properties.java: Source formatting.
14683         * gnu/java/security/Registry.java: Likewise.
14684
14685 2006-06-24  Raif S. Naffah  <raif@swiftdsl.com.au>
14686
14687         * gnu/java/security/util/Util.java: Source formatting.
14688         * gnu/java/security/util/SimpleList.java: Likewise.
14689         * gnu/java/security/util/Sequence.java: Likewise.
14690         * gnu/java/security/util/PRNG.java: Likewise.
14691         * gnu/java/security/util/ExpirableObject.java: Likewise.
14692         * gnu/java/security/util/Base64.java: Likewise.
14693         * gnu/java/security/sig/SignatureFactory.java: Likewise.
14694         * gnu/java/security/sig/ISignatureCodec.java: Likewise.
14695         * gnu/java/security/sig/ISignature.java: Likewise.
14696         * gnu/java/security/sig/BaseSignature.java: Likewise.
14697         * gnu/java/security/sig/rsa/RSAPSSSignatureRawCodec.java: Likewise.
14698         * gnu/java/security/sig/rsa/RSAPSSSignature.java: Likewise.
14699         * gnu/java/security/sig/rsa/RSAPKCS1V1_5Signature.java: Likewise.
14700         * gnu/java/security/sig/rsa/RSA.java: Likewise.
14701         * gnu/java/security/sig/rsa/EMSA_PSS.java: Likewise.
14702         * gnu/java/security/sig/rsa/EMSA_PKCS1_V1_5.java: Likewise.
14703         * gnu/java/security/sig/rsa/EME_PKCS1_V1_5.java: Likewise.
14704         * gnu/java/security/sig/dss/DSSSignatureRawCodec.java: Likewise.
14705         * gnu/java/security/sig/dss/DSSSignature.java: Likewise.
14706         * gnu/java/security/provider/X509CertificateFactory.java: Likewise.
14707         * gnu/java/security/provider/PKIXCertPathValidatorImpl.java: Likewise.
14708         * gnu/java/security/provider/Gnu.java: Likewise.
14709         * gnu/java/security/prng/RandomEventListener.java: Likewise.
14710         * gnu/java/security/prng/RandomEvent.java: Likewise.
14711         * gnu/java/security/prng/PRNGFactory.java: Likewise.
14712         * gnu/java/security/prng/MDGenerator.java: Likewise.
14713         * gnu/java/security/prng/LimitReachedException.java: Likewise.
14714         * gnu/java/security/prng/IRandom.java: Likewise.
14715         * gnu/java/security/prng/EntropySource.java: Likewise.
14716         * gnu/java/security/prng/BasePRNG.java: Likewise.
14717
14718 2006-06-23  Francis Kung  <fkung@redhat.com>
14719
14720         * examples/gnu/classpath/examples/java2d/J2dBenchmarkGUI.java
14721         (Harness.actionPerformed): Process additional options.
14722         (J2dBenchmarkWrapper): Defer init call until after options are processed.
14723         (J2dBenchmarkWrapper.setAlias): New method.
14724         (J2dBenchmarkWrapper.setComposite): New method.
14725         (J2dBenchmarkWrapper.setFill): New method.
14726         (J2dBenchmarkWrapper.setRotation): New method.
14727         (J2dBenchmarkWrapper.setShear): New method.
14728         (J2dBenchmarkWrapper.setStroke): New method.
14729         (J2dBenchmarkWrapper.setTranslation): New method.
14730         (run): Add additional options to GUI.
14731         * examples/gnu/classpath/examples/java2d/J2dBenchmark.java:
14732         Added protected fields for various options.
14733         (GraphicsTest.runSet_noClipping): Reset graphics settings between tests.
14734         (GraphicsTest.runSet_withClipping): Reset graphics settings between tests.
14735         (GraphicsTest.runSet_zeroClipping): Reset graphics settings between tests.
14736         (getNextColor): Renamed to setRandom.
14737         (init): Load additional image for texturing if needed.
14738         (loadBufferedImage): New method.
14739         (main): Accept additional command-line switches.
14740         (prepareGraphics): New method.
14741         (resetGraphics): New method.
14742         (runTestSuite): Accept additional image-processing options.
14743         (setRandom): Renamed from getNextColor; generate various random options
14744         (test_drawArc): Rename getNextColor to setRandom.
14745         (test_drawCubic): Likewise.
14746         (test_drawEllipse): Likewise.
14747         (test_drawGeneralPath): Likewise.
14748         (test_drawImage): Likewise.
14749         (test_drawLine): Likewise.
14750         (test_drawQuadCurve): Likewise.
14751         (test_drawRectangle): Likewise.
14752         (test_drawRoundRectangle): Likewise.
14753         (test_drawTransparentImage): Likewise.
14754         (test_fillArc): Rename getNextColor to setRandom.
14755         (test_fillEllipse): Likewise.
14756         (test_fillGeneralPath): Likewise.
14757         (test_fillRectangle): Likewise.
14758         (test_fillRoundRectangle): Likewise.
14759         (TestRecorder.getAverage): Round the average time.
14760
14761 2006-06-23  Tom Tromey  <tromey@redhat.com>
14762
14763         * java/util/logging/LoggingMXBean.java: New file.
14764         * java/util/logging/LogManager.java (LOGGING_MXBEAN_NAME): New field.
14765         (loggingBean): New field.
14766         (getLoggingMXBean): New method.
14767
14768 2006-06-23  Tania Bento  <tbento@redhat.com>
14769
14770         * java/awt/TextField.java
14771         (TextField): Default number of columns should be 0, not 1.
14772         (TextField): Check if number of columns given as argument
14773         is valid (>= 0) and set the number of columns accordingly.
14774         (TextField): Check if the string passed is null. If it is, 
14775         set columns to 0, else columns is set to the length of
14776         the string.
14777
14778 2006-06-23  Roman Kennke  <kennke@aicas.com>
14779
14780         * javax/swing/plaf/basic/BasicInternalFrameUI.java
14781         (InternalFramePropertyChangeListener.propertyChange):
14782         Don't call getPropertyName() repeatedly. Added null checks
14783         to avoid NPEs. Call closeFrame() if the closed property
14784         changes.
14785
14786 2006-06-23  Roman Kennke  <kennke@aicas.com>
14787
14788         * javax/swing/JInternalFrame.java
14789         (maxTransition): Removed.
14790         (JInternalFrame): Set maxium=false. Initialize desktopIcon here.
14791         Don't initialize storedBounds here.
14792         (dipose): Rewritten to correctly dispose the JInternalFrame.
14793         (getDesktopIcon): Don't initialize desktopIcon here.
14794         (getLayer): Delegate to JLayeredPane.getLayer().
14795         (getNormalBounds): Return bounds when storedBounds == null,
14796         otherwise storedBounds.
14797         (hide): Don't change selection. Also hide the desktopIcon.
14798         (moveToBack): Call getParent() only once.
14799         (moveToFront): Call getParent() only once.
14800         (pack): Call validate() to make sure that the layout is
14801         propagated to the children.
14802         (setClosed): Fire InternalFrameEvent first, before the
14803         PropertyVetoEvent.
14804         (setJMenuBar): Fire PropertyChangeEvent for this property.
14805         (setLayer): Delegate to JLayeredPane.
14806         (setLayeredPane): Check for null and throw IllegalArgumenException.
14807         (setMaximum): Remove handling of maxTransition and normalBounds.
14808         Should probably be done in the UI.
14809         (setNormalBounds): Store Rectangle object directly, not a copy.
14810         (setRootPane): Go into rootPaneCheckingEnabled mode so that
14811         adding the RootPane doesn't add it to the contentPane.
14812         Fire PropertyChangeEvent.
14813         (setSelected): Added condition for when this property must not
14814         be changed.
14815         (show): Don't ask the DesktopPane to select the frame. Moved
14816         code around to fire InternalFrameEvent before actually calling
14817         super.show(). Also make the desktopIcon visible.
14818         (setTitle): Fire PropertyChangeEvent unconditionally.
14819
14820 2006-06-23  Roman Kennke  <kennke@aicas.com>
14821
14822         * javax/swing/JLayeredPane.java
14823         (getPosition): Moved code around to avoid unnecessary method calls.
14824         (setPosition): Delegate to setLayer().
14825         (insertIndexForLayer(int,int)): Delegate to new private helper method.
14826         (insertIndexForLayer(Component,int,int)): New helper method
14827         to support the use of setComponentZOrder() which doesn't remove
14828         the component and thus the insertIndexForLayer must ignore
14829         the component to be moved to get the index right.
14830         (setLayer): Added check to prevent unnecessary execution of
14831         method body. Changed to update the component order here.
14832         Added repaint() to make sure that the update becomes visible.
14833         (addImpl): Call setLayer() only when a constraint has been specified.
14834         Validate and repaint the JLayeredPane.
14835
14836 2006-06-23  Roman Kennke  <kennke@aicas.com>
14837
14838         * java/awt/Container.java
14839         (getComponentZOrder): Use ncomponents instead of
14840         component.length so that we don't consider the empty space
14841         after the last component.
14842
14843 2006-06-22  Roman Kennke  <kennke@aicas.com>
14844
14845         * javax/swing/JComponent.java
14846         (vetoableChangeSupport): New field.
14847         (removeVetoableChangeListener): Rewritten to use
14848         vetoableChangeSupport.
14849         (addVetoableChangeListener): Rewritten to use
14850         vetoableChangeSupport.
14851         (fireVetoableChange): Rewritten to use
14852         vetoableChangeSupport.
14853         (addPropertyChangeListener): Removed. This is handled in
14854         Component already.
14855         (firePropertyChange(String,boolean,boolean)): Likewise.
14856         (firePropertyChange(String,char,char)): Likewise.
14857         (firePropertyChange(String,int,int)): Likewise.
14858         (revalidate): Don't do anything when the commponent has no
14859         parent.
14860
14861 2006-06-22  David Gilbert  <david.gilbert@object-refinery.com>
14862
14863         * javax/swing/JLabel.java: Updated API docs.
14864
14865 2006-06-22  Robert Schuster  <robertschuster@fsfe.org>
14866
14867         * java/awt/Insets.java: Updated copyright year.
14868         (toString): Changed string, removed a line from the 
14869         documentation.
14870
14871 2006-06-22  Roman Kennke  <kennke@aicas.com>
14872
14873         * javax/swing/text/AbstractDocument.java
14874         (AbstractDocument): Set the i18n document property.
14875         (removeImpl): Added checks for correct boundaries.
14876
14877 2006-06-22  Roman Kennke  <kennke@aicas.com>
14878
14879         * javax/swing/text/PlainDocument.java
14880         (rootElement): Changed type to Element.
14881         (tabSize): Removed field. This is stored in the document properties
14882         instead.
14883         (PlainDocument): Set tabSize property. Init rootElement without
14884         cast.
14885         (insertUpdate): Rewritten. The previous implementation did not
14886         handle some corner cases properly and was a mess.
14887         (removeUpdate): Cast rootElement to BranchElement.
14888
14889 2006-06-22  David Gilbert  <david.gilbert@object-refinery.com>
14890
14891         * javax/swing/plaf/basic/BasicLabelUI.java
14892         (installKeyboardActions): Implemented,
14893         (uninstallKeyboardActions): Implemented,
14894         (propertyChange): Add handling for 'displayedMnemonic' and 'labelFor'
14895         properties.
14896
14897 2006-06-22  Robert Schuster  <robertschuster@fsfe.org>
14898
14899         * javax/swing/JMenu.java:
14900         (removeAll): Added check for popupMenu not being null.
14901
14902 2006-06-22  David Gilbert  <david.gilbert@object-refinery.com>
14903
14904         * javax/swing/JLabel.java
14905         (getText): Updated API docs,
14906         (setText): Corrected the check for an unchanged value, and the update 
14907         of the displayedMnemonicIndex.
14908
14909 2006-06-22  David Gilbert  <david.gilbert@object-refinery.com>
14910
14911         * javax/swing/JLabel.java
14912         (setDisplayedMnemonic(int)): Fire property change event AFTER updating 
14913         field,
14914         (setDisplayedMnemonicIndex): Modified argument checking to handle case
14915         where label text is null.
14916
14917 2006-06-22  David Gilbert  <david.gilbert@object-refinery.com>
14918
14919         * javax/swing/JLabel.java
14920         (setDisplayedMnemonic): Updated API docs,
14921         (getDisplayedMnemonic): Removed unnecessary type-cast,
14922         (setDisplayedMnemonicIndex): Removed unnecessary validation, 
14923         (getDisplayedMnemonicIndex): Updated API docs.
14924
14925 2006-06-21  Jeroen Frijters  <jeroen@frijters.net>
14926
14927         * java/util/Collections (entrySet): Fixed compile error.
14928
14929 2006-06-21  David Gilbert  <david.gilbert@object-refinery.com>
14930
14931         * javax/swing/DefaultListSelectionModel.java
14932         (getSelectionMode): Updated API docs,
14933         (setAnchorSelectionIndex): Added ListSelectionEvent generation,
14934         (addSelectionInterval): If mode is SINGLE_SELECTION, just call 
14935         setSelectionInterval(),
14936         (setSelectionInterval): Reimplemented SINGLE_SELECTION and 
14937         SINGLE_INTERVAL_SELECTION cases.
14938
14939 2006-06-21  Roman Kennke  <kennke@aicas.com>
14940
14941         * javax/swing/text/AbstractDocument.java
14942         (BranchElement.numChildren): New field.
14943         (BranchElement.BranchElement): Initialize children array with
14944         one element (that's the least number of elements that makes sense).
14945         Initialize numChildren.
14946         (BranchElement.children): Use numChildren as boundary.
14947         (BranchElement.getElement): Use numChildren as boundary.
14948         (BranchElement.getElementCount): Use numChildren as boundary.
14949         (BranchElement.getElementIndex): Use numChildren as boundary.
14950         (BranchElement.getEndOffset): Use numChildren as boundary.
14951         (BranchElement.getStartOffset): Use numChildren as boundary.
14952         (BranchElement.positionToElement): Use numChildren as boundary.
14953         (BranchElement.replace): Handle the children array more efficiently
14954         by growing in blocks > 1, and reusing space from removed elements.
14955         (LeafElement.startDelta): Removed.
14956         (LeafElement.endDelta): Removed.
14957         (LeafElement.LeafElement): Removed handling of deltas.
14958         (LeafElement.getEndOffset): Likewise.
14959         (LeafElement.getStartOffset): Likewise.
14960         * javax/swing/text/JTextComponent.java
14961         (setDocument): Added locking of the old document to avoid dangling
14962         notification beeing delivered while the document is beeing
14963         disconnected.
14964         (getScrollableTracksViewportWidth): Fixed condition.
14965         * javax/swing/text/PlainDocument.java
14966         (createDefaultRoot): Create elements without AttributeSet.
14967         * javax/swing/text/rtf/RTFParser.java
14968         (parseFile): Handle slightly incorrect RTF gracefully.
14969         * javax/swing/text/rtf/RTFScanner.java
14970         (lastToken): New field.
14971         (readTokenImpl): New method.
14972         (peekToken): New method.
14973         (readToken): Changed to call readTokenImpl or return the lastToken
14974         if there's one present.
14975
14976 2006-06-21  Tania Bento  <tbento@redhat.com>
14977
14978         * javax/swing/JMenu.java
14979         (remove): An IllegalArgumentException should be thrown if
14980         either index < 0 or if index > 0 and there are no menu
14981         components. Also, a check was added that ensures there are
14982         menu components before removing the desired the component.
14983
14984 2006-06-21  Lillian Angel  <langel@redhat.com>
14985
14986         * javax/swing/text/DefaultCaret.java
14987         (install): Added check to prevent NPE.
14988         (propertyChange): Added checks to prevent NPEs.
14989
14990 2006-06-21  Tania Bento  <tbento@redhat.com>
14991
14992         * javax/swing/JMenu.java
14993         Changed instantiation of popupMenu to null.
14994         (JMenu): Instantiated popupMenu to new JPopupMenu.
14995         (JMenu): Instantiated popupMenu to new JPopupMenu.      
14996         (add): Changed popupMenu to getPopupMenu().
14997         (add): Changed popupMenu to getPopupMenu().
14998         (add): Changed popupMenu to getPopupMenu().
14999         (add): Changed popupMenu to getPopupMenu().
15000         (remove): Changed popupMenu to getPopupMenu().
15001         (remove): Changed popupMenu to getPopupMenu().
15002         (insert): Changed popupMenu to getPopupMenu().
15003         (setSelectedHelper): Changed popupMenu to getPopupMenu().
15004         (isPopupMenuVisible): Changed popupMenu to getPopupMenu().
15005         (setPopupMenuVisible): Changed popupMenu to getPopupMenu().
15006         (getMenuComponentCount): Changed popupMenu to getPopupMenu().
15007         (getMenuComponents): Changed popupMenu to getPopupMenu().
15008         (getPopupMenu): Check first if popupMenu is null and if so,
15009         instantiate it to a new JPopupMenu and set the invoker.
15010         * javax/swing/plaf/basic/BasicPopupMenuUI.java
15011         (popupMenuWillBecomeVisible): Component Listener should only
15012         be added to the root container if the root container is not 
15013         null. This avoids a null pointer exception.
15014
15015 2006-06-21  Tania Bento  <tbento@redhat.com>
15016
15017         * javax/swing/JMenu.java
15018         (JMenu): Delay should be set to 200, not default of 0.
15019         (JMenu): Delay should be set to 200, not default of 0.
15020         (JMenu): Delay should be set to 200, not default of 0.
15021         (JMenu): Delay should be set to 200, not default of 0.  
15022         (remove): Added check that index >= 0 before removing
15023         the component.
15024         (getItem): Return null if item count equals 0.
15025         (isTearOff): Should throw new error and not return false.
15026         (getMenuComponent): Return null if popupMenu is null or
15027         if there are no menu components.
15028
15029 2006-06-21  Roman Kennke  <kennke@aicas.com>
15030
15031         * java/awt/font/FontRenderContext.java:
15032         (equals): Added special conditions for affineTransform beeing
15033         null.
15034
15035 2006-06-21  Roman Kennke  <kennke@aicas.com>
15036
15037         * javax/swing/UIManager.java
15038         (MultiplexUIDefaults.clear): Removed method. The fallback UIDefaults
15039         must not be cleared.
15040
15041 2006-06-21  Roman Kennke  <kennke@aicas.com>
15042
15043         * javax/swing/plaf/metal/MetalUtils.java
15044         (paintHorizontalGradient): Use paintHorizontalGradient2D when
15045         Graphics2D is available. Use fillRect instead of drawLine, this
15046         is much faster.
15047         (paintVerticalGradient): Use paintHorizontalGradient2D when
15048         Graphics2D is available. Use fillRect instead of drawLine, this
15049         is much faster.
15050         (paintHorizontalGradient2D): New method. Paints gradient
15051         using Graphics2D functions.
15052         (paintVerticalGradient2D): New method. Paints gradient
15053         using Graphics2D functions.
15054
15055 2006-06-21  Roman Kennke  <kennke@aicas.com>
15056
15057         * javax/swing/plaf/basic/BasicButtonListener.java
15058         (propertyChange): Create a TextLayout and store it in the button
15059         when the 'text' property changes.
15060         * javax/swing/plaf/basic/BasicButtonUI.java
15061         (paintText): Call BasicGraphicsUtils utility method for
15062         drawing strings, instead of Graphics.drawString().
15063         * javax/swing/plaf/basic/BasicGraphicsUtils.java
15064         (CACHE_TEXT_LAYOUT): New constant field. Used as a key for storing
15065         cached text layouts as client properties in JComponents.
15066         (drawString(JComponent,Graphics,String,int,int)): New helper method.
15067         (drawStringUnderlineCharAt): New helper method.
15068         * javax/swing/plaf/basic/BasicMenuItemUI.java
15069         (PropertyChangeHandler.propertyChange): Update cached text layout
15070         when 'text' property changes. Use equals() instead of == for
15071         string comparison.
15072         (paintText): Use new BasicGraphicsUtils methods for painting
15073         the cached text layout.
15074         (installListeners): Call super.installListeners() and remove
15075         the unneeded listener installs.
15076         (uninstallListeners): Call super.uninstallListeners() and remove
15077         the unneeded listener uninstalls.
15078
15079 2006-06-21  Roman Kennke  <kennke@aicas.com>
15080
15081         * javax/swing/plaf/basic/BasicTextUI.java
15082         (PropertyChangeHandler.propertyChange): Handle document listener
15083         update here.
15084         (background): Removed unneeded fields.
15085         (inactiveBackground): Remove unneeded fields.
15086         (installUI): Install the document listener. Slightly changed
15087         order of operations. Don't trigger modelChanged().
15088         (installDefaults): Only install properties when the
15089         current properties are null or instances of UIResource.
15090         (installListeners): Removed unnecessary listener installs.
15091         (installDocumentListeners): Removed unneeded method.
15092         (uninstallListeners): Removed unnecessary listener uninstalls.
15093         (modelChanged): Removed call to installDocumentListeners().     
15094         * javax/swing/plaf/basic/BasicTextFieldUI.java
15095         (propertyChange): Update the colors by fetching them from
15096         SharedUIDefaults. Fixed conditions.
15097         * javax/swing/plaf/basic/SharedUIDefaults.java
15098         (getColor): New method.
15099
15100 2006-06-21  Roman Kennke  <kennke@aicas.com>
15101
15102         * javax/swing/SizeSequence.java
15103         (SizeSequence): Initialize array with correct number of entries.
15104
15105 2006-06-21  Roman Kennke  <kennke@aicas.com>
15106
15107         * javax/swing/JSplitPane.java
15108         (setDividerLocation): Substract divider size when computing
15109         the absolute size.
15110
15111 2006-06-21  Roman Kennke  <kennke@aicas.com>
15112
15113         * javax/swing/JComponent.java
15114         (paintChildrenWithOverlap): Determine opaque property by
15115         calling the corresponding Component method, without requiring
15116         a JComponent.
15117         (paintChildrenOptimized): Removed old unneeded code.
15118         (paintImmediately): Use JComponent's convertRectangleToAncestor()
15119         method instead of SwingUtilities.convertRectangle(). This is
15120         more efficient.
15121
15122 2006-06-21  Roman Kennke  <kennke@aicas.com>
15123
15124         * javax/swing/AbstractButton.java
15125         (init): Call setText() instead of setting the property directly,
15126         so that listeners (especially in the UI) get notified.
15127
15128 2006-06-21  Roman Kennke  <kennke@aicas.com>
15129
15130         * javax/swing/UIManager.java
15131         (MultiplexUIDefaults): New inner class.
15132         (currentUIDefaults): Changed type to be MultiplexUIDefaults.
15133         (userUIDefaults): Changed name to be lookAndFeelDefaults.
15134         (<cinit>): Call setLookAndFeel(String) instead of trying to load
15135         directly. Print stacktrace if something goes wrong.
15136         (get): Delegate call to currentUIDefaults.
15137         (getDefaults): If currentUIDefaults is null, then lazily instantiate
15138         it.
15139         (getUI): Delegate call to currentUIDefaults.
15140         (put): Delegate call to currentUIDefaults.
15141         (setLookAndFeel): Initialize currentUIDefaults with
15142         MultiplexUIDefaults. Set lookAndFeelDefaults.
15143         (setLookAndFeel): Use current thread's context classloader for
15144         loading the L&F.
15145
15146 2006-06-21  Roman Kennke  <kennke@aicas.com>
15147
15148         * javax/swing/text/GapContent.java
15149         (GapContentPosition.GapContentPosition): Replace
15150         Collections.binarySearch with call to local search() to make
15151         sure we find the first object that equals the searched object.
15152         (setPositionsInRange): Likewise.
15153         (adjustPositionsInRange): Likewise.
15154         (search): New helper method.
15155
15156 2006-06-21  Gary Benson  <gbenson@redhat.com>
15157
15158         * gnu/java/awt/peer/gtk/CairoGraphics2D.java: Add security check.
15159         * gnu/java/awt/peer/qt/QtGraphics.java: Likewise.
15160         * gnu/java/awt/java2d/AbstractGraphics2D.java: Likewise.
15161
15162 2006-06-20  Thomas Fitzsimmons  <fitzsim@redhat.com>
15163
15164         * native/plugin/Makefile.am (libgcjwebplugin_la_CXXFLAGS): Define
15165         APPLETVIEWER_EXECUTABLE to gappletviewer.
15166
15167 2006-06-20  Tom Tromey  <tromey@redhat.com>
15168
15169         PR classpath/28095:
15170         * java/net/URL.java (URL): Throw MalformedURLException if a
15171         RuntimeException is caught.  Chain exceptions.
15172
15173 2006-06-20  Lillian Angel  <langel@redhat.com>
15174
15175         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
15176         (create): Added check to prevent Seg Fault. Should not
15177         set the label if it is null.
15178         * gnu/java/awt/peer/gtk/GtkLabelPeer.java
15179         (setText): Changed to be a non-native function. Calls
15180         setNativeText if the String parameter is non-null.
15181         (setNativeText): Replaces old native setText function.
15182         * include/gnu_java_awt_peer_gtk_GtkLabelPeer.h: Regenerated.
15183         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
15184         (Java_gnu_java_awt_peer_gtk_GtkLabelPeer_setText): Removed.
15185         Replaced by Java_gnu_java_awt_peer_gtk_GtkLabelPeer_setNativeText.
15186         (Java_gnu_java_awt_peer_gtk_GtkLabelPeer_setNativeText): Replaced
15187         Java_gnu_java_awt_peer_gtk_GtkLabelPeer_setText.
15188
15189 2006-06-20  Lillian Angel  <langel@redhat.com>
15190
15191         * javax/swing/text/JTextComponent.java
15192         (AccessibleJTextComponent): Rewrote all javadocs
15193         for this inner class.
15194
15195 2006-06-20  Francis Kung  <fkung@redhat.com>
15196
15197         * examples/gnu/classpath/examples/java2d/J2dBenchmark.java:
15198         Changed many members to be protected.
15199         (J2dBenchmark): moved to init() instead.
15200         (init): New method.
15201         (main): Call init() after creating object
15202         (testComplete): New method.
15203         (test_drawArc): Use maxTests varialbe instead of constant.
15204         (test_drawCubicCurve): Likewise.
15205         (test_drawEllipse): Likewise.
15206         (test_drawGeneralPath): Likewise.
15207         (test_drawImage): Likewise.
15208         (test_drawLine): Likewise.
15209         (test_drawQuadCurve): Likewise.
15210         (test_drawRectangle): Likewise.
15211         (test_drawRoundRectangle): Likewise.
15212         (test_drawTransparentImage): Likewise.
15213         (test_fillArc): Likewise.
15214         (test_fillEllipse): Likewise.
15215         (test_fillGeneralPath): Likewise.
15216         (test_fillRectangle): Likewise.
15217         (test_fillRoundRectangle): Likewise.
15218         (GraphicsTest.runSetNoClipping): Added runCount parameter.
15219         (GraphicsTest.runSetWithClipping): Likewise.
15220         (GraphicsTest.runSetZeroClipping): Likewise.
15221         (GraphicsTest.run): Added checks for more option flags.
15222         * examples/gnu/classpath/examples/java2d/J2dBenchmarkGUI.java:
15223         New file.
15224
15225 2006-06-20  Roman Kennke  <kennke@aicas.com>
15226
15227         * javax/swing/text/GapContent.java
15228         (GapContentPosition.mark): New field.
15229         (GapContentPosition.index): Removed.
15230         (GapContentPosition.GapContentPosition): Changed to take the
15231         real offset as parameter. Added handling of reference counter.
15232         Try to cleanup before creating new instances.
15233         (getOffset): Delegate to the Mark method with same name.
15234         (Mark): New class, encapsulating a mark.
15235         (positionMarks): Removed field.
15236         (numMarks): Removed field.
15237         (marks): New field.
15238         (queueOfDeath): New field.
15239         (GapContent): Removed init of old fields, added init of new fields.
15240         (createPosition): Added check for validity of arguments.
15241         Create GapContentPosition directly with offset.
15242         (shiftEnd): Pass end of buffer directly to adjustPositionsInRange.
15243         (shiftGap): Pass end of buffer directly to adjustPositionsInRange.
15244         (shiftGapStartDown): Call resetMarksAtZero().
15245         (shiftGapEndUp): Call resetMarksAtZero().
15246         (replace): Don't call resetMarksAtZero().
15247         (setPositionInRange): Replaced by simpler algorithm, similar to
15248         adjustPositionsInRange.
15249         (adjustPositionsInRange): Adapted to use of Mark objects.
15250         (resetMarksAtZero): Reset all marks that point to zero instead
15251         of only the first one.
15252         (dumpMarks): Adjusted to dump Mark objects.
15253         (insertMark): Removed.
15254         (garbageCollect): New method. Cleans up the marks list.
15255         (binarySearch): Removed.
15256
15257 2006-06-20  Lillian Angel  <langel@redhat.com>
15258
15259         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
15260         (drawImage): Added call to updateColor because
15261         Cairo seems to lose the current color.
15262
15263 2006-06-20  Gary Benson  <gbenson@redhat.com>
15264
15265         * java/awt/Toolkit.java: Add security check.
15266         * gnu/java/awt/peer/gtk/GtkToolkit.java: Likewise.
15267         * gnu/java/awt/peer/qt/QtToolkit.java: Likewise.
15268
15269 2006-06-20  Raif S. Naffah  <raif@swiftdsl.com.au>
15270
15271         * gnu/java/security/key/dss/DSSKey.java: Source formatting.
15272         * gnu/java/security/key/dss/DSSKeyPairGenerator.java: Likewise.
15273         * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java: Likewise.
15274         * gnu/java/security/key/dss/DSSKeyPairRawCodec.java: Likewise.
15275         * gnu/java/security/key/dss/DSSKeyPairX509Codec.java: Likewise.
15276         * gnu/java/security/key/dss/DSSPrivateKey.java: Likewise.
15277         * gnu/java/security/key/dss/DSSPublicKey.java: Likewise.
15278         * gnu/java/security/key/dss/FIPS186.java: Likewise.
15279         * gnu/java/security/key/rsa/GnuRSAKey.java: Likewise.
15280         * gnu/java/security/key/rsa/GnuRSAPrivateKey.java: Likewise.
15281         * gnu/java/security/key/rsa/GnuRSAPublicKey.java: Likewise.
15282         * gnu/java/security/key/rsa/RSAKeyPairGenerator.java: Likewise.
15283         * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java: Likewise.
15284         * gnu/java/security/key/rsa/RSAKeyPairRawCodec.java: Likewise.
15285         * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java: Likewise.
15286         * gnu/java/security/key/IKeyPairCodec.java: Likewise.
15287         * gnu/java/security/key/IKeyPairGenerator.java: Likewise.
15288         * gnu/java/security/key/KeyPairCodecFactory.java: Likewise.
15289         * gnu/java/security/key/KeyPairGeneratorFactory.java: Likewise.
15290
15291 2006-06-19  Lillian Angel  <langel@redhat.com>
15292
15293         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
15294         (drawImage): Should always use getRGB to get the pixels.
15295         getData returns an incorrect array of pixels.
15296
15297 2006-06-19  Raif S. Naffah  <raif@swiftdsl.com.au>
15298
15299         * gnu/java/security/jce/hash/HavalSpi.java: Source formatting.
15300         * gnu/java/security/jce/hash/MD2Spi.java: Likewise.
15301         * gnu/java/security/jce/hash/MD4Spi.java: Likewise.
15302         * gnu/java/security/jce/hash/MD5Spi.java: Likewise.
15303         * gnu/java/security/jce/hash/MessageDigestAdapter.java: Likewise.
15304         * gnu/java/security/jce/hash/RipeMD128Spi.java: Likewise.
15305         * gnu/java/security/jce/hash/RipeMD160Spi.java: Likewise.
15306         * gnu/java/security/jce/hash/Sha160Spi.java: Likewise.
15307         * gnu/java/security/jce/hash/Sha256Spi.java: Likewise.
15308         * gnu/java/security/jce/hash/Sha384Spi.java: Likewise.
15309         * gnu/java/security/jce/hash/Sha512Spi.java: Likewise.
15310         * gnu/java/security/jce/hash/TigerSpi.java: Likewise.
15311         * gnu/java/security/jce/hash/WhirlpoolSpi.java: Likewise.
15312         * gnu/java/security/jce/prng/HavalRandomSpi.java: Likewise.
15313         * gnu/java/security/jce/prng/MD2RandomSpi.java: Likewise.
15314         * gnu/java/security/jce/prng/MD4RandomSpi.java: Likewise.
15315         * gnu/java/security/jce/prng/MD5RandomSpi.java: Likewise.
15316         * gnu/java/security/jce/prng/RipeMD128RandomSpi.java: Likewise.
15317         * gnu/java/security/jce/prng/RipeMD160RandomSpi.java: Likewise.
15318         * gnu/java/security/jce/prng/SecureRandomAdapter.java: Likewise.
15319         * gnu/java/security/jce/prng/Sha160RandomSpi.java: Likewise.
15320         * gnu/java/security/jce/prng/Sha256RandomSpi.java: Likewise.
15321         * gnu/java/security/jce/prng/Sha384RandomSpi.java: Likewise.
15322         * gnu/java/security/jce/prng/Sha512RandomSpi.java: Likewise.
15323         * gnu/java/security/jce/prng/TigerRandomSpi.java: Likewise.
15324         * gnu/java/security/jce/prng/WhirlpoolRandomSpi.java: Likewise.
15325         * gnu/java/security/jce/sig/DSSKeyFactory.java: Likewise.
15326         * gnu/java/security/jce/sig/DSSKeyPairGeneratorSpi.java: Likewise.
15327         * gnu/java/security/jce/sig/DSSParameters.java: Likewise.
15328         * gnu/java/security/jce/sig/DSSRawSignatureSpi.java: Likewise.
15329         * gnu/java/security/jce/sig/EncodedKeyFactory.java: Likewise.
15330         * gnu/java/security/jce/sig/KeyPairGeneratorAdapter.java: Likewise.
15331         * gnu/java/security/jce/sig/RSAKeyFactory.java: Likewise.
15332         * gnu/java/security/jce/sig/RSAKeyPairGeneratorSpi.java: Likewise.
15333         * gnu/java/security/jce/sig/RSAPSSRawSignatureSpi.java: Likewise.
15334         * gnu/java/security/jce/sig/SignatureAdapter.java: Likewise.
15335
15336 2006-06-19  Raif S. Naffah  <raif@swiftdsl.com.au>
15337
15338         * NEWS: Updated (delayed) for security tools and tools.texinfo.
15339
15340 2006-06-19  Roman Kennke  <kennke@aicas.com>
15341
15342         * gnu/java/awt/peer/gtk/ComponentGraphics.java
15343         (drawImage): Clip volatile image correctly.
15344         (drawVolatileImage): Added arguments for clipping.
15345         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
15346         (drawVolatileImage): Added arguments for clipping. Clip image
15347         correctly.
15348         * include/gnu_java_awt_peer_gtk_ComponentGraphics.h: Regenerated.
15349
15350 2006-06-19  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
15351
15352         PR 28035
15353         * java/rmi/server/UID.java (constructor): Synchronized
15354         the whole constructor on the UID class.
15355
15356 2006-06-19  Roman Kennke  <kennke@aicas.com>
15357
15358         * javax/swing/RepaintManager.java
15359         (addInvalidComponent): Only add component that are displayable,
15360         that have displayable parents and that have a validateRoot.
15361         Also, don't validate components that have a CellRendererPane
15362         ancestor.
15363
15364 2006-06-19  David Gilbert  <david.gilbert@object-refinery.com>
15365
15366         * javax/swing/plaf/IconUIResource.java
15367         (IconUIResource): Throw IllegalArgumentException for null icon.
15368
15369 2006-06-18  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
15370
15371         PR 28035
15372         * java/rmi/server/UID.java (constructor): First increment
15373         uidCounter, and then use the value.
15374
15375 2006-06-18  Thomas Fitzsimmons  <fitzsim@redhat.com>
15376
15377         * java/awt/GridBagLayout.java (AdjustForGravity): Implement.
15378         * java/awt/GridBagConstraints.java: Indent.
15379
15380 2006-06-18  Tom Tromey  <tromey@redhat.com>
15381
15382         * native/jni/gconf-peer/.cvsignore: New file.
15383
15384 2006-06-18  Tom Tromey  <tromey@redhat.com>
15385
15386         * tools/gnu/classpath/tools/getopt/Parser.java (handleLongOption):
15387         Also handle short options.
15388
15389 2006-06-18  Jim Huang  <jserv@kaffe.org>
15390
15391         PR classpath/28076:
15392         * native/jni/gconf-peer/Makefile.am (libgconfpeer_la_LIBADD):
15393         Fixed typo.
15394
15395 2006-06-19  Mark Wielaard  <mark@klomp.org>
15396
15397         * include/Makefile.am: gnu_java_util_prefs_gconf_%.h should depend
15398         on gnu/java/util/prefs/gconf/%.class.
15399         * Java_gnu_java_util_prefs_gconf_GConfNativePeer_init_1class: Fix
15400         chache typo, should be cache.
15401         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1gconf_1client_1all_1keys):
15402         Declare tmp early.
15403         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1gconf_1client_1all_1nodes):
15404         Likewise.
15405         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1remove_1dir):
15406         Don't return a value for void function.
15407         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1add_1dir)
15408         Likewise.
15409         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1dir_1exists):
15410         Mark clazz as unused.  Return JNI_FALSE, not NULL for jboolean
15411         function.
15412         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_finalize_1class):
15413         Mark clazz ad unused.
15414
15415 2006-06-18  Raif S. Naffah  <raif@swiftdsl.com.au>
15416
15417         * gnu/java/security/hash/Whirlpool.java: Source formatting.
15418         * gnu/java/security/hash/Tiger.java: Likewise.
15419         * gnu/java/security/hash/Sha512.java: Likewise.
15420         * gnu/java/security/hash/Sha384.java: Likewise.
15421         * gnu/java/security/hash/Sha256.java: Likewise.
15422         * gnu/java/security/hash/Sha160.java: Likewise.
15423         * gnu/java/security/hash/RipeMD160.java: Likewise.
15424         * gnu/java/security/hash/RipeMD128.java: Likewise.
15425         * gnu/java/security/hash/MD5.java: Likewise.
15426         * gnu/java/security/hash/MD4.java: Likewise.
15427         * gnu/java/security/hash/MD2.java: Likewise.
15428         * gnu/java/security/hash/IMessageDigest.java: Likewise.
15429         * gnu/java/security/hash/Haval.java: Likewise.
15430         * gnu/java/security/hash/HashFactory.java: Likewise.
15431         * gnu/java/security/hash/BaseHash.java: Likewise.
15432
15433 2006-06-18  Sven de Marothy  <sven@physto.se>
15434
15435         * java/awt/event/KeyEvent.java:
15436         (VK_WINDOWS, VK_CONTEXT_MENU, VK_BEGIN): Add new keysym fields.
15437         *  natve/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
15438         Implement WINDOWS, ALT_GR and CONTEXT_MENU keysyms.
15439
15440 2006-06-18  Raif S. Naffah  <raif@swiftdsl.com.au>
15441
15442         * gnu/java/security/util/Prime2.java: Removed.
15443         * gnu/java/security/key/dss/FIPS186.java: Remove unused imports.
15444         (generateParameters): Use isProbablePrime() in BigInteger instead of Prime2.
15445         * gnu/java/security/key/rsa/RSAKeyPairGenerator.java: Remove unused imports.
15446         (generate): Use isProbablePrime() in BigInteger instead of Prime2.
15447         * gnu/javax/crypto/key/dh/RFC2631.java: Remove unused imports.
15448         (generateParameters): Use isProbablePrime() in BigInteger instead of Prime2.
15449         * gnu/javax/crypto/key/srp6/SRPAlgorithm.java: Remove unused imports.
15450         (checkParams): Use isProbablePrime() in BigInteger instead of Prime2.
15451         * gnu/javax/crypto/key/srp6/SRPKeyPairGenerator.java: Remove unused imports.
15452         (generateParameters): Use isProbablePrime() in BigInteger instead of Prime2.
15453         * gnu/javax/net/ssl/provider/KeyPool.java: Remove unused imports.
15454         (generateRSAKeyPair): Use isProbablePrime() in BigInteger instead of Prime2.
15455
15456 2006-06-18  Sven de Marothy  <sven@physto.se>
15457
15458         * java/awt/GridBagLayout.java (AdjustForGravity): Implement.
15459         * java/awt/font/TextMeasurer.java: Fix copyright date, 
15460         remove commented-out code.
15461
15462 2006-06-18  Sven de Marothy  <sven@physto.se>
15463
15464         * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
15465         (FreetypeGlyphVector, clone): Implement cloning.
15466         (getGlyphLogicalBounds): Bounds should be offset to the glyph position.
15467         * java/awt/font/TextMeasurer.java: Implement.
15468         * java/awt/font/LineBreakMeasurer.java: 
15469         Reimplement to use TextMeasurer.
15470         * java/awt/font/TextLayout.java
15471         New constructors.
15472         (getBlackboxBounds, getLogicalHighlightShape): Reimplement.
15473         (getText, getFont): New private static methods.
15474         (setCharIndices): New method.
15475         * java/text/AttributedString.java
15476         (AttributedString): Fix constructor to stop at end point.
15477         
15478 2006-06-17  Tom Tromey  <tromey@redhat.com>
15479
15480         * lib/gen-classlist.sh.in: Search all top-level directories, not
15481         just 'org', in external.
15482
15483 2006-06-12  Mario torre  <neugens at limasoftware.net>
15484
15485         * gnu/java/util/prefs/GConfBasedPreferences.java: new class.
15486         * gnu/java/util/prefs/GConfBasedFactory.java: new class.
15487         * gnu/java/util/prefs/gconf/GConfNativePeer.java: new class.
15488         * gnu_java_util_prefs_gconf_GConfNativePeer.h: generated
15489         header file.
15490         * classpath/native/jni/gconf-peer/GConfNativePeer.c: new C file.
15491         * configure.ac: update to introduce new files. Added options
15492         to build gconf native peer used by the GConf preference backend.
15493         * include/Makefile.am: update to introduce new files.
15494         * native/jni/Makefile.am update to introduce new files.
15495         * scripts/check_jni_methods.sh: added three new ignored file
15496         from check.
15497         * native/jni/gconf-peer/Makefile.am: new Makefile needed to
15498         build gconf-peer shared library.
15499
15500 2006-06-17  Raif S. Naffah  <raif@swiftdsl.com.au>
15501
15502         * gnu/java/security/jce/sig/DSSKeyPairGeneratorSpi.java:
15503         Use Integer.valueOf() instead of new Integer().
15504         * gnu/java/security/jce/sig/EncodedKeyFactory.java: Likewise.
15505         * gnu/java/security/jce/sig/RSAKeyPairGeneratorSpi.java: Likewise.
15506         * gnu/java/security/util/Sequence.java: Likewise.
15507         * gnu/java/security/x509/ext/GeneralNames.java: Likewise.
15508         * gnu/java/security/x509/X509Certificate.java: Likewise.
15509         * gnu/javax/crypto/assembly/ModeStage.java: Likewise.
15510         * gnu/javax/crypto/cipher/Anubis.java: Likewise.
15511         * gnu/javax/crypto/cipher/Blowfish.java: Likewise.
15512         * gnu/javax/crypto/cipher/Cast5.java: Likewise.
15513         * gnu/javax/crypto/cipher/DES.java: Likewise.
15514         * gnu/javax/crypto/cipher/Khazad.java: Likewise.
15515         * gnu/javax/crypto/cipher/NullCipher.java: Likewise.
15516         * gnu/javax/crypto/cipher/Rijndael.java: Likewise.
15517         * gnu/javax/crypto/cipher/Serpent.java: Likewise.
15518         * gnu/javax/crypto/cipher/Square.java: Likewise.
15519         * gnu/javax/crypto/cipher/TripleDES.java: Likewise.
15520         * gnu/javax/crypto/cipher/Twofish.java: Likewise.
15521         * gnu/javax/crypto/jce/cipher/CipherAdapter.java: Likewise.
15522         * gnu/javax/crypto/jce/cipher/PBES2.java: Likewise.
15523         * gnu/javax/crypto/jce/key/SecretKeyGeneratorImpl.java: Likewise.
15524         * gnu/javax/crypto/jce/PBKDF2SecretKeyFactory.java: Likewise.
15525         * gnu/javax/crypto/jce/prng/ICMRandomSpi.java: Likewise.
15526         * gnu/javax/crypto/jce/prng/UMacRandomSpi.java: Likewise.
15527         * gnu/javax/crypto/jce/sig/DHKeyPairGeneratorSpi.java: Likewise.
15528         * gnu/javax/crypto/keyring/AuthenticatedEntry.java: Likewise.
15529         * gnu/javax/crypto/keyring/EncryptedEntry.java: Likewise.
15530         * gnu/javax/crypto/keyring/PasswordAuthenticatedEntry.java: Likewise.
15531         * gnu/javax/crypto/keyring/PasswordEncryptedEntry.java: Likewise.
15532         * gnu/javax/crypto/keyring/PasswordProtectedEntry.java: Likewise.
15533         * gnu/javax/crypto/mac/UHash32.java: Likewise.
15534         * gnu/javax/crypto/mac/UMac32.java: Likewise.
15535         * gnu/javax/crypto/mode/BaseMode.java: Likewise.
15536         * gnu/javax/crypto/mode/EAX.java: Likewise.
15537         * gnu/javax/crypto/prng/ICMGenerator.java: Likewise.
15538         * gnu/javax/crypto/prng/UMacGenerator.java: Likewise.
15539         * gnu/javax/crypto/sasl/srp/KDF.java: Likewise.
15540         * gnu/javax/security/auth/callback/ConsoleCallbackHandler.java: Likewise.
15541         * java/security/cert/X509CertSelector.java: Likewise.
15542
15543 2006-06-17  Andrew John Hughes  <gnu_andrew@member.fsf.org>
15544
15545         * javax/management/DynamicMBean.java:
15546         (setAttribute): Fixed to return void.
15547         * javax/management/MBeanFeatureInfo.java:
15548         New file.
15549         
15550 2006-06-17  Raif S. Naffah  <raif@swiftdsl.com.au>
15551
15552         On behalf of Vivek Lakshmanan <vivekl@redhat.com>
15553         * gnu/javax/crypto/jce/cipher/CipherAdapter.java
15554         (engineInit(int, Key, SecureRandom)): Seperate common initialization logic
15555         into engineInitHandler and reuse the code in
15556         engineInit(int, Key, AlgorithmSpec, SecureRandom).
15557         (engineInitHandler): New method.
15558         (engineInit(int, Key, AlgorithmParameterSpec, SecureRandom)): When param is
15559         null, use random or default information when possible.
15560
15561 2006-06-16  Francis Kung  <fkung@redhat.com>
15562
15563         * examples/gnu/classpath/examples/swing/Demo.java:
15564         (mkButtonBar): Rename FillRect to JNIOverhead.
15565         (mkMenuBar): Rename FillRect to JNIOverhead.
15566         * examples/gnu/classpath/examples/swing/FillRect.java: Removed.
15567         * examples/gnu/classpath/examples/java2d/J2dBenchmark.java: New file.
15568         * examples/gnu/classpath/examples/java2d/JNIOverhead.java:
15569         Moved from old FillRect.
15570
15571 2006-06-16  Tom Tromey  <tromey@redhat.com>
15572
15573         * tools/.cvsignore: Added new tool names.
15574
15575 2006-06-16  Keith Seitz  <keiths@redhat.com>
15576
15577         * gnu/classpath/jdwp/event/EventManager.java (getDefault): Redo
15578         instantiation so that EventManager is created when getDefault
15579         is first called.
15580         * gnu/classpath/jdwp/Jdwp.java (Thread): Force creation
15581         of EventManager.
15582
15583 2006-06-16  Keith Seitz  <keiths@redhat.com>
15584
15585         * gnu/classpath/jdwp/Jdwp.java (_initLock): New field.
15586         (_initCount): New field.
15587         (Jdwp): Don't set isDebugging until fully initialized.
15588         (subcomponentInitialized): New method.
15589         (run): Wait for PacketProcessor and JdwpConnection to
15590         startup, then set isDebugging, and then let this thread
15591         die.
15592         * gnu/classpath/jdwp/transport/JdwpConnection.java
15593         (run): Add synchronization notification.
15594         * gnu/classpath/jdwp/processor/PacketProcessor.java
15595         (run): Likewise.
15596
15597 2006-06-16  Tom Tromey  <tromey@redhat.com>
15598
15599         * NEWS: Updated for JSR 166.
15600
15601 2006-06-16  Tom Tromey  <tromey@redhat.com>
15602
15603         * lib/Makefile.am (compile_classpath): Added jsr166.
15604         * configure.ac: Added external/jsr166/Makefile.
15605         * external/Makefile.am (SUBDIRS): Added jsr166.
15606         * external/jsr166/Makefile.am: New file.
15607         * lib/gen-classlist.sh.in: Look in external/jsr166.
15608
15609 2006-06-16  Kyle Galloway  <kgallowa@redhat.com>
15610
15611         * gnu/classpath/jdwp/event/ExceptionEvent:
15612         Added Object instance to javadoc in constructor
15613         * gnu/classpath/jdwp/event/MethodEntryEvent:
15614         Ditto.
15615         * gnu/classpath/jdwp/event/MethodExitEvent:
15616         Ditto,
15617         * gnu/classpath/jdwp/event/SingleStepEvent:
15618         Ditto. 
15619
15620 2006-06-16  Tom Tromey  <tromey@redhat.com>
15621
15622         Imported JSR 166 reference implementation:
15623         * .classpath: Added external/jsr166.
15624         * java/util/concurrent/CopyOnWriteArrayList.java: New file.
15625         * java/util/AbstractQueue.java: Removed.
15626         * java/util/Queue.java: Removed.
15627         * external/jsr166/java/util/concurrent/ScheduledThreadPoolExecutor.java
15628         (runPeriodic): Added explicit cast.
15629         * external/jsr166/java/util/ArrayDeque.java (clone): Use
15630         elements.clone.
15631
15632 2006-06-16  Tom Tromey  <tromey@redhat.com>
15633
15634         * vm/reference/sun/reflect/Reflection.java (verifyMemberAccess):
15635         Removed.
15636         (getCallerClass): Now static.
15637         * vm/reference/sun/reflect/misc/ReflectUtil.java: New file.
15638
15639 2006-06-16  Lillian Angel  <langel@redhat.com>
15640
15641         * java/awt/FileDialog.java
15642         (FileDialog): Added @since tag to API docs.
15643         (FileDialog): Likewise.
15644         (FileDialog): Likewise.
15645         * java/awt/Font.java:
15646         Added @since tag to TYPE1_FONT field docs.
15647         * javax/swing/plaf/basic/BasicScrollBarUI.java:
15648         (isThumbRollover): Likewise.
15649         (setThumbRollover): Likewise.
15650         (getSupportsAbsolutePositioning): Likewise.
15651         * javax/swing/plaf/basic/BasicSliderUI.java:
15652         (isDragging): Likewise.
15653
15654 2006-06-16  Lillian Angel  <langel@redhat.com>
15655
15656         * java/awt/FileDialog.java
15657         (FileDialog): Implemented.
15658         (FileDialog): Implemented.
15659         (FileDialog): Implemented.
15660         * java/awt/Font.java:
15661         Added TYPE1_FONT constant field.
15662
15663 2006-06-16  Lillian Angel  <langel@redhat.com>
15664
15665         * java/awt/font/TextLayout.java:
15666         Removed unneeded imports.
15667         * javax/swing/plaf/basic/BasicScrollBarUI.java:
15668         Added new thumbRollover field.
15669         (mouseMoved): Added code to set thumbRollover field.
15670         (isThumbRollover): New function.
15671         (setThumbRollover): New function.
15672         (getSupportsAbsolutePositioning): Implemented. This
15673         needs to be changed once the feature has been 
15674         implemented.
15675         * javax/swing/plaf/basic/BasicSliderUI.java:
15676         Added new dragging field.
15677         (mouseDragged): Initialized dragging field.
15678         (isDragging): New function.
15679         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
15680         (focusGained): Marked as not implemented.
15681         (focusLost): Likewise.
15682
15683 2006-06-16  Kyle Galloway  <kgallowa@redhat.com>
15684
15685         * gnu/classpath/jdwp/event/filters/ThreadOnlyFilter.java:
15686         Added check for null ThreadId to avoid null pointer
15687         exception.
15688
15689 2006-06-16  David Gilbert  <david.gilbert@object-refinery.com>
15690
15691         * javax/swing/DefaultComboBoxModel.java
15692         (removeElementAt): Set new selected item by calling setSelectedItem().
15693
15694 2006-06-16  David Gilbert  <david.gilbert@object-refinery.com>
15695
15696         * javax/swing/DefaultButtonModel.java
15697         (setSelected): Use 'this', not null, for the item in the ItemEvent.
15698
15699 2006-06-16  David Gilbert  <david.gilbert@object-refinery.com>
15700
15701         * javax/swing/event/ListDataEvent.java: updated API docs, plus
15702         (ListDataEvent): Handle case where index0 > index1,
15703         (toString): Implemented.
15704
15705 2006-06-16  Robert Schuster  <robertschuster@fsfe.org>
15706
15707         * javax/swing/plaf/metal/MetalMenuBarUI.java:
15708         (update): Added subexpression to if-statement.
15709
15710 2006-06-16  Robert Schuster  <robertschuster@fsfe.org>
15711
15712         * javax/swing/plaf/basic/BasicRadioButtonUI.java:
15713         (installDefaults): Removed unneccessary code.
15714         (paint): Removed complex if-cascade, revert to default icon if
15715         icon property is not set.
15716         (getPreferredSize): New method.
15717
15718 2006-06-16  Roman Kennke  <kennke@aicas.com>
15719
15720         PR 28027
15721         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
15722         (drawImage): Don't use setClip() but instead clipRect() to
15723         intersect the current clip with a new one.
15724
15725 2006-06-15  Tom Tromey  <tromey@redhat.com>
15726
15727         * scripts/sanitize-jsr166: New file.
15728         * external/jsr166/IMPORTING: New file.
15729         * vm/reference/sun/reflect/Reflection.java: New file.
15730         * vm/reference/gnu/classpath/Unsafe.java: Moved...
15731         * vm/reference/sun/misc/Unsafe.java: ...here.
15732
15733 2006-06-15  Thomas Fitzsimmons  <fitzsim@redhat.com>
15734
15735         * configure.ac: Rename appletviewer to gappletviewer, jarsigner to
15736         gjarsigner and keytool to gkeytool.
15737         * doc/tools.texinfo: Add note about tool exectable names.
15738         * tools/Makefile.am: Rename appletviewer to gappletviewer,
15739         jarsigner to gjarsigner and keytool to gkeytool.
15740         * tools/appletviewer.in: Rename ...
15741         * tools/gappletviewer.in: New file.
15742         * tools/jarsigner.in: Rename ...
15743         * tools/gjarsigner.in: New file.
15744         * tools/keytool.in: Rename ...
15745         * tools/gkeytool.in: New file.
15746         * tools/toolwrapper.c: Simplify TOOLS_ZIP macro.
15747
15748 2006-06-15  Andrew John Hughes  <gnu_andrew@member.fsf.org>
15749
15750         * javax/management/AttributeList.java:
15751         Add serialization UID.
15752         * javax/management/DynamicMBean.java:
15753         New file.
15754         * javax/management/JMRuntimeException.java:
15755         Add serialization UID and correct name
15756         of serialized field.
15757         * javax/management/MBeanInfo.java: New file.
15758         
15759 2006-06-15  Andrew John Hughes  <gnu_andrew@member.fsf.org>
15760
15761         * javax/management/AttributeList.java,
15762         * javax/management/JMRuntimeException.java,
15763         * javax/management/RuntimeOperationsException.java:
15764         New files.
15765         
15766 2006-06-15  Lillian Angel  <langel@redhat.com>
15767
15768         * java/awt/font/TextLayout.java:
15769         DEFAULT_CARET_POLICY changed to be public static final.
15770
15771 2006-06-15  Tania Bento  <tbento@redhat.com>
15772
15773         * javax/swing/plaf/metal/MetalScrollButton.java
15774         (MetalScrollButton): Should set 'focusable' to false.
15775
15776 2006-06-15  Tania Bento  <tbento@redhat.com>
15777
15778         * javax/swing/plaf/basic/BasicArrowButton.java
15779         (BasicArrowButton): Should set 'focusable' to false.
15780         (BasicArrowButton): Should set 'focusable' to false.
15781
15782 2006-06-15  Mark Wielaard  <mark@klomp.org>
15783
15784         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
15785         (getGraphicsConfiguration): Return default screen device.
15786         * gnu/java/awt/peer/gtk/GtkVolatileImage.java (component):
15787         New field.
15788         (GtkVolatileImage): Record initiating component.
15789         * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
15790         (getDeviceConfiguration): Return configuration of image component.
15791
15792 2006-06-15  Mark Wielaard  <mark@klomp.org>
15793
15794         * java/awt/geom/GeneralPath.java (closePath): Return if path already
15795         closed.
15796
15797 2006-06-15  Mark Wielaard  <mark@klomp.org>
15798
15799         * java/awt/BasicStroke.java (createStrokedShape): Call getPathIterator
15800         with null argument.
15801
15802 2006-06-15  Kyle Galloway  <kgallowa@redhat.com>
15803
15804         * gnu/classpath/jdwp/event/filters/ExceptionOnlyFilter.java
15805         (matches): Added explicit brackets to return statement.
15806
15807 2006-06-15  Tania Bento  <tbento@redhat.com>
15808
15809         * javax/swing/JRadioButtonMenuItem.java
15810         (JRadioButtonMenuItem): Should set 'focusable' to false.
15811
15812 2006-06-15  Tania Bento  <tbento@redhat.com>
15813
15814         * javax/swing/JCheckBoxMenuItem.java
15815         (JCheckBoxMenuItem): Should set 'focusable' to false.
15816
15817 2006-06-15  Tania Bento  <tbento@redhat.com>
15818
15819         * javax/swing/AbstractButton.java:
15820         (AbstractButton): 'Focusable' should be set to true and not false.
15821
15822 2006-06-15  Andrew John Hughes  <gnu_andrew@member.fsf.org>
15823
15824         * java/lang/management/ManagementFactory.java:
15825         Add private constructor to prevent instance creation.
15826         * java/lang/management/ManagementPermission.java:
15827         Make final.
15828         
15829 2006-06-15  Francis Kung  <fkung@redhat.com>
15830
15831         * javax/swing/plaf/basic/BasicArrowButton.java:
15832         (BasicArrowButton): move client property for not triggering out 
15833         of consturctor
15834         * javax/swing/plaf/basic/BasicComboBoxUI.java:
15835         (configureArrowButton): set client property for not triggering
15836         (installUI): set client property for not triggering
15837         * javax/swing/plaf/basic/BasicLookAndFeel.java:
15838         (PopupHelper.mousePressed): check client property for triggering
15839
15840 2006-06-15  Roman Kennke  <kennke@aicas.com>
15841
15842         PR 28037
15843         * javax/swing/RepaintManager.java
15844         (blitBuffer): Substract coordinates the other way around.
15845
15846 2006-06-15  Roman Kennke  <kennke@aicas.com>
15847
15848         PR 28027
15849         * javax/swing/JComponent.java
15850         (paintImmediately2): Only paint component without double buffering
15851         when all of it's parents have also double buffering disabled.
15852         (isPaintingDoubleBuffered): New helper method.
15853
15854 2006-06-15  David Gilbert  <david.gilbert@object-refinery.com>
15855
15856         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
15857         (draw(Shape)): Pass null transform to getPathIterator(),
15858         (getClip): Likewise,
15859         * gnu/java/print/PostscriptGraphics2D.java
15860         (drawStringShape): Pass null transform to getPathIterator(),
15861         (writeShape): Likewise,
15862         * java/awt/Shape.java: Small updates to API docs.
15863
15864 2006-06-14  Andrew John Hughes  <gnu_andrew@member.fsf.org>
15865
15866         * javax/naming/InitialContext.java:
15867         (list(javax.naming.Name)): Fixed generic type.
15868         (list(String)): Likewise.
15869         (listBindings(javax.naming.Name)): Likewise.
15870         (listBindings(String)): Likewise.
15871         
15872 2006-06-14  Roman Kennke  <kennke@aicas.com>
15873
15874         * javax/swing/plaf/basic/BasicComboBoxUI.java
15875         (getAccessibleChildrenCount): Implemented.
15876         (getAccessibleChild): Implemented.
15877         (isNavigationKey): Implemented.
15878         (KeyHandler.keyPressed): Implemented.
15879
15880 2006-06-14  Andrew John Hughes  <gnu_andrew@member.fsf.org>
15881
15882         * java/lang/management/ManagementPermission.java:
15883         Added serialization UID.
15884         * javax/management/Attribute.java: Likewise.
15885         * javax/management/MBeanException.java,
15886         * javax/management/ReflectionException.java:
15887         Added serialization UID and changed to extend
15888         javax.management.JMException.
15889         
15890 2006-06-14  Lillian Angel  <langel@redhat.com>
15891
15892         * java/awt/Component.java
15893         (ignoreOldMouseEvents): Made static.
15894         (translateEvent): Made static.
15895         * java/awt/TextComponent.java
15896         (ignoreOldMouseEvents): Made static.
15897
15898 2006-06-14  Mark Wielaard  <mark@klomp.org>
15899
15900         * gnu/java/awt/peer/gtk/ComponentGraphics.java (drawLine): Lock and
15901         call super.
15902         (drawRect): Likewise.
15903         (fillRect): Likewise.
15904
15905 2006-06-14  Lillian Angel  <langel@redhat.com>
15906
15907         * java/awt/Component.java
15908         (ignoreOldMouseEvents): New helper function.
15909         (translateEvent): Changed to be non-static and use new helper.
15910         * java/awt/TextComponent.java
15911         (ignoreOldMouseEvents): New helper function.
15912
15913 2006-06-14  Roman Kennke  <kennke@aicas.com>
15914
15915         * javax/swing/RepaintManager.java
15916         (MERGE_REGIONS): New constant flag.
15917         (commitBuffer): Exclude the merging of regions by default. This
15918         was causing painting artifacts in some applications, especially
15919         when different areas of the GUI are updated synchronously.
15920
15921 2006-06-14  Roman Kennke  <kennke@aicas.com>
15922
15923         * examples/gnu/classpath/examples/awt/AicasGraphicsBenchmark.java:
15924         New file. This is a benchmark for AWT 1.1 style graphics operations.
15925         * examples/gnu/classpath/examples/awt/palme.gif: New file.
15926         * examples/gnu/classpath/examples/awt/aicas.gif: New file.
15927
15928 2006-06-14  Tom Tromey  <tromey@redhat.com>
15929
15930         * java/io/File.java (getParent): Javadoc fix.
15931
15932 2006-06-14  Tom Tromey  <tromey@redhat.com>
15933
15934         * gnu/java/net/loader/JarURLLoader.java (initialize): Skip our own
15935         jar.
15936         * gnu/java/net/IndexListParser.java (IndexListParser): Call clearAll
15937         when index entry does not exist.
15938
15939 2006-06-14  Tania Bento  <tbento@redhat.com>
15940
15941         * javax/swing/AbstractButton.java
15942         (AbstractButton): Set focusable to false, not true.
15943
15944 2006-06-14  Tania Bento  <tbento@redhat.com>
15945
15946         * javax/swing/JMenuItem.java
15947         (init): Changed horizontalAlignment from JButton.LEFT to JButton.LEADING.
15948
15949 2006-06-14  Tania Bento  <tbento@redhat.com>
15950
15951         * javax/swing/JCheckBoxMenuItem.java
15952         (JCheckBoxMenuItem): Added check to set the selected state.
15953
15954 2006-06-14  Roman Kennke  <kennke@aicas.com>
15955
15956         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
15957         (cairoDrawLine): New native method.
15958         (cairoDrawRect): New native method.
15959         (cairoFillRect): New native method.
15960         (drawLine): Use special native method.
15961         (drawRect): Use special native method.
15962         (fillRect): Use special native method.
15963         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
15964         (cairoDrawLine): New native method.
15965         (cairoDrawRect): New native method.
15966         (cairoFillRect): New native method.
15967         * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Regenerated.
15968
15969 2006-06-14  Mark Wielaard  <mark@klomp.org>
15970
15971         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c
15972         (Java_gnu_java_awt_peer_gtk_GtkImage_getPixels): Return when array
15973         cannot be allocated.
15974
15975 2006-06-14  Tom Tromey  <tromey@redhat.com>
15976
15977         PR java/28024:
15978         * m4/acinclude.m4 (REGEN_WITH_JAY): Use backquote, not $(...).
15979         * configure.ac (QT_INCLUDE_DIR): Use backquote, not $(...).
15980
15981 2006-06-14  Roman Kennke  <kennke@aicas.com>
15982
15983         * javax/swing/JComponent.java
15984         (isRepainting): New flag.
15985         (paintImmediately2): Set isRepainting flag.
15986         (getRoot): Removed obsolete method.
15987         (paintDoubleBuffered): Differenciate between paint calls from
15988         RepaintManager and from AWT refresh. Call
15989         RepaintManager.commitBuffer with this and local coordinates.
15990         (findOpaqueParent): Stop searching at heavyweight component. These
15991         are always opaque.
15992         (paintChildrenOptimized): Don't paint heavyweight children. These
15993         should care for themselves.
15994         (paintChildrenWithOverlap): Don't paint heavyweight children. These
15995         should care for themselves.
15996         * javax/swing/RepaintManager.java
15997         (getOffscreenBuffer): Associate offscreen buffer with toplevel
15998         windows only.
15999         (getVolatileOffscreenBuffer): Associate offscreen buffer with
16000         toplevel windows only.
16001         (getRoot): Removed obsolete method.
16002         (commitBuffer): Blit buffer on nearest heavyweight.
16003         (blitBuffer): New helper method.
16004         (getHeavyweightParent): New helper method.
16005         (commitRemainingBuffers): Call blitBuffer instead of commitBuffer.
16006         * javax/swing/SwingUtilities.java
16007         (convertRectangleToAncestor): New helper method.
16008
16009 2006-06-14  Raif S. Naffah  <raif@swiftdsl.com.au>
16010
16011         * gnu/javax/security/auth/login/ConfigFileTokenizer.java: Fixed a typo.
16012         Condition all trace/debug code based on Configuration.DEBUG.
16013         Use logger instead of STDOUT and ot STDERR.
16014
16015 2006-06-13  Lillian Angel  <langel@redhat.com>
16016
16017         * native/plugin/gcjwebplugin.cc
16018         (NP_Initialize): Removed code to create whitelist file.
16019         (GCJ_New): Added code to create whitelist file.
16020         (plugin_user_trusts_documentbase): Fixed error message.
16021
16022 2006-06-13  David Gilbert  <david.gilbert@object-refinery.com>
16023
16024         * javax/swing/plaf/metal/MetalIconFactory.java
16025         (HorizontalSliderThumbIcon.gradientMask): Modified by 1 pixel to 
16026         prevent overwriting border,
16027         (VerticalSliderThumbIcon.gradientMask): Likewise.
16028
16029 2006-06-13  Andrew John Hughes  <gnu_andrew@member.fsf.org>
16030
16031         * javax/management/AttributeNotFoundException.java,
16032         * javax/management/InvalidAttributeValueException.java,
16033         * javax/management/JMException.java,
16034         * javax/management/MBeanException.java,
16035         * javax/management/OperationsException.java,
16036         * javax/management/ReflectionException.java:
16037         New files.
16038         
16039 2006-06-13  Roman Kennke  <kennke@aicas.com>
16040
16041         * java/awt/Component.java
16042         (dispatchEvent): Handle events even when consumed (this might be
16043         picked up later in the dispatching chain).
16044         * javax/swing/plaf/basic/BasicLookAndFeel.java
16045         (PopupHelper.mousePressed): Don't consume event. Only close popup
16046         when target component isn't flagged as DONT_CANCEL_POPUP.
16047         (DONT_CANCEL_POPUP): New package private constant for flagging
16048         special components that don't trigger popup closing.
16049         * javax/swing/plaf/basic/BasicArrowButton.java
16050         (BasicArrowButton): Set client property for not triggering closing
16051         of popups.
16052
16053 2006-06-13  Lillian Angel  <langel@redhat.com>
16054
16055         * java/awt/image/PixelGrabber.java
16056         (PixelGrabber): Added to API documentation.
16057
16058 2006-06-13  Keith Seitz  <keiths@redhat.com>
16059
16060         From Kyle Galloway  <kgallowa@redhat.com>:
16061         * gnu/classpath/jdwp/event/filters/ExceptionOnlyFilter.java
16062         (ExceptionOnlyFilter): Allow null refId.
16063
16064         * gnu/classpath/jdwp/event/BreakpointEvent.java: Added _instance for
16065         compatibility with filters.
16066         (getParameter): Modified to allow access to above. 
16067
16068 2006-06-13  Sven de Marothy  <sven@physto.se>
16069
16070         * gnu/java/awt/peer/gtk/CairoSurface.java
16071         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
16072         (create): Use stride in ints.
16073
16074 2006-06-13  Keith Seitz  <keiths@redhat.com>
16075
16076         From Kyle Galloway  <kgallowa@redhat.com>:
16077         * gnu/classpath/jdwp/event/ClassUnloadEvent.java: New file.
16078
16079 2006-06-13  David Gilbert  <david.gilbert@object-refinery.com>
16080
16081         * javax/swing/plaf/basic/BasicSliderUI.java
16082         (calculateThumbSize): Removed unnecessary code,
16083         (calculateThumbLocation): Shift position by one,
16084         (calculateTickRect): Shift position by one when ticks are displayed,
16085         (calculateLabelRect): Calculate rect differently according to whether
16086         or not the labels are visible,
16087         (paintTrack): Shift track down one pixel.
16088
16089 2006-06-13  Lillian Angel  <langel@redhat.com>
16090
16091         * java/awt/image/PixelGrabber.java
16092         (PixelGrabber): Removed check to throw exception. JDK does
16093         not do this.
16094         (startGrabbing): Removed line to print stacktrace. 
16095
16096 2006-06-13  Mark Wielaard  <mark@klomp.org>
16097
16098         * gnu/java/awt/peer/gtk/CairoGraphics2D.java (drawImage): Don't
16099         allocate unused AffineTransform. Add comment about conversion to
16100         BufferedImage.
16101         * gnu/java/awt/peer/gtk/ComponentGraphics.java (drawImage):
16102         Recognize identity transform as "easy". Always convert to
16103         BufferedImage before calling super.
16104
16105 2006-06-13  Roman Kennke  <kennke@aicas.com>
16106
16107         * java/awt/Component.java
16108         (getGraphics): Translate child graphics correctly.
16109         (dispatchEvent): Only dispatch event if it hasn't been consumed
16110         yet by the global dispatcher.
16111         * javax/swing/plaf/basic/BasicLookAndFeel.java
16112         Added some API docs.
16113         (PopupHelper.mousePressed): Consume the event after closing
16114         opened menus.
16115
16116 2006-06-13  David Gilbert  <david.gilbert@object-refinery.com>
16117
16118         * javax/swing/plaf/basic/BasicCheckBoxUI.java: Source code formatting 
16119         changes only,
16120         * javax/swing/plaf/basic/BasicComboBoxUI.java: Likewise,
16121         * javax/swing/plaf/basic/BasicComboPopup.java: Likewise,
16122         * javax/swing/plaf/basic/BasicFileChooserUI.java: Likewise,
16123         * javax/swing/plaf/basic/BasicInternalFrameUI.java: Likewise,
16124         * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise,
16125         * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise,
16126         * javax/swing/plaf/basic/BasicOptionPaneUI.java: Likewise,
16127         * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise,
16128         * javax/swing/plaf/basic/BasicRadioButtonUI.java: Likewise,
16129         * javax/swing/plaf/basic/BasicScrollBarUI.java: Likewise,
16130         * javax/swing/plaf/basic/BasicSliderUI.java: Likewise,
16131         * javax/swing/plaf/basic/BasicTableHeaderUI.java: Likewise,
16132         * javax/swing/plaf/basic/BasicTableUI.java: Likewise,
16133         * javax/swing/plaf/basic/BasicTextUI.java: Likewise,
16134         * javax/swing/plaf/basic/BasicToolBarUI.java: Likewise,
16135         * javax/swing/plaf/basic/BasicTreeUI.java: Likewise.
16136
16137 2006-06-12  Sven de Marothy  <sven@physto.se>
16138
16139         * java/awt/font/LineBreakMeasurer.java): Implement.
16140
16141 2006-06-12  Keith Seitz  <keiths@redhat.com>
16142
16143         From Kyle Galloway  <kgallowa@redhat.com>:
16144         * gnu/classpath/jdwp/event/SingleStepEvent.java: New file.
16145
16146 2006-06-12  Keith Seitz  <keiths@redhat.com>
16147
16148         From Kyle Galloway  <kgallowa@redhat.com>:
16149         * gnu/classpath/jdwp/event/MethodEntryEvent.java: New file.
16150
16151         * gnu/classpath/jdwp/event/MethodExitEvent.java: New file.
16152
16153 2006-06-12  Roman Kennke  <kennke@aicas.com>
16154
16155         * javax/swing/JComponent.java
16156         (paintDoubleBuffered): Correctly translate and clip the Graphics
16157         instance.
16158         (clipAndTranslateGraphics): New helper method.
16159
16160 2006-06-12  Roman Kennke  <kennke@aicas.com>
16161
16162         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
16163         (copy): Use getClip() to copy the clip. Make copied transform
16164         null when original transform is null. Set clip here.
16165         (setTransform): Correctly update the clip.
16166         (setTransformImpl): New method. Updates the actual transform for
16167         Cairo.
16168         (transform): Correctly update the clip.
16169         (translate): Correctly update the clip.
16170         (clip): Handle null clip and argument correctly.
16171         (clipRect): Avoid creating new Rectangle objects.
16172         (getClip): Get the correct copy of the clip.
16173         (setClip): Correctly handle null argument.
16174         * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java
16175         (CairoSurfaceGraphics): Don't set the clip here. The clip can either
16176         be null or whatever has been set in copy().
16177         * gnu/java/awt/peer/gtk/ComponentGraphics.java
16178         (drawImage): Add translation to the image coordinates.
16179         * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
16180         (VolatileImageGraphics): Don't set clip here. The clip can either
16181         be null or whatever has been set in copy().
16182
16183 2006-06-12  Keith Seitz  <keiths@redhat.com>
16184
16185         From Kyle Galloway  <kgallowa@redhat.com>:
16186         * gnu/classpath/jdwp/event/filters/ExceptionOnlyFilter.java
16187         (forCaught): Removed unused/unnecessary method.
16188         (forUncaught): Likewise.
16189         (matches): Implement.
16190
16191 2006-06-12  Keith Seitz  <keiths@redhat.com>
16192
16193         From Kyle Galloway  <kgallowa@redhat.com>:
16194         * gnu/classpath/jdwp/event/ExceptionEvent.java: New file.
16195
16196 2006-06-12  Keith Seitz  <keiths@redhat.com>
16197
16198         From Kyle Galloway  <kgallowa@redhat.com>:
16199         * gnu/classpath/jdwp/event/Event.java: Added constants for
16200         type.
16201         (getParameter): Changed parameter type from Class to int.
16202         * gnu/classpath/jdwp/event/BreakpointEvent.java (getParameter):
16203         Changed from Class type to constants.
16204         * gnu/classpath/jdwp/event/ClassPrepareEventEvent.java (getParameter):
16205         Likewise.
16206         * gnu/classpath/jdwp/event/ThreadEndEvent.java (getParameter):
16207         Likewise.
16208         * gnu/classpath/jdwp/event/ThreadStartEvent.java (getParameter):
16209         Likewise.
16210         * gnu/classpath/jdwp/event/VmDeathEvent.java (getParameter):
16211         Likewise.
16212         * gnu/classpath/jdwp/event/VmInitEvent.java (getParameter):
16213         Likewise.
16214         * gnu/classpath/jdwp/event/ClassMatchFilter.java (matches):
16215         Likewise.
16216         * gnu/classpath/jdwp/event/ClassOnlyFilter.java (matches):
16217         Likewise.
16218         * gnu/classpath/jdwp/event/InstanceOnlyFilter.java (matches):
16219         Likewise.
16220         * gnu/classpath/jdwp/event/ThreadOnlyFilter.java (matches):
16221         Likewise.
16222
16223 2006-06-12  Lillian Angel  <langel@redhat.com>
16224
16225         * tools/gnu/classpath/tools/appletviewer/StandaloneAppletWindow.java
16226         (StandaloneAppletWindow): Changed title of standalone window.
16227
16228 2006-06-12  Lillian Angel  <langel@redhat.com>
16229
16230         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
16231         (layoutContainer): Added missing selectedComponent assignment.
16232
16233 2006-06-12  Lillian Angel  <langel@redhat.com>
16234
16235         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
16236         (layoutContainer): Added check to prevent exception.
16237
16238 2006-06-12  Tom Tromey  <tromey@redhat.com>
16239
16240         * java/lang/Thread.java (uncaughtException): Javadoc fix.
16241
16242 2006-06-12  Mark Wielaard  <mark@klomp.org>
16243
16244         * gnu/java/awt/peer/gtk/ComponentGraphics.java (hasLock):
16245         New static field.
16246         (ONE): Likewise.
16247         (lock): New method.
16248         (unlock): Likewise.
16249         (draw): Use lock() and unlock().
16250         (fill): Likewise.
16251         (drawRenderedImage): Likewise.
16252         (drawImage): Likewise.
16253         (drawGlyphVector): Likewise.
16254
16255 2006-06-12  Roman Kennke  <kennke@aicas.com>
16256
16257         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
16258         (drawPixels): Include alpha in parameter list.
16259         (cairoFill): Include alpha in parameter list.
16260         (setComposite): Don't modify the color.
16261         (draw(Shape))): Use fill when the current composite has an alpha
16262         of != 1.0, so that the stroked shaped will be composited.
16263         (fill(Shape)): Call cairoFill() with alpha.
16264         (drawImage): Call drawPixels or drawSurface with alpha.
16265         (drawGlyphVector): When composite alpha is != 1.0, render the
16266         outline using fill() to enable compositing for text.
16267         (drawRaster): Call drawPixels with alpha.
16268         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
16269         (nativeDrawSurface): Include alpha in parameter list.
16270         (drawSurface): Include alpha in parameter list. Pass it to
16271         nativeDrawSurface().
16272         * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h
16273         * include/gnu_java_awt_peer_gtk_CairoSurface.h:
16274         Regenerated.
16275         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
16276         (drawPixels): Handle possible alpha for compositing.
16277         (cairoFill): Likewise.
16278         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
16279         (nativeDrawSurface): Handle possible alpha for compositing.
16280
16281 2006-06-12  Mark Wielaard  <mark@klomp.org>
16282
16283         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java (streamImage):
16284         Notify data when completely done. Wait for worker thread to finish.
16285         Rethrow any pending exceptions.
16286         (exception): New field.
16287         (run): Store pending exception.
16288
16289 2006-06-12  Andrew John Hughes  <gnu_andrew@member.fsf.org>
16290
16291         * java/lang/management/ManagementPermission.java:
16292         New file.
16293         
16294 2006-06-12  Raif S. Naffah  <raif@swiftdsl.com.au>
16295
16296         * doc/tools.texinfo: Replaced original author with "The GNU Classpath Team".
16297
16298 2006-06-12  Raif S. Naffah  <raif@swiftdsl.com.au>
16299
16300         * gnu/javax/security/auth/login/ConfigFileParser.java (validateClassName):
16301         Use String.charAt().
16302
16303 2006-06-11  Thomas Fitzsimmons  <fitzsim@redhat.com>
16304
16305         * doc/tools.texinfo
16306         (Applet Tools): New chapter.
16307         (appletviewer Tool): New section.
16308         (gcjwebplugin): New section.
16309
16310 2006-06-11  Mark Wielaard  <mark@klomp.org>
16311
16312         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java (streamImage):
16313         Takes GdkPixbufWriter.
16314         (GdkPixbufWriter): Implements Runnable.
16315         (write(IIOMetadata,IIOImage,ImageWriteParam)): Start Thread for
16316         data processing.
16317         (DATADONE): New static final field.
16318         (data): New field.
16319         (write(byte[])): New method.
16320         (run): Likewise.
16321         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
16322         (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_initStaticState):
16323         Get dataOutputWriteID from writeClass.
16324         (stream_save_request): Change stream field to writer.
16325         (save_to_stream): Remove FIXME, call writer.
16326         (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_streamImage):
16327         Store writer.
16328
16329 2006-06-11  Andrew John Hughes  <gnu_andrew@member.fsf.org>
16330
16331         * NEWS:
16332         Mention new VM interface and use of properties.
16333         * doc/vmintegration.texinfo:
16334         Update with new gnu.java.lang.management section.
16335         * gnu/java/lang/management/RuntimeMXBeanImpl.java:
16336         New file.
16337         * java/lang/management/ManagementFactory.java:
16338         (getRuntimeMXBean()): Implemented.
16339         * vm/reference/gnu/java/lang/management/RuntimeMXBeanImpl.java:
16340         New VM interface file.
16341         
16342 2006-06-11  Raif S. Naffah  <raif@swiftdsl.com.au>
16343
16344         PR Classpath/26065
16345         * gnu/javax/security/auth/login/GnuConfiguration.java: Condition all trace/
16346         debug code based on Configuration.DEBUG.
16347         Use logger instead of STDOUT and ot STDERR.
16348         * gnu/javax/security/auth/login/ConfigFileParser.java: Likewise.
16349         * gnu/javax/crypto/sasl/SaslOutputStream.java: Likewise.
16350         * gnu/javax/crypto/sasl/SaslInputStream.java: Likewise.
16351         * gnu/javax/crypto/sasl/srp/SRPServer.java: Likewise.
16352         * gnu/javax/crypto/sasl/srp/SRPClient.java: Likewise.
16353         * gnu/javax/crypto/prng/CSPRNG.java: Likewise.
16354         * gnu/javax/crypto/pad/TBC.java: Likewise.
16355         * gnu/javax/crypto/pad/PKCS7.java: Likewise.
16356         * gnu/javax/crypto/pad/PKCS1_V1_5.java: Likewise.
16357         * gnu/javax/crypto/pad/BasePad.java: Likewise.
16358         * gnu/javax/crypto/mac/OMAC.java: Likewise.
16359         * gnu/javax/crypto/keyring/PasswordEncryptedEntry.java: Likewise.
16360         * gnu/javax/crypto/keyring/PasswordAuthenticatedEntry.java: Likewise.
16361         * gnu/javax/crypto/keyring/GnuPublicKeyring.java: Likewise.
16362         * gnu/javax/crypto/keyring/GnuPrivateKeyring.java: Likewise.
16363         * gnu/javax/crypto/keyring/EnvelopeEntry.java: Likewise.
16364         * gnu/javax/crypto/keyring/Entry.java: Likewise.
16365         * gnu/javax/crypto/key/srp6/SRPKeyPairGenerator.java: Likewise.
16366         * gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java: Likewise.
16367         * gnu/javax/crypto/jce/prng/UMacRandomSpi.java: Likewise.
16368         * gnu/javax/crypto/jce/prng/ICMRandomSpi.java: Likewise.
16369         * gnu/javax/crypto/jce/keyring/GnuKeyring.java: Likewise.
16370         * gnu/javax/crypto/cipher/Twofish.java: Likewise.
16371         * gnu/javax/crypto/cipher/Khazad.java: Likewise.
16372         * gnu/javax/crypto/cipher/Rijndael.java: Likewise.
16373         * gnu/javax/crypto/cipher/BaseCipher.java: Likewise.
16374         * gnu/javax/crypto/cipher/Anubis.java: Likewise.
16375         * gnu/java/security/Properties.java: Likewise.
16376         * gnu/java/security/x509/X509CRLEntry.java: Likewise.
16377         * gnu/java/security/x509/X509CRL.java: Likewise.
16378         * gnu/java/security/x509/ext/Extension.java: Likewise.
16379         * gnu/java/security/util/Prime2.java: Likewise.
16380         * gnu/java/security/util/Base64.java: Likewise.
16381         * gnu/java/security/sig/rsa/RSAPSSSignature.java: Likewise.
16382         * gnu/java/security/sig/rsa/EMSA_PSS.java: Likewise.
16383         * gnu/java/security/provider/PKIXCertPathValidatorImpl.java: Likewise.
16384         * gnu/java/security/pkcs/SignerInfo.java: Likewise.
16385         * gnu/java/security/pkcs/PKCS7SignedData.java: Likewise.
16386         * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java: Likewise.
16387         * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java: Likewise.
16388         * gnu/java/security/key/rsa/RSAKeyPairGenerator.java: Likewise.
16389         * gnu/java/security/key/rsa/GnuRSAPrivateKey.java: Likewise.
16390         * gnu/java/security/key/dss/DSSPrivateKey.java: Likewise.
16391         * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java: Likewise.
16392         * gnu/java/security/key/dss/DSSKeyPairGenerator.java: Likewise.
16393         * gnu/java/security/jce/sig/SignatureAdapter.java: Likewise.
16394         * gnu/java/security/jce/sig/EncodedKeyFactory.java: Likewise.
16395         * gnu/java/security/hash/Whirlpool.java: Likewise.
16396
16397 2006-06-11  Mark Wielaard  <mark@klomp.org>
16398
16399         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_FreetypeGlyphVector.c
16400         (Java_gnu_java_awt_peer_gtk_FreetypeGlyphVector_getGlyphs):
16401         Remove unused variable glyph_index.
16402
16403 2006-06-11  Mark Wielaard  <mark@klomp.org>
16404
16405         * gnu/java/awt/peer/gtk/CairoGraphics2D.java (drawImage):
16406         Don't recurse, return false if not an BufferedImage and no image
16407         source available.
16408         * gnu/java/awt/peer/gtk/ComponentGraphics.java (draw): Add
16409         end_gdk_drawing() to finally block.
16410         (fill): Likewise.
16411         (drawRenderedImage): Likewise.
16412         (drawImage): Likewise.
16413         (drawGlyphVector): Likewise.
16414
16415 2006-06-11  Raif S. Naffah  <raif@swiftdsl.com.au>
16416
16417         * doc/tools.texinfo: Added text for new -cacert command.
16418         Re-structured sections.
16419         * resource/gnu/classpath/tools/keytool/messages.properties: Added messages
16420         for -cacert command.
16421         * tools/gnu/classpath/tools/keytool/Main.java (CACERT_CMD): New constant.
16422         (_CACERT): Likewise.
16423         (shutdownThread): New field.
16424         (Main): Install shutdown thread.
16425         (main): Uninstall shutdown thread.
16426         (start): Handle new -cacert command.
16427         (getParser): Likewise.
16428         (teardown): Increased visibility.
16429         (ShutdownHook): New inner class.
16430         * tools/gnu/classpath/tools/keytool/CACertCmd.java: New file.
16431
16432 2006-06-11  Sven de Marothy  <sven@physto.se>
16433
16434         * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
16435         (setupGlyphMetrics): New method. Add glyphmetrics caching.
16436         (getOutline): Operate on the shape directly.
16437         * gnu/java/awt/peer/gtk/GdkFontPeer.java
16438         (getGlyphMetrics,putGlyphMetrics): Add GlyphMetrics caching.
16439         * include/gnu_java_awt_peer_gtk_FreetypeGlyphVector.h
16440         (getGlyph renamed getGlyphs)
16441         * java/awt/geom/AffineTransform.java
16442         (getTranslateInstance): Set fields directly.
16443         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_FreetypeGlyphVector.c
16444         (getGlyphs): Get all glyph codes at once.
16445         
16446 2006-06-11  Raif S. Naffah  <raif@swiftdsl.com.au>
16447
16448         PR Classpath/27853
16449         * gnu/javax/crypto/RSACipherImpl.java (engineDoFinal): Was short by 1 byte.
16450
16451 2006-06-11  Sven de Marothy  <sven@physto.se>
16452
16453         * java/awt/font/TextLayout.java
16454         (getLogicalHighlightShape): Add check.
16455         * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
16456         (getLogicalBounds, getGlyphPositions): Cache bounds, positions.
16457
16458 2006-06-11  Raif S. Naffah  <raif@swiftdsl.com.au>
16459
16460         * gnu/javax/security/auth/login/ConfigFileParser.java (validateClassName):
16461         Check that every component of 'cn' starts with a valid Java identifier char.
16462
16463 2006-06-10  Tom Tromey  <tromey@redhat.com>
16464
16465         * java/io/File.java (pathSeparator): Typo fix.
16466
16467 2006-06-10  Mark Wielaard  <mark@klomp.org>
16468
16469         * native/jni/gtk-peer/cairographics2d.h (cp_gtk_get_cairo_t):
16470         Removed.
16471         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
16472         Mark all unused parameters.
16473         (cp_gtk_get_cairo_t): Removed.
16474         (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoSetMatrix):
16475         Don't mix declerations and statements.
16476         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c:
16477         Mark all unused parameters.
16478         (Java_gnu_java_awt_peer_gtk_CairoSurface_nativeDrawSurface):
16479         Get cairographics2d pointer directly.
16480         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c
16481         (Java_gnu_java_awt_peer_gtk_GdkTextLayout_cairoDrawGdkTextLayout):
16482         Use jlong to pass pointer.
16483         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c:
16484         Mark all unused parameters.
16485         * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Regenerated.
16486         * include/gnu_java_awt_peer_gtk_CairoSurface.h: Regenerated.
16487         * include/gnu_java_awt_peer_gtk_ComponentGraphics.h: Regenerated.
16488         * include/gnu_java_awt_peer_gtk_GdkTextLayout.h: Regenerated.
16489         * include/gnu_java_awt_peer_gtk_GtkVolatileImage.h: Regenerated.
16490         * include/java_io_VMFile.h: Regenerated.
16491
16492 2006-06-10  Roman Kennke  <kennke@aicas.com>
16493
16494         * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
16495         (VolatileImageGraphics(VolatileImageGraphics)): Use clipRect()
16496         instead of setClip(), so that an already present clip is intersected
16497         and not resetted.
16498
16499 2006-06-10  Mark Wielaard  <mark@klomp.org>
16500
16501         * gnu/java/awt/peer/gtk/GdkFontPeer.java (GdkFontLineMetrics):
16502         Call getSize() to avoid accessor method.
16503
16504 2006-06-10  Mark Wielaard  <mark@klomp.org>
16505
16506         * javax/swing/text/html/HTMLDocument.java (addSpecialElement):
16507         Qualify ElementSpec.
16508
16509 2006-06-10  Mark Wielaard  <mark@klomp.org>
16510
16511         * lib/.cvsignore: Add sun.
16512         * lib/Makefile.am (dist-hook): Likewise.
16513
16514 2006-06-10  Roman Kennke  <kennke@aicas.com>
16515
16516         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
16517         * gnu/java/awt/peer/gtk/CairoSurface.java
16518         * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java
16519         * gnu/java/awt/peer/gtk/ComponentGraphics.java
16520         * gnu/java/awt/peer/gtk/GtkVolatileImage.java
16521         * native/jni/gtk-peer/cairographics2d.h
16522         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
16523         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
16524         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
16525         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c:
16526         Changed method signatures and calls to pass native pointers directly
16527         into the JNI code, in order to avoid costly lookups on each
16528         JNI call.
16529         * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h,
16530         * include/gnu_java_awt_peer_gtk_CairoSurface.h,
16531         * include/gnu_java_awt_peer_gtk_ComponentGraphics.h,
16532         * include/gnu_java_awt_peer_gtk_GtkVolatileImage.h:
16533         Regenerated
16534
16535 2006-06-10  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
16536
16537         PR 27973
16538         * javax/swing/text/DefaultStyledDocument.java 
16539         (ElementBuffer.insertContentTag):
16540         Do not recreate leaves and do not remove elements here. 
16541
16542 2006-06-10  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
16543
16544         * javax/swing/text/html/HTMLDocument.java
16545         (HTMLReader.HiddenAction): Implemented.
16546
16547 2006-06-10  Roman Kennke  <kennke@aicas.com>
16548
16549         * javax/swing/RepaintManager.java
16550         (getVolatileOffscreenBuffer): Store the created buffer.
16551         * javax/swing/JComponent.java
16552         (paintDoubleBuffered): Try to use a volatile offscreen buffer
16553         for better performance.
16554
16555 2006-06-10  Roman Kennke  <kennke@aicas.com>
16556
16557         * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
16558         (VolatileImageGraphics(VolatileImageGraphics)): Initialize native
16559         context correctly.
16560         (getRealBounds): Overridden to return the correct bounds.
16561
16562 2006-06-10  Roman Kennke  <kennke@aicas.com>
16563
16564         * javax/swing/plaf/metal/MetalButtonUI.java
16565         (update): Fixed to paint the gradient under the correct conditions.
16566         (updateWidthGradient): Removed.
16567         (isToolbarButton): New helper method.
16568         (isDrawingGradient): New helper method.
16569
16570 2006-06-09  Roman Kennke  <kennke@aicas.com>
16571
16572         * javax/swing/JTabbedPane.java
16573         (setSelectedIndex): Don't change the visibility of the components,
16574         this is done by the UI class.
16575         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
16576         (TabbedPaneLayout.layoutContainer): Change visibility of component
16577         here, depending on the selected index. Only do this if the new
16578         selected component is not null. Some programs seem to expect
16579         this.
16580         (visibleComponent): New field.
16581         (getVisibleComponent): Changed to return visibleComponent field.
16582         (setVisibleComponent): Changed to set the visibility of
16583         the old and new visible component.
16584
16585 2006-06-09  Roman Kennke  <kennke@aicas.com>
16586
16587         * javax/swing/JComponent.java
16588         (paintChildrenOptimized): Paint component with a new Graphics
16589         object to protect the other painting code from modifications
16590         done in that object, and avoid cleanup ops on possibly dispose()ed
16591         Graphics object.
16592
16593 2006-06-09  Sven de Marothy  <sven@physto.se>
16594
16595         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
16596         (Java_gnu_java_awt_peer_gtk_ComponentGraphics_disposeSurface):
16597         Use GTK locks while disposing (Xlib) surface.
16598
16599 2006-06-09  Tom Tromey  <tromey@redhat.com>
16600
16601         * lib/Makefile.am (install-data-local): Copy 'sun' files.
16602         (uninstall-local): Delete 'sun' directory.
16603         (glibj.zip): Include 'sun' classes.
16604         (clean-local): Delete 'sun' directory.
16605         * lib/gen-classlist.sh.in: Search 'sun' subdirectories.
16606
16607 2006-06-09  Roman Kennke  <kennke@aicas.com>
16608
16609         * gnu/java/awt/java2d/AbstractGraphics2D.java
16610         (drawImage): Fixed scaling.
16611         (fillShape): Removed offset handling.
16612         (fillShapeImpl): Limit scanlining to device bounds.
16613         (getSegments): Removed offset handling.
16614         * gnu/java/awt/java2d/PolyEdge.java
16615         (toString): Include isClip flag in output.
16616
16617 2006-06-08  Sven de Marothy  <sven@physto.se>
16618
16619         * java/awt/font/TextLayout.java
16620         (getOutline): Allow null transform.
16621
16622 2006-06-08  Sven de Marothy  <sven@physto.se>
16623
16624         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
16625         (drawString): Use TextLayout instead of GlyphVector.
16626
16627 2006-06-08  Sven de Marothy  <sven@physto.se>
16628
16629         * java/text/Bidi.java: Treat WS as neutral for rules N1 & N2.
16630         * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
16631         New constructor for bidirectionality.
16632         (getGlyphMetrics): Return whitespace glyphs.
16633         (getLogicalBounds): Offset rectangles to correct positions.
16634         * gnu/java/awt/peer/gtk/GdkFontPeer.java
16635         (getBaselineFor): Default to ROMAN_BASELINE.
16636         (GdkFontLineMetrics): Guess some values for underline and 
16637         strikethrough.
16638         (layoutGlyphVector): Use bidirectionality.
16639         * java/awt/font/TextLayout.java: Implement, mostly.
16640         
16641 2006-06-09  Anthony Green  <green@redhat.com>
16642
16643         PR classpath/27888:
16644         * javax/swing/text/GapContent.java (binarySearch): Use unsigned shift.
16645         * java/util/Collections.java (binarySearch): Use unsigned shift.
16646         * java/util/Arrays.java (binarySearch): Use unsigned shift.
16647
16648 2006-06-09  Tom Tromey  <tromey@redhat.com>
16649
16650         * tools/.cvsignore: Added .deps.
16651
16652 2006-06-09  Kazuya Ujihara  <ujihara@aurora.dti.ne.jp>
16653
16654         PR classpath/27966:
16655         * gnu/javax/security/auth/login/ConfigFileParser.java
16656         (validateClassName): Quote '.' in regexp.
16657
16658 2006-06-09  Tom Tromey  <tromey@redhat.com>
16659
16660         PR classpath/23863:
16661         * native/fdlibm/dtoa.c (_dtoa): Free contents of _Jv_reent when
16662         finished.
16663         * native/fdlibm/mprec.c: New version from newlib.  Commented out
16664         some includes.  Added <assert.h>.
16665         (_reent, _Bigint): New defines.
16666         (_REENT_CHECK_MP, _REENT_MP_FREELIST, _REENT_MP_P5S): Likewise.
16667         (__ULong, __Long): New types.
16668         (_calloc_r): New function.
16669         (Balloc): Dynamically add new _freelist entries as needed.
16670         * native/fdlibm/mprec.h (struct _Jv_Bigint): Don't use
16671         MAX_BIGNUMS to size _x[].
16672         (struct _Jv_reent): _freelist now a _Jv_Bigint**.  Removed
16673         _allocation_map, num.  Added _max_k.
16674
16675 2006-06-09  Roman Kennke  <kennke@aicas.com>
16676
16677         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
16678         (drawGlyphVector): Added fallback for non-FreetypeGlyphVector
16679         implementations.
16680
16681 2006-06-09  David Gilbert  <david.gilbert@object-refinery.com>
16682
16683         * java/awt/image/BufferedImage.java
16684         (BufferedImage(int, int, int)): Added API docs,
16685         (getProperty(String)): Return correct value for undefined properties,
16686         (getPropertyNames()): Added comments and removed FIXME.
16687
16688 2006-06-09  Thomas Fitzsimmons  <fitzsim@redhat.com>
16689
16690         * native/plugin/gcjwebplugin.cc (PLUGIN_ERROR_THREE): New macro.
16691         (NP_Initialize): Use PLUGIN_ERROR_THREE in place of g_strconcat.
16692
16693 2006-06-09  Francis Kung  <fkung@redhat.com>
16694
16695         * javax/swing/plaf/basic/BasicComboBoxRenderer.java:
16696         (getPreferredSize): Return correct height for null or empty 
16697         items.
16698
16699 2006-06-09  David Gilbert  <david.gilbert@object-refinery.com>
16700
16701         * java/awt/datatransfer/DataFlavor.java
16702         (readExternal): Mark as stub,
16703         (writeExternal): Likewise,
16704         * java/awt/dnd/DropTargetContext.java
16705         (dropComplete): Mark as stub,
16706         (acceptDrag): Likewise,
16707         (rejectDrag): Likewise,
16708         (acceptDrop): Likewise,
16709         (rejectDrop): Likewise,
16710         (getCurrentDataFlavors): Likewise,
16711         (getTransferable): Likewise,
16712         * java/awt/dnd/DropTargetDropEvent.java
16713         (dropComplete): Mark as stub.
16714
16715 2006-06-09  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
16716
16717         * gnu/javax/swing/text/html/parser/SmallHtmlAttributeSet.java
16718         (constructor): Do not lowercase the values.
16719         * javax/swing/text/html/HTMLDocument.java
16720         (HTMLReader.addSpecialElement): Implemented.
16721         * examples/gnu/classpath/examples/swing/HtmlDemo.java: New file.
16722
16723 2006-06-09  Raif S. Naffah  <raif@swiftdsl.com.au>
16724
16725         On behalf of Matthew Wringe <mwringe@redhat.com>
16726         * gnu/java/security/Registry.java (ISO10126_PAD): New constant.
16727         * gnu/javax/crypto/pad/ISO10126.java: New class.
16728         * gnu/javax/crypto/pad/PadFactory.java (names): New field.
16729         (getInstance): Added support for ISO-10126 scheme.
16730         (getNames): Likewise.
16731         Cache result for speed.
16732
16733 2006-06-09  Raif S. Naffah  <raif@swiftdsl.com.au>
16734
16735         * gnu/javax/crypto/pad/BasePad.java (selfTest): Re-factored to allow more
16736         flexible self-test by sub-classes.
16737         (test1BlockSize): New method.
16738
16739 2006-06-09  David Gilbert  <david.gilbert@object-refinery.com>
16740
16741         * javax/swing/plaf/basic/BasicLookAndFeel.java
16742         (initComponentDefaults): Corrected 'ScrollBar.focusInputMap' entry,
16743         * javax/swing/plaf/basic/BasicScrollBarUI.java
16744         (installKeyboardActions): Implemented,
16745         (uninstallKeyboardActions): Implemented,
16746         (getInputMap): New method,
16747         (getActionMap): New method,
16748         (createActionMap): New method,
16749         (installUI): Call installKeyboardActions(),
16750         (uninstallUI): Call uninstallKeyboardActions().
16751         
16752 2006-06-09  David Gilbert  <david.gilbert@object-refinery.com>
16753
16754         * javax/swing/plaf/basic/BasicScrollPaneUI.java
16755         (getActionMap): Use correct key to store action map.
16756
16757 2006-06-09  Jeroen Frijters  <jeroen@frijters.net>
16758
16759         * gnu/java/awt/font/opentype/truetype/VirtualMachine.java
16760         (executeInstruction): Added NOT support.
16761
16762 2006-06-09  Jeroen Frijters  <jeroen@frijters.net>
16763
16764         * sun/reflect/annotation/AnnotationInvocationHandler.java:
16765         New file.
16766
16767 2006-06-08  Tom Tromey  <tromey@redhat.com>
16768
16769         * java/text/Bidi.java (resolveNeutralTypes): Set j'th slot
16770         of 'types'.
16771
16772 2006-06-09  Andrew John Hughes  <gnu_andrew@member.fsf.org>
16773
16774         * java/lang/management/RuntimeMXBean.java:
16775         New file.
16776         
16777 2006-06-08  Lillian Angel  <langel@redhat.com>
16778
16779         * native/plugin/gcjwebplugin.cc:
16780         (NP_Shutdown): Freed whitelist_filename.
16781
16782 2006-06-08  Lillian Angel  <langel@redhat.com>
16783
16784         * native/plugin/Makefile.am:
16785         Removed DATA_DIRECTORY.
16786         * native/plugin/gcjwebplugin.cc:
16787         Added new global fields for whitelist_file
16788         and data_directory. Removed WHITELIST_FILE.
16789         (NP_Initialize): Initialized new fields. Also,
16790         Changed to use new fields.
16791         (NP_Shutdown): Freed data_directory.
16792         (GCJ_New): Changed to use new fields.
16793         (plugin_ask_user_about_documentbase): Likewise.
16794
16795 2006-06-08  Lillian Angel  <langel@redhat.com>
16796
16797         * native/plugin/Makefile.am:
16798         Changed DATA_DIRECTORY to be ~/.gcjwebplugin.
16799         * native/plugin/gcjwebplugin.cc:
16800         Changed all instances of PLUGIN_DATA_DIRECTORY
16801         to DATA_DIRECTORY.
16802
16803 2006-06-08  Roman Kennke  <kennke@aicas.com>
16804
16805         * java/awt/LightweightDispatcher.java
16806         (handleMouseEvent): Replaced calls to AWTUtilities.convertPoint()
16807         with convertPointToChild(). This is more efficient and avoids
16808         problems with getLocationOnScreen().
16809         (findTarget): Check for component beeing showing() early.
16810         Simplified AWTUtilities.convertPoint() to a simple substraction
16811         operation.
16812         (convertPointToChild): New helper method.
16813
16814 2006-06-08  Thomas Fitzsimmons  <fitzsim@redhat.com>
16815
16816         * native/plugin/gcjwebplugin.cc (SECURITY_DESCRIPTION): Update
16817         message.
16818
16819 2006-06-08  Tom Fitzsimmons  <fitzsim@redhat.com>
16820             Lillian Angel  <langel@redhat.com>
16821
16822         * native/plugin/gcjwebplugin.cc
16823         (NP_Shutdown): Added code to free plugin mutex and whitelist file.
16824         Also, reset initialized field.
16825
16826 2006-06-08  Lillian Angel  <langel@redhat.com>
16827
16828         * javax/swing/plaf/basic/BasicProgressBarUI.java
16829         (paintString): Fixed to paint string at the correct location.
16830
16831 2006-06-08  Roman Kennke  <kennke@aicas.com>
16832
16833         * javax/swing/plaf/basic/BasicTreeUI.java
16834         (createDefaultActions): Added new actions.
16835         (TreePageAction.TreePageAction): Set action name.
16836         (TreePageAction.actionPerformed): Implemented.
16837         (TreePageAction.isEnabled): Implemented.
16838         (TreeToggleAction.TreePageAction): Set action name.
16839         (TreeToggleAction.actionPerformed): Implemented.
16840         (TreeToggleAction.isEnabled): Implemented.
16841         (TreeTraverseAction.TreeTraverseAction): Set action name.
16842         (TreeTraverseAction.actionPerformed): Use action name as command.
16843         (TreeTraverseAction.isEnabled): Implemented.
16844
16845 2006-06-08  Roman Kennke  <kennke@aicas.com>
16846
16847         * javax/swing/plaf/basic/BasicTreeUI.java
16848         (installKeyboardActions): Rewritten to correctly install the UI
16849         input and action maps.
16850         (getActionMap): New helper method.
16851         (createDefaultActionMap): New helper method.
16852         (TreeHomeAction.TreeHomeAction()): Implemented.
16853         (TreeHomeAction.actionPerformed): Implemented.
16854         (TreeHomeAction.isEnabled): Implemented.
16855         (TreeIncrementAction.TreeIncrementAction()): Implemented.
16856         (TreeIncrementAction.actionPerformed): Use action name as command.
16857         (TreeIncrementAction.isEnabled): Implemented.
16858
16859 2006-06-08  Mark Wielaard  <mark@klomp.org>
16860
16861         PR 27917
16862         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c
16863         (Java_gnu_java_awt_peer_gtk_GtkImage_loadImageFromData): Ref pixbuf
16864         and unref loader.
16865
16866 2006-06-08  Mark Wielaard  <mark@klomp.org>
16867
16868         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
16869         (attrs): Removed unused static.
16870
16871 2006-06-08  David Gilbert  <david.gilbert@object-refinery.com>
16872
16873         * javax/swing/plaf/basic/BasicScrollPaneUI.java
16874         (getInputMap): New method,
16875         (getActionMap): New method,
16876         (createActionMap): New method,
16877         (installKeyboardActions): Implemented,
16878         (uninstallKeyboardActions): Implemented.
16879
16880 2006-06-08  Robert Schuster  <robertschuster@fsfe.org>
16881
16882         * javax/swing/border/MatteBorder.java:
16883         (MatteBorder(int,int,int,int,Icon)): Removed if-statement and exception
16884         throwing.
16885         (paintBorder): Added if-statement to abort painting early.
16886
16887 2006-06-08  Robert Schuster  <robertschuster@fsfe.org>
16888
16889         Fixes PR27864.
16890         * gnu/xml/dom/DomIterator.java:
16891         (successor): Changed expression.
16892
16893 2006-06-08  Sven de Marothy  <sven@physto.se>
16894
16895         * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
16896         (defaultLayout): Do kerning.
16897         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_FreetypeGlyphVector.c
16898         (getKerning): Correct class name, removed unused variable.
16899
16900 2006-06-07  Thomas Fitzsimmons  <fitzsim@redhat.com>
16901
16902         * gnu/java/awt/peer/qt/QtToolkit.java (initToolkit): Load
16903         libqtpeer.so unconditionally.
16904
16905 2006-06-07  Andrew John Hughes  <gnu_andrew@member.fsf.org>
16906
16907         * java/util/InputMismatchException.java:
16908         Documented.
16909         
16910 2006-06-07  Andreas Tobler  <a.tobler@schweiz.ch>
16911
16912         * native/jawt/Makefile.am (AM_LDFLAGS): Add XTEST_LIBS.
16913
16914 2006-06-07  Roman Kennke  <kennke@aicas.com>
16915
16916         * javax/swing/plaf/basic/BasicTreeUI.java
16917         (completeUIUninstall): Implemented.
16918         (uninstallUI): Moved some bits to completeUIUninstall(). Complete
16919         editing before uninstalling anything.
16920         (isToggleEvent): Implemented.
16921         (selectPathForEvent): Make use of isToggleEvent().
16922         (ComponentHandler.componentMoved): Implemented.
16923         (ComponentHandler.startTimer): Implemented.
16924         (ComponentHandler.getScrollPane): Implemented.
16925         (ComponentHandler.actionPerformed): Implemented.
16926
16927 2006-06-07  Francis Kung  <fkung@redhat.com>
16928
16929         * javax/swing/JMenuBar.java:
16930         (getSubElements): Do not return null values.
16931
16932 2006-06-07  Roman Kennke  <kennke@aicas.com>
16933
16934         PR 27902
16935         * gnu/regexp/BacktrackStack.java
16936         * gnu/regexp/CharIndexed.java
16937         * gnu/regexp/CharIndexedCharArray.java
16938         * gnu/regexp/CharIndexedCharSequence.java
16939         * gnu/regexp/CharIndexedInputStream.java
16940         * gnu/regexp/CharIndexedString.java
16941         * gnu/regexp/CharIndexedStringBuffer.java
16942         * gnu/regexp/RE.java
16943         * gnu/regexp/REException.java
16944         * gnu/regexp/REFilterInputStream.java
16945         * gnu/regexp/REMatch.java
16946         * gnu/regexp/REMatchEnumeration.java
16947         * gnu/regexp/RESyntax.java
16948         * gnu/regexp/REToken.java
16949         * gnu/regexp/RETokenAny.java
16950         * gnu/regexp/RETokenBackRef.java
16951         * gnu/regexp/RETokenChar.java
16952         * gnu/regexp/RETokenEnd.java
16953         * gnu/regexp/RETokenEndOfPreviousMatch.java
16954         * gnu/regexp/RETokenEndSub.java
16955         * gnu/regexp/RETokenIndependent.java
16956         * gnu/regexp/RETokenLookAhead.java
16957         * gnu/regexp/RETokenLookBehind.java
16958         * gnu/regexp/RETokenNamedProperty.java
16959         * gnu/regexp/RETokenOneOf.java
16960         * gnu/regexp/RETokenPOSIX.java
16961         * gnu/regexp/RETokenRange.java
16962         * gnu/regexp/RETokenRepeated.java
16963         * gnu/regexp/RETokenStart.java
16964         * gnu/regexp/RETokenWordBoundary.java
16965         * gnu/regexp/UncheckedRE.java
16966         * gnu/java/util/regex/BacktrackStack.java
16967         * gnu/java/util/regex/CharIndexed.java
16968         * gnu/java/util/regex/CharIndexedCharArray.java
16969         * gnu/java/util/regex/CharIndexedCharSequence.java
16970         * gnu/java/util/regex/CharIndexedInputStream.java
16971         * gnu/java/util/regex/CharIndexedString.java
16972         * gnu/java/util/regex/CharIndexedStringBuffer.java
16973         * gnu/java/util/regex/RE.java
16974         * gnu/java/util/regex/REException.java
16975         * gnu/java/util/regex/REFilterInputStream.java
16976         * gnu/java/util/regex/REMatch.java
16977         * gnu/java/util/regex/REMatchEnumeration.java
16978         * gnu/java/util/regex/RESyntax.java
16979         * gnu/java/util/regex/REToken.java
16980         * gnu/java/util/regex/RETokenAny.java
16981         * gnu/java/util/regex/RETokenBackRef.java
16982         * gnu/java/util/regex/RETokenChar.java
16983         * gnu/java/util/regex/RETokenEnd.java
16984         * gnu/java/util/regex/RETokenEndOfPreviousMatch.java
16985         * gnu/java/util/regex/RETokenEndSub.java
16986         * gnu/java/util/regex/RETokenIndependent.java
16987         * gnu/java/util/regex/RETokenLookAhead.java
16988         * gnu/java/util/regex/RETokenLookBehind.java
16989         * gnu/java/util/regex/RETokenNamedProperty.java
16990         * gnu/java/util/regex/RETokenOneOf.java
16991         * gnu/java/util/regex/RETokenPOSIX.java
16992         * gnu/java/util/regex/RETokenRange.java
16993         * gnu/java/util/regex/RETokenRepeated.java
16994         * gnu/java/util/regex/RETokenStart.java
16995         * gnu/java/util/regex/RETokenWordBoundary.java
16996         * gnu/java/util/regex/UncheckedRE.java
16997         Moved gnu.regexp classes to gnu.java.util.regex package.
16998         * java/util/regex/Matcher.java
16999         * java/util/regex/Pattern.java
17000         Adjusted import statements for new package name for gnu regexp.
17001
17002 2006-06-07  Tom Tromey  <tromey@redhat.com>
17003
17004         PR classpath/27905:
17005         * gnu/java/nio/charset/Provider.java (loadExtended): Now synchronized.
17006         Added missing charsets.
17007         (charsetForName): Don't check 'extendedLoaded'.
17008
17009 2006-06-07  Roman Kennke  <kennke@aicas.com>
17010
17011         PR 27833
17012         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
17013         (clip(Shape)): Implemented correctly, so that the current shape
17014         gets intersected by the parameter shape.
17015
17016 2006-06-07  Lillian Angel  <langel@redhat.com>
17017
17018         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
17019         (getTabBounds): If this method is called with a tab index
17020         that is not in the rects array, we need to re-layout the container
17021         so it is created.
17022
17023 2006-06-07  Lillian Angel  <langel@redhat.com>
17024
17025         * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
17026         (FreetypeGlyphVector): Removed assignment. Caused compilation error.
17027         * java/lang/String.java
17028         (codePointCount): Fixed check to match API. Shouldn't throw exception
17029         if end == count. end is 1 more than the endIndex, so end == count is 
17030         possible.
17031
17032 2006-06-07  Gary Benson  <gbenson@redhat.com>
17033
17034         PR 24895
17035         * native/jni/java-io/java_io_VMFile.c
17036         (Java_java_io_VMFile_toCanonicalForm): New method.
17037         * configure.ac: Added checks for lstat and readlink.
17038         * include/java_io_VMFile.h: Added new method.
17039         * vm/reference/java/io/VMFile.java: Use new method.
17040         * gnu/java/io/PlatformHelper.java (toCanonicalForm): Removed.
17041         * NEWS: Documented the above.
17042         * java/io/File.java: Javadoc fix.
17043
17044 2006-06-07  Roman Kennke  <kennke@aicas.com>
17045
17046         PR 27920
17047         * javax/swing/JTree.java
17048         (JTree()): Initialize with default model.
17049         (JTree(TreeModel)): Clear expanded state hashtable. Added comment
17050         on the updateUI() / setModel() order.
17051         (setModel): Correctly (un-)setup the listeners. Clear the expanded
17052         paths.
17053         * javax/swing/plaf/basic/BasicTreeUI.java
17054         (BasicTreeUI()): Initialize listeners in installListeners().
17055         (setModel): Complete editing on model change. Correctly resetup
17056         the listeners. Update the layout cache accordingly.
17057         (setShowRootHandles): Complete editing and update layout. Do not
17058         call back into the JTree, this could cause cycles.
17059         (prepareForUIInstall): Implemented. Moved some init code from
17060         installUI() to this method.
17061         (completeUIInstall): Implemented. Moved some init code from
17062         installUI() to this method.
17063         (createDefaultCellEditor): Check for type of renderer, and install
17064         with null renderer when not DefaultTreeCellRenderer.
17065         (updateLayoutCacheExpandedNodes): Added null check for tree root
17066         to avoid NPE.
17067         (updateRenderer): Call updateEditor().
17068         (installListeners): Initialize the listeners here. Added some null
17069         checks to avoid NPEs.
17070         (installUI): Moved some init code to prepareForUIInstall() and
17071         completeUIInstall().
17072         (completeEditing): Return immediately if editing component is null
17073         or if the setting is to not stop editing on complete editing.
17074         (checkForClickInExpandControl): Call handleExpandControlClick()
17075         instead of toggleExpandState() directly.
17076         (isLocationInExpandControl): Rewritten to correctly determine the
17077         expand click location.
17078         (MouseHandler.mousePressed): Rewritten to make better use of the
17079         instance methods of BasicTreeUI to handle the click.
17080         (PropertyHandler.propertyChange): Handle model and cell renderer
17081         updates.
17082         * javax/swing/tree/DefaultTreeCellEditor.java
17083         (DefaultTreeCellEditor): Removed initialization of the icon. This
17084         is done so that the constructor can deal with null renderer as the
17085         RI does. Maybe this needs more fixing.
17086         * javax/swing/tree/TreePath.java
17087         (isDescendant): Fixed this method. The previous version did too
17088         much and compared the wrong things, which lead to a ClassCastException
17089         in equals().
17090         * javax/swing/tree/VariableHeightLayoutCache.java
17091         (update): Do nothing when model is null.
17092         (setModel): Clear the tables and update the layout. Added null
17093         check to prevent NPE.
17094
17095 2006-06-07  Sven de Marothy  <sven@physto.se>
17096
17097         * gnu/java/awt/peer/gtk/GdkGlyphVector: Removed file.
17098
17099 2006-06-07  Sven de Marothy  <sven@physto.se>
17100
17101         * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
17102         * include/gnu_java_awt_peer_gtk_FreetypeGlyphVector.h
17103         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_FreetypeGlyphVector.c
17104         New files.
17105
17106         * gnu/java/awt/peer/gtk/GdkFontPeer.java
17107         (getGlyphVector): Removed native method.
17108         (createGlyphVector, getStringBounds): Use new GV class.
17109
17110         * include/Makefile.am
17111         * native/jni/gtk-peer/Makefile.am
17112         Add new files.
17113
17114         * include/gnu_java_awt_peer_gtk_GdkFontPeer.h
17115         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
17116         (getGlyphVector): Removed native method.
17117         
17118 2006-06-07  Chris Burdess  <dog@gnu.org>
17119
17120         * gnu/classpath/debug/TeeInputStream.java,
17121           gnu/classpath/debug/TeeOutputStream.java,
17122           gnu/classpath/debug/TeeReader.java,
17123           gnu/classpath/debug/TeeWriter.java: New classes for debugging streams.
17124         * gnu/xml/stream/XMLParser.java: Use tee streams for debugging. Don't
17125           read more characters than absolutely necessary in tryRead method.
17126
17127 2006-06-07  Robert Schuster  <robertschuster@fsfe.org>
17128
17129         * examples/gnu/classpath/examples/swing/Demo.java:
17130         (mkMenuBar): Put look and feel radio buttons into 
17131         appropriate button group.
17132
17133 2006-06-07  Chris Burdess  <dog@gnu.org>
17134
17135         * gnu/xml/stream/SAXParser.java,
17136           gnu/xml/stream/XMLParser.java: Add command line options for setting
17137           parsing parameters (for simpler debugging).
17138         * gnu/xml/transform/TransformerImpl.java: Try to ensure that I/O error
17139           closing output stream is propagated to application.
17140
17141 2006-06-06  Mark Wielaard  <mark@klomp.org>
17142
17143         PR 27917
17144         * gnu/java/awt/peer/gtk/CairoSurface.java (finalize): Call dispose.
17145         * gnu/java/awt/peer/gtk/ComponentGraphics.java: Override dispose to
17146         call disposeSurface.
17147         (disposeSurface): New native method.
17148         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
17149         (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_disposeNative): Free
17150         pattern_pixels.
17151         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17152         (Java_gnu_java_awt_peer_gtk_CairoSurface_drawSurface): Call
17153         cairo_pattern_destroy.
17154         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
17155         (Java_gnu_java_awt_peer_gtk_ComponentGraphics_disposeSurface):
17156         New function to destroy the surface.
17157         * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Regenerated.
17158         * include/gnu_java_awt_peer_gtk_CairoSurface.h: Likewise.
17159         * include/gnu_java_awt_peer_gtk_ComponentGraphics.h: Likewise.
17160
17161 2006-06-06  Mark Wielaard  <mark@klomp.org>
17162
17163         * include/jni.h (JDK1_1InitArgs): Mark pointer-to-function types
17164         with JNICALL.
17165
17166 2006-06-06  David Gilbert  <david.gilbert@object-refinery.com>
17167
17168         * javax/swing/plaf/metal/MetalSplitPaneDivider.java
17169         (paint): If has focus, paint special background color,
17170         * javax/swing/plaf/basic/BasicSplitPaneUI.java
17171         (FocusHandler.focusGained): Implemented,
17172         (FocusHandler.focusLost): Implemented.
17173
17174 2006-06-06  Tom Tromey  <tromey@redhat.com>
17175
17176         * javax/swing/text/StyleContext.java (registerStaticAttributeKey):
17177         Javadoc fix.
17178         (writeAttributeSet): Implemented.
17179
17180 2006-06-06  Tom Tromey  <tromey@redhat.com>
17181
17182         * javax/swing/text/html/HTMLDocument.java (SpecialAction.start):
17183         Implement.
17184         (SpecialAction.end): Removed.
17185         (IsindexAction.end): Likewise.
17186
17187 2006-06-06  Tom Tromey  <tromey@redhat.com>
17188
17189         * include/jni.h (JDK1_1InitArgs): New struct.
17190         (JDK1_1AttachArgs): Likewise.
17191
17192 2006-06-06  Tom Tromey  <tromey@redhat.com>
17193
17194         * java/security/UnresolvedPermission.java (getUnresolvedType): New
17195         method.
17196         (getUnresolvedName): New method.
17197         (getUnresolvedActions): New method.
17198         (getUnresolvedCerts): New method.
17199
17200 2006-06-06  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
17201
17202         * gnu/javax/swing/text/html/CharacterAttributeTranslator.java
17203         (getColor): Removed debugging code.
17204
17205 2006-06-06  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
17206
17207         * gnu/javax/swing/text/html/CharacterAttributeTranslator.java
17208         (getColor): Added support for "rgb(red, green, blue)" notation.
17209         (translateTag): Use Boolean.TRUE, not new Boolean().
17210
17211 2006-06-06  Roman Kennke  <kennke@aicas.com>
17212
17213         PR 27651
17214         * javax/swing/JTree.java
17215         (JTree(TreeModel)): Call updateUI() before setModel().
17216         (setModel): Don't call updateUI here.
17217
17218 2006-06-06  Lillian Angel  <langel@redhat.com>
17219         
17220         * native/plugin/gcjwebplugin.cc:
17221         Fixed failure message and commenting.
17222         (NP_Initialize): Added more comments.
17223
17224 2006-06-06  David Gilbert  <david.gilbert@object-refinery.com>
17225
17226         * javax/swing/JSplitPane.java
17227         (AccessibleJSplitPane): API doc fixes,
17228         (setDividerLocation): Likewise,
17229         * javax/swing/plaf/basic/BasicLookAndFeel.java
17230         (initComponentDefaults): Additions to SplitPane.ancestorInputMap,
17231         * javax/swing/plaf/basic/BasicSplitPaneUI.java
17232         (getInputMap): New method,
17233         (getActionMap): New method,
17234         (createActionMap): New method,
17235         (installKeyboardActions): Implemented,
17236         (uninstallKeyboardActions): Implemented.
17237
17238 2006-06-06  Roman Kennke  <kennke@aicas.com>
17239
17240         PR 27523
17241         * javax/swing/MenuSelectionManager.java
17242         (processKeyEvent): Added check to avoid
17243         ArrayIndexOutOfBoundsException.
17244
17245 2006-06-06  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
17246
17247         * gnu/javax/swing/text/html/htmlAttributeSet.java
17248         (getAttributeNames): Rewritten
17249
17250 2006-06-06  Chris Burdess  <dog@gnu.org>
17251
17252         * gnu/xml/transform/TransformerImpl.java: Check type of created
17253           document (more cases).
17254
17255 2006-06-06  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
17256
17257         * gnu/javax/swing/text/html/htmlAttributeSet.java
17258         (clone): New method. (copyAttributes): New method.
17259         (getResolveParent): Comment fix. (getAttribute):
17260         Rewritten. (addAttribute): Rewritten.
17261         * gnu/javax/swing/text/html/SmallHtmlAttributeSet.java:
17262         New file.
17263
17264 2006-06-06  Roman Kennke  <kennke@aicas.com>
17265
17266         PR 27522
17267         * javax/swing/JMenuBar.java
17268         (processKeyBindingHelper): Added null check to prevent NPE.
17269
17270 2006-06-06  Roman Kennke  <kennke@aicas.com>
17271
17272         * javax/swing/plaf/basic/BasicInternalFrameUI.java
17273         (ShowSystemMenuAction): New class.
17274         (installKeyboardActions): Implemented.
17275         (uninstallKeyboardActions): Implemented.
17276         * javax/swing/plaf/metal/MetalInternalFrameUI.java
17277         (installKeyboardActions): Overridden to remove showSystemMenu action.
17278
17279 2006-06-06  Chris Burdess  <dog@gnu.org>
17280
17281         * gnu/xml/transform/TransformerImpl.java: Check type of created
17282           document.
17283
17284 2006-06-06  Robert Schuster  <robertschuster@fsfe.org>
17285
17286         * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java:
17287         (getScreenDevices): Added explicit cast.
17288
17289 2006-06-06  Roman Kennke  <kennke@aicas.com>
17290
17291         * javax/swing/plaf/basic/BasicTextUI.java
17292         (installKeyboardActions): Use shared input map. Correctly
17293         install the input/action maps in the component's input/action
17294         map hierarchies.
17295         (getActionMap): New helper method for fetching an ActionMap from
17296         the UIManager or creating a default one if there is none supplied
17297         by the UIManager.
17298         (createActionMap): Add the TransferHandler's actions here. Made
17299         method private.
17300         (getInputMap): Leave out unnecessary method parameter. Load
17301         shared input map.
17302         * javax/swing/plaf/basic/SharedUIDefaults.java: New file.
17303
17304 2006-06-06  Robert Schuster  <robertschuster@fsfe.org>
17305
17306         * configure.ac: Added missing [ to expression.
17307
17308 2006-06-06  Robert Schuster  <robertschuster@fsfe.org>
17309
17310         * configure.ac: Added missing { to expression.
17311
17312 2006-06-06  Robert Schuster  <robertschuster@fsfe.org>
17313
17314         * include/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.h: Regenerated.
17315         * include/gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice.h: New file.
17316         * include/Makefile.am: Added
17317         gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice.
17318         * gnu/java/awt/peer/gtk/GdkGraphicsConfiguration.java:
17319         (GdkGraphicsConfiguration): Rewritten.
17320         (getColorModel): Rewritten.
17321         (getColorModel(int)): Rewritten.
17322         (getBounds): Rewritten.
17323         (createCompatibleVolatileImage): Implemented.
17324         * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java: Added static
17325         initializer.
17326         (getDefaultScreenDevice): Rewritten.
17327         (nativeGetDefaultScreenDevice): New method.
17328         (getScreenDevices): Rewritten.
17329         (nativeGetScreenDevices): New method.
17330         (nativeInitState): New method.
17331         * gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java: Entirely
17332         rewritten.
17333         (X11DisplayMode): New inner class.
17334         * native/jni/gtk-peer/Makefile.am: Added gdkdisplay.h and
17335         gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice.c
17336         * native/jni/gtk-peer/gdkdisplay.h: New file.
17337         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.c:
17338         (Java_gnu_java_awt_peer_gtk_GdkGraphicsEnvironment_initStaticState):
17339         New function.
17340         (Java_gnu_java_awt_peer_gtk_GdkGraphicsEnvironment_nativeInitState):
17341         New function.
17342         (Java_gnu_java_awt_peer_gtk_GdkGraphicsEnvironment
17343         _nativeGetScreenDevices):
17344         New function.
17345         (Java_gnu_java_awt_peer_gtk_GdkGraphicsEnvironment
17346         _nativeGetDefaultScreenDevice):
17347         New function.
17348         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice.c:
17349         New file.
17350         * configure.ac: Added check for Xrandr library.
17351
17352 2006-06-06  Roman Kennke  <kennke@aicas.com>
17353
17354         * javax/swing/plaf/basic/BasicTableUI.java
17355         (getMaximumSize): Don't return null. Fixed calculation of
17356         table height.
17357         (getMinimumSize): Don't return null. Fixed calculation of
17358         table height.
17359         (getPreferredSize): Fixed calculation of with and height. Added
17360         API docs.
17361         (getHeight): New helper method.
17362
17363 2006-06-06  David Gilbert  <david.gilbert@object-refinery.com>
17364
17365         * javax/swing/JComponent.java
17366         (getInputMap(int)): Throw IllegalArgumentException for unknown 
17367         condition argument, and added API docs,
17368         (getInputMap()): Added API docs.
17369
17370 2006-06-06  Robert Schuster  <robertschuster@fsfe.org>
17371
17372         * java/awt/BufferedImage.java: Added fourth 8 to bits4 field.
17373
17374 2006-06-06  David Gilbert  <david.gilbert@object-refinery.com>
17375
17376         * javax/swing/JTable.java
17377         (AccessibleJTableHeaderCell.header): New field,
17378         (AccessibleJTableHeaderCell.columnIndex): Likewise,
17379         (AccessibleJTableHeaderCell.AccessibleJTableHeaderCell()): Initialise,
17380         (AccessibleJTableHeaderCell.getColumnHeaderRenderer): New method,
17381         (AccessibleJTableHeaderCell.getAccessibleContext): Implemented,
17382         (AccessibleJTableHeaderCell.getAccessibleRole): Implemented,
17383         (AccessibleJTable.getAccessibleChild(int)): Overridden,
17384         (AccessibleJTable.getAccessibleAt): Reimplemented.
17385
17386 2006-06-05  Sven de Marothy  <sven@physto.se>
17387
17388         * include/gnu_java_awt_peer_gtk_ComponentGraphics.h
17389         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
17390         * gnu/java/awt/peer/gtk/ComponentGraphics.java
17391         (initFromVolatile): New method.
17392         * gnu/java/awt/peer/gtk/GtkVolatileImage.java
17393         * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
17394         Reimplement.
17395         * include/gnu_java_awt_peer_gtk_GtkVolatileImage.h
17396         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c
17397         (copyArea, drawVolatileImage): New methods.
17398         
17399 2006-06-05  Tania Bento  <tbento@redhat.com>
17400
17401         * javax/swing/JFrame.java
17402         (frameInit): Set background color and fixed layout parameters.
17403
17404 2006-06-05  Tom Tromey  <tromey@redhat.com>
17405
17406         * NEWS: Mention VMURLConnection.
17407
17408 2006-06-05  Lillian Angel  <langel@redhat.com>
17409
17410         * native/plugin/gcjwebplugin.cc:
17411         Added new field to keep track of initialization.
17412         (plugin_start_appletviewer): Fixed to return an error value, if
17413         an error was encountered when loading the appletviewer.
17414         (GCJ_NEW): Added call to plugin_failed if the loading of the appletviewer
17415         has failed.
17416         (plugin_failed): New helper function. Shows a warning if the appletviewer
17417         has not been installed.
17418         (NP_Initialize): Added code to make sure this function is only called
17419         once.
17420
17421 2006-06-05  Lillian Angel  <langel@redhat.com>
17422
17423         * native/plugin/Makefile.am:
17424         Fixed to use a set plugin directory in the .mozilla directory.
17425         All applet logs are now stored here, instead of /tmp.
17426         * native/plugin/gcjwebplugin.cc:
17427         Added new fields for security warning.
17428         (GCJ_NEW): Added code to generate a security warning for all pages
17429         that spawn an appletviewer. This warning asks the user if they trust
17430         the applet and if they would like to add it to a 'whitelist'. This
17431         whitelist keeps track of all the addresses the user would like
17432         to trust indefinitely.
17433         (plugin_user_trusts_documentbase): New helper function.
17434         (plugin_add_documentbase_to_whitelist): New helper function.
17435         (plugin_ask_user_about_documentbase): New helper function.
17436         (plugin_in_pipe_callback): Fixed check to determine if channel_error 
17437         has been set.
17438         (plugin_start_appletviewer): Likewise.
17439         (plugin_create_applet_tag):  Reset all fields to null after they have been
17440         freed.
17441         (plugin_send_message_to_appletviewer): Fixed all error checks to determine 
17442         if channel_error has been set.
17443         (plugin_stop_appletviewer): Likewise.
17444         (NP_Initialize): Likewise. Also, added code to determine if directory and file
17445         should be created.      
17446
17447 2006-06-05  Francis Kung  <fkung@redhat.com>
17448         
17449         PR 27507
17450         * gnu/java/awt/peer/gtk/GtkImage.java
17451         (getSource): Added check to determine if in
17452         errorLoading state.
17453         * gnu/java/awt/peer/gtk/GtkToolkit.java
17454         (createImage): Added check to prevent NPE.
17455
17456 2006-06-05  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
17457
17458         * javax/swing/text/html/HTMLEditorKit.java (HTMLFactory.create):
17459         Create the ImageView, when applicable.
17460         * gnu/javax/swing/text/html/CombinedAttributes.java,
17461         javax/swing/text/html/ImageView.java: New files.
17462
17463 2006-06-05  Roman Kennke  <kennke@aicas.com>
17464
17465         PR 27834
17466         * javax/swing/text/GapContent.java
17467         (setPositionsInRange): Compare with startIndex and endIndex
17468         rather than start and end.
17469         (dumpMarks): Only dump real marks.
17470
17471 2006-06-05  Sven de Marothy  <sven@physto.se>
17472
17473         *  gnu/java/awt/peer/gtk/ComponentGraphics.java
17474         (ComponentGraphics): Use 0,0 as clip origin.
17475         
17476 2006-06-04  Andrew John Hughes  <gnu_andrew@member.fsf.org>
17477
17478         * java/util/Formattable.java,
17479         * java/util/FormattableFlags.java,
17480         * java/util/Formatter.java:
17481         Documented.
17482
17483 2006-06-04  Tom Tromey  <tromey@redhat.com>
17484
17485         * javax/naming/Context.java (list): Genericized.
17486         (listBindings): Likewise.
17487         * javax/naming/Reference.java (addrs): Genericized.
17488         * javax/naming/InitialContext.java (myProps): Fixed type.
17489         (init): Genericized.
17490         
17491 2006-06-04  Andrew John Hughes  <gnu_andrew@member.fsf.org>
17492
17493         * java/util/DuplicateFormatFlagsException.java,
17494         * java/util/FormatFlagsConversionMismatchException.java,
17495         * java/util/FormatterClosedException.java,
17496         * java/util/IllegalFormatCodePointException.java,
17497         * java/util/IllegalFormatConversionException.java,
17498         * java/util/IllegalFormatException.java,
17499         * java/util/IllegalFormatFlagsException.java,
17500         * java/util/IllegalFormatPrecisionException.java,
17501         * java/util/IllegalFormatWidthException.java,
17502         * java/util/MissingFormatArgumentException.java,
17503         * java/util/MissingFormatWidthException.java,
17504         * java/util/UnknownFormatConversionException.java,
17505         * java/util/UnknownFormatFlagsException.java:
17506         Documented.
17507
17508 2006-06-04  Andrew John Hughes  <gnu_andrew@member.fsf.org>
17509
17510         * java/lang/System.java:
17511         (getenv()): Handle cases where split only
17512         returns an array of size 1.
17513         
17514 2006-06-04  Sven de Marothy  <sven@physto.se>
17515
17516         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
17517         (createVolatileImage): Pass peer to VolatileImage constructor.
17518         * java/awt/Component.java
17519         (createVolatileImage): Call peer method directly.
17520         
17521 2006-06-04  Sven de Marothy  <sven@physto.se>
17522
17523         * gnu/java/awt/peer/gtk/CairoSurface.java
17524         (getFlippedBuffer): New method.
17525         (getGtkImage): Renamed method.
17526         * gnu/java/awt/peer/gtk/ComponentGraphicsCopy.java
17527         * gnu/java/awt/peer/gtk/GtkVolatileImage.java
17528         Renamed getSharedImage to getGtkImage.
17529         * include/gnu_java_awt_peer_gtk_CairoSurface.h
17530         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17531         (getFlippedBuffer): New method
17532         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
17533         Avoid window casts.
17534 2006-06-04  Andrew John Hughes  <gnu_andrew@member.fsf.org>
17535
17536         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c:
17537         (drawVolatile): Add casts.
17538         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c:
17539         (getOutline): Add casts.
17540         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c:
17541         Comment out unused prototype.
17542         (getPixels): Add appropriate cast and comment out unused variable.
17543         
17544 2006-06-04  Raif S. Naffah  <raif@swiftdsl.com.au>
17545
17546         * gnu/javax/crypto/sasl/SaslUtil.java: Remove unused import.
17547         * gnu/javax/crypto/sasl/srp/SRPRegistry.java (PASSWORD_DB): Fix javadoc @link.
17548         * gnu/javax/crypto/sasl/srp/PasswordFile.java: Removed unused import.
17549         * gnu/javax/crypto/prng/CSPRNG.java (FILE_SOURCES): Fix javadoc @see.
17550         (getSystemInstance): Fix javadoc @link.
17551         (counter): Increased visibility.
17552         * gnu/javax/crypto/pad/TLS1.java: Remove unused import.
17553         * gnu/javax/crypto/pad/IPad.java: Fix javadoc @link.
17554         * gnu/javax/crypto/pad/PKCS1_V1_5.java (PKCS1_V1_5): Likewise.
17555         * gnu/javax/crypto/pad/PKCS7.java (PKCS7): Likewise.
17556         * gnu/javax/crypto/pad/TBC.java (TBC): Likewise.
17557         * gnu/javax/crypto/mode/CTR.java: Remove unused import.
17558         * gnu/javax/crypto/mode/BaseMode.java (defaultBlockSize): Fix javadoc @see.
17559         * gnu/javax/crypto/key/dh/GnuDHPrivateKey.java (getEncoded): Fix javadoc @see.
17560         * gnu/javax/crypto/jce/spec/TMMHParameterSpec.java: Fix javadoc @link.
17561         * gnu/javax/crypto/keyring/AuthenticatedEntry.java: Remove unused imports.
17562         * gnu/javax/crypto/keyring/CertificateEntry.java: Likewise.
17563         * gnu/javax/crypto/keyring/CertPathEntry.java: Likewise.
17564         * gnu/javax/crypto/keyring/EncryptedEntry.java: Likewise.
17565         * gnu/javax/crypto/keyring/PublicKeyEntry.java: Likewise.
17566         * gnu/javax/crypto/mac/OMAC.java: Likewise.
17567         * gnu/javax/crypto/jce/key/AnubisSecretKeyFactoryImpl.java: Likewise.
17568         * gnu/javax/crypto/jce/key/BlowfishSecretKeyFactoryImpl.java: Likewise.
17569         * gnu/javax/crypto/jce/key/Cast5SecretKeyFactoryImpl.java: Likewise.
17570         * gnu/javax/crypto/jce/key/KhazadSecretKeyFactoryImpl.java: Likewise.
17571         * gnu/javax/crypto/jce/key/RijndaelSecretKeyFactoryImpl.java: Likewise.
17572         * gnu/javax/crypto/jce/key/SerpentSecretKeyFactoryImpl.java: Likewise.
17573         * gnu/javax/crypto/jce/key/SquareSecretKeyFactoryImpl.java: Likewise.
17574         * gnu/javax/crypto/jce/key/TwofishSecretKeyFactoryImpl.java: Likewise.
17575         * gnu/javax/crypto/jce/mac/OMacImpl.java: Likewise.
17576         * gnu/javax/crypto/jce/prng/CSPRNGSpi.java: Likewise.
17577         * gnu/javax/crypto/cipher/IBlockCipherSpi.java: Fix javadoc @link.
17578         * gnu/javax/crypto/jce/cipher/CipherAdapter.java (CipherAdapter): Likewise.
17579         * gnu/javax/crypto/cipher/BaseCipher.java: Remove unused import.
17580         * gnu/javax/crypto/assembly/Cascade.java: Fix javadoc @link.
17581         * gnu/javax/crypto/assembly/Direction.java: Likewise.
17582         * gnu/javax/crypto/assembly/Transformer.java: Likewise.
17583
17584 2006-06-04  Raif S. Naffah  <raif@swiftdsl.com.au>
17585
17586         * gnu/java/security/PolicyFile.java: Updated copyright year.
17587         (logger): Increased visibility.
17588         * gnu/java/security/x509/Util.java: Updated copyright year.
17589         (hexDump): Fix javadoc @link.
17590         * gnu/java/security/x509/ext/GeneralNames.java: Updated copyright year.
17591         Removed unused import.
17592         * gnu/java/security/sig/rsa/RSAPSSSignatureRawCodec.java: Fix javadoc @link.
17593         * gnu/java/security/sig/ISignature.java (SOURCE_OF_RANDOMNESS): Likewise.
17594         * gnu/java/security/util/ExpirableObject.java: Likewise.
17595         (destroy): Likewise.
17596         * gnu/java/security/util/SimpleList.java (SimpleList): Likewise.
17597         * gnu/java/security/provider/PKIXCertPathValidatorImpl.java:
17598         Updated copyright year.
17599         (checkCRL): Fix javadoc @param.
17600
17601 2006-06-03  Andrew John Hughes  <gnu_andrew@member.fsf.org>
17602
17603         * java/lang/annotation/IncompleteAnnotationException.java:
17604         Documented.
17605
17606 2006-06-03  Andrew John Hughes  <gnu_andrew@member.fsf.org>
17607
17608         * java/lang/ProcessBuilder.java:
17609         Documented.
17610         (environment): Create as a copy.
17611         * java/lang/System.java:
17612         (EnvironmentMap.EnvironmentMap(Map<String,String>)):
17613         New constructor.
17614         (EnvironmentMap.put(String,String)): Override superclass
17615         method with checks for nulls and non-Strings.
17616         
17617 2006-06-02  Sven de Marothy  <sven@physto.se>
17618
17619         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
17620         (cairoPreserveClip, cairoResetClip): New methods.
17621         (setClip, clip): Reimplement.
17622         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
17623         * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h
17624         (cairoPreserveClip, cairoResetClip): New methods.
17625         
17626 2006-06-02  Sven de Marothy  <sven@physto.se>
17627
17628         * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
17629         * include/gnu_java_awt_peer_gtk_GtkVolatileImage.h
17630         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c
17631         New files.
17632         * gnu/java/awt/peer/gtk/ComponentGraphics.java
17633         (drawImage): Overloads for VolatileImage drawing.
17634         (drawVolatile): New method.
17635         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
17636         * include/gnu_java_awt_peer_gtk_ComponentGraphics.h
17637         (drawVolatile): New method.
17638         * gnu/java/awt/peer/gtk/GtkVolatileImage.java
17639         Unstub implementation.
17640         * include/Makefile.am
17641         * native/jni/gtk-peer/Makefile.am
17642         Add new files.
17643         * native/jni/gtk-peer/gtkpeer.h
17644         New prototype.
17645         
17646 2006-06-03  Roman Kennke  <kennke@aicas.com>
17647
17648         PR 27418
17649         * javax/swing/plaf/basic/BasicTextUI.java
17650         (damageRange): Added null check to avoid NPE.
17651
17652 2006-06-03  Roman Kennke  <kennke@aicas.com>
17653
17654         * javax/swing/text/PlainView.java
17655         (updateDamage): Check for valid longestLine and initialize if
17656         necessary.
17657
17658 2006-06-03  Mark Wielaard  <mark@klomp.org>
17659
17660         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c: Use C
17661         comments, not C++.
17662
17663 2006-06-02  Sven de Marothy  <sven@physto.se>
17664
17665         PR 27879 
17666         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
17667         (copyArea): Implement.
17668         (copyAreaImpl, getRealBounds): New methods.
17669         * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java
17670         * gnu/java/awt/peer/gtk/ComponentGraphics.java
17671         * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
17672         (copyAreaImpl, getRealBounds): Implement.
17673         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17674         (nativeCopyArea): Reimplement.  
17675         
17676 2006-06-02  Andreas Tobler  <a.tobler@schweiz.ch>
17677
17678         * configure.ac: Add -lX11 and -lXtst to XTEST_LIBS.
17679         (XTEST_LIBS): New, substitute.
17680         * native/jni/gtk-peer/Makefile.am (AM_LDFLAGS): Add XTEST_LIBS.
17681
17682 2006-06-02  Roman Kennke <kennke@aicas.com>
17683
17684         PR 26738
17685         * javax/swing/text/PlainView.java
17686         (updateDamage): Rewritten for correct repainting and revalidating.
17687         (findLongestLine): New helper method.
17688         (getLineLength): New helper method.
17689
17690 2006-06-02  Sven de Marothy  <sven@physto.se>
17691
17692         * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
17693         * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java
17694         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17695         (nativeCopyArea): Change stride parameter to use # of ints.
17696         (setPixels): Add checks.
17697         * gnu/java/awt/peer/gtk/ComponentGraphics.java
17698         (ComponentGraphics): Set background, clip.
17699         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
17700         (Cairographics2D): Don't set clip.
17701         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
17702         Add flush.
17703
17704 2006-06-02  Lillian Angel  <langel@redhat.com>
17705
17706         PR 24458
17707         * java/awt/DefaultKeyboardFocusManager.java
17708         (dispatchEvent): Fixed to getFocusOwner, if that fails it tries
17709         to get the focused window.
17710
17711 2006-06-01  Miriam Schuster  <schmir11@web.de>
17712
17713         * Makefile.am: Add fallback if "mozilla-plugin" is not available.
17714         Fallbacks used: "firefox-plugin" and "xulrunner-plugin".
17715
17716 2006-06-02  Roman Kennke <kennke@aicas.com>
17717
17718         * javax/swing/JTable.java
17719         (columnSelectionChanged): Don't return when there's only one
17720         column (might still need repainting). Correctly calculate
17721         repaint rectangle.
17722         (valueChanged): Use return value of SwingUtilities.computeUnion
17723         as dirty region.
17724
17725 2006-06-01  Keith Seitz  <keiths@redhat.com>
17726
17727         From Martin Platter  <motse@complang.tuwien.ac.at>:
17728         * gnu/classpath/jdwp/processor/EventRequestCommandSet.java
17729         (executeSet): Fix buffer underflow reading reference ID.
17730         * gnu/classpath/jdwp/processor/ThreadGroupReferenceCommandSet.java
17731         (executeParent): Fix  NPE if ThreadGroup is top-level ThreadGroup. 
17732         * gnu/classpath/jdwp/processor/ClassTypeCommandSet.java
17733         (executeSuperclass): Handle case of Object with ID zero.
17734
17735 2006-06-02  Raif S. Naffah  <raif@swiftdsl.com.au>
17736
17737         * tools/gnu/classpath/tools/keytool/StorePasswdCmd.java: Fixed typo.
17738         * tools/gnu/classpath/tools/keytool/CertReqCmd.java: Likewise.
17739         * tools/gnu/classpath/tools/keytool/DeleteCmd.java: Likewise.
17740         * tools/gnu/classpath/tools/keytool/ExportCmd.java: Likewise.
17741         * tools/gnu/classpath/tools/keytool/GenKeyCmd.java: Likewise.
17742         * tools/gnu/classpath/tools/keytool/IdentityDBCmd.java: Likewise.
17743         * tools/gnu/classpath/tools/keytool/ImportCmd.java: Likewise.
17744         * tools/gnu/classpath/tools/keytool/KeyCloneCmd.java: Likewise.
17745         * tools/gnu/classpath/tools/keytool/KeyPasswdCmd.java: Likewise.
17746         * tools/gnu/classpath/tools/keytool/ListCmd.java: Likewise.
17747         * tools/gnu/classpath/tools/keytool/SelfCertCmd.java: Likewise.
17748
17749 2006-06-02  Raif S. Naffah  <raif@swiftdsl.com.au>
17750
17751         * tools/gnu/classpath/tools/keytool/Command.java (shutdownThread): New field.
17752         (Command): Add the shutdown hook.
17753         (doCommand): Remove the shutdown hook.
17754         (ShutdownHook): New class.
17755
17756 2006-06-02  Raif S. Naffah  <raif@swiftdsl.com.au>
17757
17758         * tools/jarsigner.in: Use @VM_BINARY@.
17759         * tools/keytool.in: Likewise.
17760
17761 2006-06-01  Sven de Marothy  <sven@physto.se>
17762
17763         * gnu/java/awt/peer/gtk/CairoGraphics2D.java:
17764         (setColor): Update the cairo paint.
17765
17766 2006-06-01  Mark Wielaard  <mark@klomp.org>
17767
17768         * java/util/logging/LogManager.java (createInstance): Always add
17769         original exception on warning.
17770
17771 2006-06-01  Lillian Angel  <langel@redhat.com>
17772
17773         * tools/gnu/classpath/tools/appletviewer/AppletTag.java
17774         (prependCodebase): Fixed check. No dirname was ever considered to 
17775         be a file, so every applet fell into the if-statement causing a lot
17776         of classloading problems with the applets.
17777
17778 2006-06-01  Sven de Marothy  <sven@physto.se>
17779
17780         Patch submitted by Boris Dusek.
17781         * native/jni/qt-peer/qtmenupeer.cpp
17782         Fix segfault
17783
17784 2006-06-01  Roman Kennke <kennke@aicas.com>
17785
17786         * javax/swing/JTable.java
17787         (AccessibleJTableCell.getAccessibleRow): Added comment explaining
17788         why the behaviour is like it is.
17789         (AccessibleJTableCell.getAccessibleStateSet): Implemented.
17790         (AccessibleJTableHeader): New inner class.
17791         (AccessibleJTableHeaderCell): New inner class.
17792         (AccessibleJTable.lastSelectedRow): New field.
17793         (AccessibleJTable.lastSelectedColumn): New field.
17794         (AccessibleJTable.caption): New field.
17795         (AccessibleJTable.summary): New field.
17796         (AccessibleJTable.rowDescriptions): New field.
17797         (AccessibleJTable.columnDescriptions): New field.
17798         (AccessibleJTable): Initialize lastSelectedRow and lastSelectedColumn.
17799         (AccessibleJTable.getAccessibleSelection(int)): Implemented.
17800         (AccessibleJTable.isAccessibleChildSelected): Implemented.
17801         (AccessibleJTable.addAccessibleSelection): Implemented.
17802         (AccessibleJTable.removeAccessibleSelection): Implemented.
17803         (AccessibleJTable.clearAccessibleSelection): Implemented.
17804         (AccessibleJTable.selectAllAccessibleSelection): Implemented.
17805         (AccessibleJTable.valueChange): Implemented.
17806         (AccessibleJTable.tableRowsInserted): Implemented.
17807         (AccessibleJTable.tableRowsDeleted): Implemented.
17808         (AccessibleJTable.handleRowChange): New helper method.
17809         (AccessibleJTable.columnAdded): Implemented.
17810         (AccessibleJTable.columnMarginChanged): Implemented.
17811         (AccessibleJTable.columnMoved): Implemented.
17812         (AccessibleJTable.columnRemoved): Implemented.
17813         (AccessibleJTable.columnSelectionChanged): Implemented.
17814         (AccessibleJTable.handleColumnChange): New helper method.
17815         (AccessibleJTable.editingCanceled): Implemented.
17816         (AccessibleJTable.editingStopped): Implemented.
17817         (AccessibleJTable.getAccessibleRow): Implemented.
17818         (AccessibleJTable.getAccessibleColumn): Implemented.
17819         (AccessibleJTable.getAccessibleIndex): Implemented.
17820         (AccessibleJTable.getAccessibleCaption): Implemented.
17821         (AccessibleJTable.setAccessibleCaption): Implemented.
17822         (AccessibleJTable.getAccessibleSummary): Implemented.
17823         (AccessibleJTable.setAccessibleSummary): Implemented.
17824         (AccessibleJTable.getAccessibleRowCount): Implemented.
17825         (AccessibleJTable.getAccessibleColumnCount): Implemented.
17826         (AccessibleJTable.getAccessibleAt): Implemented.
17827         (AccessibleJTable.getAccessibleRowExtentAt): Implemented.
17828         (AccessibleJTable.getAccessibleColumnExtentAt): Implemented.
17829         (AccessibleJTable.getAccessibleRowHeader): Implemented.
17830         (AccessibleJTable.setAccessibleRowHeader): Implemented.
17831         (AccessibleJTable.getAccessibleColumnHeader): Implemented.
17832         (AccessibleJTable.setAccessibleColumnHeader): Implemented.
17833         (AccessibleJTable.getAccessibleRowDescription): Implemented.
17834         (AccessibleJTable.setAccessibleRowDescription): Implemented.
17835         (AccessibleJTable.getAccessibleColumnDescription): Implemented.
17836         (AccessibleJTable.setAccessibleColumnDescription): Implemented.
17837         (AccessibleJTable.isAccessibleSelected): Implemented.
17838         (AccessibleJTable.isAccessibleRowSelected): Implemented.
17839         (AccessibleJTable.isAccessibleColumnSelected): Implemented.
17840         (AccessibleJTable.getSelectedAccessibleRows): Implemented.
17841         (AccessibleJTable.getSelectedAccessibleColumns): Implemented.
17842         (getAccessibleContext): Register listeners for the accessibility
17843         class on the JTable.
17844
17845 2006-06-01  Sven de Marothy  <sven@physto.se>
17846
17847         * gnu/java/awt/peer/gtk/CairoGraphics2D.java:
17848         (setPaint): Scale +1 pixel larger.
17849
17850 2006-06-01  Sven de Marothy  <sven@physto.se>
17851
17852         PR 27854
17853         * gnu/java/awt/Buffers.java (getData): Reimplement.
17854         * gnu/java/awt/peer/gtk/CairoSurface.java
17855         (getElem, setElem): Call native methods.
17856
17857 2006-06-01  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
17858
17859         * gnu/javax/swing/text/html/ImageViewIconFactory.java: New file.
17860
17861 2006-06-01  Sven de Marothy  <sven@physto.se>
17862
17863         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
17864         (drawImage): Check for zero size.
17865         * gnu/java/awt/peer/gtk/GdkTextLayout.java:
17866         (setFont): Declare new native method.
17867         (GdkTextLayout): Read some attributes.
17868         * include/gnu_java_awt_peer_gtk_GdkTextLayout.h
17869         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c
17870         (setFont): New native method.
17871         
17872 2006-06-01  Sven de Marothy  <sven@physto.se>
17873
17874         * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
17875         (updateBufferedImage): Fix some errors.
17876
17877 2006-06-01  David Gilbert  <david.gilbert@object-refinery.com>
17878
17879         * javax/swing/plaf/basic/BasicButtonUI.java: Minor source code style 
17880         fixes,
17881         * javax/swing/plaf/basic/BasicDirectoryModel.java: Likewise,
17882         * javax/swing/plaf/basic/BasicFileChooserUI.java: Likewise,
17883         * javax/swing/plaf/basic/BasicIconFactory.java: Likewise,
17884         * javax/swing/plaf/basic/BasicListUI.java: Likewise,
17885         * javax/swing/plaf/basic/BasicOptionPaneUI.java: Likewise,
17886         * javax/swing/plaf/basic/BasicRootPaneUI.java: Likewise,
17887         * javax/swing/plaf/basic/BasicScrollPaneUI.java: Likewise,
17888         * javax/swing/plaf/basic/BasicSpinnerUI.java: Likewise,
17889         * javax/swing/plaf/basic/BasicTabbedPaneUI.java: Likewise,
17890         * javax/swing/plaf/basic/BasicTextAreaUI.java: Likewise.
17891         
17892 2006-06-01  David Gilbert  <david.gilbert@object-refinery.com>
17893
17894         * javax/swing/JComboBox.java: Minor source code formatting fixes,
17895         * javax/swing/JEditorPane.java: Likewise,
17896         * javax/swing/JFormattedTextField.java: Likewise,
17897         * javax/swing/JLayeredPane.java: Likewise,
17898         * javax/swing/JScrollPane.java: Likewise,
17899         * javax/swing/JSlider.java: Likewise,
17900         * javax/swing/JSpinner.java: Likewise,
17901         * javax/swing/JTree.java: Likewise,
17902         * javax/swing/JViewport.java: Likewise,
17903         * javax/swing/UIDefaults.java: Likewise,
17904         * javax/swing/UIManager.java: Likewise.
17905         
17906 2006-06-01  Sven de Marothy  <sven@physto.se>
17907
17908         * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
17909         (BufferedImageGraphics): Cache surfaces.
17910         (updateBufferedImage): Copy directly for certain color models.
17911         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
17912         (drawImage): Reimplement.
17913
17914 2006-06-01  Sven de Marothy  <sven@physto.se>
17915
17916         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17917         (setPixels): Don't swap, correct size.
17918
17919 2006-05-31  Anthony Green  <green@redhat.com>
17920
17921         PR 27828
17922         * java/net/InetSocketAddress.java: Defer getting the host
17923         name until somebody calls InetSocketAddress.getHostName().
17924         Fix "represenation" typo.
17925
17926 2006-06-01  Sven de Marothy  <sven@physto.se>
17927
17928         * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
17929         (updateBufferedImage): Simplify.
17930         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17931         (getPixels): Don't swap.
17932
17933 2006-06-01  Sven de Marothy  <sven@physto.se>
17934
17935         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
17936         (setGradient): Reimplement.
17937         
17938 2006-06-01  Andreas Tobler  <a.tobler@schweiz.ch>
17939
17940         * native/jni/gtk-peer/cairographics2d.h: Rename/prefix function
17941         CairoGraphics2D_getCairoT to cp_gtk_get_cairo_t correctly.
17942         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17943         (Java_gnu_java_awt_peer_gtk_CairoSurface_drawSurface): Rename function
17944         CairoGraphics2D_getCairoT to cp_gtk_get_cairo_t.
17945         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c
17946         (Java_gnu_java_awt_peer_gtk_GdkTextLayout_cairoDrawGdkTextLayout):
17947         Likewise.
17948
17949 2006-05-31  David Gilbert  <david.gilbert@object-refinery.com>
17950
17951         * javax/swing/table/JTableHeader.java
17952         (getColumnHeaderRenderer): New method,
17953         (getAccessibleColumnHeaderRenderer): Delegate part to new
17954         getColumnHeaderRenderer() method,
17955         (getLocale): Implemented.
17956
17957 2006-05-31  Andreas Tobler  <a.tobler@schweiz.ch>
17958
17959         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
17960         (cp_gtk_grab_current_drawable): Rename
17961         cp_java_awt_peer_gtk_ComponentGraphics_grab_current_drawable to
17962         cp_gtk_grab_current_drawable, remove static declaration.
17963         (Java_gnu_java_awt_peer_gtk_ComponentGraphics_initState): Renamed above
17964         function.
17965         (Java_gnu_java_awt_peer_gtk_ComponentGraphics_copyAreaNative): Likewise.
17966         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphicsCopy.c:
17967         Remove prototype of
17968         cp_java_awt_peer_gtk_ComponentGraphics_grab_current_drawable.
17969         (Java_gnu_java_awt_peer_gtk_ComponentGraphicsCopy_getPixbuf): Rename
17970         function.
17971         (Java_gnu_java_awt_peer_gtk_ComponentGraphicsCopy_copyPixbuf): Likewise.
17972         * native/jni/gtk-peer/gtkpeer.h: Add prototype for
17973         cp_gtk_grab_current_drawable here.
17974
17975 2006-05-31  Sven de Marothy  <sven@physto.se>
17976
17977         Should fix PR 27835
17978         * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
17979         (updateBufferedImage): Keep within image bounds.
17980
17981 2006-05-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
17982             Andreas Tobler  <a.tobler@schweiz.ch>
17983
17984         * configure.ac: Check for libXrender when the GTK peers are
17985         enabled, and set HAVE_XRENDER accordingly. Add -lXrender to
17986         X_EXTRA_LIBS.
17987         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
17988         (Java_gnu_java_awt_peer_gtk_ComponentGraphics_hasXRender)
17989         [HAVE_XRENDER]: Call XRenderQueryExtension conditionally.
17990
17991 2006-05-31  Lillian Angel  <langel@redhat.com>
17992
17993         * javax/swing/plaf/basic/BasicProgressBarUI.java
17994         (paintString): Implemented to paint the string vertically.
17995
17996 2006-05-31  David Gilbert  <david.gilbert@object-refinery.com>
17997
17998         * javax/swing/JTable.java
17999         (AccessibleJTable.AccessibleJTable()): Check for null editor,
18000         (AccessibleJTable.getAccessibleRole()): Overridden to return correct 
18001         value,
18002         (AccessibleJTable.getAccessibleTable()): Likewise,
18003         (getAccessibleContext): Create new context if required.
18004
18005 2006-05-31  Roman Kennke <kennke@aicas.com>
18006
18007         * javax/swing/JTabbedPane.java
18008         (AccessibleJTabbedPane.stateChanged): Implemented.
18009         (Page.getAccessibleStateSet): Implemented.
18010         (Page.getAccessibleIndexInParent): Implemented.
18011         (getAccessibleContext): Add AccessibleJTabbedPane object
18012         as ChangeListener to the JTabbedPane.
18013
18014 2006-05-31  Roman Kennke <kennke@aicas.com>
18015
18016         * javax/swing/JMenuItem.java
18017         (getAccessibleContext): Register accessible object as ChangeListener
18018         to the JMenuItem.
18019         (AccessibleJMenuItem.armed): New field.
18020         (AccessibleJMenuItem.focusOwner): New field.
18021         (AccessibleJMenuItem.pressed): New field.
18022         (AccessibleJMenuItem.selected): New field.
18023         (stateChanged): Implemented.
18024
18025 2006-05-31  David Gilbert  <david.gilbert@object-refinery.com>
18026
18027         * javax/swing/ListSelectionModel.java: Added API docs all over.
18028
18029 2006-05-31  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
18030
18031         * examples/gnu/classpath/examples/swing/FillRect.java 
18032         (paintComponent): Optionally paint lines rather than rectangles.
18033         (createContent): Added option to test line painting.
18034
18035 2006-05-31  David Gilbert  <david.gilbert@object-refinery.com>
18036
18037         * javax/swing/event/EventListenerList.java
18038         (getListenerList): Updated API docs.
18039
18040 2006-05-30  Sven de Marothy  <sven@physto.se>
18041
18042         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
18043         (drawImage): Clip scaled image to dest rectangle.
18044
18045 2006-05-30  Sven de Marothy  <sven@physto.se>
18046
18047         * gnu/java/awt/peer/gtk/CairoSurface.java:
18048         (CairoSurface): Convert pixels properly.
18049         * gnu/java/awt/peer/gtk/ComponentGraphics.java
18050         Remove commented-out lines.
18051
18052 2006-05-30  Sven de Marothy  <sven@physto.se>
18053
18054         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
18055         (drawImage): Use Toolkit to convert to BufferedImage.
18056         * gnu/java/awt/peer/gtk/CairoSurface.java
18057         (CairoSurface(GtkImage)): New Constructor.
18058         (getBufferedImage): New method.
18059         * gnu/java/awt/peer/gtk/ComponentGraphics.java
18060         Don't fill background - FIXME.
18061         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
18062         Remove unused methods.
18063         * gnu/java/awt/peer/gtk/GtkImage.java:
18064         (pixbuflock): New field. Methods change to use this lock.
18065         * gnu/java/awt/peer/gtk/GtkToolkit.java
18066         (createImage): Use Cairo-backed surfaces via GtkImage instead of 
18067         GtkPixbufDecoder.
18068         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
18069         (setPixels): Correct length in bytes.
18070
18071 2006-05-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
18072
18073         * gnu/java/awt/peer/gtk/CairoGraphics2D.java (static): Call
18074         System.loadLibrary unconditionally.
18075         * gnu/java/awt/peer/gtk/GdkFontPeer.java: Likewise.
18076         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java: Likewise.
18077         * gnu/java/awt/peer/gtk/GdkTextLayout.java: Likewise.
18078         * gnu/java/awt/peer/gtk/GtkToolkit.java: Likewise.
18079
18080 2006-05-30  Mark Wielaard  <mark@klomp.org>
18081
18082         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
18083         (Java_gnu_java_awt_peer_gtk_ComponentGraphics_copyAreaNative):
18084         Mark unused parameters, remove unused variables.
18085
18086 2006-05-30  Sven de Marothy  <sven@physto.se>
18087
18088         * gnu/java/awt/peer/gtk/ComponentGraphics.java
18089         (copyArea): Implemented.
18090         * include/gnu_java_awt_peer_gtk_ComponentGraphics.h
18091         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c:
18092         (copyAreaNative): New method.
18093
18094 2006-05-30  Andreas Tobler  <a.tobler@schweiz.ch>
18095
18096         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
18097         (Java_gnu_java_awt_peer_gtk_CairoSurface_getPixels): Define i only
18098         for non big endian systems.
18099         (Java_gnu_java_awt_peer_gtk_CairoSurface_setPixels): Likewise.
18100
18101 2006-05-30  Roman Kennke <kennke@aicas.com>
18102
18103         * gnu/java/awt/java2d/TexturePaintContext.java: New file.
18104         * java/awt/TexturePaint.java
18105         (createContext): Implemented.
18106
18107 2006-05-30  Robert Schuster  <robertschuster@fsfe.org>
18108
18109         * javax/swing/table/DefaultTableMode.java: Initialize dataVector
18110         field early.
18111
18112 2006-05-30  Robert Schuster  <robertschuster@fsfe.org>
18113
18114         * java/awt/Container.java:
18115         (removeAll): Reimplemented, added note.
18116
18117 2006-05-30  Robert Schuster  <robertschuster@fsfe.org>
18118
18119         * java/awt/Container.java:
18120         (removeAll): Implemented different removal mechanism, added note.
18121
18122 2006-05-30  Lillian Angel  <langel@redhat.com>
18123
18124         PR 27785
18125         * java/awt/Component.java:
18126         (translateEvent): Added handling to translate WindowEvents
18127         * java/awt/Window.java:
18128         Removed unneeded imports.
18129
18130 2006-05-30  Mark Wielaard  <mark@klomp.org>
18131
18132         * native/jni/gtk-peer/Makefile.am (libgtkpeer_la_SOURCES): Add
18133         cairographics2d.h.
18134
18135 2006-05-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
18136
18137         * gnu/java/awt/peer/gtk/GtkImage.java: Fix constructor javadoc.
18138
18139 2006-05-29  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
18140
18141         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
18142         (clearRect): Do not reuse the fg field, call updateColor.
18143         (drawRaster): Likewise.
18144         (setColor): Call updateColor.
18145         (updateColor): New method.
18146
18147 2006-05-30  Mark Wielaard  <mark@klomp.org>
18148
18149         * native/jni/classpath/jcl.h (JLONG_TO_PTR): New macro.
18150         (PTR_TO_JLONG): Likewise.
18151         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
18152         (getPointer): Use new conversion macros.
18153         (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_init): Likewise.
18154         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
18155         (Java_gnu_java_awt_peer_gtk_CairoSurface_newCairoContext):
18156         Likewise.
18157         (setNativeObject): Likewise.
18158         (getNativeObject): Likewise.
18159         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
18160         (cp_java_awt_peer_gtk_ComponentGraphics_grab_current_drawable):
18161         Mark static.
18162         (Java_gnu_java_awt_peer_gtk_ComponentGraphics_initState):
18163         Correctly cast XID and pointer values.
18164         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphicsCopy.c
18165         (Java_gnu_java_awt_peer_gtk_ComponentGraphicsCopy_getPixbuf):
18166         Mark unused variables.
18167         (Java_gnu_java_awt_peer_gtk_ComponentGraphicsCopy_copyPixbuf):
18168         Likewise.
18169         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c
18170         (Java_gnu_java_awt_peer_gtk_GdkTextLayout_cairoDrawGdkTextLayout):
18171         Remove unused cairographics2d struct.
18172         (_moveTo, _lineTo, _quadTo, _curveTo): Mark arguments const.
18173         (Java_gnu_java_awt_peer_gtk_GtkImage_initFromBuffer):
18174         Use new conversion macros.
18175         * native/jni/midi-dssi/dssi_data.h: Move conversion macros to jcl.h.
18176
18177 2006-05-30  Mark Wielaard  <mark@klomp.org>
18178
18179         * include/Makefile.am (gnu_java_nio_VMChannel.h): Added.
18180
18181 2006-05-29  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
18182
18183         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
18184         (copy): Do not reuse the fd field.
18185         (setColor): Do not set the color if the parameter
18186         matches fd field.
18187         (translate(double, double): Rewritten to use
18188         AffineTransform.translate. 
18189
18190 2006-05-30  Sven de Marothy  <sven@physto.se>
18191
18192         * gnu/java/awt/peer/gtk/ComponentGraphicsCopy.java
18193         * include/gnu_java_awt_peer_gtk_ComponentGraphicsCopy.h
18194         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphicsCopy.c
18195         New files.
18196         * include/Makefile.am
18197         * native/jni/gtk-peer/Makefile.am
18198         Add new files.
18199         * gnu/java/awt/peer/gtk/CairoSurface.java
18200         (getSharedGtkImage): New method.
18201         * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java
18202         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
18203         Fix copyArea.
18204         * gnu/java/awt/peer/gtk/ComponentGraphics.java
18205         Support a non-xrender context.
18206         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
18207         Plug memory leak.
18208         * gnu/java/awt/peer/gtk/GtkImage.java
18209         * include/gnu_java_awt_peer_gtk_GtkImage.h
18210         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c
18211         (initFromBuffer): New method.   
18212         * native/jni/gtk-peer/gtkpeer.h: 
18213         Remove declarations of previouslyremoved methods.
18214
18215 2006-05-29  Thomas Fitzsimmons  <fitzsim@redhat.com>
18216
18217         * tools/Makefile.am [FOUND_CACAO] (LIBJVM): Define to -ljvm.
18218
18219 2006-05-29  Mark Wielaard  <mark@klomp.org>
18220
18221         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
18222         (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_init): Mark unused
18223         arguments.
18224         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
18225         (Java_gnu_java_awt_peer_gtk_CairoSurface_setPixels): Declare size
18226         early. Remove unused return statement in void function.
18227         (Java_gnu_java_awt_peer_gtk_CairoSurface_newCairoContext): Declare
18228         ptr early.
18229         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
18230         (Java_gnu_java_awt_peer_gtk_ComponentGraphics_hasXRender): Mark
18231         unused arguments.
18232         (Java_gnu_java_awt_peer_gtk_ComponentGraphics_initState): Likewise.
18233         (Java_gnu_java_awt_peer_gtk_ComponentGraphics_start_1gdk_1drawing):
18234         Likewise.
18235         (Java_gnu_java_awt_peer_gtk_ComponentGraphics_end_1gdk_1drawing):
18236         Likewise.
18237
18238 2006-05-29  Sven de Marothy  <sven@physto.se>
18239
18240         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
18241         (setPixels): Remove superfluous return statement.       
18242
18243 2006-05-29  Sven de Marothy  <sven@physto.se>
18244
18245         * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
18246         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
18247         * gnu/java/awt/peer/gtk/CairoSurface.java
18248         * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java
18249         * gnu/java/awt/peer/gtk/ComponentGraphics.java
18250         * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h
18251         * include/gnu_java_awt_peer_gtk_CairoSurface.h
18252         * include/gnu_java_awt_peer_gtk_ComponentGraphics.h
18253         * native/jni/gtk-peer/cairographics2d.h
18254         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
18255         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
18256         New files.
18257
18258         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
18259         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
18260         * include/gnu_java_awt_peer_gtk_GdkGraphics2D.h
18261         Removed
18262
18263         * include/gnu_java_awt_peer_gtk_GdkFontPeer.h
18264         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
18265         * gnu/java/awt/peer/gtk/GdkFontPeer.java
18266         (releasePeerGraphicsResource): Moved to Font peer class.
18267
18268         * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java
18269         (createGraphics): Use new context classes.
18270
18271         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
18272         Use native BufferedImages where possible.
18273
18274         * gnu/java/awt/peer/gtk/GdkTextLayout.java
18275         * include/gnu_java_awt_peer_gtk_GdkTextLayout.h
18276         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c
18277         Move GdkGraphics2D.drawGdkTextLayout to the GdkTextLayout class,
18278         renamed to cairoDrawGdkTextLayout.
18279         
18280         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
18281         (getGraphics): Use ComponentGraphics context.
18282         (createImage): Use native BufferedImage.
18283         
18284         * gnu/java/awt/peer/gtk/GtkImage.java:
18285         * include/gnu_java_awt_peer_gtk_GtkImage.h
18286         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c
18287         Remove pixmap support. (GtkImage(int, int) constructor, getGraphics)
18288         Remove drawing methods.
18289                 
18290         * gnu/java/awt/print/JavaPrinterGraphics.java:
18291         Use CairoSurface instead of GtkImage.
18292         
18293         * include/Makefile.am
18294         * native/jni/gtk-peer/Makefile.am
18295         Update for new files.
18296
18297         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c
18298         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFramePeer.c
18299         Remove superfluous GtkImage code for GdkPixmaps. 
18300
18301         * native/jni/gtk-peer/gtkpeer.h
18302         Remove graphics2d structure.
18303         
18304 2006-05-29  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
18305
18306         * gnu/java/awt/peer/gtk/GdkGraphics2D.java (copying constructor):
18307         Do not reuse fg in the constructor.
18308
18309 2006-05-29  Carsten Neumann  <cn-develop@gmx.net>
18310
18311         * java/io/ObjectStreamConstants.java: Added API docs.
18312
18313 2006-05-29  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
18314
18315         * gnu/java/awt/peer/gtk/GdkGraphics2D.java (setColor):
18316         Take no action if this color is already set.
18317
18318 2006-05-29  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
18319
18320         * gnu/java/awt/peer/gtk/GdkGraphics2D.java (translate):
18321         Rewritten. 
18322         * examples/gnu/classpath/examples/swing/FillRect.java (paintComponent):
18323         Optionally paint with translation. (createContent): Added option
18324         to test painting with translation
18325
18326 2006-05-29  Raif S. Naffah  <raif@swiftdsl.com.au>
18327
18328         * java/util/logging/FileHandler.java (FileHandler): Set the instance field
18329         pattern to the default value when null.
18330         Pass field pattern, and not parameter with same name to createFileStream.
18331
18332 2006-05-28  Andrew John Hughes  <gnu_andrew@member.fsf.org>
18333
18334         * gnu/java/lang/management/OperatingSystemMXBeanImpl.java:
18335         New class implementing the OS bean.
18336         * gnu/java/lang/management/package.html:
18337         New file to document the gnu.java.lang.management package.
18338         * java/lang/management/ManagementFactory.java:
18339         New class to provide access to the OS bean.
18340         * java/lang/management/OperatingSystemMXBean.java:
18341         New interface.
18342         * java/lang/management/package.html:
18343         New file to document the java.lang.management package.
18344         
18345 2006-05-28  Raif S. Naffah  <raif@swiftdsl.com.au>
18346
18347         * tools/gnu/classpath/tools/keytool/ImportCmd.java (GKR): New constant.
18348         (JKS): Likewise.
18349         (LIB): Likewise.
18350         (SECURITY): Likewise.
18351         (CACERTS): Likewise.
18352         (CACERTS_GKR): Likewise.
18353         (gkrCaCertsPathName): New field.
18354         (jksCaCertsPathName): Likewise.
18355         (selfSignedCertificate): Likewise.
18356         (start): Initialize trusted certificate key stores if -trustcacerts is
18357         specified.
18358         (ensureReplyIsOurs): Initialize selfSignedCertificate.
18359         (orderChain): Implemented.
18360         (findTrustAndUpdate): Check a cacerts.gkr (GKR) and a cacert (JKS) trusted
18361         certificate key stores if -trustcacerts option is specified.
18362         (findTrustInCACerts): Removed.
18363         (getCertPathParameters): New method.
18364         (validate): New method.
18365         * resource/gnu/classpath/tools/keytool/messages.properties: Added message.
18366
18367 2006-05-28  Raif S. Naffah  <raif@swiftdsl.com.au>
18368
18369         * java/util/logging/FileHandler.java (PROPERTY_PREFIX): New constant.
18370         (PATTERN_KEY): Likewise.
18371         (DEFAULT_PATTERN): Likewise.
18372         (LIMIT_KEY): Likewise.
18373         (DEFAULT_LIMIT): Likewise.
18374         (COUNT_KEY): Likewise.
18375         (DEFAULT_COUNT): Likewise.
18376         (APPEND_KEY): Likewise.
18377         (DEFAULT_APPEND): Likewise.
18378         (FileHandler()): Use pattern value as set in logging.properties.
18379         Use constants defined above.
18380         (FileHandler(1)): Use constants defined above.
18381         (FileHandler(2)): Likewise.
18382         (FileHandler(3)): Likewise.
18383         (FileHandler(4)): Likewise.
18384         (createFileStream): Likewise.
18385
18386 2006-05-28  Raif S. Naffah  <raif@swiftdsl.com.au>
18387
18388         * java/util/logging/FileHandler.java: Reverted previous patch.
18389         * java/util/logging/LogManager.java: Likewise.
18390
18391 2006-05-28  Raif S. Naffah  <raif@swiftdsl.com.au>
18392
18393         * java/util/logging/FileHandler.java (PATTERN_KEY): New constant.
18394         (DEFAULT_PATTERN): Likewise.
18395         (FileHandler()): Use configured pattern property if any; otherwise use a
18396         default value as per RI documentation.
18397         * java/util/logging/LogManager.java (getStringProperty): New method.
18398
18399 2006-05-27  Thomas Fitzsimmons  <fitzsim@redhat.com>
18400
18401         * NEWS: Announce libjawtgnu.so-to-libjawt.so rename.
18402
18403 2006-05-27  Thomas Fitzsimmons  <fitzsim@redhat.com>
18404
18405         * configure.ac (FOUND_CACAO): New automake conditional.
18406         Add --enable-tool-wrappers.
18407         * NEWS: Introduce the --enable-tool-wrappers option.
18408         * tools/Makefile.am[CREATE_WRAPPERS]: Build wrapper binaries.
18409         * tools/appletviewer.c: Remove file.  Make tool-indepedent and
18410         rename ...
18411         * tools/toolwrapper.c: New file.
18412
18413 2006-05-27  Dalibor Topic  <robilad@kaffe.org>
18414
18415         * java/awt/Graphics2D.java: Use full class name for 
18416         PrinterJob in javadoc.
18417
18418 2006-05-27  Andreas Tobler  <a.tobler@schweiz.ch>
18419
18420         * native/jni/qt-peer/eventmethods.h (callVoidMethod): Silence warning.
18421         (callMouseMethod): Likewise.
18422
18423 2006-05-26  Andrew John Hughes  <gnu_andrew@member.fsf.org>
18424
18425         * native/jni/java-net/java_net_VMURLConnection.c:
18426         Fix function declarations to specify unused parameters.
18427         * scripts/check_jni_methods.sh:
18428         Remove copies of the same function using uniq.
18429         
18430 2006-05-26  Andrew John Hughes  <gnu_andrew@member.fsf.org>
18431
18432         * vm/reference/java/net/VMURLConnection.java:
18433         Make package-private and final.
18434         
18435 2006-05-27  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
18436
18437         * examples/gnu/classpath/examples/swing/TableDemo.java
18438         (TModed): Added editor for the icons column.
18439         (createContent): Increase the row height by 2 px.
18440
18441 2006-05-26  Tom Tromey  <tromey@redhat.com>
18442
18443         PR classpath/27685:
18444         * java/math/BigInteger.java (modPow): Correctly handle negative
18445         exponent.
18446
18447 2006-05-26  Tom Tromey  <tromey@redhat.com>
18448
18449         * configure.ac: Check for magic.h and -lmagic.
18450         * vm/reference/java/net/VMURLConnection.java: New file.
18451         * include/java_net_VMURLConnection.h: New file.
18452         * include/Makefile.am (H_FILES): Add VMURLConnection.h.
18453         ($(top_srcdir)/include/java_net_VMURLConnection.h): New target.
18454         * native/jni/java-net/Makefile.am (libjavanet_la_SOURCES):
18455         Mention new file.
18456         (libjavanet_la_LIBADD): Add $(LIBMAGIC).
18457         * native/jni/java-net/java_net_VMURLConnection.c: New file.
18458
18459 2006-05-26  Thomas Fitzsimmons  <fitzsim@redhat.com>
18460
18461         * tools/Makefile.am (installcheck-binSCRIPTS): Do nothing.
18462
18463 2006-05-26  Thomas Fitzsimmons  <fitzsim@redhat.com>
18464
18465         * native/jawt/Makefile.am (nativeexeclib_LTLIBRARIES): Rename
18466         libjawtgnu.la libjawt.la.
18467
18468 2006-05-26  Thomas Fitzsimmons  <fitzsim@redhat.com>
18469
18470         * native/jni/gtk-peer/Makefile.am (libgtkpeer_la_SOURCES): Remove
18471         gtkcairopeer.h.
18472
18473 2006-05-25  Lillian Angel  <langel@redhat.com>
18474         
18475         PR 26174
18476         * java/awt/Window.java
18477         (Window): Moved code to helper.
18478         (addWindowFocusListener): New function. Handles focus
18479         listener code. Added code to handle focus lost/gained
18480         from the window.
18481
18482 2006-05-25  Andrew John Hughes  <gnu_andrew@member.fsf.org>
18483
18484         * configure.ac:
18485         Make pkg-config check for GTK+ >= 2.8.
18486         
18487 2006-05-25  Thomas Fitzsimmons  <fitzsim@redhat.com>
18488
18489         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
18490         (flush): Remove debugging printfs.
18491
18492 2006-05-25  Thomas Fitzsimmons  <fitzsim@redhat.com>
18493
18494         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
18495         (schedule_flush): New function.
18496         (end_drawing_operation): Call schedule_flush.
18497
18498 2006-05-25  Thomas Fitzsimmons  <fitzsim@redhat.com>
18499
18500         * examples/gnu/classpath/examples/swing/Demo.java: Add FillRect
18501         paint performance demo.
18502         * examples/gnu/classpath/examples/swing/FillRect.java: New file.
18503
18504 2006-05-25  Thomas Fitzsimmons  <fitzsim@redhat.com>
18505
18506         * INSTALL: Bump GTK requirement to 2.8 or higher.  Do not mention
18507         Cairo version requirement.  Do not mention --enable-gtk-cairo
18508         configure option.
18509         * NEWS: Add entry for GdkGraphics2D.
18510         * configure.ac: Remove --enable-gtk-cairo and explicit checks for
18511         Cairo library and headers.
18512         * .externalToolBuilders/Configure.launch: Remove
18513         --enable-gtk-cairo from configure line.
18514         * gnu/classpath/Configuration.java.in (GTK_CAIRO_ENABLED): Remove
18515         field.
18516         * gnu/java/awt/BitwiseXORComposite.java: Fix javadoc typo.
18517         * gnu/java/awt/peer/gtk/GdkFontPeer.java,
18518         native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c : Remove
18519         useGraphics2D references.  Always assume Graphics2D is enabled.
18520         * gnu/java/awt/peer/gtk/GdkGraphics.java,
18521         native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c: Remove.
18522         * gnu/java/awt/peer/gtk/GdkGraphics2D.java,
18523         native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c: Remove
18524         Unlocked method variants.  Remove GTK_CAIRO_ENABLED and
18525         useGraphics2D references.  Always assume Graphics2D is enabled.
18526         * gnu/java/awt/peer/gtk/GdkTextLayout.java: Remove instanceof
18527         Graphics2D check.  Always assume Graphics2D is enabled.
18528         * gnu/java/awt/peer/gtk/GtkCanvasPeer.java,
18529         native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c
18530         (realize): Remove method.
18531         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
18532         native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
18533         (isRealized): Remove method.
18534         (realize): Implement as a native method.  Remove useGraphics2D
18535         references.  Always assume Graphics2D is enabled.
18536         * gnu/java/awt/peer/gtk/GtkImage.java,
18537         native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c: Replace
18538         GdkGraphics references with GdkGraphics2D references.
18539         * gnu/java/awt/peer/gtk/GtkToolkit.java,
18540         native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c: Remove
18541         useGraphics2D references.  Always assume Graphics2D is enabled.
18542         * include/Makefile.am (GTKPEER_H_FILES): Remove
18543         gnu_java_awt_peer_gtk_GdkGraphics.h.
18544         * include/gnu_java_awt_peer_gtk_GdkFontPeer.h: Regenerate.
18545         * include/gnu_java_awt_peer_gtk_GdkGraphics.h: Remove.
18546         * include/gnu_java_awt_peer_gtk_GdkGraphics2D.h: Regenerate.
18547         * include/gnu_java_awt_peer_gtk_GtkCanvasPeer.h: Likewise.
18548         * include/gnu_java_awt_peer_gtk_GtkComponentPeer.h: Likewise.
18549         * native/jawt/Makefile.am (AM_LDFLAGS): Remove CAIRO_LIBS.
18550         * native/jni/gtk-peer/Makefile.am (libgtkpeer_la_SOURCES): Remove
18551         gnu_java_awt_peer_gtk_GdkGraphics.c.  Include
18552         gnu_java_awt_peer_gtk_GdkGraphics2D.c unconditionally.
18553         (AM_LDFLAGS): Remove CAIRO_LIBS.
18554         (AM_CFLAGS): Remove CAIRO_CFLAGS.
18555         * native/jni/gtk-peer/gtkcairopeer.h: Remove.  Move declarations
18556         to ...
18557         * native/jni/gtk-peer/gtkpeer.h: Add Graphics2D declarations.
18558
18559 2006-05-25  Lillian Angel  <langel@redhat.com>
18560
18561         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
18562         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkWidgetSetCursorUnlocked):
18563         Added check to prevent assertion error. If widget->window is null, then
18564         use the parent widget's window to set the cursor on.
18565
18566 2006-05-25  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
18567
18568         * javax/swing/plaf/basic/BasicTreeUI.java (TreeCancelEditingAction):
18569         Implemented.
18570
18571 2006-05-24  Lillian Angel  <langel@redhat.com>
18572
18573         * tools/gnu/classpath/tools/appletviewer/AppletTag.java
18574         (prependCodeBase): Added check to determine if the documentbase
18575         points to a directory or a file.
18576
18577 2006-05-24  Sven de Marothy  <sven@physto.se>
18578
18579         * java/awt/dnd/DragGestureRecognizer.java
18580         (resetRecognizer): Implement.
18581         (fireDragGestureRecognized): Implement.
18582
18583 2006-05-24  David Gilbert  <david.gilbert@object-refinery.com>
18584
18585         * javax/swing/plaf/basic/BasicComboBoxUI.java: Marked stub methods and
18586         fixed source code formatting.
18587
18588 2006-05-24  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
18589
18590         * javax/swing/JTable.java (valueChanged): If is editing, stop editing.
18591
18592 2006-05-24  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
18593
18594         Reported by Antony Balkisson.
18595         * javax/swing/JTable.java (selectAll): Return without action 
18596         if the table is empty.
18597
18598 2006-05-23  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
18599
18600         * examples/gnu/classpath/examples/swing/TableDemo.java:
18601         (SliderCell): New inner class. (setCustomEditors,
18602         setInformativeHeaders): New fields. (createContent):
18603         Rewritten.
18604         * javax/swing/DefaultCellEditor.java 
18605         (JComboBoxDelegate.shouldSelectCell): New method.
18606         * javax/swing/JTable.java (editCellAt): Call shouldSelectCell.
18607         * javax/swing/plaf/basic/BasicTableUI.java
18608         (MouseInputHandler.mouseClicked): Start editing on a single
18609         click if the cell editor is not a default cell editor.
18610
18611 2006-05-23  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
18612
18613         * javax/swing/naming/CompositeName.java,
18614         javax/swing/naming/CompoundName.java:
18615         Documented.
18616
18617 2006-05-23  Archie Cobbs  <archie@dellroad.org>
18618
18619         * vm/reference/java/lang/VMClassLoader.java: fix static initializer
18620         ordering problem.
18621
18622 2006-05-23  David Gilbert  <david.gilbert@object-refinery.com>
18623
18624         * javax/swing/tree/AbstractLayoutCache.java: Coding style fixes,
18625         * javax/swing/tree/DefaultMutableTreeNode.java: Likewise,
18626         * javax/swing/tree/DefaultTreeCellRenderer.java: Likewise,
18627         * javax/swing/tree/DefaultTreeModel.java: Likewise,
18628         * javax/swing/tree/DefaultTreeSelectionModel.java: Likewise,
18629         * javax/swing/tree/ExpandVetoException.java: Likewise,
18630         * javax/swing/tree/FixedHeightLayoutCache.java: Likewise,
18631         * javax/swing/tree/RowMapper.java: Likewise,
18632         * javax/swing/tree/TreeNode.java: Likewise,
18633         * javax/swing/tree/TreeSelectionModel.java: Likewise,
18634         * javax/swing/tree/VariableHeightLayoutCache.java: Likewise.
18635
18636 2006-05-23  David Gilbert  <david.gilbert@object-refinery.com>
18637
18638         * javax/swing/tree/DefaultTreeCellRenderer.java
18639         (DefaultTreeCellRenderer): Changed key for 
18640         setBackgroundNonSelectionColor(),
18641         plus API docs all over.
18642
18643 2006-05-23  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
18644         
18645         PR 27680
18646         * javax/swing/JTable.java (booleanInvertingEditor): New field.
18647         (defaultEditorsByColumnClass, defaultRenderersByColumnClass):
18648         Initialise in constructor. (columnMoved): Cancel editing.
18649         (createDefaultEditors): Rewritten. (editCellAt):
18650         Just invert the value if this is a boolean cell. 
18651         (initialiseLocalVars): Do not initialise renderer and editor tables.
18652         (setUI): Create editors and renderers here.
18653
18654 2006-05-23  Robert Schuster  <robertschuster@fsfe.org>
18655
18656         * examples/gnu/classpath/examples/awt/Demo.java:
18657         (MainWindow.MainWindow): Added ResolutionWindow and FullscreenWindow
18658         instance as subframe.
18659         (ResolutionWindow): New inner class.
18660         (FullscreenWindow): New inner class.
18661
18662 2006-05-23  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
18663         
18664         PR 27680
18665         * javax/swing/JTable.java (BooleanCellRenderer, IconCellRenderer):
18666         Set horizontal alignment to centered.
18667
18668 2006-05-22  David Gilbert  <david.gilbert@object-refinery.com>
18669
18670         * javax/accessibility/AccessibleContext.java
18671         (getAccessibleComponent): Fixed typo in docs,
18672         * javax/swing/JLabel.java:
18673         (AccessibleJLabel.getAccessibleName): Check for explicit 
18674         accessibleName,
18675         * javax/swing/JTableHeader.java
18676         (AccessibleJTableHeaderEntry.columnIndex): New field,
18677         (AccessibleJTableHeaderEntry.parent): New field,
18678         (AccessibleJTableHeaderEntry.table): New field,
18679         (AccessibleJTableHeaderEntry.AccessibleJTableHeaderEntry()): 
18680         Implemented,
18681         (AccessibleJTableHeaderEntry.getAccessibleColumnHeaderRenderer): New 
18682         utility method,
18683         (AccessibleJTableHeaderEntry.addFocusListener): Implemented,
18684         (AccessibleJTableHeaderEntry.addPropertyChangeListener): Implemented,
18685         (AccessibleJTableHeaderEntry.contains): Implemented,
18686         (AccessibleJTableHeaderEntry.getAccessibleAction): Implemented,
18687         (AccessibleJTableHeaderEntry.getAccessibleAt): Implemented,
18688         (AccessibleJTableHeaderEntry.getAccessibleChild): Implemented,
18689         (AccessibleJTableHeaderEntry.getAccessibleChildrenCount): Implemented,
18690         (AccessibleJTableHeaderEntry.getAccessibleComponent): Implemented,
18691         (AccessibleJTableHeaderEntry.getAccessibleContext): Implemented,
18692         (AccessibleJTableHeaderEntry.getAccessibleDescription): Implemented,
18693         (AccessibleJTableHeaderEntry.getAccessibleIndexInParent): Implemented,
18694         (AccessibleJTableHeaderEntry.getAccessibleName): Implemented,
18695         (AccessibleJTableHeaderEntry.getAccessibleRole): Implemented,
18696         (AccessibleJTableHeaderEntry.getAccessibleSelection): Implemented,
18697         (AccessibleJTableHeaderEntry.getAccessibleStateSet): Implemented,
18698         (AccessibleJTableHeaderEntry.getAccessibleText): Implemented,
18699         (AccessibleJTableHeaderEntry.getAccessibleValue): Implemented,
18700         (AccessibleJTableHeaderEntry.getBackground): Implemented,
18701         (AccessibleJTableHeaderEntry.getBounds): Implemented,
18702         (AccessibleJTableHeaderEntry.getCursor): Implemented,
18703         (AccessibleJTableHeaderEntry.getFont): Implemented,
18704         (AccessibleJTableHeaderEntry.getFontMetrics): Implemented,
18705         (AccessibleJTableHeaderEntry.getForeground): Implemented,
18706         (AccessibleJTableHeaderEntry.getLocation): Implemented,
18707         (AccessibleJTableHeaderEntry.getLocationOnScreen): Implemented,
18708         (AccessibleJTableHeaderEntry.getSize): Implemented,
18709         (AccessibleJTableHeaderEntry.isEnabled): Implemented,
18710         (AccessibleJTableHeaderEntry.isFocusTraversable): Implemented,
18711         (AccessibleJTableHeaderEntry.isShowing): Implemented,
18712         (AccessibleJTableHeaderEntry.isVisible): Implemented,
18713         (AccessibleJTableHeaderEntry.removeFocusListener): Implemented,
18714         (AccessibleJTableHeaderEntry.removePropertyChangeListener): 
18715         Implemented,
18716         (AccessibleJTableHeaderEntry.requestFocus): Implemented,
18717         (AccessibleJTableHeaderEntry.setAccessibleDescription): Implemented,
18718         (AccessibleJTableHeaderEntry.setAccessibleName): Implemented,
18719         (AccessibleJTableHeaderEntry.setBackground): Implemented,
18720         (AccessibleJTableHeaderEntry.setBounds): Implemented,
18721         (AccessibleJTableHeaderEntry.setCursor): Implemented,
18722         (AccessibleJTableHeaderEntry.setEnabled): Implemented,
18723         (AccessibleJTableHeaderEntry.setFont): Implemented,
18724         (AccessibleJTableHeaderEntry.setForeground): Implemented,
18725         (AccessibleJTableHeaderEntry.setLocation): Implemented,
18726         (AccessibleJTableHeaderEntry.setSize): Implemented,
18727         (AccessibleJTableHeaderEntry.setVisible): Implemented,
18728         (AccessibleJTableHeader.getAccessibleRole): Implemented,
18729         (AccessibleJTableHeader.getAccessibleChildrenCount): Implemented,
18730         (AccessibleJTableHeader.getAccessibleChild): Implemented,
18731         (AccessibleJTableHeader.getAccessibleAt): Implemented.
18732
18733 2006-05-22  Tom Tromey  <tromey@redhat.com>
18734
18735         * NEWS: Updated.
18736
18737 2006-05-22  David Gilbert  <david.gilbert@object-refinery.com>
18738
18739         * javax/swing/JLabel.java
18740         (AccessibleJLabel.getAccessibleName): New method (override),
18741         (setLabelFor): Fire 'labelFor' property change event before other
18742         events.
18743
18744 2006-05-22  David Gilbert  <david.gilbert@object-refinery.com>
18745
18746         * javax/swing/JLabel.java
18747         (AccessibleJLabel.getAccessibleRole): New method (override).
18748
18749 2006-05-22  Tom Tromey  <tromey@redhat.com>
18750
18751         * resource/gnu/classpath/tools/serialver/messages.properties: New
18752         file.
18753         * tools/gnu/classpath/tools/serialver/Messages.java: New file.
18754         * tools/gnu/classpath/tools/serialver/SerialVer.java (classes): New
18755         field.
18756         (classpath): Likewise.
18757         (run): New method.
18758         (main): Use it.
18759         (addFileURL): New method.
18760         (getClassLoader): Likewise.
18761         (printMessage): Likewise.
18762
18763 2006-05-22  Tom Tromey  <tromey@redhat.com>
18764
18765         * tools/gnu/classpath/tools/serialver/SerialVer.java: New file.
18766
18767 2006-05-22  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
18768
18769         * javax/swing/JTable.java (doLayout): In the column
18770         resize mode, only repaing the changed part of the table.
18771         (getLeftResizingBoundary): New method.
18772
18773 2006-05-22  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
18774
18775         * javax/naming/spi/InitialContextFactory.java,
18776         javax/naming/spi/InitialContextFactoryBuilder.java,
18777         javax/naming/spi/NamingManager.java,
18778         javax/naming/spi/ObjectFactory.java,
18779         javax/naming/spi/ResolveResult.java,
18780         javax/naming/spi/Resolver.java,
18781         javax/naming/spi/StateFactory.java: Documented.
18782
18783 2006-05-21  Tom Tromey  <tromey@redhat.com>
18784
18785         PR classpath/27688:
18786         * tools/gnu/classpath/tools/jar/Extractor.java (allItems): Now
18787         a WorkSet.
18788         (initSet): Removed.
18789         (shouldExtract): Removed.
18790         (run): Updated.
18791         * tools/gnu/classpath/tools/jar/WorkSet.java: New file.
18792         * tools/gnu/classpath/tools/jar/Lister.java (readUntilEnd): New
18793         method.
18794         (listJar): Use it.
18795         (allItems): New field.
18796         (run): Initialize it.
18797         (listJar): Use it.
18798
18799 2006-05-22  Sven de Marothy  <sven@physto.se>
18800
18801         * java/nio/CharBuffer.java
18802         (wrap): Fix bounds checking.
18803
18804 2004-08-26  Tom Tromey  <tromey@redhat.com>
18805
18806         * java/io/OutputStream.java 
18807         (OutputStream): Implements Closeable, Flushable.
18808
18809 2006-04-02  Andrew John Hughes  <gnu_andrew@member.fsf.org>
18810
18811         * java/io/ObjectOutputStream.java:
18812         (writeObject(Object)): Added enum support.
18813         (writeClassDescriptor(ObjectStreamClass)): Likewise.
18814         * java/io/ObjectStreamClass.java:
18815         (isEnum()): New package-private method.
18816         (setFlags(Class)): Added enum support.
18817         * java/io/ObjectStreamConstants.java:
18818         (SC_ENUM): Added.
18819
18820 2006-03-29  Andrew John Hughes  <gnu_andrew@member.fsf.org>
18821
18822         * java/io/ObjectInputStream.java:
18823         (parseContent(byte)): Added enum support.
18824         * java/io/ObjectStreamConstants.java:
18825         (TC_ENUM): Added.
18826         (TC_MAX): Changed to new maximum, TC_ENUM.
18827
18828 2006-05-21  Andrew John Hughes  <gnu_andrew@member.fsf.org>
18829
18830         * java/beans/beancontext/BeanContextSupport.java:
18831         (instantiateChild(String)): Implemented.
18832         
18833 2006-05-21  Andrew John Hughes  <gnu_andrew@member.fsf.org>
18834
18835         * java/beans/beancontext/BeanContextSupport.java:
18836         (add(Object)): Add further documentation.
18837         (isEmpty()): Documented.
18838         (propertyChange(PropertyChangeEvent)): Implemented.
18839         (remove(Object)): Documented.
18840         (remove(Object,boolean)): Documented and implemented.
18841         (vetoableChange(PropertyChangeEvent)): Marked as
18842         implemented (only subclasses appear to need this).
18843         
18844 2006-05-21  Andrew John Hughes  <gnu_andrew@member.fsf.org>
18845
18846         * java/beans/beancontext/BeanContextSupport.java:
18847         (add(Object)): Implement support for the child being
18848         a BeanContextChild.
18849         (avoidingGui()): Implemented.
18850         (dontUseGui()): Likewise.
18851         (needsGui()): Likewise.
18852         (okToUseGui()): Likewise.
18853         
18854 2006-05-21  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
18855
18856         * javax/naming/Context.java,
18857         javax/naming/ContextNotEmptyException.java,
18858         javax/naming/Reference.java: Documented.
18859
18860 2006-05-21  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
18861
18862         * javax/swing/text/html/MinimalHTMLWriter.java
18863         (writeComponent, writeImage): Declare that the method
18864         may throw the IOException.
18865
18866 2006-05-21  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
18867         
18868         PR 26972
18869         * javax/naming/InitialContext.java (colon_list): Changed type to
18870         hashset. (use_properties): New field. (init(Hashtable)): Rewritten.
18871         (merge): Rewritten.
18872
18873 2006-05-21  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
18874
18875         * javax/naming/InitialContext.java: Documented.
18876
18877 2006-05-21  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
18878
18879         * javax/naming/NameParser.java,
18880         javax/naming/NamingEnumeration.java,
18881         javax/naming/PartialResultException.java,
18882         javax/naming/SizeLimitExceededException.java,
18883         javax/naming/spi/ObjectFactory.java,
18884         javax/naming/spi/ObjectFactoryBuilder.java: Documented.
18885
18886 2006-05-21  Andrew John Hughes  <gnu_andrew@member.fsf.org>
18887
18888         * gnu/java/net/loader/JarURLLoader.java:
18889         Use Map.Entry instead of LinkedHashMap.Entry
18890         
18891 2006-05-21  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
18892
18893         * javax/naming/Context.java: Documented.
18894
18895 2006-05-21  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
18896
18897         * javax/naming/Referenceable.java: Documented.
18898         * javax/naming/spi/NamingManager.java: Documented.
18899
18900 2006-05-21  Raif S. Naffah  <raif@swiftdsl.com.au>
18901
18902         * doc/tools.texinfo: Replaced references to MessageBundle.properties
18903         to messages.properties.
18904         * resource/gnu/classpath/tools/jarsigner/MessageBundle.properties:
18905         Renamed to messages.properties.
18906         * resource/gnu/classpath/tools/keytool/MessageBundle.properties:
18907         Likewise.
18908         * resource/gnu/classpath/tools/jarsigner/messages.properties:
18909         Renamed from MessageBundle.properties.
18910         Added copyright notice.
18911         * resource/gnu/classpath/tools/keytool/messages.properties:
18912         Likewise.
18913         * tools/gnu/classpath/tools/jarsigner/Messages.java
18914         (BUNDLE_NAME): Use messages instead of MessageBundle properties file.
18915         (getFormattedString): Fixed a spelling mistake.
18916         * tools/gnu/classpath/tools/keytool/Messages.java: Likewise.
18917
18918 2006-05-20  Sven de Marothy  <sven@physto.se>
18919
18920         * gnu/java/awt/font/opentype/NameDecoder.java
18921         Made class public.
18922         (getName): Use getShort instead of getChar(), fix PS name.
18923         (decodeName): New method.
18924         * gnu/java/awt/peer/gtk/GdkFontPeer.java
18925         (getSubFamilyName): Implement.
18926         (getPostScriptName): Use the NameDecoder class instead.
18927         (parsePSName): Removed.
18928         (getName): Added
18929
18930 2006-05-20  Sven de Marothy  <sven@physto.se>
18931
18932         * gnu/java/awt/peer/gtk/GdkFontPeer.java
18933         (getTrueTypeTable): New native method.
18934         (getPostScriptName): Reimplement.
18935         (parsePSName): New method.
18936         (getNumGlyphs): Implement.
18937         * include/gnu_java_awt_peer_gtk_GdkFontPeer.h: New native method.
18938         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
18939         (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getTrueTypeTable):
18940         New function. File is now explicitly dependent on FT2.
18941         
18942 2006-05-20  Tom Tromey  <tromey@redhat.com>
18943
18944         * tools/gnu/classpath/tools/native2ascii/Messages.java: New file.
18945         * resource/gnu/classpath/tools/native2ascii/messages.properties: New
18946         file.
18947         * tools/gnu/classpath/tools/native2ascii/Native2ASCII.java
18948         (HandleFile): New class.
18949         (input, output, encoding, reversed): New fields.
18950         (createParser): New method.
18951         (run): Likewise.
18952         (main): Use 'run'.
18953         * tools/gnu/classpath/tools/getopt/FileArgumentCallback.java
18954         (notifyFile): Throws OptionException.
18955
18956 2006-05-20  Tom Tromey  <tromey@redhat.com>
18957
18958         * tools/gnu/classpath/tools/native2ascii/Native2ASCII.java: New file,
18959         from cp-tools.
18960
18961 2006-05-20  Andrew John Hughes  <gnu_andrew@member.fsf.org>
18962
18963         * native/jni/java-nio/gnu_java_nio_VMChannel.c:
18964         (JCL_print_buffer): Fix to work with -Werror on 64-bit
18965         platforms.
18966         
18967 2006-05-20  Sven de Marothy  <sven@physto.se>
18968
18969         * java/awt/Font.java (getNumGlyphs): Call correct peer method.
18970         
18971 2006-05-20  Sven de Marothy  <sven@physto.se>
18972
18973         * gnu/java/awt/print/JavaPrinterJob.java 
18974         (print): Use PostScriptGraphics2D.
18975         * gnu/java/awt/print/PostScriptGraphics2D.java: New file.
18976         
18977 2006-05-20  Sven de Marothy  <sven@physto.se>
18978
18979         * javax/swing/text/html/MinimalHTMLWriter.java: New file
18980         
18981 2006-05-20  Raif S. Naffah  <raif@swiftdsl.com.au>
18982
18983         * gnu/java/security/OID.java: Updated copyright year.
18984         (OID): Removed unused Javadoc param tag.
18985         * gnu/java/security/prng/PRNGFactory.java: Removed unused import.
18986         * gnu/java/security/hash/MD4.java: Fixed a Javadoc link.
18987
18988 2006-05-20  Raif S. Naffah  <raif@swiftdsl.com.au>
18989
18990         * gnu/javax/crypto/jce/keyring/GnuKeyring.java (engineAliases):
18991         Formatting.
18992         Added trace/debug statements.
18993         (engineSetCertificateEntry): Ensure alias is not already used for a Key
18994         Entry.  Also ensure that any previous entry for this alias is removed
18995         before a new one is added.
18996         (engineGetKey): Do not trace/log passwords.
18997         Trace key's class name only.
18998         (engineSetKeyEntry): Ensure alias is not alredy used for a Trusted
18999         Certificate Entry. Also ensure that previous entry for this alias is
19000         removed before a new one is added.
19001         (engineLoad): Do not trace/log passwords.
19002         (engineStore): Likewise.
19003         (engineSize): Use size of enumeration instead of collection size.
19004
19005 2006-05-20  Raif S. Naffah  <raif@swiftdsl.com.au>
19006
19007         * gnu/javax/crypto/keyring/PrivateKeyEntry.java: Formatting.
19008         (toString): New method.
19009         * gnu/javax/crypto/keyring/PasswordEncryptedEntry.java (decrypt):
19010         Do not trace/log passwords.
19011         Set masked to false before decoding envelope.
19012         Do not set payload to null.
19013         (encrypt): Set masked to true.
19014         * gnu/javax/crypto/keyring/PasswordAuthenticatedEntry.java (verify):
19015         Do not trace/log passwords.
19016         Set masked to false before decoding envelope.
19017         Do not set payload to null.
19018         Added trace/debug statements.
19019         (authenticate): Do not trace/log passwords.
19020         Set masked to true.
19021         Added trace/debug statements.
19022         (getMac): Added trace/debug statements.
19023         * gnu/javax/crypto/keyring/MaskableEnvelopeEntry.java
19024         (remove(String)): Changed the signature to return a boolean.
19025         (toString): New method.
19026         * gnu/javax/crypto/keyring/GnuPublicKeyring.java (containsCertificate):
19027         Formatting
19028         (getCertificate): Likewise.
19029         (putCertificate): Likewise.
19030         (load): Likewise.
19031         Do not trace/log passwords.
19032         (store): Likewise.
19033         * gnu/javax/crypto/keyring/GnuPrivateKeyring.java (getPrivateKey):
19034         Do not trace/log passwords.
19035         Added more trace/logging statements.
19036         (putPrivateKey): Do not trace/log passwords.
19037         Trace only key's class name.
19038         Formatting.
19039         (containsPublicKey): Formatting.
19040         (getPublicKey): Likewise.
19041         Trace only key's class name.
19042         (putPublicKey): Trace only key's class name.
19043         (containsCertPath): Formatting.
19044         (getCertPath): Likewise.
19045         (putCertPath): Likewise.
19046         (load): Do not trace/log passwords.
19047         Formatting.
19048         (store): Likewise.
19049         * gnu/javax/crypto/keyring/EnvelopeEntry.java (log): New field.
19050         (add): Do not set payload to null.
19051         Added trace/debug statements.
19052         (containsAlias): Added trace/debug statements.
19053         (get): Likewise.
19054         (remove(Entry)): Likewise.
19055         (remove(String)): Likewise.
19056         Changed the signature to return a boolean.
19057         Do not set payload to null unless really removed.
19058         (toString): New method.
19059         (decodeEnvelope): Clear entries before proceeding.
19060         (makeAliasList): Added trace/debug statements.
19061         Ensure only non-null aliases and alias-lists are added.
19062         * gnu/javax/crypto/keyring/Entry.java (log): New field.
19063         (TYPES): New constant.
19064         (toString): New method.
19065         (defaultDecode): Add trace/debug statement.
19066
19067 2006-05-20  Raif S. Naffah  <raif@swiftdsl.com.au>
19068
19069         * tools/gnu/classpath/tools/keytool/ListCmd.java (rfc):
19070         Increased visibility.
19071         (setup): Do not trace/log passwords.
19072         (parsed): Was not setting correct (rfc) field; fixed.
19073         (print1Chain): Formatting.
19074         * tools/gnu/classpath/tools/keytool/DeleteCmd.java (setup):
19075         Do not trace/log passwords.
19076         * tools/gnu/classpath/tools/keytool/ExportCmd.java (setup): Likewise.
19077         * tools/gnu/classpath/tools/keytool/GenKeyCmd.java (setup): Likewise.
19078         * tools/gnu/classpath/tools/keytool/IdentityDBCmd.java (setup): Likewise.
19079         * tools/gnu/classpath/tools/keytool/KeyCloneCmd.java (setup): Likewise.
19080         * tools/gnu/classpath/tools/keytool/StorePasswdCmd.java (setup): Likewise.
19081         * tools/gnu/classpath/tools/keytool/ImportCmd.java (setup): Likewise.
19082         (orderChain): Added FIXME.
19083         * tools/gnu/classpath/tools/keytool/CertReqCmd.java (setup):
19084         Do not trace/log passwords.
19085         Removed commented out code.
19086         * tools/gnu/classpath/tools/keytool/KeyPasswdCmd.java (setup): Likewise.
19087         * tools/gnu/classpath/tools/keytool/SelfCertCmd.java (setup): Likewise.
19088         * tools/gnu/classpath/tools/keytool/Command.java (doCommand): Formatting.
19089         (setKeystoreURLParam): Likewise.
19090         (setKeystorePasswordParam): Do not trace/log passwords.
19091         (saveKeyStore): Likewise.
19092
19093 2006-05-19  Roman Kennke <kennke@aicas.com>
19094
19095         * gnu/java/awt/java2d/AbstractGraphics2D.java
19096         Added class docs.
19097         (pixel): Removed obsolete field.
19098         (draw(Shape)): Removed commented out code.
19099         (drawImage): Formatting.
19100         (drawString): Added optimization hook.
19101         (setPaint): Removed rawSetForeground().
19102         (getFontRenderContext): Return context with correct transform.
19103         (drawGlyphVector): Draw complete outline in one go.
19104         (copyArea): Added optimization hook.
19105         (clearRect): Added optimization hook.
19106         (drawImage): Added optimization hook.
19107         (fillShape): (Temporarily) Set antialiasing off by default for
19108         font rendering. Adjust the shape by some bits to improve rendering.
19109         Pass clip bounds to the render methods.
19110         (drawPixel): Removed.
19111         (rawSetPixel): Removed.
19112         (rawSetForeground): Removed.
19113         (rawDrawLine): Default impl calls standard pipeline.
19114         (rawDrawString): New method, calls standard pipeline for rendering.
19115         (rawClearRect): New method, calls standard pipeline for rendering.
19116         (rawFillRect): New method, calls standard pipeline for rendering.
19117         (rawDrawImage): New method, calls standard pipeline for rendering.
19118         (rawCopyArea): New method.
19119         (copyAreaImpl): New method.
19120         (rawFillShape): Renamed to fillShapeImpl(). Small optimization
19121         for rendering.
19122         (fillShapeAntialias): Fixed AA rendering.
19123         (fillScanlineAA): Fixed AA rendering.
19124         (getSegments): Take offset into account.
19125
19126 2006-05-19  Sven de Marothy  <sven@physto.se>
19127
19128         * javax/swing/text/AbstractWriter.java
19129         (getText): Fix parameters (start, length) not (start, end).
19130         
19131 2006-05-19  Tom Tromey  <tromey@redhat.com>
19132
19133         PR classpath/27444:
19134         * gnu/java/net/loader/URLLoader.java (getClassPath): Documented.
19135         Changed return type.
19136         * java/net/URLClassLoader.java (urlloaders): Removed.
19137         (addURLImpl): Updated.
19138         * gnu/java/net/loader/JarURLLoader.java (initialized): New field.
19139         (indexSet): Likewise.
19140         (classPath): Changed type.
19141         (JarURLLoader): New constructor.
19142         (initialize): New method.
19143         (getResource): Use index set if it exists.
19144         (getClassPath): Updated.
19145         * gnu/java/net/IndexListParser.java (IndexListParser): Avoid NPE.
19146         (prefixes): New field.
19147         (headers): Removed.
19148         (IndexListParser): Fill in prefixes.
19149         (clearAll): Clear prefixes.
19150         (getHeaders): Changed return type.
19151
19152 2006-05-19  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
19153
19154         * javax/swing/plaf/basic/BasicTableHeaderUI.java 
19155         (MouseInputHandler.mouseExitted): No nothing there.
19156         (MouseInputHandler.endDragging): Move column to the
19157         first/last position if released outside the horizontal
19158         table range.
19159
19160 2006-05-19  Lillian Angel  <langel@redhat.com>
19161
19162         * java/awt/font/GlyphVector.java
19163         (getGlyphCharIndex): Implemented.
19164         (getGlyphCharIndices): Implemented.
19165         (getGlyphOutline): Implemented.
19166         (getGlyphVisualBounds): Implemented.
19167         (getGlyphVisualBounds): Implemented.
19168         (getPixelBounds): Implemented.
19169         (getLayoutFlags): Implemented.
19170
19171 2006-05-19  Robert Schuster  <robertschuster@fsfe.org>
19172
19173         * java/awt/LightweightDispatcher.java: Added field dragButton and
19174         documentation for it.
19175         (handleMouseEvent): Rewritten MOUSE_PRESSED case in switch-statement,
19176         added subexpression to if-clause in MOUSE_RELEASED case.
19177
19178 2006-05-19  Robert Schuster  <robertschuster@fsfe.org>
19179
19180         * javax/swing/metal/MetalButtonUI.java:
19181         (update): Removed some subexpression from if-clause and call
19182         updateWithGradient.
19183         (updateWithGradient): New method.
19184
19185 2006-05-19  Roman Kennke <kennke@aicas.com>
19186
19187         * javax/swing/JComponent.java
19188         (findOverlapFreeParent): Implemented algorithm for finding
19189         overlapping in component hierarchy.
19190
19191 2006-05-19  Jeroen Frijters  <jeroen@frijters.net>
19192
19193         * java/lang/Thread.java
19194         (contextClassLoaderIsSystemClassLoader): New field.
19195         (Thread(ThreadGroup,Runnable)): Call createAnonymousThreadName.
19196         (Thread(VMThread,String,int,boolean)): Call createAnonymousThreadName
19197         and set contextClassLoaderIsSystemClassLoader.
19198         (Thread(ThreadGroup,Runnable,String,long)):
19199         Set contextClassLoaderIsSystemClassLoader.
19200         (createAnonymousThreadName): New method.
19201         (getContextClassLoader): Check contextClassLoaderIsSystemClassLoader
19202         and fixed security check.
19203         (setContextClassLoader): Clear contextClassLoaderIsSystemClassLoader.
19204
19205 2006-05-19  Robert Schuster  <robertschuster@fsfe.org>
19206
19207         * javax/swing/plaf/basic/BasicToolBarUI.java:
19208         (createNonRolloverBorder): Rewritten.
19209         (createRolloverBorder): Rewritten.
19210         (setToNonRolloverBorder): Store old border instance in hashtable.
19211         (setToRolloverBorder): Store old border instance in hashtable, use
19212         AbstractButton instead of JButton in statements.
19213         (setBorderToNormal): Rewritten.
19214         * javax/swing/plaf/metal/MetalLookAndFeel.java:
19215         (initComponentDefaults): Added values for ToolBar.rolloverBorder and
19216         ToolBar.nonrolloverBorder.
19217
19218 2006-05-18  Thomas Fitzsimmons  <fitzsim@redhat.com>
19219
19220         * javax/imageio/stream/ImageInputStreamImpl.java: Complete.
19221         * javax/imageio/stream/MemoryCacheImageInputStream.java: Likewise.
19222
19223 2006-05-18  Lillian Angel  <langel@redhat.com>
19224
19225         * java/awt/font/GlyphMetrics.java
19226         (getLSB): Implemented.
19227         (getRSB): Implemented.
19228
19229 2006-05-18  Lillian Angel  <langel@redhat.com>
19230
19231         * java/awt/font/GraphicAttribute.java:
19232         Documented entire class.
19233         (GraphicAttribute): Added check for alignment.
19234         (getBounds): Implemented.
19235         (getJustificationInfo): Implemented.
19236
19237 2006-05-18  Robert Schuster  <robertschuster@fsfe.org>
19238
19239         * java/awt/LightweightDispatcher.java:
19240         (handleMouseEvent): Added note, added subexpression to if-statement.
19241
19242 2006-05-18  Robert Schuster  <robertschuster@fsfe.org>
19243
19244         * javax/swing/plaf/basic/BasicToolBarUI.java:
19245         (navigateFocusedComp): Marked as stub.
19246         (createRolloverBorder): Create a different Border instance, added note.
19247         * javax/swing/plaf/metal/MetalBorders.java:
19248         (ButtonBorder): Added documentation.
19249         (ButtonBorder.paintDefaultButtonBorder): Added else-block.
19250         (ButtonBorder.paintOceanButtonBorder): Added else-block, added
19251         subexpression into if-else cascade, added note.
19252
19253 2006-05-18  Lillian Angel  <langel@redhat.com>
19254
19255         * java/awt/font/ShapeGraphicAttribute.java:
19256         Documented entire class.
19257         (ShapeGraphicAttribute): Initialized bounds field.
19258         (draw): Implemented.
19259         (equals): Implemented.
19260         (getAdvance): Implemented.
19261         (getAscent): Implemented.
19262         (getBounds): Implemented.
19263         (getDescent): Implemented.
19264         (hashCode): Implemented.
19265
19266 2006-05-18  Roman Kennke <kennke@aicas.com>
19267
19268         * javax/swing/CellRendererPane.java
19269         (CellRendererPane): Set CellRendererPane to invisible.
19270
19271 2006-05-18  Roman Kennke <kennke@aicas.com>
19272
19273         * gnu/java/awt/peer/gtk/GdkGraphics.java
19274         (clipRect): Removed old intersection statement.
19275
19276 2006-05-18  Roman Kennke <kennke@aicas.com>
19277
19278         * gnu/java/awt/peer/gtk/GdkGraphics.java
19279         (clipRect): Don't use Rectangle.intersection() to avoid creating
19280         2 unnecessary Rectangle instances and fix a clipping problem.
19281         (computeIntersection): New helper method, adapted from SwingUtilities.
19282
19283 2006-05-18  Roman Kennke <kennke@aicas.com>
19284
19285         * javax/swing/JComponent.java
19286         (isCompletelyDirty): Removed.
19287         (paint): Don't mark children as clean, this is no longer necessary.
19288         (findOverlapFreeParent): Don't stop at Viewports, this breaks
19289         painting when something overlaps the viewport (like a popup/menu).
19290         * javax/swing/RepaintManager.java
19291         (currentRepaintManagers): Made package private to avoid accessor
19292         methods.
19293         (dirtyComponents): Made private.
19294         (dirtyComponentsWork): Made private.
19295         (markCompletelyDirty): Fixed bounds of dirtyrect to be
19296         component-local not parent-local. Do not set flag in JComponent.
19297         (markCompletelyClean): Don't set JComponent flag.
19298         (isCompletelyDirty): Rewritten to return true when the complete
19299         component is marked dirty.
19300         (paintDirtyRegions): Improved parent-merging so that the merged-in
19301         components don't get painted too. 'Outsourced' the compilation
19302         of the repaint root components.
19303         (compileRepaintRoots): New helper method.
19304
19305 2006-05-18  Roman Kennke <kennke@aicas.com>
19306
19307         PR 26368
19308         * javax/swing/text/GapContent.java
19309         (GapContentPosition(int)): Use adapted binarySearch method to
19310         allow for having a greater array than number of entries.
19311         (numMarks): New field, holds the end of the marks list.
19312         (GapContent): Initialize positionMarks with size of 10 instead of 0.
19313         (shiftGapStartDown): Adjusted for new setPositionsInRange signature.
19314         (shiftGapEndUp): Adjusted for new setPositionsInRange signature.
19315         (setPositionsInRange): Changed signature to narrow the purpose and
19316         special cases inside. Reimplemented to crunch together equal marks.
19317         (adjustPositionsInRange): Added assertion to make sure we do
19318         not accidentally change the order of the mark. Added some debug
19319         output for a special case of which I don't know if it even exists.
19320         (resetMarksAtZero): Made impl simpler.
19321         (dumpMarks): New debug helper method.
19322         (insertMark): Grow array in bigger chunks to avoid excessive copying.
19323         (binarySearch): New method. An adaption of Arrays.binarySearch()
19324         that allows for an maxIndex parameter.
19325
19326 2006-05-18  Roman Kennke <kennke@aicas.com>
19327
19328         * javax/swing/KeyboardManager.java
19329         (topLevelLookup): Use WeakHashMap to avoid memory leak.
19330
19331 2006-05-18  Jeroen Frijters  <jeroen@frijters.net>
19332
19333         * gnu/java/net/loader/JarURLLoader.java
19334         (JarURLLoader): Use a slightly more efficient URL constructor.
19335
19336 2006-05-18  David Gilbert  <david.gilbert@object-refinery.com>
19337
19338         * gnu/java/awt/print/JavaPrinterGraphics.java
19339         (drawImage(Image, int, int, Color, ImageObserver)): Fix endless loop,
19340         (drawImage(Image, int, int, ImageObserver)): Likewise,
19341         (drawImage(Image, int, int, int, int, Color, ImageObserver)): Likewise,
19342         (drawImage(Image, int, int, int, int, ImageObserver)): Likewise,
19343         (drawImage(Image, int, int, int, int, int, int, int, int, Color, 
19344         ImageObserver)): Likewise,
19345         (drawImage(Image, int, int, int, int, int, int, int, int, 
19346         ImageObserver)): Likewise.
19347
19348 2006-05-17  Tom Tromey  <tromey@redhat.com>
19349
19350         * tools/gnu/classpath/tools/jar/Indexer.java (indexJarFile): Use a
19351         LinkedHashSet.
19352
19353 2006-05-17  David Gilbert  <david.gilbert@object-refinery.com>
19354
19355         * javax/swing/border/AbstractBorder.java: Source code formatting fixes,
19356         * javax/swing/border/BevelBorder.java: Likewise,
19357         * javax/swing/border/CompoundBorder.java: Likewise,
19358         * javax/swing/border/TitledBorder.java: Likewise.
19359
19360 2006-05-17  David Gilbert  <david.gilbert@object-refinery.com>
19361
19362         * javax/swing/table/AbstractTableModel.java: Formatting fixes,
19363         * javax/swing/table/DefaultTableModel.java: Likewise,
19364         * javax/swing/table/TableCellEditor.java: Likewise,
19365         * javax/swing/table/TableCellRenderer.java: Likewise.
19366
19367 2006-05-17  Lillian Angel  <langel@redhat.com>
19368
19369         * java/awt/font/ImageGraphicAttribute.java:
19370         Documented entire class.
19371         (ImageGraphicAttribute): Changed to call this.
19372         (ImageGraphicAttribute): Implemented.
19373         (draw): Implemented.
19374         (equals): Implemented.
19375         (getAdvance): Implemented.
19376         (getAscent): Implemented.
19377         (getBounds): Implemented.
19378         (getDescent): Implemented.
19379         (hashCode): Implemented.
19380         * javax/swing/text/html/HTMLDocument.java
19381         (create): Removed. Sufficent enough for
19382         super to be called.
19383         (insert): Likewise.
19384         (insertUpdate): Likewise.
19385         (processHTMLFrameHyperlinkEvent): Marked as stub.
19386         (start): Removed FIXME.
19387         (end): Likewise.
19388         (start): Called super. 
19389         (end): Called super.
19390         (getElement): removed unneeded code.
19391         (setParagraphAttribute): Removed. Sufficent enough
19392         for super to be called.
19393         (fireChangedUpdate): Likewise.
19394         (fireUndoableEditUpdate): Likewise.     
19395
19396 2006-05-17  Lillian Angel  <langel@redhat.com>
19397
19398         * java/awt/TexturePaint.java:
19399         Added documentation for class and all functions.
19400         (getTransparency): Implemented.
19401
19402 2006-05-17  Roman Kennke <kennke@aicas.com>
19403
19404         * java/awt/LightweightDispatcher.java
19405         (findTarget): Translate point to child components.
19406
19407 2006-05-17  Roman Kennke <kennke@aicas.com>
19408
19409         PR 26368
19410         * javax/swing/text/GapContent.java
19411         (GapContentPosition): Do no more implement Comparable.
19412         (GapContentPosition.mark): Removed field.
19413         (GapContentPosition.index): New field to hold the index into
19414         the positions array.
19415         (GapContentPosition(int)): Rewritten to use the new indirection
19416         to the positions array.
19417         (GapContentPosition.compareTo): Removed.
19418         (GapContentPosition.getOffset): Synchronized. Fetch mark from
19419         positionMarks array.
19420         (WeakPositionComparator): Removed obsolete class.
19421         (positions): Changed type to WeakHashMap.
19422         (positionMarks): New field, holds the marks of the positions.
19423         (GapContent): Initialize new fields.
19424         (createPosition): Rewritten to use the new indirection
19425         to the positions array.
19426         (getPositionsInRange): Rewritten to use the new indirection
19427         to the positions array.
19428         (setPositionsInRange): Rewritten to use the new indirection
19429         to the positions array.
19430         (adjustPositionsInRange): Rewritten to use the new indirection
19431         to the positions array.
19432         (insertMark): New helper method.
19433         (clearPositionReferences): Removed obsolete methods.
19434
19435 2006-05-17  Lillian Angel  <langel@redhat.com>
19436
19437         * java/awt/GraphicsConfiguration.java
19438         (getImageCapabilities): Implemented.
19439         (getBufferCapabilities): Implemented.
19440
19441 2006-05-17  Lillian Angel  <langel@redhat.com>
19442
19443         * javax/swing/plaf/basic/BasicSliderUI.java
19444         (focusGained): Implemented.
19445         (focusLost): Implemented.
19446         (paint): Added code to paint the focus.
19447         * javax/swing/plaf/metal/MetalSliderUI.java
19448         (paintThumb): Added code to set the thumbColor.
19449         (paintFocus): Implemented properly.
19450
19451 2006-05-17  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
19452
19453         PR 27383
19454         * javax/naming/spi/NamingManager.java (getURLContext):
19455         Always search for the factory class in all possible places
19456         and use VMStackWalker.
19457         (forName): New method.
19458
19459 2006-05-17  Roman Kennke <kennke@aicas.com>
19460
19461         * java/awt/LightweightDispatcher.java
19462         (handleMouseEvent): Fixed search algorithm for finding the
19463         mouse event target.
19464         (findTarget): Fixed search algorithm for finding the
19465         mouse event target.
19466
19467 2006-05-17  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
19468
19469         * javax/naming/spi/NamingManager.java: Documented.
19470
19471 2006-05-17  Mark Wielaard  <mark@klomp.org>
19472
19473         * THANKYOU: Add Trevor Linton <tlinton@xmission.com>.
19474         * gnu/javax/imageio/jpeg/DCT.java: Cleanup Todo copyright.
19475         * gnu/javax/imageio/jpeg/YCbCr_ColorSpace.java: Likewise.
19476         * gnu/javax/imageio/jpeg/ZigZag.java: Likewise.
19477
19478 2006-05-17  Robert Schuster  <robertschuster@fsfe.org>
19479
19480         Fixes PR 26947.
19481         * javax/swing/plaf/basic/BasicInternalFrameUI.java: Updated copyright
19482         year.
19483         (BorderListener.mouseClicked): Detect double-clicks in title pane,
19484         copied code from
19485         BasicInternalFrameTitlePaneUI.MaximizeAction.actionPerformed().
19486
19487 2006-05-17  Robert Schuster  <robertschuster@fsfe.org>
19488
19489         Fixes PR 27626.
19490         * java/awt/LightweightDispatcher.java:
19491         (handleMouseEvent): Moved assignment into switch-block, added notes.
19492
19493 2006-05-16  Lillian Angel  <langel@redhat.com>
19494
19495         * javax/swing/text/StyleContext.java:
19496         Changed staticAttributeKeys  to be a Hashtable.
19497         (getStaticAttribute): Implemented.
19498         (getStaticAttributeKey): Implemented.
19499         (readAttributeSet): Implemented.
19500         (writeAttributeSet): Added FIXME. Not sure how
19501         to implement this.
19502         (readAttributes): Implemented.
19503         (writeAttributes): Implemented.
19504         (registerStaticAttibuteKey): Fixed to add key to 
19505         the hash table.
19506
19507 2006-05-16  David Gilbert  <david.gilbert@object-refinery.com>
19508
19509         * javax/swing/DefaultButtonModel.java
19510         (setGroup): Removed event notification.
19511
19512 2006-05-16  Lillian Angel  <langel@redhat.com>
19513
19514         * javax/swing/plaf/basic/BasicComboBoxUI.java
19515         (installKeyboardActions): Implemented.
19516         (uninstallKeyboardActions): Implemented.
19517         * javax/swing/plaf/basic/BasicComboPopup.java
19518         (uninstallKeyboardActions): Removed FIXME. Nothing
19519         to be done here.
19520         (installKeyboardActions): Likewise.
19521         * javax/swing/plaf/basic/BasicTextUI.java
19522         (uninstallKeyboardActions): Implemented.
19523         * javax/swing/plaf/basic/BasicTreeUI.java:
19524         Added field for hashColor.
19525         Marked stub methods.
19526         (getHashColor): Implemented to use field.
19527         (setHashColor): Likewise.
19528         (getRowX): Implemented.
19529         (NodeDimensions.getRowX): Changed to use BasicTreeUI.getRowX.   
19530
19531 2006-05-16  Roman Kennke <kennke@aicas.com>
19532
19533         PR 26521
19534         * javax/swing/JTable.java
19535         (rowHeights): New field.
19536         (initializeLocalVars): Call setRowHeigt instead of rowHeight=,
19537         in order to initialize rowHeights correctly.
19538         (tableChanged): Nullify rowHeights when model changes. Only
19539         create default columns from model when corresponding property
19540         is set. Sync table model with rowHeights as appropriate.
19541         (valueChanged): Call repaint with the correct rectangle.
19542         (rowAtPoint): Handle rowHeights.
19543         (getCellRect): Mostly rewritten. Check for boundaries
19544         of model and return (0,0,0,0) or (0,0,width,height) when outside.
19545         Handle component orientation. Round correctly.
19546         (getRowHeight(int)): Implemented for variable row height.
19547         (setRowHeight(int,int)): Implemented for variable row height.
19548         (setRowHeight(int)): Nullify rowHeights.
19549         (setModel): Notify tableChanged().
19550         * javax/swing/plaf/basic/BasicTableUI.java
19551         (installDefaults): Create rendererPane in installUI.
19552         (installUI): Create and install rendererPane.
19553         (uninstallUI): Uninstall rendererPane and nullify rendererPane
19554         and table.
19555         (paint): Correctly handle rowMargin.
19556
19557 2006-05-16  Tom Tromey  <tromey@redhat.com>
19558
19559         PR classpath/27563:
19560         * java/text/NumberFormat.java (getIntegerInstance): Use
19561         "integerFormat", not "numberFormat".
19562
19563 2006-05-16  Lillian Angel  <langel@redhat.com>
19564
19565         * javax/swing/JPopupMenu.java
19566         (addMenuKeyListener): Implemented.
19567         (removeMenuKeyListener): Implemented.
19568         (getMenuKeyListeners): Implemented.
19569         * javax/swing/ProgressMonitor.java:
19570         Added new protected field.
19571         (getAccessibleContext): Implemented.
19572
19573 2006-05-16  Lillian Angel  <langel@redhat.com>
19574
19575         * javax/swing/JFileChooser.java:
19576         Added new private field.
19577         (setDragEnabled): Implemented.
19578         (getDragEnabled): Implemented.
19579
19580 2006-05-16  Lillian Angel  <langel@redhat.com>
19581
19582         * java/awt/Window.java
19583         (applyResourceBundle): Implemented.
19584
19585 2006-05-16  David Gilbert  <david.gilbert@object-refinery.com>
19586
19587         * javax/swing/DefaultButtonModel.java
19588         (setSelected): If new SELECTED state is false, clear ARMED and PRESSED
19589         states also.
19590
19591 2006-05-16  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
19592
19593         * javax/swing/JList.java (getSelectedValues):
19594         Ask the value for the indexed array element.
19595
19596 2006-05-16  Roman Kennke <kennke@aicas.com>
19597
19598         * javax/swing/JTable.java
19599         (valueChanged): Also repaint when table has only 1 row. Fixed
19600         repaint rectangle to span the entire changed rows.
19601
19602 2006-05-16  Roman Kennke <kennke@aicas.com>
19603
19604         PR 24031
19605         * javax/swing/JOptionPane.java
19606         (startModal): Rewritten. The events are now dispatched, even
19607         when the event dispatch thread gets blocked by the call
19608         to this method. Also, mouse events get intercepted outside the
19609         internal frame.
19610
19611 2006-05-16  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
19612
19613         * javax/swing/plaf/basic/BasicInternalFrameUI.java
19614         (BorderListener.mouseDragged):Do not set cursor 
19615         if the frame is being dragged.
19616
19617 2006-05-16  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
19618
19619         * javax/swing/plaf/basic/BasicInternalFrameUI.java
19620         (BorderListener): Rewritten. (InternalFrameBorder):
19621         Made package private.
19622         (InternalFrameBorder.offset):
19623         Renamed to cornerSize, made package private.
19624         (bSize): Made package private.
19625
19626 2006-05-16  Roman Kennke <kennke@aicas.com>
19627
19628         * javax/swing/JMenu.java
19629         (AccessibleJMenu.getAccessibleChildrenCount): Implemented.
19630         (AccessibleJMenu.getAccessibleChild): Implemented.
19631         (AccessibleJMenu.getAccessibleSelection): Implemented.
19632         (AccessibleJMenu.getAccessibleSelection(int)): Implemented.
19633         (AccessibleJMenu.isAccessibleChildSelected): Implemented.
19634         (AccessibleJMenu.getAccessibleRole): Documented.
19635         (AccessibleJMenu.getAccessibleSelectionCount): Implemented.
19636         (AccessibleJMenu.addAccessibleSelection): Implemented.
19637         (AccessibleJMenu.removeAccessibleSelection): Implemented.
19638         (AccessibleJMenu.clearAccessibleSelection): Implemented.
19639         (AccessibleJMenu.selectAllAccessibleSelection): Implemented.
19640         (createPath): New helper method.
19641
19642 2006-05-15  Tom Tromey  <tromey@redhat.com>
19643
19644         * java/text/MessageFormat.java (format): Now varargs.
19645
19646 2006-05-15  Tom Tromey  <tromey@redhat.com>
19647
19648         * java/lang/Thread.java (State): Fixed typo.
19649
19650 2006-05-15  Tom Tromey  <tromey@redhat.com>
19651
19652         * java/net/URLClassLoader.java: Moved inner classes to
19653         gnu.java.net.loader.
19654         (factoryCache): Changed type.
19655         (URL_LOADER_PREFIX): New constant.
19656         (URLClassLoader): Updated for new factoryCache.
19657         (addURLImpl): Use reflection to search for a loader.
19658         (findClass): Use getClass method on URLLoader.
19659         (getURLStreamHandler): Removed.
19660         * gnu/java/net/loader/URLLoader.java: New file, extracted
19661         from URLClassLoader.
19662         * gnu/java/net/loader/Resource.java: Likewise.
19663         * gnu/java/net/loader/FileResource.java: Likewise.
19664         * gnu/java/net/loader/FileURLLoaderjava: Likewise.
19665         * gnu/java/net/loader/JarURLLoader.java: Likewise.
19666         * gnu/java/net/loader/JarURLResource.java: Likewise.
19667         * gnu/java/net/loader/RemoteURLLoader.java: Likewise.
19668         * gnu/java/net/loader/RemoteResource.java: Likewise.
19669         * gnu/java/net/loader/ULRStreamHandlerCache.java: New file.
19670
19671 2006-05-15  Sven de Marothy  <sven@physto.se>
19672
19673         * native/target/generic/target_generic_network.h: 
19674         Add a pair of parenthesis.
19675
19676 2006-05-15  Mark Wielaard  <mark@klomp.org>
19677
19678         * java/awt/Graphics2D.java: Remove PrinterJob import.
19679
19680 2006-05-15  Mark Wielaard  <mark@klomp.org>
19681
19682         * doc/www.gnu.org/announce/20060515.wml: New file.
19683         * doc/www.gnu.org/newsitems.txt: Add 0.91 release announcement.
19684         * doc/www.gnu.org/downloads/downloads.wml: Add 0.91.
19685
19686 2006-05-15  Thomas Fitzsimmons  <fitzsim@redhat.com>
19687
19688         * NEWS: Announce inclusion of gcjwebplugin.
19689         Announce inclusion of appletviewer.
19690         * INSTALL: Note gcjwebplugin dependencies.
19691
19692 2006-05-15  Mark Wielaard  <mark@klomp.org>
19693
19694         * configure.ac (VERSION): Set to 0.91-generics.
19695
19696 2006-05-15  Mark Wielaard  <mark@klomp.org>
19697
19698         * NEWS: Add release date and VMClassLoader.getBootPackages()
19699         changes.
19700
19701 2006-05-15  Christian Thalinger  <twisti@complang.tuwien.ac.at>
19702
19703         * README: Added CACAO to list of VMs.
19704
19705 2006-05-15  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
19706
19707         * javax/swing/RepaintManager.java (paintDirtyRegions):
19708         Break loop as soon as the component repaint is merged
19709         with some parent. (ComponentComparator): Removed.
19710         (comparator): Removed.
19711
19712 2006-05-15  Roman Kennke <kennke@aicas.com>
19713
19714         * javax/swing/border/TitledBorder.java
19715         (paintBorderWithTitle): Fixed indentation.
19716
19717 2006-05-15  Roman Kennke <kennke@aicas.com>
19718
19719         * javax/swing/border/TitledBorder.java
19720         (layoutBorderWithTitle): Fetch border using getBorder() instead
19721         of using the border field directly. Allows for the use of
19722         an UI supplied border in the case when a null border was set.
19723         Fixed component orientation.
19724         (paintBorderWithTitle): Fetch border using getBorder() instead
19725         of using the border field directly. Allows for the use of
19726         an UI supplied border in the case when a null border was set.
19727
19728 2006-05-15  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
19729
19730         * javax/swing/RepaintManager.java (paintDirtyRegions): Rewritten.
19731         (contains): New method.
19732
19733 2006-05-15  Tom Tromey  <tromey@redhat.com>
19734
19735         * resource/gnu/classpath/tools/jar/messages.properties: Fixed
19736         argument indices.
19737         * resource/gnu/classpath/tools/getopt/Messages.properties: Fixed
19738         argument indices.
19739
19740 2006-05-15  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
19741
19742         * javax/swing/JComponent.java (findOverlapParent): Stop loop at
19743          JViewport's.
19744         * javax/swing/RepaintManager.java (addDirtyRegion): Always add the given
19745         region. (paintDirtyRegions): Rewritten.
19746
19747 2006-05-15  Tom Tromey  <tromey@redhat.com>
19748
19749         * tools/gnu/classpath/tools/jar/Main.java (setArchiveFile): Use
19750         MessageFormat.
19751         * tools/gnu/classpath/tools/jar/Indexer.java (indexJarFile): Use
19752         MessageFormat.
19753         * tools/gnu/classpath/tools/jar/Extractor.java: Externalized strings.
19754         (run): Use MessageFormat.
19755         * resource/gnu/classpath/tools/jar/messages.properties: New file.
19756         * tools/gnu/classpath/tools/jar/Creator.java: Externalized strings.
19757         (writeFile): Use MessageFormat.
19758
19759 2006-05-15  Jeroen Frijters  <jeroen@frijters.net>
19760
19761         * java/awt/Toolkit.java (getDefaultToolkit): Use Class.forName()
19762         instead of directly calling the class loader.
19763
19764 2006-05-15  Tom Tromey  <tromey@redhat.com>
19765
19766         * tools/gnu/classpath/tools/getopt/Option.java (getDescription):
19767         Removed old comment.
19768         * tools/gnu/classpath/tools/getopt/ClasspathToolParser.java:
19769         Externalized strings.
19770         (getVersionString): Use MessageFormat.
19771         * tools/gnu/classpath/tools/getopt/Messages.java: New file.
19772         * resource/gnu/classpath/tools/getopt/Messages.properties: New file.
19773         * tools/gnu/classpath/tools/getopt/Parser.java: Externalized strings.
19774         (getArgument): Use a MessageFormat.
19775         (handleLongOption): Likewise.
19776         (parse): Likewise.
19777
19778 2006-05-15  Robert Schuster  <robertschuster@fsfe.org>
19779
19780         Fixes PR 27197.
19781         * javax/swing/text/FieldView.java:
19782         (paint): Calculate intersection between clip and allocation area and
19783         set that as new clip.
19784
19785 2006-05-15  David Gilbert  <david.gilbert@object-refinery.com>
19786
19787         * javax/swing/text/JTextComponent.java: Marked stub methods.
19788
19789 2006-05-15  David Gilbert  <david.gilbert@object-refinery.com>
19790
19791         * javax/swing/JTable.java: Marked stub methods.
19792
19793 2006-05-15  Raif S. Naffah  <raif@swiftdsl.com.au>
19794
19795         * tools/gnu/classpath/tools/jarsigner/Main.java:
19796         Increased visibility of fields used by parser anonymous classes.
19797         (KEYTOOL_TOOL): New constant.
19798         (cmdLineParser): Changed type to ToolParser.
19799         (fileAndAlias): new field.
19800         (main): Don't catch OptionException.
19801         (processArgs): Removed validation checks; now handled by ToolParser.
19802         (getParser): Removed.
19803         (ToolParserCallback): New inner class.
19804         (ToolParser): Likewise.
19805
19806 2006-05-15  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
19807
19808         * javax/swing/JTable.java (TableTextArea.scrollRectToVisible):
19809         Removed.
19810
19811 2006-05-15  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
19812
19813         * javax/swing/DefaultDesktopManager.java (endDraggingFrame, 
19814         endResizingFrame): Do not repaint, unless in the outline mode.
19815
19816 2006-05-15  David Gilbert  <david.gilbert@object-refinery.com>
19817
19818         * javax/swing/JTabbedPane.java
19819         (AccessibleJTabbedPane.getAccessibleRole): Implemented,
19820         (AccessibleJTabbedPane.getAccessibleChildrenCount): Implemented,
19821         (AccessibleJTabbedPane.getAccessibleSelection()): Implemented,
19822         (AccessibleJTabbedPane.getAccessibleAt): Implemented,
19823         (AccessibleJTabbedPane.getAccessibleSelectionCount): Implemented,
19824         (AccessibleJTabbedPane.getAccessibleSelection(int)): Implemented,
19825         (AccessibleJTabbedPane.isAccessibleChildSelected): Implemented,
19826         (AccessibleJTabbedPane.addAccessibleSelection): Implemented,
19827         (AccessibleJTabbedPane.removeAccessibleSelection): Implemented,
19828         (AccessibleJTabbedPane.clearAccessibleSelection): Implemented,
19829         (AccessibleJTabbedPane.selectAllAccessibleSelection): Implemented,
19830         (Page.getAccessibleName): Implemented.
19831
19832 2006-05-15  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
19833
19834         * javax/swing/DefaultDesktopManager.java (setBoundsForFrame):
19835         Do not repaint nor revalidate here.
19836
19837 2006-05-15  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
19838
19839         * javax/swing/RepaintManager.java (addDirtyRegion):
19840         If there is a lightweight parent, recursively add the corresponding
19841         region of the parent instead.
19842
19843 2006-05-15  David Gilbert  <david.gilbert@object-refinery.com>
19844
19845         * java/awt/Graphics2D.java: Added some API doc comments.
19846
19847 2006-05-15  David Gilbert  <david.gilbert@object-refinery.com>
19848
19849         * javax/swing/JTabbedPane.java
19850         (paramString): Reimplemented,
19851         (getAccessibleContext): Added API docs.
19852
19853 2006-05-15  David Gilbert  <david.gilbert@object-refinery.com>
19854
19855         * javax/swing/JFileChooser.java
19856         (paramString): Reimplemented,
19857         (getAccessibleContext): Updated API docs,
19858         (AccessibleJFileChooser): Added API docs.
19859
19860 2006-05-14  Tom Tromey  <tromey@redhat.com>
19861
19862         * tools/gnu/classpath/tools/jar/Updater.java (run): No longer throws
19863         OptionException.
19864         * tools/gnu/classpath/tools/jar/Creator.java (run): No longer throws
19865         OptionException.
19866         * tools/gnu/classpath/tools/jar/Action.java (run): No longer throws
19867         OptionException.
19868         * tools/gnu/classpath/tools/jar/Indexer.java (run): Removed.  Moved
19869         validation to JarParser.
19870         * tools/gnu/classpath/tools/jar/Main.java (JarParser): New class.
19871         (run): Moved validation to JarParser.  Don't throw OptionException.
19872         (initializeParser): Create a JarParser.
19873         (main): Don't catch OptionException.
19874         * tools/gnu/classpath/tools/getopt/Parser.java (printHelp): No longer
19875         public.
19876         (validate): New method.
19877         (parse): Call it.  Print '-help' in error message when long-only.
19878
19879 2006-05-14  Tom Tromey  <tromey@redhat.com>
19880
19881         * gnu/java/awt/print/JavaPrinterJob.java (setPrintable): Fixed
19882         assignment.
19883
19884 2006-05-15  Sven de Marothy  <sven@physto.se>
19885
19886         * gnu/java/awt/print/JavaPrinterGraphics.java:
19887         Sweeping changes I can't be bothered to document in detail.
19888         * gnu/java/awt/print/JavaPrinterJob.java
19889         (getPageAttributes): New method.
19890         (setPageable,cancel,isCancelled): Implement.
19891
19892 2006-05-14  David Gilbert  <david.gilbert@object-refinery.com>
19893
19894         * javax/swing/JCheckBoxMenuItem.java
19895         (requestFocus): Fixed typo in API docs,
19896         (paramString): Just call super.paramString(),
19897         (getAccessibleContext): Added API docs,
19898         (AccessibleJCheckBoxMenuItem): Likewise.
19899
19900 2006-05-14  Tom Tromey  <tromey@redhat.com>
19901
19902         * tools/gnu/classpath/tools/jar/Indexer.java
19903         (writeCommandLineEntries): Simplify insertion.
19904         * tools/gnu/classpath/tools/jar/Main.java (run): Don't allow both
19905         -m and -M.
19906
19907 2006-05-14  Tom Tromey  <tromey@redhat.com>
19908
19909         PR classpath/27514:
19910         * gnu/java/net/IndexListParser.java (JAR_INDEX_FILE): Renamed.  Now
19911         constant.
19912         (JAR_INDEX_VERSION_KEY): Likewise.
19913         (IndexListParser): Updated.
19914         (getVersionInfo): Likewise.
19915         * tools/gnu/classpath/tools/jar/Indexer.java: New file.
19916         * tools/gnu/classpath/tools/jar/Action.java (run): Now throws
19917         OptionException.
19918         * tools/gnu/classpath/tools/jar/Main.java (initializeParser): Handle
19919         -i.
19920         (ModeOption): New constructor.
19921         (parsed): Updated.  Use setArchiveFile.
19922         (setArchiveFile): New method.
19923         (run): Handle no-argument case.
19924         (main): Emit --help message on option error.
19925         * tools/gnu/classpath/tools/jar/Updater.java (inputJar): New field.
19926         (createManifest): New method.
19927         (run): Updated.  Throws OptionException.  Correctly copy zip entry.
19928         * tools/gnu/classpath/tools/jar/Creator.java (createManifest): New
19929         method.
19930         (writeManifest): Removed.
19931         (outputStream): Now a JarOutputStream.
19932         (writeCommandLineEntries): Changed parameters.  Updated callers.
19933         (run): Throws OptionException.
19934         * java/util/jar/JarOutputStream.java (putNextEntry): Typo fix.
19935         * java/util/jar/Manifest.java (read): Typo fix.
19936
19937 2006-05-14  David Gilbert  <david.gilbert@object-refinery.com>
19938
19939         * javax/swing/JMenuItem.java
19940         (paramString): Fixed class name in API doc comment.
19941
19942 2006-05-14  Tom Tromey  <tromey@redhat.com>
19943
19944         * native/plugin/.cvsignore: Updated.
19945
19946 2006-05-14  Mark Wielaard  <mark@klomp.org>
19947
19948         * native/jni/java-net/javanet.c (_javanet_accept): Don't use C++
19949         comments.
19950
19951 2006-05-14  Chris Burdess  <dog@gnu.org>
19952
19953         * gnu/xml/dom/DomNode.java: Permit comments and PIs in doctype
19954         nodes to be preserved during cloneNode.
19955
19956 2006-05-14  Mark Wielaard  <mark@klomp.org>
19957
19958         PR 27459
19959         * native/jni/java-net/javanet.c (_javanet_accept): Reset the
19960         inherited timeout on socket.
19961
19962 2006-05-14  Lillian Angel  <langel@redhat.com>
19963
19964         * java/util/SimpleTimeZone.java: Reverted patch.
19965         (SimpleTimeZone): Throw exception if startMonth ==
19966         endMonth.
19967         (SimpleTimeZone): Likewise.
19968         (checkRule): Rewritten to properly check all values (more
19969         efficently).
19970         This code is now more stable, at least less buggy than before.
19971         Fixed API documentation.
19972         (setStartRule): Moved checkRule call to end.
19973         (setStartRule): Likewise.
19974         (setEndRule): Likewise.
19975         (setEndRule): Likewise.
19976
19977 2006-05-14  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
19978
19979         * javax/swing/tree/DefaultTreeSelectionModel.java (leadRow):
19980         Initialise to -1.
19981
19982 2006-05-14  Robert Schuster  <robertschuster@fsfe.org>
19983
19984         PR classpath/27595
19985         * javax/swing/text/AbstractDocument.java:
19986         (insertString): Flipped if-expression and its blocks.
19987         (remove): Dito.
19988         (replace): Flipped if-expression and its blocks, added note, invoke
19989         insertString and remove instead of insertStringImpl and removeImpl.
19990
19991 2006-05-14  Raif S. Naffah  <raif@swiftdsl.com.au>
19992
19993         * tools/gnu/classpath/tools/jarsigner/Main.java (main): Formatting.
19994
19995 2006-05-14  Raif S. Naffah  <raif@swiftdsl.com.au>
19996
19997         * resource/gnu/classpath/tools/keytool/MessageBundle.properties:
19998         Added help text.
19999         * tools/gnu/classpath/tools/keytool/keytool.txt: Removed
20000         * tools/gnu/classpath/tools/keytool/StorePasswdCmd.java: 
20001         Increased visibility of fields used by parser anonymous classes.
20002         (processArgs): Removed.
20003         (getParser): New method.
20004         * tools/gnu/classpath/tools/keytool/SelfCertCmd.java: Likewise.
20005         (setup): Mark (Eclipse) strings that need not be externalised.
20006         (start): Likewise.
20007         * tools/gnu/classpath/tools/keytool/PrintCertCmd.java: Likewise.
20008         * tools/gnu/classpath/tools/keytool/Main.java: Amended to use getopt
20009         command line option parsing.
20010         * tools/gnu/classpath/tools/keytool/ListCmd.java: 
20011         Increased visibility of fields used by parser anonymous classes.
20012         (processArgs): Removed.
20013         (setup): set 'all' local field.
20014         (getParser): New method.
20015         * tools/gnu/classpath/tools/keytool/KeyPasswdCmd.java: 
20016         Increased visibility of fields used by parser anonymous classes.
20017         (processArgs): Removed.
20018         (getParser): New method.
20019         * tools/gnu/classpath/tools/keytool/KeyCloneCmd.java: Likewise.
20020         (setNewKeyPassword): Fixed comments.
20021         * tools/gnu/classpath/tools/keytool/ImportCmd.java: 
20022         Increased visibility of fields used by parser anonymous classes.
20023         (processArgs): Removed.
20024         (getParser): New method.
20025         (findTrustInCACerts): Mark (Eclipse) strings that need not be
20026         externalised.
20027         * tools/gnu/classpath/tools/keytool/GenKeyCmd.java: 
20028         Increased visibility of fields used by parser anonymous classes.
20029         (processArgs): Removed.
20030         (setup): Mark (Eclipse) strings that need not be externalised.
20031         (getParser): New method.
20032         * tools/gnu/classpath/tools/keytool/IdentityDBCmd.java: Likewise.
20033         * tools/gnu/classpath/tools/keytool/DeleteCmd.java: 
20034         Increased visibility of fields used by parser anonymous classes.
20035         (processArgs): Removed.
20036         (getParser): New method.
20037         * tools/gnu/classpath/tools/keytool/CertReqCmd.java: Likewise.
20038         (ATTRIBUTES_OPT): New constant.
20039         * tools/gnu/classpath/tools/keytool/ExportCmd.java: 
20040         Increased visibility of fields used by parser anonymous classes.
20041         (processArgs): Removed.
20042         (setup): Mark (Eclipse) strings that need not be externalised.
20043         (start): Likewise.
20044         Reduced logging level.
20045         (getParser): New method.
20046         * tools/gnu/classpath/tools/keytool/Command.java
20047         (processArgs): Made it concrete.
20048         (getParser): New abstract method.
20049         * tools/Makefile.am (KEYTOOL_HELPS): Removed.
20050
20051 2006-05-13  Casey Marshall  <csm@gnu.org>
20052
20053         Patch by Michael Barker <mike@middlesoft.co.uk>.
20054         * gnu/java/nio/PipeImpl.java: Retrofitted to use VMChannel.
20055         * gnu/java/nio/SelectorImpl.java (register): Added condition for
20056         gnu.java.nio.SocketChannelSelectionKeyImpl.
20057         * gnu/java/nio/SocketChannelSelectionKeyImpl.java: new file.
20058         * gnu/java/nio/channels/FileChannelImpl.java: retrofitted to use
20059         VMChannel.
20060         * include/gnu_java_nio_VMChannel.h: new file.
20061         * java/nio/FileChannel.java (read,write): changed to call abstract
20062         method.
20063         * native/jni/java-nio/gnu_java_nio_VMChannel.c: new file.
20064         * native/jni/java-nio/Makefile.am (libjavanio_SOURCES): add
20065         `gnu_java_nio_VMChannel.c.'
20066         * vm/reference/gnu/java/nio/VMChannel.java: new file.
20067
20068 2006-05-14  Robert Schuster  <robertschuster@fsfe.org>
20069
20070         * javax/swing/text/AbstractDocument.java:
20071         (insertString): Flipped if-expression and its blocks.
20072         (remove): Dito.
20073         (replace): Flipped if-expression and its blocks, added note, invoke
20074         insertString and remove instead of insertStringImpl and removeImpl.
20075
20076 2006-05-13  Tom Tromey  <tromey@redhat.com>
20077
20078         * java/nio/ByteBufferImpl.java (compact): Always set position.
20079
20080 2006-05-13  Sven de Marothy  <sven@physto.se>
20081
20082         * gnu/java/awt/print/JavaPrinterGraphics.java
20083         (spoolPostScript): Use a faster writer.
20084
20085 2006-05-13  Sven de Marothy  <sven@physto.se>
20086
20087         * gnu/java/awt/print/JavaPrinterGraphics.java
20088         (colorTripleHex): Reimplement better.
20089
20090 2006-05-13  Sven de Marothy  <sven@physto.se>
20091
20092         * javax/swing/text/html/HTMLDocument.java
20093         (CharacterAction.start): Translate tag to StyleAttribute.
20094         (pushCharacterStyle): Push copy of attributes onto stack.
20095         * gnu/javax/swing/text/html/CharacterAttributeTranslator.java:
20096         New file
20097
20098 2006-05-13  Sven de Marothy  <sven@physto.se>
20099
20100         * gnu/javax/print/ipp/IppRequest.java (send): Set a timeout.
20101         * java/awt/print/PrinterJob.java 
20102         (getPrinterJob): Return a JavaPrinterJob
20103         (setPrintService,getPrintService): Implement.
20104         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c:
20105         (getPixels): Gtk_threads_enter required.
20106         * gnu/java/awt/print/JavaPrinterGraphics.java
20107         * gnu/java/awt/print/JavaPrinterJob.java
20108         * gnu/java/awt/print/SpooledDocumet.java: 
20109         New files.
20110         
20111 2006-05-13  Robert Schuster  <robertschuster@fsfe.org>
20112
20113         * javax/swing/text/TextAction.java:
20114         (HorizontalMovementAction): New inner class.
20115         (VerticalMovementAction): New inner class.
20116         * javax/swing/text/DefaultEditorKit.java: Added assigning instances of
20117         new inner classes to array 'defaultActions'.
20118         (SelectionBeginWordAction): New inner class.
20119         (SelectionEndWordAction): New inner class.
20120         (BeginWordAction): New inner class.
20121         (EndWordAction): New inner class.
20122         (PreviousWordAction.actionPerformed): Rewritten.
20123         (SelectLineAction): New inner class.
20124         (SelectWordAction): New inner class.
20125         (SelectionDownAction): Rewritten.
20126         (SelectionUpAction): Rewritten.
20127         (DownAction): Rewritten.
20128         (UpAction): Rewritten.
20129         (SelectionForwardAction): Rewritten.
20130         (SelectionBackwardAction): Rewritten.
20131         (ForwardAction): Rewritten.
20132         (BackwardAction): Rewritten.
20133         (BeginAction): New inner class.
20134         (EndAction): New inner class.
20135         (DefaultKeyTypedAction.actionPerformed): Use int variant of
20136         Character.isISOControl.
20137
20138 2006-05-13  Robert Schuster  <robertschuster@fsfe.org>
20139
20140         * examples/gnu/classpath/examples/swing/NavigationFilterDemo.java:
20141         (WordFilter.getNextVisualPositionFrom): Added statement to check
20142         for variable pt not being null.
20143
20144 2006-05-13  Robert Schuster  <robertschuster@fsfe.org>
20145
20146         * javax/swing/text/Utilities.java:
20147         (getNextWord): Fixed grammar in exception message.
20148         (getPreviousWord): Changed expression in first if-clause, added sub-
20149         expression to if-clause in while-loop.
20150         (getWordStart): Changed expression in if-clause.
20151         getNextVisualPositionFrom): Added package-private helper method.
20152
20153 2006-05-13  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
20154  
20155         * javax/swing/tree/DefaultTreeSelectionModel.java (leadRow):
20156         Initialise to -1.
20157
20158 2006-05-13  Raif S. Naffah  <raif@swiftdsl.com.au>
20159
20160         * resource/gnu/classpath/tools/jarsigner/MessageBundle.properties:
20161         Added help text.
20162         * tools/Makefile.am (JARSIGNER_HELPS): Removed.
20163         * tools/gnu/classpath/tools/jarsigner/jarsigner.txt: Removed.
20164         * tools/gnu/classpath/tools/jarsigner/Main.java:
20165         Increased visibility of fields used by parser anonymous classes.
20166         (HELP_PATH): Removed.
20167         (cmdLineParser): New field.
20168         (main): Handle JVM exit status.
20169         Handle command line parsing exceptions.
20170         (processArgs): Use getopt command line parser.
20171         (getParser): New method.
20172         (setupCommonParams): Removed checks now handled by processArgs().
20173         (setupSigningParams): Likewise.
20174         * tools/gnu/classpath/tools/jarsigner/JarSigner.java (start):
20175         Reuse an existing message-bundle constant.
20176
20177 2006-05-12  Tom Tromey  <tromey@redhat.com>
20178
20179         * gnu/java/net/protocol/jar/Connection.java (getHeaderField):
20180         Explicitly specify class for synchronization.
20181
20182 2006-05-12  Tom Tromey  <tromey@redhat.com>
20183
20184         * java/util/logging/Logger.java (resetLogger): Fixed typo.
20185
20186 2006-05-12  Sven de Marothy  <sven@physto.se>
20187
20188         * gnu/java/net/protocol/http/HTTPConnection.java (get): Add timeout parameter.
20189         * gnu/java/net/protocol/http/HTTPURLConnection.java
20190         (setConnectTimeout): New method.
20191         (getConnection): Add timeout parameter.
20192         *  java/net/URLConnection.java  
20193         (getConnectTimeout, setConnectTimeout): Implement.
20194         * native/target/generic/target_generic_network.h: 
20195         Set correct socket parameters SO_SNDTIMEO and SO_RCVTIMEO.
20196         
20197 2006-05-12  Sven de Marothy  <sven@physto.se>
20198   
20199         * gnu/javax/print/CupsServer.java
20200         (CupsServer): Make the Cups host configurable.
20201         * java/lang/System.java: Document the system property.
20202         
20203 2006-05-12  Roman Kennke <kennke@aicas.com>
20204   
20205         * javax/swing/border/TitledBorder.java
20206         (paintBorder): Rewritten for simplicity and correctness.
20207         (layoutBorderWithTitle): New helper method.
20208         (paintBorderWithTitle): New helper method.
20209         (getBorderInsets): Rewritten.
20210         (getMinimumSize): Rewritten.
20211         (getRealJustification): Removed.
20212         (getMeasurements): Removed.
20213         (Measurements): Removed.
20214   
20215 2006-05-12  David Gilbert  <david.gilbert@object-refinery.com>
20216   
20217         * javax/swing/plaf/basic/BasicPanelUI.java
20218         (sharedUI): New field,
20219         (createUI): Return a shared instance rather than a new instance,
20220         (installUI): Reformatted and added API docs,
20221         (installDefaults): Install border if one is defined,
20222         (uninstallDefaults): Uninstall border.
20223
20224 2006-05-12  David Gilbert  <david.gilbert@object-refinery.com>
20225
20226         * javax/swing/JProgressBar.java: Updated API docs all over.
20227
20228 2006-05-11  Lillian Angel  <langel@redhat.com>
20229
20230         * java/awt/ContainerOrderFocusTraversalPolicy.java
20231         (getComponentAfter): Should not throw exception if
20232         the ancestor is null. Added a check for this.
20233         Also, changed to use new helper function, we should
20234         iterate through all the components at least once.
20235         (getNextAvailableComponent): New helper function.
20236         (getPrevAvailableComponent): New helper function.
20237         (getComponentBefore): Should not throw exception if
20238         the ancestor is null. Added a check for this.
20239         Also, changed to use new helper function, we should
20240         iterate through all the components at least once.
20241         (getFirstComponent): Changed check to manually check
20242         fields. Calling accept() casts the object to a Component,
20243         so different values may be returned.
20244         (getLastComponent): Likewise.
20245
20246 2006-05-11  David Gilbert  <david.gilbert@object-refinery.com>
20247
20248         * javax/swing/plaf/metal/MetalBorders.java: Clean up formatting/style,
20249         * javax/swing/plaf/metal/MetalButtonUI.java: Likewise,
20250         * javax/swing/plaf/metal/MetalCheckBoxUI.java: Likewise,
20251         * javax/swing/plaf/metal/MetalComboBoxButton.java: Likewise,
20252         * javax/swing/plaf/metal/MetalComboBoxIcon.java: Likewise,
20253         * javax/swing/plaf/metal/MetalFileChooserUI.java: Likewise,
20254         * javax/swing/plaf/metal/MetalIconFactory.java: Likewise,
20255         * javax/swing/plaf/metal/MetalInternalFrameTitlePane.java: Likewise,
20256         * javax/swing/plaf/metal/MetalLookAndFeel.java: Likewise,
20257         * javax/swing/plaf/metal/MetalPopupMenuSeparatorUI.java: Likewise,
20258         * javax/swing/plaf/metal/MetalRootPaneUI.java: Likewise,
20259         * javax/swing/plaf/metal/MetalScrollBarUI.java: Likewise,
20260         * javax/swing/plaf/metal/MetalSeparatorUI.java: Likewise,
20261         * javax/swing/plaf/metal/MetalSliderUI.java: Likewise,
20262         * javax/swing/plaf/metal/MetalSplitPaneDivider.java: Likewise,
20263         * javax/swing/plaf/metal/MetalTabbedPaneUI.java: Likewise,
20264         * javax/swing/plaf/metal/MetalToolTipUI.java: Likewise,
20265         * javax/swing/plaf/metal/MetalUtils.java: Likewise.
20266
20267 2006-05-11  Robert Schuster  <robertschuster@fsfe.org>
20268
20269         * javax/swing/text/DefaultCaret.java: Made field 'textComponent'
20270         package-private, added field 'active'.
20271         (PropertyChangeHandler.propertyChange): Added variable 'name', added
20272         cases to update field 'active'.
20273         (mouseDragged): Added documentation, added if-clause to update
20274         selection or caret position.
20275         (mouseClicked): Added early return when text component is disabled.
20276         (focusGained): Moved statements into an if-clause.
20277         (focusLost): Added subexpression to if-clause.
20278         (install): Preset value of 'active'.
20279         (paint): Added subexpression to if-clause.
20280         (isVisible): Extended return expression.
20281         * javax/swing/text/JTextComponent.java:
20282         (copy): Copy only if component is enabled.
20283         (cut): Cut only if component is enabled and editable.
20284         (paste): Dito.
20285
20286 2006-05-11  David Gilbert  <david.gilbert@object-refinery.com>
20287
20288         * javax/swing/plaf/multi/MultiComboBoxUI.java: Minor formatting change,
20289         * javax/swing/plaf/multi/MultiFileChooserUI.java: Likewise,
20290         * javax/swing/plaf/multi/MultiListUI.java: Likewise,
20291         * javax/swing/plaf/multi/MultiLookAndFeel.java: Likewise,
20292         * javax/swing/plaf/multi/MultiOptionPaneUI.java: Likewise,
20293         * javax/swing/plaf/multi/MultiSplitPaneUI.java: Likewise,
20294         * javax/swing/plaf/multi/MultiTabbedPaneUI.java: Likewise.      
20295
20296 2006-05-11  Roman Kennke <kennke@aicas.com>
20297
20298         * gnu/java/awt/font/GNUGlyphVector.java
20299         (GNUGlyphVector): Don't apply the font renderer context's
20300         transform.
20301   
20302 2006-05-11  Mark Wielaard  <mark@klomp.org>
20303
20304         * java/util/logging/Logger.java (global): Initialize inside static
20305         PrivilegedAction.
20306
20307 2006-05-11  David Gilbert  <david.gilbert@object-refinery.com>
20308   
20309         * javax/swing/JFrame.java
20310         (EXIT_ON_CLOSE): Added note to API docs,
20311         (close_action): Renamed closeAction,
20312         (JFrame()): Change title to "",
20313         (JFrame(String)): Added API docs,
20314         (getAccessibleContext): Likewise,
20315         (getDefaultCloseOperation): Updated for renamed field, added API docs,
20316         (processWindowEvent): Updated for renamed field,
20317         (setDefaultCloseOperation): Likewise, and updated API docs.
20318   
20319 2006-05-11  David Gilbert  <david.gilbert@object-refinery.com>
20320   
20321         * javax/swing/JFrame.java
20322         (paramString): Reimplemented,
20323         * javax/swing/SwingUtilities.java
20324         (convertWindowConstantToString): New method.
20325   
20326 2006-05-11  David Gilbert  <david.gilbert@object-refinery.com>
20327   
20328         * javax/swing/WindowConstants.java: Updated API docs.
20329   
20330 2006-05-11  David Gilbert  <david.gilbert@object-refinery.com>
20331   
20332         * javax/swing/plaf/basic/BasicToggleButtonUI.java: Updated API docs,
20333         (createUI): Removed 'final' qualifier for parameter,
20334         (paint): Reformatted.
20335   
20336 2006-05-11  David Gilbert  <david.gilbert@object-refinery.com>
20337   
20338         * javax/swing/plaf/basic/BasicCheckBoxUI.java: Added API docs plus,
20339         (createUI): Removed 'final' qualifier on method argument.
20340   
20341 2006-05-11  David Gilbert  <david.gilbert@object-refinery.com>
20342   
20343         * javax/swing/plaf/basic/BasicCheckBoxUI.java
20344         (getDefaultIcon): Removed this redundant method.
20345
20346 2006-05-11  David Gilbert  <david.gilbert@object-refinery.com>
20347
20348         * javax/swing/plaf/basic/BasicRadioButtonUI.java
20349         (paint): Pass component size to paintFocus().
20350
20351 2006-05-11  Robert Schuster  <robertschuster@fsfe.org>
20352
20353         * java/awt/Component.java:
20354         (dispatchEventImpl): Added comment.
20355   
20356   2006-05-11  Mark Wielaard  <mark@klomp.org>
20357   
20358         * tools/gnu/classpath/tools/appletviewer/Main.java (main): Cast
20359         Option constructor null argument to String.
20360   
20361 2006-05-11  Mark Wielaard  <mark@klomp.org>
20362
20363         * java/awt/geom/GeneralPath.java (WIND_EVEN_ODD, WIND_NON_ZERO):
20364         Fully qualify PathIterator constants
20365
20366 2006-05-11  Robert Schuster  <robertschuster@fsfe.org>
20367
20368         * java/awt/Component.java:
20369         (dispatchEventImpl): Added subexpression to if-clause.  
20370
20371 2006-05-11  Mark Wielaard  <mark@klomp.org>
20372
20373         * java/util/Collections.java (UnmodifiableMapEntry): Qualify
20374         Map.Entry.
20375
20376 2006-05-10  David Gilbert  <david.gilbert@object-refinery.com>
20377
20378         * javax/swing/TransferHandler.java: Marked stub methods.
20379
20380 2006-05-10  Roman Kennke <kennke@aicas.com>
20381
20382         PR classpath/27481
20383         * javax/swing/plaf/basic/BasicInternalFrameUI.java
20384         (installDefaults): Set background of content pane to null, if
20385         no custom color has been installed by the application yet.
20386
20387 2006-05-10  Roman Kennke <kennke@aicas.com>
20388
20389         PR classpath/27481
20390         * javax/swing/JRootPane.java
20391         (createContentPane): Don't set background to null.
20392
20393 2006-05-10  Sven de Marothy <sven@physto.se>
20394
20395         * java/awt/print/PrinterJob.java:
20396         (lookupPrintServices): Un-comment-out.
20397
20398 2006-05-11  Raif S. Naffah  <raif@swiftdsl.com.au>
20399
20400         * tools/gnu/classpath/tools/getopt/OptionGroup.java
20401         (FILLER): New constant.
20402         (formatText(PrintStream,String,int)): New method.
20403         (formatText(PrintStream,String,int,Locale)): Likewise.
20404         (printHelp): Use formatText method.
20405         * tools/gnu/classpath/tools/getopt/Parser.java
20406         (MAX_LINE_LENGTH): New constant.
20407         (formatText(PrintStream,String)): New method.
20408         (formatText(PrintStream,String,Locale)): Likewise.
20409         (printHelp): New method.
20410         (printHelp(PrintStream)): Increased visibility to protected.
20411         Use formatText method.
20412
20413 2006-05-10  David Gilbert  <david.gilbert@object-refinery.com>
20414
20415         * javax/swing/plaf/metal/MetalRadioButtonUI.java
20416         (installDefaults): Use getPropertyPrefix() to allow subclasses to 
20417         modify the lookup key.
20418
20419 2006-05-10  Lillian Angel  <langel@redhat.com>
20420
20421         * java/util/SimpleTimeZone.java: Reverted patch.
20422         (SimpleTimeZone): Throw exception if startMonth == 
20423         endMonth.
20424         (SimpleTimeZone): Likewise.
20425         (checkRule): Rewritten to properly check all values (more 
20426         efficently).
20427         This code is now more stable, at least less buggy than before. 
20428         Fixed API documentation.
20429         (setStartRule): Moved checkRule call to end.
20430         (setStartRule): Likewise.
20431         (setEndRule): Likewise.
20432         (setEndRule): Likewise.
20433
20434 2006-05-10  Roman Kennke <kennke@aicas.com>
20435
20436         * gnu/java/awt/peer/swing/SwingComponent.java:
20437         Some API comment fixlets.
20438         * gnu/java/awt/peer/swing/SwingComponentPeer.java:
20439         (createImage): Create a BufferedImage, not a Toolkit image.
20440         (paint): Removed bogus API comment.
20441         (prepareImage): Added checks to avoid NPE.
20442         * gnu/java/awt/peer/swing/SwingContainerPeer.java:
20443         (getInsets): Added check to avoid NPE.
20444         (handleMouseEvent): Added check to avoid NPE.
20445         * gnu/java/awt/peer/swing/SwingFramePeer.java:
20446         Some API comment fixlets.
20447         * gnu/java/awt/peer/swing/SwingMenuBarPeer.java:
20448         Some API comment fixlets.
20449         * gnu/java/awt/peer/swing/SwingTextFieldPeer.java:
20450         Changed start_pos name to startPos.
20451         * gnu/java/awt/peer/swing/SwingWindowPeer.java:
20452         Some API comment fixlets.
20453
20454 2006-05-10  David Gilbert  <david.gilbert@object-refinery.com>
20455
20456         * java/awt/BasicStroke.java
20457         (equals): Fixed typo in HTML tag for API doc comment.
20458
20459 2006-05-10  Gary Benson  <gbenson@redhat.com>
20460
20461         * java/lang/ThreadGroup.java (parent): Make package-private.
20462         * java/lang/SecurityManager.java (checkAccess(Thread)):
20463         Reference ThreadGroup.parent directly to avoid extra checks.
20464         * java/lang/SecurityManager.java (checkAccess(ThreadGroup)):
20465         Likewise.
20466
20467 2006-05-10  Roman Kennke <kennke@aicas.com>
20468
20469         Reported by Ingo Proetel (proetel@aicas.com)
20470         * java/awt/EventDispatchThread.java
20471         (DEFAULT_PRIORITY): New constant field.
20472         (EventDispatchThread()): Added gnu.awt.dispatchthread.priority
20473         system property for adjusting the priority of the event
20474         dispatch thread.
20475
20476 2006-05-10  Roman Kennke <kennke@aicas.com>
20477
20478         Reported by Ingo Proetel (proetel@aicas.com)
20479         * java/awt/image/ColorModel.java
20480         (S_RGB_MODEL): New constant field.
20481         (getRGBDefault): Return constant SRGBColorModel.
20482         (SRGBColorModel): Specialized color model for sRGB.
20483
20484 2006-05-10  Roman Kennke <kennke@aicas.com>
20485
20486         * java/awt/ColorPaintContext.java
20487         (getRaster): Create Raster with (0,0) as source location.
20488
20489 2006-05-10  Roman Kennke <kennke@aicas.com>
20490
20491         * gnu/java/awt/java2d/AlphaCompositeContext.java
20492         (compose): Don't premultiply alpha to alpha itself.
20493
20494 2006-05-10  Roman Kennke <kennke@aicas.com>
20495
20496         * gnu/java/awt/java2d/AbstractGraphics2D.java
20497         (drawImage(Image,AffineTransform,ImageObserver)): Implemented.
20498         (drawImageImpl(Image,AffineTransform,ImageObserver,Rectangle)):
20499         New method.
20500         (drawImage(BufferedImage,BufferedImageOp,int,int)): Implemented.
20501         (drawRenderedImage(RenderedImage,AffineTransform)): Implemented.
20502         (drawRenderedImageImpl(RenderedImage,AffineTransform,Rectangle)):
20503         New method.
20504         (drawRenderableImage(RenderableImage,AffineTransform)): Implemented.
20505         (drawRenderableImageImpl(RenderableImage,AffineTransform,Rectangle)):
20506         New method.
20507         (scale): Inverse transform by doing 1/scale instead of -scale.
20508         (drawImage(Image,int,int,ImageObserver)): Implemented.
20509         (drawImage(Image,int,int,int,int,ImageObserver)): Implemented.
20510         (drawImage(Image,int,int,Color,ImageObserver)): Implemented.
20511         (drawImage(Image,int,int,int,int,Color,ImageObserver)): Implemented.
20512         (drawImage(Image,int,int,int,int,int,int,int,int,ImageObserver)):
20513         Implemented.
20514         (drawImage(Image,int,int,int,int,int,int,int,int,Color,ImageObserver)):
20515         Implemented.
20516         (fillScanline): Work on translated destination raster for
20517         correct compositin.
20518         (init): Fetch the clip after the destination raster is initialized.
20519         * gnu/java/awt/java2d/ImagePaint.java: New file.
20520         * gnu/java/awt/java2d/RasterGraphics
20521         (drawImage): Removed.
20522
20523 2006-05-09  Thomas Fitzsimmons  <fitzsim@redhat.com>
20524
20525         * resource/gnu/classpath/tools/appletviewer/MessagesBundle.properties:
20526         Clarify option descriptions.
20527         * tools/gnu/classpath/tools/appletviewer/Main.java: Use all
20528         uppercase for metasyntactic variables.
20529
20530 2006-05-09  Robert Schuster  <robertschuster@fsfe.org>
20531
20532         PR classpath/24216
20533         * javax/swing/text/AbstractDocument.java:
20534         (insertString): Added more documentation, added argument check.
20535         (remove): Added more documentation.
20536         (removeImpl): Added argument check.
20537         (replace): Added more documentation, added argument check.
20538
20539 2006-05-09  Tom Tromey  <tromey@redhat.com>
20540
20541         * tools/.cvsignore: Added appletviewer.
20542
20543 2006-05-09  Tom Tromey  <tromey@redhat.com>
20544
20545         * tools/gnu/classpath/tools/getopt/Parser.java (printHelp): Skip
20546         empty groups.
20547
20548 2006-05-09  Tom Tromey  <tromey@redhat.com>
20549
20550         * tools/gnu/classpath/tools/getopt/OptionGroup.java (printHelp): 
20551         Special case for '-J'.  Use space instead of '='.
20552         * tools/gnu/classpath/tools/getopt/Parser.java (setHeader): Added
20553         comment.
20554
20555 2006-05-09  Thomas Fitzsimmons  <fitzsim@redhat.com>
20556
20557         * configure.ac: Add --disable-plugin and --with-vm options.  Check
20558         for plugin support headers and libraries.
20559         * native/Makefile.am: Recurse into plugin directory.
20560         * native/plugin/.cvsignore: New file.
20561         * native/plugin/Makefile.am: New file.
20562         * native/plugin/gcjwebplugin.cc: New file.
20563         * tools/Makefile.am: Install appletviewer wrapper script.
20564         * tools/appletviewer.in: Replace VM location heuristic with
20565         VM_BINARY configure substitution.
20566
20567 2006-05-09  Tom Tromey  <tromey@redhat.com>
20568
20569         * tools/gnu/classpath/tools/getopt/OptionGroup.java (printHelp): Added
20570         an initial pass to look for short options.  Added 'longOnly' option.
20571         * tools/gnu/classpath/tools/appletviewer/Main.java (main): Removed -J
20572         option.
20573         * tools/gnu/classpath/tools/getopt/Parser.java (parsed): Put stadnard
20574         options into final group.  Added -J.
20575         (add): Insert new groups before final group.
20576         (printHelp): Updated.
20577
20578 2006-05-09  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
20579
20580         PR 27518
20581         * tools/gnu/classpath/tools/giop/GRMIC.java (main),
20582         tools/gnu/classpath/tools/rmi/RMIC.java (main):
20583         Expect -classpath option.
20584         * tools/gnu/classpath/tools/rmi/RMIC.txt,
20585         tools/gnu/classpath/tools/giop/GRMIC.txt: Documenting
20586         -classpath option.
20587         tools/gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java
20588         (classLoader): New field. (loadClass, setClassPath):
20589         New methods.
20590
20591 2006-05-09  Roman Kennke <kennke@aicas.com>
20592
20593         * gnu/java/awt/java2d/RasterGraphics.java
20594         (RasterGraphics): Call init() and super().
20595         (drawImage): Temporary drawImage impl until AbstractGraphics2D has
20596         this.
20597
20598 2006-05-09  Gary Benson  <gbenson@redhat.com>
20599
20600         * java/lang/Thread.java (Thread): Always perform threadgroup
20601         access checks on thread creation.
20602
20603 2006-05-09  Chris Burdess  <dog@gnu.org>
20604
20605         * gnu/xml/dom/DomNode.java: Permit comments and PIs in doctype nodes to
20606           be preserved during cloneNode.
20607
20608 2006-05-09  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
20609
20610         PR 27517
20611         * tools/gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java (compile): 
20612         Do not demand all thrown exceptions to be an instance of RemoteException.
20613
20614 2006-05-09  Thomas Fitzsimmons  <fitzsim@redhat.com>
20615
20616         * resource/gnu/classpath/tools/appletviewer/MessagesBundle.properties:
20617         Use hash-style comments.
20618         * resource/gnu/classpath/tools/appletviewer/MessagesBundle_de.properties:
20619         Likewise.
20620
20621 2006-05-09  David Gilbert  <david.gilbert@object-refinery.com>
20622
20623         * javax/swing/JLabel.java
20624         (paramString): Added more attribute details,
20625         * javax/swing/SwingUtilities.java
20626         (convertHorizontalAlignmentCodeToString): New method,
20627         (convertVerticalAlignmentCodeToString): New method.
20628
20629 2006-05-08  Tom Tromey  <tromey@redhat.com>
20630
20631         * tools/gnu/classpath/tools/jar/Updater.java (run): Updated.
20632         * tools/gnu/classpath/tools/jar/Main.java: Use javadoc for fields.
20633         * tools/gnu/classpath/tools/jar/Lister.java (listJar): Use
20634         ZipInputStream.
20635         (run): Updated.
20636         * tools/gnu/classpath/tools/jar/Extractor.java (run): Use System.err
20637         for verbose.
20638         (run): Use ZipInputStream.
20639         (initSet): New method.
20640         (shouldExtract): Likewise.
20641         (run): Use new methods.
20642         * tools/gnu/classpath/tools/jar/Creator.java
20643         (writeCommandLineEntries): New overload.
20644         (writeFile): Use System.err for verbose.
20645         (writeManifest): New method.
20646         (writtenItems): New field.
20647         (writeFile): Update it.
20648         (writeCommandLineEntries): Return void.  Call writeManifest.
20649         (addEntries): Don't add extra '/'.
20650         * NEWS: Mention jar.
20651
20652 2006-05-08  Lillian Angel  <langel@redhat.com>
20653
20654         * gnu/java/net/IndexListParser.java: New class.
20655         * java/net/URLClassLoader.java
20656         (JarURLLoader): Fixed code to use new class.
20657
20658 2006-05-08  Roman Kennke <kennke@aicas.com>
20659
20660         * javax/swing/JComboBox.java
20661         (AccessibleJComboBox.getAccessibleChildrenCount): Implemented.
20662         (AccessibleJComboBox.getAccessibleChild): Implemented.
20663         (AccessibleJComboBox.getAccessibleSelection()): Implemented.
20664         (AccessibleJComboBox.getAccessibleSelection(int)): Implemented.
20665         (AccessibleJComboBox.isAccessibleChildSelected): Implemented.
20666         (AccessibleJComboBox.getAccessibleAction): Implemented.
20667         (AccessibleJComboBox.getAccessibleActionDescription): Implemented.
20668         (AccessibleJComboBox.getAccessibleActionCount): Implemented.
20669         (AccessibleJComboBox.doAccessibleAction): Implemented.
20670         (AccessibleJComboBox.getAccessibleSelectionCount): Implemented.
20671         (AccessibleJComboBox.addAccessibleSelection): Implemented.
20672         (AccessibleJComboBox.removeAccessibleSelection): Implemented.
20673         (AccessibleJComboBox.clearAccessibleSelection): Implemented.
20674         (AccessibleJComboBox.selectAllAccessibleSelection): Implemented.
20675
20676 2006-05-08  Thomas Fitzsimmons  <fitzsim@redhat.com>
20677
20678         * configure.ac: Add support for building appletviewer.
20679         * resource/gnu/classpath/tools/appletviewer/MessagesBundle.properties:
20680         New file.
20681         * resource/gnu/classpath/tools/appletviewer/MessagesBundle_de.properties:
20682         New file.
20683         * tools/appletviewer.c: New file.
20684         * tools/appletviewer.in: New file.
20685         * tools/gnu/classpath/tools/appletviewer/AppletClassLoader.java:
20686         New file.
20687         * tools/gnu/classpath/tools/appletviewer/AppletSecurityManager.java:
20688         New file.
20689         * tools/gnu/classpath/tools/appletviewer/AppletTag.java: New file.
20690         * tools/gnu/classpath/tools/appletviewer/AppletWarning.java: New
20691         file.
20692         * tools/gnu/classpath/tools/appletviewer/CommonAppletContext.java:
20693         New file.
20694         * tools/gnu/classpath/tools/appletviewer/CommonAppletStub.java:
20695         New file.
20696         * tools/gnu/classpath/tools/appletviewer/ConsoleDialog.java: New
20697         file.
20698         * tools/gnu/classpath/tools/appletviewer/ErrorApplet.java: New
20699         file.
20700         * tools/gnu/classpath/tools/appletviewer/Main.java: New file.
20701         * tools/gnu/classpath/tools/appletviewer/PluginAppletContext.java:
20702         New file.
20703         * tools/gnu/classpath/tools/appletviewer/PluginAppletViewer.java:
20704         New file.
20705         * tools/gnu/classpath/tools/appletviewer/PluginAppletWindow.java:
20706         New file.
20707         * tools/gnu/classpath/tools/appletviewer/StandaloneAppletContext.java:
20708         New file.
20709         * tools/gnu/classpath/tools/appletviewer/StandaloneAppletViewer.java:
20710         New file.
20711         * tools/gnu/classpath/tools/appletviewer/StandaloneAppletWindow.java:
20712         New file.
20713         * tools/gnu/classpath/tools/appletviewer/TagParser.java: New
20714         file.
20715
20716 2006-05-08  Tom Tromey  <tromey@redhat.com>
20717
20718         * tools/gnu/classpath/tools/getopt/ClasspathToolParser.java: New file.
20719         * tools/gnu/classpath/tools/jar/Action.java: New file.
20720         * tools/gnu/classpath/tools/jar/Creator.java: New file.
20721         * tools/gnu/classpath/tools/jar/Entry.java: New file.
20722         * tools/gnu/classpath/tools/jar/Extractor.java: New file.
20723         * tools/gnu/classpath/tools/jar/Lister.java: New file.
20724         * tools/gnu/classpath/tools/jar/Main.java: New file.
20725         * tools/gnu/classpath/tools/jar/Updater.java: New file.
20726         * tools/gnu/classpath/tools/getopt/Option.java: New file.
20727         * tools/gnu/classpath/tools/getopt/OptionException.java: New file.
20728         * tools/gnu/classpath/tools/getopt/OptionGroup.java: New file.
20729         * tools/gnu/classpath/tools/getopt/Parser.java: New file.
20730         * tools/gnu/classpath/tools/getopt/FileArgumentCallback.java: New
20731         file.
20732
20733 2006-05-08  Lillian Angel  <langel@redhat.com>
20734
20735         * java/net/URLClassLoader.java
20736         (JarURLLoader): Added check to make sure the INDEX.LIST file
20737         exists.
20738
20739 2006-05-08  Roman Kennke <kennke@aicas.com>
20740
20741         * gnu/java/awt/java2d/AbstractGraphics2D.java
20742         (fill): Removed commented out code.
20743         (fillShape): Also determine the outline of the clip and feed
20744         it into the rendering method. Use new helper method for
20745         converting the shapes into lists of segments.
20746         (getUserBounds): Removed obsolete method.
20747         (rawFillShape): Respect the clip when rendering shapes.
20748         (fillShapeAntialias): Adjusted signature for new clipped rendering.
20749         However, the implementation can't clip still.
20750         (getSegments): New helper method for converting a shape into
20751         a list of segments.
20752         (clipShape): Removed obsolete method.
20753         * gnu/java/awt/java2d/PolyEdge.java
20754         (isClip): New field.
20755         (PolyEdge): Added isField argument to constructor.
20756
20757 2006-05-08  Roman Kennke <kennke@aicas.com>
20758
20759         PR 27481
20760         * javax/swing/JRootPane.java
20761         (createContentPane): Set background of the content pane to null,
20762         so that the content pane inherits its background from the
20763         root pane.
20764
20765 2006-05-08  Roman Kennke <kennke@aicas.com>
20766
20767         PR 27480
20768         * javax/swing/ButtonGroup.java
20769         (add): Check if new button is selected and if so, deselect other
20770         buttons in the group.
20771
20772 2006-05-08  Lillian Angel  <langel@redhat.com>
20773
20774         PR 27444
20775         * java/net/URLClassLoader.java
20776         (JarURLLoader): Added code to go through 
20777         META-INF/INDEX.LIST file to load all jars listed.
20778
20779 2006-05-08  Roman Kennke <kennke@aicas.com>
20780
20781         PR 27461
20782         * javax/swing/ImageIcon.java
20783         (ImageIcon(URL)): Set description to URL.toString().
20784
20785 2006-05-08  Roman Kennke <kennke@aicas.com>
20786
20787         PR 27482
20788         * javax/swing/JTable.java
20789         (IconCellRenderer.getTableCellRendererComponent): Set icon to
20790         null when cell value is null.
20791
20792 2006-05-08  Roman Kennke <kennke@aicas.com>
20793
20794         PR 27484
20795         * javax/swing/DefaultDesktopManager.java
20796         (closeFrame): Don't perform default close action on the frame
20797         to prevent endless loop.
20798
20799 2006-05-08  Roman Kennke <kennke@aicas.com>
20800
20801         PR 27485
20802         * javax/swing/table/DefaultTableModel.java
20803         (addExtraRows): New helper method.
20804         (checkSize): New helper method.
20805         (setRowCount): Use addExtraRows helper method.
20806         (addColumn): Use addExtraRows helper method.
20807         (getColumnName): Check and adjust size if necessary using
20808         checkSize().
20809
20810 2006-05-08  Roman Kennke <kennke@aicas.com>
20811
20812         PR 27486
20813         * javax/swing/JTable.java
20814         (setValueAt): Allow setting values even when table is editable.
20815
20816 2006-05-08  Tom Tromey  <tromey@redhat.com>
20817
20818         * java/text/SimpleDateFormat.java (compileFormat): Added missing
20819         space to error message.
20820
20821 2006-05-08  David Gilbert  <david.gilbert@object-refinery.com>
20822
20823         * javax/swing/AbstractButton.java: Fixed comment typos.
20824
20825 2006-05-07  Andrew John Hughes  <gnu_andrew@member.fsf.org>
20826
20827         PR classpath/27435:
20828         * java/util/zip/DeflaterEngine.java:
20829         (deflateFast(boolean,boolean)): Empty buffer when full.
20830         
20831 2006-05-07  Sven de Marothy <sven@physto.se>
20832
20833         Fixed PR27343
20834         * java/util/Calendar.java (setTimeZone): Force recalculation.
20835         
20836 2006-05-07  Sven de Marothy <sven@physto.se>
20837
20838         Fixed PR27463
20839         * javax/swing/plaf/metal/MetalInternalFrameTitlePane.java
20840         (propertyChange): Handle FRAME_ICON_PROPERTY property.
20841         
20842 2006-05-07  Andrew John Hughes  <gnu_andrew@member.fsf.org>
20843
20844         PR classpath/27311:
20845         * gnu/java/text/StringFormatBuffer.java:
20846         (toString()): Implemented so we can see the contents.
20847         * java/text/DecimalFormat.java:
20848         (formatInternal(double,StringFormatBuffer,FieldPosition)):
20849         Don't calculate the exponent when the number is 0 or less.
20850         Also, use log10 instead of log now it's available.
20851         
20852 2006-05-07  Raif S. Naffah  <raif@swiftdsl.com.au>
20853
20854         * gnu/javax/crypto/keyring/PrimitiveEntry.java (PrimitiveEntry):
20855         Use instance's field creationDate not the constructor's argument.
20856         * gnu/javax/crypto/keyring/PasswordEncryptedEntry.java:
20857         Removed unused imports.
20858         Sorted imports.
20859         (log): New field.
20860         (decrypt): Added trace/debug/timing statements.
20861         (encrypt): Likewise.
20862         Use PRNG instead of instantiating every time a new SecureRandom.
20863         * gnu/javax/crypto/keyring/PasswordAuthenticatedEntry.java:
20864         Removed unused imports.
20865         Sorted imports.
20866         (log): New field.
20867         (verify): Added trace/debug/timing statements.
20868         (authenticate): Likewise.
20869         Use PRNG instead of instantiating every time a new SecureRandom.
20870
20871 2006-05-07  Raif S. Naffah  <raif@swiftdsl.com.au>
20872
20873         * gnu/classpath/debug/Simple1LineFormatter.java (DAT_FORMAT): Removed.
20874         (THREAD_FORMAT): Likewise.
20875         (dateFormat): Added field.
20876         (threadFormat): Added field.
20877         (format): Initialize instance fields if null.
20878         Use StringBuilder instead of StringBuffer.
20879
20880 2006-05-07  Roman Kennke <kennke@aicas.com>
20881
20882         * gnu/java/awt/java2d/RasterGraphics.java: New file.
20883
20884 2006-05-07  Roman Kennke <kennke@aicas.com>
20885
20886         * gnu/java/awt/java2d/AbstractGraphics2D.java
20887         (fillShape): Determine user space bounds of shape and feed them
20888         into the actual rendering pipeline.
20889         (rawSetPixel): Made non-abstract for now. Maybe remove later.
20890         (rawSetForeground): Likewise.
20891         (getDestinationColorModel): Removed.
20892         (getDeviceBounds): Made non-abstract. Provide useful default impl.
20893         (rawFillShape): Handle paint context.
20894         (fillScanline): Implement painting and compositing.
20895         (fillShapeAntialias): Handle paint context.
20896         (fillScanlineAA): Implemented preliminary antialiasing based on
20897         composite context. Not working yet.
20898         (fillScanlineAlpha): Removed.
20899         (init): Fetch destination raster.
20900         (getDestinationRaster): New abstract method.
20901         (updateRaster): New backend method.
20902
20903 2006-05-07  Roman Kennke <kennke@aicas.com>
20904
20905         * gnu/java/awt/java2d/AlphaCompositeContext.java
20906         (compose): Fixed loops, conditions and logic to make compositing
20907         work correctly.
20908
20909 2006-05-07  Roman Kennke <kennke@aicas.com>
20910
20911         * java/awt/ColorPaintContext.java
20912         (ColorPaintContext): Fixed filling of the raster.
20913
20914 2006-05-07  Sven de Marothy <sven@physto.se>
20915
20916         Fixed PR27455
20917         * gnu/java/awt/peer/GLightweightPeer.java (mouseEntered): Remove.
20918         * java/awt/Component.java (processMouseEvent): 
20919         Do lightweight cursor handling.
20920         * javax/swing/plaf/basic/BasicTableHeaderUI.java 
20921         (endResizing,mouseMoved): Save and reset original cursor, not the 
20922         default one.
20923
20924 2006-05-07  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
20925
20926         PR 27298
20927         * javax/swing/plaf/basic/BasicTreeUI.java (NodeDimensionsHandler.
20928         getNodeDimensions): Mind the size of the node icon. (getRowX):
20929         use totalChildIndent. (TreeExpansionHandler): Set maximal height
20930         to zero on events. (nullIcon): New field. (getCurrentControlIcon):
20931         Return nullIcon if there is no other icon. (getNodeIcon): New method.
20932         (installDefaults): assign totalChildIndent. (installUI): Call
20933         updateExpandedDescendants. (paintHorizontalPartOfLeg): Rewritten.
20934         (paintRow): Rewritten. (updateRenderer): Do not set the renderer for
20935         the tree.
20936
20937 2006-05-06  Sven de Marothy <sven@physto.se>
20938
20939         Fixed PR27454
20940         * gnu/java/awt/peer/gtk/GtkImage: (drawPixels,drawPixelsScaled): 
20941         Check for zero image sizes.
20942         
20943 2006-05-06  Olivier Jolly  <olivier.jolly@pcedev.com>
20944
20945         Fixed PR27362
20946         * java/util/Calendar.java (clear(int)): Forced internal state
20947         completion before performing a field clearing.
20948
20949 2006-05-06  Olivier Jolly  <olivier.jolly@pcedev.com>
20950
20951         * java/util/Collections.java(UnmodifiableMap.UnmodifiableEntrySet.
20952         UnmodifiableMapEntry): New Map.Entry implementation which is immutable.
20953         (UnmodifiableMap.UnmodifiableEntrySet.iterator,
20954         UnmodifiableMap.UnmodifiableEntrySet.toArray,
20955         UnmodifiableMap.UnmodifiableEntrySet.toArray(Object[])): Used
20956         UnmodifiableMapEntry as part of their return value. 
20957
20958 2006-05-06  Raif S. Naffah  <raif@swiftdsl.com.au>
20959
20960         * tools/keytool.sh.in: Removed (renamed to keytool.in).
20961         * tools/jarsigner.in: Removed (renamed to jarsigner.in).
20962         * tools/Makefile.am: Include jarsigner and keytool classes in tools.zip.
20963         Generate jarsigner and keytool scripts.
20964         * tools/keytool.in: New file (renamed from keytool.sh.in).
20965         * tools/jarsigner.in: New file (renamed from jarsigner.sh.in).
20966         * tools/.cvsignore: Replaced *.sh with *
20967         * configure.ac: Replaced tools/*.sh with tools/*.
20968
20969 2006-05-05  Roman Kennke <kennke@aicas.com>
20970
20971         * java/awt/image/ColorModel.java
20972         (getNormalizedComponents): Implemented.
20973
20974 2006-05-05  Roman Kennke <kennke@aicas.com>
20975
20976         * javax/swing/plaf/basic/BasicRadioButtonUI.java
20977         (paint): Query the button model for it's state, not the
20978         button itself.
20979
20980 2006-05-05  Roman Kennke <kennke@aicas.com>
20981
20982         * javax/swing/JTable.java
20983         (tableChanged): Sync selection model with table model changes.
20984
20985 2006-05-05  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
20986
20987         * javax/swing/plaf/basic/BasicTreeUI.java (paint): Return early
20988         if there are no visible nodes to paint.
20989
20990 2006-05-05  David Gilbert  <david.gilbert@object-refinery.com>
20991
20992         * javax/swing/JOptionPane.java: API doc updates.
20993
20994 2006-05-05  David Gilbert  <david.gilbert@object-refinery.com>
20995
20996         * javax/swing/JToolBar.java
20997         (paramString): Reimplemented.
20998
20999 2006-05-05  David Gilbert  <david.gilbert@object-refinery.com>
21000
21001         * javax/swing/JScrollBar.java
21002         (paramString): Reimplemented.
21003
21004 2006-05-04  Tom Tromey  <tromey@redhat.com>
21005
21006         PR classpath/27375:
21007         * java/util/zip/ZipFile.java (entries): Now a LinkedHashMap.
21008         (readEntries): Updated.
21009         (getEntries): Likewise.
21010         (getEntry): Likewise.
21011         (getInputStream): Likewise.
21012
21013 2006-05-04  Thomas Fitzsimmons  <fitzsim@redhat.com>
21014
21015         * gnu/javax/imageio/jpeg/DCT.java,
21016         gnu/javax/imageio/jpeg/HuffmanTable.java,
21017         gnu/javax/imageio/jpeg/JPEGComponent.java,
21018         gnu/javax/imageio/jpeg/JPEGDecoder.java,
21019         gnu/javax/imageio/jpeg/JPEGException.java,
21020         gnu/javax/imageio/jpeg/JPEGFrame.java,
21021         gnu/javax/imageio/jpeg/JPEGImageInputStream.java,
21022         gnu/javax/imageio/jpeg/JPEGImageReader.java,
21023         gnu/javax/imageio/jpeg/JPEGImageReaderSpi.java,
21024         gnu/javax/imageio/jpeg/JPEGMarker.java,
21025         gnu/javax/imageio/jpeg/JPEGMarkerFoundException.java,
21026         gnu/javax/imageio/jpeg/JPEGScan.java,
21027         gnu/javax/imageio/jpeg/YCbCr_ColorSpace.java,
21028         gnu/javax/imageio/jpeg/ZigZag.java: New files.
21029
21030 2006-05-04  Lillian Angel  <langel@redhat.com>
21031
21032         * javax/swing/JLabel.java
21033         (JLabel): Pass in an empty string for the text parameter.
21034         (JLabel): Likewise.
21035         (JLabel): Likewise.
21036
21037 2006-05-04  Roman Kennke <kennke@aicas.com>
21038
21039         * javax/swing/plaf/basic/BasicButtonListener.java
21040         (mouseEntered): Fixed conditions for changing states.
21041
21042 2006-05-04  Roman Kennke <kennke@aicas.com>
21043
21044         * javax/swing/JOptionPane.java
21045         (AccessibleJOptionPane.getAccessibleRole): Implemented method.
21046
21047 2006-05-04  Roman Kennke <kennke@aicas.com>
21048
21049         * javax/swing/JLabel.java
21050         (AccessibleJLabel.getSelectedText): Return null instead of "".
21051         (AccessibleJLabel.getSelectionStart): Added comment why
21052         return -1 is correct here.
21053         (AccessibleJLabel.getSelectionEnd): Added comment why
21054         return -1 is correct here.
21055         (AccessibleJLabel.getCharacterAttribute): Added comment about what
21056         to do here.
21057         (AccessibleJLabel.getCharCount): Added comment about what
21058         to do here.
21059         (AccessibleJLabel.getCharacterBounds): Tagged as not implemented.
21060         (AccessibleJLabel.getIndexAtPoint): Tagged as not implemented.
21061         (paramString): Return super.paramString() here, this provides
21062         a more meaningful output.
21063
21064 2006-05-04  Roman Kennke <kennke@aicas.com>
21065
21066         * javax/swing/JComponent.java
21067         (paint): Added null check to avoid NPE when clip == null.
21068
21069 2006-05-04  Roman Kennke <kennke@aicas.com>
21070
21071         * javax/swing/AbstractButton.java
21072         (addImpl): New method. Installs an OverlayLayout if no
21073         other layout has been installed before.
21074         (setLayout): New method. Detect if a client app installs a custom
21075         layout.
21076
21077 2006-05-04  Roman Kennke <kennke@aicas.com>
21078
21079         * javax/swing/table/DefaultTableCellRenderer.java
21080         (noFocusBorder): Fixed width of empty border to 1.
21081         (getTableCellRendererComponent): Don't change the colors for
21082         focuses cells. Fixed border for focused cells.
21083
21084 2006-05-04  Roman Kennke <kennke@aicas.com>
21085
21086         * javax/swing/JTable.java
21087         (moveToCellBeingEdited): Adjust bounding box of editing component
21088         to exactly cover the grid.
21089         * javax/swing/plaf/basic/BasicTableUI.java
21090         (paint): Paint grid to the bottom and right of the cells instead
21091         of left and top. Adjust bounding box of cells accordingly.
21092         * javax/swing/plaf/metal/MetalLookAndFeel.java
21093         (initComponentDefaults): Fixed color of JTable selection border.
21094         * javax/swing/plaf/metal/OceanTheme.java
21095         (addCustomEntriesToTable): Fixed color of JTable selection border.
21096
21097 2006-05-04  Raif S. Naffah  <raif@swiftdsl.com.au>
21098
21099         * tools/gnu/classpath/tools/keytool/ExportCmd.java (setup):
21100         Use _alias instead of alias.
21101
21102 2006-05-03  Andrew John Hughes  <gnu_andrew@member.fsf.org>
21103
21104         * configure.ac:
21105         Set version to 0.92-pre.
21106         * NEWS:
21107         Add space for 0.92 entries.
21108
21109 2006-05-03  Andrew John Hughes  <gnu_andrew@member.fsf.org>
21110
21111         * include/Makefile.am:
21112         Added rules for gnu.java.net.local.LocalSocketImpl.h
21113         * include/java_lang_VMSystem.h:
21114         Regenerated correctly.
21115         
21116 2006-05-03  Sven de Marothy <sven@physto.se>
21117        
21118         PR 24023, 24701
21119         * java/awt/Image.java:
21120         (getScaledInstance): Default to AreaAveraging for "smooth", 
21121         don't thrown an error on illegal flag values.
21122         * java/awt/image/AreaAveragingScaleFilter.java: Implement.
21123
21124 2006-05-03  Robert Schuster  <robertschuster@fsfe.org>
21125
21126         * javax/swing/text/FieldView.java:
21127         (adjustAllocation): Added if-block to return null when shape argument
21128         is null.
21129         * javax/swing/text/PlainView.java:
21130         (updateDamage): Added if-block to return early if a is null.
21131
21132 2006-05-03  Robert Schuster  <robertschuster@fsfe.org>
21133
21134         * javax/swing/plaf/basic/BasicTextUI.java:
21135         (changeUpdate): Added note.
21136         (removeUpdate): Dito.
21137         (insertUpdate): Dito.
21138         (damageRange): Added if-block to return early.
21139         (modelToView): Added check of getVisibleEditorRect's return value.
21140         (getVisibleEditorRect): Return null instead of empty rectangle.
21141         * javax/swing/text/DefaultCaret.java:
21142         (clearHighlight): Removed if-clause to create a highlight entry if it
21143         did not exist before.
21144         * javax/swing/text/WrappedPlainView.java:
21145         (WrappedLine.modelToView): Throw exception if allocation area is empty,
21146         removed 2nd part of if-expression.
21147         (WrappedLine.updateDamage): Added more documentation, added check
21148         whether allocation area rectangle is null.
21149
21150 2006-05-03  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
21151
21152         * javax/swing/JSplitPane.java (setDividerLocation(int)):
21153         Reset to preferred sizes if the argument is negative.
21154
21155 2006-05-03  David Gilbert  <david.gilbert@object-refinery.com>
21156
21157         * javax/swing/JList.java: Added/updated API docs.
21158
21159 2006-05-03  Lillian Angel  <langel@redhat.com>
21160
21161         * javax/swing/JComponent.java
21162         (getRoot): New private function. Gets the root appropriate
21163         for painting. If an applet exists as a parent, then it is returned.
21164         (paintDoubleBuffered): Changed to use new function.
21165         * javax/swing/RepaintManager.java
21166         (getRoot): New private function. Gets the root appropriate
21167         for painting. If an applet exists as a parent, then it is returned.
21168         (getOffscreenBuffer): Changed to use new function.
21169         * javax/swing/SwingUtilties.java
21170         (getRoot): Reverted last patch to return Window, even if 
21171         an Applet exists.
21172
21173 2006-05-03  Raif S. Naffah  <raif@swiftdsl.com.au>
21174
21175         * gnu/javax/crypto/jce/keyring/GnuKeyring.java: Re-implemented using
21176         a pair of one public keyring and one private keyring.
21177         * gnu/javax/crypto/keyring/GnuPublicKeyring.java (log): New field.
21178         (containsCertificate): Added logging.
21179         (getCertificate): Likewise.
21180         (putCertificate): Likewsie.
21181         (load): Likewise.
21182         (store): Likewise.
21183         * gnu/javax/crypto/keyring/GnuPrivateKeyring.java (log): New field.
21184         (containsPrivateKey): Added logging.
21185         (getPrivateKey): Likewise.
21186         (putPrivateKey): Likewise.
21187         (containsPublicKey): Likewise.
21188         (getPublicKey): Likewise.
21189         (putPublicKey): Likewise.
21190         (containsCertPath): Likewise.
21191         (getCertPath): Likewise.
21192         (putCertPath): Likewise.
21193         (load): Likewise.
21194         (store): Likewise.
21195
21196 2006-05-03  Roman Kennke <kennke@aicas.com>
21197
21198         * gnu/java/awt/java2d/AlphaCompositeContext.java: New class.
21199         * java/awt/AlphaComposite.java
21200         (createContext): Implemented.
21201
21202 2006-05-03  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
21203
21204         * gnu/java/awt/peer/gtk/GdkGraphics2D.java (drawRaster):
21205         Set the current color again after drawing the raster.
21206
21207 2006-05-03  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
21208
21209         * javax/swing/text/WrappedPlainView.java (WrappedLine.modelToView):
21210         Do not check pos < currLineEnd if currLineStart == currLineEnd.
21211
21212 2006-05-03  Raif S. Naffah  <raif@swiftdsl.com.au>
21213
21214         * tools/gnu/classpath/tools/keytool/Command.java (getCallbackHandler):
21215         Assign returned value to field handler.
21216         * tools/gnu/classpath/tools/jarsigner/Main.java (getCallbackHandler):
21217         Likewise.
21218
21219 2006-05-02  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
21220
21221         * javax/swing/ScrollPaneLayout.java (layoutContainer):
21222         Return without action if there is no view in the viewport.
21223         * javax/swing/text/WrappedPlainView.java 
21224         (WrappedLine.getPreferredSpan): If metrics == null, update
21225         metrics.
21226         * javax/swing/tree/DefaultTreeModel.java (constructors):
21227         Do not call setRoot, assign the root node directly.
21228
21229 2006-05-02  Lillian Angel  <langel@redhat.com>
21230
21231         * javax/swing/SwingUtilities.java
21232         (getRoot): Should return the Applet if it exists.
21233         Only return the Window if an Applet has not been
21234         encountered.
21235
21236 2006-05-02  Lillian Angel  <langel@redhat.com>
21237
21238         * gnu/javax/swing/text/html/parser/support/Parser.java
21239         (readAttributes): Reverted Audrius' last patch. There is 
21240         a slight difference in code between the NUMTOKEN and SLASH case. 
21241
21242 2006-05-02  Robert Schuster  <robertschuster@fsfe.org>
21243
21244         * javax/swing/text/JTextComponent.java:
21245         (setText): Throw InternalError from catch-block.
21246         * javax/swing/text/GapContent.java:
21247         (removed): Removed if-expression, changed '>' to '>='.
21248
21249 2006-05-02  Roman Kennke <kennke@aicas.com>
21250
21251         * gnu/java/awt/java2d/AbstractGraphics2D.java
21252         (AA_SAMPLING): New constant.
21253         (alpha): New field. Used in the antialiasing renderer.
21254         (edgeTable): New field. Used in the antialiasing renderer.
21255         (AbstractGraphics2D): Initialize rendering hints wrt
21256         anti-aliasing.
21257         (draw): Clip after stroking. Commented out clipping for now,
21258         it seems to be buggy.
21259         (fill): Commented out clipping for now, it seems to be buggy.
21260         (setComposite): Don't create composite context.
21261         (setPaint): Only change paint when parameter is not null.
21262         (translate): Call setClip() so subclasses can update their clip
21263         too.
21264         (clip): Call setClip() so subclasses can update their clip
21265         too.
21266         (drawGlyphVector): Added clipping, but left it commented out
21267         because it's buggy.
21268         (getClipBounds): Returns null when clip is null.
21269         (drawLine): Call rawDrawLine with translation applied.
21270         (filLRect): Call rawFillRect with translation applied.
21271         (fillShape): Added support for anti-aliasing.
21272         (rawSetForeground(int,int,int)): New method.
21273         (rawFillShape): A couple of painting fixes.
21274         (fillScanline): Implemented to call rawDrawLine.
21275         (fillShapeAntialias): New method. Implements an anti-aliasing
21276         shape filler.
21277         (fillScanlineAA): New method. Used for the anti-aliasing
21278         shape filler.
21279         (fillScanlineAlpha): New method. Used for the anti-aliasing
21280         shape filler.
21281         (init): Initialize clip with the device bounds.
21282         (updateOptimization): Fixed the optimization condition.
21283
21284 2006-05-02  Robert Schuster  <robertschuster@fsfe.org>
21285
21286         * javax/swing/text/GapContent.java:
21287         (GapContent): Restrict size argument by 2.
21288         (insertString): Changed expression from >= to >.
21289         (remove): Changed right side of expression to 'length - 1', changed
21290         exception message.
21291         (getChars): Throw exception if where below 0.
21292         (replace): Replaced call to setPositionsInRange() with
21293         resetMarksAtZero(), removed note.
21294
21295 2006-05-02  Roman Kennke <kennke@aicas.com>
21296
21297         PR 27326
21298         * javax/swing/MenuSelectionManager.java
21299         (setSelectedPath): Rewritten.
21300
21301 2006-05-02  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
21302
21303         * gnu/javax/swing/text/html/parser/support/Parser.java
21304         (readAttributes): Merge case NUMTOKEN: and case SLASH:
21305         sections.
21306
21307 2006-05-02  Raif S. Naffah  <raif@swiftdsl.com.au>
21308
21309         * tools/.cvsignore: Added keytool.sh.
21310         * configure.ac: Added tools/keytool.sh to AC_CONFIG_FILES.
21311
21312 2006-05-02  Raif S. Naffah  <raif@swiftdsl.com.au>
21313
21314         * doc/tools.texinfo: New file.
21315         * doc/Makefile.am: Generate tools documentation.
21316
21317 2006-05-02  Raif S. Naffah  <raif@swiftdsl.com.au>
21318
21319         * tools/keytool.sh.in: New file.
21320         * tools/gnu/classpath/tools/keytool/CertReqCmd.java: Likewise.
21321         * tools/gnu/classpath/tools/keytool/Command.java: Likewise.
21322         * tools/gnu/classpath/tools/keytool/DeleteCmd.java: Likewise.
21323         * tools/gnu/classpath/tools/keytool/ExportCmd.java: Likewise.
21324         * tools/gnu/classpath/tools/keytool/GenKeyCmd.java: Likewise.
21325         * tools/gnu/classpath/tools/keytool/IdentityDBCmd.java: Likewise.
21326         * tools/gnu/classpath/tools/keytool/ImportCmd.java: Likewise.
21327         * tools/gnu/classpath/tools/keytool/KeyCloneCmd.java: Likewise.
21328         * tools/gnu/classpath/tools/keytool/KeyPasswdCmd.java: Likewise.
21329         * tools/gnu/classpath/tools/keytool/ListCmd.java: Likewise.
21330         * tools/gnu/classpath/tools/keytool/Main.java: Likewise.
21331         * tools/gnu/classpath/tools/keytool/Messages.java: Likewise.
21332         * tools/gnu/classpath/tools/keytool/PrintCertCmd.java: Likewise.
21333         * tools/gnu/classpath/tools/keytool/SelfCertCmd.java: Likewise.
21334         * tools/gnu/classpath/tools/keytool/StorePasswdCmd.java: Likewise.
21335         * tools/gnu/classpath/tools/keytool/keytool.txt: Likewise.
21336         * tools/gnu/classpath/tools/keytool/package.html: Likewise.
21337         * resource/gnu/classpath/tools/keytool/MessageBundle.properties: Likewise.
21338
21339 2006-05-02  Raif S. Naffah  <raif@swiftdsl.com.au>
21340
21341         * tools/gnu/classpath/tools/jarsigner/jarsigner.txt: Re-arranged to
21342         resemble more closely man-page style text.
21343         * tools/gnu/classpath/tools/jarsigner/SFHelper.java:
21344         Mark (Eclipse) strings that need not be externalised.
21345         (writeSF): Likewise.
21346         (writeDSA): Likewise.
21347         Use package-private Messages class to provide i18n-ready strings.
21348         (startSigning):
21349         Use package-private Messages class to provide i18n-ready strings.
21350         (updateEntry): Likewise.
21351         Mark (Eclipse) strings that need not be externalised.
21352         (finishSigning): Likewise.
21353         * tools/gnu/classpath/tools/jarsigner/Main.java:
21354         Mark (Eclipse) strings that need not be externalised.
21355         (main): Do not use constant strings as class name.
21356         Use package-private Messages class to provide i18n-ready strings.
21357         Reduced logging level so INFO becomes FINER, and WARNING becomes FINE.
21358         (processArgs): Do not use constant strings as class name.
21359         Mark (Eclipse) strings that need not be externalised.
21360         Reduced logging level so INFO becomes FINER, and WARNING becomes FINE.
21361         (start): Do not use constant strings as class name.
21362         (teardown): Likewise.
21363         Use ProviderUtil.
21364         (setupCommonParams): Do not use constant strings as class name.
21365         Use package-private Messages class to provide i18n-ready strings.
21366         Reduced logging level so INFO becomes FINER, and WARNING becomes FINE.
21367         (installNewProvider): Do not use constant strings as class name.
21368         Use ProviderUtil.
21369         (setupSigningParams): Do not use constant strings as class name.
21370         Use package-private Messages class to provide i18n-ready strings.
21371         Mark (Eclipse) strings that need not be externalised.
21372         (getCallbackHandler): Use CallbackUtil.
21373         * tools/gnu/classpath/tools/jarsigner/JarSigner.java (start):
21374         Use package-private Messages class to provide i18n-ready strings.
21375         Reduced logging level so INFO becomes FINER, and WARNING becomes FINE.
21376         * tools/gnu/classpath/tools/jarsigner/JarVerifier.java (start): Likewise.
21377         (verifySF): Likewise.
21378         (verifySFEntries): Do not use constant strings as class name.
21379         Use Boolean.valueOf instead of new Boolean().
21380         (verifySFEntry): Mark (Eclipse) strings that need not be externalised.
21381         * resource/gnu/classpath/tools/jarsigner/MessageBundle.properties:
21382         New file.
21383         * tools/gnu/classpath/tools/jarsigner/package.html: Likewise.
21384         * tools/gnu/classpath/tools/jarsigner/Messages.java: Likewise.
21385
21386 2006-05-02  Raif S. Naffah  <raif@swiftdsl.com.au>
21387
21388         * tools/gnu/classpath/tools/common/CallbackUtil.java: New file.
21389         * tools/gnu/classpath/tools/common/ProviderUtil.java: Likewise.
21390         * tools/gnu/classpath/tools/common/SecurityProviderInfo.java: Likewise.
21391
21392 2006-05-01  Tom Tromey  <tromey@redhat.com>
21393
21394         * java/nio/ByteBufferImpl.java (compact): Don't reset position
21395         in empty case.
21396         * gnu/java/nio/ChannelReader.java (read): Synchronize.
21397         (close): Synchronize.
21398         * java/nio/ShortBufferImpl.java (compact): Rewrote.
21399         * java/nio/LongBufferImpl.java (compact): Rewrote.
21400         * java/nio/IntBufferImpl.java (compact): Rewrote.
21401         * java/nio/FloatBufferImpl.java (compact): Rewrote.
21402         * java/nio/DoubleBufferImpl.java (compact): Rewrote.
21403         * java/nio/CharBufferImpl.java (compact): Rewrote.
21404         * gnu/java/nio/ChannelWriter.java: New file.
21405         * java/nio/channels/Channels.java (newWriter): Implemented.
21406
21407 2006-05-01  Lillian Angel  <langel@redhat.com>
21408
21409         * java/util/SimpleTimeZone.java
21410         (SimpleTimeZone): Do not throw exception if startMonth == endMonth.
21411         (SimpleTimeZone): Likewise.
21412         (checkRule): Rewritten to properly check all values (more efficently). 
21413         This code is now more stable, at least less buggy than before. Fixed
21414         API documentation.
21415         (setStartRule): Moved checkRule call to end.
21416         (setStartRule): Likewise.
21417         (setEndRule): Likewise.
21418         (setEndRule): Likewise.
21419
21420 2006-05-01  Tom Tromey  <tromey@redhat.com>
21421
21422         * lib/.cvsignore: Added classes.2.
21423
21424 2006-05-01  Tom Tromey  <tromey@redhat.com>
21425
21426         * java/util/jar/JarFile.java (provider): Now package-private.
21427         * java/lang/Enum.java (compareTo): Javadoc fix.
21428         * java/lang/Boolean.java (compareTo): Javadoc fix.
21429
21430 2006-05-01  Lillian Angel  <langel@redhat.com>
21431
21432         * gnu/javax/swing/text/html/parser/support/Parser.java
21433         (readAttributes): Formatted function. Added handling for 
21434         SLASH token. The value of an attribute may start with a slash
21435         (i.e. a path). I added handling similar to to the NUMTOKEN code.
21436         We should not be skipping over these type of attributes.
21437
21438 2006-04-30  Andrew John Hughes  <gnu_andrew@member.fsf.org>
21439
21440         * include/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.h,
21441         * include/gnu_java_awt_peer_gtk_GdkFontPeer.h,
21442         * include/gnu_java_awt_peer_gtk_GdkGraphics.h,
21443         * include/gnu_java_awt_peer_gtk_GdkGraphics2D.h,
21444         * include/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.h,
21445         * include/gnu_java_awt_peer_gtk_GdkPixbufDecoder.h,
21446         * include/gnu_java_awt_peer_gtk_GdkRobotPeer.h,
21447         * include/gnu_java_awt_peer_gtk_GdkTextLayout.h,
21448         * include/gnu_java_awt_peer_gtk_GtkButtonPeer.h,
21449         * include/gnu_java_awt_peer_gtk_GtkCanvasPeer.h,
21450         * include/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.h,
21451         * include/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.h,
21452         * include/gnu_java_awt_peer_gtk_GtkCheckboxPeer.h,
21453         * include/gnu_java_awt_peer_gtk_GtkChoicePeer.h,
21454         * include/gnu_java_awt_peer_gtk_GtkClipboard.h,
21455         * include/gnu_java_awt_peer_gtk_GtkComponentPeer.h,
21456         * include/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.h,
21457         * include/gnu_java_awt_peer_gtk_GtkFileDialogPeer.h,
21458         * include/gnu_java_awt_peer_gtk_GtkFramePeer.h,
21459         * include/gnu_java_awt_peer_gtk_GtkGenericPeer.h,
21460         * include/gnu_java_awt_peer_gtk_GtkImage.h,
21461         * include/gnu_java_awt_peer_gtk_GtkLabelPeer.h,
21462         * include/gnu_java_awt_peer_gtk_GtkListPeer.h,
21463         * include/gnu_java_awt_peer_gtk_GtkMenuBarPeer.h,
21464         * include/gnu_java_awt_peer_gtk_GtkMenuComponentPeer.h,
21465         * include/gnu_java_awt_peer_gtk_GtkMenuItemPeer.h,
21466         * include/gnu_java_awt_peer_gtk_GtkMenuPeer.h,
21467         * include/gnu_java_awt_peer_gtk_GtkPanelPeer.h,
21468         * include/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.h,
21469         * include/gnu_java_awt_peer_gtk_GtkScrollPanePeer.h,
21470         * include/gnu_java_awt_peer_gtk_GtkScrollbarPeer.h,
21471         * include/gnu_java_awt_peer_gtk_GtkSelection.h,
21472         * include/gnu_java_awt_peer_gtk_GtkTextAreaPeer.h,
21473         * include/gnu_java_awt_peer_gtk_GtkTextFieldPeer.h,
21474         * include/gnu_java_awt_peer_gtk_GtkToolkit.h,
21475         * include/gnu_java_awt_peer_gtk_GtkWindowPeer.h,
21476         * include/gnu_java_awt_peer_qt_MainQtThread.h,
21477         * include/gnu_java_awt_peer_qt_QMatrix.h,
21478         * include/gnu_java_awt_peer_qt_QPainterPath.h,
21479         * include/gnu_java_awt_peer_qt_QPen.h,
21480         * include/gnu_java_awt_peer_qt_QtAudioClip.h,
21481         * include/gnu_java_awt_peer_qt_QtButtonPeer.h,
21482         * include/gnu_java_awt_peer_qt_QtCanvasPeer.h,
21483         * include/gnu_java_awt_peer_qt_QtCheckboxPeer.h,
21484         * include/gnu_java_awt_peer_qt_QtChoicePeer.h,
21485         * include/gnu_java_awt_peer_qt_QtComponentPeer.h,
21486         * include/gnu_java_awt_peer_qt_QtContainerPeer.h,
21487         * include/gnu_java_awt_peer_qt_QtDialogPeer.h,
21488         * include/gnu_java_awt_peer_qt_QtEmbeddedWindowPeer.h,
21489         * include/gnu_java_awt_peer_qt_QtFileDialogPeer.h,
21490         * include/gnu_java_awt_peer_qt_QtFontMetrics.h,
21491         * include/gnu_java_awt_peer_qt_QtFontPeer.h,
21492         * include/gnu_java_awt_peer_qt_QtFramePeer.h,
21493         * include/gnu_java_awt_peer_qt_QtGraphics.h,
21494         * include/gnu_java_awt_peer_qt_QtGraphicsEnvironment.h,
21495         * include/gnu_java_awt_peer_qt_QtImage.h,
21496         * include/gnu_java_awt_peer_qt_QtLabelPeer.h,
21497         * include/gnu_java_awt_peer_qt_QtListPeer.h,
21498         * include/gnu_java_awt_peer_qt_QtMenuBarPeer.h,
21499         * include/gnu_java_awt_peer_qt_QtMenuComponentPeer.h,
21500         * include/gnu_java_awt_peer_qt_QtMenuItemPeer.h,
21501         * include/gnu_java_awt_peer_qt_QtMenuPeer.h,
21502         * include/gnu_java_awt_peer_qt_QtPanelPeer.h,
21503         * include/gnu_java_awt_peer_qt_QtPopupMenuPeer.h,
21504         * include/gnu_java_awt_peer_qt_QtScreenDevice.h,
21505         * include/gnu_java_awt_peer_qt_QtScrollPanePeer.h,
21506         * include/gnu_java_awt_peer_qt_QtScrollbarPeer.h,
21507         * include/gnu_java_awt_peer_qt_QtTextAreaPeer.h,
21508         * include/gnu_java_awt_peer_qt_QtTextFieldPeer.h,
21509         * include/gnu_java_awt_peer_qt_QtToolkit.h,
21510         * include/gnu_java_awt_peer_qt_QtVolatileImage.h,
21511         * include/gnu_java_awt_peer_qt_QtWindowPeer.h,
21512         * include/gnu_javax_sound_midi_alsa_AlsaMidiDeviceProvider.h,
21513         * include/gnu_javax_sound_midi_alsa_AlsaMidiSequencerDevice.h,
21514         * include/gnu_javax_sound_midi_alsa_AlsaPortDevice.h,
21515         * include/gnu_javax_sound_midi_dssi_DSSIMidiDeviceProvider.h,
21516         * include/gnu_javax_sound_midi_dssi_DSSISynthesizer.h,
21517         * include/gnu_xml_libxmlj_dom_GnomeAttr.h,
21518         * include/gnu_xml_libxmlj_dom_GnomeDocument.h,
21519         * include/gnu_xml_libxmlj_dom_GnomeDocumentBuilder.h,
21520         * include/gnu_xml_libxmlj_dom_GnomeDocumentType.h,
21521         * include/gnu_xml_libxmlj_dom_GnomeElement.h,
21522         * include/gnu_xml_libxmlj_dom_GnomeEntity.h,
21523         * include/gnu_xml_libxmlj_dom_GnomeNamedNodeMap.h,
21524         * include/gnu_xml_libxmlj_dom_GnomeNode.h,
21525         * include/gnu_xml_libxmlj_dom_GnomeNodeList.h,
21526         * include/gnu_xml_libxmlj_dom_GnomeNotation.h,
21527         * include/gnu_xml_libxmlj_dom_GnomeProcessingInstruction.h,
21528         * include/gnu_xml_libxmlj_dom_GnomeTypeInfo.h,
21529         * include/gnu_xml_libxmlj_dom_GnomeXPathExpression.h,
21530         * include/gnu_xml_libxmlj_dom_GnomeXPathNSResolver.h,
21531         * include/gnu_xml_libxmlj_dom_GnomeXPathNodeList.h,
21532         * include/gnu_xml_libxmlj_dom_GnomeXPathResult.h,
21533         * include/gnu_xml_libxmlj_sax_GnomeLocator.h,
21534         * include/gnu_xml_libxmlj_sax_GnomeXMLReader.h,
21535         * include/gnu_xml_libxmlj_transform_GnomeTransformer.h,
21536         * include/gnu_xml_libxmlj_transform_GnomeTransformerFactory.h,
21537         * include/java_lang_VMProcess.h:
21538         Regenerated.
21539         * native/jni/java-lang/java_lang_VMProcess.c:
21540         Redirect when pipe_count is 2 not 3.    
21541
21542 2006-04-30  Sascha Brawer <sascha@brawer.ch>
21543
21544         * gnu/java/awt/font/FontDelegate.java,
21545         * gnu/java/awt/font/FontFactory.java,
21546         * gnu/java/awt/font/GNUGlyphVector.java,
21547         * gnu/java/awt/font/opentype/CharGlyphMap.java,
21548         * gnu/java/awt/font/opentype/GlyphNamer.java,
21549         * gnu/java/awt/font/opentype/MacResourceFork.java,
21550         * gnu/java/awt/font/opentype/NameDecoder.java,
21551         * gnu/java/awt/font/opentype/OpenTypeFont.java,
21552         * gnu/java/awt/font/opentype/OpenTypeFontFactory.java,
21553         * gnu/java/awt/font/opentype/Scaler.java,
21554         * gnu/java/awt/font/opentype/truetype/Fixed.java,
21555         * gnu/java/awt/font/opentype/truetype/GlyphLoader.java,
21556         * gnu/java/awt/font/opentype/truetype/GlyphLocator.java,
21557         * gnu/java/awt/font/opentype/truetype/GlyphMeasurer.java,
21558         * gnu/java/awt/font/opentype/truetype/TrueTypeScaler.java,
21559         * gnu/java/awt/font/opentype/truetype/VirtualMachine.java,
21560         * gnu/java/awt/font/opentype/truetype/Zone.java,
21561         * gnu/java/awt/font/opentype/truetype/ZonePathIterator.java,
21562         * gnu/java/awt/font/opentype/truetype/doc-files/ZonePathIterator-1.dia,
21563         * gnu/java/awt/font/opentype/truetype/doc-files/ZonePathIterator-1.png:
21564         New files. Imported font framework from:
21565         http://www.brawer.ch/software/fonts/
21566
21567 2006-04-30  Roman Kennke <kennke@aicas.com>
21568
21569         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
21570         (lastTabInRun): Fix calculation of the last tab in a run. This
21571         has caused painting problems sometimes, making the
21572         last tab painted incorrectly.
21573
21574 2006-04-30  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
21575
21576         PR 27297
21577         * javax/swing/JComponent.java (paintChildrenWithOverlap):
21578         Use for and not while to prevent the endless loop.
21579
21580 2006-04-29  David Gilbert  <david.gilbert@object-refinery.com>
21581
21582         * javax/swing/JList.java
21583         (paramString): Changed from public to protected.
21584
21585 2006-04-29  Raif S. Naffah  <raif@swiftdsl.com.au>
21586
21587         * tools/gnu/classpath/tools/HelpPrinter.java (printHelp): New method.
21588         (printHelpAndExit): Re-factored to use the above method.
21589
21590 2006-04-29  Raif S. Naffah  <raif@swiftdsl.com.au>
21591
21592         * tools/jarsigner.sh.in: Changed license to GPL + Exception.
21593         Use -Xbootclasspath/p instead of -cp when invoking the main class.
21594         * tools/gnu/classpath/tools/jarsigner/Main.java:
21595         Changed license to GPL + Exception.
21596         (handler): New field.
21597         (getCallbackHandler): New method.
21598         (setupSigningParams): Use above method.
21599         * tools/gnu/classpath/tools/jarsigner/HashUtils.java:
21600         Changed license to GPL + Exception.
21601         * tools/gnu/classpath/tools/jarsigner/SFHelper.java: Likewise.
21602         * tools/gnu/classpath/tools/jarsigner/JarVerifier.java: Likewise.
21603         * tools/gnu/classpath/tools/jarsigner/JarSigner.java: Likewise.
21604         * tools/gnu/classpath/tools/jarsigner/jarsigner.txt: Updated copyright.
21605
21606 2006-04-29  Raif S. Naffah  <raif@swiftdsl.com.au>
21607
21608         * gnu/javax/security/auth/callback/ConsoleCallbackHandler.java
21609         (handleConfirmation): Use print instead of println.
21610         (handleConfirmation): When case is YES_NO_OPTION, print default option
21611         if one was set.
21612         (handleLanguage): Use print instead of println.
21613
21614 2006-04-29  Raif S. Naffah  <raif@swiftdsl.com.au>
21615
21616         * gnu/java/security/x509/X500DistinguishedName.java: Updated copyright.
21617         (putComponent): Handle O and OU components.
21618         (getDer): Use correct (it2) iterator.
21619         (readAttributeValue): Read next character and break if end-of-stream.
21620
21621 2006-04-29  Raif S. Naffah  <raif@swiftdsl.com.au>
21622
21623         * gnu/java/security/provider/Gnu.java (run):
21624         Add "RSA" as an alias to MD5withRSA.
21625         * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java (encodePublicKey):
21626         Always encode a NULL as the value of an algorithm parameters field.
21627         * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java (log): New field.
21628         (encodePrivateKey): Added trace/log statements.
21629         (decodePrivateKey): Likewise.
21630         * gnu/java/security/key/rsa/RSAKeyPairGenerator.java (log): New field.
21631         (setup): Added trace/log statements.
21632         (generate): Likewise.
21633         * gnu/java/security/key/rsa/GnuRSAPublicKey.java (str): New field.
21634         (toString): New method.
21635         * gnu/java/security/key/rsa/GnuRSAPrivateKey.java (DEBUG): New constant.
21636         (str): New field.
21637         (toString): New method.
21638         * gnu/java/security/key/rsa/GnuRSAKey.java (str): New field.
21639         (getEncoded): Use defaultFormat.
21640         (toString): New method.
21641         * gnu/java/security/key/dss/DSSKey.java (toString):
21642         Include defaultFormat in string.
21643         * gnu/java/security/jce/sig/RSAKeyFactory.java (engineGeneratePublic):
21644         Break if successfully decoded public key.
21645         (engineGeneratePrivate): Break if successfully decoded private key.
21646
21647 2006-04-29  Raif S. Naffah  <raif@swiftdsl.com.au>
21648
21649         * java/security/Security.java <clinit>: Add our Callback provider.
21650         * resource/java/security/classpath.security: Likewise
21651
21652 2006-04-28  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
21653
21654         PR 27296
21655         * javax/swing/ScrollPaneLayout.java (layoutContainer):
21656         Decide about scroll bars from the preferred view size, not
21657         the current size.
21658         * javax/swing/ViewportLayout.java (layoutContainer):
21659         Do not change returned preferred size. Do not treat JScrollPane
21660         specially.
21661
21662 2006-04-28  Sven de Marothy <sven@physto.se>
21663
21664         * java/awt/image/ReplicateScaleFilter.java: Fix comment. 
21665         * javax/swing/ProgressMonitor.java (actionPerformed): 
21666         Avoid divide-by-zero.
21667
21668 2006-04-28  Sven de Marothy <sven@physto.se>
21669
21670         * javax/swing/JSpinner.java: Fix default text justification.
21671         * javax/swing/plaf/basic/BasicSpinnerUI.java: Fix spinner layout size.
21672
21673 2006-04-28  David Gilbert  <david.gilbert@object-refinery.com>
21674
21675         * javax/swing/JList.java
21676         (getMinSelectionIndex): Return correct value, added API docs,
21677         (getMaxSelectionIndex): Added API docs.
21678
21679 2006-04-28  David Gilbert  <david.gilbert@object-refinery.com>
21680
21681         * javax/swing/JList.java
21682         (JList(Object[])): Pass new model directly to init(),
21683         (JList(Vector)): Likewise,
21684         (JList(ListModel)): Renamed argument and updated API docs,
21685         (init): Throw IllegalArgumentException for null argument,
21686         (setListData(Object[])): Delegate model creation,
21687         (setListData(Vector)): Likewise,
21688         (createListModel(Object[])): New private method,
21689         (createListModel(Vector)): New private method,
21690         (paramString): Implemented.
21691
21692 2006-04-28  Tom Tromey  <tromey@redhat.com>
21693
21694         * java/lang/Class.java (SYNTHETIC, ENUM, ANNOTATION): New fields.
21695         (isEnum): Rewrote.
21696         (isSynthetic): Likewise.
21697         (isAnnotation): Likewise.
21698         * vm/reference/java/lang/VMClass.java (isSynthetic): Removed.
21699         (isAnnotation): Likewise.
21700         (isEnum): Likewise.
21701
21702 2006-04-28  Robert Schuster  <robertschuster@fsfe.org>
21703
21704         * javax/swing/text/View.java:
21705         (getNextVisualPositionFrom): Call modelToView and viewToModel on parent
21706         view.
21707
21708 2006-04-28  Robert Schuster  <robertschuster@fsfe.org>
21709
21710         * javax/swing/text/View.java:
21711         (getNextVisualPositionFrom): Rewritten.
21712         * javax/swing/text/CompositeView.java:
21713         (getNextEastWestVisualPositionFrom): Partly implemented.
21714         (getNextNorthSouthVisualPositionFrom): Partly implemented.
21715
21716 2006-04-28  David Gilbert  <david.gilbert@object-refinery.com>
21717
21718         * javax/swing/JList.java
21719         (setFixedCellHeight): Use correct property name for event.
21720
21721 2006-04-28  Robert Schuster  <robertschuster@fsfe.org>
21722
21723         * javax/swing/text/Utilities.java:
21724         (getNextWord): Use codePointAt instead of charAt, added note, changed
21725         if-expression, added throwing of exception.
21726         (getPreviousWord): Use codePointAt instead of charAt.
21727
21728 2006-04-28  Jeroen Frijters  <jeroen@frijters.net>
21729
21730         * java/lang/StringBuilder.java
21731         (ensureCapacity, getChars, append(StringBuffer),
21732         append(char[],int,int), delete, replace, insert(int,char[],int,int),
21733         insert(int,String), insert(int,char), trimToSize): Replaced
21734         System.arraycopy calls with VMSystem.arraycopy.
21735
21736 2006-04-27  Tom Tromey  <tromey@redhat.com>
21737
21738         * java/awt/image/renderable/RenderableImageProducer.java
21739         (requestTopDownLeftRightResend): Implemented.
21740         (run): Likewise.
21741         (startProduction): Add new consumer.
21742
21743 2006-04-27  Sven de Marothy  <sven@physto.se>
21744
21745         * javax/swing/JLabel.java (setIcon): Repaint on setting the icon.
21746
21747 2006-04-27  Roman Kennke <kennke@aicas.com>
21748
21749         * java/awt/LightweightDispatcher.java
21750         Dispatch events only to targets that have a mouselistener
21751         attached. Changed to also handle null targets.
21752
21753 2006-04-27  Roman Kennke <kennke@aicas.com>
21754
21755         * NEWS: Added entries about accessibility support and L&F
21756         window decorations.
21757
21758 2006-04-27  Robert Schuster  <robertschuster@fsfe.org>
21759         
21760         * javax/swing/text/Utilities.java:
21761         (getTabbedTextOffset): Introduced width variable, rewritten the check
21762         which ends the loop.
21763         (getBreakLocation): Call getTabbedTextOffset with rounding argument set
21764         to false.
21765               
21766 2006-04-27  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
21767
21768         * examples/gnu/classpath/examples/swing/TreeDemo.java
21769         (createContent): Added root visibility and selection listener demos.
21770         * javax/swing/JTree.java (setRootVisible): If false, unselect
21771         the root node, if it is selected.
21772         * javax/swing/plaf/basic/BasicTreeUI.java 
21773         (TreeTraverseAction.actionPerformed): Do not select the root if it
21774         is not visible.
21775         * javax/swing/tree/DefaultTreeSelectionModel.java (removeSelectionPath,
21776         removeSelectionPaths): Reset lead to null if the current lead path is
21777         removed from selection.
21778         * javax/swing/tree/TreePath.java (getParentPath): Cache the parent path.
21779         * javax/swing/tree/FixedHeightLayoutCache.java (NodeRecord.getPath):
21780         Return the same path regardless is root visible or not. (update):
21781         Reduce the identation if the root is not visible.
21782         * javax/swing/tree/VariableHeightLayoutCache.java (NodeRecord.getPath):
21783         Return the same path regardless is root visible or not. (update):
21784         Reduce the identation if the root is not visible.
21785
21786 2006-04-26  Audrius Meskauskas  <AudriusA@Bioinformatics.org
21787
21788         * javax/swing/plaf/basic/BasicTreeUI.java
21789         (TreeAction.actionPerformed):Newly obtain the current lead
21790         path that must stay visible.
21791         (TreeTraverseAction.actionPerformed):Rewritten.
21792         * javax/swing/tree/FixedHeightLayoutCache.java (countRows):
21793         Do not treat root specially. (setModel): Assume the root node
21794         initially expanded.
21795         * javax/swing/tree/VariableHeightLayoutCache.java:(countRows):
21796         Do not treat root specially. (setModel): Assume the root node
21797         initially expanded.
21798
21799 2006-04-26  Chris Burdess  <dog@gnu.org>
21800
21801         Fixes PR 27290
21802         * javax/xml/datatype/DatatypeFactory.java: Use complete
21803           implementation resolution mechanism.
21804
21805 2006-04-26  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
21806
21807         * javax/swing/tree/DefaultTreeModel.java (nodeStructureChanged): 
21808         Implemented.
21809         * javax/swing/tree/DefaultTreeSelectionModel.java (toString):
21810         Removed NoImplementException form the implemented method.
21811
21812 2006-04-26  Tom Tromey  <tromey@redhat.com>
21813
21814         * javax/net/ssl/HttpsURLConnection.java (HttpsURLConnection): Doesn't
21815         throw IOException.
21816
21817 2006-04-26  David Gilbert  <david.gilbert@object-refinery.com>
21818
21819         * javax/swing/DefaultListSelectionModel.java
21820         (clone): Initialise empty listener list,
21821         (setSelectionMode): Throw IllegalArgumentException for bad input.
21822
21823 2006-04-26  David Gilbert  <david.gilbert@object-refinery.com>
21824
21825         * javax/swing/DefaultListSelectionModel.java
21826         (clearSelection): Clear the Bitset.
21827
21828 2006-04-26  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
21829
21830         * javax/swing/JTree.java (setLeadSelectionPath):
21831         Repaint the new and old lead pathes.
21832         * javax/swing/plaf/basic/BasicTreeUI.java
21833         (FocusHandler): Repaint the lead row when focus changes.
21834         (PropertyChangeHandler): Use existing constants, not the
21835         string literals for the property names.
21836         (TreeIncrementAction): Shrink the selection when moving
21837         from the selection edge to the selection anchor.
21838         (TreeSelectionHandler.valueChanged): Repaint the 
21839         new and old lead pathes.
21840         (paintRow): Treat row as focused only if it is the lead row.
21841         * javax/swing/tree/DefaultTreeCellRenderer.java
21842         (getTreeCellRendererComponent): Set the vertical alignment to CENTER.
21843         (paint): Rewritten.
21844         * javax/swing/tree/DefaultTreeSelectionModel.java
21845         (addSelectionPath): Event construction fix (old and new lead were
21846         always the same).
21847         (addSelectionPaths): Likewise.
21848         * javax/swing/JComponent.java (setOpaque): Explained.
21849         * javax/swing/tree/FixedHeightLayoutCache.java (getBounds):
21850         Accept null.
21851         * javax/swing/tree/VariableHeightLayoutCache.java (getBounds):
21852         Accept null.
21853
21854 2006-04-26  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
21855
21856         * examples/gnu/classpath/examples/swing/TreeDemo.java
21857         (createContent): Call DefaultTreeModel.reload(), not the
21858         tree.repaint(). Expand the parent of the added node.
21859         * javax/swing/JTree.java (constructor): Do not call
21860         UpdateUI (and documented why). (treeDidChange):
21861         Added comment, excluding the misinterpretation of this method.
21862         * javax/swing/plaf/basic/BasicTreeUI.java (componentListener,
21863         focusListener, keyListener, mouseListener, propertyListener,
21864         selectionModelPropertyChangeListener, treeModelListener,
21865         treeSelectionListener): Made package private.
21866         (PropertyChangeHandler): If the model changes, install the
21867         listener on it. (installUI): Assign treeModel.
21868         * javax/swing/tree/DefaultMutableTreeNode.java (add): Added
21869         comment, excluding misinterpretation.
21870         * javax/swing/tree/DefaultTreeModel.java (reload): Implemented.
21871         (reload(TreeNode)): Implemented.
21872
21873 2006-04-25  Tom Tromey  <tromey@redhat.com>
21874
21875         * javax/swing/JComboBox.java (AccessibleJComboBox): Now public.
21876         * javax/swing/tree/VariableHeightLayoutCache.java
21877         (getVisiblePathsFrom): Genericized.
21878         * javax/swing/tree/FixedHeightLayoutCache.java (getVisiblePathsFrom):
21879         Genericized.
21880
21881 2006-04-25  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
21882
21883         * javax/swing/plaf/basic/BasicTreeUI.java (MouseHandler.mousePressed):
21884         If clicked on the other row, cancel the current editing session.
21885
21886 2006-04-25  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
21887
21888         * javax/swing/plaf/basic/BasicTreeUI.java
21889         (NodeDimensionsHandler.getRowX): Add half of the icon width.
21890         (paintExpandControl): Always paint in one gap distance from the left
21891         border of the path bounds.
21892         (paintHorizontalPartOfLeg): Rewritted, taking the icon width
21893         into consideration.
21894         (paintVerticalPartOfLeg): Paint two gaps from the parent's bounds
21895         left edge.
21896
21897 2006-04-25  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
21898
21899         * javax/swing/plaf/basic/BasicTreeUI.java (paint): Rewritten.
21900
21901 2006-04-25  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
21902
21903         * gnu/javax/swing/text/html/parser/support/Parser.java (readAttributes):
21904         Allow slashes (/) in the unquoted parameter value. 
21905
21906 2006-04-25  Roman Kennke <kennke@aicas.com>
21907
21908         * gnu/java/awt/java2d/AbstractGraphics2D.java
21909         (drawString(String,int,int)): Implemented.
21910         (drawString(String,float,float)): Implemented.
21911         (drawString(AttributedCharacterIterator,int,int)): Implemented.
21912         (drawString(AttributedCharacterIterator,float,float)): Implemented.
21913         (getFontRenderContext): Implemented.
21914         (drawGlyphVector): Implemented.
21915         (getFont): Implemented.
21916         (setFont): Don't change font setting when null.
21917         (getFontMetrics): Implemented.
21918         (fillShape): Re-written to fill call rawFillShape() with a list
21919         of the edges instead of double arrays.
21920         (rawFillShape): Implemented using a polygon scanline conversion.
21921         (fillScanline): New helper method.
21922         (init): Initialize foreground black. Set font.
21923         * gnu/java/awt/java2d/PolyEdge.java: New file.
21924         * gnu/java/awt/java2d/PolyEdgeComparator.java: New file.
21925
21926 2006-04-25  David Gilbert  <david.gilbert@object-refinery.com>
21927
21928         * javax/swing/table/DefaultTableColumnModel.java: More API doc updates.
21929
21930 2006-04-25  David Gilbert  <david.gilbert@object-refinery.com>
21931
21932         * javax/swing/JTable.java: Fixed API doc tags,
21933         * javax/swing/text/AsyncBoxView.java: Likewise,
21934         * javax/swing/text/FlowView.java: Likewise.
21935
21936 2006-04-25  David Gilbert  <david.gilbert@object-refinery.com>
21937
21938         * javax/swing/table/DefaultTableColumnModel.java
21939         (moveColumn): Call fireColumnMoved() not fireColumnAdded.
21940
21941 2006-04-24  David Gilbert  <david.gilbert@object-refinery.com>
21942
21943         * javax/swing/table/DefaultTableColumnModel.java
21944         (DefaultTableColumnModel): Set selection model field and add 'this' as
21945         listener directly,
21946         (addColumn): Add 'this' as a PropertyChangeListener,
21947         (removeColumn): Remove column before firing event, and remove 'this' as
21948         a PropertyChangeListener,
21949         (setSelectionModel): Remove 'this' as a listener from old model, 
21950         (propertyChange): Check for 'width' property rather than
21951         TableColumn.COLUMN_WIDTH_PROPERTY.
21952
21953 2006-04-24  Chris Burdess  <dog@gnu.org>
21954
21955         Fixes PR 27262
21956         * gnu/xml/dom/DomDocument.java: getElementById returns user-defined ID
21957           attributes when no doctype exists.
21958
21959 2006-04-24  David Gilbert  <david.gilbert@object-refinery.com>
21960
21961         * javax/swing/event/ChangeEvent.java: Updated API docs,
21962         * javax/swing/event/ChangeListener.java: Likewise,
21963         * javax/swing/event/TableColumnModelEventListener.java: Likewise,
21964         * javax/swing/table/DefaultTableColumnModel.java: Likewise,
21965         * javax/swing/table/TableColumnModel.java: Likewise.
21966
21967 2006-04-24  Robert Schuster  <robertschuster@fsfe.org>
21968
21969         * javax/swing/text/Utilities.java:
21970         (getBreakLocation): Introduced shift variable, added notes.
21971         * javax/swing/text/WrappedPlainView.java:
21972         (calculateBreakPosition): Decrease allocation area bounds by insets,
21973         added early return when allocation area is empty, provide start offset
21974         as argument.
21975         (WrappedPlainView.WrappedLine): Change default value for numLines to 1.
21976         (WrappedPlainView.WrappedLine.paint): Added count variable, update
21977         numLines after loop.
21978         (WrappedPlainView.WrappedLine.determineNumLines): Added early return.
21979         (WrappedPlainView.WrappedLine.getPreferredSpan): Removed if-statement.
21980         (WrappedPlainView.WrappedLine.viewToModel): Changed note, removed
21981         decreasing variable end by one, changed break condition in while-loop,
21982         added check for return value.
21983         (WrappedPlainView.WrappedLine.updateDamage): Set numLines to one if
21984         allocation area is empty.
21985
21986 2006-04-24  Sven de Marothy  <sven@physto.se>
21987
21988         * gnu/java/awt/java2d/Segment.java: New file.
21989         * gnu/java/awt/java2d/CubicSegment.java: New file.
21990         * gnu/java/awt/java2d/QuadSegment.java: New file.
21991         * gnu/java/awt/java2d/LineSegment.java: New file.
21992         * java/awt/BasicStroke.java
21993         (start): New field.
21994         (end): New field.
21995         (createStrokedShape): Implemented.
21996         (solidStroke): New method.
21997         (dashedStroke): New method.
21998         (capEnds): New method.
21999         (convertPath): New method.
22000         (addSegments): New method.
22001         (capEnd): New method.
22002         (lineIntersection): New method.
22003         (joinSegments): New method.
22004
22005 2006-04-24  Roman Kennke <kennke@aicas.com>
22006
22007         * gnu/java/awt/java2d/AbstractGraphics2D.java: Made implements
22008         Cloneable.
22009         (font): New field.
22010         (clip): Changed clip to be in user space not in target space.
22011         (isOptimized): Added flag to allow optimized drawing for
22012         primitive operations (e.g. for Swing).
22013         (AbstractGraphics2D()): Set foreground in init() to avoid trouble
22014         with the paint context etc.
22015         (draw): Clip the shape before drawing it.
22016         (fill): Clip the shape before drawing it.
22017         (setComposite): Update isOptimized flag.
22018         (setPaint): Likewise.
22019         (setStroke): Likewise.
22020         (translate): Update the clip.
22021         (rotate): Likewise.
22022         (scale): Likewise.
22023         (shear): Likewise.
22024         (transform): Likewise.
22025         (setTransform): Likewise.
22026         (clip): Added optimization for rectangle clips.
22027         (create): Implemented.
22028         (clone): New method.
22029         (setFont): Basic implementation.
22030         (setClip): Update opimization flag.
22031         (drawLine): Added possible optimization.
22032         (fillRect): Added possible optimization.
22033         (fillShape): Implemented shape-filling by filling the flattended
22034         shape using polygon fill.
22035         (drawPixel): Added basic painting.
22036         (rawSetPixel): Changed signature to only take coordinates.
22037         (rawSetForeground): New abstract method.
22038         (getUserBounds): Implemented default for this method.
22039         (rawDrawLine): New method.
22040         (rawFillRect): New method.
22041         (rawFillPolygon): New method.
22042         (init): New method.
22043         (updateOptimization): New method.
22044         (computeIntersection): New method.
22045         (updateClip): New method.
22046         (clipShape): New method.
22047
22048 2006-04-23  Jeroen Frijters  <jeroen@frijters.net>
22049
22050         * java/lang/Package.java: Added compatibility constructor to ease
22051         VM interface migration.
22052
22053 2006-04-23  Jeroen Frijters  <jeroen@frijters.net>
22054
22055         * java/lang/Class.java (getEnumConstants): Implemented without
22056         delegating to VMClass.
22057         * vm/reference/java/lang/VMClass.java (getEnumConstants): Removed.
22058
22059 2006-04-23  Jeroen Frijters  <jeroen@frijters.net>
22060
22061         * java/lang/ClassLoader.java (definePackage): Added argument to
22062         Package constructor.
22063         * java/lang/Package.java (Package): Added ClassLoader argument.
22064         (loader): New field.
22065         (getDeclaredAnnotations): Implemented without help from VMPackage.
22066         * vm/reference/java/lang/VMClassLoader.java (static): Added argument
22067         to Package constructor.
22068         * vm/reference/java/lang/VMPackage.java: Removed.
22069
22070 2006-04-23  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
22071
22072         * examples/gnu/classpath/examples/swing/TreeDemo.java:
22073         (createContent): Added check box to swith between single and 
22074         multiple selection.
22075         * javax/swing/JTree.java (leadSelectionPath): Removed.
22076         (addSelectionInterval): Explained. (getLeadSelectionPath):
22077         Request the path from model. (getPathsBetweenRows): Explained.
22078         (setLeadSelectionPath): Set the path in model.
22079         * javax/swing/plaf/basic/BasicTreeUI.java 
22080         (TreeIncrementAction.actionPerformed, isMultiSelectionEvent, 
22081         isToggleSelectionEvent, selectPath, selectPathForEvent): Rewritten.
22082         (MouseHandler.mousePressed): Call selectPathForEvent.
22083
22084 2006-04-23  Roman Kennke <kennke@aicas.com>
22085
22086         * gnu/java/awt/java2d/AbstractGraphics2D.java: New file.
22087
22088 2006-04-22  Andrew John Hughes  <gnu_andrew@member.fsf.org>
22089
22090         * NEWS:
22091         Mention changes to VMProcess and VMSystem.
22092         * doc/vmintegration.texinfo:
22093         Change documentation on VMProcess and VMSystem.
22094         * include/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.h,
22095         * include/gnu_java_awt_peer_gtk_GdkFontPeer.h,
22096         * include/gnu_java_awt_peer_gtk_GdkGraphics.h,
22097         * include/gnu_java_awt_peer_gtk_GdkGraphics2D.h,
22098         * include/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.h,
22099         * include/gnu_java_awt_peer_gtk_GdkPixbufDecoder.h,
22100         * include/gnu_java_awt_peer_gtk_GdkRobotPeer.h,
22101         * include/gnu_java_awt_peer_gtk_GdkTextLayout.h,
22102         * include/gnu_java_awt_peer_gtk_GtkButtonPeer.h,
22103         * include/gnu_java_awt_peer_gtk_GtkCanvasPeer.h,
22104         * include/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.h,
22105         * include/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.h,
22106         * include/gnu_java_awt_peer_gtk_GtkCheckboxPeer.h,
22107         * include/gnu_java_awt_peer_gtk_GtkChoicePeer.h,
22108         * include/gnu_java_awt_peer_gtk_GtkClipboard.h,
22109         * include/gnu_java_awt_peer_gtk_GtkComponentPeer.h,
22110         * include/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.h,
22111         * include/gnu_java_awt_peer_gtk_GtkFileDialogPeer.h,
22112         * include/gnu_java_awt_peer_gtk_GtkFramePeer.h,
22113         * include/gnu_java_awt_peer_gtk_GtkGenericPeer.h,
22114         * include/gnu_java_awt_peer_gtk_GtkImage.h,
22115         * include/gnu_java_awt_peer_gtk_GtkLabelPeer.h,
22116         * include/gnu_java_awt_peer_gtk_GtkListPeer.h,
22117         * include/gnu_java_awt_peer_gtk_GtkMenuBarPeer.h,
22118         * include/gnu_java_awt_peer_gtk_GtkMenuComponentPeer.h,
22119         * include/gnu_java_awt_peer_gtk_GtkMenuItemPeer.h,
22120         * include/gnu_java_awt_peer_gtk_GtkMenuPeer.h,
22121         * include/gnu_java_awt_peer_gtk_GtkPanelPeer.h,
22122         * include/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.h,
22123         * include/gnu_java_awt_peer_gtk_GtkScrollPanePeer.h,
22124         * include/gnu_java_awt_peer_gtk_GtkScrollbarPeer.h,
22125         * include/gnu_java_awt_peer_gtk_GtkSelection.h,
22126         * include/gnu_java_awt_peer_gtk_GtkTextAreaPeer.h,
22127         * include/gnu_java_awt_peer_gtk_GtkTextFieldPeer.h,
22128         * include/gnu_java_awt_peer_gtk_GtkToolkit.h,
22129         * include/gnu_java_awt_peer_gtk_GtkWindowPeer.h,
22130         * include/gnu_java_awt_peer_qt_MainQtThread.h,
22131         * include/gnu_java_awt_peer_qt_QMatrix.h,
22132         * include/gnu_java_awt_peer_qt_QPainterPath.h,
22133         * include/gnu_java_awt_peer_qt_QPen.h,
22134         * include/gnu_java_awt_peer_qt_QtAudioClip.h,
22135         * include/gnu_java_awt_peer_qt_QtButtonPeer.h,
22136         * include/gnu_java_awt_peer_qt_QtCanvasPeer.h,
22137         * include/gnu_java_awt_peer_qt_QtCheckboxPeer.h,
22138         * include/gnu_java_awt_peer_qt_QtChoicePeer.h,
22139         * include/gnu_java_awt_peer_qt_QtComponentPeer.h,
22140         * include/gnu_java_awt_peer_qt_QtContainerPeer.h,
22141         * include/gnu_java_awt_peer_qt_QtDialogPeer.h,
22142         * include/gnu_java_awt_peer_qt_QtEmbeddedWindowPeer.h,
22143         * include/gnu_java_awt_peer_qt_QtFileDialogPeer.h,
22144         * include/gnu_java_awt_peer_qt_QtFontMetrics.h,
22145         * include/gnu_java_awt_peer_qt_QtFontPeer.h,
22146         * include/gnu_java_awt_peer_qt_QtFramePeer.h,
22147         * include/gnu_java_awt_peer_qt_QtGraphics.h,
22148         * include/gnu_java_awt_peer_qt_QtGraphicsEnvironment.h,
22149         * include/gnu_java_awt_peer_qt_QtImage.h,
22150         * include/gnu_java_awt_peer_qt_QtLabelPeer.h,
22151         * include/gnu_java_awt_peer_qt_QtListPeer.h,
22152         * include/gnu_java_awt_peer_qt_QtMenuBarPeer.h,
22153         * include/gnu_java_awt_peer_qt_QtMenuComponentPeer.h,
22154         * include/gnu_java_awt_peer_qt_QtMenuItemPeer.h,
22155         * include/gnu_java_awt_peer_qt_QtMenuPeer.h,
22156         * include/gnu_java_awt_peer_qt_QtPanelPeer.h,
22157         * include/gnu_java_awt_peer_qt_QtPopupMenuPeer.h,
22158         * include/gnu_java_awt_peer_qt_QtScreenDevice.h,
22159         * include/gnu_java_awt_peer_qt_QtScrollPanePeer.h,
22160         * include/gnu_java_awt_peer_qt_QtScrollbarPeer.h,
22161         * include/gnu_java_awt_peer_qt_QtTextAreaPeer.h,
22162         * include/gnu_java_awt_peer_qt_QtTextFieldPeer.h,
22163         * include/gnu_java_awt_peer_qt_QtToolkit.h,
22164         * include/gnu_java_awt_peer_qt_QtVolatileImage.h,
22165         * include/gnu_java_awt_peer_qt_QtWindowPeer.h,
22166         * include/gnu_javax_sound_midi_alsa_AlsaMidiDeviceProvider.h,
22167         * include/gnu_javax_sound_midi_alsa_AlsaMidiSequencerDevice.h,
22168         * include/gnu_javax_sound_midi_alsa_AlsaPortDevice.h,
22169         * include/gnu_javax_sound_midi_dssi_DSSIMidiDeviceProvider.h,
22170         * include/gnu_javax_sound_midi_dssi_DSSISynthesizer.h,
22171         * include/gnu_xml_libxmlj_dom_GnomeAttr.h,
22172         * include/gnu_xml_libxmlj_dom_GnomeDocument.h,
22173         * include/gnu_xml_libxmlj_dom_GnomeDocumentBuilder.h,
22174         * include/gnu_xml_libxmlj_dom_GnomeDocumentType.h,
22175         * include/gnu_xml_libxmlj_dom_GnomeElement.h,
22176         * include/gnu_xml_libxmlj_dom_GnomeEntity.h,
22177         * include/gnu_xml_libxmlj_dom_GnomeNamedNodeMap.h,
22178         * include/gnu_xml_libxmlj_dom_GnomeNode.h,
22179         * include/gnu_xml_libxmlj_dom_GnomeNodeList.h,
22180         * include/gnu_xml_libxmlj_dom_GnomeNotation.h,
22181         * include/gnu_xml_libxmlj_dom_GnomeProcessingInstruction.h,
22182         * include/gnu_xml_libxmlj_dom_GnomeTypeInfo.h,
22183         * include/gnu_xml_libxmlj_dom_GnomeXPathExpression.h,
22184         * include/gnu_xml_libxmlj_dom_GnomeXPathNSResolver.h,
22185         * include/gnu_xml_libxmlj_dom_GnomeXPathNodeList.h,
22186         * include/gnu_xml_libxmlj_dom_GnomeXPathResult.h,
22187         * include/gnu_xml_libxmlj_sax_GnomeLocator.h,
22188         * include/gnu_xml_libxmlj_sax_GnomeXMLReader.h,
22189         * include/gnu_xml_libxmlj_transform_GnomeTransformer.h,
22190         * include/gnu_xml_libxmlj_transform_GnomeTransformerFactory.h,
22191         * include/java_lang_VMProcess.h,
22192         * include/java_lang_VMSystem.h:
22193         Regenerated with GCJ 4.1.
22194
22195 2006-04-22  Casey Marshall  <csm@gnu.org>
22196
22197         Fixes PR classpath/27228.
22198         * gnu/javax/crypto/jce/sig/DHKeyPairGeneratorSpi.java
22199         (initialize): also accept `DHParameterSpec.'
22200         * gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java (setup):
22201         handle a passed-in `DHParameterSpec' properly.
22202         (generate): don't check if the random exponent is less than `q -
22203         1' if no `q' was specified.
22204
22205 2006-04-22  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
22206
22207         * javax/swing/JTree.java (TreeSelectionRedirector.valueChanged):
22208         Only repaint the patches, speficied in the passed event.
22209         (expandPath): Do nothing if the path is already expanded.
22210         (scrollPathToVisible): Only scroll to visible, do nothing else.
22211         * javax/swing/plaf/basic/BasicTreeUI.java 
22212         (TreeExpansionHandler.treeColapsed): Revalidate and repaint.
22213         (TreeExpansionHandler.treeExpanded): Revalidate and repaint.
22214         (TreeTraverseAction.actionPerformed): Collapse the node on the
22215         action "selectParent". (selectPath): Rewritten.
22216         * javax/swing/tree/DefaultTreeSelectionModel.java (clearSelection):
22217         Fire change event. (notifyPathChange): Implemented. (setSelectionPath):
22218         Do not reuse selection array.
22219         * javax/swing/tree/FixedHeightLayoutCache.java (getRowForPath):
22220         Accept null.
22221         * javax/swing/tree/VariableHeightLayoutCache.java (getRowForPath):
22222         Accept null.
22223
22224 2006-04-22  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
22225
22226         * javax/swing/tree/DefaultTreeSelectionModel.java
22227         (addSelectionPath): If the path cannot be added, set it.
22228         (addSelectionPaths): Call insureRowContinuity.
22229         (arePathsContiguous): Implemented.
22230         (canPathBeAdded): New private method.
22231         (canPathsBeAdded): Implemented.
22232         (canPathsBeRemoved): Implemented.
22233         (getPath): New private method.
22234         (insureRowContinuity): Implemented.
22235         (removeSelectionPath): Call insureRowContinuity.
22236         (removeSelectionPaths): Call insureRowContinuity.
22237         (resetRowSelection): Removed stub marking, not used in implementation 
22238         (nothing to do there).
22239         (selectOne): New private method.
22240         (setSelectionMode) Call insureRowContinuity.
22241         (setSelectionPaths) Remove the current selection by clearing it.
22242
22243 2006-04-22  Carsten Neumann  <cn-develop@gmx.net>
22244
22245         * javax/sql/Array.java: Fixed eclipse API doc warnings, named method
22246         parameters consistendly, documented some methods.
22247         * java/sql/Blob.java: Likewise.
22248         * java/sql/CallableStatement.java: Likewise.
22249         * java/sql/Clob.java: Likewise.
22250         * java/sql/Connection.java: Likewise.
22251         * java/sql/DatabaseMetaData.java: Likewise.
22252         * java/sql/Date.java: Likewise.
22253         * java/sql/Driver.java: Likewise.
22254         * java/sql/PreparedStatement.java: Likewise.
22255         * java/sql/ResultSet.java: Likewise.
22256         * java/sql/ResultSetMetaData.java: Likewise.
22257         * java/sql/SQLData.java: Likewise.
22258         * java/sql/SQLOutput.java: Likewise.
22259         * java/sql/SQLWarning.java: Likewise.
22260         * java/sql/Statement.java: Likewise.
22261         * java/sql/Time.java: Likewise.
22262         * java/sql/Timestamp.java: Likewise.
22263
22264 2006-04-21  Jeroen Frijters  <jeroen@frijters.net>
22265
22266         * java/lang/reflect/AccessibleObject.java:
22267         Implemented AnnotatedElement.
22268         (getAnnotation, getAnnotations, getDeclaredAnnotations,
22269         isAnnotationPresent): New methods.
22270
22271 2006-04-21  Tom Tromey  <tromey@redhat.com>
22272
22273         PR classpath/27163:
22274         * gnu/java/net/protocol/ftp/FTPConnection.java
22275         (changeWorkingDirectory): Do nothing if path is empty.
22276
22277 2006-04-21  Tom Tromey  <tromey@redhat.com>
22278
22279         PR libgcj/27231:
22280         * gnu/java/net/protocol/http/HTTPURLConnection.java (connect): Handle
22281         case where no '/' appears in 'location'.
22282
22283 2006-04-21  Tom Tromey  <tromey@redhat.com>
22284
22285         * java/security/Security.java (<clinit>): Add all default providers.
22286         * resource/java/security/classpath.security: Added comment.
22287
22288 2006-04-21  David Gilbert  <david.gilbert@object-refinery.com>
22289
22290         * javax/swing/SpinnerDateModel.java: Updated API docs all over,
22291         * javax/swing/SpinnerNumberModel.java: Likewise.
22292
22293 2006-04-21  David Gilbert  <david.gilbert@object-refinery.com>
22294
22295         * javax/swing/SpinnerDateModel.java
22296         (SpinnerDateModel(Date, Comparable, Comparable, int)): Fix argument
22297         checking to call compareTo() on start and end.
22298
22299 2006-04-21  David Gilbert  <david.gilbert@object-refinery.com>
22300
22301         * javax/swing/border/AbstractBorder.java: API doc updates,
22302         * javax/swing/border/BevelBorder.java: Likewise,
22303         * javax/swing/border/CompoundBorder.java: Likewise,
22304         * javax/swing/border/EtchedBorder.java: Likewise,
22305         * javax/swing/border/LineBorder.java: Likewise,
22306         * javax/swing/border/MatteBorder.java: Likewise,
22307         * javax/swing/border/TitledBorder.java: Likewise.
22308
22309 2006-04-21  David Gilbert  <david.gilbert@object-refinery.com>
22310
22311         * gnu/javax/crypto/cipher/Anubis.java:
22312         (selfTest): Use Boolean.valueOf() to avoid creating a new Boolean
22313         instance,
22314         * gnu/javax/crypto/cipher/Blowfish.java:
22315         (selfTest): Likewise,
22316         * gnu/javax/crypto/cipher/Cast5.java:
22317         (selfTest): Likewise,
22318         * gnu/javax/crypto/cipher/Khazad.java:
22319         (selfTest): Likewise,
22320         * gnu/javax/crypto/cipher/Rijndael.java:
22321         (selfTest): Likewise,
22322         * gnu/javax/crypto/cipher/Serpent.java:
22323         (selfTest): Likewise,
22324         * gnu/javax/crypto/cipher/Square.java:
22325         (selfTest): Likewise,
22326         * gnu/javax/crypto/cipher/Twofish.java:
22327         (selfTest): Likewise,
22328         * gnu/javax/crypto/mac/UMac32.java:
22329         (selfTest): Likewise,
22330         * gnu/javax/crypto/prng/CSPRNG.java:
22331         (getSystemInstance): Likewise.
22332
22333 2006-04-21  David Gilbert  <david.gilbert@object-refinery.com>
22334
22335         * gnu/java/security/hash/Haval.java:
22336         (selfTest): Use Boolean.valueOf() to avoid creating new Boolean 
22337         instance,
22338         * gnu/java/security/hash/MD2.java:
22339         (selfTest): Likewise,
22340         * gnu/java/security/hash/MD4.java:
22341         (selfTest): Likewise,
22342         * gnu/java/security/hash/MD5.java:
22343         (selfTest): Likewise,
22344         * gnu/java/security/hash/RipeMD128.java:
22345         (selfTest): Likewise,
22346         * gnu/java/security/hash/RipeMD160.java:
22347         (selfTest): Likewise,
22348         * gnu/java/security/hash/Sha160.java:
22349         (selfTest): Likewise,
22350         * gnu/java/security/hash/Sha256.java:
22351         (selfTest): Likewise,
22352         * gnu/java/security/hash/Sha384.java:
22353         (selfTest): Likewise,
22354         * gnu/java/security/hash/Sha512.java:
22355         (selfTest): Likewise,
22356         * gnu/java/security/hash/Tiger.java:
22357         (selfTest): Likewise,
22358         * gnu/java/security/hash/Whirlpool.java:
22359         (selfTest): Likewise.
22360
22361 2006-04-21  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
22362
22363         * javax/swing/plaf/basic/BasicTreeUI.java 
22364         (PropertyChangeHandler.propertyChange): Set the row mapper
22365         for the selection model.
22366         * javax/swing/tree/AbstractLayoutCache.java 
22367         (NodeDimensions.getNodeDimensions): Explained.
22368         (getPreferredHeight, getPreferredWidth, isFixedRowHeight):
22369         Implemented. (setRowHeight): Invalidate sizes. 
22370         * javax/swing/tree/DefaultTreeSelectionModel.java
22371         (addSelectionPath, addSelectionPaths): Update lead row.
22372         (removeSelectionPath, removeSelectionPaths): Do nothing if
22373         selection is empty.
22374         (clone): Only clone list selection model if it is not null.
22375         (getRow): New method. (isRowSelected, getLeadSelectionRow, 
22376         setSelectionPath, setSelectionPaths, toString): Implemented.
22377         * javax/swing/tree/FixedHeightLayoutCache.java (NodeRecord.getBounds):
22378         Pass the empty rectangle. (isFixedRowHeight): New method.
22379         * javax/swing/tree/VariableHeightLayoutCache.java
22380         (NodeRecord.getBounds): Pass the empty rectangle.
22381         
22382 2006-04-21  David Gilbert  <david.gilbert@object-refinery.com>
22383
22384         * gnu/java/security/Properties.java
22385         (init): Use Boolean.valueOf() to avoid creating new Boolean instances.
22386
22387 2006-04-21  David Gilbert  <david.gilbert@object-refinery.com>
22388
22389         * gnu/classpath/jdwp/util/Value.java
22390         (getUntaggedObj(ByteBuffer, Class)): Use Boolean.valueOf() to avoid 
22391         creating new Boolean instances.
22392
22393 2006-04-20  Mark Wielaard  <mark@klomp.org>
22394
22395         * java/awt/Toolkit.java (getDefaultToolkit): Get classloader in
22396         PrivilegedAction. Access awt.toolkit through SystemProperties.
22397
22398 2006-04-20  David Gilbert  <david.gilbert@object-refinery.com>
22399
22400         * javax/swing/ActionMap.java: Removed unused imports,
22401         * javax/swing/DefaultListSelectionModel.java
22402         (clearSelection): Removed unused label,
22403         * javax/swing/JScrollPane.java: Removed unused imports,
22404         * javax/swing/UIManager.java: Likewise,
22405         * javax/swing/table/DefaultTableCellRenderer.java: Likewise.
22406
22407 2006-04-20  David Gilbert  <david.gilbert@object-refinery.com>
22408
22409         * javax/swing/plaf/basic/BasicSpinnerUI.java: Removed unused imports,
22410         * javax/swing/plaf/basic/BasicTextAreaUI.java: Likewise,
22411         * javax/swing/plaf/basic/BasicTextFieldUI.java: Likewise,
22412         * javax/swing/plaf/basic/BasicTextUI.java: Likewise,
22413         * javax/swing/plaf/basic/BasicTreeUI.java: Likewise.
22414
22415 2006-04-20  David Gilbert  <david.gilbert@object-refinery.com>
22416
22417         * java/sql/Array.java: Fixed Eclipse API doc warnings,
22418         * java/sql/Blob.java: Likewise,
22419         * java/sql/CallableStatement.java: Likewise,
22420         * java/sql/Clob.java: Likewise,
22421         * java/sql/Connection.java: Likewise,
22422         * java/sql/DatabaseMetaData.java: Likewise,
22423         * java/sql/Date.java: Likewise,
22424         * java/sql/Driver.java: Likewise,
22425         * java/sql/PreparedStatement.java: Likewise,
22426         * java/sql/ResultSet.java: Likewise,
22427         * java/sql/ResultSetMetaData.java: Likewise,
22428         * java/sql/SQLData.java: Likewise,
22429         * java/sql/SQLOutput.java: Likewise,
22430         * java/sql/SQLWarning.java: Likewise,
22431         * java/sql/Statement.java: Likewise,
22432         * java/sql/Time.java: Likewise,
22433         * java/sql/Timestamp.java: Likewise.
22434
22435 2006-04-20  David Gilbert  <david.gilbert@object-refinery.com>
22436
22437         * java/sql/DriverManager.java
22438         (setLoginTimeout): Use incoming argument,
22439         (setLogStream): Likewise,
22440         (println): Fix API doc comment.
22441
22442 2006-04-20  David Gilbert  <david.gilbert@object-refinery.com>
22443
22444         * javax/swing/JMenuItem.java
22445         (paramString): Updated API docs,
22446         (getAccessibleContext): Added API docs,
22447         (AccessibleJMenuItem.stateChanged): Marked as stub,
22448         (AccessibleJMenuItem.getAccessibleRole): Added API docs,
22449         * javax/swing/JSlider.java
22450         (paramString): Fix for API docs,
22451         * javax/swing/JToolTip.java
22452         (getAccessibleContext): Fix for API docs.
22453
22454 2006-04-20  David Gilbert  <david.gilbert@object-refinery.com>
22455
22456         * javax/swing/JRadioButtonMenuItem.java
22457         (paramString): Reimplemented,
22458         (getAccessibleContext): API docs added,
22459         (AccessibleJRadioButtonMenuItem.AccessibleJRadioButtonMenuItem()): 
22460         Likewise,
22461         (AccessibleJRadioButtonMenuItem.getAccessibleRole): Likewise.
22462
22463 2006-04-20  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
22464
22465         * javax/swing/plaf/basic/BasicTreeUI.java
22466         (finish): Invalidate path bounds.
22467         (getMaxHeight): Set the row height to the layout cache.
22468         (startEditing): Do not request to recalculated 
22469         row height and preferred size.
22470         * javax/swing/tree/DefaultTreeCellEditor.java
22471         (ICON_TEXT_GAP, ICON_TREE_GAP): Removed, replacing
22472         with 0.
22473         * javax/swing/tree/FixedHeightLayoutCache.java:
22474         Rewritten.
22475
22476 2006-04-20  David Gilbert  <david.gilbert@object-refinery.com>
22477
22478         * javax/swing/JDesktopPane.java
22479         (paramString): Reimplemented,
22480         plus API doc updates in AccessibleJDesktopPane.
22481
22482 2006-04-20  David Gilbert  <david.gilbert@object-refinery.com>
22483
22484         * javax/swing/ImageIcon.java:
22485         (AccessibleImageIcon.getAccessibleStateSet): Return null always,
22486         (AccessibleImageIcon.getLocale): Declared exception and always return 
22487         null,
22488         (getAccessibleContext): Updated API docs,
22489         plus updated API docs all over AccessibleImageIcon.
22490
22491 2006-04-20  Roman Kennke  <kennke@aicas.com>
22492
22493         PR 27196
22494         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
22495         (paintText): Fetch the ascent only once. Add the ascent to
22496         the text rect also when tabs are disabled.
22497
22498 2006-04-20  Christian Thalinger  <twisti@complang.tuwien.ac.at>
22499
22500         * java/util/Locale.java (defaultLocale): Set to en_US per
22501         default and use user.country but prioritize user.region if
22502         defined.
22503         (getLocale(String language, String country)): Renamed region to
22504         country.
22505         (getLocale(String language, String region, String variant)):
22506         Likewise.
22507         (getAvailableLocales): Likewise.
22508
22509 2006-04-20  Roman Kennke  <kennke@aicas.com>
22510
22511         PR 27222
22512         * javax/swing/JList.java
22513         (JList()): Call init() with DefaultListModel instance.
22514         (JList(Object[])): Call init() with null.
22515         (JList(Vector)): Call init() with null.
22516         (JList(ListModel)): Call init() with model.
22517         (init): Changed to take the model as argument. Don't call
22518         setter methods and initialize stuff directly instead.
22519         (getCellBounds): Check if UI is null.
22520
22521 2006-04-20  Robert Schuster  <robertschuster@fsfe.org>
22522
22523         * javax/swing/text/WrappedPlainView.java: Initialize
22524         WrappedLine.numLines with -1.
22525         (WrappedPlainView.WrappedLine.getPreferredSpan): Check whether
22526         numLines is -1 and reculcalate the value appropriately.
22527         (WrappedPlainView.WrappedLine.updateDamage): Set numLines to -1 if
22528         allocation area is empty.
22529
22530 2006-04-20  David Gilbert  <david.gilbert@object-refinery.com>
22531
22532         * javax/swing/JTabbedPane.java
22533         (AccessibleJTabbedPane.stateChanged): Marked as stub,
22534         (AccessibleJTabbedPane.getAccessibleRole): Likewise,
22535         (AccessibleJTabbedPane.getAccessibleChildrenCount): Likewise,
22536         (AccessibleJTabbedPane.getAccessibleSelection): Likewise,
22537         (AccessibleJTabbedPane.getAccessibleAt): Likewise,
22538         (AccessibleJTabbedPane.getAccessibleSelectionCount): Likewise,
22539         (AccessibleJTabbedPane.getAccessibleSelection(int)): Likewise,
22540         (AccessibleJTabbedPane.isAccessibleChildSelected): Likewise,
22541         (AccessibleJTabbedPane.addAccessibleSelection): Likewise,
22542         (AccessibleJTabbedPane.removeAccessibleSelection): Likewise,
22543         (AccessibleJTabbedPane.clearAccessibleSelection): Likewise,
22544         (AccessibleJTabbedPane.selectAllAccessibleSelection): Likewise,
22545         (Page.getAccessibleStateSet): Likewise,
22546         (Page.getAccessibleIndexInParent): Likewise.
22547
22548 2006-04-19  David Gilbert  <david.gilbert@object-refinery.com>
22549
22550         * javax/swing/JProgressBar.java
22551         (paramString): Reimplemented.
22552
22553 2006-04-19  David Gilbert  <david.gilbert@object-refinery.com>
22554
22555         * javax/swing/JButton.java: Updated API docs all over.
22556
22557 2006-04-19  Roman Kennke  <kennke@aicas.com>
22558
22559         * java/awt/Toolkit.java
22560         (getDefaultToolkit): Use system classloader to load the
22561         toolkit.
22562
22563 2006-04-19  Robert Schuster  <robertschuster@fsfe.org>
22564
22565         * javax/swing/text/DefaultCaret.java:
22566         (DefaultCaret.Bypass.setDot): Call DefaultCaret.setDotImpl
22567         instead of DefaultCaret.setDot.
22568
22569 2006-04-19  Roman Kennke  <kennke@aicas.com>
22570
22571         * native/jni/java-net/local.c
22572         (local_read): Handle EINTR correctly.
22573         (local_write): Likewise.
22574
22575 2006-04-19  Riccardo Mottola  <multix@gmail.com>
22576
22577         PR classpath/27062, PR classpath/25650:
22578         * native/fdlibm/ieeefp.h: Check for _POWER and _IBMR2.
22579
22580 2006-04-19  Tom Tromey  <tromey@redhat.com>
22581
22582         * java/text/SimpleDateFormat.java (formatWithAttribute): Take absolute
22583         value of 'pureMinutes'.  PR classpath/27189.
22584
22585 2006-04-19  Olivier Jolly  <olivier.jolly@pcedev.com>
22586
22587    * vm/reference/java/lang/VMClassLoader.java (getBootPackages): Loads
22588    boot packages list from the META-INF/INDEX.LIST file if it exists. 
22589
22590 2006-04-19  Raif S. Naffah  <raif@swiftdsl.com.au>
22591
22592         Suggested by Stephen White <stephen-gnu-crypto@randomstuff.org.uk>
22593         * gnu/javax/crypto/prng/IPBE.java: Updated documentation.
22594         (ITERATION_COUNT): Removed modifiers.
22595         (PASSWORD): Likewise.
22596         (SALT): Likewise.
22597         (PASSWORD_ENCODING): New property.
22598         (DEFAULT_PASSWORD_ENCODING): New constant.
22599         * gnu/javax/crypto/prng/PBKDF2.java (setup): Check for MAC's raw key
22600         material (bytes) before a password (chars).
22601
22602 2006-04-19  David Gilbert  <david.gilbert@object-refinery.com>
22603
22604         * javax/swing/JMenu.java
22605         (getAccessibleChildrenCount): Marked as stub,
22606         (getAccessibleChild): Likewise,
22607         (getAccessibleSelection): Likewise,
22608         (getAccessibleSelection(int)): Likewise,
22609         (isAccessibleChildSelected): Likewise,
22610         (getAccessibleSelectionCount): Likewise,
22611         (addAccessibleSelection): Likewise,
22612         (removeAccessibleSelection): Likewise,
22613         (clearAccessibleSelection): Likewise,
22614         (selectAllAccessibleSelection): Likewise.
22615
22616 2006-04-19  David Gilbert  <david.gilbert@object-refinery.com>
22617
22618         * javax/swing/JSplitPane.java
22619         (getAccessibleContext): Added API docs,
22620         (paramString): Reimplemented,
22621         (setOrientation): Updated API docs,
22622         (setResizeWeight): Added argument checking and event notification.
22623
22624 2006-04-18  Casey Marshall  <csm@gnu.org>
22625
22626         Fixes PR classpath/25673        
22627         * java/security/KeyStore.java (getDefaultType): return "gkr" if no
22628         property is set. Update JavaDoc to reflect this.
22629
22630 2006-04-18  Lillian Angel  <langel@redhat.com>
22631
22632         * gnu/xml/dom/DomDocument.java
22633         (setCheckingCharacters): New function used to set
22634         checkingCharacters flag.
22635         * gnu/xml/dom/html2/DomHTMLParser.java
22636         (parseDocument): Added call to set checkingCharacters flag
22637         to false.
22638
22639 2006-04-18  Lillian Angel  <langel@redhat.com>
22640
22641         * gnu/xml/dom/DomDocument.java
22642         (checkNCName): Reverted last patch. Added check for colon at
22643         last position back in.
22644
22645 2006-04-18  Robert Schuster  <robertschuster@fsfe.org>
22646
22647         * examples/gnu/classpath/examples/swing/NavigationFilterDemo.java:
22648         New file.
22649         * examples/gnu/classpath/examples/swing/Demo.java:
22650         (mkMenuBar): Added NavigationFilter demo.
22651
22652 2006-04-18  David Gilbert  <david.gilbert@object-refinery.com>
22653
22654         * javax/swing/JSeparator.java: Updated API docs all over, plus
22655         (setOrientation): Fire PropertyChangeEvent,
22656         (paramString): Reimplemented.
22657
22658 2006-04-18  Robert Schuster  <robertschuster@fsfe.org>
22659
22660         * javax/swing/plaf/basic/BasicTextUI.java:
22661         (getNextVisualPositionFrom): Implemented.
22662
22663 2006-04-18  David Gilbert  <david.gilbert@object-refinery.com>
22664
22665         * javax/swing/JPanel.java: Updated API docs all over, plus
22666         (JPanel(LayoutManager, boolean)): Pass on null layout, set 
22667         double-buffer flag.
22668
22669 2006-04-18  Robert Schuster  <robertschuster@fsfe.org>
22670
22671         * examples/gnu/classpath/examples/swing/DocumentFilterDemo.java:
22672         New file.
22673         * examples/gnu/classpath/examples/swing/Demo.java:
22674         (mkMenuBar): Added DocumenFilter demo.
22675
22676 2006-04-18  Tom Tromey  <tromey@redhat.com>
22677
22678         * doc/www.gnu.org/include/layout.wml: Add FMJ.
22679
22680 2006-04-18  Mark Wielaard  <mark@klomp.org>
22681
22682         Reported by John Sullivan (johns@fsf.org)
22683         * doc/www.gnu.org/stories.wml: Update JikesRVM location.
22684
22685 2006-04-18  David Gilbert  <david.gilbert@object-refinery.com>
22686
22687         * javax/swing/JInternalFrame.java
22688         (JDesktopIcon.getAccessibleContext): Added API docs,
22689         (getDefaultCloseOperation): Likewise,
22690         (paramString): Added 'title' attribute,
22691         (setDefaultCloseOperation): Added API docs.
22692
22693 2006-04-18  David Gilbert  <david.gilbert@object-refinery.com>
22694
22695         * javax/swing/JSlider.java
22696         (paramString): Reimplemented.
22697
22698 2006-04-18  David Gilbert  <david.gilbert@object-refinery.com>
22699
22700         * javax/swing/JComboBox.java
22701         (paramString): Reimplemented,
22702         (getAccessibleContext): Added API docs,
22703         (AccessibleJComboBox.getAccessibleRole): Likewise.
22704
22705 2006-04-18  Roman Kennke  <kennke@aicas.com>
22706
22707         * javax/swing/RepaintManager.java
22708         (dirtyComponentsWork): New field.
22709         (ComponentComparator): Use dirtyComponentsWork instead of
22710         dirtyComponents.
22711         (RepaintManager): Initialize new field.
22712         (paintDirtyRegions): Swap dirtyComponents with dirtyComponentsWork
22713         and work on the copy.
22714
22715 2006-04-18  Roman Kennke  <kennke@aicas.com>
22716
22717         * gnu/java/awt/peer/swing/SwingComponentPeer.java
22718         (setBounds): Call reshape().
22719         * gnu/java/awt/peer/swing/SwingContainerPeer.java
22720         (SwingContainerPeer): Changed argument to be a Component
22721         instead a Container.
22722         (getInsets): Call insets().
22723         (handleMouseEvent): Added null check to avoid NPE.
22724         (handleMouseMotionEvent): Added null check to avoid NPE.
22725         
22726 2006-04-18  Roman Kennke  <kennke@aicas.com>
22727
22728         PR 27185
22729         * javax/swing/JComponent.java
22730         (paintChildrenWithOverlap): When one child is not opaque, propagate
22731         the dirty rectangles to the next child.
22732         (paintChildrenOptimized): Removed unnecessary 'optimization'.
22733         This actually didn't work right and probably gained nothing.
22734
22735 2006-04-18  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
22736
22737         * javax/swing/JTable.java (getCallRect): Do not cache rectangles.
22738         (moveToCellBeingEdited): Do not clone the rectangle here.
22739
22740 2006-04-18  David Gilbert  <david.gilbert@object-refinery.com>
22741
22742         * javax/swing/plaf/basic/BasicSliderUI.java
22743         (getActionMap): Fixed lookup key,
22744         (createActionMap): Modified actions to fetch slider/ui from the event
22745         source.
22746
22747 2006-04-17  Andrew John Hughes  <gnu_andrew@member.fsf.org>
22748
22749         * java/lang/Enum.java: Documented.
22750
22751 2006-04-17  Andrew John Hughes  <gnu_andrew@member.fsf.org>
22752
22753         * gnu/java/lang/InstrumentationImpl.java:
22754         Moved from java.lang.
22755         * java/lang/InstrumentationImpl.java:
22756         Removed.
22757         * vm/reference/gnu/java/lang/VMInstrumentationImpl.java:
22758         Moved from java.lang.
22759         * vm/reference/java/lang/VMClassLoader.java:
22760         Corrected reference to InstrumentationImpl.
22761         * vm/reference/java/lang/VMInstrumentationImpl.java:
22762         Removed.
22763         
22764 2006-04-17  Andrew John Hughes  <gnu_andrew@member.fsf.org>
22765
22766         * java/lang/annotation/Annotation.java:
22767         Documented.
22768         
22769 2006-04-17  David Gilbert  <david.gilbert@object-refinery.com>
22770
22771         * javax/swing/JToolBar.java
22772         (AccessibleJToolBar.AccessibleJToolBar()): Updated API docs,
22773         (AccessibleJToolBar.getAccessibleStateSet): Implemented,
22774         (AccessibleJToolBar.getAccessibleRole): Updated API docs,
22775         (getAccessibleContext): Likewise.
22776
22777 2006-04-17  Dalibor Topic  <robilad@kaffe.org>
22778
22779         * configure.ac:
22780         Added CLASSPATH_CONVENIENCE substitution for convenience library LDFLAGS.
22781
22782         * native/fdlibm/Makefile.am,
22783         native/jni/classpath/Makefile.am:
22784         Don't use -module and -version-info for convenience libraries LDFLAGS.
22785         Fixes libtool warnings.
22786
22787 2006-04-17  David Gilbert  <david.gilbert@object-refinery.com>
22788
22789         * javax/swing/plaf/basic/BasicComboBoxUI.java:
22790         (installKeyboardActions): Marked as stub,
22791         (uninstallKeyboardActions): Likewise,
22792         * javax/swing/plaf/basic/BasicComboPopup.java:
22793         (installKeyboardActions): Marked as stub,
22794         (uninstallKeyboardActions): Likewise,
22795         * javax/swing/plaf/basic/BasicInternalFrameUI.java:
22796         (installKeyboardActions): Marked as stub,
22797         (uninstallKeyboardActions): Likewise,
22798         * javax/swing/plaf/basic/BasicLabelUI.java:
22799         (installKeyboardActions): Marked as stub,
22800         (uninstallKeyboardActions): Likewise,
22801         * javax/swing/plaf/basic/BasicListUI.java:
22802         (installKeyboardActions): Marked as stub,
22803         (uninstallKeyboardActions): Likewise,
22804         * javax/swing/plaf/basic/BasicMenuBarUI.java:
22805         (installKeyboardActions): Marked as stub,
22806         (uninstallKeyboardActions): Likewise,
22807         * javax/swing/plaf/basic/BasicMenuUI.java:
22808         (installKeyboardActions): Marked as stub,
22809         (uninstallKeyboardActions): Likewise,
22810         * javax/swing/plaf/basic/BasicOptionPaneUI.java:
22811         (installKeyboardActions): Marked as stub,
22812         (uninstallKeyboardActions): Likewise,
22813         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
22814         (installKeyboardActions): Marked as stub,
22815         (uninstallKeyboardActions): Likewise,
22816         * javax/swing/plaf/basic/BasicScrollBarUI.java:
22817         (installKeyboardActions): Marked as stub,
22818         (uninstallKeyboardActions): Likewise,
22819         * javax/swing/plaf/basic/BasicScrollPaneUI.java:
22820         (installKeyboardActions): Marked as stub,
22821         (uninstallKeyboardActions): Likewise,
22822         * javax/swing/plaf/basic/BasicSplitPaneUI.java:
22823         (installKeyboardActions): Marked as stub,
22824         (uninstallKeyboardActions): Likewise,
22825         * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
22826         (installKeyboardActions): Marked as stub,
22827         (uninstallKeyboardActions): Likewise,
22828         * javax/swing/plaf/basic/BasicTableHeaderUI.java:
22829         (installKeyboardActions): Marked as stub,
22830         (uninstallKeyboardActions): Likewise,
22831         * javax/swing/plaf/basic/BasicTableUI.java:
22832         (installKeyboardActions): Marked as stub,
22833         (uninstallKeyboardActions): Likewise,
22834         * javax/swing/plaf/basic/BasicTextUI.java:
22835         (installKeyboardActions): Marked as stub,
22836         (uninstallKeyboardActions): Likewise,
22837         * javax/swing/plaf/basic/BasicToolBarUI.java:
22838         (installKeyboardActions): Marked as stub,
22839         (uninstallKeyboardActions): Likewise.   
22840
22841 2006-04-17  David Gilbert  <david.gilbert@object-refinery.com>
22842
22843         * javax/swing/plaf/basic/BasicSliderUI.java
22844         (installKeyboardActions): Implemented,
22845         (uninstallKeyboardActions): Implemented,
22846         (scrollByBlock): Accept any value for direction,
22847         (scrollByUnit): Likewise,
22848         (getInputMap): New method,
22849         (getActionMap): New method,
22850         (createActionMap): New method.
22851
22852
22853 2006-04-16  Andrew John Hughes  <gnu_andrew@member.fsf.org>
22854         
22855         * doc/vmintegration.texinfo:
22856         Fix sectioning.
22857
22858 2006-04-16  Tom Tromey  <tromey@redhat.com>
22859
22860         * native/jni/java-net/Makefile.am (AM_CFLAGS): Removed --save-temps.
22861
22862 2006-04-16  Andrew John Hughes  <gnu_andrew@member.fsf.org>
22863
22864         * NEWS:
22865         Mention generics additions to the VM interface.
22866         * doc/vmintegration.texinfo:
22867         Added information on VMClass 1.5 additions and
22868         VMSecureRandom.
22869         
22870 2006-04-16  Casey Marshall  <csm@gnu.org>
22871
22872         * NEWS: add an entry mentioning local socket support.
22873
22874 2006-04-16  Casey Marshall  <csm@gnu.org>
22875
22876         * configure.ac (--enable-local-sockets): new enable argument.
22877         (ENABLE_LOCAL_SOCKETS): new define.
22878         * native/jni/java-net/Makefile.am (local_sources): new variable.
22879         (lib_javanet_la_SOURCES): append `local_sources.'
22880         * native/jni/java-net/gnu_java_net_local_LocalSocketImpl.c,
22881         * native/jni/java-net/local.c,
22882         * native/jni/java-net/local.h,
22883         * include/gnu_java_net_local_LocalSocketImpl.h,
22884         * gnu/java/net/local/LocalServerSocket.java,
22885         * gnu/java/net/local/LocalSocket.java,
22886         * gnu/java/net/local/LocalSocketAddress.java,
22887         * gnu/java/net/local/LocalSocketImpl.java: new files.
22888
22889 2006-04-15  Andrew John Hughes  <gnu_andrew@member.fsf.org>
22890
22891         * javax/accessibility/AccessibleAction.java:
22892         (DECREMENT): Added field.
22893         (INCREMENT): Likewise.
22894         (TOGGLE_EXPAND): Likewise.
22895         * javax/accessibility/AccessibleRole.java:
22896         (EDITBAR): Added field.
22897         (FOOTER): Likewise.
22898         (HEADER): Likewise.
22899         (PARAGRAPH): Likewise.
22900         (PROGRESS_MONITOR): Likewise.
22901         (RULER): Likewise.
22902         * javax/accessibility/AccessibleState.java:
22903         (INDETERMINATE): Added field.
22904         (MANAGES_DESCENDANTS): Likewise.
22905         (TRUNCATED): Likewise.
22906
22907 2006-04-14  Tom Tromey  <tromey@redhat.com>
22908
22909         * javax/swing/tree/DefaultTreeSelectionModel.java (getListeners):
22910         Genericized.
22911         * javax/swing/tree/AbstractLayoutCache.java (getVisiblePathsFrom):
22912         Genericized.
22913
22914 2006-04-14  Robert Schuster  <robertschuster@fsfe.org>
22915
22916         * javax/swing/text/DefaultCaret.java:
22917         (getBypass): New method.
22918         (moveDot): Rewritten.
22919         (moveDotImpl): New method.
22920         (setDot): Rewritten.
22921         (setDotImpl): New method.
22922         (DefaultCaret.Bypass): New class.
22923
22924 2006-04-14  Robert Schuster  <robertschuster@fsfe.org>
22925
22926         * javax/swing/text/AbstractDocument.java:
22927         (getBypass): New method.
22928         (insertString): Rewritten.
22929         (remove): Rewritten.
22930         (replace): Rewritten.
22931         (insertStringImpl): New method.
22932         (removeImpl): New method.
22933         (replaceImpl): New method.
22934         (AbstractDocument.Bypass): New class.
22935
22936 2006-04-14  Casey Marshall  <csm@gnu.org>
22937
22938         Fixes PR classpath/24642
22939         * NEWS: add note about SecureRandom changes, and addition of
22940         VMSecureRandom.
22941         * java/security/SecureRandom.java (isSeeded): new field.
22942         (setSeed, setSeed): set `isSeeded' to `true.'
22943         (nextBytes): seed this instance if `isSeeded' is false.
22944         (getSeed): call `generateSeed.'
22945         (SECURERANDOM_SOURCE, JAVA_SECURITY_EGD, logger): new constants.
22946         (generateSeed, generateSeed): new methods.
22947         * vm/reference/java/security/VMSecureRandom.java: new file.
22948
22949 2006-04-14  Robert Schuster  <robertschuster@fsfe.org>
22950
22951         * javax/swing/text/FieldView.java:
22952         (paint): Apply clipping rectangle of the allocation area
22953         before painting the text.
22954         * javax/swing/text/DefaultHighlighter.java:
22955         (DefaultHighlighter.DefaultHighlightPainter): Use SwingUtilities to
22956         compute union and intersection, calculate intersection with allocation
22957         area before painting, adjust x and width when painting multiple lines
22958         by the range of the allocation area.
22959
22960 2006-04-14  Robert Schuster  <robertschuster@fsfe.org>
22961
22962         * javax/swing/text/DefaultHighlighter.java:
22963         (paintLayeredHighlights): Marked as stub.
22964
22965 2006-04-14  Robert Schuster  <robertschuster@fsfe.org>
22966
22967         * javax/swing/plaf/basic/BasicTextFieldUI.java:
22968         (propertyChanged): Added note, change color only if current background
22969         is a ColorUIResource instance.
22970
22971 2006-04-14  Tom Tromey  <tromey@redhat.com>
22972
22973         * java/beans/beancontext/BeanContextSupport.java (hasNext): No longer
22974         a stub.
22975         (next): Likewise.
22976
22977 2006-04-14  Tom Tromey  <tromey@redhat.com>
22978
22979         * javax/swing/JComboBox.java (AccessibleJComboBox): Now public.
22980
22981 2006-04-14  Mark Wielaard  <mark@klomp.org>
22982
22983         * java/lang/Thread.java (getUncaughtExceptionHandler): Return
22984         thread group when exceptionHandler isn't set.
22985         * vm/reference/java/lang/VMThread.java (run): Use result of
22986         thread.getUncaughtExceptionHandler directly.
22987
22988 2006-04-14  David Gilbert  <david.gilbert@object-refinery.com>
22989
22990         * javax/swing/JSplitPane.java
22991         (AccessibleJSplitPane.getAccessibleStateSet): Implemented,
22992         (AccessibleJSplitPane.getAccessibleRole): Implemented,
22993         (AccessibleJSplitPane.getAccessibleValue): Implemented,
22994         (AccessibleJSplitPane.getCurrentAccessibleValue): Implemented,
22995         (AccessibleJSplitPane.setCurrentAccessibleValue): Implemented,
22996         (AccessibleJSplitPane.getMinimumAccessibleValue): Implemented,
22997         (AccessibleJSplitPane.getMaximumAccessibleValue): Implemented.
22998
22999 2006-04-10  Tom Tromey  <tromey@redhat.com>
23000
23001         * javax/imageio/metadata/IIOMetadataFormatImpl.java (addObjectValue):
23002         Fixed parameter bounds.
23003
23004 2006-04-13  Andrew John Hughes  <gnu_andrew@member.fsf.org>
23005         
23006         * gnu/javax/crypto/assembly/Assembly.java,
23007         * gnu/javax/crypto/assembly/Cascade.java,
23008         * gnu/javax/crypto/assembly/CascadeStage.java,
23009         * gnu/javax/crypto/assembly/CascadeTransformer.java,
23010         * gnu/javax/crypto/assembly/Direction.java,
23011         * gnu/javax/crypto/assembly/LoopbackTransformer.java,
23012         * gnu/javax/crypto/assembly/ModeStage.java,
23013         * gnu/javax/crypto/assembly/Operation.java,
23014         * gnu/javax/crypto/assembly/PaddingTransformer.java,
23015         * gnu/javax/crypto/assembly/Stage.java,
23016         * gnu/javax/crypto/assembly/Transformer.java,
23017         * gnu/javax/crypto/cipher/Square.java,
23018         * gnu/javax/crypto/jce/cipher/AESSpi.java,
23019         * gnu/javax/crypto/jce/cipher/ARCFourSpi.java,
23020         * gnu/javax/crypto/jce/cipher/AnubisSpi.java,
23021         * gnu/javax/crypto/jce/cipher/BlowfishSpi.java,
23022         * gnu/javax/crypto/jce/cipher/CipherAdapter.java,
23023         * gnu/javax/crypto/jce/cipher/DESSpi.java,
23024         * gnu/javax/crypto/jce/cipher/KhazadSpi.java,
23025         * gnu/javax/crypto/jce/cipher/NullCipherSpi.java,
23026         * gnu/javax/crypto/jce/cipher/PBES2.java,
23027         * gnu/javax/crypto/jce/cipher/RijndaelSpi.java,
23028         * gnu/javax/crypto/jce/cipher/SerpentSpi.java,
23029         * gnu/javax/crypto/jce/cipher/SquareSpi.java,
23030         * gnu/javax/crypto/jce/cipher/TripleDESSpi.java,
23031         * gnu/javax/crypto/jce/cipher/TwofishSpi.java,
23032         * gnu/javax/crypto/jce/mac/HMacMD2Spi.java,
23033         * gnu/javax/crypto/jce/mac/HMacMD4Spi.java,
23034         * gnu/javax/crypto/jce/mac/HMacMD5Spi.java,
23035         * gnu/javax/crypto/jce/mac/HMacRipeMD128Spi.java,
23036         * gnu/javax/crypto/jce/mac/HMacRipeMD160Spi.java,
23037         * gnu/javax/crypto/jce/mac/HMacSHA160Spi.java,
23038         * gnu/javax/crypto/jce/mac/HMacSHA256Spi.java,
23039         * gnu/javax/crypto/jce/mac/HMacSHA384Spi.java,
23040         * gnu/javax/crypto/jce/mac/HMacSHA512Spi.java,
23041         * gnu/javax/crypto/jce/mac/HMacTigerSpi.java,
23042         * gnu/javax/crypto/jce/mac/HMacWhirlpoolSpi.java,
23043         * gnu/javax/crypto/jce/mac/MacAdapter.java,
23044         * gnu/javax/crypto/jce/mac/TMMH16Spi.java,
23045         * gnu/javax/crypto/jce/mac/UHash32Spi.java,
23046         * gnu/javax/crypto/jce/mac/UMac32Spi.java,
23047         * gnu/javax/crypto/key/dh/DiffieHellmanSender.java,
23048         * gnu/javax/crypto/key/srp6/SRP6TLSServer.java,
23049         * gnu/javax/crypto/keyring/PrivateKeyEntry.java,
23050         * gnu/javax/crypto/mode/IAuthenticatedMode.java,
23051         * gnu/javax/crypto/pad/WrongPaddingException.java,
23052         * gnu/javax/crypto/prng/ICMGenerator.java,
23053         * gnu/javax/crypto/prng/IPBE.java,
23054         * gnu/javax/crypto/prng/PBKDF2.java,
23055         * gnu/javax/crypto/sasl/ConfidentialityException.java,
23056         * gnu/javax/crypto/sasl/IllegalMechanismStateException.java,
23057         * gnu/javax/crypto/sasl/srp/IALG.java,
23058         * gnu/javax/crypto/sasl/srp/SRPServer.java:
23059         Remove CVS revision tags.
23060
23061 2006-04-13  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
23062
23063         * javax/swing/plaf/basic/BasicTreeUI.java (getPreferredSize): 
23064         Removed debugging code.
23065
23066 2006-04-13  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
23067  
23068         * javax/swing/JTree.java (getPreferredSize): Return the
23069         cloned instance.
23070         * javax/swing/ViewportLayout.java (layoutContainer):
23071         Do not manage the view size and location if the view is
23072         in the scroll pane. Also manage size and location for
23073         Scrollable, if it is not in the scroll pane.
23074         * javax/swing/plaf/basic/BasicTreeUI.java,
23075         * javax/swing/tree/FixedHeightLayoutCache.java,
23076         * javax/swing/tree/VariableHeightLayoutCache.java: Rewritten.
23077         * gnu/javax/swing/tree/GnuPath.java: New file.
23078
23079 2006-04-13  David Gilbert  <david.gilbert@object-refinery.com>
23080
23081         * javax/swing/JToolBar.java
23082         (AccessibleJToolBar.getAccessibleStateSet): Marked as stub.
23083
23084 2006-04-13  Robert Schuster  <robertschuster@fsfe.org>
23085
23086         * examples/gnu/classpath/examples/swing/TextAreaDemo.java:
23087         (createCustomColoredPanel): Set background color as demo intends,
23088         changed custom selection color to red.
23089         * examples/gnu/classpath/examples/swing/TextFieldDemo.java:
23090         Replaced various single variables with a Compound instance, added
23091         custom highlighter demo.
23092         (TextFieldDemo.DemoHighlightPainter): New class (taken from
23093         TextAreaDemo).
23094         (TextFieldDemo.Compound): New class.
23095         (createTextFieldCompound): New method.
23096         (createLeftAlignedPanel): Rewritten.
23097         (createRightAlignedPanel): Rewritten.
23098         (createCenteredPanel): Rewritten.
23099         (createCustomColoredPanel): Removed.
23100         (createCustomColoredPanel1): New method.
23101         (createCustomColoredPanel2): New method.
23102         (createCustomBordersPanel): New method.
23103         (createMiscPanel): Rewritten.
23104         (actionPerformed): Rewritten.
23105         (createContent): Add panels of new compounds to main panel, put
23106         main panel in a JScrollPane.
23107         * examples/gnu/classpath/examples/swing/Demo.java:
23108         (Demo): Put desktop in a scrollpane.
23109         (mkMenuBar): Check availability of MetalLookAndFeel.getCurrentTheme()
23110         method via reflection.
23111
23112 2006-04-13  David Gilbert  <david.gilbert@object-refinery.com>
23113
23114         * javax/swing/plaf/metal/MetalDesktopIconUI.java
23115         (createUI): Return new instance rather than shared instance.
23116
23117 2006-04-13  Robert Schuster  <robertschuster@fsfe.org>
23118
23119         * javax/swing/text/FieldView.java:
23120         (checkContainer): Call updateVisibility() at the end.
23121
23122 2006-04-13  Robert Schuster  <robertschuster@fsfe.org>
23123
23124         * java/awt/event/MouseEvent.java:
23125         (paramString): Add value of 'consumed' variable in string.
23126
23127 2006-04-13  Robert Schuster  <robertschuster@fsfe.org>
23128
23129         PR 26967
23130         * javax/swing/JTextField.java: Removed scrollOffset variable.
23131         (JTextField): Moved up initialization of horizontalVisibility field.
23132         (getScrollOffset): Implemented.
23133         (setScrollOffset): Implemented.
23134         (getHorizonztalVisibility): Removed note.
23135         (scrollRectToVisible): New method.
23136         * javax/swing/text/FieldView.java: Added cachedSpan variable.
23137         (checkContainer): New method.
23138         (updateVisibility): New method.
23139         (calculateHorizontalSpan): New method.
23140         (adjustAllocation): Removed unneeded local variables, added code
23141         to handle scrolling.
23142         (getPreferredSpan): Use new method calculateHorizontalSpan,
23143         avoid calculation by returning cached value cachedSpan.
23144         (paint): Added check whether the hosted component is a JTextField.
23145         (insertUpdate): Invalidate cached span value, update visibility
23146         if neccessary.
23147         (removeUpdate): Dito.
23148         (changeUpdate): Dito.
23149
23150 2006-04-13  David Gilbert  <david.gilbert@object-refinery.com>
23151
23152         * javax/swing/JInternalFrame.java
23153         (setTitle): Set old value to 'this.title', not 'title'.
23154
23155 2006-04-13  David Gilbert  <david.gilbert@object-refinery.com>
23156
23157         * javax/swing/JInternalFrame.java
23158         (AccessibleJInternalFrame.getAccessibleName): Implemented,
23159         (AccessibleJInternalFrame.getAccessibleRole): Implemented,
23160         (AccessibleJInternalFrame.getAccessibleValue): Implemented,
23161         (AccessibleJInternalFrame.getCurrentAccessibleValue): Implemented,
23162         (AccessibleJInternalFrame.getMaximumAccessibleValue): Implemented,
23163         (AccessibleJInternalFrame.getMinimumAccessibleValue): Implemented,
23164         (AccessibleJInternalFrame.setCurrentAccessibleValue): Implemented,
23165         (JDesktopIcon.AccessibleJDesktopIcon.getAccessibleRole): Implemented,
23166         (JDesktopIcon.AccessibleJDesktopIcon.getAccessibleValue): Implemented,
23167         (JDesktopIcon.AccessibleJDesktopIcon.getCurrentAccessibleValue): 
23168         Implemented,
23169         (JDesktopIcon.AccessibleJDesktopIcon.getMaximumAccessibleValue): 
23170         Implemented,
23171         (JDesktopIcon.AccessibleJDesktopIcon.getMinimumAccessibleValue): 
23172         Implemented,
23173         (JDesktopIcon.AccessibleJDesktopIcon.setCurrentAccessibleValue): 
23174         Implemented,
23175         (JInternalFrame()): Use "" for default title,
23176         (getAccessibleContext): Updated API docs,
23177         (getDesktopIcon): Likewise,
23178         (getLayer): Check for layer in client properties, and return 
23179         DEFAULT_LAYER if no setting is found,
23180         (getTitle): Updated API docs,
23181         (setDesktopIcon): Fire property change event.
23182
23183 2006-04-13  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
23184
23185         * javax/swing/ScrollPaneLayout.java (layoutContainer):
23186         Mind that the presence of one scroll bar may cause the
23187         need for another.
23188
23189 2006-04-12  Ito Kazumitsu  <kaz@maczuka.gcd.org>
23190
23191         * gnu/regexp/REToken.java(unicodeAware): New field,
23192         (toLowerCase, toUpperCase): New methods.
23193         * gnu/regexp/RETokenBackRef.java, gnu/regexp/RETokenChar.java,
23194         gnu/regexp/RETokenNamedProperty.java, gnu/regexp/RETokenRange.java:
23195         Use toLowerCase and toUpperCase defined in REToken instead of
23196         those defined in java.lang.Character.
23197         * gnu/regexp/gnu/regexp/RE.java(REG_ICASE_USASCII): New flag.
23198         (initialize): Sets unicodeAware of the generated REToken to false if
23199         REG_ICASE_USASCII is set.
23200         * gnu/regexp/RETokenChar.java(constructor): Don't convert the character
23201         to lower case and keep the original value.
23202         (matchOneString): Use the new method charEquals to compare characters.
23203         (charEquals): New method to compare characters.
23204         * java/util/regex/Pattern.java: Sets the flag REG_ICASE_USASCII to true.
23205
23206 2006-04-12  David Gilbert  <david.gilbert@object-refinery.com>
23207
23208         * javax/swing/event/InternalFrameEvent.java:
23209         (paramString): Implemented,
23210         updated API docs all over.
23211         
23212 2006-04-12  Casey Marshall  <csm@gnu.org>
23213
23214         * gnu/javax/crypto/prng/Fortuna.java (setup): call `fillBlock.'
23215         (Generator.setup): call `fillBlock.'
23216
23217 2006-04-12  Casey Marshall  <csm@gnu.org>
23218
23219         Fixes PR classpath/24481.
23220         * gnu/java/security/jce/prng/SecureRandomAdapter.java (<init>):
23221         initialize the adaptee.
23222         (setSeed): call `addRandomBytes;' don't re-initialize the adaptee.
23223         * gnu/java/security/prng/MDGenerator.java (addRandomByte,
23224         addRandomBytes): new methods.
23225
23226 2006-04-12  Tom Tromey  <tromey@redhat.com>
23227
23228         * java/io/DataOutputStream.java (writeUTF): Correctly handle zero
23229         length strings.
23230
23231 2006-04-12  Lillian Angel  <langel@redhat.com>
23232
23233         * gnu/xml/dom/DomDocument.java
23234         (checkNCName): Removed unneeded part of check.
23235         * gnu/xml/dom/DomNode.java
23236         (dispatchEvent): Added code to grow ancestors array
23237         if needed. Changed checks to use depth of node instead.
23238         Fixes an infinite loop and segmentation fault.
23239         * gnu/xml/dom/html2/DomHTMLParser.java
23240         (handleEndTag): No need to use/make a copy of the node.
23241         Causes an infinite loop.
23242
23243 2006-04-12  Tom Tromey  <tromey@redhat.com>
23244
23245         PR classpath/27131:
23246         * java/util/BitSet.java (get): Early return if to==from.
23247
23248 2006-04-12  Mark Wielaard  <mark@klomp.org>
23249
23250         * java/security/SecureRandom.java (algorithm): New private field.
23251         (SecureRandom): Initialize algorithm.
23252         (SecureRandom(SecureRandomSpi,Provider,String)): New private
23253         constructor.
23254         (getInstance): Call 3 argument constructor.
23255         (getAlgorithm): New method.
23256
23257 2006-04-12  Mark Wielaard  <mark@klomp.org>
23258
23259         Port UncaughtExceptionHandler support from generics branch.
23260         * NEWS: Document Thread.UncaughtExceptionHandler VMThread change.
23261
23262 2006-04-12  Andrew John Hughes  <gnu_andrew@member.fsf.org>
23263
23264         * java/lang/Thread.java:
23265         (setUncaughtExceptionHandler(UncaughtExceptionHandler):
23266         Added docs and security check.
23267         (getUncaughtExceptionHandler()): Documented.
23268         (setDefaultUncaughtExceptionHandler(UncaughtExceptionHandler):
23269         Added docs and security check.
23270         (getDefaultUncaughtExceptionHandler()): Documented.
23271         (getId()): Documented.
23272
23273 2006-04-12  Tom Tromey  <tromey@redhat.com>
23274
23275         * vm/reference/java/lang/VMThread.java (run): Use thread's
23276         uncaught handler.
23277         * java/lang/Thread.java (defaultHandler): New field.
23278         (setDefaultUncaughtExceptionHandler,
23279         getDefaultUncaughtExceptionHandler, setUncaughtExceptionHandler,
23280         getUncaughtExceptionHandler): New methods.
23281         * java/lang/ThreadGroup.java (ThreadGroup): Implements
23282         UncaughtExceptionHandler.
23283         (uncaughtException): Use getDefaultUncaughtExceptionHandler.
23284
23285 2006-04-11  Bryce McKinlay  <mckinlay@redhat.com>
23286
23287         * java/io/DataOutputStream.java (writeUTF): Re-use fixed length byte
23288         buffer. Loop only once to determine Utf8 length when possible. Make
23289         the inner loop bounded by buf.length.
23290         (getUTFlength): New private method.
23291         (buf): New private field.
23292
23293 2006-04-11  Lillian Angel  <langel@redhat.com>
23294
23295         * gnu/xml/dom/DomNodeIterator.java
23296         (nextNode): Moved line of code to avoid an infinite loop.
23297         * gnu/xml/dom/html2/DomHTMLAppletElement.java
23298         (getCls): New function.
23299         (setCls): Likewise.
23300         (getSrc): Likewise.
23301         (setSrc): Likewise.
23302         * gnu/xml/dom/html2/DomHTMLDocument.java:
23303         Added DomHTMLEmbedElement to map.
23304         (getApplets): Added node name, 'embed'.
23305         * gnu/xml/dom/html2/DomHTMLEmbedElement.java:
23306         New class.
23307         * gnu/xml/dom/html2/DomHTMLObjectElement.java
23308         (getJavaCode): New function.
23309         (setJavaCode): Likewise.
23310         (getObject): Likewise.
23311         (setObject): Likewise.
23312         (getJavaObject): Likewise.
23313         (setJavaObject): Likewise.
23314         (getJavaArchive): Likewise.
23315         (setJavaArchive): Likewise.
23316         (getJavaCodeBase): Likewise.
23317         (setJavaCodeBase): Likewise.
23318         (getJavaType): Likewise.
23319         (setJavaType): Likewise.
23320         (setMayscript): Likewise.
23321         (getMayscript): Likewise.
23322         (setScriptable): Likewise.
23323         (getScriptable): Likewise.
23324         * gnu/xml/dom/html2/DomHTMLParser.java
23325         (parseDocument): Should not check for well formedness
23326         when parsing an html document.
23327         * java/awt/Window.java
23328         (dispatchEvent): Added check to avoid NPE.
23329
23330 2006-04-10  Tom Tromey  <tromey@redhat.com>
23331
23332         * javax/accessibility/AccessibleStreamable.java (getStream): Fixed
23333         name.
23334         * javax/accessibility/AccessibleRelation.java (EMBEDS): Fixed value.
23335         (SUBWINDOW_OF, SUBWINDOW_OF_PROPERTY): Likewise.
23336
23337 2006-04-10  Robert Schuster  <robertschuster@fsfe.org>
23338
23339         * javax/swing/plaf/basic/BasicTextUI.java:
23340         (getNextVisualPositionFrom): Marked as stub.
23341
23342 2006-04-10  Roman Kennke  <kennke@aicas.com>
23343
23344         * javax/swing/plaf/basic/BasicLookAndFeel.java
23345         (initSystemColorDefaults): Changed to use loadSystemColorDefaults
23346         and create the defaults as strings constants.
23347         (loadSystemColors): Implemented stubbed method.
23348
23349 2006-04-10  Tom Tromey  <tromey@redhat.com>
23350
23351         * .settings/org.eclipse.core.resources.prefs: Set encoding for
23352         ChangeLog.
23353
23354 2006-04-10  Tom Tromey  <tromey@redhat.com>
23355
23356         * java/io/CharArrayWriter.java (append): Javadoc fix.
23357         (append): Likewise.
23358
23359 2006-04-10  Tom Tromey  <tromey@redhat.com>
23360
23361         * javax/accessibility/AccessibleTextSequence.java: New file.
23362         * javax/accessibility/AccessibleRelation.java (CHILD_NODE_OF): New
23363         field.
23364         (CHILD_NODE_OF_PROPERTY, EMBEDDED_BY, EMBEDDED_BY_PROPERTY, EMBEDS,
23365         EMBEDS_PROPERTY, FLOWS_FROM, FLOWS_FROM_PROPERTY, FLOWS_TO,
23366         FLOWS_TO_PROPERTY, PARENT_WINDOW_OF, PARENT_WINDOW_OF_PROPERTY,
23367         SUBWINDOW_OF, SUBWINDOW_OF_PROPERTY): Likewise.
23368         * javax/accessibility/AccessibleExtendedText.java: New file.
23369         * javax/accessibility/AccessibleContext.java
23370         (ACCESSIBLE_COMPONENT_BOUNDS_CHANGED): New field.
23371         (ACCESSIBLE_INVALIDATE_CHILDREN): Likewise.
23372         (ACCESSIBLE_TEXT_ATTRIBUTES_CHANGED): Likewise.
23373         * javax/accessibility/AccessibleAttributeSequence.java: New file.
23374         * javax/accessibility/AccessibleStreamable.java: New file.
23375         * javax/accessibility/AccessibleText.java (getIndexAtPoint): Javadoc
23376         fix.
23377
23378 2006-04-10  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
23379
23380         * javax/swing/tree/AbstractLayoutCache.java 
23381         (getNodeDimensions, getRowsForPath): Implemented.
23382         * javax/swing/tree/FixedHeightLayoutCache.java: Rewritten.
23383         * javax/swing/tree/VariableHeightLayoutCache.java: Rewritten.
23384
23385 2006-04-10  Roman Kennke  <kennke@aicas.com>
23386
23387         * javax/swing/tree/AbstractLayoutCache.java: Reformatted.
23388
23389 2006-04-10  Roman Kennke  <kennke@aicas.com>
23390
23391         * javax/swing/JInternalFrame.java
23392         (AccessibleJInternalFrame): Marked all stubbed methods as such
23393         by adding throws NotImplementedException.
23394
23395 2006-04-10  Roman Kennke  <kennke@aicas.com>
23396
23397         * javax/swing/JFileChooser.java
23398         (getAccessibleContext): Don't create a new instance on each
23399         call, instead store the accessible context in the
23400         accessibleContext field.
23401
23402 2006-04-10  Roman Kennke  <kennke@aicas.com>
23403
23404         * javax/swing/JComboBox.java
23405         (AccessibleJComboBox): Marked all stubbed methods as such
23406         by adding throws NotImplementedException.
23407
23408 2006-04-10  Roman Kennke  <kennke@aicas.com>
23409
23410         * javax/swing/ActionMap.java
23411         (readObject): Removed.
23412         (writeObject): Removed.
23413
23414 2006-04-10  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
23415
23416         * javax/swing/tree/DefaultTreeSelectionModel.java
23417         (addSelectionPaths, setSelectionPaths): Call 
23418         insureUniqueness. (clone, setRowMapper): Implemented.
23419         * TreePath (path): Marked final.
23420
23421 2006-04-10  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
23422
23423         * javax/swing/tree/DefaultTreeSelectionModel.java:
23424         Documented and autoformatted. (insureUniqueness):
23425         Removed stub marking.
23426
23427 2006-04-09  David Gilbert  <david.gilbert@object-refinery.com>
23428
23429         * javax/swing/SizeSequence.java
23430         (sizes): Don't initialise here,
23431         (SizeSequence(int, int)): Initialise sizes field,
23432         (SizeSequence(int[])): Clone argument instead of calling setSizes(),
23433         (setSize): Do nothing when index is out of bounds,
23434         (getIndex): Implemented,
23435         (setSizes): Reimplemented,
23436         (getSizes): Likewise,
23437         (insertEntries): Likewise,
23438         (removeEntries): Likewise,
23439         plus added API docs all over.
23440
23441 2006-04-09  Audrius Meskauskas  <AudriusA@Bioinformatics.org
23442
23443         * gnu/CORBA/gnuRequest.java (submit): Do not read any response after
23444         one way message and retry after any IOException.
23445
23446 2006-04-09  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
23447
23448         * gnu/CORBA/CDR/EncapsulationStream.java (constructor):
23449         Set the byte order.
23450
23451 2006-04-09  Wolfgang Baer  <WBaer@gmx.de>
23452
23453         * org/omg/PortableServer/ServantLocatorPOA.java: 
23454         (preinvoke, postinvoke): Remove default implementation.
23455         * org/omg/PortableServer/ServantActivatorPOA.java: 
23456         (incarnate, etherealize): Remove default implementation.        
23457         * org/omg/PortableInterceptor/ObjectReferenceFactory.java: 
23458         Extends from ValueBase and not from ObjectReferenceFactoryOperations.
23459         (make_object): Moved method from ObjectReferenceFactoryOperations.
23460         * org/omg/PortableInterceptor/ObjectReferenceFactoryOperations.java: 
23461         Removed unspecified interface.  
23462         * org/omg/DynamicAny/_DynAnyStub.java:
23463         (_DynAnyStub(Delegate)): Removed constructor.
23464         * org/omg/DynamicAny/_DynArrayStub.java,
23465         * org/omg/DynamicAny/_DynAnyFactoryStub.java,
23466         * org/omg/DynamicAny/_DynEnumStub.java,
23467         * org/omg/DynamicAny/_DynFixedStub.java,
23468         * org/omg/DynamicAny/_DynSequenceStub.java,
23469         * org/omg/DynamicAny/_DynStructStub.java,
23470         * org/omg/DynamicAny/_DynUnionStub.java,
23471         * org/omg/DynamicAny/_DynValueStub.java: 
23472         Extend from ObjectImpl and not from _DynAnyStub.
23473         (type, next, destroy, copy, rewind, assign, component_count, 
23474         current_component, equal, from_any, get_any, get_boolean, get_char, 
23475         get_double, get_dyn_any, get_float, get_long, get_longlong, get_octet, 
23476         get_reference, get_short, get_string, get_typecode, get_ulong, 
23477         get_ulonglong, get_ushort, get_val, get_wchar, get_wstring, insert_any,
23478         insert_boolean, insert_char, insert_double, insert_dyn_any, insert_float,
23479         insert_long, insert_longlong, insert_octet, insert_reference, 
23480         insert_short, insert_string, insert_typecode, insert_ulong, 
23481         insert_ulonglong, insert_ushort, insert_val, insert_wchar, 
23482         insert_wstring, seek, to_any): New methods copied from _DynAnyStub.             
23483         * org/omg/CosNaming/_BindingIteratorStub.java:
23484         (_BindingIteratorStub(Delegate)): Made package private.
23485         * org/omg/CosNaming/_NamingContextExtStub.java:
23486         (_NamingContextExtStub(Delegate)): Made package private.
23487         * org/omg/CosNaming/_NamingContextStub.java:
23488         (_NamingContextStub(Delegate)): Made package private.
23489         (throw4, throw5): Likewise.
23490         * gnu/CORBA/NamingService/NameParser.java (resolve): 
23491         Adapt to package private constructor. Use _set_delegate instead.        
23492         * org/omg/CosNaming/NamingContextOperations.java: Do not extend IDLEntity.
23493         * org/omg/CORBA/ORB.java: 
23494         (create_recursive_sequence_tc): Made abstract.
23495         (get_default_context): Likewise.
23496         * gnu/CORBA/OrbRestricted.java: 
23497         (create_recursive_sequence_tc): New moved method.
23498         (get_default_context): Likewise.        
23499         * org/omg/CORBA/ParameterMode.java: 
23500         (PARAM_IN, PARAM_OUT, PARAM_INOUT): Made final. 
23501
23502 2006-04-09  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
23503
23504         * gnu/CORBA/GIOP/MessageHeader.java (write): 
23505         More informative exception.
23506         * gnu/CORBA/IorDelegate.java (release): Do not close the socket.
23507         * gnu/CORBA/SocketRepository.java (get_socket):
23508         Removed debugging code.
23509
23510 2006-04-09  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
23511
23512         * gnu/CORBA/gnuRequest.java (submit): Try to read the response for the
23513         one way message, but ignore if EOF was received.
23514         * gnu/CORBA/GIOP/MessageHeader.java (read): Set the minor code to
23515         Minor.EOF if the end of file is received instead of the header.
23516
23517 2006-04-09  Roman Kennke  <kennke@aicas.com>
23518
23519         * javax/swing/plaf/metal/MetalRootPaneUI.java
23520         (MetalTitlePane.IconifyAction): New inner class.
23521         (MetalTitlePane.MaximizeAction): New inner class.
23522         (MetalTitlePane.createActions): Create iconifyAction and
23523         maximizeAction.
23524         (MetalRootLayout.titlePane): New field.
23525         (MetalRootLayout.MetalRootLayout): Take titlePane parameter in
23526         constructor.
23527         (MetalRootLayout.preferredLayoutSize): Changed to not make
23528         assumptions about the actual component order.
23529         (MetalRootLayout.layoutContainer): Changed to not make
23530         assumptions about the actual component order.
23531         (installWindowDecorations): Pass the titlePane as parameter to
23532         the MetalRootLayout constructor.
23533         (uninstallWindowDecorations): Changed to not make
23534         assumptions about the actual component order.
23535
23536 2006-04-08  Roman Kennke  <kennke@aicas.com>
23537
23538         * javax/swing/plaf/metal/MetalRootPaneUI.java
23539         (MetalTitlePane.MouseHandler): New inner class to handle dragging
23540         of frames.
23541         (MetalTitlePane.installListeners): Don't register a focus listener
23542         on the window. This is a potential memory leak and must be
23543         implemented on a different way. Install mouse listener here.
23544         (installWindowDecorations): Fixed assertion condition. Always
23545         insert the window decoration at index#1 in the layered 
23546         pane.
23547
23548 2006-04-08  Roman Kennke  <kennke@aicas.com>
23549
23550         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
23551         (Java_gnu_java_awt_peer_gtk_GtkWindowPeer_nativeSetBoundsUnlocked):
23552         Only resize window if actual width or height value changes.
23553         Avoids nasty flicker when only setLocation() is beeing called
23554         on a window.
23555
23556 2006-04-08  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
23557
23558         * gnu/CORBA/GIOP/MessageHeader.java (read): Throw more informative
23559         exception if the magic sequence does not match.
23560
23561 2006-04-08  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
23562
23563         * gnu/CORBA/gnuRequest.java (p_invoke, submit): Do not try to read
23564         response for the one way messages.
23565
23566 2006-04-08  Roman Kennke  <kennke@aicas.com>
23567
23568         * javax/swing/MenuSelectionManager.java
23569         (processKeyEvent): Implemented stub method.
23570         * javax/swing/JMenu.java
23571         (processKeyEvent): Implemented stub method.
23572         * javax/swing/JMenu.java
23573         (processKeyEvent): Implemented stub method.
23574         (processMenuKeyEvent): Implemented stub method.
23575
23576 2006-04-08  Roman Kennke  <kennke@aicas.com>
23577
23578         * javax/swing/AbstractAction.java
23579         (readObject): Removed unneeded method.
23580         (writeObject): Removed unneeded method.
23581
23582 2006-04-08  Wolfgang Baer  <WBaer@gmx.de>
23583
23584         * javax/swing/plaf/synth/SynthPainter.java: 
23585         (paintSplitPaneDividerBorder): Removed.
23586
23587 2006-04-08  Wolfgang Baer  <WBaer@gmx.de>
23588
23589         * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java: 
23590         (CLOSE_CMD, ICONIFY_CMD, MAXIMIZE_CMD, MOVE_CMD, RESTORE_CMD, SIZE_CMD):
23591         No longer constants.
23592         (static_initializer): Added to initialize above fields.
23593         * javax/accessibility/AccessibleRelation.java (LABEL_FOR, LABELED_BY, 
23594         MEMBER_OF, CONTROLLER_FOR, CONTROLLED_BY): No longer constants.
23595         (static_initializer): Added to initialize above fields.
23596
23597 2006-04-08  Wolfgang Baer  <WBaer@gmx.de>
23598
23599         * java/awt/Dialog.java: Improved documentation all over.
23600         (Dialog(Frame)): If gc is null use the owners GraphicsConfiguration.
23601         (Dialog(Dialog)): Likewise.
23602
23603 2006-04-08  Mark Wielaard  <mark@klomp.org>
23604
23605         * java/util/jar/JarFile.java (provider): New static field.
23606         (verify, verifyHashes, EntryInputStream.<init>): Pass provider
23607         to `getInstance.'
23608
23609 2006-04-08  Mark Wielaard  <mark@klomp.org>
23610
23611         PR 27081
23612         * java/lang/StackTraceElement.java (toString): Don't add space
23613         between type and source indicator.
23614
23615 2006-04-07  Casey Marshall  <csm@gnu.org>
23616
23617         Fixes PR classpath/24464        
23618         * java/util/jar/JarFile.java (verify, verifyHashes,
23619         EntryInputStream.<init>): pass the Gnu provider directly to
23620         `getInstance.'
23621
23622 2006-04-08  Raif S. Naffah  <raif@swiftdsl.com.au>
23623
23624         PR classpath/27071
23625         * gnu/java/security/hash/Whirlpool.java: Updated documentation.
23626         (DIGEST0): Use version 3 test vector.
23627         (Sd): Removed.
23628         (S_box): New field: Version 3 S-box values.
23629         (<clinit>): Use Version 3 circulant matrix to construct lookup tables.
23630         (transform): Formating.
23631         (padBuffer): Likewise.
23632         (getResult): Likewise.
23633         (selfTest): Likewise.
23634
23635 2006-04-07  Tom Tromey  <tromey@redhat.com>
23636
23637         * java/util/InvalidPropertiesFormatException.java
23638         (serialVersionUID): New field.
23639         (readObject, writeObject): New methods.
23640         * java/util/Arrays.java (toString): Javadoc fixes.
23641         * java/net/URLConnection.java: Cleaned up imports.
23642         * java/lang/reflect/ParameterizedType.java: Javadoc fix.
23643         * java/lang/reflect/MalformedParameterizedTypeException.java
23644         (serialVersionUID): New field.
23645         * java/lang/reflect/GenericSignatureFormatError.java
23646         (serialVersionUID): New field.
23647         * java/lang/Class.java (Class): Javado fixes.
23648         (getComponentType): Likewise.
23649         (getGenericInterfaces): Likewise.
23650         (getTypeParameters): Likewise.
23651         * java/io/CharArrayWriter.java (append): Javadoc fixes.
23652         * java/lang/annotation/AnnotationFormatError.java (serialVersionUID):
23653         New field.
23654         * java/lang/TypeNotPresentException.java (serialVersionUID): New
23655         field.
23656         * java/lang/EnumConstantNotPresentException.java (serialVersionUID):
23657         New field.
23658
23659 2006-04-07  Wolfgang Baer  <WBaer@gmx.de>
23660
23661         * java/awt/Dialog.java 
23662         (AccessibleAWTDialog): Added api docs
23663         (AccessibleAWTDialog.getAccessibleStateSet):
23664          Renamed from getAccessibleState.
23665         * java/awt/Frame.java 
23666         (AccessibleAWTFrame): Added api docs
23667         (AccessibleAWTFrame.getAccessibleStateSet):
23668          Renamed from getAccessibleState.
23669
23670 2006-04-07  Wolfgang Baer  <WBaer@gmx.de>
23671
23672         * java/awt/Dialog.java: Reformatted.
23673
23674 2006-04-07  Lillian Angel  <langel@redhat.com>
23675
23676         * java/awt/Component.java
23677         (eventTypeEnabled): Added code for HierarchyEvent.HIERARCHY_CHANGED,
23678         HierarchyEvent.ANCESTOR_MOVED and HierarchyEvent.ANCESTOR_RESIZED.
23679
23680 2006-04-07  Tom Tromey  <tromey@redhat.com>
23681
23682         * java/beans/beancontext/BeanContextMembershipEvent.java
23683         (serialVersionUID): New field.
23684         * java/beans/beancontext/BeanContextServicesSupport.java
23685         (addBeanContextServicesListener): Synchronize.
23686         (addService): Implemented.
23687         (createBCSChild): Implemented.
23688         (BCSSChild): Added arguments.
23689         (fireServiceAdded): Implemented.
23690         (fireServiceRevoked): Implemented.
23691         (getCurrentServiceSelectors): Implemented.
23692         (hasService): Implemented.
23693         (removeBeanContextServicesListener): Implemented.
23694         (serviceAvailable): Implemented.
23695         (serviceRevoked): Implemented.
23696         * java/beans/beancontext/BeanContextSupport.java (BCSChild): Added
23697         arguments.
23698         (createBCSChild): Implemented.
23699         (BeanContextSupport): 
23700         (addBeanContextMembershipListener): Synchronize.
23701         (fireChildrenAdded): Implemented.
23702         (fireChildrenRemoved): Implemented.
23703         (BeanContextSupport): Use default locale.
23704         (isEmpty): Implemented.
23705         (isDesignTime): Implemented.
23706         (size): Implemented.
23707         (toArray): Synchronized.
23708         (toArray): Likewise.
23709         (iterator): Likewise.
23710         (BCSIterator): Implemented.
23711         (bcsChildren): Implemented.
23712         (validatePendingAdd): Implemented.
23713         (validatePendingRemove): Likewise.
23714         (childJustAddedHook): Implemented.
23715         (childJustRemovedHook): Likewise.
23716         (classEquals): Likewise.
23717         (toArray): Mark as stub.
23718         (setDesignTime): Implemented.
23719         (copyChildren): Implemented.
23720         (containsKey): Implemented.
23721         (contains): Likewise.
23722         (containsAll): Likewise.
23723         (getResource): Implemented.
23724         (getResourceAsStream): Likewise.
23725         (removeBeanContextMembershipListener): Likewise.
23726         * java/beans/beancontext/BeanContextServiceRevokedEvent.java
23727         (serialVersionUID): New field.
23728         * java/beans/beancontext/BeanContextServiceAvailableEvent.java
23729         (serialVersionUID): New field.
23730         * java/beans/beancontext/BeanContext.java (instantiateChild): Javadoc
23731         fix.
23732
23733 2006-04-06  Roman Kennke  <kennke@aicas.com>
23734
23735         PR 26937
23736         * javax/swing/MenuSelectionManager.java
23737         (setSelectedPath): Search one more item in the loop.
23738         
23739 2006-04-06  Tom Tromey  <tromey@redhat.com>
23740
23741         * java/awt/image/renderable/RenderableImageProducer.java
23742         (image, context, consumers): New fields.
23743         (RenderableImageProducer): Implemented.
23744         (setRenderContext): Likewise.
23745         (addConsumer): Likewise.
23746         (isConsumer): Likewise.
23747         (removeConsumer): Likewise.
23748         (startProduction): Likewise.
23749
23750 2006-04-06  Roman Kennke  <kennke@aicas.com>
23751
23752         * java/awt/Component.java
23753         (AccessibleAWTComponent.getBounds): Return the component
23754         bounds regardless of its showing state.
23755         (AccessibleAWTComponent.getLocation): Return the component
23756         location regardless of its showing state.
23757         (AccessibleAWTComponent.getSize): Return the component
23758         size regardless of its showing state.
23759
23760 2006-04-06  Roman Kennke  <kennke@aicas.com>
23761
23762         * javax/swing/JRootPane.java
23763         (getAccessibleContext): New method. Provides an accessibleContext
23764         for JRootPanes.
23765
23766 2006-04-06  Roman Kennke  <kennke@aicas.com>
23767
23768         * java/awt/Toolkit.java
23769         (initAccessibility): Use the 'gnu.classpath.home.url' property
23770         to determine the system confiuration directory.
23771         * java/awt/Component.java
23772         (dispatchEvent): Trigger Toolkit dispatching here.
23773         (dispatchEventImpl): Moved Toolkit dispatching to dispatchEvent,
23774         so it can't be overridden by subclasses and is performed in
23775         any case.
23776
23777 2006-04-06  Wolfgang Baer  <WBaer@gmx.de>
23778         
23779         * javax/naming/Binding.java: Added API docs.
23780         * javax/naming/NameClassPair.java: Added API docs.
23781         (fullName): New field.
23782         (setNameInNamespace): New 1.5 method.
23783         (getNameInNamespace): Likewise.
23784
23785 2006-04-06  Wolfgang Baer  <WBaer@gmx.de>
23786
23787         * javax/naming/CompositeName.java: 
23788         (readObject): New deserialization method.
23789         (writeObject): New serialization method.
23790
23791 2006-03-29  Nektarios K. Papadopoulos  <npapadop at inaccessnetworks.com>
23792
23793         * javax/security/auth/x500/X500Principal.java
23794         (readAttributeValue) Check for separator after quoted value was
23795         failing in all cases.
23796
23797 2006-04-06  Mark Wielaard  <mark@klomp.org>
23798
23799         * java/lang/Class.java (getClassLoader): Don't do security check
23800         when loader is null.
23801
23802 2006-04-06  Roman Kennke  <kennke@aicas.com>
23803
23804         * java/awt/Toolkit.java
23805         (getDefaultToolkit): Initialize accessibility after setting
23806         up the toolkit.
23807         (initAccessibility): New helper method to setup accessibility.
23808
23809 2006-04-06  Roman Kennke  <kennke@aicas.com>
23810
23811         * javax/swing/AbstractButton.java
23812         (AccessibleAbstractButton.getAccessibleIcon): Implemented stub.
23813         (AccessibleAbstractButton.getAccessibleRelationSet): Implemented
23814         stub.
23815         (AccessibleAbstractButton.getIndexAtPoint): Implemented stub.
23816         (AccessibleAbstractButton.getAccessibleIcon): Implemented stub.
23817         (AccessibleAbstractButton.getCharacterBounds): Implemented stub.
23818         (AccessibleAbstractButton.getCharCount): Implemented stub.
23819         (AccessibleAbstractButton.getCaretPosition): Implemented stub.
23820         (AccessibleAbstractButton.getCharacterAttribute): Implemented stub.
23821         (AccessibleAbstractButton.getSelectionStart): Implemented stub.
23822         (AccessibleAbstractButton.getSelectionEnd): Implemented stub.
23823         (AccessibleAbstractButton.getSelectedText): Implemented stub.
23824         (AccessibleAbstractButton.getTextRectangle): Removed unneeded
23825         private method.
23826
23827 2006-04-06  Roman Kennke  <kennke@aicas.com>
23828
23829         * java/awt/Component.java
23830         (AccessibleAWTComponent.getAccessibleStateSet): Don't handle opaque
23831         state here. This is only done in JComponent.
23832         * javax/swing/JComponent.java
23833         (AccessibleJComponent.getAccessibleStateSet): Handle opaque flag
23834         here.
23835         (getNextFocusableComponent): Implemented stub method.
23836         (grabFocus): Implemented stub method.
23837         (unregisterKeyboardAction): Implemented stub method.
23838         (setNextFocusableComponent): Implemented stub method.
23839         * javax/swing/CompatibilityFocusTraversalPolicy.java: New file.
23840         This is a helper class for providing compatibility with the older
23841         Swing focus API.
23842
23843 2006-04-06  Wolfgang Baer  <WBaer@gmx.de>
23844
23845         Fixes bug #26995
23846         * javax/naming/directory/BasicAttribute.java,
23847         * javax/naming/directory/BasicAttributes.java: 
23848         (readObject): New deserialization method.
23849         (writeObject): New serialization method.
23850
23851 2006-04-06  Wolfgang Baer  <WBaer@gmx.de>
23852
23853         * javax/xml/validation/SchemaFactory.java: Corrected since tag.
23854         (getErrorHandler): Made method abstract.
23855         (setErrorHanlder): Likewise.
23856         * gnu/xml/validation/relaxng/RELAXNGSchemaFactory.java
23857         (getErrorHandler): Implement abstract method from superclass.
23858         (setErrorHandler): Likewise.
23859         (errorHandler): New field.
23860         * gnu/xml/validation/xmlschema/XMLSchemaSchemaFactory.java:     
23861         (getErrorHandler): Implement abstract method from superclass.
23862         (setErrorHandler): Likewise.
23863         (errorHandler): New field.      
23864         * javax/xml/XMLConstants.java: Corrected since tag.
23865         (XMLConstants): Added private constructor.
23866         * javax/xml/datatype/Duration.java: Corrected since tag.
23867         (multiply): Made method abstract.
23868         * javax/xml/datatype/DatatypeConstants.java: Corrected since tag.
23869         (DatatypeConstants): Added private constructor.
23870         * javax/xml/xpath/XPathConstants.java: Corrected since tag.
23871         (XPathConstants): Added private constructor.
23872
23873 2006-04-05  Tom Tromey  <tromey@redhat.com>
23874
23875         * javax/security/auth/kerberos/ServicePermission.java: Now final.
23876
23877 2006-04-05  Tom Tromey  <tromey@redhat.com>
23878
23879         PR libgcj/26625:
23880         * lib/Makefile.am (compile-classes): Touch the output file.
23881
23882 2006-04-05  Roman Kennke  <kennke@aicas.com>
23883
23884         * javax/swing/AbstractButton.java
23885         (AccessibleAbstractButton.getAccessibleStateSet): Removed handling
23886         of the focused state. This is already done in AccessibleAWTComponent.
23887
23888 2006-04-05  Roman Kennke  <kennke@aicas.com>
23889
23890         * javax/swing/JComponent.java
23891         (accessibleContext): Fixed API doc for this field.
23892         (AccessibleJComponent.AccessibleFocusHandler): Fixed API docs.
23893         (AccessibleJComponent.AccessibleFocusHandler.focusGained):
23894         Implemented and added API docs.
23895         (AccessibleJComponent.AccessibleFocusHandler.focusLost):
23896         Implemented and added API docs.
23897         (AccessibleJComponent.AccessibleContainerHandler): Fixed API docs.
23898         (AccessibleJComponent.AccessibleContainerHandler.componentAdded):
23899         Implemented and added API docs.
23900         (AccessibleJComponent.AccessibleContainerHandler.componentRemoved):
23901         Implemented and added API docs.
23902         (AccessibleJComponent.accessibleContainerHandler): Added API docs.
23903         (AccessibleJComponent.accessibleFocusHandler): Added API docs.
23904         (AccessibleJComponent.addPropertyChangeListener): Added API docs.
23905         (AccessibleJComponent.removePropertyChangeListener): Added API docs.
23906         (AccessibleJComponent.getAccessibleStateSet): Simply return
23907         super here. Added comment about this.
23908
23909 2006-04-05  Roman Kennke  <kennke@aicas.com>
23910
23911         * javax/swing/JComponent.java
23912         (AccessibleJComponent.addPropertyChangeListener): Install
23913         ContainerHandler and FocusHandler here.
23914         (AccessibleJComponent.removePropertyChangeListener): Uninstall
23915         ContainerHandler and FocusHandler here.
23916         (AccessibleJComponent.getAccessibleChildrenCount): Replaced
23917         by super.getAccessibleChildrenCount().
23918         (AccessibleJComponent.getAccessibleChild): Replaced
23919         by super.getAccessibleChild().
23920         (AccessibleJComponent.getAccessibleStateSet): Implemented by
23921         adding OPAQUE to the supported states.
23922         (AccessibleJComponent.getAccessibleName): Added titled border
23923         and label fallbacks.
23924         (AccessibleJComponent.getAccessibleDescription): Added tooltip
23925         and label fallbacks.
23926         (AccessibleJComponent.getAccessibleRole): Removed TODO.
23927         (AccessibleJComponent.getAccessibleKeyBinding): Added comment
23928         explaining why return null seems correct here.
23929         * javax/swing/JLabel.java
23930         (LABEL_PROPERTY): New constant.
23931         (setLabelFor): Store label in labeled component's client properties
23932         for the AccessibleJComponent to read.
23933
23934 2006-04-05  Tom Tromey  <tromey@redhat.com>
23935
23936         * java/util/zip/ZipFile.java (available): Defer to super if
23937         entry's size is unknown.
23938
23939 2006-04-05  Tom Tromey  <tromey@redhat.com>
23940
23941         * java/net/MimeTypeMapper.java (MimeTypeMapper): Look for system
23942         property with mime.types name.
23943         * gnu/classpath/SystemProperties.java: Set
23944         gnu.classpath.mime.types.file if not already set.
23945         * java/net/URLConnection.java (defaultFactory): New field.
23946         (guessContentTypeFromStream): Mark as unimplemented.
23947         (getContentHandler): Updated with libgcj's implementation.
23948         * gnu/java/net/DefaultContentHandlerFactory.java: New file,
23949         from libgcj.
23950
23951 2006-04-05  Bryce McKinlay  <mckinlay@redhat.com>
23952
23953         PR classpath/27028
23954         PR classpath/24752
23955         * java/util/AbstractList.java (hasNext): Don't throw
23956         ConcurrentModificationException. Update Javadoc.
23957         (hasPrevious): Likewise.
23958         (nextIndex): Likewise.
23959         (previousIndex): Likewise.
23960         * java/util/HashMap.java (hasNext): Likewise.
23961         * java/util/Hashtable.java (hasNext): Likewise.
23962         * java/util/IdentityHashMap.java (hasNext): Likewise.
23963         * java/util/LinkedHashMap.java (hasNext): Likewise.
23964         * java/util/LinkedList.java (nextIndex): Likewise.
23965         (previousIndex): Likewise.
23966         (hasNext): Likewise.
23967         (hasPrevious): Likewise.
23968         * java/util/TreeMap.java (hasNext): Likewise.
23969         * java/util/WeakHashMap.java (hasNext): Likewise.
23970
23971 2006-04-05  Roman Kennke  <kennke@aicas.com>
23972
23973         * javax/swing/AbstractButton.java
23974         (AccessibleAbstractButton.getAccessibleStateSet): Implemented stub.
23975         (AccessibleAbstractButton.doAccessibleAction): Implemented stub.
23976         (AccessibleAbstractButton.getAccessibleAction): Implemented stub.
23977         (AccessibleAbstractButton.getAccessibleActionCount): Implemented stub.
23978         (AccessibleAbstractButton.getAccessibleActionDescription):
23979         Implemented stub.
23980         (AccessibleAbstractButton.getAccessibleText): Implemented stub.
23981         (AccessibleAbstractButton.getAccessibleAction): Implemented stub.
23982         (AccessibleAbstractButton.getCurrentAccessibleValue): Implemented stub.
23983         (AccessibleAbstractButton.setCurrentAccessibleValue): Implemented stub.
23984         (AccessibleAbstractButton.getMinimumAccessibleValue): Implemented stub.
23985         (AccessibleAbstractButton.getMaximumAccessibleValue): Implemented stub.
23986
23987 2006-04-05  Roman Kennke  <kennke@aicas.com>
23988
23989         * javax/swing/JComboBox.java
23990         (selectWithKeyChar): Implemented stubbed method.
23991
23992 2006-04-05  Roman Kennke  <kennke@aicas.com>
23993
23994         * javax/swing/LookAndFeel.java
23995         (installProperty): New method. Allows primitive typed properties
23996         to be handled like UIResources.
23997         * javax/swing/AbstractButton.java
23998         (clientBorderPaintedSet): New field.
23999         (clientRolloverEnabledSet): New field.
24000         (clientIconTextGapSet): New field.
24001         (clientContentAreaFilledSet): New field.
24002         (setRolloverEnabled): Set the client field to true.
24003         (setBorderPainted): Likewise.
24004         (setIconTextGap): Likewise.
24005         (setContentAreaFilled): Likewise.
24006         (setUIProperty): New helper method.
24007         * javax/swing/JComponent.java
24008         (clientOpaqueSet): New field.
24009         (clientAutoscrollsSet): New field.
24010         (setAutoscrolls): Set the client field to true.
24011         (setOpaque): Likewise.
24012         (setUIProperty): New helper method.
24013         * javax/swing/JDesktopPane.java
24014         (clientDragModeSet): New field.
24015         (setDragMode): Set the client field to true.
24016         (setUIProperty): New helper method.
24017         * javax/swing/JSplitPane.java
24018         (clientDividerSizeSet): New field.
24019         (clientOneTouchExpandableSet): New field.
24020         (setDividerSize): Set the client field to true.
24021         (setOneTouchExpandable): Likewise.
24022         (setUIProperty): New helper method.
24023         * javax/swing/JTable.java
24024         (clientRowHeightSet): New field.
24025         (setRowHeight): Set the client field to true.
24026         (setUIProperty): New helper method.
24027         * javax/swing/JTree.java
24028         (clientRowHeightSet): New field.
24029         (clientScrollsOnExpandSet): New field.
24030         (clientShowsRootHandlesSet): New field.
24031         (setRowHeight): Set the client field to true.
24032         (setShowsRootHandles): Likewise.
24033         (setScrollsOnExpand): Likewise.
24034         (setUIProperty): New helper method.
24035
24036 2006-04-05  Roman Kennke  <kennke@aicas.com>
24037
24038         * java/awt/Component.java
24039         (getFont): Don't request the font from the peer's graphics. The
24040         graphics should instead get the font from the Component, which might
24041         result in a loop.
24042         (getFocusCycleAncestor): Don't special case Window.
24043         (nextFocus): Moved implementation from the DefaultKeyboardFocusManager
24044         to here. Correctly determine the focus cycle root.
24045         (transferFocusBackward): Likewise.
24046         (transferFocusUpCycle): Likewise.
24047         * java/awt/Container.java
24048         (transferFocusDownCycle): Moved implementation from
24049         DefaultKeyboardFocusManager to here.
24050         * java/awt/DefaultKeyboardFocusManager.java
24051         (focusPreviousComponent): Moved implementation to
24052         Component.transferFocusBackward().
24053         (focusNextComponent): Moved implementation to
24054         Component.nextFocus().
24055         (upFocusCycle): Moved implementation to
24056         Component.transferFocusUpCycle().
24057         (downFocusCycle): Moved implementation to
24058         Container.transferFocusDownCycle().
24059
24060 2006-04-05  David Gilbert  <david.gilbert@object-refinery.com>
24061
24062         * java/awt/image/ComponentSampleModel.java
24063         (equals): Implemented,
24064         (hashCode): Likewise.
24065
24066 2006-04-05  Jeroen Frijters  <jeroen@frijters.net>
24067
24068         * java/lang/Class.java
24069         (cast): New method.
24070
24071 2006-04-05  David Gilbert  <david.gilbert@object-refinery.com>
24072
24073         * java/awt/image/ComponentSampleModel.java
24074         (getBankIndices): Return a copy of the array, not a reference to the
24075         original,
24076         (getBandOffsets): Likewise.
24077
24078 2006-04-05  David Gilbert  <david.gilbert@object-refinery.com>
24079
24080         * java/awt/image/ComponentSampleModel.java: Added API docs all over.
24081
24082 2006-04-04  Tom Tromey  <tromey@redhat.com>
24083
24084         * java/net/MimeTypeMapper.java (MimeTypeMapper): Fixed indices.
24085
24086 2006-04-04  Tom Tromey  <tromey@redhat.com>
24087
24088         * java/net/MimeTypeMapper.java (mime_types): No longer static.
24089         (MimeTypeMapper): Initialize.
24090         (fillFromFile): New method.
24091         (main): New method.
24092         (mime_strings): Updated.
24093
24094 2006-04-04  Tom Tromey  <tromey@redhat.com>
24095
24096         * lib/gen-classlist.sh.in: Correct handle generated files.
24097
24098 2006-04-04  Ito Kazumitsu  <kaz@maczuka.gcd.org>
24099
24100         * gnu/regexp/CharIndexed.java(setAnchor): New method.
24101         * gnu/regexp/CharIndexedInputStream.java(setAnchor): New method.
24102         * gnu/regexp/CharIndexedCharSequence.java: New file.
24103         * gnu/regexp/CharIndexedCharArray.java: Rewritten as an extention of
24104         gnu.regexp.CharIndexedCharSequence.
24105         * gnu/regexp/CharIndexedString.java: Likewise.
24106         * gnu/regexp/CharIndexedStringBuffer.java: Likewise.
24107         * gnu/regexp/RE.java(makeCharIndexed): Make a new CharIndexed
24108         using CharIndexedCharSequence. Use setAnchor when the input
24109         object is already a CharIndexed.
24110         * java/util/regex/Matcher.java(inputCharIndexed): New field
24111         to be used as a parameter of the RE#getMatch.
24112
24113 2006-04-04  David Gilbert  <david.gilbert@object-refinery.com>
24114
24115         * java/awt/image/SampleModel.java: Reformatted.
24116
24117 2006-04-04  David Gilbert  <david.gilbert@object-refinery.com>
24118
24119         * java/awt/image/ComponentSampleModel.java
24120         (ComponentSampleModel(int, int, int, int, int[])): Added API 
24121         documentation,
24122         (ComponentSampleModel(int, int, int, int, int[], int[]): Throw 
24123         IllegalArgumentException for DataBuffer.TYPE_UNDEFINED, take copies
24124         of the bandOffsets and bankIndices arguments, added API documentation,
24125         * java/awt/image/SampleModel.java
24126         (SampleModel(int, int, int, int): Throw IllegalArgumentException for
24127         unrecognised dataTypes, w * h exceeds Integer.MAX_VALUE, and numBands
24128         less than or equal to zero, added API documentation.
24129
24130 2006-04-04  Lillian Angel  <langel@redhat.com>
24131
24132         * java/util/zip/ZipFile.java
24133         (getInputStream): Fixed to return size of ZipEntry
24134         minus the total bytes read. This guarantees that the 
24135         right value is returned even if some bytes have already
24136         been read.
24137
24138 2006-04-04  Thomas Fitzsimmons  <fitzsim@redhat.com>
24139
24140         * javax/imageio/plugins/jpeg/JPEGImageWriteParam.java (messages):
24141         Remove static modifier.
24142
24143 2006-04-04  David Gilbert  <david.gilbert@object-refinery.com>
24144
24145         * java/awt/image/ComponentSampleModel.java: Reformatted.
24146
24147 2006-04-03  Thomas Fitzsimmons  <fitzsim@redhat.com>
24148
24149         * javax/imageio/plugins/jpeg/JPEGImageWriteParam.java: New file.
24150         * javax/imageio/plugins/jpeg/JPEGImageReadParam.java: Add
24151         retrieval instructions to javadoc header.
24152         * javax/imageio/ImageWriteParam.java: Fix javadoc for
24153         compressionType field.
24154         * lib/Makefile.am (propertydirs): Add javax directory.
24155         (propertyfiles): Likewise.
24156         * resource/javax/imageio/plugins/jpeg/MessagesBundle.properties:
24157         New file.
24158
24159 2006-04-03  Tom Tromey  <tromey@redhat.com>
24160
24161         PR classpath/26971:
24162         * javax/naming/directory/BasicAttribute.java: Added missing @since.
24163         (BasicAttributeEnumeration.where): Initialize to 0.
24164         (BasicAttributeEnumeration.nextElement): Post-increment 'where'.
24165
24166 2006-04-03  Lillian Angel  <langel@redhat.com>
24167
24168         PR classpath/24596 and PR classpath/26930
24169         * java/util/zip/ZipFile.java
24170         (getInputStream): Override available function for 
24171         InflaterInputStream instance.
24172
24173 2006-04-03  Thomas Fitzsimmons  <fitzsim@redhat.com>
24174
24175         * javax/imageio/plugins/jpeg/JPEGImageReadParam.java: New file.
24176
24177 2006-04-03  Tom Tromey  <tromey@redhat.com>
24178
24179         * javax/security/auth/kerberos/ServicePermission.java: New file.
24180         * javax/security/auth/kerberos/DelegationPermission.java: New file.
24181         * javax/security/auth/kerberos/KerberosKey.java: New file.
24182         * javax/security/auth/kerberos/KeyImpl.java: New file.
24183         * javax/security/auth/kerberos/KerberosTicket.java: New file.
24184         * javax/security/auth/kerberos/KerberosPrincipal.java: New file.
24185
24186 2006-04-03  Sven de Marothy  <sven@physto.se>
24187
24188         * gnu/java/awt/peer/gtk/GtkClipboard.java: Add support for
24189         non-GtkImage images.
24190
24191 2006-04-03  Mark Wielaard  <mark@klomp.org>
24192
24193         * lib/gen-classlist.sh.in: Use classes.tmp, not classes.2
24194         as temporary file name.
24195
24196 2006-04-03  Dalibor Topic  <robilad@kaffe.org>
24197
24198         * INSTALL: Documented --with-glibj-zip option.
24199
24200 2006-04-03  Dalibor Topic  <robilad@kaffe.org>
24201
24202         Fixed all pscan warnings.
24203
24204         * native/jni/classpath/jcl.c (JCL_ThrowException),
24205         native/jni/classpath/jcl.h (DBG),
24206         native/target/generic/target_generic.h (TARGET_NATIVE_LAST_ERROR_STRING_FORMAT),
24207         native/target/generic/target_generic_misc.h (TARGET_NATIVE_MISC_FORMAT_STRING0):
24208         Use "%s" format in fprintf and snprintf explicitely when printing a single 
24209         string to prevent format string exploits.
24210         
24211         * native/jni/java-net/javanet.h (DBG): Removed duplicate
24212         definition. Included jcl.h instead.
24213  
24214 2006-04-03  Raif S. Naffah  <raif@swiftdsl.com.au>
24215
24216         * tools/gnu/classpath/tools/jarsigner/Main.java: Removed unused imports.
24217         (provider): Made it protected.
24218         (providerInstalled): New field.
24219         (Main): Made it a 0-arguments constructor.
24220         Removed throws clasue.
24221         (main): Removed throws clause.
24222         Call processArgs(args) after constructing instance.
24223         Call teardown() before existing.
24224         (processArgs): Added javadoc.
24225         Reduced to throws Exception.
24226         (start): Likewise.
24227         (teardown): New method.
24228         (setupCommonParams): Added javadoc.
24229         Install designated provider if not already installed.
24230         (installNewProvider): New method.
24231         (setupSigningParams): Added javadoc.
24232         Instantiate the KeyStore using type only.
24233         * tools/gnu/classpath/tools/jarsigner/JarSigner.java:
24234         Removed unused imports.
24235         (start): Reduced to throws Exception.
24236         * tools/gnu/classpath/tools/jarsigner/JarVerifier.java (start): Likewise.
24237         * tools/gnu/classpath/tools/jarsigner/HashUtils.java:
24238         Re-organized imports.
24239         * gnu/java/security/key/KeyPairGeneratorFactory.java (getInstance):
24240         Test ignoring case.
24241         (getNames): Add "dsa" as an algorithm provided by this Factory.
24242         (makeInstance): Construct IllegalArgumentException with 2 arguments.
24243
24244 2006-04-03  Roman Kennke  <kennke@aicas.com>
24245
24246         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
24247         (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getGlyphVector):
24248         Replaced g_free() with pango_item_free() to avoid problems
24249         with the allocator.
24250
24251 2006-04-03  Rafael H. Schloming  <rafaels@redhat.com>
24252
24253         Fixes bug #26668
24254         * java/util/logging/Level.java (parse): Document.
24255         * java/util/logging/LogManager.java (rootLogger): Removed.
24256         (LogManager): Just set loggers to new HashMap.
24257         (getLogManager): Make synchronized. Create and init LogManager if it
24258         doesn't exist yet.
24259         (static): Removed block.
24260         (MANAGER_PROPERTY): New private final string.
24261         (makeLogManager): Use new property string, move warning to
24262         createInstance() method.
24263         (CONFIG_PROPERTY): New private final string.
24264         (initLogManager): New method.
24265         (addLogger): Use Logger.root, not rootLogger.
24266         (findAncestor): Likewise.
24267         (readConfiguration): Move warning to createInstance() method.
24268         Add handlers directly to Logger.root. Warn about bad level values.
24269         (getClassProperty): Use new locateClass() method.
24270         (getInstanceProperty): Only catch specific newInstance Errors.
24271         (createInstance): Make private and takes a string to use in warning
24272         messages. Use new locateClass() method and generate appropriate
24273         warning message.
24274         (warn): New methods.
24275         (locateClass): Locates a class through the context class loader and
24276         system class loader as backup.
24277         * java/util/logging/Logger.java (root): New static final field.
24278         (Logger): Set parent to root.
24279         (setParent): Directly check root field.
24280
24281 2006-04-02  Andrew John Hughes  <gnu_andrew@member.fsf.org>
24282
24283         * java/util/Collections.java:
24284         (binarySearch(List, T)): Fixed signature.
24285         (unmodifiableList(List)): Likewise.
24286         (UnmodifiableList(List)): Fixed constructor.
24287         (UnmodifiableRandomAccessList(List)): Likewise.
24288         (unmodifiableMap(Map)): Fixed signature.
24289         (UnmodifiableMap(Map)): Fixed constructor.
24290         (unmodifiableSortedMap(Map)): Fixed signature.
24291         (UnmodifiableSortedMap(Map)): Fixed constructor.
24292         
24293 2006-04-02  Andrew John Hughes  <gnu_andrew@member.fsf.org>
24294
24295         * java/io/ObjectOutputStream.java:
24296         (writeObject(Object)): Added enum support.
24297         (writeClassDescriptor(ObjectStreamClass)): Likewise.
24298         * java/io/ObjectStreamClass.java:
24299         (isEnum()): New package-private method.
24300         (setFlags(Class)): Added enum support.
24301         * java/io/ObjectStreamConstants.java:
24302         (SC_ENUM): Added.
24303         
24304 2006-04-02  Robert Schuster  <robertschuster@fsfe.org>
24305
24306         * javax/swing/text/Segment.java:
24307         (setPosition): Make exception message more verbose.
24308         * javax/swing/text/WrappedPlainView.java:
24309         (insertUpdate): Removed unneeded repaint call.
24310         (changeUpdate): Dito.
24311         (removeUpdate): Dito.
24312         (WrappedLine.determineNumLines): Do not return numLines, break
24313         from loop if no new break point has been calculated.
24314         (WrappedLine.updateDamage): Rewritten.
24315         (WrappedLine.insertUpdate): Removed unneeded update code.
24316         (WrappedLine.removeUpdate): Removed unneeded update code, added
24317         comment.        
24318
24319 2006-04-02  Dalibor Topic  <robilad@kaffe.org>
24320
24321         * configure.ac (with-glibj-zip): Added new option.
24322
24323         * examples/Makefile.am,
24324         lib/Makefile.am,
24325         tools/Makefile.am: Adapted build classpath to use glibj.zip,
24326         in addition to classes in lib directory.
24327
24328 2006-04-02  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
24329
24330         * tools/gnu/classpath/tools/giop/GRMIC.java,
24331         tools/gnu/classpath/tools/giop/IorParser.java,
24332         tools/gnu/classpath/tools/giop/grmic/CompilationError.java,
24333         tools/gnu/classpath/tools/giop/grmic/Generator.java,
24334         tools/gnu/classpath/tools/giop/grmic/GiopIo.java,
24335         tools/gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java,
24336         tools/gnu/classpath/tools/giop/grmic/HashFinder.java,
24337         tools/gnu/classpath/tools/giop/grmic/MethodGenerator.java,
24338         tools/gnu/classpath/tools/rmi/RMIC.java,
24339         tools/gnu/classpath/tools/rmi/rmic/RmiMethodGenerator.java,
24340         tools/gnu/classpath/tools/rmi/rmic/RmicCompiler.java,
24341         tools/gnu/classpath/tools/rmi/rmic/WrapUnWrapper.java: Removed
24342         linking exception from the licensing header.
24343         * tools/gnu/classpath/tools/rmi/rmid/ActivationSystemImpl_Stub.java:
24344         Added licensing header.
24345
24346 2006-04-02  Mark Wielaard  <mark@klomp.org>
24347
24348         * tools/Makefile.am (bin_SCRIPTS): Renamed to jarsigner.sh.
24349         (jarsigner): Removed.
24350
24351 2006-04-02  Dalibor Topic  <robilad@kaffe.org>
24352
24353         * configure.ac: don't check for isnan function.
24354         * native/fdlibm/fdlibm.h: Always use the isnan macro.
24355
24356 2006-04-02  Raif S. Naffah  <raif@swiftdsl.com.au>
24357
24358         * configure.ac: Added tools/jarsigner.sh to AC_CONFIG_FILES.
24359         * tools/Makefile.am: Generate jarsigner shell script.
24360         * tools/jarsigner.sh.in: New template.
24361         * tools/.cvsignore: Added jarsigner.sh.
24362
24363 2006-04-02  Raif S. Naffah  <raif@swiftdsl.com.au>
24364
24365         * tools/gnu/classpath/tools/jarsigner/HashUtils.java: Use GPL.
24366         * tools/gnu/classpath/tools/jarsigner/SFHelper.java: Likewise.
24367         * tools/gnu/classpath/tools/jarsigner/JarVerifier.java: Likewise.
24368         * tools/gnu/classpath/tools/jarsigner/JarSigner.java: Likewise.
24369         * tools/gnu/classpath/tools/jarsigner/Main.java: Likewise.
24370         Re-organised imports.
24371
24372 2006-04-01  Bernhard Rosenkraenzer  <bero@arklinux.org>
24373
24374         PR classpath/25924:
24375         * java/awt/image/DirectColorModel.java (extractAndNormalizeSample):
24376         Handle case where alpha==0.
24377
24378 2006-04-02  Robert Schuster  <robertschuster@fsfe.org>
24379
24380         PR #26676
24381         * javax/swing/text/Utilities.java:
24382         (getTabbedTextOffset): Added check to decrement pos not below zero,
24383         changed '>' comparison to '>='.
24384         * javax/swing/text/WrappedPlainView.java:
24385         (lineHeight): New field.
24386         (calculateBreakPosition): Throw InternalError in catch block, removed
24387         unneeded brackets, use specific version of
24388         Utilities.getTabbedTextOffset.
24389         (paint): Set various properties neccessary for drawing.
24390         (WrappedLine.paint): Removed code to set field of outer class.
24391         (WrappedLine.modelToView): Removed unneeded expression from
24392         if-statement.
24393         (WrappedLine.viewToModel): Initialize end with endOffset - 1, removed
24394         -1 from return statement, copy only a subset into the Segment, removed
24395         special handling of mark value - just return it, simplified
24396         incrementation of currLineStart.
24397         (WrappedLine.insertUpdate): Recalculate numLines, report preference
24398         change to parent view.
24399         (WrappedLine.removeUpdate): Dito.
24400
24401 2006-04-02  Robert Schuster  <robertschuster@fsfe.org>
24402
24403         * javax/swing/text/Segment.java:
24404         (toString): Return empty string when array is null.
24405
24406 2006-04-02  Robert Schuster  <robertschuster@fsfe.org>
24407
24408         * javax/swing/plaf/basic/BasicTextUI.java:
24409         (damageRange): Use SwingUtilities.computeUnion to avoid
24410         unneccessary Rectangle instantiation.
24411
24412 2006-04-01  Tom Tromey  <tromey@redhat.com>
24413
24414         * java/security/cert/Certificate.java (serialVersionUID): Fixed.
24415
24416 2006-04-01  Robert Schuster  <robertschuster@fsfe.org>
24417
24418         * javax/swing/text/CompositeView.java: Fixed copyright header.
24419         * javax/swing/text/BoxView.java: Fixed copyright header.
24420         * javax/swing/text/WrappedPlainView.java: Fixed copyright header.
24421         * javax/swing/text/Utilities.java: Fixed copyright header.
24422
24423 2006-04-01  Robert Schuster  <robertschuster@fsfe.org>
24424
24425         * javax/swing/text/CompositeView.java:
24426         (modelToView): Throw BadLocationException when no child
24427         view can be found, restructed to throw exception as early
24428         as possible.
24429         (viewToModel): Use mutable allocation as argument for viewToModel
24430         call on child view.
24431         * javax/swing/text/BoxView.java:
24432         (getViewAtPoint): Call setBounds() r before method returns with
24433         suitable child view.
24434         * javax/swing/text/Utilities.java:
24435         (getPositionBelow): Added try-catch-block around modelToView call,
24436         added method return when BadLocationException was thrown.
24437         * javax/swing/text/WrappedPlainView.java:
24438         (WrappedLine.viewToModel): Changed '<=' to '<' in if-expression,
24439         added note about meaning of rect.x and rect.width, removed unneeded
24440         checks, added code to not return the last possible document offset.
24441
24442 2006-04-01  Robert Schuster  <robertschuster@fsfe.org>
24443
24444         * javax/swing/text/WrappedPlainView.java:
24445         (WrappedLine.viewToModel): Change < to <= in if-statement,
24446         removed addition of currLineStart to return value.
24447         * javax/swing/text/BoxView.java:
24448         (getViewAtPoint): Use copy instead of r for method call
24449         which modifies the second argument.
24450
24451 2006-04-01  Mark Wielaard  <mark@klomp.org>
24452
24453         Fixes PR26973
24454         * java/util/jar/Attributes.java: Fully qualify java.util.Map.
24455
24456 2006-03-31  Tom Tromey  <tromey@redhat.com>
24457
24458         * lib/split-for-gcj.sh: Updated for multi-field format.
24459         * lib/Makefile.am (CLEANFILES): Added classes.2.
24460         * lib/gen-classlist.sh.in (GCJ): Removed.  Create classes.1 and
24461         classes.2 using multiple fields.
24462
24463 2006-03-31  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
24464
24465         * javax/swing/JTable.java (columnSelectionChanged):
24466         Removed print statement.
24467         * javax/swing/DefaultListSelectionModel.java
24468         (addSelectionInterval, removeSelectionInterval):
24469         Fire the difference between selection. (setLeadSelectionIndex):
24470         Fire the difference and mark current and previous lead
24471         selection indexes for repaint.
24472
24473 2006-03-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
24474
24475         * javax/imageio/plugins/jpeg/JPEGHuffmanTable.java: Eliminate
24476         unnecessary copying.
24477         * javax/imageio/plugins/jpeg/JPEGQTable.java: Likewise.
24478
24479 2006-03-31  Lillian Angel  <langel@redhat.com>
24480
24481         * java/awt/Component.java
24482         (translateEvent): oldKey should be the value of the
24483         key char.
24484
24485 2006-03-31  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
24486
24487         * javax/swing/JTable.java (columnSelectionChanged):
24488         Treat second repaint parameter as width.
24489
24490 2006-03-31  Lillian Angel  <langel@redhat.com>
24491         
24492         PR classpath/26924
24493         * gnu/java/awt/peer/gtk/GtkCanvasPeer.java
24494         (realize): New native function.
24495         * include/gnu_java_awt_peer_gtk_GtkCanvasPeer.h:
24496         Added new function declaration.
24497         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c
24498         (realize): New function.
24499
24500 2006-03-31  Robert Schuster  <robertschuster@fsfe.org>
24501         
24502         * javax/swing/text/GapContent.java:
24503         (replace): Move all Position instances from gap's end to
24504         it's start before increasing the gap start.
24505         * javax/swing/plaf/basic/BasicTextAreaUI.java:
24506         (propertyChanged): Update the view only instead of
24507         indicating a document change.
24508
24509 2006-03-31  Roman Kennke  <kennke@aicas.com>
24510
24511         * javax/swing/JTextField.java
24512         (fireActionPerformed): Put the textfields text in the action
24513         instead of the action name.
24514
24515 2006-04-01  Raif S. Naffah  <raif@swiftdsl.com.au>
24516
24517         * tools/gnu/classpath/tools/jarsigner/Main.java (setupCommonParams):
24518         Check for null jar-file argument.
24519         (setupSigningParams): Check for null alias argument.
24520
24521 2006-03-31  Roman Kennke  <kennke@aicas.com>
24522
24523         * javax/swing/JComponent.java
24524         (paintChildren): Split up in two cases, depending on the
24525         optimizedDrawingEnabled flag.
24526         (paintChildrenWithOverlap): New method. Paints children when
24527         not optimizedDrawingEnabled. This implements better painting
24528         algorithm for overlapping components, so that the painted
24529         regions are minimized.
24530         (paintChildrenOptimized): New method. Paints children when
24531         when optimizedDrawingEnabled. This implements a painting
24532         algorithm that is optimized for the case when all children
24533         are guaranteed to be tiled.
24534
24535 2006-03-31  Raif S. Naffah  <raif@swiftdsl.com.au>
24536
24537         * tools/gnu/classpath/tools/jarsigner/SFHelper.java (updateEntry): Use
24538         Attributes.putValue(String,String).
24539         (finishSigning): Likewise.
24540         * gnu/java/util/jar/JarUtils.java (MANIFEST_VERSION): New constant.
24541         (SIGNATURE_VERSION): Likewise.
24542         (readSFManifest): Use local string constant.
24543         (readMainSection): Likewise.
24544         (readVersionInfo): Likewise.
24545         * java/util/jar/Attributes.java (MANIFEST_VERSION):
24546         Redefined using JarUtils constant.
24547         (SIGNATURE_VERSION): Likewise.
24548         (putValue(Name,String)): Made it private.
24549
24550 2006-03-31  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
24551
24552         * javax/swing/DefaultListSelectionModel.java (fireDifference):
24553         New method. (clearSelection): Rewritten. (setSelectionInterval):
24554         Fire the difference between current and new selection.
24555         * javax/swing/JTable.java (columnSelectionChanged, valueChanged):
24556         Only repaint the region, where selection has been changed.
24557         * javax/swing/plaf/basic/BasicTableUI.java 
24558         (TableAction.actionPerformed): Do not change the column selection
24559         when only row selection change is wanted (and in reverse) and 
24560         do not call the repaint() here.
24561
24562 2006-03-31  David Gilbert  <david.gilbert@object-refinery.com>
24563
24564         Fixes bug #26951
24565         * javax/swing/DefaultComboBoxModel.java
24566         (DefaultComboBoxModel(Vector)): Call getSize() instead of 
24567         vector.size(),
24568         (addElement): Call list.addElement() rather than list.add(), and only
24569         update selected item if it is currently null,
24570         (removeElementAt): Update selected item, then remove the element.
24571
24572 2006-03-31  David Gilbert  <david.gilbert@object-refinery.com>
24573
24574         Fixes bug #26955
24575         * java/awt/geom/Point2D.java
24576         (distanceSq(double, double)): Fixed order of arguments,
24577         (distanceSq(Point2D)): Likewise,
24578         (distance(double, double)): Likewise,
24579         (distance(Point2D)): Likewise.
24580
24581 2006-03-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
24582
24583         * javax/imageio/plugins/jpeg/JPEGQTable.java: New file.
24584         * javax/imageio/plugins/jpeg/JPEGHuffmanTable.java
24585         (ACChrominanceLengths, ACChrominanceValues, ACLuminanceLengths,
24586         ACLuminanceValues, DCChrominanceLengths, DCChrominanceValues,
24587         DCLuminanceLengths, DCLuminanceValues): Remove fields.
24588
24589 2006-03-30  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
24590
24591         * javax.swing.JTable (constructor): Initialize column
24592         model column margin and table row margin before setting the
24593         table column model. (initialiseLocalVars): Do not call 
24594         setIntercellSpacing.
24595
24596 2006-03-30  Chris Burdess  <dog@gnu.org>
24597
24598         * javax/xml/datatype/DatatypeFactory.java (newDurationDayTime): Fix
24599           method signature.
24600         * javax/xml/validation/SchemaFactoryLoader.java: New file.
24601
24602 2006-03-30  Mark Wielaard  <mark@klomp.org>
24603
24604         PR 26848
24605         * java/awt/Window.java (dispatchEventImpl): On ComponentEvents
24606         adjust bounds. On resize invalidate and validate container.
24607         Always pass on ComponentEvents to Container super class.
24608         * gnu/java/awt/peer/gtk/GtkFramePeer.java (setBounds): Adjust for
24609         menuBar and pass to GtkWindowPeer super class.
24610         (postConfigureEvent): Adjust menu bar width. Adjust y and height
24611         bounds and pass to GtkWindowPeer super class.
24612         * gnu/java/awt/peer/gtk/GtkWindowPeer.java (x, y, width, height):
24613         New fields for local bounds.
24614         (getX, getY): New methods.
24615         (getWidth): Don't call into awtComponent.
24616         (getHeight): Likewise.
24617         (create): Cache local bounds.
24618         (setLocation): Documented, made protected and just call
24619         nativeSetLocation.
24620         (setLocationUnlocked): Removed unused method.
24621         (setBoundsUnlocked): Likewise.
24622         (setBounds): Check whether bounds actually changed and cache local
24623         bounds.
24624         (setSize): Documented and made protected.
24625         (setResizable): Documented and cache local bounds.
24626         (postConfigureEvent): Update local bounds. Don't call awtComponent
24627         directly but post ComponentEvents.
24628         (show): Cache local bounds.
24629         (getBounds): Override to return cached bounds.
24630
24631 2006-03-30  Lillian Angel  <langel@redhat.com>
24632
24633         * gnu/java/awt/peer/gtk/GdkGraphics.java
24634         (drawImage): Added check to prevent NPE.
24635         (drawImage): Likewise.
24636         (drawImage): Likewise.
24637         * java/awt/Choice.java
24638         (dispatchEventImpl): New function. selectedIndex was
24639         not being updated properly otherwise.
24640
24641 2006-03-30  Roman Kennke  <kennke@aicas.com>
24642
24643         * javax/swing/JTabbedPane.java
24644         (removeTabAt): Removed debug code.
24645
24646 2006-03-30  Roman Kennke  <kennke@aicas.com>
24647
24648         PR 26045
24649         * javax/swing/plaf/basic/BasicTextUI.java
24650         (installKeyboardActions): Simply call getKeymap() and install this.
24651         (createKeymap): Reimplemented to fetch a keymap from the UIManager.
24652
24653 2006-03-30  Roman Kennke  <kennke@aicas.com>
24654
24655         * javax/swing/JTabbedPane.java
24656         (removeTabAt): Adjust selection correctly when removing a tab
24657         before the selected tab. Also remove the component from the
24658         container, not only the tab object. Repaint and revalidate the
24659         component after the removal.
24660         (removeAll): Set selection to -1 before removing the tabs.
24661
24662 2006-03-29  Andrew John Hughes  <gnu_andrew@member.fsf.org>
24663
24664         * java/io/ObjectInputStream.java:
24665         (parseContent(byte)): Added enum support.
24666         * java/io/ObjectStreamConstants.java:
24667         (TC_ENUM): Added.
24668         (TC_MAX): Changed to new maximum, TC_ENUM.
24669         
24670 2006-03-29  Lillian Angel  <langel@redhat.com>
24671
24672         Partial fix for bug #26929
24673         * gnu/java/awt/peer/gtk/GtkPanelPeer.java
24674         (updateComponent): Removed. We want to clear the panel
24675         before painting.
24676         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
24677         (Java_gnu_java_awt_peer_gtk_GdkGraphics_clearRect): Fixed typo.
24678         Should set the background to the saved background color.
24679
24680 2006-03-29  Mark Wielaard  <mark@klomp.org>
24681
24682         Partial fix for bug #26848 (pack).
24683         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (setVisible):
24684         Always show instances of Window.
24685
24686 2006-03-29  David Gilbert  <david.gilbert@object-refinery.com>
24687
24688         * javax/swing/JSlider.java
24689         (setPaintLabels): Only create standard labels if labelTable is null,
24690         * javax/swing/plaf/basic/BasicSliderUI.java
24691         (PropertyChangeHandler.propertyChange): Recalculate geometry for 
24692         "paintTicks" property change,
24693         (calculateThumbSize): Updated API docs,
24694         (calculateContentRect): Likewise,
24695         (calculateTrackBuffer): Take into account the lowest and highest 
24696         labels when calculating buffer space,
24697         (calculateTrackRect): Include labels, if visible, in the calculation of
24698         the trackRect position,
24699         (calculateTickRect): Height is zero if ticks are not painted,
24700         (calculateLabelRect): Use max dimensions of actual labels,
24701         (getWidthOfHighValueLabel): Use preferred size,
24702         (getWidthOfLowValueLabel): Likewise,
24703         (getHeightOfHighValueLabel): Likewise,
24704         (getHeightOfLowValueLabel): Likewise,
24705         (drawInverted): Just return slider setting,
24706         (getHighestValueLabel): Updated API docs,
24707         (paintTicks): Removed redundant (and buggy) code, replaced with calls 
24708         to xPositionForValue() and yPositionForValue(),
24709         (paintHorizontalLabel): Removed full qualification of class name,
24710         (paintVerticalLabel): Likewise,
24711         (xPositionForValue): Reimplemented,
24712         (yPositionForValue): Reimplemented,
24713         * javax/swing/plaf/metal/MetalSliderUI.java
24714         (paintTrack): Made track one pixel longer.
24715
24716 2006-03-29  Tom Tromey  <tromey@redhat.com>
24717
24718         PR gcc/26901:
24719         * tools/Makefile.am (JCOMPILER): Added encoding options.
24720         * examples/Makefile.am (JCOMPILER): Added encoding options.
24721
24722 2006-03-29  Gary Benson  <gbenson@redhat.com>
24723
24724         Partial fix for PR classpath/24895
24725         * java/io/FilePermission.java (implies): Canonicalize paths.
24726
24727 2006-03-29  Robert Schuster  <robertschuster@fsfe.org>
24728
24729         PR 26888
24730         * javax/swing/text/GapContent.java:
24731         (replace): Added call to resetMarksAtZero.
24732
24733 2006-03-29  Roman Kennke  <kennke@aicas.com>
24734
24735         PR 23527
24736         * javax/swing/plaf/basic/BasicMenuItemUI.java
24737         (cachedRect): New field.
24738         (BasicMenuItemUI): Initialize cachedRect field.
24739         (getPreferredMenuItemSize): Use layoutMenuItem() helper method
24740         to determine layout. Store maximum accelerator and text width
24741         in client properties of parent to allow correct alignment
24742         of accelerators among menu items of one menu.
24743         (paintMenuItem): Outsourced menu item layout into layoutMenuItem
24744         method. Align accelerators according to the values calculated
24745         in getPreferredMenuItemSize.
24746         (getAcceleratorString) New helper method.
24747         (layoutMenuItem): New helper method.
24748
24749 2006-03-29  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
24750
24751         * gnu/java/rmi/activation/ActivationSystemTransient.java: Rewritten.
24752         * gnu/java/rmi/activation/BidiTable.java: Rewritten.
24753         * gnu/java/rmi/dgc/LeaseRenewingTask.java (constructor, sheduleLeases):
24754         Avoid NPEs.
24755         * gnu/java/rmi/server/ActivatableServerRef.java (getRefClass, 
24756         readExternal, writeExternal): New methods.
24757         * gnu/java/rmi/server/UnicastRef.java (invokeCommon): Splitten into
24758         two stages, invokeCommon(Remote, ...) and 
24759         invokeCommen(UnicastConnection, ...).
24760         * java/rmi/server/RemoteObject.java (readObject, writeObject): Expect
24761         also the ActivatableRef. toString(): Documented.
24762         * gnu/java/rmi/server/ActivatableRef.java,
24763         tools/gnu/classpath/tools/rmi/Persistent.java,
24764         tools/gnu/classpath/tools/rmi/PersistentBidiHashTable.java,
24765         tools/gnu/classpath/tools/rmi/PersistentHashTable.java,
24766         tools/gnu/classpath/tools/rmi/REGISTRY.java,
24767         tools/gnu/classpath/tools/rmi/REGISTRY.txt,
24768         tools/gnu/classpath/tools/rmi/RMID.java,
24769         tools/gnu/classpath/tools/rmi/RMID.txt,
24770         tools/gnu/classpath/tools/rmi/registry/RegistryImpl.java,
24771         tools/gnu/classpath/tools/rmi/registry/RegistryImpl_Skel.java,
24772         tools/gnu/classpath/tools/rmi/registry/RegistryImpl_Stub.java,
24773         tools/gnu/classpath/tools/rmi/registry/package.html,
24774         tools/gnu/classpath/tools/rmi/rmid/ActivationSystemImpl.java,
24775         tools/gnu/classpath/tools/rmi/rmid/ActivationSystemImpl_Stub.java: 
24776         New files.
24777         * tools/README: Documented.
24778         * NEWS: Added entry about the activation.
24779
24780 2006-03-29  Roman Kennke  <kennke@aicas.com>
24781
24782         PR 23527
24783         * javax/swing/plaf/basic/BasicMenuItemUI.java
24784         (viewRect): New field.
24785         (textRect): New field.
24786         (accelRect): New field.
24787         (iconRect): New field.
24788         (arrowIconRect): New field.
24789         (checkIconRect): New field.
24790         (BasicMenuItemUI): Initialize new fields.
24791         (paintMenuItem): Rewritten to correctly layout and paint
24792         the menu item in a more straightforward way. Use cached rectangle
24793         objects for layout.
24794         (paintAccelerator): Pulled inside the paintMenuItem method.
24795
24796 2006-03-29  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
24797
24798         * tools/gnu/classpath/tools/rmi/rmic/templates/Stub_12Method.jav:
24799         Do not use initCause with UnexpectedException.
24800         * tools/gnu/classpath/tools/rmi/rmic/templates/Stub_12MethodVoid.jav:
24801         Likewise. 
24802
24803 2006-03-29  Mark Wielaard  <mark@klomp.org>
24804
24805         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
24806         (setCursorID): Removed unused static variable.
24807
24808 2006-03-29  David Gilbert  <david.gilbert@object-refinery.com>
24809
24810         * javax/swing/plaf/basic/BasicSliderUI.java: Reformatted.
24811
24812 2006-03-29  Mark Wielaard  <mark@klomp.org>
24813
24814         Fixes bug #26527
24815         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
24816         (gtkWidgetSetCursorUnlocked): Call gdk_flush().
24817
24818 2006-03-28  Roman Kennke  <kennke@aicas.com>
24819
24820         * javax/swing/UIManager.java
24821         (installLookAndFeel): Implemented.
24822         (setInstalledLookAndFeels): Implemented.
24823
24824 2006-03-28  Roman Kennke  <kennke@aicas.com>
24825
24826         * javax/swing/plaf/metal/MetalButtonUI.java
24827         (update): Paint gradient only when the background color
24828         is not a UIResource and if the button is neither armed nor
24829         pressed and if the button is contentAreaFilled.
24830
24831 2006-03-28  Roman Kennke  <kennke@aicas.com>
24832
24833         * javax/swing/JLayeredPane.java
24834         (addImpl): Repaint added component.
24835
24836 2006-03-28  Ito Kazumitsu  <kaz@maczuka.gcd.org>
24837
24838         * java/util/regex/Matcher.java: Reverted.
24839
24840 2006-03-28  Roman Kennke  <kennke@aicas.com>
24841
24842         * javax/swing/text/AsyncBoxView.java
24843         (setEstimatedMajorSpan): Made method protected.
24844         (getEstimatedMajorSpan): Made method protected.
24845         * javax/swing/text/BoxView.java
24846         (flipEastAndWestAtEnds): Fixed typo.
24847         * javax/swing/text/InternationalFormatter.java
24848         (getActions): Made method protected.
24849         * javax/swing/text/Position.java
24850         (Bias): Made class final.
24851         * javax/swing/text/html/HTML.java
24852         (MEDIA): Made field package private. Not specified.
24853         (NOBR): Made field package private. Not specified.
24854         * javax/swing/text/html/NullView.java
24855         Made class package private.
24856         * javax/swing/text/html/parser/Entity.java
24857         Made class non-serializable as specified.
24858
24859 2006-03-28  Roman Kennke  <kennke@aicas.com>
24860
24861         * javax/swing/plaf/metal/MetalButtonUI.java
24862         (update): Don't paint gradient if the background color is
24863         no UIResource. Removed double getModel() call. Don't check for
24864         OceanTheme.
24865
24866 2006-03-28  Roman Kennke  <kennke@aicas.com>
24867
24868         * javax/swing/plaf/basic/BasicMenuItemUI.java
24869         (paint): Call paintMenuItem with the selectionBackground as
24870         parameter.
24871         (paintBackground): Fixed the condition and color for the background
24872         painting.
24873
24874 2006-03-28  Roman Kennke  <kennke@aicas.com>
24875
24876         * javax/swing/plaf/metal/MetalTabbedPaneUI.java
24877         (tabsOpaque): New field.
24878         (paintLeftTabBorder): Paint some parts only when the tabs are
24879         opaque. Determine the tab background using the paintLeftTabBorder()
24880         helper method.
24881         (paintRightTabBorder): Likewise.
24882         (installDefaults): Fetch tabsOpaque property from the UIDefaults.
24883
24884 2006-03-27  Tom Tromey  <tromey@redhat.com>
24885
24886         PR classpath/25189:
24887         * java/lang/Enum.java (valueOf): Ensure that the named field
24888         is an enum constant.
24889         (compareTo): Check class of enum.
24890
24891 2006-03-27  Tom Tromey  <tromey@redhat.com>
24892
24893         * java/lang/reflect/ParameterizedType.java: Javadoc fix.
24894
24895 2006-03-27  Tom Tromey  <tromey@redhat.com>
24896
24897         * vm/reference/java/lang/reflect/Method.java (METHOD_MODIFIERS):
24898         New constant.
24899         (getModifiersInternal): Renamed from getModifiers.
24900         (getModifiers): New method.
24901         (isBridge): Likewise.
24902         (isSynthetic): Likewise.
24903         (isVarArgs): Likewise.
24904         * vm/reference/java/lang/reflect/Field.java (FIELD_MODIFIERS):
24905         New constant.
24906         (getModifiersInternal): Renamed from getModifiers.
24907         (getModifiers): New method.
24908         (isSynthetic): Likewise.
24909         (isEnumConstant): Likewise.
24910         * vm/reference/java/lang/reflect/Constructor.java
24911         (getModifiersInternal): Renamed from getModifiers.
24912         (getModifiers): New method
24913         (CONSTRUCTOR_MODIFIERS): New constant.
24914         (isSynthetic): New method.
24915         (isVarArgs): Likewise.
24916         * java/lang/reflect/Member.java (isSynthetic): New method.
24917
24918 2006-03-28  Tom Tromey  <tromey@redhat.com>
24919
24920         * java/net/Proxy.java (TYPE): Added missing ";".
24921
24922 2006-03-27  Andrew John Hughes  <gnu_andrew@member.fsf.org>
24923
24924         * java/math/RoundingMode.java:
24925         Fixed serialization UID.
24926         * java/net/Proxy.java:
24927         (Type): Likewise.
24928         
24929 2006-03-27  Andrew John Hughes  <gnu_andrew@member.fsf.org>
24930
24931         * java/io/CharArrayWriter.java:
24932         (append(char)): Documented.
24933         (append(CharSequence)): Likewise.
24934         (append(CharSequence,int,int)): Likewise.
24935         
24936 2006-03-27  Jeroen Frijters  <jeroen@frijters.net>
24937
24938         * vm/reference/java/lang/reflect/Constructor.java
24939         (getTypeParameters): Check return value of getSignature for null.
24940         * vm/reference/java/lang/reflect/Method.java
24941         (getTypeParameters): Check return value of getSignature for null.
24942
24943 2006-03-27  Andrew John Hughes  <gnu_andrew@member.fsf.org>
24944
24945         * java/rmi/activation/ActivationGroup_Stub.java:
24946         Made final.
24947         
24948 2006-03-27  Tom Tromey  <tromey@redhat.com>
24949        
24950         * java/io/CharArrayWriter.java (append): New overloads.
24951         
24952 2006-03-27  Lillian Angel  <langel@redhat.com>
24953
24954         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
24955         (Java_gnu_java_awt_peer_gtk_GdkGraphics_nativeDispose):
24956         Added check for colormap. Prevents assertion error.
24957         (Java_gnu_java_awt_peer_gtk_GdkGraphics_setFGColor):
24958         Likewise.
24959         (Java_gnu_java_awt_peer_gtk_GdkGraphics_nativeCopyState):
24960         Likewise.
24961         (Java_gnu_java_awt_peer_gtk_GdkGraphics_initState__II):
24962         Likewise.
24963         (Java_gnu_java_awt_peer_gtk_GdkGraphics_initFromImage):
24964         Likewise.
24965         (Java_gnu_java_awt_peer_gtk_GdkGraphics_initStateUnlocked):
24966         Likewise.
24967
24968 2006-03-27  Dalibor Topic  <robilad@kaffe.org>
24969
24970         * m4/acinclude.m4 (CLASSPATH_FIND_JAVAC): Use 
24971         AC_MSG_ERROR instead of echoing the error message 
24972         that no compiler has been found manually.
24973
24974 2006-03-27  Roman Kennke  <kennke@aicas.com>
24975
24976         * javax/swing/RepaintManager.java
24977         (commitBuffer): Use simple drawImage() method instead of the
24978         scaling version.
24979
24980 2006-03-27  Robert Schuster  <robertschuster@fsfe.org>
24981
24982         * javax/swing/text/PlainView.java:
24983         (drawLine): Use 'endOffset' instead of 'selectionEnd'
24984         for painting the selected line.
24985
24986 2006-03-27  David Gilbert  <david.gilbert@object-refinery.com>
24987
24988         * javax/swing/plaf/basic/BasicSliderUI.java
24989         (getThumbSize): Removed TODO and updated API docs.
24990
24991 2006-03-27  Robert Schuster  <robertschuster@fsfe.org>
24992
24993         * javax/swing/text/DefaultCaret.java:
24994         (mouseClicked): Word selection rewritten.
24995         (paint): Draw line inside the bounding rectangle.
24996         (damage): Retrieve caret height from line height.
24997
24998 2006-03-28  Raif S. Naffah  <raif@swiftdsl.com.au>
24999
25000         * tools/gnu/classpath/tools/jarsigner/Main.java (processArgs): Check
25001         for null args.
25002         Check for -help option.
25003         * tools/gnu/classpath/tools/jarsigner/jarsigner.txt: Added -help option.
25004
25005 2006-03-27  Roman Kennke  <kennke@aicas.com>
25006
25007         * javax/swing/text/FieldView.java
25008         (getPreferredSpan): Don't include trailing newline in
25009         calculations.
25010         * javax/swing/text/PlainView.java
25011         (drawLine): Don't include trailing newline.
25012         (determineMaxLineLength): Don't include trailing newline.
25013         (getLineBuffer): Made method final.
25014
25015 2006-03-27  David Gilbert  <david.gilbert@object-refinery.com>
25016
25017         * javax/swing/JSlider.java
25018         (AccessibleJSlider.AccessibleJSlider): Minor API doc edit,
25019         (AccessibleJSlider.getAccessibleRole): Removed declaration of 
25020         NotImplementedException,
25021         (AccessibleJSlider.getAccessibleValue): Updated API docs.
25022
25023 2006-03-26  Andrew John Hughes  <gnu_andrew@member.fsf.org>
25024
25025         * java/lang/ProcessBuilder.java:
25026         Made final.
25027
25028 2006-03-26  Andrew John Hughes  <gnu_andrew@member.fsf.org>
25029
25030         * gnu/java/net/protocol/http/Headers.java:
25031         Match layout of file on HEAD.
25032         * gnu/javax/swing/text/html/parser/htmlValidator.java:
25033         Likewise.
25034         * java/awt/datatransfer/DataFlavor.java
25035         Likewise.
25036
25037 2006-03-26  Andrew John Hughes  <gnu_andrew@member.fsf.org>
25038
25039         * gnu/java/security/jce/hash/HavalSpi.java,
25040         * gnu/java/security/jce/hash/MD2Spi.java,
25041         * gnu/java/security/jce/hash/MD4Spi.java,
25042         * gnu/java/security/jce/hash/MD5Spi.java,
25043         * gnu/java/security/jce/hash/MessageDigestAdapter.java,
25044         * gnu/java/security/jce/hash/RipeMD128Spi.java,
25045         * gnu/java/security/jce/hash/RipeMD160Spi.java,
25046         * gnu/java/security/jce/hash/Sha160Spi.java,
25047         * gnu/java/security/jce/hash/Sha256Spi.java,
25048         * gnu/java/security/jce/hash/Sha384Spi.java,
25049         * gnu/java/security/jce/hash/Sha512Spi.java,
25050         * gnu/java/security/jce/hash/TigerSpi.java,
25051         * gnu/java/security/jce/hash/WhirlpoolSpi.java,
25052         * gnu/java/security/jce/sig/DSSKeyPairGeneratorSpi.java,
25053         * gnu/java/security/jce/sig/DSSRawSignatureSpi.java,
25054         * gnu/java/security/jce/sig/KeyPairGeneratorAdapter.java,
25055         * gnu/java/security/jce/sig/RSAPSSRawSignatureSpi.java,
25056         * gnu/java/security/jce/sig/SignatureAdapter.java,
25057         * gnu/java/security/key/IKeyPairCodec.java,
25058         * gnu/java/security/key/IKeyPairGenerator.java,
25059         * gnu/java/security/key/KeyPairGeneratorFactory.java,
25060         * gnu/java/security/key/dss/DSSKey.java,
25061         * gnu/java/security/key/dss/DSSKeyPairRawCodec.java,
25062         * gnu/java/security/key/dss/DSSPrivateKey.java,
25063         * gnu/java/security/key/dss/DSSPublicKey.java,
25064         * gnu/java/security/key/dss/FIPS186.java,
25065         * gnu/java/security/key/rsa/GnuRSAKey.java,
25066         * gnu/java/security/key/rsa/GnuRSAPrivateKey.java,
25067         * gnu/java/security/key/rsa/GnuRSAPublicKey.java,
25068         * gnu/java/security/sig/ISignature.java,
25069         * gnu/java/security/sig/ISignatureCodec.java,
25070         * gnu/java/security/sig/dss/DSSSignature.java,
25071         * gnu/java/security/sig/dss/DSSSignatureRawCodec.java,
25072         * gnu/java/security/sig/rsa/RSAPSSSignature.java,
25073         * gnu/java/security/sig/rsa/RSAPSSSignatureRawCodec.java,
25074         * gnu/java/security/util/Util.java:
25075         Remove CVS revision tags.
25076
25077 2006-03-26  Tom Tromey  <tromey@redhat.com>
25078
25079         * java/io/InputStream.java (InputStream): Implements Closeable.
25080         
25081 2006-03-26  Ito Kazumitsu  <kaz@maczuka.gcd.org>
25082
25083         * gnu/regexp/CharIndexed.java(setLastMatch, getLastMatch, getAnchor):
25084         New methods.
25085         * gnu/regexp/CharIndexedCharArray.java(setLastMatch, getLastMatch,
25086         getAnchor): New methods.
25087         * gnu/regexp/CharIndexedInputStream.java(setLastMatch, getLastMatch,
25088         getAnchor): New methods.
25089         * gnu/regexp/CharIndexedString.java(setLastMatch, getLastMatch,
25090         getAnchor): New methods.
25091         * gnu/regexp/CharIndexedStringBuffer.java(setLastMatch, getLastMatch,
25092         getAnchor): New methods.
25093         * gnu/regexp/REMatch.java(start1): New field.
25094         * gnu/regexp/RE.java(initialize): Added support for \z and \G,
25095         (match): set the starting position to start1[] instead of start[],
25096         (getMatchImpl): Set the found REMatch to the input,
25097         (makeCharIndexed): Made public.
25098         * gnu/regexp/RETokenEndOfPreviousMatch.java: New file.
25099         * gnu/regexp/RETokenEndSub.java(matchThis, findMatch):
25100         set the value of start[] copying from start1[].
25101         * gnu/regexp/RETokenLookBehind.java(matchThis): Added the settings of
25102         offset.
25103         * java/util/regex/Matcher.java(inputCharIndexed): New field
25104         to be used as a parameter of the RE#getMatch.
25105
25106 2006-03-26  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
25107
25108         * gnu/java/rmi/activation/DefaultActivationGroup.java: 
25109         Documented the default jre spawning strategy (none).
25110         * java/rmi/activation/ActivationGroup.java (currentGroupId,
25111         getSystem): Obtain the acticivation system from the 
25112         DefaultActivationSystem.
25113
25114 2006-03-26  Raif S. Naffah  <raif@swiftdsl.com.au>
25115
25116         * tools/gnu/classpath/tools/jarsigner/Main.java (setupSigningParams):
25117         Ask user for keystore password if one was not provided.
25118
25119 2006-03-26  Raif S. Naffah  <raif@swiftdsl.com.au>
25120
25121         * tools/README: Added Security tools section.
25122         Documented the jarsigner tool.
25123
25124 2006-03-25  David Gilbert  <david.gilbert@object-refinery.com>
25125
25126         * javax/swing/JScrollBar.java
25127         (AccessibleJScrollBar.getAccessibleStateSet): Implemented,
25128         (AccessibleJScrollBar.getAccessibleRole): Likewise,
25129         (AccessibleJScrollBar.getAccessibleValue): Likewise,
25130         (AccessibleJScrollBar.getCurrentAccessibleValue): Likewise,
25131         (AccessibleJScrollBar.setCurrentAccessibleValue): Likewise,
25132         (AccessibleJScrollBar.getMinimumAccessibleValue): Likewise,
25133         (AccessibleJScrollBar.getMaximumAccessibleValue): Likewise,
25134         (getAccessibleContext): Updated API docs.
25135
25136 2006-03-25  Tom Tromey  <tromey@redhat.com>
25137
25138         * .externalToolBuilders/CreateLocaleData.launch: Run if resource files
25139         change or if generator script changes.
25140
25141 2006-03-25  Tom Tromey  <tromey@redhat.com>
25142
25143         * javax/naming/ldap/StartTlsRequest.java: New file.
25144         * javax/naming/ldap/StartTlsResponse.java: New file.
25145
25146 2006-03-25  Olivier Jolly  <olivier.jolly@pcedev.com>
25147
25148     * java/net/URLClassLoader.java (FileURLLoader.getResource): Added test
25149     to validate all components of a resource path.
25150     (FileURLLoader.walkPathComponents): Helper which ensures that we are
25151     allowed to walk through every component of a resource path.
25152     
25153 2006-03-25  Michael Koch  <konqueror@gmx.de>
25154
25155         * NEWS: Added item for CLDR 1.3 update.
25156
25157 2006-03-25  Michael Koch  <konqueror@gmx.de>
25158
25159         * resource/gnu/java/locale/LocaleInformation_ar_IN.properties,
25160         resource/gnu/java/locale/LocaleInformation_ar_IQ.properties,
25161         resource/gnu/java/locale/LocaleInformation_ar_KW.properties,
25162         resource/gnu/java/locale/LocaleInformation_ar_LY.properties,
25163         resource/gnu/java/locale/LocaleInformation_mn_MN.properties,
25164         resource/gnu/java/locale/LocaleInformation_uz_AF.properties:
25165         Removed locales.
25166
25167 2006-03-25  Michael Koch  <konqueror@gmx.de>
25168
25169         * resource/gnu/java/locale/LocaleInformation_az.properties,
25170         resource/gnu/java/locale/LocaleInformation_bs.properties,
25171         resource/gnu/java/locale/LocaleInformation_byn.properties,
25172         resource/gnu/java/locale/LocaleInformation_byn_ER.properties,
25173         resource/gnu/java/locale/LocaleInformation_el_CY.properties,
25174         resource/gnu/java/locale/LocaleInformation_gez.properties,
25175         resource/gnu/java/locale/LocaleInformation_gez_ER.properties,
25176         resource/gnu/java/locale/LocaleInformation_gez_ET.properties,
25177         resource/gnu/java/locale/LocaleInformation_haw.properties,
25178         resource/gnu/java/locale/LocaleInformation_haw_US.properties,
25179         resource/gnu/java/locale/LocaleInformation_kok.properties,
25180         resource/gnu/java/locale/LocaleInformation_kok_IN.properties,
25181         resource/gnu/java/locale/LocaleInformation_sid.properties,
25182         resource/gnu/java/locale/LocaleInformation_sid_ET.properties,
25183         resource/gnu/java/locale/LocaleInformation_sl_SI.properties,
25184         resource/gnu/java/locale/LocaleInformation_sr_BA_Cyrl.properties,
25185         resource/gnu/java/locale/LocaleInformation_sr_BA_Latn.properties,
25186         resource/gnu/java/locale/LocaleInformation_sr_Cyrl.properties,
25187         resource/gnu/java/locale/LocaleInformation_syr.properties,
25188         resource/gnu/java/locale/LocaleInformation_syr_SY.properties,
25189         resource/gnu/java/locale/LocaleInformation_tig.properties,
25190         resource/gnu/java/locale/LocaleInformation_tig_ER.properties,
25191         resource/gnu/java/locale/LocaleInformation_uz_AF_Arab.properties,
25192         resource/gnu/java/locale/LocaleInformation_uz_Arab.properties,
25193         resource/gnu/java/locale/LocaleInformation_uz_Latn.properties,
25194         resource/gnu/java/locale/LocaleInformation_wal.properties,
25195         resource/gnu/java/locale/LocaleInformation_wal_ET.properties:
25196         New locales.
25197
25198 2006-03-25  Michael Koch  <konqueror@gmx.de>
25199
25200         * resource/gnu/java/locale/LocaleInformation_fa.properties,
25201         resource/gnu/java/locale/LocaleInformation_kn.properties,
25202         resource/gnu/java/locale/LocaleInformation_kn_IN.properties,
25203         resource/gnu/java/locale/LocaleInformation_ko.properties,
25204         resource/gnu/java/locale/LocaleInformation_sl.properties,
25205         resource/gnu/java/locale/LocaleInformation_so.properties,
25206         resource/gnu/java/locale/LocaleInformation_so_DJ.properties,
25207         resource/gnu/java/locale/LocaleInformation_so_ET.properties,
25208         resource/gnu/java/locale/LocaleInformation_so_SO.properties,
25209         resource/gnu/java/locale/LocaleInformation_sr.properties:
25210         Random fixes I forgot to commit before.
25211
25212 2006-03-25  Michael Koch  <konqueror@gmx.de>
25213
25214         * resource/gnu/java/locale/LocaleInformation_ar_JO.properties,
25215         resource/gnu/java/locale/LocaleInformation_ar_QA.properties,
25216         resource/gnu/java/locale/LocaleInformation_ar_SA.properties,
25217         resource/gnu/java/locale/LocaleInformation_ar_SY.properties,
25218         resource/gnu/java/locale/LocaleInformation_ar_TN.properties,
25219         resource/gnu/java/locale/LocaleInformation_ar_YE.properties,
25220         resource/gnu/java/locale/LocaleInformation_as_IN.properties,
25221         resource/gnu/java/locale/LocaleInformation_be_BY.properties,
25222         resource/gnu/java/locale/LocaleInformation_bn_IN.properties,
25223         resource/gnu/java/locale/LocaleInformation_en.properties,
25224         resource/gnu/java/locale/LocaleInformation_en_IN.properties,
25225         resource/gnu/java/locale/LocaleInformation_en_PK.properties,
25226         resource/gnu/java/locale/LocaleInformation_en_US_POSIX.properties,
25227         resource/gnu/java/locale/LocaleInformation_es_PY.properties,
25228         resource/gnu/java/locale/LocaleInformation_fa.properties,
25229         resource/gnu/java/locale/LocaleInformation_fa_AF.properties,
25230         resource/gnu/java/locale/LocaleInformation_fa_IR.properties,
25231         resource/gnu/java/locale/LocaleInformation_gu_IN.properties,
25232         resource/gnu/java/locale/LocaleInformation_hi_IN.properties,
25233         resource/gnu/java/locale/LocaleInformation_ja_JP.properties,
25234         resource/gnu/java/locale/LocaleInformation_kn_IN.properties,
25235         resource/gnu/java/locale/LocaleInformation_mr_IN.properties,
25236         resource/gnu/java/locale/LocaleInformation_or_IN.properties,
25237         resource/gnu/java/locale/LocaleInformation_pa.properties,
25238         resource/gnu/java/locale/LocaleInformation_pa_IN.properties,
25239         resource/gnu/java/locale/LocaleInformation_ps_AF.properties,
25240         resource/gnu/java/locale/LocaleInformation_ru_RU.properties,
25241         resource/gnu/java/locale/LocaleInformation_sa.properties,
25242         resource/gnu/java/locale/LocaleInformation_sa_IN.properties,
25243         resource/gnu/java/locale/LocaleInformation_ta_IN.properties,
25244         resource/gnu/java/locale/LocaleInformation_te_IN.properties:
25245         Updated currency formats.
25246
25247 2006-03-25  Roman Kennke  <kennke@aicas.com>
25248
25249         * javax/swing/text/AbstractDocument.java
25250         (getAttributeContext): Made method final.
25251         (getCurrentWriter): Likewise.
25252         (getEndPosition): Likewise.
25253         (getProperty): Likewise.
25254         (getStartPosition): Likewise.
25255         (putProperty): Likewise.
25256         (readLock): Likewise.
25257         (readUnlock): Likewise.
25258         (writeLock): Likewise.
25259         (writeUnlock): Likewise.
25260
25261 2006-03-25  Roman Kennke  <kennke@aicas.com>
25262
25263         * javax/swing/InputMap.java
25264         (allKeys): Check if parent keys is null.
25265         * javax/swing/KeyboardManager.java
25266         (registerEntireMap): Also register map's parent keys.
25267         * javax/swing/plaf/metal/MetalRootPaneUI.java
25268         (propertyChange): Also call super.propertyChange().
25269
25270 2006-03-25  Raif S. Naffah  <raif@swiftdsl.com.au>
25271
25272         * tools/gnu/classpath/tools/jarsigner/HashUtils.java: New file.
25273         * tools/gnu/classpath/tools/jarsigner/JarSigner.java: Likewise.
25274         * tools/gnu/classpath/tools/jarsigner/JarVerifier.java: Likewise.
25275         * tools/gnu/classpath/tools/jarsigner/Main.java (Main): Likewise.
25276         * tools/gnu/classpath/tools/jarsigner/SFHelper.java: Likewise.
25277         * tools/gnu/classpath/tools/jarsigner/jarsigner.txt: Likewise.
25278
25279 2006-03-25  Raif S. Naffah  <raif@swiftdsl.com.au>
25280
25281         * gnu/java/util/jar/JarUtils.java: New file.
25282         * java/util/jar/Manifest.java (CRLF): Removed.
25283         (read_main_section): Likewise.
25284         (read_version_info): Likewise.
25285         (expect_header(String,BufferedReader)): Likewise.
25286         (expect_header(String,BufferedReader,String)): Likewise.
25287         (read_header_value): Likewise.
25288         (read_attributes): Likewise.
25289         (read_attribute): Likewise.
25290         (read_individual_sections): Likewise.
25291         (read_section_name): Likewise.
25292         (write_main_section): Likewise.
25293         (write_version_info): Likewise.
25294         (write_header): Likewise.
25295         (write_main_attributes): Likewise.
25296         (write_attribute_entry): Likewise.
25297         (write_individual_sections): Likewise.
25298         (write_entry_attributes): Likewise.
25299         (read): use JarUtils.
25300         (write): Likewise.
25301
25302 2006-03-25  Raif S. Naffah  <raif@swiftdsl.com.au>
25303
25304         * gnu/java/security/pkcs/SignerInfo.java (log): New field.
25305         (DEBUG): Removed.
25306         (debug): Likewise.
25307         (SignerInfo(BERReader)): Updated javadoc.
25308         Use JDK logging.
25309         (SignerInfo(X500Principal,BigInteger,OID,byte[],OID,byte[],byte[])):
25310         New constructor.
25311         (encode): New method.
25312         * gnu/java/security/pkcs/PKCS7SignedData.java (log): New field.
25313         (PKCS7_DATA): Removed.
25314         (DEBUG): Likewise.
25315         (debug): Likewise.
25316         (PKCS7SignedData(BERReader)): Updated javadoc.
25317         Use JDK logging.
25318         (PKCS7SignedData(Set,PKCS7Data,Certificate[],X509CRL[],Set)): New
25319         constructor.
25320         (encode): New method.
25321         * gnu/java/security/pkcs/PKCS7Data.java: New file.
25322         * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java (log): New field.
25323         (encodePrivateKey): Encode x (private MPN) as an OCTET STRING.
25324         (decodePrivateKey): Decode x from an OCTET STRING.
25325         * gnu/java/security/key/dss/DSSPublicKey.java (str): New field.
25326         (toString): New method.
25327         * gnu/java/security/key/dss/DSSPrivateKey.java (DEBUG): New field.
25328         (str): Likewise.
25329         (toString): New method.
25330         * gnu/java/security/key/dss/DSSKey.java (str): New Field.
25331         (toString): New method.
25332         * gnu/java/security/provider/DSAParameterGenerator.java: Removed.
25333
25334 2006-03-25  Roman Kennke  <kennke@aicas.com>
25335
25336         * java/util/GregorianCalender.java
25337         (computeTime): Fix comparison to correctly calculate the
25338         calendar.
25339
25340 2006-03-25  Wolfgang Baer  <WBaer@gmx.de>
25341
25342         Fixes bug #26837
25343         * java/awt/Window.java:         
25344         (setFocusCycleRoot): New overriden method.
25345         (isFocusCycleRoot): Likewise.
25346         (getFocusCycleRootAncestor): Likewise.
25347         * java/awt/Container.java:
25348         (getFocusTraversalPolicy): Check also for anchestor == null.
25349
25350 2006-03-25  Mark Wielaard  <mark@klomp.org>
25351
25352         Fixes bug #26863 reported by John K Peterson <johnandtina@byu.net>
25353         * gnu/java/util/prefs/NodeWriter.java (writeRoot): Don't immediately
25354         close root tag.
25355
25356 2006-03-24  Tom Tromey  <tromey@redhat.com>
25357
25358         * javax/imageio/stream/ImageOutputStreamImpl.java (writeBytes):
25359         Rewrote.
25360         (writeChar): Removed useless cast.
25361         (writeChars(String)): Implemented.
25362         (writeDouble): Rewrote.
25363         (writeFloat): Likewise.
25364         (writeUTF): Implemented.
25365         * javax/imageio/stream/ImageInputStreamImpl.java (byteOrder): Default
25366         to big endian.
25367
25368 2006-03-24  Roman Kennke  <kennke@aicas.com>
25369
25370         * javax/swing/JButton.java
25371         (def): Replaced field with defaultCapable field.
25372         (is_def): Removed field.
25373         (JButton): Initialize defaultCapable with true.
25374         (isDefaultButton): Documented and implemented method by querying
25375         the button's root pane if present.
25376         (isDefaultCapable): Changed def field to defaultCapable.
25377         Added documentation.
25378         (paramString): Call isDefaultButton() instead of accessing field,
25379         which got removed.
25380         (setDefaultCapable): Changed def field to defaultCapable.
25381         Added documentation.
25382         * javax/swing/JRootPane.java
25383         (setDefaultButton): Only change the default button if the
25384         new button is defaultCapable.
25385         * javax/swing/plaf/basic/BasicRootPaneUI.java
25386         (DefaultPressAction): New class.
25387         (DefaultReleaseAction): New class.
25388         (installKeyboardActions): Implemented.
25389         (uninstallKeyboardActions): Implemented.
25390         (propertyChange): Implemented.
25391         * javax/swing/plaf/metal/MetalBorders.java
25392         (ButtonBorder.paintBorder): 'Outsourced' default theme
25393         painting to paintDefaultButtonBorder().
25394         (ButtonBorder.paintDefaultButtonBorder): New helper method
25395         to paint the border in the default theme. This also fixes
25396         painting of the border for default buttons.
25397         (ButtonBorder.paintOceanButtonBorder): Added support for
25398         default button painting. Fixed border for pressed/default state.
25399         * javax/swing/plaf/metal/MetalButtonUI.java
25400         (update): Only paint gradient when in OceanTheme and when the
25401         button is not armed.
25402
25403 2006-03-24  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
25404
25405         * gnu/java/rmi/activation/ActivationSystemTransient.java:
25406         Inherit from Activator.
25407
25408 2006-03-24  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
25409
25410         * gnu/java/rmi/activation/DefaultActivationGroup.java (newInstance):
25411         Print debug message if debug flag is set.
25412         * gnu/java/rmi/activation/DefaultActivationSystem.java: Rewritten.
25413         * gnu/java/rmi/server/ActivatableServerRef.java (activate): assign
25414         detail, do not call iniCause(). (exportClass): New method.
25415         * gnu/java/rmi/server/CombinedClassLoader.java (constructor):
25416         Ignore null (bootstrap) class loader.
25417         * gnu/java/rmi/server/UnicastServerRef.java (methods, skel, stub,
25418         buildMethodHash, findStubSkelClass, getHelperClass): Changed 
25419         visibility to protected.
25420         * java/rmi/activation/Activatable.java (export, register): Rewritten.
25421         (toStub): New method.
25422         * java/rmi/activation/ActivationGroup.java (getSystem): Rewritten.
25423         * java/rmi/activation/ActivationSystem.java (SYSTEM_PORT): 
25424         Explained property java.rmi.activation.port.
25425
25426 2006-03-24  Tom Tromey  <tromey@redhat.com>
25427
25428         * .externalToolBuilders/CreateLocaleData.launch: Updated.
25429         * gnu/java/locale/.cvsignore: New file.
25430         * lib/Makefile.am (LocaleData.java): Put in gnu/java/locale.
25431         * java/util/Locale.java (getAvailableLocales): Clone result.
25432         (getISOCountries): Likewise.
25433         (getISOLanguages): Likewise.
25434         * scripts/generate-locale-list.sh: Make class public.  Added new
25435         array.
25436         * gnu/java/locale/LocaleHelper.java (getCollatorLocales): New method.
25437         (getLocaleCount): Likewise.
25438         * java/text/Collator.java (getInstance): Javadoc typo fix.
25439         (getAvailableLocales): Wrote.
25440
25441 2006-03-24  Roman Kennke  <kennke@aicas.com>
25442
25443         * javax/swing/JTabbedPane.java
25444         (getSelectedComponent): Return null when no component is
25445         selected.
25446
25447 2006-03-24  Mark Wielaard  <mark@klomp.org>
25448
25449         * NEWS: Add cursor and selection improvements.
25450
25451 2006-03-23  David Gilbert  <david.gilbert@object-refinery.com>
25452
25453         * java/awt/Component.java
25454         (getAccessibleName): Just return accessibleName,
25455         * javax/swing/AbstractButton.java
25456         (getAccessibleStateSet): Mark as stub,
25457         (getAccessibleName): Implemented,
25458         (getAcessibleIcon): Mark as stub,
25459         (getAccessibleRelationSet): Likewise,
25460         (getAccessibleAction): Likewise,
25461         (getAccessibleValue): Likewise,
25462         (getAccessibleActionCount): Likewise,
25463         (getAccessibleActionDescription): Likewise,
25464         (doAccessibleAction): Likewise,
25465         (getCurrentAccessibleValue): Likewise,
25466         (setCurrentAccessibleValue): Likewise,
25467         (getMinimumAccessibleValue): Likewise,
25468         (getMaximumAccessibleValue): Likewise,
25469         (getAccessibleText): Likewise,
25470         (getIndexAtPoint): Likewise,
25471         (getCharacterBounds): Likewise,
25472         (getCharCount): Likewise,
25473         (getCaretPosition): Likewise,
25474         (getAtIndex): Likewise,
25475         (getAfterIndex): Likewise,
25476         (getBeforeIndex): Likewise,
25477         (getCharacterAttribute): Likewise,
25478         (getSelectionStart): Likewise,
25479         (getSelectionEnd): Likewise,
25480         (getSelectedText): Likewise,
25481         (getTextRectangle): Likewise,
25482         (setIconTextGap): Fire PropertyChangeEvent, not state changed,
25483         (getIconTextGap): Added @since 1.4,
25484         (setContentAreaFilled): Reordered code to make event sequence match
25485         reference implementation,
25486         * javax/swing/JButton.java
25487         (getSelectedObjects): Removed,
25488         *javax/swing/JComponent.java
25489         (getAccessibleName): Call super.
25490
25491 2006-03-23  David Gilbert  <david.gilbert@object-refinery.com>
25492
25493         * javax/swing/JProgressBar.java
25494         (AccessibleJProgressBar.getAccessibleStateSet): Implemented,
25495         (AccessibleJProgressBar.getAccessibleRole): Added API docs,
25496         (AccessibleJProgressBar.getAccessibleValue): Implemented,
25497         (AccessibleJProgressBar.getCurrentAccessibleValue): Likewise,
25498         (AccessibleJProgressBar.setCurrentAccessibleValue): Likewise,
25499         (AccessibleJProgressBar.getMinimumAccessibleValue): Likewise,
25500         (AccessibleJProgressBar.getMaximumAccessibleValue): Likewise,
25501         (getAccessibleContext): Added API docs.
25502
25503 2006-03-23  Robert Schuster  <robertschuster@fsfe.org>
25504
25505         * javax/swing/plaf/basic/BasicTextUI.java:
25506         (FocusListener.focusLost): Put current selection into the system
25507         clipboard.
25508
25509 2006-03-23  Robert Schuster  <robertschuster@fsfe.org>
25510
25511         * java/awt/Component.java:
25512         (processMouseEvent): Remove call to consume event.
25513         (dispatchEventImpl): Handle specific events first, do focus request
25514         only when mouse event was not yet consumed.
25515         * javax/swing/text/DefaultCaret.java:
25516         (mousePressed): Rewritten.
25517         (setDot): Changed order of operations.
25518         (moveDot): Dito.
25519
25520 2006-03-23  David Gilbert  <david.gilbert@object-refinery.com>
25521
25522         * javax/swing/JComponent.java
25523         (AccessibleJComponent.changeSupport): Removed field,
25524         (AccessibleJComponent.AccessibleJComponent): Updated for removed field,
25525         (AccessibleJComponent.addPropertyChangeListener): Call super,
25526         (AccessibleJComponent.removePropertyChangeListener): Likewise,
25527         * javax/swing/JSlider.java
25528         (AccessibleJSlider.getAccessibleStateSet): Implemented,
25529         (AccessibleJSlider.getAccessibleRole): Likewise,
25530         (AccessibleJSlider.getAccessibleValue): Likewise,
25531         (AccessibleJSlider.getCurrentAccessibleValue): Likewise,
25532         (AccessibleJSlider.setCurrentAccessibleValue): Likewise,
25533         (AccessibleJSlider.getMinimumAccessibleValue): Likewise,
25534         (AccessibleJSlider.getMaximumAccessibleValue): Likewise,
25535         (getAccessibleContext): Added API docs.
25536
25537 2006-03-23  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
25538
25539         * gnu/java/rmi/activation/ActivationSystemTransient.java
25540         (debug): Made public. (constructor): Made protected.
25541         (activate, getActivationDesc): Throw more informative exceptions.
25542         * gnu/java/rmi/server/UnicastConnectionManager.java (toString):
25543         New method.
25544         * gnu/java/rmi/server/UnicastRef.java (remoteToString): 
25545         Stub, implemented.
25546         * gnu/java/rmi/server/UnicastServer.java (incomingMessageCall):
25547         Documented.
25548         * gnu/java/rmi/server/UnicastServerRef.java (incomingMessageCall):
25549         Better exception.
25550         * java/rmi/activation/Activatable.java (obtainId): Use the activation
25551         system, passed in the activation descriptor field.
25552         * java/rmi/activation/ActivationGroup.java (createGroup): Likewise.
25553         * java/rmi/activation/ActivationGroupID.java (system, uid): Changed
25554         to package private final. (equals): Compare uid, not the system. 
25555         (hashCode): Forward to uid.hashCode(). toString(): New method.
25556         * java/rmi/activation/ActivationID.java (readObject, writeObject):
25557         Rewritten. (equals): Compare UID only. toString(): New method.
25558         * java/rmi/server/ObjID.java (eq): New method. (equals): Compare also
25559         UID (space). (hashCode, toString): Rewritten.
25560         * java/rmi/server/RemoteObjectInvocationHandler.java (noArgs): 
25561         New method. (invoke): Treat null as an empty array for parameters.
25562         * java/rmi/server/UID.java (toString): Rewritten. (hashCode):
25563         Include count, do not include the static machineId.
25564
25565 2006-03-23  Tom Tromey  <tromey@redhat.com>
25566
25567         * java/net/URLConnection.java (getContent(Class[])): Implemented.
25568
25569 2006-03-23  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
25570
25571         * tools/gnu/classpath/tools/giop/GRMIC.java (main): Accept -force.
25572         * tools/gnu/classpath/tools/giop/GRMIC.txt: Explain -force.
25573         * tools/gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java
25574         (force): New field. (setForce): New method. (compile): Handle -force.
25575         * tools/gnu/classpath/tools/rmi/RMIC.java (main): Accept -force.
25576         * tools/gnu/classpath/tools/rmi/RMIC.txt: Explain -force.
25577
25578 2006-03-23  Roman Kennke  <kennke@aicas.com>
25579
25580         * javax/swing/JTabbedPane.java
25581         (Page.getBackground): Return the JTabbedPane's background,
25582         rather than the page's component background.
25583         (Page.getForeground): Return the JTabbedPane's foreground,
25584         rather than the page's component foreground.
25585         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
25586         (uninstallUI): Don't set colors to null.
25587         * javax/swing/plaf/metal/MetalTabbedPaneUI.java
25588         (paintTabBackground): Correctly determine the tab background.
25589         (getUnselectedBackground): New helper method to
25590         handle the UI property 'TabbedPane.unselectedBackground'
25591         correctly.
25592
25593 2006-03-23  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
25594
25595         * javax/swing/plaf/basic/BasicInternalFrameUI.java
25596         (BorderListener.showingResizeCursor): New field.
25597         (BorderListener.mouseMoved, BorderListner.mouseExited):
25598         Implemented.
25599
25600 2006-03-23  David Gilbert  <david.gilbert@object-refinery.com>
25601
25602         * javax/swing/JComboBox.java
25603         (selectWithKeyChar): Mark as stub,
25604         * javax/swing/JFileChooser.java
25605         (setDragEnabled): Mark as stub,
25606         (getDragEnabled): Likewise,
25607         * javax/swing/JSlider.java
25608         (AccessibleJSlider.getAccessibleStateSet): Mark as stub,
25609         (AccessibleJSlider.getAccessibleRole): Likewise,
25610         (AccessibleJSlider.getAccessibleValue): Likewise,
25611         (AccessibleJSlider.getCurrentAccessibleValue): Likewise,
25612         (AccessibleJSlider.setCurrentAccessibleValue): Likewise,
25613         (AccessibleJSlider.getMinimumAccessibleValue): Likewise,
25614         (AccessibleJSlider.getMaximumAccessibleValue): Likewise,
25615         * javax/swing/UIManager.java
25616         (installLookAndFeel): Mark as stub,
25617         (setInstalledLookAndFeels): Likewise.
25618
25619 2006-03-23  David Gilbert  <david.gilbert@object-refinery.com>
25620
25621         * javax/swing/filechooser/UnixFileSystemView.java
25622         (getSystemDisplayName): Mark as stub,
25623         (getSystemIcon): Likewise,
25624         (getSystemTypeDescription): Likewise.
25625
25626 2006-03-23  David Gilbert  <david.gilbert@object-refinery.com>
25627
25628         * javax/swing/tree/AbstractLayoutCache.java
25629         (getNodeDimensions): Mark as stub,
25630         (getPreferredHeight): Likewise,
25631         (getPreferredWidth): Likewise,
25632         (getRowsForPaths): Likewise,
25633         (isFixedRowHeight): Likewise,
25634         * javax/swing/tree/DefaultTreeModel.java
25635         (reload()): Mark as stub,
25636         (reload(TreeNode)): Likewise,
25637         (nodeStructureChanged): Likewise,
25638         * javax/swing/tree/DefaultTreeSelectionModel.java
25639         (clone): Mark as stub,
25640         (setRowMapper): Likewise,
25641         (setSelectionPaths): Likewise,
25642         (isRowSelected): Likewise,
25643         (resetRowSelection): Likewise,
25644         (insureRowContinuity): Likewise,
25645         (arePathsContiguous): Likewise,
25646         (canPathsBeAdded): Likewise,
25647         (canPathsBeRemoved): Likewise,
25648         (notifyPathChange): Likewise,
25649         (updateLeadIndex): Likewise,
25650         (insureUniqueness): Likewise,
25651         * javax/swing/tree/FixedHeightLayoutCache.java: Marked all methods as
25652         stubs,
25653         * javax/swing/tree/VariableHeightLayoutCache.java: Likewise.
25654
25655 2006-03-22  Tom Tromey  <tromey@redhat.com>
25656
25657         * javax/swing/text/StyleContext.java (getStaticAttribute): Mark as
25658         stub.
25659         (getStaticAttributeKey): Likewise.
25660         (readAttributeSet): Likewise.
25661         (writeAttributeSet): Likewise.
25662         (readAttributes): Likewise.
25663         (writeAttributes): Likewise.
25664         * javax/swing/text/html/HTMLEditorKit.java (insertAtBoundary): Mark
25665         as stub.
25666         * javax/swing/text/html/HTMLDocument.java (setParagraphAttributes):
25667         Mark as stub.
25668         (fireChangedUpdate): Likewise.
25669         (start): Likewise.
25670         (end): Likewise.
25671         (handleEndOfLineString): Likewise.
25672         (textAreaContent): Likewise.
25673         (preContent): Likewise.
25674         (addSpecialElement): Likewise.
25675         (setInnerHTML): Likewise.
25676         (setOuterHTML): Likewise.
25677         (insertBeforeStart): Likewise.
25678         (insertBeforeEnd): Likewise.
25679         (insertAfterEnd): Likewise.
25680         (insertAfterStart): Likewise.
25681         * javax/swing/table/JTableHeader.java (AccessibleJTableHeaderEntry):
25682         Mark all methods as stub.s
25683         * javax/swing/plaf/metal/MetalTreeUI.java (decodeLineStyle): Mark
25684         as stub.
25685         (paintHorizontalSeparators): Likewise.
25686         * javax/swing/plaf/basic/BasicLookAndFeel.java (loadSystemColors):
25687         Mark as stub.
25688         * javax/swing/MenuSelectionManager.java (processKeyEvent): Mark as
25689         stub.
25690         * java/beans/beancontext/BeanContextSupport.java: Mark most methods
25691         as stubs.
25692         * java/beans/beancontext/BeanContextServicesSupport.java: Mark most
25693         methods as stubs.
25694
25695 2006-03-22  Mark Wielaard  <mark@klomp.org>
25696
25697         * gnu/java/awt/peer/gtk/GtkCursor.java: New class.
25698
25699 2006-03-22  Mark Wielaard  <mark@klomp.org>
25700
25701         Fixes bug #26527
25702         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (gtkWidgetSetCursor):
25703         Takes GtkImage, x and y coordinates.
25704         (gtkWidgetSetCursorUnlocked): Likewise.
25705         (GtkComponentPeer): Set cursor when set.
25706         (setCursor): Handle GtkCursor.
25707         * gnu/java/awt/peer/gtk/GtkToolkit.java (createCustomCursor):
25708         New method.
25709         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
25710         (gtkWidgetSetCursor): Takes GtkImage, x and y coordinates.
25711         (gtkWidgetSetCursorUnlocked): Likewise. Handle custom image.
25712         * include/gnu_java_awt_peer_gtk_GtkComponentPeer.h: Regenerated.
25713
25714 2006-03-23  Roman Kennke  <kennke@aicas.com>
25715
25716         PR 26805
25717         * gnu/java/security/Registry.java
25718         (PKCS5_PAD): Added pad PKCS#5 algorithm.
25719         * gnu/javax/crypto/pad/PadFactory.java
25720         (getInstance): For PKCS#5, also return PKCS#7 pad
25721         algorithm.
25722         (getNames): Added PKCS#5.
25723         * javax/crypto/KeyGenerator.java
25724         (getInstance): Initialize key generator before returning
25725         it.
25726
25727 2006-03-23  Ito Kazumitsu  <kaz@maczuka.gcd.org>
25728
25729         * gnu/regexp/RE.java(REG_X_COMMENTS): New copilation flag,
25730         (initialize): Ignore whiltespaces and comments if REG_X_COMMENTS is set.
25731         * java/util/regex/Pattern.java(constructor): Set RE.REG_X_COMMENTS
25732         if COMMENTS is set.
25733
25734 2006-03-22  Tom Tromey  <tromey@redhat.com>
25735
25736         * javax/swing/plaf/synth/SynthStyle.java (getInt): Implemented.
25737         (getBoolean): Likewise.
25738         (getString): Likewise.
25739         (getIcon): Likewise.
25740
25741 2006-03-22  Mark Wielaard  <mark@klomp.org>
25742
25743         Fixes bug #26301
25744         * gnu/java/awt/peer/GLightweightPeer.java: Extend MouseAdapter.
25745         (GLightweightPeer(Component)): Install MouseListener.
25746         (setCursor): Implement.
25747         (mouseEntered): New method.
25748
25749 2006-03-22  Tom Tromey  <tromey@redhat.com>
25750
25751         * javax/swing/plaf/synth/ColorType.java (MAX_COUNT): No longer
25752         constant.
25753         * javax/swing/plaf/synth/SynthStyle.java (getColorForState): Now
25754         protected.
25755         (getFontForState): Likewise.
25756         (getInsets): Added 'result' argument.
25757         (getPainter): Renamed.
25758
25759 2006-03-22  Tom Tromey  <tromey@redhat.com>
25760
25761         * javax/swing/plaf/synth/SynthPainter.java
25762         (paintScrollBarThumbBackground): Added 'orientation' argument.
25763         (paintScrollBarThumbBorder): Likewise.
25764         (paintSliderThumbBackground): Likewise.
25765         (paintSliderThumbBorder): Likewise.
25766         (paintTabbedPaneTabBackground): Added 'index' argument.
25767         (paintTabbedPaneTabBorder): Likewise.
25768
25769 2006-03-22  Tom Tromey  <tromey@redhat.com>
25770
25771         * java/awt/ScrollPaneAdjustable.java (paramString): Implemented.
25772         (toString): New method.
25773
25774 2006-03-22  Tom Tromey  <tromey@redhat.com>
25775
25776         * doc/hacking.texinfo (Source Code Style Guide): Mention
25777         NotImplementedException.
25778         * javax/imageio/stream/MemoryCacheImageOutputStream.java
25779         (flushBefore): Mark as stub.
25780         (read): Likewise.
25781         * javax/imageio/stream/MemoryCacheImageInputStream.java (flushBefore):
25782         Mark as stub.
25783         * javax/imageio/stream/ImageOutputStreamImpl.java (flushBits): Mark
25784         as stub.
25785         (write): Likewise.
25786         (writeBit): Likewise.
25787         (writeChars): Likewise.
25788         (writeUTF): Likewise.
25789         * javax/imageio/stream/FileCacheImageOutputStream.java (read): Mark
25790         as stub.
25791         (read): Likewise.
25792         * java/net/URLConnection.java (getContent): Mark as stub.
25793         * java/awt/Window.java (applyResourceBundle): Mark as stub.
25794         * java/awt/TexturePaint.java (createContext): Mark as stub.
25795         (getTransparency): Mark as stub.
25796         * java/awt/ScrollPaneAdjustable.java (paramString): Mark as stub.
25797         * java/awt/GridBagLayout.java (AdjustForGravity): Mark as stub.
25798         * java/awt/GraphicsConfiguration.java (getBufferCapabilities): Mark as
25799         stub.
25800         (getImageCapabilities): Likewise.
25801         * java/awt/BasicStroke.java (createStrokedShape): Mark as stub.
25802         * java/awt/AlphaComposite.java (createContext): Mark as stub.
25803         * java/awt/image/renderable/RenderableImageProducer.java: Mark all
25804         methods as stubs.
25805         * java/awt/font/TextMeasurer.java (deleteChar): Mark as stub.
25806         (getAdvanceBetween): Likewise.
25807         (getLayout): Likewise.
25808         (insertChar): Likewise.
25809         (getLineBreakIndex): Likewise.
25810         * java/awt/font/ShapeGraphicAttribute.java (draw): Mark as stub.
25811         (getAdvance): Likewise.
25812         (getAscent): Likewise.
25813         (getDescent): Likewise.
25814         * java/awt/font/LineBreakMeasurer.java (deleteChar): Mark as stub.
25815         (insertChar): Likewise.
25816         (nextLayout): Likewise.
25817         (nextLayout): Likewise.
25818         (nextOffset): Likewise.
25819         (nextOffset): Likewise.
25820         * java/awt/font/ImageGraphicAttribute.java (draw): Mark as stub.
25821         (equals): Likewise.
25822         (getAdvance): Likewise.
25823         (getAscent): Likewise.
25824         (getBounds): Likewise.
25825         (getDescent): Likewise.
25826         (hashCode): Likewise.
25827         (ImageGraphicAttribute): Likewise.
25828         * java/awt/font/GraphicAttribute.java (getBounds): Mark as stub.
25829         (getJustificationInfo): Likewise.
25830         * java/awt/font/GlyphVector.java (getGlyphCharIndex): Mark as stub.
25831         (getGlyphCharIndices): Likewise.
25832         (getGlyphOutline): Likewise.
25833         (getGlyphPixelBounds): Likewise.
25834         (getLayoutFlags): Likewise.
25835         (getPixelBounds): Likewise.
25836         * java/awt/font/GlyphMetrics.java (getLSB): Mark as stub.
25837         (getRSB): Likewise.
25838         * java/nio/channels/Channels.java (newWriter): Mark as stub.
25839         * java/awt/dnd/DragSourceContext.java: Marked most methods as stubs.
25840         * java/awt/dnd/DragGestureRecognizer.java (fireDragGestureRecognized):
25841         Mark as stub.
25842         (resetRecognizer): Likewise.
25843         * java/awt/datatransfer/SystemFlavorMap.java (getFlavorsForNative):
25844         Mark as stub.
25845         (getNativesForFlavor): Likewise.
25846         * javax/swing/plaf/synth/SynthStyle.java: Mark all methods as stub.s
25847         * javax/swing/plaf/synth/SynthLookAndFeel.java (updateStyles): Mark
25848         as stub.
25849         (getRegion): Likewise.
25850         (createUI): Likewise.
25851         (initialize): Likewise.
25852         (uninitialize): Likewise.
25853         (getDefaults): Likewise.
25854         (load): Likewise.
25855         (shouldUpdateStyleOnAncestorChanged): Likewise.
25856         * javax/swing/plaf/synth/SynthGraphicsUtils.java (getMinimumSize):
25857         Mark as stub.
25858         (getPreferredSize): Likewise.
25859         (getMaximumSize): Likewise.
25860         (paintText): Likewise.
25861         * java/text/RuleBasedCollator.java (getCollationElementIterator): Mark
25862         as stub.
25863         * java/text/Collator.java (getAvailableLocales): Mark as stub.
25864
25865 2006-03-22  Wolfgang Baer  <WBaer@gmx.de>
25866
25867         * java/io/ObjectStreamConstants.java: Added since tag.
25868         (PROTOCOL_VERSION_1): Added javadoc.
25869         (PROTOCOL_VERSION_2): Likewise.
25870         * java/io/ObjectOutputStream.java: 
25871         (setDefaultProtocolVersion): Removed.
25872         (useProtocolVersion): Fixed parameter tests. Updated javadoc.
25873         
25874 2006-03-21  Lillian Angel  <langel@redhat.com>
25875
25876         * gnu/javax/imageio/bmp/BMPInfoHeader.java
25877         (BMPInfoHeader): Removed debug lines.
25878         * gnu/javax/imageio/bmp/EncodeRLE4.java
25879         (encode): Implemented.
25880         (uncompress): New function implemented to
25881         uncompress the image before encoding.
25882         * gnu/javax/imageio/bmp/EncodeRLE8.java
25883         (encode): Implemented.
25884         (uncompress): New function implemented to
25885         uncompress the image before encoding.
25886
25887 2006-03-21  Roman Kennke  <kennke@aicas.com>
25888
25889         * javax/swing/text/html/FormView.java
25890         (getImageData): New helper method.
25891
25892 2006-03-21  Tom Tromey  <tromey@redhat.com>
25893
25894         * vm/reference/gnu/classpath/Unsafe.java (arrayBaseOffset): Javadoc
25895         fix.
25896         (Unsafe): Now final.
25897
25898 2006-03-21  Roman Kennke  <kennke@aicas.com>
25899
25900         * javax/swing/text/html/FormView.java
25901         (MouseEventListener): New inner class.
25902
25903 2006-03-21  Roman Kennke  <kennke@aicas.com>
25904
25905         * javax/swing/text/html/ListView.java: New file.
25906
25907 2006-03-21  Tom Tromey  <tromey@redhat.com>
25908
25909         * java/text/Bidi.java: Completed.
25910
25911 2006-03-21  Anthony Balkissoon  <abalkiss@redhat.com>
25912
25913         * javax/swing/JTable.java:
25914         (columnAtPoint): Removed the null check, this method should throw a NPE
25915         if the argument is null.
25916
25917 2006-03-21  Robert Schuster  <robertschuster@fsfe.org>
25918
25919         * javax/swing/text/DefaultHighlighter.java:
25920         (DefaultHighlighter.DefaultHighlightPainter.paint): Rewritten.
25921
25922 2006-03-21  Robert Schuster  <robertschuster@fsfe.org>
25923
25924         * javax/swing/text/DefaultCaret.java: Added class variable denoting
25925         the textcomponent having a selection.
25926         (clearSelection): Clear 'componentWithSelection' variable.
25927         (handleSelection): Clear selection of current component having a
25928         selection before setting a new selection in another component.
25929         (mouseDragged): Only react on left mouse button.
25930         (mouseClicked): Only react on left mouse button.
25931
25932 2006-03-21  Roman Kennke  <kennke@aicas.com>
25933
25934         * javax/swing/plaf/metal/MetalTabbedPaneUI.java
25935         (paintContentBorderTopEdge): Implemented.
25936         (paintContentBorderBottomEdge): Implemented.
25937         (paintContentBorderLeftEdge): Implemented.
25938         (paintContentBorderRightEdge): Implemented.
25939         (isLastTabInRun): New helper method.
25940
25941 2006-03-21  Roman Kennke  <kennke@aicas.com>
25942
25943         * javax/swing/JTabbedPane.java
25944         (Page.getForeground): Fall back to returning the tabbed pane's
25945         foreground if no foreground has been exclicitly set.
25946
25947 2006-03-21  Roman Kennke  <kennke@aicas.com>
25948
25949         * javax/swing/plaf/metal/MetalComboBoxButton.java
25950         (setEnabled): Update colors of button correctly.
25951         * javax/swing/plaf/metal/MetalComboBoxUI.java
25952         (MetalPropertyChangeListener.propertyChange): Update the colors
25953         of the list and the button when any of the color properties
25954         of the ComboBox change.
25955
25956 2006-03-21  Roman Kennke  <kennke@aicas.com>
25957
25958         * javax/swing/plaf/basic/BasicButtonUI.java
25959         (uninstallDefaults): Only nullify button colors if they are
25960         not UIResource instances.
25961
25962 2006-03-21  David Gilbert  <david.gilbert@object-refinery.com>
25963
25964         * javax/swing/JComponent.java
25965         (AccessibleJComponent.getAccessibleDescription): Call super,
25966         * javax/swing/JToolTip.java: API doc updates all over, plus
25967         (AccessibleJToolTip.getAccessibleDescription): Implemented,
25968         (AccessibleJToolTip.getAccessibleRole): Implemented,
25969         (getAccessibleContext): Implemented,
25970         (paramString): Reimplemented,
25971         (setComponent): Fire PropertyChangeEvent,
25972         (setTipText): Likewise.
25973
25974 2006-03-20  Andrew John Hughes  <gnu_andrew@member.fsf.org>
25975
25976         * java/util/Formatter.java:
25977         Make the class final.
25978         
25979 2006-03-20  Andrew John Hughes  <gnu_andrew@member.fsf.org>
25980
25981         * java/lang/System.java:
25982         (nanoTime()): Documented.
25983         * java/lang/Thread.java:
25984         (setUncaughtExceptionHandler(UncaughtExceptionHandler):
25985         Added docs and security check.
25986         (getUncaughtExceptionHandler()): Documented.
25987         (setDefaultUncaughtExceptionHandler(UncaughtExceptionHandler):
25988         Added docs and security check.
25989         (getDefaultUncaughtExceptionHandler()): Documented.
25990         (getId()): Documented.
25991         (Thread.State): Documented.
25992         * vm/reference/gnu/classpath/Unsafe.java:
25993         Documented.
25994         (getUnsafe()): Updated to handle security.
25995         
25996 2006-03-20  Tom Tromey  <tromey@redhat.com>
25997
25998         * java/lang/System.java:
25999         (nanoTime()): Implemented.
26000         * java/lang/Thread.java:
26001         (getId()): Implemented.
26002         * java/util/AbstractMap.java:
26003         (SimpleImmutableEntry): New 1.6 class.
26004         (BasicMapEntry): Modified to be SimpleEntry.
26005         * java/util/Collections.java:
26006         Modified to use SimpleEntry.
26007         * java/util/EnumMap.java: Likewise.
26008         * java/util/HashMap.java: Likewise.
26009         * java/util/Hashtable.java: Likewise.
26010         * java/util/TreeMap.java: Likewise.
26011         * vm/reference/gnu/classpath/Unsafe.java:
26012         New class to handle low-level facilities for concurrency.
26013         * vm/reference/java/lang/VMSystem.java:
26014         (nanoTime()): Implemented.
26015         
26016 2006-03-20  Tom Tromey  <tromey@redhat.com>
26017
26018         * java/security/cert/PKIXCertPathChecker.java: Javadoc fix.
26019         * java/security/cert/CertStoreSpi.java: Added import for javadoc.
26020         (CertStoreSpi): Updated throws clause.
26021         * java/security/cert/CertPathValidatorSpi.java: Added import for
26022         javadoc.
26023         (engineValidate): Updated 'throws' clause.
26024         * java/security/cert/PKIXParameters.java: Javadoc fix.
26025         * java/security/cert/X509CertSelector.java
26026         (setAuthorityKeyIdentifier): Javadoc fix.
26027
26028 2006-03-20  Tom Tromey  <tromey@redhat.com>
26029
26030         * .classpath: Build gnu.javax.swing.plaf.
26031
26032 2006-03-20  Lillian Angel  <langel@redhat.com>
26033
26034         * gnu/javax/imageio/bmp/BMPDecoder.java:
26035         Removed unneeded import.
26036         * gnu/javax/imageio/bmp/BMPEncoder.java:
26037         New class.
26038         * gnu/javax/imageio/bmp/BMPFileHeader.java
26039         (BMPFileHeader): New constructor used to create info header
26040         for an output stream.
26041         (write): Fixed indexes.
26042         * gnu/javax/imageio/bmp/BMPImageReaderSpi.java:
26043         Initialized writerSpiNames field.
26044         * gnu/javax/imageio/bmp/BMPImageWriter.java:
26045         New class.
26046         * gnu/javax/imageio/bmp/BMPImageWriterSpi.java:
26047         New class.
26048         * gnu/javax/imageio/bmp/BMPInfoHeader.java:
26049         Change visibility for fields.
26050         (BMPInfoHeader): New constructor used to create
26051         file header for an output stream.
26052         (intToDWord): New method. Converts an int to a
26053         double word.
26054         (intToWord): New method. Converts an int to a word.
26055         * gnu/javax/imageio/bmp/DecodeBF32.java:
26056         Removed unneeded imports.
26057         * gnu/javax/imageio/bmp/EncodeRGB1.java:
26058         New class.
26059         * gnu/javax/imageio/bmp/EncodeRGB16.java:
26060         New class.
26061         * gnu/javax/imageio/bmp/EncodeRGB24.java:
26062         New class.
26063         * gnu/javax/imageio/bmp/EncodeRGB32.java:
26064         New class.
26065         * gnu/javax/imageio/bmp/EncodeRGB4.java:
26066         New class.
26067         * gnu/javax/imageio/bmp/EncodeRGB8.java:
26068         New class.
26069         * gnu/javax/imageio/bmp/EncodeRLE4.java:
26070         New class.
26071         * gnu/javax/imageio/bmp/EncodeRLE8.java:
26072         New class.
26073         * javax/imageio/ImageIO.java:
26074         Fixed comment.
26075
26076 2006-03-20  Roman Kennke  <kennke@aicas.com>
26077
26078         * javax/swing/plaf/metal/MetalTabbedPaneUI.java
26079         (TabbedPaneLayout.normalizeTabRuns): New method.
26080         (createLayoutManager): Return the Metal TabbedPaneLayout, not super.
26081         (paintTabBorder): Replaced if-else chain with switch.
26082         (paintTopTabBorder): Rewritten to correctly paint tab. Also support
26083         Ocean theme.
26084         (paintBottomTabBorder): Rewritten to correctly paint tab. Also support
26085         Ocean theme.
26086         (paintLeftTabBorder): Rewritten to correctly paint tab. Also support
26087         Ocean theme.
26088         (paintRightTabBorder): Rewritten to correctly paint tab. Also support
26089         Ocean theme.
26090         (paintTabBackground): Fetch background color from the TabbedPane.
26091         Fixed painting and improved by not using fillPolygon, and instead
26092         using fillRectangle. Replaced if-else chain with switch.
26093         (calculateMaxTabHeight): Added overridden method with FIXME.
26094         (getTabRunOverlay): Overridden to provide overlay for LEFT or RIGHT
26095         placement.
26096         (paintContentBorderTopEdge): Added stub with FIXME.
26097         (paintContentBorderBottomEdge): Added stub with FIXME.
26098         (paintContentBorderLeftEdge): Added stub with FIXME.
26099         (paintContentBorderRightEdge): Added stub with FIXME.
26100
26101 2006-03-20  Roman Kennke  <kennke@aicas.com>
26102
26103         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
26104         (tabsOpaque): New field.
26105         (installDefaults): Fetch tabsOpaque property from UIManager.
26106         (paintTab): Fill tab background when tabsOpaque property is true.
26107         * javax/swing/plaf/basic/BasicLookAndFeel.java
26108         (initComponentDefaults): Added TabbedPane.tabsOpaque property.
26109
26110 2006-03-20  Roman Kennke  <kennke@aicas.com>
26111
26112         * javax/swing/JTabbedPane.java
26113         (Pane.getBackground): When no background was explicitly set, return
26114         the JTabbedPane's background.
26115
26116 2006-03-20  Wolfgang Baer  <WBaer@gmx.de>
26117
26118         * org/omg/CORBA/ACTIVITY_COMPLETED.java,
26119         * org/omg/CORBA/ACTIVITY_REQUIRED.java,
26120         * org/omg/CORBA/BAD_INV_ORDER.java,
26121         * org/omg/CORBA/BAD_CONTEXT.java,
26122         * org/omg/CORBA/BAD_OPERATION.java,
26123         * org/omg/CORBA/BAD_PARAM.java,
26124         * org/omg/CORBA/BAD_QOS.java,
26125         * org/omg/CORBA/BAD_TYPECODE.java,
26126         * org/omg/CORBA/CODESET_INCOMPATIBLE.java,
26127         * org/omg/CORBA/COMM_FAILURE.java,
26128         * org/omg/CORBA/CurrentHolder.java,
26129         * org/omg/CORBA/DATA_CONVERSION.java,
26130         * org/omg/CORBA/FREE_MEM.java,
26131         * org/omg/CORBA/IMP_LIMIT.java,
26132         * org/omg/CORBA/INITIALIZE.java,
26133         * org/omg/CORBA/INTERNAL.java,
26134         * org/omg/CORBA/INTF_REPOS.java,
26135         * org/omg/CORBA/INVALID_ACTIVITY.java,
26136         * org/omg/CORBA/INVALID_TRANSACTION.java,
26137         * org/omg/CORBA/INV_FLAG.java,
26138         * org/omg/CORBA/INV_IDENT.java,
26139         * org/omg/CORBA/INV_OBJREF.java,
26140         * org/omg/CORBA/INV_POLICY.java,
26141         * org/omg/CORBA/MARSHAL.java,
26142         * org/omg/CORBA/NO_RESOURCES.java,
26143         * org/omg/CORBA/NO_MEMORY.java,
26144         * org/omg/CORBA/NO_IMPLEMENT.java,
26145         * org/omg/CORBA/NO_PERMISSION.java,
26146         * org/omg/CORBA/NO_RESPONSE.java,
26147         * org/omg/CORBA/OBJECT_NOT_EXIST.java,
26148         * org/omg/CORBA/OBJ_ADAPTER.java,
26149         * org/omg/CORBA/ParameterModeHolder.java,
26150         * org/omg/CORBA/PolicyError.java,
26151         * org/omg/CORBA/PolicyErrorHolder.java,
26152         * org/omg/CORBA/PolicyHolder.java,
26153         * org/omg/CORBA/PolicyListHolder.java,
26154         * org/omg/CORBA/REBIND.java,
26155         * org/omg/CORBA/TIMEOUT.java,
26156         * org/omg/CORBA/TRANSACTION_MODE.java,
26157         * org/omg/CORBA/TRANSACTION_REQUIRED.java,
26158         * org/omg/CORBA/TRANSACTION_ROLLEDBACK.java,
26159         * org/omg/CORBA/TRANSACTION_UNAVAILABLE.java,
26160         * org/omg/CORBA/TRANSIENT.java,
26161         * org/omg/CORBA/TypeCodeHolder.java,
26162         * org/omg/CORBA/UNKNOWN.java,
26163         * org/omg/CORBA/UnionMember.java,
26164         * org/omg/CORBA/UnknownUserException.java,
26165         * org/omg/CORBA/UnknownUserExceptionHolder.java,
26166         * org/omg/CORBA/WrongTransactionHolder.java,
26167         * org/omg/IOP/IOR.java,
26168         * org/omg/IOP/IORHolder.java,
26169         * org/omg/IOP/MultipleComponentProfileHolder.java,
26170         * org/omg/IOP/ServiceContextHolder.java,
26171         * org/omg/IOP/ServiceContextListHolder.java,
26172         * org/omg/IOP/TaggedComponentHolder.java,
26173         * org/omg/IOP/TaggedProfileHolder.java,
26174         * org/omg/PortableInterceptor/ObjectReferenceTemplateSeqHolder.java,
26175         * org/omg/PortableInterceptor/ObjectReferenceTemplateHolder.java,
26176         * org/omg/PortableInterceptor/IORInterceptor_3_0Holder.java,
26177         * org/omg/PortableInterceptor/ObjectReferenceFactoryHolder.java:
26178         Made class final, various javadoc fixlets.      
26179         * org/omg/CORBA/CompletionStatus.java, 
26180         * org/omg/CORBA/PERSIST_STORE.java,
26181         * org/omg/CORBA/ValueMember.java,
26182         * org/omg/PortableInterceptor/ForwardRequest.java,
26183         * org/omg/PortableInterceptor/InvalidSlot.java,
26184         * org/omg/IOP/CodecPackage/TypeMismatch.java,
26185         * org/omg/IOP/CodecPackage/InvalidTypeForEncoding.java,
26186         * org/omg/IOP/CodecPackage/FormatMismatch.java,
26187         * org/omg/IOP/CodecFactoryPackage/UnknownEncoding.java,
26188         * org/omg/IOP/Encoding.java,
26189         * org/omg/IOP/TaggedComponent.java,
26190         * org/omg/IOP/TaggedProfile.java: Made class final.
26191         * org/omg/CORBA/SystemException.java: Made class abstract.      
26192         * org/omg/CORBA/UserException.java: Made class abstract.
26193         (UserException): Now protected.
26194         (UserException(String)): Likewise.
26195         * org/omg/Messaging/SyncScopeHelper.java: Now abstract, javadoc fixes.
26196         (typecode): Removed unused private variable.
26197
26198 2006-03-20  Chris Burdess  <dog@gnu.org>
26199
26200         Fixes PR 26761
26201         * gnu/xml/stream/XMLParser.java: Permit U+fffd as XML Char.
26202
26203 2006-03-20  Roman Kennke  <kennke@aicas.com>
26204
26205         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
26206         (paintTabArea): Look up tab run indices in tabRuns array instead
26207         of using the index directly.
26208
26209 2006-03-20  Roman Kennke  <kennke@aicas.com>
26210
26211         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
26212         (paintTab): Fixed painting.
26213         (paintText): Fixed text painting.
26214         (paintFocusIndicator): Fixed painting of the focus rectangle.
26215         (paintContentBorder): Fixed painting of the content area.
26216
26217 2006-03-20  Mark Wielaard  <mark@klomp.org>
26218
26219         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java (pixbufLock): New
26220         static lock Object field.
26221         (produce): Synchronize on pixbufLock when calling initState(),
26222         pumpBytes() and pumpDone().
26223         (finalize): Likewise when calling finish().
26224         (GdkPixbufWriter.write): Likewise when calling streamImage().
26225         * gnu/java/awt/peer/gtk/GtkImage.java (GtkImage(String)): Likewise
26226         when calling loadPixbuf. Chain exception.
26227         (GtkImage(byte[])): Likewise when calling loadImageFromData.
26228         (GtkImage(URL)): Likewise.
26229         (GtkImage(int,int)): Likewise when calling createPixmap().
26230         (GtkImage(GtkImage,int,int,int)): Likewise when calling
26231         createScaledPixmap().
26232         (GtkImage(Pointer)): Likewise when calling createFromPixbuf().
26233         (setImage): Likewise when calling createPixmap() and setPixels().
26234         (getSource): Likewise when calling getPixels().
26235         (flush): Likewise when calling freePixmap().
26236         (finalize): Likewise.
26237         (drawImage): Likewise when calling drawPixelsScaledFlipped() and
26238         drawPixelsScaledFlipped().
26239         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
26240         (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_initState): Remove
26241         gdk_threads_enter/leave().
26242         (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_finish): Likewise.
26243         (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_pumpDone): Likewise.
26244         (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_streamImage): Likewise.
26245         (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_pumpBytes): Likewise.
26246         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c
26247         (Java_gnu_java_awt_peer_gtk_GtkImage_loadPixbuf): Likewise.
26248         (Java_gnu_java_awt_peer_gtk_GtkImage_loadImageFromData): Likewise.
26249         (Java_gnu_java_awt_peer_gtk_GtkImage_createFromPixbuf): Likewise.
26250         (Java_gnu_java_awt_peer_gtk_GtkImage_getPixels): Likewise.
26251         (Java_gnu_java_awt_peer_gtk_GtkImage_setPixels): Likewise.
26252         (Java_gnu_java_awt_peer_gtk_GtkImage_createPixmap): Likewise.
26253         (Java_gnu_java_awt_peer_gtk_GtkImage_freePixmap): Likewise.
26254         (Java_gnu_java_awt_peer_gtk_GtkImage_createScaledPixmap): Likewise.
26255
26256 2006-03-20  Roman Kennke  <kennke@aicas.com>
26257
26258         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
26259         (calculateTabHeight): Not need to use SwingUtilities here.
26260         (getTabInsets): Do not rotate insets.
26261
26262 2006-03-20  Roman Kennke  <kennke@aicas.com>
26263
26264         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
26265         (paint): Make sure the layout is valid before painting.
26266         (paintTabArea): Made tab painting more straightforward and efficient.
26267
26268 2006-03-20  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
26269
26270         * javax/swing/JTable.java (ROWS_PER_WHEEL_CLICK): Removed.
26271         (getScrollableUnitIncrement): Rewritten.
26272         * javax/swing/JTree.java (ROWS_PER_WHEEL_CLICK): Removed.
26273         (getScrollableUnitIncrement): Rewritten.
26274         * javax/swing/plaf/basic/BasicScrollPaneUI.java
26275         (ROWS_PER_WHEEL_CLICK): New field. 
26276         (MouseWheelHandler.mouseWheelMoved): Rewritten.
26277
26278 2006-03-20  Roman Kennke  <kennke@aicas.com>
26279
26280         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
26281         (paint): Make sure the layout is valid before painting.
26282         (paintTabArea): Made tab painting more straightforward and efficient.
26283
26284 2006-03-20  Roman Kennke  <kennke@aicas.com>
26285
26286         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
26287         (MouseHandler.mousePressed): Rewritten for clearer and simpler
26288         code.
26289         (MouseHandler.mouseEntered): Implemented to set the rollover tab.
26290         (MouseHandler.mouseMoved): Implemented to set the rollover tab.
26291         (MouseHandler.mouseExited): Implemented to unset the rollover tab.
26292         (TabbedPaneLayout.calculateLayoutInfo): Don't set the component's
26293         bounds here. That is moved into layoutContainer().
26294         (calculateSize): Correctly respect insets. Made code slightly more
26295         clear and efficient.
26296         (calculateTabRects): Rewritten completely. The old code was
26297         not quite right and unstable in some situations.
26298         (layoutContainer): Moved layout of tabbed pane's subcomponents
26299         here.
26300         (tabRunsDirty): New field.
26301         (rolloverTab): New field.
26302         (tabForCoordinate): Rewritten for simplicity and correctness.
26303         (setRolloverTab): New method.
26304         (getRolloverTab): New method.
26305
26306 2006-03-20  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
26307
26308         * javax/swing/JTable.java (getScrollableUnitIncrement): Rewritten.
26309         * javax/swing/JTree.java (getScrollableUnitIncrement): Rewritten.
26310         (getScrollableUnitIncrement
26311         * javax/swing/Scrollable.java: Documented.
26312         * javax/swing/plaf/basic/BasicScrollPaneUI.java 
26313         (MouseWheelHandler):Rewritten.
26314
26315 2006-03-20  Andrew John Hughes  <gnu_andrew@member.fsf.org>
26316
26317         * doc/vmintegration.texinfo:
26318         Updated with gnu.classpath.Unsafe
26319         
26320 2006-03-20  Andrew John Hughes  <gnu_andrew@member.fsf.org>
26321
26322         * NEWS:
26323         Updated with VMArray and Unsafe changes.
26324         
26325 2006-03-20  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
26326
26327         * javax/swing/JTable.java (ROWS_PER_WHEEL_CLICK): New field.
26328         (getScrollableUnitIncrement): Rewritten.
26329         * javax/swing/JTree.java (ROWS_PER_WHEEL_CLICK): New field.
26330         (getScrollableUnitIncrement): Rewritten. 
26331         (getScrollableBlockIncrement): Rewritten.
26332         * javax/swing/plaf/basic/BasicScrollPaneUI.java 
26333         (MouseWheelHandler): Implemented. (ViewportContainerListener): 
26334         New class. (containerListener): New field. (SCROLL_NON_SCROLABLES): 
26335         New field. (installListeners): Install wheel listeners. 
26336         (uninstallListeners): Uninstall wheel listeners.
26337         * javax/swing/plaf/basic/BasicTableUI.java: Remove the implementation
26338         of the MouseWheelListener. (installListeners): Do not install wheel
26339         listener. (ROWS_PER_WHEEL_CLICK): Removed.
26340
26341 2006-03-19  Andrew John Hughes  <gnu_andrew@member.fsf.org>
26342
26343         * vm/reference/gnu/classpath/Unsafe.java:
26344         Documented.
26345         (getUnsafe()): Updated to handle security.
26346
26347 2006-03-19  Tom Tromey  <tromey@redhat.com>
26348
26349         * vm/reference/gnu/classpath/Unsafe.java:
26350         New class to handle low-level facilities for concurrency.
26351
26352 2006-03-19  Mark Wielaard  <mark@klomp.org>
26353
26354         * include/Makefile.am: Rename PlainDatagramSocketImpl to
26355         VMPlainDatagramSocketImpl and PlainSocketImpl to VMPlainSocketImpl.
26356         * include/gnu_java_net_VMPlainDatagramSocketImpl.h: Regenerated.
26357         * include/gnu_java_net_VMPlainSocketImpl.h: Likewise.
26358
26359 2006-03-19  Mark Wielaard  <mark@klomp.org>
26360
26361         * gnu/java/awt/peer/gtk/GdkFontPeer.java (getPostScriptName): Return
26362         familyName.
26363         * gnu/java/awt/peer/gtk/GtkFontPeer.java: Removed unused file.
26364
26365 2006-03-19  Michael Koch  <konqueror@gmx.de>
26366
26367         * resource/gnu/java/locale/LocaleInformation_aa_ET.properties,
26368         resource/gnu/java/locale/LocaleInformation_am.properties,
26369         resource/gnu/java/locale/LocaleInformation_am_ET.properties,
26370         resource/gnu/java/locale/LocaleInformation_as_IN.properties,
26371         resource/gnu/java/locale/LocaleInformation_az_Cyrl.properties,
26372         resource/gnu/java/locale/LocaleInformation_bg.properties,
26373         resource/gnu/java/locale/LocaleInformation_bn_IN.properties,
26374         resource/gnu/java/locale/LocaleInformation_ca.properties,
26375         resource/gnu/java/locale/LocaleInformation_cs.properties,
26376         resource/gnu/java/locale/LocaleInformation_cy.properties,
26377         resource/gnu/java/locale/LocaleInformation_da.properties,
26378         resource/gnu/java/locale/LocaleInformation_de.properties,
26379         resource/gnu/java/locale/LocaleInformation_dv.properties,
26380         resource/gnu/java/locale/LocaleInformation_el.properties,
26381         resource/gnu/java/locale/LocaleInformation_en.properties,
26382         resource/gnu/java/locale/LocaleInformation_en_GB.properties,
26383         resource/gnu/java/locale/LocaleInformation_en_IN.properties,
26384         resource/gnu/java/locale/LocaleInformation_en_PK.properties,
26385         resource/gnu/java/locale/LocaleInformation_en_SG.properties,
26386         resource/gnu/java/locale/LocaleInformation_en_US_POSIX.properties,
26387         resource/gnu/java/locale/LocaleInformation_es.properties,
26388         resource/gnu/java/locale/LocaleInformation_es_AR.properties,
26389         resource/gnu/java/locale/LocaleInformation_es_BO.properties,
26390         resource/gnu/java/locale/LocaleInformation_es_CL.properties,
26391         resource/gnu/java/locale/LocaleInformation_es_CO.properties,
26392         resource/gnu/java/locale/LocaleInformation_es_CR.properties,
26393         resource/gnu/java/locale/LocaleInformation_es_DO.properties,
26394         resource/gnu/java/locale/LocaleInformation_es_EC.properties,
26395         resource/gnu/java/locale/LocaleInformation_es_ES.properties,
26396         resource/gnu/java/locale/LocaleInformation_es_GT.properties,
26397         resource/gnu/java/locale/LocaleInformation_es_HN.properties,
26398         resource/gnu/java/locale/LocaleInformation_es_MX.properties,
26399         resource/gnu/java/locale/LocaleInformation_es_NI.properties,
26400         resource/gnu/java/locale/LocaleInformation_es_PA.properties,
26401         resource/gnu/java/locale/LocaleInformation_es_PE.properties,
26402         resource/gnu/java/locale/LocaleInformation_es_PR.properties,
26403         resource/gnu/java/locale/LocaleInformation_es_PY.properties,
26404         resource/gnu/java/locale/LocaleInformation_es_SV.properties,
26405         resource/gnu/java/locale/LocaleInformation_es_US.properties,
26406         resource/gnu/java/locale/LocaleInformation_es_UY.properties,
26407         resource/gnu/java/locale/LocaleInformation_es_VE.properties,
26408         resource/gnu/java/locale/LocaleInformation_fa.properties,
26409         resource/gnu/java/locale/LocaleInformation_fa_AF.properties,
26410         resource/gnu/java/locale/LocaleInformation_fa_IR.properties,
26411         resource/gnu/java/locale/LocaleInformation_fi.properties,
26412         resource/gnu/java/locale/LocaleInformation_fr.properties,
26413         resource/gnu/java/locale/LocaleInformation_fr_CA.properties,
26414         resource/gnu/java/locale/LocaleInformation_ga.properties,
26415         resource/gnu/java/locale/LocaleInformation_gu_IN.properties,
26416         resource/gnu/java/locale/LocaleInformation_hi_IN.properties,
26417         resource/gnu/java/locale/LocaleInformation_hr.properties,
26418         resource/gnu/java/locale/LocaleInformation_hu.properties,
26419         resource/gnu/java/locale/LocaleInformation_id.properties,
26420         resource/gnu/java/locale/LocaleInformation_is.properties,
26421         resource/gnu/java/locale/LocaleInformation_it.properties,
26422         resource/gnu/java/locale/LocaleInformation_ja.properties,
26423         resource/gnu/java/locale/LocaleInformation_kk.properties,
26424         resource/gnu/java/locale/LocaleInformation_kl.properties,
26425         resource/gnu/java/locale/LocaleInformation_km.properties,
26426         resource/gnu/java/locale/LocaleInformation_ky.properties,
26427         resource/gnu/java/locale/LocaleInformation_lo.properties,
26428         resource/gnu/java/locale/LocaleInformation_lo_LA.properties,
26429         resource/gnu/java/locale/LocaleInformation_lt.properties,
26430         resource/gnu/java/locale/LocaleInformation_lt_LT.properties,
26431         resource/gnu/java/locale/LocaleInformation_lv.properties,
26432         resource/gnu/java/locale/LocaleInformation_mk.properties,
26433         resource/gnu/java/locale/LocaleInformation_mn.properties,
26434         resource/gnu/java/locale/LocaleInformation_mr.properties,
26435         resource/gnu/java/locale/LocaleInformation_mr_IN.properties,
26436         resource/gnu/java/locale/LocaleInformation_ms.properties,
26437         resource/gnu/java/locale/LocaleInformation_ms_BN.properties,
26438         resource/gnu/java/locale/LocaleInformation_mt.properties,
26439         resource/gnu/java/locale/LocaleInformation_nb.properties,
26440         resource/gnu/java/locale/LocaleInformation_nl.properties,
26441         resource/gnu/java/locale/LocaleInformation_nn.properties,
26442         resource/gnu/java/locale/LocaleInformation_om_ET.properties,
26443         resource/gnu/java/locale/LocaleInformation_or_IN.properties,
26444         resource/gnu/java/locale/LocaleInformation_pa.properties,
26445         resource/gnu/java/locale/LocaleInformation_pl.properties,
26446         resource/gnu/java/locale/LocaleInformation_pt.properties,
26447         resource/gnu/java/locale/LocaleInformation_ru.properties,
26448         resource/gnu/java/locale/LocaleInformation_ru_RU.properties,
26449         resource/gnu/java/locale/LocaleInformation_ru_UA.properties,
26450         resource/gnu/java/locale/LocaleInformation_sa.properties,
26451         resource/gnu/java/locale/LocaleInformation_sa_IN.properties,
26452         resource/gnu/java/locale/LocaleInformation_sk.properties,
26453         resource/gnu/java/locale/LocaleInformation_sr_Latn.properties,
26454         resource/gnu/java/locale/LocaleInformation_sv.properties,
26455         resource/gnu/java/locale/LocaleInformation_sw.properties,
26456         resource/gnu/java/locale/LocaleInformation_sw_TZ.properties,
26457         resource/gnu/java/locale/LocaleInformation_ta_IN.properties,
26458         resource/gnu/java/locale/LocaleInformation_te.properties,
26459         resource/gnu/java/locale/LocaleInformation_te_IN.properties,
26460         resource/gnu/java/locale/LocaleInformation_th.properties,
26461         resource/gnu/java/locale/LocaleInformation_ti.properties,
26462         resource/gnu/java/locale/LocaleInformation_ti_ER.properties,
26463         resource/gnu/java/locale/LocaleInformation_ti_ET.properties,
26464         resource/gnu/java/locale/LocaleInformation_tr.properties,
26465         resource/gnu/java/locale/LocaleInformation_tt.properties,
26466         resource/gnu/java/locale/LocaleInformation_uk.properties,
26467         resource/gnu/java/locale/LocaleInformation_ur.properties,
26468         resource/gnu/java/locale/LocaleInformation_uz.properties,
26469         resource/gnu/java/locale/LocaleInformation_zh.properties,
26470         resource/gnu/java/locale/LocaleInformation_zh_Hant.properties:
26471         More updates for CLDR 1.3.
26472         
26473 2006-03-19  Andrew John Hughes  <gnu_andrew@member.fsf.org>
26474
26475         * doc/vmintegration.texinfo:
26476         Updated to include VMArray.
26477         * include/Makefile.am:
26478         Replace java_lang_reflect_Array.h with
26479         java_lang_reflect_VMArray.h
26480         * include/java_lang_reflect_VMArray.h:
26481         New autogenerated header.
26482         * include/java_lang_reflect_Array.h:
26483         Removed.
26484         * java/lang/reflect/Array.java:
26485         (newInstance(Class,int)): Calls VMArray.
26486         (createMultiArray(Class,int[],int)): Likewise.
26487         (createObjectArray(Class,int)): Removed.
26488         * native/jni/java-lang/Makefile.am:
26489         Replaced java_lang_reflect_Array.c with
26490         java_lang_reflect_VMArray.c
26491         * native/jni/java-lang/java_lang_reflect_VMArray.c:
26492         Renamed from java_lang_reflect_Array.c.
26493         * vm/reference/java/lang/reflect/VMArray.java:
26494         (createObjectArray(Class,int)): Native method moved
26495         from java.lang.reflect.Array.
26496
26497 2006-03-19  Roman Kennke  <kennke@aicas.com>
26498
26499         * gnu/javax/swing/plaf/metal/CustomizableTheme.java: New class.
26500         * examples/gnu/classpath/examples/swing/MetalThemeEditor.java:
26501         New class.
26502         * examples/gnu/classpath/examples/swing/Demo.java
26503         (mkButtonBar): Hook up theme editor.
26504         (mkMenuBar): Hook up theme editor.
26505
26506 2006-03-19  Roman Kennke  <kennke@aicas.com>
26507
26508         * javax/swing/plaf/basic/BasicFileChooserUI.java
26509         (ApproveSelectionAction.actionPerformed): Added case for when
26510         nothing has been selected but the user has typed a filename
26511         into the textfield.
26512         (getFileName): Return the value of the text field.
26513
26514 2006-03-19  Roman Kennke  <kennke@aicas.com>
26515
26516         * javax/swing/JColorChooser.java
26517         (createDialog): Create JDialog instead of ModalDialog. Make this
26518         dialog modal by calling setModal(true).
26519         (ModalDialog): Removed unnecessary inner class.
26520
26521 2006-03-19  Tom Tromey  <tromey@redhat.com>
26522
26523         * java/awt/font/NumericShaper.java: Rewrote.
26524
26525 2006-03-19  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
26526
26527         * javax/swing/plaf/basic/BasicTableUI.java:
26528         Implement MouseWheelListener. (ROWS_PER_WHEEL_CLICK):
26529         New field. MouseInputHandler.mouseWheelMoved): New method.
26530         (installListeners): Register MouseInputHandler as
26531         wheel listener also.
26532         
26533 2006-03-19  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
26534
26535         PR 26746
26536         * javax/swing/ViewportLayout.java (layoutContainer):
26537         If Scrollable tracks dimension, set view size to the port size. 
26538         If port is larger than the view, move the view to the top/left.
26539
26540 2006-03-19  Roman Kennke  <kennke@aicas.com>
26541
26542         * javax/swing/MenuSelectionManager.java
26543         (isComponentPartOfCurrentMenu): Also consider the first element
26544         in a menu selection list. Make a isDescendentFrom check instead
26545         of simple equals to also catch sub components.
26546
26547 2006-03-19  Roman Kennke  <kennke@aicas.com>
26548
26549         * javax/swing/JComboBox.java
26550         (actionPerformed): Fetch selected item directly from the editor
26551         instead of trying to get it from the event.
26552
26553 2006-03-19  Roman Kennke  <kennke@aicas.com>
26554
26555         * javax/swing/plaf/basic/BasicComboBoxEditor.java
26556         (listener): Removed field.
26557         (BasicComboBoxEditor): Removed initialization of listener field.
26558         (addActionListener): Add listener directly to editor.
26559         (removeActionListener): Remove listener directly from editor.
26560         (ComboBoxEditorListener): Removed class.
26561         * javax/swing/plaf/basic/BasicComboBoxUI.java
26562         (getPreferredSize): Fixed to return the minimumSize.
26563         (getMinimumSize): Improved code for more clearness.
26564         (getMaximumSize): Return (32767,32767) as requested by the mauve test.
26565         (rectangleForCurrentValue): Correctly respect insets.
26566         (getDefaultSize): Return preferredSize here. Dont override height
26567         with 100.
26568         (getDisplaySize): Moved around code for more clearness. Added
26569         handling of prototype renderer.
26570         (ComboBoxLayoutManager.layoutContainer): Set editor bounds after
26571         arrowButton bounds since the former depends on the latter.
26572         * javax/swing/plaf/metal/MetalComboBoxButton.java:
26573         (MetalComboBoxButton): Make button rollover disabled.
26574         (isFocusTraversable): Return false unconditionally.
26575         * javax/swing/plaf/metal/MetalComboBoxEditor.java:
26576         (EditorTextField): New class. Fixes the size properties.
26577         (MetalComboBoxEditor): Create instance of EditorTextField.
26578         * javax/swing/plaf/metal/MetalComboBoxUI.java:
26579         (getMinimumSize): Fixed editable size.
26580
26581 2006-03-18  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
26582
26583         * javax/swing/JTable.java (BooleanCellRenderer): Rewritten.
26584
26585 2006-03-18  Roman Kennke  <kennke@aicas.com>
26586
26587         * javax/swing/plaf/metal/MetalToolBarUI.java
26588         (update): Added overridden method to support OceanTheme.
26589
26590 2006-03-18  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
26591
26592         * javax/swing/plaf/basic/BasicTableUI.java (KeyHandler.keyTyped): 
26593         Activate the cell editing on character keystroke.
26594
26595 2006-03-18  Mark Wielaard  <mark@klomp.org>
26596
26597         * java/awt/Component.java (eventTypeEnabled): Handle
26598         MouseEvent.MOUSE_WHEEL.
26599         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (postMouseWheelEvent):
26600         New callback method.
26601         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
26602         (AWT_MOUSE_WHEEL): New constant.
26603         (AWT_WHEEL_UNIT_SCROLL): Likewise.
26604         (postMouseWheelEventID): New static variable.
26605         (cp_gtk_component_init_jni): Record postMouseWheelEventID.
26606         (cp_gtk_component_connect_mouse_signals): Connect scroll-event.
26607         (button_number): Renamed to ...
26608         (button_number_direction): variable to hold button number or scroll
26609         direction.
26610         (component_button_press_cb): Use button_number_direction.
26611         (component_scroll_cb): New static callback function.
26612
26613 2006-03-18  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
26614
26615         * javax.swing.JTable.java (TableTextField.scrollRectToVisible):
26616         Return without action.
26617
26618 2006-03-18  Mark Wielaard  <mark@klomp.org>
26619
26620         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (paintComponent):
26621         Don't cast graphics object to GdkGraphics.
26622         (updateComponent): Likewise.
26623
26624 2006-03-18  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
26625
26626         * examples/gnu/classpath/examples/swing/TableDemo.java
26627         (TModel.getColumnClass): Set second column to Icon.
26628         (TModel.isCellEditable): Say icons are not editable.
26629         (createContent): Fill the in second column with some icons from 
26630         MetalIconFactory.
26631
26632 2006-03-18  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
26633
26634         * examples/gnu/classpath/examples/swing/Demo.java
26635         (mkButtonBar): Set maximal button bar height to the preferred height.
26636
26637 2006-03-18  Roman Kennke  <kennke@aicas.com>
26638
26639         * javax/swing/plaf/basic/BasicComboPopup.java
26640         (show): Substract insets from scroller width.
26641         (getPopupHeightForRowCount): If height==0, return a default of 100
26642         instead for empty ComboBoxes.
26643
26644 2006-03-18  Roman Kennke  <kennke@aicas.com>
26645
26646         * javax/swing/plaf/basic/BasicLookAndFeel.java
26647         (PopupHelper.autoClosePopups): Removed field.
26648         (PopupHelper.mousePressed): Removed processing of registered
26649         autoclose popups.
26650         (registerForAutoClose): Removed unneeded method.
26651         (autoClosePopups): Removed unneeded method.
26652         (registerForAutoClose): Removed unneeded method.
26653
26654 2006-03-18  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
26655
26656         * javax.swing.JTable.java (TableTextField): Set border.
26657         (moveToCellBeingEdited): Do not adjust the editor boundaries
26658
26659 2006-03-18  Michael Koch  <konqueror@gmx.de>
26660
26661         * resource/gnu/java/locale/LocaleInformation_aa.properties,
26662         resource/gnu/java/locale/LocaleInformation_af.properties,
26663         resource/gnu/java/locale/LocaleInformation_am.properties,
26664         resource/gnu/java/locale/LocaleInformation_ar.properties,
26665         resource/gnu/java/locale/LocaleInformation_az_Cyrl.properties,
26666         resource/gnu/java/locale/LocaleInformation_be.properties,
26667         resource/gnu/java/locale/LocaleInformation_bg.properties,
26668         resource/gnu/java/locale/LocaleInformation_bn.properties,
26669         resource/gnu/java/locale/LocaleInformation_ca.properties,
26670         resource/gnu/java/locale/LocaleInformation_cs.properties,
26671         resource/gnu/java/locale/LocaleInformation_cy.properties,
26672         resource/gnu/java/locale/LocaleInformation_da.properties,
26673         resource/gnu/java/locale/LocaleInformation_de.properties,
26674         resource/gnu/java/locale/LocaleInformation_de_CH.properties,
26675         resource/gnu/java/locale/LocaleInformation_dz.properties,
26676         resource/gnu/java/locale/LocaleInformation_en.properties,
26677         resource/gnu/java/locale/LocaleInformation_eo.properties,
26678         resource/gnu/java/locale/LocaleInformation_es.properties,
26679         resource/gnu/java/locale/LocaleInformation_et.properties,
26680         resource/gnu/java/locale/LocaleInformation_eu.properties,
26681         resource/gnu/java/locale/LocaleInformation_fa.properties,
26682         resource/gnu/java/locale/LocaleInformation_fa_AF.properties,
26683         resource/gnu/java/locale/LocaleInformation_fi.properties,
26684         resource/gnu/java/locale/LocaleInformation_fo.properties,
26685         resource/gnu/java/locale/LocaleInformation_fr.properties,
26686         resource/gnu/java/locale/LocaleInformation_ga.properties,
26687         resource/gnu/java/locale/LocaleInformation_gl.properties,
26688         resource/gnu/java/locale/LocaleInformation_gu.properties,
26689         resource/gnu/java/locale/LocaleInformation_he.properties,
26690         resource/gnu/java/locale/LocaleInformation_hi.properties,
26691         resource/gnu/java/locale/LocaleInformation_hr.properties,
26692         resource/gnu/java/locale/LocaleInformation_hu.properties,
26693         resource/gnu/java/locale/LocaleInformation_hy.properties,
26694         resource/gnu/java/locale/LocaleInformation_id.properties,
26695         resource/gnu/java/locale/LocaleInformation_is.properties,
26696         resource/gnu/java/locale/LocaleInformation_it.properties,
26697         resource/gnu/java/locale/LocaleInformation_ja.properties,
26698         resource/gnu/java/locale/LocaleInformation_ka.properties,
26699         resource/gnu/java/locale/LocaleInformation_km.properties,
26700         resource/gnu/java/locale/LocaleInformation_ko.properties,
26701         resource/gnu/java/locale/LocaleInformation_lo.properties,
26702         resource/gnu/java/locale/LocaleInformation_lt.properties,
26703         resource/gnu/java/locale/LocaleInformation_lv.properties,
26704         resource/gnu/java/locale/LocaleInformation_mk.properties,
26705         resource/gnu/java/locale/LocaleInformation_mr.properties,
26706         resource/gnu/java/locale/LocaleInformation_ms.properties,
26707         resource/gnu/java/locale/LocaleInformation_mt.properties,
26708         resource/gnu/java/locale/LocaleInformation_nb.properties,
26709         resource/gnu/java/locale/LocaleInformation_nl.properties,
26710         resource/gnu/java/locale/LocaleInformation_nn.properties,
26711         resource/gnu/java/locale/LocaleInformation_om.properties,
26712         resource/gnu/java/locale/LocaleInformation_pl.properties,
26713         resource/gnu/java/locale/LocaleInformation_ps.properties,
26714         resource/gnu/java/locale/LocaleInformation_pt.properties,
26715         resource/gnu/java/locale/LocaleInformation_pt_PT.properties,
26716         resource/gnu/java/locale/LocaleInformation_ro.properties,
26717         resource/gnu/java/locale/LocaleInformation_ru.properties,
26718         resource/gnu/java/locale/LocaleInformation_sk.properties,
26719         resource/gnu/java/locale/LocaleInformation_sl.properties,
26720         resource/gnu/java/locale/LocaleInformation_so.properties,
26721         resource/gnu/java/locale/LocaleInformation_sq.properties,
26722         resource/gnu/java/locale/LocaleInformation_sr.properties,
26723         resource/gnu/java/locale/LocaleInformation_sr_Latn.properties,
26724         resource/gnu/java/locale/LocaleInformation_sv.properties,
26725         resource/gnu/java/locale/LocaleInformation_sw.properties,
26726         resource/gnu/java/locale/LocaleInformation_ta.properties,
26727         resource/gnu/java/locale/LocaleInformation_te.properties,
26728         resource/gnu/java/locale/LocaleInformation_th.properties,
26729         resource/gnu/java/locale/LocaleInformation_tr.properties,
26730         resource/gnu/java/locale/LocaleInformation_uk.properties,
26731         resource/gnu/java/locale/LocaleInformation_uz.properties,
26732         resource/gnu/java/locale/LocaleInformation_vi.properties,
26733         resource/gnu/java/locale/LocaleInformation_zh.properties,
26734         resource/gnu/java/locale/LocaleInformation_zh_Hant.properties:
26735         Updated to use the new localized strings for currencies, languages,
26736         variants, territories, etc.
26737
26738 2006-03-18  Ito Kazumitsu  <kaz@maczuka.gcd.org>
26739
26740         * gnu/regexp/REMatch.java(matchedCharIndexed): New field,
26741         (start, end): Added comment about the negative values of them,
26742         (finish): Saves the input text in matchedCharIndexed,
26743         (toString): If the start or end index is out of bounds of the
26744         matched text, get the substring from matchedCharIndexed.
26745         Added special handlings in case start/end index < -1,
26746         (getSubStartIndex, getStartIndex, getSubEndIndex, getEndIndex):
26747         Added special handlings in case start/end index < -1,
26748         * gnu/regexp/RETokenLookAhead.java(matchThis): Return the newly
26749         found match, but keep the index as the original match.
26750         * gnu/regexp/RETokenLookBehind.java(matchThis): Return the newly
26751         found match, but keep the index as the original match.
26752         * gnu/regexp/RETokenBackRef.java(matchThis): Added special handlings
26753         in case start/end index < -1.
26754         
26755 2006-03-17  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
26756
26757         * gnu/java/rmi/activation/ActivationSystemTransient.java (debug):
26758         Set to false.   
26759
26760 2006-03-17  Robert Schuster  <robertschuster@fsfe.org>
26761          
26762         * javax/swing/text/DefaultCaret.java:
26763         (mouseClicked) Use setDot() and moveDot() instead of
26764         JTextComponent.select().
26765
26766 2006-03-17  Roman Kennke  <kennke@aicas.com>
26767
26768         * javax/swing/plaf/metal/MetalComboBoxEditor.java
26769         (MetalComboBoxEditorBorder.paintBorder): Implemented special
26770         border painting for the Ocean theme.
26771         (MetalComboBoxEditor): Create editor directly instead of going
26772         to super.
26773         
26774 2006-03-17  Roman Kennke  <kennke@aicas.com>
26775
26776         * javax/swing/text/JTextComponent.java
26777         (JTextComponent): Make text components opaque.
26778
26779 2006-03-17  Roman Kennke  <kennke@aicas.com>
26780
26781         * javax/swing/plaf/metal/MetalComboBoxUI.java
26782         (MetalComboBoxLayoutManager.layoutContainer): Forward to
26783         layoutComboBox().
26784         (MetalPropertyChangeListener.propertyChange): Update focusable
26785         flag according to the enable and editable state.
26786         (editablePropertyChanged): Removed unnecessary code.
26787         (getMinimumSize): Rewritten to correctly compute the
26788         size, respecting the insets of the components and the icon,
26789         the visual properties of the combobox, etc.
26790         (configureEditor): Update listeners correctly.
26791         (unconfigureEditor): Update listeners correctly.
26792         (layoutComboBox): Implemented.
26793
26794 2006-03-17  Roman Kennke  <kennke@aicas.com>
26795
26796         * javax/swing/plaf/metal/MetalComboBoxEditor.java
26797         (MetalComboBoxEditorBorder): Made this a subclass of AbstractBorder
26798         instead of Flush3DBorder.
26799         (paintBorder): Fixed border painting.
26800         (editorBorderInsets): Fixed border's insets.
26801
26802 2006-03-17  Roman Kennke  <kennke@aicas.com>
26803
26804         * javax/swing/plaf/metal/MetalComboBoxButton.java
26805         (rendererPane): Documented.
26806         (MetalComboBoxButton): Set enabled flag from ComboBox.
26807         Set focusable flag from ComboBox's enabled flag.
26808         (isFocusTraversable): Make button focus traversable if
26809         ComboBox is not editable but enable.
26810         (paintComponent): Fixed painting to correctly adjust
26811         the boxes of the renderer and button.
26812
26813 2006-03-17  Roman Kennke  <kennke@aicas.com>
26814
26815         * javax/swing/plaf/basic/BasicButtonUI.java
26816         (installDefaults): Only install UI margin if installed margin.
26817         is null or a UIResource.         
26818         (uninstallDefaults): Only uninstall margin if it's       
26819         a UIResource.    
26820          
26821  2006-03-17  Robert Schuster  <robertschuster@fsfe.org>          
26822          
26823          * javax/swing/text/DefaultCaret.java:   
26824          (mouseClicked) Use setDot() and moveDot() instead of    
26825          JTextComponent.select().        
26826  
26827 2006-03-17  Robert Schuster  <robertschuster@fsfe.org>
26828
26829         * javax/swing/text/DefaultEditorKit.java: Refactored anonymous
26830         inner classes into package-private inner classes, added actions
26831         for caret movement and selection to the next and previous word
26832         and an action which selects the whole text.
26833
26834 2006-03-17  Thomas Fitzsimmons  <fitzsim@redhat.com>
26835
26836         * javax/swing/Spring.java: Uncomment springdebug methods and
26837         rename them toString.
26838         * javax/swing/SpringLayout.java: Likewise.
26839
26840 2006-03-17  Robert Schuster  <robertschuster@fsfe.org>
26841
26842         * javax/swing/text/FieldView.java:
26843         (viewToModel): Added call to adjust allocation area.
26844
26845 2006-03-17  Roman Kennke  <kennke@aicas.com>
26846
26847         * javax/swing/plaf/basic/BasicComboBoxUI.java
26848         (mouseListener): Removed field.
26849         (buttonBackground): Removed field.
26850         (buttonShadow): Removed field.
26851         (buttonDarkShadow): Removed field.
26852         (buttonHighlight): Removed field.
26853         (BasicComboBoxUI): Initialize currentValuePane and cachedMinimumSize.
26854         (installUI): Initialize and configure renderer and editor here.
26855         (uninstallUI): Close popup before uninitializing.
26856         Message popup that we are uninitializing. Clear layout.
26857         (installDefaults): Install UI border. Don't install colors.
26858         (installListeners): Install listeners fetched from the popup.
26859         Remove handling of mouseListener.
26860         (uninstallDefaults): Uninstall border. Don't handle colors.
26861         (uninstallListeners): Don't handle mouseListener. Uninstall
26862         listener from the popup.
26863         (createMouseListener): Removed method.
26864         (createRenderer): Create UIResource.
26865         (installComponents): Cleaned up.
26866         (uninstallComponents): Only remove renderer when it is
26867         a UIResource.
26868         (addEditor): Remove editor before adding new one.
26869         Fetch editor from comboBox.
26870         (removeEditor): Only do something when editor != null. Unconfigure
26871         editor before removing.
26872         (configureEditor): Add key listener. Call comboBox.configureEditor.
26873         (unconfigureEditor): Removed key listener.
26874         (configureArrowButton): Only handle when arrowButton != null.
26875         Add mouse listeners to arrow button.
26876         (unconfigureArrowButton): Remove listeners.
26877         (createArrowButton): Don't handle colors here.
26878         (setPopupVisible): Don't handle focus here.
26879         (paint): Only paint when comboBox is not editable. Update
26880         hasFocus flag.
26881         (getPreferredSize): Implemented to be minimumSize + 4 pixels width.
26882         (getMinimumSize): Respect insets here.
26883         (getMaximumSize): Return preferredSize with width of 32767.
26884         (getInsets): Return ComboBox insets.
26885         (paintCurrentValue): Paint using currentValuePane.
26886         Install correct colors. Don't revalidate.
26887         (paintCurrentValueBackground): Implemented.
26888         (getDefaultSize): Reimplemented using a default renderer.
26889         (getDisplaySize): Reimplemented to use renderer.
26890         (ComboBoxLayoutManager.preferredLayoutSize): Forward to component.
26891         (ComboBoxLayoutManager.minimumLayoutSize): Forward to component.
26892         (ComboBoxLayoutManager.layoutContainer): Fixed layout.
26893         (FocusHandler.focusGained): Don't invalidate minimumSize.
26894         (FocusHandler.focusLost): Don't invalidate minimumSize.
26895         Only close popup if focus change is not temporary.
26896         (ItemHandler.itemStateChanged): Don't invalidate minimumSize.
26897         Reconfigure editor if not null.
26898         (ListDataHandler.contentsChanged): Revalidate and reconfigure
26899         editor if necessary.
26900         (ListDataHandler.intervalAdded): Fixed updating of the display size.
26901         (ListDataHandler.intervalRemoved): Forward to contentsChanged.
26902         (MouseHandler): Removed unnecessary class.
26903
26904 2006-03-17  Robert Schuster  <robertschuster@fsfe.org>
26905
26906         * examples/gnu/classpath/examples/swing/Demo.java:
26907         (Demo): Set default closing operation to shutdown the runtime.
26908
26909 2006-03-17  Roman Kennke  <kennke@aicas.com>
26910
26911         * javax/swing/plaf/basic/BasicComboPopup.java
26912         (BasicComboPopup): Create listeners here.
26913         Configure components here.
26914         (show): Correctly calculate bounds using computePopupBounds().
26915         Make scroller fixed-size. Removed special autocloser handling.
26916         (hide): Rewritten to use MenuSelectionHandler.
26917         (createList): Don't set selection mode here.
26918         (configureList): Correctly install colors and fonts and selectionMode.
26919         (createScroller): Set scrollpane policies.
26920         (configureScroller): Make scroller and scrollbar not-focusable.
26921         (configurePopup): Make popup opaque and borderPainted.
26922         (installComboBoxListeners): Don't install mouse listener on ComboBox.
26923         (delegateFocus): Implemented.
26924         (convertMouseEvent): Implemented.
26925         (updateListBoxSelectionForEvent): Implemented to also handle
26926         autoscrolling.
26927         (InvocationMouseHandler.mousePressed): Delegate focus correctly.
26928         Only open popup on left mouse-click.
26929         (InvocationMouseHandler.mouseReleased): Rewritten.
26930         (InvocationMouseMotionHandler.mouseDragged): Rewritten to better
26931         support autoscrolling.
26932         (ItemHandler.itemStateChanged): Implemented to sync selection with
26933         the comboBox.
26934         (ListMouseHandler.mouseReleased): Fetch selected index directly
26935         from list.
26936         (ListMouseMotionHandler.mouseMoved): Only update when mouse is inside
26937         the list box.
26938         (PropertyChangeHandler.propertyChange): Don't revalidate/repaint here.
26939         When model changes, then update listeners correctly.
26940         (uninstallListeners): Don't uninstall list listeners.
26941         (uninstallComboBoxListeners): Don't uninstall mouse listeners
26942         from comboBox.
26943         (syncSelection): New helper method.
26944
26945 2006-03-17  Robert Schuster  <robertschuster@fsfe.org>
26946
26947         * javax/swing/text/PlainView.java:
26948         (drawLine): Rewritten.
26949         (drawSelectedText): Corrected last argument for
26950         Utilities.drawTabbedText() call.
26951         (paint): Store start and end of selection in object variables,
26952         store constant values of for-loop in local variables.
26953         * javax/swing/text/Utilities.java:
26954         (drawTabbedText): Add 'pixelWidth' to the return value, store
26955         constant value of for-loop in local variable.
26956
26957 2006-03-17  Roman Kennke  <kennke@aicas.com>
26958
26959         * javax/swing/plaf/basic/BasicComboPopup.java
26960         (BasicComboPopup): Create listeners here.
26961         Configure components here.
26962         (show): Correctly calculate bounds using computePopupBounds().
26963         Make scroller fixed-size. Removed special autocloser handling.
26964         (hide): Rewritten to use MenuSelectionHandler.
26965         (createList): Don't set selection mode here.
26966         (configureList): Correctly install colors and fonts and selectionMode.
26967         (createScroller): Set scrollpane policies.
26968         (configureScroller): Make scroller and scrollbar not-focusable.
26969         (configurePopup): Make popup opaque and borderPainted.
26970         (installComboBoxListeners): Don't install mouse listener on ComboBox.
26971         (delegateFocus): Implemented.
26972         (convertMouseEvent): Implemented.
26973         (updateListBoxSelectionForEvent): Implemented to also handle
26974         autoscrolling.
26975         (InvocationMouseHandler.mousePressed): Delegate focus correctly.
26976         Only open popup on left mouse-click.
26977         (InvocationMouseHandler.mouseReleased): Rewritten.
26978         (InvocationMouseMotionHandler.mouseDragged): Rewritten to better
26979         support autoscrolling.
26980         (ItemHandler.itemStateChanged): Implemented to sync selection with
26981         the comboBox.
26982         (ListMouseHandler.mouseReleased): Fetch selected index directly
26983         from list.
26984         (ListMouseMotionHandler.mouseMoved): Only update when mouse is inside
26985         the list box.
26986         (PropertyChangeHandler.propertyChange): Don't revalidate/repaint here.
26987         When model changes, then update listeners correctly.
26988         (uninstallListeners): Don't uninstall list listeners.
26989         (uninstallComboBoxListeners): Don't uninstall mouse listeners
26990         from comboBox.
26991         (syncSelection): New helper method.
26992
26993 2006-03-17  Roman Kennke  <kennke@aicas.com>
26994
26995         * javax/swing/plaf/basic/BasicComboBoxRenderer.java
26996         (noFocusBorder): Make border with insets of (1,1,1,1).
26997         (BasicComboBoxRenderer): Make renderer opaque.
26998         No need to explicitly set alignment.
26999         (getListCellRendererComponent): Rewritten to correctly initialize
27000         color and font.
27001
27002 2006-03-17  Roman Kennke  <kennke@aicas.com>
27003
27004         * javax/swing/JPopupMenu.java
27005         (setVisible): Handle JPopupMenu opening and closing via
27006         the MenuSelectionHandler.
27007
27008 2006-03-17  Wolfgang Baer  <WBaer@gmx.de>
27009
27010         * org/omg/DynamicAny/DynAnyPackage/InvalidValue.java: Now final.
27011         * org/omg/DynamicAny/DynAnyPackage/TypeMismatch.java: Likewise.
27012         * org/omg/DynamicAny/DynAnyFactoryPackage/InconsistentTypeCode.java: 
27013         Likewise.       
27014         * org/omg/CORBA/portable/RemarshalException.java: Likewise
27015         * org/omg/CORBA/TypeCodePackage/BadKind.java: Likewise.
27016         * org/omg/CORBA/TypeCodePackage/Bounds.java: Likewise.
27017         * org/omg/CORBA/ORBPackage/InvalidName.java: Likewise.
27018         * org/omg/CORBA/ORBPackage/InconsistentTypeCode.java: Likewise.
27019         * org/omg/CORBA/DynAnyPackage/TypeMismatch.java: Likewise.
27020         * org/omg/CORBA/DynAnyPackage/InvalidValue.java: Likewise.
27021         * org/omg/CORBA/DynAnyPackage/InvalidSeq.java: Likewise.
27022         * org/omg/CORBA/DynAnyPackage/Invalid.java: Likewise.
27023         * org/omg/Dynamic/Parameter.java: Now final, javadoc fixes.
27024
27025 2006-03-17  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
27026
27027         * java/rmi/activation/Activatable.java: Implemented.
27028         java/rmi/activation/ActivationDesc.java: Implemented.
27029         java/rmi/activation/ActivationGroup.java: Implemented.
27030         java/rmi/activation/ActivationGroupDesc.java: Implemented.
27031         java/rmi/activation/ActivationID.java: Implemented.
27032         java/rmi/activation/ActivationSystem.java: Implemented.
27033         * gnu/java/rmi/server/UnicastServerRef.java 
27034         (exportObject, incommingMessageCall): Documented.
27035         * java/rmi/activation/package.html: Documented.
27036         * java/rmi/server/ObjID.java (objNum, space): Made package
27037         protected.
27038         * gnu/java/rmi/server/UnicastServer.java: Rewritten.
27039         * gnu/java/rmi/server/CombinedClassLoader.java (constructor):
27040         Iteration bug fix.
27041         * gnu/java/rmi/activation/ActivationSystemTransient.java: New file.
27042         gnu/java/rmi/activation/BidiTable.java: New file.
27043         gnu/java/rmi/activation/DefaultActivationGroup.java: New file.
27044         gnu/java/rmi/activation/DefaultActivationSystem.java: New file.
27045         gnu/java/rmi/server/ActivatableServerRef.java: New file.
27046
27047 2006-03-17  Mark Wielaard  <mark@klomp.org>
27048
27049         * java/security/BasicPermission.java (BasicPermission): Check
27050         name equals empty string to force NullPointerException.
27051
27052 2006-03-16  Thomas Fitzsimmons  <fitzsim@redhat.com>
27053
27054         PR classpath/26606
27055         Commit patch by Caolan McNamara  <caolanm@redhat.com>
27056         * javax/swing/Spring.java: Complete implementation
27057         * javax/swing/SpringLayout.java: Likewise.
27058
27059 2006-03-16  Keith Seitz  <keiths@redhat.com>
27060
27061         * gnu/classpath/jdwp/Jdwp.java (_mainThread): Not needed. Removed
27062         all references.
27063         (run): Remove catch clause for InterruptedException. It is no
27064         longer necessary.
27065
27066 2006-03-16  Thomas Fitzsimmons  <fitzsim@redhat.com>
27067
27068         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
27069         (getFontMetrics): Handle monospaced fonts specially.
27070
27071 2006-03-16  Keith Seitz  <keiths@redhat.com>
27072
27073         * gnu/classpath/jdwp/Jdwp.java (getJdwpThreadGroup): New method.
27074         * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java
27075         (suspendAllThreads): Use Jdwp.getJdwpThreadGroup.
27076         Don't suspend the current thread unless it is not part of the JDWP
27077         thread group.
27078
27079 2006-03-16  Thomas Fitzsimmons  <fitzsim@redhat.com>
27080
27081         * gnu/java/awt/peer/gtk/GdkFontMetrics.java (getLeading): Always
27082         return 0.
27083         * gnu/java/awt/peer/gtk/GdkFontPeer.java (getFontMetrics): Get
27084         font metrics through toolkit.
27085         * gnu/java/awt/peer/gtk/GdkGraphics.java (getFontMetrics):
27086         Likewise.
27087         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
27088         (getFontMetrics): To calculate Java logical ascent and descent
27089         values, average Pango ink and logical values.
27090
27091 2006-03-16  Anthony Balkissoon  <abalkiss@redhat.com>
27092
27093         * java/lang/Character.java: Updated header comment.
27094
27095 2006-03-16  Tom Tromey  <tromey@redhat.com>
27096
27097         * javax/sound/sampled/AudioSystem.java (getAudioFileFormat): New
27098         constructor.
27099         * javax/sound/sampled/FloatControl.java: Now abstract.
27100         * javax/sound/sampled/EnumControl.java: Now abstract.
27101         * javax/sound/sampled/CompoundControl.java: Now abstract.
27102         * javax/sound/sampled/BooleanControl.java: Now abstract.
27103
27104 2006-03-16  Tom Tromey  <tromey@redhat.com>
27105
27106         * java/awt/image/ConvolveOp.java (getBounds2D): Now final.
27107
27108 2006-03-16  Roman Kennke  <kennke@aicas.com>
27109
27110         * java/util/zip/ZipFile.java
27111         (openFile): New helper method.
27112         (ZipFile): Use new openFile method to ensure the proper
27113         exception is thrown. This applies for all overloaded constructors.
27114
27115 2006-03-16  Roman Kennke  <kennke@aicas.com>
27116
27117         * java/text/DateFormatSymbols.java
27118         (setAmPmStrings): Added null check and throw NPE.
27119         (setEras): Likewise.
27120         (setLocalPatternChars): Likewise.
27121         (setMonths): Likewise.
27122         (setShortMonths): Likewise.
27123         (setShortWeekdays): Likewise.
27124         (setWeekdays): Likewise.
27125         (setZoneStrings): Likewise.
27126
27127 2006-03-16  Roman Kennke  <kennke@aicas.com>
27128
27129         * javax/swing/DefaultDesktopManager.java
27130         (iconifyFrame): Repaint after removing the frame.
27131         (removeIconFor): Repaint after removing the icon.
27132
27133 2006-03-16  Roman Kennke  <kennke@aicas.com>
27134
27135         * javax/swing/JInternalFrame.java
27136         (remove): Respect the rootPaneCheckingEnabled flag here.
27137
27138 2006-03-16  Roman Kennke  <kennke@aicas.com>
27139
27140         * gnu/javax/swing/plaf/gnu/GNULookAndFeel.java
27141         Moved from examples into gnu.javax.swing.. namespace.
27142         * examples/gnu/classpath/examples/swing/GNULookAndFeel.java
27143         Moved to gnu.javax.swing.. namespace.
27144         * examples/gnu/classpath/examples/swing/Demo.java:
27145         (themesMenu): New field. Used to disable theme switch in
27146         non-Metal-L&Fs.
27147         (mkMenuBar): Added L&F menu.
27148         (ChangeThemeAction.actionPerformed): Only switch theme when
27149         in Metal L&F.
27150         (ChangeLAFAction): New class used for changing themes.
27151         * javax/swing/UIManager.java
27152         (installed): Added GNU L&F as installed L&F.
27153
27154 2006-03-16  Mark Wielaard  <mark@klomp.org>
27155
27156         * examples/gnu/classpath/examples/swing/badge.png: Removed.
27157         * examples/gnu/classpath/examples/icons/badge.png: Added.
27158         * examples/gnu/classpath/examples/swing/DemoDesktop.java: Use badge
27159         from icon directory.
27160
27161 2006-03-15  Thomas Fitzsimmons  <fitzsim@redhat.com>
27162
27163         * examples/gnu/classpath/examples/awt/AnimationApplet.java: New
27164         example.
27165         * examples/gnu/classpath/examples/swing/FillRect.java: Likewise.
27166         * examples/gnu/classpath/examples/awt/Demo.java: Add
27167         AnimationApplet demo.
27168         * examples/gnu/classpath/examples/swing/Demo.java: Add FillRect
27169         demo.
27170
27171 2006-03-15  Thomas Fitzsimmons  <fitzsim@redhat.com>
27172
27173         PR classpath/26486
27174         * gnu/java/awt/peer/gtk/GtkCanvasPeer.java (getGraphics): Remove
27175         method.
27176         (handleEvent): Likewise.
27177         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (isInRepaint):
27178         Remove field.
27179         (beginNativeRepaint): Remove method.
27180         (endNativeRepaint): Likewise.
27181         (handleEvent): Call paintComponent and updateComponent.
27182         (paintComponent): New method.
27183         (updateComponent): Likewise.
27184         (repaint): Return early if width or height is less than one.
27185         (postExposeEvent): Remove isInRepaint reference.
27186         * gnu/java/awt/peer/gtk/GtkContainerPeer.java: (getGraphics):
27187         Remove method.
27188         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (getGraphics): Inherit
27189         from GtkWindowPeer.
27190         (postMouseEvent): Likewise.
27191         (postExposeEvent): Likewise.
27192         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java (updateComponent):
27193         Override to do nothing.
27194         * gnu/java/awt/peer/gtk/GtkFramePeer.java (getGraphics): Inherit
27195         from GtkWindowPeer.
27196         (postMouseEvent): Likewise.
27197         (postExposeEvent): Likewise.
27198         * gnu/java/awt/peer/gtk/GtkPanelPeer.java (handleEvent): Inherit
27199         paint and update handling from GtkComponentPeer.
27200         (updateComponent): Override to call paintComponent.
27201         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c: Replace
27202         gdk_flush calls with schedule_flush calls.
27203         (flush): New function.
27204         (schedule_flush): Likewise.
27205
27206 2006-03-15  Tom Tromey  <tromey@redhat.com>
27207
27208         * java/beans/beancontext/BeanContextSupport.java (BCSChild): New
27209         constructor.
27210         (BCSIterator): Likewise.
27211         * java/beans/beancontext/BeanContextServicesSupport.java (BCSSChild):
27212         New constructor.
27213         (BCSSProxyServiceProvider): Likewise.
27214         (BCSSServiceProvider): Likewise.
27215
27216 2006-03-15  Tom Tromey  <tromey@redhat.com>
27217
27218         * javax/sound/midi/Track.java (Track): New constructor.
27219         (events): Now package-private.
27220         * javax/sound/midi/MidiUnavailableException.java
27221         (MidiUnavailableException): Removed invalid constructors.
27222         * javax/sound/midi/MidiSystem.java (MidiSystem): New constructor.
27223         * javax/sound/midi/InvalidMidiDataException.java
27224         (InvalidMidiDataException): Removed invalid constructors.
27225         * javax/sound/midi/Sequencer.java (hashCode): Now final.
27226         * javax/sound/midi/SysexMessage.java (SysexMessage): Now protected.
27227         * javax/sound/midi/ShortMessage.java (ShortMessage): Now protected.
27228         (SYSTEM_EXCLUSIVE): Removed.
27229         (getDataLength): Updated.
27230         * javax/sound/midi/MidiDevice.java (Info): Now protected.
27231         (equals): Now final
27232         (getName): Now final.
27233         (getVendor): Now final.
27234         (getDescription): Likewise.
27235         (hashCode): Likewise.
27236         (getVersion): Likewise.
27237         (toString): Likewise.
27238         * javax/sound/midi/MetaMessage.java (MetaMessage): Now protected.
27239         * javax/sound/sampled/ReverbType.java (getDecayTime): Now final.
27240         (getEarlyReflectionDelay): Likewise.
27241         (getEarlyReflectionIntensity): Likewise.
27242         (getLateReflectionDelay): Likewise.
27243         (getLateReflectionIntensity): Likewise.
27244         (toString): Likewise.
27245         * javax/sound/sampled/Port.java (toString): Now final.
27246         * javax/sound/sampled/LineEvent.java (getFramePosition): Now final.
27247         (getLine): Likewise.
27248         (getType): Likewise.
27249         * javax/sound/sampled/Mixer.java (Info): Now protected.
27250         (getDescription): Now final.
27251         (getName): Likewise.
27252         (getVendor): Likewise.
27253         (getVersion): Likewise.
27254         (toString): Likewise.
27255         * javax/sound/sampled/Control.java: Now abstract.
27256         (Type.toString): Now final.
27257
27258 2006-03-15  Keith Seitz  <keiths@redhat.com>
27259
27260         * gnu/classpath/jdwp/util/LineTable.java (lines): Remove all occurances
27261         of this redundant variable.
27262         (LineTable): Assert that the number of line numbers and the number of
27263         code indicies is the same.
27264
27265 2006-03-15  Tom Tromey  <tromey@redhat.com>
27266
27267         * javax/imageio/stream/ImageOutputStreamImpl.java (flushBits): Now
27268         final.
27269         * javax/imageio/stream/ImageOutputStream.java (flushBefore): Javadoc
27270         fix.
27271         * java/util/zip/ZipFile.java (ENDNRD): New constant.
27272         * java/util/zip/ZipConstants.java (ENDNRD, ENDDCD): Removed.
27273         * java/util/zip/Inflater.java (end): Not deprecated.
27274         * java/util/zip/Deflater.java (end): Not deprecated.
27275         * java/text/Bidi.java (Bidi): Now final.
27276         * java/nio/MappedByteBuffer.java (finalize): Now protected.
27277
27278 2006-03-15  Keith Seitz  <keiths@redhat.com>
27279
27280         * gnu/classpath/jdwp/util/Location.java: Rewrite using VMMethod.
27281         (Location): Index is a long, not an int.
27282         (getMethod): New method.
27283         (getIndex): New method.
27284         (toString): New method.
27285
27286 2006-03-15  Tom Tromey  <tromey@redhat.com>
27287
27288         * java/awt/image/RescaleOp.java (getRenderingHints): Now final.
27289         * java/awt/image/LookupOp.java (filter): Now final.
27290         (getBounds2D): Likewise.
27291         (getPoint2D): Likewise.
27292         (getTable): Likewise.
27293         (getRenderingHints): Likewise.
27294         * java/awt/image/ConvolveOp.java (filter): Now final.
27295         (getBounds2D): Likewise.
27296         (getKernel): Likewise.
27297         (getPoint2D): Likewise.
27298         (getRenderingHints): Likewise.
27299         * java/awt/image/BandCombineOp.java (getPoint2D): Now final.
27300         (getMatrix): Likewise.
27301         (getBounds2D): Likewise.
27302         (getRenderingHints): Likewise.
27303         * java/awt/image/AffineTransformOp.java (getPoint2D): Now final.
27304         * java/awt/Button.java (AccessibleAWTButton.serialVersionUID): Now
27305         private.
27306         * java/awt/dnd/DropTargetContext.java (TransferableProxy): Now
27307         protected.
27308         * java/awt/dnd/DropTarget.java (DropTargetAutoScroller): Now
27309         protected.
27310         * java/awt/MenuItem.java (AccessibleAWTMenuItem): Now protected.
27311
27312 2006-03-15  Keith Seitz  <keiths@redhat.com>
27313
27314         * gnu/classpath/jdwp/event/filters/LocationOnlyFilter.java:
27315         Update javadoc.
27316         (matches): Implement.
27317
27318 2006-03-15  Keith Seitz  <keiths@redhat.com>
27319
27320         * gnu/classpath/jdwp/event/BreakpointEvent.java: New file.
27321         
27322         * gnu/classpath/jdwp/exception/NativeMethodException.java: New file.
27323
27324 2006-03-15  Tom Tromey  <tromey@redhat.com>
27325
27326         * java/lang/StrictMath.java (signum): New methods.
27327
27328 2006-03-15  Tom Tromey  <tromey@redhat.com>
27329
27330         * .settings/org.eclipse.jdt.core.prefs: Set tabs to 8 spaces.
27331
27332 2006-03-15  Lillian Angel  <langel@redhat.com>
27333
27334         PR classpath/24211
27335         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
27336         (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_cairoSurfaceSetFilterUnlocked):
27337         Added check to avoid segmentation fault.
27338
27339 2006-03-15  Lillian Angel  <langel@redhat.com>
27340
27341         * java/awt/Container.java
27342         (getComponentAt): Fixed documentation.
27343         (getComponentAt): Likewise.
27344
27345 2006-03-15  Roman Kennke  <kennke@aicas.com>
27346
27347         * javax/swing/JComponent.java
27348         (dragBuffer): New field.
27349         (dragBufferInitialized): New field.
27350         (paint): Added facility for buffered dragging of components.
27351         (initializeDragBuffer): New method.
27352         (getConditionForKeyStroke): Removed deprecated flag. Adjusted
27353         API docs.
27354         * javax/swing/plaf/basic/BasicInternalFrameUI.java
27355         (BorderListener.mouseDragged): Turn on buffered dragging.
27356         (BorderListener.mouseReleased): Turn off buffered dragging.
27357
27358 2006-03-15  Lillian Angel  <langel@redhat.com>
27359
27360         * java/awt/Container.java
27361         (getComponentAt): Fixed documentation.
27362         (getComponentAt): Likewise.
27363         (findComponentAt): Likewise.
27364         (findComponentAt): Likewise.
27365
27366 2006-03-15  Roman Kennke  <kennke@aicas.com>
27367
27368         * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java
27369         (PropertyChangeHandler.propertyChange): Call enableActions().
27370         Fixed 'iconable' property name.
27371
27372 2006-03-15  Chris Burdess  <dog@gnu.org>
27373
27374         Fixes PR 26700
27375         * gnu/xml/stream/XMLParser.java: Fix for detectEncoding false positive.
27376
27377 2006-03-15  Roman Kennke  <kennke@aicas.com>
27378
27379         * examples/gnu/classpath/examples/swing/Demo.java:
27380         (desktop): New field.
27381         (mkMenuBar): Added new subdemos.
27382         (mkButtonWorld): Removed.
27383         (CheckCellRenderer): Moved to ListDemo.
27384         (LabelCellRenderer): Moved to ListDemo.
27385         (mkTreeWorld): Moved to TreeDemo.
27386         (mkDesktopWorld): Removed.
27387         (mkTabWorld): Moved to TabbedPaneDemo.
27388         (mkTabbedPane): Removed.
27389         (Demo): Replaced 'worlds' tabbed pane with desktop.
27390         (PopupAction): Made class non-static.
27391         (PopupAction.actionPerformed): Bring up subdemos in internal
27392         frame.
27393         (mkButtonBar): Added new demos.
27394         (createDesktop): New method.
27395         * examples/gnu/classpath/examples/swing/DemoDesktop.java: New class.
27396         * examples/gnu/classpath/examples/swing/ListDemo.java: New demo.
27397         * examples/gnu/classpath/examples/swing/TreeDemo.java: New demo.
27398         * examples/gnu/classpath/examples/swing/TabbedPaneDemo.java: New demo.
27399         * examples/gnu/classpath/examples/swing/badge.png: New image file.
27400
27401 2006-03-15  Lillian Angel  <langel@redhat.com>
27402         
27403         * java/awt/Container.java
27404         (getComponentAt): Fixed mistake in comments.
27405         (getComponentAt): Likewise.
27406         (locate): Likewise. Also, handled lightweight components.
27407         Heavyweights take precedence over lightweights, so we should
27408         iterate through the heavyweights first.
27409
27410 2006-03-15  Lillian Angel  <langel@redhat.com>
27411
27412         * java/awt/Container.java
27413         (getComponentAt): Added API documentation.
27414         (getComponentAt): Likewise.
27415         (locate): Likewise. Also, removed lines to ignore
27416         invisible components.
27417         (findComponentAt): Added API documentation.
27418         (findComponentAt): Added API documentation.
27419         (findComponentForMouseEvent): Removed, never used.
27420
27421 2006-03-15  Roman Kennke  <kennke@aicas.com>
27422
27423         * javax/swing/Popup.java
27424         (LightweightPopup.show): Repaint the panel after showing it.
27425
27426 2006-03-15  Lillian Angel  <langel@redhat.com>
27427
27428         * java/awt/Component.java
27429         (show): repaint should only be called if the component
27430         isShowing and isLightweight.
27431
27432 2006-03-15  Roman Kennke  <kennke@aicas.com>
27433
27434         * javax/swing/JInternalFrame.java
27435         (setClosable): Made this property bound.
27436         (setResizable): Made this property bound.
27437         (setIconifiable): Made this property bound.
27438         (setMaximizable): Made this property bound.
27439
27440 2006-03-15  David Gilbert  <david.gilbert@object-refinery.com>
27441
27442         * javax/swing/table/TableColumn.java
27443         (sizeWidthToFit): Implemented.
27444
27445 2006-03-15  David Gilbert  <david.gilbert@object-refinery.com>
27446
27447         * javax/swing/table/TableColumn.java: API docs updated all over, plus
27448         (setIdentifier): Fire required PropertyChangeEvent,
27449         (setCellEditor): Likewise.
27450
27451 2006-03-15  Roman Kennke  <kennke@aicas.com>
27452
27453         * examples/gnu/classpath/examples/swing/ButtonDemo.java,
27454         * examples/gnu/classpath/examples/swing/ComboBoxDemo.java,
27455         * examples/gnu/classpath/examples/swing/FileChooserDemo.java,
27456         * examples/gnu/classpath/examples/swing/ProgressBarDemo.java,
27457         * examples/gnu/classpath/examples/swing/ScrollBarDemo.java,
27458         * examples/gnu/classpath/examples/swing/SliderDemo.java,
27459         * examples/gnu/classpath/examples/swing/SpinnerDemo.java,
27460         * examples/gnu/classpath/examples/swing/TableDemo.java,
27461         * examples/gnu/classpath/examples/swing/TextAreaDemo.java,
27462         * examples/gnu/classpath/examples/swing/TextFieldDemo.java:
27463         Reworked to implemented DemoFactory and lazy loading of Sub-demos.
27464         * examples/gnu/classpath/examples/swing/Demo.java:
27465         Cleaned up. Reworked handling of Sub-demos to load lazily.
27466         * examples/gnu/classpath/examples/swing/DemoFactory.java:
27467         New interface. Used for loading the subdemos lazily.
27468
27469 2006-03-15  Roman Kennke  <kennke@aicas.com>
27470
27471         * javax/swing/plaf/basic/BasicToolBarUI.java
27472         (PropertyListener.propertyChange): Added null check to avoid NPE.
27473
27474 2006-03-14  David Gilbert  <david.gilbert@object-refinery.com>
27475
27476         * javax/swing/table/TableColumn.java
27477         (COLUMN_WIDTH_PROPERTY): Updated API docs,
27478         (width): Likewise.
27479         (minWidth): Likewise,
27480         (preferredWidth): Likewise,
27481         (maxWidth): Likewise,
27482         (headerRenderer): Likewise,
27483         (cellRenderer): Likewise,
27484         (cellEditor): Likewise,
27485         (changeSupport): Likewise,
27486         (firePropertyChange(String, Object, Object)): Removed,
27487         (firePropertyChange(String, int. int)): Likewise,
27488         (firePropertyChange(String, boolean, boolean)): Likewise,
27489         (setModelIndex): Fire property change,
27490         (setHeaderValue): Call changeSupport directly to generate event,
27491         (setHeaderRenderer): Likewise,
27492         (setCellRenderer): Likewise,
27493         (setWidth): Likewise,
27494         (setPreferredWidth): Likewise,
27495         (setMinWidth): Likewise,
27496         (setMaxWidth): Likewise,
27497         (createDefaultHeaderRenderer): Added API docs.
27498
27499 2006-03-14  Roman Kennke  <kennke@aicas.com>
27500
27501         * examples/gnu/classpath/examples/swing/Demo.java
27502         Removed static initializer.
27503         (mkMenuBar): Made method non-static. Added themes menu.
27504         (ChangeThemeAction): New inner class, used to change themes.
27505
27506 2006-03-14  David Gilbert  <david.gilbert@object-refinery.com>
27507
27508         * javax/swing/table/TableColumn.java
27509         (setMaxWidth): Updated width and preferredWidth if necessary,
27510         (getMaxWidth): Updated API docs.
27511
27512 2006-03-14  Roman Kennke  <kennke@aicas.com>
27513
27514         * javax/swing/plaf/basic/BasicSliderUI.java
27515         (TrackListener.mouseDragged): Only process event when slider is
27516         enabled.
27517         (TrackListener.mouseReleased): Only process event when slider is
27518         enabled.
27519         (TrackListener.mousePressed): Only process event when slider is
27520         enabled.
27521
27522 2006-03-14  Roman Kennke  <kennke@aicas.com>
27523
27524         * NEWS: Added note about OceanTheme support.
27525
27526 2006-03-14  Roman Kennke  <kennke@aicas.com>
27527
27528         * javax/swing/plaf/metal/MetalIconFactory.java
27529         (HorizontalSliderThumbIcon.gradientMask): New field
27530         (HorizontalSliderThumbIcon.paintIcon): Added support for the
27531         OceanTheme.
27532         (VerticalSliderThumbIcon.gradientMask): New field
27533         (VerticalSliderThumbIcon.paintIcon): Added support for the
27534         OceanTheme.
27535         * javax/swing/plaf/metal/MetalUtils.java
27536         (paintHorizontalGradient): Fixed painting of 'masked' gradients.
27537         (paintVerticalGradient): Fixed painting of 'masked' gradients.
27538
27539 2006-03-14  Mark Wielaard  <mark@klomp.org>
27540
27541         Fixes bug #26641
27542         * java/awt/LightweightDispatcher.java (dispatchEvent): Return result
27543         of handleMouseEvent.
27544         (handleMouseEvent): Return boolean to indicate whether we handled the
27545         event by passing it to a lightweight.
27546
27547 2006-03-14  Wolfgang Baer  <WBaer@gmx.de>
27548
27549         * org/omg/PortableInterceptor/ORBInitInfoPackage/ObjectIdHelper.java,
27550         * org/omg/PortableServer/ServantActivatorPOA.java,
27551         * org/omg/PortableServer/ServantLocatorPOA.java: 
27552         Make class abstract and minor api docs fixlets.
27553         * org/omg/PortableServer/ForwardRequest.java, 
27554         * org/omg/PortableServer/ServantLocatorPackage/CookieHolder.java, 
27555         * org/omg/PortableServer/POAPackage/AdapterAlreadyExists.java, 
27556         * org/omg/PortableServer/POAPackage/AdapterNonExistent.java, 
27557         * org/omg/PortableServer/POAPackage/InvalidPolicy.java, 
27558         * org/omg/PortableServer/POAPackage/NoServant.java, 
27559         * org/omg/PortableServer/POAPackage/ObjectAlreadyActive.java, 
27560         * org/omg/PortableServer/POAPackage/ObjectNotActive.java, 
27561         * org/omg/PortableServer/POAPackage/ServantAlreadyActive.java, 
27562         * org/omg/PortableServer/POAPackage/ServantNotActive.java, 
27563         * org/omg/PortableServer/POAPackage/WrongAdapter.java, 
27564         * org/omg/PortableServer/POAPackage/WrongPolicy.java, 
27565         * org/omg/PortableServer/POAManagerPackage/AdapterInactive.java, 
27566         * org/omg/PortableInterceptor/ORBInitInfoPackage/InvalidName.java,
27567         * org/omg/PortableInterceptor/ORBInitInfoPackage/DuplicateName.java,
27568         * org/omg/PortableServer/CurrentPackage/NoContext.java: Make class final.
27569
27570 2006-03-14  Wolfgang Baer  <WBaer@gmx.de>
27571
27572         * NEWS: Added entry about printing support.
27573
27574 2006-03-14  David Gilbert  <david.gilbert@object-refinery.com>
27575
27576         * javax/swing/table/TableColumn.java
27577         (COLUMN_WIDTH_PROPERTY): Updated API docs,
27578         (isResizable): Likewise,
27579         (setWidth): Likewise,
27580         (getWidth): Likewise,
27581         (setPreferredWidth): Likewise,
27582         (getPreferredWidth): Likewise,
27583         (setMinWidth): Check for negative argument and update width and 
27584         preferredWidth if necessary,
27585         (getMinWidth): Updated API docs.
27586
27587 2006-03-14  Lillian Angel  <langel@redhat.com>
27588         
27589         * java/awt/Container.java
27590         (addImpl): Removed call to repaint. No need to repaint here.
27591
27592 2006-03-14  Roman Kennke  <kennke@aicas.com>
27593
27594         * javax/swing/plaf/metal/MetalSliderUI.java
27595         (paintTrack): Added OceanTheme support.
27596
27597 2006-03-14  David Gilbert  <david.gilbert@object-refinery.com>
27598
27599         * javax/swing/table/TableColumn.java
27600         (setResizable): Fire PropertyChangeEvent if the flag value changes,
27601         (isResizable): Updated API docs.
27602
27603 2006-03-14  David Gilbert  <david.gilbert@object-refinery.com>
27604
27605         * javax/swing/LookAndFeel.java: Updated API docs.
27606
27607 2006-03-14  Roman Kennke  <kennke@aicas.com>
27608
27609         * javax/swing/plaf/metal/MetalUtils.java
27610         (paintGradient): Added support for 'masked' gradients.
27611         (paintHorizontalGradient): Likewise.
27612         (paintVerticalGradient): Likewise.
27613         * javax/swing/plaf/metal/MetalIconFactory.java
27614         (RadioButtonIcon.gradientMask): New field.
27615         (RadioButtonIcon.paintIcon): Added mask for gradient painting.
27616
27617 2006-03-14  Mark Wielaard  <mark@klomp.org>
27618
27619         Fixes bug #26645.
27620         * javax/swing/plaf/basic/BasicComboBoxEditor.java (listener):
27621         New field.
27622         (removeActionListener): Add listener to ComboBoxEditorListener.
27623         (removeActionListener): Remove listener from ComboBoxEditorListener.
27624         (ComboBoxEditorListener): New static helper class.
27625
27626 2006-03-14  Roman Kennke  <kennke@aicas.com>
27627
27628         * javax/swing/plaf/metal/MetalBorders.java
27629         (getToolBarButtonBorder): Don't create a UIResource border
27630         here.
27631         * javax/swing/plaf/metal/MetalToolBarUI.java
27632         (installUI): New overridden method. Installs the rollover property.
27633         (uninstallUI): New overridden method. Resets the rollover property.
27634         * javax/swing/plaf/metal/MetalUtils.java
27635         (paintGradient): Fetch Float values from the UIManager. Adjusted
27636         method signatures accordingly.
27637         (paintHorizontalGradient): Adjusted signature to accept float
27638         instead of double.
27639         (paintVerticalGradient): Adjusted signature to accept float
27640         instead of double.
27641         * javax/swing/plaf/metal/OceanTheme.java
27642         (addCustomEntriesToTable): Added missing UIDefaults entries,
27643         except of Icons. Fixed gradient entries to use Float instead
27644         of Double.
27645
27646 2006-03-14  Roman Kennke  <kennke@aicas.com>
27647
27648         * javax/swing/JInternalFrame.java
27649         (JInternalFrame): Make JInternalFrame opaque.
27650         * javax/swing/JToolBarFrame.java
27651         (JToolBar): Make JToolBar opaque.
27652
27653 2006-03-14  David Gilbert  <david.gilbert@object-refinery.com>
27654
27655         * javax/swing/tree/TreeNode.java: Fixed bad API doc tags,
27656         * javax/swing/tree/TreePath.java: Likewise.
27657
27658 2006-03-13  Tom Tromey  <tromey@redhat.com>
27659
27660         * javax/swing/text/html/StyleSheet.java (removeAttributes):
27661         Genericized.
27662         * javax/swing/plaf/synth/SynthLookAndFeel.java (load): Genericized.
27663         * java/rmi/server/RMIClassLoader.java (loadProxyClass): Genericized.
27664
27665 2006-03-13  Keith Seitz  <keiths@redhat.com>
27666
27667         * gnu/classpath/jdwp/processor/ReferenceTypeCommandSet.java
27668         (executeMethods): Output number of methods.
27669
27670 2006-03-13  Roman Kennke  <kennke@aicas.com>
27671
27672         * javax/swing/plaf/basic/BasicButtonUI.java
27673         (uninstallDefaults): Only uninstall border if it's a UIResource.
27674         * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java
27675         (SystemMenuBar.isFocusTraversable): Fixed typo in signature.
27676         * javax/swing/plaf/basic/BasicInternalFrameUI.java
27677         (installUI): Don't touch the opaque flag of the glassPane and
27678         the frame. Don't invalidate.
27679         * javax/swing/plaf/basic/BasicInternalFrameUI.java
27680         (installUI): Don't touch the opaque flag of the glassPane.
27681         * javax/swing/plaf/basic/BasicMenuBarUI.java
27682         (properyChangeListener): Made field private.
27683         (ChangeHandler): Made class private.
27684         (ContainerHandler): Made class private.
27685         (PropertyChangeHandler): Made class private.
27686         * javax/swing/plaf/basic/BasicMenuUI.java
27687         (MenuHandler): Made class private.
27688         (PropertyChangeHandler): Removed unneeded class.
27689         (MenuDragMouseHandler): Made class private.
27690         (MenuKeyHandler): Made class private.
27691         * javax/swing/plaf/basic/BasicPanelUI.java
27692         (installDefaults): Made method protected. Don't set opaque
27693         flag.
27694         * javax/swing/plaf/basic/BasicScrollBarUI.java
27695         (TrackListener.shouldScroll): Made method private.
27696         * javax/swing/plaf/basic/BasicSplitPaneUI.java
27697         (BasicHorizontalLayoutManager.BasicHorizontalLayoutManager):
27698         Made constructor package private.
27699         * javax/swing/plaf/basic/BasicTableHeaderUI.java
27700         (cellBorder): Made field private.
27701         * javax/swing/plaf/basic/BasicTextUI.java
27702         (installDefaults): Don't make component opaque.
27703         * javax/swing/plaf/basic/BasicToolBarUI.java
27704         (createNonRollOverBorder): Don't create UIResource border.
27705         (createRollOverBorder): Don't create UIResource border.
27706         (installComponents): Moved setRolloverBorders call here.
27707         (installDefaults): Moved setRolloverBorders call from here.
27708         (installUI): Don't make toolbar opaque.
27709         (setBorderToNonRollover): Handle AbstractButton instead of
27710         JButton here.
27711         (uninstallComponents): Don't nullify class fields here.
27712
27713 2006-03-13  David Gilbert  <david.gilbert@object-refinery.com>
27714
27715         * javax/swing/SwingUtilities.java
27716         (calculateInnerArea): handle null component, and replace 
27717         getLocalBounds() with getBounds(Rectangle) to avoid unnecessary object
27718         creation.
27719
27720 2006-03-13  Roman Kennke  <kennke@aicas.com>
27721
27722         * javax/swing/JColorChooser.java
27723         (updateUI): Don't call revalidate().
27724         * javax/swing/JComboBox.java
27725         (updateUI): Don't call invalidate().
27726         * javax/swing/JDesktopPane.java
27727         (updateUI): Don't call invalidate().
27728         * javax/swing/JFileChooser.java
27729         (updateUI): Don't call revalidate().
27730         * javax/swing/JMenu.java
27731         (updateUI): Don't call invalidate().
27732         * javax/swing/JMenuBar.java
27733         (updateUI): Don't call invalidate().
27734         * javax/swing/JMenuItem.java
27735         (updateUI): Don't call invalidate().
27736         * javax/swing/JOptionPane.java
27737         (updateUI): Don't call invalidate().
27738         * javax/swing/JPopupMenu.java
27739         (updateUI): Don't call invalidate().
27740         * javax/swing/JProgressBar.java
27741         (updateUI): Don't call invalidate().
27742         * javax/swing/JScrollBar.java
27743         (updateUI): Don't call invalidate() and repaint().
27744         * javax/swing/JScrollPane.java
27745         (updateUI): Rewritten to be like the other updateUI()
27746         methods.
27747         * javax/swing/JSlider.java
27748         (updateUI): Don't call invalidate() and repaint().
27749         * javax/swing/JSplitPane.java
27750         (updateUI): Don't call invalidate() and repaint().
27751         * javax/swing/JTabbedPane.java
27752         (updateUI): Don't call invalidate().
27753         * javax/swing/JTable.java
27754         (updateUI): Don't call revalidate() and repaint().
27755         * javax/swing/JToolBar.java
27756         (updateUI): Don't call revalidate() and repaint().
27757         * javax/swing/JToolTip.java
27758         (updateUI): Don't call revalidate() and repaint().
27759
27760 2006-03-13  Roman Kennke  <kennke@aicas.com>
27761
27762         * javax/swing/SwingUtilities.java
27763         (updateComponentTreeUI): Rewritten to be more robust. Handling of
27764         menus and non-Swing components is improved.
27765         (updateComponentTreeUIImpl): New helper method.
27766         (replaceUIActionMap): Added check for uiActionMap==parent to
27767         avoid loop.
27768         (replaceUIInputMap): Added check for uiInputMap==parent to
27769         avoid loop.
27770
27771 2006-03-13  Wolfgang Baer  <WBaer@gmx.de>
27772
27773         * gnu/classpath/debug/Component.java: 
27774         (IPP) New component for IPP debugging. 
27775         (EVERYTHING): Adapted to include IPP.
27776         * javax/print/PrintServiceLookup.java: 
27777         (registerServiceProvider): New method.
27778         (registerService): Likewise.
27779         (lookupPrintServices): Likewise.
27780         (lookupMultiDocPrintServices): Likewise.
27781         (lookupDefaultPrintService): Likewise.
27782         (static_initializer): Likewise.
27783         (printServiceLookups): New field for found service providers.
27784         (printServices): New field for application registered providers.
27785         (systemProvider): New field for the system provider.    
27786         * javax/print/ServiceUI.java: New file. 
27787         * javax/print/package.html: Added more usage content.
27788         * javax/print/event/package.html: Likewise.
27789         * javax/print/attribute/package.html: Likewise.
27790         * javax/print/attribute/standard/package.html: Likewise.
27791         * gnu/javax/print/PrintUriException.java,
27792         gnu/javax/print/PrintFlavorException.java,
27793         gnu/javax/print/PrinterDialog.java,
27794         gnu/javax/print/PrintAttributeException.java,
27795         gnu/javax/print/CupsPrintServiceLookup.java,
27796         gnu/javax/print/CupsServer.java,
27797         gnu/javax/print/CupsPrintService.java,
27798         gnu/javax/print/CupsMediaMapping.java,
27799         gnu/javax/print/CupsIppOperation.java:
27800         New implementation files of the Java Print Service API.
27801         * gnu/javax/print/ipp/IppValueTag.java,
27802         gnu/javax/print/ipp/MultiDocPrintJobImpl.java,
27803         gnu/javax/print/ipp/IppStatusCode.java,
27804         gnu/javax/print/ipp/IppUtilities.java,
27805         gnu/javax/print/ipp/IppResponse.java,
27806         gnu/javax/print/ipp/IppException.java,
27807         gnu/javax/print/ipp/IppPrintService.java,
27808         gnu/javax/print/ipp/IppRequest.java,
27809         gnu/javax/print/ipp/IppMultiDocPrintService.java,
27810         gnu/javax/print/ipp/IppDelimiterTag.java,
27811         gnu/javax/print/ipp/DocPrintJobImpl.java:
27812         New files of the IPP client implementation.
27813         * gnu/javax/print/ipp/attribute/UnknownAttribute.java,
27814         gnu/javax/print/ipp/attribute/StatusMessage.java,
27815         gnu/javax/print/ipp/attribute/RequestedAttributes.java,
27816         gnu/javax/print/ipp/attribute/NaturalLanguageSyntax.java,
27817         gnu/javax/print/ipp/attribute/DocumentAccessError.java,
27818         gnu/javax/print/ipp/attribute/DetailedStatusMessage.java,
27819         gnu/javax/print/ipp/attribute/DefaultValueAttribute.java,
27820         gnu/javax/print/ipp/attribute/CharsetSyntax.java: 
27821         New attribute syntax/role files of the printing implementation.
27822         * gnu/javax/print/ipp/attribute/supported/UriSecuritySupported.java,
27823         gnu/javax/print/ipp/attribute/supported/UriAuthenticationSupported.java,
27824         gnu/javax/print/ipp/attribute/supported/SidesSupported.java,
27825         gnu/javax/print/ipp/attribute/supported/PrintQualitySupported.java,
27826         gnu/javax/print/ipp/attribute/supported/PrinterUriSupported.java,
27827         gnu/javax/print/ipp/attribute/supported/PrinterResolutionSupported.java,
27828         gnu/javax/print/ipp/attribute/supported/PageRangesSupported.java,
27829         gnu/javax/print/ipp/attribute/supported/
27830         OrientationRequestedSupported.java, 
27831         gnu/javax/print/ipp/attribute/supported/OperationsSupported.java,
27832         gnu/javax/print/ipp/attribute/supported/
27833         MultipleDocumentHandlingSupported.java, 
27834         gnu/javax/print/ipp/attribute/supported/
27835         MultipleDocumentJobsSupported.java, 
27836         gnu/javax/print/ipp/attribute/supported/MediaSupported.java,
27837         gnu/javax/print/ipp/attribute/supported/JobSheetsSupported.java,
27838         gnu/javax/print/ipp/attribute/supported/JobHoldUntilSupported.java,
27839         gnu/javax/print/ipp/attribute/supported/IppVersionsSupported.java,
27840         gnu/javax/print/ipp/attribute/supported/
27841         GeneratedNaturalLanguageSupported.java,
27842         gnu/javax/print/ipp/attribute/supported/FinishingsSupported.java,
27843         gnu/javax/print/ipp/attribute/supported/DocumentFormatSupported.java,
27844         gnu/javax/print/ipp/attribute/supported/CompressionSupported.java,
27845         gnu/javax/print/ipp/attribute/supported/CharsetSupported.java:
27846         New supported attribute files.
27847         * gnu/javax/print/ipp/attribute/printer/CharsetConfigured.java,
27848         gnu/javax/print/ipp/attribute/printer/DocumentFormat.java,
27849         gnu/javax/print/ipp/attribute/printer/MultipleOperationTimeOut.java,
27850         gnu/javax/print/ipp/attribute/printer/NaturalLanguageConfigured.java,
27851         gnu/javax/print/ipp/attribute/printer/PrinterCurrentTime.java,
27852         gnu/javax/print/ipp/attribute/printer/PrinterDriverInstaller.java,
27853         gnu/javax/print/ipp/attribute/printer/PrinterStateMessage.java,
27854         gnu/javax/print/ipp/attribute/printer/PrinterUpTime.java:
27855         New printer description attribute files.
27856         * gnu/javax/print/ipp/attribute/job/AttributesCharset.java,
27857         gnu/javax/print/ipp/attribute/job/AttributesNaturalLanguage.java,
27858         gnu/javax/print/ipp/attribute/job/JobDetailedStatusMessages.java,
27859         gnu/javax/print/ipp/attribute/job/JobDocumentAccessErrors.java,
27860         gnu/javax/print/ipp/attribute/job/JobPrinterUri.java,
27861         gnu/javax/print/ipp/attribute/job/JobId.java,
27862         gnu/javax/print/ipp/attribute/job/JobMoreInfo.java,
27863         gnu/javax/print/ipp/attribute/job/JobUri.java,
27864         gnu/javax/print/ipp/attribute/job/JobStateMessage.java:
27865         New job description attribute files.
27866         * gnu/javax/print/ipp/attribute/defaults/CopiesDefault.java,
27867         gnu/javax/print/ipp/attribute/defaults/DocumentFormatDefault.java,
27868         gnu/javax/print/ipp/attribute/defaults/FinishingsDefault.java,
27869         gnu/javax/print/ipp/attribute/defaults/JobHoldUntilDefault.java,
27870         gnu/javax/print/ipp/attribute/defaults/JobPriorityDefault.java,
27871         gnu/javax/print/ipp/attribute/defaults/JobSheetsDefault.java,
27872         gnu/javax/print/ipp/attribute/defaults/MediaDefault.java,
27873         gnu/javax/print/ipp/attribute/defaults/
27874         MultipleDocumentHandlingDefault.java,
27875         gnu/javax/print/ipp/attribute/defaults/NumberUpDefault.java,
27876         gnu/javax/print/ipp/attribute/defaults/OrientationRequestedDefault.java,
27877         gnu/javax/print/ipp/attribute/defaults/PrinterResolutionDefault.java,
27878         gnu/javax/print/ipp/attribute/defaults/PrintQualityDefault.java,
27879         gnu/javax/print/ipp/attribute/defaults/SidesDefault.java:
27880         New default printing attribute files.
27881         * resource/gnu/javax/print/PrinterDialog.properties: New file.
27882         * resource/gnu/javax/print/PrinterDialog_de.properties: Likewise.
27883         * examples/gnu/classpath/examples/print/Demo.java: 
27884         New demo application of the current implemented functionality.
27885
27886 2006-03-13  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
27887
27888         * java/rmi/activation/ActivationGroupDesc.java: Implemented.
27889         java/rmi/activation/ActivationDesc.java.java,
27890         java/rmi/activation/ActivationGroup.java,
27891         java/rmi/activation/ActivationID.java,
27892         java/rmi/activation/ActivationMonitor.java,
27893         java/rmi/activation/ActivationSystem.java,
27894         java/rmi/activation/package.html: Documenting.
27895
27896 2006-03-13  Roman Kennke  <kennke@aicas.com>
27897
27898         * javax/swing/JInternalFrame.java
27899         (setSelected): Repaint frame when it is showing and the selection
27900         state changes.
27901
27902 2006-03-13  Roman Kennke  <kennke@aicas.com>
27903
27904         * javax/swing/AbstractButton.java
27905         (AbstractAccessibleButton.getAccessibleRelationSet): Return super....()
27906         instead of null.
27907
27908 2006-03-13  Roman Kennke  <kennke@aicas.com>
27909
27910         * javax/accessibility/AccessibleContext.java
27911         (getAccessibleRelationSet): Return empty set instead of null.
27912
27913 2006-03-13  Roman Kennke  <kennke@aicas.com>
27914
27915         * javax/swing/ImageIcon.java
27916         (loadImage): Remove completed images from the MediaTracker. This
27917         avoids a potential memory leak.
27918
27919 2006-03-12  Wolfgang Baer  <WBaer@gmx.de>
27920
27921         * javax/print/MultiDocPrintService.java, 
27922         * javax/print/MultiDocPrintJob.java, 
27923         * javax/print/MultiDoc.java: Added and enhanced documentation.
27924
27925 2006-03-12  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
27926
27927         * java/rmi/activation/ActivationID.java (uid): New field.
27928         (writeExternal, readExternal): New methods. 
27929         (equals, hashCode): Rewritten.
27930         * java/rmi/activation/ActivationInstantiator.java,
27931         * java/rmi/activation/ActivationSystem.java,
27932         * java/rmi/activation/Activator.java,
27933         * java/rmi/activation/Activatable.java,
27934         * java/rmi/activation/ActivationGroup.java,
27935         * java/rmi/activation/ActivationGroupDesc.java: 
27936         Documented and autoformatted.
27937         * java/rmi/activation/package.html: Added content.
27938         
27939 2006-03-12  Chris Burdess  <dog@gnu.org>
27940
27941         Fixes PR 26652
27942         * gnu/xml/stream/XMLParser.java: Fix for case when both reader and
27943           encoding are specified.
27944
27945 2006-03-11  David Gilbert  <david.gilbert@object-refinery.com>
27946
27947         * javax/swing/DefaultSingleSelectionModel.java: API docs all over, plus
27948         (changeEvent): Initialise in fireStateChange(),
27949         (setSelectedIndex): Check if change is made before firing event,
27950         (clearSelection): Delegate to setSelectedIndex(),
27951         (fireStateChanged): Initialise changeEvent if necessary,
27952         * javax/swing/SingleSelectionModel.java: API docs all over.
27953
27954 2006-03-11  Tom Tromey  <tromey@redhat.com>
27955
27956         * java/util/zip/InflaterInputStream.java: Reverted previous
27957         patch.
27958
27959 2006-03-11  Mark Wielaard  <mark@klomp.org>
27960
27961         * java/text/AttributedCharacterIterator.java (Attribute.readResolve):
27962         Compare name.
27963
27964 2006-03-11  David Gilbert  <david.gilbert@object-refinery.com>
27965
27966         * javax/swing/event/TreeSelectionEvent.java
27967         (isAddedPath(TreePath)): Throw IllegalArgumentException if path is
27968         not one of the added/removed paths,
27969         (cloneWithSource): Reformatted.
27970
27971 2006-03-11  David Gilbert  <david.gilbert@object-refinery.com>
27972
27973         * javax/swing/tree/TreeCellEditor.java: Added API docs,
27974         * javax/swing/tree/TreeCellRenderer.java: Likewise.
27975
27976 2006-03-10  Casey Marshall  <csm@gnu.org>
27977
27978         Fixes PR 23768.
27979         * javax/crypto/Cipher.java (doFinal, doFinal, doFinal): don't
27980         reset `state.'
27981         (doFinal, update): new methods.
27982         (init, init, init, init): initialize `state' after trying the
27983         implementation, which can throw an exception.
27984         * javax/crypto/CipherSpi.java (engineDoFinal, engineUpdate): new
27985         methods.
27986
27987 2006-03-11  Ito Kazumitsu  <kaz@maczuka.gcd.org>
27988
27989         * gnu/regexp/BacktrackStack.java: New file.
27990         * gnu/regexp/RE.java(findMatch): New method.
27991         * gnu/regexp/REMatch.java(next,matchFlags,MF_FIND_ALL,
27992         REMatchList): Removed. (backtrackStack): New field.
27993         * gnu/regexp/REToken.java(match): Changed from an abstract
27994         method to an ordinary method defined with the new method
27995         matchThis. (matchThis, getNext, findMatch, returnsFixedLengthMatches,
27996         findFixedLengthMatches, backtrack, toString): New methods.
27997         * gnu/regexp/RETokenAny.java: Inplemented new methods of REToken.
27998         * gnu/regexp/RETokenBackRef.java: Likewise.
27999         * gnu/regexp/RETokenChar.java: Likewise.
28000         * gnu/regexp/RETokenEnd.java: Likewise.
28001         * gnu/regexp/RETokenEndSub.java: Likewise.
28002         * gnu/regexp/RETokenIndependent.java: Likewise.
28003         * gnu/regexp/RETokenLookAhead.java: Likewise.
28004         * gnu/regexp/RETokenLookBehind.java: Likewise.
28005         * gnu/regexp/RETokenNamedProperty.java: Likewise.
28006         * gnu/regexp/RETokenPOSIX.java: Likewise.
28007         * gnu/regexp/RETokenRange.java: Likewise.
28008         * gnu/regexp/RETokenStart.java: Likewise.
28009         * gnu/regexp/RETokenWordBoundary.java: Likewise
28010         * gnu/regexp/RETokenOneOf.java: Rewriten.
28011         * gnu/regexp/RETokenRepeated.java: Rewriten.
28012
28013 2006-03-10  Roman Kennke  <kennke@aicas.com>
28014
28015         * javax/swing/plaf/metal/MetalBorders.java
28016         (RolloverButtonBorder.paintBorder): Only call super here.
28017         * javax/swing/plaf/metal/MetalButtonListener.java
28018         (propertyChange): Only call super here.
28019         * javax/swing/plaf/metal/MetalButtonUI.java
28020         (update): Changed condition from isOpaque() to isContentAreaFilled()
28021         for the gradient fill.
28022         * javax/swing/plaf/metal/MetalToggleButtonUI.java
28023         (paintText): API doc fix. Makes paintText not deprecated as specified
28024         but adds comment that this is obsolete.
28025         * javax/swing/plaf/metal/MetalUtils.java
28026         (fillMetalPattern): Fixed condition so that the Java2D is not
28027         used when the noGraphics2D property is set.
28028
28029 2006-03-10  Roman Kennke  <kennke@aicas.com>
28030
28031         * javax/swing/plaf/metal/MetalLookAndFeel.java
28032         (createDefaultTheme): Set OceanTheme as default metal theme.
28033
28034 2006-03-10  Roman Kennke  <kennke@aicas.com>
28035
28036         * javax/swing/text/WrappedPlainView.java
28037         (metrics): Made field package private to avoid accessor method.
28038         (WrappedLine.paint): Call drawLine with y offset of the font ascent.
28039         The drawLine (righly) interprets the y parameter as the baseline.
28040         * javax/swing/text/Utilities.java
28041         (getBreakLocation): Don't consider the offset. The returned value
28042         for getTabbedTextOffset is already relative to the offset.
28043
28044 2006-03-10  Wolfgang Baer  <WBaer@gmx.de>
28045
28046         * gnu/java/net/protocol/http/Headers.java: Added documentation all over.
28047         (dateFormat): Made private.
28048         (put): Replace only the last occurance and the value.
28049         (putAll): Save one iteration. Clarified documentation.
28050
28051 2006-03-10  Tom Tromey  <tromey@redhat.com>
28052
28053         * java/util/zip/InflaterInputStream.java (read): Replace with libgcj
28054         implementation.
28055         * java/util/zip/GZIPInputStream.java (readHeader): Use DEFLATED,
28056         not '8'.
28057
28058 2006-03-10  Lillian Angel  <langel@redhat.com>
28059
28060         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c
28061         (comboboxgroup_get_widget): New function.
28062         (removed): Fixed to use new function to get the correct widget.
28063         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
28064         (nativeSetCheckboxGroup): Reverted last patch to use get_widget
28065         function.
28066
28067 2006-03-10  Lillian Angel  <langel@redhat.com>
28068
28069         * java/awt/GridBagLayout.java
28070         (ArrangeGrid): Added checks to determine if component
28071         is placed last in a row or column. If so, the location
28072         of the last component should be used to get the location
28073         of the current component.
28074
28075 2006-03-10  Lillian Angel  <langel@redhat.com>
28076
28077         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
28078         (nativeSetCheckboxGroup): No need to use new function here.
28079         Should just pass in pointer.
28080
28081 2006-03-10  Lillian Angel  <langel@redhat.com>
28082
28083         * java/awt/GridBagLayout.java
28084         (distributeSizeAndWeight): Change else if to else. This
28085         allows for components to be added to a new row when 
28086         their gridheight is REMAINDER.
28087
28088 2006-03-10  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
28089
28090         * java/rmi/activation/ActivationDesc.java,
28091         java/rmi/activation/ActivationGroupID.java,
28092         java/rmi/activation/Activator.java,
28093         java/rmi/server/Operation.java,
28094         java/rmi/server/RemoteServer.java: Documented and formatted.
28095
28096 2006-03-10  David Gilbert  <david.gilbert@object-refinery.com>
28097
28098         * javax/swing/JToggleButton.java: Fixed API doc tags,
28099         * javax/swing/OverlayLayout.java: Likewise.
28100
28101 2006-03-10  David Gilbert  <david.gilbert@object-refinery.com>
28102
28103         * javax/swing/DefaultCellEditor.java
28104         (cancelCellEditing): Removed spurious API doc tag.
28105
28106 2006-03-10  Lillian Angel  <langel@redhat.com>
28107
28108         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
28109         (create): Put checkbox widget into an event box so it paints properly.
28110         (connectSignals): Fixed to use new function.
28111         (nativeSetCheckboxGroup): Likewise.
28112         (gtkToggleButtonSetActive): Likewise.
28113         (gtkWidgetModifyFont): Likewise.
28114         (gtkButtonSetLabel): Likewise.
28115         (combobox_get_widget): New function.
28116
28117 2006-03-10  David Gilbert  <david.gilbert@object-refinery.com>
28118
28119         * javax/swing/text/rtf/package.html: New file.
28120         
28121 2006-03-10  Roman Kennke  <kennke@aicas.com>
28122
28123         * javax/swing/plaf/metal/OceanTheme.java
28124         (addCustomEntriesToTable): Fixed ScrollBar.gradient value.
28125         * javax/swing/plaf/metal/MetalScrollBarUI.java
28126         (paintThumb): Only draw Metal pattern if theme is not OceanTheme.
28127         (paintThumbHorizontal): Added handling of OceanTheme.
28128         (paintThumbVertical): Added handling of OceanTheme.
28129
28130 2006-03-10  Roman Kennke  <kennke@aicas.com>
28131
28132         Reported by Fridjof Siebert <siebert@aicas.com>
28133         * java/awt/MediaTracker.java
28134         (removeImage): Only set prev to e when the the images of the
28135         entries are not the same. This avoids a potentially corrupt list.
28136
28137 2006-03-10  Chris Burdess  <dog@gnu.org>
28138
28139         PR 26620:
28140         * gnu/xml/transform/TransformerImpl.java: Suspend wellformedness
28141           checking while reindenting.
28142
28143 2006-03-10  Thomas Fitzsimmons  <fitzsim@redhat.com>
28144
28145         * javax/imageio/plugins/jpeg/JPEGHuffmanTable.java: New file.
28146
28147 2006-03-09  Tom Tromey  <tromey@redhat.com>
28148
28149         PR classpath/26585:
28150         * tools/Makefile.am (TOOLSdir): Don't put tools.zip in tools
28151         subdir.  Added README.
28152         (install-data-local): Removed.
28153         (uninstall-local): Likewise.
28154         (EXTRA_DIST): Removed.
28155
28156 2006-03-09  Tom Tromey  <tromey@redhat.com>
28157
28158         PR classpath/26623:
28159         * native/jni/qt-peer/Makefile.am (nativeexeclib_LTLIBRARIES):
28160         Renamed.
28161         * native/jni/midi-alsa/Makefile.am (nativeexeclib_LTLIBRARIES):
28162         Renamed.
28163         * native/jni/java-net/Makefile.am (nativeexeclib_LTLIBRARIES):
28164         Renamed.
28165         * native/jni/java-lang/Makefile.am (nativeexeclib_LTLIBRARIES):
28166         Renamed.
28167         * native/jni/xmlj/Makefile.am (nativeexeclib_LTLIBRARIES):
28168         Renamed.
28169         * native/jni/gtk-peer/Makefile.am (nativeexeclib_LTLIBRARIES):
28170         Renamed.
28171         * native/jni/midi-dssi/Makefile.am (nativeexeclib_LTLIBRARIES):
28172         Renamed.
28173         * native/jni/java-io/Makefile.am (nativeexeclib_LTLIBRARIES):
28174         Renamed.
28175         * native/jni/java-nio/Makefile.am (nativeexeclib_LTLIBRARIES):
28176         Renamed.
28177         * native/jni/java-util/Makefile.am (nativeexeclib_LTLIBRARIES):
28178         Renamed.
28179         * native/jawt/Makefile.am (nativeexeclib_LTLIBRARIES): Renamed.
28180         * configure.ac (nativeexeclibdir): Renamed from nativelibdir.
28181
28182 2006-03-09  Keith Seitz  <keiths@redhat.com>
28183
28184         * gnu/classpath/jdwp/processor/MethodCommandSet.java
28185         (executeVariableTable): Use VMMethod instead of reflection.
28186         (executeLineTable): Likewise.
28187         * gnu/classpath/jdwp/processor/ReferenceTypeCommandSet.java
28188         (executeMethods): Rewrite to use new VMVirtualMachine.getAllClassMethods.
28189         * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java
28190         (getLineTable): Removed. Now resides in VMMethod.
28191         (getVarTable): Likewise.
28192         (getAllClassMethods): New method.
28193         
28194 2006-03-09  Keith Seitz  <keiths@redhat.com>
28195
28196         * gnu/classpath/jdwp/event/EventManager.java: Update javadoc.
28197         * gnu/classpath/jdwp/event/ThreadStartEvent.java
28198         (ThreadStartEvent): Likewise.
28199         * gnu/classpath/jdwp/event/VmDeathEvent.java (VmDeathEvent): Likewise.
28200         * gnu/classpath/jdwp/event/filters/ConditionalFilter.java
28201         (ConditionalFilter): Likewise.
28202         * gnu/classpath/jdwp/event/filters/ExceptionOnlyFilter.java
28203         (ExceptionOnlyFilter): Likewise.
28204         * gnu/classpath/jdwp/event/filters/FieldOnlyFilter.java
28205         (FieldOnlyFilter): Likewise.
28206         * gnu/classpath/jdwp/event/filters/StepFilter.java (getDepth): Likewise.
28207         (getSize): Likewise.
28208         (StepFilter): Likewise.
28209         * gnu/classpath/jdwp/id/JdwpId.java: Likewise (for _tag).
28210         * gnu/classpath/jdwp/transport/JdwpPacket.java
28211         (JdwpPacket): Likewise.
28212         (fromBytes): Likewise.
28213         * gnu/classpath/jdwp/transport/JdwpReplyPacket.java
28214         (JdwpReplyPacket): Likewise.
28215         * gnu/classpath/jdwp/util/Value.java (getUntaggedObj): Likewise.
28216         * vm/reference/gnu/classpath/jdwp/VMIdManager.java
28217         (getReferenceType): Likewise.
28218         (newObjectId): Likewise.
28219         * vm/reference/gnu/classpath/jdwp/VMMethod.java (readId): Likewise.
28220         * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java
28221         (getFrames): Fix typo in parameter name and update javadoc.
28222         (getClassMethod): Update javadoc.
28223
28224 2006-03-09  David Gilbert  <david.gilbert@object-refinery.com>
28225
28226         * javax/swing/event/TreeSelectionEvent.java: Updated API docs,
28227         * javax/swing/event/TreeSelectionListener.java: Likewise.
28228
28229 2006-03-09  Lillian Angel  <langel@redhat.com>
28230
28231         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c
28232         (getHScrollbarHeight): Fixed property name.
28233         (getVScrollbarHeight): Likewise.
28234
28235 2006-03-09  Lillian Angel  <langel@redhat.com>
28236
28237         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
28238         (get_widget): New function.
28239         (gtkWidgetSetParent): Changed to use new function.
28240         (gtkWidgetSetCursorUnlocked): Likewise.
28241         (gtkWidgetSetSensitive): Likewise.
28242         (gtkWidgetRequestFocus): Likewise.
28243         (gtkWindowGetLocationOnScreen): Likewise.
28244         (gtkWidgetGetDimensions): Likewise.
28245         (gtkWidgetGetPreferredDimensions): Likewise.
28246         (setNativeBounds): Likewise.
28247         (gtkWidgetGetBackground): Likewise.
28248         (gtkWidgetGetForeground): Likewise.
28249         (gtkWidgetSetBackground): Likewise.
28250         (gtkWidgetSetForeground): Likewise.
28251         (setVisibleNativeUnlocked): Likewise.
28252         (isEnabled): Likewise.
28253         (isRealized): Likewise.
28254         (setNativeEventMask): Likewise.
28255
28256 2006-03-09  Lillian Angel  <langel@redhat.com>
28257
28258         PR Classpath\22163
28259         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
28260         (create): Added combobox widget to an event box.
28261         (connectSignals): Added call to choice_get_widget to get the
28262         combobox out of the event box.
28263         (append): Likewise.
28264         (nativeRemoveAll): Likewise.
28265         (nativeRemove): Likwise.
28266         (nativeAdd): Likewise.
28267         (selectNative): Likewise.
28268         (choice_get_widget): New function.
28269         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
28270         (create): Added list scroll window widget to an event box.
28271         (connectSignals): Changed call to use new function to get the
28272         correct widget out of the event box.
28273         (getWidgetModifyFont): Likewise.
28274         (getWidgetRequestFocus): Likewise.
28275         (append): Likewise.
28276         (add): Likewise.
28277         (delItems): Likewise.
28278         (select): Likewise.
28279         (deselect): Likewise.
28280         (getSize): Likewise.
28281         (getSelectedIndexes): Likewise.
28282         (makeVisible): Likewise.
28283         (setMultipleMode): Likewise.
28284         (list_get_widget): New function.
28285         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c
28286         (create): Added scrollpane to an eventbox.
28287         (setScrollPosition): Changed call to use new function to get the
28288         correct widget out of the event box.
28289         (gtkScrolledWindowSetHScrollIncrement): Likewise.
28290         (gtkScrolledWindowSetVScrollIncrement): Likewise.
28291         (getHScrollbarHeight): Likewise.
28292         (getVScrollbarWidth): Likewise.
28293         (setPolicy): Likewise.
28294         (scrollpane_get_widget): New function.
28295         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollbarPeer.c
28296         (connectSignals): Changed call to use new function to get the
28297         correct widget out of the event box.
28298         (create): Added scrollbar to an eventbox.
28299         (setLineIncrement): Changed call to use new function to get the
28300         correct widget out of the event box.
28301         (setPageIncrement): Likewise.
28302         (setBarValues): Likewise.
28303         (scrollbar_get_widget): New function.
28304         * native/jni/gtk-peer/gnu_java_gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
28305         (create): Added text area scroll window widget to an event box.
28306         (connectSignals): Changed call to use new function to get the
28307         correct widget out of the event box.
28308         (insert): Likewise.
28309         (replaceRange): Likewise.
28310         (gtkWidgetModifyFont): Likewise.
28311         (gtkWidgetRequestFocus): Likewise.
28312         (getHScrollbarHeight): Likewise.
28313         (getVScrollbarWidth): Likewise.
28314         (getCaretPosition): Likewise.
28315         (setCaretPosition):Likewise.
28316         (getSelectionStart): Likewise.
28317         (getSelectionEnd): Likewise.
28318         (select): Likewise.
28319         (setEditable): Likewise.
28320         (getText): Likewise.
28321         (setText): Likewise.
28322         (textarea_get_widget): New function.
28323
28324 2006-03-09  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
28325
28326         * java/rmi/dgc/VMID.java: 
28327         (equals, hashCode, static initializer): Rewritten.
28328         * java/rmi/dgc/package.html: Documented.
28329         
28330 2006-03-09  Mark Wielaard  <mark@klomp.org>
28331
28332         * gnu/java/awt/peer/gtk/GtkClipboard.java (clipboard, selection):
28333         New static field.
28334         (stringMimeType, imageMimeType, filesMimeType): Initialize directly.
28335         (canCache): Likewise.
28336         (GtkClipboard): Take String argument.
28337         (getInstance): Removed.
28338         (getClipboardInstance, getSelectionInstance): New static methods.
28339         (setSystemContents): Make synchronized. Takes boolean argument.
28340         (initNativeState): Add clipboard and selection.
28341         * gnu/java/awt/peer/gtk/GtkClipboardNotifier.java
28342         (announceClipboardChange, announcePrimaryChange): New static field.
28343         (announce): Take GtkClipboard as argument.
28344         (run): Check which clipboard to announce change for.
28345         * gnu/java/awt/peer/gtk/GtkSelection.java (clipboard): New final
28346         boolean field.
28347         (GtkSelection): Take GtkClipboard as argument.
28348         (requestText, requestImage, requestURIs, requestBytes): Add boolean
28349         clipboard argument.
28350         (requestMimeTypes): Likewise.
28351         * gnu/java/awt/peer/gtk/GtkToolkit.java (getSystemSelection):
28352         New method.
28353         * java/awt/Toolkit.java (getSystemSelection): Document.
28354         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c
28355         (cp_gtk_selection_instance): New var.
28356         (current_selection, owner): Removed.
28357         (clipboard_owner_change_cb): Use clipboard argument.
28358         (initNativeState): Store clipboard and selection instances. Cache
28359         setSystemContentsID, provideContentID, provideTextID, provideImageID,
28360         and provideURIsID.
28361         (clipboard_get_func): Use clipboard argument.
28362         (clipboard_clear_func): Likewise. Always call method.
28363         (advertiseContent): Don't cache method ids here. Check whether to
28364         use clpboard or selection. Don't set owner or current_selection.
28365         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkSelection.c
28366         (requestText, requestImage, requestURIs, requestBytes): Use extra
28367         boolean argument to select clipboard.
28368         * native/jni/gtk-peer/gtkpeer.h (cp_gtk_selection): New extern.
28369         (cp_gtk_clipboard_instance, cp_gtk_selection_instance): Likewise.
28370         * include/gnu_java_awt_peer_gtk_GtkClipboard.h: Regenerate.
28371         * include/gnu_java_awt_peer_gtk_GtkSelection.h: Likewise.
28372
28373 2006-03-09  Keith Seitz  <keiths@redhat.com>
28374
28375         * gnu/classpath/jdwp/Jdwp.java: Remove unused imports.
28376         * gnu/classpath/jdwp/event/EventRequest.java: Likewise.
28377         * gnu/classpath/jdwp/event/filters/ClassMatchFilter.java: Likewise.
28378         * gnu/classpath/jdwp/event/filters/ThreadOnlyFilter.java: Likewise.
28379         * gnu/classpath/jdwp/processor/ThreadReferenceCommandSet.java: Likewise.
28380         * gnu/classpath/jdwp/transport/ITransport.java: Likewise.
28381         * vm/reference/gnu/classpath/jdwp/VMIdManager.java: Likewise.
28382         * vm/reference/gnu/classpath/jdwp/VMMethod.java: Likewise.
28383         * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java: Likewise.
28384
28385 2006-03-09  Mark Wielaard  <mark@klomp.org>
28386
28387         * javax/swing/JList.java (ensureIndexIsVisible): Check whether cell
28388         bounds for index is valid.
28389         * javax/swing/plaf/basic/BasicListUI.java (valueChanged): Likewise.
28390         (paint): Likewise.
28391         (getCellBounds): Update documentation.
28392
28393 2006-03-09  Arnaud Vandyck  <avdyk@gnu.org>
28394
28395         * .classpath: added exclude pattern on source folders
28396         (Makefiles, README and .cvsignore)
28397
28398 2006-03-08  Michael Koch  <konqueror@gmx.de>
28399
28400         * java/net/Proxy.java (NO_PROXY): Made final.
28401         (equals): Likewise.
28402         (hashCode): Likewise.
28403
28404 2006-03-08  Keith Seitz  <keiths@redhat.com>
28405
28406         * vm/reference/gnu/classpath/jdwp/VMMethod.java: New file.
28407         * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java
28408         (getClassMethod): New method.
28409
28410 2006-03-08  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
28411
28412         * java/rmi/server/UID.java (getMachineId): Include the host IP address.
28413     
28414 2006-03-08  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
28415
28416         * java/rmi/server/ObjID.java: Documented and autoformatted.
28417
28418 2006-03-08  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
28419
28420         PR 26584
28421         * tools/Makefile.am (install-data-local,
28422         uninstall-local): Install/uninstall the tools/README only.
28423         * tools/gnu/classpath/tools/giop/README: Updated.
28424         * tools/README: New file.
28425
28426 2006-03-08  Lillian Angel  <langel@redhat.com>
28427
28428         * java/awt/GridBagLayout.java
28429         (GetLayoutInfo): If the last component added had gridwidth == REMAINDER,
28430         then the next item should be set to current_y (not 0).
28431
28432 2006-03-08  Lillian Angel  <langel@redhat.com>
28433
28434         * java/awt/GridBagLayout.java
28435         (GetLayoutInfo): If gridy is RELATIVE and there is no component
28436         in the bottom-most spot of the column, we need to place that component
28437         at the y-location of the other components in that row. If there are
28438         no other components in that row, then place it at y = 0.
28439
28440 2006-03-08  David Gilbert  <david.gilbert@object-refinery.com>
28441
28442         * javax/swing/ProgressMonitor.java: Updated API docs,
28443         * javax/swing/ProgressMonitorInputStream.java: Likewise.
28444
28445 2006-03-08  Michael Koch  <konqueror@gmx.de>
28446
28447         * java/net/InetSocketAddress.java
28448         (InetSocketAddress(String,int,resolve)): New private contructor.
28449         (InetSocketAddress(String,int)): Use new private constructor.
28450         (createUnresolved): New method.
28451
28452 2006-03-07  Michael Koch  <konqueror@gmx.de>
28453
28454         * gnu/java/net/DefaultProxySelector.java,
28455         java/net/Proxy.java, java/net/ProxySelector.java:
28456         New files.
28457
28458 2006-03-07  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
28459
28460         * java/rmi/server/UID.java (constructor): Assign last and time fields
28461         after pause.
28462
28463 2006-03-07  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
28464
28465         * java/rmi/server/UID.java: New file (replacing). 
28466
28467 2006-03-08  Raif S. Naffah  <raif@swiftdsl.com.au>
28468
28469         * java/util/jar/Manifest.java: Removed unused imports.
28470         (CRLF): New constant.
28471         (read): Added method documentation.
28472         Use UTF-8 encoding instead of 8859_1.
28473         (write): Added method documentation.
28474         Use BufferedOutputStream (w/ 4K buffer) instead of PrintWriter.
28475         (write_main_section): Replace PrintWriter arg with OutputStream.
28476         Replace JarException with IOException.
28477         (write_version_info): Likewise.
28478         (write_main_attributes): Likewise.
28479         (write_attribute_entry): Likewise.
28480         (write_individual_sections): Likewise.
28481         (write_entry_attributes): Likewise.
28482         (write_header): Replace PrintWriter arg with OutputStream.
28483         Re-implemented.
28484
28485 2006-03-07  David Gilbert  <david.gilbert@object-refinery.com>
28486
28487         * javax/swing/tree/DefaultMutableTreeNode.java
28488         (getFirstChild): Updated API docs,
28489         (getLastChild): Likewise,
28490         (getChildAfter): Likewise,
28491         (getChildBefore): Likewise,
28492         (isNodeSibling): Return true if node == this,
28493         (getSiblingCount): Updated API docs,
28494         (getNextSibling): Likewise,
28495         (getPreviousSibling): Likewise,
28496         (isLeaf): Likewise,
28497         (getFirstLeaf): Likewise,
28498         (getLastLeaf): Likewise,
28499         (getNextLeaf): Implemented,
28500         (getPreviousLeaf): Implemented.
28501
28502 2006-03-07  Tom Tromey  <tromey@redhat.com>
28503
28504         * java/awt/image/ColorModel.java (getComponents): Javadoc fix.
28505         * java/awt/datatransfer/FlavorEvent.java: Added missing @since.
28506         * java/awt/dnd/DropTargetEvent.java (serialVersionUID): New field.
28507         * java/awt/DefaultFocusTraversalPolicy.java (serialVersionUID): New
28508         field.
28509
28510 2006-03-07  David Gilbert  <david.gilbert@object-refinery.com>
28511
28512         * javax/swing/tree/DefaultMutableTreeNode.java: API docs all over plus
28513         (clone): Reimplemented,
28514         (add): Throw IllegalArgumentException if child is an ancestor,
28515         (remove(int)): Set child's parent to null,
28516         (remove(MutableTreeNode)): Check arguments and set child's parent to 
28517         null,
28518         (insert): Check allowsChildren flag, check for null argument, and
28519         check for a node that is an ancestor,
28520         (getIndex): Throw IllegalArgumentException for null argument,
28521         (setAllowsChildren): If setting to false, remove existing children,
28522         (removeAllChildren): Set parent to null for removed children.
28523
28524 2006-03-07  David Gilbert  <david.gilbert@object-refinery.com>
28525
28526         * javax/swing/tree/TreeNode.java: Reformatted and added API docs all
28527         over.
28528
28529 2006-03-06  Tom Tromey  <tromey@redhat.com>
28530
28531         * java/lang/StrictMath.java (ulp): New methods.
28532         * java/lang/Math.java (ulp): New methods.
28533
28534 2006-03-07  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
28535
28536         * gnu/java/rmi/server/UnicastRef.java,
28537         * gnu/java/rmi/server/UnicastServer.java: Formatted.
28538         
28539 2006-03-07  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
28540
28541         * gnu/java/rmi/server/CombinedClassLoader.java 
28542         (findClass, findLibrary, findResouce, findResources): check
28543         all loaders in array.
28544         
28545 2006-03-07  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
28546
28547         PR 25526
28548         * gnu/java/rmi/dgc/DGCImpl.java (LeaseRecord, leaseCache): Removed.
28549         (RefProtector):    new inner class. (dirty): Rewritten.
28550         * gnu/java/rmi/server/UnicastRef.java (dgcId, dgcInterfaceHash,
28551         dgcSequence, DIRTY, this_id): New fields. (equals, hashCode, notifyDGC):
28552         new methods. (readExternal): Create LeaseRenewingTask if non local.
28553         * gnu/java/rmi/server/UnicastServer.java (objects):
28554         Use WeakHashMap. (refcache): Use WeakIdentityHashMap.
28555         (getExported): New method.
28556         * gnu/java/rmi/dgc/LeaseRenewingTask.java: New file.
28557         
28558 2006-03-06  Mark Wielaard  <mark@klomp.org>
28559
28560         * doc/www.gnu.org/announce/20060306.wml: New file.
28561         * doc/www.gnu.org/newsitems.txt: Add 0.90 release announcement.
28562         * doc/www.gnu.org/downloads/downloads.wml: Add 0.90.
28563         
28564 2006-03-06  David Gilbert  <david.gilbert@object-refinery.com>
28565
28566         * javax/swing/plaf/metal/MetalLookAndFeel.java
28567         (initComponentDefaults): Use Boolean.TRUE for
28568         'CheckBoxMenuItem.borderPainted'.
28569         
28570 2006-03-06  Wolfgang Baer  <WBaer@gmx.de>
28571
28572         * gnu/java/net/protocol/http/Headers.java: Added documentation all over.
28573         (dateFormat): Made private.
28574         (put): Replace only the last occurance and the value.
28575         (putAll): Reimplemented with the put method.
28576         
28577 2006-03-06  Lillian Angel  <langel@redhat.com>
28578
28579         PR classpath/26569
28580         * java/awt/List.java
28581         (preferredSize): Return the size of the list if the peer is 
28582         null.
28583         * gnu/java/awt/peer/gtk/GtkListPeer.java
28584         (preferredSize): Code was returning the minimum size of the 
28585         list. Added adjustment to the width of the list so it is a 
28586         proper size.
28587         
28588 2006-03-06  Wolfgang Baer  <WBaer@gmx.de>
28589
28590         * gnu/java/net/protocol/http/HTTPURLConnection.java: Organized imports.
28591         (getRequestProperty): Remove duplicated null check.
28592         * java/net/URLConnection.java:
28593         (URLConnection): Javadoc fix.
28594         (addRequestProperty): Likewise.
28595         (getDefaultRequestProperty): Likewise.
28596         (getHeaderField): Likewise.
28597         (getHeaderFieldDate): Likewise.
28598         (getHeaderFieldKey): Likewise.
28599         (getHeaderFields): Likewise.
28600         (getRequestProperties): Likewise.
28601         (getRequestProperty): Likewise.
28602         (setDefaultRequestProperty): Likewise.
28603         (setRequestProperty): Likewise.
28604         
28605 2006-03-06  Robert Schuster  <robertschuster@fsfe.org>
28606       
28607         * examples/gnu/classpath/examples/swing/TextArea.java: New file.
28608         * examples/gnu/classpath/examples/swing/Demo.java:
28609         (mkButtonBar): Changed layout manager to GridLayout, added entry for
28610         textarea example.
28611         (mkMenuBar): Added entry for text area example.
28612         
28613 2006-03-06  Tom Tromey  <tromey@redhat.com>
28614
28615         * javax/swing/plaf/synth/Region.java (FILE_CHOOSER): Renamed.
28616         (FORMATTED_TEXT_FIELD): Likewise.
28617         
28618 2006-03-06  Tom Tromey  <tromey@redhat.com>
28619
28620         * javax/swing/plaf/synth/SynthPainter.java: Finished.
28621         
28622 2006-03-06  Robert Schuster  <robertschuster@fsfe.org>
28623
28624         * examples/gnu/classpath/examples/swing/Demo.java:
28625         (mkMenuBar): Added menu entry that will display the VM's name,
28626         version and distributor.
28627         
28628 2006-03-06  Tom Tromey  <tromey@redhat.com>
28629          
28630         * javax/swing/plaf/synth/SynthLookAndFeel.java (getDescription): 
28631         Javadoc fix.
28632         (getName): Likewise.
28633         
28634 2006-03-06  Raif S. Naffah  <raif@swiftdsl.com.au>
28635
28636         * java/util/jar/Manifest.java: Removed unused imports.
28637         (CRLF): New constant.
28638         (read): Added method documentation.
28639         Use UTF-8 encoding instead of 8859_1.
28640         (write): Added method documentation.
28641         Use BufferedOutputStream (w/ 4K buffer) instead of PrintWriter.
28642         (write_main_section): Replace PrintWriter arg with OutputStream.
28643         Replace JarException with IOException.
28644         (write_version_info): Likewise.
28645         (write_main_attributes): Likewise.
28646         (write_attribute_entry): Likewise.
28647         (write_individual_sections): Likewise.
28648         (write_entry_attributes): Likewise.
28649         (write_header): Replace PrintWriter arg with OutputStream.
28650         Re-implemented.
28651         
28652 2006-03-06  David Gilbert  <david.gilbert@object-refinery.com>
28653
28654         
28655         * javax/swing/tree/FixedHeightLayoutCache.java: Reformatted and fixed
28656         API doc tag warnings,
28657         * javax/swing/tree/VariableHeightLayoutCache.java: Likewise.
28658         
28659 2006-03-06  Dalibor Topic  <robilad@kaffe.org>
28660
28661         * gnu/java/net/protocol/file/Connection.java (unquote):
28662         Update position in buffer after decoding a unicode character
28663         outside of the basic plane.
28664         
28665 2006-03-06  Dalibor Topic  <robilad@kaffe.org>
28666
28667         * java/net/URI.java
28668         (quote): Pass Unicode characters outside the basic plane through.
28669         
28670 2006-03-06  Robert Schuster  <robertschuster@fsfe.org>
28671        
28672         * javax/swing/plaf/basic/BasicTextUI.java:
28673         (damageRange): Rewritten if-expressions to correctly identify the
28674         break condition.
28675
28676 2006-03-06  Mark Wielaard  <mark@klomp.org>
28677
28678         * configure.ac: Set version to 0.90-generics.
28679         * NEWS: Fix typos.
28680
28681 2006-03-06  Mark Wielaard  <mark@klomp.org>
28682
28683         Fixes bug #26568 reported by Paul Jenner <psj@harker.dyndns.org>
28684         * native/fdlibm/fdlibm.h (__ieee754_rem_pio2): Return an int32_t.
28685         (isnan): Define explicitly isnan if it is not a macro.
28686
28687 2006-03-06  Robert Schuster  <robertschuster@fsfe.org>
28688
28689         * javax/swing/text/GapContent.java:
28690         (insertString): Throw exception when argument is below
28691         zero.
28692
28693 2006-03-06  Robert Schuster  <robertschuster@fsfe.org>
28694
28695         * javax/swing/text/PlainDocument.java:
28696         (insertUpdate): Extended if-expression, added
28697         code to generate another Element when newly inserted characters
28698         and old ones will be on the same line.
28699
28700 2006-03-06  Robert Schuster  <robertschuster@fsfe.org>
28701
28702         * javax/swing/text/DefaultCaret.java:
28703         (mouseDragged): Do selection when shift is pressed.
28704         (mouseClicked): Implemented.
28705
28706 2006-03-06  Robert Schuster  <robertschuster@fsfe.org>
28707
28708         * javax/swing/text/PlainDocument.java: Fix copyright header,
28709         added author tags.
28710         (insertUpdate): Do not copy the whole document any more, added some
28711         more variables to prevent needless method calls.
28712
28713 2006-03-06  Christian Thalinger <twisti@complang.tuwien.ac.at>
28714
28715         * configure.ac: Check for FREETYPE2.  This is a reverted patch and
28716         is required on Darwin.
28717         * native/jni/gtk-peer/Makefile.am (AM_LDFLAGS): Added FREETYPE2.
28718         (AM_CFLAGS): Likewise.
28719
28720 2006-03-06  Mark Wielaard  <mark@klomp.org>
28721
28722         * NEWS: Add updates for 0.90 release.
28723
28724 2006-03-05  Robert Schuster  <robertschuster@fsfe.org>
28725
28726         * javax/swing/text/GapContent.java:
28727         (insertString): Throw exception when argument is below
28728         zero.
28729
28730 2006-03-05  David Gilbert  <david.gilbert@object-refinery.com>
28731
28732         
28733         * javax/swing/filechooser/FileFilter.java:
28734         (accept): Fixed API doc tag,
28735        (getDescription): Likewise,
28736         * javax/swing/filechooser/FileView.java:       
28737         (isTraversable): Fixed API doc tag.
28738
28739 2006-03-05  David Gilbert  <david.gilbert@object-refinery.com>
28740
28741         * javax/swing/colorchooser/ColorSelectionModel.java: Reformatted and
28742         added API docs all over.
28743
28744 2006-03-05  David Gilbert  <david.gilbert@object-refinery.com>
28745
28746         * javax/swing/plaf/ComboBoxUI.java: Fixed typo in class description,
28747         and corrected a bad API doc tag.
28748
28749 2006-03-05  David Gilbert  <david.gilbert@object-refinery.com>
28750
28751         * javax/swing/undo/StateEditable.java
28752         (restoreState): Fixed bad API doc tag,
28753         * javax/swing/undo/UndoableEdit.java: Copied API doc comments from
28754         AbstractUndoableEdit.java,
28755         * javax/swing/undo/UndoableEditSupport.java
28756         (createCompoundEdit): Fixed bad API doc tag,
28757         * javax/swing/undo/UndoManager.java
28758         (editToBeUndone): Fixed bad API doc tag,
28759         (editToBeRedone): Likewise.
28760
28761 2006-03-05  David Gilbert  <david.gilbert@object-refinery.com>
28762
28763         * javax/swing/DefaultFocusManager.java: Fixed bad API doc tags,
28764         * javax/swing/FocusManager.java: Likewise.
28765
28766
28767 2006-03-05  David Gilbert  <david.gilbert@object-refinery.com>
28768
28769         
28770         * javax/swing/plaf/metal/MetalComboBoxButton.java
28771         (MetalComboBoxButton(JComboBox, Icon, boolean, CellRendererPane,
28772         JList)): Fixed API doc tag,
28773         * javax/swing/plaf/metal/MetalInternalFrameTitlePane
28774         (createLayout): Fixed API doc warning.
28775         
28776 2006-03-05  Tom Tromey  <tromey@redhat.com>
28777
28778         * vm/reference/java/lang/reflect/Constructor.java (toString): Use
28779         ClassHelper.getUserName.
28780         * vm/reference/java/lang/reflect/Method.java (toString): Use
28781         ClassHelper.getUserName.
28782         (getUserTypeName): Removed.
28783         * gnu/java/lang/ClassHelper.java (getUserName): New method.
28784         * vm/reference/java/lang/reflect/Field.java (toString): Use
28785         ClassHelper.getUserName.
28786
28787 2006-03-05  Olivier Jolly  <olivier.jolly@pcedev.com>
28788
28789         Fixes PR 22813
28790         * java/net/URLClassLoader.java (FileURLLoader.getResource):   
28791         Allows directories as valid resources.
28792
28793 2006-03-05  Mark Wielaard  <mark@klomp.org>
28794
28795         * configure.ac (VERSION): Set to 0.90-pre-generics.
28796         * Merge with CVS trunk from classpath-0_90-branch-point.
28797
28798 2006-03-04  Tom Tromey  <tromey@redhat.com>
28799
28800         * javax/swing/SpringLayout.java (Constraints): New constructor.
28801         * javax/swing/Spring.java (width): New method.
28802         (height): Likewise.
28803         (scale): Likewise.
28804
28805 2006-03-04  Mark Wielaard  <mark@klomp.org>
28806
28807         * gnu/java/net/protocol/http/HTTPConnection.java (Pool.get): Remove
28808         existing connection from pool before returning.
28809
28810 2006-03-04  Mark Wielaard  <mark@klomp.org>
28811
28812         * gnu/xml/stream/SAXParser.java (parse(InputSource)): Ignore
28813         exceptions thrown by handlers while cleaning up and rethrow original
28814         exception.
28815
28816 2006-03-04  Tom Tromey  <tromey@redhat.com>
28817
28818         * java/beans/PropertyDescriptor.java (createPropertyEditor): New
28819         method.
28820         (findConstructor): Likewise.
28821         (instantiateClass): Likewise.
28822
28823 2006-03-04  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
28824
28825         * gnu/java/rmi/dgc/DGCImpl.java:  More comments, boilerplate fix.
28826         (dirty): Do not synchronize on Hashtable. Use the passed (requested) 
28827         lease value and not always the default one.
28828         (LeaseRecord): Remember the array of objects, marked as dirty.
28829         java/rmi/dgc/Lease.java: Boilerplate fix.
28830
28831 2006-03-05  Raif S. Naffah  <raif@swiftdsl.com.au>
28832
28833         * java/util/jar/Attributes.java (putValue): Made it public and updated
28834         method documentation.
28835
28836 2006-03-04  Mark Wielaard  <mark@klomp.org>
28837
28838         * java/awt/Container.java (remove(int)): Always call removeNotify()
28839         on removed Component.
28840
28841 2006-03-04  Mark Wielaard  <mark@klomp.org>
28842
28843         Fixes bug #26460 reported by Beat Wolf <asraniel@fryx.ch>.
28844         * javax/swing/JEditorPane.java (setText): Check for empty String
28845         with equals(), not equality (==).
28846
28847 2006-03-04  Mark Wielaard  <mark@klomp.org>
28848
28849         * javax/swing/text/html/HTMLDocument.java: Qualify ElementSpec as
28850         DefaultStyledDocument.ElementSpec for gcj 4.0.x.
28851
28852 2006-03-04  David Gilbert  <david.gilbert@object-refinery.com>
28853
28854         * javax/swing/text/GapContent.java
28855         (getArray): Mark as final.
28856
28857 2006-03-04  David Gilbert  <david.gilbert@object-refinery.com>
28858
28859         * javax/swing/text/StyleConstants.java
28860         (CharacterConstants.Background): Marked final,
28861         (CharacterConstants.BidiLevel): Likewise,
28862         (CharacterConstants.Bold): Likewise,
28863         (CharacterConstants.ComponentAttribute): Likewise,
28864         (CharacterConstants.Family): Likewise,
28865         (CharacterConstants.Size): Likewise,
28866         (CharacterConstants.Foreground): Likewise,
28867         (CharacterConstants.IconAttribute): Likewise,
28868         (CharacterConstants.Italic): Likewise,
28869         (CharacterConstants.StrikeThrough): Likewise,
28870         (CharacterConstants.Subscript): Likewise,
28871         (CharacterConstants.Superscript): Likewise,
28872         (CharacterConstants.Underline): Likewise,
28873         (ColorConstants.Foreground): Likewise,
28874         (ColorConstants.Background): Likewise,
28875         (FontConstants.Bold): Likewise,
28876         (FontConstants.Family): Likewise,
28877         (FontConstants.Italic): Likewise,
28878         (FontConstants.Size): Likewise,
28879         (ParagraphConstants.Alignment): Likewise,
28880         (ParagraphConstants.FirstLineIndent): Likewise,
28881         (ParagraphConstants.LeftIndent): Likewise,
28882         (ParagraphConstants.LineSpacing): Likewise,
28883         (ParagraphConstants.Orientation): Likewise,
28884         (ParagraphConstants.RightIndent): Likewise,
28885         (ParagraphConstants.SpaceAbove): Likewise,
28886         (ParagraphConstants.SpaceBelow): Likewise,
28887         (ParagraphConstants.TabSet): Likewise.  
28888
28889 2006-03-03  Tom Tromey  <tromey@redhat.com>
28890
28891         * javax/net/ssl/SSLException.java: Added missing @since.
28892         Wrote javadoc.
28893
28894 2006-03-03  Tom Tromey  <tromey@redhat.com>
28895
28896         * javax/net/ssl/SSLException.java (SSLException): New constructors.
28897         (serialVersionUID): New field.
28898
28899 2006-03-03  Tom Tromey  <tromey@redhat.com>
28900
28901         * java/security/spec/InvalidKeySpecException.java
28902         (InvalidKeySpecException): New constructors.
28903         * java/security/cert/CertificateParsingException.java
28904         (CertificateParsingException): New constructors.
28905         * java/security/cert/CertificateEncodingException.java
28906         (CertificateEncodingException): New constructors.
28907         * java/security/cert/CertificateException.java (CertificateException):
28908         New constructors.
28909         * java/security/cert/CRLException.java (CRLException): New
28910         constructors.
28911
28912 2006-03-03  Tom Tromey  <tromey@redhat.com>
28913
28914         * java/security/SignatureException.java (SignatureException): New
28915         constructors.
28916         * java/security/ProviderException.java (ProviderException): New
28917         constructors.
28918         * java/security/NoSuchAlgorithmException.java
28919         (NoSuchAlgorithmException): New constructors.
28920         * java/security/KeyStoreException.java (KeyStoreException): New
28921         constructors.
28922         * java/security/KeyManagementException.java (KeyManagementException):
28923         New constructors.
28924         * java/security/InvalidKeyException.java (InvalidKeyException): New
28925         constructors.
28926         * java/security/KeyException.java (KeyException): New constructors.
28927         * java/security/InvalidAlgorithmParameterException.java
28928         (InvalidAlgorithmParameterException): New constructors.
28929         * java/security/DigestException.java (DigestException): New
28930         constructors.
28931         * java/security/GeneralSecurityException.java
28932         (GeneralSecurityException): New constructors.
28933
28934 2006-03-03  David Gilbert  <david.gilbert@object-refinery.com>
28935
28936         * javax/swing/event/CaretEvent.java: Reformatting and fixed API doc 
28937         warnings,
28938         * javax/swing/event/DocumentEvent.java: Likewise,
28939         * javax/swing/event/EventListenerList.java: Likewise,
28940         * javax/swing/event/MenuDragMouseEvent.java: Likewise,
28941         * javax/swing/event/MenuKeyEvent.java: Likewise,
28942         * javax/swing/event/TableColumnModelEvent.java: Likewise,
28943         * javax/swing/event/TreeExpansionEvent.java: Likewise,
28944         * javax/swing/event/TreeModelEvent.java: Likewise,
28945         * javax/swing/event/TreeSelectionEvent.java: Likewise,
28946         * javax/swing/event/UndoableEditEvent.java: Likewise.
28947
28948 2006-03-03  Tom Tromey  <tromey@redhat.com>
28949
28950         * java/awt/Insets.java (set): New method.
28951         (equals): Added @since.
28952
28953 2006-03-03  David Daney  <ddaney@avtrex.com>
28954
28955         * gnu/java/net/protocol/http/HTTPURLConnection.java
28956         (getRequestProperties): Rewrote.
28957         (addRequestProperty): Rewrote.
28958         (getHeaderFields): Rewrote.
28959         (getHeaderField): Rewrote.
28960         (getHeaderFieldKey): Rewrote.
28961         (getHeaderField): Removed useless cast.
28962         * gnu/java/net/protocol/http/Headers.java: Entire class rewritten.
28963         * gnu/java/net/protocol/http/Request.java (dispatch): Use new Headers
28964         interface.
28965         (notifyHeaderHandlers): Use new Headers interface.
28966
28967 2006-03-03  Tom Tromey  <tromey@redhat.com>
28968
28969         * javax/naming/NamingException.java (getExplanation): Javadoc fix.
28970         * javax/naming/spi/ResolveResult.java,
28971         javax/naming/event/NamingExceptionEvent.java,
28972         javax/naming/event/NamingEvent.java,
28973         javax/naming/directory/SearchResult.java,
28974         javax/naming/directory/SearchControls.java,
28975         javax/naming/directory/SchemaViolationException.java,
28976         javax/naming/directory/NoSuchAttributeException.java,
28977         javax/naming/directory/ModificationItem.java,
28978         javax/naming/directory/InvalidSearchFilterException.java,
28979         javax/naming/directory/InvalidSearchControlsException.java,
28980         javax/naming/directory/InvalidAttributesException.java,
28981         javax/naming/directory/InvalidAttributeIdentifierException.java,
28982         javax/naming/directory/AttributeModificationException.java,
28983         javax/naming/directory/AttributeInUseException.java,
28984         javax/naming/TimeLimitExceededException.java,
28985         javax/naming/SizeLimitExceededException.java,
28986         javax/naming/PartialResultException.java,
28987         javax/naming/Reference.java,
28988         javax/naming/ServiceUnavailableException.java,
28989         javax/naming/OperationNotSupportedException.java,
28990         javax/naming/NotContextException.java,
28991         javax/naming/NoPermissionException.java,
28992         javax/naming/NoInitialContextException.java,
28993         javax/naming/NameNotFoundException.java,
28994         javax/naming/NameAlreadyBoundException.java,
28995         javax/naming/NameClassPair.java,
28996         javax/naming/MalformedLinkException.java,
28997         javax/naming/LinkLoopException.java,
28998         javax/naming/LinkException.java,
28999         javax/naming/LimitExceededException.java,
29000         javax/naming/InvalidNameException.java,
29001         javax/naming/InterruptedNamingException.java,
29002         javax/naming/InsufficientResourcesException.java,
29003         javax/naming/ContextNotEmptyException.java,
29004         javax/naming/ConfigurationException.java,
29005         javax/naming/CannotProceedException.java,
29006         javax/naming/CommunicationException.java,
29007         javax/naming/Binding.java,
29008         javax/naming/AuthenticationNotSupportedException.java,
29009         javax/naming/AuthenticationException.java: Added serialVersionUID.
29010
29011 2006-03-03  David Gilbert  <david.gilbert@object-refinery.com>
29012
29013         * javax/swing/event/TableColumnModelEvent.java: Reformatted.
29014
29015 2006-03-03  David Gilbert  <david.gilbert@object-refinery.com>
29016
29017         * javax/swing/event/TableModelListener.java: Updated API docs.
29018
29019 2006-03-03  Mark Wielaard  <mark@klomp.org>
29020
29021         * java/awt/Component.java (addNotify): Expand documentation.
29022
29023 2006-03-03  Mark Wielaard  <mark@klomp.org>
29024
29025         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (GtkComponentPeer):
29026         Always call setParentAndBounds().
29027         (setComponentBounds): Always call setBounds().
29028         (setBounds): Call setVisible().
29029         (setVisible): If no pixels are showing then don't make it visible.
29030         * gnu/java/awt/peer/gtk/GtkContainerPeer.java (endValidate): No need
29031         to call setParentAndBounds() anymore.
29032
29033 2006-03-03  Roman Kennke  <kennke@aicas.com>
29034
29035         * javax/swing/JInternalFrame.java
29036         (JInternalFrame): Set frame invisible.
29037         (show): Reformatted.
29038         * javax/swing/plaf/basic/BasicInternalFrameUI.java
29039         (installDefaults): Do not set invisible here.
29040
29041 2006-03-03  Roman Kennke  <kennke@aicas.com>
29042
29043         * java/awt/Toolkit.java
29044         (getScreenInsets): Return (0,0,0,0) here.
29045
29046 2006-03-03  Roman Kennke  <kennke@aicas.com>
29047
29048         * javax/swing/text/FlowView.java
29049         (FlowStrategy.layoutRow): Added check for rowCount == 0.
29050         (FlowStrategy.getLogicalView): Made method protected.
29051
29052 2006-03-03  Chris Burdess  <dog@gnu.org>
29053
29054         * gnu/xml/validation/relaxng/AnyNameNameClass.java,
29055           gnu/xml/validation/relaxng/AttributePattern.java,
29056           gnu/xml/validation/relaxng/ChoiceNameClass.java,
29057           gnu/xml/validation/relaxng/ChoicePattern.java,
29058           gnu/xml/validation/relaxng/DataPattern.java,
29059           gnu/xml/validation/relaxng/Define.java,
29060           gnu/xml/validation/relaxng/ElementPattern.java,
29061           gnu/xml/validation/relaxng/EmptyPattern.java,
29062           gnu/xml/validation/relaxng/FullSyntaxBuilder.java,
29063           gnu/xml/validation/relaxng/Grammar.java,
29064           gnu/xml/validation/relaxng/GrammarException.java,
29065           gnu/xml/validation/relaxng/GrammarValidator.java,
29066           gnu/xml/validation/relaxng/GroupPattern.java,
29067           gnu/xml/validation/relaxng/InterleavePattern.java,
29068           gnu/xml/validation/relaxng/ListPattern.java,
29069           gnu/xml/validation/relaxng/NSNameNameClass.java,
29070           gnu/xml/validation/relaxng/NameClass.java,
29071           gnu/xml/validation/relaxng/NameNameClass.java,
29072           gnu/xml/validation/relaxng/NotAllowedPattern.java,
29073           gnu/xml/validation/relaxng/OneOrMorePattern.java,
29074           gnu/xml/validation/relaxng/Param.java,
29075           gnu/xml/validation/relaxng/Pattern.java,
29076           gnu/xml/validation/relaxng/RELAXNGSchemaFactory.java,
29077           gnu/xml/validation/relaxng/RefPattern.java,
29078           gnu/xml/validation/relaxng/TextPattern.java,
29079           gnu/xml/validation/relaxng/ValuePattern.java: New RELAX NG grammar
29080           builder and data model.
29081         * gnu/xml/validation/xmlschema/AnyAttribute.java,
29082           gnu/xml/validation/xmlschema/AttributeDeclaration.java,
29083           gnu/xml/validation/xmlschema/AttributeUse.java,
29084           gnu/xml/validation/xmlschema/ComplexType.java,
29085           gnu/xml/validation/xmlschema/ElementDeclaration.java,
29086           gnu/xml/validation/xmlschema/Particle.java,
29087           gnu/xml/validation/xmlschema/ValidationException.java,
29088           gnu/xml/validation/xmlschema/XMLSchema.java,
29089           gnu/xml/validation/xmlschema/XMLSchemaAttributeTypeInfo.java,
29090           gnu/xml/validation/xmlschema/XMLSchemaBuilder.java,
29091           gnu/xml/validation/xmlschema/XMLSchemaElementTypeInfo.java,
29092           gnu/xml/validation/xmlschema/XMLSchemaSchemaFactory.java,
29093           gnu/xml/validation/xmlschema/XMLSchemaTypeInfo.java,
29094           gnu/xml/validation/xmlschema/XMLSchemaTypeInfoProvider.java,
29095           gnu/xml/validation/xmlschema/XMLSchemaValidator.java,
29096           gnu/xml/validation/xmlschema/XMLSchemaValidatorHandler.java: New
29097           W3C XML Schema builder and schema components.
29098         * javax/xml/validation/SchemaFactory.java: Recognise RELAX NG and W3C
29099           XML Schema namespace URIs.
29100
29101 2006-03-03  Thomas Fitzsimmons  <fitzsim@redhat.com>
29102
29103         * NEWS: Add entry for --enable-collections.
29104         * configure.ac: Add --enable-collections option.
29105         * lib/Makefile.am (collections.jar): New target.
29106         (glibj_DATA): Add $(COLLECTIONS).
29107         * lib/mkcollections.pl.in (destpath): Set from COLLECTION_PREFIX
29108         configure substitution.
29109         (classpath): Read from command line.
29110         (javautilclasses): Remove BasicMapEntry.  Add RandomAccess.
29111
29112 2006-03-03  David Gilbert  <david.gilbert@object-refinery.com>
29113
29114         * javax/swing/SpringLayout.java: Fixed API doc warnings.
29115
29116 2006-03-03  David Gilbert  <david.gilbert@object-refinery.com>
29117
29118         * javax/swing/event/ListSelectionEvent.java
29119         (toString): Implemented,
29120         plus updated API docs all over.
29121
29122 2006-03-03  David Gilbert  <david.gilbert@object-refinery.com>
29123
29124         * javax/swing/event/ListSelectionEvent.java: Reformatted and fixed
29125         API doc warnings,
29126         * javax/swing/event/ListSelectionListener.java: Updated API docs.
29127
29128 2006-03-03  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
29129
29130         * gnu/java/rmi/dgc/DGCImpl.java,
29131         java/rmi/dgc/DGC.java,
29132         java/rmi/dgc/Lease.java: Formatted and commented.
29133
29134 2006-03-03  Roman Kennke  <kennke@aicas.com>
29135
29136         * NEWS: Added comment about text highlighting and copy+paste
29137         in Swing.
29138
29139 2006-03-03  Roman Kennke  <kennke@aicas.com>
29140
29141         * javax/swing/JTabbedPane.java
29142         (remove(int)): Call super.remove(int) instead of remove(Component).
29143         Avoids a stack overflow.
29144
29145 2006-03-03  Roman Kennke  <kennke@aicas.com>
29146
29147         * javax/swing/JTable.java
29148         (distributeSpillResizing): Avoid ArithmeticException by checking
29149         divisor.
29150
29151 2006-03-03  David Gilbert  <david.gilbert@object-refinery.com>
29152
29153         * javax/swing/text/package.html: Added package description.
29154
29155 2006-03-03  David Gilbert  <david.gilbert@object-refinery.com>
29156
29157         * javax/swing/CellRendererPane.java: Minor API doc fix,
29158         * javax/swing/ComboBoxModel.java: Updated API docs.
29159
29160 2006-03-03  Chris Burdess  <dog@gnu.org>
29161
29162         Fixes PR 26503
29163         * gnu/xml/stream/EntityReferenceImpl.java,
29164           gnu/xml/stream/FilteredEventReader.java,
29165           gnu/xml/stream/SAXParser.java,
29166           gnu/xml/stream/XIncludeFilter.java,
29167           gnu/xml/stream/XMLEventAllocatorImpl.java,
29168           gnu/xml/stream/XMLEventFactoryImpl.java,
29169           gnu/xml/stream/XMLEventImpl.java,
29170           gnu/xml/stream/XMLEventReaderImpl.java,
29171           gnu/xml/stream/XMLEventWriterImpl.java,
29172           gnu/xml/stream/XMLInputFactoryImpl.java,
29173           gnu/xml/stream/XMLOutputFactoryImpl.java,
29174           gnu/xml/stream/XMLParser.java,
29175           javax/xml/stream/EventFilter.java,
29176           javax/xml/stream/Location.java,
29177           javax/xml/stream/StreamFilter.java,
29178           javax/xml/stream/XMLEventFactory.java,
29179           javax/xml/stream/XMLEventReader.java,
29180           javax/xml/stream/XMLEventWriter.java,
29181           javax/xml/stream/XMLInputFactory.java,
29182           javax/xml/stream/XMLOutputFactory.java,
29183           javax/xml/stream/XMLReporter.java,
29184           javax/xml/stream/XMLResolver.java,
29185           javax/xml/stream/XMLStreamConstants.java,
29186           javax/xml/stream/XMLStreamReader.java,
29187           javax/xml/stream/events/EntityDeclaration.java,
29188           javax/xml/stream/events/EntityReference.java,
29189           javax/xml/stream/events/XMLEvent.java,
29190           javax/xml/stream/util/EventReaderDelegate.java,
29191           javax/xml/stream/util/ReaderDelegate.java: Updated to final version of
29192           StAX API as specified in JWSDP 2.0.
29193         * gnu/xml/stream/EndEntityImpl.java,
29194           gnu/xml/stream/LocationImpl.java,
29195           gnu/xml/stream/StartEntityImpl.java,
29196           gnu/xml/stream/XMLStreamReaderImpl.java,
29197           javax/xml/stream/XMLFilter.java,
29198           javax/xml/stream/XMLIterator.java,
29199           javax/xml/stream/events/EndEntity.java,
29200           javax/xml/stream/events/StartEntity.java: Removed legacy files.
29201
29202 2006-03-03  David Gilbert  <david.gilbert@object-refinery.com>
29203
29204         * javax/swing/CellEditor.java: API doc updates,
29205         * javax/swing/DefaultCellEditor.java: Likewise.
29206
29207 2006-03-03  David Gilbert  <david.gilbert@object-refinery.com>
29208
29209         * javax/swing/AbstractListModel.java:
29210         (AbstractListModel): Added API docs,
29211         (fireContentsChanged): Minor API doc correction,
29212         (fireIntervalAdded): Likewise,
29213         (fireIntervalRemoved): Likewise.
29214
29215 2006-03-03  Roman Kennke  <kennke@aicas.com>
29216
29217         * NEWS: Added paragraph about Swing improvements.
29218
29219 2006-03-03  David Gilbert  <david.gilbert@object-refinery.com>
29220
29221         * javax/swing/AbstractAction.java: Updated API docs all over,
29222         * javax/swing/AbstractCellRenderer.java: Minor reformatting, plus
29223         (stopCellEditing): Minor API doc correction,
29224         * javax/swing/UnsupportedLookAndFeelException.java
29225         (UnsupportedLookAndFeelException): Changed argument name, updated API
29226         docs.
29227
29228 2006-03-03  Roman Kennke  <kennke@aicas.com>
29229
29230         * javax/swing/plaf/metal/MetalUtils.java
29231         (fillMetalPattern): Added switch to not use Graphics2D methods,
29232         even if they are available.
29233
29234 2006-03-03  Roman Kennke  <kennke@aicas.com>
29235
29236         * javax/swing/plaf/basic/BasicHTML.java
29237         (isHTMLString): Check for string beeing null.
29238         * javax/swing/plaf/basic/BasicInternalFrameUI.java
29239         (BasicInternalFrameListener.internalFrameActivated): Implemented.
29240         (BasicInternalFrameListener.internalFrameDeactivated): Implemented.
29241         (InternalFrameLayout): Don't touch the glass pane here.
29242         (installUI): Fix handling of glass pane.
29243         * javax/swing/plaf/basic/BasicLabelUI.java
29244         (vr): New field.
29245         (ir): New field.
29246         (tr): New field.
29247         (BasicLabelUI): Initialize new fields.
29248         (getPreferredSize): Avoid creating new Rectangles by using
29249         SwingUtilities method.
29250         (paint): Avoid creating new Rectangles by reusing
29251         new fields. Added some preliminary handling of HTML inside the
29252         label.
29253         (installComponents): Handle HTML by calling BasicHTML.updateRenderer.
29254         (uninstallComponents): Clear HTML renderer.
29255         (propertyChange): Check for HTML text and install renderer if
29256         appropriate.
29257         * javax/swing/plaf/basic/BasicListUI.java
29258         (getCellBounds): Avoid creating new Rectangle by using SwingUtilities
29259         method.
29260         * javax/swing/plaf/basic/BasicTextUI.java
29261         (RootView.getStartOffset): Implemented.
29262         (RootView.getEndOffset): Implemented.
29263         (RootView.getDocument): Implemented.
29264
29265 2006-03-03  Roman Kennke  <kennke@aicas.com>
29266
29267         * javax/swing/text/DefaultStyledDocument.java
29268         (ElementBuffer.inserUpdate): Added check for zero-length
29269         element.
29270         * javax/swing/text/DefaultStyledDocument.java
29271         (setIndex): Improved exception message.
29272         * javax/swing/text/TableView.java
29273         Made class abstract.
29274         (TableRow.replace): Probably extend columnRequirements
29275         arrays.
29276         (TableRow.layoutMinorAxis): Call super.layoutMinorAxis instead
29277         of super.layoutMajorAxis.
29278         (columnRequirements): Made field package private.
29279         (TableView): Do not load any child views here.
29280         (layoutColumns): Implemented this method.
29281         (updateColumnRequirements): New helper method.
29282         * javax/swing/text/Utilities.java
29283         (getBreakLocation): Also take offset into account when
29284         finding end location.
29285         * javax/swing/text/html/HTMLDocument.java
29286         (HTMLReader.parseStack): New field.
29287         (HTMLReader.blockOpen): Properly handle p-implied tags.
29288         (HTMLReader.blockClose): Properly handle p-implied and empty tags.
29289         (HTMLReader.addContent): Insert p-implied when adding content to
29290         a block element.
29291         * javax/swing/text/html/HTMLEditorKit.java
29292         (HTMLFactory.create): Create HTMLTableView for <table> tags and
29293         ParagraphView for TD tags. Print out warning for tags that don't have
29294         matching view yet and create NullView for them.
29295         (read): Only set document base when document != null.
29296         * javax/swing/text/html/HTMLTableView.java:
29297         New class
29298
29299 2006-03-03  Roman Kennke  <kennke@aicas.com>
29300
29301         * javax/swing/plaf/basic/BasicHTML.java
29302         (HTMLRootView): New inner class.
29303         (createHTMLView): Embed view inside a HTMLRootView.
29304
29305 2006-03-03  Wolfgang Baer  <WBaer@gmx.de>
29306
29307         * gnu/java/net/protocol/jar/Connection.java: 
29308         (connect): Throw FileNotFoundException.
29309         (getInputStream): Remove duplicated code.
29310
29311 2006-03-03  Roman Kennke  <kennke@aicas.com>
29312
29313         * javax/swing/RepaintManager.java
29314         (commitBuffer): Added null check for clip.
29315
29316 2006-03-02  Lillian Angel <langel@redhat.com>
29317
29318         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
29319         (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_delItem): Fixed
29320         to use GtkWidget instead of GTKMenu.
29321
29322 2006-03-02  Lillian Angel <langel@redhat.com>
29323
29324         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
29325         (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_delItem): Changed to 
29326         use the submenu to get the list of children. This now works
29327         in the same way as addItem.
29328
29329 2006-03-02  Anthony Balkissoon  <abalkiss@redhat.com>
29330
29331         * java/lang/StringBuilder.java:
29332         (codePointAt): New method.
29333         (codePointBefore): Likewise.
29334         (codePointCount): Likewise.
29335         (trimToSize): Likewise.
29336
29337 2006-03-02  Tom Tromey  <tromey@redhat.com>
29338
29339         * java/rmi/server/RMIClassLoader.java (getProviderInstance): Wrote.
29340
29341 2006-03-02  Tom Tromey  <tromey@redhat.com>
29342
29343         * java/rmi/server/RMIClassLoader.java (loadProxyClass): New method.
29344         (getProviderInstance): 
29345
29346 2006-03-02  Andrew John Hughes  <gnu_andrew@member.fsf.org>
29347
29348         * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c:
29349         Fix regression caused by move to VM variant.
29350         PR classpath/22926.
29351         
29352 2006-03-01  Tom Tromey  <tromey@redhat.com>
29353
29354         * vm/reference/java/net/VMNetworkInterface.java: Organized imports.
29355         * vm/reference/java/net/VMInetAddress.java: Organized imports.
29356         * vm/reference/java/lang/reflect/VMProxy.java (getProxyClass): Added
29357         imports for javadoc.
29358         (getProxyClass): Javadoc fixes.
29359         (getProxyData): Likewise.
29360         (generateProxyClass): Likewise.
29361         * vm/reference/java/lang/VMSystem.java (setIn): Javadoc fix.
29362         (setOut): Likewise.
29363         (setErr): Likewise.
29364         * vm/reference/java/lang/VMProcess.java: Javadoc fixes.
29365         * vm/reference/java/lang/VMClassLoader.java (getResources): Javadoc
29366         fix.
29367         * vm/reference/java/lang/VMClass.java (getComponentType): Import for
29368         javadoc.
29369         (getModifiers): Likewise.
29370         (getDeclaredClasses): Javadoc fix.
29371         (getDeclaredFields): Likewise.
29372         (getDeclaredMethods): Likewise.
29373         (getDeclaredConstructors): Likewise.
29374         * vm/reference/gnu/classpath/VMSystemProperties.java (preInit):
29375         Javadoc fix.
29376
29377 2006-03-01  Tom Tromey  <tromey@redhat.com>
29378
29379         * gnu/java/net/protocol/http/ResponseHeaderHandler.java: Javadoc fix.
29380         * gnu/java/net/protocol/http/HTTPConnection.java: Organized imports.
29381         (getVersion): Javadoc fix.
29382         (get): Likewise.
29383         * gnu/java/net/protocol/http/Headers.java: Organized imports.
29384         * gnu/java/net/protocol/ftp/FTPURLConnection.java: Organized imports.
29385
29386 2006-03-01  David Daney  <ddaney@avtrex.com>
29387
29388         * java/net/URL.java (URL(URL, String, URLStreamHandler)): Treat spec
29389         as relative if it contains a colon but no protocol handler can be
29390         found.
29391
29392 2006-03-01  Roman Kennke  <kennke@aicas.com>
29393
29394         * javax/swing/text/AbstractDocument.java
29395         (LeafElement.LeafElement): Handle delta with respect to content
29396         length not document length.
29397         * javax/swing/text/CompositeView.java
29398         (getViewIndex): Handle bias correctly.
29399         * javax/swing/text/DefaultCaret.java
29400         (paint): Align caret position to document bounds to avoid trouble
29401         when removing large portions of content.
29402         * javax/swing/text/DefaultStyledDocument.java
29403         (ElementBuffer.insertFirstContentTag): Use pos instead of offset.
29404         (ElementBuffer.createFracture): Copy old childs attribute. The
29405         ElementSpec usually doesn't carry attribute information.
29406         Use pos instead of offset.
29407         (ElementBuffer.insertFracture): Use pos instead of offset.
29408         (createDefaultRootElement): Don't use create* and instead directly
29409         instantiate the elements.
29410         (handleInsertAfterNewline): Compare the paragraphs startOffset
29411         rather than previous paragraphs endOffset.
29412         * javax/swing/text/JTextComponent.java
29413         (getScrollableTracksViewportWidth): Remove unnecessary cast to
29414         JViewport.
29415         (getScrollableTracksViewportHeight): Remove unnecessary cast to
29416         JViewport.
29417         * javax/swing/text/PlainView.java
29418         (damageLineRange): Avoid creating new Rectangle by using
29419         SwingUtilities.
29420         * javax/swing/text/View.java
29421         (forwardUpdate): Correct the use of bias.
29422         (modelToView): Avoid new Rectangles by using SwingUtilities.
29423         (dump): Made (temprorarily) protected for use in BasicTextUI.
29424         (dump(int)): Dump out the element of the view.
29425
29426 2006-03-01  Lillian Angel  <langel@redhat.com>
29427
29428         * NEWS: javax.imageio.plugins.bmp implementation.
29429
29430 2006-03-01  Lillian Angel  <langel@redhat.com>
29431
29432         * javax/imageio/ImageWriteParam.java: 
29433         Added documentation for fields.
29434         * javax/imageio/plugins/bmp/BMPImageWriteParam.java:
29435         New class implemented.
29436
29437 2006-03-01  Tom Tromey  <tromey@redhat.com>
29438
29439         * NEWS: Mention java.util.prefs update.
29440
29441 2006-03-01  Tom Tromey  <tromey@redhat.com>
29442
29443         * gnu/java/nio/channels/FileChannelImpl.java (position): Fixed typo.
29444         * java/nio/charset/UnmappableCharacterException.java:
29445         (serialVersionUID): New field.
29446         * java/nio/charset/MalformedInputException.java:
29447         (serialVersionUID): New field.
29448         * java/nio/charset/CoderMalfunctionError.java:
29449         (serialVersionUID): New field.
29450         * java/nio/charset/CharacterCodingException.java:
29451         (serialVersionUID): New field.
29452         * java/nio/channels/UnsupportedAddressTypeException.java:
29453         (serialVersionUID): New field.
29454         * java/nio/channels/UnresolvedAddressException.java:
29455         (serialVersionUID): New field.
29456         * java/nio/channels/OverlappingFileLockException.java:
29457         (serialVersionUID): New field.
29458         * java/nio/channels/NotYetConnectedException.java:
29459         (serialVersionUID): New field.
29460         * java/nio/channels/NotYetBoundException.java
29461         (serialVersionUID): New field.
29462         * java/nio/channels/NonWritableChannelException.java
29463         (serialVersionUID): New field.
29464         * java/nio/channels/NonReadableChannelException.java
29465         (serialVersionUID): New field.
29466         * java/nio/channels/NoConnectionPendingException.java
29467         (serialVersionUID): New field.
29468         * java/nio/channels/IllegalSelectorException.java
29469         (serialVersionUID): New field.
29470         * java/nio/channels/IllegalBlockingModeException.java
29471         (serialVersionUID): New field.
29472         * java/nio/channels/FileLockInterruptionException.java
29473         (serialVersionUID): New field.
29474         * java/nio/channels/ConnectionPendingException.java
29475         (serialVersionUID): New field.
29476         * java/nio/channels/ClosedSelectorException.java (serialVersionUID):
29477         New field.
29478         * java/nio/channels/ClosedChannelException.java (serialVersionUID):
29479         New field.
29480         * java/nio/channels/ClosedByInterruptException.java
29481         (serialVersionUID): New field.
29482         * java/nio/channels/CancelledKeyException.java (serialVersionUID): 
29483         New field.
29484         * java/nio/channels/AsynchronousCloseException.java
29485         (serialVersionUID): New field.
29486         * java/nio/channels/AlreadyConnectedException.java (serialVersionUID):
29487         New field.
29488         * java/nio/ReadOnlyBufferException.java (serialVersionUID): New field.
29489         * java/nio/InvalidMarkException.java (serialVersionUID): New field.
29490         * java/nio/BufferUnderflowException.java (serialVersionUID): New
29491         field.
29492         * java/nio/BufferOverflowException.java (serialVersionUID): New field.
29493         * java/nio/channels/spi/AbstractInterruptibleChannel.java (end):
29494         Javadoc fix.  Added import.
29495         * java/nio/channels/DatagramChannel.java (isConnected): Javadoc fix.
29496         (validOps): Likewise.
29497         * gnu/java/nio/charset/iconv/IconvProvider.java: Organized imports.
29498         * gnu/java/nio/charset/iconv/IconvEncoder.java: Organized imports.
29499         * gnu/java/nio/charset/iconv/IconvDecoder.java: Organized imports.
29500         * java/nio/channels/Channels.java: Added import.
29501         * java/nio/channels/FileChannel.java (lock): Typo fix.
29502         (tryLock): Likewise.
29503
29504 2006-03-01  Tom Tromey  <tromey@redhat.com>
29505
29506         * java/util/prefs/Preferences.java (defaultFactoryClass): Use
29507         FileBasedFactory.
29508         * gnu/java/util/prefs/FileBasedPreferences.java: New file.
29509         * java/util/prefs/AbstractPreferences.java (removeSpi): Typo fix.
29510         (clear): Likewise.
29511         (putSpi): Likewise.
29512         (newNode): Likewise.
29513         (node): Likewise.
29514         * gnu/java/util/prefs/MemoryBasedFactory.java: Typo fix.
29515         * gnu/java/util/prefs/FileBasedFactory.java (systemPreferences): New
29516         field.
29517         (systemRoot): Use it.
29518         (userPreferences): New field.
29519         (userRoot): Use it.
29520
29521 2006-03-01  Jeroen Frijters  <jeroen@frijters.net>
29522
29523         * java/util/ResourceBundle.java
29524         (tryBundle): Catch and ignore all Exceptions.
29525
29526 2006-02-28  Roman Kennke  <kennke@aicas.com>
29527
29528         * javax/swing/plaf/basic/BasicScrollBarUI.java
29529         (getPreferredSize): Fixed add a fixed space between the buttons
29530         instead of something related to min/max.
29531         (installComponents): Create and install buttons here.
29532         (installDefaults): Don't create buttons here.
29533         * javax/swing/plaf/metal/MetalScrollBarUI.java
29534         (getMinimumThumbSize): Return (0,0) when UI is not yet installed.
29535         (getPreferredSize): New method.
29536
29537 2006-02-28  David Gilbert  <david.gilbert@object-refinery.com>
29538
29539         * examples/gnu/classpath/examples/swing/Demo.java
29540         (mkMenuBar): Removed 'Toggles', 'Checkbox' and 'Radio' actions, 
29541         connected 'Spinner' action to SpinnerDemo, 
29542         (mkCheckbox): Removed,
29543         (mkRadio): Likewise,
29544         (mkSpinner): Likewise,
29545         (mkToggle): Likewise,
29546         (mkButtonBar): Removed 'Toggles', 'Checkbox' and 'Radio' actions,
29547         connected 'Spinner' action to SpinnerDemo.
29548
29549 2006-02-28  Wolfgang Baer  <WBaer@gmx.de>
29550
29551         * javax/print/ServiceUIFactory.java: Added documentation to class.
29552
29553 2006-02-28  Anthony Balkissoon  <abalkiss@redhat.com>
29554
29555         PR classpath/26434
29556         * javax/swing/DefaultListSelectionModel.java:
29557         (addSelectionInterval): Return early if either of the arguments is -1.
29558         (removeSelectionInterval): Likewise.
29559         (setSelectionInterval): Likewise.
29560
29561 2006-02-28  Lillian Angel  <langel@redhat.com>
29562
29563         * javax/swing/text/DefaultFormatter.java
29564         (stringToValue): Added NPE check.
29565
29566 2006-02-28  Roman Kennke  <kennke@aicas.com>
29567
29568         PR classpath/25675
29569         * javax/swing/JList.java
29570         (getPreferredScrollableViewportSize): Restored specified behaviour.
29571         * javax/swing/plaf/metal/MetalFileChooserUI.java
29572         (createList): Set filelist panel's preferredSize, so that it doesn't
29573         get size into infinity for big lists.
29574
29575 2006-02-28  Lillian Angel  <langel@redhat.com>
29576
29577         * javax/swing/ViewportLayout.java
29578         (layoutContainer): Should not extend container to be 
29579         minimum size. Mauve test shows that the preferred size
29580         and the size of the viewport can be set smaller than
29581         the minimum.
29582
29583 2006-02-28  Lillian Angel  <langel@redhat.com>
29584
29585         PR classpath/25675
29586         * javax/swing/JList.java
29587         (getPreferredScrollableViewportSize): Added a check to determine
29588         if orientation is VERTICAL_WRAP. If it is, we should only 
29589         show 3 columns. 
29590
29591 2006-02-28  Lillian Angel  <langel@redhat.com>
29592
29593         PR classpath/26003
29594         * javax/swing/ViewportLayout.java:
29595         Patch submitted by Audrius Meskauskas
29596         (addLayoutComponent): Added documentation.
29597         (removeLayoutComponent): Likewise.
29598         (preferredLayoutSize): Likewise.
29599         (minimumLayoutSize): Likewise.
29600         (layoutContainer): Fixed code, so view is set
29601         to the right position when inside a scrollpane. 
29602
29603 2006-02-28  Anthony Balkissoon  <abalkiss@redhat.com>
29604
29605         * java/math/BigInteger.java:
29606         Committed patch by Rafael: 
29607         developer.classpath.org/pipermail/classpath-patches/
29608         2006-February/000473.html
29609         (signum): Return early 0 if words == null and ival == 0.
29610         (readObject): Handle special case of magnitude.length or signum being
29611         0.
29612         (writeObject): If signum is zero return a zero-sized byte[].
29613
29614 2006-02-28  Lillian Angel  <langel@redhat.com>
29615
29616         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
29617         (create): Initially set the directory to the current working directory.
29618         (setDirectory): Removed else-if. No need for this check.
29619
29620 2006-02-28  Tom Tromey  <tromey@redhat.com>
29621
29622         * .project: Run java builder before header generation.
29623
29624 2006-02-28  Tom Tromey  <tromey@redhat.com>
29625
29626         * gnu/java/util/prefs/MemoryBasedPreferences.java (childrenNamesSpi):
29627         Javadoc fix.
29628         * gnu/java/util/prefs/EventDispatcher.java: New file.
29629         * gnu/java/util/prefs/NodeWriter.java (NodeWriter): Removed.
29630         (NodeWriter): Specify UTF-8.
29631         (writeHeader): Emit DOCTYPE.
29632         * java/util/prefs/Preferences.java (getFactory): Add cause to
29633         exception.
29634         (exportNode): Documented.
29635         (exportSubtree): Likewise.
29636         (importPreferences): Likewise.
29637         * java/util/prefs/NodeChangeEvent.java (readObject): New method.
29638         (writeObject): Likewise.
29639         * java/util/prefs/PreferenceChangeEvent.java (readObject): New method.
29640         (writeObject): Likewise.
29641         * java/util/prefs/AbstractPreferences.java (putBoolean): Use 1.4 code.
29642         (nodeListeners): New field.
29643         (preferenceListeners): Likewise.
29644         (addNodeChangeListener): Implemented.
29645         (addPreferenceChangeListener): Likewise.
29646         (removeNodeChangeListener): Likewise.
29647         (removePreferenceChangeListener): Likewise.
29648         (fire): New methods.
29649         (put): Fire event.
29650         (remove): Likewise.
29651         (purge): Likewise.  Fixed synchronization.
29652         (removeNode): Fixed synchronization.
29653         (getNode): Fire event.
29654         (flushNode): Fixed synchronization.
29655
29656 2006-02-28  Roman Kennke  <kennke@aicas.com>
29657
29658         * javax/swing/text/BranchElement.java
29659         (startOffset): New field.
29660         (endOffset): New field.
29661         (BranchElement): Initialize new fields.
29662         (getEndOffset): Rewritten to possibly return cached values
29663         if element has no children.
29664         (getStartOffset): Rewritten to possibly return cached values
29665         if element has no children.
29666         * javax/swing/text/LeafElement.java
29667         (startDelta): New field.
29668         (endDelta): New field.
29669         (LeafElement): Handle possible delta of start/endOffset when
29670         these parameters lie outside the document range.
29671         (getStartOffset): Handle possible startDelta.
29672         (getEndOffset): Handle possible startDelta.
29673
29674 2006-02-28  Anthony Balkissoon  <abalkiss@redhat.com>
29675
29676         * NEWS: Added line about Unicode 4.0.0 support.
29677
29678 2006-02-28  Roman Kennke  <kennke@aicas.com>
29679
29680         * javax/swing/SwingUtilities.java
29681         (layoutCompoundLabel): Set textIconGap to 0 when icon == null.
29682
29683 2006-03-01  Raif S. Naffah  <raif@swiftdsl.com.au>
29684
29685         * gnu/classpath/debug/Simple1LineFormatter.java: New file.
29686
29687 2006-03-01  Raif S. Naffah  <raif@swiftdsl.com.au>
29688
29689         * gnu/java/security/sig/rsa/RSAPKCS1V1_5SignatureX509Codec.java:
29690         Amended class documentation.
29691         (encodeSignature): Emit the ASN.1 raw bytes not the DER-encoded BIT
29692         STRING.
29693         (decodeSignature): Parse the ASN.1 raw bytes of a BIT STRING and not
29694         a BIT STRING construct.
29695         * gnu/java/security/sig/dss/DSSSignatureX509Codec.java: Amended class
29696         documentation.
29697         (encodeSignature): Emit the ASN.1 raw bytes not the DER-encoded BIT
29698         STRING.
29699         (decodeSignature): Parse the ASN.1 raw bytes of a BIT STRING and not
29700         a BIT STRING construct.
29701         * gnu/java/security/jce/sig/SignatureAdapter.java (log): New field.
29702         (engineVerify): Added logging.
29703
29704 2006-02-28  Roman Kennke  <kennke@aicas.com>
29705
29706         * java/awt/Component.java
29707         (dispatchEventImpl): Let the Toolkit dispatch global events.
29708         * java/awt/Container.java
29709         (dispatchEventImpl): Let the LightweightDispatcher handle events
29710         first.
29711         * java/awt/EventQueue.java
29712         (dispatchEvent): Don't do the global event dispatching here. This
29713         is moved to the Component.
29714         (globalDispatchEvent): Moved this method to Toolkit.
29715         * java/awt/LightweightDispatcher.java
29716         (instances): New field.
29717         (getInstance): New method. Delivers an instance of
29718         LightweightDispatcher.
29719         (LightweightDispatcher): Made default constructor private.
29720         (dispatchEvent): New method. Replaces the eventDispatched method.
29721         This now returns true when the event was actually dispatched.
29722         (eventDispatched): Replaced by dispatchEvent.
29723         (handleMouseEvent): Send MOUSE_CLICKED to the same component that
29724         received the last MOUSE_RELEASED.
29725         * java/awt/Toolkit.java
29726         (Toolkit): Don't register LightweightDispatcher as global event
29727         handler.
29728         (globalDispatchEvent): Moved here from EventQueue.
29729
29730 2006-02-27  David Daney  <ddaney@avtrex.com>
29731
29732         PR classpath/25851
29733         * gnu/java/net/protocol/http/HTTPURLConnection.java (imports) Cleaned
29734         up.
29735         (getRequestProperties): Rewrote.
29736
29737 2006-02-27  David Daney  <ddaney@avtrex.com>
29738
29739         PR classpath/26312
29740         * gnu/java/net/protocol/http/ChunkedInputStream.java (imports): Cleaned
29741         up.
29742         (ChunkedInputStream): Extend InputStream.
29743         (in): New field.
29744         (headers): Moved to top of class.
29745         (constructor): Save referenct to in.
29746         (read(byte[])): Removed method.
29747         (read(byte[], int, int)): Made synchronized and throw IOException
29748         on error parsing chunk header.
29749         (available): New method.
29750         (close): New method.
29751
29752 2006-02-27  David Daney  <ddaney@avtrex.com>
29753
29754         * gnu/java/net/protocol/http/HTTPURLConnection.java
29755         (imports): Cleaned up.
29756         (GetHTTPPropertiesAction): Removed, and moved contents to ...
29757         (constructor): ... Here, using SystemProperties instead of System.
29758         
29759 2006-02-27  Lillian Angel  <langel@redhat.com>
29760
29761         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
29762         (setDirectory): GtkFileChooser requires an absolute directory
29763         name. Added a check to make the directory passed to nativeSetDirectory
29764         is absolute.
29765
29766 2006-02-27  Roman Kennke  <kennke@aicas.com>
29767
29768         * javax/swing/SwingUtilities.java
29769         (computeIntersection): Changed to store result in rect, instead of
29770         creating new Rectangle instances. Fixed API docs accordingly.
29771         (computeUnion): Changed to store result in rect, instead of
29772         creating new Rectangle instances. Fixed API docs accordingly.
29773
29774 2006-02-27  Roman Kennke  <kennke@aicas.com>
29775
29776         * javax/swing/JViewport.java
29777         (static_init): Changed default scrollmode to BLIT.
29778         (paintSimple): Added some clipping to avoid painting problems.
29779         (paintBlit): Added some clipping to avoid painting problems.
29780
29781 2006-02-27  Roman Kennke  <kennke@aicas.com>
29782
29783         * javax/swing/JComponent.java
29784         (rectCache): Made field static to save memory.
29785         (getVisibleRect): Don't use rectCache and create new Rectangle
29786         instance instead.
29787         (repaint(Rectangle)): Directly call RepaintManager.addDirtyRegion().
29788         (repaint(long,int,int,int,int)): Directly call
29789         RepaintManager.addDirtyRegion(). The visibleRect check is now
29790         performed in the RepaintManager.
29791
29792 2006-02-27  Roman Kennke  <kennke@aicas.com>
29793
29794         * javax/swing/RepaintManager.java
29795         (currentRepaintManagers): Made field private.
29796         (rectCache): New field.
29797         (addDirtyRegion): Clip dirty rectangle with visible rectangle of
29798         component. Changed Rectangle handling to avoid unnecessary new
29799         Rectangle instances.
29800         (getOffscreenBuffer): Create buffer with size of the root window.
29801         Respect the maximum buffer size here.
29802         (commitBuffer): Align the regions so that they are inside the buffer
29803         image and inside the clip. This avoids problems with a bug in GTKImage.
29804         Fixed Rectangle handling to avoid creation of new Rectangle instances.
29805
29806 2006-02-26  Andrew John Hughes  <gnu_andrew@member.fsf.org>
29807
29808         * native/fdlibm/e_acos.c,
29809         * native/fdlibm/e_asin.c,
29810         * native/fdlibm/e_atan2.c,
29811         * native/fdlibm/e_cosh.c,
29812         * native/fdlibm/e_exp.c,
29813         * native/fdlibm/e_fmod.c,
29814         * native/fdlibm/e_hypot.c,
29815         * native/fdlibm/e_log.c,
29816         * native/fdlibm/e_log10.c,
29817         * native/fdlibm/e_rem_pio2.c,
29818         * native/fdlibm/e_remainder.c,
29819         * native/fdlibm/e_sinh.c,
29820         * native/fdlibm/e_sqrt.c,
29821         * native/fdlibm/k_cos.c,
29822         * native/fdlibm/k_sin.c,
29823         * native/fdlibm/k_tan.c,
29824         * native/fdlibm/s_atan.c,
29825         * native/fdlibm/s_cbrt.c,
29826         * native/fdlibm/s_ceil.c,
29827         * native/fdlibm/s_copysign.c,
29828         * native/fdlibm/s_cos.c,
29829         * native/fdlibm/s_expm1.c,
29830         * native/fdlibm/s_fabs.c,
29831         * native/fdlibm/s_finite.c,
29832         * native/fdlibm/s_floor.c,
29833         * native/fdlibm/s_log1p.c,
29834         * native/fdlibm/s_rint.c,
29835         * native/fdlibm/s_scalbn.c,
29836         * native/fdlibm/s_sin.c,
29837         * native/fdlibm/s_tan.c,
29838         * native/fdlibm/s_tanh.c:
29839         Fixed to call our macros rather than __HI and __LO.
29840         * native/fdlibm/fdlibm.h:
29841         Reintroduced previous extraction code.
29842         (EXTRACT_WORDS(ix0,ix1,d)): Readded.
29843         (GET_HIGH_WORD(i,d)): Readded.
29844         (GET_LOW_WORD(i,d)): Readded.
29845         (INSERT_WORDS(d,ix0,ix1)): Readded.
29846         (SET_HIGH_WORD(d,i)): Readded.
29847         (SET_LOW_WORD(d,i)): Readded.
29848         * native/jni/gtk-peer/gthread-jni.c:
29849         Use Glib macros to convert integers/pointers portably.
29850         
29851 2006-02-26  Raif S. Naffah  <raif@swiftdsl.com.au>
29852
29853         * java/security/SecureRandom.java (SecureRandom): Use GNU-CRYPTO class
29854         as the fallback SPI.
29855         * gnu/java/security/provider/Gnu.java (run): Replaced mappings with new
29856         ones referencing GNU-CRYPTO classes.
29857         * gnu/java/security/provider/PKIXCertPathValidatorImpl.java
29858         (engineValidate): Use GNU-CRYPTO class.
29859         * gnu/java/security/provider/DiffieHellmanKeyFactoryImpl: Removed.
29860         * gnu/java/security/provider/DiffieHellmanKeyPairGeneratorImpl: Likewise.
29861         * gnu/java/security/provider/DSAKeyFactory: Likewise.
29862         * gnu/java/security/provider/DSAKeyPairGenerator: Likewise.
29863         * gnu/java/security/provider/DSAParameters: Likewise.
29864         * gnu/java/security/provider/DSASignature: Likewise.
29865         * gnu/java/security/provider/EncodedKeyFactory: Likewise.
29866         * gnu/java/security/provider/GnuDHPublicKey: Likewise.
29867         * gnu/java/security/provider/GnuDSAPrivateKey: Likewise.
29868         * gnu/java/security/provider/GnuDSAPublicKey: Likewise.
29869         * gnu/java/security/provider/GnuRSAPrivateKey: Likewise.
29870         * gnu/java/security/provider/GnuRSAPublicKey: Likewise.
29871         * gnu/java/security/provider/MD2withRSA: Likewise.
29872         * gnu/java/security/provider/MD4withRSA: Likewise.
29873         * gnu/java/security/provider/MD5: Likewise.
29874         * gnu/java/security/provider/MD5withRSA: Likewise.
29875         * gnu/java/security/provider/RSA: Likewise.
29876         * gnu/java/security/provider/RSAKeyFactory: Likewise.
29877         * gnu/java/security/provider/SHA: Likewise.
29878         * gnu/java/security/provider/SHA1PRNG: Likewise.
29879         * gnu/java/security/provider/SHA1withRSA: Likewise.
29880         * gnu/javax/crypto/GnuDHPrivateKey: Likewise.
29881
29882 2006-02-26  Raif S. Naffah  <raif@swiftdsl.com.au>
29883
29884         * gnu/java/security/jce/sig/EncodedKeyFactory.java (log): New field.
29885         (engineGeneratePublic): Added logging.
29886         (engineGeneratePrivate): Likewise.
29887         * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java (log): New field.
29888         (encodePublicKey): Added logging.
29889         Clarified in method documentation that params is optional, but is
29890         always NULL if present.
29891         (decodePublicKey): Added logging.
29892         Handle optional NULL element.
29893
29894 2006-02-26  Raif S. Naffah  <raif@swiftdsl.com.au>
29895
29896         * java/util/logging/FileHandler.java: Fixed a javadoc reference.
29897
29898 2006-03-03  Tom Tromey  <tromey@redhat.com>
29899
29900         * java/awt/MenuBar.java (shortcuts): Genericized.
29901
29902 2006-03-03  Tom Tromey  <tromey@redhat.com>
29903
29904         * java/beans/EventSetDescriptor.java (EventSetDescriptor):
29905         Genericized.
29906         (getListenerType): Likewise.
29907         * java/beans/Introspector.java (getBeanInfo): Genericized.
29908         * java/beans/DefaultPersistenceDelegate.java (initialize):
29909         Genericized.
29910
29911 2006-03-01  Anthony Balkissoon  <abalkiss@redhat.com>
29912
29913         * java/math/BigDecimal.java:
29914         (precision): Fixed overflow problem with large numbers.
29915         (longValueExact): New method.
29916         (intValueExact): Likewise.
29917         (byteValueExact): Likewise.
29918         (shortValueExact): Likewise.
29919
29920 2006-03-01  Anthony Balkissoon  <abalkiss@redhat.com>
29921
29922         * java/math/BigDecimal.java:
29923         (remainder(BigDecimal)): New method.
29924         (divideAndRemainder(BigDecimal)): Likewise.
29925         (divideToIntegralValue(BigDecimal)): Likewise.
29926         (floor): New implementation method.
29927
29928 2006-02-28  Anthony Balkissoon  <abalkiss@redhat.com>
29929
29930         * java/math/BigDecimal.java:
29931         (divide(BigDecimal, int, RoundingMode)): New method.
29932         (divide(BigDecimal, RoundingMode)): Likewise.
29933         (divide(BigDecimal, int, int)): Removed incorrect throwing of exception
29934         when the new scale is < 0.
29935         (setScale(int, RoundingMode)): New method.
29936         (ulp): Likewise.
29937
29938 2006-02-27  Anthony Balkissoon  <abalkiss@redhat.com>
29939
29940         * java/math/BigDecimal.java: Replaced occurences of BigInteger.valueOf
29941         with BigInteger.ZERO, BigInteger.ONE, BigInteger.TEN where appropriate.
29942         (add(BigDecimal, MathContext)): New method.
29943         (subtract(BigDecimal, MathContext)): Likewise.
29944         (precision): Fixed to correctly handle BigIntegers with more than 19
29945         digits.
29946         (pow(int, MathContext)): New method.
29947
29948 2006-02-27  Anthony Balkissoon  <abalkiss@redhat.com>
29949
29950         * java/math/BigDecimal.java: Added @throws clause to constructors.
29951         (mathContext): Removed this unneeded field.
29952         (BigDecimal(int, MathContext)): New constructor.
29953         (BigDecimal(BigInteger, int, MathContext)): Likewise.
29954         (multiply(BigDecimal, MathContext)): New method.
29955         (negate(MathContext)): Likewise.
29956         (plus(MathContext)): Likewise.
29957         (numDigitsInLong): Fixed to properly handle negatives.
29958         
29959 2006-02-25  Chris Burdess  <dog@gnu.org>
29960   
29961         * gnu/java/net/CRLFInputStream.java,
29962           gnu/java/net/LineInputStream.java: Streams that use mark
29963           capabilities on the underlying stream do not expose mark
29964           functionality themselves.
29965         * gnu/xml/stream/CRLFReader.java: Fix incorrect end condition when
29966           off > 0.
29967
29968 2006-02-25  Ito Kazumitsu  <kaz@maczuka.gcd.org>
29969
29970         * gnu/regexp/REMatch.java(matchFlags): New int field used as
29971         option flags passed to match methods.
29972         (MF_FIND_ALL): New flag.
29973         * gnu/regexp/RETokenOneOf.java(matchP): Unless MF_FIND_ALL is set,
29974         do not try other possibilties once a match is found.
29975         * gnu/regexp/RETokenRepeated.java(findDoables): Set MF_FIND_ALL
29976         so that all possibilities can be found.
29977         (match): Rewritten using new methods matchMinimum and _match.
29978         (_match): New method which performs a depth-first recursive search.
29979         (matchMinimum): New method.
29980         (initVisited), (visitedContains), (addVisited): New methods for
29981         manipulating an array of icharacter positions which _match has
29982         already visited.
29983
29984 2006-02-24  Anthony Balkissoon  <abalkiss@redhat.com>
29985
29986         * java/math/BigDecimal.java:
29987         (BigDecimal(long, MathContext)): New constructor.
29988         (BigDecimal(BigInteger, MathContext)): Likewise.
29989         (BigDecimal(String, MathContext)): Likewise.
29990         (BigDecimal(double, MathContext)): Likewise.
29991         (round): Fixed a typo where the precision field was used instead of a
29992         call to the precision method, and also store the new precision in the
29993         returned BigDecimal.
29994         (abs(MathContext)): New method.
29995
29996 2006-02-24  Anthony Balkissoon  <abalkiss@redhat.com>
29997
29998         * java/math/BigDecimal.java
29999         (toBigInteger): Fixed problem where this method couldn't handle 
30000         negative values for scale.
30001         (toBigIntegerExact): New method.
30002         (stripTrailingZeros): Likewise.
30003
30004 2006-02-24  David Daney  <ddaney@avtrex.com>
30005
30006         PR classpath/26082
30007         * gnu/java/net/protocol/http/HTTPConnection.java (pool): Changed to
30008         type Pool.
30009         (Pool): New inner class.
30010         (timeLastUsed): New field.
30011         (setPool): Changed parameter type to Pool.
30012         (release): Moved pool management logic to new class Pool.
30013         * gnu/java/net/protocol/http/HTTPURLConnection.java (connectionPool):
30014         Removed.
30015         (maxConnections) : Removed.
30016         (GetHTTPPropertiesAction.run): Don't initialize maxConnections.
30017         (getConnection):  Moved pool management logic to HTTPConnection.Pool.
30018   
30019 2006-02-24  Lillian Angel  <langel@redhat.com>
30020   
30021         * java/awt/Container.java:
30022         Added new field. True if Container has been cleared and
30023         heavyweights need to be repainted.
30024         (paint): Fixed comment. Fixed to use backCleared and 
30025         reset backCleared.
30026         (update): Set backCleared to true after the background
30027         of the container has been cleared.
30028   
30029 2006-02-24  Lillian Angel  <langel@redhat.com>
30030   
30031         * java/awt/TextField.java
30032         (addNotify): Added call to super.
30033   
30034 2006-02-24  Lillian Angel  <langel@redhat.com>
30035   
30036         * java/awt/Component.java
30037         (reshape): Reverted last patch. Should have check here.
30038         (addNotify): Added check. If parent is lightweight, then
30039         initialize listener on the parent.
30040         (HeavyweightInLightweightListener): New class.
30041   
30042 2006-02-24  Roman Kennke  <kennke@aicas.com>
30043   
30044         * javax/swing/plaf/basic/BasicComboPopup.java
30045         (show): Register the popup with the autocloser after it has been
30046         opened completely, by putting the registration on the eventqueue.
30047   
30048 2006-02-24  Andrew John Hughes  <gnu_andrew@member.fsf.org>
30049   
30050         * gnu/java/security/prng/BasePRNG.java:
30051         (clone()): Added cast of buffer to byte[].
30052         * gnu/javax/crypto/mac/TMMH16.java:
30053         (clone()): Fixed casting of cloned arrays.
30054         * native/fdlibm/fdlibm.h:
30055         Added missing defines from old fdlibm.h needed by Darwin.
30056         (GET_FLOAT_WORD(i,d)): Re-added.
30057         (SET_FLOAT_WORD(d,i)): Re-added.
30058         
30059 2006-02-24  Roman Kennke  <kennke@aicas.com>
30060   
30061         * java/awt/Container.java:
30062         (dispatcher): Removed field.
30063         (dispatchEventImpl): Removed lightweight dispatching.
30064         (addNotifyContainerChildren): Removed LightweightDispatcher
30065         handling.
30066         (LightweightDispatcher): Removed class.
30067         * java/awt/LightweightDispatcher.java: New class.
30068         * java/awt/Toolkit.java
30069         (Toolkit): Install LightweightDispatcher in global listener
30070         array.
30071   
30072 2006-02-24  Chris Burdess  <dog@gnu.org>
30073   
30074         Fixes PR 26324
30075         * gnu/java/net/CRLFInputStream.java: Fix incorrect end condition when
30076           off > 0.
30077   
30078 2006-02-24  Andrew John Hughes  <gnu_andrew@member.fsf.org>
30079   
30080         * NEWS: Mentions the VMMath runtime changes.
30081         * doc/vmintegration.texinfo: Updated to include
30082         VMMath.
30083   
30084 2006-02-24  Roman Kennke  <kennke@aicas.com>
30085   
30086         * javax/swing/plaf/basic/BasicLookAndFeel.java
30087         (PopupHelper.autoClosePopups): New field.
30088         (PopupHelper.mousePressed): Also autoclose any registered popups.
30089         (PopupHelper.registerForAutoClose): New method.
30090         (PopupHelper.autoClosePopups): New method.
30091         (popupHelper): Changed type of field to PopupHelper.
30092         (registerForAutoClose): New method.
30093         * javax/swing/plaf/basic/BasicComboPopup.java
30094         (show): Register this popup for autoclosing.
30095   
30096 2006-02-24  Raif S. Naffah  <raif@swiftdsl.com.au>
30097   
30098         * gnu/javax/crypto/mac/TMMH16.java (clone): New method.
30099         * gnu/java/security/prng/MDGenerator.java (clone): New method.
30100         * gnu/java/security/prng/BasePRNG.java (clone): Clone buffer.
30101   
30102 2006-02-24  Roman Kennke  <kennke@aicas.com>
30103   
30104         Reported by Ingo Proetel <proetel@aicas.com>
30105         * java/util/logging/LogManager.java
30106         (addLogger): Search the parent loggers for log level
30107         configuration and inherit that.
30108         (readConfiguration): Provide minimal default configuration
30109         if no configuration can be found otherwise.
30110
30111 2006-02-23  Anthony Balkissoon  <abalkiss@redhat.com>
30112
30113         * java/math/BigDecimal.java:
30114         (toString): Fixed a problem where the negative sign was being displayed
30115         twice in the exponent.
30116         (toEngineeringString): New method.
30117         (toPlainString): Likewise.
30118         (pow): Likewise.
30119
30120 2006-02-23  Anthony Balkissoon  <abalkiss@redhat.com>
30121
30122         * java/math/BigDecimal.java:
30123         (toString): Rewrote this method to behave as specified.  Added API
30124         comments to explain behaviour.
30125         (scaleByPowerOfTen): New method.
30126
30127 2006-02-23  Roman Kennke  <kennke@aicas.com>
30128   
30129         * javax/swing/JRootPane.java
30130         (isOptimizedDrawingEnabled): Implemented to return true
30131         when the glassPane is not visible.
30132   
30133 2006-02-23  Roman Kennke  <kennke@aicas.com>
30134   
30135         * javax/swing/plaf/basic/BasicLookAndFeel.java
30136         (PopupHelper): New inner class.
30137         (popupHelper): New field.
30138         (initialize): New method.
30139         (uninitialize): New method.
30140         * javax/swing/plaf/basic/BasicPopupMenuUI.java
30141         (mouseInputListener): Removed field.
30142         (PopupMenuHandler.popupMenuWillBecomeInvisible): Removed
30143         handling of GlassPane.
30144         (PopupMenuHandler.popupMenuWillBecomeVisible): Removed
30145         handling of GlassPane.
30146         (MouseInputHandler): Removed class.
30147
30148 2006-02-23  Roman Kennke  <kennke@aicas.com>
30149
30150         * java/awt/AWTEvent.java
30151         (eventIdToMask): New utility method.
30152         * java/awt/EventQueue.java
30153         (dispatchEvent): Also globally dispatch events via the toolkit.
30154         (globalDispatchEvent): New method.
30155         * java/awt/Toolkit.java
30156         (awtEventListeners): New field.
30157         (Toolkit()): Initialize new field.
30158         (createComponent): Create GLightweightPeer here.
30159         (addAWTEventListener): Implemented and documented.
30160         (removeAWTEventListener): Implemented and documented.
30161         (getAWTEventListeners): Implemented and documented both method
30162         variants.
30163         * java/awt/event/AWTEventListenerProxy.java
30164         (eventDispatched): Don't filter events here.
30165
30166 2006-02-23  Chris Burdess  <dog@gnu.org>
30167
30168         Fixes PR 26410
30169         * gnu/xml/dom/DomDocumentBuilderFactory.java,
30170           gnu/xml/dom/JAXPFactory.java,
30171           gnu/xml/libxmlj/dom/GnomeDocumentBuilderFactory.java,
30172           javax/xml/parsers/DocumentBuilderFactory.java: Add and trivially
30173           implement DocumentBuilderFactory.get/setFeature methods.
30174
30175 2006-02-23  Lillian Angel  <langel@redhat.com>
30176
30177         * gnu/java/awt/peer/GLightweightPeer.java
30178         (repaint): Scott's proposed fix. Send repaint to the
30179         component's parent.
30180         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
30181         (setBounds): Removed next_parent, not needed. Removed
30182         lightweightChild, we always need to compensate for the
30183         menu bar's height.
30184         * java/awt/Component.java
30185         (setBounds): Removed check. Caused lots of problems, because some
30186         components were not being invalidated. Components should be
30187         invalidated when they are resized or moved, and in some cases,
30188         when a parent is resized/moved, the components do not know
30189         about it and do not adjust.
30190         * java/awt/Graphics.java
30191         (hitClip): Scott's proposed fix. Added check to handle a 
30192         null clip.
30193   
30194 2006-02-23  Wolfgang Baer  <WBaer@gmx.de>
30195   
30196         * javax/print/attribute/standard/MediaSize.java: 
30197         (media): Field renamed to mediaName for serialization.
30198         (MediaSize): Adapted to new fieldname.
30199         (getMediaSizeName): Likewise.
30200         * javax/print/attribute/HashAttributeSet.java: 
30201         (interfaceName): Field renamed to myInterface for serialization.
30202         (HashAttributeSet): Adapted to the new fieldname.
30203         (add): Likewise.
30204         (addAll): Likewise.
30205         (addInternal): Likewise.
30206         (attributeMap): Made transient.
30207         (readObject): New serialization method.
30208         (writeObject): Likewise.
30209         * javax/print/attribute/AttributeSetUtilities.java: 
30210         (SynchronizedAttributeSet.set): Field renamed to attrset for serialization.
30211         (SynchronizedAttributeSet.add): Adapted to the new fieldname.
30212         (SynchronizedAttributeSet.addAll): Likewise.
30213         (SynchronizedAttributeSet.clear): Likewise.
30214         (SynchronizedAttributeSet.containsKey): Likewise.
30215         (SynchronizedAttributeSet.containsValue): Likewise.     
30216         (SynchronizedAttributeSet.equals): Likewise.
30217         (SynchronizedAttributeSet.get): Likewise.
30218         (SynchronizedAttributeSet.hashCode): Likewise.  
30219         (SynchronizedAttributeSet.isEmpty): Likewise.
30220         (SynchronizedAttributeSet.remove): Likewise.    
30221         (SynchronizedAttributeSet.size): Likewise.      
30222         (SynchronizedAttributeSet.toArray): Likewise.   
30223         (UnmodifiableAttributeSet.set): Field renamed to attrset for serialization.
30224         (UnmodifiableAttributeSet.add): Adapted to the new fieldname.
30225         (UnmodifiableAttributeSet.addAll): Likewise.
30226         (UnmodifiableAttributeSet.clear): Likewise.
30227         (UnmodifiableAttributeSet.containsKey): Likewise.
30228         (UnmodifiableAttributeSet.containsValue): Likewise.     
30229         (UnmodifiableAttributeSet.equals): Likewise.
30230         (UnmodifiableAttributeSet.get): Likewise.
30231         (UnmodifiableAttributeSet.hashCode): Likewise.  
30232         (UnmodifiableAttributeSet.isEmpty): Likewise.
30233         (UnmodifiableAttributeSet.remove): Likewise.    
30234         (UnmodifiableAttributeSet.size): Likewise.      
30235         (UnmodifiableAttributeSet.toArray): Likewise.   
30236         * javax/print/attribute/standard/MediaPrintableArea.java: 
30237         (width): Field renamed to w for serialization.
30238         (height): Field renamed to h for serialization. 
30239         (MediaPrintableArea): Adapted to the new fieldnames.    
30240         (MediaPrintableArea): Likewise.
30241         (equals): Likewise.
30242         (hashCode): Likewise.
30243         (getHeight): Likewise.
30244         (getWidth): Likewise.
30245   
30246 2006-02-23  Andrew John Hughes  <gnu_andrew@member.fsf.org>
30247   
30248         * include/java_lang_VMMath.h:
30249         (Java_java_lang_VMMath_cbrt(JNIEnv*,jclass,jdouble)): Added.
30250         (Java_java_lang_VMMath_cosh(JNIEnv*,jclass,jdouble)): Added.
30251         (Java_java_lang_VMMath_expm1(JNIEnv*,jclass,jdouble)): Added.
30252         (Java_java_lang_VMMath_hypot(JNIEnv*,jclass,jdouble,jdouble)): Added.
30253         (Java_java_lang_VMMath_log10(JNIEnv*,jclass,jdouble)): Added.
30254         (Java_java_lang_VMMath_log1p(JNIEnv*,jclass,jdouble)): Added.
30255         (Java_java_lang_VMMath_sinh(JNIEnv*,jclass,jdouble)): Added.
30256         (Java_java_lang_VMMath_tanh(JNIEnv*,jclass,jdouble)): Added.
30257         * java/lang/Math.java:
30258         (cbrt(double)): Implemented.
30259         (cosh(double)): Implemented.
30260         (expm1(double)): Implemented.
30261         (hypot(double,double)): Implemented.
30262         (log10(double)): Implemented.
30263         (log1p(double)): Implemented.
30264         (signum(double)): Implemented.
30265         (signum(float)): Implemented.
30266         (sinh(double)): Implemented.
30267         (tanh(double)): Implemented.
30268         * native/fdlibm/Makefile.am:
30269         Added new files from fdlibm 5.3.
30270         * native/fdlibm/e_acos.c,
30271         * native/fdlibm/e_asin.c,
30272         * native/fdlibm/e_atan2.c,
30273         * native/fdlibm/e_exp.c,
30274         * native/fdlibm/e_fmod.c,       
30275         * native/fdlibm/e_log.c,
30276         * native/fdlibm/e_rem_pio2.c,
30277         * native/fdlibm/e_remainder.c,
30278         * native/fdlibm/e_scalb.c,
30279         * native/fdlibm/e_sqrt.c,
30280         * native/fdlibm/k_cos.c,
30281         * native/fdlibm/k_rem_pio2.c,
30282         * native/fdlibm/k_sin.c,
30283         * native/fdlibm/k_tan.c,
30284         * native/fdlibm/s_atan.c,
30285         * native/fdlibm/s_ceil.c,
30286         * native/fdlibm/s_copysign.c,
30287         * native/fdlibm/s_cos.c,
30288         * native/fdlibm/s_fabs.c,
30289         * native/fdlibm/s_finite.c,
30290         * native/fdlibm/s_floor.c,
30291         * native/fdlibm/s_rint.c,
30292         * native/fdlibm/s_scalbn.c,
30293         * native/fdlibm/s_sin.c,
30294         * native/fdlibm/s_tan.c,
30295         * native/fdlibm/w_acos.c,
30296         * native/fdlibm/w_asin.c,
30297         * native/fdlibm/w_atan2.c,
30298         * native/fdlibm/w_acos.c,
30299         * native/fdlibm/w_exp.c,
30300         * native/fdlibm/w_fmod.c,
30301         * native/fdlibm/w_log.c,
30302         * native/fdlibm/w_pow.c,
30303         * native/fdlibm/w_remainder.c,
30304         * native/fdlibm/w_sqrt.c:
30305         Updated to fdlibm 5.3.
30306         * native/fdlibm/e_cosh.c,
30307         * native/fdlibm/e_hypot.c,
30308         * native/fdlibm/e_log10.c,
30309         * native/fdlibm/e_sinh.c,
30310         * native/fdlibm/s_cbrt.c,
30311         * native/fdlibm/s_expm1.c,
30312         * native/fdlibm/s_log1p.c,
30313         * native/fdlibm/s_tanh.c,
30314         * native/fdlibm/w_cosh.c,
30315         * native/fdlibm/w_hypot.c,
30316         * native/fdlibm/w_log10.c,
30317         * native/fdlibm/w_sinh.c:
30318         Imported from fdlibm 5.3.
30319         * native/fdlibm/fdlibm.h:
30320         Imported from fdlibm 5.3 with Classpath additions.
30321         * native/fdlibm/namespace.h:
30322         Updated from new math_symbols file.
30323         * native/jni/java-lang/java_lang_VMMath.c:
30324         (Java_java_lang_VMMath_cbrt(JNIEnv*,jclass,jdouble)): Implemented.
30325         (Java_java_lang_VMMath_cosh(JNIEnv*,jclass,jdouble)): Implemented.
30326         (Java_java_lang_VMMath_expm1(JNIEnv*,jclass,jdouble)): Implemented.
30327         (Java_java_lang_VMMath_hypot(JNIEnv*,jclass,jdouble,jdouble)):
30328         Implemented.
30329         (Java_java_lang_VMMath_log10(JNIEnv*,jclass,jdouble)): Implemented.
30330         (Java_java_lang_VMMath_log1p(JNIEnv*,jclass,jdouble)): Implemented.
30331         (Java_java_lang_VMMath_sinh(JNIEnv*,jclass,jdouble)): Implemented.
30332         (Java_java_lang_VMMath_tanh(JNIEnv*,jclass,jdouble)): Implemented.
30333         * scripts/math_symbols:
30334         Added tanh, expm1, log10 and log1p.
30335         * vm/reference/java/lang/VMMath.java:
30336         (cbrt(double)): Implemented.
30337         (cosh(double)): Implemented.
30338         (expm1(double)): Implemented.
30339         (hypot(double,double)): Implemented.
30340         (log10(double)): Implemented.
30341         (log1p(double)): Implemented.
30342         (sinh(double)): Implemented.
30343         (tanh(double)): Implemented.
30344         
30345 2006-02-23  Wolfgang Baer  <WBaer@gmx.de>
30346
30347         * javax/print/DocFlavor.java: Added documentation all over.
30348         (BYTE_ARRAY.TEXT_HTML_HOST): Include host charset encoding to mimetype.
30349         (BYTE_ARRAY.TEXT_PLAIN_HOST): Likewise.
30350         (INPUT_STREAM.TEXT_HTML_HOST): Likewise.
30351         (INPUT_STREAM.TEXT_PLAIN_HOST): Likewise.
30352         (URL.TEXT_HTML_HOST): Likewise.
30353         (URL.TEXT_PLAIN_HOST): Likewise.
30354         (hostEncoding): Initialize with host default charset encoding.
30355         (mediaSubtype): Made transient.
30356         (mediaType): Likewise.
30357         (params): Made transient. Changed type to TreeMap.
30358         (className): Removed, changed to myClassName.
30359         (myClassName): New field as defined in serialized form.
30360         (DocFlavor): Adapted to new variable types, names.
30361         (parseMimeType): Reimplemented.
30362         (getParameter): Search with lowercase name.
30363         (getRepresentationClassName): Adapted to changed variable name.
30364         (hashCode): Likewise.
30365         (toString): Reimplemented.
30366         (readObject): New method for serialization.
30367         (writeObject): Likewise.
30368   
30369 2006-02-23  Roman Kennke  <kennke@aicas.com>
30370   
30371         * javax/swing/RepaintManager.java
30372         (commitBuffer): Clip the repaint area with the current clip.
30373   
30374 2006-02-23  Raif S. Naffah  <raif@swiftdsl.com.au>
30375   
30376         * gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java
30377         (DEFAULT_PRIME_SIZE): Made public.
30378         (DEFAULT_EXPONENT_SIZE): Likewise.
30379         (setup): Handle DHParameterSpec as well.
30380         * gnu/javax/crypto/key/dh/GnuDHKey.java (getEncoded): Return
30381         defaultFormat instead of Raw.
30382         * gnu/javax/crypto/key/dh/DHKeyPairX509Codec.java
30383         (checkIsConstructed): Removed.
30384         (checkIsBigInteger): Likewise.
30385         (decodePublicKey): Use DerUtil.
30386         * gnu/javax/crypto/key/dh/DHKeyPairPKCS8Codec.java
30387         (checkIsConstructed): Removed.
30388         (checkIsBigInteger): Likewise.
30389         (decodePrivateKey): Use DerUtil.
30390         * gnu/javax/crypto/jce/GnuCrypto.java (run): Updated mapping of
30391         KeyAgreement.DH.
30392         Added mappings for AlgorithmParameters.DH and
30393         AlgorithmParameterGenerator.DH.
30394         * gnu/javax/crypto/jce/DiffieHellmanImpl.java: New file.
30395         * gnu/javax/crypto/jce/sig/DHParametersGenerator.java: Likewise.
30396         * gnu/javax/crypto/jce/sig/DHParameters.java: Likewise.
30397         * gnu/javax/crypto/jce/sig/DHKeyFactory.java (engineGeneratePrivate):
30398         Return result.
30399         (engineGeneratePublic): Likewise.
30400         * gnu/java/security/util/DerUtil.java: New file.
30401         * gnu/java/security/sig/rsa/RSASignatureFactory.java (getNames):
30402         Include only valid RSA PKCS1 (v1.5) signature names.
30403         * gnu/java/security/sig/rsa/RSAPKCS1V1_5SignatureX509Codec.java
30404         (RSAPKCS1V1_5SignatureX509Codec): Removed.
30405         (checkIsConstructed): Likewise.
30406         * gnu/java/security/sig/dss/DSSSignatureX509Codec.java
30407         (checkIsConstructed): Removed.
30408         (checkIsBigInteger): Likewise.
30409         (decodeSignature): Use DerUtil.
30410         * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java
30411         (checkIsConstructed): Removed.
30412         (checkIsBigInteger): Likewise.
30413         (decodePublicKey): Use DerUtil.
30414         * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java
30415         (checkIsConstructed): Removed.
30416         (checkIsBigInteger): Likewise.
30417         (decodePrivateKey): Use DerUtil.
30418         * gnu/java/security/key/dss/DSSKeyPairX509Codec.java
30419         (checkIsConstructed): Removed.
30420         (checkIsBigInteger): Likewise.
30421         (decodePublicKey): Use DerUtil.
30422         * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java
30423         (checkIsConstructed): Removed.
30424         (checkIsBigInteger): Likewise.
30425         (decodePrivateKey): Use DerUtil.
30426         * gnu/java/security/key/dss/DSSKeyPairGenerator.java
30427         (DEFAULT_MODULUS_LENGTH): Made it public.
30428         * gnu/java/security/key/dss/DSSKey.java (getEncoded): Return
30429         defaultFormat instead of Raw.
30430         * gnu/java/security/jce/sig/DSSParametersGenerator.java: New file.
30431         * gnu/java/security/jce/sig/DSSParameters.java: Likewise..
30432         * gnu/java/security/jce/sig/DSSKeyFactory.java (engineGeneratePrivate):
30433         Return result.
30434         (engineGeneratePublic): Likewise.
30435         * gnu/javax/crypto/DiffieHellmanImpl: Removed.
30436
30437 2006-02-22  Anthony Balkissoon  <abalkiss@redhat.com>
30438
30439         * java/math/BigDecimal.java:
30440         (BigDecimal(char[], int, int, MathContext)): New constructor.
30441         (BigDecimal(char[], MathContext)): Likewise.
30442         (BigDecimal(char[])): Likewise.
30443         (BigDecimal(char[], int, int)): Likewise.
30444         (BigDecimal(String)): Fixed handling of exponent and scale.
30445
30446 2006-02-22  Mark Wielaard  <mark@klomp.org>
30447
30448         * java/awt/Checkbox.java (setState): Check that state actually changed
30449         before calling peer.
30450         (dispatchEventImpl): Set new state if ItemEvent.
30451         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java (changing): Removed.
30452         (create): Set currentState.
30453         (setState): Make synchronized, check and set currentState before
30454         calling gtkToggleButtonSetActive.
30455         (postItemEvent): Make synchronized, check and set currentState before
30456         posting ItemEvent.
30457         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
30458         (postItemEventID): Method now takes boolean.
30459         (item_toggled_cb): Likewise.
30460   
30461 2006-02-22  Robert Schuster  <robertschuster@fsfe.org>
30462   
30463         * javax/swing/text/DefaultHighlighter.java:
30464         (changeHighlight): Added code to minimize the damaged area.
30465   
30466 2006-02-22  Robert Schuster  <robertschuster@fsfe.org>
30467   
30468         * javax/swing/text/PlainView.java:
30469         (getPreferredSpan): Added missing 'break'.
30470         statement which corrects an unwanted fall through.
30471         (updateDamage): Update maxLineLength correctly when text is
30472         removed, call preferenceChanged accordingly.
30473         (viewToModel): Restrict line number to be within 0 and the
30474         number of elements-1.
30475   
30476 2006-02-22  Robert Schuster  <robertschuster@fsfe.org>
30477   
30478         * javax/swing/text/Utilities.java:
30479         (getPositionAbove): Prefer first value by changing comparison
30480         from < to <=.
30481         (getPositionBelow): Dito.
30482   
30483 2006-02-22  Robert Schuster  <robertschuster@fsfe.org>
30484   
30485         * javax/swing/text/DefaultEditorKit.java: Added checks and fallback
30486         behavior when magic caret position is null.
30487   
30488 2006-02-22  Roman Kennke  <kennke@aicas.com>
30489   
30490         * javax/swing/JTextField.java
30491         (isValidateRoot): New method.
30492   
30493 2006-02-22  Roman Kennke  <kennke@aicas.com>
30494   
30495         * javax/swing/JEditorPane.java
30496         (getPreferredSize): Rewritten to behave like the reference impl.
30497         (getScrollableTracksViewportWidth): Likewise.
30498         (getScrollableTracksViewportHeight): Likewise.
30499   
30500 2006-02-22  Roman Kennke  <kennke@aicas.com>
30501   
30502         * javax/swing/RepaintManager.java
30503         (addInvalidComponent): Also consider the component itself.
30504   
30505 2006-02-22  Mark Wielaard  <mark@klomp.org>
30506   
30507         * javax/swing/text/html/HTMLDocument.java (createDefaultRoot): Fully
30508         qualify AbstractDocument.AttributeContext.
30509         (blockOpen): Likewise.
30510   
30511 2006-02-21  Anthony Balkissoon  <abalkiss@redhat.com>
30512
30513         * java/math/BigDecimal.java:
30514         (mathContext): New field.
30515         (precision): Likewise.
30516         (BigDecimal(int)): New constructor.
30517         (BigDecimal(long)): Likewise.
30518         (BigDecimal(BigInteger)): Added API docs.
30519         (BigDecimal(BigInteger, int)): Removed incorrect NumberFormatException
30520         and added API docs.
30521         (plus): New method.
30522         (round): Likewise.
30523         (precision): Likewise.
30524         (valueOf): Likewise.
30525         (numDigitsInLong): New implementation method.
30526
30527 2006-02-21  Anthony Balkissoon  <abalkiss@redhat.com>
30528
30529         * java/math/MathContext.java: New class.
30530         * java/math/RoundingMode: New Enum.
30531
30532 2006-02-21  Mark Wielaard  <mark@klomp.org>
30533   
30534         * java/awt/Component.java (translateEvent): Translate
30535         AdjustmentEvents to 1.0 Events.
30536         * java/awt/Scrollbar.java (dispatchEventImpl): Set valueIsAdjusting.
30537         Call setValue() before processing event.
30538         * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java (setValues): Check
30539         whether we are currently changing and being called back from the
30540         Scrollbar component.
30541         (setBarValues): New native method.
30542         (postAdjustmentEvent): Mark AdjustmentEvent as user generated.
30543         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollbarPeer.c
30544         (Java_gnu_java_awt_peer_gtk_GtkScrollbarPeer_setValues): Renamed to
30545         Java_gnu_java_awt_peer_gtk_GtkScrollbarPeer_setBarValue
30546         * include/gnu_java_awt_peer_gtk_GtkScrollbarPeer.h: Regenerated.
30547   
30548 2006-02-21  Roman Kennke  <kennke@aicas.com>
30549   
30550         * javax/swing/text/View.java
30551         (setParent): Set child parent to null when disconnecting
30552         the view from the View hierarchy.
30553   
30554 2006-02-21  Wolfgang Baer  <WBaer@gmx.de>
30555   
30556         * javax/print/StreamPrintService.java: Added and enhanced documentation.
30557   
30558 2006-02-21  Roman Kennke  <kennke@aicas.com>
30559   
30560         * javax/swing/text/WrappedPlainView.java
30561         (calculateBreakPosition): Changed to use the view's allocation instead
30562         of the container's preferredSize.
30563   
30564 2006-02-21  Wolfgang Baer  <WBaer@gmx.de>
30565   
30566         * java/awt/CardLayout.java:
30567         (first): Updated api documentation.
30568         (last): Likewise.
30569         (next): Likewise.
30570         (previous): Likewise.
30571         (show): Clarified api docs. Return if name is null. Throw
30572         IllegalArgumentException if layout of container is not this.
30573         (gotoComponent): Updated api documentation. Throw
30574         IllegalArgumentException if layout of container is not this.
30575   
30576 2006-02-21  Roman Kennke  <kennke@aicas.com>
30577   
30578         * javax/swing/text/NavigationFilter.java
30579         (getNextVisualPositionFrom): New method.
30580   
30581 2006-02-21  Roman Kennke  <kennke@aicas.com>
30582   
30583         * javax/swing/plaf/basic/BasicTextUI.java
30584         (RootView.setView): Call setParent() on the view with this as
30585         argument instead of null.
30586         (setView): Don't set root view's parent here.
30587   
30588 2006-02-21  Roman Kennke  <kennke@aicas.com>
30589   
30590         * javax/swing/text/AbstractDocument.java
30591         (AbstractElement.getAttribute): Use getResolveParent() to fetch
30592         the resolving parent.
30593         (AbstractElement.getResolveParent): Fixed to handle possible null
30594         parent.
30595         * javax/swing/text/BoxView.java
30596         (childReqs): New field.
30597         (paint): Added debugging code (commented out).
30598         (getPreferredSpan): Rewritten to use new update* methods.
30599         (getMaximumSpan): Rewritten to return Integer.MAX_VALUE
30600         for the minor axis and preferredSpan for the major axis.
30601         (getMinimumSpan): Rewritten to use new update* methods.
30602         (baselineRequirements): Rewritten to avoid creation of 
30603         unnecessary SizeRequirements objects.
30604         (baselineLayout): Rewritten to use new update* methods.
30605         (calculateMajorAxisRequirements): Rewritten to avoid creation of 
30606         unnecessary SizeRequirements objects.
30607         (calculateMinorAxisRequirements): Rewritten to avoid creation of 
30608         unnecessary SizeRequirements objects.
30609         (layout): Some robustness fixes for the layout. Turned AssertionErrors
30610         into warnings.
30611         (layoutMajorAxis): Rewritten to use new update* methods.
30612         (layoutMinorAxis): Rewritten to use new update* methods.
30613         (getChildRequirements): Replaced by the update* methods.
30614         (getAlignment): Use update* methods.
30615         (updateChildRequirements): New methods. Updates the child requirements
30616         if necessary.
30617         (updateRequirements): New methods. Updates the BoxView requirements
30618         if necessary.
30619         * javax/swing/text/DefaultStyledDocument.java
30620         (ElementBuffer.insert): Added warning for illegal replacement operation.
30621         * javax/swing/text/FlowView.java
30622         (layoutRow): When offset doesn't change, return -1.
30623         (LogicalView): Now subclasses BoxView.
30624         (loadChildren): Let the CompositeView.setParent() load the children
30625         of the logicalView.
30626         (calculateMinorRequirements): New overridden method.
30627         * javax/swing/text/GlyphView.java
30628         (DefaultGlyphPainter.paint): Fixed typo.
30629         (startOffset): Made field private.
30630         (endOffset): Made field private.
30631         (paint): Call getStartOffset() and getEndOffset() instead of the
30632         element methods.
30633         (isStrikeThrough): Fixed typo.
30634         (breakView): Use Utilities.getBreakLocation() to determine best
30635         break location.
30636         (changedUpdate): Call preferencedChange on this instead of parent.
30637         (removeUpdate): Call preferencedChange on this instead of parent.
30638         * javax/swing/text/ParagraphView.java
30639         (Row.getAlignment): For Y_AXIS, call super.
30640         (getAlignment): Likewise.
30641         * javax/swing/text/Utilities.java
30642         (getBreakLocation): Set Segment object directly on the BreakIterator.
30643         * javax/swing/text/html/HTML.java
30644         (Attribute): Made class non-serializable and final as specified.
30645         (Attribute(String)): Made constructor private.
30646         (Attribute.compareTo): Removed.
30647         (Attribute.equals): Removed.
30648         (Attribute.hashCode): Removed.
30649         (Tag): Made class non-comparable and non-serializable as specified.
30650         (Tag.compareTo): Removed.
30651         (Tag.equals): Removed.
30652         (Tag.hashCode): Removed.
30653         * javax/swing/text/html/HTMLDocument.java
30654         (HTMLReader.blockOpen): Add tag as name attribute to element.
30655         * javax/swing/text/html/HTMLEditorKit.java
30656         (HTMLFactory.create): Create NullView for <head> tags, removed unused
30657         fallback.
30658         * javax/swing/text/html/InlineView.java
30659         (setPropertiesFromAttributes): Call super.
30660         * javax/swing/text/html/NullView.java: New class.
30661   
30662 2006-02-21  Roman Kennke  <kennke@aicas.com>
30663   
30664         PR classpath/26368
30665         * javax/swing/text/GapContent.java
30666         (GapContentPosition): Made class private.
30667         (InsertUndo): Made class private.
30668         (UndoRemove): Made class private.
30669         (WeakPositionComparator): New inner class.
30670         (positions): Made field private.
30671         (createPosition): Clear up GC'ed positions before creating
30672         a new one. Store position as WeakReference.
30673         (getPositionsInRange): Changed to handle WeakReference
30674         positions.
30675         (setPositionsInRange): Changed to handle WeakReference
30676         positions.
30677         (adjustPositionsInRange): Changed to handle WeakReference
30678         positions.
30679         (dumpPositions): Handle WeakReference positions.
30680         (clearPositionReferences): New method.
30681   
30682 2006-02-21  Robert Schuster  <robertschuster@fsfe.org>
30683   
30684         * javax/swing/plaf/basic/BasicTextUI.java:
30685         (paint): Remove unneccessary part of the if-expression.
30686         (damageRange): Added case where the range spans multiple lines.
30687         * javax/swing/text/DefaultCaret.java:
30688         (clearHighlight): New method.
30689         (handleHighlight): Removed unneccessary part of the if-expression.
30690         (setDot): Use clearHighlight method.
30691         * javax/swing/text/DefaultHighlighter.java: Use ArrayList instead
30692         of Vector.
30693         (paint): Prevented calling size() on every loop iteration, fixed
30694         calculation of allocation area bounds.
30695         (getHighlights): Implemented.
30696         (removeHighlight): Mark damaged area in textcomponent.
30697         (addHighlight): Mark damaged area in textcomponent.
30698         (changeHighlight): Mark damaged area in textcomponent.
30699         (DefaultHighlighter.HighlightEntry): Made it a real
30700         Highlighter.Highlight implementation.
30701         (DefaultHighlighter.DefaultHighlightPainter.paint): Fixed
30702         calculations.
30703
30704 2006-02-20  Stuart Ballard  <stuart.a.ballard@gmail.com>
30705
30706         * java/util/zip/ZipConstants.java
30707         (LOCSIG): Change type to long.
30708         (EXTSIG): Likewise.
30709         (CENSIG): Likewise.
30710         (ENDSIG): Likewise.
30711         * java/util/zip/ZipOutputStream.java
30712         (writeLeInt(long)): New method.
30713   
30714 2006-02-21  Michael Koch  <konqueror@gmx.de>
30715   
30716         * gnu/javax/net/ssl/provider/PRNG.java: Removed.
30717   
30718 2006-02-20  Mark Wielaard  <mark@klomp.org>
30719   
30720         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
30721         (begin_drawing_operation): Output stacktrace and return on bad cairo
30722         status.
30723         (end_drawing_operation): Likewise. And reset cairo_t.
30724   
30725 2006-02-20  Robert Schuster  <robertschuster@fsfe.org>
30726   
30727         * javax/swing/text/DefaultEditorKit.java: Fixed comparison
30728         in backward selection action.
30729   
30730 2006-02-20  Olivier Jolly  <olivier.jolly@pcedev.com>
30731   
30732         * java/lang/reflect/Proxy.java:
30733         (ProxyData.getProxyData): Skipped overriding of core methods.
30734         (ProxyData.isCoreObjectMethod): New method.
30735   
30736 2006-02-20  Mark Wielaard  <mark@klomp.org>
30737   
30738         * gnu/java/nio/charset/Provider.java (Provider): Package private.
30739   
30740 2006-02-20  Roman Kennke  <kennke@aicas.com>
30741   
30742         * javax/swing/text/html/Option.java: New class.
30743   
30744 2006-02-20  Lillian Angel  <langel@redhat.com>
30745   
30746         * java/swt/Window.java
30747         (show): Calling show() on the owned windows caused problems.
30748         Changed back to get the peer and call setVisible.
30749   
30750 2006-02-20  Roman Kennke  <kennke@aicas.com>
30751   
30752         * javax/swing/plaf/basic/BasicTextUI.java
30753         (damageRange): Implemented this method.
30754   
30755 2006-02-20  Robert Schuster  <robertschuster@fsfe.org>
30756   
30757         * javax/swing/text/GapContent.java:
30758         (shiftGapEndUp): Corrected new mark value.
30759         * javax/swing/text/AbstractDocument.java:
30760         (remove): Changed order of operations.
30761   
30762 2006-02-20  Robert Schuster  <robertschuster@fsfe.org>
30763   
30764         * javax/swing/text/GapContent.java:
30765         (shiftGapEndUp): Reverted.
30766         * javax/swing/text/AbstractDocument.java:
30767         (remove): Reverted.
30768   
30769 2006-02-20  Robert Schuster  <robertschuster@fsfe.org>
30770   
30771         * javax/swing/text/GapContent.java:
30772         (shiftGapEndUp): Corrected new mark value.
30773         * javax/swing/text/AbstractDocument.java:
30774         (remove): Changed order of operations.
30775   
30776 2006-02-20  Mark Wielaard  <mark@klomp.org>
30777   
30778         * java/awt/Menu.java (add(MenuItem)): Use item.getParent() to get
30779         parent field.
30780         (insert): Likewise.
30781         (addNotify): Add the item after addNotifying it.
30782         * java/awt/MenuBar.java (setHelpMenu): Only call removeNotify() when
30783         there is a peer. Use getParent() and setParent() to manipulate parent
30784         field.
30785         (add(Menu)): Use getParent() and setParent() to manipulate parent
30786         field. Call addNotify() and addMenu() when there is a peer.
30787         (remove(int)): Call removeNotify() and delMenu() when there is a peer.
30788         (addNotify): Use getPeer()/setPeer(). Call addMenu() and addHelpMenu()
30789         when there is a peer.
30790         * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java (create): Document.
30791         (GtkMenuComponentPeer): Document. Take MenuComponent as argument.
30792         (setFont): Call setFont(Font).
30793         (setFont(Font)): Document. Only set font when not null.
30794         * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java (create): Document. Made
30795         protected.
30796         (connectSignals): Likewise.
30797         (GtkMenuItemPeer): Document. Don't try to add item. Always call
30798         connectSignals().
30799         * gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java (create): Make
30800         protected.
30801         (postMenuActionEvent): Document.
30802         * gnu/java/awt/peer/gtk/GtkMenuPeer.java (create): Document. Made
30803         protected.
30804         (addItem): Document. Made private.
30805         (addTearOff): Made private.
30806         (connectSignals): New protected overridden method.
30807         (GtkMenuPeer): Correctly cast setupAccelGroup() arguments.
30808         * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java (hasHelpMenu): New field.
30809         (create): Document.
30810         (addMenu): Made private, take GtkMenuPeer as argument and document.
30811         (GtkMenuBarPeer): Document.
30812         (nativeSetHelpMenu): Removed.
30813         (addHelpMenu): Implement.
30814         (delMenu): Document.
30815         (addMenu): Implement.
30816         * gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java (setParent): Removed.
30817         * include/gnu_java_awt_peer_gtk_GtkMenuBarPeer.h: Regenerated.
30818         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c
30819         (Java_gnu_java_awt_peer_gtk_GtkMenuBarPeer_nativeSetHelpMenu):
30820         Removed.
30821   
30822 2006-02-20  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
30823   
30824         * gnu/java/rmi/server/RMIObjectInputStream.java (resolveProxyClass):
30825         Expect that proxy interfaces may have different class loaders.
30826         * gnu/java/rmi/server/UnicastServerRef.java: Rewritten.
30827         * java/rmi/registry/Registry.java,
30828         * java/rmi/server/UnicastRemoteObject.java: 
30829         Documented about proxy stubs.
30830         * gnu/java/rmi/server/CombinedClassLoader.java,
30831         java/rmi/server/RemoteObjectInvocationHandler.java: New files.
30832         * NEWS: Added entry.
30833
30834 2006-02-19  Mark Wielaard  <mark@klomp.org>
30835
30836         * gnu/java/awt/peer/gtk/GtkContainerPeer.java (endValidate): Set
30837         Parent and Bounds of our children if either or parent is showing, or
30838         we are a Window and are showing ourselves now.
30839   
30840 2006-02-19  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
30841   
30842         * gnu/classpath/tools/rmi/rmic/RmicCompiler.java (convertStubName): 
30843         New method.
30844         * gnu/classpath/tools/rmi/rmic/templates/Stub_12.jav: 
30845         Another stub name fix.
30846   
30847 2006-02-19  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
30848   
30849         * gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java (compile):
30850         Call convertStubName. (convertStubName): New method.
30851         * gnu/classpath/tools/rmi/RMIC.java (main): Stub name fix.
30852         * gnu/classpath/tools/rmi/rmic/RmiMethodGenerator.java 
30853         (convertStubName): New method.
30854         (getMethodHashCode): 
30855         Use existing gnu.java.rmi.server.RMIHashes.getMethodHash.
30856         * gnu/classpath/tools/rmi/rmic/templates/Stub_12.jav: Stub name fix.
30857
30858 2006-02-19  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
30859
30860         * java/rmi/server/UnicastRemoteObject.java: Documenting. 
30861
30862 2006-02-19  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
30863
30864         * gnu/java/rmi/server/UnicastServerRef.java: Reformatted.
30865
30866 2006-02-18  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
30867
30868         * javax/swing/JViewport.java (paintBackingStore): If the component has
30869         not been scrolled, only repaint the buffer part, indicated by
30870         the parameter graphics clip. 
30871      
30872 2006-02-19  Raif S. Naffah  <raif@swiftdsl.com.au>
30873
30874         * gnu/javax/crypto/key/OutgoingMessage.java (writePublicKey): Handle new
30875         internal format.
30876         (writePrivateKey): Likewise.
30877         (writeKey): New method.
30878         (getKeyType): Likewise.
30879         * gnu/javax/crypto/key/IncomingMessage.java (readPublicKey): Handle new
30880         internal format.
30881         (readPrivateKey): Likewise.
30882         (getKeyPairCodec): New method.
30883         * gnu/javax/crypto/key/srp6/SRPKey.java (getFormat): Always return Raw.
30884         * gnu/javax/crypto/key/dh/GnuDHKey.java (getFormat): Use FormatUtil.
30885         * gnu/java/security/Registry.java (RSA_SIG_PREFIX): New constant.
30886         (RSA_PSS_ENCODING): Likewise..
30887         (RSA_PKCS1_V1_5_ENCODING): Likewise.
30888         (RSA_PSS_SIG): Redefined using other constants.
30889         (RSA_PKCS1_V1_5_SIG): Likewise.
30890         (MAGIC_RAW_RSA_PKCS1V1_5_SIGNATURE): New constant.
30891         * gnu/java/security/util/FormatUtil.java: New file.
30892         * gnu/java/security/sig/SignatureFactory.java (names): New field.
30893         (getInstance): Let RSASignatureFactory handle RSA signature names.
30894         (getNames): Handle new RSA signature (with format) names.
30895         * gnu/java/security/sig/SignatureCodecFactory.java: New file.
30896         * gnu/java/security/sig/BaseSignature.java (BaseSignature): Add check
30897         for null md.
30898         (name): Include hash algorithm name.
30899         * gnu/java/security/sig/rsa/RSASignatureFactory.java: New file.
30900         * gnu/java/security/sig/rsa/RSAPSSSignature.java
30901         (RSAPSSSignature): Call constructor with IMessageDigest.
30902         (RSAPSSSignature(ImessageDigest,int)): New constructor.
30903         * gnu/java/security/sig/rsa/RSAPKCS1V1_5SignatureRawCodec.java: New
30904         file.
30905         * gnu/java/security/sig/rsa/RSAPKCS1V1_5SignatureX509Codec.java:
30906         Likewise.
30907         * gnu/java/security/sig/rsa/RSAPKCS1V1_5Signature.java
30908         (RSAPKCS1V1_5Signature(String)): Call constructor with IMessageDigest.
30909         (RSAPKCS1V1_5Signature(IMessageDigest)): New constructor.
30910         * gnu/java/security/sig/rsa/EMSA_PKCS1_V1_5.java (getInstance): Added
30911         hash algorithm name to exception.
30912         * gnu/java/security/sig/dss/DSSSignatureX509Codec.java: New file.
30913         * gnu/java/security/key/KeyPairCodecFactory.java
30914         (names): New class field.
30915         (getInstance(Sitrng)): Deconstruct and call getInstance(String,String).
30916         (getInstance(String,String)): New method.
30917         (getInstance(String,int)): New method.
30918         (getInstance(byte[])): Removed.
30919         (getInstance(Key)): Handle new formats.
30920         (getNames): Likewise.
30921         (getEncodingName(int)): Moved to FormatUtil.
30922         (getEncodingShortName(int)): Likewise.
30923         (getRawCodec(String)): New method.
30924         (getX509Codec(String)): Likewise.
30925         (getPKCS8Codec(String)): Likewise.
30926         (getRawCodec(Key)): Likewise.
30927         (getX509Codec(Key)): Likewise.
30928         (getPKCS8Codec(Key)): Likewise.
30929         * gnu/java/security/key/dss/DSSKey.java (getFormat): Use FormatUtil.
30930         * gnu/java/security/key/rsa/GnuRSAKey.java (getFormat): Likewise.
30931         * gnu/java/security/jce/sig/SHA512withRSA.java: New File.
30932         * gnu/java/security/jce/sig/SHA384withRSA.java: Likewise.
30933         * gnu/java/security/jce/sig/SHA256withRSA.java: Likewise.
30934         * gnu/java/security/jce/sig/SHA160withRSA.java: Likewise.
30935         * gnu/java/security/jce/sig/SHA160withDSS.java: Likewsie.
30936         * gnu/java/security/jce/sig/MD5withRSA.java: Likewise.
30937         * gnu/java/security/jce/sig/MD2withRSA.java: Likewise.
30938
30939 2006-02-18  Mark Wielaard  <mark@klomp.org>
30940
30941         * java/awt/dnd/DragSource.java (getDefaultDragSource): Return new
30942         DragSource.
30943         (NoDragGestureRecognizer): New static class.
30944         (createDragGestureRecognizer): Return NoDragGestureRecognizer when
30945         Toolkit doesn't support drag and drop.
30946
30947 2006-02-18  Mark Wielaard  <mark@klomp.org>
30948
30949         * javax/swing/AbstractAction.java (AbstractAction()): Nothing to do.
30950         (AbstractAction(String)): Just call putValue() for NAME.
30951         (putValue): Nothing to do is old and new value are both null.
30952
30953 2006-02-18  Mark Wielaard  <mark@klomp.org>
30954
30955         * javax/swing/JRootPane.java (layoutContainer): Get contentPane
30956         through getContentPane().
30957         (preferredLayoutSize): Likewise.
30958
30959 2006-02-18  Mark Wielaard  <mark@klomp.org>
30960
30961         * javax/swing/JMenuBar.java (paintBorder): Check whether border is
30962         actually set before painting.
30963
30964 2006-02-18  Mark Wielaard  <mark@klomp.org>
30965
30966         * javax/swing/text/html/HTMLDocument.java (addContent):
30967         Fully qualify AbstractDocument.AttributeContext and
30968         DefaultStyledDocument.ElementSpec.ContentType for gcj 4.0.
30969
30970 2006-02-18  Mark Wielaard  <mark@klomp.org>
30971
30972         * java/awt/datatransfer/DataFlavor.java (tryToLoadClass): Rewritten.
30973         (getRepresentationClassFromMime): Add exception cause to
30974         IllegalArgumentException.
30975   
30976 2006-02-17  Lillian Angel  <langel@redhat.com>
30977   
30978         * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
30979         Removed unneeded import.
30980         * gnu/java/awt/peer/gtk/GtkFramePeer.java:
30981         Removed unneeded imports.
30982         * java/awt/BorderLayout.java:
30983         Fixed comment, this is not yet handled in the JDK 1.5.
30984         * java/awt/Container.java:
30985         Removed unneeded import.
30986   
30987 2006-02-17  Lillian Angel  <langel@redhat.com>
30988   
30989         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
30990         (setBounds): Removed check. Coordinates should always be changed
30991         to incorporate the parent's coordinates.
30992         * gnu/java/awt/peer/gtk/GtkFramePeer.java
30993         (setMenuBar): Added checks. Don't validate component if it has 
30994         not been validated yet, it will be validated later. Only validate
30995         if it has already been validated, in that case it needs to be
30996         revalidated.
30997         * java/awt/Window.java
30998         (show): Added check. If the window is visible, then bring it to the
30999         front. Otherwise, iterate through all its children windows and show them.
31000         No need to do both.
31001
31002 2006-02-17  Roman Kennke  <kennke@aicas.com>
31003
31004         * javax/swing/text/html/ParagraphView.java: New file.
31005
31006 2006-02-17  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
31007
31008         * javax/swing/JTable.java (getCellRect): return +rowMargin if spacing
31009         is included. (moveToCellBeingEdited): Adjusted to start editing at the
31010         same location where was the initial text.
31011         * javax/swing/plaf/basic/BasicTableUI.java (paint): Rewritten.
31012
31013 2006-02-17  Chris Burdess  <dog@gnu.org>
31014
31015         Fixes PRs 26319, 26320, 26321, 26322, 26325
31016         * gnu/xml/stream/SAXParser.java: On error, reset parser before
31017           rethrowing exception.
31018         * gnu/xml/stream/XMLParser.java: Only report "illegal use of
31019           1.1-style prefix unbinding in 1.0 document" error for xmlns
31020           prefixes, not xmlns attributes. Fix a problem with empty namespace
31021           stack at the end of a document. Permit parameter entity references
31022           in element and attribute-list definition name area. Corrected
31023           normalisation of whitespace character entity references in CDATA
31024           attribute values. Fixed number of characters read following a
31025           reset when detecting end of character data with characters after a
31026           Unicode surrogate pair.
31027   
31028 2006-02-17  Roman Kennke  <kennke@aicas.com>
31029   
31030         * javax/swing/text/html/HTMLEditorKit.java
31031         (HTMLFactory.create): Create InlineView for content tags.
31032         * javax/swing/text/html/HTMLDocument.java
31033         (HTMLReader.flush): Call create() on first flush and insert
31034         on subsequent flushes.
31035   
31036 2006-02-17  Roman Kennke  <kennke@aicas.com>
31037   
31038         * javax/swing/text/AbstractDocument.java
31039         (BranchElement.getStartOffset): Implemented workaround for wrong
31040         NPE.
31041         (BranchElement.getEndOffset): Implemented workaround for wrong
31042         NPE.
31043         (ElementBuffer.split): Use createBranchElement() instead of
31044         new BranchElement().
31045         (ElementBuffer.insertFracture): Use createBranchElement() instead of
31046         new BranchElement().
31047         (ElementBuffer.recreateAfterFracture): Use createBranchElement()
31048         instead of new BranchElement().
31049         (createDefaultRoot): Use createBranchElement() and createLeafElement
31050         instead of the constructors.
31051         (create): Rewritten.
31052   
31053 2006-02-17  Keith Seitz  <keiths@redhat.com>
31054   
31055         * gnu/classpath/jdwp/id/JdwpId.java (size): Remove.
31056         (SIZE): New constant.
31057         * gnu/classpath/jdwp/processor/VirtualMachineCommandSet.java
31058         (executeIDsizes): Use SIZE constant.
31059         * vm/reference/gnu/classpath/jdwp/VMFrame.java (size): Remove.
31060         (SIZE): New constant.
31061
31062 2006-02-17  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
31063
31064         * javax/swing/JTable.java (IconCellRenderer): Set the component
31065         text to empty string. (createDefaultRenderers): Register
31066         IconCellRenderer also for ImageIcon. 
31067         (getCellEditor(int, int), getCellRenderer(int, int)):
31068         Use model index for data model and column index for column model.
31069         (getColumnClass): Convert to model index before requesting class
31070         from model. 
31071   
31072 2006-02-17  Roman Kennke  <kennke@aicas.com>
31073   
31074         * javax/swing/text/html/HTMLDocument.java
31075         (createDefaultRoot): Implemented.
31076         (createLeafElement): Implemented.
31077         (createBranchElement): Implemented.
31078         (BlockElement.getName): Fixed to handle HTML.Tag objects as name.
31079         (RunElement.getName): Fixed to handle HTML.Tag objects as name.
31080         (HTMLReader.ParagraphAction.start): Call blockOpen at the very least.
31081         (HTMLReader.ParagraphAction.end): Call blockClose at the very least.
31082         (HTMLReader.blockOpen): Add name attribute with the current tag.
31083         (HTMLReader.addContent): Add name attribute with HTML.Tag.CONTENT.
31084   
31085 2006-02-17  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
31086   
31087         * javax/swing/plaf/basic/BasicTableHeaderUI.java (MouseInputHandler):
31088         Rewritten.
31089         * javax/swing/table/JTableHeader.java: Documenting related methods.
31090   
31091 2006-02-17  Jeroen Frijters  <jeroen@frijters.net>
31092   
31093         Fixes PR 25752
31094         * gnu/java/net/protocol/ftp/FTPURLConnection.java
31095         (connect): Changed to use SystemProperties.
31096         (getInputStream): Try changeWorkingDirectory to figure out if
31097         url is a directory, if not use retrieve.
31098         (getOutputStream): Don't worry about directories, simply always
31099         try to do a store.
31100   
31101 2006-02-17  Jeroen Frijters  <jeroen@frijters.net>
31102   
31103         * gnu/java/net/protocol/ftp/ActiveModeDTP.java
31104         (ActiveModeDTP): Mark accept thread as daemon.
31105   
31106 2006-02-17  Michael Koch  <konqueror@gmx.de>
31107   
31108         * tools/.cvsignore: Ignore tools.zip.
31109   
31110 2006-02-16  Keith Seitz  <keiths@redhat.com>
31111   
31112         * vm/reference/gnu/classpath/jdwp/VMIdManager.java (newReferenceTypeId):
31113         Set the ID's reference.
31114         (<clinit>): Remove comments for field, method, and frame ID types,
31115         which will not be handled by VMIdManager.
31116   
31117 2006-02-17  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
31118   
31119         * javax/swing/JTable.java (getCellEditor, getCellRenderer):
31120         Use model index, not the column number.
31121         * javax/swing/plaf/basic/BasicTableHeaderUI.java (MouseInputHandler):
31122         Rewritten. (draggingHeaderRect): New field. (paint): Animate column 
31123         movement by painting draggingHeaderRect.
31124         * NEWS: Added entry about JTable columns. 
31125   
31126 2006-02-16  Keith Seitz  <keiths@redhat.com>
31127   
31128         * gnu/classpath/jdwp/id/JdwpId.java (size): Make static. Return
31129         default size of eight bytes.
31130         * gnu/classpath/jdwp/id/ObjectId.java (size): Remove.
31131         * gnu/classpath/jdwp/id/ReferenceTypeId.java (size): Remove.
31132         * gnu/classpath/jdwp/processor/VirtualMachineCommandSet.java
31133         (executeIDsizes): Use new static methods.
31134         * vm/reference/gnu/classpath/jdwp/VMFrame.java (size): New static
31135         method.
31136         
31137 2006-02-16  David Daney  <ddaney@avtrex.com>
31138   
31139         PR classpath/26312
31140         * gnu/java/net/protocol/http/ChunkedInputStream.java (read): Mask
31141         return value with 0xff.
31142   
31143 2006-02-16  Keith Seitz  <keiths@redhat.com>
31144   
31145         * gnu/classpath/jdwp/event/EventRequest.java (getFilters): New method.
31146         (matches): Use Iterator instead of ListIterator.
31147   
31148 2006-02-16  Keith Seitz  <keiths@redhat.com>
31149   
31150         * gnu/classpath/jdwp/Jdwp.java (_doInitialization): Name the packet
31151         processor thread for easier debugging.
31152         (_enforceSuspendPolicy): Suspend the current thread, not the JDWP
31153         main thread.
31154   
31155 2006-02-16  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
31156   
31157         * javax/swing/JTable.java 
31158         (TableColumnPropertyChangeHandler.propertyChange): Return without
31159         action if table header resizing column in not null. (doLayout):
31160         Only repaint the header if it is not null.      
31161         * javax/swing/plaf/basic/BasicTableHeaderUI.java 
31162         (MouseInputHandler.mouseExited, MouseInputHandler.mouseReleased):
31163         Rewritten. (MouseInputHandler.endResizing): New method.
31164   
31165 2006-02-16  Roman Kennke  <kennke@aicas.com>
31166   
31167         * javax/swing/text/html/InlineView.java: New file.
31168   
31169 2006-02-16  Roman Kennke  <kennke@aicas.com>
31170   
31171         * javax/swing/JTabbedPane.java
31172         (AccessibleJTable.getAccessibleChild): Implemented to return
31173         the Page instance for the specified index.
31174         (Page): Changed to implement Accessible and extend
31175         AccessibleContext.
31176         (Page.getAccessibleContext): New method.
31177         (Page.getAccessibleRole): New method.
31178         (Page.getAccessibleStateSet): New method.
31179         (Page.getAccessibleIndexInParent): New method.
31180         (Page.getAccessibleChildrenCount): New method.
31181         (Page.getAccessibleChild): New methdod.
31182         (Page.getLocale): New method.
31183   
31184 2006-02-16  Roman Kennke  <kennke@aicas.com>
31185   
31186         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
31187         (TabbedPaneLayout.calculateTabRects): Expand tabRuns array when
31188         tabCount gets greater than tabRuns.length.
31189         (TabbedPaneScrollLayout.calculateTabRects): Expand tabRuns array
31190         when tabCount gets greater than tabRuns.length.
31191         (paintTabArea): Don't set tabCount == runCount.
31192   
31193 2006-02-16  Roman Kennke  <kennke@aicas.com>
31194   
31195         * javax/swing/plaf/basic/BasicTextUI.java
31196         (installUI): Moved installation of PropertyChangeListener
31197         to installListeners(). Call modelChanged() after everything is
31198         is installed.
31199         (installListeners): Install PropertyChangeListener here.
31200         (uninstallUI): Moved uninstallation of PropertyChangeListener
31201         to uninstallListeners.
31202         (uninstallListeners): Uninstall PropertyChangeListener here.
31203
31204 2006-02-16  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
31205
31206         * javax/swing/JTable.java (doLayout): 
31207         case AUTO_RESIZE_SUBSEQUENT_COLUMNS rewritten. Repaint the header
31208         on exit.
31209         javax/swing/plaf/basic/BasicTableHeaderUI.java 
31210         (MouseInputHandler.mouseDragged): Do not repaint the header.
31211   
31212 2006-02-16  Roman Kennke  <kennke@aicas.com>
31213   
31214         * javax/swing/JViewport.java
31215         (static_initializer): Set default scrollMode to backingstore.
31216   
31217 2006-02-16  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
31218   
31219         * javax/swing/JTable.java (moveToCellBeingEdited): Clone the value,
31220         returned by getCellRect. To not translate the component.
31221   
31222 2006-02-16  Roman Kennke  <kennke@aicas.com>
31223   
31224         * javax/swing/JComponent.java
31225         (rectCache): Made field non-static to avoid nasty interferences.
31226         (computeVisibleRect): Avoid creation of new Rectangles and double
31227         calculations on ints by using Swing.computeIntersection() instead
31228         of Rectangle2D.intersect().
31229         (repaint): Interect the dirty region with the visible rectangle
31230         of this component to avoid unnecessary painting.
31231   
31232 2006-02-16  Gary Benson  <gbenson@redhat.com>
31233   
31234         * java/lang/Thread.java (stop): Add a missing access check.
31235   
31236 2006-02-16  Robert Schuster  <robertschuster@fsfe.org>
31237   
31238         * javax/swing/text/JTextComponent.java:
31239         (replaceSelection): Added code to update the magic caret position.
31240         * javax/swing/text/DefaultEditorKit.java: Added code to update
31241         the magic caret position of the text component in all relevant
31242         movement actions, make use of the magic caret position in up
31243         and down movements and selections, simplified some actions
31244         (code-wise).
31245
31246 2006-02-15  Anthony Balkissoon  <abalkiss@redhat.com>
31247
31248         * gnu/java/lang/CharData.java: Regenerated from 
31249         doc/unicode/UnicodeData-4.0.0.txt, doc/unicode/SpecialCasing-4.0.0.txt
31250         and scripts/unicode-muncher.pl.
31251         * java/lang/Character.java: 
31252         (PrivateUseCharacters): New private static class.
31253         (UnassignedCharacters): Likewise.
31254         (blocks): Changed from char[] to char[][] to reflect the changes in 
31255         gnu/java/lang/CharData.  There is now one char[] per Unicode code
31256         plane.
31257         (data): Likewise.
31258         (numValue): Likewise.
31259         (upper): Likewise.
31260         (lower): Likewise.
31261         (direction): Likewise.
31262         (readChar): Replaced this method with new method readCodePoint.
31263         (readCodePoint): New method.
31264         (isLowerCase(char)): Redirected to new isLowerCase(int).
31265         (isLowerCase(int)): New method.
31266         (isUpperCase(char)): Redirected to new isUpperCase(int).
31267         (isUpperCase(int)): New method.
31268         (isTitleCase(char)): Redirected to new isTitleCase(int).
31269         (isTitleCase(int)): New method.
31270         (isDigit(char)): Redirected to new isDigit(int).
31271         (isDigit(int)): New method.
31272         (isDefined(char)): Redirected to new isDefined(int).
31273         (isDefined(int)): New method.
31274         (isLetter(char)): Redirected to new isLetter(int).
31275         (isLetter(int)): New method.
31276         (isLetterOrDigit(char)): Redirected to new isLetterOrDigit(int).
31277         (isLetterOrDigit(int)): New method.
31278         (isJavaIdentifierStart(char)): Redirected to new 
31279         isJavaIdentifierStart(int).
31280         (isJavaIdentifierStart(int)): New method.
31281         (isJavaIdentifierPart(char)): Redirected to new 
31282         isJavaIdentifierPart(int).
31283         (isJavaIdentifierPart(int)): New method.
31284         (isUnicodeIdentifierStart(char)): Redirected to new
31285         isUnicodeIdentifierStart(int).
31286         (isUnicodeIdentifierStart(int)): New method.
31287         (isUnicodeIdentifierPart(char)): Redirected to new 
31288         isUnicodeIdentifierPart(int).
31289         (isUnicodeIdentifierPart(int)): New method.
31290         (isIdentifierIgnorable(char)): Redirected to new
31291         isIdentifierIgnorable(int).
31292         (isIdentifierIgnorable(int)): New method.
31293         (toLowerCase(char)): Changed access to lower to correspond with new
31294         char[][] type of lower.
31295         (toLowerCase(int)) New method.
31296         (toUpperCase(char)): Changed access to upper to correspond with new
31297         char[][] type of upper.
31298         (toUpperCase(int)): New method.
31299         (toTitleCase(int)): New method.
31300         (digit(char, int)): Replaced call to readChar with call to 
31301         readCodePoint and changed access to numValue to reflect new char[][]
31302         type of numValue. 
31303         (digit(int, int)): New method.
31304         (getNumericValue(char)): Changed access to numValue to reflect new
31305         char[][] type of numValue.
31306         (getNumericValue(int)): New method.
31307         (isSpaceChar(char)): Redirected to new isSpaceChar(int).
31308         (isSpaceChar(int)): New method.
31309         (isWhitespace(char)): Redirected to new isWhitespace(int).
31310         (isWhitespace(int)): New method.
31311         (isISOControl(char)): Redirected to new isISOControl(int).
31312         (isISOControl(int)): New method.
31313         (getType(char)): Redirected to new getType(int).
31314         (getType(int)): New method.
31315         (getDirectionality(char)): Redirected to new getDirectionality(int).
31316         (getDirectionality(int)): New method.
31317         (isMirrored(char)): Changed call to readChar to readCodePoint.
31318         (isMirrored(int)): New method.
31319         * java/lang/String.java:
31320         (upperCaseExpansion): Changed access to Character.direction to reflect
31321         new char[][] type of direction.
31322         (offsetByCodePoints): New method.
31323         * scripts/unicode-muncher.pl: Adapted this script to handle Unicode 
31324         4.0.0 which introduced supplementary character assignments.  
31325
31326 2006-02-15  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
31327
31328         * javax/swing/JTable.java,
31329         javax/swing/plaf/basic/BasicTableHeaderUI.java,
31330         javax/swing/table/DefaultTableModel.java: Documented.
31331   
31332 2006-02-15  Lillian Angel  <langel@redhat.com>
31333   
31334         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
31335         Removed duplicate methods.
31336   
31337 2006-02-15  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
31338   
31339         * javax/swing/JTable.java (distributeSpillResizing): New method.
31340         (doLayout): Use distributeSpillResizing when resizing.
31341         * javax/swing/plaf/basic/BasicTableHeaderUI.java (MouseInputHandler):
31342         Rewritten. (installListeners): Add mouse motion listener. 
31343         (uninstallListeners): Remove mouse motion listener. 
31344   
31345 2006-02-15  Lillian Angel  <langel@redhat.com>
31346   
31347         * gnu/java/awt/peer/gtk/GtkDialogPeer.java
31348         (setVisible): Removed method.
31349         * gnu/java/awt/peer/gtk/GtkWindowPeer.java
31350         (setLocation): New method.
31351         (setLocationUnlocked): New method.
31352         (show): Changed to use setLocation instead of setBounds.
31353         * java/awt/Component.java
31354         (show): Should call peer.show(), not peer.setVisible(), so the
31355         location of the component is correctly set.
31356         (preferredSize): Added curly braces so else statements are
31357         properly associated with if's.
31358         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
31359         (Java_gnu_java_awt_peer_gtk_GtkWindowPeer_nativeSetLocation): 
31360         New function.
31361         (Java_gnu_java_awt_peer_gtk_GtkWindowPeer_nativeSet
31362         LocationUnlocked): New function.
31363         * include/gnu_java_awt_peer_gtk_GtkWindowPeer.h:
31364         Added declarations for Java_gnu_java_awt_peer_gtk_
31365         GtkWindowPeer_nativeSetLocation and 
31366         Java_gnu_java_awt_peer_gtk_GtkWindowPeer
31367         _nativeSetLocationUnlocked.
31368   
31369 2006-02-15  Mark Wielaard  <mark@klomp.org>
31370   
31371         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c
31372         (Java_gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer_create):
31373         Downcast gtk_plug_new result when used.
31374   
31375 2006-02-15  Olivier Jolly  <olivier.jolly@pcedev.com>
31376   
31377         * java/io/ObjectOutputStream.java (writeClassDescriptor):
31378         Call assignNewHandle() after writing Proxy class.
31379   
31380 2006-02-15  Olivier jolly  <olivier.jolly@pcedev.com>
31381   
31382         Fixes bug #14144
31383         * java/io/ObjectInputStream.java (readClassDescriptor):
31384         Class doesn't have to be abstract for first_nonserial.
31385   
31386 2006-02-15  Roman Kennke  <kennke@aicas.com>
31387   
31388         * javax/swing/JInternalFrame.java
31389         (setClosed): Call dispose to actually make the frame invisible
31390         and unselected.
31391   
31392 2006-02-15  Roman Kennke  <kennke@aicas.com>
31393   
31394         * javax/swing/JInternalFrame.java
31395         (dispose): Call setVisible(false) instead of hide.
31396         (doDefaultCloseOperation): Likewise.
31397   
31398 2006-02-15  Roman Kennke  <kennke@aicas.com>
31399   
31400         * javax/swing/JComponent.java
31401         (paintChildren): Also check for the visibility of a child component
31402         to avoid artifacts.
31403         (repaint): Simply add this component to the RepaintManager rather than
31404         trying to do useless optimization here.
31405   
31406 2006-02-15  David Gilbert  <david.gilbert@object-refinery.com>
31407   
31408         * javax/swing/JSpinner.java
31409         (DefaultEditor.DefaultEditor(JSpinner)): Add self to text field as a 
31410         PropertyChangeListener,
31411         (DefaultEditor.getSpinner): Updated API docs,
31412         (DefaultEditor.dismiss): Likewise,
31413         (DefaultEditor.getTextField): Likewise,
31414         (DefaultEditor.layoutContainer): Likewise,
31415         (DefaultEditor.minimumLayoutSize): Likewise,
31416         (DefaultEditor.preferredLayoutSize): Likewise,
31417         (DefaultEditor.propertyChange): Implemented,
31418         (DefaultEditor.stateChanged): Implemented,
31419         (DefaultEditor.removeLayoutComponent): Updated API docs,
31420         (DefaultEditor.addLayoutComponent): Likewise,
31421         (NumberEditor.NumberEditor(JSpinner)): Set formatter for text field,
31422         (NumberEditor.NumberEditor(JSpinner, String)): Likewise,
31423         (NumberEditor.getFormat): Implemented,
31424         (NumberEditor.getModel): Updated API docs,
31425         (NumberEditorFormatter): New static inner class,
31426         (ListEditor.getModel): Updated API docs,
31427         (DateEditor.dateFormat): Removed,
31428         (DateEditor.DateEditor(JSpinner)): Set formatter for text field,
31429         (DateEditor.DateEditor(JSpinner, String)): Likewise,
31430         (DateEditor.init): Removed,
31431         (DateEditor.getFormat): Reimplemented,
31432         (DateEditorFormatter): New static inner class,
31433         (ModelListener): New inner class,
31434         (model): Updated API docs,
31435         (editor): Likewise,
31436         (listener): Removed,
31437         (JSpinner()): Updated API docs,
31438         (JSpinner(SpinnerModel)): Set up ModelListener,
31439         (setEditor): Fire property change,
31440         (getModel): Updated API docs,
31441         (setModel): Removed check for null editor,
31442         (setValue): Updated API docs,
31443         (getUIClassID): Updated API docs,
31444         (createEditor): Handle SpinnerListModel case,
31445         * javax/swing/plaf/basic/BasicSpinnerUI.java
31446         (createUI): Updated API docs,
31447         (createPropertyChangeListener): Added FIXME,
31448         (installDefaults): Set text field border to null,
31449         (DefaultLayoutManager): Updated API docs,
31450         (DefaultLayoutManager.layoutContainer): Modified layout,
31451         (DefaultLayoutManager.minimumLayoutSize): Ignore button heights,
31452         (DefaultLayoutManager.preferredLayoutSize): Likewise,
31453         (DefaultLayoutManager.removeLayoutComponent): Removed tabs,
31454         (DefaultLayoutManager.addLayoutComponent): Likewise,
31455         (DefaultLayoutManager.minSize): Renamed prefSize,
31456         (DefaultLayoutManager.setBounds): Reformatted,
31457         (DefaultLayoutManager.editor): Added API docs,
31458         (DefaultLayoutManager.next): Likewise,
31459         (DefaultLayoutManager.previous): Likewise,
31460         * javax/swing/plaf/metal/MetalLookAndFeel.java
31461         (initComponentDefaults): Added entry for 'Spinner.border',
31462         * examples/gnu/classpath/examples/swing/SpinnerDemo.java: New file.
31463
31464 2006-02-15  Chris Burdess  <dog@gnu.org>
31465
31466         * gnu/xml/validation/datatype/BooleanType.java,
31467           gnu/xml/validation/datatype/ByteType.java,
31468           gnu/xml/validation/datatype/DateTimeType.java,
31469           gnu/xml/validation/datatype/DateType.java,
31470           gnu/xml/validation/datatype/DecimalType.java,
31471           gnu/xml/validation/datatype/DoubleType.java,
31472           gnu/xml/validation/datatype/DurationType.java,
31473           gnu/xml/validation/datatype/FloatType.java,
31474           gnu/xml/validation/datatype/GDayType.java,
31475           gnu/xml/validation/datatype/GMonthDayType.java,
31476           gnu/xml/validation/datatype/GMonthType.java,
31477           gnu/xml/validation/datatype/GYearMonthType.java,
31478           gnu/xml/validation/datatype/GYearType.java,
31479           gnu/xml/validation/datatype/IntType.java,
31480           gnu/xml/validation/datatype/IntegerType.java,
31481           gnu/xml/validation/datatype/LongType.java,
31482           gnu/xml/validation/datatype/MaxExclusiveFacet.java,
31483           gnu/xml/validation/datatype/MaxInclusiveFacet.java,
31484           gnu/xml/validation/datatype/MinExclusiveFacet.java,
31485           gnu/xml/validation/datatype/MinInclusiveFacet.java,
31486           gnu/xml/validation/datatype/NegativeIntegerType.java,
31487           gnu/xml/validation/datatype/NonNegativeIntegerType.java,
31488           gnu/xml/validation/datatype/NonPositiveIntegerType.java,
31489           gnu/xml/validation/datatype/PositiveIntegerType.java,
31490           gnu/xml/validation/datatype/ShortType.java,
31491           gnu/xml/validation/datatype/SimpleType.java,
31492           gnu/xml/validation/datatype/TimeType.java,
31493           gnu/xml/validation/datatype/TypeBuilder.java,
31494           gnu/xml/validation/datatype/UnsignedByteType.java,
31495           gnu/xml/validation/datatype/UnsignedIntType.java,
31496           gnu/xml/validation/datatype/UnsignedLongType.java,
31497           gnu/xml/validation/datatype/UnsignedShortType.java: Provide value
31498           objects for datatypes. Make maxExclusive,minExclusive,maxInclusive,
31499           minInclusive facets use the value space of the base type, and
31500           implement.
31501
31502 2006-02-15  Mark Wielaard  <mark@klomp.org>
31503
31504         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c
31505         (Java_gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer_create):
31506         gtk_plug_new() returns a GtkWindow.
31507
31508 2006-02-15  David Gilbert  <david.gilbert@object-refinery.com>
31509
31510         * javax/swing/SpinnerNumberModel.java
31511         (getNextValue): Check for null maximum,
31512         (getPreviousValue): Check for null minimum.
31513   
31514 2006-02-15  Roman Kennke  <kennke@aicas.com>
31515   
31516         * javax/swing/plaf/basic/BasicTableUI.java
31517         (paint): Paint vertical and horizontal lines one pixel shifted
31518         left/top.
31519   
31520 2006-02-15  Jeroen Frijters  <jeroen@frijters.net>
31521   
31522         * java/util/zip/ZipFile.java
31523         (checkZipFile): Inlined readLeInt and rewritten for robustness.
31524         (readLeShort(DataInput,byte[]), readLeInt(DataInput,byte[],
31525         readLeShort(byte[],int), readLeInt(byte[],int)): Removed.
31526         (readEntries): Rewritten to use PartialInputStream.
31527         (locBuf, checkLocalHeader): Removed.
31528         (getInputStream): Rewritten to use new PartialInputStream.
31529         (PartialInputStream): Rewritten to do buffering.
31530
31531 2006-02-15  Michael Koch  <konqueror@gmx.de>
31532
31533         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c
31534         (Java_gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer_create):
31535         Make sure the embedded window gets no decorations.
31536         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
31537         (window_get_frame_extents): Return early of the window has no
31538         decorations.
31539   
31540 2006-02-15  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
31541   
31542         * examples/gnu/classpath/examples/swing/TableDemo.java
31543         (TModel, createContent): Explain which value appears in the header.
31544         * javax/swing/JTable.java (setColumnModel): Only set the
31545         column header value if the getHeaderValue() returns null.
31546
31547 2006-02-14  Mark Wielaard  <mark@klomp.org>
31548
31549         Fixes bug #23931
31550         * gnu/java/awt/peer/gtk/GtkImage.java (errorImage): New static field.
31551         (getErrorImage): New static method.
31552         * gnu/java/awt/peer/gtk/GtkToolkit.java (GtkErrorImage): Removed.
31553         (bufferedImageOrError): Renamed to ...
31554         (imageOrError): Renamed from bufferedImageOrError, takes Image.
31555         Returns GtkImage.getErrorImage() when argument null.
31556         (createImage(String)): Always use imageOrError.
31557         (createImage(URL)): Likewise.
31558         (createImage(ImageProducer)): Likewise.
31559         (createImage(byte[],int,int)): Likewise.
31560
31561 2006-02-14  Roman Kennke  <kennke@aicas.com>
31562
31563         * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java: Removed
31564         unneeded imports.
31565         * javax/swing/plaf/basic/BasicInternalFrameUI.java: Likewise.
31566         * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Likewise.
31567         * javax/swing/plaf/basic/BasicRootPaneUI.java: Likewise.
31568         * javax/swing/plaf/basic/BasicSplitPaneDivider.java: Likewise.
31569         * javax/swing/plaf/basic/BasicHTML.java: Fixed API comment.
31570
31571 2006-02-14  Roman Kennke  <kennke@aicas.com>
31572
31573         * javax/swing/text/AsyncBoxView.java
31574         (ChildState.locator): Removed wrong field.
31575         (ChildState): Removed initialization of removed field.
31576         (locator): Changed access modifier to be protected as specified.
31577
31578 2006-02-14  Roman Kennke  <kennke@aicas.com>
31579
31580         * javax/swing/ToolTipManager.java: Removed unneeded imports.
31581         * javax/swing/Timer.java: Some small reindention.
31582         (task): Made package private to avoid synthetic accessor method.
31583   
31584 2006-02-14  Roman Kennke  <kennke@aicas.com>
31585   
31586         * javax/swing/SwingUtilities.java
31587         (layoutCompoundLabel): Dont set textIconGap to 0 when there is
31588         no icon.
31589   
31590 2006-02-14  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
31591   
31592         * examples/gnu/classpath/examples/swing/TableDemo.java:
31593         Making the columns variable width.
31594         * javax/swing/JTable.java (distributeSpill, doLayout):
31595           Call getPreferredSize and not getSize().
31596   
31597 2006-02-14  Roman Kennke  <kennke@aicas.com>
31598   
31599         * javax/swing/DefaultCellEditor.java
31600         (DefaultCellEditor): API doc fixlet.
31601   
31602 2006-02-14  Roman Kennke  <kennke@aicas.com>
31603   
31604         * javax/swing/JViewport.java
31605         (isPaintRoot): New field.
31606         (repaint): Only call super here. Also added a comment regarding
31607         the diversion from the JDK.
31608         (paintBlit): Implemented real blitting.
31609         (paintImmediately2): New method. Overrides the same package private
31610         method in JComponent.
31611   
31612 2006-02-14  Roman Kennke  <kennke@aicas.com>
31613   
31614         * javax/swing/plaf/basic/BasicTableUI.java
31615         (paint): Check for boundary cases when determining the painting
31616         area.
31617   
31618 2006-02-14  Mark Wielaard  <mark@klomp.org>
31619   
31620         * java/awt/Menu.java (add): Always set parent of item to this. Call
31621         addNotify() on item when we have a MenuPeer already.
31622         (insert): Always adjust parent for item. Call addNotify() on item if
31623         we already have a peer.
31624         (remove(int)): Always clear item parent. Call removeNotify() on item
31625         if we had a peer.
31626   
31627 2006-02-14  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
31628   
31629         * javax/swing/JTable.java (rowAtPoint): Return -1 if the computed 
31630         row == getRowCount().
31631   
31632 2006-02-14  Lillian Angel  <langel@redhat.com>
31633         
31634         * gnu/java/awt/peer/gtk/GtkDialogPeer.java
31635         (setVisible): New method to override super. Need to set the
31636         native bounds of the component, so it appears at the
31637         correct location.
31638
31639 2006-02-14  Mark Wielaard  <mark@klomp.org>
31640
31641         * java/awt/Frame.java (setMenuBar): Update MenuBar parent.
31642         (remove): If menu component is the current MenuBar remove it,
31643         otherwise call super.remove().
31644         * java/awt/MenuBar.java (frame): Remove field.
31645         * java/awt/MenuComponent.java (postEvent): Use getParent() always.
31646
31647 2006-02-14  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
31648
31649         * tools/gnu/classpath/tools/giop/NameServicePersistent.java: Refer
31650         to NameServicePersistent.
31651         * tools/gnu/classpath/tools/giop/NameServicePersistent.txt: New file.
31652         * tools/gnu/classpath/tools/giop/NamingServicePersistent.txt: Deleted.
31653
31654 2006-02-14  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
31655
31656         * NEWS: Updated tool status.
31657         * gnu/CORBA/NamingService/NamingMap.java (Map): Made protected.
31658         (constructor, bind, rebind): Rewritten.  
31659         * gnu/CORBA/NamingService/TransientContext.java: Rewritten.
31660         * tools/gnu/classpath/tools/giop/README: Updated.
31661         * tools/gnu/classpath/tools/giop/NameServicePersistent.java,
31662         tools/gnu/classpath/tools/giop/NamingServicePersistent.txt,
31663         tools/gnu/classpath/tools/giop/nameservice/PersistentContext.java,
31664         tools/gnu/classpath/tools/giop/nameservice/PersistentContextMap.java,
31665         tools/gnu/classpath/tools/giop/nameservice/PersistentMap.java: 
31666         New files.
31667   
31668 2006-02-14  David Gilbert  <david.gilbert@object-refinery.com>
31669   
31670         * javax/swing/JComponent.java
31671         (getListeners): Check for PropertyChangeListener.class and delegate to 
31672         getPropertyChangeListeners() for that case.
31673   
31674 2006-02-13  Roman Kennke  <kennke@aicas.com>
31675   
31676         * javax/swing/plaf/basic/BasicTableUI.java
31677         (paint): Determine the cells that need painting based on the
31678         current clip. Use getCellRect() for calculating the cell
31679         bounds.
31680   
31681 2006-02-13  Roman Kennke  <kennke@aicas.com>
31682   
31683         * javax/swing/JTable.java
31684         (rectCache): New field.
31685         (getCellRect): Returns cached Rectangle instance.
31686   
31687 2006-02-13  Roman Kennke  <kennke@aicas.com>
31688   
31689         * javax/swing/JLayeredPane.java
31690         (removeAll): New method. Avoid potential memory leak.
31691         (isOptimizedDrawingEnabled): Replaced heuristic with accurate
31692         calculation.
31693   
31694 2006-02-14  Stuart Ballard  <stuart.a.ballard@gmail.com>
31695   
31696         * javax/swing/undo/StateEdit.java (RCSID): Match Sun's value.
31697         * javax/swing/undo/StateEditable.java (RCSID): Likewise.
31698   
31699 2006-02-13  Tom Tromey  <tromey@redhat.com>
31700   
31701         * vm/reference/java/lang/reflect/Method.java: Javadoc fix.
31702         * vm/reference/java/lang/reflect/Constructor.java: Javadoc fix.
31703   
31704 2006-02-13  Roman Kennke  <kennke@aicas.com>
31705   
31706         * javax/swing/RepaintManager.java
31707         (offscreenBuffers): New field.
31708         (doubleBuffer): Removed field.
31709         (repaintUnderway): New field.
31710         (commitRequests): New field.
31711         (RepaintManager): Initialize new fields.
31712         (paintDirtyRegions): Handle repaintUnderway flag. Commit
31713         buffers when done.
31714         (getOffscreenBuffer): Returns the offscreen buffer for the
31715         corresponding root component.
31716         (commitBuffer): New method.
31717         (commitRemainingBuffers): New method.
31718         * javax/swing/JComponent.java
31719         (paint): Call paintDoubleBuffered with the current clip.
31720         (paintImmediately2): Don't paint on screen here.
31721         (paintDoubleBuffered): Rewritten for real double buffering.
31722         (paintSimple): Draw to screen in this method.
31723   
31724 2006-02-13  Roman Kennke  <kennke@aicas.com>
31725   
31726         * javax/swing/JRootPane.java
31727         (JRootPane): Set opaque property to true.
31728   
31729 2006-02-13  Tom Tromey  <tromey@redhat.com>
31730   
31731         * .classpath: Updated for external/relaxngDatatype.
31732   
31733 2006-02-13  Chris Burdess  <dog@gnu.org>
31734   
31735         * gnu/xml/stream/UnicodeReader.java,
31736           gnu/xml/validation/datatype/Annotation.java,
31737           gnu/xml/validation/datatype/AnySimpleType.java,
31738           gnu/xml/validation/datatype/AnyType.java,
31739           gnu/xml/validation/datatype/AnyURIType.java,
31740           gnu/xml/validation/datatype/AtomicSimpleType.java,
31741           gnu/xml/validation/datatype/Base64BinaryType.java,
31742           gnu/xml/validation/datatype/BooleanType.java,
31743           gnu/xml/validation/datatype/ByteType.java,
31744           gnu/xml/validation/datatype/DateTimeType.java,
31745           gnu/xml/validation/datatype/DateType.java,
31746           gnu/xml/validation/datatype/DecimalType.java,
31747           gnu/xml/validation/datatype/DoubleType.java,
31748           gnu/xml/validation/datatype/DurationType.java,
31749           gnu/xml/validation/datatype/EntitiesType.java,
31750           gnu/xml/validation/datatype/EntityType.java,
31751           gnu/xml/validation/datatype/EnumerationFacet.java,
31752           gnu/xml/validation/datatype/Facet.java,
31753           gnu/xml/validation/datatype/FloatType.java,
31754           gnu/xml/validation/datatype/FractionDigitsFacet.java,
31755           gnu/xml/validation/datatype/GDayType.java,
31756           gnu/xml/validation/datatype/GMonthDayType.java,
31757           gnu/xml/validation/datatype/GMonthType.java,
31758           gnu/xml/validation/datatype/GYearMonthType.java,
31759           gnu/xml/validation/datatype/GYearType.java,
31760           gnu/xml/validation/datatype/HexBinaryType.java,
31761           gnu/xml/validation/datatype/IDRefType.java,
31762           gnu/xml/validation/datatype/IDRefsType.java,
31763           gnu/xml/validation/datatype/IDType.java,
31764           gnu/xml/validation/datatype/IntType.java,
31765           gnu/xml/validation/datatype/IntegerType.java,
31766           gnu/xml/validation/datatype/LanguageType.java,
31767           gnu/xml/validation/datatype/LengthFacet.java,
31768           gnu/xml/validation/datatype/ListSimpleType.java,
31769           gnu/xml/validation/datatype/LongType.java,
31770           gnu/xml/validation/datatype/MaxExclusiveFacet.java,
31771           gnu/xml/validation/datatype/MaxInclusiveFacet.java,
31772           gnu/xml/validation/datatype/MaxLengthFacet.java,
31773           gnu/xml/validation/datatype/MinExclusiveFacet.java,
31774           gnu/xml/validation/datatype/MinInclusiveFacet.java,
31775           gnu/xml/validation/datatype/MinLengthFacet.java,
31776           gnu/xml/validation/datatype/NCNameType.java,
31777           gnu/xml/validation/datatype/NMTokenType.java,
31778           gnu/xml/validation/datatype/NMTokensType.java,
31779           gnu/xml/validation/datatype/NameType.java,
31780           gnu/xml/validation/datatype/NegativeIntegerType.java,
31781           gnu/xml/validation/datatype/NonNegativeIntegerType.java,
31782           gnu/xml/validation/datatype/NonPositiveIntegerType.java,
31783           gnu/xml/validation/datatype/NormalizedStringType.java,
31784           gnu/xml/validation/datatype/NotationType.java,
31785           gnu/xml/validation/datatype/PatternFacet.java,
31786           gnu/xml/validation/datatype/PositiveIntegerType.java,
31787           gnu/xml/validation/datatype/QNameType.java,
31788           gnu/xml/validation/datatype/ShortType.java,
31789           gnu/xml/validation/datatype/SimpleType.java,
31790           gnu/xml/validation/datatype/StringType.java,
31791           gnu/xml/validation/datatype/TimeType.java,
31792           gnu/xml/validation/datatype/TokenType.java,
31793           gnu/xml/validation/datatype/TotalDigitsFacet.java,
31794           gnu/xml/validation/datatype/Type.java,
31795           gnu/xml/validation/datatype/TypeBuilder.java,
31796           gnu/xml/validation/datatype/TypeLibrary.java,
31797           gnu/xml/validation/datatype/TypeLibraryFactory.java,
31798           gnu/xml/validation/datatype/UnionSimpleType.java,
31799           gnu/xml/validation/datatype/UnsignedByteType.java,
31800           gnu/xml/validation/datatype/UnsignedIntType.java,
31801           gnu/xml/validation/datatype/UnsignedLongType.java,
31802           gnu/xml/validation/datatype/UnsignedShortType.java,
31803           gnu/xml/validation/datatype/WhiteSpaceFacet.java,
31804           resource/META-INF/services/org.relaxng.datatype.DatatypeLibraryFactory:
31805           RELAX NG datatype library implementation for XML Schema Datatypes.
31806
31807 2006-02-13  Chris Burdess  <dog@gnu.org>
31808
31809         * LICENCE,
31810           NEWS,
31811           configure.ac,
31812           doc/README.jaxp,
31813           external/Makefile.am,
31814           external/relaxngDatatype/.cvsignore,
31815           external/relaxngDatatype/Makefile.am,
31816           external/relaxngDatatype/README.txt,
31817           external/relaxngDatatype/copying.txt,
31818           external/relaxngDatatype/org/relaxng/datatype/Datatype.java,
31819           external/relaxngDatatype/org/relaxng/datatype/DatatypeBuilder.java,
31820           external/relaxngDatatype/org/relaxng/datatype/DatatypeException.java,
31821           external/relaxngDatatype/org/relaxng/datatype/DatatypeLibrary.java,
31822           external/relaxngDatatype/org/relaxng/datatype/DatatypeLibraryFactory.java,
31823           external/relaxngDatatype/org/relaxng/datatype/DatatypeStreamingValidator.java,
31824           external/relaxngDatatype/org/relaxng/datatype/ValidationContext.java,
31825           external/relaxngDatatype/org/relaxng/datatype/helpers/DatatypeLibraryLoader.java,
31826           external/relaxngDatatype/org/relaxng/datatype/helpers/ParameterlessDatatypeBuilder.java,
31827           external/relaxngDatatype/org/relaxng/datatype/helpers/StreamingValidatorImpl.java,
31828           lib/Makefile.am,
31829           lib/gen-classlist.sh.in: Added external RELAX NG pluggable
31830           datatypes library API.
31831   
31832 2006-02-13  Mark Wielaard  <mark@klomp.org>
31833   
31834         * gnu/java/awt/peer/gtk/GtkGenericPeer.java (awtWidget): Made field
31835         final.
31836         (gtkWidgetModifyFont(Font)): New protected helper method.
31837         (gtkWidgetModifyFont(String,int,int)): Made protected and document.
31838         * gnu/java/awt/peer/gtk/GtkButtonPeer.java (gtkWidgetModifyFont): Made
31839         protected and document.
31840         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java (gtkWidgetModifyFont):
31841         Likewise.
31842         * gnu/java/awt/peer/gtk/GtkLabelPeer.java (gtkWidgetModifyFont):
31843         Likewise.
31844         * gnu/java/awt/peer/gtk/GtkListPeer.java (gtkWidgetModifyFont):
31845         Likewise.
31846         * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java (create): Made protected.
31847         (setFont): Removed method. Done in GtkMenuComponent.
31848         * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java (create): Made
31849         abstract and protected.
31850         (setFont): Made private, add implementation.
31851         (setFont(Font)): Implemented.
31852         * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java (gtkWidgetModifyFont):
31853         Made protected and document.
31854         (create): Made protected.
31855         (setFont): Removed method. Done in GtkMenuComponent.
31856         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java
31857         (gtkWidgetModifyFont): Made protected and document.
31858         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (gtkWidgetModifyFont):
31859         Removed, similar to GtkGenericPeer super class implementation.
31860         * include/gnu_java_awt_peer_gtk_GtkTextFieldPeer.h: Regenerated.
31861         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
31862         (Java_gnu_java_awt_peer_gtk_GtkTextFieldPeer_gtkWidgetModifyFont):
31863         Removed.
31864   
31865 2006-02-13  Mark Wielaard  <mark@klomp.org>
31866   
31867         * java/lang/Math.java (static): Explicitly call
31868         System.loadLibrary("javalang").
31869   
31870 2006-02-13  Wolfgang Baer  <WBaer@gmx.de>
31871   
31872         * javax/print/StreamPrintServiceFactory.java: New file.
31873   
31874 2006-02-13  Tom Tromey  <tromey@redhat.com>
31875   
31876         * tools/.cvsignore: Added Makefile.
31877   
31878 2006-02-13  Wolfgang Baer  <WBaer@gmx.de>
31879   
31880         * java/awt/print/PrinterGraphics.java: Reformatted.
31881         * java/awt/print/Paper.java: Likewise.
31882         * java/awt/print/PageFormat.java: Likewise.
31883         * java/awt/print/Pageable.java: Likewise.
31884   
31885 2006-02-13  Lillian Angel  <langel@redhat.com>
31886   
31887         * java/awt/BorderLayout.java
31888         (layoutContainer): Rewrote part of this function to 
31889         properly set the bounds of the components.
31890         (setBounds): Removed method, not needed.
31891   
31892 2006-02-13  Roman Kennke  <kennke@aicas.com>
31893   
31894         * javax/swing/text/DefaultStyledDocument.java
31895         (ElementBuffer.clone): Fixed replace call.
31896         (clone): Removed method.
31897   
31898 2006-02-13  Roman Kennke  <kennke@aicas.com>
31899   
31900         * java/rmi/server/UnicastRemoteObject.java: Reformatted.
31901   
31902 2006-02-13  Roman Kennke  <kennke@aicas.com>
31903   
31904         * java/rmi/server/UnicastRemoteObject.java
31905         (exportObject(Remote)): Forward method call to export(Remote,int).
31906   
31907 2006-02-13  Andrew John Hughes  <gnu_andrew@member.fsf.org>
31908   
31909         * include/Makefile.am:
31910         Swapped Math.h for VMMath.h
31911         * include/java_lang_Math.h:
31912         Removed.
31913         * include/java_lang_VMMath.h:
31914         New autogenerated header for the new class.
31915         * java/lang/Math.java:
31916         (sin(double)): Changed to link to VMMath.
31917         (cos(double)): Changed to link to VMMath.
31918         (tan(double)): Changed to link to VMMath.
31919         (asin(double)): Changed to link to VMMath.
31920         (acos(double)): Changed to link to VMMath.
31921         (atan(double)): Changed to link to VMMath.
31922         (atan2(double)): Changed to link to VMMath.
31923         (exp(double)): Changed to link to VMMath.
31924         (log(double)): Changed to link to VMMath.
31925         (sqrt(double)): Changed to link to VMMath.
31926         (pow(double,double)): Changed to link to VMMath.
31927         (IEEEremainder(double,double)): Changed to link to VMMath.
31928         (ceil(double)): Changed to link to VMMath.
31929         (floor(double)): Changed to link to VMMath.
31930         (rint(double)): Changed to link to VMMath.
31931         * native/jni/java-lang/Makefile.am:
31932         Replaced java_lang_Math.c with java_lang_VMMath.c
31933         * native/jni/java-lang/java_lang_Math.c:
31934         Removed.
31935         * native/jni/java-lang/java_lang_VMMath.c:
31936         Renamed from java_lang_Math.c.
31937         * vm/reference/java/lang/VMMath.java:
31938         New class.
31939         (sin(double)): New native method.
31940         (cos(double)): New native method.
31941         (tan(double)): New native method.
31942         (asin(double)): New native method.
31943         (acos(double)): New native method.
31944         (atan(double)): New native method.
31945         (atan2(double)): New native method.
31946         (exp(double)): New native method.
31947         (log(double)): New native method.
31948         (sqrt(double)): New native method.
31949         (pow(double,double)): New native method.
31950         (IEEEremainder(double,double)): New native method.
31951         (ceil(double)): New native method.
31952         (floor(double)): New native method.
31953         (rint(double)): New native method.
31954         
31955 2006-02-13  Lillian Angel  <langel@redhat.com>
31956   
31957         * java/awt/Component.java
31958         (repaint): No need to call isShowing, it is done in the other repaint call.
31959         (repaint): Likewise.
31960         (repaint): Likewise.
31961   
31962 2006-02-13  Lillian Angel  <langel@redhat.com>
31963   
31964         * java/awt/Component.java
31965         (repaint): Reverted last change.
31966         (repaint): Likewise.
31967         (repaint): Likewise.
31968
31969 2006-02-13  Lillian Angel  <langel@redhat.com>
31970
31971         * gnu/java/awt/peer/gtk/GtkPanelPeer.java
31972         (handleEvent): Made more efficent by handling paint event and
31973         setting the clip for the graphics.
31974         * gnu/java/awt/peer/gtk/GtkWindowPeer.java
31975         (handleEvent): Likewise.
31976         * java/awt/Component.java
31977         (repaint): No need to call isShowing, it is done in the other repaint call.
31978         (repaint): Likewise.
31979         (repaint): Likewise.
31980   
31981 2006-02-13  Roman Kennke  <kennke@aicas.com>
31982   
31983         * javax/swing/text/AbstractDocument.java
31984         (setParent): Added API docs. Call setParent(null) on children before
31985         disconnecting this view from the View hierarchy.
31986   
31987 2006-02-13  Roman Kennke  <kennke@aicas.com>
31988   
31989         * javax/swing/text/AbstractDocument.java
31990         (readUnlock): Don't attempt to unlock when the current threads also
31991         holds a write lock.
31992   
31993 2006-02-13  David Gilbert  <david.gilbert@object-refinery.com>
31994   
31995         * javax/swing/plaf/metal/MetalBorders.java
31996         (ButtonBorder.getBorderInsets(Component)): Return insets directly,
31997         (ButtonBorder.getBorderInsets(Component, Insets)): Don't check for null
31998         insets argument,
31999         (Flush3DBorder.borderInsets): New field,
32000         (Flush3DBorder.getBorderInsets(Component)): Return insets directly,
32001         (Flush3DBorder.getBorderInsets(Component, Insets)): Don't check for 
32002         null insets argument, and populate result from borderInsets,
32003         (PaletteBorder.borderInsets): New field,
32004         (PaletteBorder.getBorderInsets(Component)): Return insets directly,
32005         (PaletteBorder.getBorderInsets(Component, Insets)): Don't check for 
32006         null insets argument, and populate result from borderInsets,
32007         (InternalFrameBorder.borderInsets): New field,
32008         (InternalFrameBorder.getBorderInsets(Component)): Return insets 
32009         directly,
32010         (InternalFrameBorder.getBorderInsets(Component, Insets)): Don't check 
32011         for null insets argument, and populate result from borderInsets,
32012         (MenuItemBorder.borderInsets): Initialise to correct value.
32013
32014 2006-02-13  Roman Kennke  <kennke@aicas.com>
32015
32016         * javax/swing/text/AsyncBoxView.java: New file.
32017
32018 2006-02-13  Ito Kazumitsu  <kaz@maczuka.gcd.org>
32019
32020         Fixes bug #26166
32021         * gnu/regexp/RE.java(initialize): Parsing of character class expression
32022         was moved to a new method parseCharClass.
32023         (parseCharClass): New method originally in initialize. Added parsing
32024         of nested character classes.
32025         (ParseCharClassResult): New inner class used as a return value of
32026         parseCharClass.
32027         (getCharExpression),(getNamedProperty): Made static.
32028         * gnu/regexp/RESyntax.java(RE_NESTED_CHARCLASS): New syntax flag.
32029         * gnu/regexp/RETokenOneOf.java(addition): New Vector for storing
32030         nested character classes.
32031         (RETokenOneOf): New constructor accepting the Vector addition.
32032         (getMinimumLength), (getMaximumLength): Returns 1 if the token
32033         stands for only one character.
32034         (match): Added the processing of the Vector addition.
32035         (matchN), (matchP): Do not check next token if addition is used.
32036   
32037 2006-02-12  Olivier Jolly <olivier.jolly@pcedev.com>
32038   
32039         * AUTHORS: add self.
32040   
32041 2006-02-12  Tom Tromey  <tromey@redhat.com>
32042   
32043         * gnu/classpath/ServiceProviderLoadingAction.java: Javadoc fix.
32044         * gnu/classpath/ServiceFactory.java (ServiceIterator): Javadoc fix.
32045         (securityContext): Likewise.
32046         (log): Likewise.
32047   
32048 2006-02-12  Dalibor Topic  <robilad@kaffe.org>
32049   
32050         Fixes PR 26218.
32051   
32052         * gnu/java/net/protocol/file/Connection.java (unquote):
32053         Convert Unicode characters outside basic plane to UTF-8,
32054         rather than throwing an exception.
32055   
32056 2006-02-12  Tom Tromey  <tromey@redhat.com>
32057   
32058         * javax/sound/sampled/LineEvent.java (readObject): New method.
32059         (writeObject): Likewise.
32060         (serialVersionUID): New field.
32061   
32062 2006-02-12  Mark Wielaard  <mark@klomp.org>
32063   
32064         * java/beans/PropertyChangeSupport.java (addPropertyChangeListener):
32065         Silently ignores null listener.
32066         (addPropertyChangeListener(String, PropertyChangeListener): Likewise.
32067         (getPropertyChangeListeners): Returns empty PropertyChangeListener
32068         array for null propertyName.
32069
32070 2006-02-12  Wolfgang Baer  <WBaer@gmx.de>
32071
32072         * java/rmi/MarshalledObject.java: Added api docs to the class.
32073         * java/rmi/Remote.java: Added interface api docs.
32074         * java/rmi/package.html: Added package description.
32075         * java/rmi/AccessException.java: Minor api doc fixes.
32076         * java/rmi/NoSuchObjectException.java: Likewise.
32077         * java/rmi/AlreadyBoundException.java: Likewise.
32078         * java/rmi/RemoteException.java: Likewise.
32079         * java/rmi/NotBoundException.java: Likewise.
32080         * java/rmi/RMISecurityException.java: Likewise.
32081         * java/rmi/StubNotFoundException.java: Likewise.        
32082
32083 2006-02-12  Mark Wielaard  <mark@klomp.org>
32084
32085         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (postKeyEvent): Call
32086         q() to get EventQueue.
32087         * gnu/java/awt/peer/gtk/GtkGenericPeer.java (q): Remove static field.
32088         (enableQueue): Remove static method.
32089         * gnu/java/awt/peer/gtk/GtkToolkit.java (getSystemEventQueueImpl):
32090         Don't call GtkGenericPeer.enableQueue().
32091
32092 2006-02-12  Wolfgang Baer  <WBaer@gmx.de>
32093
32094         * java/rmi/MarshalledObject.java: Reformatted.
32095         * java/rmi/Naming.java: Likewise.       
32096
32097 2006-02-12  Jeroen Frijters  <jeroen@frijters.net>
32098
32099         * java/io/InputStream.java
32100         (read(byte[],int,int)): Changed argument validation to prevent
32101         integer overflow. Remove redundant check.
32102   
32103 2006-02-12  Jeroen Frijters  <jeroen@frijters.net>
32104   
32105         Fixes PR 26220
32106         * java/io/InputStreamReader.java
32107         (InputStreamReader(InputStream)): Use SystemProperties.
32108         (InputStreamReader(InputStream,Charset)): Corrected @since tag.
32109         Throw NullPointerException if in is null.
32110         Added maxBytesPerChar initialisation.
32111         (InputStreamReader(InputStream,CharsetDecoder)): Corrected @since tag.
32112         Throw NullPointerException if in is null.
32113
32114 2006-02-12  Raif S. Naffah  <raif@swiftdsl.com.au>
32115
32116         * gnu/javax/crypto/key/dh/GnuDHPublicKey.java
32117         (GnuDHPublicKey(4)): Call constructor with 5 arguments.
32118         (GnuDHPublicKey): New constructor.
32119         (getEncoded): Removed.
32120         (valueOf): Added support for ASN.1 encoding.
32121         (getEncoded(int)): Likewise.
32122         (equals): New method.
32123         * gnu/javax/crypto/key/dh/GnuDHPrivateKey.java
32124         (GnuDHPrivateKey(4)): Call constructor with 5 arguments.
32125         (GnuDHPrivateKey(5)): New constructor.
32126         (getEncoded): Removed.
32127         (valueOf): Added support for ASN.1 encoding.
32128         (getEncoded(int)): Likewise.
32129         (equals): New method.
32130         * gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java
32131         (PREFERRED_ENCODING_FORMAT): New constant.
32132         (DEFAULT_ENCODING_FORMAT): Likewise.
32133         (preferredFormat): New field.
32134         (setup): Handle preferred encoding format identifier.
32135         (generate): Call constructors with format identifier.
32136         * gnu/javax/crypto/key/dh/GnuDHKey.java (defaultFormat): New field.
32137         (GnuDHKey): Added an int argument.
32138         (getEncoded): New method.
32139         (getFormat): New implementation.
32140         (getEncoded(int)): New abstract method.
32141         * gnu/javax/crypto/key/dh/DHKeyPairX509Codec.java: New file.
32142         * gnu/javax/crypto/key/dh/DHKeyPairPKCS8Codec.java: Likewise.
32143         * gnu/javax/crypto/jce/GnuCrypto.java (run): Added mappings for DH
32144         key-pair generator and key-factory.
32145         * gnu/javax/crypto/jce/sig/DHKeyPairGeneratorSpi.java: New file.
32146         * gnu/javax/crypto/jce/sig/DHKeyFactory.java: Likewise.
32147         * gnu/java/security/jce/sig/KeyPairGeneratorAdapter.java: Made it public.
32148         * gnu/java/security/jce/sig/EncodedKeyFactory.java
32149         (invokeConstructor): New method.
32150         (getConcreteClass): Likewise.
32151         (getConcreteCtor): Likewise.
32152         (invokeValueOf): Likewise.
32153         (getValueOfMethod): Likewise.
32154         (engineGeneratePublic): Add support for DH keys.
32155         (engineGeneratePrivate): Likewise.
32156         (decodeDHPublicKey(DHPublicKeySpec)): New method.
32157         (decodeDHPublicKey(byte[])): Likewise.
32158         (decodeDHPrivateKey(DHPrivateKeySpec)): Likewise.
32159         (decodeDHPrivateKey(byte[])): Likewise.
32160
32161 2006-02-11  Mark Wielaard  <mark@klomp.org>
32162
32163         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (repaintTimer):
32164         Removed field.
32165         (repaint): Immediately post to queue when tm <= 0, otherwise call
32166         RepaintTimerTask.schedule().
32167         (RepaintTimerTask): Make static.
32168         (RepaintTimerTask.repaintTimer): New static final field.
32169         (RepaintTimerTask.awtComponent): New field.
32170         (schedule): New static method.
32171
32172 2006-02-11  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
32173
32174         * tools/gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java
32175         * tools/gnu/classpath/tools/giop/grmic/MethodGenerator.java
32176         * tools/gnu/classpath/tools/giop/grmic/templates/Tie.jav,
32177         tools/gnu/classpath/tools/giop/grmic/templates/TieMethod.jav,
32178         tools/gnu/classpath/tools/giop/grmic/templates/TieMethodVoid.jav:
32179         Rewritten.
32180         * tools/gnu/classpath/tools/giop/grmic/HashFinder.java: New file.
32181   
32182 2006-02-11  Raif S. Naffah  <raif@swiftdsl.com.au>
32183   
32184         * gnu/java/security/jce/sig/EncodedKeyFactory.java
32185         (engineGeneratePublic): Added support for raw key-specifications.
32186         (engineGeneratePrivate): Likewise.
32187         (decodeDSSPublicKey): New method.
32188         (decodeRSAPublicKey): Likewise.
32189         (decodeDSSPrivateKey): Likewise.
32190         (decodeRSAPrivateKey): Likewise.
32191         * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java
32192         (encodePrivateKey): Throw InvalidParameterException.
32193         (decodePublicKey): Likewise.
32194         (decodePrivateKey): Likewise.
32195         * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java
32196         (encodePublicKey): Likewise.
32197         (encodePrivateKey): Likewise.
32198         (decodePublicKey): Likewise.
32199         * gnu/java/security/key/dss/DSSKeyPairX509Codec.java
32200         (encodePrivateKey): Likewise.
32201         (decodePublicKey): Likewise.
32202         (decodePrivateKey): Likewise.
32203         * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java
32204         (encodePublicKey): Likewise.
32205         (encodePrivateKey): Likewise.
32206         (decodePublicKey): Likewise.
32207   
32208 2006-02-10  Roman Kennke  <kennke@aicas.com>
32209   
32210         * javax/swing/text/StyleContext.java
32211         (registerStaticAttributeKey): New static method.
32212   
32213 2006-02-10  Roman Kennke  <kennke@aicas.com>
32214   
32215         * javax/swing/text/DefaultStyledDocument.java
32216         (ElementBuffer.clone): New method.
32217   
32218 2006-02-10  Roman Kennke  <kennke@aicas.com>
32219   
32220         * javax/swing/text/ParagraphView.java
32221         (findOffsetToCharactersInString): New method.
32222         (getClosestPositionTo): New method.
32223         (getPartialSize): New method.
32224         (getTabBase): New method.
32225         (adjustRow): New method.
32226         (breakView): New method.
32227         (getBreakWeight): New method.
32228   
32229 2006-02-10  Roman Kennke  <kennke@aicas.com>
32230   
32231         * javax/swing/text/GapContent.java
32232         (updateUndoPositions): New method.
32233         * javax/swing/text/StringContent.java
32234         (updateUndoPositions): New method.
32235   
32236 2006-02-10  Raif S. Naffah  <raif@swiftdsl.com.au>
32237   
32238         * gnu/java/security/key/rsa/GnuRSAPrivateKey.java (GnuRSAPrivateKey(9)):
32239         Made it public.
32240         * gnu/java/security/jce/sig/RSAKeyFactory.java: New file.
32241         * gnu/java/security/jce/sig/DSSKeyFactory.java (engineGeneratePublic):
32242         Added support for encoded key specifications.
32243         (engineGeneratePrivate): Likewise.
32244         (engineGetKeySpec): Likewise.
32245         (engineTranslateKey): Corrected order of MPIs and use ctors with 5 args.
32246   
32247 2006-02-10  Robert Schuster  <robertschuster@fsfe.org>
32248   
32249         * javax/swing/text/Utilities.java:
32250         (getTabbedTextOffset): Fixed usage of variable p0.
32251         (getPositionAbove): Rewritten.
32252         (getPositionBelow): Rewritten.
32253   
32254 2006-02-09  Roman Kennke  <kennke@aicas.com>
32255   
32256         * javax/swing/text/BoxView.java
32257         (getAxis): Added @since tag.
32258         (setAxis): Added @since tag.
32259         (layoutChanged): Added @since tag.
32260         (isLayoutValid): Added @since tag.
32261         (paint): Don't call setSize here. This is done in RootView already.
32262         (getMaximumSpan): Reimplemented to return the requirements'
32263         maximum size. Added API docs.
32264         (getMinimumSpan): New method.
32265         (layout): Fixed layout order.
32266         (modelToView): Call layout instead of setSize here.
32267         (getResizeWeight): New method.
32268         (getChildAllocation): New method.
32269         (forwardUpdate): New method.
32270         (viewToModel): New method.
32271         (flipEastEndWestEnds): New method.
32272         * javax/swing/text/CompositeView.java
32273         (modelToView): Made this method more robust by returning a default
32274         location if it's not possible to calculate one via the children.
32275         This default location returns the left or right edge of this
32276         view.
32277         (createDefaultLocation): New helper method.
32278         * javax/swing/text/IconView.java
32279         (modelToView): Don't throw BadLocationException. This should
32280         really only be thrown if the position is outside the document
32281         model, not if it's outside the view's boundary.
32282   
32283 2006-02-09  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
32284   
32285         * tools/Makefile.am: Handle rmi and giop folders separately.
32286   
32287 2006-02-09  David Gilbert  <david.gilbert@object-refinery.com>
32288   
32289         * javax/swing/SpinnerDateModel.java: Updated API docs all over,
32290         * javax/swing/SpinnerNumberModel.java: Likewise.
32291   
32292 2006-02-09  David Gilbert  <david.gilbert@object-refinery.com>
32293   
32294         * javax/swing/SpinnerDateModel.java: Removed tabs,
32295         * javax/swing/SpinnerNumberModel.java: Likewise.
32296   
32297 2006-02-09  Anthony Balkissoon  <abalkiss@redhat.com>
32298   
32299         * doc/unicode/SpecialCasing-4.0.0.txt: New file.
32300         * doc/unicode/UnicodeData-4.0.0.txt: New file.
32301   
32302 2006-02-09  Wolfgang Baer  <WBaer@gmx.de>
32303   
32304         Fixes bug #26081
32305         * gnu/java/net/protocol/http/HTTPURLConnection.java: 
32306         (isRedirect): Removed, moved to Response.java.
32307         (connect): If error condition redirect responseSink to errorSink.
32308         (getInputStream): If error condition throw IOException, for the error
32309         codes 404 and 410 throw a FileNotFoundException.        
32310         * gnu/java/net/protocol/http/Response.java (isError): New method.
32311         (isRedirect): New method, moved from HTTPURLConnection.java.
32312   
32313 2006-02-09  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
32314   
32315         * tools/Makefile.am: Add tools/gnu/classpath/tools/rmi folder.
32316         * tools/gnu/classpath/tools/giop/GRMIC.txt: Explain it called from RMIC.
32317         * tools/gnu/classpath/tools/giop/grmic/Generator.java (getResource): 
32318         Better diagnostic.
32319         * tools/gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java:
32320         Rewritten.
32321         * tools/gnu/classpath/tools/giop/grmic/MethodGenerator.java: Implement
32322         AbstractMethodGenerator.
32323         * tools/gnu/classpath/tools/AbstractMethodGenerator.java,
32324         tools/gnu/classpath/tools/rmi/RMIC.java,
32325         tools/gnu/classpath/tools/rmi/RMIC.txt,
32326         tools/gnu/classpath/tools/rmi/rmic/RmiMethodGenerator.java,
32327         tools/gnu/classpath/tools/rmi/rmic/RmicCompiler.java,
32328         tools/gnu/classpath/tools/rmi/rmic/WrapUnWrapper.java,
32329         tools/gnu/classpath/tools/rmi/rmic/templates/Stub_12.jav,
32330         tools/gnu/classpath/tools/rmi/rmic/templates/Stub_12Method.jav,
32331         tools/gnu/classpath/tools/rmi/rmic/templates/Stub_12MethodVoid.jav: 
32332         New files.
32333         * NEWS: Corrected entry about the tools.
32334   
32335 2006-02-09  Lillian Angel  <langel@redhat.com>
32336   
32337         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
32338         (handleEvent): Added more to check to prevent assertion errors.
32339         * gnu/java/awt/peer/gtk/GtkPanelPeer.java
32340         (handleEvent): Likewise.
32341         * gnu/java/awt/peer/gtk/GtkWindowPeer.java
32342         (handleEvent): Likewise.
32343   
32344 2006-02-09  Mark Wielaard  <mark@klomp.org>
32345   
32346         * javax/swing/JTable.java (tableChanged): Interpret null event as
32347         "everything changed".
32348   
32349 2006-02-09  Roman Kennke  <kennke@aicas.com>
32350   
32351         * javax/swing/text/DefaultCaret.java
32352         (DocumentHandler.removeUpdate): When update policy is
32353         'on eventqueue', and the update doesn't come from the
32354         event queue, check if the current dot location is still
32355         valid.
32356         (moveDot): Make sure the new dot location is valid.
32357         (setDot): Set the mark the same as the dot.
32358   
32359 2006-02-09  Roman Kennke  <kennke@aicas.com>
32360   
32361         * javax/swing/text/AbstractDocument.java
32362         (remove): Perform all operations within a write lock and in the
32363         correct order.
32364   
32365 2006-02-09  Mark Wielaard  <mark@klomp.org>
32366   
32367         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollbarPeer.c
32368         (Java_gnu_java_awt_peer_gtk_GtkScrollbarPeer_create): Make sure max is
32369         creater than min, adjusting page_size if necessary.
32370         (Java_gnu_java_awt_peer_gtk_GtkScrollbarPeer_setValues): Likewise.
32371   
32372 2006-02-09  Lillian Angel  <langel@redhat.com>
32373   
32374         * gnu/java/awt/peer/gtk/GtkPanelPeer.java
32375         (handleEvent): Added code to handle PaintEvent.UPDATE.
32376         Sun does not call update(Graphics g) on Panels.
32377         * gnu/java/awt/peer/gtk/GtkWindowPeer.java
32378         (handleEvent): New method. Added code to handle PaintEvent.UPDATE.
32379         Sun does not call update(Graphics g) on Panels.
32380   
32381 2006-02-09  Roman Kennke  <kennke@aicas.com>
32382   
32383         * javax/swing/text/BoxView.java
32384         (myAxis): Made field private.
32385         (xLayoutValid): Replaced by layoutValid array.
32386         (yLayoutValid): Replaced by layoutValid array.
32387         (layoutValid): New field.
32388         (spansX): Replaced by spans array.
32389         (spansY): Replaced by spans array.
32390         (spans): New field.
32391         (offsetsX): Replaced by offsets array.
32392         (offsetsY): Replaced by offsets array.
32393         (offsets): New field.
32394         (requirements): New field.
32395         (BoxView): Initialize new fields.
32396         (layoutChanged): Rewritten to use the layoutValid array.
32397         (isLayoutValid): Rewritten to use the layoutValid array.
32398         (replace): Use the new arrays.
32399         (getPreferredSpan): Rewritten to call calculateXXXRequirements
32400         instead of baselineRequirements.
32401         (baselineRequirements): Rewritten to calculate baseline requirements.
32402         (baselineLayout): Rewritten to calculate baseline layout.
32403         (childAllocation): Use new arrays.
32404         (layout): Rewritten. Only update the layout if necessary.
32405         (layoutMajorAxis): Directly set layoutValid.
32406         (layoutMinorAxis): Directly set layoutValid. Use cached size
32407         requirements.
32408         (getWidth): Use new span array.
32409         (getHeight): Likewise.
32410         (setSize): Rewritten to simply call layout().
32411         (validateLayout): Removed unneeded method.
32412         (getSpan): Use new arrays.
32413         (getOffset): Use new arrays.
32414         (getAlignment): Use cached requirements if possible.
32415         (preferenceChanged): Use new arrays.
32416         * javax/swing/text/FlowView.java
32417         (FlowStrategy.insertUpdate): Do nothing here.
32418         (FlowStrategy.removeUpdate): Do nothing here.
32419         (FlowStrategy.changedUpdate): Do nothing here.
32420         (FlowStrategy.layoutRow): Rewritten.
32421         (FlowStrategy.createView): Rewritten.
32422         (FlowStrategy.adjustRow): New method.
32423         (LogicalView.getViewIndex): Fixed condition for finding child
32424         view.
32425         (layoutDirty): New field indicating the state of the layout.
32426         (FlowView): Initialize new field.
32427         (loadChildren): Set parent on logical view so that preferenceChanges
32428         get propagated upwards.
32429         (layout): Rewritten to match the specs.
32430         (insertUpdate): Set layout to dirty.
32431         (removeUpdate): Set layout to dirty.
32432         (changedUpdate): Set layout to dirty.
32433         * javax/swing/text/GlyphView.java
32434         (getBreakWeight): Rewritten to use the Utilities class. Commented
32435         out though because that is broken.
32436         (insertUpdate): Call preferenceChanged on this object instead of
32437         parent.
32438         * javax/swing/text/ParagraphView.java
32439         (Row.loadChildren): Overridden to be a noop to prevent initial
32440         creation of child views. This is carried out by the flow layout.
32441         * javax/swing/text/View.java
32442         (getPreferredSpan): Added API docs.
32443         (getResizeWeight): Added API docs.
32444         (getMaximumSpan): Added API docs. Rewritten to only have one exit
32445         point.
32446         (getMinimumSpan): Added API docs. Rewritten to return 0 when
32447         resizable instead of Integer.MAX_VALUE.
32448         (getAlignment): Added API docs.
32449         (replace): Added API docs.
32450         (forwardUpdate): Rewritten to only notify child views that need to
32451         be notified.
32452   
32453 2006-02-09  Roman Kennke  <kennke@aicas.com>
32454   
32455         * javax/swing/plaf/basic/BasicTextUI.java
32456         (RootView.paint): Call setSize() before painting the view.
32457   
32458 2006-02-09  Ito Kazumitsu  <kaz@maczuka.gcd.org>
32459   
32460         Fixes bug #26112
32461         * gnu/regexp/RE.java(REG_REPLACE_USE_BACKSLASHESCAPE): New execution
32462         flag which enables backslash escape in a replacement.
32463         (getReplacement): New public static method. 
32464         (substituteImpl),(substituteAllImpl): Use getReplacement.
32465         * gnu/regexp/REMatch.java(substituteInto): Replace $n even if n>=10.
32466         * java/util/regex/Matcher.java(appendReplacement)
32467         Use RE#getReplacement.
32468         (replaceFirst),(replaceAll): Use RE.REG_REPLACE_USE_BACKSLASHESCAPE.
32469
32470 2006-02-09  Raif S. Naffah  <raif@swiftdsl.com.au>
32471
32472         * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java: New file.
32473         * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java: Likewise.
32474         * gnu/java/security/key/rsa/RSAKeyPairGenerator.java
32475         (PREFERRED_ENCODING_FORMAT): New constant.
32476         (DEFAULT_ENCODING_FORMAT): Likewise.
32477         (preferredFormat): New field.
32478         (setup): Add support for preferred encoding format.
32479         (generate): Call key constructors with explicit format identifier.
32480         * gnu/java/security/key/rsa/GnuRSAPublicKey.java (GnuRSAPublicKey(2)): 
32481         Call constructor with 3 arguments..
32482         (GnuRSAPublicKey(3)): New constructor.
32483         (valueOf): Added support for ASN.1 format.
32484         (getEncoded): Likewise.
32485         * gnu/java/security/key/rsa/GnuRSAPrivateKey.java (GnuRSAPrivateKey(4)):
32486         Call constructor with 5 arguments.
32487         (GnuRSAPrivateKey(5)): New constructor.
32488         (GnuRSAPrivateKey(9)): New constructor.
32489         (valueOf): Added support for ASN.1 format.
32490         (getEncoded): Likewise.
32491         * gnu/java/security/key/rsa/GnuRSAKey.java (defaultFormat): New field.
32492         (GnuRSAKey): Modified constructor.
32493         (getFormat): Return preferred format identifier.
32494         * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java
32495         (decodePrivateKey): Fixed documentation.
32496         Check Version field.
32497         * gnu/java/security/jce/sig/RSAKeyPairGeneratorSpi.java
32498         (initialize(int,SecureRandom)): Set ASN.1 as the preferred encoding
32499         format.
32500         (initialize(AlgorithmParameterSpec,SecureRandom)): Likewise.
32501         * gnu/java/security/jce/sig/EncodedKeyFactory.java
32502         (engineGeneratePublic): Added support for RSA.
32503         (engineGeneratePrivate): Likewise.
32504
32505 2006-02-09  Wolfgang Baer  <WBaer@gmx.de>
32506
32507         * java/net/URLConnection.java:
32508         (setAllowUserInteraction): Throw IllegalStateException if connected.
32509         (getRequestProperty): Document return value if key is null.
32510         * gnu/java/net/protocol/http/HTTPURLConnection.java:
32511         (getRequestProperty): Return null if key is null.
32512         (getRequestProperties): Throw IllegalStateException if connected.
32513         (setRequestProperty): Call super method for exception tests.
32514         (addRequestProperty): Likewise.
32515   
32516 2006-02-09  Wolfgang Baer  <WBaer@gmx.de>
32517   
32518         * gnu/java/net/protocol/http/Request.java:
32519         (Request): Remove initialization of removed field.
32520         (requestBodyNegotiationThreshold): Removed now unused field.
32521         (setRequestBodyNegotiationThreshold): Remove now unused method.
32522         (dispatch): Do not use 'Expect 100-continue' header if content-length
32523         is over a treshold. If user specified 'Expect 100-continue' still
32524         initialize the expectingContinue variable.
32525
32526 2006-02-08  David Gilbert  <david.gilbert@object-refinery.com>
32527
32528         * javax/swing/SpinnerNumberModel.java
32529         (SpinnerNumberModel(Number, Comparable, Comparable, Number): Allow 
32530         maximum and minimum to take null values,
32531         (setValue): Only fire ChangeEvent if new value is different to old 
32532         value,
32533         (setMinimum): Fixed test for updating value,
32534         (setMaximum): Likewise,
32535         (setStepSize): Likewise.
32536   
32537 2006-02-08  Tom Tromey  <tromey@redhat.com>
32538   
32539         * tools/.cvsignore: Added Makefile.in.
32540   
32541 2006-02-08  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
32542   
32543         * java/rmi/server/RemoteRef.java,
32544         java/rmi/server/RemoteStub.java: Commented.
32545   
32546 2006-02-08  David Gilbert  <david.gilbert@object-refinery.com>
32547   
32548         * javax/swing/SpinnerDateModel.java
32549         (SpinnerDateModel(Date, Comparable, Comparable, int)): Added argument
32550         checks,
32551         (getPreviousValue): Check result against start, not end,
32552         (setValue): Check that value actually changes before firing 
32553         ChangeEvent.
32554
32555 2006-02-08  Lillian Angel  <langel@redhat.com>
32556
32557         * java/awt/Choice.java
32558         (select): Fixed up code, added some checks to prevent errors.
32559         (dispatchEventImpl): Removed. This function is not needed. It 
32560         causes several assertion errors.
32561   
32562 2006-02-08  Roman Kennke  <kennke@aicas.com>
32563   
32564         * javax/swing/text/PlainView.java
32565         (drawLine): Call drawUnselectedText() with end offset - 1 to avoid
32566         drawing unnecessary characters.
32567   
32568 2006-02-08  Lillian Angel  <langel@redhat.com>
32569   
32570         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
32571         (handleEvent): Fixed check to determine if height or
32572         width is less than 1.
32573   
32574 2006-02-08  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
32575   
32576         *tools/Makefile.am (ALL_TOOLS_FILES): Add $(TOOLS_HELPS).
32577   
32578 2006-02-08  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
32579   
32580         * examples/gnu/classpath/examples/CORBA/swing/x5/_GameManagerImpl_Tie.java,
32581         examples/gnu/classpath/examples/CORBA/swing/x5/_PlayerImpl_Tie.java:
32582         Documenting the code generator.
32583         * gnu/CORBA/IOR.java (toStringFormatted, 
32584         CodeSet_component.toStringFormatted): New methods.
32585         * tools/Makefile.am (TOOLS_JAVA_FILES, READMES): Rewritten.
32586         * tools/gnu/classpath/tools/giop/README: Rewritten.
32587         * tools/gnu/classpath/tools/giop/GRMIC.java (main): Rewritten. 
32588         (printHelpAndExit): Removed.
32589         *tools/gnu/classpath/tools/giop/IorParser.java,
32590         tools/gnu/classpath/tools/giop/IorParser.txt,
32591         tools/gnu/classpath/tools/giop/NameService.java,
32592         tools/gnu/classpath/tools/giop/NamingService.txt,
32593         tools/gnu/classpath/tools/HelpPrinter.java: New files.
32594         NEWS: Added note about GIOP tools.
32595
32596 2006-02-07  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
32597
32598         * .classpath: New source patch (tools).
32599         * Makefile.am (SUBDIRS, DIST_SUBDIRS): added "tools".
32600         * configure.ac (AC_CONFIG_FILES): added tools/Makefile
32601         * tools/gnu/classpath/tools/Makefile.am,
32602         tools/gnu/classpath/tools/giop/GRMIC.java
32603         tools/gnu/classpath/tools/giop/GRMIC.txt,
32604         tools/gnu/classpath/tools/giop/README,
32605         tools/gnu/classpath/tools/giop/grmic/CompilationError.java,
32606         tools/gnu/classpath/tools/giop/grmic/Generator.java,
32607         tools/gnu/classpath/tools/giop/grmic/GiopIo.java,
32608         tools/gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java,
32609         tools/gnu/classpath/tools/giop/grmic/MethodGenerator.java,
32610         tools/gnu/classpath/tools/giop/grmic/templates/ImplTie.jav,
32611         tools/gnu/classpath/tools/giop/grmic/templates/Stub.jav,
32612         tools/gnu/classpath/tools/giop/grmic/templates/StubMethod.jav,
32613         tools/gnu/classpath/tools/giop/grmic/templates/StubMethodVoid.jav,
32614         tools/gnu/classpath/tools/giop/grmic/templates/Tie.jav,
32615         tools/gnu/classpath/tools/giop/grmic/templates/TieMethod.jav,
32616         tools/gnu/classpath/tools/giop/grmic/templates/TieMethodVoid.jav: New files.
32617   
32618 2006-02-07  David Gilbert  <david.gilbert@object-refinery.com>
32619   
32620         * java/awt/BasicStroke.java: Updated API docs all over,
32621         * java/awt/doc-files/capjoin.png: New file.
32622   
32623 2006-02-07  Lillian Angel  <langel@redhat.com>
32624   
32625         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
32626         (handleEvent): Added check. Should not paint or update the 
32627         component if it's width and height are both 0.  
32628   
32629 2006-02-07  Roman Kennke  <kennke@aicas.com>
32630   
32631         * javax/swing/text/AbstractDocument.java
32632         (insertString): Enclose locking/unlocking in try-finally block
32633         and also keep locked while notifying the listeners.
32634   
32635 2006-02-07  Roman Kennke  <kennke@aicas.com>
32636   
32637         * javax/swing/text/GlyphView.java
32638         (GlyphView): Initialize startOffset and endOffset with -1 (indicating
32639         element boundary).
32640         (getStartOffset): Return element boundary if startOffset < 0.
32641         (getEndOffset): Return element boundary if endOffset < 0.
32642         (createFragment): Set startOffset and endOffset fields of fragment
32643         if one of p0 or p1 is not at the element boundary.
32644   
32645 2006-02-07  Roman Kennke  <kennke@aicas.com>
32646   
32647         * javax/swing/CellRendererPane.java
32648         (paintComponent): Enclosed painting in try finally to properly
32649         clean up even when throwing an exception.
32650   
32651 2006-02-07  Roman Kennke  <kennke@aicas.com>
32652   
32653         * javax/swing/UIManager.java
32654         (listeners): Made this an instance of
32655         java.beans.PropertyChangeSupport instead of the obsoleted
32656         SwingPropertyChangeSupport.
32657
32658 2006-02-07  Robert Schuster  <robertschuster@fsfe.org>
32659
32660         * javax/swing/text/DefaultEditorToolkit.java: Changed behavior
32661         of actions "delete-next" and "delete-previous", added new TextAction
32662         implementations for "selection-begin", "selection-begin-line",
32663         "selection-end" and "selection-end-line".
32664   
32665 2006-02-07  Roman Kennke  <kennke@aicas.com>
32666   
32667         * javax/swing/plaf/basic/BasicTextUI.java
32668         (paint): Acquire read lock on the document before calling
32669         paintSafely.
32670         (paintSafely): Added comment about what this method does.
32671         (paintBackground): Implemented to actually paint the background.
32672         (update): Overridden to _not_ paint the background. This is done
32673         in paintBackground in this UI.
32674   
32675 2006-02-07  Roman Kennke  <kennke@aicas.com>
32676   
32677         * javax/swing/text/View.java
32678         (forwardUpdate): Don't notify newly added child views as specified.
32679   
32680 2006-02-07  Robert Schuster  <robertschuster@fsfe.org>
32681   
32682         * gnu/java/beans/decoder/DefaultExceptionListener.java: Removed.
32683   
32684 2006-02-07  Roman Kennke  <kennke@aicas.com>
32685   
32686         * javax/swing/text/DefaultStyledDocument.java
32687         (ElementBuffer.insert): Only register change when the element
32688         actually changed.
32689   
32690 2006-02-07  Raif S. Naffah  <raif@swiftdsl.com.au>
32691   
32692         * gnu/java/security/key/KeyPairCodecFactory.java (getEncodingName): New
32693         method.
32694         (getEncodingShortName): Likewise.
32695         * gnu/java/security/key/IKeyPairCodec.java (X509_FORMAT): New constant.
32696         (PKCS8_FORMAT): Likewise.
32697         (ASN1_FORMAT): Likewise.
32698         * gnu/java/security/key/dss/DSSPublicKey.java (DSSPublicKey(4)): Call
32699         constructor with 5 arguments.
32700         (DSSPublicKey(5)): New constructor.
32701         (valueOf): Handle ASN.1 encoding.
32702         (getEncoded): Likewise.
32703         * gnu/java/security/key/dss/DSSPrivateKey.java (DSSPrivateKey(4)): Call
32704         constructor with 5 arguments.
32705         (DSSPrivateKey(5)): New constructor.
32706         (valueOf): Handle ASN.1 encoding.
32707         (getEncoded): Likewise.
32708         * gnu/java/security/key/dss/DSSKeyPairX509Codec.java: New file.
32709         * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java: Likewise.
32710         * gnu/java/security/key/dss/DSSKeyPairGenerator.java
32711         (PREFERRED_ENCODING_FORMAT): New constant.
32712         (DEFAULT_ENCODING_FORMAT): Likewise.
32713         (preferredFormat): New field.
32714         (setup): Handle preferred format ID.
32715         (generate): Use new ctors with 5 arguments.
32716         * gnu/java/security/key/dss/DSSKey.java (DSSKey): Now accepts a format
32717         ID as an additional argument.
32718         (defaultFormat): new field.
32719         (getFormat): Returns the preferred format as a short string.
32720         * gnu/java/security/jce/sig/DSSKeyFactory.java: New file.
32721         * gnu/java/security/jce/sig/EncodedKeyFactory.java (engineGetKeySpec):
32722         Likewise
32723         * gnu/java/security/jce/sig/DSSKeyPairGeneratorSpi.java
32724         (initialize(AlgorithmParameterSpec)): Set ASN.1 as the preferred
32725         encoding format.
32726         (initialize(int,boolean,SecureRandom)): Likewise.
32727         * gnu/java/security/der/DERWriter.java (writeBitString): Use
32728         writeLength() instead of write().
32729         return buf.length + 1 instead of buf.length.
32730   
32731 2006-02-07  Roman Kennke  <kennke@aicas.com>
32732   
32733         * javax/swing/plaf/basic/BasicTextUI.java
32734         (RootView.preferenceChange): Changed view parameter to view so
32735         that it doesn't hide a field of that class.
32736         (RootView.getViewCount): Rewritten to clean up ECJ warning.
32737         (RootView.modelToView): Removed unnecessary cast from View to View.
32738         (PropertyChangeHandler): Made inner class private.
32739         (updateHandler): Made field private.
32740         (getVisibleEditorRect): Removed unneeded local variable that
32741         shadowed a field with the same name and purpose.
32742   
32743 2006-02-07  Robert Schuster  <robertschuster@fsfe.org>
32744   
32745         * javax/swing/text/JTextComponent.java:
32746         (getSelectedText): Calculate offset and use that as
32747         second argument.
32748   
32749 2006-02-07  Roman Kennke  <kennke@aicas.com>
32750   
32751         * javax/swing/JTextPane.java
32752         (setCharacterAttributes): Replace input attributes when
32753         replace==true.
32754   
32755 2006-02-07  Roman Kennke  <kennke@aicas.com>
32756   
32757         * java/awt/Component.java
32758         (firePropertyChange(String,byte,byte)): Made method public.
32759         (firePropertyChange(String,char,char)): Made method public.
32760         (firePropertyChange(String,short,short)): Made method public.
32761         (firePropertyChange(String,long,long)): Made method public.
32762         (firePropertyChange(String,float,float)): Made method public.
32763         (firePropertyChange(String,double,double)): Made method public.
32764   
32765 2006-02-06  Tom Tromey  <tromey@redhat.com>
32766   
32767         * gnu/CORBA/NamingService/NamingServiceTransient.java (main): Use
32768         2006.
32769         * gnu/java/rmi/registry/RegistryImpl.java (version): Use 2006.
32770   
32771 2006-02-06  Anthony Green  <green@redhat.com>
32772   
32773         * gnu/xml/aelfred2/XmlParser.java: Add missing break;.
32774   
32775 2006-02-07  Raif S. Naffah  <raif@swiftdsl.com.au>
32776   
32777         * .settings/org.eclipse.jdt.core.prefs:
32778         Force a line split on extends and implements.
32779         Force a white-space after unary operators.
32780         Don't force a new-line after @params.
32781         Add new-line at end-of-file.
32782         * scripts/eclipse-gnu.xml: Export version of the above named GNU.
32783   
32784 2006-02-07  Raif S. Naffah  <raif@swiftdsl.com.au>
32785   
32786         * gnu/java/security/provider/GnuDSAPublicKey.java (getEncoded): Use
32787         Registry constant.
32788         * gnu/java/security/provider/GnuDSAPrivateKey.java (getEncoded):
32789         Likewise.
32790         * gnu/java/security/provider/GnuRSAPrivateKey.java (getEncoded):
32791         Likewise.
32792         * gnu/java/security/provider/GnuRSAPublicKey.java (getEncoded):
32793         Likewise.
32794         * gnu/java/security/provider/EncodedKeyFactory.java
32795         (ID_DSA): Redefined in terms of Registry constant.
32796         (ID_DSA): Redefined in terms of Registry constant.
32797         (ID_DH): Redefined in terms of Registry constant.
32798         * gnu/java/security/Registry.java (X509_ENCODING): New constant.
32799         (PKCS8_ENCODING): Likewise.
32800         (ASN1_ENCODING): Likewise.
32801         (RAW_ENCODING_SHORT_NAME): Likewise.
32802         (X509_ENCODING_SORT_NAME): Likewise.
32803         (PKCS8_ENCODING_SHORT_NAME): Likewise.
32804         (ASN1_ENCODING_SHORT_NAME): Likewise.
32805         (X509_ENCODING_ID): Likewise.
32806         (PKCS8_ENCODING_ID): Likewise.
32807         (ASN1_ENCODING_ID): Likewise.
32808         (DSA_OID_STRING): Likewise.
32809         (RSA_OID_STRING): Likewise.
32810         (DH_OID_STRING): Likewise.
32811
32812 2006-02-06  Roman Kennke  <kennke@aicas.com>
32813
32814         * javax/swing/text/GlyphView.java:
32815         (DefaultGlyphPainter.paint): Store/restore Graphics color setting.
32816         Only fill background if there is a background set on the view.
32817         Call Utilities.drawTabbedText with the baseline height, rather than
32818         the upper left corner of the view rectangle.
32819         (getBackground): Return null if no background is set.
32820         * javax/swing/text/GlyphView.java:
32821         (setPropertiesFromAttributes): Use null for background when no
32822         background is set. StyleConstants.getBackground() doesn't work
32823         for this, because it returns Color.BLACK in that case.
32824   
32825 2006-02-06  Roman Kennke  <kennke@aicas.com>
32826   
32827         * java/awt/Container.java
32828         (changeSupport): Removed duplicate (from Component) field.
32829         (addPropertyChangeListener): Call super.
32830   
32831 2006-02-06  Ito Kazumitsu  <kaz@maczuka.gcd.org>
32832   
32833         * java/util/regex/Matcher.java(matches):
32834         set RE.REG_TRY_ENTIRE_MATCH as an execution flag of getMatch.
32835   
32836 2006-02-06  Ito Kazumitsu  <kaz@maczuka.gcd.org>
32837
32838         Fixes bug #25812
32839         * gnu/regexp/CharIndexed.java(lookBehind),(length): New method.
32840         * gnu/regexp/CharIndexedCharArray.java
32841         (lookBehind),(length): Implemented.
32842         * gnu/regexp/CharIndexedInputStream.java: Likewise.
32843         * gnu/regexp/CharIndexedString.java: Likewise.
32844         * gnu/regexp/CharIndexedStringBuffer.java: Likewise.
32845         * gnu/regexp/REToken.java(getMaximumLength): New method.
32846         * gnu/regexp/RE.java(internal constructor RE): Added new argument
32847         maxLength.
32848         (initialize): Parse (?<=X), (?<!X), (?>X).
32849         (getMaximumLength): Implemented.
32850         * gnu/regexp/RETokenAny.java(getMaximumLength): Implemented.
32851         * gnu/regexp/RETokenChar.java: Likewise.
32852         * gnu/regexp/RETokenEnd.java: Likewise.
32853         * gnu/regexp/RETokenEndSub.java: Likewise.
32854         * gnu/regexp/RETokenLookAhead.java: Likewise.
32855         * gnu/regexp/RETokenNamedProperty.java: Likewise.
32856         * gnu/regexp/RETokenOneOf.java: Likewise.
32857         * gnu/regexp/RETokenPOSIX.java: Likewise.
32858         * gnu/regexp/RETokenRange.java: Likewise.
32859         * gnu/regexp/RETokenRepeated.java: Likewise.
32860         * gnu/regexp/RETokenStart.java: Likewise.
32861         * gnu/regexp/RETokenWordBoundary.java: Likewise.
32862         * gnu/regexp/RETokenIndependent.java: New file.
32863         * gnu/regexp/RETokenLookBehind.java: New file.
32864   
32865 2006-02-06  Roman Kennke  <kennke@aicas.com>
32866   
32867         * java/awt/Component.java
32868         (firePropertyChange(String,byte,byte)): New method.
32869         (firePropertyChange(String,char,char)): New method.
32870         (firePropertyChange(String,short,short)): New method.
32871         (firePropertyChange(String,long,long)): New method.
32872         (firePropertyChange(String,float,float)): New method.
32873         (firePropertyChange(String,double,double)): New method.
32874
32875 2006-02-06  Roman Kennke  <kennke@aicas.com>
32876
32877         * javax/swing/JComponent.java
32878         (AccessibleJComponent.changeSupport): Changed to be a
32879         java.beans.PropertyChangeSupport rather than
32880         SwingPropertyChangeSupport.
32881         (AccessibleJComponent.AccessibleJComponent()): Change initialization
32882         of above field.
32883         (changeSupport): Removed unneeded field.
32884         (removePropertyChangeListener): Removed unneeded methods.
32885         (addPropertyChangeListener): Removed unneeded methods.
32886         (getPropertyChangeListeners): Removed unneeded methods.
32887         (firePropertyChange(String,boolean,boolean)): Changed to simply
32888         call super. Added specnote.
32889         (firePropertyChange(String,char,char)): Changed to simply
32890         call super. Added specnote.
32891         (firePropertyChange(String,int,int)): Changed to simply
32892         call super. Added specnote.
32893         (firePropertyChange(String,byte,byte)): Removed.
32894         (firePropertyChange(String,Object,Object)): Removed.
32895         (firePropertyChange(String,double,double)): Removed.
32896         (firePropertyChange(String,float,float)): Removed.
32897         (firePropertyChange(String,long,long)): Removed.
32898         (firePropertyChange(String,short,short)): Removed.
32899   
32900 2006-02-06  Roman Kennke  <kennke@aicas.com>
32901   
32902         * javax/swing/event/SwingPropertyChangeSupport.java
32903         (listeners): Removed field.
32904         (propertyListeners): Removed field.
32905         (source): Removed field.
32906         (SwingPropertyChangeSupport()): Removed initialization of removed
32907         fields.
32908         (addPropertyChangeListener): Removed methods.
32909         (removePropertyChangeListener): Removed methods.
32910         (getPropertyChangeListeners): Removed methods.
32911         (firePropertyChange): Removed methods.
32912         (hasListeners): Removed methods.
32913   
32914 2006-02-06  Jeroen Frijters  <jeroen@frijters.net>
32915   
32916         Fixes PR 25313
32917         * java/net/InetAddress.java
32918         (readResolve): Implemented.
32919   
32920 2006-02-06  Jeroen Frijters  <jeroen@frijters.net>
32921   
32922         Fixes PR 26121
32923         * java/io/ObjectInputStream.java
32924         (readNextBlock()): Handle TC_RESET.
32925   
32926 2006-02-06  Wolfgang Baer  <WBaer@gmx.de>
32927         
32928         * javax/print/attribute/standard/Compression.java,
32929         * javax/print/attribute/standard/Finishings.java, 
32930         * javax/print/attribute/standard/JobMediaSheets.java,
32931         * javax/print/attribute/standard/JobSheets.java,
32932         * javax/print/attribute/standard/JobState.java,
32933         * javax/print/attribute/standard/JobStateReason.java,
32934         * javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
32935         * javax/print/attribute/standard/PrintQuality.java,
32936         * javax/print/attribute/standard/Media.java,
32937         * javax/print/attribute/standard/MultipleDocumentHandling.java,
32938         * javax/print/attribute/standard/PrinterStateReason.java,
32939         * javax/print/attribute/standard/PDLOverrideSupported.java: 
32940         (getName): Make method final.
32941         (getCategory): Likewise.
32942         * javax/print/attribute/standard/MediaSize.java: 
32943         (getName): Make method final.
32944         (getCategory): Likewise.
32945         (ISO): Added private default constructor.
32946         (NA): Likewise.
32947         (JIS): Likewise.
32948         (Other): Likewise.
32949         (Engineering): Likewise.
32950
32951 2006-02-06  Wolfgang Baer  <WBaer@gmx.de>
32952         
32953         * native/jni/java-net/javanet.c (_javanet_connect):
32954         Throw ConnectException instead of IOException if connection failed.
32955         * native/jni/java-net/javanet.h:
32956         Add a define for java.net.ConnectException
32957   
32958 2006-02-05  Mark Wielaard  <mark@klomp.org>
32959   
32960         Fixes bug #26101
32961         reported by Egon Willighagen <egon.willighagen@gmail.com>
32962         * javax/swing/DefaultListCellRenderer.java
32963         (getListCellRendererComponent): Turn null value into empty string.
32964   
32965 2006-02-04  Ito Kazumitsu  <kaz@maczuka.gcd.org>
32966   
32967         * gnu/regexp/RETokenNamedProperty.java(getHandler): Check for
32968         a Unicode block if the name starts with "In".
32969         (UnicodeBlockHandler): New inner class.
32970   
32971 2006-02-04  Roman Kennke  <kennke@aicas.com>
32972   
32973         * java/awt/Container.java
32974         (getComponentZOrder): New method.
32975         (setComponentZOrder): New method.
32976         * javax/swing/JLayeredPane.java
32977         (setPosition): Reimplemented to use setComponentZOrder().
32978         (getIndexOf): Reimplemented to use getComponentZOrder().
32979         (addImpl): Pass layerContraint to super call. Important for possibly
32980         installed layout managers.
32981         (swapComponents): Remove unneeded method.
32982
32983 2006-02-04  Raif S. Naffah  <raif@swiftdsl.com.au>
32984
32985         * gnu/java/security/jce/sig/DSSKeyPairGeneratorSpi.java: Implement
32986         DSAKeyPairGenerator.
32987         (initialize(int,SecureRandom)): Call initialize(keysize, false, random).
32988         (initialize(AlgorithmParameterSpec,SecureRandom)): More explicit error
32989         message.
32990         Surround call to adaptee in a try/catch.
32991         (initialize((DSAParams,SecureRandom)): New method.
32992         (initialize(int,boolean,SecureRandom)): New method.
32993         * gnu/java/security/jce/sig/KeyPairGeneratorAdapter.java: Extends
32994         KeyPairGenerator rather than KeyPairGeneratorSpi.
32995         (KeyPairGeneratorAdapter): Call super with algorithm name.
32996
32997 2006-02-04  Raif S. Naffah  <raif@swiftdsl.com.au>
32998
32999         * gnu/javax/crypto/sasl/srp/SRPServer.java (prng): New field.
33000         (getDefaultPRNG): New method.
33001         (parseO): Use method above.
33002         * gnu/javax/crypto/sasl/srp/SRPClient.java (prng): New field.
33003         (getDefaultPRNG): New method.
33004         (createO): Use method above.
33005         * gnu/javax/crypto/sasl/srp/KDF.java (prng): New class field.
33006         (nextByte): Use above field.
33007         * gnu/javax/crypto/pad/PKCS1_V1_5.java (selfTest): Use PRNG instance.
33008         * gnu/java/security/sig/rsa/RSA.java: New class field.
33009         (newR): Use above field
33010         * gnu/java/security/sig/rsa/EME_PKCS1_V1_5.java (prng): New field.
33011         (encode): Use field.above.
33012         * gnu/java/security/key/dss/FIPS186.java (prng): New field.
33013         (getDefaultPRNG): new method.
33014         (nextRandomBytes): Use above method.
33015         * gnu/java/security/key/rsa/RSAKeyPairGenerator.java: Likewise.
33016         * gnu/java/security/sig/BaseSignature.java: Likewise.
33017         * gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java: Likewise.
33018         * gnu/javax/crypto/key/dh/RFC2631.java: Likewise.
33019         * gnu/javax/crypto/key/srp6/SRPKeyPairGenerator.java: Likewise.
33020         * gnu/javax/crypto/key/BaseKeyAgreementParty.java: Likewise.
33021         * gnu/java/security/key/dss/DSSKeyPairGenerator.java (prng): New field.
33022         (getDefaultPRNG): new method.
33023         (nextRandomBytes): Use above method.
33024         (STRICT_DEFAULTS): new class field.
33025         (USE_DEFAULTS): more documentation to clarify behavior.
33026         (setup): amended to handle new attribute.
33027         * gnu/java/security/util/PRNG.java: New file.
33028   
33029 2006-02-03  Lillian Angel  <langel@redhat.com>
33030   
33031         * javax/swing/plaf/basic/BasicColorChooserUI.java:
33032         chooser field should be protected, not package-private. 
33033   
33034 2006-02-03  Lillian Angel  <langel@redhat.com>
33035         
33036         * javax/swing/text/DefaultStyledDocument.java
33037         (changeUpdate): Cleaned up code.
33038         (split): Likewise.
33039         (insertUpdate): Set offset to be equal to pos after
33040         insertContentTag call.
33041         (insertContentTag): If paragraph has no children, should use
33042         replace instead of Edit.
33043         (insertFracture): Moved around code to prevent any exception. Also,
33044         left side of tree should not be recreated if it has already been 
33045         edited. In that case, we should only be creating a new right branch
33046         when fracturing.
33047         (getEditForParagraphAndIndex): No need to check index. We should
33048         use the same edit for each paragraph.
33049   
33050 2006-02-03  Mark Wielaard  <mark@klomp.org>
33051   
33052         * javax/swing/event/SwingPropertyChangeSupport.java
33053         (propertyListeners): Change type to HashMap.
33054         (SwingPropertyChangeSupport): Allocate HashMap.
33055   
33056 2006-02-03  Raif S. Naffah  <raif@swiftdsl.com.au>
33057   
33058         * java/security/KeyPairGenerator.java (getInstance): Test for
33059         instanceof KeyPairGenerator before KeyPairGeneratorSpi.
33060   
33061 2006-02-02  Roman Kennke  <kennke@aicas.com>
33062   
33063         * javax/swing/RepaintManager.java
33064         Made fields private.
33065         (RepaintWorker.run): Enclosed work stuff in try finally block in
33066         order to clean up correctly if invalidation or painting fails,
33067         otherwise we would get no more RepaintWorkers onto the EventQueue.
33068         Also, now the RepaintWorker is marked 'dead' only after it has
33069         finished its work, avoid more than one RepaintWorker on the queue.
33070         (ComponentComparator.compareTo): Compare dirty rectangle sizes
33071         instead of hierarchy depths.
33072         (workDirtyComponents): Removed unused field.
33073         (repaintOrder): Removed unused field.
33074         (workRepaintOrder): Removed unused field.
33075         (workInvalidComponents): Removed unused field.
33076         (RepaintManager()): Removed initialization of removed fields.
33077         (addInvalidComponent): Fine tuned synchronization.
33078         (removeInvalidComponent): Fine tune synchronization.
33079         (addDirtyRegion): Short circuit invalid dirty regions. Fine tuned
33080         synchronization. Don't manager repaintOrder here.
33081         (insertRepaintOrder): Removed method.
33082         (markCompletelyClean): Fine tuned synchronization.
33083         (validateInvalidComponents): Dont use a working copy of the
33084         invalidComponents list, instead fine tuned synchronization on this
33085         list. Also, don't search validateRoot, this is already done in
33086         addInvalidComponent().
33087         (paintDirtyRegions): Compute repaint order here, based on size of
33088         damaged regions. Fine tuned synchronization. Avoid use of working
33089         copies of dirtyComponent.
33090   
33091 2006-02-02  Lillian Angel  <langel@redhat.com>
33092   
33093         * javax/swing/text/DefaultStyledDocument.java
33094         (insertUpdate): JoinNextDirection should push the 
33095         'next' paragraph on the stack.
33096   
33097 2006-02-02  Lillian Angel  <langel@redhat.com>
33098   
33099         * javax/swing/text/DefaultStyledDocument.java
33100         (insertUpdate): Rewrote code for Originate. This prevents
33101         leaves being created multiple times. If it is on the last 
33102         ElementSpec, the leaves need to be created right then; 
33103         otherwise, only a branch is created.
33104         (insertContentTag): Rewrote to add new leaf directly if
33105         this is a branch with no children. Otherwise, it
33106         recreates the remainder of the tree as before.
33107   
33108 2006-02-02  Ito Kazumitsu  <kaz@maczuka.gcd.org>
33109   
33110         * gnu/regexp/REMatch.java(REMatchList): New inner utility class
33111         for making a list of REMatch instances.
33112         * gnu/regexp/RETokenOneOf.java(match): Rewritten using REMatchList.
33113         * gnu/regexp/RETokenRepeated.java(findDoables): New method.
33114         (match): Rewritten using REMatchList.
33115         (matchRest): Rewritten using REMatchList.
33116   
33117 2006-02-02  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
33118   
33119         * examples/gnu/classpath/examples/CORBA/swing/x5/PlayingDesk.java 
33120         (friendsMove):  Call repaint() only after endOfGame is assigned.
33121   
33122 2006-02-02  Mark Wielaard  <mark@klomp.org>
33123   
33124         Fixes bug #25769 reported by Artemus Harper <subanark@gmail.com>
33125         * java/util/AbstractCollection.java (toString): Only use Iterator,
33126         check whether collection contains itself.
33127   
33128 2006-02-01  Casey Marshall  <csm@gnu.org>
33129   
33130         Partial fix for PR classpath/25143.
33131         * javax/crypto/EncryptedPrivateKeyInfo.java (algName): new field.
33132         (<init>): fill in `algName,' derive `algOid' from `algName.'
33133         (getOid): new method.
33134         (encode): embed NULL value for parameters if `params' is `null.'
33135   
33136 2006-02-01  Casey Marshall  <csm@gnu.org>
33137   
33138         Tag check and OTHER_NAME fixes suggested by Rafael Teixeira
33139         <monoman@gmail.com>.    
33140         * gnu/java/security/x509/ext/GeneralNames.java (<init>): fix tag
33141         check; fix OTHER_NAME parsing; fix DIRECTORY_NAME parsing.
33142   
33143 2006-02-01  Casey Marshall  <csm@gnu.org>
33144   
33145         toString fix suggested by Rafael Teixeira <monoman@gmail.com>.
33146         * gnu/java/security/der/DERValue.java
33147         (getLength, getEncoded, getEncodedLength): throw an exception,
33148         don't initialize `encoded' to a bogus value.
33149         (toString): return a more helpful string.
33150
33151         Partial fix for PR classpath/25144.
33152         * gnu/java/security/der/DERWriter.java (write): if the value is
33153         the pseudo-value used for CONSTRUCTED, write the encoded value
33154         directly.
33155         
33156 2006-02-01  Tom Tromey  <tromey@redhat.com>
33157   
33158         * java/security/Security.java (loadProviders): Use system class
33159         loader.
33160   
33161 2006-02-01  Mark Wielaard  <mark@klomp.org>
33162   
33163         * gnu/regexp/RE.java (getRETokenNamedProperty): Chain exception.
33164         * gnu/regexp/RETokenNamedProperty.java (LETTER, MARK, SEPARATOR,
33165         SYMBOL, NUMBER, PUNCTUATION, OTHER): New final byte[] fields.
33166         (getHandler): Check for grouped properties L, M, Z, S, N, P or C.
33167         (UnicodeCategoriesHandler): New private static class.
33168         
33169 2006-02-01  Lillian Angel  <langel@redhat.com>
33170   
33171         * javax/swing/text/DefaultStyledDocument.java:
33172         Removed unneeded fields.
33173         (insertUpdate): Removed field initialization.
33174         (insertContentTag): Rewrote part of function. Still
33175         not complete.
33176   
33177 2006-02-01  Lillian Angel  <langel@redhat.com>
33178   
33179         * javax/swing/text/DefaultStyledDocument.java
33180         (insertParagraph): Cleaned up code.
33181         (insertFirstContentTag): Fixed call to recreateLeaves.
33182         (insertContentTag): Added check to code to determine where
33183         content should be inserted with respect to next element.
33184         (createFracture): Removed check, recreateLeaves is called in 
33185         other places when needed.
33186         (recreateLeaves): Added new parameter for paragraph instead
33187         of checking the stack. Removed editing for newBranch, replaced
33188         with a replace call.
33189
33190 2006-02-01  Anthony Balkissoon  <abalkiss@redhat.com>
33191
33192         * doc/unicode/Blocks-4.0.0.txt: New file.
33193         * java/lang/Character.java: Regenerated inner class UnicodeBlock from 
33194         scripts/unicode-blocks.pl and doc/unicode/Blocks-4.0.0.txt.
33195         * scripts/unicode-blocks.pl: Copied this over from the generics branch
33196         but replaced some 1.5-only features (such as enum).
33197   
33198 2006-01-31  Roman Kennke  <kennke@aicas.com>
33199   
33200         * javax/swing/text/PasswordView.java
33201         (drawSelectedText): Use drawEchoCharacter() method to draw echo
33202         character.
33203         (drawUnselectedText): Use drawEchoCharacter() method to draw echo
33204         character.
33205   
33206 2006-01-31  Roman Kennke  <kennke@aicas.com>
33207   
33208         * javax/swing/JTextField.java
33209         (getPreferredSize): Also include textfield's insets in width
33210         calculation.
33211   
33212 2006-01-31  Roman Kennke  <kennke@aicas.com>
33213   
33214         * javax/swing/plaf/basic/BasicTextUI.java
33215         (getPreferredSize): Include the textcomponent's insets in
33216         preferredSize.
33217   
33218 2006-01-31  Roman Kennke  <kennke@aicas.com>
33219   
33220         * javax/swing/table/DefaultTableCellRenderer.java
33221         (getTableCellRendererComponent): Moved setting of the value into
33222         setValue(). Removed (bogus) special handling of JTextField values.
33223         (setValue): Made ?: statement more clear by rewriting it
33224         with if .. else.
33225   
33226 2006-01-31  Roman Kennke  <kennke@aicas.com>
33227   
33228         * javax/swing/JLayeredPane.java
33229         (insertIndexForLayer): Fixed algorithm to correctly determine
33230         inser index for positions >= 0.
33231         (addImpl): Fixed API docs for the index parameter.
33232   
33233 2006-01-31  Mark Wielaard  <mark@klomp.org>
33234   
33235         * java/net/URI.java (getURIGroup): Check for null to see whether
33236         group actually exists.
33237   
33238 2006-01-31  Lillian Angel  <langel@redhat.com>
33239   
33240         * javax/swing/text/DefaultStyledDocument.java
33241         (changeUpdate): Fixed calls to split to incorporate 
33242         new parameter.
33243         (insertParagraph): Likewise. Uses 0 as editIndex
33244         because inserting into a new paragraph.
33245         (insertContentTag): Fixed check to use 
33246         recreateLeaves. Added a FIXME comment.
33247         (split): Added a new parameter for edits.
33248   
33249 2006-01-31  Roman Kennke  <kennke@aicas.com>
33250   
33251         * javax/swing/plaf/basic/BasicRootPaneUI.java
33252         (installDefaults): Don't install a background color here.
33253   
33254 2006-01-31  Lillian Angel  <langel@redhat.com>
33255   
33256         * javax/swing/text/DefaultStyledDocument.java
33257         (insert): Removed comment.
33258         (insertUpdate): Added comment.
33259         (recreateLeaves): Removed call to push newBranch onto the
33260         stack. This does not need to be done here.
33261   
33262 2006-01-31  Chris Burdess  <dog@gnu.org>
33263   
33264         * gnu/xml/stream/SAXParser.java,
33265           gnu/xml/stream/UnicodeReader.java,
33266           gnu/xml/stream/XIncludeFilter.java,
33267           gnu/xml/stream/XMLParser.java: Fix case where resolved InputSource
33268           only resolved the system ID not the stream. Make some utility methods
33269           public and static for use by other private XML APIs.
33270         * java/lang/ClassNotFoundException.java: Ensure that initCause can be
33271           called without throwing IllegalStateException.
33272         * java/util/logging/SimpleFormatter.java: Write thrown exception if
33273           provided.
33274
33275 2006-01-31  Ito Kazumitsu  <kaz@maczuka.gcd.org>
33276
33277         Fixes bug #22873
33278         * gnu/regexp/REMatch(toString(int)): Throw IndexOutOfBoundsException
33279         for an invalid index and return null for a skipped group.
33280
33281 2006-01-31  Ito Kazumitsu  <kaz@maczuka.gcd.org>
33282
33283         Fixes bug #26002
33284         * gnu/regexp/gnu/regexp/RE.java(initialize): Parse /\p{prop}/.
33285         (NamedProperty): New inner class.
33286         (getNamedProperty): New method.
33287         (getRETokenNamedProperty): New Method.
33288         * gnu/regexp/RESyntax.java(RE_NAMED_PROPERTY): New syntax falg.
33289         * gnu/regexp/RETokenNamedProperty.java: New file.
33290
33291 2006-01-31  Roman Kennke  <kennke@aicas.com>
33292
33293         * javax/swing/plaf/PlainView.java
33294         (paint): Call drawLine with baseline coordinates.
33295         (drawLine): Documented and indented this method.
33296         (drawUnselecetedText): Documented and indented this method.
33297         * javax/swing/plaf/text/Utilites.java
33298         (drawTabbedText): The coordinates denote the baseline of the text
33299         not the upper left corner.
33300   
33301 2006-01-31  Roman Kennke  <kennke@aicas.com>
33302   
33303         * javax/swing/plaf/basic/BasicTextUI.java
33304         (createKeymap): Don't store KeyBindings[] as focusInputMap in
33305         UIManager. Added FIXME regarding the implementation of this method.
33306   
33307 2006-01-30  David Gilbert  <david.gilbert@object-refinery.com>
33308   
33309         * examples/gnu/classpath/examples/swing/ButtonDemo.java
33310         (ButtonDemo): Move content initialisation to new method,
33311         (initFrameContent): New method,
33312         (main): Call initFrameContent(),
33313         * examples/gnu/classpath/examples/swing/ComboBoxDemo.java: Likewise,
33314         * examples/gnu/classpath/examples/swing/FileChooserDemo.java: Likewise,
33315         * examples/gnu/classpath/examples/swing/ScrollBarDemo.java: Likewise,
33316         * examples/gnu/classpath/examples/swing/SliderDemo.java: Likewise,
33317         * examples/gnu/classpath/examples/swing/TextFieldDemo.java: Likewise.
33318   
33319 2006-01-30  David Gilbert  <david.gilbert@object-refinery.com>
33320   
33321         * examples/gnu/classpath/examples/swing/Demo.java
33322         (Demo): Set frame size,
33323         (mkButtonBar): Removed stacked sub-panels.
33324   
33325 2006-01-30  Lillian Angel  <langel@redhat.com>
33326   
33327         * javax/swing/text/DefaultStyledDocument.java:
33328         Added new fields.
33329         (insert): Initialized fields. Removed call to addEdit, 
33330         and created ElementEdit instead.
33331         (insertUpdate): Added check for fracturing. If the
33332         fracturing was not successful, we should push the
33333         last element back on the stack.
33334         (insertParagraph): Fixed call to getEditForParagraphAndIndex.
33335         Also, changed replace calls to use Edit.
33336         (insertFirstContentTag): Removed unneeded check and fixed call
33337         to recreateLeaves.
33338         (insertContent): Fixed check to use new fields. Added code in
33339         to check if leaves overlap.
33340         (createFracture): Fixed call to recreateLeaves.
33341         (recreateLeaves): Fixed code and cleaned it up a bit.
33342         (insertFracture): Set fracNotCreated field.
33343         (addEdit): Removed, this method is not needed.
33344   
33345 2006-01-30  Roman Kennke  <kennke@aicas.com>
33346   
33347         * javax/swing/JRootPane.java
33348         (RootLayout.prefSize): Removed caching for preferredSize.
33349         (RootLayout.invalidateLayout): Likewise.
33350         (RootLayout.preferredLayoutSize): Likewise.     
33351   
33352 2006-01-30  Roman Kennke  <kennke@aicas.com>
33353   
33354         PR classpath/26035
33355         * javax/swing/JFrame.java
33356         (frameInit): Handle the defaultLookAndFeelDecorated flag.
33357         * javax/swing/plaf/metal/MetalRootPaneUI.java
33358         (MetalFrameBorder): New inner class, provides the border for
33359         top level containers with L&F decorations.
33360         (MetalTitlePane): New inner class, provides the title pane for
33361         top level containers with L&F decorations.
33362         (MetalRootLayout): New inner class. Used to layout the root pane
33363         when L&F window decorations are enabled.
33364         (installUI): New method. Handles window decorations.
33365         (uninstallUI): New method. Handles window decorations.
33366         (propertyChange): Handles window decorations.
33367         (installWindowDecorations): New method. Handles window
33368         decorations.
33369         (uninstallWindowDecorations): New method. Handles window
33370         decorations.
33371         * javax/swing/plaf/metal/MetalLookAndFeel.java
33372         (getSupportsWindowDecorations): Overridden to return true.
33373
33374 2006-01-30  Mark Wielaard  <mark@klomp.org>
33375
33376         * javax/swing/JProgressBar.java (JProgressBar(int)): Document
33377         IllegalArgumentException when orientation is illegal.
33378         (JProgressBar(int, int, int)): Likewise and throw exception.
33379         (setOrientation): Likewise.
33380   
33381 2006-01-30  Roman Kennke  <kennke@aicas.com>
33382   
33383         * javax/swing/ViewportLayout.java
33384         (minimumLayoutSize): Rewritten to unconditionally return (4,4).
33385   
33386 2006-01-30  Mark Wielaard  <mark@klomp.org>
33387   
33388         * javax/swing/JProgressBar.java (orientation): Always set by
33389         constructor.
33390         (JProgressBar(int)): Document default on 'illegal' value.
33391         (JProgressBar(int, int, int)): Likewise and set orientation to
33392         HORIZONTAL when 'illegal'.
33393         (setOrientation): Likewise.
33394   
33395 2006-01-30  Roman Kennke  <kennke@aicas.com>
33396   
33397         * javax/swing/plaf/basic/BasicListUI.java
33398         (ListDataHandler.contentsChanged): Update the
33399         updateLayoutStateNeeded flag.
33400         (ListDataHandler.intervalAdded): Update the
33401         updateLayoutStateNeeded flag.
33402         (ListDataHandler.intervalRemoved): Update the
33403         updateLayoutStateNeeded flag.
33404         (PropertyChangeHandler.propertyChange): Correctly update the
33405         listeners on new list model.
33406         (maybeUpdateLayoutState): Don't consider the validation state
33407         of the list.
33408   
33409 2006-01-30  Mark Wielaard  <mark@klomp.org>
33410   
33411         * gnu/xml/transform/ApplyTemplatesNode.java (clone): Check whether
33412         sortKeys is null.
33413   
33414 2006-01-30  Roman Kennke  <kennke@aicas.com>
33415   
33416         * javax/swing/JLayeredPane.java
33417         (insertIndexForLayer): Fixed algorithm to correctly insert
33418         components within different layers and -1 position.
33419   
33420 2006-01-30  Mark Wielaard  <mark@klomp.org>
33421   
33422         * doc/api/Makefile.am (create_html): Add -validhtml.
33423   
33424 2006-01-30  Roman Kennke  <kennke@aicas.com>
33425   
33426         * javax/swing/JLayeredPane.java
33427         (insertIndexForLayer): Fixed algorithm to correctly insert
33428         components within same layer and -1 position.
33429   
33430 2006-01-30  Ito Kazumitsu  <kaz@maczuka.gcd.org>
33431   
33432         Fixes bug #24876
33433         * gnu/regexp/gnu/regexp/RE.java(REG_TRY_ENTIRE_MATCH):
33434         New execution flag.
33435         (getMatchImpl): if REG_TRY_ENTIRE_MATCH is set, add an
33436         implicit RETokenEnd at the end of the regexp chain.
33437         Do not select the longest match, but select the first match.
33438         (match): Do not take care of REMatch.empty.
33439         * gnu/regexp/REMatch.java(empty): To be used only in RETokenRepeated.
33440         * gnu/regexp/RETokenOneOf.java: Corrected a typo in a comment.
33441         * gnu/regexp/RETokenBackRef.java: Do not take care of REMatch.empty.
33442         * gnu/regexp/RETokenRepeated.java (match): Rewrote stingy matching.
33443         Do not take care of REMatch.empty. Set and check REMatch.empty
33444         when trying to match the single token.
33445
33446 2006-01-30  Mark Wielaard  <mark@klomp.org>
33447
33448         * java/awt/Cursor.java (toString): Include name and type.
33449
33450 2006-01-30  Raif S. Naffah  <raif@swiftdsl.com.au>
33451
33452         * gnu/javax/crypto/mac/HMac.java (clone): Clone ipadHash, opadHash, and
33453         the ipad buffer.
33454         * gnu/javax/crypto/mac/BaseMac.java (clone): Clone underlyingHash.
33455   
33456 2006-01-30  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
33457         
33458         PR 26027
33459         * javax/swing/plaf/basic/BasicListUI.java  (maybeUpdateLayoutState):
33460         Consider the validation state of the list. 
33461
33462 2006-01-29  Robert Schuster  <robertschuster@fsfe.org>
33463
33464         * gnu/java/beans/DefaultExceptionListener.java: Constant public field
33465         INSTANCE added.
33466         * java/beans/XMLDecoder.java:
33467         (setExceptionListener): Use shared DefaultExceptionListener
33468         instance.
33469         * java/beans/Encoder.java:
33470         (setExceptionListener): Use shared DefaultExceptionListener
33471         instance.
33472   
33473 2006-01-29  Roman Kennke  <kennke@aicas.com>
33474   
33475         * javax/swing/ScrollPaneLayout.java
33476         (minimumLayoutSize): Rewritten to match JDKs behaviour.
33477   
33478 2006-01-29  Mark Wielaard  <mark@klomp.org>
33479   
33480         * java/net/SocketPermission.java (setActions): Trim and lower case
33481         action.
33482   
33483 2006-01-29  Raif S. Naffah  <raif@swiftdsl.com.au>
33484   
33485         * gnu/java/security/util/Prime2.java (passEulerCriterion): Was
33486         incorrectly failing primality test for some known primes. Fixed.
33487         (passFermatLittleTheorem): Removed.
33488         (passMillerRabin): Removed.
33489         (isProbablePrime): Cache primes that pass the primality tests.
33490         Use BigInteger.isProbablePrime(int) for primality tests.
33491         (debugBI): New static debugging method.
33492   
33493 2006-01-28  Roman Kennke  <kennke@aicas.com>
33494   
33495         * javax/swing/plaf/basic/BasicListUI.java
33496         (updateLayoutState): Removed unneeded special case for VERTICAL.
33497   
33498 2006-01-28  Roman Kennke  <kennke@aicas.com>
33499   
33500         * javax/swing/plaf/basic/BasicListUI.java
33501         (getCellBounds): Determine correct list width when having a
33502         layoutOrientation of VERTICAL.
33503         (maybeUpdateLayoutState): Don't consider the validation state of
33504         the list.
33505   
33506 2006-01-28  Mark Wielaard  <mark@klomp.org>
33507   
33508         Reported by Dimitri Fontaine <dimitri@dalibo.com>
33509         * java/awt/print/NoPrinterJob.java: New (fake) class.
33510         * java/awt/print/PrinterJob.java (getPrinterJob): Return NoPrinterJob.
33511   
33512 2006-01-28  Mark Wielaard  <mark@klomp.org>
33513   
33514         * gnu/javax/crypto/mac/HMac.java (clone): Cast cloned ipad to byte[].
33515   
33516 2006-01-28  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
33517   
33518         * gnu/classpath/examples/swing/Demo.java (mkTree): Make a larger tree.
33519         (addChildren): New method.
33520   
33521 2006-01-28  Raif S. Naffah  <raif@swiftdsl.com.au>
33522   
33523         * gnu/javax/crypto/jce/mac/MacAdapter.java (MacAdapter(IMac, Map)): New
33524         constructor for cloning purposes.
33525         (clone): New implementation that ensures cloning.
33526         * gnu/javax/crypto/mac/HMac.java (clone): Implement Cloneable.
33527         * gnu/java/security/Registry.java: Changed value of GNU_SECURITY to
33528           "GNU".
33529   
33530 2006-01-27  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
33531   
33532         * javax/swing/plaf/basic/BasicTreeUI.java (updateCachedPreferredSize):
33533         Call updateCurrentVisiblePath.
33534   
33535 2006-01-27  Roman Kennke  <kennke@aicas.com>
33536   
33537         * examples/gnu/classpath/examples/swing/MiniDemo.java: New file.
33538   
33539 2006-01-27  Roman Kennke  <kennke@aicas.com>
33540   
33541         * examples/gnu/classpath/examples/swing/ButtonDemo.java
33542         (createContent): Only create new content if we don't have one
33543         already.
33544         * examples/gnu/classpath/examples/swing/ComboBoxDemo.java
33545         (createContent): Only create new content if we don't have one
33546         already.
33547         * examples/gnu/classpath/examples/swing/FileChooserDemo.java
33548         (createContent): Only create new content if we don't have one
33549         already.
33550         * examples/gnu/classpath/examples/swing/ScrollBarDemo.java
33551         (createContent): Only create new content if we don't have one
33552         already.
33553         * examples/gnu/classpath/examples/swing/SliderDemo.java
33554         (createContent): Only create new content if we don't have one
33555         already.
33556         * examples/gnu/classpath/examples/swing/TableDemo.java
33557         (createContent): Only create new content if we don't have one
33558         already.
33559         * examples/gnu/classpath/examples/swing/TextFieldDemo.java
33560         (createContent): Only create new content if we don't have one
33561         already.
33562   
33563 2006-01-27  Lillian Angel  <langel@redhat.com>
33564   
33565         * javax/swing/text/DefaultStyledDocument.java
33566         (insertFirstContentTag): Removed check, not needed. This
33567         still needs to be fixed for some cases. Added call to
33568         recreateLeaves.
33569         (createFracture): Added call to recreateLeaves.
33570         (recreateLeaves): New method used to recreate all the
33571         leaves after the initial insertion. This still needs 
33572         more work.
33573         (handleInsertAfterNewline): Removed else, not needed.
33574   
33575 2006-01-27  Roman Kennke  <kennke@aicas.com>
33576   
33577         * javax/swing/JLayeredPane.java
33578         (inserIndexForLayer): Fixed direction of search.
33579   
33580 2006-01-27  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
33581   
33582         * javax/swing/JTree.java (constructor): Put EXPANDED for the root 
33583         node into nodeStates.
33584   
33585 2006-01-27  Roman Kennke  <kennke@aicas.com>
33586   
33587         * javax/swing/JLayeredPane.java
33588         (FRAME_CONTENT_LAYER): Made field final.
33589         (componentToLayer): Made field private.
33590         (rectCache): Removed field.
33591         (layers): Removed field.
33592         (JLayeredPane()): Removed initialization of removed fields.
33593         (getLayer): Rewritten to make use of client properties in
33594         JComponents and to be more straighforward.
33595         (static getLayer): Rewritten to make use of client properties in
33596         JComponents.
33597         (layerToRange): Removed method.
33598         (incrLayer): Removed method.
33599         (decrLayer): Removed method.
33600         (highestLayer): Rewritten to be more straightforward.
33601         (lowestLayer): Rewritten to be more straightforward.
33602         (getPosition): Rewritten to be more straightforward.
33603         (getComponentsInLayer): Rewritten to be more straightforward.
33604         (getComponentCountInLayer): Rewritten to be more straightforward.
33605         (getIndexOf): Rewritten to be more straightforward.
33606         (inserIndexForLayer): Rewritten to be more straightforward.
33607         (remove): Rewritten to be more straightforward.
33608         (setLayer): Rewritten to be more straightforward.
33609         (addImpl): Rewritten to be more straightforward.
33610         (putLayer): Rewritten to be more straightforward.
33611
33612 2006-01-27  Anthony Balkissoon  <abalkiss@redhat.com>
33613
33614         * java/lang/Character.java:
33615         (offsetByCodePoints(CharSequence, int, int)): New API method.
33616         (offsetByCodePoints(char[], int, int, int, int)): Likewise.
33617         (toChars): Throw the Exception that the docs say we throw.
33618         (codePointAt): Fixed an off-by-one error in the bounds of the if 
33619         statement.
33620         * java/lang/String.java:
33621         (String(int[], int, int)): New API constructor.
33622   
33623 2006-01-27  Lillian Angel  <langel@redhat.com>
33624   
33625         * javax/swing/text/DefaultStyledDocument.java
33626         (insert): Moved this loop to insertUpdate.
33627         (insertUpdate): Likewise. Fixed variable
33628         names. Incremented pos if new paragraph
33629         is inserted.
33630         (split): Changed edits to use replace instead. Prevents
33631         assertion errors.
33632         (insertFirstContentTag): Removed else.
33633         (insertContentTag): Implemented else for JoinNextDirection.
33634         (createFracture): Fixed up code, still not fully complete.
33635         (insertFracture): Fixed to use return value from 
33636         recreateAfterFracture.
33637         (recreateAfterFracture): Changed to return an array of the
33638         elements to be added. This prevents an assertion error.
33639         (contains): New function checks if an element is already in 
33640         the Vector. Vector's contain function was not enough to use.
33641         (addAddedElement): Changed to use new contains function.
33642         (addAddedElements): Likewise.
33643         (addRemovedElement): Likewise.
33644         (addRemovedElements): Likewise.        
33645         
33646 2006-01-27  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
33647
33648         PR 25520
33649         * vm/reference/java/io/VMObjectInputStream.java (loaderAction.run):
33650         If no user class loaders found on the stack, return the thread 
33651         context class loader. (currentClassLoader): Explained.
33652   
33653 2006-01-27  Roman Kennke  <kennke@aicas.com>
33654   
33655         * java/awt/Container.java
33656         (swapComponents): Removed unspecified method.
33657         * javax/swing/JLayeredPane.java
33658         (setPosition): Reimplemented correctly.
33659         (swapComponents): New helper method.
33660   
33661 2006-01-27  Mark Wielaard  <mark@klomp.org>
33662   
33663         * configure.ac: Set version to 0.21-pre.
33664   
33665 2006-01-27  Roman Kennke  <kennke@aicas.com>
33666   
33667         PR classpath/25968
33668         * javax/swing/JComponent.java
33669         (findOverlapFreeParent): Improved the algorithm to make better use
33670         of the optimizedDrawingEnabled flag.
33671         * javax/swing/JLayeredPane.java
33672         (isOptimizedDrawingEnabled): Reimplemented to match the specs.
33673         * javax/swing/JViewport.java
33674         (computeBlit): Fixed check to decide if blitting is possible or not,
33675         so that it doesn't blit if nothing was scrolled (in order to
33676         update the buffer when the view updates itself).
33677   
33678 2006-01-27  Roman Kennke  <kennke@aicas.com>
33679   
33680         * javax/swing/plaf/metal/MetalFileChooserUI.java
33681         (createList): Don't set scrollbar policy.
33682   
33683 2006-01-27  Roman Kennke  <kennke@aicas.com>
33684   
33685         * javax/swing/plaf/basic/BasicPopupMenuUI.java
33686         (PopupMenuHandler.popupMenuWillBecomeInvisible):
33687         Fixed to also handle non-Swing toplevel containers.
33688         (PopupMenuHandler.popupMenuWillBecomeVisible):
33689         Fixed to also handle non-Swing toplevel containers.
33690         * javax/swing/Popup.java
33691         (JWindowPopup.JWindowPopup()): Correctly set parent window on
33692         popup.
33693   
33694 2006-01-27  Roman Kennke  <kennke@aicas.com>
33695   
33696         * javax/swing/plaf/basic/BasicInternalFrameUI.java
33697         (InternalFramePropertyChangeListener): Don't implement
33698         VetoableChangeListener.
33699         (InternalFramePropertyChangeListener.vetoableChange): Removed.
33700         (internalFrameVetoableChangeListener): Removed unneeded field.
33701         (installListeners): Don't install vetoableChangeListener.
33702         * javax/swing/event/DocumentEvent.java
33703         (EventType): Made class final.
33704   
33705 2006-01-27  Roman Kennke  <kennke@aicas.com>
33706   
33707         * javax/swing/SwingUtilities.java
33708         (calculateInsetArea): Removed unneeded method. The method
33709         calculateInnerArea has the same purpose and is actually specified.
33710         (calculateInnerArea): Rewritten to not use calculateInsetArea.
33711         * javax/swing/plaf/basic/BasicMenuItemUI.java
33712         (paintMenuItem): Use SwingUtilities.calculateInnerArea() instead
33713         of SwingUtilities.calculateInsetArea().
33714   
33715 2006-01-27  Roman Kennke  <kennke@aicas.com>
33716   
33717         * javax/swing/plaf/basic/BasicTreeUI.java
33718         (installDefaults): Removed requestFocusInWindow() call.
33719         * javax/swing/JComponent.java
33720         (requestFocusInWindow(boolean)): Made method protected.
33721         (printComponent): Made method protected.
33722         (printChildren): Made method protected.
33723         (printComponent): Made method protected.
33724         (printBorder): Made method protected.
33725   
33726 2006-01-27  Roman Kennke  <kennke@aicas.com>
33727   
33728         * javax/swing/AbstractButton.java
33729         (ButtonChangeListener.ButtonChangeListener()): Made constructor
33730         package private.
33731         * javax/swing/ImageIcon.java
33732         (component): Made field final.
33733         (tracker): Made field final.
33734         * javax/swing/JApplet.java
33735         (AccessibleJApplet.AccessibleJApplet): Made constructor protected.
33736         * javax/swing/JCheckBox.java
33737         (AccessibleJCheckBox.AccessibleJCheckBox): Made constructor
33738         protected.
33739         * javax/swing/JDialog.java
33740         (AccessibleJDialog.AccessibleJDialog): Made constructor protected.
33741         * javax/swing/JFrame.java
33742         (AccessibleJFrame.AccessibleJFrame): Made constructor protected.
33743         * javax/swing/JLayeredPane.java
33744         (AccessibleJLayered.AccessibleJLayeredPane): Made constructor
33745         protected.
33746         (DEFAULT_LAYER): Made field final.
33747         (PALETTE_LAYER): Made field final.
33748         (MODAL_LAYER): Made field final.
33749         (POPUP_LAYER): Made field final.
33750         (DRAG_LAYER): Made field final.
33751         * javax/swing/JMenu.java
33752         (ActionChangeListener): Made class private.
33753         * javax/swing/JOptionPane.java
33754         (UNITITIALIZED_VALUE): Made field final.
33755         * javax/swing/JPanel.java
33756         (AccessibleJPanel.AccessibleJPanel): Made constructor protected.
33757         * javax/swing/JPopupMenu.java
33758         (ActionChangeListener): Made class private.
33759         * javax/swing/JTree.java
33760         (paramString): Made method protected.
33761         * javax/swing/JViewport.java
33762         (AccessibleJViewport.AccessibleJViewport): Made constructor protected.
33763         * javax/swing/JWindow.java
33764         (AccessibleJWindow.AccessibleJWindow): Made constructor protected.
33765         * javax/swing/RepaintManager.java
33766         (RepaintWorker): Made class private.
33767   
33768 2006-01-27  Roman Kennke  <kennke@aicas.com>
33769   
33770         * gnu/java/awt/peer/swing/SwingComponentPeer.java
33771         (handleEvent): Removed debug statement.
33772   
33773 2006-01-27  Roman Kennke  <kennke@aicas.com>
33774   
33775         * java/awt/Component.java
33776         (coalescePaintEvents): Don't try to optimize coalescing. This hurts
33777         more than it helps.
33778   
33779 2006-01-26  Lillian Angel  <langel@redhat.com>
33780   
33781         * javax/swing/text/DefaultStyledDocument.java
33782         (createFracture): Commented out a known problem,
33783         added FIXME tag.
33784   
33785 2006-01-26  Lillian Angel  <langel@redhat.com>
33786   
33787         * javax/swing/text/DefaultStyledDocument.java
33788         (ElementBuffer): Added fields.
33789         (remove): Initialized pos.
33790         (change): Likewise.
33791         (insert): Likewise.
33792         (insertUpdate): Incremented pos. Fixed check, createFracture should
33793         be called on first tag if it is not ContentType.
33794         (insertFirstContentTag): Reworked to use proper offsets and
33795         set offset accordingly. This might need more work in the future.
33796         (insertContentTag): Likewise. Fixed to use pos, instead of 
33797         offset.
33798         (createFracture): Fixed to recreate other leaves. Still needs
33799         more work.
33800         (insertFracture): Reimplemented.
33801         (recreateAfterFracture): New method.
33802         (getParagraphElement): Reimplemented, more efficent.
33803
33804 2006-01-26  Christian Thalinger  <twisti@complang.tuwien.ac.at>
33805
33806         * native/jni/java-lang/java_lang_VMDouble.c (doubleToLongBits)
33807         (doubleToRawLongBits, longBitsToDouble): Swap the byte
33808         ordering for little-endian arms without VFP.
33809
33810 2006-01-26  Raif S. Naffah  <raif@swiftdsl.com.au>
33811
33812         PR classpath/25981
33813         * gnu/javax/crypto/jce/GnuCrypto.java (run): Added KeyGenerator entries.
33814
33815 2006-01-26  Mark Wielaard  <mark@klomp.org>
33816
33817         Fixes bug #25970 reported by Michael Kay <mike@saxonica.com>
33818         * java/math/BigDecimal.java (compareTo): Don't strip trailing zeros.
33819         Add trailing zeros to the fraction of the decimal with the smallest
33820         scale.
33821
33822 2006-01-26  Roman Kennke  <kennke@aicas.com>
33823
33824         * javax/swing/text/html/ObjectView.java: New file.
33825
33826 2006-01-26  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
33827
33828         * javax/swing/plaf/basic/BasicTreeUI.java (MouseHandler.mousePressed): 
33829         Call startEditing when appropriate.
33830         (WAIT_TILL_EDITING, EDIT, startEditTimer): New fields.
33831         (startEditing): Always edit if directly ordered from 
33832         MouseHandler.mousePressed.
33833         * javax/swing/tree/DefaultTreeCellEditor.java (CLICK_COUNT_TO_START): 
33834         New field. (createTreeCellEditor): Set click count to start.
33835         (getTreeCellEditorComponent): Assing realEditor directly.
33836
33837 2006-01-25  Casey Marshall  <csm@gnu.org>
33838
33839         Merging GNU Crypto and Jessie.
33840
33841         * NEWS: mention the merge in the 0.21 notes.
33842         * gnu/classpath/debug/Component.java (SSL_APPLICATION): removed.
33843         (SSL_RECORD_LAYER): new constants.
33844         * gnu/java/security/provider/Gnu.java (<init>): add new algorithms
33845         to provider.
33846         * resource/java/security/classpath.security: add new providers.
33847         * gnu/javax/crypto/assembly/Assembly.java,
33848         gnu/javax/crypto/assembly/Cascade.java,
33849         gnu/javax/crypto/assembly/CascadeStage.java,
33850         gnu/javax/crypto/assembly/CascadeTransformer.java,
33851         gnu/javax/crypto/assembly/DeflateTransformer.java,
33852         gnu/javax/crypto/assembly/Direction.java,
33853         gnu/javax/crypto/assembly/LoopbackTransformer.java,
33854         gnu/javax/crypto/assembly/ModeStage.java,
33855         gnu/javax/crypto/assembly/Operation.java,
33856         gnu/javax/crypto/assembly/PaddingTransformer.java,
33857         gnu/javax/crypto/assembly/Stage.java,
33858         gnu/javax/crypto/assembly/Transformer.java,
33859         gnu/javax/crypto/assembly/TransformerException.java,
33860         gnu/javax/crypto/cipher/Anubis.java,
33861         gnu/javax/crypto/cipher/BaseCipher.java,
33862         gnu/javax/crypto/cipher/Blowfish.java,
33863         gnu/javax/crypto/cipher/Cast5.java,
33864         gnu/javax/crypto/cipher/CipherFactory.java,
33865         gnu/javax/crypto/cipher/DES.java,
33866         gnu/javax/crypto/cipher/IBlockCipher.java,
33867         gnu/javax/crypto/cipher/IBlockCipherSpi.java,
33868         gnu/javax/crypto/cipher/Khazad.java,
33869         gnu/javax/crypto/cipher/NullCipher.java,
33870         gnu/javax/crypto/cipher/Rijndael.java,
33871         gnu/javax/crypto/cipher/Serpent.java,
33872         gnu/javax/crypto/cipher/Square.java,
33873         gnu/javax/crypto/cipher/TripleDES.java,
33874         gnu/javax/crypto/cipher/Twofish.java,
33875         gnu/javax/crypto/cipher/WeakKeyException.java,
33876         gnu/javax/crypto/jce/GnuCrypto.java,
33877         gnu/javax/crypto/jce/GnuSasl.java,
33878         gnu/javax/crypto/jce/PBKDF2SecretKeyFactory.java,
33879         gnu/javax/crypto/jce/cipher/AESSpi.java,
33880         gnu/javax/crypto/jce/cipher/ARCFourSpi.java,
33881         gnu/javax/crypto/jce/cipher/AnubisSpi.java,
33882         gnu/javax/crypto/jce/cipher/BlowfishSpi.java,
33883         gnu/javax/crypto/jce/cipher/Cast5Spi.java,
33884         gnu/javax/crypto/jce/cipher/CipherAdapter.java,
33885         gnu/javax/crypto/jce/cipher/DESSpi.java,
33886         gnu/javax/crypto/jce/cipher/KhazadSpi.java,
33887         gnu/javax/crypto/jce/cipher/NullCipherSpi.java,
33888         gnu/javax/crypto/jce/cipher/PBES2.java,
33889         gnu/javax/crypto/jce/cipher/RijndaelSpi.java,
33890         gnu/javax/crypto/jce/cipher/SerpentSpi.java,
33891         gnu/javax/crypto/jce/cipher/SquareSpi.java,
33892         gnu/javax/crypto/jce/cipher/TripleDESSpi.java,
33893         gnu/javax/crypto/jce/cipher/TwofishSpi.java,
33894         gnu/javax/crypto/jce/key/AnubisKeyGeneratorImpl.java,
33895         gnu/javax/crypto/jce/key/AnubisSecretKeyFactoryImpl.java,
33896         gnu/javax/crypto/jce/key/BlowfishKeyGeneratorImpl.java,
33897         gnu/javax/crypto/jce/key/BlowfishSecretKeyFactoryImpl.java,
33898         gnu/javax/crypto/jce/key/Cast5KeyGeneratorImpl.java,
33899         gnu/javax/crypto/jce/key/Cast5SecretKeyFactoryImpl.java,
33900         gnu/javax/crypto/jce/key/DESKeyGeneratorImpl.java,
33901         gnu/javax/crypto/jce/key/DESSecretKeyFactoryImpl.java,
33902         gnu/javax/crypto/jce/key/DESedeSecretKeyFactoryImpl.java,
33903         gnu/javax/crypto/jce/key/KhazadKeyGeneratorImpl.java,
33904         gnu/javax/crypto/jce/key/KhazadSecretKeyFactoryImpl.java,
33905         gnu/javax/crypto/jce/key/RijndaelKeyGeneratorImpl.java,
33906         gnu/javax/crypto/jce/key/RijndaelSecretKeyFactoryImpl.java,
33907         gnu/javax/crypto/jce/key/SecretKeyFactoryImpl.java,
33908         gnu/javax/crypto/jce/key/SecretKeyGeneratorImpl.java,
33909         gnu/javax/crypto/jce/key/SerpentKeyGeneratorImpl.java,
33910         gnu/javax/crypto/jce/key/SerpentSecretKeyFactoryImpl.java,
33911         gnu/javax/crypto/jce/key/SquareKeyGeneratorImpl.java,
33912         gnu/javax/crypto/jce/key/SquareSecretKeyFactoryImpl.java,
33913         gnu/javax/crypto/jce/key/TripleDESKeyGeneratorImpl.java,
33914         gnu/javax/crypto/jce/key/TwofishKeyGeneratorImpl.java,
33915         gnu/javax/crypto/jce/key/TwofishSecretKeyFactoryImpl.java,
33916         gnu/javax/crypto/jce/keyring/GnuKeyring.java,
33917         gnu/javax/crypto/jce/mac/HMacHavalSpi.java,
33918         gnu/javax/crypto/jce/mac/HMacMD2Spi.java,
33919         gnu/javax/crypto/jce/mac/HMacMD4Spi.java,
33920         gnu/javax/crypto/jce/mac/HMacMD5Spi.java,
33921         gnu/javax/crypto/jce/mac/HMacRipeMD128Spi.java,
33922         gnu/javax/crypto/jce/mac/HMacRipeMD160Spi.java,
33923         gnu/javax/crypto/jce/mac/HMacSHA160Spi.java,
33924         gnu/javax/crypto/jce/mac/HMacSHA256Spi.java,
33925         gnu/javax/crypto/jce/mac/HMacSHA384Spi.java,
33926         gnu/javax/crypto/jce/mac/HMacSHA512Spi.java,
33927         gnu/javax/crypto/jce/mac/HMacTigerSpi.java,
33928         gnu/javax/crypto/jce/mac/HMacWhirlpoolSpi.java,
33929         gnu/javax/crypto/jce/mac/MacAdapter.java,
33930         gnu/javax/crypto/jce/mac/OMacAnubisImpl.java,
33931         gnu/javax/crypto/jce/mac/OMacBlowfishImpl.java,
33932         gnu/javax/crypto/jce/mac/OMacCast5Impl.java,
33933         gnu/javax/crypto/jce/mac/OMacDESImpl.java,
33934         gnu/javax/crypto/jce/mac/OMacImpl.java,
33935         gnu/javax/crypto/jce/mac/OMacKhazadImpl.java,
33936         gnu/javax/crypto/jce/mac/OMacRijndaelImpl.java,
33937         gnu/javax/crypto/jce/mac/OMacSerpentImpl.java,
33938         gnu/javax/crypto/jce/mac/OMacSquareImpl.java,
33939         gnu/javax/crypto/jce/mac/OMacTripleDESImpl.java,
33940         gnu/javax/crypto/jce/mac/OMacTwofishImpl.java,
33941         gnu/javax/crypto/jce/mac/TMMH16Spi.java,
33942         gnu/javax/crypto/jce/mac/UHash32Spi.java,
33943         gnu/javax/crypto/jce/mac/UMac32Spi.java,
33944         gnu/javax/crypto/jce/params/BlockCipherParameters.java,
33945         gnu/javax/crypto/jce/params/DEREncodingException.java,
33946         gnu/javax/crypto/jce/params/DERReader.java,
33947         gnu/javax/crypto/jce/params/DERWriter.java,
33948         gnu/javax/crypto/jce/prng/ARCFourRandomSpi.java,
33949         gnu/javax/crypto/jce/prng/CSPRNGSpi.java,
33950         gnu/javax/crypto/jce/prng/FortunaImpl.java,
33951         gnu/javax/crypto/jce/prng/ICMRandomSpi.java,
33952         gnu/javax/crypto/jce/prng/UMacRandomSpi.java,
33953         gnu/javax/crypto/jce/spec/BlockCipherParameterSpec.java,
33954         gnu/javax/crypto/jce/spec/TMMHParameterSpec.java,
33955         gnu/javax/crypto/jce/spec/UMac32ParameterSpec.java,
33956         gnu/javax/crypto/key/BaseKeyAgreementParty.java,
33957         gnu/javax/crypto/key/GnuSecretKey.java,
33958         gnu/javax/crypto/key/IKeyAgreementParty.java,
33959         gnu/javax/crypto/key/IncomingMessage.java,
33960         gnu/javax/crypto/key/KeyAgreementException.java,
33961         gnu/javax/crypto/key/KeyAgreementFactory.java,
33962         gnu/javax/crypto/key/OutgoingMessage.java,
33963         gnu/javax/crypto/key/dh/DHKeyPairRawCodec.java,
33964         gnu/javax/crypto/key/dh/DiffieHellmanKeyAgreement.java,
33965         gnu/javax/crypto/key/dh/DiffieHellmanReceiver.java,
33966         gnu/javax/crypto/key/dh/DiffieHellmanSender.java,
33967         gnu/javax/crypto/key/dh/ElGamalKeyAgreement.java,
33968         gnu/javax/crypto/key/dh/ElGamalReceiver.java,
33969         gnu/javax/crypto/key/dh/ElGamalSender.java,
33970         gnu/javax/crypto/key/dh/GnuDHKey.java,
33971         gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java,
33972         gnu/javax/crypto/key/dh/GnuDHPrivateKey.java,
33973         gnu/javax/crypto/key/dh/GnuDHPublicKey.java,
33974         gnu/javax/crypto/key/dh/RFC2631.java,
33975         gnu/javax/crypto/key/srp6/SRP6Host.java,
33976         gnu/javax/crypto/key/srp6/SRP6KeyAgreement.java,
33977         gnu/javax/crypto/key/srp6/SRP6SaslClient.java,
33978         gnu/javax/crypto/key/srp6/SRP6SaslServer.java,
33979         gnu/javax/crypto/key/srp6/SRP6TLSClient.java,
33980         gnu/javax/crypto/key/srp6/SRP6TLSServer.java,
33981         gnu/javax/crypto/key/srp6/SRP6User.java,
33982         gnu/javax/crypto/key/srp6/SRPAlgorithm.java,
33983         gnu/javax/crypto/key/srp6/SRPKey.java,
33984         gnu/javax/crypto/key/srp6/SRPKeyPairGenerator.java,
33985         gnu/javax/crypto/key/srp6/SRPKeyPairRawCodec.java,
33986         gnu/javax/crypto/key/srp6/SRPPrivateKey.java,
33987         gnu/javax/crypto/key/srp6/SRPPublicKey.java,
33988         gnu/javax/crypto/keyring/AuthenticatedEntry.java,
33989         gnu/javax/crypto/keyring/BaseKeyring.java,
33990         gnu/javax/crypto/keyring/BinaryDataEntry.java,
33991         gnu/javax/crypto/keyring/CertPathEntry.java,
33992         gnu/javax/crypto/keyring/CertificateEntry.java,
33993         gnu/javax/crypto/keyring/CompressedEntry.java,
33994         gnu/javax/crypto/keyring/EncryptedEntry.java,
33995         gnu/javax/crypto/keyring/Entry.java,
33996         gnu/javax/crypto/keyring/EnvelopeEntry.java,
33997         gnu/javax/crypto/keyring/GnuPrivateKeyring.java,
33998         gnu/javax/crypto/keyring/GnuPublicKeyring.java,
33999         gnu/javax/crypto/keyring/IKeyring.java,
34000         gnu/javax/crypto/keyring/IPrivateKeyring.java,
34001         gnu/javax/crypto/keyring/IPublicKeyring.java,
34002         gnu/javax/crypto/keyring/MalformedKeyringException.java,
34003         gnu/javax/crypto/keyring/MaskableEnvelopeEntry.java,
34004         gnu/javax/crypto/keyring/MeteredInputStream.java,
34005         gnu/javax/crypto/keyring/PasswordAuthenticatedEntry.java,
34006         gnu/javax/crypto/keyring/PasswordEncryptedEntry.java,
34007         gnu/javax/crypto/keyring/PasswordProtectedEntry.java,
34008         gnu/javax/crypto/keyring/PrimitiveEntry.java,
34009         gnu/javax/crypto/keyring/PrivateKeyEntry.java,
34010         gnu/javax/crypto/keyring/Properties.java,
34011         gnu/javax/crypto/keyring/PublicKeyEntry.java,
34012         gnu/javax/crypto/mac/BaseMac.java,
34013         gnu/javax/crypto/mac/HMac.java,
34014         gnu/javax/crypto/mac/HMacFactory.java,
34015         gnu/javax/crypto/mac/IMac.java,
34016         gnu/javax/crypto/mac/MacFactory.java,
34017         gnu/javax/crypto/mac/MacInputStream.java,
34018         gnu/javax/crypto/mac/MacOutputStream.java,
34019         gnu/javax/crypto/mac/OMAC.java,
34020         gnu/javax/crypto/mac/TMMH16.java,
34021         gnu/javax/crypto/mac/UHash32.java,
34022         gnu/javax/crypto/mac/UMac32.java,
34023         gnu/javax/crypto/mode/BaseMode.java,
34024         gnu/javax/crypto/mode/CBC.java,
34025         gnu/javax/crypto/mode/CFB.java,
34026         gnu/javax/crypto/mode/CTR.java,
34027         gnu/javax/crypto/mode/EAX.java,
34028         gnu/javax/crypto/mode/ECB.java,
34029         gnu/javax/crypto/mode/IAuthenticatedMode.java,
34030         gnu/javax/crypto/mode/ICM.java,
34031         gnu/javax/crypto/mode/IMode.java,
34032         gnu/javax/crypto/mode/ModeFactory.java,
34033         gnu/javax/crypto/mode/OFB.java,
34034         gnu/javax/crypto/pad/BasePad.java,
34035         gnu/javax/crypto/pad/IPad.java,
34036         gnu/javax/crypto/pad/PKCS1_V1_5.java,
34037         gnu/javax/crypto/pad/PKCS7.java,
34038         gnu/javax/crypto/pad/PadFactory.java,
34039         gnu/javax/crypto/pad/SSL3.java,
34040         gnu/javax/crypto/pad/TBC.java,
34041         gnu/javax/crypto/pad/TLS1.java,
34042         gnu/javax/crypto/pad/WrongPaddingException.java,
34043         gnu/javax/crypto/prng/ARCFour.java,
34044         gnu/javax/crypto/prng/CSPRNG.java,
34045         gnu/javax/crypto/prng/Fortuna.java,
34046         gnu/javax/crypto/prng/ICMGenerator.java,
34047         gnu/javax/crypto/prng/IPBE.java,
34048         gnu/javax/crypto/prng/PBKDF2.java,
34049         gnu/javax/crypto/prng/PRNGFactory.java,
34050         gnu/javax/crypto/prng/UMacGenerator.java,
34051         gnu/javax/crypto/sasl/AuthInfo.java,
34052         gnu/javax/crypto/sasl/AuthInfoProviderFactory.java,
34053         gnu/javax/crypto/sasl/ClientFactory.java,
34054         gnu/javax/crypto/sasl/ClientMechanism.java,
34055         gnu/javax/crypto/sasl/ConfidentialityException.java,
34056         gnu/javax/crypto/sasl/IAuthInfoProvider.java,
34057         gnu/javax/crypto/sasl/IAuthInfoProviderFactory.java,
34058         gnu/javax/crypto/sasl/IllegalMechanismStateException.java,
34059         gnu/javax/crypto/sasl/InputBuffer.java,
34060         gnu/javax/crypto/sasl/IntegrityException.java,
34061         gnu/javax/crypto/sasl/NoSuchMechanismException.java,
34062         gnu/javax/crypto/sasl/NoSuchUserException.java,
34063         gnu/javax/crypto/sasl/OutputBuffer.java,
34064         gnu/javax/crypto/sasl/SaslEncodingException.java,
34065         gnu/javax/crypto/sasl/SaslInputStream.java,
34066         gnu/javax/crypto/sasl/SaslOutputStream.java,
34067         gnu/javax/crypto/sasl/SaslUtil.java,
34068         gnu/javax/crypto/sasl/ServerFactory.java,
34069         gnu/javax/crypto/sasl/ServerMechanism.java,
34070         gnu/javax/crypto/sasl/UserAlreadyExistsException.java,
34071         gnu/javax/crypto/sasl/anonymous/AnonymousClient.java,
34072         gnu/javax/crypto/sasl/anonymous/AnonymousServer.java,
34073         gnu/javax/crypto/sasl/anonymous/AnonymousUtil.java,
34074         gnu/javax/crypto/sasl/crammd5/CramMD5AuthInfoProvider.java,
34075         gnu/javax/crypto/sasl/crammd5/CramMD5Client.java,
34076         gnu/javax/crypto/sasl/crammd5/CramMD5Registry.java,
34077         gnu/javax/crypto/sasl/crammd5/CramMD5Server.java,
34078         gnu/javax/crypto/sasl/crammd5/CramMD5Util.java,
34079         gnu/javax/crypto/sasl/crammd5/PasswordFile.java,
34080         gnu/javax/crypto/sasl/plain/PasswordFile.java,
34081         gnu/javax/crypto/sasl/plain/PlainAuthInfoProvider.java,
34082         gnu/javax/crypto/sasl/plain/PlainClient.java,
34083         gnu/javax/crypto/sasl/plain/PlainRegistry.java,
34084         gnu/javax/crypto/sasl/plain/PlainServer.java,
34085         gnu/javax/crypto/sasl/srp/CALG.java,
34086         gnu/javax/crypto/sasl/srp/ClientStore.java,
34087         gnu/javax/crypto/sasl/srp/IALG.java,
34088         gnu/javax/crypto/sasl/srp/KDF.java,
34089         gnu/javax/crypto/sasl/srp/PasswordFile.java,
34090         gnu/javax/crypto/sasl/srp/SRP.java,
34091         gnu/javax/crypto/sasl/srp/SRPAuthInfoProvider.java,
34092         gnu/javax/crypto/sasl/srp/SRPClient.java,
34093         gnu/javax/crypto/sasl/srp/SRPRegistry.java,
34094         gnu/javax/crypto/sasl/srp/SRPServer.java,
34095         gnu/javax/crypto/sasl/srp/SecurityContext.java,
34096         gnu/javax/crypto/sasl/srp/ServerStore.java,
34097         gnu/javax/crypto/sasl/srp/StoreEntry.java,
34098         gnu/javax/net/ssl/Base64.java,
34099         gnu/javax/net/ssl/EntropySource.java,
34100         gnu/javax/net/ssl/NullManagerParameters.java,
34101         gnu/javax/net/ssl/PrivateCredentials.java,
34102         gnu/javax/net/ssl/SRPManagerParameters.java,
34103         gnu/javax/net/ssl/SRPTrustManager.java,
34104         gnu/javax/net/ssl/StaticTrustAnchors.java,
34105         gnu/javax/net/ssl/provider/Alert.java,
34106         gnu/javax/net/ssl/provider/AlertException.java,
34107         gnu/javax/net/ssl/provider/Certificate.java,
34108         gnu/javax/net/ssl/provider/CertificateRequest.java,
34109         gnu/javax/net/ssl/provider/CertificateType.java,
34110         gnu/javax/net/ssl/provider/CertificateVerify.java,
34111         gnu/javax/net/ssl/provider/CipherSuite.java,
34112         gnu/javax/net/ssl/provider/ClientHello.java,
34113         gnu/javax/net/ssl/provider/ClientKeyExchange.java,
34114         gnu/javax/net/ssl/provider/CompressionMethod.java,
34115         gnu/javax/net/ssl/provider/Constructed.java,
34116         gnu/javax/net/ssl/provider/ContentType.java,
34117         gnu/javax/net/ssl/provider/Context.java,
34118         gnu/javax/net/ssl/provider/DiffieHellman.java,
34119         gnu/javax/net/ssl/provider/DigestInputStream.java,
34120         gnu/javax/net/ssl/provider/DigestOutputStream.java,
34121         gnu/javax/net/ssl/provider/Enumerated.java,
34122         gnu/javax/net/ssl/provider/Extension.java,
34123         gnu/javax/net/ssl/provider/Extensions.java,
34124         gnu/javax/net/ssl/provider/Finished.java,
34125         gnu/javax/net/ssl/provider/GNUSecurityParameters.java,
34126         gnu/javax/net/ssl/provider/Handshake.java,
34127         gnu/javax/net/ssl/provider/JCESecurityParameters.java,
34128         gnu/javax/net/ssl/provider/JDBCSessionContext.java,
34129         gnu/javax/net/ssl/provider/Jessie.java,
34130         gnu/javax/net/ssl/provider/JessieDHPrivateKey.java,
34131         gnu/javax/net/ssl/provider/JessieDHPublicKey.java,
34132         gnu/javax/net/ssl/provider/JessieRSAPrivateKey.java,
34133         gnu/javax/net/ssl/provider/JessieRSAPublicKey.java,
34134         gnu/javax/net/ssl/provider/KeyPool.java,
34135         gnu/javax/net/ssl/provider/MacException.java,
34136         gnu/javax/net/ssl/provider/OverflowException.java,
34137         gnu/javax/net/ssl/provider/PRNG.java,
34138         gnu/javax/net/ssl/provider/ProtocolVersion.java,
34139         gnu/javax/net/ssl/provider/Random.java,
34140         gnu/javax/net/ssl/provider/RecordInput.java,
34141         gnu/javax/net/ssl/provider/RecordInputStream.java,
34142         gnu/javax/net/ssl/provider/RecordOutputStream.java,
34143         gnu/javax/net/ssl/provider/RecordingInputStream.java,
34144         gnu/javax/net/ssl/provider/SRPTrustManagerFactory.java,
34145         gnu/javax/net/ssl/provider/SSLHMac.java,
34146         gnu/javax/net/ssl/provider/SSLRSASignature.java,
34147         gnu/javax/net/ssl/provider/SSLRandom.java,
34148         gnu/javax/net/ssl/provider/SSLServerSocket.java,
34149         gnu/javax/net/ssl/provider/SSLServerSocketFactory.java,
34150         gnu/javax/net/ssl/provider/SSLSocket.java,
34151         gnu/javax/net/ssl/provider/SSLSocketFactory.java,
34152         gnu/javax/net/ssl/provider/SSLSocketInputStream.java,
34153         gnu/javax/net/ssl/provider/SSLSocketOutputStream.java,
34154         gnu/javax/net/ssl/provider/SecurityParameters.java,
34155         gnu/javax/net/ssl/provider/ServerHello.java,
34156         gnu/javax/net/ssl/provider/ServerKeyExchange.java,
34157         gnu/javax/net/ssl/provider/Session.java,
34158         gnu/javax/net/ssl/provider/SessionContext.java,
34159         gnu/javax/net/ssl/provider/Signature.java,
34160         gnu/javax/net/ssl/provider/SynchronizedRandom.java,
34161         gnu/javax/net/ssl/provider/TLSHMac.java,
34162         gnu/javax/net/ssl/provider/TLSRandom.java,
34163         gnu/javax/net/ssl/provider/Util.java,
34164         gnu/javax/net/ssl/provider/X509KeyManagerFactory.java,
34165         gnu/javax/net/ssl/provider/X509TrustManagerFactory.java,
34166         gnu/javax/net/ssl/provider/XMLSessionContext.java,
34167         gnu/javax/security/auth/Password.java,
34168         gnu/javax/security/auth/callback/AWTCallbackHandler.java,
34169         gnu/javax/security/auth/callback/AbstractCallbackHandler.java,
34170         gnu/javax/security/auth/callback/ConsoleCallbackHandler.java,
34171         gnu/javax/security/auth/callback/DefaultCallbackHandler.java,
34172         gnu/javax/security/auth/callback/GnuCallbacks.java,
34173         gnu/javax/security/auth/callback/SwingCallbackHandler.java,
34174         gnu/java/security/Registry.java,
34175         gnu/java/security/Properties.java,
34176         gnu/java/security/hash/BaseHash.java,
34177         gnu/java/security/hash/HashFactory.java,
34178         gnu/java/security/hash/Haval.java,
34179         gnu/java/security/hash/IMessageDigest.java,
34180         gnu/java/security/hash/MD2.java,
34181         gnu/java/security/hash/MD4.java,
34182         gnu/java/security/hash/MD5.java,
34183         gnu/java/security/hash/RipeMD128.java,
34184         gnu/java/security/hash/RipeMD160.java,
34185         gnu/java/security/hash/Sha160.java,
34186         gnu/java/security/hash/Sha256.java,
34187         gnu/java/security/hash/Sha384.java,
34188         gnu/java/security/hash/Sha512.java,
34189         gnu/java/security/hash/Tiger.java,
34190         gnu/java/security/hash/Whirlpool.java,
34191         gnu/java/security/jce/hash/HavalSpi.java,
34192         gnu/java/security/jce/hash/MD2Spi.java,
34193         gnu/java/security/jce/hash/MD4Spi.java,
34194         gnu/java/security/jce/hash/MD5Spi.java,
34195         gnu/java/security/jce/hash/MessageDigestAdapter.java,
34196         gnu/java/security/jce/hash/RipeMD128Spi.java,
34197         gnu/java/security/jce/hash/RipeMD160Spi.java,
34198         gnu/java/security/jce/hash/Sha160Spi.java,
34199         gnu/java/security/jce/hash/Sha256Spi.java,
34200         gnu/java/security/jce/hash/Sha384Spi.java,
34201         gnu/java/security/jce/hash/Sha512Spi.java,
34202         gnu/java/security/jce/hash/TigerSpi.java,
34203         gnu/java/security/jce/hash/WhirlpoolSpi.java,
34204         gnu/java/security/jce/prng/HavalRandomSpi.java,
34205         gnu/java/security/jce/prng/MD2RandomSpi.java,
34206         gnu/java/security/jce/prng/MD4RandomSpi.java,
34207         gnu/java/security/jce/prng/MD5RandomSpi.java,
34208         gnu/java/security/jce/prng/RipeMD128RandomSpi.java,
34209         gnu/java/security/jce/prng/RipeMD160RandomSpi.java,
34210         gnu/java/security/jce/prng/SecureRandomAdapter.java,
34211         gnu/java/security/jce/prng/Sha160RandomSpi.java,
34212         gnu/java/security/jce/prng/Sha256RandomSpi.java,
34213         gnu/java/security/jce/prng/Sha384RandomSpi.java,
34214         gnu/java/security/jce/prng/Sha512RandomSpi.java,
34215         gnu/java/security/jce/prng/TigerRandomSpi.java,
34216         gnu/java/security/jce/prng/WhirlpoolRandomSpi.java,
34217         gnu/java/security/jce/sig/DSSKeyPairGeneratorSpi.java,
34218         gnu/java/security/jce/sig/DSSRawSignatureSpi.java,
34219         gnu/java/security/jce/sig/KeyPairGeneratorAdapter.java,
34220         gnu/java/security/jce/sig/RSAKeyPairGeneratorSpi.java,
34221         gnu/java/security/jce/sig/RSAPSSRawSignatureSpi.java,
34222         gnu/java/security/jce/sig/SignatureAdapter.java,
34223         gnu/java/security/key/IKeyPairCodec.java,
34224         gnu/java/security/key/IKeyPairGenerator.java,
34225         gnu/java/security/key/KeyPairCodecFactory.java,
34226         gnu/java/security/key/KeyPairGeneratorFactory.java,
34227         gnu/java/security/key/dss/DSSKey.java,
34228         gnu/java/security/key/dss/DSSKeyPairGenerator.java,
34229         gnu/java/security/key/dss/DSSKeyPairRawCodec.java,
34230         gnu/java/security/key/dss/DSSPrivateKey.java,
34231         gnu/java/security/key/dss/DSSPublicKey.java,
34232         gnu/java/security/key/dss/FIPS186.java,
34233         gnu/java/security/key/rsa/GnuRSAKey.java,
34234         gnu/java/security/key/rsa/GnuRSAPrivateKey.java,
34235         gnu/java/security/key/rsa/GnuRSAPublicKey.java,
34236         gnu/java/security/key/rsa/RSAKeyPairGenerator.java,
34237         gnu/java/security/key/rsa/RSAKeyPairRawCodec.java,
34238         gnu/java/security/prng/BasePRNG.java,
34239         gnu/java/security/prng/EntropySource.java,
34240         gnu/java/security/prng/IRandom.java,
34241         gnu/java/security/prng/LimitReachedException.java,
34242         gnu/java/security/prng/MDGenerator.java,
34243         gnu/java/security/prng/PRNGFactory.java,
34244         gnu/java/security/prng/RandomEvent.java,
34245         gnu/java/security/prng/RandomEventListener.java,
34246         gnu/java/security/sig/BaseSignature.java,
34247         gnu/java/security/sig/ISignature.java,
34248         gnu/java/security/sig/ISignatureCodec.java,
34249         gnu/java/security/sig/SignatureFactory.java,
34250         gnu/java/security/sig/dss/DSSSignature.java,
34251         gnu/java/security/sig/dss/DSSSignatureRawCodec.java,
34252         gnu/java/security/sig/rsa/EME_PKCS1_V1_5.java,
34253         gnu/java/security/sig/rsa/EMSA_PKCS1_V1_5.java,
34254         gnu/java/security/sig/rsa/EMSA_PSS.java,
34255         gnu/java/security/sig/rsa/RSA.java,
34256         gnu/java/security/sig/rsa/RSAPKCS1V1_5Signature.java,
34257         gnu/java/security/sig/rsa/RSAPSSSignature.java,
34258         gnu/java/security/sig/rsa/RSAPSSSignatureRawCodec.java,
34259         gnu/java/security/util/Base64.java,
34260         gnu/java/security/util/ExpirableObject.java,
34261         gnu/java/security/util/Prime2.java,
34262         gnu/java/security/util/Sequence.java,
34263         gnu/java/security/util/SimpleList.java,
34264         gnu/java/security/util/Util.java,
34265         resource/gnu/javax/security/auth/callback/MessagesBundle.properties:
34266         new files imported from GNU Crypto and Jessie.
34267
34268 2006-01-25  Tom Tromey  <tromey@redhat.com>
34269
34270         * gnu/java/net/protocol/http/ChunkedInputStream.java (read):
34271         Fixed calculation of number of bytes to read.
34272         (size, count, meta, eof): Document.
34273
34274 2006-01-25  Anthony Balkissoon  <abalkiss@redhat.com>
34275
34276         * java/lang/Character.java:
34277         (codePointCount(char[], int, int)): New API method.
34278         (codePointCount(CharSequence, int, int)): Likewise.
34279   
34280 2006-01-25  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
34281   
34282         PR 25205
34283         * javax/swing/DefaultCellEditor.java (getTreeCellEditorComponent): 
34284         Rewritten.
34285         * javax/swing/JTree.java (stopEditing, cancelEditing): Return without 
34286         action if not editing.
34287         * javax/swing/plaf/basic/BasicTreeUI.java 
34288         (CellEditorHandler.editingCancelled): Delegate to cancelEditing.
34289         (CellEditorHandler.editingStopped): Delegate to stopEditing.
34290         (EditorUpdateTimer): Removed.
34291         (TreeAction.actionPerformed): Stop and not cancel the current editing 
34292         when starting editing another node.
34293         (editorTimer, newVal): Removed.
34294         (cancelEditing): Do not send the cancel message.
34295         (completeEditing): Obtain the edited value from the editor.
34296         (finish): New method.
34297         (paintRow): Do not paint the editing component here.
34298         (startEditing, stopEditing): Rewritten.
34299         * javax/swing/tree/DefaultTreeCellEditor.java
34300         (DefaultTextField): Added SVUID.
34301         (EditorContainer): Rewritten.
34302         (RealEditorListener): New inner class.
34303         (ICON_TEXT_GAP, TREE_ICON_GAP: New constants).
34304         (constructor): Add cell editor listener. Do not instantiate timer.
34305         (actionPerformed): Return without action.
34306         (cancelCellEditing): Rewritten.
34307         (createTreeCellEditor): Add cell editor listener to the editor.
34308         (getCellEditorValue): Request the value from the realEditor.
34309         (isCellEditable): Removed timer management.
34310         (prepareForEditing): Remove all components befor adding the 
34311         editingComponent.
34312         (startEditingTimer): Start only if it is not null.
34313         (stopCellEditing): Rewritten.
34314         (stopEditingTimer): New method.
34315         (valueChanged): Do not configure editing component here.
34316   
34317 2006-01-25  Roman Kennke  <kennke@aicas.com>
34318   
34319         * javax/swing/text/html/FormView.java: New file.
34320   
34321 2006-01-25  Roman Kennke  <kennke@aicas.com>
34322   
34323         * javax/swing/JSplitPane.java
34324         (addImpl): Call resetToPreferredSizes() when no dividerLocation
34325         has been set in order to set an initial layout.
34326         * javax/swing/plaf/basic/BasicSplitPaneUI.java
34327         (BasicHorizontalLayoutManager.layoutContainer): Fixed error for
34328         layout of the right component.
34329         (BasicHorizontalLayoutManager.resetToPreferredSizes): Set the
34330         dividerLocation to the size of the left component.
34331         (createDefaultNonContinuousLayoutDivider): Fetch the color from
34332         the UIManager.
34333         (setDividerLocation): Don't validate the location here. Sometimes
34334         the divider needs to be set to an invalid location.
34335         (startDragging): Don't revalidate and repaint here.
34336         (finishDraggingTo): Don't repaint here. Also, don't call
34337         dragDividerTo() here.
34338         * javax/swing/plaf/basic/BasicLookAndFeel.java
34339         (initComponentDefaults): Added SplitPaneDivider.draggingColor
34340         default value.
34341   
34342 2006-01-25  Roman Kennke  <kennke@aicas.com>
34343   
34344         * javax/swing/JSplitPane.java
34345         (addImpl): Removed invalidate() and layout() call.
34346         * javax/swing/plaf/basic/BasicSplitPaneUI.java
34347         (PropertyHandler.propertyChange): Remove layoutContainer() and
34348         repaint() call.
34349   
34350 2006-01-25  Roman Kennke  <kennke@aicas.com>
34351   
34352         * configure.ac
34353         * native/Makefile.am
34354         * native/jni/classpath/Makefile.am
34355         * native/jni/classpath/jcl.c
34356         * native/jni/classpath/jcl.h
34357         * native/jni/classpath/native_state.c
34358         * native/jni/gtk-peer/Makefile.am
34359         * native/jni/java-io/Makefile.am
34360         * native/jni/java-io/java_io_VMFile.c
34361         * native/jni/java-io/java_io_VMObjectStreamClass.c
34362         * native/jni/java-lang/Makefile.am
34363         * native/jni/java-net/Makefile.am
34364         * native/jni/java-net/java_net_VMInetAddress.c
34365         * native/jni/java-net/javanet.c
34366         * native/jni/java-net/javanet.h
34367         * native/jni/java-nio/Makefile.am
34368         * native/jni/java-nio/gnu_java_nio_VMPipe.c
34369         * native/jni/java-nio/gnu_java_nio_VMSelector.c
34370         * native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c
34371         * native/jni/java-nio/java_nio_MappedByteBufferImpl.c
34372         * native/jni/java-nio/java_nio_VMDirectByteBuffer.c
34373         * native/jni/java-util/Makefile.am
34374         * native/jni/java-util/java_util_VMTimeZone.c
34375         * native/jni/midi-dssi/Makefile.am
34376         * native/jni/xmlj/Makefile.am
34377         * native/target/Makefile.am
34378         * native/target/Linux/target_native_math.h
34379         * native/target/Linux/target_native_memory.h
34380         * native/target/Linux/Makefile.am
34381         * native/target/Linux/target_native_io.h
34382         * native/target/Linux/target_native_math_float.h
34383         * native/target/Linux/target_native_math_int.h
34384         * native/target/generic/target_generic.c
34385         * native/target/generic/target_generic_io.c
34386         * native/target/generic/target_generic_math.h
34387         * native/target/generic/target_generic_memory.h
34388         * native/target/generic/target_generic_misc.c
34389         * native/target/generic/target_generic_network.c
34390         * native/target/generic/Makefile.am
34391         * native/target/generic/target_generic.h
34392         * native/target/generic/target_generic_file.h
34393         * native/target/generic/target_generic_io.h
34394         * native/target/generic/target_generic_math_float.h
34395         * native/target/generic/target_generic_math_int.h
34396         * native/target/generic/target_generic_misc.h
34397         * native/target/generic/target_generic_network.h:
34398         Reverted target native related changes back to the state of the
34399         0.20 release.
34400         * native/target/MinGW/.cvsignore
34401         * native/target/MinGW/Makefile.am
34402         * native/target/MinGW/target_native.h
34403         * native/target/MinGW/target_native_file.h
34404         * native/target/MinGW/target_native_io.h
34405         * native/target/MinGW/target_native_math.h
34406         * native/target/MinGW/target_native_memory.h
34407         * native/target/MinGW/target_native_misc.h
34408         * native/target/MinGW/target_native_network.h
34409         * native/target/RTEMS/.cvsignore
34410         * native/target/RTEMS/Makefile.am
34411         * native/target/RTEMS/target_native.h
34412         * native/target/RTEMS/target_native_file.h
34413         * native/target/RTEMS/target_native_io.h
34414         * native/target/RTEMS/target_native_math.h
34415         * native/target/RTEMS/target_native_memory.h
34416         * native/target/RTEMS/target_native_misc.h
34417         * native/target/RTEMS/target_native_network.h
34418         * native/target/SunOS/.cvsignore
34419         * native/target/SunOS/Makefile.am
34420         * native/target/SunOS/target_native.h
34421         * native/target/SunOS/target_native_file.h
34422         * native/target/SunOS/target_native_io.h
34423         * native/target/SunOS/target_native_math.h
34424         * native/target/SunOS/target_native_memory.h
34425         * native/target/SunOS/target_native_misc.h
34426         * native/target/SunOS/target_native_network.h
34427         * native/target/embOS/.cvsignore
34428         * native/target/embOS/Makefile.am
34429         * native/target/embOS/target_native.h
34430         * native/target/embOS/target_native_file.h
34431         * native/target/embOS/target_native_io.c
34432         * native/target/embOS/target_native_io.h
34433         * native/target/embOS/target_native_math.h
34434         * native/target/embOS/target_native_memory.h
34435         * native/target/embOS/target_native_misc.h
34436         * native/target/embOS/target_native_network.h
34437         * native/target/posix/.cvsignore
34438         * native/target/posix/Makefile.am
34439         * native/target/posix/target_posix.c
34440         * native/target/posix/target_posix.h
34441         * native/target/posix/target_posix_file.c
34442         * native/target/posix/target_posix_file.h
34443         * native/target/posix/target_posix_io.c
34444         * native/target/posix/target_posix_io.h
34445         * native/target/posix/target_posix_math.c
34446         * native/target/posix/target_posix_math.h
34447         * native/target/posix/target_posix_memory.c
34448         * native/target/posix/target_posix_memory.h
34449         * native/target/posix/target_posix_misc.c
34450         * native/target/posix/target_posix_misc.h
34451         * native/target/posix/target_posix_network.c
34452         * native/target/posix/target_posix_network.h:
34453         Removed.
34454   
34455 2006-01-24  Wolfgang Baer  <WBaer@gmx.de>
34456   
34457         * javax/print/PrintService.java,
34458         * javax/print/DocPrintJob.java,
34459         * javax/print/CancelablePrintJob.java:
34460         Added and enhanced api documentation for class and methods.             
34461
34462 2006-01-24  Wolfgang Baer  <WBaer@gmx.de>
34463
34464         * javax/print/SimpleDoc.java: Make class final.
34465         * javax/print/attribute/standard/PrinterIsAcceptingJobs.java: Likewise.
34466         * javax/print/attribute/DateTimeSyntax.java: 
34467         (toString): New overridden method.
34468         * javax/print/attribute/standard/JobStateReasons.java:
34469         (add): Use the super.add method to avoid recursion.
34470         * javax/print/attribute/standard/PrinterStateReasons.java: 
34471         (put): Use the super.put method to avoid recursion.
34472
34473 2006-01-24  Robert Schuster  <robertschuster@fsfe.org>
34474
34475         * java/beans/XMLEncoder.java:
34476         (writeExpression): Added early return (fixes PR #25941).
34477         (setExceptionListener, anonymous Class): Removed printStackTrace
34478         call.
34479         * java/beans/Encoder: Removed unused imports.
34480         (setupDefaultPersistenceDelegates): Removed unneccessary
34481         PersistenceDelegates for subclasses.
34482         * java/beans/PersistenceDelegate:
34483         (initialize): Use local variable as first argument as it was
34484         intended once.
34485         * java/beans/DefaultPersistenceDelegate:
34486         (initialize): Added call to superclass' implementation, added
34487         early return.
34488   
34489 2006-01-24  Tom Tromey  <tromey@redhat.com>
34490   
34491         * java/util/regex/PatternSyntaxException.java: Added @since.
34492         * java/util/regex/Matcher.java (Matcher): Implements MatchResult.
34493         * java/util/regex/MatchResult.java: New file.
34494   
34495 2006-01-24  David Gilbert  <david.gilbert@object-refinery.com>
34496   
34497         * javax/swing/text/StringContent.java: Added API docs all over, plus 
34498         minor reformatting.
34499   
34500 2006-01-24  Gary Benson  <gbenson@redhat.com>
34501   
34502         * java/net/SocketPermission.java: Implemented serialization.
34503   
34504 2006-01-24  David Gilbert  <david.gilbert@object-refinery.com>
34505   
34506         * javax/swing/text/StringContent.java
34507         (remove): Modified argument check to prevent removal of last character,
34508         (getChars): Removed null argument check to allow NullPointerException,
34509         added API docs,
34510         (checkLocation): Added API docs and white space.
34511   
34512 2006-01-23  Lillian Angel  <langel@redhat.com>
34513   
34514         * javax/swing/text/DefaultStyledDocument.java
34515         (insertUpdate): Should only call createFracture with 
34516         StartTagType. Added check.
34517         (insertContentTag): Should use the tags length for splitting.
34518         Also, added a check to determine if current's start and end offset are
34519         equal to the offset and endOffset. If so, only one leaf element
34520         should be added. 
34521         (createFracture): Removed FIXME. This function is complete.
34522         (split): Added calls to replace. Changed so the child is 
34523         added immediately to the paragraph. Prevents NPEs.
34524
34525 2006-01-23  Mark Wielaard  <mark@klomp.org>
34526
34527         * examples/Makefile.am (EXAMPLE_ZIP): Group cd and commands.
34528
34529 2006-01-23  Tom Tromey  <tromey@redhat.com>
34530
34531         * gnu/java/security/x509/X509Certificate.java (parse):
34532         Unconditionally read value; for version==1 case when reading
34533         algorithm ID.
34534
34535 2006-01-23  Roman Kennke  <kennke@aicas.com>
34536
34537         * javax/swing/plaf/synth/ColorType.java,
34538         * javax/swing/plaf/synth/Region.java,
34539         * javax/swing/plaf/synth/SynthConstants.java,
34540         * javax/swing/plaf/synth/SynthContext.java
34541         * javax/swing/plaf/synth/SynthGraphicsUtils.java,
34542         * javax/swing/plaf/synth/SynthLookAndFeel.java,
34543         * javax/swing/plaf/synth/SynthPainter.java,
34544         * javax/swing/plaf/synth/SynthStyle.java,
34545         * javax/swing/plaf/synth/SynthStyleFactory.java,
34546         * javax/swing/plaf/synth/package.html:
34547         New files. Added the public API and framework classes for the
34548         Synth look and feel.
34549   
34550 2006-01-23  David Gilbert  <david.gilbert@object-refinery.com>
34551   
34552         * javax/swing/text/Segment.java: API docs all over.
34553   
34554 2006-01-23  Lillian Angel  <langel@redhat.com>
34555   
34556         * javax/swing/text/DefaultStyledDocument.java
34557         (split): Should not use createLeafElement and createBranchElement here.
34558         We should just instaniate the LeafElements and BranchElements instead 
34559         to avoid the case where create*Element is overridden.
34560   
34561 2006-01-23  Lillian Angel  <langel@redhat.com>
34562   
34563         * javax/swing/text/DefaultStyledDocument.java
34564         (insertFirstContentTag): Moved check outside of if-statement.
34565         This should be checked before creating the new leaf element.
34566         (insertFracture): Fixed check to prevent an NPE. The previous
34567         leaf should only be recreated if it has been created by
34568         insertFirstContentTag. Also, fixed up code: if the endOffset is
34569         greater than the offset, then we need to create a temp leaf
34570         as a place holder. Otherwise, the leaf elements should be
34571         created normally.
34572   
34573 2006-01-23  Gary Benson  <gbenson@redhat.com>
34574   
34575         * java/net/SocketPermission.java: Almost completely rewritten.
34576   
34577 2006-01-23  Lillian Angel  <langel@redhat.com>
34578         
34579         * javax/swing/text/DefaultStyledDocument.java
34580         (insertFracture): Set temp leaf's attributes to prevent an NPE.
34581   
34582 2006-01-23  Lillian Angel  <langel@redhat.com>
34583   
34584         * javax/swing/text/DefaultStyledDocument.java:
34585         Formatted ElementBuffer and added new fields.
34586         (remove): Added check to determine if length is 0.
34587         (insertFirstContentTag): Initialized firstCreated to the element that is created 
34588         by the first tag encountered. Removed check in JoinPreviousDirection case, no
34589         longer needed. In OriginateDirection case, added a loop to remove all old leafs
34590         that have been recreated.
34591         (insertContentTag): Cleaned up code. Removed checks that did not do anything.
34592         (insertFracture): Fixed up code, removed unneeded objects and checks. Added
34593         FIXME tags to the lines that need to be rewritten.      
34594
34595 2006-01-23  Mark Wielaard  <mark@klomp.org>
34596
34597         * examples/Makefile.am: Add support for fastjar.
34598
34599 2006-01-23  Ito Kazumitsu  <kaz@maczuka.gcd.org>
34600
34601         * gnu/regexp/REToken.java(empty): Made Cloneable.
34602         * gnu/regexp/RETokenOneOf.java(match): RE.java(match):
34603         Use separate methods matchN and matchP depending on the
34604         boolean negative.
34605         (matchN): New method used when negative. Done as before.
34606         (matchP): New method used when not negative. Each token is
34607         tried not by itself but by a clone of it.
34608
34609 2006-01-23  Chris Burdess  <dog@gnu.org>
34610
34611         Fixes bug #25906
34612         * gnu/xml/dom/DomCharacterData.java: Use a separate empty node list
34613           class to avoid getLength method contention.
34614         * gnu/xml/stream/SAXParser.java: Rethrow correct exception.
34615
34616 2006-01-23  Chris Burdess  <dog@gnu.org>
34617
34618         * native/jni/java-util/Makefile.am: Include library required
34619           explicitly by BSD systems.
34620         * native/target/generic/target_generic_misc.h: Remove old commented
34621           out code.
34622         * native/target/generic/target_generic_network.h: Fallbacks (to
34623           SO_NOSIGPIPE and then 0) for non-portable glibc MSG_NOSIGNAL.
34624
34625 2006-01-22  Tom Tromey  <tromey@redhat.com>
34626
34627         * native/target/posix/.cvsignore: Added .deps.
34628
34629 2006-01-22  Mark Wielaard  <mark@klomp.org>
34630
34631         Fixes bug #25832,
34632         reported by James Damour <James.Damour@corp.request.com>
34633         * java/awt/Container.java (addImpl): Use empty string as name when
34634         null constraints for LayoutManager.addLayoutComponent().
34635
34636 2006-01-22  Chris Burdess  <dog@gnu.org>
34637
34638         Fixes bug #25903
34639         * gnu/xml/dom/DomDocumentBuilder.java: Default to using file URL
34640           representing current directory as base for relative URLs.
34641
34642 2006-01-22  Ito Kazumitsu  <kaz@maczuka.gcd.org>
34643
34644         Fixes bug #25837
34645         * gnu/regexp/REMatch.java(empty): New boolean indicating
34646         an empty string matched.
34647         * gnu/regexp/RE.java(match): Sets empty flag when an empty
34648         string matched.
34649         (initialize): Support back reference \10, \11, and so on.
34650         (parseInt): renamed from getEscapedChar and returns int.
34651         * gnu/regexp/RETokenRepeated.java(match): Sets empty flag
34652         when an empty string matched. Fixed a bug of the case where
34653         an empty string matched. Added special handling of {0}.
34654         * gnu/regexp/RETokenBackRef.java(match): Sets empty flag
34655         when an empty string matched. Fixed the case insensitive matching.
34656   
34657 2006-01-21  Roman Kennke  <kennke@aicas.com>
34658   
34659         * javax/swing/plaf/metal/MetalSplitPaneDivider.java
34660         (paint): Added painting of border if one is installed.
34661   
34662 2006-01-21  Roman Kennke  <kennke@aicas.com>
34663   
34664         PR classpath/25843:
34665         * javax/swing/plaf/basic/BasicBorders.java
34666         (getSplitPaneDividerBorder): Use new border constructor
34667         without arguments.
34668         (SplitPaneDividerBorder.highlight): Removed unneeded field.
34669         (SplitPaneDividerBorder.shadow): Removed unneeded field.
34670         (SplitPaneDividerBorder()): Changed constructor to do nothing. The
34671         colors are fetched dynamically in the paintBorder method.
34672         (SplitPaneDividerBorder.paintBorder): Fetch colors dynamically from
34673         the look and feel.
34674         (SplitPaneDividerBorder.isBorderOpaque): Returns true
34675         unconditionally.
34676         * javax/swing/plaf/basic/BasicLookAndFeel.java
34677         (initComponentDefaults): Added default for SplitPaneDivider.border.
34678         * javax/swing/plaf/basic/BasicSplitPaneDivider.java
34679         (tmpBorder): Removed unneeded inner class.
34680         (BasicSplitPaneDivider): Removed setting of border.
34681         (setSplitPaneUI): Don't add the mouse handler to the splitpane
34682         itself.
34683         * javax/swing/plaf/basic/BasicSplitPaneUI.java
34684         (BasicHorizontalLayoutManager.layoutContainer): Mostly rewritten
34685         to get behaviour right.
34686         (BasicHorizontalLayoutManager.distributeExtraSpace): Removed
34687         implementation. This must be rewritten since the layout now works
34688         slightly different (basically, it shouldn't modify the sizes[]
34689         here but instead the dividerLocation.
34690         (dividerLocation): New field.
34691         (installDefaults): Initialize border on divider.
34692         (uninstallDefaults): Only remove background color and border from
34693         splitPane if they are instances of UIDefaults (== not set by
34694         application).
34695         (setDividerLocation): Set the dividerLocation field instead of
34696         doing stunt acts here.
34697         (getDividerLocation): Return dividerLocation field.
34698         (getMinimumDividerLocation): Fixed calculation of minimum location.
34699         
34700 2006-01-21  Guilhem Lavaux  <guilhem@kaffe.org>
34701   
34702         * m4/acinclude.m4
34703         (CLASSPATH_WITH_GLIBJ): Add support for fastjar.
34704   
34705         * lib/Makefile.am: Likewise. 
34706   
34707 2006-01-21  Roman Kennke  <kennke@aicas.com>
34708   
34709         * javax/swing/PopupFactory.java
34710         (getPopup): If there is no Swing root found in any way, use a
34711         heavyweight popup. This is useful for mixed Swing/AWT GUIs, or
34712         for the Swing AWT peers.
34713   
34714 2006-01-20  Tom Tromey  <tromey@redhat.com>
34715   
34716         * gnu/java/net/protocol/http/HTTPURLConnection.java (connect):
34717         Read response body for redirect.
34718   
34719 2006-01-20  Chris Burdess  <dog@gnu.org>
34720   
34721         * gnu/java/net/protocol/http/HTTPURLConnection.java: Don't follow
34722           redirects on 304.
34723   
34724 2006-01-20  Lillian Angel  <langel@redhat.com>
34725   
34726         * javax/swing/text/DefaultStyledDocument.java
34727         (pad): Removed, not needed.
34728         (printElements): Likewise.
34729         (printEdit): Likewise.
34730   
34731 2006-01-20  Roman Kennke  <kennke@aicas.com>
34732   
34733         * javax/swing/text/DefaultFormatter.java
34734         (DefaultFormatter): Don't set a value class.
34735   
34736 2006-01-19  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
34737   
34738         * javax/swing/DefaultCellEditor.java: Commented.
34739   
34740 2006-01-19  Roman Kennke  <kennke@aicas.com>
34741   
34742         * javax/swing/JOptionPane.java
34743         Added cast to Frame for JDialog constructor.
34744   
34745 2006-01-19  Roman Kennke  <kennke@aicas.com>
34746   
34747         * javax/swing/JWindow.java
34748         (JWindow(Window)): Fixed to accept null owner argument.
34749         (JWindow(Window,GraphicsConfiguration)): Fixed to accept null
34750         owner argument.
34751         * javax/swing/SwingUtilities.java
34752         (getOwnerFrame): Owner parameter and return value are fixed to
34753         be of type Window for compatibity with the above JWindow
34754         constructor.
34755         * javax/swing/JDialog.java
34756         (JDialog): Added cast to Frame to make sure the correct constructor
34757         is called.
34758         * javax/swing/JFileChooser.java
34759         (createDialog): Added cast to Frame for JDialog constructor.
34760   
34761 2006-01-19  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
34762   
34763         * javax/swing/JTable.java (rowAtPoint): Rewritten.
34764   
34765 2006-01-19  Roman Kennke  <kennke@aicas.com>
34766   
34767         * javax/swing/JWindow.java: Added API docs to the constructors.
34768   
34769 2006-01-19  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
34770   
34771         * javax/swing/JTable.java: Commenting method headers.
34772         (EditorUpdateTimer): Removed.
34773   
34774 2006-01-19  Roman Kennke  <kennke@aicas.com>
34775   
34776         * javax/swing/JDialog.java
34777         (JDialog()): Call SwingUtilities.getOwnerFrame() with null.
34778         (JDialog(Frame,String,boolean,GraphicsConfiguration)): Call
34779         SwingUtilities.getOwnerFrame() with the owner argument.
34780         * javax/swing/JFileChooser.java
34781         (showOpenDialog(Component)): Call pack() on the dialog instead of
34782         setting a fixed height.
34783         (showSaveDialog()): Likewise.
34784         (showDialog()): Likewise.
34785         (createDialog): Call SwingUtilities.getOwnerFrame() with null.
34786         * javax/swing/JOptionPane.java: Call SwingUtilities.getOwnerFrame()
34787         with null.
34788         * javax/swing/JWindow.java
34789         (JWindow()): Call SwingUtilities.getOwnerFrame() with null.
34790         (JWindow(Frame)): Call SwingUtilities.getOwnerFrame() with owner
34791         argument.
34792         * javax/swing/SwingUtilities.java
34793         (getOwnerFrame): Changed to take a owner parameter that is returned
34794         as owner frame when not null.
34795   
34796 2006-01-19  Roman Kennke  <kennke@aicas.com>
34797   
34798         * gnu/java/awt/peer/swing/SwingFramePeer.java
34799         (handleMouseEvent): Fixed handling of mouse events.
34800         (handleMouseMotionEvent): Fixed handling of mouse events.
34801
34802 2006-01-19  Roman Kennke  <kennke@aicas.com>
34803
34804         * native/target/generic/target_generic_misc.c:
34805         (targetGenericMisc_formatString): Added missing method.
34806
34807 2006-01-19  Wolfgang Baer  <WBaer@gmx.de>
34808
34809         * m4/acinclude.m4: Test also for ecj found before exiting configure
34810         with no javac found error message. 
34811
34812 2006-01-19  Ito Kazumitsu  <kaz@maczuka.gcd.org>
34813
34814         Fixes bug #23212
34815         * gnu/regexp/RE.java(initialize): Support escaped characters such as
34816         \0123, \x1B, \u1234.
34817         (getEscapedChar): New method.
34818         (CharExpression): New inner class.
34819         (getCharExpression): New Method.
34820         * gnu/regexp/RESyntax.java(RE_OCTAL_CHAR, RE_HEX_CHAR,
34821         RE_UNICODE_CHAR): New syntax bits.
34822
34823 2006-01-19  Roman Kennke  <kennke@aicas.com>
34824
34825         * native/target/Makefile.am: Fixed so that posix stuff is really
34826         only built when requested.
34827
34828 2006-01-19  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
34829
34830         * javax/swing/JTable.java (editingStopped, editingCancelled):
34831         Repaint the edited cell.
34832         (setValueAt): Do not add the value object to this container.
34833         (editorTimer, rowBeingEdited, columnBeingEdited, oldCellValue): Removed.
34834         (editingStopped): Use editingRow, editingColumn and not
34835         rowBeingEdited, columnBeingEdited. (editValueAt): rewritten.
34836         (doLayout): Move the editor component, if present, into the new
34837         location and call repaint(). (moveToCellBeingEdited): new method.
34838         (TableTextField): new inner class.
34839         (getDefaultEditor): Instantiante TableTextField, not JTextField.
34840         (setValueAt): Repaint the changed segment.
34841         (createDefaultEditors): Implemented.
34842         (BooleanCellRenderer): Center the checkbox and use the default foreground
34843         and background colors.   
34844         * javax/swing/plaf/basic/BasicTableUI.java
34845         (paintCell): Do not paint the caret here. Do not accept unused parameters.
34846         (paint): No need to allocate rectangle for each cell.   
34847         * javax/swing/DefaultCellEditor.java: Rewritten.         
34848         * examples/gnu/classpath/examples/swing/Demo.java (mkTable):
34849         Use TableDemo.java table example.
34850         * examples/gnu/classpath/examples/swing/TableDemo.java: New file.
34851
34852 2006-01-19  Roman Kennke  <kennke@aicas.com>
34853
34854         * configure.ac: Added/fixed --enable-posix-layer option to enable
34855         build of posix layer.
34856         * native/target/Makefile.am: Added build for posix layer.
34857
34858 2006-01-19  Christian Thalinger  <twisti@complang.tuwien.ac.at>
34859
34860         * configure.ac: Set TARGET to Linux per default.
34861         * native/target/Makefile.am (libtarget_la_LIBADD): Removed
34862         libtargetos.la.
34863         * native/target/Linux/Makefile.am: Don't build a libtargetos.la.
34864         * native/target/generic/Makefile.am (INCLUDES): Renamed to
34865         AM_CPPFLAGS.
34866         
34867 2006-01-19  Raif S. Naffah  <raif@swiftdsl.com.au>
34868
34869         * java/security/interfaces/RSAMultiPrimePrivateCrtKey.java: Replaced
34870           what looked like proprietary documentation with original or new one.
34871         * java/security/spec/PSSParameterSpec.java: Likewise.
34872         * java/security/spec/RSAMultiPrimePrivateCrtKeySpec.java: Likewise.
34873         * java/security/spec/RSAOtherPrimeInfo.java: Likewise.
34874         * java/security/AlgorithmParameterGenerator.java: Likewise.
34875         * java/security/AlgorithmParameters.java: Likewise.
34876         * java/security/Identity.java: Likewise.
34877         * java/security/IdentityScope.java: Likewise.
34878         * java/security/KeyFactory.java: Likewise.
34879         * java/security/KeyPairGenerator.java: Likewise.
34880         * java/security/MessageDigest.java: Likewise.
34881         * java/security/Policy.java: Likewise.
34882         * java/security/ProtectionDomain.java: Likewise.
34883         * java/security/Security.java: Likewise.
34884         * java/security/Signature.java: Likewise.
34885         * java/security/SignatureSpi.java: Likewise.
34886         * java/security/SignedObject.java: Likewise.
34887         * java/security/Signer.java: Likewise.
34888   
34889 2006-01-18  Roman Kennke  <kennke@aicas.com>
34890   
34891         * configure.ac: Added --enable-posix-layer option to enable
34892         build of the posix target layer.
34893   
34894 2006-01-18  Roman Kennke  <kennke@aicas.com>
34895   
34896         * native/jni/java-net/java_net_VMInetAddress.c
34897         (Java_java_net_VMInetAddress_lookupInaddrAny): Use target native macro
34898         for INADDR_ANY.
34899   
34900 2006-01-18  Roman Kennke  <kennke@aicas.com>
34901   
34902         * native/jni/java-util/java_util_VMTimeZone.c:
34903         (Java_java_util_VMTimeZone_getSystemTimeZoneId): Rewritten
34904         to use target native layer.
34905         (jint_to_charbuf): Removed unneeded helper function.
34906   
34907 2006-01-18  Roman Kennke  <kennke@aicas.com>
34908   
34909         * native/jni/java-nio/gnu_java_nio_VMPipe.c:
34910         Removed unnecessary include.
34911         * native/jni/java-nio/gnu_java_nio_VMSelector.c:
34912         Reorganized includes to only include sys/* headers when available.
34913         * native/jni/java-nio/java_nio_MappedByteBufferImpl.c:
34914         (get_pagesize): Return 0 when nothing else works.
34915         (Java_java_nio_MappedByteBufferImpl_unmapImpl):
34916         Replaced munmap() and strerror() with corresponding target macros.
34917         (Java_java_nio_MappedByteBufferImpl_isLoadedImpl):
34918         Replaced strerror() with corresponding target macro.
34919         (Java_java_nio_MappedByteBufferImpl_forceImpl):
34920         Replaced strerror() with corresponding target macro.
34921         * native/jni/java-nio/java_nio_VMDirectByteBuffer.c:
34922         (Java_java_nio_VMDirectByteBuffer_allocate):
34923         Replaced malloc() with the corresponding target macro.
34924         (Java_java_nio_VMDirectByteBuffer_free):
34925         Replaced free() with the corresponding target macro.
34926         (Java_java_nio_VMDirectByteBuffer_put__Lgnu_classpath_Pointer_2IB):
34927         Add index to pointer when assigning the value.
34928         (Java_java_nio_VMDirectByteBuffer_get__Lgnu_classpath_Pointer_2I_3BII):
34929         Replaced memcpy with corresponding target macro. Add index when
34930         doing the memcpy, not when fetching the pointer.
34931         (Java_java_nio_VMDirectByteBuffer_put__Lgnu_classpath_Pointer_2I_3BII):
34932         Replaced memcpy with corresponding target macro.
34933         (Java_java_nio_VMDirectByteBuffer_shiftDown):
34934         Replaced memmove with the corresponding target macro.
34935
34936 2006-01-17  Tom Tromey  <tromey@redhat.com>
34937
34938         PR classpath/20198:
34939         * java/net/URLClassLoader.java (FileURLLoader): Added argument.
34940         (JarURLLoader): Likewise.
34941         (addURLImpl): Canonicalize file URLs.
34942
34943 2006-01-17  Christian Thalinger  <twisti@complang.tuwien.ac.at>
34944
34945         * configure.ac: Set TARGET.
34946         * native/Makefile.am, native/jni/classpath/Makefile.am,
34947         native/jni/gtk-peer/Makefile.am, native/jni/java-io/Makefile.am,
34948         native/jni/java-lang/Makefile.am, native/jni/java-net/Makefile.am,
34949         native/jni/java-nio/Makefile.am, native/jni/midi-dssi/Makefile.am,
34950         native/jni/xmlj/Makefile.am, native/target/Makefile.am,
34951         native/target/Linux/Makefile.am,
34952         native/target/generic/Makefile.am,
34953         native/target/posix/Makefile.am: Build libclasspath.so with jcl
34954         and target stuff linked in and link it against lib*.so libraries.
34955
34956 2006-01-17  Roman Kennke  <kennke@aicas.com>
34957
34958         * native/jni/java-net/javanet.c:
34959         (_javanet_connect): Changed type of some local variables to jint.
34960         Fixed error handling to throw a SocketTimeoutException if the
34961         connection attempt times out.
34962         (_javanet_bind): Changed type of some local variables to jint.
34963         (_javanet_accept): Likewise.
34964         (_javanet_recvfrom): Likewise.
34965         (_javanet_sendto): Fixed error handling to throw a
34966         PortUnreachableException when connection is refused.
34967         (_javanet_get_option): Changed type of some local variables to jint.
34968         Implemented SOCKOPT_SO_BROADCAST.
34969         (_javanet_shutdownInput): Replaced shutdown call with corresponding
34970         target native macro.
34971         (_javanet_shutdownOutput): Replaced shutdown call with corresponding
34972         target native macro.
34973         * native/jni/java-net/javanet.h:
34974         Defined SOCKET_TIMEOUT_EXCEPTION, PORT_UNREACHABLE_EXCEPTION and
34975         SOCKOPT_SO_BROADCAST.
34976   
34977 2006-01-17  Lillian Angel  <langel@redhat.com>
34978   
34979         * javax/swing/text/DefaultStyledDocument.java
34980         (insert): Cleaned up loop. No need to make so many calls
34981         to getAddedElements and getRemovedElements.
34982         (insertFracture): Removed unneeded array.
34983   
34984 2006-01-17  Lillian Angel  <langel@redhat.com>
34985         
34986         * javax/swing/text/JTextComponent.java
34987         (AccessibleJTextComponent): Implemented.
34988         (getCaretPosition): Implemented.
34989         (getSelectedText): Implemented.
34990         (getSelectionStart): Implemented.
34991         (getSelectionEnd): Implemented.
34992         (getSelectionEnd): Implemented.
34993         (getCharCount): Implemented.
34994         (insertTextAtIndex): Implemented.
34995         (getTextRange): Implemented.
34996         (delete): Implemented.
34997         (cut): Implemented.
34998         (paste): Implemented.
34999         (replaceText): Implemented.
35000         (selectText): Implemented.
35001   
35002 2006-01-17  Anthony Balkissoon  <abalkiss@redhat.com>
35003   
35004         * javax/swing/text/DefaultStyledDocument.java:
35005         (pad): New debugging method.
35006         (printElements): Likewise.
35007         (printPendingEdits): Likewise.
35008         (printElement): Likewise.
35009         (Edit): Improved docs, moved this class to be an inner class of
35010         ElementBuffer since it only applies within that scope.  Changed added 
35011         and removed to be Vectors instead of arrays because we need to be able 
35012         to add to them after construction.
35013         (ElementBuffer): Updated docs with link to article that helped in this
35014         classes implementation.
35015         (ElementBuffer.Edit.getRemovedElements): New method.
35016         (ElementBuffer.Edit.getAddedElements): Likewise.
35017         (ElementBuffer.Edit.addRemovedElement): Likewise.
35018         (ElementBuffer.Edit.addRemovedElements): Likewise.
35019         (ElementBuffer.Edit.addAddedElement): Likewise.
35020         (ElementBuffer.Edit.addAddedElements): Likewise.
35021         (ElementBuffer.Edit<init>): Improved docs, call addRemovedElements and 
35022         addAddedElements.
35023         (ElementBuffer.getEditForParagraphAndIndex): New method.
35024         (ElementBuffer.removeUpdate): Changed type of paragraph to 
35025         BranchElement.  Corrected style of adding the edit to use the new Edit
35026         facilities.
35027         (ElementBuffer.changeUpdate): Changed style of adding the edit to use
35028         the new Edit facilities.
35029         (ElementBuffer.split): Likewise.
35030         (ElementBuffer.insertParagraph): Likewise.
35031         (ElementBuffer.insertContentTag): Likewise.
35032         (ElementBuffer.insert): Push all BranchElements until the deepest one, 
35033         not just the root and the first one. Apply the structural changes to 
35034         the tree at the same time as updating the DocumentEvent.
35035         (ElementBuffer.insertUpdate): Fixed docs.  Removed the special case 
35036         handling of EndTags as the first ElementSpec.  Instead have to handle
35037         ContentTags as a special case if they are the first ElementSpec and if
35038         not have to fracture the tree.
35039         (ElementBuffer.createFracture): New method.  May not be complete yet.
35040         Added FIXME indicating what may remain to be done.
35041         (ElementBuffer.insertFirstContentTag): New method.
35042         (ElementBuffer.insertFracture): Added FIXME explaining what remains to
35043         be done.  Changed the adding of edits to use the new Edit facilities.
35044         Removed the adding of edits for Elements that weren't in the tree prior
35045         to the insertion.
35046         (insertUpdate): Removed incorrect condition for setting a StartTag's
35047         direction to JoinNextDirection.
35048         * javax/swing/text/StyleContent.java: 
35049         (SmallAttributeSet.toString): Fixed an off-by-one error in the loop 
35050         that was causing an ArrayOutOfBoundsException.
35051   
35052 2006-01-17  Roman Kennke  <kennke@aicas.com>
35053   
35054         * native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c:
35055         (Java_gnu_java_nio_channels_FileChannelImpl_init): Improved
35056         exception messages a little.
35057         (Java_gnu_java_nio_channels_FileChannelImpl_open): Provided
35058         alternative implementation for systems without filesystems.
35059         Replaced snprintf with the corresponding target native macro.
35060         (Java_gnu_java_nio_channels_FileChannelImpl_implCloseChannel):
35061         Only do something when we have a filesystem.
35062         (Java_gnu_java_nio_channels_FileChannelImpl_available): Provided
35063         alternative implementation for systems without filesystems.
35064         (Java_gnu_java_nio_channels_FileChannelImpl_size): Provided
35065         alternative implementation for systems without filesystems.
35066         (Java_gnu_java_nio_channels_FileChannelImpl_implPosition): Provided
35067         alternative implementation for systems without filesystems.
35068         (Java_gnu_java_nio_channels_FileChannelImpl_seek):
35069         Only do something when we have a filesystem.
35070         (Java_gnu_java_nio_channels_FileChannelImpl_implTruncate):
35071         Only do something when we have a filesystem.
35072         (Java_gnu_java_nio_channels_FileChannelImpl_mapImpl): Provided
35073         alternative implementation for systems without filesystems.
35074         (Java_gnu_java_nio_channels_FileChannelImpl_read__):
35075         Replaced ssize_t variables with jint. Provided
35076         alternative implementation for systems without filesystems.
35077         (Java_gnu_java_nio_channels_FileChannelImpl_read___3BII):
35078         Replaced ssize_t variables with jint. Provided
35079         alternative implementation for systems without filesystems.
35080         (Java_gnu_java_nio_channels_FileChannelImpl_write__I):
35081         Replaced ssize_t variables with jint. Provided
35082         alternative implementation for systems without filesystems.
35083         (Java_gnu_java_nio_channels_FileChannelImpl_force):
35084         Only do something when we have a filesystem.
35085         (Java_gnu_java_nio_channels_FileChannelImpl_write___3BII):
35086         Replaced ssize_t variables with jint. Provided
35087         alternative implementation for systems without filesystems.
35088         (Java_gnu_java_nio_channels_FileChannelImpl_lock): Reimplemented
35089         to use the corresponding target native macro.
35090         (Java_gnu_java_nio_channels_FileChannelImpl_unlock): Reimplemented
35091         to use the corresponding target native macro.
35092   
35093 2006-01-17  Lillian Angel  <langel@redhat.com>
35094   
35095         * javax/swing/text/DefaultTextUI.java:
35096         Added deprecated tag.
35097         * javax/swing/text/JTextComponent.java
35098         (AccessibleJTextComponent): Fixed API doc and
35099         partiall9 implemented.
35100         (getCaretPosition): Fixed API doc and implemented.
35101         (getSelectedText): Fixed API doc.
35102         (getSelectionStart): Likewise.
35103         (getSelectionEnd): Likewise.
35104         (caretUpdate): Fixed API doc and
35105         partially implemented.
35106         (getAccessibleStateSet): Likewise.
35107         (getAccessibleRole): Fixed API doc and implemented.
35108         (getAccessibleEditableText): Implemented.
35109         (getAccessibleText): Fixed API doc and implemented.
35110         (insertUpdate): Fixed API doc.
35111         (changedUpdate): Likewise.
35112         (getIndexAtPoint): Likewise.
35113         (getRootEditorRect): Removed.
35114         (getCharacterBounds): Fixed API doc.
35115         (getCharCount): Likewise.
35116         (getCharacterAttribute): Likewise.
35117         (getAtIndex): Likewise.
35118         (getAfterIndex): Likewise.
35119         (getBeforeIndex): Likewise.
35120         (getAccessibleActionCount): Added function stub.
35121         (getAccessibleActionDescription): Added function,
35122         partially implemented.
35123         (doAccessibleAction): Added function stub.
35124         (setTextContents): Likewise.
35125         (insertTextAtIndex): Likewise.
35126         (delete): Likewise.
35127         (cut): Likewise.
35128         (paste): Likewise.
35129         (replaceText): Likewise.
35130         (selectText): Likewise.
35131         (setAttributes): Likewise.
35132         (getAccessibleContext): Implemented.
35133   
35134 2006-01-17  Ito Kazumitsu  <kaz@maczuka.gcd.org>
35135   
35136         Fixes bug #25817
35137         * gnu/regexp/RETokenRange.java(constructor):
35138         Keep lo and hi as they are.
35139         (match): Changed the case insensitive comparison.
35140   
35141 2006-01-17  Ito Kazumitsu  <kaz@maczuka.gcd.org>
35142   
35143         * gnu/regexp/RETokenChar.java(chain):
35144         Do not concatenate tokens whose insens flags are diffent.
35145   
35146 2006-01-17  Roman Kennke  <kennke@aicas.com>
35147   
35148         * native/target/generic/target_generic_network.c:
35149         (targetGenericNetwork_receive): Fixed signature to match the
35150         corresponding .h file.
35151         (targetGenericNetwork_receiveWithAddressPort): Fixed signature
35152         to match the corresponding .h file.
35153   
35154 2006-01-17  Roman Kennke  <kennke@aicas.com>
35155   
35156         * native/jni/classpath/jcl.c:
35157         (JCL_malloc): Replaced calls to malloc with the corresponding
35158         target layer macro.
35159         (JCL_free): Replaced calls to free with the corresponding
35160         target layer macro.
35161         * native/jni/classpath/native_state.c:
35162         (cp_gtk_init_state_table_with_size): Replaced calls to malloc and
35163         calloc with the corresponding target layer macro.
35164         (remove_node): Replaced calls to free with the corresponding
35165         target layer macro.
35166         (add_node): Replaced calls to malloc with the corresponding
35167         target layer macro.
35168
35169 2006-01-17  Roman Kennke  <kennke@aicas.com>
35170
35171         * native/jni/java-io/java_io_VMObjectStreamClass.c:
35172         (getFieldReference): Use MALLOC/FREE macros for portability instead
35173         of direct call to malloc() and free().
35174
35175 2006-01-17  Roman Kennke  <kennke@aicas.com>
35176
35177         * native/jni/classpath/jcl.c: Added missing imports.
35178         (JCL_realloc): Fixed signature to include oldsize. This is needed
35179         for some targets. Make this function use the MEMORY_REALLOC macro
35180         for portability.
35181         * native/jni/classpath/jcl.h
35182         (JCL_realloc): Adjusted signature.
35183         * native/jni/java-io/java_io_VMFile.c:
35184         (Java_java_io_VMFile_create): Use target layer macro for handling
35185         errno, for portability.
35186         (Java_java_io_VMFile_length): Release filename string in error cases
35187         before returning.
35188         (Java_java_io_VMFile_list): Initialize filename variable. Use new
35189         version of JCL_realloc.
35190         * native/jni/java-net/java_net_VMInetAddress.c:
35191         (Java_java_net_VMInetAddress_getHostByName): Use renamed macro
35192         TARGET_NATIVE_NETWORK_GET_HOSTADDRESS_BY_NAME.
35193         * native/jni/java-net/javanet.c:
35194         (_javanet_bind): Make errorstr variable const to avoid compiler
35195         warning.
35196         (_javanet_set_option): Fixed typo.
35197         (_javanet_get_option): Fixed typo.
35198         * native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c:
35199         (Java_gnu_java_nio_channels_FileChannelImpl_open): Made
35200         error_string variable const to avoid compiler warning.
35201         * native/target/generic/target_generic_file.h:
35202         Replaced // comments with /* */ comments to avoid compiler warnings.
35203         Added some spaces to make code better readable.
35204         * native/target/generic/target_generic_memory.h:
35205         Replaced // comments with /* */ comments to avoid compiler warnings.
35206         * native/target/generic/target_generic_misc.c:
35207         Removed unused TARGET_NATIVE_MISC_FORMAT_STRING macro. This caused
35208         compiler warnings due to use of varargs.
35209         * native/target/generic/target_generic_misc.h:
35210         Removed unused TARGET_NATIVE_MISC_FORMAT_STRING macro. This caused
35211         compiler warnings due to use of varargs.
35212         * native/target/generic/target_generic_network.h:
35213         Replaced // comments with /* */ comments to avoid compiler warnings.
35214         (targetGenericNetwork_receive): Fixed signature to use signed chars
35215         for buffer parameter to avoid warning when passing a jbyte to the
35216         function.
35217   
35218 2006-01-17  David Gilbert  <david.gilbert@object-refinery.com>
35219   
35220         * javax/swing/text/StyleConstants.java
35221         (getAlignment): Removed isDefined() check, so that resolving parent is 
35222         used for lookup,
35223         (getBackground): Likewise, plus changed default value to Color.BLACK,
35224         (getBidiLevel): Removed isDefined() check,
35225         (getComponent): Likewise,
35226         (getFirstLineIndent): Likewise,
35227         (getFontFamily): Likewise,
35228         (getFontSize): Likewise,
35229         (getForeground): Likewise,
35230         (getIcon): Likewise,
35231         (getLeftIndent): Likewise,
35232         (getLineSpacing): Likewise,
35233         (getRightIndent): Likewise,
35234         (getSpaceAbove): Likewise,
35235         (getSpaceBelow): Likewise,
35236         (getTabSet): Likewise,
35237         (isBold): Likewise,
35238         (isItalic): Likewise,
35239         (isStrikeThrough): Likewise,
35240         (isSubscript): Likewise,
35241         (isSuperscript): Likewise,
35242         (isUnderline): Likewise.
35243
35244 2006-01-17  Gary Benson  <gbenson@redhat.com>
35245
35246         * java/lang/System.java (setSecurityManager): Catch
35247         ClassNotFoundException not Throwable.
35248
35249 2006-01-16  Anthony Green  <green@redhat.com>
35250
35251         PR classpath/25803
35252         * gnu/java/net/protocol/http/Request.java
35253           (createResponseBodyStream): Remove Content-Encoding for
35254           compressed streams.
35255   
35256 2006-01-16  Chris Burdess  <dog@gnu.org>
35257   
35258         * gnu/xml/stream/XMLParser.java,
35259           gnu/xml/stream/XMLStreamWriterImpl.java: Thoroughly check
35260           XMLStreamWriter arguments for conformance to the XML specifications.
35261         * gnu/xml/transform/Stylesheet.java,
35262           gnu/xml/transform/Template.java,
35263           gnu/xml/transform/TransformerImpl.java,
35264           gnu/xml/xpath/LangFunction.java,
35265           gnu/xml/xpath/Selector.java: better handling of template priorities;
35266           fix indents when pretty-printing; recursive tests for xml:lang.
35267         * gnu/xml/util/XHTMLWriter.java,
35268           gnu/xml/util/XMLWriter.java: Deprecate old serializer classes.
35269
35270 2006-01-16  Roman Kennke  <kennke@aicas.com>
35271
35272         * native/target/MinGW/.cvsignore: New file.
35273         * native/target/RTEMS/.cvsignore: New file.
35274         * native/target/SunOS/.cvsignore: New file.
35275         * native/target/embOS/.cvsignore: New file.
35276         * native/target/posix/.cvsignore: New file.
35277
35278 2006-01-16  David Gilbert  <david.gilbert@object-refinery.com>
35279
35280         * javax/swing/text/StyleConstants.java: Updated API docs all over.
35281
35282 2006-01-16  Roman Kennke  <kennke@aicas.com>
35283
35284         * configure.ac: Include new target native directories in build.
35285
35286 2006-01-16  Roman Kennke  <kennke@aicas.com>
35287
35288         * native/target/generic/target_generic_file.h: Added missing
35289         include.
35290         * native/target/generic/target_generic_network.c: Fixed several
35291         typos and includes.
35292         * native/target/generic/target_generic_network.h: Likewise.
35293
35294 2006-01-16  Roman Kennke  <kennke@aicas.com>
35295
35296         * native/target/Makefile.am: Adjusted SUBDIRS and DIST_SUBDIRS
35297         to include the new targets.
35298         * native/target/posix/Makefile.am: Fixed filenames.
35299
35300 2006-01-16  Roman Kennke  <kennke@aicas.com>
35301
35302         * native/target/Makefile.am: Include new targets.
35303         * native/target/Linux/Makefile.am: Include new memory layer.
35304         * native/target/MinGW/Makefile.am: New file. Includes MinGW in dist.
35305         * native/target/RTEMS/Makefile.am: New file. Includes RTEMS in dist.
35306         * native/target/SunOS/Makefile.am: New file. Includes SunOS in dist.
35307         * native/target/embOS/Makefile.am: New file. Includes embOS in dist.
35308         * native/target/generic/Makefile.am: Include new memory and math
35309         layer.
35310         * native/target/posix/Makefile.am: New file. Includes posix in dist.
35311   
35312 2006-01-16  Ito Kazumitsu  <kaz@maczuka.gcd.org>
35313   
35314         Fixes bug #22884
35315         * gnu/regexp/RE.java(initialize): Parse embedded flags.
35316         * gnu/regexp/RESyntax.java(RE_EMBEDDED_FLAGS): New syntax bit.
35317   
35318 2006-01-16  Roman Kennke  <kennke@aicas.com>
35319   
35320         * native/target/generic/target_generic_network.c: Fixed typo.
35321         * native/target/generic/target_generic_network.h: Fixed typo.
35322   
35323 2006-01-16  Nicolas Geoffray  <nicolas.geoffray@menlina.com>
35324   
35325         * doc/vmintegration.texinfo: Updated subsection of the
35326         java.lang.InstrumentationImpl documentation.
35327   
35328 2006-01-16  Roman Kennke  <kennke@aicas.com>
35329   
35330         * native/target/RTEMS/target_native.h,
35331         * native/target/RTEMS/target_native_file.h,
35332         * native/target/RTEMS/target_native_io.h,
35333         * native/target/RTEMS/target_native_math.h,
35334         * native/target/RTEMS/target_native_memory.h,
35335         * native/target/RTEMS/target_native_misc.h,
35336         * native/target/RTEMS/target_native_network.h:
35337         New files. Implement the target native layer for the RTEMS platform.
35338   
35339 2006-01-16  Roman Kennke  <kennke@aicas.com>
35340   
35341         * native/target/SunOS/target_native.h,
35342         * native/target/SunOS/target_native_file.h,
35343         * native/target/SunOS/target_native_io.h,
35344         * native/target/SunOS/target_native_math.h,
35345         * native/target/SunOS/target_native_memory.h,
35346         * native/target/SunOS/target_native_misc.h,
35347         * native/target/SunOS/target_native_network.h:
35348         New files. Implement the target native layer for the SunOS platform.
35349   
35350 2006-01-16  Roman Kennke  <kennke@aicas.com>
35351   
35352         * native/target/MinGW/target_native.h,
35353         * native/target/MinGW/target_native_file.h,
35354         * native/target/MinGW/target_native_io.h,
35355         * native/target/MinGW/target_native_math.h,
35356         * native/target/MinGW/target_native_memory.h,
35357         * native/target/MinGW/target_native_misc.h,
35358         * native/target/MinGW/target_native_network.h:
35359         New files. Implement the target native layer for the MinGW
35360         platform.
35361   
35362 2006-01-16  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
35363   
35364         PR 25770
35365         * javax/swing/DefaultCellEditor.java
35366         (delegate): Assign new instance immediately.
35367         (DefaultCellEditor(JTextField textfield)): Require 2 clicks.
35368         (getTableCellEditorComponent): Rewritten.
35369         (prepareAsJTextField):New method (add listener only once).
35370         * javax/swing/JTable.java
35371         (editingCanceled): Rewritten.
35372         (editingStopped ): Rewritten.
35373         (rowAtPoint): Mind row margin.
35374         (getCellRect): Mind row margin.
35375         (getDefaultEditor): Removing JTextComponent border.
35376         (editCellAt): Rewritten.
35377         * javax/swing/plaf/basic/BasicTableUI.java (MouseInputHandler):
35378         Activate editing mode by the mouse clicks.
35379         (getMaximumSize): Mind row margin.
35380         (getPreferredSize): Mind row margin.
35381         (TableAction): Added 'stop editing' command. 
35382
35383 2006-01-16  Roman Kennke  <kennke@aicas.com>
35384
35385         * jni/java-io/java_io_VMFile.c
35386         (Java_java_io_VMFile_list): Use new 4 argument version of
35387         TARGET_NATIVE_FILE_READ_DIR macro.
35388         * target/Linux/target_native_io.h: Fixed comment at #endif.
35389         * target/Linux/target_native_memory.h: New file. Contains
35390         portability macros for memory operations.
35391         * target/generic/target_generic.c: New file. Contains some functions
35392         for portability.
35393         * target/generic/target_generic.h: Use posix target and shorter macro
35394         names if CP_NEW is set. 
35395         * target/generic/target_generic_file.h: Use posix target and shorter
35396         macro names if CP_NEW is set.
35397         (TARGET_NATIVE_FILE_READ_DIR): New parameter for maxNameLength.
35398         * target/generic/target_generic_io.c: New file. Contains some
35399         functions for IO portability.
35400         * target/generic/target_generic_io.h: Use posix target and shorter
35401         macro names if CP_NEW is set.
35402         * target/generic/target_generic_misc.c: New file. Contains some
35403         functions for miscallaneaous portability issues.
35404         * target/generic/target_generic_misc.h: Use posix target and shorter
35405         macro names if CP_NEW is set.
35406         * target/generic/target_generic_network.c: New file. Contains some
35407         functions for networking portability.
35408         * target/generic/target_generic_network.h: Use posix target and
35409         shorter macro names if CP_NEW is set.
35410         * target/posix/Makefile.am,
35411         * target/posix/target_posix.c,
35412         * target/posix/target_posix.h,
35413         * target/posix/target_posix_file.c,
35414         * target/posix/target_posix_file.h,
35415         * target/posix/target_posix_io.c,
35416         * target/posix/target_posix_io.h,
35417         * target/posix/target_posix_math.c,
35418         * target/posix/target_posix_math.h,
35419         * target/posix/target_posix_memory.c,
35420         * target/posix/target_posix_memory.h,
35421         * target/posix/target_posix_misc.c,
35422         * target/posix/target_posix_misc.h,
35423         * target/posix/target_posix_network.c,
35424         * target/posix/target_posix_network.h:
35425         New files. This implements the target native layer macros for
35426         Posix-like systems.
35427
35428 2006-01-16  Gary Benson  <gbenson@redhat.com>
35429
35430         * java/net/SocketPermission.java (implies): Fix action checks.
35431
35432 2006-01-16  Roman Kennke  <kennke@aicas.com>
35433
35434         * native/target/generic/target_generic_math_float.h: Removed. This
35435         file has been replaced by target_generic_math.h.
35436         * native/target/generic/target_generic_math_int.h: Removed. This
35437         file has been replaced by target_generic_math.h.
35438         * native/target/generic/target_generic_math.h: New file. Replaces
35439         the old _int and _float versions.
35440         * native/target/Linux/target_native_math_float.h: Removed. This
35441         file has been replaced by target_native_math.h.
35442         * native/target/Linux/target_native_math_int.h: Removed. This
35443         file has been replaced by target_native_math.h.
35444         * native/target/Linux/target_native_math.h: New file. Replaces
35445         the old _int and _float versions.
35446         * native/target/Linux/Makefile.am: Adjusted for the changed
35447         filenames.
35448         * native/jni/java-io/java_io_VMFile.c: Include target_native_math.h
35449         instead of target_native_math_int.h.
35450         * native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c:
35451         Likewise.
35452         * native/target/generic/target_generic_file.h: Likewise.
35453   
35454 2006-01-16  David Gilbert  <david.gilbert@object-refinery.com>
35455   
35456         * javax/swing/text/MutableAttributeSet.java: Updated API docs all over.
35457   
35458 2006-01-16  David Gilbert  <david.gilbert@object-refinery.com>
35459   
35460         * javax/swing/text/SimpleAttributeSet.java
35461         (SimpleAttributeSet()): Initialise storage directly,
35462         (SimpleAttributeSet(AttributeSet)): Removed null check and documented
35463         NullPointerException,
35464         (containsAttribute): If key is found locally, don't check resolving
35465         parent if the value doesn't match,
35466         (getAttribute): Removed redundant instanceof and cast.
35467   
35468 2006-01-16  Gary Benson  <gbenson@redhat.com>
35469   
35470         * java/lang/System.java (setSecurityManager): Ensure policy
35471         files are loaded before a security manager is put in place.
35472   
35473 2006-01-16  David Gilbert  <david.gilbert@object-refinery.com>
35474   
35475         * javax/swing/text/SimpleAttributeSet.java: Updated API docs all over.
35476   
35477 2006-01-16  Wolfgang Baer  <WBaer@gmx.de>
35478   
35479         * javax/print/attribute/standard/MediaSize.java: 
35480         (static_initializer): Added comment.
35481         (MediaSize): Added javadoc to mention cache registration.
35482         (MediaSize): Likewise.
35483         (MediaSize): Likewise.
35484         (MediaSize): Likewise.
35485   
35486 2006-01-16  Raif S. Naffah  <raif@swiftdsl.com.au>
35487   
35488         PR classpath/25202
35489         * gnu/javax/security/auth/login/ConfigFileTokenizer.java: New class.
35490         * gnu/javax/security/auth/login/ConfigFileParser.java: New class.
35491         * gnu/javax/security/auth/login/GnuConfiguration.java: New class.
35492         * javax/security/auth/login/AppConfigurationEntry.java: Updated
35493           copyright year.
35494           (toString): Added method implementation.
35495           (LoginModuleControlFlag.toString): Removed class name from result.
35496         * javax/security/auth/login/Configuration.java: Updated copyright year.
35497           (getConfig(): replaced calls to NullConfiguration with
35498           GnuConfiguration.
35499
35500 2006-01-15  Tom Tromey  <tromey@redhat.com>
35501
35502         * javax/swing/text/html/HTMLDocument.java (parseBuffer): Genericized.
35503         * javax/swing/text/StyleContext.java (removeAttributes): Genericized.
35504         * java/beans/PersistenceDelegate.java (initialize): Genericized.
35505         * java/beans/Encoder.java (getPersistenceDelegate): Genericized.
35506         (setPersistenceDelegate): Likewise.
35507
35508 2006-01-15  Wolfgang Baer  <WBaer@gmx.de>
35509
35510         * javax/print/attribute/standard/PrinterStateReasons.java: 
35511         (printerStateReasonSet): Genericize the return type.
35512
35513 2006-01-15  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
35514
35515         * javax/swing/table/DefaultTableCellRenderer.java 
35516         (getTableCellRendererComponent): Render null as the empty cell.
35517
35518 2006-01-14  Anthony Green  <green@redhat.com>
35519
35520         * java/net/ServerSocket.java (accept): Remove bogus
35521         security check.
35522         (implAccept): Add FIXME comment.
35523
35524 2006-01-14  Wolfgang Baer  <WBaer@gmx.de>
35525
35526         Fixes bug #25387
35527         * javax/print/Doc.java: Added and enhanced documentation.
35528         * javax/print/SimpleDoc.java: New file. 
35529   
35530 2006-01-14  Wolfgang Baer  <WBaer@gmx.de>
35531   
35532         * javax/print/attribute/standard/MediaSize.java: 
35533         (Other.TABLOID): New MediaSize added in 1.5
35534   
35535 2006-01-14  Chris Burdess  <dog@gnu.org>
35536   
35537         * gnu/xml/stream/SAXParser.java: Ensure that parser is reset
35538           correctly when I/O and runtime exceptions occur during parsing.
35539   
35540 2006-01-13  Roman Kennke  <kennke@aicas.com>
35541   
35542         * gnu/java/awt/peer/swing/SwingButtonPeer.java,
35543         * gnu/java/awt/peer/swing/SwingCanvasPeer.java,
35544         * gnu/java/awt/peer/swing/SwingComponent.java,
35545         * gnu/java/awt/peer/swing/SwingComponentPeer.java,
35546         * gnu/java/awt/peer/swing/SwingContainerPeer.java,
35547         * gnu/java/awt/peer/swing/SwingFramePeer.java,
35548         * gnu/java/awt/peer/swing/SwingLabelPeer.java,
35549         * gnu/java/awt/peer/swing/SwingMenuBarPeer.java,
35550         * gnu/java/awt/peer/swing/SwingMenuItemPeer.java,
35551         * gnu/java/awt/peer/swing/SwingMenuPeer.java,
35552         * gnu/java/awt/peer/swing/SwingPanelPeer.java,
35553         * gnu/java/awt/peer/swing/SwingTextFieldPeer.java,
35554         * gnu/java/awt/peer/swing/SwingToolkit.java,
35555         * gnu/java/awt/peer/swing/SwingWindowPeer.java,
35556         * gnu/java/awt/peer/swing/package.html:
35557         New files. Implemented some basic AWT peers based on Swing.
35558   
35559 2006-01-13  Roman Kennke  <kennke@aicas.com>
35560   
35561         * java/awt/peer/ComponentPeer.java: Added API docs all over.
35562   
35563 2006-01-13  Roman Kennke  <kennke@aicas.com>
35564   
35565         * java/awt/MenuComponent.java: Reformatted to better match our
35566         coding style.
35567   
35568 2006-01-13  Roman Kennke  <kennke@aicas.com>
35569   
35570         * java/awt/Frame.java: Reformatted to better match our
35571         coding style.
35572   
35573 2006-01-13  Roman Kennke  <kennke@aicas.com>
35574   
35575         * java/awt/MenuBar.java
35576         (accessibleContext): Removed unnecessary field. This is already
35577         defined in MenuComponent.
35578         (setHelpMenu): Renamed the peer variable to myPeer because it was
35579         hiding a field of MenuComponent.
35580         (addNotify): Removed unnecessary cast.
35581   
35582 2006-01-13  Roman Kennke  <kennke@aicas.com>
35583   
35584         * java/awt/MenuBar.java: Reformatted to better match our
35585         coding style.
35586   
35587 2006-01-13  Roman Kennke  <kennke@aicas.com>
35588   
35589         * java/awt/MenuBar.java
35590         (frame): New field.
35591         (removeNotify): Clear frame field when beeing removed from the
35592         frame.
35593         * java/awt/Frame.java
35594         (setMenuBar): Store a reference of the frame in the MenuBar.
35595         * java/awt/MenuComponent.java
35596         (postEvent): Implemented to forward the call to the parent until
35597         a parent can handle the event.
35598         (dispatchEvent): Moved handling of old style events from
35599         dispatchEventImpl() to here.
35600         (dispatchEventImpl): Moved handling of old style events to
35601         dispatchEvent().
35602   
35603 2006-01-13  Roman Kennke  <kennke@aicas.com>
35604   
35605         * java/awt/Component.java
35606         (dispatchEvent): Moved handling of old style events from
35607         dispatchEventImpl() to this method.
35608         (translateEvent): Removed unnecessary cast.
35609         (dispatchEventImpl): Moved handling of old style events to
35610         dispatchEvent().
35611         
35612 2006-01-13  Lillian Angel  <langel@redhat.com>
35613   
35614         * javax/swing/text/DefaultStyledDocument.java
35615         (createDefaultRoot): Removed FIXME.
35616         (setLogicalStyle): Added fireUndoableEditUpdate call and 
35617         removed FIXME.
35618   
35619 2006-01-13  Lillian Angel  <langel@redhat.com>
35620   
35621         * javax/swing/text/DefaultStyledDocument.java
35622         (Edit): New inner class.
35623         (changeUpdate): Changed addEdit call to add a new
35624         instance of Edit to the edits Vector, so addEdits can
35625         be done later.
35626         (split): Likewise.
35627         (insertParagraph): Likewise.
35628         (insertFracture): Likewise.
35629         (insertContentTag): Likewise.
35630         (insert): Added loop to go through edits Vector and perform
35631         addEdit on each object.
35632   
35633 2006-01-13  Chris Burdess  <dog@gnu.org>
35634   
35635         * gnu/xml/transform/AbstractNumberNode.java,
35636           gnu/xml/transform/ApplyImportsNode.java,
35637           gnu/xml/transform/ApplyTemplatesNode.java,
35638           gnu/xml/transform/AttributeNode.java,
35639           gnu/xml/transform/CallTemplateNode.java,
35640           gnu/xml/transform/ChooseNode.java,
35641           gnu/xml/transform/CommentNode.java,
35642           gnu/xml/transform/CopyNode.java,
35643           gnu/xml/transform/CopyOfNode.java,
35644           gnu/xml/transform/DocumentFunction.java,
35645           gnu/xml/transform/ElementNode.java,
35646           gnu/xml/transform/ForEachNode.java,
35647           gnu/xml/transform/IfNode.java,
35648           gnu/xml/transform/LiteralNode.java,
35649           gnu/xml/transform/MessageNode.java,
35650           gnu/xml/transform/OtherwiseNode.java,
35651           gnu/xml/transform/ParameterNode.java,
35652           gnu/xml/transform/ProcessingInstructionNode.java,
35653           gnu/xml/transform/Stylesheet.java,
35654           gnu/xml/transform/Template.java,
35655           gnu/xml/transform/TemplateNode.java,
35656           gnu/xml/transform/TextNode.java,
35657           gnu/xml/transform/TransformerImpl.java,
35658           gnu/xml/transform/ValueOfNode.java,
35659           gnu/xml/transform/WhenNode.java,
35660           gnu/xml/xpath/NodeTypeTest.java,
35661           gnu/xml/xpath/Selector.java: simplified debugging output; ignore
35662           with-param parameters when template does not define parameters; apply
35663           conflict resolution for templates; strip whitespace on documents
35664           retrieved via document() function; allow node() to match document
35665           nodes.
35666
35667 2006-01-13  Mark Wielaard  <mark@klomp.org>
35668
35669         * doc/www.gnu.org/announce/20060113.wml: New file.
35670         * doc/www.gnu.org/newsitems.txt: Add 0.20 release announcement.
35671         * doc/www.gnu.org/downloads/downloads.wml: Add 0.20.
35672   
35673 2006-01-13  Lillian Angel  <langel@redhat.com>
35674   
35675         * javax/swing/text/DefaultStyledDocument.java:
35676         Removed unused fields.
35677         (insert): Removed unused fields.
35678         (endEdit): Removed, not needed.
35679         (insertUpdate): Removed call to endEdit.
35680         (prepareContentInsertion): Removed, not needed.
35681         (insertContentTag): Removed call to prepareContentInsertion.
35682         (printElements): Removed, not needed.
35683         (attributeSetsAreSame): Removed, not needed.
35684   
35685 2005-01-13  Mark Wielaard  <mark@klomp.org>
35686
35687         * java/lang/reflect/Modifier.java (toString(int, StringBuffer)):
35688         Duplicate of toString(int, StringBuilder).
35689
35690 2005-01-13  Mark Wielaard  <mark@klomp.org>
35691
35692         * configure.ac: Set version to 0.20.
35693         * NEWS: Add entries for all the new work done.
35694
35695 2005-01-13  Mark Wielaard  <mark@klomp.org>
35696
35697         * javax/swing/text/DefaultCaret.java: Chain all AssertionErrors.
35698
35699 2005-01-13  Mark Wielaard  <mark@klomp.org>
35700
35701         * java/util/regex/Pattern.java (Pattern): Chain REException.
35702
35703 2006-01-13  Chris Burdess  <dog@gnu.org>
35704
35705         * gnu/xml/xpath/NameTest.java: Removed debugging output.
35706
35707 2005-01-13  Jeroen Frijters  <jeroen@frijters.net>
35708
35709         * java/security/Security.java
35710         (getProperty): Added hack to skip security check when trusted
35711         code is direct caller.
35712
35713 2005-01-13  Jeroen Frijters  <jeroen@frijters.net>
35714
35715         * java/io/PrintStream.java
35716         (line_separator, PrintStream(OutputStream,boolean)): Use
35717         SystemProperties.
35718
35719 2005-01-13  Jeroen Frijters  <jeroen@frijters.net>
35720
35721         * gnu/java/nio/charset/Provider.java: Added comment about its
35722         special relation with CharsetProvider.
35723         (static): Removed.
35724         * gnu/java/nio/charset/iconv/IconvProvider.java: Added comment about
35725         its special relation with CharsetProvider.
35726         (static): Removed.
35727         * java/nio/charset/spi/CharsetProvider.java
35728         (CharsetProvider): Add special case to skip security check for
35729         built in providers.
35730
35731 2005-01-13  Mark Wielaard  <mark@klomp.org>
35732
35733         * javax/swing/JMenuItem.java (JMenuItem(Action)): Check whether
35734         name, accel, mnemonic and command are defined before setting.
35735
35736 2005-01-12  Mark Wielaard  <mark@klomp.org>
35737
35738         * javax/swing/plaf/metal/MetalFileChooserUI.java
35739         (FileRenderer.getListCellRendererComponent): Set empty name and null
35740         icon when File is null.
35741
35742 2006-01-13  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
35743
35744         * gnu/java/rmi/server/UnicastRef.java (newCall):
35745         Throw ConnectException after catching IOException.
35746
35747 2006-01-12  Lillian Angel  <langel@redhat.com>
35748
35749         * javax/swing/text/DefaultStyledDocument.java
35750         (insertUpdate): Removed unneeded check.
35751
35752 2006-01-12  Anthony Balkissoon  <abalkiss@redhat.com>
35753
35754         * javax/swing/text/DefaultStyledDocument.java:
35755         (ElementBuffer.insertContentTag): If the direction is JoinNextDirection
35756         and we haven't come immediately after a fracture, adjust the Element
35757         offsets.  Added comment explaining the situation.
35758         (insert): Return early if no ElementSpecs passed in.  Removed redundant
35759         call to insertUpdate.  Fired the UndoableEditUpdate.
35760
35761 2006-01-12  Ito Kazumitsu  <kaz@maczuka.gcd.org>
35762
35763         Fixes bug #22802
35764         * gnu/regexp/RE.java(initialize): Fixed the parsing of
35765         character classes within a subexpression.
35766
35767 2006-12-12  Lillian Angel  <langel@redhat.com>
35768
35769         * javax/swing/text/DefaultStyledDocument.java
35770         (insertUpdate): Added check to check if attribute set is 
35771         empty.
35772         (insertUpdate): Added check to determine if last character
35773         is a newline. If it is, we should not be fracturing.
35774         (insert): Added check to determine if attribute set is empty.
35775         If it is, insertUpdate should not be called.
35776
35777 2006-12-12  Guilhem Lavaux  <guilhem@kaffe.org>
35778
35779         * configure.ac: Check for isnan.
35780
35781         * native/fdlibm/fdlibm.h: If we have a isnan function then do not
35782         define the macro.
35783
35784 2006-01-12  Chris Burdess  <dog@gnu.org>
35785
35786         * gnu/xml/stream/XMLParser.java: Corrected the handling of some XML
35787           1.1 character ranges.
35788
35789 2006-01-12  Anthony Balkissoon  <abalkiss@redhat.com>
35790
35791         * javax/swing/TransferHandler.java:
35792         (TransferAction<init>): Call super constructor.  Fixes Mauve regression
35793         gnu/testlet/javax/swing/JTextField/CopyPaste.
35794
35795 2006-01-12  Christian Thalinger  <twisti@complang.tuwien.ac.at>
35796
35797         * resource/Makefile.am: Install 
35798         logging.properties into $(prefix)/lib.
35799         * resource/Makefile.am (securitydir): Changed to 
35800         $(prefix)/lib/security.
35801
35802 2006-01-12  Roman Kennke  <kennke@aicas.com>
35803
35804         * javax/swing/JTextField.java
35805         (createDefaultModel): Moved installation of the filterNewlines
35806         property to setDocument().
35807         (setDocument): New method. Installs the filterNewlines property
35808         on the document.
35809
35810 2006-01-12  Chris Burdess  <dog@gnu.org>
35811
35812         * gnu/xml/dom/DomNode.java,
35813           gnu/xml/transform/ElementAvailableFunction.java: Removed debugging
35814           output.
35815         * gnu/xml/xpath/NameTest.java,
35816           gnu/xml/xpath/NamespaceTest.java,
35817           gnu/xml/xpath/Selector.java: Fix regression for namespace axis
35818           navigation.
35819         * gnu/xml/transform/MessageNode.java: Use standard logging system
35820           for outputting messages.
35821
35822 2006-01-12  Tom Tromey  <tromey@redhat.com>
35823
35824         * java/net/InetAddress.java (DEFAULT_CACHE_SIZE): Removed.
35825         (DEFAULT_CACHE_PERIOD, DEFAULT_CACHE_PURGE_PCT): Likewise.
35826         (cache_size, cache_period, cache_purge_pct, cache): Likewise.
35827         (static initializer): Removed cache code.
35828         (checkCacheFor, addToCache): Removed.
35829         (getAllByName): Removed cache code.
35830         (lookup_time): Removed.
35831         (InetAddress): Updated.
35832
35833 2006-01-12  Chris Burdess  <dog@gnu.org>
35834
35835         * gnu/xml/dom/DomDocument.java,
35836           gnu/xml/dom/DomElement.java,
35837           gnu/xml/dom/DomNode.java,
35838           gnu/xml/stream/XMLParser.java,
35839           gnu/xml/transform/Bindings.java,
35840           gnu/xml/transform/ElementAvailableFunction.java,
35841           gnu/xml/transform/ElementNode.java,
35842           gnu/xml/transform/FunctionAvailableFunction.java,
35843           gnu/xml/transform/NamespaceProxy.java,
35844           gnu/xml/transform/StreamSerializer.java,
35845           gnu/xml/transform/Stylesheet.java,
35846           gnu/xml/transform/TransformerImpl.java,
35847           gnu/xml/xpath/Selector.java: Implement isEqualNode correctly for
35848           document and element nodes; correct coalescing semantics when parsing;
35849           attribute-sets can only refer to top-level variables and parameters;
35850           fix namespace retrieval during element-available and
35851           function-available functions; implement xsl:fallback for extension
35852           elements; tokenize whitespace correctly during whitespace stripping;
35853           correct following and previous node axes selectors.
35854
35855 2006-01-12  Roman Kennke  <kennke@aicas.com>
35856
35857         * java/util/Hashtable.java
35858         (KeyEnumerator.nextElement): Added null check to avoid NPE.
35859         (ValueEnumerator.nextElement): Added null check to avoid NPE.
35860
35861 2006-01-12  Lillian Angel  <langel@redhat.com>
35862
35863         * javax/swing/text/GapContent.java
35864         (UndoInsertString): Changed name of class to InsertUndo to match the JDK.
35865
35866 2006-01-12  Mark Wielaard  <mark@klomp.org>
35867
35868         * vm/reference/gnu/java/net/VMPlainSocketImpl.java (connect):
35869         Throw UnknowHostException when name could not be resolved.
35870
35871 2006-01-12  Jeroen Frijters  <jeroen@frijters.net>
35872
35873         * java/net/URL.java
35874         (static, getURLStreamHandler): Use SystemProperties.
35875
35876 2006-01-12  Mark Wielaard  <mark@klomp.org>
35877
35878         * vm/reference/gnu/java/net/VMPlainDatagramSocketImpl.java (receive):
35879         Use packet.getLength().
35880         * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c
35881         (nativeReceive): Check whether the receiver wants zero bytes.
35882
35883 2006-01-12  Mark Wielaard  <mark@klomp.org>
35884
35885         * native/jni/java-net/javanet.c (_javanet_recvfrom): Return -1 when
35886         other side orderly closed connection.
35887         * vm/reference/gnu/java/net/VMPlainSocketImpl.java
35888         (read(PlainSocketImpl)): Mask byte to return unsigned int. Return -1
35889         when end of stream reached.
35890
35891 2006-01-12  Mark Wielaard  <mark@klomp.org>
35892
35893         * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c:
35894         Remove asserts.
35895         * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c: Likewise.
35896         * native/jni/java-net/java_net_VMInetAddress.c: Likewise.
35897         * native/jni/java-net/java_net_VMNetworkInterface.c: Likewise.
35898         * native/jni/java-net/javanet.c: Likewise.
35899
35900 2006-01-12  Mark Wielaard  <mark@klomp.org>
35901
35902         * native/fdlibm/mprec.c (Balloc): Disable assert to workaround
35903         PR classpath/23863.
35904
35905 2006-01-11  Chris Burdess  <dog@gnu.org>
35906
35907         * gnu/xml/transform/AttributeNode.java,
35908           gnu/xml/transform/ElementNode.java,
35909           gnu/xml/transform/LiteralNode.java,
35910           gnu/xml/transform/StreamSerializer.java,
35911           gnu/xml/transform/StrippingInstruction.java,
35912           gnu/xml/transform/Stylesheet.java,
35913           gnu/xml/transform/TransformerImpl.java,
35914           gnu/xml/transform/ValueOfNode.java,
35915           gnu/xml/xpath/Expr.java,
35916           gnu/xml/xpath/LocalNameFunction.java,
35917           gnu/xml/xpath/NameFunction.java,
35918           gnu/xml/xpath/NameTest.java,
35919           gnu/xml/xpath/NamespaceUriFunction.java,
35920           gnu/xml/xpath/NodeTypeTest.java,
35921           gnu/xml/xpath/SubstringFunction.java,
35922           javax/xml/namespace/QName.java: don't determine element namespace
35923           from namespace aliases when specified; better namespace handling
35924           when serializing elements; don't create HTML meta element unless
35925           head element exists; correct encoding of CDATA sections containing
35926           ']]>'; encode HTML character entity references; use ISO-Latin-1 as
35927           default encoding for HTML output; rewrite of XSLT
35928           strip-space/preserve-space handling; correct doctype-public and
35929           doctype-system output attributes; insert generated doctype before
35930           document element; fixed result tree whitespace stripping
35931           algorithm; fixed semantics of XPath name, local-name, and
35932           namespace-uri functions; name tests handle XML/XMLNS namespaces
35933           correctly; fixed semantics of processing-instruction node test.
35934         * gnu/xml/transform/TransformerFactoryImpl.java: Add main method to
35935           aid debugging.
35936
35937 2006-01-11  Lillian Angel  <langel@redhat.com>
35938
35939         * javax/swing/text/DefaultStyledDocument.java
35940         (insertFracture): Added calls to addEdit for each time a structure 
35941         is changed. addEdit is called on the newBranch, previous, and parent
35942         structures.
35943
35944 2006-01-11  Anthony Balkissoon  <abalkiss@redhat.com>
35945
35946         * javax/swing/text/DefaultStyledDocument.java:
35947         (ElementBuffer.insertContentTag): Don't adjust the structure here.  
35948         This will have been taken care of in insertFracture.  Added a comment
35949         explaining that we need to add edits to the DocumentEvent and that
35950         this may be the place to do it.
35951
35952 2006-01-11  Anthony Balkissoon  <abalkiss@redhat.com>
35953
35954         * javax/swing/text/DefaultStyledDocument.java:
35955         (ElementBuffer.insertUpdate): Properly recreate Elements if the first
35956         tag is an end tag. Avoid NPE by pushing the proper Element on to the 
35957         elementStack when there is a start tag with JoinNextDirection.
35958
35959 2006-01-11  Roman Kennke  <kennke@aicas.com>
35960
35961         Reported by: Fridjof Siebert <siebert@aicas.com>
35962         * java/util/Hashtable.java
35963         (KEYS): Removed unneeded field.
35964         (VALUES): Removed unneeded field.
35965         (ENTRIES): Removed unneeded field.
35966         (keys): Return a KeyEnumerator instance.
35967         (elements): Returns a ValueEnumerator instance.
35968         (toString): Use an EntryIterator instance.
35969         (keySet): Return a KeyIterator instance.
35970         (values): Return a ValueIterator instance.
35971         (entrySet): Return an EntryIterator instance.
35972         (hashCode): Use EntryIterator instance.
35973         (rehash): Changed this loop to avoid redundant reads and make
35974         it obvious that null checking is not needed.
35975         (writeObject): Use EntryIterator instance.
35976         (HashIterator): Removed class.
35977         (Enumerator): Removed class.
35978         (EntryIterator): New class.
35979         (KeyIterator): New class.
35980         (ValueIterator): New class.
35981         (EntryEnumerator): New class.
35982         (KeyEnumerator): New class.
35983         (ValueEnumerator): New class.
35984
35985 2006-01-11  Lillian Angel  <langel@redhat.com>
35986
35987         * javax/swing/text/DefaultStyledDocument.java
35988         (toString): Shouldn't append the '>' character here.
35989         (createDefaultRoot): Should not set the resolve parent. This
35990         causes problems when comparing attribute sets.
35991
35992 2006-01-10  Anthony Balkissoon  <abalkiss@redhat.com>
35993
35994         * javax/swing/text/DefaultStyledDocument.java:
35995         (ElementBuffer.insertUpdate): Rewritten to properly handle start and
35996         end tags.
35997         (ElementBuffer.insertFracture): New method.
35998         (ElementBuffer.insertContentTag): Removed unnecessary case for 
35999         JoinFractureDirection - this only applies to start tags, not content
36000         tags.
36001         (insertUpdate): Corrected conditions for setting direction to 
36002         JoinNextDirection.
36003
36004 2006-01-10  Roman Kennke  <kennke@aicas.com>
36005
36006         * Makefile.am (EXTRA_DIST): Added ChangeLog-2004.
36007         * ChangeLog-2005: New File.
36008
36009 2006-01-10  Roman Kennke  <kennke@aicas.com>
36010
36011         * native/jni/java-nio/java_nio_VMDirectByteBuffer.c
36012         (get): Release the array with the correct pointer.
36013         (put): Release the array with the correct pointer. Copy the array
36014         around _before_ releasing it.
36015
36016 2006-01-10  Roman Kennke  <kennke@aicas.com>
36017
36018         * javax/swing/ViewportLayout.java
36019         (layoutContainer): Fixed condition, to avoid ClasscastException.
36020
36021 2006-01-10  Roman Kennke  <kennke@aicas.com>
36022
36023         * javax/swing/plaf/basic/BasicSplitPaneDivider.java
36024         (MouseHandler.mousePressed): Fixed indendation.
36025         (MouseHandler.mouseDragged): Fixed indendation.
36026
36027 2006-01-10  Roman Kennke  <kennke@aicas.com>
36028
36029         * javax/swing/plaf/basic/BasicLookAndFeel.java
36030         (playSound): Added @since 1.4 to the API docs.
36031
36032 2006-01-10  Roman Kennke  <kennke@aicas.com>
36033
36034         * javax/swing/plaf/basic/BasicListUI.java
36035         (maybeUpdateLayoutState): Also update the layout state, if the
36036         list has been invalidated since the last update.
36037
36038 2006-01-10  Roman Kennke  <kennke@aicas.com>
36039
36040         * javax/swing/plaf/ComponentUI.java
36041         (update): Fixed indendation.
36042
36043 2006-01-10  Roman Kennke  <kennke@aicas.com>
36044
36045         * javax/swing/ViewportLayout.java
36046         (layoutContainer): Fixed condition, so that Scrollable components
36047         are always forced to have to Viewport size, when they
36048         return true for getScrollableTracksViewportHeight() and ..Width().
36049
36050 2006-01-10  Roman Kennke  <kennke@aicas.com>
36051
36052         * javax/swing/RepaintManager.java
36053         (validateInvalidComponents): Fixed condition to avoid NPE.
36054
36055 2006-01-10  Roman Kennke  <kennke@aicas.com>
36056
36057         * javax/swing/JViewport.java:
36058         (static_initializer): Removed unused variable myScrollMode.
36059
36060 2006-01-10  Roman Kennke  <kennke@aicas.com>
36061
36062         * javax/swing/JTabbedPane.java:
36063         Cleared API docs a little.
36064
36065 2006-01-10  Roman Kennke  <kennke@aicas.com>
36066
36067         * java/util/StringTokenizer.java
36068         (StringTokenizer(String, String, boolean)):
36069         Don't trigger NPE here for conformance with the spec.
36070
36071 2006-01-10  Roman Kennke  <kennke@aicas.com>
36072
36073         * java/util/ArrayList.java
36074         (DEFAULT_CAPACITY): Changed default capacity to 10, as specified.
36075
36076 2006-01-10  Roman Kennke  <kennke@aicas.com>
36077
36078         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
36079         (GdkGraphics2D(GdkGraphics2D)): Added null check for the bg
36080         field to avoid NPE.
36081
36082 2006-01-10  Roman Kennke  <kennke@aicas.com>
36083
36084         * native/jni/java-net/javanet.c
36085         (_javanet_shutdownOutput): Replaced strerror() with
36086         TARGET_NATIVE_LAST_ERROR_STRING() for portability.
36087         (_javanet_shutdownInput): Replaced strerror() with
36088         TARGET_NATIVE_LAST_ERROR_STRING() for portability.
36089
36090 2006-01-10  Robert Schuster  <robertschuster@fsfe.org>
36091
36092         * java/beans/EventSetDescriptor.java: Reformatted and
36093         fixed API docs.
36094
36095 2006-01-10  Roman Kennke  <kennke@aicas.com>
36096
36097         * java/lang/SecurityManager.java
36098         Fully qualified AWT class references in API docs.
36099
36100 2006-01-10  Robert Schuster  <robertschuster@fsfe.org>
36101
36102         * java/beans/EventSetDescriptor.java:
36103         (getGetListenerMethod): New method.
36104
36105 2006-01-10  Mark Wielaard  <mark@klomp.org>
36106
36107         * lib/Makefile.am (GCJX): Add -g to get linenumber info.
36108
36109 2006-01-10  Jeroen Frijters  <jeroen@frijters.net>
36110
36111         PR classpath/25727
36112         * java/util/Hashtable.java
36113         (contains): Call equals on existing value.
36114         (containsKey, get, put, remove): Call equals on existing key.
36115         (getEntry): Call equals on existing entry.
36116
36117 2006-01-10  Jeroen Frijters  <jeroen@frijters.net>
36118
36119         PR classpath/24618
36120         * java/util/AbstractMap.java
36121         (equals(Object,Object)): Test for identity first.
36122         * java/util/WeakHashMap.java
36123         (WeakBucket.WeakEntry.equals): Use helper method to determine equality.
36124         (WeakBucket.WeakEntry.toString): Fixed string representation of
36125         null key.
36126         (internalGet): Use helper method to determine equality.
36127
36128 2006-01-09  Robert Schuster  <robertschuster@fsfe.org>
36129
36130         * java/beans/EventSetDescriptor.java: Implemented the two 1.4
36131         constructors.
36132
36133 2006-01-09  Anthony Balkissoon  <abalkiss@redhat.com>
36134
36135         * javax/swing/text/PlainDocument.java:
36136         (insertUpdate): Handle special case of an insertion immediately 
36137         following a newline character.
36138
36139 2006-01-09  Roman Kennke  <kennke@aicas.com>
36140
36141         * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c
36142         (connect): Added stream parameter to _connect() call.
36143         * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c
36144         (connect): Added stream parameter to _connect() call.
36145         * native/jni/java-net/javanet.c
36146         (_javanet_create_localfd): Added stream parameter. Look up
36147         fd field based on the stream parameter either in SocketImpl or
36148         in DatagramSocketImpl.
36149         (_javanet_connect): Added stream parameter. Call create_localfd
36150         using this stream parameter. Set localPort field either in
36151         SocketImpl or in DatagramSocketImpl, depending on the stream
36152         flag.
36153         * native/jni/java-net/javanet.c
36154         (_javanet_connect): Added stream parameter.
36155
36156 2006-01-09  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
36157
36158         * javax.management.Attribute.java: Grammar and 
36159         formatting fixes.
36160
36161 2006-01-09  Mark Wielaard  <mark@klomp.org>
36162
36163         * gnu/java/nio/channels/FileChannelImpl.java (map): Throw correct
36164         exception when channel is not readable or writable.
36165         * native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c
36166         (mapImpl): Add PROT_WRITE when mode == 'c' (MAP_PRIVATE). Make sure
36167         there is enough space to mmap().
36168
36169 2006-01-09  Robert Schuster  <robertschuster@fsfe.org>
36170
36171         * java/beans/Introspector.java:
36172         (getBeanInfo(Class, int)): New method.
36173         (getBeanInfo(Class, Class): Moved common code in a new method.
36174         (merge): New method.
36175
36176 2006-01-09  Robert Schuster  <robertschuster@fsfe.org>
36177
36178         * java/beans/XMLEncoder.java: Fix spelling mistakes.
36179
36180 2006-01-09  Anthony Balkissoon  <abalkiss@redhat.com>
36181
36182         * javax/swing/text/DefaultStyledDocument.java:
36183         (insertUpdate): Removed call to checkForInsertAfterNewline and instead
36184         inlined this method because it needs to change the value of the 
36185         finalStartTag and finalStartDirection variables.
36186         (checkForInsertAfterNewline): Removed this method.
36187         (handleInsertAfterNewline): Added case for making the start tag's 
36188         direction JoinNextDirection.
36189
36190 2006-01-09  Lillian Angel  <langel@redhat.com>
36191
36192         * javax/swing/plaf/basic/BasicTreeUI.java:
36193         Added new field.
36194         (setRowHeight): Row height is set to the max height of
36195         all the nodes, or 20 as a default value.
36196         (getPathBounds): Cleaned up code.
36197         (getMaxHeight): New helper function that gets the max 
36198         height of all the rows.
36199         (getClosestPathForLocation): Fixed to use getMaxHeight.
36200         (updateCachedPreferredSize): Likewise.
36201         (installUI): Shouldn't expand tree on startup.
36202         (getNodeDimensions): Fixed to use getMaxHeight. 
36203
36204 2006-01-09  Mark Wielaard  <mark@klomp.org>
36205
36206         * javax/swing/JList.java (setSelectedIndex): Clear selection when
36207         argument is negative.
36208
36209 2006-01-08  Mark Wielaard  <mark@klomp.org>
36210
36211         * java/net/InetAddress.java (getInaddrAny): Explicitly set hostName.
36212
36213 2006-01-09  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
36214
36215         * javax.management.Attribute.java: New file. 
36216
36217 2006-01-09  Roman Kennke  <kennke@aicas.com>
36218
36219         * java/net/DatagramSocketImpl.java
36220         (localPort): Renamed to localport for correct access from native
36221         code.
36222
36223 2006-01-09  Roman Kennke  <kennke@aicas.com>
36224
36225         * javax/swing/Popup.java
36226         (LightweightPopup.hide): Repaint the layered pane when popup is
36227         removed.
36228
36229 2006-01-09  Roman Kennke  <kennke@aicas.com>
36230
36231         * java/awt/Container.java
36232         (remove): Don't repaint the container here.
36233
36234 2006-01-08  Tom Tromey  <tromey@redhat.com>
36235
36236         * java/lang/InheritableThreadLocal.java: Organized imports.
36237
36238 2006-01-08  Ito Kazumitsu  <kaz@maczuka.gcd.org>  
36239
36240         Fixes bug #25679
36241         * gnu/regexp/RETokenRepeated.java(match): Optimized the case
36242         when an empty string matched an empty token.
36243
36244 2006-01-08  Chris Burdess  <dog@gnu.org>
36245
36246         * gnu/xml/stream/SAXParser.java: Check standalone status for mixed
36247           content models from external entities.
36248         * gnu/xml/stream/UnicodeReader.java: Report error instead of
36249           attempting to continue with unpaired surrogates.
36250         * gnu/xml/stream/XMLParser.java: Don't normalize LF equivalents when
36251           resolving entities with character entity references; better
36252           checking of valid character ranges; don't report an error for URI
36253           fragments in notation declarations; check unbound namespace
36254           prefixes for elements and attributes, including XML 1.1 unbinding
36255           syntax; namespace-aware checking of attribute duplicates.
36256
36257 2006-01-08  Robert Schuster  <robertschuster@fsfe.org>
36258
36259         * java/beans/Statement.java: Doc fixes.
36260         (doExecute): Workaround for Class.forName call.
36261         (toString): Made output look more like on the JDK.
36262         * java/beans/Expression.java: Doc fixes.
36263         (toString): Made output look more like on the JDK.
36264         * java/beans/PersistenceDelegate.java,
36265         java/beans/DefaultPersistenceDelegate.java,
36266         java/beans/Encoder.java,
36267         java/beans/XMLEncoder.java: New file.
36268         * gnu/java/beans/encoder/ArrayPersistenceDelegate.java,
36269         gnu/java/beans/encoder/ClassPersistenceDelegate.java,
36270         gnu/java/beans/encoder/CollectionPersistenceDelegate.java,
36271         gnu/java/beans/encoder/Context.java,
36272         gnu/java/beans/encoder/GenericScannerState.java,
36273         gnu/java/beans/encoder/IgnoringScannerState.java,
36274         gnu/java/beans/encoder/MapPersistenceDelegate.java,
36275         gnu/java/beans/encoder/ObjectId.java,
36276         gnu/java/beans/encoder/PrimitivePersistenceDelegate.java,
36277         gnu/java/beans/encoder/ReportingScannerState.java,
36278         gnu/java/beans/encoder/Root.java,
36279         gnu/java/beans/encoder/ScanEngine.java,
36280         gnu/java/beans/encoder/ScannerState.java,
36281         gnu/java/beans/encoder/StAXWriter.java,
36282         gnu/java/beans/encoder/Writer.java: New file.
36283         * gnu/java/beans/encoder/elements/Array_Get.java,
36284         gnu/java/beans/encoder/elements/Element.java,
36285         gnu/java/beans/encoder/elements/List_Set.java,
36286         gnu/java/beans/encoder/elements/Array_Set.java,
36287         gnu/java/beans/encoder/elements/NullObject.java,
36288         gnu/java/beans/encoder/elements/StaticMethodInvocation.java,
36289         gnu/java/beans/encoder/elements/StaticFieldAccess.java,
36290         gnu/java/beans/encoder/elements/StringReference.java,
36291         gnu/java/beans/encoder/elements/ClassResolution.java,
36292         gnu/java/beans/encoder/elements/ArrayInstantiation.java,
36293         gnu/java/beans/encoder/elements/PrimitiveInstantiation.java,
36294         gnu/java/beans/encoder/elements/ObjectReference.java,
36295         gnu/java/beans/encoder/elements/ObjectInstantiation.java,
36296         gnu/java/beans/encoder/elements/List_Get.java,
36297         gnu/java/beans/encoder/elements/MethodInvocation.java: New file.
36298
36299 2006-01-08  Chris Burdess  <dog@gnu.org>
36300
36301         * java/lang/Character.java (toChars,toCodePoint): Correct these
36302           methods to use algorithms from Unicode specification.
36303  
36304 2006-01-08  Mark Wielaard  <mark@klomp.org>
36305
36306         * native/jni/xmlj/Makefile.am (libxmlj_la_LIBADD): Add jcl.o.
36307
36308 2006-01-07  Paul Jenner  <psj@harker.dyndns.org>
36309
36310         Fixes bug #25711
36311         * examples/Makefile.am: Corrected DESTDIR install paths.
36312
36313 2006-01-07  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
36314
36315         * org/omg/CORBA/INVALID_ACTIVITY.java: Removed non - 
36316         ASCII character (line 46).
36317
36318 2006-01-07  Roman Kennke  <kennke@aicas.com>
36319
36320         * javax/swing/text/TableView.java: New file.
36321
36322 2006-01-07  Chris Burdess  <dog@gnu.org>
36323
36324         * gnu/xml/stream/BufferedReader.java: Removed commented out code.
36325         * gnu/xml/stream/XIncludeFilter.java: Correct XML Base behaviour.
36326         * gnu/xml/stream/XMLParser.java: Make additional StAX properties
36327           available; correct handling of unparsed entity references;
36328           absolutize all base URIs; remove commented out code.
36329
36330 2006-01-07  Chris Burdess  <dog@gnu.org>
36331
36332         * gnu/xml/stream/SAXParser.java,
36333           gnu/xml/stream/XMLParser.java: Add SAX property to return base
36334           URI of the current event.
36335
36336 2006-01-07  Chris Burdess  <dog@gnu.org>
36337
36338         * gnu/xml/stream/SAXParser.java: Add SAX feature to set XML Base
36339           aware processing.
36340
36341 2006-01-07  Chris Burdess  <dog@gnu.org>
36342
36343         * gnu/xml/stream/SAXParser.java,
36344           gnu/xml/stream/XIncludeFilter.java,
36345           gnu/xml/stream/XMLParser.java: Updated documentation.
36346
36347 2006-01-07  Chris Burdess  <dog@gnu.org>
36348
36349         * AUTHORS: add self.
36350
36351 2006-01-06  Casey Marshall  <csm@gnu.org>
36352
36353         * AUTHORS: add myself.
36354
36355 2006-01-06  Casey Marshall  <csm@gnu.org>
36356
36357         PR classpath/25699
36358         * javax/crypto/CipherInputStream.java (logger): new constant.
36359         (cipher): make final.
36360         (outLength, inBuffer, inLength): removed.
36361         (isStream): make final.
36362         (VIRGIN, LIVING, DYING, DEAD, state): removed.
36363         (eof): new field.
36364         (<init>): call `super,' not `this;' remove `inBuffer' and
36365         `outBuffer' initialization; init `eof;' add debug logging.
36366         (<init>): call `this' with a new null cipher.
36367         (available): fix javadoc to reflect the real semantics; if we
36368         don't have a buffer, call `nextBlock.'
36369         (close): synchronize.
36370         (read): synchronize; fix testing for buffered data.
36371         (read): synchronize; add `skip' semantics if first argument is
36372         `null;' decrypt stream cipher data only if there is any; fix tests
36373         for buffered data.
36374         (skip): stop using `available' to see how many data are buffered.
36375         (nextBlock): simplify to use cipher-allocated output buffers
36376         instead of internally allocated ones.
36377
36378 2006-01-06  Tom Tromey  <tromey@redhat.com>
36379
36380         * java/lang/String.java (codePointCount): Fixed javadoc.
36381
36382 2006-01-06  Tom Tromey  <tromey@redhat.com>
36383
36384         * java/lang/String.java (contains): Added @since.
36385
36386 2006-01-06  Ito Kazumitsu  <kaz@maczuka.gcd.org>  
36387
36388         Fixes bug #25616
36389         * gnu/regexp/RE.java(initialize): Allow repeat.empty.token.
36390         * gnu/regexp/RETokenRepeated.java(match): Break the loop
36391         when an empty string matched an empty token.
36392
36393 2006-01-06  Jeroen Frijters  <jeroen@frijters.net>
36394
36395         PR classpath/24858
36396         * gnu/java/util/WeakIdentityHashMap.java: New file.
36397         * java/lang/InheritableThreadLocal.java
36398         (newChildThread): Modified to remove key indirection.
36399         * java/lang/Thread.java
36400         (locals): Changed type to WeakIdentityHashMap.
36401         (getThreadLocals): Instantiate WeakIdentityHashMap instead of
36402         WeakHashMap.
36403         * java/lang/ThreadLocal.java
36404         (key, Key): Removed.
36405         (get, set): Changed to use "this" instead of "key".
36406
36407 2006-01-06  Dalibor Topic  <robilad@kaffe.org>
36408
36409         * native/fdlibm/Makefile.am (libfdlibm_la_SOURCES): Removed java-assert.h.
36410
36411         * native/fdlibm/java-assert.h: Removed file.
36412
36413         * native/fdlibm/mprec.c: Include assert.h. Don't include java-assert.h.
36414         Replaced use of JvAssert by assert.
36415
36416 2006-01-05  Anthony Balkissoon  <abalkiss@redhat.com>
36417
36418         * javax/swing/text/DefaultCaret.java:
36419         (setDot): Fixed paramater to Math.max to be this.dot and not the 
36420         parameter dot.
36421
36422 2006-01-05  Roman Kennke  <kennke@aicas.com>
36423
36424         * javax/swing/plaf/basic/BasicListUI.java
36425         (getCellHeight): New helper method.
36426         (getCellBounds): Use new helper method for determining the cell
36427         height.
36428         (paint): Don't call list.indexToLocation() but instead call
36429         directly into the same UI method.
36430         (locationToIndex): Fixed calculation of # visible rows and handling
36431         of cell heights.
36432         (indexToLocation): Fixed calculation of # visible rows and handling
36433         of cell heights.
36434
36435 2006-01-05  Roman Kennke  <kennke@aicas.com>
36436
36437         * javax/swing/plaf/metal/MetalFileChooserUI.java
36438         (createList): Set VERTICAL_SCROLLBAR_NEVER mode on the JScrollPane
36439         in the file chooser.
36440
36441 2006-01-05  Anthony Balkissoon  <abalkiss@redhat.com>
36442
36443         * javax/swing/JTextPane.java:
36444         (replaceSelection): If the document is an AbstractDocument, use replace
36445         rather than remove and insert.
36446         * javax/swing/event/EventListenerList.java:
36447         (getListeners): Reversed the order of the listeners to match the 
36448         reference implementation.
36449         * javax/swing/text/AbstractDocument.java:
36450         (insertString): Add the UndoableEdit from the content.insertString call
36451         to the DocumentEvent.
36452         (DefaultDocumentEvent.toString): Implemented.
36453         * javax/swing/text/DefaultCaret.java:
36454         (setDot): Make sure dot is > 0 and less than the length of the 
36455         document.
36456         * javax/swing/text/DefaultStyledDocument.java:
36457         (ElementBuffer.insertUpdate): Set the modified tag of the document 
36458         event when we get start and end tags.  This ensures that we create the
36459         proper BranchElements in endEdit().
36460         (ElementBuffer.insertUpdate): Added FIXME to handle 
36461         JoinFractureDirection case.
36462         (insertUpdate): Added code to check if we're inserting immediately 
36463         after a newline and to handle this case (create start and end tags). 
36464         Only change the direction of the first and last tags if they are of 
36465         type ContentType.
36466         (checkForInsertAfterNewline): New helper method.
36467         (handleInsertAfterNewline): Likewise.
36468         * javax/swing/text/View.java:
36469         (updateLayout): Avoid NPE by checking if shape is null.  Repaint 
36470         container.
36471
36472 2006-01-05  Mark Wielaard  <mark@klomp.org>
36473
36474         * newsitems.txt: Add fosdem meeting.
36475         * events/events.wml: Likewise.
36476         * events/fosdem06.wml: New file.
36477         
36478 2006-01-05  Lillian Angel  <langel@redhat.com>
36479         
36480         * javax/swing/text/GapContent.java
36481         (createPosition): No positions should be created inside the
36482         gap. Fixed check to ensure this does not happen.
36483
36484 2006-01-05  Roman Kennke  <kennke@aicas.com>
36485
36486         * javax/swing/RepaintManager.java
36487         (validateInvalidComponents): Search for the validate root
36488         and start validating there.
36489
36490 2006-01-05  Roman Kennke  <kennke@aicas.com>
36491
36492         * javax/swing/plaf/basic/BasicListUI.java
36493         (ComponentHandler): Removed unneeded class.
36494         (ListDataHandler.contentsChanged): Revalidate instead of calling
36495         damageLayout().
36496         (ListDataHandler.intervalAdded): Revalidate instead of calling
36497         damageLayout().
36498         (ListDataHandler.intervalRemoved): Revalidate instead of calling
36499         damageLayout().
36500         (PropertyChangeHandler.propertyChange): Or flags together instead
36501         of adding them. Don't call damageLayout().
36502         (componentListener): Removed unnecessary field.
36503         (damageLayout): Removed unnecessary method.
36504         (installListeners): Don't install unnecessary listeners.
36505         (uninstallListeners): Dito.
36506         (getPreferredSize): Don't ask for the real list height and
36507         calculate with the previously calculated list height.
36508         (locationToIndex): Renamed list parameter to l so that it doesn't
36509         shadow the field with the same name.
36510         (indexToLocation): Renamed list parameter to l so that it doesn't
36511         shadow the field with the same name.
36512
36513 2006-01-04  Tom Tromey  <tromey@redhat.com>
36514
36515         * include/.cvsignore: Ignore config-int.h.
36516
36517 2006-01-04  Roman Kennke  <kennke@aicas.com>
36518
36519         * javax/swing/plaf/basic/BasicListUI.java
36520         (getPreferredSize): Rewritten to match the specs.
36521
36522 2006-01-04  Roman Kennke  <kennke@aicas.com>
36523
36524         * javax/swing/JFileChooser.java
36525         (showOpenDialog): Set fixed width on the dialog.
36526         (showSaveDialog): Set fixed width on the dialog.
36527         (showDialog): Set fixed width on the dialog.
36528
36529 2006-01-04  Roman Kennke  <kennke@aicas.com>
36530
36531         * javax/swing/plaf/basic/BasicListUI.java
36532         (locationToIndex): Added FIXME about getVisibleRowCount() usage.
36533         Adjusted iteration to not use visibleRowCount and instead iterate
36534         over the real number of elements in cellHeights.
36535         (indexToLocation): Added FIXME about getVisibleRowCount() usage.
36536         Adjusted iteration to not use visibleRowCount and instead iterate
36537         over the real number of elements in cellHeights.
36538
36539 2006-01-04  Roman Kennke  <kennke@aicas.com>
36540
36541         * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c,
36542         * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c:
36543         Added __attribute__((__unused__)) macros to avoid gcc warnings.
36544
36545 2006-01-04  Roman Kennke  <kennke@aicas.com>
36546
36547         * vm/reference/gnu/java/net/VMPlainSocketImpl.java: New VM class.
36548         * vm/reference/gnu/java/net/VMPlainDatagramSocketImpl.java:
36549         New VM class.
36550         * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c: New file.
36551         * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c:
36552         New file.
36553         * native/jni/java-net/gnu_java_net_PlainDatagramSocketImpl.c:
36554         Removed.
36555         * native/jni/java-net/gnu_java_net_PlainSocketImpl.c: Removed.
36556         * native/jni/java-net/Makefile.am: Adjusted for new source files.
36557         * gnu/java/net/PlainDatagramSocketImpl.java: Use new VM interface.
36558         * gnu/java/net/PlainSocketImpl.java: Use new VM interface.
36559         * include/gnu_java_net_PlainDatagramSocketImpl.h: Removed.
36560         * include/gnu_java_net_PlainSocketImpl.h: Removed.
36561         * include/gnu_java_net_VMPlainDatagramSocketImpl.h: New header file.
36562         * include/gnu_java_net_VMPlainSocketImpl.h: New header file.
36563
36564 2006-01-04  Lillian Angel  <langel@redhat.com>
36565
36566         * javax/swing/plaf/metal/MetalFileChooserUI.java
36567         (propertyChange): Fixed to change the combo box label
36568         appropriately. Also, fixed to set the textfield's text
36569         correctly.
36570         (editFile): Fixed size of editing field.
36571         (installComponents): Correctly aligned all panels.
36572         (installStrings): Fixed to set the label's text
36573         appropriately depending on the dialog type.
36574
36575 2006-01-04  Lillian Angel  <langel@redhat.com>
36576
36577         PR classpath/25473 
36578         PR classpath/25479
36579         * javax/swing/JTree.java
36580         (JTree): Because some L&F defaults have been updated,
36581         the selectionMode for the tree needed to be set to SINGLE.
36582         * javax/swing/plaf/basic/BasicFileChooserUI.java:
36583         Initialized accessoryPanel.
36584         * javax/swing/plaf/metal/MetalFileChooserUI.java
36585         (installComponents): Added accessoryPanel to the filechooser.
36586
36587 2006-01-04  Dalibor Topic  <robilad@kaffe.org>
36588
36589         * configure.ac: Added AX_CREATE_STDINT_H
36590
36591         * include/Makefile.am (DISTCLEANFILES): Remove config-int.h.
36592
36593         * m4/ax_create_stdint_h.m4: New file.
36594
36595         * native/fdlibm/mprec.h: Include config-int.h. Removed C99
36596         typedefs. Removed stdint.h and inttypes.h includes.
36597  
36598 2006-01-03  Mark Wielaard  <mark@klomp.org>
36599
36600         * javax/swing/JMenuItem.java (configurePropertiesFromAction): Only
36601         register keyboard action when accelerator is not null.
36602         * javax/swing/plaf/basic/BasicMenuItemUI.java (propertyChange): Only
36603         re-register accelerator if not null.
36604         (installKeyboardActions): Only put accelerator in map when not null.
36605
36606 2006-01-04  Lillian Angel  <langel@redhat.com>
36607
36608         * javax/swing/plaf/basic/BasicLookAndFeel.java
36609         (initComponentDefaults): Removed unneeded default.
36610         * javax/swing/plaf/metal/MetalLookAndFeel.java
36611         (initComponentDefaults): Added and fixed several defaults.
36612
36613 2006-01-04  Roman Kennke  <kennke@aicas.com>
36614
36615         * javax/swing/plaf/basic/BasicHTML.java: New class.
36616
36617 2006-01-03  Tom Tromey  <tromey@redhat.com>
36618
36619         * java/io/OutputStreamWriter.java (OutputStreamWriter): Added @since.
36620         * java/io/InputStreamReader.java (InputStreamReader): Added @since.
36621
36622 2006-01-03  Mark Wielaard  <mark@klomp.org>
36623
36624         * org/omg/CORBA/INVALID_ACTIVITY.java: Remove non-ascii characters.
36625
36626 2006-01-03  Mark Wielaard  <mark@klomp.org>
36627
36628         * javax/swing/plaf/metal/MetalLookAndFeel.java (MetalLookAndFeel):
36629         Always call createDefaultTheme().
36630         (createDefaultTheme): Check whether theme is still null.
36631
36632 2006-01-03  Mark Wielaard  <mark@klomp.org>
36633
36634         * gnu/java/awt/peer/gtk/GdkGraphics2D.java (setBackground): Set to
36635         Color.WHITE if null.
36636
36637 2006-01-03  Lillian Angel  <langel@redhat.com>
36638
36639         * javax/swing/plaf/metal/MetalLookAndFeel.java
36640         (getDescription): Fixed to return the correct string.
36641         (getID): Likewise.
36642         (getName): Likewise.
36643         (getDefaults): Added check to avoid NPE.
36644         (getAcceleratorForeground): Likewise.
36645         (getAcceleratorSelectedForeground): Likewise.
36646         (getBlack): Likewise.
36647         (getControl): Likewise.
36648         (getControlDarkShadow): Likewise.
36649         (getControlDisabled): Likewise.
36650         (getControlHighlight): Likewise.
36651         (getControlInfo): Likewise.
36652         (getControlShadow): Likewise.
36653         (getControlTextColor): Likewise.
36654         (getControlTextFont): Likewise.
36655         (getDesktopColor): Likewise.
36656         (getFocusColor): Likewise.
36657         (getHighlightedTextColor): Likewise.
36658         (getInactiveControlTextColor): Likewise.
36659         (getInactiveSystemTextColor): Likewise.
36660         (getMenuBackground): Likewise.
36661         (getMenuDisabledForeground): Likewise.
36662         (getMenuForeground): Likewise.
36663         (getMenuSelectedBackground): Likewise.
36664         (getMenuSelectedForeground): Likewise.
36665         (getMenuTextFont): Likewise.
36666         (getPrimaryControl): Likewise.
36667         (getPrimaryControlDarkShadow): Likewise.
36668         (getPrimaryControlHighlight): Likewise.
36669         (getPrimaryControlInfo): Likewise.
36670         (getPrimaryControlShadow): Likewise.
36671         (getSeparatorBackground): Likewise.
36672         (getSeparatorForeground): Likewise.
36673         (getSubTextFont): Likewise.
36674         (getSystemTextColor): Likewise.
36675         (getSystemTextFont): Likewise.
36676         (getTextHighlightColor): Likewise.
36677         (getUserTextColor): Likewise.
36678         (getUserTextFont): Likewise.
36679         (getWhite): Likewise.
36680         (getWindowBackground): Likewise.
36681         (getWindowTitleBackground): Likewise.
36682         (getWindowTitleFont): Likewise.
36683         (getWindowTitleForeground): Likewise.
36684         (getWindowTitleInactiveBackground): Likewise.
36685         (getWindowTitleInactiveForeground): Likewise.
36686
36687 2006-01-03  Mark Wielaard  <mark@klomp.org>
36688
36689         * javax/swing/JTextArea.java
36690         (JTextArea(Document,text,int,int)): Only call setText() when text is
36691         not null.
36692
36693 2006-01-03  Lillian Angel  <langel@redhat.com>
36694
36695         * javax/swing/plaf/basic/BasicFileChooserUI.java
36696         (installStrings): Fixed installation of defaults that
36697         were changed in BasicLookAndFeel.
36698         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
36699         (installDefaults): Fixed installation of defaults that
36700         were changed in BasicLookAndFeel.
36701
36702 2006-01-03  Lillian Angel  <langel@redhat.com>
36703
36704         * javax/swing/plaf/basic/BasicLookAndFeel.java
36705         (initComponentDefaults): Fixed several defaults that differed
36706         from the JDK.
36707
36708 2006-01-03  Lillian Angel  <langel@redhat.com>
36709
36710         * javax/swing/tree/DefaultTreeSelectionModel.java
36711         (DefaultTreeSelectionModel): Default should be DISCONTIGUOUS_TREE_SELECTION.
36712
36713 2006-01-03  Lillian Angel  <langel@redhat.com>
36714
36715         * javax/swing/AbstractAction.java
36716         (AbstractAction): Fixed to pass in null. Should not be 
36717         an empty string. Removed TODO comment.
36718         (AbstractAction): Removed TODO comment.
36719         * javax/swing/JList.java
36720         (init): Default selection mode should be MULTIPLE_INTERVAL_SELECTION.
36721         * javax/swing/JMenuItem.java
36722         (JMenuItem): Set all defaults if the action passed in is not null.
36723         * javax/swing/JProgressBar.java
36724         (JProgressBar): Added check to prevent NPE.
36725
36726 2006-01-03  Lillian Angel  <langel@redhat.com>
36727
36728         * javax/swing/plaf/basic/BasicListUI.java
36729         (getPreferredSize): The JDK adds some extra space to 
36730         the list, so we should as well.
36731         * javax/swing/plaf/metal/MetalFileChooserUI.java
36732         (getPreferredSize): Should only take the fileListPanel's
36733         width into account when getting the size. Also, the buttonPanel's
36734         size should not be checked, since it is in the bottomPanel already.
36735         (getMinimumSize): Likewise.
36736
36737 2006-01-03  Lillian Angel  <langel@redhat.com>
36738
36739         * javax/swing/JList.java
36740         (init): visibleRowCount should be 7, like the JDK.
36741         * javax/swing/plaf/metal/MetalFileChooserUI.java
36742         (installComponents): No need to add the fileFilterCombo
36743         to a panel. It can be added to the row directly.
36744
36745 2006-01-03  Lillian Angel  <langel@redhat.com>
36746         
36747         PR classpath/25480 PR classpath/25478
36748         * javax/swing/plaf/basic/BasicScrollPaneUI.java
36749         (updateViewport): Made changes suggested by
36750         Chris Lansdown.
36751         * javax/swing/plaf/metal/MetalFileChooserUI.java:
36752         Removed unneeded import.
36753         (createList): Removed comment, JList wrapping 
36754         now works.
36755         (getPreferredSize): Made changes suggested by
36756         Chris Lansdown. Uses fileListPanel, instead
36757         of fileList.
36758         (getMinimumSize): Uses fileListPanel, instead
36759         of fileList.
36760         * javax/swing/plaf/metal/MetalRadioButtonUI.java
36761         (paintFocus): Fixed height.
36762
36763 2006-01-03  Roman Kennke  <kennke@aicas.com>
36764
36765         * javax/swing/plaf/basic/BasicListUI.java
36766         (locationToIndex): Added check to avoid ArrayOutOfBoundsException.
36767
36768 2006-01-03  Roman Kennke  <kennke@aicas.com>
36769
36770         * javax/swing/plaf/basic/BasicListUI.java
36771         (locationToIndex): Special case for when variable cell heights
36772         are possible. (cellHeights is used instead of cellHeight).
36773         (indexToLocation): Special case for when variable cell heights
36774         are possible. (cellHeights is used instead of cellHeight).
36775
36776 2006-01-03  Roman Kennke  <kennke@aicas.com>
36777
36778         * javax/swing/text/DefaultStyledDocument.java
36779         (ElementBuffer.remove): New method.
36780         (ElementBuffer.removeUpdate): New method.
36781         (removeUpdate): New method.
36782
36783 2006-01-03  Roman Kennke  <kennke@aicas.com>
36784
36785         * lib/Makefile.am:
36786         (dist-hook): Preserve attributes of Java sources when copying to
36787         dist dir.
36788
36789 2006-01-03  Raif S. Naffah  <raif@swiftdsl.com.au>
36790
36791         * AUTHORS: Added self.
36792         * java/security/Security.java (getProvider): Ensures provider's name is
36793           not null, not an empty string, and is trimmed before usage.
36794
36795 2006-01-01  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
36796
36797         * gnu/CORBA/Poa/AOM.java (add):
36798         Changed parameter Object into gnuServantObject.
36799         (Obj.object): Changed type to gnuServantObject.
36800         (findObject): Rewritten.
36801
36802 2006-01-01  Andreas Tobler  <a.tobler@schweiz.ch>
36803
36804         * native/jni/qt-peer/mainqtthread.cpp: Remove call to disable double
36805         buffering. Ability has gone in Qt-4.1.x.
36806
36807         * configure.ac (QT_CFLAGS): Check for 4.1.0 version and for QtCore
36808         to have the right include flags.
36809
36810 2006-01-01  Raif S. Naffah  <raif@swiftdsl.com.au>
36811
36812         * java/security/MessageDigest.java (getInstance(String,String)):
36813         Use trimmed copy of provider name.
36814         * gnu/java/security/Engine.java
36815         (getInstance(String,String,Provider,Object[])): Use trimmed copy of
36816         service and algorithm names.
36817
36818 2006-01-01  Raif S. Naffah  <raif@swiftdsl.com.au>
36819
36820         * java/net/InetAddress.java (getAllByName): use LOCALHOST if
36821         localhost is null or is an empty string. Trim hostname before
36822         lookup.
36823