OSDN Git Service

cf778b4a09025564d917003440fe0f8778fabc4a
[pf3gnuchains/gcc-fork.git] / libjava / classpath / ChangeLog
1 2007-05-19  Andreas Tobler  <a.tobler@schweiz.org>
2
3         PR libgcj/31659
4         * m4/ax_create_stdint_h.m4: Apply patch from PR31659.
5         * configure: Regenerate.
6
7 2007-05-07 Keith Seitz  <keiths@redhat.com>
8
9         * gnu/classpath/jdwp/Jdwp.java (notify): Rewrite to call
10         new array-based method.
11         (notify): New function.
12         (sendEvent): Rewrite to use sendEvents.
13         (sendEvents): New method.
14         * gnu/classpath/jdwp/event/Event.java (toPacket): Make static.
15         Change parameters to use arrays for events and requests.
16         Add suspendPolicy parameter.
17         Move per-event data transformation to...
18         (_toData): ... here.
19         * gnu/classpath/jdwp/transport/JdwpConnection.java
20         (sendEvent): Renamed to ...
21         (sendEvents): ... this.
22         Change parameters to use arrays for events and requests.
23         Add suspendPolicy parameter.
24
25 2007-05-03  Andrew Haley  <aph@redhat.com>
26
27         * gnu/javax/management/Server.java (Server): Record the delegate.
28         (registerMBean): Notify the delegate.
29         (unregisterMBean): Likewise.
30         (notify): New method.
31
32 2007-04-04  Francis Kung  <fkung@redhat.com>
33
34         * gnu/java/awt/peer/gtk/ComponentGraphics.java
35         (cairoDrawGlyphVector): Removed method.
36         (cairoSetFont): Removed method.
37         (disposeNative): Removed method.
38         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
39         (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoDrawGlyphVector): Added
40         locking.
41         (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoSetFont): Added locking.
42         (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_disposeNative): Added locking.
43
44 2007-04-27  Keith Seitz  <keiths@redhat.com>
45
46         * gnu/classpath/jdwp/event/EventManager.java
47         (getEventRequest): Rename to...
48         (getEventRequests): ...this.
49         Change return type to array of requests.
50         Construct a list of all matching events and return
51         them all.
52         * gnu/classpath/jdwp/Jdwp.java (notify): Use getEventRequests
53         and send event notifications for all matching requests.
54
55 2007-04-27  Keith Seitz  <keiths@redhat.com>
56
57         * gnu/classpath/jdwp/event/filters/LocationOnlyFilter.java
58         (matches): Use Location.equals to determine equality.
59         * gnu/classpath/jdwp/VMMethod.java (equals):
60         New method.
61         * gnu/classpath/jdwp/util/Location.java (equals):
62         New method.
63
64 2007-03-16  Francis Kung  <fkung@redhat.com>
65
66         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
67         (cairoArc): Make protected rather than private so it can be over-ridden.
68         (cairoClip): Likewise.
69         (cairoClosePath): Likewise.
70         (cairoCurveTo): Likewise.
71         (cairoDrawGlyphVector): Likewise.
72         (cairoFill): Likewise.
73         (cairoLineTo): Likewise.
74         (cairoMoveTo): Likewise.
75         (cairoNewPath): Likewise.
76         (cairoRectangle): Likewise.
77         (cairoResetClip): Likewise.
78         (cairoRestore): Likewise.
79         (cairoSave): Likewise.
80         (cairoScale): Likewise.
81         (cairoSetAntialias): Likewise.
82         (cairoSetDash): Likewise.
83         (cairoSetFillRule): Likewise.
84         (cairoSetFont): Likewise.
85         (cairoSetLine): Likewise.
86         (cairoSetMatrix): Likewise.
87         (cairoSetOperator): Likewise.
88         (cairoSetRGBAColor): Likewise.
89         (cairoStroke): Likewise.
90         (drawPixels): Likewise.
91         (init): Likewise.
92         (setGradient): Likewise.
93         (setPaintPixels): Likewise.
94         (cairoDrawLine): Removed.
95         (cairoDrawRect): Removed.
96         (cairoFillRect): Removed.
97         (cairoPreserveClip): Removed.
98         (cairoRelCurveTo): Removed.
99         (cairoRelLineTo): Removed.
100         (cairoRelMoveTo): Removed.
101         * gnu/java/awt/peer/gtk/ComponentGraphics.java
102         (cairoArc): New method wrapping superclass method in locks.
103         (cairoClip): Likewise.
104         (cairoClosePath): Likewise.
105         (cairoCurveTo): Likewise.
106         (cairoDrawGlyphVector): Likewise.
107         (cairoFill): Likewise.
108         (cairoLineTo): Likewise.
109         (cairoMoveTo): Likewise.
110         (cairoNewPath): Likewise.
111         (cairoRectangle): Likewise.
112         (cairoResetClip): Likewise.
113         (cairoRestore): Likewise.
114         (cairoSave): Likewise.
115         (cairoScale): Likewise.
116         (cairoSetAntialias): Likewise.
117         (cairoSetDash): Likewise.
118         (cairoSetFillRule): Likewise.
119         (cairoSetFont): Likewise.
120         (cairoSetLine): Likewise.
121         (cairoSetMatrix): Likewise.
122         (cairoSetOperator): Likewise.
123         (cairoSetRGBAColor): Likewise.
124         (cairoStroke): Likewise.
125         (disposeNative): Likewise.
126         (drawPixels): Likewise.
127         (init): Likewise.
128         (setGradient): Likewise.
129         (setPaintPixels): Likewise.
130         (draw): Do not lock, as locking is now done in the wrapped native methods.
131         (drawComposite): Likewise.
132         (drawGlyphVector): Likewise.
133         (drawImage): Likewise.
134         (drawRenderedImage): Likewise.
135         (fill): Likewise.
136         (setClip): Removed.
137         (lock): Added documentation.
138         (unlock): Added documentation.
139         * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Regenerated.
140         * include/gnu_java_awt_peer_gtk_ComponentGraphics.h: Regenerated.
141         * lib/gnu/java/awt/peer/gtk/ComponentGraphics.class: Regenerated.
142         * lib/gnu/java/awt/peer/gtk/CairoGraphics2D.class: Regenerated.
143         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
144         (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoDrawLine): Removed.
145         (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoDrawRect): Removed.
146         (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoFillRect): Removed.
147         (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoPreserveClip): Removed.
148         (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoRelCurveTo): Removed.
149         (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoRelLineTo): Removed.
150         (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoRelMoveTo): Removed.
151
152 2007-04-23  Jeroen Frijters  <jeroen@frijters.net>
153
154         PR classpath/31646:
155         * java/util/Arrays.java (qsort): Corrected initial median calculation.
156
157 2007-04-19  Casey Marshall  <csm@gnu.org>
158
159         PR classpath/31626:
160         * gnu/javax/net/ssl/provider/SSLSocketFactoryImpl.java
161         (createSocket): New method.
162
163 2007-04-18  Tom Tromey  <tromey@redhat.com>
164
165         * tools/gnu/classpath/tools/javah/MethodHelper.java (print):
166         Changed arguments.  Directly print method name.
167         * tools/gnu/classpath/tools/javah/ClassWrapper.java
168         (methodNameMap): New field.
169         (makeVtable): Initialize it.
170         (printMethods): Compute name for bridge targets.
171
172 2007-04-17  Andrew Haley  <aph@redhat.com>
173
174         * gnu/java/rmi/server/UnicastConnectionManager.java
175         (UnicastConnectionManager(int port, RMIServerSocketFactory)):
176         Listen on "localhost", not localhost.
177
178 2007-04-17  Francis Kung  <fkung@redhat.com>
179
180         PR classpath/31311
181         * gnu/java/awt/peer/gtk/ComponentGraphics.java
182         (dispose): Removed method.
183         (disposeSurface): Removed method.
184         * gnu_java_awt_peer_gtk_ComponentGraphics.h: Regenerated.
185         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
186         (Java_gnu_java_awt_peer_gtk_ComponentGraphics_disposeSurface): Removed.
187         (Java_gnu_java_awt_peer_gtk_ComponentGraphics_initState): Destroy surface
188         after it is used to create a cairo context.
189
190 2007-04-16  Tom Tromey  <tromey@redhat.com>
191
192         https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=236614
193         * gnu/javax/net/ssl/provider/SSLSocketFactoryImpl.java
194         (createSocket): Change order of delegation.
195
196 2007-04-16  Andrew Haley  <aph@redhat.com>
197
198         * java/io/ObjectInputStream.java: (parseContent):  Call (String,
199         Object) version of dumpElementln.
200         (dumpElementln(String, Object)): New method.
201         * java/io/ObjectOutputStream.java (writeObject): Call (String,
202         Object) version of dumpElementln.
203         (dumpElementln(String, Object)): New method.
204
205 2007-04-16  Andrew John Hughes  <gnu_andrew@member.fsf.org>
206
207         * javax/management/ObjectName.java:
208         (parse(String)): Catch multiple wildcards,
209         initialise with an empty string (so null isn't
210         appended), and emit comma even when wildcard
211         ends the list.
212         (checkComponents()): Catch newlines.
213         (quote(String)): Handle newlines and quotes
214         correctly.
215
216 2007-04-16  Andrew Haley  <aph@redhat.com>
217
218         * org/omg/IOP/TaggedComponentHelper.java (read): Use
219         read_octet_array(), not read().
220         (write): Use write_octet_array(), not write().
221
222         * org/omg/PortableServer/Servant.java (_get_delegate): Throw if no
223         delegate has been set.
224
225         * javax/management/ObjectName.java serialVersionUID: Declare.
226         Make all fields transient.
227         (parse): Break out from constructor.
228         (writeObject, readObject): New methods.
229
230 2007-04-02  Keith Seitz  <keiths@redhat.com>
231
232         * gnu/classpath/jdwp/event/ThreadStartEvent.java (Event):
233         Event type is "THREAD_START" not "THREAD_END".
234
235         * gnu/classpath/jdwp/transport/SocketTransport.java (ITransport):
236         Handle configure strings ":port" and "port".
237
238 2007-03-30  Andrew Haley  <aph@redhat.com>
239
240         * javax/management/ObjectName.java: Handle 0-length names.
241
242 2007-03-27  Andrew Haley  <aph@redhat.com>
243
244         * javax/management/MBeanServerFactory.java: Use the domain that
245         we've been passed, not the fixed string "DefaultDomain".
246
247 2007-03-29  Tom Tromey  <tromey@redhat.com>
248
249         PR libgcj/29869:
250         * gnu/java/util/jar/JarUtils.java (log): Commented out.
251         (readSFManifest): Don't log.
252
253 2007-03-28  Casey Marshall  <csm@gnu.org>
254
255         * gnu/javax/net/ssl/provider/ClientHandshake.java (RSAGen.implRun):
256         check keyEncipherment bit of the certificate, and just pass the public
257         key to the cipher.
258
259 2007-03-27  Casey Marshall  <csm@gnu.org>
260
261         PR classpath/31302:
262         * gnu/javax/net/ssl/provider/SSLSocketImpl.java (SSLSocketImpl):
263         Always make a new socket.
264         (bind, connect, getInetAddress, getLocalAddress, getPort,
265         getLocalPort, getRemoteSocketAddress, getLocalSocketAddress,
266         setTcpNoDelay, getTcpNoDelay, setSoLinger, getSoLinger,
267         setOOBInline, getOOBInline, setSoTimeout, getSoTimeout,
268         setSendBufferSize, getSendBufferSize, setReceiveBufferSize,
269         getReceiveBufferSize, setKeepAlive, getKeepAlive, setTrafficClass,
270         getTrafficClass, setReuseAddress, getReuseAddress, close,
271         shutdownInput, shutdownOutput, isConnected, isBound, isClosed,
272         isInputShutdown, isOutputShutdown): Always use
273         'underlyingSocket'.
274
275 2007-03-27  Tom Tromey  <tromey@redhat.com>
276
277         PR classpath/31303:
278         * external/sax/org/xml/sax/helpers/XMLReaderFactory.java
279         (createXMLReader): Code in Classpath default.
280
281 2007-03-27  Keith Seitz  <keiths@redhat.com>
282
283         Merged from upstream:
284         2007-03-09  Kyle Galloway  <kgallowa@redhat.com>
285         * gnu/classpath/jdwp/exception/InvalidTagException.java: New file.
286         * gnu/classpath/jdwp/processor/ArrayReferenceCommandSet.java
287         (executeGetValues): Use Value type.
288         (exectureSetValues): Ditto.  
289         * gnu/classpath/jdwp/processor/ClassTypeCommandSet.java
290         (executeGetValues): Use Value type.
291         (executeSetValues): Ditto.
292         (invokeMethod): Record method return type.
293         * gnu/classpath/jdwp/processor/ObjectReferenceCommandSet.java
294         (executeGetValues): Use Value type.
295         (executeSetValues): Ditto.
296         * gnu/classpath/jdwp/processor/ReferenceTypeCommandSet.java
297         (executeGetValues): Use Value type.
298         * gnu/classpath/jdwp/processor/StackFrameCommandSet.java
299         (executeGetValues): Use Value type.
300         (executeSetValues): Ditto.
301         * gnu/classpath/jdwp/util/MethodResult.java: Add resType to store
302         return type.
303         (getResultType): New Method.
304         (setResultType): Ditto.
305         * gnu/classpath/jdwp/util/Value.java: Remove.
306         * gnu/classpath/jdwp/value: New Package.
307         * gnu/classpath/jdwp/value/Value.java: New file.
308         * gnu/classpath/jdwp/value/BooleanValue.java: New file.
309         * gnu/classpath/jdwp/value/ByteValue.java: New file.
310         * gnu/classpath/jdwp/value/CharValue.java: New file.
311         * gnu/classpath/jdwp/value/DoubleValue.java: New file.
312         * gnu/classpath/jdwp/value/FloatValue.java: New file.
313         * gnu/classpath/jdwp/value/IntValue.java: New file.
314         * gnu/classpath/jdwp/value/LongValue.java: New file.
315         * gnu/classpath/jdwp/value/ObjectValue.java: New file.
316         * gnu/classpath/jdwp/value/ShortValue.java: New file.
317         * gnu/classpath/jdwp/value/StringValue.java: New file.
318         * gnu/classpath/jdwp/value/ValueFactory.java: New file.
319         * gnu/classpath/jdwp/value/VoidValue.java: New file.
320
321         2007-02-28  Keith Seitz  <keiths@redhat.com>
322         * gnu/classpath/jdwp/processor/EventRequestCommandSet.java
323         (executeSet): Check if VM has capability for field access
324         or modification events.
325         * gnu/classpath/jdwp/processor/MethodCommandSet.java
326         (executeByteCodes): Check if VM has capability and
327         implement.
328         * gnu/classpath/jdwp/processor/ObjectReferenceCommandSet.java
329         (executeMonitorInfo): Likewise.
330         * gnu/classpath/jdwp/processor/ReferenceTypeCommandSet.java
331         (executeSourceDebugExtension): Likewise.
332         * gnu/classpath/jdwp/processor/StackFrameCommandSet.java
333         (executePopFrames): Likewise.
334         * gnu/classpath/jdwp/processor/ThreadReferenceCommandSet.java
335         (executeOwnedMonitors): Likewise.
336         (executeCurrentContendedMonitor): Likewise.
337         * gnu/classpath/jdwp/processor/VirtualMachineCommandSet.java
338         (executeCapabilities): Rewrite using new VMVirtualMachine
339         capabilities.
340         (executeRedefineClasses): Check if VM has capability and
341         implement.
342         (executeSetDefaultStratum): Likewise.
343         * gnu/classpath/jdwp/util/MonitorInfo.java; New file.
344         * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java
345         (canWatchFieldModification): New class constant.
346         (canWatchFieldAccess): Likewise.
347         (canGetBytecodes): Likewise.
348         (canGetSyntheticAttribute): Likewise.
349         (canGetOwnedMonitorInfo): Likewise.
350         (canGetCurrentContendedMonitor): Likewise.
351         (canGetMonitorInfo): Likewise.
352         (canRedefineClasses): Likewise.
353         (canAddMethod): Likewise.
354         (canUnrestrictedlyRedefineClasses): Likewise.
355         (canPopFrames): Likewise.
356         (canUseInstanceFilters): Likewise.
357         (canGetSourceDebugExtension): Likewise.
358         (canRequestVMDeathEvent): Likewise.
359         (canSetDefaultStratum): Likewise.
360         (redefineClasses): New method.
361         (setDefaultStratum): Likewise.
362         (getSourceDebugExtension): Likewise.
363         (getBytecodes): Likewise.
364         (getMonitorInfo): Likewise.
365         (getOwnedMonitors): Likewise.
366         (getCurrentContendedMonitor): Likewise.
367         (popFrames): Likewise.
368
369         2007-02-28  Keith Seitz  <keiths@redhat.com>
370         * gnu/classpath/jdwp/processor/MethodCommandSet.java
371         (executeLineTable): Use ReferenceTypeId instead of
372         ClassReferenceTypeId.
373         (executeVariableTable): Likewise.
374         (executeVariableTableWithGeneric): Fix error message.
375         * gnu/classpath/jdwp/processor/ReferenceTypeCommandSet.java
376         (executeSignatureWithGeneric): Fix error message.
377         (executeFieldWithGeneric): Likewise.
378         (executeMethodsWithGeneric): Likewise.
379         * gnu/classpath/jdwp/processor/StackFrameCommandSet.java
380         (executeGetValues): Use ThreadId instead of ObjectId.
381         (executeSetValues): Likewise.
382         (executeThisObject): Likewise.
383
384         2007-02-28  Kyle Galloway  <kgallowa@redhat.com>
385         * gnu/classpath/jdwp/id/NullObjectId.java: New class.
386         * gnu/classpath/jdwp/util/NullObject.java: New class.
387         * vm/reference/gnu/classpath/jdwp/VMIdManager.java
388         (getObjectId): Handle null object.
389         (get): Handle objectId of 0. 
390
391         2007-02-22  Keith Seitz  <keiths@redhat.ecom>
392         * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java
393         (getAllLoadedClassesCount): Remove.
394         (getAllLoadedClasses): Return a Collection.
395         * gnu/classpath/jdwp/processor/VirtualMachineCommandSet.java
396         (executeClassesBySignature): VMVirtualMachine.getAllLoadedClasses
397         now returns Collection.
398         (executeAllClasses): Likewise.
399         Get size of return from Colleciton instead of calling
400         getAllLoadedClassesCount.
401
402         2007-02-22  Kyle Galloway  <kgallowa@redhat.com>
403         * gnu/classpath/jdwp/processor/StackFrameCommandSet.java 
404         (executeGetValues): Pass a signature byte to VMFrame.getValue.
405         * vm/reference/gnu/classpath/jdwp/VMFrame.java (getValue): Add
406         signature parameter.
407
408         2007-02-02  Kyle Galloway  <kgallowa@redhat.com>
409         * gnu/classpath/jdwp/processor/StackFrameCommandSet.java
410         (executeGetValues): Changed getFrame to use a jlong to pass frameID.
411         (executeSetValues): Ditto.
412         (executeThisObject): Ditto.
413         * vm/reference/gnu/classpath/jdwp/VMFrame.java: Added thread field
414         and a constructor used to create VMFrames.
415         (getThread): New method.
416         * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java(getFrame):
417         Changed to take a long instead of a ByteBuffer to pass the frameID.
418
419         2007-01-15  Kyle Galloway  <kgallowa@redhat.com>
420         * gnu/classpath/jdwp/exception/InvalidSlotException.java: New file.
421
422 2007-03-26  Tom Tromey  <tromey@redhat.com>
423
424         * doc/cp-tools.texinfo (gcjh Tool): Added more text.
425         (rmid Tool): Likewise.
426
427 2007-03-25  Dalibor Topic  <robilad@kaffe.org>
428
429         * doc/cp-tools.texinfo: Fix node ordering.
430
431 2007-03-19  Matthias Klose  <doko@ubuntu.com>
432
433         * doc/Makefile.am: Build a gcjh(1) man page.
434         * doc/cp-tools.texinfo: Add documentation for gcjh.
435
436 2007-03-26  Stepan Kasal  <skasal@redhat.com>
437
438         * tools/gnu/classpath/tools/javah/Main.java (cniOrJniSeen): New
439         field.
440         (getParser): Use new field.
441
442 2007-03-17  Thomas Fitzsimmons  <fitzsim@redhat.com>
443
444         * resource/com/sun/tools/javac/messages.properties
445         (Main.FailedToRead, Main.MalformedURL, Main.FailedToLoad): Clarify
446         messages for when --with-ecj-jar is not specified.
447         * configure.ac (FOUND_ECJ_JAR): Remove conditional.
448         * tools/Makefile.am: Build com.sun.tools.javac package
449         unconditionally.
450         * configure, doc/api/Makefile.in, doc/Makefile.in,
451         examples/Makefile.in, external/jsr166/Makefile.in,
452         external/Makefile.in, external/relaxngDatatype/Makefile.in,
453         external/sax/Makefile.in, external/w3c_dom/Makefile.in,
454         include/Makefile.in, lib/Makefile.in, Makefile.in,
455         native/fdlibm/Makefile.in, native/jawt/Makefile.in,
456         native/jni/classpath/Makefile.in,
457         native/jni/gconf-peer/Makefile.in,
458         native/jni/gtk-peer/Makefile.in, native/jni/java-io/Makefile.in,
459         native/jni/java-lang/Makefile.in, native/jni/java-net/Makefile.in,
460         native/jni/java-nio/Makefile.in, native/jni/java-util/Makefile.in,
461         native/jni/Makefile.in, native/jni/midi-alsa/Makefile.in,
462         native/jni/midi-dssi/Makefile.in,
463         native/jni/native-lib/Makefile.in, native/jni/qt-peer/Makefile.in,
464         native/jni/xmlj/Makefile.in, native/Makefile.in,
465         native/plugin/Makefile.in, resource/Makefile.in,
466         scripts/Makefile.in, tools/Makefile.in: Regenerate.
467         * tools/classes/com/sun/tools/javac: New directory.
468         * tools/classes/com/sun/tools/javac/Main.class,
469         tools/classes/com/sun/tools/javac/Messages.class: New files.
470
471 2007-03-16  Tom Tromey  <tromey@redhat.com>
472
473         * tools/gnu/classpath/tools/javah/Main.java (run): Use class'
474         name in File case.
475
476 2007-03-16  Tom Tromey  <tromey@redhat.com>
477
478         * tools/gnu/classpath/tools/javah/JniStubPrinter.java
479         (printClass): Added filename argument.
480         * tools/gnu/classpath/tools/javah/JniIncludePrinter.java
481         (printClass): Added filename argument.
482         * tools/gnu/classpath/tools/javah/CniIncludePrinter.java
483         (printClass): Use user's file name.
484         * tools/gnu/classpath/tools/javah/CniStubPrinter.java
485         (printClass): Use user's file name.
486         * tools/gnu/classpath/tools/javah/Printer.java (printClass): Added
487         filename argument.
488         * tools/gnu/classpath/tools/javah/Main.java (getParser): Fix '-v'
489         argument order.
490         (writeHeaders): Use a HashMap.
491         (run): Put class name into HashMap for writeHeaders.
492
493 2007-03-02  Mario Torre  <neugens@limasoftware.net>
494
495         PR classpath/31017:
496         committed for Petteri Räty <betelgeuse@gentoo.org>
497         * configure.ac: fix broken build for gcj browser plugin
498
499 2007-02-20  Jakub Jelinek  <jakub@redhat.com>
500
501         * java/util/Date.java (parse): Properly parse 09:01:02 as
502         hours/minutes/seconds, not as hours/minutes/year.
503         * java/util/SimpleTimeZone.java (SimpleTimeZone): Simplify
504         {start,end}TimeMode constructor by calling shorter constructor,
505         set {start,end}TimeMode fields after it returns.
506         (setStartRule): Don't adjust startTime into WALL_TIME.  Set
507         startTimeMode to WALL_TIME.
508         (endStartRule): Similarly.
509         (getOffset): Handle properly millis + dstOffset overflowing into the
510         next day.  Adjust startTime resp. endTime based on startTimeMode
511         resp. endTimeMode.
512         * java/util/TimeZone.java (zoneinfo_dir, availableIDs, aliases0): New
513         static fields.
514         (timezones): Remove synchronized keyword.  Set zoneinfo_dir.
515         If non-null, set up aliases0 and don't put anything into
516         timezones0.
517         (defaultZone): Call getTimeZone instead of timezones().get.
518         (getDefaultTimeZone): Fix parsing of EST5 or EST5EDT6.  Use
519         getTimeZoneInternal instead of timezones().get.
520         (parseTime): Parse correctly hour:minute.
521         (getTimeZoneInternal): New private method.
522         (getTimeZone): Do the custom ID checking first, canonicalize
523         ID for custom IDs as required by documentation.  Call
524         getTimeZoneInternal to handle the rest.
525         (getAvailableIDs(int)): Add locking.  Handle zoneinfo_dir != null.
526         (getAvailableIDs(File,String,ArrayList)): New private method.
527         (getAvailableIDs()): Add locking.  Handle zoneinfo_dir != null.
528         * gnu/java/util/ZoneInfo.java: New file.
529
530 2007-02-20  Matthias Klose  <doko@ubuntu.com>
531
532         * doc/Makefile.am: Add rules to build and install man pages
533         from texinfo docs.
534         * doc/hacking.texinfo doc/tools.texinfo, doc/vmintegration.texinfo:
535         Rename, prefix files with "cp-".
536         * doc/cp-tools.texinfo: Add markup for man page generation,
537         add documentation for command line options for gjar, gjavah,
538         gnative2ascii, gorbd, grmid, grmiregistry, gserialver, gtnameserv.
539         doc/texi2pod.pl: New, taken from the GCC sources.
540
541 2006-10-14  Edwin Steiner  <edwin.steiner@gmx.net>
542
543         PR classpath/28652:
544         * javax/management/MBeanInfo.java (MBeanInfo): 
545         Use clone to duplicate the arrays in order to
546         preserve the array type.
547
548 2007-02-16  Andrew Haley  <aph@redhat.com>
549
550         * gnu/java/lang/management/MemoryMXBeanImpl.java,
551         javax/management/MBeanServerDelegate.java: Use
552         gnu.javax.management.ListenerData rather than
553         gnu.classpath.ListenerData.
554         * gnu/javax/management/ListenerData.java: Move here from
555         gnu/classpath/ListenerData.java.
556
557 2007-02-14  Jakub Jelinek  <jakub@redhat.com>
558         Andrew Haley  <aph@redhat.com>
559
560         * java/util/TimeZone.java (getDateParams): Negate dayOfWeek.
561
562 2007-02-09  Tom Tromey  <tromey@redhat.com>
563
564         PR libgcj/30647:
565         * configure: Rebuilt.
566         * configure.ac: Also check for jack/jack.h.
567
568 2007-02-09  Jakub Jelinek  <jakub@redhat.com>
569
570         * java/util/TimeZone.java: Handle default (one hour) daylight
571         savings.
572
573 2007-02-09  Jakub Jelinek  <jakub@redhat.com>
574
575         PR 23566
576         * scripts/timezones.pl: Parse each file in 2 passes, in one parse
577         just Rule lines, in the other everything else.  Pass 0 instead of
578         $savings as second argument to parseRule when parsing the start
579         rule.
580         * java/util/TimeZone.java (timezones): Regenerate from tzdata2007a.
581
582 2007-02-07  Chris Burdess  <dog@gnu.org>
583
584         Fixes PR 30718.
585         * gnu/xml/dom/ls/SAXEventSink.java: Add public accessor/mutators.
586         * gnu/xml/transform/XSLURIResolver.java: Add support for custom
587           SAXSources without a backing URL or stream.
588
589         Fixes PR 27710.
590         * gnu/xml/dom/DomDocumentBuilderFactory.java: Fall back to synchronous
591           LSParser if implementation does not support asynchronous.
592         * gnu/xml/stream/XMLParser.java,
593           gnu/xml/stream/XIncludeFilter.java: Use custom code instead of
594           java.net.URL to resolve to an an absolute URI, to avoid nonexistent
595           protocol handler problems.
596
597 2007-02-06  Tom Tromey  <tromey@redhat.com>
598
599         PR libgcj/30707:
600         * tools/gnu/classpath/tools/javah/JniIncludePrinter.java
601         (printClass): Always print a header.
602
603 2007-02-05  Andrew Haley  <aph@redhat.com>
604
605         PR cp-tools/30706
606         * tools/gnu/classpath/tools/javah/JniIncludePrinter.java:
607         (printClass): Replace '/' in filenames with '_'.
608         * tools/gnu/classpath/tools/javah/JniStubPrinter.java
609         (printClass): Likewise.
610
611 2007-02-05  Tom Tromey  <tromey@redhat.com>
612
613         * java/net/Proxy.java (equals): Handle case where address==null.
614         (hashCode): Likewise.
615         (toString): Likewise.
616
617 2007-01-31  Tom Tromey  <tromey@redhat.com>
618
619         * resource/gnu/classpath/tools/jar/messages.properties
620         (Main.Stdin): New message.
621         * tools/gnu/classpath/tools/jar/Main.java (initializeParser): Add
622         '-@' option.
623         (readNames): New method.
624         (run): Use it.
625
626 2007-01-26  Andrew Haley  <aph@redhat.com>
627
628         * java/lang/SecurityManager.java: Load and initialize
629         java.security.Security.
630
631 2007-01-26  Tom Tromey  <tromey@redhat.com>
632
633         * tools/gnu/classpath/tools/javah/FieldHelper.java (print): Print
634         'volatile' after field type.
635
636 2007-01-23  Marco Trudel  <mtrudel@gmx.ch>
637
638         * java/util/Arrays.java (binarySearch): Change comparison order.
639
640 2007-01-17  Tom Tromey  <tromey@redhat.com>
641
642         * tools/gnu/classpath/tools/javah/PathOptionGroup.java
643         (PathOptionGroup): Set default boot class path.
644
645 2006-12-14  Andrew Haley  <aph@redhat.com>
646
647         * tools/gnu/classpath/tools/jar/Creator.java: Close the
648         inputStream.
649
650 2006-10-12  Andrew Haley  <aph@redhat.com>
651
652         * java/lang/InheritableThreadLocal.java: Rename NULL to sentinel.
653         * java/lang/ThreadLocal.java: Likewise.
654
655 2006-09-13  Andrew Haley  <aph@redhat.com>
656
657         * external/jsr166/java/util/concurrent/atomic/AtomicIntegerFieldUpdater.java:
658         Revert previous gcj-specific disabling of checks.
659         * external/jsr166/java/util/concurrent/atomic/AtomicReferenceFieldUpdater.java:
660         Likewise.
661         * classpath/external/jsr166/java/util/concurrent/atomic/AtomicLongFieldUpdater.java:
662         Likewise.
663
664 2006-09-13  Andrew Haley  <aph@redhat.com>
665
666         * java/util/PriorityQueue.java: Throw IllegalArgumentException for
667         capacity < 1.
668         (Iterator.remove()): Decrement index after removing element.
669
670 2006-12-11  Jeroen Frijters  <jeroen@frijters.net>
671
672         * javax/net/ssl/SSLSocketFactory.java (getDefault):
673         Chain exception cause.
674
675 2006-12-11  Roman Kennke  <kennke@aicas.com>
676
677         * .classpath: Include ASM in Eclipse classpath.
678
679 2006-12-11  Andrew John Hughes  <gnu_andrew@member.fsf.org>
680
681         * gnu/java/lang/management/BeanImpl.java:
682         (translate(String)): Trim strings of whitespace.
683         * javax/management/MBeanAttributeInfo.java:
684         (MBeanAttributeInfo(String,String,Method,Method)):
685         Use Class.getName() for normal (non-parameterized) cases.
686         * javax/management/MBeanConstructorInfo.java:
687         (MBeanConstructorInfo(String, Constructor)):
688         Likewise.
689         * javax/management/MBeanOperationInfo.java:
690         (MBeanOperationInfo(String, Method)):
691         Likewise.
692
693 2006-12-11  Andrew John Hughes  <gnu_andrew@member.fsf.org>
694
695         * java/lang/Class.java:
696         (getClasses()): Return Class<?>[].
697         (internalGetClasses()): Likewise.
698         (getConstructor(Class<?>...)): Add type parameter
699         to parameters.
700         (getDeclaredConstructor(Class<?>...)): Likewise.
701         (getDeclaredClasses()): Return Class<?>[].
702         (getDeclaredClasses(boolean)): Likewise.
703         (getDeclaredConstructors()): Return Constructor<?>[].
704         (getDeclaredConstructors(boolean)): Likewise.
705         (getDeclaredMethod(String,Class<?>...)): Add type
706         parameter to parameters.
707         (getInterfaces()): Return Class<?>[].
708         (getMethods(String,Class<?>...)): Add type
709         parameter to parameters.
710         * java/text/CollationKey.java:
711         Make non-final.
712         * java/text/DecimalFormatSymbols.java:
713         Likewise.
714         
715 2006-12-11  Andrew John Hughes  <gnu_andrew@member.fsf.org>
716
717         * gnu/java/lang/management/BeanImpl.java:
718         (translate(String)): Handle Map and List as
719         Strings of the form "java.util.Map<K,V>" and
720         "java.util.List<E>"
721         * javax/management/MBeanAttributeInfo.java:
722         (MBeanAttributeInfo(String,String,Method,Method)):
723         Use generic parameter and return types.
724         * javax/management/MBeanConstructorInfo.java:
725         (MBeanConstructorInfo(String, Constructor)):
726         Use generic parameter types.
727         * javax/management/MBeanOperationInfo.java:
728         (MBeanOperationInfo(String, Method)):
729         Use generic parameter and return types.
730         
731 2006-12-10  Andrew John Hughes  <gnu_andrew@member.fsf.org>
732
733         * gnu/java/lang/management/BeanImpl.java:
734         (translate(String)): Comment out code for using type
735         variables for Map and List.
736         * java/lang/Thread.java:
737         (Thread(ThreadGroup,Runnable,String,long)): Fix
738         incrementation of totalThreadsCreated to be prior to use.
739         
740 2006-12-10  Andrew John Hughes  <gnu_andrew@member.fsf.org>
741
742         * javax/management/MBeanServerFactory.java:
743         (createMBeanServer(String)): Added security check.
744         (findMBeanServer(String)): Likewise.
745         (newMBeanServer(String)): Likewise.
746         (releaseMBeanServer(String)): Likewise.
747         * javax/management/MBeanServerPermission.java:
748         New file.
749         
750 2006-12-08  David Daney  <ddaney@avtrex.com>
751
752         * native/jni/java-nio/gnu_java_nio_VMChannel.c (is_non_blocking_fd):
753         Fix comment.
754
755 2006-12-08  David Daney  <ddaney@avtrex.com>
756
757         * NEWS: Mention URLConnection.[get|set]ReadTimeout.
758
759 2006-12-08  David Daney  <ddaney@avtrex.com>
760
761         * gnu/java/net/protocol/http/HTTPConnection.java (imports): Add
762         SocketException.
763         (HTTPConnection): Handle NumberFormatException in properties parsing.
764         (Pool.get): Set timeout on reused sockets.
765         * gnu/java/net/protocol/http/HTTPURLConnection.java (proxyPort):
766         Initialize.
767         (HTTPURLConnection): Cleanup properties handling.
768         (getConnection): Use both connection and read timeouts.
769         (setConnectTimeout): Removed.
770         (setReadTimeout): New method.
771         * java/net/URLConnection.java (timeout): Renamed to...
772         (connectTimeout): ... connectTimeout throughout.
773         (readTimeout): New field.
774         (getReadTimeout): New method.
775         (setReadTimeout): New method.
776
777 2006-12-08  Tania Bento  <tbento@redhat.com>
778
779         * java/awt/ScrollPane.java
780         (doLayout): Change the location of the scrollpane's child
781         to (0, 0).
782
783 2006-12-08  David Daney  <ddaney@avtrex.com>
784
785         * native/jni/java-nio/gnu_java_nio_VMChannel.c (is_non_blocking_fd):
786         New method.
787         (Java_gnu_java_nio_VMChannel_read__ILjava_nio_ByteBuffer_2): Throw
788         SocketTimeoutException if a blocking socket timesout.
789         (Java_gnu_java_nio_VMChannel_readScattering): Same.
790         (Java_gnu_java_nio_VMChannel_read__I): Same.
791         (Java_gnu_java_nio_VMChannel_connect): Initialize the fd set.
792         (Java_gnu_java_nio_VMChannel_connect6): Same.
793
794 2006-12-08  Mark Wielaard  <mark@klomp.org>
795
796         * configure.ac (VERSION): Set to 0.93-generics.
797         * NEWS: Add release date.
798
799 2006-12-08  Tania Bento  <tbento@redhat.com>
800
801         * java/awt/ScrollPane.java
802         (getScrollPosition): Throw NullPointerException if scrollpane
803         does have a child.
804         (setScrollPosition(int, int)): Throw NullPointerException if
805         scrollpane does have a child.  Check that both ints are within
806         the allowed bounds; If they are not, scroll to the closest allowed
807         bound.
808
809 2006-12-07  Roman Kennke  <kennke@aicas.com>
810
811         * javax/swing/JEditorPane.java
812         (EditorKitMapping): New inner helper class.
813         (editorKits): New static field for caching editor kit instances.
814         (static_initiazer): Initialize static mappings here.
815         (createEditorKitForContentType): Try to use cached instance.
816         Use correct classloader for loading.
817         (getEditorKitClassNameForContentType): Make use of EditorKitMapping
818         class.
819         (getEditorKitForContentType): Store the fetched editor kit.
820         Fallback to createDefaultEditorKit().
821         (init): Don't clean the static registry here.
822         (registerEditorKitForContentType(String,String,ClassLoader)):
823         Implemented.
824         (registerEditorKitForContentType(String,String)): Delegate to
825         the other version of this method with the thread's context
826         classloader.
827
828 2006-12-07  Mark Wielaard  <mark@klomp.org>
829
830         * examples/gnu/classpath/examples/swing/HtmlDemo.java
831         (setPage): Don't convert URL to String for setPage().
832
833 2006-12-07  Mark Wielaard  <mark@klomp.org>
834
835         * tools/Makefile.am (clean-local): Remove iasm and asm.lst.
836
837 2006-12-07  Mark Wielaard  <mark@klomp.org>
838
839         * tools/Makefile.am: Explicitly define  and use bootclasspath as
840         GLIBJ_BOOTCLASSPATH
841
842 2006-12-07  Mark Wielaard  <mark@klomp.org>
843
844         * javax/swing/JEditorPane.java (createEditorKitForContentType):
845         Always load from system class loader.
846
847 2006-12-07  Mark Wielaard  <mark@klomp.org>
848
849         * java/net/URL.java (URL(URL,String,URLStreamHandler,boolean)): New
850         private constructor.
851         (URL(URL,String,URLStreamHandler)): Call new constructor.
852         (URL(URL,String)): Likewise.
853         (URL(String)): Likewise.
854
855 2006-12-07  Tom Tromey  <tromey@redhat.com>
856
857         * NEWS: Mention ASM.
858         * INSTALL: Don't mention --with-asm.
859         * tools/external/README: New file.
860         * tools/toolwrapper.c (main): Don't use ASM_JAR.
861         * tools/gjavah.in: Don't use PATH_TO_ASM.
862         * tools/grmic.in: Likewise.
863         * tools/Makefile.am (GLIBJ_CLASSPATH): Removed PATH_TO_ASM, added
864         'asm'.
865         (javah, rmic): Removed variables.
866         (bin_PROGRAMS): Updated.
867         (gappletviewer_CFLAGS): Don't define ASM_JAR.
868         (gjarsigner_CFLAGS): Likewise.
869         (gkeytool_CFLAGS): Likewise.
870         (gjar_CFLAGS): Likewise.
871         (gnative2ascii_CFLAGS): Likewise.
872         (gserialver_CFLAGS): Likewise.
873         (grmiregistry_CFLAGS): Likewise.
874         (gtnameserv_CFLAGS): Likewise.
875         (gorbd_CFLAGS): Likewise.
876         (grmid_CFLAGS): Likewise.
877         (gjavah_CFLAGS): Likewise.
878         (grmic_CFLAGS): Likewise.
879         (bin_SCRIPTS): Updated.
880         (TOOLS_JAVA_FILES): Updated.
881         ($(TOOLS_ZIP)): Compile ASM sources.  Copy resource files.
882         * configure.ac: Removed --with-asm.  Always build gjavah.
883
884 2006-12-06  Roman Kennke  <kennke@aicas.com>
885
886         * examples/gnu/classpath/examples/swing/BrowserEditorKit.java:
887         New class.
888         * examples/gnu/classpath/examples/swing/HtmlDemo.java
889         (LoadActionListener): Call setPage() helper method.
890         (createContent): Register tweaked editor kit. For FormSubmitEvents
891         call submitForm(), otherwise setPage().
892         (postData): Helper method for posting form data.
893         (setPage): Helper method for navigating to a new URL.
894         (submitForm): Helper method for submitting a form.
895         * examples/gnu/classpath/examples/swing/forms.html:
896         Added text/password fields and select boxes.
897         * examples/gnu/classpath/examples/swing/welcome.html: Fixed typo.
898
899 2006-12-06  Roman Kennke  <kennke@aicas.com>
900
901         * javax/swing/text/html/FormView.java
902         (SubmitThread.postData): Implemented.
903         (SubmitThread.run): Pass data to postData().
904         (actionPerformed): Reset form when reset button is activated.
905         (createComponent): Add support for select lists and comboboxes.
906         Don't set value of text and password fields here, this is done
907         now in HTMLDocument for consistency.
908         (getElementFormData): Add support for fetching form data from
909         select lists and comboboxes as well as textareas.
910         (getSelectData): New helper method. Fetches form data from
911         select boxes.
912         (getTextAreaData): New helper method. Fetches form data from
913         textareas.
914         (resetForm): New helper method. Resets the entire form.
915         * javax/swing/text/html/HTMLDocument.java
916         (HTMLReader.FormAction.end): Handle SELECT and OPTION tags.
917         (HTMLReader.FormAction.start): Handle SELECT and OPTION tags.
918         (HTMLReader.FormAction.setModel): Initialize text and password
919         values here. Also, use the resetable special models.
920         Group radio buttons into ButtonGroup for exclusive selection.
921         (HTMLReader.FormTagAction): New class. Handles FORM tags.
922         (HTMLReader.buttonGroups): New field.
923         (HTMLReader.numOptions): New field.
924         (HTMLReader.option): New field.
925         (HTMLReader.selectModel): New field.
926         (HTMLReader.textAreaDocument): Make ResetablePlainDocument.
927         (HTMLReader.handleText): Handle OPTION text.
928         (HTMLReader.initTags): Map FORM tags to FormTagAction.
929         (HTMLReader.textAreaContent): Set initial content.
930         * javax/swing/text/html/Option.java
931         (Option): Make copy of attribute set. Initialize selected state.
932         (getValue): Fetch value from attribute set.
933         * javax/swing/text/html/ResetableModel.java: New interface.
934         * javax/swing/text/html/ResetablePlainDocument.java: New class.
935         Supports resetting the state.
936         * javax/swing/text/html/ResetableToggleButtonModel.java: Likewise.
937         * javax/swing/text/html/SelectComboBoxModel.java: Likewise.
938         * javax/swing/text/html/SelectListModel.java: Likewise.
939
940 2006-12-06  Roman Kennke  <kennke@aicas.com>
941
942         * javax/swing/text/DefaultCaret.java
943         (appear): Adjust visibility here.
944         (setDotImpl): Don't adjust visibility here.
945         (moveDotImpl): Don't adjust visibility here.
946
947 2006-12-06  Roman Kennke  <kennke@aicas.com>
948
949         * gnu/java/awt/peer/gtk/AsyncImage.java
950         (Loader.run): Synchronize on the AsyncImage to avoid threading
951         issues.
952         (addObservers): Check for obs==null outside and synchronize on
953         this inside to avoid locking issues.
954         (checkImage): New helper method.
955         (notifyObservers): Check that the correct lock is held and
956         remove actual locking.
957         * gnu/java/awt/peer/gtk/GtkToolkit.java
958         (checkImage): Added special handling for AsyncImages.
959         
960 2006-12-06  Roman Kennke  <kennke@aicas.com>
961
962         * examples/gnu/classpath/examples/swing/Demo.java
963         (getIcon): Made package private.
964         * examples/gnu/classpath/examples/swing/HtmlDemo.java
965         (hyperlinkUpdate): Convert URL to string.
966
967 2006-12-06  Mark Wielaard  <mark@klomp.org>
968
969         * gnu/java/awt/peer/gtk/AsyncImage.java (addObserver): Never notify
970         null Observer.
971
972 2006-12-06  Roman Kennke  <kennke@aicas.com>
973
974         * examples/gnu/classpath/examples/icons/back.png,
975         * examples/gnu/classpath/examples/icons/reload.png:
976         New icons for the HTML browser.
977         * examples/gnu/classpath/examples/swing/HtmlDemo.java
978         (history): New field. Manages the browsing history.
979         (HtmlDemo): Initialize history.
980         (createContent): Set location and add history. Add toolbar.
981         (createToolBar): New helper method.
982         (main): Make default size bigger.
983         * examples/gnu/classpath/examples/swing/frame1.html,
984         * examples/gnu/classpath/examples/swing/frame2.html,
985         * examples/gnu/classpath/examples/swing/frame3.html,
986         * examples/gnu/classpath/examples/swing/frame4.html,
987         * examples/gnu/classpath/examples/swing/frames.html,
988         * examples/gnu/classpath/examples/swing/tables.html:
989         New example pages.
990         * examples/gnu/classpath/examples/swing/welcome.html
991         Add a couple of links and new test pages.
992
993 2006-12-06  Roman Kennke  <kennke@aicas.com>
994
995         * javax/swing/JEditorPane.java
996         (getStream): Buffer the stream for efficiency.
997         (setPage): Don't scroll the view at this point.
998         * javax/swing/plaf/basic/BasicTextUI.java
999         (RootView.paint): Call RootView's setSize to get synchronization.
1000         (RootView.setSize): Synchronize to prevent race in layout code.
1001         * javax/swing/text/AbstractDocument.java
1002         (notifyListeners): New field.
1003         (fireChangedUpdate): Track notifyListener field.
1004         (fireRemoveUpdate): Track notifyListener field.
1005         (fireIndertUpdate): Track notifyListener field.
1006         (writeLock): Check notifyListener and throw IllegalStateException.
1007         * javax/swing/text/View.java
1008         (preferenceChanged): Create local var for better thread safety and
1009         more efficiency.
1010
1011 2006-12-06  Thomas Fitzsimmons  <fitzsim@redhat.com>
1012
1013         * java/awt/ScrollPane.java (addNotify): Add a parent panel for any
1014         lightweight component, not just for non-Panel components.
1015         (addImpl): Do not call doLayout.
1016         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
1017         (setNativeBounds): Ensure widget parent is a GtkFixed before
1018         calling gtk_fixed_move.
1019         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
1020         (setNativeBounds): Likewise.
1021         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
1022         (setNativeBounds): Likewise.
1023
1024 2006-12-06  Roman Kennke  <kennke@aicas.com>
1025
1026         * javax/swing/text/html/TableView.java
1027         (RowView.layoutMajorAxis): Check column index for invalid value.
1028         (updateGrid): Check column index for invalid value.
1029
1030 2006-12-06  Roman Kennke  <kennke@aicas.com>
1031
1032         * javax/swing/text/html/BlockView.java
1033         (getAlignment): Align blocks horizontally by the superclass.
1034         * javax/swing/text/html/HTMLEditorKit.java
1035         (HTMLFactory.create): Replace equals comparison by == for efficiency.
1036         Add mapping for misplaced tr, td and th tags. Include object mapping.
1037         * javax/swing/text/html/TableView.java
1038         (RowView.replace): Invalidate grid early.
1039         (gridValid): Initialize with false.
1040         (create): Only create RowView and CellView for correctly placed
1041         tags. Avoid unnecessary casts.
1042         (getAlignment): Removed.
1043         (replace): Invalidate grid early.
1044
1045 2006-12-06  Francis Kung  <fkung@redhat.com>
1046
1047         * java/awt/geom/RectangularShape.java
1048         (getBounds): Remove empty rectangle check.
1049
1050 2006-12-06  Ben Konrath  <bkonrath@redhat.com>
1051
1052         Fixes PR 29853.
1053         * gnu/xml/dom/DomAttr.java: Don't report mutation if oldValue and
1054         newValue are the same.
1055         * gnu/xml/dom/DomNode.java: Set parent if null during mutation.
1056
1057 2006-12-06  Tania Bento  <tbento@redhat.com>
1058
1059         * javax/swing/border/CompoundBorder.java:
1060         (isBorderOpaque): If inside border is null, return true if outside
1061         border is opaque, false otherwise; if outside border is null, return
1062         true if inside border is opaque, false otherwise; if inside or
1063         outside border are both not null, then return true only if both the
1064         inside and outside border are opaque, false otherwise.
1065
1066 2006-12-06  Tania Bento  <tbento@redhat.com>
1067
1068         * javax/swing/border/CompoundBorder.java:
1069         (isBorderOpaque): If inside and outside border both have a null
1070         value, return true.
1071
1072 2006-12-06  Chris Burdess  <dog@gnu.org>
1073
1074         Fixes PR 29272.
1075         * javax/xml/parsers/DocumentBuilderFactory.java: Fix broken Javadoc.
1076         * gnu/xml/stream/SAXParser.java: Fix file descriptor leak.
1077
1078 2006-12-06  Chris Burdess  <dog@gnu.org>
1079
1080         Fixes PR 29264.
1081         * gnu/xml/stream/XMLStreamWriterImpl.java: Allow arbitrary text in
1082           writeDTD method.
1083
1084 2006-12-06  Chris Burdess  <dog@gnu.org>
1085
1086         Fixes PR 28816.
1087         * javax/xml/validation/SchemaFactory.java: Use correct algorithm to
1088           discover schema factory implementation class.
1089
1090 2006-12-05  Francis Kung  <fkung@redhat.com>
1091
1092         * java/awt/BasicStroke.java
1093         (capEnd): Prevent division by zero.
1094         * java/awt/geom/Arc2D.java
1095         (ArcIterator.ArcIterator): Do not shift the arc to make the extent positive.
1096         (ArcIterator.currentSegment): Handle a negative extent.
1097
1098 2006-12-05  Francis Kung  <fkung@redhat.com>
1099
1100         * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
1101         (constructor): Handle translated subimages properly, ie, if the image's
1102         0,0 position is not the data buffer's first element.
1103
1104 2006-12-05  Roman Kennke  <kennke@aicas.com>
1105
1106         * gnu/java/awt/peer/gtk/AsyncImage.java
1107         (Loader.run): Nullify observers after loading.
1108         (observers): Made package private.
1109         (addObserver): Check for null observers field. Create local
1110         variable for thread safety.
1111         (getHeight): Use addObserver() for checking state of field
1112         and notifying observer when necessary.
1113         (getWidth): Use addObserver() for checking state of field
1114         and notifying observer when necessary.
1115         (getProperty): Use addObserver() for checking state of field
1116         and notifying observer when necessary.
1117         (notifyObservers): Check for null observers field. Create local
1118         variable for thread safety.
1119
1120 2006-12-05  Roman Kennke  <kennke@aicas.com>
1121
1122         * javax/swing/text/html/HTMLEditorKit.java
1123         (HTMLFactory.create): Removed debug output.
1124         * javax/swing/text/html/InlineView.java
1125         (getBreakWeight): Likewise.
1126         * javax/swing/text/html/StyleSheet.java
1127         (addRule): Likewise.
1128         (ListPainter.paint): Removed debug output.
1129
1130 2006-12-05  Roman Kennke  <kennke@aicas.com>
1131
1132         * javax/swing/text/html/BlockView.java
1133         (painter): Made package visible.
1134         * javax/swing/text/html/StyleSheet.java
1135         (translateBorder): New helper method.
1136         (translateHTMLToCSS): Add mappings for border attributes.
1137         * javax/swing/text/html/TableView.java
1138         Made class subclass of BlockView to get CSS goodness.
1139         (CellView.rowSpan): New field.
1140         (CellView.setPropertiesFromAttributes): Fetch rowspan.
1141         (RowView.overlap): New field.
1142         (RowView.rowIndex): New field.
1143         (RowView.layoutMajorAxis): Skip overlapping cells.
1144         (RowView.layoutMinorAxis): Layout cells that span more than 1 row.
1145         (numColumns): New field.
1146         (tmpRect): New field.
1147         (TableView): Initialize tmpRect.
1148         (calculateColumnRequirements): Adjusted and fixed for multirows.
1149         (getAlignment): Overridden to center tables.
1150         (paint): Overridden to fix clipping.
1151         (getStyleSheet): Made protected.
1152         (layoutMajorAxis): Invalidate rows.
1153         (setPropertiesFromAttributes): Made protected and call super.
1154         (updateGrid): Update the overlapping information for multirows.
1155
1156 2006-12-05  Roman Kennke  <kennke@aicas.com>
1157
1158         * gnu/java/awt/peer/gtk/AsyncImage.java
1159         (addObserver): Check for null and ignore null observers.
1160         (getWidth): Check for null and ignore null observers.
1161         (getHeight): Check for null and ignore null observers.
1162         (getProperty): Check for null and ignore null observers.
1163
1164 2006-12-05  Francis Kung  <fkung@redhat.com>
1165
1166         * java/awt/BasicStroke.java
1167         (capEnd): Prevent division by zero.
1168         * java/awt/geom/Arc2D.java
1169         (ArcIterator.ArcIterator): Do not shift the arc to make the extent positive.
1170         (ArcIterator.currentSegment): Handle a negative extent.
1171
1172 2006-12-05  Francis Kung  <fkung@redhat.com>
1173
1174         * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
1175         (constructor): Handle translated subimages properly, ie, if the image's
1176         0,0 position is not the data buffer's first element.
1177
1178 2006-12-05  Roman Kennke  <kennke@aicas.com>
1179
1180         * javax/swing/text/html/ImageView.java
1181         (imageUpdate): Use spans field to determine if the CSS width/height
1182         are set. Call safePreferenceChanged to protect view structure
1183         from threading issues.
1184         (spans): Made package private.
1185         (ImageView): Initialize loadOnDemand with false.
1186         (loadImage): Call Toolkit.prepareImage() to make sure we have
1187         our Observer registered.
1188         (safePreferenceChanged): New helper method. Calls preferenceChanged
1189         in a thread safe environment.
1190
1191 2006-12-05  Roman Kennke  <kennke@aicas.com>
1192
1193         * NEWS: Add entry about improved HTML support.
1194
1195 2006-12-05  Roman Kennke  <kennke@aicas.com>
1196
1197         * javax/swing/text/html/ImageView.java
1198         (ImageView): Initialize spans array here.
1199         (setPropertiesFromAttributes): Moved init of spans array to
1200         constructor.
1201
1202 2006-12-05  Roman Kennke  <kennke@aicas.com>
1203
1204         * javax/swing/text/html/BlockView.java
1205         (painter): Made package visible.
1206         * javax/swing/text/html/StyleSheet.java
1207         (translateBorder): New helper method.
1208         (translateHTMLToCSS): Add mappings for border attributes.
1209         * javax/swing/text/html/TableView.java
1210         Made class subclass of BlockView to get CSS goodness.
1211         (CellView.rowSpan): New field.
1212         (CellView.setPropertiesFromAttributes): Fetch rowspan.
1213         (RowView.overlap): New field.
1214         (RowView.rowIndex): New field.
1215         (RowView.layoutMajorAxis): Skip overlapping cells.
1216         (RowView.layoutMinorAxis): Layout cells that span more than 1 row.
1217         (numColumns): New field.
1218         (tmpRect): New field.
1219         (TableView): Initialize tmpRect.
1220         (calculateColumnRequirements): Adjusted and fixed for multirows.
1221         (getAlignment): Overridden to center tables.
1222         (paint): Overridden to fix clipping.
1223         (getStyleSheet): Made protected.
1224         (layoutMajorAxis): Invalidate rows.
1225         (setPropertiesFromAttributes): Made protected and call super.
1226         (updateGrid): Update the overlapping information for multirows.
1227
1228 2006-12-05  Roman Kennke  <kennke@aicas.com>
1229
1230         * javax/swing/text/html/HTMLEditorKit.java
1231         (HTMLFactory.create): Removed debug output.
1232         * javax/swing/text/html/InlineView.java
1233         (getBreakWeight): Likewise.
1234         * javax/swing/text/html/StyleSheet.java
1235         (addRule): Likewise.
1236         (ListPainter.paint): Removed debug output.
1237
1238 2006-12-06  Roman Kennke  <kennke@aicas.com>
1239
1240         * javax/swing/text/html/BlockView.java
1241         (getAlignment): Align blocks horizontally by the superclass.
1242         * javax/swing/text/html/HTMLEditorKit.java
1243         (HTMLFactory.create): Replace equals comparison by == for efficiency.
1244         Add mapping for misplaced tr, td and th tags. Include object mapping.
1245         * javax/swing/text/html/TableView.java
1246         (RowView.replace): Invalidate grid early.
1247         (gridValid): Initialize with false.
1248         (create): Only create RowView and CellView for correctly placed
1249         tags. Avoid unnecessary casts.
1250         (getAlignment): Removed.
1251         (replace): Invalidate grid early.
1252
1253
1254 2006-12-06  Roman Kennke  <kennke@aicas.com>
1255
1256         * javax/swing/text/html/TableView.java
1257         (RowView.layoutMajorAxis): Check column index for invalid value.
1258         (updateGrid): Check column index for invalid value.
1259
1260 2006-12-06  Roman Kennke  <kennke@aicas.com>
1261
1262         * javax/swing/JEditorPane.java
1263         (getStream): Buffer the stream for efficiency.
1264         (setPage): Don't scroll the view at this point.
1265         * javax/swing/plaf/basic/BasicTextUI.java
1266         (RootView.paint): Call RootView's setSize to get synchronization.
1267         (RootView.setSize): Synchronize to prevent race in layout code.
1268         * javax/swing/text/AbstractDocument.java
1269         (notifyListeners): New field.
1270         (fireChangedUpdate): Track notifyListener field.
1271         (fireRemoveUpdate): Track notifyListener field.
1272         (fireIndertUpdate): Track notifyListener field.
1273         (writeLock): Check notifyListener and throw IllegalStateException.
1274         * javax/swing/text/View.java
1275         (preferenceChanged): Create local var for better thread safety and
1276         more efficiency.
1277
1278 2006-12-06  Roman Kennke  <kennke@aicas.com>
1279
1280         * examples/gnu/classpath/examples/icons/back.png,
1281         * examples/gnu/classpath/examples/icons/reload.png:
1282         New icons for the HTML browser.
1283         * examples/gnu/classpath/examples/swing/HtmlDemo.java
1284         (history): New field. Manages the browsing history.
1285         (HtmlDemo): Initialize history.
1286         (createContent): Set location and add history. Add toolbar.
1287         (createToolBar): New helper method.
1288         (main): Make default size bigger.
1289         * examples/gnu/classpath/examples/swing/frame1.html,
1290         * examples/gnu/classpath/examples/swing/frame2.html,
1291         * examples/gnu/classpath/examples/swing/frame3.html,
1292         * examples/gnu/classpath/examples/swing/frame4.html,
1293         * examples/gnu/classpath/examples/swing/frames.html,
1294         * examples/gnu/classpath/examples/swing/tables.html:
1295         New example pages.
1296         * examples/gnu/classpath/examples/swing/welcome.html
1297         Add a couple of links and new test pages.
1298
1299 2006-12-06  Roman Kennke  <kennke@aicas.com>
1300
1301         * examples/gnu/classpath/examples/swing/Demo.java
1302         (getIcon): Made package private.
1303         * examples/gnu/classpath/examples/swing/HtmlDemo.java
1304         (hyperlinkUpdate): Convert URL to string.
1305
1306 2006-12-06  Roman Kennke  <kennke@aicas.com>
1307
1308         * javax/swing/text/DefaultCaret.java
1309         (appear): Adjust visibility here.
1310         (setDotImpl): Don't adjust visibility here.
1311         (moveDotImpl): Don't adjust visibility here.
1312
1313 2006-12-06  Roman Kennke  <kennke@aicas.com>
1314
1315         * javax/swing/text/html/FormView.java
1316         (SubmitThread.postData): Implemented.
1317         (SubmitThread.run): Pass data to postData().
1318         (actionPerformed): Reset form when reset button is activated.
1319         (createComponent): Add support for select lists and comboboxes.
1320         Don't set value of text and password fields here, this is done
1321         now in HTMLDocument for consistency.
1322         (getElementFormData): Add support for fetching form data from
1323         select lists and comboboxes as well as textareas.
1324         (getSelectData): New helper method. Fetches form data from
1325         select boxes.
1326         (getTextAreaData): New helper method. Fetches form data from
1327         textareas.
1328         (resetForm): New helper method. Resets the entire form.
1329         * javax/swing/text/html/HTMLDocument.java
1330         (HTMLReader.FormAction.end): Handle SELECT and OPTION tags.
1331         (HTMLReader.FormAction.start): Handle SELECT and OPTION tags.
1332         (HTMLReader.FormAction.setModel): Initialize text and password
1333         values here. Also, use the resetable special models.
1334         Group radio buttons into ButtonGroup for exclusive selection.
1335         (HTMLReader.FormTagAction): New class. Handles FORM tags.
1336         (HTMLReader.buttonGroups): New field.
1337         (HTMLReader.numOptions): New field.
1338         (HTMLReader.option): New field.
1339         (HTMLReader.selectModel): New field.
1340         (HTMLReader.textAreaDocument): Make ResetablePlainDocument.
1341         (HTMLReader.handleText): Handle OPTION text.
1342         (HTMLReader.initTags): Map FORM tags to FormTagAction.
1343         (HTMLReader.textAreaContent): Set initial content.
1344         * javax/swing/text/html/Option.java
1345         (Option): Make copy of attribute set. Initialize selected state.
1346         (getValue): Fetch value from attribute set.
1347         * javax/swing/text/html/ResetableModel.java: New interface.
1348         * javax/swing/text/html/ResetablePlainDocument.java: New class.
1349         Supports resetting the state.
1350         * javax/swing/text/html/ResetableToggleButtonModel.java: Likewise.
1351         * javax/swing/text/html/SelectComboBoxModel.java: Likewise.
1352         * javax/swing/text/html/SelectListModel.java: Likewise.
1353
1354 2006-12-06  Roman Kennke  <kennke@aicas.com>
1355
1356         * examples/gnu/classpath/examples/swing/BrowserEditorKit.java:
1357         New class.
1358         * examples/gnu/classpath/examples/swing/HtmlDemo.java
1359         (LoadActionListener): Call setPage() helper method.
1360         (createContent): Register tweaked editor kit. For FormSubmitEvents
1361         call submitForm(), otherwise setPage().
1362         (postData): Helper method for posting form data.
1363         (setPage): Helper method for navigating to a new URL.
1364         (submitForm): Helper method for submitting a form.
1365         * examples/gnu/classpath/examples/swing/forms.html:
1366         Added text/password fields and select boxes.
1367         * examples/gnu/classpath/examples/swing/welcome.html: Fixed typo.
1368
1369 2006-12-07  Mark Wielaard  <mark@klomp.org>
1370
1371         * java/net/URL.java (URL(URL,String,URLStreamHandler,boolean)): New
1372         private constructor.
1373         (URL(URL,String,URLStreamHandler)): Call new constructor.
1374         (URL(URL,String)): Likewise.
1375         (URL(String)): Likewise.
1376
1377 2006-12-07  Mark Wielaard  <mark@klomp.org>
1378
1379         * javax/swing/JEditorPane.java (createEditorKitForContentType):
1380         Always load from system class loader.
1381
1382 2006-12-06  Ben Konrath  <bkonrath@redhat.com>
1383
1384         Fixes PR 29853.
1385         * gnu/xml/dom/DomAttr.java: Don't report mutation if oldValue and
1386         newValue are the same.
1387         * gnu/xml/dom/DomNode.java: Set parent if null during mutation.
1388
1389 2006-12-06  Chris Burdess  <dog@gnu.org>
1390
1391         Fixes PR 29272.
1392         * javax/xml/parsers/DocumentBuilderFactory.java: Fix broken Javadoc.
1393         * gnu/xml/stream/SAXParser.java: Fix file descriptor leak.
1394
1395 2006-12-06  Chris Burdess  <dog@gnu.org>
1396
1397         Fixes PR 29264.
1398         * gnu/xml/stream/XMLStreamWriterImpl.java: Allow arbitrary text in
1399         writeDTD method.
1400
1401 2006-12-056  Chris Burdess  <dog@gnu.org>
1402
1403         Fixes PR 28816.
1404         * javax/xml/validation/SchemaFactory.java: Use correct algorithm to
1405         discover schema factory implementation class.
1406
1407 2006-12-05  Roman Kennke  <kennke@aicas.com>
1408
1409         * gnu/java/awt/peer/gtk/AsyncImage.java: New class. Supports
1410         asynchronous loading of images.
1411         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
1412         (drawImage): Fetch real image from possibly AsyncImage.
1413         * gnu/java/awt/peer/gtk/ComponentGraphics.java
1414         (drawImage): Fetch real image from possibly AsyncImage.
1415         * gnu/java/awt/peer/gtk/GtkToolkit.java
1416         (createImage(URL)): Create async image.
1417         (imageOrError): Made method static for easy access from AsyncImage.
1418         (prepareImage): For async images, register the observer to the
1419         image.
1420
1421 2006-12-05  Roman Kennke  <kennke@aicas.com>
1422
1423         (paintComponent): Include paint area from event.
1424         (updateComponent): Include paint area from event.
1425
1426 2006-12-06  Thomas Fitzsimmons  <fitzsim@redhat.com>
1427
1428         * java/awt/ScrollPane.java (addNotify): Add a parent panel for any
1429         lightweight component, not just for non-Panel components.
1430         (addImpl): Do not call doLayout.
1431         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
1432         (setNativeBounds): Ensure widget parent is a GtkFixed before
1433         calling gtk_fixed_move.
1434         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
1435         (setNativeBounds): Likewise.
1436         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
1437         (setNativeBounds): Likewise.
1438
1439 2006-12-04  Thomas Fitzsimmons  <fitzsim@redhat.com>
1440
1441         * java/awt/Component.java (getFontImpl): Return a default font if
1442         topmost parent's font is null.
1443
1444 2006-12-04  Mark Wielaard  <mark@klomp.org>
1445
1446         * javax/swing/text/html/CSS.java (parseMarginShorthand):
1447         Remove debug output.
1448
1449 2006-12-04  Roman Kennke  <kennke@aicas.com>
1450
1451         * java/awt/font/TextLayout.java
1452         (hitTestChar): Fixed conditions for inclusion of range.
1453         Use layout information in the run for more efficiency.
1454
1455 2006-12-04  Roman Kennke  <kennke@aicas.com>
1456
1457         * javax/swing/text/GlyphView.java
1458         (J2DGlyphPainter): New inner class.
1459         (checkPainter): For Java2D capable environments create
1460         a J2DGlyphPainter.
1461
1462 2006-12-04  Roman Kennke  <kennke@aicas.com>
1463
1464         * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
1465         (FreeTypeGlyphVector): Don't filter control chars here.
1466         (getGlyphs): Filter control chars and replace them by
1467         hair space char.
1468
1469 2006-12-04  Roman Kennke  <kennke@aicas.com>
1470
1471         * native/jni/java-nio/gnu_java_nio_VMChannel.c
1472         (Java_gnu_java_nio_VMChannel_connect): Retry on EINTR.
1473
1474 2006-12-04  Andrew John Hughes  <gnu_andrew@member.fsf.org>
1475
1476         * gnu/java/lang/management/BeanImpl.java:
1477         (translate(String)): Don't assume the list uses "E",
1478         just use the first and only type variable.
1479         * java/lang/management/ManagementFactory.java:
1480         (getPlatformMBeanServer()): Register logging bean.
1481         * javax/management/openmbean/OpenType.java:
1482         (OpenType(String,String,String)): Actually use
1483         the string created to handle arrays.
1484         
1485 2006-12-04  Mark Wielaard  <mark@klomp.org>
1486
1487         * native/jni/java-nio/gnu_java_nio_VMChannel.c
1488         (JCL_thread_interrupted): Use CallStaticBooleanMethod.
1489
1490 2006-12-04  Mark Wielaard  <mark@klomp.org>
1491
1492         * vm/reference/gnu/java/nio/VMChannel.java (isThreadInterrupted):
1493         Make static.
1494         * native/jni/java-nio/gnu_java_nio_VMChannel.c
1495         (JCL_thread_interrupted): Only take JNIEnv.
1496         (vm_channel_class): New static variable.
1497         (initID): Set vm_channel_class.
1498         Wrap all reads() and writes() in do-while blocks that check
1499         interrupted status.
1500
1501 2006-12-04  Andrew John Hughes  <gnu_andrew@member.fsf.org>
1502
1503         * gnu/javax/management/Server.java:
1504         Make map final and initialise it.
1505         (unregisterMBean(ObjectName)): Match against
1506         delegate's object name and not the instance.
1507         * java/lang/management/ManagementFactory.java:
1508         Added constant fields.
1509         (getPlatformMBeanServer()): Implemented.
1510         * javax/management/MBeanServerFactory.java: New file.
1511         
1512 2006-12-04  Roman Kennke  <kennke@aicas.com>
1513
1514         * javax/swing/text/BoxView.java
1515         (paint): Replaced painting algorithm with more simple and more
1516         reliable painting of the box.
1517         * javax/swing/text/html/BlockView.java
1518         (PositionInfo): New inner class. Stores additional CSS
1519         positioning information.
1520         (positionInfo): New field.
1521         (BlockView): Initialize positionInfo field.
1522         (fetchLayoutInfo): New helper method. Fetches additional
1523         CSS positioning information.
1524         (layoutMajorAxis): Perform additional CSS layout.
1525         (layoutMinorAxis): Perform additional CSS layout.
1526         (positionView): New helper method.
1527         (replace): Overridden to fetch additional layout information.
1528         * javax/swing/text/html/CSS.java
1529         (Attribute.POSITION): New field.
1530         (Attribute.LEFT): New field.
1531         (Attribute.RIGHT): New field.
1532         (Attribute.TOP): New field.
1533         (Attribute.BOTTOM): New field.
1534         (getValue): Create Length for left, right, top and bottom
1535         attributes.
1536
1537 2006-12-04  Roman Kennke  <kennke@aicas.com>
1538
1539         * gnu/javax/swing/text/html/parser/support/Parser.java
1540         (Sgml): Consume any whitespace that immediately follows
1541         and sgml insertion.
1542         (parseDocument): Consume any initial whitespace.
1543
1544 2006-12-03  Mark Wielaard  <mark@klomp.org>
1545
1546         * gnu/javax/management/Server.java (beans): Initialize.
1547         (registerMBean): Don't initialize beans.
1548
1549 2006-12-03  Mark Wielaard  <mark@klomp.org>
1550
1551         * java/util/logging/LogManager.java (getLevelProperty): Check
1552         whether value is null before passing to Level.parse().
1553
1554 2006-12-04  Robert Lougher  <rob.lougher@gmail.com>
1555
1556         * java/lang/management/ThreadInfo.java (ThreadInfo): Check
1557         whether given a null lock and lockOwner.
1558
1559 2006-12-03  Mark Wielaard  <mark@klomp.org>
1560
1561         * javax/swing/JEditorPane.java (PageLoader.in): Made a PageStream.
1562         (PageLoader.page): Made package local.
1563         (PageLoader.run): Don't reset loader.
1564         (PageLoader.cancel): New method.
1565         (loading): Renamed to loader.
1566         (getPage): Return loader.page.
1567         (setPage): Always set loader. Never reset to null.
1568
1569 2006-12-03  Mark Wielaard  <mark@klomp.org>
1570
1571         * javax/swing/plaf/basic/BasicTreeUI.java (paint): Check whether
1572         path[k] is null.
1573         (isLastChild): Return false when path is null.
1574
1575 2006-12-03  Mark Wielaard  <mark@klomp.org>
1576
1577         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (paintArea): Renamed
1578         to currentPaintArea.
1579         (paintComponent): Work with local reference to currentPaintArea.
1580         (updateComponent): Likewise.
1581         (coalescePaintEvent): Set currentPaintArea.
1582
1583 2006-12-02  Andrew John Hughes  <gnu_andrew@member.fsf.org>
1584
1585         * javax/management/MBeanServerBuilder.java: New file.
1586         
1587 2006-12-01  Mark Wielaard  <mark@klomp.org>
1588
1589         * java/text/DecimalFormat.java (parse): Always increment parsing
1590         index and adjust pos result.
1591
1592 2006-12-01  Roman Kennke  <kennke@aicas.com>
1593
1594         * javax/swing/text/html/HTML.java
1595         (Attribute.DYNAMIC_CLASS): New field.
1596         (Attribute.PSEUDO_CLASS): New field.
1597         * javax/swing/text/html/HTMLDocument.java
1598         (HTMLReader.CharacterAction.start): Initialize anchor with link
1599         pseudo attribute.
1600         (updateSpecialClass): New helper method. Updates the dynamic
1601         or pseudo class for anchor tags.
1602         * javax/swing/text/html/HTMLEditorKit.java
1603         (LinkController.lastAnchorElement): New field. For tracking
1604         enter/exit of anchors.
1605         (LinkController.activateLink): Set pseudo class to 'visited'.
1606         (LinkController.mouseMoved): Added support for tracking
1607         the 'hover' dynamic class.
1608         * javax/swing/text/html/InlineView.java
1609         (changedUpdate): Fetch new properties.
1610         * javax/swing/text/html/StyleSheet.java
1611         (attributeSetToMap): New helper method.
1612         (getRule): Also append dynamic and pseudo class to key.
1613         (resolveStyle): Resolve style based generally on all attributes.
1614         * javax/swing/text/html/TableView.java
1615         (RowView.layoutMajorAxis): Make sure the grid is valid.
1616         (updateGrid): Made package private.
1617         * gnu/javax/swing/text/html/css/Selector.java
1618         (calculateSpecificity): Added support for dynamic and pseudo classes.
1619         (matches): Changed to operate on general attributes.
1620         Added support for dynamic and pseudo classes.
1621
1622 2006-12-01  Mario Torre  <neugens@limasoftware.net>
1623
1624         * java/text/DecimalFormat.java (formatInternal): move the formatting of
1625         fractional portion in a separate method.
1626         Also fixes the handling of decimal separator and its associated field.
1627         (handleFractionalPart): new method, needed to relax a bit
1628         formatInternal.
1629         
1630 2006-12-01  Andrew John Hughes  <gnu_andrew@member.fsf.org>
1631
1632         * java/beans/beancontext/BeanContextServicesSupport.java:
1633         (BCSSProxyServiceProvider.getCurrentServiceSelectors(BeanContextServices,
1634         Class)): Implemented.
1635         (BCSSProxyServiceProvider.getService(BeanContextServices, Object,
1636         Class, Object)): Implemented.
1637         (BCSSProxyServiceProvider.releaseService(BeanContextServices,
1638         Object, Object)): Implemented.
1639         (BCSSProxyServiceProvider.serviceRevoked(BeanContextServiceRevokedEvent)):
1640         Implemented.
1641         (initialiseBeanContextResources()): Implemented.
1642         (releaseBeanContextResoures()): Implemented.
1643         
1644 2006-12-01  Mark Wielaard  <mark@klomp.org>
1645
1646         * include/gnu_java_awt_peer_gtk_GdkFontPeer.h: Regenerated.
1647
1648 2006-12-01  Roman Kennke  <kennke@aicas.com>
1649
1650         * gnu/javax/swing/text/html/css/BorderStyle.java: New class for
1651         handling border styles.
1652         * gnu/javax/swing/text/html/css/BorderWidth.java
1653         (isValid): New method.
1654         * gnu/javax/swing/text/html/css/Length.java
1655         (isValid): New method.
1656         * javax/swing/text/html/CSS.java
1657         (addInternal): Added shorthand parsing for border, padding and
1658         margin.
1659         (parseBackgroundShorthand): Added API docs.
1660         (parsePaddingShorthand): New method. Handles padding shorthand
1661         values.
1662         (parseMarginShorthand): New method. Handles margin shorthand
1663         values.
1664         (parseBorderShorthand): New method. Handles border shorthand
1665         values.
1666         * javax/swing/text/html/StyleSheet.java
1667         (translateHTMLToCSS): Set specific padding attributes.
1668         (BoxPainter.BoxPainter): Don't handle PADDING and MARGIN here.
1669         These shorthands are now handled in CSS.
1670         (BoxPainter.paint): Exclude the outer margin.
1671
1672 2006-12-01  Roman Kennke  <kennke@aicas.com>
1673
1674         * gnu/javax/swing/text/html/css/Length.java
1675         (emBase): New field.
1676         (exBase): New field.
1677         (isFontEMRelative): New field.
1678         (isFontEXRelative): New field.
1679         (Length): Recognize and setup EM and EX relative values.
1680         (getValue): Handle EM and EX relative values.
1681         (isEMRelative): New method.
1682         (isEXRelative): New method.
1683         (setEMBase): New method.
1684         (setEXBase): New method.
1685         (setFontBases): New method.
1686         * gnu/javax/swing/text/html/parser/support/Parser.java
1687         (_handleEmptyTag): Use new isBlock() helper method.
1688         (_handleEndTag_remaining): Use new isBlock() helper method.
1689         (_handleStartTag): Consume whitespace after block start tag.
1690         (Comment): Consume whitespace after a comment.
1691         (isBlock): New helper method.
1692         (readAttributes): Consider all characters in unquoted attribute
1693         values.
1694         * javax/swing/text/html/BlockView.java
1695         (layoutMinorAxis): Use cached span value.
1696         (paint): Added debug code (commented out).
1697         (setPropertiesFromAttributes): Set the EM and EX base on lengths.
1698         * javax/swing/text/html/CSSBorder.java
1699         (CSSBorder): Take StyleSheet as argument. Call getBorderWidth()
1700         with stylesheet.
1701         (getBorderWidth): Set the EM and EX base on the length values.
1702         * javax/swing/text/html/HTMLDocument.java
1703         (HTMLReader.ParagraphAction.end): Do not set the inParagraph field.
1704         (HTMLReader.ParagraphAction.start): Do not set the inParagraph field.
1705         (HTMLReader.inImpliedParagraph): Removed.
1706         (HTMLReader.inParagraph): Removed.
1707         (HTMLReader.parseStack): New field.
1708         (HTMLReader.addContent): Use new paragraph handling.
1709         (HTMLReader.addSpecialElement): Use new paragraph handling.
1710         (HTMLReader.blockClose): Use new paragraph handling.
1711         (HTMLReader.blockOpen): Use new paragraph handling.
1712         (HTMLReader.inImpliedParagraph): New helper method.
1713         (HTMLReader.inParagraph): New helper method.
1714         * javax/swing/text/html/ImageView.java
1715         (attributes): New field. Caches view attributes.
1716         (spans): New field. Caches CSS spans.
1717         (getAttributes): Correctly setup CSS view attributes.
1718         (getPreferredSpan): Use caches spans.
1719         (getStyleSheet): Use the view's getDocument() method.
1720         (setPropertiesFromAttributes): Cache spans and setup EM and EX.
1721         (updateSize): Use cached spans.
1722         * javax/swing/text/html/ParagraphView.java
1723         (setPropertiesFromAttributes): Setup EM and EX.
1724         * javax/swing/text/html/StyleSheet.java
1725         (BoxPainter.BoxPainter): Setup EM and EX correctly.
1726         (getEMBase): New helper method.
1727         (getEXBase): New helper method.
1728         * javax/swing/text/html/TableView.java
1729         (width): New field. Caches the table width.
1730         (calculateMinorAxisRequirements): Use caches span.
1731         (setPropertiesFromAttributes): Cache span and setup EM/EX.
1732         (updateGrid): Correctly setup EM/EX.
1733
1734 2006-11-30  Roman Kennke  <kennke@aicas.com>
1735
1736         * javax/swing/text/html/FormSubmitEvent.java: New class.
1737         * javax/swing/text/html/FormView.java
1738         (SubmitThread): New class for submitting data in a separate thread.
1739         (actionPerformed): Fetch the actual for data.
1740         (addData): New helper method.
1741         (getElementFormData): New helper method.
1742         (getFormData): New helper method.
1743         (getInputFormData): New helper method.
1744         (submitData): Implemented.
1745         * javax/swing/text/html/FrameView.java
1746         (createComponent): Add this as hyperlink listener.
1747         Set the target document as frame document.
1748         (getTopEditorPane): New helper method.
1749         (hyperlinkUpdate): Implementation of the HyperlinkListener interface.
1750         (handleHyperlinkEvent): New helper method.
1751         (handleFormSubmitEvent): New helper method.
1752         * javax/swing/text/html/HTMLDocument.java
1753         (HTMLReader.BaseAction.start): Track the base target.
1754         (HTMLReader.BaseAction.end): Removed.
1755         (baseTarget): New field.
1756         (frameDocument): New field.
1757         (getBaseTarget): New property accessor.
1758         (isFrameDocument): New property accessor.
1759         (processHTMLFrameHyperlinkEvent): Implemented.
1760         (setFrameDocument): New property accessor.
1761         (updateFrame): New helper method.
1762         (updateFrameSet): New helper method.
1763         * javax/swing/text/html/HTMLEditorKit.java
1764         (LinkController.createHyperlinkEvent): Handle frame documents.
1765         (autoFormSubmission): New field.
1766         (HTMLEditorKit): Set autoFormSubmission to true.
1767         (isAutoFormSubmission): New property accessor.
1768         (setAutoFormSubmission): New property accessor.
1769
1770 2006-11-30  Roman Kennke  <kennke@aicas.com>
1771
1772         * javax/swing/text/ElementIterator.java
1773         (ElementRef): New inner class.
1774         (currentDepth): Removed.
1775         (currentElement): Removed.
1776         (previousItem): Removed.
1777         (stack): New field. Holds the iteration stack.
1778         (state): Removed.
1779         (ElementIterator(Document)): Removed init of removed fields.
1780         (ElementIterator(Element)): Removed init of removed fields.
1781         (current): Changed to stack based algorithm.
1782         (deepestLeaf): New helper method.
1783         (depth): Changed to stack based algorithm.
1784         (first): Changed to stack based algorithm.
1785         (next): Changed to stack based algorithm.
1786         (previous): Changed to stack based algorithm.
1787
1788 2006-11-30  Francis Kung  <fkung@redhat.com>
1789
1790         * .settings/org.eclipse.jdt.core.prefs: Set compilar compliance to 1.4.
1791         * .externalToolBuilders/ClasspathJar.launch: Include sun.* classses.
1792
1793 2006-11-30  Francis Kung  <fkung@redhat.com>
1794
1795         * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
1796         (draw): Set transform in buffered composite.
1797         (drawComposite): Do not transform bounds; round bounds.
1798         (drawGlyphVector):  Set transform in buffered composite.
1799         (drawRenderedImage):  Set transform in buffered composite.
1800         (fill):  Set transform in buffered composite.
1801         (updateBufferedImage): Fix scanline & height calculations.
1802         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
1803         (createPath): Simplify width & height calculation.
1804         (drawImage): Also transform width & height.
1805
1806 2006-11-30  Roman Kennke  <kennke@aicas.com>
1807
1808         * javax/swing/text/html/FrameSetView.java: New class. Implements
1809         HTML framesets.
1810         * javax/swing/text/html/FrameView.java: New class. Implements
1811         HTML frames.
1812         * javax/swing/text/html/HTMLDocument.java:
1813         (HTMLReader.addSpecialElement): Only add one artificial space.
1814         * javax/swing/text/html/HTMLEditorKit.java
1815         (HTMLFactory.create): Uncomment code for FrameSetView and FrameView.
1816         * gnu/javax/swing/text/html/parser/support/Parser.java
1817         (_handleEmptyTag): Also consume whitespace after frame tags.
1818
1819 2006-11-30  Gary Benson  <gbenson@redhat.com>
1820
1821         * java/lang/Thread.java: Javadoc fixes.
1822
1823 2006-11-29  Tom Tromey  <tromey@redhat.com>
1824
1825         PR classpath/28203:
1826         * java/lang/Class.java (getAnnotations): Rewrote.
1827
1828 2006-11-29  Tania Bento  <tbento@redhat.com>
1829
1830         * tools/gnu/classpath/tools/appletviewer/TagParser.java:
1831         (parseParams): Unescape 'val' before putting it into the Map.
1832         (unescapeString): New private method.
1833
1834 2006-11-29  Tom Tromey  <tromey@redhat.com>
1835
1836         * tools/gnu/classpath/tools/getopt/package.html: New file.
1837
1838 2006-11-29  David Gilbert  <david.gilbert@object-refinery.com>
1839
1840         * javax/swing/plaf/metal/MetalIconFactory.java
1841         (HorizontalSliderThumbIcon.paintIcon()): Commented out gradient paint,
1842         (VerticalSliderThumbIcon.paintIcon()): Likewise.
1843
1844 2006-11-29  Mario Torre  <neugens@limasoftware.net>
1845
1846         * java/text/NumberFormat.java (getCurrencyInstance): Replaced dollar sign
1847         with the default international currency sign \u00A4.
1848         * java/text/DecimalFormat.java (scanFix): Fix to use the localized symbol
1849         table for string formatting.
1850         (formatInternal): likewise.
1851         (scanNegativePattern): likewise.
1852         (applyPattern): likewise.
1853         * java/text/DecimalFormatSymbols.java (clone): Revert to old version as
1854         Locale is immutable and does not need clone.
1855
1856 2006-11-29  Francis Kung  <fkung@redhat.com>
1857
1858         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
1859         (drawLine): Remove hard-coded pixel shifting.
1860
1861 2006-11-29  Roman Kennke  <kennke@aicas.com>
1862
1863         * java/awt/Component.java
1864         (isShowing): Simplified condition code and avoid unnecessary
1865         if-codepaths.
1866         (coalesceEvents): Always coalesce paint events and let the peer
1867         figure out the expanding of the repaint area.
1868         * gnu/java/awt/peer/swing/SwingComponentPeer.java
1869         (currentPaintEvents): Removed. Replaced by paintArea.
1870         (paintArea): New field. Tracks the dirty area.
1871         (SwingComponentPeer): Removed init of currentPaintEvents.
1872         (coalescePaintEvent): Simplified to only union the dirty regions.
1873         (handleEvent): Paint dirty region that was tracked in paintArea.
1874         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
1875         (paintArea): New field. Tracks the dirty region.
1876         (coalescePaintEvent): Implemented to track the dirty region.
1877         (paintComponent): Use the dirty region in paintArea. Protect
1878         state by putting the paint and dispose code in a try-finally.
1879         (updateComponent): Use the dirty region in paintArea. Protect
1880         state by putting the paint and dispose code in a try-finally.
1881
1882 2006-11-29  Roman Kennke  <kennke@aicas.com>
1883
1884         * java/awt/font/TextLayout.java
1885         (getVisualHighlightShape): Removed debug output.
1886
1887 2006-11-28  Andrew Haley  <aph@redhat.com>
1888
1889         * vm/reference/sun/reflect/misc/ReflectUtil.java
1890         (checkPackageAccess): Implement.
1891
1892 2006-11-28  Dalibor Topic  <robilad@kaffe.org>
1893
1894         * native/jni/java-lang/java_lang_VMDouble.c:
1895         (parseDoubleFromChars) New function. Factored out from ...
1896         (Java_java_lang_VMDouble_parseDouble): Factored out the parsing.
1897         (dtoa_toString): New function. Factored out from ...
1898         (Java_java_lang_VMDouble_toString) : Factored out the conversion.
1899         Changed conversion mode to 2, as modes 0 and 1 don't round
1900         as the API spec demands. Invoke conversion function as often
1901         as necessary with growing precision until a reversible
1902         representation of the double in form of a string is reached.
1903
1904 2006-11-28  Roman Kennke  <kennke@aicas.com>
1905
1906         * javax/swing/JComponent.java
1907         (putClientProperty): Do not fire event when both old and new
1908         value are == null.
1909
1910 2006-11-27  Andrew John Hughes  <gnu_andrew@member.fsf.org>
1911
1912         * java/lang/Enum.java:
1913         Make name and ordinal final.
1914         
1915 2006-11-27  Casey Marshall  <csm@gnu.org>
1916
1917         * java/util/jar/JarEntry.java (certs): removed.
1918         (jarfile): new field.
1919         (getCertificates): read the certificates from the containing JarFile.
1920         * java/util/jar/JarFile.java (JarEnumeration.nextElement): don't
1921         fill in 'certs,' fill in 'jarfile' for the entry.
1922         (getEntry): likewise.
1923         
1924 2006-11-27  Francis Kung  <fkung@redhat.com>
1925
1926         * java/awt/image/WritableRaster.java
1927         (createChild): Implemented.
1928
1929 2006-11-27  Roman Kennke  <kennke@aicas.com>
1930
1931         * java/awt/font/TextLayout.java
1932         (TextLayout(TextLayout,int,int)): Also layout the new runs.
1933         (getVisualHighlightShape): Implemented.
1934         (layoutRuns): Fixed boundary so that the last run is also laid out.
1935         (left): New helper method.
1936         (right): New helper method.
1937
1938 2006-11-27  Roman Kennke  <kennke@aicas.com>
1939
1940         * java/awt/font/TextLayout.java
1941         (getCaretShape(TextHitInfo,Rectangle2D)): Implemented.
1942         (getCaretShape(TextHitInfo)): Use natural bounds.
1943         (getCaretShapes(int,Rectangle2D,CaretPolicy)): New API method.
1944         (getCaretShapes(int,Rectangle2D)): Delegate to new method
1945         above with DEFAULT_CARET_POLICY.
1946         (getCaretShapes(int)): Use natural bounds.
1947
1948 2006-11-27  Roman Kennke  <kennke@aicas.com>
1949
1950         * java/awt/font/TextLayout.java
1951         (Run.font): New field.
1952         (Run.location): New field.
1953         (Run.Run): Initialize font.
1954         (font): Removed field. This is moved into Run as the actual font
1955         is something run-specific.
1956         (TextLayout(String,Font,FontRenderContext)): Set font on the
1957         single runs. Layout the runs here.
1958         (TextLayout(TextLayout,int,int)): Copy over the run fonts.
1959         (findRunAtIndex): New helper method.
1960         (getCaretInfo): Implemented.
1961         (layoutRuns): New helper method.
1962         (toString): Don't put font in output string.
1963
1964 2006-11-27  Raif S. Naffah  <classpath@naffah-raif.name>
1965
1966         * AUTHORS: Added Jeroen Fritjers.
1967
1968 2006-11-27  neugens  <neugens@nirvana.limasoftware.net>
1969
1970         * java/text/DecimalFormat.java (formatInternal): Add an explicit test
1971         for FieldPosition to be null.
1972         Check if the factional part is just 0 and can be omitted from the
1973         result.
1974         (scanNegativePattern): Fixed index out of bound exception when searching
1975         for international currency symbol in negative pattern.  
1976
1977 2006-11-27  Andrew John Hughes  <gnu_andrew@member.fsf.org>
1978
1979         * java/beans/beancontext/BeanContextSupport.java:
1980         (readObject(ObjectInputStream)): Implemented.
1981         (writeObject(ObjectOutputStream)): Likewise.
1982         (BCSChild.getTargetChild()): Added.
1983         (bcsPreDeserializationHook()): Implemented.
1984         (bcsPreSerializationHook()): Likewise.
1985         (childDeserializedHook(Object,BCSChild)): Likewise.
1986         (isSerializing()): Likewise.
1987         (readChildren(ObjectInputStream)): Likewise.
1988         (writeChildren(ObjectOutputStream)): Likewise.
1989         
1990 2006-11-26  Roger Sayle  <roger <at> eyesopen.com>
1991             Ian Lance Taylor  <ian <at> airs.com>
1992             Paolo Bonzini <bonzini <at> gnu.org>
1993
1994         Fixes bug #25557.
1995
1996         * lib/gen-classlist.sh.in:  Avoid using test's -ef operator for
1997         increased portability.  Likewise, use -f instead of -e.
1998
1999 2006-11-26  Mark Wielaard  <mark@klomp.org>
2000
2001         * lib/Makefile.am (propertydirs): Removed.
2002         (resources): Explicitly create all dirs.
2003
2004 2006-11-26  Mark Wielaard  <mark@klomp.org>
2005
2006         * gnu/java/net/PlainSocketImpl.java (accept): Reset timeout on Socket.
2007
2008 2006-11-26  Dalibor Topic  <robilad@kaffe.org>
2009
2010         * native/target/.cvsignore,
2011         native/target/generic/.cvsignore,
2012         native/target/Linux/.cvsignore:
2013         Removed no longer used files.
2014
2015         * native/target: Removed no longer used directory.
2016
2017 2006-11-26  Dalibor Topic  <robilad@kaffe.org>
2018
2019         Fixes bug #29133.
2020
2021         * libraries/clib/nio/gnu_java_nio_VMSelector.c
2022         (Java_gnu_java_nio_VMSelector_select):
2023         Use strerror if strerror_r is not available.
2024
2025         Reported by:  Michael Franz <mvfranz@gmail.com>,
2026                       Riccardo Mottola <zuse@libero.it>
2027
2028 2006-11-26  Dalibor Topic  <robilad@kaffe.org>
2029
2030         Fixes bug #26756.
2031         
2032         * native/jni/midi-dssi/Makefile.am (AM_CFLAGS): Removed 
2033         STRICT_WARNING_CFLAGS since it caused the build to fail 
2034         on GNU/Linux.
2035
2036 2006-11-26  Ian Rogers  <ian.rogers@manchester.ac.uk>
2037
2038         * doc/vmintegration.texinfo: Update VM Threading Model section.
2039
2040 2006-11-26  Tom Tromey  <tromey@redhat.com>
2041
2042         * native/jni/java-net/java_net_VMNetworkInterface.c: Conditionally
2043         include ifaddrs.h.
2044         (Java_java_net_VMNetworkInterface_getVMInterfaces): Updated
2045         conditional.
2046         * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c:
2047         Conditionally include ifaddrs.h.
2048         (getif_address): Updated conditional.
2049         (getif_index): Likewise.
2050         * configure.ac: Check for ifaddrs.h.
2051
2052 2006-11-25  Mark Wielaard  <mark@klomp.org>
2053
2054         * java/io/File.java (list): Return empty list for unreadable dirs.
2055
2056 2006-11-25  Mark Wielaard  <mark@klomp.org>
2057
2058         * gnu/java/awt/peer/gtk/CairoGraphics2D.java (drawGlyphVector):
2059         Synchronize on font peer.
2060         (setFont): Likewise.
2061         * gnu/java/awt/peer/gtk/GdkFontPeer.java (getFontMetrics): Mark
2062         synchronized.
2063         (getTextMetrics): Likewise.
2064
2065 2006-11-25  Roman Kennke  <kennke@aicas.com>
2066
2067         * javax/swing/text/GapContent.java
2068         (getPositionsInRange): Rewritten to use the more efficient
2069         binary search searchFirst() and avoid an NPE that was caused
2070         by GC'ed positions.
2071
2072 2006-11-25  Mark Wielaard  <mark@klomp.org>
2073
2074         * javax/swing/text/CompositeView.java (modelToView): Never return
2075         null.
2076
2077 2006-11-25  Mark Wielaard  <mark@klomp.org>
2078
2079         * javax/swing/text/html/TableView.java (calculateColumnRequirements):
2080         Check whether rowView instanceof RowView.
2081         (updateGrid): Likewise.
2082
2083 2006-11-25  Mario Torre  <neugens@nirvana.limasoftware.net>
2084
2085         PR28462
2086         * java/text/DecimalFormat.java: Almost new rewrite, and update to 1.5.
2087         * java/text/NumberFormat.java (format): all format methods, fixed
2088         FieldPosition argument should never be null.
2089         (format(Object, StringBuffer, FieldPosition)): fixed signature,
2090         method is not final.
2091         * java/text/DecimalFormatSymbols.java (clone): fixed to also clone
2092         locale.
2093         * AUTHORS: added my name to the file.
2094
2095 2006-11-25  Mark Wielaard  <mark@klomp.org>
2096
2097         * javax/swing/text/html/StyleSheet.java (paint): Guard against
2098         getChildAllocation() returning null.
2099
2100 2006-11-25  Mark Wielaard  <mark@klomp.org>
2101
2102         * gnu/javax/swing/text/html/css/Selector.java (calculateSpecificity):
2103         Use clazzIndex for id substring.
2104
2105 2006-11-25  Mark Wielaard  <mark@klomp.org>
2106
2107         * java/awt/EventQueue.java (pop): Only terminate dispatchThread when
2108         it is still running.
2109
2110 2006-11-25  Mark Wielaard  <mark@klomp.org>
2111
2112         Fixes bug #28822
2113         * doc/api/Makefile.am (create_html): Guard GJDOC invocation with
2114         CREATE_API_DOCS
2115
2116 2006-11-24  Tania Bento  <tbento@redhat.com>
2117
2118         * java/awt/font/TextHitInfo.java
2119         (equals(TextHitInfo)): If TextHitInfo parameter is null, return false.
2120         (beforeOffset): Decreased first parameter by 1.
2121
2122 2006-11-24  Francis Kung  <fkung@redhat.com>
2123
2124         * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
2125         (constructor): Check sample model when setting fastCM flag.
2126         (updateBufferedImage): Check scanline and sample model offsets before
2127         copying data directly into the image data buffer.
2128
2129 2006-11-24  Francis Kung  <fkung@redhat.com>
2130
2131         * gnu/java/awt/java2d/QuadSegment.java
2132         (offsetSubdivided): Handle special straight-line cases.
2133
2134 2006-11-24  Roman Kennke  <kennke@aicas.com>
2135
2136         * java/awt/dnd/DropTarget.java
2137         (DropTargetAutoScroller.HYSTERESIS): New constant.
2138         (DropTargetAutoScroller.DELAY): New constant.
2139         (DropTargetAutoScroller.inner): New field. A cached
2140         Rectangle instance.
2141         (DropTargetAutoScroller.outer): New field. A cached
2142         Rectangle instance.
2143         (DropTargetAutoScroller.timer): New field. The actual timer.
2144         (DropTargetAutoScroller.DropTargetAutoScroller):
2145         Initialize timer.
2146         (DropTargetAutoScroller.actionPerformed): Implemented.
2147         (DropTargetAutoScroller.stop): Implemented.
2148         (DropTargetAutoScroller.updateLocation): Implemented.
2149         (clearAutoscroll): Stop the autoscroller before nullifying it.
2150         (createDropTargetAutoScroller): Don't set the field here,
2151         only return a new instance.
2152         (dragEnter): Only do something when active. Initialize
2153         auto scrolling.
2154         (dragExit): Only do something when active. Stop auto scrolling.
2155         (dragOver): Only do something when active. Update auto scrolling.
2156         (drop): Only do something when active. Update auto scrolling.
2157         (dropActionChanged): Only do something when active. Update
2158         auto scrolling.
2159         (initializeAutoScrolling): Check if component is an instance
2160         of Autoscroll, otherwise do nothing.
2161         (setActive): Disable autoscrolling when deactivating.
2162         (setComponent): When component is set to null, disable autoscrolling.
2163
2164 2006-11-24  David Gilbert  <david.gilbert@object-refinery.com>
2165
2166         * java/beans/beancontext/BeanContextServicesSupport.java
2167         (getChildBeanContextServicesListener): Implemented.
2168
2169 2006-11-23  Roman Kennke  <kennke@aicas.com>
2170
2171         * gnu/java/awt/peer/headless/HeadlessGraphicsEnvironment.java
2172         (createGraphics): Use constructor to create new instance of
2173         BufferedImageGraphics.
2174         * java/awt/Toolkit.java
2175         (getDefaultToolkit): Really try to get a real toolkit. Only
2176         use HeadlessToolkit if no other is available.
2177         * gnu/java/awt/peer/gtk/GtkToolkit.java
2178         (checkHeadless): New helper method. Checks for headless environment
2179         and throws HeadlessException if appropriate.
2180         (createButton): Check for headless.
2181         (createCanvas): Check for headless.
2182         (createCheckbox): Check for headless.
2183         (createCheckboxMenuItem): Check for headless.
2184         (createChoice): Check for headless.
2185         (createDialog): Check for headless.
2186         (createDragGestureRecognizer): Check for headless.
2187         (createDragSourceContextPeer): Check for headless.
2188         (createEmbeddedWindow): Check for headless.
2189         (createFileDialog): Check for headless.
2190         (createFrame): Check for headless.
2191         (createCheckbox): Check for headless.
2192         (createLabel): Check for headless.
2193         (createList): Check for headless.
2194         (createMenu): Check for headless.
2195         (createMenuBar): Check for headless.
2196         (createMenuItem): Check for headless.
2197         (createPanel): Check for headless.
2198         (createPopupMenu): Check for headless.
2199         (createScrollbar): Check for headless.
2200         (createScrollPane): Check for headless.
2201         (createTextArea): Check for headless.
2202         (createTextField): Check for headless.
2203         (createWindow): Check for headless.
2204
2205 2006-11-23  David Gilbert  <david.gilbert@object-refinery.com>
2206
2207         * java/beans/beancontext/BeanContextSupport.java
2208         (deserialize): Implemented,
2209         (serialize): Implemented.
2210
2211 2006-11-23  Roman Kennke  <kennke@aicas.com>
2212
2213         * gnu/java/awt/peer/headless/HeadlessGraphicsEnvironment.java
2214         (createGraphics): Try to use Cairo graphics if available.
2215
2216 2006-11-22  David Gilbert  <david.gilbert@object-refinery.com>
2217
2218         * java/beans/beancontext/BeanContextSupport.java
2219         (toArray): Added API docs,
2220         (toArray(Object[])): Added API docs, removed NotImplementedException.
2221
2222 2006-11-22  Tania Bento  <tbento@redhat.com>
2223
2224         * javax/swing/JRootPane.java
2225         (setLayeredPane): Added documentation; throw 
2226         IllegalComponentStateException if layered pane parameter is null.
2227
2228 2006-11-22  David Gilbert  <david.gilbert@object-refinery.com>
2229
2230         * java/beans/beancontext/BeanContextSupport.java
2231         (avoidingGui): Removed NotImplementedException.
2232
2233 2006-11-22  Francis Kung  <fkung@redhat.com>
2234
2235         * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
2236         (drawGlyphVector): Clip updated area to glyph bounds.
2237         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
2238         (createPath): Eliminate distortion when pixel-shifting rectangles; separate
2239         x-coordinate and y-coordinate pixel shifting.
2240         (shifted): Removed method.
2241         (shiftX): New method, recognising scaling transforms.
2242         (shiftY): New method, recognising scaling transforms.
2243         (walkPath): Separate x-coordinate and y-coordinate pixel shifting.
2244
2245 2006-11-22  Roman Kennke  <kennke@aicas.com>
2246
2247         * java/awt/font/TextLayout.java
2248         (hash): New field. Caches the hash code.
2249         (hashCode): Implemented.
2250
2251 2006-11-22  Roman Kennke  <kennke@aicas.com>
2252
2253         * java/awt/image/ImageFilter.java
2254         Reformat whole class.
2255         (getFilterInstance): Don't touch the consumer field. Don't check
2256         consumer.
2257         (imageComplete): Don't check consumer.
2258         (setColorModel): Don't check consumer.
2259         (setDimensions): Don't check consumer.
2260         (setHints): Don't check consumer.
2261         (setPixels): Don't check consumer.
2262         (setProperties): Pass the original property too.
2263         * java/awt/image/IndexColorModel.java
2264         (IndexColorModel(int,int,byte[],byte[],byte[],int)): Set the
2265         transparent pixel by calling the new helper method.
2266         (IndexColorModel(int,int,byte[],int,boolean,int)): Set the
2267         transparent pixel by calling the new helper method.
2268         (IndexColorModel(int,int,int[],int,boolean,int,int)): Set the
2269         transparent pixel by calling the new helper method.
2270         (coerceData): Removed. This is not needed.
2271         (getAlpha): Simply return value from color map. The transparent
2272         pixel has to be there.
2273         (setTransparentPixel): New helper method. Inserts the transparent
2274         pixel.
2275         * java/awt/image/RGBImageFilter.java
2276         Reformat whole class.
2277         (convertColorModelToDefault): Removed. No longer needed.
2278         (filterIndexColorModel): Don't handle transparent pixels
2279         separately.
2280         (filterRGBPixels): Set pixels on consumer already.
2281         (makeColor): Removed. No longer needed.
2282         * java/awt/image/ReplicateScaleFilter.java
2283         (replicatePixels): Removed.
2284         (setDimension): Correctly compute destination size, avoid double
2285         calculations.
2286         (setPixels): Avoid double calculations. Fixed some boundary cases.
2287         (setupSources): New helper method.
2288         * java/awt/image/SampleModel.java
2289         (setDataElements): Also handle TYPE_SHORT, TYPE_FLOAT
2290         and TYPE_DOUBLE.
2291         * java/awt/image/SinglePixelPackedSampleModel.java
2292         (setDataElements(int,int,int,int,Object,DataBuffer)): Removed.
2293         This is not needed as the superclass already copies line
2294         by line.
2295         (setDataElements(int,int,Object,DataBuffer)): Simplified code,
2296         removed some checks that the RI also doesn't perform. Call
2297         DataBuffer.setElem().
2298
2299 2006-11-22  Roman Kennke  <kennke@aicas.com>
2300
2301         * java/awt/text/TextLayout.java
2302         (getLogicalRangesForVisualSelection): Implemented.
2303
2304 2006-11-21  Andrew John Hughes  <gnu_andrew@member.fsf.org>
2305
2306         * sun/reflect/annotation/AnnotationParser.java,
2307         * sun/reflect/annotation/AnnotationType.java,
2308         * sun/reflect/annotation/EnumConstantNotPresentExceptionProxy.java,
2309         * sun/reflect/annotation/ExceptionProxy.java:
2310         Stubbed.
2311         * sun/misc/ServiceConfigurationError.java,
2312         * sun/misc/Service.java:
2313         Implemented.
2314         
2315 2006-11-21  Roman Kennke  <kennke@aicas.com>
2316
2317         * java/awt/text/TextLayout.java
2318         (Run.isLeftToRight): New helper method.
2319         (logicalToVisual): New field. Maps logical indices to visual
2320         indices.
2321         (visualToLogical): New field. Maps visual indices to logical
2322         indices.
2323         (TextLayout): Setup mappings.
2324         (setupMappings): New method for setting up the mappings.
2325         (getCharacterLevel): Reorganized code.
2326         (getNextLeftHit(int)): Implemented.
2327         (getNextLeftHit(int,CaretPolicy)): New method.
2328         (getNextLeftHit(TextHitInfo)): Implemented.
2329         (getNextRightHit(int)): Implemented.
2330         (getNextRightHit(int,CaretPolicy)): New method.
2331         (getNextRightHit(TextHitInfo)): New method.
2332         (getVisualOtherHit): Implemented.
2333         (checkHitInfo): New helper methods for checking parameters.
2334         (hitToCaret): New helper method. Maps hit infos to caret locations.
2335         (caretToHit): New helper method. Maps caret locations to hit infos.
2336         (isCharacterLTR): New helper method.
2337         (CaretPolicy.getStrongCaret): Implemented.
2338
2339 2006-11-21  Francis Kung  <fkung@redhat.com>
2340
2341         * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
2342         (draw): Include stroke width when calculating bounds.
2343         (updateBufferedImage): Round bounds more generously, handle negative
2344         height/width values, and clip more intelligently.
2345         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
2346         (createPath): Add shortcut optimization for lines.
2347         (draw): Include stroke width when calculating bounds.
2348         (drawLine): Delegate to main draw() method.
2349         (drawRect): Likewise.
2350         (fillRect): Delegate to main fill() method.
2351         (findStrokedBounds): New method.
2352         (setCustomPaint): Round bounds more generously.
2353         * gnu/java/awt/peer/gtk/ComponentGraphics.java
2354         (drawLine): Removed.
2355         (drawRect): Removed.
2356         (fillRect): Removed.
2357
2358 2006-11-21  Francis Kung  <fkung@redhat.com>
2359
2360         * gnu/java/awt/java2d/TexturePaintContext.java
2361         (getRaster): Handle negative coordinate values.
2362         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
2363         (setPaint): Moved custom paint processing to a new method.
2364         (setPaintPixels): Added x, y parameters.
2365         (getRealBounds): Added documentation.
2366         (copy): Copy clipping information.
2367         (drawLine): Process custom paints.
2368         (setCustomPaint): New method.
2369         (fill): Process custom paints.
2370         (drawGlyphVector): Process custom paints.
2371         (drawRect): Process custom paints.
2372         (draw): Process custom paints.
2373         * gnu/java/awt/peer/gtk/CairoSurface.java
2374         (cairoCM_opaque): New constant.
2375         * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
2376         (argb32): Removed constant.
2377         (rgb32): Removed constant.
2378         (BufferedImageGraphics(BufferedImage)): Updated constant names.
2379         (BufferedImageGraphics(BufferedImageGraphics)): Copy color model flags.
2380         (updateBufferedImage): Transform to device-space before updating.
2381         * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h
2382         (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_setPaintPixels): Added x, y
2383         parameters.
2384         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
2385         (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_setPaintPixels): Set pattern
2386         source at designated x, y origin.
2387
2388 2006-11-21  Roman Kennke  <kennke@aicas.com>
2389
2390         * java/awt/text/TextLayout.java
2391         (Run): New inner helper class.
2392         (length): New field.
2393         (naturalBounds): New field.
2394         (offset): New field.
2395         (runIndices): Removed. This is now encapsulate in a Run object.
2396         (runs): Changed to Run[].
2397         (string): Changed to char[].
2398         (totalAdvance): New field. Caches advance value.
2399         (TextLayout(String,Font,FontRenderContext)): Change to store
2400         string as char[] and run layout as Run[]. Clean out empty
2401         run items.
2402         (TextLayout(TextLayout,int,int)): Change to store
2403         string as char[] and run layout as Run[].
2404         (clone): Call private constructor for maximum efficiency.
2405         (determineWhitespace): Adapted to use char[] data.
2406         (draw): Adapted to use Run objects.
2407         (getAdvance): Cache computed total advance.
2408         (getBlackBoxBounds): Adapted to use Run objects.
2409         (getCaretInfo): Use natural layout bounds.
2410         (getCharacterCount): Return length field.
2411         (getLogicalHighlightShape): Adapted to use Run objects.
2412         (getNaturalBounds): New helper method. Calculates and returns the
2413         natural bounds of this text layout.
2414         (getOutline): Adapted to use Run objects.
2415         (getStringProperties): Adapted to use char[] data.
2416         (getVisibleAdvance): Adapted to use char[] and Run data.
2417         (handleJustify): Adapted to use char[] and Run data.
2418         (hitTestChar(float,float,Rectangle2D)): Implemented.
2419         (hitTestChar(float,float)): Use natural bounds.
2420         (setCharIndices): Adapted to use char[] and Run data.
2421         (toString): Adapted to use char[] and Run data.
2422         * java/text/Bidi.java
2423         (requiresBidi): Exclude paragraph separators from bidi-triggers.
2424
2425 2006-11-21  Roman Kennke  <kennke@aicas.com>
2426
2427         * gnu/java/awt/peer/gtk/GdkFontMetrics.java:
2428         Removed. This is now an inner class in GdkFontPeer.
2429         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
2430         (drawString(float,float)): Use text layout cache from
2431         GdkFontPeer.
2432         (getFontMetrics): Delegate to GdkFontPeer.
2433         * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
2434         (getGlyphCodes): Also check array size.
2435         (getGlyphPositions): Also check array size.
2436         * gnu/java/awt/peer/gtk/GdkFontPeer.java
2437         (GdkFontLineMetrics.fm): Removed.
2438         (GdkFontLineMetrics.strikeThroughOffset): Removed.
2439         (GdkFontLineMetrics.strikeThroughThickness): Removed.
2440         (GdkFontLineMetrics.underlineOffset): Removed.
2441         (GdkFontLineMetrics.underlineThickness): Removed.
2442         (GdkFontLineMetrics.GdkFontLineMetrics): Don't take
2443         FontMetrics argument. Don't init removed fields.
2444         (GdkFontLineMetrics.getAscent): Return font peer's field.
2445         (GdkFontLineMetrics.getDescent): Return font peer's field.
2446         (GdkFontLineMetrics.getHeight): Return font peer's field.
2447         (GdkFontLineMetrics.getLeading): Return font peer's field.
2448         (GdkFontLineMetrics.getNumChars): Reformat.
2449         (GdkFontLineMetrics.getStrikeThroughOffset): Return half ascent.
2450         (GdkFontLineMetrics.getStrikeThroughThickness): Return 1.
2451         (GdkFontLineMetrics.getUnderlineOffset): Return font peer's field.
2452         (GdkFontLineMetrics.getUnderlineThickness): Return font peer's field.
2453         (GdkFontMetrics): Moved class in here as inner class. 
2454         Make it use the font peer's fields and for the char(s) width
2455         and string width method, use TextLayout to measure the actual widths.
2456         (ascent): New field.
2457         (bundle): Removed.
2458         (DEFAULT_CTX): New constant field.
2459         (descent): New field.
2460         (FONT_METRICS_ASCENT): New constant.
2461         (FONT_METRICS_DESCENT): New constant.
2462         (FONT_METRICS_HEIGHT): New constant.
2463         (FONT_METRICS_MAX_ADVANCE): New constant.
2464         (FONT_METRICS_MAX_ASCENT): New constant.
2465         (FONT_METRICS_MAX_DESCENT): New constant.
2466         (FONT_METRICS_UNDERLINE_OFFSET): New constant.
2467         (FONT_METRICS_UNDERLINE_THICKNESS): New constant.
2468         (height): New field.
2469         (maxAdvance): New field.
2470         (maxAscent): New field.
2471         (maxDescent): New field.
2472         (metrics): New field. Stores a FontMetrics for this font.
2473         (textLayoutCache): New field. Caches TextLayout instances.
2474         (underlineOffset): New field.
2475         (underlineThickness): New field.
2476         (cinit): Don't initialize resource bundle.
2477         (GdkFontPeer): Setup the metrics.
2478         (getFontMetrics): Return stored metrics if possible.
2479         (getLineMetrics): Adapt to new constructor.
2480         (initFont): New helper method.
2481         (setupMetrics): New helper method.
2482         * gnu/java/awt/peer/gtk/GtkToolkit.java
2483         (LRUCache): Made class a static class.
2484         (getFontMetrics): Delegate to GdkFontPeer.
2485         * native/jni/gtk-peer/gdkfont.h
2486         Added new constant defines.
2487         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
2488         (getFontMetrics): Rewritten to fetch the font metrics from
2489         FreeType.
2490
2491 2006-11-20  Tania Bento  <tbento@redhat.com>
2492
2493         * javax/swing/ButtonGroup.java:
2494         (setSelected): Select the ButtonModel if all conditions
2495         are met.
2496
2497 2006-11-20  Tania Bento  <tbento@redhat.com>
2498
2499         * javax/swing/JSlider.java:
2500         (updateLabelUIs): Removed casting.
2501
2502 2006-11-20  Mark Wielaard  <mark@klomp.org>
2503
2504         * gnu/java/util/regex/RE.java (messages): Don't initialize.
2505         (bundle): New static final String field.
2506         (getLocalizedMessage): Initialize messages when still null.
2507         * gnu/java/util/regex/RESyntax.java (SYNTAX_IS_FINAL): Removed.
2508         (set): Use RE.getLocalizedMessage().
2509         (clear): Likewise.
2510         (setLineSeparator): Likewise.
2511
2512 2006-11-20  Roman Kennke  <kennke@aicas.com>
2513
2514         * javax/swing/text/html/StyleSheet.java
2515         (linked): New field.
2516         (styleSheet): Replaced by linked.
2517         (addStyleSheet): Use an arraylist for simplicity.
2518         (getRule): Removed useless instantiation.
2519         (getStyleSheets): Convert array list to array.
2520         (removeStyleSheet): Use an arraylist for simplicity.
2521         (resolveStyle): Include styles from linked lists.
2522
2523 2006-11-20  Roman Kennke  <kennke@aicas.com>
2524
2525         * javax/swing/text/BoxView.java
2526         (BoxView): Initialize with invalid req's.
2527         (forwardUpdate): Trigger repaint when children changed the
2528         major axis.
2529         (getResizeWeight): Return resizable when the pref differs from
2530         the min or the pref differs from the max size.
2531         (layoutMajorAxis): Actually sum up the preferred sizes.
2532         (paint): Made binary search more robust.
2533         (replace): Let arrays shrink when needed.
2534         (replaceLayoutArray): Let arrays shrink when needed.
2535         (setAxis): Trigger preferenceChanged.
2536         * javax/swing/text/CompositeView.java
2537         (getInsideAllocation): Call insets method to take account
2538         of overriding subclasses.
2539         * javax/swing/text/DefaultStyledDocument.java
2540         (ElementBuffer.finishEdit): Clear the stack and edits buffer.
2541         (ElementBuffer.insertUpdate): Only remove the found element, not
2542         all.
2543         * javax/swing/text/GlyphView.java
2544         (insertUpdate): Pass null in preferenceChanged.
2545         (removeUpdate): Pass null in preferenceChanged.
2546         (changedUpdate): Pass null in preferenceChanged.
2547         * javax/swing/text/Utilities.java
2548         (drawTabbedText): Avoid single calls to charWidth() and instead
2549         call charsWidth() on whole chunks.
2550         * javax/swing/text/html/HTMLDocument.java
2551         (BlockElement.getName): Fall back to super when necessary.
2552         (RunElement.getName): Fall back to super when necessary.
2553         (HTMLReader.MAX_THRESHOLD): New constant field.
2554         (HTMLReader.GROW_THRESHOLD): New constant field.
2555         (HTMLReader.theshold): New field.
2556         (HTMLReader.HTMLReader): Fetch threshold from document.
2557         (HTMLReader.addContent): Sucessivly grow the threshold.
2558         (createLeafElement): Don't create two elemens and don't set
2559         attribute.
2560         * javax/swing/text/html/TableView.java
2561         (RowView.replace): Invalidate grid.
2562         (gridValid): Made package private.
2563         (layoutMinorAxis): Mark all rows as invalid.
2564         (replace): Invalidate grid.
2565
2566 2006-11-20  Roman Kennke  <kennke@aicas.com>
2567
2568         * javax/swing/text/AbstractDocument.java
2569         (DefaultDocumentEvent.changes): Changed to be a HashMap.
2570         (DefaultDocumentEvent.modified): Made private.
2571         (DefaultDocumentEvent.THRESHOLD): New constant field.
2572         (DefaultDocumentEvent.DefaultDocumentEvent): Don't initialize
2573         changes table.
2574         (DefaultDocumentEvent.addEdit): Switch to hashmap only when
2575         exceeding threshold.
2576         (DefaultDocumentEvent.getChange): Use iterative approach
2577         when we have no hashmap yet.
2578         (documentCV): Removed.
2579         (numWriters): Renamed from numWritersWaiting.
2580         (createPosition): Reformat.
2581         (getCurrentWriter): Synchronized.
2582         (readLock): Implement more straightforward.
2583         (readUnlock): Implement more straightforward.
2584         (writeLock): Implement more straightforward.
2585         (writeUnlock): Implement more straightforward.
2586         (remove): Write-lock here.
2587         (removeImpl): Don't write-lock here.
2588
2589 2006-11-20  Roman Kennke  <kennke@aicas.com>
2590
2591         * javax/swing/JEditorPane.java
2592         (setPage): Set priority on loading thread.
2593
2594 2006-11-20  Roman Kennke  <kennke@aicas.com>
2595
2596         * javax/swing/plaf/basic/BasicTextUI.java
2597         (RootView.paint): Avoid allocation.
2598         (cachedInsets): New field. Caches an Insets instance.
2599         (getNextVisualPositionFrom): Read-lock the document to avoid
2600         thread nastiness. Push allocation.
2601         (getPreferredSize): Push fake allocation when not yet laid out.
2602         (getVisibleEditorRect): Use cached insets.
2603         (viewToModel): Read-lock the document to avoid
2604         thread nastiness. Push allocation.
2605
2606 2006-11-20  Roman Kennke  <kennke@aicas.com>
2607
2608         * javax/swing/text/StyleContext.java
2609         (attributeSetPool): Synchronize this map.
2610         (addAttribute): Synchronize this method.
2611         (addAttributes: Synchronize this method.
2612         (readObject): Install synchronized map on target object.
2613         (removeAttribute): Synchronize this method.
2614         (removeAttributes): Synchronize this method.
2615         (removeAttributes): Synchronize this method.    
2616         
2617 2006-11-20  Roman Kennke  <kennke@aicas.com>
2618
2619         * javax/swing/text/GapContent.java
2620         (GapContentPosition.GapContentPosition): Removed constructor.
2621         (Mark): Made subclass of WeakReference to refer directly to
2622         the associated position.
2623         (Mark.refCount): Removed.
2624         (Mark.Mark(int,GapContentPosition,ReferenceQueue):
2625         New constructor. Used to reference a position and register the
2626         reference queue.
2627         (Mark.Mark(index)): Call super and don't adjust mark offset.
2628         (Mark.compareTo): Removed.
2629         (Mark.equals): Removed.
2630         (Mark.getOffset): Return at least null. Removed assert.
2631         (Mark.getPosition): New helper method.
2632         (garbageMarks): New field.
2633         (positions): Removed.
2634         (searchMark): New field.
2635         (GapContent): Removed init of positions map.
2636         (addImpl): New helper method.
2637         (adjustPositionsInRange): Removed.
2638         (compare): New helper method.
2639         (createPosition): Rewritten for new datastructures. This now
2640         performs a much more efficient binary search for finding
2641         a position at the requested offste.
2642         (garbageCollect): Rewritten to collect unused marks.
2643         (getPositionsInRange): Adjusted for new data structures.
2644         (removeImpl): New helper method.
2645         (replace): Use new addImpl() and removeImpl() helper method for
2646         correctly adjusting the positions and gap.
2647         (search): Rewritten. Implements a more suitable binary search.
2648         (searchFirst): New helper method.
2649         (setPositionsInRange): Removed.
2650         (shiftEnd): Update the marks here.
2651         (shiftGap): Update the marks here.
2652         (shiftGapEndUp): Update the marks here.
2653         (shiftGapStartDown): Update the marks here.
2654
2655 2006-11-20  Marco Trudel <mtrudel@gmx.ch>
2656
2657         * java/util/jar/JarFile.java (digestAlgorithms): New field used to cache
2658         digest algorithm implementations.
2659         (readSignatures): Parse the manifest once and reuse that data.
2660         Add support for line breaks.
2661         (verifyHashes): Use the parsed manifest entry.
2662         (readManifestEntry): Removed.
2663
2664 2006-11-20  Andrew John Hughes  <gnu_andrew@member.fsf.org>
2665
2666         * java/beans/beancontext/BeanContextServicesSupport.java:
2667         Added more documentation.
2668         (addService(Class,BeanContextServiceProvider,boolean)):
2669         Synchronized over global hierarchy lock.
2670         (bcsPreDeserializationHook(ObjectInputStream)): Implemented.
2671         (bcsPreSerializationHook(ObjectOutputStream)): Implemented.
2672         (childJustRemovedHook(Object,BCSChild)): Implemented.
2673         (createBCSSServiceProvider(Class,BeanContextServiceProvider)):
2674         Implemented.
2675         (fireServiceRevoked(BeanContextServiceRevokedEvent)):
2676         Added revocation-only listeners.
2677         (getBeanContextServicesPeer()): Implemented.
2678         (getCurrentServiceClasses(Class)): Synchronized over global
2679         hierarchy lock.
2680         (getCurrentServiceSelectors(Class)): Synchronized over global
2681         hierarchy lock, and fixed FIXME.
2682         (getService(BeanContextChild,Object,Class,Object,
2683         BeanContextServiceRevokedListener)): Implemented.
2684         (hasService(Class)): Synchronized over global hierarchy lock.
2685         (releaseService(BeanContextChild,Object,Object)): Implemented.
2686         (revokeService(Class,BeanContextServiceProvider,boolean)): Implemented.
2687         * java/beans/beancontext/BeanContextSupport.java:
2688         (remove(Object, boolean)): Documentation correction.
2689         
2690 2006-11-19  Roman Kennke  <kennke@aicas.com>
2691
2692         * javax/swing/JEditorPane.java
2693         (PageStream): New inner class.
2694         (PageLoader): New inner class.
2695         (loading): New field.
2696         (setPage): Implemented asynchronous loading.
2697         * javax/swing/text/DefaultStyledDocument.java
2698         (ElementBuffer.create): New helper method.
2699         (create): Use new ElementBuffer method instead of hack.
2700         * javax/swing/text/html/HTMLDocument.java
2701         (HTMLReader.flushImpl): New helper method.
2702         (HTMLReader.addContent): Use flushImpl().
2703         (HTMLReader.blockClose): Added null check.
2704         (HTMLReader.flush): Use flushImpl().
2705         * javax/swing/text/html/HTMLEditorKit.java
2706         (createDefaultDocument): Set load priority to 4 and token threshold
2707         to 100.
2708         * javax/swing/text/html/TableView.java
2709         (insertUpdate): Overridden to provide correct view factory.
2710         (removeUpdate): Overridden to provide correct view factory.
2711         (changedUpdate): Overridden to provide correct view factory.
2712
2713 2006-11-19  Roman Kennke  <kennke@aicas.com>
2714
2715         * javax/swing/text/BoxView.java
2716         (clipRect): New field.
2717         (tmpRect): New field.
2718         (layout): Reorganized code. Now uses layoutAxis() helper method.
2719         (layoutAxis): New helper method.
2720         (paint): Optimized by using cached Rectangle objects and
2721         a binary search for child views inside the clip.
2722         * javax/swing/text/CompositeView.java
2723         (insideAllocation): Made private and initialized in constructor.
2724         (getInsideAllocation): Removed initialization block for
2725         insideAllocation field. Avoid unnecessary allocations.
2726         * javax/swing/text/GlyphView.java
2727         (DefaultGlyphPainter.paint): Only paint the actual glyphs here
2728         The remaining stuff (background, underline and striking) is
2729         done in the GlpyhView itself. Avoid unnecessary allocations.
2730         (cached): A cached Segment instance.
2731         (getText): Return cached segment.
2732         (paint): Paint underline, strike and background here. Avoid
2733         unecessary allocs.
2734
2735 2006-11-19  Roman Kennke  <kennke@aicas.com>
2736
2737         * javax/swing/text/html/StyleSheet.java
2738         (getFontSize): Removed debug output.
2739         (ListPainter.tmpRect): New field.
2740         (ListPainter.paint): Align bullet vertically centered to
2741         the first line of the paragraph.
2742
2743 2006-11-17  Roman Kennke  <kennke@aicas.com>
2744
2745         * gnu/javax/swing/text/html/css/CSSParser.java
2746         (parseDeclaration): Trim string before reporting.
2747         * gnu/javax/swing/text/html/css/FontSize.java
2748         (size): New field.
2749         (isRelative): New field.
2750         (sizeIndex): New field.
2751         (FontSize): Initialize new fields.
2752         (getValue): Changed to call getValue(int).
2753         (getValue(int)): New method. Implements relative font sizes.
2754         (isRelative): New method.
2755         (mapAbsolute): Store index.
2756         (mapEM): New helper method.
2757         (mapLarger): New helper method.
2758         (mapPercent): New helper method.
2759         (mapRelative): New helper method.
2760         (mapSmaller): New helper method.
2761         (mapValue): New helper method.
2762         * javax/swing/text/html/CSS.java
2763         (parseBackgroundShorthand): Create CSSColor directly.
2764         * javax/swing/text/html/StyleSheet.java
2765         (addRule): Invalidate resolved styles.
2766         (getFont): Call new getFontSize() method to resolve relative
2767         font sizes.
2768         (getFontSize): New helper method. Resolves relative font sizes.
2769         (translateHTMLToCSS): Create CSS objects directly.
2770
2771 2006-11-13  Andrew John Hughes  <gnu_andrew@member.fsf.org>
2772
2773         * gnu/java/util/regex/RETokenNamedProperty.java:
2774         (getHandler(String)): Add support for 'all'.
2775
2776 2006-11-18  Andrew John Hughes  <gnu_andrew@member.fsf.org>
2777
2778         * gnu/javax/management/Server.java:
2779         Initial implementation of a GNU management server.
2780         * javax/management/MBeanPermission.java,
2781         * javax/management/MBeanRegistration.java,
2782         * javax/management/MBeanTrustPermission.java:
2783         Implemented.
2784         
2785 2006-11-17  Mark Wielaard  <mark@klomp.org>
2786
2787         * docs/www.gnu.org/newsitems.txt: Add Sun GPL news announcement.
2788
2789 2006-11-17  Gary Benson  <gbenson@redhat.com>
2790
2791         * java/net/DatagramSocket.java (getLocalAddress, connect,
2792         receive): Perform security check on address not hostname.
2793
2794 2006-11-16  Roman Kennke  <kennke@aicas.com>
2795
2796         * gnu/javax/swing/text/html/parser/support/Parser.java
2797         (_handleText): Fixed condition for consuming whitespace.
2798         Removed validator check, this is superfluous now.
2799
2800 2006-11-16  Roman Kennke  <kennke@aicas.com>
2801
2802         * gnu/javax/swing/text/html/css/CSSParser.java
2803         (parseRuleset): Support 'combined' selectors.
2804         (main): Adapt callback for combined selectors support.
2805         * gnu/javax/swing/text/html/css/CSSParserCallback.java
2806         (startStatement): Take selector array as argument, to
2807         support combined selectors.
2808         * javax/swing/text/html/BlockView.java
2809         (calculateMinorAxisRequirements): Fetch and apply alignment.
2810         * javax/swing/text/html/StyleSheet.java
2811         (CSSStyle): Inverted the constants for correct precedence.
2812         (CSSStyleSheetParserCallback.styles): New field. Stores the current
2813         styles.
2814         (CSSStyleSheetParserCallback.style): Removed.
2815         (CSSStyleSheetParserCallback.declaration): Update multiple styles.
2816         (CSSStyleSheetParserCallback.end): Push multiple styles.
2817         (CSSStyleSheetParserCallback.start): Initialize multiple styles.
2818
2819 2006-11-16  Roman Kennke  <kennke@aicas.com>
2820
2821         * javax/swing/text/FlowView.java
2822         (LogicalView.getPreferredSpan): Calculate maximum correctly.
2823         * javax/swing/text/GlyphView.java
2824         (tabExpander): New field.
2825         (tabX): New field.
2826         (breakView): Set tabX on broken view.
2827         (getPartialSpan): Let the painter fetch the span.
2828         (getTabbedSpan): Update the tab expander field. Maybe trigger
2829         relayout.
2830         (getTabExpander): Simply return the stored expander.
2831         * javax/swing/text/Utilities.java
2832         (getTabbedTextOffset): Made algoritm a little smarter and more
2833         efficient.
2834         (getTabbedTextWidth): Don't add single char widths, instead add
2835         chunks of characters.
2836         * javax/swing/text/html/ParagraphView.java
2837         (calculateMinorAxisRequirements): Adjust margin only when the
2838         CSS span is not fixed.
2839
2840 2006-11-16  David Gilbert  <david.gilbert@object-refinery.com>
2841
2842         * java/beans/beancontext/BeanContextSupport.java
2843         (getChildBeanContextMembershipListener): Implemented,
2844         (getChildPropertyChangeListener): Implemented,
2845         (getChildSerializable): Implemented,
2846         (getChildVetoableChangeListener): Implemented,
2847         (getChildVisibility): Implemented,
2848         (setDesignTime): Use same property name as Sun's implementation.
2849
2850 2006-11-16  David Gilbert  <david.gilbert@object-refinery.com>
2851
2852         * java/beans/DesignMode.java: Reformatted and removed a FIXME,
2853         * java/beans/Statement.java
2854         (toString): Updated to match reference implementation.
2855
2856 2006-11-15  Roman Kennke  <kennke@aicas.com>
2857
2858         * javax/swing/text/html/HTMLEditorKit.java
2859         (InsertHTMLTextAction.actionPerformed): Also try inserting
2860         the alternate tag. Adjust the selection accordingly.
2861         (InsertHTMLTextAction.adjustSelection): New helper method.
2862         Adjusts the selection after an insertion.
2863         (insertAtBoundary): Delegate to deprecated method.
2864         (insertAtBoundry): Implemented missing method.
2865         (tryInsert): New helper method.
2866         (defaultActions): Implemented to fill the array with
2867         a couple of InsertHTMLTextActions.
2868
2869 2006-11-15  Roman Kennke  <kennke@aicas.com>
2870
2871         * javax/swing/text/html/ImageView.java
2872         (Observer): New class. Observes image loading.
2873         (haveHeight): New field.
2874         (haveWidth): New field.
2875         (height): New field.
2876         (width): New field.
2877         (image): New field.
2878         (imageIcon): New field.
2879         (loading): New field.
2880         (observer): New field.
2881         (reloadImage): New field.
2882         (reloadProperties): New field.
2883         (ImageView): Initialize observer and some flags.
2884         (getImage): Update the image state and return the image.
2885         (loadImage): New helper method. Actually starts loading.
2886         (paint): Rewritten to paint the image directly, not via Icon.
2887         (reloadImage): Rewritten. Loads the image and its properties.
2888         (renderIcon): Removed. No more necessary.
2889         (setPropertiesFromAttributes): Don't nullify image here.
2890         Added comment about missing impl.
2891         (setSize): Added comment about missing impl.
2892         (updateSize): New helper method. Updates the size attributes.
2893         (updateState): New helper method. Makes sure the image
2894         and its properties are valid.
2895
2896 2006-11-15  Roman Kennke  <kennke@aicas.com>
2897
2898         * gnu/javax/swing/text/html/parser/support/Parser.java
2899         (_handleEndTag_remaining): Consume whitespace after a closing
2900         block like tag.
2901
2902 2006-11-15  Roman Kennke  <kennke@aicas.com>
2903
2904         * javax/swing/text/html/HTMLDocument.java
2905         (HTMLReader.ParagraphAction.end): Call super instead of blockClose()
2906         directly.
2907         (HTMLReader.ParagraphAction.start): Call super instead of blockOpen()
2908         directly.
2909         (HTMLReader.parseStack): Removed.
2910         (HTMLReader.blockClose): Simply call addContent() with ' '
2911         instead of doing more complicated stuff. Removed parseStack
2912         handling.
2913         (HTMLReader.blockOpen): Removed parseStack handling.
2914         (getInsertingReader): Removed parseStack init.
2915         * gnu/javax/swing/text/html/parser/htmlValidator.java
2916         (closeTag): Return true only when the tag actually should be
2917         closed.
2918         * gnu/javax/swing/text/html/parser/support/Parser.java
2919         (_handleEndTag): Only actually close the tag when the validator
2920         allows it.
2921
2922 2006-11-15  Roman Kennke  <kennke@aicas.com>
2923
2924         * javax/swing/text/html/CSS.java
2925         (Attribute.BORDER_SPACING): New field for the CSS border-spacing
2926         attribute.
2927         * javax/swing/text/html/StyleSheet.java
2928         (BoxPainter.bottomPadding): New field.
2929         (BoxPainter.leftPadding): New field.
2930         (BoxPainter.rightPadding): New field.
2931         (BoxPainter.topPadding): New field.
2932         (BoxPainter.BoxPainter): Fetch the MARGIN and PADDING* attributes
2933         too.
2934         (BoxPainter.getInset): Recognize and include the padding.
2935         (translateHTMLToCSS): Added mapping for CELLPADDING and CELLSPACING.
2936          javax/swing/text/html/TableView.java
2937         (RowView.calculateMajorAxisRequirements): Adjust req's for
2938         cellSpacing.
2939         (RowView.layoutMajorAxis): Adjust multi-column span for cellSpacing.
2940         (cellSpacing): New field.
2941         (columnRequirements): Made package private to avoid accessor method.
2942         (calculateMinorAxisRequirements): Include cellSpacing.
2943         (calculateMajorAxisRequirements): Overridden to include cellSpacing.
2944         (layoutMajorAxis): Likewise.
2945         (layoutColumns): Respect cellSpacing.
2946         (setParent): Overridden to fetch the CSS attributes when view gets
2947         connected.
2948         (setPropertiesFromAttributes): New method. Fetches the cell
2949         spacing from the CSS attributes.
2950
2951 2006-11-15  Roman Kennke  <kennke@aicas.com>
2952
2953         * gnu/javax/swing/text/html/parser/support/Parser.java
2954         (_handleText): Consume whitespace directly before a closing tag.
2955         (restOfTag): Consume whitespace directly after opening.
2956         * gnu/javax/swing/text/html/parser/support/textPreProcessor.java
2957         (preprocess): Don't perform array boundary checking by
2958         catch AIOOBE, instead check the boundary in loop condition.
2959         * gnu/javax/swing/text/html/parser/support/low/Constants.java
2960         (TAG_CLOSE): New constants. Describes the token pattern for
2961         a closing tag.
2962
2963 2006-11-14  Roman Kennke  <kennke@aicas.com>
2964
2965         * javax/swing/text/html/ImageView.java
2966         (getPreferredSpan): Use CSS length values.
2967         * javax/swing/text/html/TableView.java
2968         (CellView.calculateMajorAxisRequirements): Overridden to
2969         set the maximum reqs to maximum.
2970         (RowView.getMaximumSize): For the X_AXIS, set the maximum
2971         span to maximum.
2972         (RowView.getMinimumSpan): Overridden. For the X_AXIS, return
2973         the total column reqs.
2974         (RowView.getPreferredSpan): Overridden. For the X_AXIS, return
2975         the total column reqs.
2976         * gnu/javax/swing/text/html/css/CSSColor.java
2977         (convertValue): Catch NumberFormatExceptions for more robustness.
2978         * gnu/javax/swing/text/html/css/FontSize.java
2979         (mapPixels): Actually map px values. Catch NFE for more robustness.
2980
2981 2006-11-14  Roman Kennke  <kennke@aicas.com>
2982
2983         * gnu/java/awt/font/autofit/AxisHints.java,
2984         * gnu/java/awt/font/autofit/Constants.java,
2985         * gnu/java/awt/font/autofit/GlyphHints.java,
2986         * nu/java/awt/font/autofit/Latin.java,
2987         * nu/java/awt/font/autofit/LatinAxis.java,
2988         * gnu/java/awt/font/autofit/LatinMetrics.java,
2989         * gnu/java/awt/font/autofit/Scaler.java,
2990         * gnu/java/awt/font/autofit/Script.java,
2991         * gnu/java/awt/font/autofit/ScriptMetrics.java,
2992         * gnu/java/awt/font/autofit/Segment.java,
2993         * gnu/java/awt/font/autofit/Width.java:
2994         New classes. This is some skeleton stuff for the FreeType-alike
2995         auto-gridfitter.
2996         * gnu/java/awt/font/opentype/CharGlyphMap.java: Made class public.
2997         * gnu/java/awt/font/opentype/OpenTypeFont.java
2998         (unitsPerEm): Made field public.
2999         (getRawGlyphOutline): New method. Fetches the raw outline.
3000         * gnu/java/awt/font/opentype/Scaler.java
3001         (getRawGlyphOutline): New method. Fetches the raw outline.
3002         * gnu/java/awt/font/opentype/truetype/GlyphLoader.java
3003         (loadGlyph): New method. This is used to load raw outlines.
3004         * gnu/java/awt/font/opentype/truetype/TrueTypeScaler.java
3005         (getRawOutline): New method. Fetches the raw outline.
3006         * gnu/java/awt/font/opentype/truetype/Zone.java:
3007         Made class public.
3008
3009 2006-11-14  Roman Kennke  <kennke@aicas.com>
3010
3011         * javax/swing/RepaintManager.java
3012         (RepaintManager): Fetch the default state for the double buffering
3013         from a system property gnu.swing.doublebuffering.
3014
3015 2006-11-14  Roman Kennke  <kennke@aicas.com>
3016
3017         * javax/swing/plaf/basic/BasicLabelUI.java
3018         (cachedInsets): New field.
3019         (getFontMetrics): New helper method. Fetches the font metrics
3020         from the component or the toolkit.
3021         (getPreferredSize): Use getFontMetrics() helper method for
3022         fetching the font metrics.
3023         (paint): Use getFontMetrics() helper method for
3024         fetching the font metrics. Only paint if icon or text
3025         are != null. Use cached insets.
3026         (paintDisabledText): Don't store/restore color object. The
3027         JComponent painting mechanism takes care of this by calling
3028         create().
3029         (paintEnabledText): Don't store/restore color object. The
3030         JComponent painting mechanism takes care of this by calling
3031         create().
3032
3033 2006-11-14  Roman Kennke  <kennke@aicas.com>
3034
3035         * gnu/java/awt/peer/GLightweightPeer.java
3036         (handleEvent): Try to do something reasonable and trigger painting
3037         for the lightweight component.
3038         (getFontMetrics): Fetch and return a font metrics object from
3039         the Toolkit.
3040
3041 2006-11-13  Andrew John Hughes  <gnu_andrew@member.fsf.org>
3042
3043         * gnu/java/util/regex/RETokenNamedProperty.java:
3044         (getHandler(String)): Add support for 'all'.
3045         
3046 2006-11-13  Andreas Tobler  <a.tobler@schweiz.org>
3047
3048         * AUTHORS: Add myself.
3049
3050 2006-11-13  Thomas Fitzsimmons  <fitzsim@redhat.com>
3051
3052         * AUTHORS: Add Tania Bento, Thomas Fitzsimmons, Francis Kung and
3053         Dalibor Topic.  Re-order 'K' section.  Remove trailing space from
3054         Roman Kennke's entry.
3055
3056 2006-11-13  Roman Kennke  <kennke@aicas.com>
3057
3058         * java/awt/image/IndexColorModel.java
3059         (createCompatibleSampleModel): Implemented missing method.
3060
3061 2006-11-11  Andreas Tobler  <a.tobler@schweiz.org>
3062
3063         * gnu/java/awt/peer/gtk/GtkImageConsumer.java (setPixels): Handle data
3064         from big endian systems correctly.
3065
3066 2006-11-11  Roman Kennke  <kennke@aicas.com>
3067
3068         * gnu/javax/swing/text/html/css/CSSColor.java
3069         (isValidColor): New helper method. Checks strings if they
3070         form a valid color value.
3071         * gnu/javax/swing/text/html/css/Length.java
3072         (Length): Catch number format exceptions.
3073         * javax/swing/text/html/CSS.java
3074         (addInternal): New method. Checks for shorthand CSS attributes
3075         and parses them.
3076         (parseBackgroundShorthand): New method. Parses the background
3077         shorthand attribute.
3078         * javax/swing/text/html/HTMLDocument.java
3079         (HTMLReader.LinkAction): Made class a subclass of HiddenAction.
3080         (HTMLReader.LinkAction.start): Implemented to load the linked
3081         stylesheet.
3082         (HTMLReader.LinkAction.end): Removed. This is not needed.
3083         * javax/swing/text/html/StyleSheet.java
3084         (CSSStyleSheetParserCallback.declaration): Push declaration
3085         through CSS.addInternal() to parse shorthand attributes.
3086         (addCSSAttribute): Push declaration through CSS.addInternal()
3087         to parse shorthand attributes.
3088         (importStyleSheet): Implemented. This adds a stylesheet from
3089         an URL.
3090         * javax/swing/text/html/TableView.java
3091         (calculateColumnRequirements): Increase column index for
3092         non CellView children to avoid endless loop.
3093         * javax/swing/text/CompositeView.java
3094         (setParent): Comparen with numChildren not with real arraylength.
3095
3096 2006-11-11  David Gilbert  <david.gilbert@object-refinery.com>
3097
3098         * java/beans/beancontext/BeanContextSupport.java
3099         (getChildBeanContextChild): Implemented.
3100
3101 2006-11-10  Roman Kennke  <kennke@aicas.com>
3102
3103         * javax/swing/text/View.java
3104         (updateLayout): Only repaint when needed.
3105
3106 2006-11-10  David Gilbert  <david.gilbert@object-refinery.com>
3107
3108         * java/util/Collections.java
3109         (sort(List)): Minor API doc addition,
3110         (sort(List, Comparator)): Likewise.
3111
3112 2006-11-10  David Fu  <fchoong@netbeans.jp>
3113
3114         * javax/swing/text/html/HTMLWriter.java
3115         (traverse): Removed Classpath specific handling of implied
3116         tags.
3117         (traverseHtmlFragment): Removed Classpath specific handling of
3118         implied tags.
3119
3120 2006-11-10  Roman Kennke  <kennke@aicas.com>
3121
3122         * javax/swing/text/ParagraphView.java
3123         (Row.getMaximumSize): Removed. This method is not necessary.
3124         * javax/swing/text/html/TableView.java
3125         (CellView): Moved attribute init to setPropertiesFromAttributes().
3126         (setPropertiesFromAttributes): Fetch attributes here.
3127         (RowView.RowView): Documented.
3128         (RowView.getMaximumSpan): Overridden to restrict the max span
3129         in the Y direction.
3130         (RowView.layoutMajorAxis): Correctly layout the spans.
3131         (columnWidths): New field. Stores the width attributes of
3132         the columns.
3133         (calculateColumnRequirements): Added support for relative
3134          (== percent) width attributes.
3135         (calculateMajorAxisRequirements): Removed.
3136         (calculateMinorAxisRequirements): Removed unnecessary code.
3137         (getMaximumSpan): Overridden to restrict the table's width.
3138         (layoutColumns): Documented. Implement more clever table layout,
3139         i.e. for relative columns etc.
3140         (layoutMinorAxis): Don't mark rows invalid.
3141         (updateGrid): Added docs. Initialize column widths.
3142
3143 2006-11-09  Roman Kennke  <kennke@aicas.com>
3144
3145         * gnu/java/awt/peer/headless/HeadlessGraphicsEnvironment,
3146         * gnu/java/awt/peer/headless/HeadlessToolkit: New classes.
3147         Implement basic headless toolkit.
3148         * java/awt/Toolkit.java
3149         (getDefaultToolkit): Check headless property and create
3150         headless toolkit when true.
3151
3152 2006-11-09  Ingo Proetel  <proetel@aicas.com>
3153 2006-11-09  Roman Kennke  <kennke@aicas.com>
3154
3155         * gnu/java/awt/peer/swing/SwingButtonPeer.java
3156         (SwingButton.button): New field.
3157         (SwingButton.SwingButton): Added constructor.
3158         (SwingButton.isShowing): Access button field instead of
3159         the surrounding class.
3160         (SwingButton.getParent): Access button field instead of
3161         the surrounding class.
3162         (SwingButtonPeer): Call new SwingButton constructor.
3163         * gnu/java/awt/peer/swing/SwingComponent.java:
3164         Several documentation updates.
3165         * gnu/java/awt/peer/swing/SwingComponentPeer.java
3166         (currentPaintEvents): New field.
3167         (peerFont): New field.
3168         (SwingComponentPeer): Initialize currentPaintEvents fields.
3169         (coalescePaintEvents): Implemented.
3170         (dispose): Unregister peer from heavyweight list of its container.
3171         (getGraphics): Fetch graphics from parent component.
3172         (handleEvent): Discard paint event if its coalesced.
3173         (init): Register component with its container for proper painting.
3174         (paint): Call peerPaint().
3175         (peerPaint): Added argument that indicates if we should update.
3176         Call paint or update on the actual AWT component.
3177         (peerPaintComponent): New method. Paints the peer (Swing) component.
3178         (setFont): Set peerFont field.
3179         * gnu/java/awt/peer/swing/SwingContainerPeer.java
3180         (backbuffer): New field.
3181         (focusOwner): New field.
3182         (heavyweightDescendents): New field.
3183         (SwingContainerPeer): Take Container as argument. Don't call init
3184         yet.
3185         (addHeavyweightDescendent): New method.
3186         (getFocusOwner): New helper method.
3187         (getInsets): Delegate to insets().
3188         (handleKeyEvent): Dispatch event to focus owner.
3189         (handleMouseEvent): Dispatch to child component.
3190         (isDoubleBuffering): New helper method.
3191         (peerPaint): Overridden to implement container painting with
3192         double buffering.
3193         (peerPaintChildren): New method. Paints the descendents of this
3194         container.
3195         (removeHeavyweightDescendent): New helper method.       
3196         * gnu/java/awt/peer/swing/SwingFramePeer.java
3197         (peerPaint): Removed.
3198         (peerPaintComponent): Overridden to paint the menu bar.
3199         * gnu/java/awt/peer/swing/SwingLabelPeer.java
3200         (SwingLabel.label): New field.
3201         (SwingLabel.SwingLabel): Added constructor with Label argument.
3202         (SwingLabel.getGraphics): Implemented to fetch the graphics from
3203         the actual AWT component.
3204         (SwingLabel.getParent): Implemented to fetch the parent from
3205         the AWT component.
3206         (SwingLabel.isShowing): Access the label field.
3207         (SwingLabelPeer): Set alignment from label.
3208         * gnu/java/awt/peer/swing/SwingListPeer.java: New class.
3209         * gnu/java/awt/peer/swing/SwingMenuBarPeer.java: Documentation
3210         fixlet.
3211         * gnu/java/awt/peer/swing/SwingPanelPeer.java:
3212         Don't be a lighweight peer.
3213         (SwingPanelPeer): Call init.
3214         * gnu/java/awt/peer/swing/SwingTextAreaPeer.java: New class.
3215         * gnu/java/awt/peer/swing/SwingTextFieldPeer.java
3216         (SwingTextField.textField): New field.
3217         (SwingTextField.SwingTextField): New constructor.
3218         (SwingTextField.isShowing): Access field not enclosing class.
3219         (SwingTextField.getGraphics): New method.
3220         (SwingTextField.getParent): New method.
3221         (SwingTextFieldPeer): Call new constructor.
3222         (select): Renamed arguments.
3223         * gnu/java/awt/peer/swing/SwingWindowPeer.java
3224         (SwingWindowPeer): Call init.
3225
3226 2006-11-09  Tania Bento  <tbento@redhat.com>
3227
3228         * javax/swing/JLabel.java
3229         (JLabel(Icon)): Changed documentation; Changed text to null.
3230         (JLabel(Icon,int)): Likewise.
3231         (JLabel(text)): Changed documenation.
3232         (JLabel(text,int)): Likewise.
3233         (JLabel(text,Icon,int)): Changed documentation; Throw 
3234         IllegalArgumentException if int is not one of LEFT, RIGHT,
3235         CENTER, LEADING or TRAILING.
3236
3237 2006-11-09  David Gilbert  <david.gilbert@object-refinery.com>
3238
3239         * java/beans/beancontext/BeanContextSupport.java
3240         (BeanContextSupport): Use correct dtime default,
3241         (BeanContextSupport(BeanContext)): Likewise,
3242         (BeanContextSupport(BeanContext, Locale)): Likewise, plus renamed
3243         locale argument,
3244         (BeanContextSupport(BeanContext, Locale, boolean)): Likewise,
3245         (BeanContextSupport(BeanContext, Locale, boolean, boolean)): Likewise.
3246
3247 2006-11-09  David Gilbert  <david.gilbert@object-refinery.com>
3248
3249         * java/beans/beancontext/BeanContextSupport.java
3250         (getBeanContextPeer): Implemented.
3251
3252 2006-11-09  Roman Kennke  <kennke@aicas.com>
3253
3254         * javax/swing/text/html/BlockView.java
3255         (cssHeight): Removed.
3256         (cssWidth): Removed.
3257         (cssSpans): New field. Replaces the two fields above.
3258         (BlockView): Allocate cssSpans array.
3259         (layoutMinorAxis): Fetch and use child span, not this view's span.
3260         (setCSSSpan): Adjusted to use cssSpans array.
3261         (setPropertiesFromAttributes): Adjusted to use cssSpans array.
3262
3263 2006-11-09  Roman Kennke  <kennke@aicas.com>
3264
3265         * javax/swing/text/html/InlineView.java
3266         (nowrap): New field.
3267         (getBreakWeight): Add support for nowrap.
3268         (setPropertiesFromAttributes): Fetch the nowrap setting.
3269
3270 2006-11-09  Roman Kennke  <kennke@aicas.com>
3271
3272         * gnu/javax/swing/text/html/css/CSSParser.java
3273         (parseRuleset): Use new Selector class.
3274         (parseValue): Parse multiple anys, not only one.
3275         (main): Allow stylesheet be specified on the command line.
3276         Use new Selector class.
3277         * gnu/javax/swing/text/html/css/CSSParserCallback.java
3278         (startStatement): Use Selector class.
3279         * gnu/javax/swing/text/html/css/CSSScanner.java
3280         (readName): Actually read a character in the loop to avoid
3281         endless loop.
3282         * gnu/javax/swing/text/html/css/Length.java
3283         (getValue): Only multiply when we have a percentage value.
3284         * gnu/javax/swing/text/html/css/Selector.java:
3285         New class. Provides handling of CSS selectors.
3286         * javax/swing/text/html/StyleSheet.java
3287         (CSSStyle.PREC_AUTHOR_IMPORTANT): New constant field.
3288         (CSSStyle.PREC_AUTHOR_NORMAL): New constant field.
3289         (CSSStyle.PREC_NORM): New constant field.
3290         (CSSStyle.PREC_UA): New constant field.
3291         (CSSStyle.PREC_USER_IMPORTANT): New constant field.
3292         (CSSStyle.precedence): New field.
3293         (CSSStyle.priority): Removed.
3294         (CSSStyle.selector): New field.
3295         (CSSStyle.CSSStyle(int,Selector)): Initialize with Selector
3296         and precendence.
3297         (CSSStyle.compareTo): Adjusted to use the precedence and
3298         specificity of the selector.
3299         (CSSStyleSheetParserCallback.precedence): New field.
3300         (CSSStyleSheetParserCallback.selector): Removed.
3301         (CSSStyleSheetParserCallback.style): New field.
3302         (CSSStyleSheetParserCallback.CSSStyleSheetParserCallback):
3303         Initialize with precedence.
3304         (CSSStyleSheetParserCallback.declaration): Don't look up
3305         existing rule, simply create new one.
3306         (CSSStyleSheetParserCallback.endStatement): Append style
3307         to stylesheet.
3308         (CSSStyleSheetParserCallback.startStatement): Use new Selector
3309         class.
3310         (css): Changed to be ArrayList.
3311         (addRule): Create parser with author-normal precendence.
3312         (getRule): Fixed implementation.
3313         (loadRules): Create parser with UA precendence.
3314         (resolveStyle): Use Selector class for resolving and matching
3315         stylesheet rules.
3316         (translateHTMLToCSS): Added mappings for a couple of HTML
3317         attributes.
3318
3319 2006-11-09  David Gilbert  <david.gilbert@object-refinery.com>
3320
3321         Fixes bug #29770
3322         * java/beans/SimpleBeanInfo.java
3323         (loadImage): Check for nulls.
3324
3325 2006-11-09  Robert Schuster  <robertschuster@fsfe.org>
3326
3327         * native/jni/java-nio/gnu_java_nio_VMChannel.c:
3328         (getpeername): Added 16 byte offset to memcpy operation.
3329
3330 2006-11-09  Robert Schuster  <robertschuster@fsfe.org>
3331
3332         * native/jni/java-nio/gnu_java_nio_VMChannel.c:
3333         (getsockname): Added 16 byte offset to memcpy operation.
3334
3335 2006-11-08  Mark Wielaard  <mark@klomp.org>
3336
3337         Fixes bug #29754
3338         * java/io/OutputStreamWriter.java
3339         (OutputStreamWriter(OutputStream,Charset)): Set encodingName.
3340         (OutputStreamWriter(OutputStream,CharsetEncoder)): Likewise.
3341
3342 2006-11-08  Roman Kennke  <kennke@aicas.com>
3343
3344         * javax/swing/text/html/HTMLEditorKit.java
3345         (getParser): Use plain HTML_401F DTD.
3346         * javax/swing/text/html/HTMLDocument.java
3347         (HTMLReader.print): Removed method and all calls to it.
3348         (HTMLReader.printBuffer): Removed method and all calls to it.
3349         (HTMLReader.inImpliedParagraph): New field.
3350         (HTMLReader.inParagraph): New field.
3351         (HTMLReader.addContent): Create implied p-tag if necessary.
3352         (HTMLReader.addSpecialElement): Create implied p-tag if necessary.
3353         (HTMLReader.blockClose): Close implied p-tag if necessary.
3354         (HTMLReader.blockOpen): Close implied p-tag if necessary.
3355         * gnu/javax/swing/text/html/parser/HTML_401Swing.java: Removed.
3356
3357 2006-11-08  Roman Kennke  <kennke@aicas.com>
3358
3359         * javax/swing/text/html/HTMLEditorKit.java
3360         (HTMLFactory.create): Removed mapping for TD tag. This
3361         is done in TableView.
3362         * javax/swing/text/html/TableView.java:
3363         Implemented from scratch.
3364
3365 2006-11-07  Roman Kennke  <kennke@aicas.com>
3366
3367         * gnu/javax/swing/text/html/parser/support/Parser.java
3368         (_handleText): Check if text content is actually allowed before
3369         passing empty text fragments on to the parser callbacks.
3370
3371 2006-11-07  Mark Wielaard  <mark@klomp.org>
3372
3373         * gnu/java/net/protocol/jar/Handler.java (parseURL): Flatten jar
3374         path.
3375         (flat): New method.
3376
3377 2006-11-07  Tania Bento  <tbento@redhat.com>
3378
3379         * java/awt/FlowLayout.java
3380         (getSize): If parent does not have a component, then a 
3381         different formula is used to calcuate the width.
3382
3383 2006-11-07  Roman Kennke  <kennke@aicas.com>
3384
3385         * javax/swing/text/html/HTMLEditorKit.java
3386         (HTMLFactory.create): Include ListView.
3387         * javax/swing/text/html/ListView.java
3388         (paint): Removed comment.
3389         * javax/swing/text/html/StyleSheet.java
3390         (CSSStyle.priority): New field.
3391         (CSSStyle.CSSStyle(int)): New constructor with priority.
3392         (CSSStyle.compareTo): New method. Used for sorting the styles.
3393         (CSSStyleSheetParserCallback.declaration): Store the style
3394         with the complete selector.
3395         (ListPainter.attributes): Renamed as field.
3396         (ListPainter.styleSheet): New field.
3397         (ListPainter.type): New field.
3398         (ListPainter.ListPainter): Pass StyleSheet to constructor.
3399         (ListPainter.paint): Provide simplistic implementation.
3400         (getListPainter): Pass StyleSheet to constructor.
3401         (resolveStyle): Fixed CSS style resolving.
3402
3403 2006-11-07  Roman Kennke  <kennke@aicas.com>
3404
3405         * gnu/javax/swing/text/html/css/BorderWidth.java:
3406         New class. Handles CSS border width values.
3407         * gnu/javax/swing/text/html/css/Length.java
3408         (floatValue): Made protected so that BorderWidth can access it.
3409         * javax/swing/text/html/CSS.java
3410         (Attribute.BORDER_BOTTOM_COLOR): New static field.
3411         (Attribute.BORDER_BOTTOM_STYLE): New static field.
3412         (Attribute.BORDER_LEFT_COLOR): New static field.
3413         (Attribute.BORDER_LEFT_STYLE): New static field.
3414         (Attribute.BORDER_RIGHT_COLOR): New static field.
3415         (Attribute.BORDER_RIGHT_STYLE): New static field.
3416         (Attribute.BORDER_TOP_COLOR): New static field.
3417         (Attribute.BORDER_TOP_STYLE): New static field.
3418         (getValue): Added some mappings for the border color and
3419         border width values.
3420         * javax/swing/text/html/CSSBorder.java: New class. Implements
3421         CSS borders.
3422         * javax/swing/text/html/StyleSheet.java
3423         (BoxPainter.background): New field.
3424         (BoxPainter.border): New field.
3425         (BoxPainter.bottomInset): Documented.
3426         (BoxPainter.leftInset): Documented.
3427         (BoxPainter.rightInset): Documented.
3428         (BoxPainter.topInset): Documented.
3429         (BoxPainter.BoxPainter): Added support for borders and background.
3430         (BoxPainter.getInset): Add border insets.
3431         (BoxPainter.paint): Implemented. Paints the background and the
3432         CSS border.
3433         (addRule): Be less picky about parse and IO exceptions.
3434         (getBoxPainter): Adjust to new BoxPainter constructor.
3435
3436 2006-11-07  Andreas  <a.tobler@schweiz.org>
3437
3438         * examples/Makefile.am: Add rule to install the *.html files we use
3439         in the Swing Demo.
3440
3441 2006-11-06  Francis Kung  <fkung@redhat.com>
3442
3443         * gnu/java/awt/peer/gtk/ComponentGraphics.java
3444         (fillRect): Handle custom composites.
3445         (drawRenderedImage): Handle custom composites.
3446         (drawImage): Handle custom composites.
3447         (createBuffer): New method.
3448         (drawLine): Handle custom composites.
3449         (drawComposite): New method.
3450         (fill): Handle custom composites.
3451         (getNativeCM): New method.
3452         (drawGlyphVector): Handle custom composites.
3453         (drawRect): Handle custom composites.
3454         (draw): Handle custom composites.
3455         * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
3456         (drawComposite): Unset composite during draw call, to prevent parent
3457         from handling composite again.
3458         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
3459         (getBufferCM): Added comments.
3460         (getNativeCM): Made abstract.
3461         (setComposite): Removed comments.
3462
3463 2006-11-06  Roman Kennke  <kennke@aicas.com>
3464
3465         * examples/gnu/classpath/examples/swing/HtmlDemo.java:
3466         Fixed initial window size and start document.
3467
3468 2006-11-06  Roman Kennke  <kennke@aicas.com>
3469
3470         * javax/swing/text/html/HTMLDocument.java
3471         (HTMLReader.addSpecialElement): Removed comment about
3472         htmlAttributeSet.
3473         (HTMLReader.handleComment): Create SimpleAttributeSet instead
3474         of htmlAttributeSet.
3475         * javax/swing/text/html/parser/DocumentParser.java
3476         (gnuParser.handleStartTag): Use SimpleAttributeSet instead
3477         of htmlAttributeSet.
3478         * javax/swing/text/html/parser/ParserDelegator.java
3479         (gnuParser.handleStartTag): Use SimpleAttributeSet instead
3480         of htmlAttributeSet.
3481         * gnu/javax/swing/text/html/parser/GnuParserDelegator.java
3482         (gnuParser.handleStartTag): Use SimpleAttributeSet instead
3483         of htmlAttributeSet.
3484         * gnu/javax/swing/text/html/parser/support/Parser.java
3485         (getAttributes): Return a SimpleAttributeSet.
3486         (restOfTag): Don't set resolving parent here.
3487
3488 2006-11-06  Tania Bento  <tbento@redhat.com>
3489
3490         * java/awt/TextComponent.java
3491         (setSelectionStart): Added check.
3492
3493 2006-11-06  Tania Bento  <tbento@redhat.com>
3494
3495         * java/awt/TextField.java
3496         (minimumSize(int)): Check if minimum size has been previously
3497         set and changed values of Dimension returned if peer == null.
3498         (preferredSize(int)): Check if preferred size has been previously
3499         set and changed values of Dimension returned if peer == null.
3500
3501 2006-11-06  Roman Kennke  <kennke@aicas.com>
3502
3503         * javax/swing/JTree.java
3504         (TreeModelHandler.treeNodesRemoved): Implemented.
3505         (TreeModelHandler.treeStructureChanged): Implemented.
3506         (nodeStates): Made package private.
3507
3508 2006-11-06  Francis Kung  <fkung@redhat.com>
3509
3510         PR 29420
3511         * javax/swing/JTree.java
3512         (clearSelectionPathStates): New private method to clean up nodeStates.
3513         (removeSelectionPath): Call clearSelectionPathStates().
3514         (removeSelectionPaths): Call clearSelectionPathStates().
3515         (removeSelectionRow): Call clearSelectionPathStates().
3516         (setSelectionPath): Call clearSelectionPathStates().
3517         (setSelectionPaths): Call clearSelectionPathStates().
3518         (setSelectionRow): Call clearSelectionPathStates().
3519
3520 2006-11-06  Ito Kazumitsu  <kaz@maczuka.gcd.org>
3521
3522         Fixes bug #29703
3523         * java/util/regex/Matcher.java(reset): Reset inputCharIndexed.
3524
3525 2006-11-06  Roman Kennke  <kennke@aicas.com>
3526
3527         * examples/gnu/classpath/examples/swing/HtmlDemo.java:
3528         Changed to implement a minimalistic browser.
3529         * examples/gnu/classpath/examples/swing/forms.html,
3530         * examples/gnu/classpath/examples/swing/textstyles.html,
3531         * examples/gnu/classpath/examples/swing/welcome.html:
3532         Some example content.
3533
3534 2006-11-06  Roman Kennke  <kennke@aicas.com>
3535
3536         * javax/swing/text/ComponentView.java
3537         (setParent): Lock the document and repaint the hosting
3538         container.
3539         * javax/swing/text/FlowView.java
3540         (FlowStrategy.createView): Removed comment.
3541         (FlowView): Initialize span with Short.MAX_VALUE.
3542         (getFlowStart): Return 0 unconditionally.
3543         (layout): Moved code around to make it more readable.
3544         (loadChildren): Always set the parent.
3545         * javax/swing/text/GlyphView.java
3546         (DefaultGlyphPainter.fontMetrics): New field.
3547         (DefaultGlyphPainter.getAscent): Use new helper method to
3548         synchronize the font metrics.
3549         (DefaultGlyphPainter.getBoundedPosition): Use new helper method
3550         to synchronize the font metrics.
3551         (DefaultGlyphPainter.getDescent): Use new helper method to
3552         synchronize the font metrics.
3553         (DefaultGlyphPainter.getHeight): Use new helper method to
3554         synchronize the font metrics.
3555         (DefaultGlyphPainter.getSpan): Use new helper method to
3556         synchronize the font metrics.
3557         (DefaultGlyphPainter.modelToView): Use new helper method to
3558         synchronize the font metrics.
3559         (DefaultGlyphPainter.updateFontMetrics): New helper method for
3560         font metrics caching.
3561         (DefaultGlyphPainter.viewToModel): Use new helper method to
3562         synchronize the font metrics. Fixed view to model mapping.
3563         * javax/swing/text/View.java
3564         (removeAll): Pass null to replace().
3565         (setParent): Only reparent children that have this view as parent.
3566
3567 2006-11-05  Mark Wielaard  <mark@klomp.org>
3568
3569         * include/gnu_java_net_VMPlainDatagramSocketImpl.h: Removed.
3570         * include/gnu_java_nio_channels_FileChannelImpl.h: Removed.
3571         * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c:
3572         Removed.
3573         * native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c:
3574         Removed.
3575         * native/jni/java-nio/Makefile.am (libjavanio_la_SOURCES):
3576         Remove gnu_java_nio_channels_FileChannelImpl.c.
3577
3578 2006-11-03  Roman Kennke  <kennke@aicas.com>
3579
3580         * javax/swing/text/html/BlockView.java
3581         (attributes): New field.
3582         (cssHeight): New field.
3583         (cssWidth): New field.
3584         (painter): New field.
3585         (calculateMajorAxisRequirements): Overridden to account for
3586         CSS settings.
3587         (calculateMinorAxisRequirements): Overridden to account for
3588         CSS settings.
3589         (layoutMinorAxis): Overridden to account for CSS settings.
3590         (changedUpdate): Formatting fixlet.
3591         (constrainSize): New helper method.
3592         (getAlignment): Fix alignment.
3593         (getAttributes): Cache attributes for better performance.
3594         (getStyleSheet): Fetch stylesheet from document rather than creating
3595         a new one.
3596         (paint): Remove comment.
3597         (setCSSSpan): New helper method.
3598         (setPropertiesFromAttributes): Implemented to fetch the
3599         recognized properties.
3600         * javax/swing/text/html/CSS.java
3601         (getValue): Added mapping for width and height attributes.
3602         * javax/swing/text/html/InlineView.java
3603         (longestWord): New field.
3604         (getLongestWord): New helper method.
3605         (calculateLongestWord): New helper method.
3606         (getMinimumSpan): Overridden to constrain the minimum span by the
3607         longest word.
3608         * javax/swing/text/html/ParagraphView.java
3609         (cssHeight): New field.
3610         (cssWidth): New field.
3611         (calculateMinorAxisRequirements): Overridden to account for
3612         CSS settings.
3613         (setCSSSpan): New helper method.
3614         (setPropertiesFromAttributes): Fetch CSS width and height. Added
3615         null check.
3616         * gnu/javax/swing/text/html/css/Length.java
3617         (percentage): New field.
3618         (Length): Determine percentage values.
3619         (getValue(float)): New method for handling percentage values.
3620         (isPercentage): New method.
3621
3622 2006-11-03  Tania Bento  <tbento@redhat.com>
3623
3624         * java/awt/TextArea.java
3625         (getMinimumSize): Changed documentation.
3626         (getPreferredSize): Changed documentation.
3627         (getMinimumSize(int,int)): Changed documenation.
3628         (getPreferredSize(int,int)): Changed documenation.
3629         (minimumSize): Changed documentation.
3630         (preferredSize): Changed documenation.
3631         (minimumSize(int,int)): Changed documentation.  Checked if 
3632         minimum size had been previously set and changed values of
3633         Dimension returned if peer == null.
3634         (preferredSize(int, int)): Checked if preferred size had been
3635         previously set and changed values of Dimension returned if
3636         peer = null.
3637
3638 2006-11-03  Tania Bento  <tbento@redhat.com>
3639
3640         * java/awt/event/ComponentEvent.java
3641         (paramString): Changed format of string representation returned.
3642
3643 2006-11-03  Roman Kennke  <kennke@aicas.com>
3644
3645         * javax/swing/text/html/HTMLDocument.java
3646         (HTMLReader.FormAction.start): Added support for textarea.
3647         (HTMLReader.FormAction.end): Added support for textarea.
3648         (HTMLReader.HeadAction.end): Call super to actually close the
3649         block.
3650         (HTMLReader.inTextArea): New field.
3651         (HTMLReader.textAreaDocument): New field.
3652         (HTMLReader.handleText): Call textAreaContent when inside
3653         a textarea tag.
3654         (HTMLReader.textAreaContent): Implemented to initialize
3655         the text area's model.
3656         * javax/swing/text/html/FormView.java
3657         (createComponent): Added support for textarea tag.
3658
3659 2006-11-03  Roman Kennke  <kennke@aicas.com>
3660
3661         * javax/swing/text/html/HTMLDocument.java
3662         (HTMLReader.IsindexAction.start): Implemented.
3663
3664 2006-11-03  Roman Kennke  <kennke@aicas.com>
3665
3666         * javax/swing/text/html/StyleSheet.java
3667         (addRule): Implemented.
3668         * javax/swing/text/html/HTMLDocument.java
3669         (HTMLReader.inStyleTag): New field.
3670         (HTMLReader.styles): New field.
3671         (HTMLReader.HeadAction.end): Implemented to read all stylesheets,
3672         if any.
3673         (HTMLReader.StyleAction.start): Set inStyleTag flag.
3674         (HTMLReader.StyleAction.end): Set inStyleTag flag.
3675         (HTMLReader.handleText): When inside a style tag, add
3676         content to the styles array.
3677
3678 2006-11-02  Roman Kennke  <kennke@aicas.com>
3679
3680         * javax/swing/text/html/FormView.java
3681         (maxIsPreferred): New field.
3682         (createComponent): Initialize components correctly.
3683         (getMaximumSpan): Return the preferred span for components
3684         that need this. The maxIsPreferred flag is set accordingly
3685         in createComponent.
3686         * javax/swing/text/html/HTMLDocument.java
3687         (HTMLReader.FormAction.start): Implemented to set the
3688         correct model as attribute.
3689         (HTMLReader.FormAction.setModel): New helper method.
3690         (HTMLReader.FormAction.end): Call super to finish the element.
3691         Added TODO about things left to do.
3692         (HTMLReader.handleComment): Use SimpleAttributeSet rather
3693         than htmlAttributeSet.
3694         * javax/swing/text/html/HTMLEditorKit.java
3695         (HTMLFactory.create): Create BlockView for FORM tags.
3696         Create FormView for INPUT, TEXTAREA and SELECT tags.
3697
3698 2006-11-02  David Gilbert  <david.gilbert@object-refinery.com>
3699
3700         * java/awt/geom/GeneralPath.java: API doc fixes.
3701
3702 2006-11-02  Roman Kennke  <kennke@aicas.com>
3703
3704         * javax/swing/text/html/ImageView.java
3705         (getImageURL): Fetch attribute from element. Consider the
3706         base URL for relative image locations.
3707
3708 2006-11-02  Roman Kennke  <kennke@aicas.com>
3709
3710         * javax/swing/JEditorPane.java
3711         (setContentType): Strip off attributes.
3712         * javax/swing/text/html/HTMLEditorKit.java
3713         (LinkController.activateLink(int,JEditorPane,int,int): New
3714         method. Implements activation of a hyperlink.
3715         (LinkController.activateLinke(int,JEditorPane)): Delegate
3716         to the other activateLink() method.
3717         (LinkController.createHyperlinkEvent): New helper method.
3718         (LinkController.mouseClicked): Implemented to activate the link.
3719         (LinkController.mouseDragged): Added comment that this
3720         method does nothing.
3721         (LinkController.mouseMoved): Update cursor for hyperlinks.
3722         (mouseHandler): Renamed field to linkController.
3723         (HTMLEditorKit): Create a link controller.
3724         (clone): Give the clone a new link controller.
3725         (deinstall): De-install link controller as mouseMotionListener too.
3726         (install): Install link controller as mouseMotionListener too.
3727
3728 2006-11-02  Roman Kennke  <kennke@aicas.com>
3729
3730         PR 29644
3731         * javax/swing/text/FlowView.java
3732         (FlowStrategy.changedUpdate): Reversed condition. This caused
3733         wrong layout and bad performance.
3734         (FlowStrategy.insertUpdate): Reversed condition. This caused
3735         wrong layout and bad performance.
3736         (FlowStrategy.removeUpdate): Reversed condition. This caused
3737         wrong layout and bad performance.
3738         (LogicalView): Changed to be a subclass of CompositeView.
3739         (LogicalView()): Only take one Element argument.
3740         (LogicalView.childAllocation): New method for implementing
3741         the abstract CompositeView method.
3742         (LogicalView.forwardUpdateToView): Overridden for correct
3743         reparenting.
3744         (getMinimumSpan): Overridden to handle line breaking correctly.
3745         (getPreferredSpan): Implemented to handle line breaking correctly.
3746         (getViewAtPoint): New method for implementing
3747         the abstract CompositeView method.
3748         (getViewIndexAtPosition): Overridden to handle leaf elements
3749         correctly.
3750         (isAfter): New method for implementing
3751         the abstract CompositeView method.
3752         (isBefore): New method for implementing
3753         the abstract CompositeView method.
3754         (loadChildren): Overridden to handle leaf elements
3755         correctly.
3756         (paint): New method for implementing
3757         the abstract CompositeView method.
3758         (calculateMinorAxisRequirements): Use preferredSpan in calculation.
3759         (loadChildren): Initialize flow layout by sending a synthetic
3760         insertUpdate() to the layout strategy.
3761         * javax/swing/text/GlyphView.java
3762         (DefaultGlyphPainter.getBoundedPosition): Fall back to Toolkit's
3763         font metrics if component is not available. Add initial offset
3764         to result.
3765         (breakView): Be more clever when breaking the view.
3766         (getBreakLocation): New helper method to determine a good
3767         break location.
3768         (getBreakWeight): Be more clever when breaking the view.
3769         (getTabbedSpan): Make sure we have a painter. Use view's
3770         start and end offset rather than the element's.
3771         * javax/swing/text/Utilities.java
3772         (drawTabbedText): Avoid useless add and sub with the y offset.
3773
3774 2006-11-02  Roman Kennke  <kennke@aicas.com>
3775
3776         PR 29644
3777         * gnu/java/awt/peer/ClasspathFontPeer.java
3778         (getStringBounds): Removed abstract method. This is replaced
3779         in java.awt.Font to use a TextLayout.
3780         * gnu/java/awt/peer/gtk/GtkWindowPeer.java
3781         (GtkWindowPeer): Set a font on the window object.
3782         * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
3783         (FreetypeGlyphVector(Font,String,FontRenderContext,int)):
3784         Changed to take char,int,int instead of String. Filter
3785         control characters.
3786         (FreetypeGlyphVector(Font,String,FontRenderContext)):
3787         Create char array out of string.
3788         (getLogicalBounds): Don't translate bounds. They already are
3789         translated.
3790         * gnu/java/awt/peer/gtk/GdkFontMetrics.java
3791         (stringWidth): Filter out control characters.
3792         * gnu/java/awt/peer/gtk/GdkFontPeer.java
3793         (getStringBounds): Removed unneeded method.
3794         (layoutGlyphVector): Pass char array directly to FreetypeGlyphVector
3795         constructor.
3796         * gnu/java/awt/peer/qt/QtFontPeer.java
3797         (getStringBounds): Removed unneeded method.
3798         * gnu/java/awt/peer/x/XFontPeer.java
3799         (getStringBounds): Removed unneeded method.
3800         * gnu/java/awt/peer/x/XFontPeer2.java
3801         (getStringBounds): Removed unneeded method.
3802         * java/awt/Font.java
3803         (getStringBounds(char[],int,int,FontRenderContext)):
3804         Use TextLayout to determine the bounds.
3805         (getStringBounds(CharacterIterator,int,int,FontRenderContext)):
3806         Delegate to the char[] version of this method.
3807         (getStringBounds(String,FontRenderContext)):
3808         Delegate to the char[] version of this method.
3809         (getStringBounds(String,int,int,FontRenderContext)):
3810         Delegate to the String version of this method.
3811
3812 2006-11-01  Tania Bento  <tbento@redhat.com>
3813
3814         * java/awt/ScrollPaneAdjustable.java
3815         (paramString): Changed format of string representation returned.
3816         (paramStringHelper): New private method.
3817
3818 2006-11-01  Tania Bento  <tbento@redhat.com>
3819
3820         * java/awt/GridBagLayout.java
3821         (toString): Implemented method.
3822
3823 2006-10-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
3824
3825         * native/plugin/gcjwebplugin.cc (GCJ_New): Move GLib threading
3826         initialization to NP_Initialize.
3827         (NP_Initialize): Initialize GLib threading.
3828
3829 2006-10-31  Tania Bento  <tbento@redhat.com>
3830
3831         * javax/swing/JTextField.java
3832         (fireActionPerformed): When creating the new event, if
3833         actionCommand == null, then getText() is used.
3834
3835 2006-10-31  Francis Kung  <fkung@redhat.com>
3836
3837         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
3838         (fillArc): Corrected arc type to Arc2D.PIE.
3839
3840 2006-10-31  Roman Kennke  <kennke@aicas.com>
3841
3842         * javax/swing/text/html/HTMLDocument.java
3843         (HTMLReader.PreAction.end): Implemented.
3844         (HTMLReader.PreAction.start): Implemented.
3845         (HTMLReader.inPreTag): New field.
3846         (HTMLReader.handleTag): When inside a pre tag, call preContent().
3847         (HTMLReader.preContent): Implemented.
3848
3849 2006-10-31  Tania Bento  <tbento@redhat.com>
3850
3851         * javax/swing/JTextField.java
3852         (fireActionPerformed): When creating the new event, 
3853         actionCommand should be used as the command, not
3854         getText().
3855
3856 2006-10-31  Roman Kennke  <kennke@aicas.com>
3857
3858         * javax/swing/text/html/HTMLEditorKit.java
3859         (write): Use HTMLWriter or MinimalHTMLWriter for writing
3860         HTML or Styled documents.
3861
3862 2006-10-31  David Fu  <fchoong@netbeans.jp>
3863
3864         * javax/swing/text/html/HTMLWriter.java: New class.
3865
3866 2006-10-30  Roman Kennke  <kennke@aicas.com>
3867
3868         * java/awt/dnd/DragSourceContext.java
3869         (dragExit): Use constant fields instead of 0.
3870         (updateCurrentCursor): Completed implementation.
3871
3872 2006-10-30  Roman Kennke  <kennke@aicas.com>
3873
3874         * java/awt/dnd/DragGestureRecognizer.java
3875         (resetRecognizer): Added API docs. Do not replace the events object
3876         but rather clear() it. Removed not implemented tag.
3877
3878 2006-10-30  Roman Kennke  <kennke@aicas.com>
3879
3880         * java/awt/datatransfer/DataFlavor.java
3881         (writeExternal): Remove not implemented tag.
3882
3883 2006-10-30  Roman Kennke  <kennke@aicas.com>
3884
3885         * java/awt/datatransfer/DataFlavor.java
3886         (javaFileListFlavor): Don't explicitly specify class.
3887         (plainTextFlavor): Don't explicitly specify class.
3888         (mimeType): Changed to type MimeType. Remove final.
3889         (representationClass): Remove final.
3890         (DataFlavor): Don't do anything here.
3891         (DataFlavor(Class,String,String)): Removed.
3892         (DataFlavor(Class,String)): Initialize here.
3893         (DataFlavor(String,String,ClassLoader)): Initialize in init().
3894         (DataFlavor(String,String)): Initialize in init().
3895         (DataFlavor(String)): Initialize in init().
3896         (init): New initialization method.
3897         (getMimeType): Delegate to MimeType.toString().
3898         (getParameter(String,String)): Removed. Is now done in MimeType.
3899         (getParameter(String)): Delegate to MimeType.
3900         (getPrimaryType): Delegate to MimeType.
3901         (getRepresentationClassFromMime): Removed.
3902         (getRepresentationClassFromMimeThrows): Removed.
3903         (getSubType): Delegate to MimeType.
3904         (hashCode): Take MimeType.toString() for the hashCode.
3905         (isFlavorRemoveObjectType): Return true only when representation
3906         class is remove and serializable and the mime type is remote.
3907         (isFlavorSerializedObjectType): Return true only when representation
3908         class is serializable and the mime type is serialized.
3909         (isMimeTypeEqual): Rewritten to delegate to MimeType.matches().
3910         (isMimeTypeSerializedObject): Delegate to isMimeTypeEqual().
3911         (readExternal): Implemented stub method.
3912         (writeExternal): Implemented stub method.
3913         * java/awt/datatransfer/MimeType.java: New helper class.
3914
3915 2006-10-28  Roman Kennke  <kennke@aicas.com>
3916
3917         * javax/swing/TransferHandler.java
3918         (importData): Implemented stub method. Added API docs.
3919
3920 2006-10-26  Christian Elias Naur  <elias@oddlabs.com>
3921
3922         * native/jni/gtk-peer/gtk_jawt.c (classpath_jawt_get_depth): New
3923         function.
3924         * native/jni/classpath/classpath_jawt.h: Likewise.
3925         * native/jawt/jawt.c (_Jv_GetDrawingSurfaceInfo): Added
3926         initializer for surface_info_x11->depth.
3927
3928 2006-10-26  Tania Bento  <tbento@redhat.com>
3929         
3930         * java/awt/FileDialog.java:
3931         (setFile): Changed if-clause condition.
3932
3933 2006-10-25  Francis Kung  <fkung@redhat.com>
3934
3935         * include/gnu_java_nio_VMChannel.h,
3936         * include/java_net_VMNetworkInterface.h,
3937         * include/gnu_java_nio_EpollSelectorImpl.h,
3938         * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h,
3939         * include/gnu_java_nio_FileChannelImpl.h,
3940         * include/gnu_java_nio_KqueueSelectorImpl.h,
3941         * include/gnu_java_nio_VMPipe.h,
3942         * include/gnu_java_net_VMPlainSocketImpl.h: Regenerated.
3943
3944 2006-10-25  Tania Bento  <tbento@redhat.com>
3945
3946         * java/awt/Dialog.java: Created new private variable
3947         next_dialog_number.
3948         (Dialog(Frame, String, boolean, GraphicsConfiguration)):
3949         Set cursor to default cursor.
3950         (Dialog(Dialog, STring, boolean, GraphicsConfiguration)):
3951         Same.
3952         (generateName): New method.
3953         (getUniqueLong): New private method.
3954         * java/awt/FileDialog.java: Created new private variable
3955         next_file_dialog_number.
3956         (setFile): If file == "", set it to null.
3957         (generateName): New method.
3958         (getUniqueLong): New private method.
3959
3960 2006-10-25  Robert Schuster  <robertschuster@fsfe.org>
3961
3962         * java/net/MulticastSocket.java:
3963         (setNetworkInterface): Rewritten.
3964
3965 2006-10-25  Robert Schuster  <robertschuster@fsfe.org>
3966
3967         * native/jni/java-net/javanet.h: Added declaration for
3968         _javanet_create_inetaddress.
3969         * native/jni/java-net/javanet.c:
3970         (_javanet_create_inetaddress): Removed static keyword.
3971
3972 2006-10-25  Robert Schuster  <robertschuster@fsfe.org>
3973
3974         * gnu/java/net/PlainDatagramSocketImpl.java:
3975         (connect): Use VMChannel instance for connect call.
3976         (getTimeToLive): Call VMPlainSocketImpl.getTimeToLive.
3977         (setTimeToLive): Call VMPlainSocketImpl.setTimeToLive.
3978         (setOption): Handle multicast options.
3979         (getOption): Handle multicast options.
3980         * gnu/java/net/PlainSocketImpl.java:
3981         (getTimeToLive): Call VMPlainSocketImpl.getTimeToLive.
3982         (setTimeToLive): Call VMPlainSocketImpl.setTimeToLive.
3983         (setOption): Filter unappropriate options.
3984         (getOption): Filter unappropriate options.
3985         (connect): Use given SocketAddress.
3986         (close): Reset address and port.
3987         (getInetAddress): 
3988         * include/Makefile.am: Removed all occurences of
3989         gnu_java_net_VMPlainDatagramSocketImpl.h.
3990         * include/gnu_java_net_VMPlainDatagramSocketImpl.h: Removed.
3991         * native/jni/java-net/Makefile.am: Removed
3992         gnu_java_net_VMPlainDatagramSocketImpl.c from sources.
3993         * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c:
3994         Removed.
3995         as SocketException, declare to throw SocketException.
3996         * native/jni/java-nio/gnu_java_nio_VMChannel.c: Added definitions
3997         for SocketException and ConnectException.
3998         (Java_gnu_java_nio_VMChannel_connect): Throw SocketException instead
3999         of IOException.
4000         (Java_gnu_java_nio_VMChannel_connect6): Throw SocketException instead
4001         of IOException.
4002         (Java_gnu_java_nio_VMChannel_accept): Rewritten.
4003         (JCL_thread_interrupted): New function.
4004         (initIDs): Added initialisation for isThreadInterrupted method id.
4005         * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c: Added
4006         CPNET_IP_TTL to java_sockopt enum.
4007         (Java_gnu_java_net_VMPlainSocketImpl_setOption): Handle CPNET_IP_TTL
4008         case, handle SO_LINGER case properly.
4009         (Java_gnu_java_net_VMPlainSocketImpl_getOption): Handle CPNET_IP_TTL
4010         case, handle SO_LINGER case properly.
4011         (Java_gnu_java_net_VMPlainSocketImpl_getMulticastInterface): New
4012         function.
4013         (Java_gnu_java_net_VMPlainSocketImpl_setMulticastInterface): New
4014         function.
4015         (Java_gnu_java_net_VMPlainSocketImpl_setMulticastInterface6): New
4016         function.
4017         (Java_gnu_java_net_VMPlainSocketImpl_leave6): Fixed constant to be
4018         IPV6_LEAVE_GROUP.
4019         * vm/reference/gnu/java/net/VMPlainDatagramSocketImpl.java: Removed.
4020         * vm/reference/gnu/java/nio/VMChannel.java:
4021         (connect(int, byte[], int, int)): Declare to throw SocketException.
4022         (connect6): Declare to throw SocketException.
4023         (connect(InetSocketAddress, int)): Catch IOException and rethrow
4024         (isThreadInterrupted): New method.
4025         * vm/reference/gnu/java/net/VMPlainSocketImpl.java: Added CP_IP_TTL
4026         field.
4027         (setTimeToLive): New method.
4028         (getTimeToLive): New method.
4029         (setMulticastInterface(int, InetAddress)): New method.
4030         (setMulticastInterface(int, int, Inet4Address): New method.
4031         (setMulticastInterface6(int, int, Inet6Address): New method.
4032         (setOptions): Handle SO_LINGER case.
4033         (getOptions): Add missing SO_REUSEADDR case.
4034         * java/net/Socket.java:
4035         (Socket(InetAddress, int, InetAddress, int, boolean)): Close socket
4036         when exception was thrown out of connect().
4037         (setSoLinger): Replaced instantiations with valueOf calls, replaced
4038         Boolean.FALSE with Integer.valueOf(-1).
4039         * native/jni/native-lib/cpio.h: Added cpio_closeOnExec declaration.
4040         * native/jni/native-lib/cpio.c: Added cpio_closeOnExec implementation.
4041         * NEWS: Documented VM interface changes.
4042
4043 2006-10-25  Robert Schuster  <robertschuster@fsfe.org>
4044
4045         * java/net/Inet6Address.java:
4046         (isMulticastAddress): Fixed check.
4047
4048 2006-10-25  Robert Schuster  <robertschuster@fsfe.org>
4049
4050         Fixes PR29576
4051         * java/net/MulticastSocket.java:
4052         (getNetworkInterface): Return a special NetworkInterface instance
4053         if the socket's multicast interface is set to any.
4054
4055 2006-10-25  Robert Schuster  <robertschuster@fsfe.org>
4056
4057         Fixes PR29576
4058         * java/net/NetworkInterface.java:
4059         (createAnyInterface): New method.
4060         (equals): Added if-statement to handle case where netif.name is null.
4061         * vm/reference/java/net/VMNetworkInterface.java:
4062         (hashCode): Rewritten.
4063         (VMNetworkInterface): New constructor.
4064
4065 2006-10-24  Thomas Fitzsimmons  <fitzsim@redhat.com>
4066
4067         * tools/Makefile.am: Add ASM_JAR define to each tool's CFLAGS.
4068         * tools/toolwrapper.c (main): Set bootclasspath, not classpath.
4069         Add ASM_JAR to bootclasspath.
4070
4071 2006-10-24  Tania Bento  <tbento@redhat.com>
4072
4073         * java/awt/Scrollbar.java:
4074         (setLineIncrement): Removed unnecessary if-clause and if 
4075         lineIncrement == 0, then it should be set to 1, not 0.
4076         (setPageIncrement): Removed unnecessary if-clause and if
4077         pageIncrement == 0, then it should be set to 1, not 0.
4078         (setValues): If visibleAmount <= 0, it should be set to 1, not 0.
4079         If maximum <= minimum, maximum should be set to mininum + 1. The
4080         actual value of maximum is maximum - visibleAmount, so I made 
4081         this change to the appropriate if-check. Remove the two unneccessary
4082         if-clauses.
4083
4084 2006-10-23  Francis Kung  <fkung@redhat.com>
4085
4086         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
4087         (cairoSetFont): New method.
4088         (copy): Set font using setFont method.
4089         (setFont): Call cairoSetFont.
4090         (setup): Set font using setFont method.
4091         * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Added method.
4092         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
4093         (install_font_peer): Removed.
4094         (cairoDrawGlyphVector): Removed call to install_font_peer.
4095         (cairoSetFont): New method.
4096
4097 2006-10-23  Thomas Fitzsimmons  <fitzsim@redhat.com>
4098
4099         * gnu/java/awt/peer/NativeEventLoopRunningEvent.java: New file.
4100         * gnu/java/awt/peer/gtk/GtkMainThread.java: Post
4101         NativeEventLoopRunningEvent after GTK main loop start and stop.
4102         * java/awt/EventQueue.java (isShutdown): Check nativeLoopRunning.
4103         (getNextEvent): Set dispatchThread to null.
4104         (postEventImpl): Set nativeLoopRunning.
4105         (pop): Interrupt event dispatch thread.
4106         * java/awt/Frame.java (noteFrame): Synchronize on weakFrames.
4107
4108 2006-10-22  Christian Thalinger  <twisti@complang.tuwien.ac.at>
4109
4110         * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c (config-int.h):
4111         Added include.
4112         * native/jni/java-nio/gnu_java_nio_VMChannel.c (config-int.h):
4113         Likewise.
4114
4115 2006-10-23  Marco Trudel <mtrudel@gmx.ch>
4116
4117         * gnu/javax/crypto/pad/PKCS7.java (unpad): Removed an unnecessary test.
4118         * javax/crypto/CipherOutputStream.java: Re-implemented.
4119         * gnu/javax/crypto/jce/cipher/CipherAdapter.java
4120         (engineUpdate(byte[], int, int)): Always keep data for unpadding in padded
4121         decryption mode and check if it is a complete block.
4122         (engineUpdate(byte[], int, int, byte[], int)): Likewise.
4123         (engineDoFinal(byte[], int, int)): In padded decryption mode, take
4124         partially processed data into account.
4125
4126 2006-10-21  Tom Tromey  <tromey@redhat.com>
4127
4128         PR classpath/29086:
4129         * java/util/AbstractCollection.java (toArray): Removed cast.
4130
4131 2006-10-20  Tom Tromey  <tromey@redhat.com>
4132
4133         * tools/gnu/classpath/tools/javah/JniIncludePrinter.java (printClass):
4134         Don't use mangled class name for .h file.
4135         * tools/gnu/classpath/tools/javah/JniStubPrinter.java (printClass):
4136         Don't use mangled class name for .c file.
4137         * tools/gnu/classpath/tools/javah/CniPrintStream.java (writeClass):
4138         Handle classes from the default package.
4139
4140 2006-10-20  Francis Kung  <fkung@redhat.com>
4141
4142         * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Added missing constants.
4143
4144 2006-10-19  Francis Kung  <fkung@redhat.com>
4145
4146         PR 29510
4147         * java/awt/image/BufferedImage.java
4148         (constructor): Updated some properties of default image types.
4149         * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
4150         (argb32): Updated field to match default in BufferedImage.
4151
4152 2006-10-18  Roman Kennke  <kennke@aicas.com>
4153
4154         PR 29419
4155         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
4156         (copyArea): Changed size comparison to return when size == 0
4157         too.
4158         * javax/swing/JViewport.java
4159         (paintBackingStore): Check width and height of blitted area
4160         and only do blit if its > 0.
4161         (paintBlit): Check width and height of blitted area
4162         and only do blit if its > 0.
4163
4164 2006-10-18  Roman Kennke  <kennke@aicas.com>
4165
4166         PR 27091
4167         * gnu/java/awt/peer/gtk/GtkFramePeer.java
4168         (maximize): New native method.
4169         (unmaximize): New native method.
4170         (iconify): New native method.
4171         (deiconify): New native method.
4172         (getState): Implemented.
4173         (setState): Implemented.
4174         * gnu/java/awt/peer/gtk/GtkWindowPeer.java
4175         (oldState): Rename to windowState and made protected, so that
4176         the FramePeer can access it.
4177         (postWindowEvent): Handle state change events more gently and
4178         correctly.
4179         * java/awt/Frame.java
4180         (getState): Fetch state from getExtendedState().
4181         (setExtendedState): Update the peer. Check if the state change
4182         is actually supported.
4183         (getExtendedState): Update the state from the peer.
4184         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFramePeer.c
4185         (maximize): New method.
4186         (unmaximize): New method.
4187         (iconify): New method.
4188         (deiconify): New method.
4189         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
4190         (AWT_FRAME_NORMAL): New macro.
4191         (AWT_FRAME_ICONIFIED): New macro.
4192         (AWT_FRAME_MAXIMIZED_BOTH): New macro.
4193         (window_window_state_cb): Rewritten to handle window state changes
4194         more gently (mostly on the java side of the world).
4195         * include/gnu_java_awt_peer_gtk_GtkFramePeer.h: Regenerated.
4196
4197 2006-10-18  Tania Bento  <tbento@redhat.com>
4198
4199         * java/awt/CardLayout.java:
4200         (maximumLayoutSize): Return a new Dimension with Integer.MAX_VALUE as
4201         its height and width if Container passed as argument is null.
4202         (gotoComponent): Consider the case where the component is not visible.
4203
4204 2006-10-18  Thomas Fitzsimmons  <fitzsim@redhat.com>
4205
4206         * resource/gnu/classpath/tools/appletviewer/MessagesBundle.properties:
4207         Rename file...
4208         * resource/gnu/classpath/tools/appletviewer/messages.properties:
4209         New file.
4210         * resource/gnu/classpath/tools/appletviewer/MessagesBundle_de.properties:
4211         Remove file.
4212         * tools/gnu/classpath/tools/appletviewer/AppletWarning.java:
4213         Remove file.
4214         * tools/gnu/classpath/tools/appletviewer/ConsoleDialog.java:
4215         Likewise.
4216         * tools/gnu/classpath/tools/appletviewer/Messages.java: New file.
4217         * tools/gnu/classpath/tools/appletviewer/CommonAppletStub.java:
4218         Retrieve user-visible strings through Messages.getString.
4219         * tools/gnu/classpath/tools/appletviewer/Main.java: Likewise.
4220         * tools/gnu/classpath/tools/appletviewer/PluginAppletContext.java:
4221         Likewise.
4222         * tools/gnu/classpath/tools/appletviewer/PluginAppletViewer.java:
4223         Likewise.
4224         * tools/gnu/classpath/tools/appletviewer/PluginAppletWindow.java:
4225         Likewise.
4226         * tools/gnu/classpath/tools/appletviewer/StandaloneAppletContext.java:
4227         Likewise.
4228         * tools/gnu/classpath/tools/appletviewer/StandaloneAppletViewer.java:
4229         Likewise.
4230         * tools/gnu/classpath/tools/appletviewer/StandaloneAppletWindow.java:
4231         Likewise.
4232
4233 2006-10-18  Roman Kennke  <kennke@aicas.com>
4234
4235         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
4236         (AWT_WINDOW_OPENED): Remove unnecessary macro.
4237         (window_show_cb): Removed unnecessary function.
4238         (connect_signals): Don't connect signal for show.  *
4239         gnu/java/awt/peer/gtk/GtkWindowPeer.java
4240         (hasBeenShown): Removed. This is handled in java.awt.Window.
4241         (postWindowEvent): Removed handling of WINDOW_OPENED. This is done
4242         in java.awt.Window.  * java/awt/Window.java
4243         (dispose): Post WINDOW_CLOSED here, not WINDOW_OPENED.
4244
4245 2006-10-18  Francis Kung  <fkung@redhat.com>
4246
4247         * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java
4248         (drawRenderedImage):  New method.
4249         (drawImage): New method.
4250         (CairoSurfaceGraphics): Set clip.
4251         (createBuffer): New method.
4252         (getBufferCM): New method.
4253         (drawComposite): New method.
4254         (fill): New method.
4255         (getNativeCM): New method.
4256         (drawGlyphVector): New method.
4257         (draw): New method.
4258         * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
4259         (getNativeCM): Reflect renamed field.
4260         * gnu/java/awt/peer/gtk/CairoSurface.java
4261         (cairoCM_pre): Renamed from cairoColorModel.
4262         (cairoColorModel): Set premultiplication to false.
4263
4264 2006-10-18  Roman Kennke  <kennke@aicas.com>
4265
4266         PR 28769
4267         * javax/swing/JScrollPane.java
4268         (viewportBorder): Made field private.
4269         (wheelScrollingEnabled): Made field private.
4270         (JScrollPane): Enabled wheel scrolling by default.
4271         * javax/swing/JTree.java
4272         (TreeSelectionRedirector.valueChanged): Don't repaint anything
4273         here.
4274         (getScrollableUnitIncrement): Fixed thinko.
4275         * javax/swing/plaf/basic/BasicScrollBarUI.java
4276         (static scrollByBlock): New static method to avoid code duplication
4277         for the BasicScrollPane wheel scrolling.
4278         (static scrollByUnits): New static method to avoid code duplication
4279         for the BasicScrollPane wheel scrolling.
4280         (scrollByBlock): Delegate to static helper method.
4281         (scrollByUnit): Delegate to static helper method.
4282         * javax/swing/plaf/basic/BasicScrollPaneUI.java
4283         (MouseWheelHandler.mouseWheelMoved): Delegate to BasicScrollBarUI
4284         static helper methods to avoid code duplication.
4285         (MouseWheelHandler.bounds): Removed.
4286         (MouseWheelHandler.getValue): Removed.
4287         (MouseWheelHandler.scroll): Removed.
4288
4289 2006-10-18  Roman Kennke  <kennke@aicas.com>
4290
4291         PR 29502
4292         * gnu/java/awt/peer/gtk/GtkWindowPeer.java
4293         (updateComponent): Don't override this here.
4294         * java/awt/Window.java
4295         (addWindowListener): Ignore null listener. Set newEventsOnly flag.
4296         (addWindowFocusListener): Ignore null listener. Set newEventsOnly
4297         flag.
4298         (addWindowStateListener): Ignore null listener. Set newEventsOnly
4299         flag.
4300
4301 2006-10-18  Roman Kennke  <kennke@aicas.com>
4302
4303         * javax/swing/JEditorPane.java
4304         (getStream): Try to detect and set the content type of the
4305         connection stream.
4306
4307 2006-10-18  Roman Kennke  <kennke@aicas.com>
4308
4309         * javax/swing/RepaintManager.java
4310         (RepaintWorkerEvent): Pass full set of params to super.
4311         (RepaintWorker.dispatch): Overridden to allow apps to call this
4312         via reflection.
4313         (addDirtyRegion): Synchronize a little more to protect the
4314         dirtyComponents field and avoid NPEs.
4315         (invokeLater): Pass full set of params to RepaintWorkerEvent
4316         constructor.
4317
4318 2006-10-18  Roman Kennke  <kennke@aicas.com>
4319
4320         * javax/swing/JEditorPane.java
4321         (page): Removed field. The page is now stored in the correct
4322         document property.
4323         (getPage): Fetch page URL from document property.
4324         (read): Set the document for this JEditorPane. Use a Reader
4325         for reading in the document.
4326         (setPage): Call getStream() to get the stream from which we read.
4327         Fire property change. Store page in document property.
4328
4329 2006-10-18  Roman Kennke  <kennke@aicas.com>
4330
4331         * java/awt/datatransfer/DataFlavor.java
4332         (DataFlavor(String)): Removed check for space in mime string.
4333
4334 2006-10-18  Roman Kennke  <kennke@aicas.com>
4335
4336         * java/awt/Container.java
4337         (validateTree): Call ContainerPeer.begin|endLayout() rather than
4338         begin|endValidate().
4339         (validate): Call ContainerPeer.begin|endValidate() here.
4340         Added some local vars to avoid NPEs.
4341
4342 2006-10-18  Roman Kennke  <kennke@aicas.com>
4343
4344         * native/target/.cvsignore
4345         * native/target/Linux/.cvsignore
4346         * native/target/generic/.cvsignore:
4347         Added to let CVS ignore the generated Makefile and Makefile.in
4348         files.
4349
4350 2006-10-18  Roman Kennke  <kennke@aicas.com>
4351
4352         PR 29448
4353         * java/awt/Window.java
4354         (eventTypeEnabled): Overridden to handle WindowEvents.
4355         (processEvent): Switch between processWindowEvent(),
4356         processWindowFocusEvent() and processWindowStateEvent() here,
4357         rather than simply calling processWindowEvent().
4358         (processWindowEvent): Only dispatch event to listener, do not
4359         switch to processWindowFocusEvent() or processWindowStateEvent()
4360         here.
4361         * javax/swing/JFrame.java
4362         (frameInit): Explicitly enable window and key events here.
4363         (processWindowEvent): Throw out some unnecessary code.
4364         * javax/swing/JWindow.java
4365         (windowInit): Explicitly enable key events here.
4366         * javax/swing/JDialog.java
4367         (close_action): Renamed to closeAction.
4368         (dialogInit): Explicitly enable window events here.
4369         (getDefaultCloseOperation): Renamed close_action to closeAction.
4370         (processWindowEvent): Throw out some unnecessary code.
4371         Renamed close_action to closeAction.
4372         (setDefaultCloseOperation): Renamed close_action to closeAction.
4373
4374 2006-10-17  Thomas Fitzsimmons  <fitzsim@redhat.com>
4375
4376         * gnu/java/awt/peer/gtk/GtkMainThread.java: Introduce running flag
4377         to track native GTK event loop status.
4378         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c: Set and
4379         clear running flag when native GTK event loop starts and stops.
4380
4381 2006-10-17  Roman Kennke  <kennke@aicas.com>
4382
4383         * javax/swing/TransferHandler.java
4384         (exportToClipboard): Implemented.
4385
4386 2006-10-17  Francis Kung  <fkung@redhat.com>
4387
4388         * gnu/java/awt/peer/gtk/BufferedImageGraphics.java (draw): Extend updated
4389         region to account for pixel-shifting.
4390         * gnu/java/awt/peer/gtk/CairoGraphics2D.java (shiftDrawCalls): Made
4391         proctected.
4392
4393 2006-10-17  Francis Kung  <fkung@redhat.com>
4394
4395         PR 29450
4396         * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
4397         (getLogicalBounds): Translate individual glyphs before appending bounds.
4398         (getOutline): Translate individual glyphs before appending outline.
4399
4400 2006-10-17  Cameron McCormack  <cam@mcc.id.au>
4401
4402         PR 29014
4403         * java/awt/font/TextLayout.java
4404         (bidi): New field.
4405         (constructor): Store bidi in field.
4406         (getCharacterLevel): Implemented.
4407
4408 2006-10-17  Roman Kennke  <kennke@aicas.com>
4409
4410         * javax/swing/TransferHandler.java
4411         (PropertyTransferable): New inner class. Handles transfers
4412         from component properties.
4413         (createTransferable): Implemented.
4414
4415 2006-10-17  Francis Kung  <fkung@redhat.com>
4416
4417         * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
4418         (drawComposite): Ensure composite does not extend beyond buffer
4419         bounds.
4420         * java/awt/image/Raster.java
4421         (createChild): Ensure child does not extend beyond parent's
4422         bounds.
4423         * java/awt/image/WritableRaster.java
4424         (createWritableChild): Ensure child does not extend beyond
4425         parent's bounds.
4426
4427 2006-10-17  Jeroen Frijters  <jeroen@frijters.net>
4428
4429         * native/jni/classpath/jcl.c
4430         (JNI_OnLoad): Corrected calling convention.
4431
4432 2006-10-16  Roman Kennke  <kennke@aicas.com>
4433
4434         * javax/swing/TransferHandler.java
4435         (propertyName): New field.
4436         (TransferHandler(String)): Store property name in field.
4437         (canImport): Implemented stub method.
4438         (exportDone): This is a no-op. Removed not-implemented mark.
4439         (getPropertyDataFlavor): New helper method.
4440         (getPropertyDescriptor): New helper method.
4441
4442 2006-10-16  Roman Kennke  <kennke@aicas.com>
4443
4444         * javax/swing/AbstractButton.java
4445         (AccessibleJButton.getAfterIndex): Implemented.
4446         (AccessibleJButton.getAtIndex): Implemented.
4447         (AccessibleJButton.getBeforeIndex): Implemented.
4448         (AccessibleJButton.getCharacterAttribute): Completed incomplete
4449         method implementation.
4450
4451 2006-10-16  Roman Kennke  <kennke@aicas.com>
4452
4453         * javax/swing/JLabel.java
4454         (AccessibleJLabel.getIndexAtPoint): Implemented.
4455         (AccessibleJLabel.getCharacterBounds): Implemented.
4456         (AccessibleJLabel.getTextRectangle): New helper method.
4457
4458 2006-10-16  Roman Kennke  <kennke@aicas.com>
4459
4460         * javax/swing/filechooser/FileSystemView.java
4461         (getFileSystemView): Mark as implemented.
4462
4463 2006-10-14  Roman Kennke  <kennke@aicas.com>
4464
4465         PR 27957
4466         * javax/swing/JComponent.java
4467         (toolTipText): Removed field.
4468         (createToolTip): Don't set tooltip text here. This is done
4469         in the ToolTipManager.
4470         (setToolTipText): Set tooltip text as client property.
4471         (getToolTipText): Get tooltip text from client property.
4472         * javax/swing/ToolTipManager.java
4473         (currentComponent): Made field non-static and of type JComponent.
4474         (currentPoint): Made field non-static.
4475         (currentTip): Made field non-static.
4476         (popup): Made field non-static.
4477         (toolTipText): New field. Stores the current tooltip text.
4478         (checkTipUpdate): New helper method. Checks for updates of
4479         the tooltip text and triggers the appropriate actions.
4480         (getContentPaneDeepestComponent): Removed unneeded casts.
4481         (mouseEntered): Removed unneeded cast. Initially fetch tooltip
4482         text from component.
4483         (mouseMoved): Check for tooltip text updates.
4484         (showTip): Set tooltip text from current setting.
4485
4486 2006-10-14  Roman Kennke  <kennke@aicas.com>
4487
4488         PR 27956
4489         * javax/swing/JSlider.java
4490         (setPaintLabels): Call setLabelTable() instead of setting
4491         the field directly. This also updates the label's size.
4492
4493 2006-10-13  Tom Tromey  <tromey@redhat.com>
4494
4495         * tools/gnu/classpath/tools/javah/ClassWrapper.java (toString): New
4496         method.
4497
4498 2006-10-13  Tania Bento  <tbento@redhat.com>
4499
4500         * java/awt/ScrollPane.java
4501         (setLayout): Should throw AWTError whenever called.
4502
4503 2006-10-13  Roman Kennke  <kennke@aicas.com>
4504
4505         PR 29448
4506         * java/awt/Component.java
4507         (dispatchEventImpl): Special handle ComponentReshapeEvents to
4508         update the AWT's knowledge about a component's size.
4509         * gnu/java/awt/ComponentReshapeEvent.java: New class.
4510         * gnu/java/awt/peer/gtk/GtkWindowPeer.java
4511         (postConfigureEvent): Directly dispatch a ComponentReshapeEvent
4512         to update the AWT's knowledge about the component bounds.
4513
4514 2006-10-13  Tania Bento  <tbento@redhat.com>
4515
4516         * java/awt/ScrollPaneAdjustable.java
4517         (setMaximum): Should throw AWTError whenever called.
4518         (setMinimum): Same.
4519         (setVisibleAmount): Same.
4520
4521 2006-10-13  Tania Bento  <tbento@redhat.com>
4522
4523         * java/awt/ScrollPane.java
4524         (addImpl): When calling super, index should be value passed, 
4525         not -1.
4526         (getIsValidString): New helper method for paramString().
4527         (getScrollbarDisplayString): New helper method for paramString(). 
4528         (paramString): Changed format of outputted string.
4529
4530 2006-10-13  David Gilbert  <david.gilbert@object-refinery.com>
4531
4532         * javax/swing/tree/DefaultTreeSelectionModel.java
4533         (clone): Added cast to TreePath[].
4534
4535 2006-10-13  Roman Kennke  <kennke@aicas.com>
4536
4537         PR 27780
4538         * javax/swing/JMenuItem.java
4539         (isDragging): New field. Indicates if we are inside a mouse
4540         drag.
4541         (createMenuDragMouseEvent): Removed unneeded method.
4542         (processMenuDragMouseEvent): Track if we are dragging.
4543         (processMouseEvent): Simply forward to processMenuDragMouseEvent().
4544         * javax/swing/plaf/basic/BasicMenuItemUI.java
4545         (MenuDragMouseHandler.menuDragMouseDragged): Fetch
4546         MenuSelectionManager from event.
4547         (MenuDragMouseHandler.menuDragMouseEntered): Fetch
4548         MenuSelectionManager from event.
4549         (MenuDragMouseHandler.menuDragMouseExited): Fetch
4550         MenuSelectionManager from event.
4551         (MenuDragMouseHandler.menuDragMouseReleased): Click on mouse
4552         release inside menu item, otherwise clear selection.
4553         (MenuInputHandler.mouseReleased): Avoid multiple calls to getX()
4554         and getY(). Call doClick() rather than the doClick() of JMenuItem.
4555         (doClick): Perform an immediate click.
4556
4557 2006-10-13  Thomas Fitzsimmons  <fitzsim@redhat.com>
4558
4559         * javax/swing/DefaultComboBoxModel.java (setSelectedItem): Simply
4560         return if object is not in the list.
4561
4562 2006-10-12  Andrew Haley  <aph@redhat.com>
4563
4564         * java/lang/InheritableThreadLocal.java: Rename NULL to sentinel.
4565         * java/lang/ThreadLocal.java: Likewise.
4566
4567 2006-10-12  Roman Kennke  <kennke@aicas.com>
4568
4569         PR 27956
4570         * javax/swing/JSlider.java
4571         (LabelUIResource): New inner class. A JLabel as UIResource.
4572         (createStandardLabels): Don't set label bounds here.
4573         Create LabelUIResource instances.
4574         (setInverted): Repaint.
4575         (setLabelTable): Update the label UIs. Revalidate and repaint.
4576         (setMajorTickSpacing): Update the label table. Repaint if
4577         necessary.
4578         (setMinorTickSpacing): Repaint if necessary.
4579         (setOrientation): Revalidate.
4580         (setPaintLabels): Revalidate and repaint.
4581         (setPaintTicks): Revalidate and repaint.
4582         (setPaintTrack): Repaint.
4583         (updateLabelUIs): Set the label sizes here.
4584         (updateUI): Also update the label UIs.
4585         * javax/swing/plaf/basic/BasicSliderUI.java
4586         (ComponentHandler.componentResized): Don't revalidate.
4587         (FocusHandler.focusGained): Don't set field.
4588         (FocusHandler.focusLost): Don't set field.
4589         (PropertyChangeHandler.propertyChange): Calculate geometry
4590         and repaint for a couple more properties.
4591         (TrackListener.mouseReleased): Repaint.
4592         (hasFocus): Removed unneeded field.
4593         (calculateContentRect): No need to check for content size < 0.
4594         (calculateFocusRect): Use insets from insetCache.
4595         (calculateLabelRect): Fixed calculation of label rectangle.
4596         It is relative to the tick rectangle, rather than the content
4597         rectangle.
4598         (calculateTickRect): Small restructuring to avoid unnecessary
4599         comparisons.
4600         (calculateTrackRect): Fixed calculation of track rectangle.
4601         (getMaximumSize): Fixed. Fetch preferred size and set
4602         the height of width to Short.MAX_VALUE.
4603         (getMinimumHorizontalSize): Fixed to return UIManager value.
4604         (getMinimumVerticalSize): Fixed to return UIManager value.
4605         (getPreferredHorizontalSize): Fixed to return UIManager value.
4606         (getPreferredVerticalSize): Fixed to return UIManager value.
4607         (getMinimumSize): Fixed to return the UIManager value plus
4608         insets added.
4609         (getPreferredSize): Fixed to return the UIManager value plus
4610         insets added.
4611         (getWidthOfWidestLabel): Restructured for more cleanness and
4612         efficiency.
4613         (hitClip): New helper method.
4614         (paintHorizontalLabel): Replaced by more efficient and clean
4615         implementation.
4616         (paintVerticalLabel): Replaced by more efficient and clean
4617         implementation.
4618         (paintLabels): Replaced by more efficient and clean
4619         implementation.
4620         (paint): Check if rectangles intersect with clip for maximum
4621         efficiency.
4622         (recalculateIfInsetsChanged): Fixed. This method should
4623         recalculate only when the insets changed.
4624         (setThumbLocation): Repaint with a reasonable clip.
4625         (xPositionForValue): Made more clean and efficient.
4626         (yPositionForValue): Made more clean and efficient.
4627         * javax/swing/plaf/basic/BasicLookAndFeel.java
4628         (initComponenDefaults): Added Slider.horizontalSize,
4629         Slider.verticalSize, Slider.minimumHorizontalSize and
4630         Slider.minimumVerticalSize properties.
4631         * javax/swing/plaf/metal/MetalSliderUI.java
4632         (getTickLength): Add 1 for horizontal sliders and 3 for
4633         vertical sliders.
4634         (paintMajorTickForHorizSlider): Fix colors. Fix line locations.
4635         (paintMinorTickForHorizSlider): Fix colors. Fix line locations.
4636         (paintMajorTickForVertSlider): Fix colors. Fix line locations.
4637         (paintMinorTickForVertSlider): Fix colors. Fix line locations.
4638
4639 2006-10-12  Roman Kennke  <kennke@aicas.com>
4640
4641         PR 28696
4642         * javax/swing/text/FlowView.java
4643         (FlowStrategy.layout): Preserve logical views from getting lost.
4644         (FlowStrategy.layoutRow): Fix line breaking.
4645         (FlowStrategy.adjustRow): Fix line breaking.
4646         (FlowStrategy.changedUpdate): Mark layout invalid, or repaint.
4647         (FlowStrategy.insertUpdate): Mark layout invalid, or repaint.
4648         (FlowStrategy.removeUpdate): Mark layout invalid, or repaint.
4649         (createView): Don't check index.
4650         (contains): New helper method.
4651         (reparent): New helper method.
4652         (layoutDirty): Removed unneeded field.
4653         (FlowView): Removed layoutDirty field init.
4654         (changedUpdate): Removed layoutDirty handling.
4655         (insertUpdate): Removed layoutDirty handling.
4656         (removeUpdate): Removed layoutDirty handling.
4657         (layout): Use isLayoutValid() rather than the layoutDirty field.
4658         * javax/swing/text/GlyphView.java
4659         (startOffset): Removed.
4660         (endOffset): Removed.
4661         (offset): New field.
4662         (length): New field.
4663         (GlyphView): Initialize new fields. Removed old fields.
4664         (createFragment): Create fragment with new relative offsets.
4665         (getEndOffset): Work with new relative offsets.
4666         (getStartOffset): Work with new relative offsets.
4667         * javax/swing/text/ParagraphView.java
4668         (Row.getStartOffset): Overidden to determine the minimum start
4669         offset from the children.
4670         (Row.getEndOffset): Overidden to determine the maximum end
4671         offset from the children.
4672         * javax/swing/text/html/BRView.java
4673         Make subclass of InlineView.
4674         (getBreakWeight): Fall back to super for Y_AXIS.
4675
4676 2006-10-12  Roman Kennke  <kennke@aicas.com>
4677
4678         PR 28733
4679         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
4680         (TabPaneLayout.normalizeTabRuns): Replaced algorithm with
4681         one that avoids faulty state that could cause division by zero
4682         error.
4683
4684 2006-10-12  Roman Kennke  <kennke@aicas.com>
4685
4686         PR 28057
4687         * javax/swing/plaf/basic/BasicRadioButtonUI.java
4688         (paint): Determine correct icon. Added support for HTML label.
4689         Added small optimizations.
4690         (getPreferredSize): Only consider the buttons iconTextGap, and
4691         only when the text is not null.
4692         * javax/swing/plaf/basic/BasicLookAndFeel.java
4693         (initComponentDefaults): Fetch border for RadioButton from
4694         BasicButtons.getRadioButtonBorder().
4695         * javax/swing/plaf/metal/MetalRadioButtonUI.java
4696         (paintFocus): Paint focus rectangle one pixel smaller.
4697
4698 2006-10-12  Roman Kennke  <kennke@aicas.com>
4699
4700         PR 29418
4701         * javax/swing/tree/AbstractLayoutCache.java
4702         (getNodeDimensions): Don't throw InternalError, but instead
4703         return null.
4704         (getRowsForPaths): Check for null here.
4705         (isFixedRowHeight): Returns true when rowHeight > 0.
4706         (setSelectionModel): Set this as the row mapper for the selection
4707         model.
4708         * javax/swing/tree/VariableHeightLayoutCache.java
4709         (NodeRecord.NodeRecord): Initialize bounds field.
4710         (getBounds): Simply return the bounds field.
4711         (row2Node): Changed to be an ArrayList.
4712         (RECT_CACHE): New field. Caches a Rectangle instance.
4713         (countRows): Added y parameter and return value. The method
4714         now takes the current y position as parameter, and returns
4715         the updated y position.
4716         (getBounds): Fixed to return the correct bounds.
4717         (getPathForRow): Replaced by fixed implementation.
4718         (getPreferredHeight): Replaced by more efficient implementation.
4719         This simply fetches the last node record and returns its lower
4720         bounds.
4721         (getPreferredWidth): Added null check.
4722         (getVisibleChildCount): Added null check.
4723         (getVisiblePathsFrom): Added null check.
4724         (setExpandedState): Also expand the ancestors of the node
4725         to be expanded.
4726         (setModel): Set dirty flag rather than updating for real.
4727         (setNodeDimensions): Overridden to set the dirty flag.
4728         (setRowHeight): Overridden to set the dirty flag.
4729         (update): Don't special case the root here, this is done now
4730         in countRows().
4731
4732 2006-10-12  Roman Kennke  <kennke@aicas.com>
4733
4734         * javax/swing/JComponent.java
4735         (paintImmediately2): Added support for components which need
4736         to force themselves as paint root.
4737         (isPaintRoot): New method. This should be overridden by components
4738         which need to force themselves as paint root.
4739         * javax/swing/JViewport.java
4740         (isPaintRoot): Overridden to force the viewport as paint root
4741         when running in backingstore mode.
4742
4743 2006-10-12  Roman Kennke  <kennke@aicas.com>
4744
4745         * javax/swing/tree/DefaultTreeSelectionModel.java
4746         (PathPlaceHolder): New inner class. Wraps a path and its status
4747         wrt to its newness.
4748         (selectedPaths): New field. A supporting datastructure.
4749         (tmpPaths): New field. A supporting datastructure.
4750         (DefaultTreeSelectionModel): Initialize the list selection model,
4751         the leadIndex and the supporting datastructures.
4752         (addPropertyChangeListener): Create changeSupport object lazily.
4753         (addSelectionPaths): Mostly rewritten to handle the different
4754         selection modes correctly.
4755         (addSelectionPath): Delegate to addSelectionPaths().
4756         (arePathsContiguous): Replaced with more efficient implementation
4757         using BitSet
4758         (canPathBeAdded): Removed unneeded method.
4759         (canPathsBeAdded): Replaced with more efficient implementation.
4760         (clearSelection): Create correct event. Clear the fields correctly,
4761         including the supporting datastructures.
4762         (clone): Also clone the supporting datastructures and nullify
4763         changeSupport field.
4764         (getMaxSelectionRow): Delegate to list selection model.
4765         (getMinSelectionRow): Delegate to list selection model.
4766         (getPath): Removed unneeded method.
4767         (getPropertyChangeListeners): Handle null changeSupport field
4768         correctly.
4769         (getRow): Handle null rowMapper field correctly.
4770         (getSelectionRows): Handle invisible rows correctly.
4771         (insureRowContinuity): Replaced by more efficient and correct
4772         implementation.
4773         (isRowSelected): Delegate to list selection model.
4774         (notifyPathChange): Made more efficient by use of PathPlaceHolder
4775         class.
4776         (removePropertyChangeListener): Handle null changeSupport field.
4777         (removeSelectionPaths): Mostly rewritten to handle the different
4778         selection modes correctly.
4779         (removeSelectionPath): Delegate to removeSelectionPaths().
4780         (resetRowSelection): Handle list selection model.
4781         (selectOne): Removed unneeded field.
4782         (setRowMapper): Reset the row selection.
4783         (setSelectionMode): Check for invalid mode and set to
4784         DISCONTINUOUS_TREE_SELECTION in this case. Fire property change.
4785         (setSelectionPaths): Mostly rewritten to handle the different
4786         selection modes correctly.
4787         (setSelectionPath): Delegate to setSelectionPaths().
4788         (updateLeadIndex): Made more efficient.
4789
4790 2006-10-11  Francis Kung  <fkung@redhat.com>
4791
4792         * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
4793         (buffer, locked): New fields.
4794         (constructors): Initialize new variables.
4795         (createBuffer): New method.
4796         (draw): Implement custom composites.
4797         (drawComposite): New method.
4798         (drawGlyphVector): Implement custom composites.
4799         (drawImage): Implement custom composites.
4800         (drawRenderedImage): Implement custom composites.
4801         (fill): Implement custom composites.
4802         (getBufferCM): New method.
4803         (getNativeCM): New method.
4804         (updateBufferedImage): Fix premultiplication.
4805         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
4806         (copy): Copy composite.
4807         (drawImage): Set background properly.
4808         (getBufferCM): New method.
4809         (setComposite): Reset alpha composite when using custom composite.
4810         * gnu/java/awt/peer/gtk/CairoSurface.java
4811         (cairoColorModel): New field.
4812         (nativeColorModel): Renamed.
4813         (constructor): Use renamed createCairoSampleModel method.
4814         (createCairoSampleModel): New method.
4815         (createNativeSampleModel): Renamed.
4816         (getBufferedImage): Use renamed cairoColorModel field.
4817         * gnu/java/awt/peer/gtk/GtkVolatileImage.java
4818         (gdkColorModel): New field.
4819         (createGdkSampleModel): New method.
4820         (getPixels): Added comments.
4821         (getSnapshot): Use GDK colour and sample models.
4822         * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
4823         (createBuffer): Use GDK colour and sample models.
4824         (getNativeCM): Added comments.
4825         * java/awt/image/BufferedImage.java
4826         (constructor): Set premultiplied flag properly.
4827         
4828 2006-10-11  Edwin Steiner  <edwin.steiner@gmx.net>
4829
4830         * native/jni/java-nio/gnu_java_nio_VMChannel.c
4831         (Java_gnu_java_nio_VMChannel_lock): Special case Long.MAX_VALUE.
4832
4833 2006-10-10  Francis Kung  <fkung@redhat.com>
4834
4835         PR 29372
4836         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
4837         (createPath): Added isDraw parameter.
4838         (draw): Updated createPath call.
4839         (fill): Updated createPath call.
4840
4841 2006-10-10  Tom Tromey  <tromey@redhat.com>
4842
4843         PR classpath/29362:
4844         * gnu/xml/transform/TransformerImpl.java (transform): Only strip if
4845         there is a stylesheet.
4846
4847 2006-10-10  Roman Kennke  <kennke@aicas.com>
4848
4849         * java/awt/Toolkit.java
4850         (getDefaultTookit): Make method synchronized to avoid
4851         accidentally creating more than one toolkits from different
4852         threads.
4853
4854 2006-10-10  Roman Kennke  <kennke@aicas.com>
4855
4856         * java/awt/LightweightDispatcher.java
4857         (handleMouseEvent): Redispatch MOUSE_WHEEL events too.
4858         (redispatch): Transfer the button to the redispatched event.
4859
4860 2006-10-10  Francis Kung  <fkung@redhat.com>
4861
4862         * java/awt/image/ColorModel.java (coerceData): Implemented.
4863
4864 2006-10-09  Christian Elias Naur  <elias@oddlabs.com>
4865
4866         * vm/reference/java/lang/VMClassLoader.java:
4867         (defineClassWithTransformers): Use proper class name format.
4868
4869 2006-10-09  Gary Benson  <gbenson@redhat.com>
4870
4871         * java/net/ServerSocket.java
4872         (implAccept): Add security check.
4873         (accept): Close socket if security check fails.
4874         (setSocketFactory): Add security check and already-set check.
4875
4876 2006-10-09  Roman Kennke  <kennke@aicas.com>
4877
4878         PR 29325
4879         * javax/swing/JSplitPane.java
4880         (dividerLocation): New field. Stores the divider location.
4881         (JSplitPane): Initialize dividerLocation with -1.
4882         (addImpl): Removed unneeded local variables.
4883         (getDividerLocation): Manage dividerLocation in the JSplitPane
4884         class, not in the UI.
4885         (setDividerLocation): Manage dividerLocation in the JSplitPane
4886         class, not in the UI. Only call the UI method for notification.
4887         * javax/swing/plaf/basic/BasicSplitPaneUI.java
4888         (BasicHorizontalLayoutManager.layoutContainer): Fetch divider
4889         location from the JSplitPane. Honour the minimumSize, but only
4890         if the divider location hasn't been set explicitly.
4891         (BasicHorizontalLayoutManager.minimumLayoutSize): Removed unneeded
4892         statement.
4893         (BasicHorizontalLayoutManager.preferredLayoutSize): Removed unneeded
4894         statement.
4895         (BasicHorizontalLayoutManager.resetToPreferredSizes): Don't touch
4896         the divider location.
4897         (dividerLocationSet): New field.
4898         (dividerLocation): Removed field.
4899         (createActionMap): Fetch and set divider location on the JSplitPane.
4900         (getDividerLocation): Return the actual real divider location.
4901         (getMaximumSize): Removed unneeded cast.
4902         (getPreferredSize): Removed unneeded cast.
4903         (getMinimumSize): Removed unneeded cast.
4904         (installUI): Initialize dividerLocationSet with false.
4905         (uninstallUI): Initialize dividerLocationSet with false.
4906         (setDividerLocation): Set dividerLocationSet to true.
4907
4908 2006-10-09  Robert Schuster  <robertschuster@fsfe.org>
4909
4910         * native/jni/java-net/gnu_java_net/VMPlainSocketImpl.c:
4911         (Java_gnu_java_net_VMPlainSocketImpl_joinGroup): Properly
4912         convert jstring into char *.
4913         (Java_gnu_java_net_VMPlainSocketImpl_joinGroup6): Dito.
4914         (Java_gnu_java_net_VMPlainSocketImpl_leaveGroup): Dito.
4915         (Java_gnu_java_net_VMPlainSocketImpl_leaveGroup6): Dito.
4916         (getif_address): Added const modifier to second argument.
4917         (getif_index): Dito.
4918
4919 2006-10-09  Roman Kennke  <kennke@aicas.com>
4920
4921         * javax/swing/JTree.java
4922         (isSelected): Added API docs.
4923
4924 2006-10-09  Roman Kennke  <kennke@aicas.com>
4925
4926         * javax/swing/JTree.java
4927         (isSelected): Delegate to the selection model directly.
4928
4929 2006-10-09  Robert Schuster  <robertschuster@fsfe.org>
4930
4931         * gnu/java/nio/KqueueSelectorImpl.java: Renamed field
4932         sizeof_struct_kevent to _sizeof_struct_kevent.
4933
4934 2006-10-07  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
4935
4936         * tools/gnu/classpath/tools/rmic/RMICException.java:
4937         javadoc corrections, reformatted.
4938
4939 2006-10-07  Christian Elias Naur  <elias@oddlabs.com>
4940
4941         * gnu/java/lang/InstrumentationImpl.java:
4942         Made constructor package visible.
4943
4944 2006-10-05  Gary Benson  <gbenson@redhat.com>
4945
4946         * java/net/Socket.java
4947         (Socket): Perform security check on address not hostname.
4948
4949 2006-10-04  Roman Kennke  <kennke@aicas.com>
4950
4951         * javax/swing/tree/VariableHeightLayoutCache.java
4952         (getBounds): When rect is null, create a new Rectangle.
4953
4954 2006-10-04  Christian Thalinger  <twisti@complang.tuwien.ac.at>
4955
4956         * native/jni/java-nio/javanio.c (cpnio_read, cpnio_readv)
4957         (cpnio_write, cpnio_writev, cpnio_socket, cpnio_connect)
4958         (cpnio_accept, cpnio_sendto, cpnio_recvfrom, cpnio_fcntl)
4959         (cpnio_select): Use CPNIO_EXPORT.
4960         * native/jni/java-nio/javanio.h (CPNIO_EXPORT): Define to static
4961         inline instead of extern inline, as newer GCCs changed their
4962         behavior.
4963
4964 2006-10-04  Gary Benson  <gbenson@redhat.com>
4965
4966         * java/net/InetAddress.java: Updated javadoc.
4967         (<clinit>, getByLiteral): Throw InternalError on failures.
4968
4969 2006-10-03  Francis Kung  <fkung@redhat.com>
4970
4971         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
4972         (compCtx): New field for composite context.
4973         (copy): Copy composite.
4974         (dispose): Dispose of composite context.
4975         (getNativeCM): New method.
4976         (setComposite): Discard old composite context and set up new context.
4977         (setRenderingHints): Update composite context.
4978         * gnu/java/awt/peer/gtk/CairoSurface.java
4979         (nativeColorModel): New field, renamed from nativeModel.
4980         (nativeModel): Renamed field to nativeColorModel.
4981         (CairoSurface(int, int)): Call new method to create sample model.
4982         (createNativeSampleModel): New method.
4983         (getBufferedImage): Updated variable name.
4984         * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
4985         (buffer): New field.
4986         (createBuffer): New method.
4987         (draw): New method.
4988         (drawComposite): New method.
4989         (drawGlyphVector): New method.
4990         (drawImage(Image, AffineTransform, Color, ImageObserver)): New method.
4991         (drawImage(Image, int, int, ImageObserver)): Check composite.
4992         (drawImage(Image, int, int, int, int, ImageObserver)): Check composite.
4993         (fill): New method.
4994         (getNativeCM): New method.
4995         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c
4996         (Java_gnu_java_awt_peer_gtk_GtkVolatileImage_nativeGetPixels): Use 
4997         intermediary pixbuf to grab on-screen pixels.
4998
4999 2006-10-03  Tom Tromey  <tromey@redhat.com>
5000
5001         PR classpath/28987:
5002         * java/util/IdentityHashMap.java (tombstone): Removed.
5003         (emptyslot): Removed.
5004         (nullslot): New field.
5005         (IdentityHashMap): Don't fill array.
5006         (clear): Fill with null.
5007         (hash): Now final.  Use linear probing.
5008         (xform): New method.
5009         (unxform): Likewise.
5010         (removeAtIndex): Likewise.
5011         (clone, containsKey, containsValue, entrySet, get, hashCode,
5012         keySet, put, remove, values): Updated.
5013         (IdentityIterator, IdentityEntry): Likewise.
5014         (writeObject): Likewise.
5015
5016 2006-10-03  Tom Tromey  <tromey@redhat.com>
5017
5018         * java/util/Locale.java (hashcode): Updated javadoc.
5019         (hashcodeCache): Removed.
5020         (Locale): Updated.
5021         (hashCode): Updated.
5022         (writeObject): New method.
5023         (readObject): Updated.
5024
5025 2006-10-02  Francis Kung  <fkung@redhat.com>
5026
5027         * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
5028         (updateBufferedImage): Recognise that raw data is alpha-premultiplied.
5029         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
5030         (clearRect): Paint background colour with AlphaComposite.SRC rule.
5031         (drawImage(Image, AffineTransform, Color, ImageObserver)): Alpha
5032         pre-multiply data before drawing.
5033         (fillRect): Draw using regular fill() method.
5034         (setComposite): Handle null case with AlphaComposite.SrcOver default.
5035         * gnu/java/awt/peer/gtk/CairoSurface.java
5036         (nativeModel): Use correct value for alpha premultiplication (true).
5037         * java/awt/image/BufferedImage.java
5038         (coerceData): Update isPremultiplied field.
5039
5040 2006-10-02  Andrew John Hughes  <gnu_andrew@member.fsf.org>
5041
5042         * gnu/classpath/ListenerData.java:
5043         New class for holding listener data.
5044         * gnu/java/lang/management/MemoryMXBeanImpl.java:
5045         ListenerData class moved to its own file.
5046         * javax/management/MBeanServerDelegate.java,
5047         * javax/management/MBeanServerDelegateMBean.java,
5048         * javax/management/MBeanServerNotification.java:
5049         Implemented.
5050
5051 2006-10-02  Tania Bento  <tbento@redhat.com>
5052
5053         * java/ast/Rectangle.java:
5054         (Rectangle(Rectangle)): Do not throw NPE.
5055         (Rectangle(Point, Dimension)): Same.
5056         (Rectangle(Point)): Same.
5057         (Rectangle(Dimension)): Same.
5058
5059 2006-09-29  Casey Marshall  <csm@gnu.org>
5060
5061         PR 29190
5062         * gnu/java/nio/EpollSelectionKeyImpl.java: extend
5063         `AbstractSelectionKey.'
5064         (cancel, isValid): removed.
5065         * gnu/java/nio/EpollSelectorImpl.java (cancelledKeys): removed.
5066         (events): new field.
5067         (INITIAL_CAPACITY, MAX_DOUBLING_CAPACITY, CAPACITY_INCREMENT): new
5068         fields.
5069         (<clinit>): initialize those constants.
5070         (<init>): don't initialize `cancelledKeys;' initialize `events.'
5071         (doSelect): deregister cancelled keys; remove keys attached to
5072         closed channels; wrap `epoll_wait' in `begin' and `end' calls; use
5073         `events' buffer; reallocate `events' buffer if needed.
5074         (register): reallocate `events' buffer if needed.
5075         (reallocateBuffer): new method.
5076         (cancel): removed.
5077
5078 2006-09-29  Roman Kennke  <kennke@aicas.com>
5079
5080         PR 28929
5081         * javax/swing/JViewport.java
5082         (cinit): Renamed system property to gnu.swing.scrollmode
5083         to avoid bloat. Default to BACKINGSTORE, this is much
5084         more reliable.
5085         (repaint): Forward repaint() to parent as is specified.
5086
5087 2006-09-29  Tania Bento  <tbento@redhat.com>
5088
5089         * javax/swing/plaf/basic/BasicTableUI.java
5090         (getPreferredSize): The number of iterations for the for-loop should be
5091         the number of columns in the table's column model, not the number of
5092         columns of the table.
5093         * javax/swing/JTable.java
5094         (JTable(TableModel, TableColumnModel, ListSelectionModel): Removed 4
5095         lines that are not needed.
5096         (initializeLocalVars): dragEnabled should be set to false, not true.
5097         (getCellRenderer): Added a check to prevent an
5098         ArrayIndexOutOfBoundsException.
5099         (doLayout): The number of iterations for the for-loops should be the
5100         number of columns in the table's column model, not the number of columns
5101         of the table.
5102
5103 2006-09-29  Roman Kennke  <kennke@aicas.com>
5104
5105         * gnu/java/awt/java2d/AbstractGraphics2D.java: Updated
5106         API docs.
5107         (isOptimized): Initialize with true.
5108         (paintRaster): Removed unneeded field.
5109         (shapeCache): New static field. Caches certain shapes for reuse.
5110         (computeIntersection): Removed unneeded casts.
5111         (drawArc): Use shape cache.
5112         (drawImage): Removed unneeded statement.
5113         (drawLine): Use shape cache. Pass untranslated coordinates
5114         to rawDrawLine().
5115         (drawOval): Use shape cache.
5116         (drawPolygon): Use shape cache.
5117         (drawRect): Overridden to provide accelerated rectangle drawing
5118         if possible and to use the shape cache.
5119         (drawRoundRect): Use shape cache.
5120         (fillArc): Use shape cache.
5121         (fillOval): Use shape cache.
5122         (fillPolygon): Use shape cache.
5123         (fillRect): Pass untranslated coordinates to rawFillRect().
5124         Use shape cache.
5125         (fillRoundRect): Use shape cache.
5126         (fillScanlineAA): Removed unneeded statement.
5127         (fillScanline): Updated API docs.
5128         (fillShapeAntialias): Removed unnecessary cast.
5129         (fillShapeImpl): Update API docs. Removed unnecessary cast.
5130         (fillShape): Updated API docs.
5131         (getShapeCache): New helper method.
5132         * gnu/java/awt/java2d/ShapeCache.java: New class. Caches
5133         certain shapes for reuse in AbstractGraphics2D.
5134
5135 2006-09-28  Andrew John Hughes  <gnu_andrew@member.fsf.org>
5136
5137         * javax/management/BadBinaryOpValueExpException.java:
5138         (getExp()): Implemented.
5139         * javax/management/MBeanConnection.java:
5140         Renamed to MBeanServerConnection.
5141         * javax/management/MBeanServer.java:
5142         (setAttribute(Attribute)): Fixed...
5143         (setAttribute(ObjectName,Attribute)): to this.
5144         * javax/management/MBeanServerConnection.java:
5145         Renamed from MBeanConnection.
5146         * javax/management/QueryExp.java:
5147         Extend Serializable.
5148         * javax/management/ValueExp.java:
5149         Likewise.
5150         * javax/management/loading/ClassLoaderRepository.java:
5151         (loadClass(String)): Throw ClassNotFoundException.
5152         (loadClassBefore(ClassLoader,String)): Likewise.
5153         (loadClassWithout(String, ClassLoader): Fixed...
5154         (loadClassWithout(ClassLoader,String)): to this.
5155         
5156 2006-09-28  Roman Kennke  <kennke@aicas.com>
5157
5158         * javax/swing/tree/DefaultTreeCellRenderer.java
5159         (DefaultTreeCellRenderer): Fetch drawsFocusBorderAroundIcon
5160         property from UIManager.
5161         (paint): Rewritten to use super's implementation and only paint
5162         background and focus indicator before.
5163         (paintFocus): New helper method.
5164         (getXOffset): New helper method.
5165
5166 2006-09-28  Andrew John Hughes  <gnu_andrew@member.fsf.org>
5167         
5168         * javax/management/BadBinaryOpValueExpException.java,
5169         * javax/management/MBeanConnection.java,
5170         * javax/management/MBeanServer.java,
5171         * javax/management/ObjectInstance.java:
5172         Implemented.
5173         * javax/management/ObjectName.java:
5174         (setMBeanServer(MBeanServer)): Implemented.
5175         * javax/management/QueryExp.java,
5176         * javax/management/ValueExp.java,
5177         * javax/management/loading/ClassLoaderRepository.java:
5178         Implemented.
5179
5180 2006-09-27  Robert Schuster  <robertschuster@fsfe.org>
5181
5182         * gnu/java/nio/VMChannelOwner.java: Removed unneeded imports.
5183
5184 2006-09-27  Robert Schuster  <robertschuster@fsfe.org>
5185
5186         * vm/reference/gnu/java/nio/VMChannel.java: Removed unneeded imports.
5187         * vm/reference/gnu/java/nio/VMPipe.java: Removed unneeded imports.
5188         * gnu/java/nio/EpollSelectorImpl.java:
5189         (doSelect): Use Integer.valueOf() instead of constructor call.
5190         (register): Use Integer.valueOf() instead of constructor call.
5191
5192 2006-09-27  Roman Kennke  <kennke@aicas.com>
5193
5194         * java/awt/Container.java
5195         (addContainerListener): Activate newEventsOnly for the component.
5196         Ignore null listeners.
5197
5198 2006-09-27  Roman Kennke  <kennke@aicas.com>
5199
5200         * java/awt/EventQueue.java
5201         (Queue): New inner class. Implements the actual queue.
5202         (LOW_PRIORITY): New constant field.
5203         (NORM_PRIORITY): New constant field.
5204         (queueHead): Removed. Moved into Queue.
5205         (queueTail): Removed. Moved into Queue.
5206         (queues): New field.
5207         (EventQueue): Initialize two internal queues, one for
5208         normal events, one for low priority events.
5209         (getNextEventImpl): New helper method, fetches the next event.
5210         (getNextEvent): Use getNextEventImpl() for fetching the event.
5211         (peekEvent): Use getNextEventImpl() for fetching the event.
5212         (peekEvent(int)): Search for event in all queues.
5213         (postEventImpl(AWTEvent)): Moved actual posting into
5214         postEventImpl(AWTEvent,int). Prioritize events here.
5215         (postEventImpl(AWTEvent,int)): Take priority parameter and insert
5216         event into correct queue. Re-enable event coalescing.
5217         * gnu/java/awt/LowPriorityEvent.java: New marker interface.
5218         * javax/swing/RepaintManager.java
5219         (RepaintWorkerEvent): New internal class. This is a low priority
5220         event for the repaint worker.
5221         (addDirtyRegion): Use new internal invokeLater() for sending
5222         a low priority event.
5223         (addInvalidComponent): Use new internal invokeLater() for sending
5224         a low priority event.
5225         (commitBuffer): Added some null checks.
5226         (invokeLater): New helper method. Sends a low priority
5227         repaint worker event on the event queue.
5228
5229 2006-09-27  Roman Kennke  <kennke@aicas.com>
5230
5231         PR 29036
5232         PR 29161
5233         * javax/swing/plaf/basic/BasicButtonUI.java
5234         (cachedInsets): New field.
5235         (installListeners): Fire synthetic property change to initialize
5236         TEXT_LAYOUT_CACHE for the button because the font has been
5237         installed before.
5238         (uninstallUI): Clear the TEXT_LAYOUT_CACHE for the button.
5239         (paint): Use cached insets.
5240         (paintText): Let new method forward to old one, not vice versa.
5241         * javax/swing/plaf/basic/BasicMenuItemUI.java
5242         (defaultAcceleratorLabelGap): Removed unused field.
5243         (MenuGap): Removed unused field.
5244         (propertyChangeListener): Made private.
5245         (getAcceleratorRect): Removed unused method.
5246         (getAcceleratorText): Removed unused method.
5247         (getPath): Removed unnecessary cast.
5248         (installListeners): Fire synthetic property change to initialize
5249         TEXT_LAYOUT_CACHE for the button because the font has been
5250         installed before.
5251         (uninstallUI): Clear the TEXT_LAYOUT_CACHE for the button.
5252         (layoutMenuItem): Removed unused statements.
5253         
5254 2006-09-27  Roman Kennke  <kennke@aicas.com>
5255
5256         PR 29218
5257         * javax/swing/tree/DefaultTreeModel.java
5258         (isLeaf): Check if the node allows children when
5259         asksAllowsChildren is true, otherwise fall back
5260         to return the node's leaf property.
5261
5262 2006-09-27  Mario Torre  <neugens@limasoftware.net>
5263
5264         * scripts/check_jni_methods.sh: removed methods from the
5265         ignore list:
5266         Java_gnu_java_util_prefs_gconf_GConfNativePeer_finalize_1class
5267         Java_gnu_java_util_prefs_gconf_GConfNativePeer_init_1id_1cache
5268         Java_gnu_java_util_prefs_gconf_GConfNativePeer_init_1class
5269         Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1escape_1key
5270         Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1unescape_1key
5271         * native/jni/gconf-peer/GConfNativePeer.c: fixed coding style
5272         to better follow the GNU style.
5273         * include/gnu_java_util_prefs_gconf_GConfNativePeer.h.
5274         regenerated header file for GConfNativePeer.
5275
5276 2006-09-27  Robert Schuster  <robertschuster@fsfe.org>
5277
5278         * INSTALL: Added information about grmic being built when ASM
5279         is available, added information about gconf dependency, indented
5280         Qt4 dependency section.
5281         * configure.ac: Added information about grmic being built when ASM
5282         is available.
5283
5284 2006-09-27  Ian Rogers  <ian.rogers@manchester.ac.uk>
5285
5286         * native/jni/classpath/jcl.c (JNI_OnLoad): Don't call
5287         DeleteGlobalRef on a local ref.
5288
5289 2006-09-24  Mario Torre  <neugens@limasoftware.net>
5290
5291         * scripts/check_jni_methods.sh: added two new methods in the
5292         ignore list:
5293         Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1escape_1key
5294         and
5295         Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1unescape_1key
5296         * native/jni/gconf-peer/GConfNativePeer.c:
5297         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1all_1keys):
5298         refacored method name, renamed from
5299         Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1gconf_1client_1all_1keys.
5300         Added code to unescape escaped GConf key names.
5301         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1all_1nodes):
5302         refacored method name, renamed from
5303         Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1gconf_1client_1all_1nodes.
5304         Added code to unescape escaped GConf key names.
5305         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1escape_1key):
5306         new function.
5307         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1unescape_1key):
5308         new function.
5309         * gnu/java/util/prefs/gconf/GConfNativePeer.java: removed
5310         version javadoc tag.
5311         (escapeString): new method.
5312         (unescapeString): likewise.
5313         (gconf_escape_key): new native method.
5314         (gconf_unescape_key): likewise.
5315         (gconf_client_suggest_sync): update native method signature, now
5316         explicity throws BackingStoreException.
5317         (gconf_client_all_nodes): update native method signature, now
5318         explicity throws BackingStoreException. Refactored method name,
5319         renamed from gconf_client_gconf_client_all_nodes.
5320         (gconf_client_all_keys): update native method signature, now
5321         explicity throws BackingStoreException. Refactored method name,
5322         renamed from gconf_client_gconf_client_all_keys.
5323         (getKeys): refactored to use the new method name
5324         gconf_client_all_keys.
5325         (getChildrenNodes): refactored to use the new method name
5326         gconf_client_all_nodes.
5327         * gnu/java/util/prefs/GConfBasedPreferences.java: removed
5328         version javadoc tag.
5329         (GConfBasedPreferences): Added code to escape node names from
5330         invalid characters so that GConf now accept invalid node names.
5331         (GConfBasedPreferences): Moved code to register the current
5332         node to the list of nodes watched by GConf outside the constructor.
5333         (childSpi): Added code to register the current node to the
5334         list of nodes watched by GConf.
5335         (getGConfKey): Added code to escape key names from
5336         invalid characters so that GConf now accept invalid key names.
5337
5338 2006-09-26  Tom Tromey  <tromey@redhat.com>
5339
5340         * tools/gnu/classpath/tools/javah/Printer.java (Printer): Don't
5341         call mkdirs in output-directory case.
5342         (getPrintStream): Create output directory.
5343         * tools/gnu/classpath/tools/javah/Main.java (makeOutputDirectory):
5344         Don't call mkdirs.
5345
5346 2006-09-27  Raif S. Naffah  <raif@swiftdsl.com.au>
5347
5348         * tools/gnu/classpath/tools/javah/CniIncludePrinter.java (CniIncludePrinter):
5349         Accept three additional arguments.
5350         (writePreambleImpl): New method.
5351         (getPrintStreamImpl): Likewise.
5352         (printClass): Adapted to use new methods in Printer superclass.
5353         * tools/gnu/classpath/tools/javah/CniStubPrinter.java: Likewise.
5354         * tools/gnu/classpath/tools/javah/JniIncludePrinter.java: Likewise.
5355         * tools/gnu/classpath/tools/javah/JniStubPrinter.java: Likewise.
5356         * tools/gnu/classpath/tools/javah/Main.java (outFileName): New field.
5357         (force): Likewise.
5358         (getParser): Add support for -o option.
5359         Check that only one of -d or -o is defined.
5360         Add support for -jni option.
5361         Add support for -force option.
5362         (makeOutputFile): New method.
5363         (writeHeaders): Removed File argument from signature.
5364         (run): Take into account newly added fields.
5365         Invoke concrete PrintStream implementations with augmented constructors.
5366         * tools/gnu/classpath/tools/javah/Printer.java (outputFileObject): New field.
5367         (isDirectory): Likewise.
5368         (force): Likewise.
5369         (wrotePreamble): Likewise.
5370         (Printer): Changed ctor to accept three additional arguments.
5371         (printClass): Changed signature to accept one ClassWrapper argument.
5372         (writePreambleImpl): New abstract method.
5373         (getPrintStreamImpl): Likewise.
5374         (getPrintStream): New method.
5375         (writePreamble): Likewise.
5376
5377 2006-09-26  Tania Bento  <tbento@redhat.com>
5378
5379         * java/awt/GridLayout.java
5380         (toString): There is no common before hgap.
5381         * java/awt/Rectangle.java
5382         (Rectangle(Rectangle)): Throw NPE if Rectangle is null.
5383         (Rectangle(Point, Rectangle)): Throw NPE if either Point or 
5384         Rectangle is null.
5385         (Rectangle(Point)): Throw NPE if Point is null.
5386         (Rectangle(Dimension)): Throw NPE if Dimension is null.
5387
5388 2006-09-26  David Gilbert  <david.gilbert@object-refinery.com>
5389
5390         * javax/swing/plaf/metal/MetalIconFactory.java
5391         (FileIcon16.paintIcon): Apply vertical shift by the number of pixels
5392         returned by getShift(),
5393         (FileIcon16.getShift): Updated API docs,
5394         (FolderIcon16.paintIcon): Apply vertical shift by the number of pixels
5395         returned by getShift(),
5396         (FolderIcon16.getShift): Updated API docs,
5397         (TreeFolderIcon.getShift): Likewise,
5398         (TreeLeafIcon.getShift): Likewise.
5399
5400 2006-09-26  David Gilbert  <david.gilbert@object-refinery.com>
5401
5402         * javax/swing/plaf/metal/MetalIconFactory.java
5403         (FileIcon16.paintIcon): Fetch colors from look and feel,
5404         (FolderIcon16.paintIcon): Likewise.
5405
5406 2006-09-25  Casey Marshall  <csm@gnu.org>
5407
5408         * gnu/java/nio/FileChannelImpl.java (read): revert back to using
5409         `readScattering.'
5410         (write): revert back to using `writeGathering.'
5411         * vm/reference/gnu/java/nio/VMChannel.java (writeGathering): find
5412         the first buffer that has data remaining, and start at that one.
5413
5414 2006-09-25  Tom Tromey  <tromey@redhat.com>
5415
5416         * native/jni/gconf-peer/Makefile.am (libgconfpeer_la_LDFLAGS): New
5417         variable.
5418
5419 2006-09-25  Tom Tromey  <tromey@redhat.com>
5420
5421         * tools/.cvsignore: Updated.
5422
5423 2006-09-25  Tom Tromey  <tromey@redhat.com>
5424
5425         PR libgcj/29178:
5426         * gnu/java/nio/charset/US_ASCII.java (Encoder.canEncode): New method.
5427         (Encoder.canEncode): Likewise.
5428         (Encoder.encodeLoop): Return unmappable for all non-ASCII characters.
5429         * gnu/java/nio/charset/ByteCharset.java (Encoder.canEncode): New
5430         method.
5431         (Encoder.canEncode): Likewise.
5432         * gnu/java/nio/charset/ISO_8859_1.java (Encoder.canEncode): New
5433         method.
5434         (Encoder.canEncode): Likewise.
5435
5436 2006-09-25  Tom Tromey  <tromey@redhat.com>
5437
5438         * native/fdlibm/mprec.c (mprec_calloc): Renamed.
5439         (Balloc): Updated.
5440
5441 2006-09-25  Francis Kung  <fkung@redhat.com>
5442
5443         * java/awt/image/ColorModel.java
5444         (coerceData): Made abstract.
5445         (coerceDataWorker): New protected method.
5446         * java/awt/image/ComponentColorModel.java
5447         (coerceData): Return new instance of proper ColorModel.
5448         * java/awt/image/DirectColorModel.java
5449         (coerceData): Return new instance of proper ColorModel.
5450         * java/awt/image/IndexColorModel.java
5451         (coerceData): New method.
5452
5453 2006-09-24  Casey Marshall  <csm@gnu.org>
5454
5455         * gnu/java/nio/FileChannelImpl.java
5456         (read): call `read' in a loop, don't use `readScattering.'
5457         (write): call `write' in a loop, don't use `writeGathering.'
5458
5459 2006-09-24  Mark Wielaard  <mark@klomp.org>
5460
5461         * configure.ac: Move -pedantic from WARNING to STRICT flags.
5462
5463 2006-09-24  Jeroen Frijters  <jeroen@frijters.net>
5464
5465         * java/nio/channels/spi/AbstractSelectableChannel.java
5466         (register): Set interestOps and attachment when the key already
5467         exists.
5468
5469 2006-09-24  Jeroen Frijters  <jeroen@frijters.net>
5470
5471         * java/net/ServerSocket.java
5472         (bind(SocketAddress,int)): Added support for null address.
5473         Throw proper exception if already bound.
5474         Handle unresolved addresses correctly. Ignore exceptions that
5475         happen during close in error path (to prevent losing the original
5476         exception.)
5477
5478 2006-09-24  Mark Wielaard  <mark@klomp.org>
5479
5480         Suggested by Aaron M. Ucko <ucko@debian.org>
5481         Fixes bug #29203
5482         * native/fdlibm/mprec.c (ulp): Define L as int32_t.
5483
5484 2006-09-24  Jeroen Frijters  <jeroen@frijters.net>
5485
5486         * java/nio/channels/spi/AbstractSelectableChannel.java
5487         (implCloseChannel): Cancel all keys after closing the channel.
5488
5489 2006-09-22  Casey Marshall  <csm@gnu.org>
5490
5491         * gnu/java/nio/EpollSelectorImpl.java (doSelect): remove keys
5492         after we delete them.
5493         (selectedKeys): return an empty set if nothing's been selected.
5494         * native/jni/java-nio/gnu_java_nio_EpollSelectorImpl.c
5495         (Java_gnu_java_nio_EpollSelectorImpl_epoll_1delete): don't
5496         throw an exception on EBADF.
5497         (Java_gnu_java_nio_EpollSelectorImpl_epoll_1wait): don't
5498         throw exception on EINTR, just return 0.
5499         
5500 2006-09-22  Casey Marshall  <csm@gnu.org>
5501
5502         * native/jni/java-io/java_io_VMFile.c (Java_java_io_VMFile_list):
5503         remove `const' from `filename.'
5504         * native/jni/native-lib/cpio.c (cpio_readDir): remove `const' from
5505         `filename.'
5506         * native/jni/native-lib/cpio.h (cpio_readDir): likewise.
5507
5508 2006-09-22  Casey Marshall  <csm@gnu.org>
5509
5510         * configure.ac (AC_CHECK_FUNCS): check for `readdir_r.'
5511         * native/jni/java-io/java_io_VMFile.c (Java_java_io_VMFile_list):
5512         allocate `filename,' and handle changes to `cpio_readDir.'
5513         * native/jni/native-lib/cpio.c (cpio_readDir): use `readdir_r' if
5514         available; copy the filename into the destination buffer; return
5515         an error code if readdir returns NULL, but errno is 0.
5516         * native/jni/native-lib/cpio.h (cpio_readDir): change second
5517         parameter to `const char *.'
5518
5519 2006-09-23  Andrew John Hughes  <gnu_andrew@member.fsf.org>
5520
5521         * javax/management/ObjectName.java:
5522         Implemented.
5523         
5524 2006-09-22  Thomas Fitzsimmons  <fitzsim@redhat.com>
5525
5526         * resource/gnu/classpath/tools/orbd: New directory.
5527         * resource/gnu/classpath/tools/rmic: Likewise.
5528         * resource/gnu/classpath/tools/rmid: Likewise.
5529         * resource/gnu/classpath/tools/rmiregistry: Likewise.
5530         * resource/gnu/classpath/tools/tnameserv: Likewise.
5531         * tools/gnu/classpath/tools/giop: Move contents to...
5532         * tools/gnu/classpath/tools/orbd,
5533         tools/gnu/classpath/tools/tnameserv: New directories.
5534         * tools/gnu/classpath/tools/rmi/rmic: Move contents to...
5535         * tools/gnu/classpath/tools/rmic: New directory.
5536         * tools/gnu/classpath/tools/rmi/rmid: Move contents to...
5537         * tools/gnu/classpath/tools/rmid: New directory.
5538         * tools/gnu/classpath/tools/rmi/registry: Move contents to...
5539         * tools/gnu/classpath/tools/rmiregistry: New directory.
5540         * resource/gnu/classpath/tools/orbd/messages.properties: New file.
5541         * resource/gnu/classpath/tools/rmic/messages.properties: Likewise.
5542         * resource/gnu/classpath/tools/rmid/messages.properties: Likewise.
5543         * resource/gnu/classpath/tools/rmiregistry/messages.properties:
5544         Likewise.
5545         * resource/gnu/classpath/tools/tnameserv/messages.properties:
5546         Likewise.
5547         * tools/gnu/classpath/tools/orbd/Main.java,
5548         tools/gnu/classpath/tools/orbd/Messages.java,
5549         tools/gnu/classpath/tools/orbd/PersistentContext.java,
5550         tools/gnu/classpath/tools/orbd/PersistentContextMap.java,
5551         tools/gnu/classpath/tools/orbd/PersistentMap.java,
5552         tools/gnu/classpath/tools/rmic/AbstractMethodGenerator.java,
5553         tools/gnu/classpath/tools/rmic/CompilationError.java,
5554         tools/gnu/classpath/tools/rmic/Generator.java,
5555         tools/gnu/classpath/tools/rmic/GiopIo.java,
5556         tools/gnu/classpath/tools/rmic/HashFinder.java,
5557         tools/gnu/classpath/tools/rmic/Main.java,
5558         tools/gnu/classpath/tools/rmic/Messages.java,
5559         tools/gnu/classpath/tools/rmic/MethodGenerator.java,
5560         tools/gnu/classpath/tools/rmic/RMICException.java,
5561         tools/gnu/classpath/tools/rmic/RmiMethodGenerator.java,
5562         tools/gnu/classpath/tools/rmic/RmicBackend.java,
5563         tools/gnu/classpath/tools/rmic/SourceGiopRmicCompiler.java,
5564         tools/gnu/classpath/tools/rmic/SourceRmicCompiler.java,
5565         tools/gnu/classpath/tools/rmic/Variables.java,
5566         tools/gnu/classpath/tools/rmic/WrapUnWrapper.java,
5567         tools/gnu/classpath/tools/rmic/templates,
5568         tools/gnu/classpath/tools/rmid/ActivationSystemImpl.java,
5569         tools/gnu/classpath/tools/rmid/ActivationSystemImpl_Stub.java,
5570         tools/gnu/classpath/tools/rmid/Main.java,
5571         tools/gnu/classpath/tools/rmid/Messages.java,
5572         tools/gnu/classpath/tools/rmid/PersistentBidiHashTable.java,
5573         tools/gnu/classpath/tools/rmiregistry/Main.java,
5574         tools/gnu/classpath/tools/rmiregistry/Messages.java,
5575         tools/gnu/classpath/tools/rmiregistry/PersistentHashTable.java,
5576         tools/gnu/classpath/tools/rmiregistry/RegistryImpl.java,
5577         tools/gnu/classpath/tools/rmiregistry/RegistryImpl_Skel.java,
5578         tools/gnu/classpath/tools/rmiregistry/RegistryImpl_Stub.java,
5579         tools/gnu/classpath/tools/tnameserv/Main.java,
5580         tools/gnu/classpath/tools/tnameserv/Messages.java: New files.
5581         * tools/gnu/classpath/tools/rmic/ClassRmicCompiler.java: Import
5582         RMIC.java from cp-tools.
5583         * configure.ac (AC_CONFIG_FILES): Add tools/grmiregistry,
5584         tools/gtnameserv, tools/gorbd, tools/grmid and tools/grmic.
5585         (AC_CONFIG_COMMANDS): Add grmiregistry, gtnameserv, gorbd, grmid
5586         and grmic.
5587         * examples/Makefile.am (GLIBJ_CLASSPATH): Add tools.zip.
5588         * gnu/CORBA/NamingService/NamingServiceTransient.java (main):
5589         Rename...
5590         (start): New method.
5591         * tools/Makefile.am: Add build support for new tool wrappers.
5592         * tools/gorbd.in: New file.
5593         * tools/grmic.in: Likewise.
5594         * tools/grmid.in: Likewise.
5595         * tools/grmiregistry.in: Likewise.
5596         * tools/gtnameserv.in: Likewise.
5597         * tools/gnu/classpath/tools/AbstractMethodGenerator.java: Move to...
5598         * tools/gnu/classpath/tools/rmic/AbstractMethodGenerator.java: New
5599         file.
5600         * tools/gnu/classpath/tools/HelpPrinter.java: Remove file.
5601         * tools/gnu/classpath/tools/rmi/Persistent.java: Move to...
5602         * tools/gnu/classpath/tools/common/Persistent.java: New file.
5603
5604 2006-09-22  Ito Kazumitsu  <kaz@maczuka.gcd.org>
5605
5606         Fixes bug #29047
5607         * gnu/java/util/regex/RETokenRepeated.java
5608         (findMatch): Rewriten without using recursive calls,
5609         (FindMatchControlStack): New class,
5610         (FindMatchControl): New class,
5611         (TryAnotherResult): New class,
5612         (tryAnother): New method.
5613
5614 2006-09-22  Gary Benson  <gbenson@redhat.com>
5615
5616         * java/net/SocketPermission.java
5617         (processHostport): Cope with IPv6 addresses with a
5618         one-digit first component.
5619
5620 2006-09-22  Roman Kennke  <kennke@aicas.com>
5621
5622         * java/awt/Component.java
5623         (enableEvents): Set newEventsOnly flag.
5624         * java/awt/Container.java
5625         (dispatchEventImpl): Consume event if lightweight dispatcher
5626         dispatched the event. Don't call processEvent() here, this
5627         is already done in Component.dispatchEventImpl(). For
5628         heavyweights or when the lightweight dispatcher could
5629         not dispatch, fall back to calling super.
5630         (dispatchNoLightweight): New helper method to avoid
5631         recursivly calling the lightweight dispatcher.
5632         * java/awt/LightweightDispatcher.java
5633         (dragButton): Removed field.
5634         (dragTarget): Removed field.
5635         (mouseEventTarget): New field.
5636         (convertPointToChild): Removed method.
5637         (dispatchEvent): Don't depend on component beeing
5638         a window.
5639         (findTarget): Improved algorithm for finding a target.
5640         Before we went down to the deepest component and went
5641         up again to find a suitable target. Now we go
5642         down only once, without going up.
5643         (handleMouseEvent): Broke method down into some smaller
5644         helper methods.
5645         (isDragging): New helper method.
5646         (isMouseListening): New helper method.
5647         (redispatch): New helper method.
5648         (trackEnterExit): New helper method.
5649
5650 2006-09-22  David Gilbert  <david.gilbert@object-refinery.com>
5651
5652         * javax/swing/SizeSequence.java
5653         (getSize): Return 0 if index is out of bounds.
5654
5655 2006-09-21  Tom Tromey  <tromey@redhat.com>
5656
5657         * tools/gnu/classpath/tools/javah/PathOptionGroup.java
5658         (PathOptionGroup): Make -I a joined option.
5659         * tools/gnu/classpath/tools/keytool/CACertCmd.java: Updated.
5660         * tools/gnu/classpath/tools/keytool/CertReqCmd.java: Updated.
5661         * tools/gnu/classpath/tools/keytool/DeleteCmd.java: Updated.
5662         * tools/gnu/classpath/tools/keytool/ExportCmd.java: Updated.
5663         * tools/gnu/classpath/tools/keytool/GenKeyCmd.java: Updated.
5664         * tools/gnu/classpath/tools/keytool/IdentityDBCmd.java: Updated.
5665         * tools/gnu/classpath/tools/keytool/ImportCmd.java: Updated.
5666         * tools/gnu/classpath/tools/keytool/KeyCloneCmd.java: Updated.
5667         * tools/gnu/classpath/tools/keytool/KeyPasswdCmd.java: Updated.
5668         * tools/gnu/classpath/tools/keytool/ListCmd.java: Updated.
5669         * tools/gnu/classpath/tools/keytool/MainCmd.java: Updated.
5670         * tools/gnu/classpath/tools/keytool/PrintCertCmd.java: Updated.
5671         * tools/gnu/classpath/tools/keytool/SelfCertCmd.java: Updated.
5672         * tools/gnu/classpath/tools/keytool/StorePasswdCmd.java: Updated.
5673         * tools/gnu/classpath/tools/appletviewer/Main.java: Updated.
5674         * tools/gnu/classpath/tools/jar/Main.java: Updated.
5675         * tools/gnu/classpath/tools/jarsigner/Main.java: Updated.
5676         * tools/gnu/classpath/tools/javah/Main.java: Updated.
5677         * tools/gnu/classpath/tools/native2ascii/Main.java: Updated.
5678         * tools/gnu/classpath/tools/serialver/SerialVer.java: Updated.
5679         * resource/gnu/classpath/tools/getopt/Messages.properties: Removed
5680         unused entries.
5681         * resource/gnu/classpath/tools/common/Messages.properties: New file.
5682         * tools/gnu/classpath/tools/common/Messages.java: New file.
5683         * tools/gnu/classpath/tools/getopt/Messages.java: Now package-private.
5684         * tools/gnu/classpath/tools/common/ClasspathToolParser.java: Moved
5685         from getopt.
5686         (ClasspathToolParser): Add -J option here.
5687         (ClasspathToolParser): Call other constructor in this class.
5688         * tools/gnu/classpath/tools/getopt/Parser.java (handleLongOption):
5689         Handle joined options.
5690         (handleShortOptions): Likewise.
5691         (handleShortOption): Removed.
5692         (finalGroup): New field.
5693         (Parser): Initialize new field.  Don't add -J option.
5694         (addFinal): New method.
5695         * tools/gnu/classpath/tools/getopt/OptionGroup.java (printHelp): Use
5696         isJoined.
5697         * tools/gnu/classpath/tools/getopt/Option.java (isJoined): New method.
5698         (Option): Check short option for validity.
5699         (Option): New constructors.
5700         (joined): New field.
5701
5702 2006-09-21  csm  <csm@pollux.local>
5703
5704         * gnu/java/net/PlainDatagramSocketImpl.java (send): ignore
5705         `InterruptedIOException;' try again if it gets thrown.
5706         (receive): likewise, but re-throw `SocketTimeoutException.'
5707         * gnu/java/nio/EpollSelectorImpl.java (doSelect): just return 0
5708         if we have nothing to select.
5709
5710 2006-09-21  Francis Kung  <fkung@redhat.com>
5711
5712         * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java:
5713         (getLogicalBounds): Respect glyph transformations.
5714         (getGlyphOutline): Added null pointer check.
5715         (getGlyphTransform): Do not generate identity transform (API permits null).
5716         (setGlyphPosition): Do not invalidate transform.
5717         (setGlyphTransform): Do not modify glyph position.
5718
5719 2006-09-21  Francis Kung  <fkung@redhat.com>
5720
5721         * java/awt/image/ColorModel.java (coerceData): Set alpha premultiplied flag.
5722
5723 2006-09-21  Francis Kung  <fkung@redhat.com>
5724
5725         * java/awt/image/ColorModel.java (coerceData): Return proper colour model.
5726         * java/awt/image/ComponentColorModel.java (coerceData): Likewise.
5727         * java/awt/image/DirectColorModel.java (coerceData): Likewise.
5728
5729 2006-09-21  Tania Bento  <tbento@redhat.com>
5730
5731         * javax/swing/JTabbedPane.java:
5732         (insertTab): Notify ChangeListeners if the tab inserted is selected.
5733         (setModel): A ChangeListener should be created only if there does not 
5734         currently exist one.
5735
5736 2006-09-21  David Gilbert  <david.gilbert@object-refinery.com>
5737
5738         * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java
5739         (MaximizeAction.actionPerformed): Change icon on maxButton.
5740
5741 2006-09-21  Roman Kennke  <kennke@aicas.com>
5742
5743         * javax/swing/plaf/basic/BasicScrollPaneUI.java
5744         (syncScrollPaneWithViewport): Fixed typo (hsb vs. vsb).
5745         Use more efficient getViewPosition() and getViewSize() methods
5746         to avoid creating a rectangle.
5747         (HSBChangeListener.stateChanged): Update the view position
5748         unconditionally. Let the Viewport figure out if something
5749         changed.
5750         (VSBChangeListener.stateChanged): Update the view position
5751         unconditionally. Let the Viewport figure out if something
5752         changed.
5753         * javax/swing/JViewport.java
5754         (ViewListener.componentResized): Fire state change, because
5755         the extentSize changes.
5756         (extentSize): Removed unneeded field.
5757         (viewSize): Removed unneeded field.
5758         (getExtentSize): Return the viewport's size here.
5759         (getViewRect): Reformatted.
5760         (getViewSize): Reordered for only one return statement.
5761         (paintImmediately2): Fixed up javadoc.
5762         (paint): Removed unneeded statement.
5763         (setExtentSize): Set viewport size and check for actual change
5764         of value.
5765         (setViewPosition): Simplified condition. Set scrollUnderway
5766         true and don't set isViewSizeSet. Avoid creating one Point
5767         object.
5768         (setViewSize): Fixed != comparison with equals(). Set scrollUnderway
5769         to false.
5770         * javax/swing/JScrollBar.java
5771         (ScrollBarListener): New class. Forwards change events from
5772         the model as adjustment events.
5773         (sbChangeListener): New field.
5774         (JScrollBar): Install listener on new model.
5775         (fireAdjustmentValueChanged(int,int,int)): Delegate to new helper
5776         method.
5777         (fireAdjustmentValueChanged(int,int,int,boolean)): New helper
5778         method to allow custom isAdjusting value.
5779         (setMaximum): Only forward to model.
5780         (setMinimum): Only forward to model.
5781         (setValue): Only forward to model.
5782         (setVisibleAmount): Only forward to model.
5783         (setValues): Only forward to model.
5784         (setModel): Update the change listener.
5785
5786 2006-09-20  Christian Thalinger  <twisti@complang.tuwien.ac.at>
5787
5788         * java/util/Formatter.java (basicIntegralConversion): Removed 
5789         check for ZERO && !LEFT_JUSTIFY.
5790                 
5791 2006-09-20  Roman Kennke  <kennke@aicas.com>
5792
5793         PR 29036
5794         * javax/swing/plaf/metal/DefaultMetalTheme.java
5795         (PLAIN_CONTROL_TEXT_FONT): New constant field.
5796         (BOLD_CONTROL_TEXT_FONT): New constant field.
5797         (PLAIN_MENU_TEXT_FONT): New constant field.
5798         (BOLD_MENU_TEXT_FONT): New constant field.
5799         (controlTextFont): Removed.
5800         (menuTextFont): Removed.
5801         (CONTROL_TEXT_FONT): New constant field.
5802         (MENU_TEXT_FONT): New constant field.
5803         (getControlTextFont): Use getFont() helper method for fetching
5804         the correct font.
5805         (getMenuTextFont): Use getFont() helper method for fetching
5806         the correct font.
5807         (getFont): New helper method.
5808         (isBoldMetal): New helper method.
5809
5810 2006-09-20  Casey Marshall  <csm@gnu.org>
5811
5812         * NEWS: mention epoll selector along with the kqueue one.
5813
5814 2006-09-20  Casey Marshall  <csm@gnu.org>
5815
5816         * native/jni/java-nio/gnu_java_nio_EpollSelectorImpl.c
5817         (Java_gnu_java_nio_EpollSelectorImpl_epoll_1delete): ignore ENOENT.
5818
5819 2006-09-20  Francis Kung  <fkung@redhat.com>
5820
5821         PR 29011
5822         * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java:
5823         (getGlyphTransform): Use translation instead of scale.
5824         (performDefaultLayout): Increment position values instead of resetting, and
5825         pre-increment instead of post-increment.
5826         (setGlyphTransform): Handle null case with identity transform.
5827
5828 2006-09-20  Casey Marshall  <csm@gnu.org>
5829
5830         * configure.ac (AC_CHECK_HEADERS): check for `sys/epoll.h.'
5831         (AC_CHECK_FUNCS): check for `epoll_create.'
5832         * gnu/java/nio/EpollSelectionKeyImpl.java: new file.
5833         * gnu/java/nio/EpollSelectorImpl.java: new file.
5834         * gnu/java/nio/SelectorProviderImpl.java (epoll_failed): new class
5835         field.
5836         (openSelector): return epoll selector if requested and available.
5837         * include/Makefile.am (H_FILES): add gnu_java_nio_EpollSelectorImpl.h.
5838         (gnu_java_nio_EpollSelectorImpl.h): new target.
5839         * include/gnu_java_nio_EpollSelectorImpl.h: new file.
5840         * native/jni/java-nio/Makefile.am (libjavanio_la_SOURCES): add
5841         gnu_java_nio_EpollSelectorImpl.c.
5842         * native/jni/java-nio/gnu_java_nio_EpollSelectorImpl.c: new file.
5843
5844 2006-09-20  Casey Marshall  <csm@gnu.org>
5845
5846         * gnu/java/nio/SocketChannelImpl.java (finishConnect): don't
5847         call `isConnected.'
5848         (isConnected): return false if `connectionPending' is true.
5849
5850 2006-09-20  Francis Kung  <fkung@redhat.com>
5851
5852         PR 29011
5853         * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java:
5854         (constructor): Expanded glyphPositions array to accomodate Y-coordinates.
5855         (getGlyphOutline): Call getGylphTransform to generate transform.
5856         (getGylphPosition): Read position directly out of array.
5857         (getGlyphPositions): Read positions directly out of array.
5858         (getGlyphTransform): Generate transform based on gylphPositions array.
5859         (performDefaultLayout): Populate glyphPositions array instead of transforms.
5860         (setGlyphPosition): Set position directly into array.
5861         (setGlyphTransform): Update positions array as well.
5862
5863 2006-09-20  David Daney  <ddaney@avtrex.com>
5864
5865         PR classpath/28661
5866         * gnu/java/net/protocol/http/HTTPURLConnection.java (connect):  Add
5867         default content-type for POST method.
5868
5869 2006-09-20  David Gilbert  <david.gilbert@object-refinery.com>
5870
5871         * javax/swing/plaf/basic/BasicRadioButtonUI.java
5872         (BasicRadioButtonUI): Don't fetch icon here,
5873         (installDefaults): Initialise icon here,
5874         (getDefaultIcon): Just return icon.
5875
5876 2006-09-20  Mark Wielaard  <mark@klomp.org>
5877
5878         * native/jni/java-nio/Makefile.am (libjavanio_la_SOURCES):
5879         Add gnu_java_nio_channels_FileChannelImpl.c and javanio.h.
5880         (EXTRA_DIST): Include javanio.c.
5881
5882 2006-09-20  David Gilbert  <david.gilbert@object-refinery.com>
5883
5884         * java/awt/geom/RoundRectangle2D.java:
5885         (getPathIterator): Reimplemented,
5886         and updated various API doc comments.
5887
5888 2006-09-20  Roman Kennke  <kennke@aicas.com>
5889
5890         * java/awt/Container.java
5891         (addImpl): Set the new component's parent after it has been
5892         added to the array. Call addNotify() and invalidate()
5893         after the component has been added, so that the peer
5894         gets to know about the component structure when it is created.
5895         * java/awt/Window.java
5896         (dispatchEventImpl): Only revalidate when window is resized,
5897         let the other stuff be processed by the superclass.
5898         (dispose): Post WINDOW_CLOSED event only when some listener
5899         is registered or event is explicitly enabled.
5900         (show): Post WINDOW_OPENED event when appropriate.
5901
5902 2006-09-20  Roman Kennke  <kennke@aicas.com>
5903
5904         * java/awt/Component.java
5905         (addNotify): Invalidate here. Fetch peer font.
5906         (getFont): Delegate to helper method, to protect from
5907         overriding client code. Lock the tree while fetching the font.
5908         (getFontImpl): New helper method. Moved code from getFont() in
5909         here.
5910         (removeNotify): Nullify peerFont too.
5911         (setFont): Synchronize on tree and component to avoid threading
5912         issues. Update the peerFont correctly.
5913         (validate): Update the peer font if necessary, before validating.
5914         (getGraphics): Revert to recursive graphics fetching.
5915         Set component font on the Graphics object.
5916         (translateEvent): Removed unnecessary cast.
5917         * java/awt/Container.java
5918         (invalidateTree): Made final and private. Made implementation
5919         slightly more efficient.
5920         (setFont): Get old and new font via getFont() to account for
5921         the real font, and only invalidate the tree when they are not
5922         the same and not equal.
5923         (visitChild): Set the font of the child on the component graphics.
5924         * java/awt/Frame.java
5925         (setMenuBar): Create local reference of peer for thread safety.
5926         Only call simple invalidate, not invalidateTree().
5927
5928 2006-09-19  Cameron McCormack  <cam@mcc.id.au>
5929
5930         PR 29012
5931         * gnu/java/awt/peer/gtk/BufferedImageGraphics.java:
5932         (constructor): Copy image field.
5933
5934 2006-09-19  David Gilbert  <david.gilbert@object-refinery.com>
5935
5936         * javax/swing/JMenuBar.java
5937         (getHelpMenu): Implemented to throw an Error, and added API docs,
5938         (getMargin): Added API docs,
5939         (setMargin): Likewise.
5940
5941 2006-09-19  David Gilbert  <david.gilbert@object-refinery.com>
5942
5943         * javax/swing/AbstractButton.java
5944         (AbstractButton): Don't call updateUI(),
5945         * javax/swing/JButton.java
5946         (JButton(String, Icon)): Call setModel() before init(),
5947         * javax/swing/JMenuItem.java
5948         (JMenuItem()): Delegate to another constructor,
5949         (JMenuItem(Icon)): Likewise,
5950         (JMenuItem(Action)): Set model,
5951         (JMenuItem(String, Icon)): Likewise,
5952         * javax/swing/JToggleButton.java
5953         (init): Call setModel() before init().
5954
5955 2006-09-19  Mark Wielaard  <mark@klomp.org>
5956
5957         Fixes bug #29137
5958         * java/util/logging/LogManager.java (addLogger): Always check for
5959         existing children of a new Logger.
5960
5961 2006-09-19  Roman Kennke  <kennke@aicas.com>
5962
5963         * javax/swing/plaf/basic/BasicScrollPaneUI.java
5964         (HSBChangeListener.stateChanged): Moved handling of header to
5965         syncScrollPaneWithViewport().
5966         (VSBChangeListener.stateChanged): Moved handling of header to
5967         syncScrollPaneWithViewport().
5968         (ViewportChangedHandler.stateChanged): Removed unused statements.
5969         (syncScrollPaneWithViewport): Added null checks. Use setValues
5970         rather then the single setter methods to avoid multiple
5971         adjustments and side effects. Also snyc the headers here.
5972         (updateScrollBarDisplayPolicy): Revalidate and repaint here.
5973         (uninstallUI): Removed unnecessary cast and this qualifier as well
5974         as the call to super.
5975
5976 2006-09-19  Gary Benson  <gbenson@redhat.com>
5977
5978         * java/net/ResolverCache.java: New class (a DNS cache).
5979         * java/net/InetAddress.java
5980         (internalGetCanonicalHostName, getAllByName): Use the above.
5981
5982 2006-09-19  Jeroen Frijters  <jeroen@frijters.net>
5983
5984         * gnu/java/nio/SocketChannelImpl.java: Removed unused import.
5985         * java/net/ServerSocket.java
5986         (port): New field.
5987         (bind): Set port field.
5988         (close): Set impl to null.
5989         (isClosed): Check impl and channel instead of using VMChannel.
5990         (toString): Use port field and getLocalPort() method.
5991         * java/net/Socket.java
5992         (isClosed): Check impl and channel instead of using VMChannel.
5993
5994 2006-09-18  Tom Tromey  <tromey@redhat.com>
5995
5996         * java/util/concurrent/CopyOnWriteArrayList.java
5997         (CopyOnWriteArrayList): New constructor.
5998
5999 2006-09-18  Casey Marshall  <csm@gnu.org>
6000
6001         * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c
6002         (Java_gnu_java_net_VMPlainSocketImpl_listen): remove debug printf.
6003
6004 2006-09-18  Tom Tromey  <tromey@redhat.com>
6005
6006         * gnu/javax/net/ssl/provider/SSLSocket.java (isBound, isClosed,
6007         isConnected): Removed old comment.
6008         (getRemoteSocketAddress): Uncommented.
6009         (setOOBInline, getOOBInline, setKeepAlive, getKeepAlive,
6010         setTrafficClass, getTrafficClass, setReuseAddress,
6011         getReuseAddress, shutdownInput, shutdownOutput, isInputShutdown,
6012         isOutputShutdown): Uncommented.
6013
6014 2006-09-18  David Pirkle  <dpirkle@symyx.com>
6015
6016         Fixes PR 28589
6017         * gnu/xml/transform/XSLURIResolver.java: Test SAXSource for specific
6018           input stream during resolution.
6019
6020 2006-09-18  Roman Kennke  <kennke@aicas.com>
6021
6022         * java/awt/LightweightDispatcher.java
6023         (findTarget): Correctly translate child coordinates.
6024         Use Component.eventTypeEnabled() for checking if a component
6025         has a certain event enabled.
6026         (handleMouseEvent): Find the correct mouse event target.
6027         Use Component.eventTypeEnabled() for checking if a component
6028         has a certain event enabled.
6029
6030 2006-09-18  Roman Kennke  <kennke@aicas.com>
6031
6032         * java/awt/Component.java
6033         (show): Test for the peer beeing lightweight directly.
6034         (paintAll): Validate before painting. Don't paint when not
6035         showing. Call peer.paint() when the component is heavyweight.
6036         (repaint): Delegate to the parent when lightweight, rather
6037         than skipping to the nearest heavyweight.
6038         (createImage): Added null check to prevent NPE.
6039         (dispatchEvent): Moved old event dispatching and toolkit
6040         event dispatching to dispatchEventImpl.
6041         (addComponentListener): Don't enable event. Only add listener
6042         when not null. Switch to new event dispatching only.
6043         (addFocusListener): Likewise.
6044         (addHierarchyListener): Likewise.
6045         (addHierarchyBoundsListener): Likewise.
6046         (addKeyListener): Likewise.
6047         (addMouseListener): Likewise.
6048         (addMouseMotionListener): Likewise.
6049         (addMouseWheelListener): Likewise.
6050         (addInputMethodListener): Likewise.
6051         (coalesceEvents): For mouse events coalesce them only when
6052         their modifiers are equal. For paint events coalesce the events
6053         when one contains the other, without going through complicated
6054         heuristics.
6055         (dispatchEventImpl): Moved old event dispatching and toolkit
6056         event dispatching to dispatchEventImpl.
6057         (coalescePaintEvents): Removed.
6058         (HeavyweightInLightweightListener.componentHidden):
6059         Fixed condition.
6060         * java/awt/Container.java
6061         (addImpl): Don't enable events on lightweights.
6062         (remove): Reordered operations. Don't remove any listeners.
6063         Throw ArrayIndexOutOfBoundsException when index >= ncomponents.
6064         Only removeNotify() when peer is != null. Only invalidate if 
6065         not already invalid. Only fire ContainerEvent if there is
6066         an interested listener or the event is enabled. Dispatch this
6067         event directly without the event queue.
6068         (removeAll): Likewise.
6069         (paintComponents): Only paint when showing. Also paint heavyweights.
6070         Don't paint the container itself.
6071         (removeNotify): Create local variables for improved thread safety.
6072         (addNotifyContainerChildren): Don't enable events for lightweights.
6073
6074 2006-09-18  Roman Kennke  <kennke@aicas.com>
6075
6076         * java/awt/EventQueue.java
6077         (INITIAL_QUEUE_DEPTH): Removed obsolete field.
6078         (next_in): Removed obsolete field.
6079         (next_out): Removed obsolete field.
6080         (queueHead): New field. Markes the head of the queue.
6081         (queueTail): New field. Markes the tail of the queue.
6082         (queue): Removed obsolete field.
6083         (EventQueue): Documented empty block.
6084         (getNextEvent): Changed array based implementation to single-linked
6085         list based implementation.
6086         (invokeAndWait): Use an Object as synchronization object rather
6087         than the current thread.
6088         (peekEvent(int)): Changed array based implementation to single-linked
6089         list based implementation.
6090         (peekEvent()): Changed array based implementation to single-linked
6091         list based implementation.
6092         (pop()): Changed array based implementation to single-linked
6093         list based implementation.
6094         (postEvent): Foward to postEventImpl.
6095         (postEventImpl): Changed array based implementation to single-linked
6096         list based implementation.
6097         (push): Changed array based implementation to single-linked
6098         list based implementation.
6099         * java/awt/AWTEvent.java
6100         (queueNext): New field. Implements a single-linked list for
6101         the EventQueue.
6102
6103 2006-09-17  Mark Wielaard  <mark@klomp.org>
6104
6105         * javax/swing/text/html/HTMLEditorKit (getStyleSheet): Load
6106         resource from HTMLEditorKit.class.
6107
6108 2006-09-17  Mark Wielaard  <mark@klomp.org>
6109
6110         * javax/swing/plaf/basic/BasicToolBarUI.java
6111         (setBorderToNonRollover): Check whether border is null.
6112         (setBorderToRollover): Likewise.
6113
6114 2006-09-17  Mark Wielaard  <mark@klomp.org>
6115
6116         * javax/swing/JTree.java (setLeadSelectionPath): Handle null path.
6117
6118 2006-09-17  Mark Wielaard  <mark@klomp.org>
6119
6120         * native/jni/java-nio/javanio.c (cpnio_fcntl): Last argument is long.
6121         * native/jni/java-nio/javanio.h (cpnio_fcntl): Likewise.
6122         * native/jni/java-nio/gnu_java_nio_VMChannel.c
6123         (Java_gnu_java_nio_VMChannel_lock): Likewise.
6124         (Java_gnu_java_nio_VMChannel_unlock): Likewise.
6125
6126 2006-09-17  Casey Marshall  <csm@gnu.org>
6127
6128         * native/jni/classpath/jcl.c (JNI_OnLoad): mark `reserved' as
6129         unused.
6130
6131 2006-09-17  Chris Burdess  <dog@gnu.org>
6132
6133         Fixes PR 27610 27687.
6134         * gnu/xml/dom/ls/SAXEventSink.java: Permit limited subclassing.
6135         * gnu/xml/transform/SAXTemplatesHandler.java,
6136         * gnu/xml/transform/SAXTransformerHandler.java: New files.
6137         * gnu/xml/transform/TransformerFactoryImpl.java: Implement
6138           SAXTransformerFactory.
6139
6140 2006-09-16  Casey Marshall  <csm@gnu.org>
6141
6142         * NEWS: updated.
6143         * configure.ac (AC_CHECK_HEADERS): check for `sys/event.h'.
6144         (AC_CHECK_FUNCS): add checks for readv, writev, getifaddrs,
6145         kqueue, and kevent.
6146         (HAVE_INET6): define if IPv6 is supported.
6147         * gnu/java/net/PlainDatagramSocketImpl.java (channel): new field.
6148         (native_fd): removed.
6149         (impl): new field.
6150         (<init>): throw IOException; initialize fields.
6151         (finalize): removed.
6152         (getNativeFD): removed.
6153         (bind): use `PlainSocketImpl.bind.'
6154         (create): use `PlainSocketImpl.initSocket.'
6155         (disconnect): use `PlainSocketImpl.disconnect.'
6156         (getLocalPort): new method.
6157         (send): use `VMChannel.send.'
6158         (receive): use `VMChannel.receive.'
6159         (setOption): use `PlainSocketImpl.setOption.'
6160         (getOption): use `PlainSocketImpl.getOption.'
6161         (close): use `VMChannel.State.close.'
6162         (join): use `PlainSocketImpl.join.'
6163         (leave): use `PlainSocketImpl.leave.'
6164         (joinGroup, leaveGroup): implemented.
6165         * gnu/java/net/PlainSocketImpl.java: make non-final.
6166         (native_fd): removed.
6167         (impl): new field.
6168         (channel): new field.
6169         (<init>): initialize `impl.'
6170         (finalize, getNativeFD): removed.
6171         (setOption): use `PlainSocketImpl.setOption.'
6172         (getOption): use `PlainSocketImpl.getOption.'
6173         (shutdownInput): use `PlainSocketImpl.shutdownInput.'
6174         (shutdownOutput): use `PlainSocketImpl.shutdownOutput.'
6175         (create): create `channel,' initialize `impl's native state.
6176         (connect): use `connect(SocketAddress, int).'
6177         (connect): use `SocketChannelImpl.connect;' initialize `address'
6178         and `port.'
6179         (bind): use `VMPlainSocketImpl.bind.'
6180         (listen): use `VMPlainSocketImpl.listen.'
6181         (accept): use `SocketChannelImpl.accept.'
6182         (available): use `VMChannel.available.'
6183         (close): use `PlainSocketImpl.close.'
6184         (sendUrgentData): use `PlainSocketImpl.sendUrgentData.'
6185         (getVMChannel, getInetAddress, getLocalPort, getLocalAddress,
6186         getPort): new methods.
6187         (SocketInputStream.read): use `VMChannel.read.'
6188         (SocketInputStream.read): use `SocketChannel.read.'
6189         (SocketOutputStream.write): use `VMChannel.write.'
6190         (SocketOutputStream.write): use `SocketChannel.write.'
6191         * gnu/java/nio/DatagramChannelImpl.java: implement VMChannel.
6192         (channel): new field.
6193         (<init>): initialize `channel.'
6194         (implCloseSelectableChannel): use `VMChannel.close.'
6195         (implConfigureBlocking): use `VMChannel.setBlocking.'
6196         (connect): use `VMChannel.connect.'
6197         (disconnect): use `VMChannel.disconnect.'
6198         (isConnected): use `VMChannel.getPeerAddress.'
6199         (write): use `VMChannel.write.'
6200         (write): use `VMChannel.writeGathering.'
6201         (read): use `VMChannel.read.'
6202         (read): use `VMChannel.readScattering.'
6203         (receive): use `VMChannel.receive.'
6204         (send): use `VMChannel.send.'
6205         (getVMChannel): new method.
6206         * gnu/java/nio/DatagramChannelSelectionKey.java (getNativeFD):
6207         access native FD through VMChannel.State.
6208         * gnu/java/nio/FileChannelImpl.java: moved from
6209         gnu/java/nio/channels/FileChannelImpl.java.
6210         * gnu/java/nio/FileLockImpl.java: fix imports.
6211         * gnu/java/nio/KqueueSelectionKeyImpl.java: new file.
6212         * gnu/java/nio/KqueueSelectorImpl.java: new file.
6213         * gnu/java/nio/NIOSocket.java (impl): removed.
6214         (channel): new field.
6215         (<init>): init superclass with a `NIOSocketImpl;' init `channel.'
6216         (getPlainSocketImpl, setChannel): removed.
6217         (isConnected): new method.
6218         * gnu/java/nio/NIOSocketImpl.java: new file.
6219         * gnu/java/nio/PipeImpl.java (SourceChannelImpl): implement
6220         `VMChannelOwner.'
6221         (SourceChannelImpl.native_fd): removed.
6222         (SourceChannelImpl.<init>): init with a `VMChannel.'
6223         (SourceChannelImpl.getNativeFD): removed.
6224         (SourceChannelImpl.getVMChannel): new method.
6225         (SourceChannelImpl.implCloseSelectableChannel): implement.
6226         (SinkChannelImpl): implement `VMChannelOwner.'
6227         (SinkChannelImpl.native_fd): removed.
6228         (SinkChannelImpl.<init>): init with a `VMChannel.'
6229         (SinkChannelImpl.implCloseSelectableChannel): implement.
6230         (SinkChannelImpl.getNativeFD): removed.
6231         (SinkChannelImpl.getVMChannel): new method.
6232         * gnu/java/nio/SelectionKeyImpl.java (getNativeFD): mark
6233         deprecated.
6234         * gnu/java/nio/SelectorProviderImpl.java (SELECTOR_IMPL_KQUEUE,
6235         SELECTOR_IMPL_EPOLL, SELECTOR_IMPL): new constants.
6236         (openSelector): return kqueue selector if available.
6237         * gnu/java/nio/ServerSocketChannelImpl.java: implement
6238         `VMChannelOwner.'
6239         (channel): new field.
6240         (<init>): init `channel.'
6241         (finalizer): check if the `VMChannel.State' is valid.
6242         (implCloseSelectableChannel): use `VMChannel.close.'
6243         (implConfigureBlocking): use `VMChannel.setBlocking.'
6244         (accept): use `VMChannel.accept.'
6245         (getVMChannel): new method.
6246         * gnu/java/nio/ServerSocketChannelSelectionKey.java (getNativeFD):
6247         access native FD through `VMChannel.State.'
6248         * gnu/java/nio/SocketChannelImpl.java: implement `VMChannelOwner.'
6249         (impl): removed.
6250         (channel, connected, connectAddress): new field.
6251         (<init>): new constructors.
6252         (getPlainSocketImpl): removed.
6253         (implCloseSelectableChannel): use `VMChannel.close.'
6254         (implConfigureBlocking): use `VMChannel.setBlocking.'
6255         (connect): use `connect(SocketAddress,int).'
6256         (connect): use `VMChannel.connect.'
6257         (finishConnect): don't use a selector.
6258         (isConnected): use `VMChannel.getPeerAddress.'
6259         (read): use `VMChannel.read.'
6260         (read): use `VMChannel.readScattering.'
6261         (write): use `VMChannel.write.'
6262         (write): use `VMChannel.writeGathering.'
6263         (getVMChannel): new method.
6264         * gnu/java/nio/SocketChannelSelectionKey.java (getNativeFD): get
6265         native FD from `VMChannel.State.'
6266         * gnu/java/nio/SocketChannelSelectionKeyImpl.java (getNativeFD):
6267         get native FD from `VMChannel.State.'
6268         * gnu/java/nio/VMChannelOwner.java: new file.
6269         * gnu/java/nio/channels/FileChannelImpl.java: removed.
6270         * include/Makefile.am: generate `gnu_java_nio_FileChannelImpl.h'
6271         and `gnu_java_nio_KqueueSelectorImpl.h;' don't generate
6272         `gnu_java_nio_channels_FileChannelImpl.h.'
6273         * include/gnu_java_net_VMPlainSocketImpl.h: regenerated.
6274         * include/gnu_java_nio_FileChannelImpl.h: new file.
6275         * include/gnu_java_nio_KqueueSelectorImpl.h: new file.
6276         * include/gnu_java_nio_VMChannel.h: regenerated.
6277         * include/gnu_java_nio_VMPipe.h: regenerated.
6278         * include/java_net_VMNetworkInterface.h: regenerated.
6279         * java/io/FileDescriptor.java: fix imports.
6280         * java/io/FileInputStream.java (<init>): handle exceptions.
6281         (read): wrap the destination arary.
6282         * java/io/FileOutputStream.java (<init>): handle exceptions.
6283         (write): wrap the source array.
6284         * java/io/RandomAccessFile.java (<init>): handle exceptions.
6285         * java/net/DatagramSocket.java (<init>): handle exceptions.
6286         (receive): handle length/port setting.
6287         (connect): bind to any address/port if the argument is null.
6288         * java/net/NetworkInterface.java (name, inetAddress): removed.
6289         (netif): new field.
6290         (<init>): make private.
6291         (getName): return `netif.name.'
6292         (getInetAddresses): access `netif.addresses.'
6293         (getDisplayName): return `netif.name.'
6294         (getByName, getByAddress): handle changes to `VMNetworkInterface.'
6295         (condense): removed.
6296         (getNetworkInterfaces): handle changes to `VMNetworkInterface.'
6297         (equals): compare `netif' fields.
6298         (hashCode): get hash codes from `netif.'
6299         (toString): use a StringBuffer.
6300         * java/net/ServerSocket.java (close): don't set `impl' to null.
6301         (isClosed): use `VMChannel.State.isClosed.'
6302         * java/net/Socket.java (getLocalAddress): don't use `getOption' if
6303         the `SocketImpl' is a `PlainSocketImpl.'
6304         (close): just close the `impl.'
6305         (toString): use `super.toString' in the value we return.
6306         (isConnected): just access `impl,' not `getImpl.'
6307         (isBound): use `PlainSocketImpl' methods if we can.
6308         (isClosed): look at `VMChannel.State.'
6309         * native/jni/classpath/jcl.c (JNI_OnLoad): new function.
6310         (JCL_NewRawDataObject): don't initialize cached fields here; throw
6311         an exception if they were not.
6312         (JCL_GetRawData): throw an exception if cached fields weren't
6313         created.
6314         * native/jni/java-lang/java_lang_VMProcess.c: handle
6315         FileChannelImpl move.
6316         * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c
6317         (IO_EXCEPTION, SOCKET_EXCEPTION, BIND_EXCEPTION,
6318         THROW_NO_NETWORK): new macros.
6319         (Java_gnu_java_net_VMPlainSocketImpl_bind): reipmlemented.
6320         (Java_gnu_java_net_VMPlainSocketImpl_bind6): new function.
6321         (Java_gnu_java_net_VMPlainSocketImpl_listen): reimplemented.
6322         (java_sockopt): new enum.
6323         (Java_gnu_java_net_VMPlainSocketImpl_setOption): reimplemented.
6324         (Java_gnu_java_net_VMPlainSocketImpl_getOption): reimplemented.
6325         (Java_gnu_java_net_VMPlainSocketImpl_shutdownInput):
6326         reimplemented.
6327         (Java_gnu_java_net_VMPlainSocketImpl_shutdownOutput):
6328         reimplemented.
6329         (Java_gnu_java_net_VMPlainSocketImpl_sendUrgentData): new
6330         function.
6331         (Java_gnu_java_net_VMPlainSocketImpl_join): new function.
6332         (Java_gnu_java_net_VMPlainSocketImpl_join6): new function.
6333         (Java_gnu_java_net_VMPlainSocketImpl_read): removed.
6334         (Java_gnu_java_net_VMPlainSocketImpl_leave): new function.
6335         (Java_gnu_java_net_VMPlainSocketImpl_leave6): new function.
6336         (Java_gnu_java_net_VMPlainSocketImpl_joinGroup): new function.
6337         (Java_gnu_java_net_VMPlainSocketImpl_write): removed.
6338         (Java_gnu_java_net_VMPlainSocketImpl_joinGroup6): new function.
6339         (Java_gnu_java_net_VMPlainSocketImpl_leaveGroup): new function.
6340         (Java_gnu_java_net_VMPlainSocketImpl_leaveGroup6): new function.
6341         (getif_address): new function.
6342         (getif_index): new function.
6343         * native/jni/java-net/java_net_VMNetworkInterface.c
6344         (java_net_VMNetworkInterface_init,
6345         java_net_VMNetworkInterface_addAddress): new file-scope globals.
6346         (Java_java_net_VMNetworkInterface_initIds): new function.
6347         (struct netif_entry): new struct.
6348         (free_netif_list): new function.
6349         (Java_java_net_VMNetworkInterface_getInterfaces): removed.
6350         (Java_java_net_VMNetworkInterface_getVMInterfaces): new function.
6351         * native/jni/java-nio/Makefile.am (libjavanio_la_SOURCES): remove
6352         gnu_java_nio_channels_FileChannelImpl.c, add
6353         gnu_java_nio_KqueueSelectorImpl.c.
6354         * native/jni/java-nio/gnu_java_nio_KqueueSelectorImpl.c: new file.
6355         * native/jni/java-nio/gnu_java_nio_VMChannel.c
6356         (INTERRUPTED_IO_EXCEPTION, SOCKET_TIMEOUT_EXCEPTION, ALIGN_UP,
6357         ALIGN_DOWN): new macros.
6358         (JCL_init_buffer): get the address through GetDirectBufferAddress
6359         if possible.
6360         (Java_gnu_java_nio_VMChannel_stdin_1fd,
6361         Java_gnu_java_nio_VMChannel_stdout_1fd,
6362         Java_gnu_java_nio_VMChannel_stderr_1fd): new functions.
6363         (Java_gnu_java_nio_VMChannel_setBlocking): fix setting blocking
6364         value.
6365         (Java_gnu_java_nio_VMChannel_read): renamed...
6366         (Java_gnu_java_nio_VMChannel_read__ILjava_nio_ByteBuffer_2): to
6367         this; handle interrupted IO; add HAVE_READ check.
6368         (Java_gnu_java_nio_VMChannel_write): renamed...
6369         (Java_gnu_java_nio_VMChannel_write__ILjava_nio_ByteBuffer_2): to
6370         this; handle zero-length write; add HAVE_WRITE check.
6371         (Java_gnu_java_nio_VMChannel_receive): new function.
6372         (Java_gnu_java_nio_VMChannel_send): new function.
6373         (Java_gnu_java_nio_VMChannel_send6): new function.
6374         (Java_gnu_java_nio_VMChannel_read__I): new function.
6375         (Java_gnu_java_nio_VMChannel_write__II): new function.
6376         (Java_gnu_java_nio_VMChannel_socket): new function.
6377         (Java_gnu_java_nio_VMChannel_connect): new function.
6378         (Java_gnu_java_nio_VMChannel_connect6): new function.
6379         (Java_gnu_java_nio_VMChannel_getsockname): new function.
6380         (Java_gnu_java_nio_VMChannel_getpeername): new function.
6381         (Java_gnu_java_nio_VMChannel_accept): new function.
6382         (Java_gnu_java_nio_VMChannel_disconnect): new function.
6383         (Java_gnu_java_nio_VMChannel_close): new function.
6384         (Java_gnu_java_nio_VMChannel_available): new function.
6385         (FileChannel_mode): new enum.
6386         (Java_gnu_java_nio_VMChannel_open): new function.
6387         (Java_gnu_java_nio_VMChannel_position): new function.
6388         (Java_gnu_java_nio_VMChannel_seek): new function.
6389         (Java_gnu_java_nio_VMChannel_truncate): new funciton.
6390         (Java_gnu_java_nio_VMChannel_lock): new function.
6391         (Java_gnu_java_nio_VMChannel_unlock): new function.
6392         (Java_gnu_java_nio_VMChannel_size): new function.
6393         (Java_gnu_java_nio_VMChannel_map): new function.
6394         (Java_gnu_java_nio_VMChannel_flush): new function.
6395         * native/jni/java-nio/gnu_java_nio_VMPipe.c
6396         (Java_gnu_java_nio_VMPipe_init): removed.
6397         (Java_gnu_java_nio_VMPipe_pipe0): new function.
6398         * native/jni/java-nio/javanio.c: new file.
6399         * native/jni/java-nio/javanio.h: new file.
6400         * native/jni/native-lib/cpnet.c (cpnet_getHostByName): fix for
6401         systems without `gethostbyname_r.'
6402         * vm/reference/gnu/java/net/VMPlainSocketImpl.java (nfd): new
6403         field.
6404         (<init>, <init>): new constructors.
6405         (setOption, getOption): make instance methods; defer to native
6406         implementation.
6407         (connect): removed.
6408         (bind): make an instance method; defer to native methods.
6409         (accept): removed.
6410         (available): removed.
6411         (listen): make an instance method; defer to native method.
6412         (read): removed.
6413         (join, leave): new methods.
6414         (write): removed.
6415         (joinGroup, leaveGroup): new methods.
6416         (shutdownInput, shutdownOutput): make instance methods.
6417         (sendUrgentData): removed.
6418         (State): new class.
6419         * vm/reference/gnu/java/nio/VMChannel.java: make final.
6420         (fd): removed.
6421         (nfd): new field.
6422         (<init>): new, public constructors.
6423         (getVMChannel): methods removed.
6424         (getState, getStdin, getStdout, getStderr, stdin_fd, stdout_fd,
6425         stderr_fd): new methods.
6426         (setBlocking): make an instance method.
6427         (available): new method.
6428         (read): get native fd from `nfd.'
6429         (read): new single-byte read method.
6430         (readScattering): get native fd from `nfd.'
6431         (receive): new method.
6432         (write, writeGathering): get native fd from `nfd.'
6433         (send): new method.
6434         (write): new single-byte write method.
6435         (initSocket): new method.
6436         (connect): new method.
6437         (disconnect): new method.
6438         (getLocalAddress): new method.
6439         (getPeerAddress): new method.
6440         (accept): new method.
6441         (openFile): new method.
6442         (position): new method.
6443         (seek): new method.
6444         (truncate): new method.
6445         (lock): new method.
6446         (unlock): new method.
6447         (size): new method.
6448         (map): new method.
6449         (flush): new method.
6450         (close): new method.
6451         (State): new class.
6452         (Kind): new class.
6453         * vm/reference/gnu/java/nio/VMPipe.java (init): removed.
6454         (pipe, pipe0): new method.
6455         * vm/reference/java/net/VMNetworkInterface.java (name, addresses):
6456         new fields.
6457         (<clinit>): call `initIds.'
6458         (initIds): new method.
6459         (getInterfaces): removed.
6460         (getVMInterfaces): new method.
6461         (addAddress): new method.
6462         * vm/reference/java/nio/channels/VMChannels.java: fix imports.
6463
6464 2006-09-16  Chris Burdess  <dog@gnu.org>
6465
6466         Fixes PR 28572.
6467         * gnu/xml/transform/StreamSerializer.java: Don't escape XML entities
6468           when in text output mode.
6469
6470 2006-09-16  Chris Burdess  <dog@gnu.org>
6471
6472         Fixes PR 27293.
6473         * gnu/xml/dom/DomNode.java: Increment length of node during insert.
6474
6475 2006-09-14  Michael Koch  <konqueror@gmx.de>
6476
6477         * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Recreated.
6478
6479 2006-09-15  Chistian Elias Naur  <elias@oddlabs.com>
6480
6481         * java/io/ObjectStreamClass.java (setClass(Class, ObjectStreamClass)):
6482         Added !cl.isArray() to serialVersionUID mismatch check.
6483
6484 2006-09-14  Francis Kung  <fkung@redhat.com>
6485
6486         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
6487         (gnu_java_awt_peer_gtk_CairoGraphics2D_setGradient): Updated constants to
6488         be compatibe with Cairo 1.2.x.
6489
6490 2006-09-14  Francis Kung  <fkung@redhat.com>
6491
6492         * gnu/java/awt/peer/gtk/CairoGraphics2D.java: Added interpolation constants.
6493         (cairoSurfaceSetFilter): Removed method.
6494         (drawImage): Pass interpolation type as argument to drawing methods.
6495         (drawPixels): Added interpolation parameter.
6496         (drawRaster): Pass interpolation type as argument to drawing method.
6497         (getInterpolation): New method.
6498         (setRenderingHint): Store hints, but do not set interpolation in cairo.
6499         (setRenderingHints): Store hints, but do not set interpolation in cairo.
6500         * gnu/java/awt/peer/gtk/CairoSurface.java
6501         (drawSurface): Added interpolation parameter.
6502         (nativeDrawSurface): Added interpolation parameter.
6503         * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h
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/cairographics2d.h
6508         (java_awt_rendering_hints_filter): Added bicubic interpolation constant.
6509         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
6510         (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_drawPixels): Added interpolation
6511         parameter.
6512         (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoSurfaceSetFilter): Removed.
6513         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
6514         (Java_gnu_java_awt_peer_gtk_CairoSurface_nativeDrawSurface): Added
6515         interpolation parameter.
6516
6517 2006-09-14  Gary Benson  <gbenson@redhat.com>
6518
6519         * java/net/InetAddress.java
6520         (internalGetCanonicalHostName): New method.
6521         (getCanonicalHostName): Use internalGetCanonicalHostName.
6522         (getByLiteral): New method.
6523         (getAllByName): Use getByLiteral.
6524         * java/net/SocketPermission.java
6525         (host): Replaced with...
6526         (hostname, address): New fields.
6527         (equals, hashcode): Reflect the above.
6528         (setHostPort): Parse host into hostname or address.
6529         (implies): Rewrite host checks.
6530
6531 2006-09-14  David Gilbert  <david.gilbert@object-refinery.com>
6532
6533         Fixes PR28699
6534         * java/awt/Menu.java
6535         (insert(MenuItem, int)): Fixed loop range,
6536         (insert(String, int)): Updated API docs.
6537
6538 2006-09-14  Christian Thalinger  <twisti@complang.tuwien.ac.at>
6539
6540         Fixes PR22800
6541         * native/fdlibm/mprec.h (Storeinc): Define correctly for LE
6542         architectures (like Arm).
6543         * native/jni/java-lang/java_lang_VMDouble.c (doubleToLongBits):
6544         Reverted SWAP_DOUBLE patch.
6545         (doubleToRawLongBits): Likewise.
6546         (longBitsToDouble): Likewise.
6547
6548 2006-09-14  David Gilbert  <david.gilbert@object-refinery.com>
6549
6550         * java/awt/Menu.java: Reformatted source file.
6551
6552 2006-09-14  Jeroen Frijters  <jeroen@frijters.net>
6553
6554         * gnu/java/rmi/server/ActivatableRef.java
6555         (readExternal, writeExternal): Partial fix for serialization format.
6556
6557 2006-09-14  Jeroen Frijters  <jeroen@frijters.net>
6558
6559         PR classpath/28984
6560         * java/io/InputStreamReader.java
6561         (read(char[],int,int)): Fixed bug.
6562
6563 2006-09-13  Francis Kung  <fkung@redhat.com>
6564
6565         * java/awt/image/BandCombineOp.java: Updated documentation.
6566         (filter(Raster, WritableRaster)): Use int arrays, and added simple cache.
6567
6568 2006-09-13  Tom Tromey  <tromey@redhat.com>
6569
6570         PR classpath/29034:
6571         * java/io/PipedReader.java (read): Return early if len==0.
6572         * java/io/PipedInputStream.java (read): Return early if len==0.
6573
6574 2006-09-13  Francis Kung  <fkung@redhat.com>
6575
6576         * java/awt/image/ConvolveOp.java (filter(Raster, WritableRaster)):
6577         Removed hard-coded max sample value.
6578         * java/awt/image/RescaleOp.java (filter(Raster, WritableRaster)): 
6579         Fixed finding of max sample value.
6580
6581 2006-09-12  David Gilbert  <david.gilbert@object-refinery.com>
6582
6583         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
6584         (setPaint): Check null argument ('p').
6585
6586 2006-09-12  Francis Kung  <fkung@redhat.com>
6587
6588         PR 27940
6589         * gnu/java/awt/java2d/TexturePaintContext.java
6590         (constructor): Fixed typo, getMinY instead of getMaxX.
6591         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
6592         (setPaint): Implemented support for custom Paint classes.
6593         (setPaintPixels): Renamed from setTexturePixels, added repeat parameter.
6594         (setTexturePixels): Renamed to setPaintPixels, added repeat parameter.
6595         * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Renamed setTexturePixels
6596         to setPaintPixels, and added repeat parameter.
6597         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c:
6598          Renamed setTexturePixels to setPaintPixels, and added repeat parameter.
6599
6600 2006-09-12  Gary Benson  <gbenson@redhat.com>
6601
6602         * java/net/NetworkInterface.java (getInetAddresses):
6603         Fix port used in security check.
6604
6605 2006-09-12  David Gilbert  <david.gilbert@object-refinery.com>
6606
6607         * javax/swing/plaf/metal/DefaultMetalTheme.java
6608         (CONTROL_TEXT_FONT): Renamed 'controlTextFont',
6609         (MENU_TEXT_FONT): Renamed 'menuTextFont',
6610         (getControlTextFont): Check 'swing.boldMetal' setting before 
6611         initialising font,
6612         (getMenuTextFont): Likewise.
6613
6614 2006-09-12  David Gilbert  <david.gilbert@object-refinery.com>
6615
6616         * javax/swing/plaf/metal/OceanTheme.java
6617         (addCustomEntriesToTable): Added 'List.focusCellHighlightBorder' entry.
6618
6619 2006-09-12  David Gilbert  <david.gilbert@object-refinery.com>
6620
6621         * javax/swing/plaf/metal/MetalIconFactory.java
6622         (InternalFrameDefaultMenuIcon.paintIcon): Use theme colors.
6623
6624 2006-09-12  David Gilbert  <david.gilbert@object-refinery.com>
6625
6626         * javax/swing/AbstractSpinnerModel.java: API doc updates.
6627
6628 2006-09-12  David Gilbert  <david.gilbert@object-refinery.com>
6629
6630         * javax/swing/AbstractButton.java
6631         (AbstractButton): Initialise textIconGap field.
6632
6633 2006-09-11  Tom Tromey  <tromey@redhat.com>
6634
6635         * tools/gnu/classpath/tools/javah/FieldHelper.java (print): Print
6636         "volatile" when needed.
6637
6638 2006-09-11  David Gilbert  <david.gilbert@object-refinery.com>
6639
6640         * java/text/AttributedCharacterIterator.java
6641         (LANGUAGE): Initialise with lower case string,
6642         (INPUT_METHOD_SEGMENT): Likewise,
6643         (READING): Likewise,
6644         * java/text/AttributedStringIterator.java
6645         (getRunLimit): Check all attributes for changes.
6646
6647 2006-09-11  David Gilbert  <david.gilbert@object-refinery.com>
6648
6649         * java/text/AttributedCharacterIterator.java: Added @since tag, 
6650         renamed some variables (no underscores) and removed some spaces to
6651         match the common style,
6652         * java/text/AttributedString.java: Likewise,
6653         * java/text/AttributedStringIterator.java: Likewise.
6654
6655 2006-09-11  Gary Benson  <gbenson@redhat.com>
6656
6657         * java/net/Inet4Address.java
6658         (FAMILY): Renamed back to AF_INET.
6659         (<init>, writeReplace): Reflect the above.
6660         * java/net/Inet6Address.java
6661         (FAMILY): Renamed back to AF_INET6.
6662         (<init>): Reflect the above.
6663
6664 2006-09-11  Cameron McCormack  <cam-gcc-bugzilla@aka.mcc.id.au>
6665
6666         Fixes PR29010
6667         * java/text/AttributedString.java
6668         (AttributedString(AttributedCharacterIterator, int, int, 
6669         AttributedCharacterIterator.Attribute[])): Fixed check for defined 
6670         attribute.
6671
6672 2006-09-11  Gary Benson  <gbenson@redhat.com>
6673
6674         * java/net/Inet4Address.java
6675         (AF_INET): Renamed to FAMILY.
6676         (<init>, writeReplace): Reflect the above.
6677         * java/net/Inet6Address.java
6678         (AF_INET6): Renamed to FAMILY.
6679         (<init>): Reflect the above.
6680
6681 2006-09-10  Ito Kazumitsu  <kaz@maczuka.gcd.org>
6682
6683         Fixes bug #28867
6684         Originally in Kaffe: 2004-04-16  Helmer Kraemer <hkraemer@freenet.de>
6685         * java/net/ServerSocket.java(implAccept): Deleted socket.implCreated.
6686         * java/net/Socket.java: Avoid creating a redundant file descriptor.
6687         (implCreated): Deleted, (getImpl): Don't check impleCreated,
6688         (bind): Call getImpl().create(true).
6689
6690 2006-09-09  Chris Burdess  <dog@gnu.org>
6691
6692         * gnu/xml/xpath/Expr.java: Ensure that node-set evaluation returns
6693           an instance of org.w3c.dom.NodeList.
6694
6695 2006-09-08  Thomas Fitzsimmons  <fitzsim@redhat.com>
6696
6697         * tools/gnu/classpath/tools/appletviewer/Main.java: Warn about
6698         missing security manager when run in standalone mode.
6699
6700 2006-09-08  Francis Kung  <fkung@redhat.com>
6701
6702         * java/awt/image/AffineTransformOp.java: Updated documentation.
6703         (createCompatibleDestRaster): Updated formatting.
6704         (filter(BufferedImage, BufferedImage)): Updated formatting.
6705         (filter(Raster, WritableRaster)): Delegated processing to native peers for
6706         if colour model is compatible.
6707         (filterBicubic): Get entire pixel at once, and use appropriate array type.
6708         (filterBilinear): Get entire pixel at once, and use appropriate array type.
6709
6710 2006-09-08  Gary Benson  <gbenson@redhat.com>
6711
6712         * java/net/InetAddress.java
6713         (family): Updated javadoc and made private.
6714         (<init>): Add an address family argument.
6715         (readObject): Don't overwrite family.
6716         * java/net/Inet4Address.java
6717         (AF_INET): New constant.
6718         (<init>): Use AF_INET as the family.
6719         (writeReplace): Likewise.
6720         * java/net/Inet6Address.java
6721         (AF_INET6): New constant.
6722         (<init>): Use AF_INET6 as the family.
6723
6724 2006-09-08  Gary Benson  <gbenson@redhat.com>
6725
6726         * java/net/InetAddress.java
6727         (getHostName): Move lookup into getCanonicalHostName.
6728         (getCanonicalHostName): Move lookup from getHostName,
6729         Perform security check on canonical name (ie after lookup).
6730
6731 2006-09-08  Gary Benson  <gbenson@redhat.com>
6732
6733         * java/net/Inet4Address.java (isMulticastAddress,
6734         isLoopbackAddress, isAnyLocalAddress, isLinkLocalAddress,
6735         isSiteLocalAddress, isMCGlobal, isMCNodeLocal, isMCLinkLocal,
6736         isMCSiteLocal, isMCOrgLocal, getHostAddress): Moved
6737         implementations from InetAddress.
6738         * java/net/InetAddress.java (isMulticastAddress,
6739         isLoopbackAddress, isAnyLocalAddress, isLinkLocalAddress,
6740         isSiteLocalAddress, isMCGlobal, isMCNodeLocal, isMCLinkLocal,
6741         isMCSiteLocal, isMCOrgLocal, getHostAddress): Replace
6742         implementations with UnsupportedOperationExceptions.
6743         
6744 2006-09-08  Gary Benson  <gbenson@redhat.com>
6745
6746         * java/net/InetAddress.java
6747         (inaddr_any): Removed.
6748         (ANY_IF, LOCALHOST): Create using getByAddress.
6749         (<init>): Updated javadoc.
6750         (getHostName): Cache hostname even if the lookup failed.
6751         (getByAddress): Create Inet4Address objects when passed
6752         IPv4-mapped IPv6 addresses.
6753         (aton): Removed.
6754         (getAllByName): Create address objects using getByAddress.
6755         Do not perform security checks unless actually required.
6756         Do not strip whitespace from the hostname.
6757         (getInaddrAny): Removed.
6758         (getLocalHost): Return the loopback address if getByName
6759         throws a SecurityException.
6760         (readResolve): Updated javadoc.
6761         * vm/reference/java/net/VMInetAddress.java (aton): Declared.
6762         * include/java_net_VMInetAddress.h
6763         (Java_java_net_VMInetAddress_aton): Likewise.
6764         * native/jni/java-net/java_net_VMInetAddress.c
6765         (Java_java_net_VMInetAddress_aton): New method.
6766         * native/jni/native-lib/cpnet.h (cpnet_aton): Declared.
6767         * native/jni/native-lib/cpnet.c (cpnet_aton): New method.
6768         * configure.ac (AC_CHECK_FUNCS): Checks for cpnet_aton.
6769         * java/net/Inet4Address.java (writeReplace): Updated javadoc.
6770         * NEWS: Added note about updated VM interface.
6771
6772 2006-09-07  David Gilbert  <david.gilbert@object-refinery.com>
6773
6774         * javax/swing/plaf/basic/BasicInternalFrameUI.java
6775         (setNorthPane): Assign component to titlePane.
6776
6777 2006-09-07  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
6778
6779         * gnu/CORBA/NamingService/NameParser.java (corbaloc):
6780         Remove unused variable alt_addr.
6781         * gnu/CORBA/NamingService/NameTransformer.java (toName):
6782         Remove unused variables.
6783
6784 2006-09-07  David Gilbert  <david.gilbert@object-refinery.com>
6785
6786         * javax/swing/plaf/metal/MetalScrollBarUI.java
6787         (installDefaults): Initialise scrollBarWidth from UI defaults here,
6788         (createDecreaseButton): Don't fetch scrollBarWidth here, 
6789         (createIncreaseButton): Likewise.
6790
6791 2006-09-07  David Gilbert  <david.gilbert@object-refinery.com>
6792
6793         * java/awt/image/MemoryImageSource.java: Added API docs.
6794
6795 2006-09-06  David Gilbert  <david.gilbert@object-refinery.com>
6796
6797         * javax/swing/plaf/basic/BasicScrollBarUI.java
6798         (installDefaults): Call configureScrollBarColors().
6799
6800 2006-09-06  Francis Kung  <fkung@redhat.com>
6801
6802         * java/awt/image/RescaleOp.java: Updated documentation and formatting.
6803         (constructor): Make copy of arrays.
6804         (createCompatibleDestImage): Changed treatment of null ColorModel.
6805         (filter(BufferedImage, BufferedImage)): Re-implemented.
6806         (filter(Raster, WritableRaster, boolean[])): New method.
6807         (filter(Raster, WritableRaster)): Re-implemented.
6808         (getOffsets): Prevent ArrayIndexOutOfBoundsException.
6809         (getPoint2D): Cleaned up formatting.
6810         (getScaleFactors): Prevent ArrayIndexOutOfBoundsException.
6811
6812 2006-09-06  David Gilbert  <david.gilbert@object-refinery.com>
6813
6814         * javax/swing/UIManager.java
6815         (getBoolean(Object)): Reimplemented,
6816         (getBoolean(Object, Locale)): Likewise,
6817         (getBorder(Object)): Likewise,
6818         (getBorder(Object, Locale)): Likewise,
6819         (getColor(Object)): Likewise,
6820         (getColor(Object, Locale)): Likewise,
6821         (getDimension(Object)): Likewise,
6822         (getDimension(Object, Locale)): Likewise,
6823         (getFont(Object)): Likewise,
6824         (getFont(Object, Locale)): Likewise,
6825         (getIcon(Object)): Likewise,
6826         (getIcon(Object, Locale)): Likewise,
6827         (getInsets(Object)): Updated API docs,
6828         (getInsets(Object, Locale)): Likewise,
6829         (getInt(Object)): Reimplemented,
6830         (getInt(Object, Locale)): Likewise,
6831         (getString(Object)): Likewise,
6832         (getString(Object, Locale)): Likewise.
6833
6834 2006-09-06  David Gilbert  <david.gilbert@object-refinery.com>
6835
6836         * javax/swing/UIManager.java
6837         (MultiplexUIDefaults.MultiplexUIDefaults()): Don't allow null fallback,
6838         (getDefaults): Initialise MultiplexUIDefaults with empty fallback.
6839
6840 2006-09-06  David Gilbert  <david.gilbert@object-refinery.com>
6841
6842         * javax/swing/plaf/metal/MetalLookAndFeel.java
6843         (initComponentDefaults): Corrected various font defaults.
6844
6845 2006-09-05  David Gilbert  <david.gilbert@object-refinery.com>
6846
6847         * java/awt/List.java: Added @since to various methods.
6848
6849 2006-09-05  Andrew John Hughes  <gnu_andrew@member.fsf.org>
6850
6851         * native/jni/native-lib/cpprocess.c:
6852         (forkAndExec(char*,char*,int,int,pid_t,char*)):
6853         Add redirection of stdout to stderr.
6854         * native/jni/native-lib/cpprocess.h:
6855         Added redirect argument.
6856         * native/jni/java-lang/java_lang_VMProcess.c
6857         (Java_java_lang_VMProcess_nativeSpawn): Readd redirect argument.
6858         * vm/reference/java/lang/VMProcess.java: Likewise.
6859         * include/java_lang_VMProcess.h: Regenerated.
6860         
6861 2006-09-05  Andreas Tobler  <a.tobler@schweiz.ch>
6862
6863         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c: Adjust
6864         __attribute to __attribute__.
6865
6866         * native/jni/java-nio/java_nio_MappedByteBufferImpl.c: Remove duplicate
6867         header include.
6868
6869 2006-09-05  David Gilbert  <david.gilbert@object-refinery.com>
6870
6871         * java/awt/List.java: Source code reformatted.
6872
6873 2006-09-05  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
6874
6875         * gnu/CORBA/CollocatedOrbs.java,
6876         gnu/CORBA/SafeForDirectCalls.java: New files.
6877         * gnu/CORBA/NamingService/Binding_iterator_impl.java:
6878         Implement gnu.CORBA.SafeForDirectCalls.
6879         * gnu/CORBA/NamingService/Ext.java: Likewise.
6880         * gnu/CORBA/NamingService/TransientContext.java: Likewise.
6881         * gnu/CORBA/OrbFunctional.java (createIor):Cache the address
6882         of the local host. (ior_to_object): Return the local object
6883         where possible. (run): Register/unregister this ORB.
6884         * gnu/CORBA/Poa/LocalRequest.java (v_invoke): Call gnuPOA.checkDiscarding.      
6885         * gnu/CORBA/Poa/gnuPOA.java (checkDiscarding): Made package private.
6886         * gnu/CORBA/Poa/gnuServantObject.java (noRetain): New field.
6887         (constructors): Initialize noRetain. (_invoke): Drop servant
6888         if noRetain is true. (getHandler): Always seach for the new servant
6889         if noRetain is true.
6890         * gnu/CORBA/SimpleDelegate.java (create_request): Implemented.
6891         * NEWS: Added note about the new feature.
6892
6893 2006-09-05  David Gilbert  <david.gilbert@object-refinery.com>
6894
6895         * java/awt/Choice.java
6896         (addItem): Fixed API doc glitch.
6897
6898 2006-09-05  Francis Kung  <fkung@redhat.com>
6899
6900         * java/awt/image/LookupOp.java: Updated documentation & formatting.
6901         (createCompatibleDestImage): Re-implemented.
6902         (filter(BufferedImage, BufferedImage)): Added check for src/dest image
6903         compatibility, and use ColorConvertOp for color conversion if needed.
6904         (filter(Raster, WritableRaster)): Made exceptions more descriptive.
6905
6906 2006-09-05  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
6907
6908         gnu/CORBA/CDR/Vio.java,
6909         org/omg/CORBA_2_3/ORB.java,
6910         org/omg/CORBA_2_3/portable/InputStream.java,
6911         org/omg/CORBA_2_3/portable/OutputStream.java,
6912         org/omg/CosNaming/BindingIteratorHelper.java,
6913         org/omg/CosNaming/BindingTypeHelper.java,
6914         org/omg/CosNaming/NameComponentHelper.java,
6915         org/omg/CosNaming/NameHelper.java,
6916         org/omg/CosNaming/NamingContextExtHelper.java,
6917         org/omg/CosNaming/NamingContextExtPackage/AddressHelper.java,
6918         org/omg/CosNaming/NamingContextExtPackage/InvalidAddressHelper.java,
6919         org/omg/CosNaming/NamingContextExtPackage/InvalidAddressHolder.java,
6920         org/omg/CosNaming/NamingContextExtPackage/StringNameHelper.java,
6921         org/omg/CosNaming/NamingContextExtPackage/URLStringHelper.java,
6922         org/omg/CosNaming/NamingContextHelper.java,
6923         org/omg/CosNaming/NamingContextPackage/AlreadyBoundHelper.java,
6924         org/omg/CosNaming/NamingContextPackage/InvalidName.java,
6925         org/omg/CosNaming/NamingContextPackage/InvalidNameHelper.java,
6926         org/omg/CosNaming/NamingContextPackage/NotEmptyHelper.java,
6927         org/omg/CosNaming/NamingContextPackage/NotFoundReasonHelper.java,
6928         org/omg/CosNaming/NamingContextPackage/NotFoundReasonHolder.java,
6929         org/omg/DynamicAny/AnySeqHelper.java,
6930         org/omg/DynamicAny/DynAnyFactoryHelper.java,
6931         org/omg/DynamicAny/DynAnyFactoryOperations.java,
6932         org/omg/DynamicAny/DynAnyFactoryPackage/InconsistentTypeCodeHelper.java,
6933         org/omg/DynamicAny/DynAnyHelper.java,
6934         org/omg/DynamicAny/DynAnyOperations.java,
6935         org/omg/DynamicAny/DynAnyPackage/InvalidValueHelper.java,
6936         org/omg/DynamicAny/DynAnyPackage/TypeMismatchHelper.java,
6937         org/omg/DynamicAny/DynAnySeqHelper.java,
6938         org/omg/DynamicAny/DynArrayHelper.java,
6939         org/omg/DynamicAny/DynEnumHelper.java,
6940         org/omg/DynamicAny/DynFixedHelper.java,
6941         org/omg/DynamicAny/DynSequenceHelper.java,
6942         org/omg/DynamicAny/DynStructHelper.java,
6943         org/omg/DynamicAny/DynStructOperations.java,
6944         org/omg/DynamicAny/DynUnionHelper.java,
6945         org/omg/DynamicAny/DynValueHelper.java,
6946         org/omg/DynamicAny/NameDynAnyPairHelper.java,
6947         org/omg/DynamicAny/NameDynAnyPairSeqHelper.java,
6948         org/omg/IOP/CodecFactoryHelper.java,
6949         org/omg/IOP/CodecFactoryPackage/UnknownEncodingHelper.java,
6950         org/omg/IOP/CodecOperations.java,
6951         org/omg/IOP/CodecPackage/FormatMismatchHelper.java,
6952         org/omg/IOP/CodecPackage/InvalidTypeForEncodingHelper.java,
6953         org/omg/IOP/CodecPackage/TypeMismatchHelper.java,
6954         org/omg/IOP/ComponentIdHelper.java,
6955         org/omg/IOP/ExceptionDetailMessage.java,
6956         org/omg/IOP/MultipleComponentProfileHelper.java,
6957         org/omg/IOP/ProfileIdHelper.java,
6958         org/omg/IOP/ServiceContextListHelper.java,
6959         org/omg/IOP/ServiceIdHelper.java,
6960         org/omg/IOP/TAG_CODE_SETS.java,
6961         org/omg/PortableInterceptor/ClientRequestInfoOperations.java,
6962         org/omg/PortableInterceptor/ClientRequestInterceptorOperations.java,
6963         org/omg/PortableInterceptor/CurrentHelper.java,
6964         org/omg/PortableInterceptor/IORInfo.java,
6965         org/omg/PortableInterceptor/IORInterceptor_3_0Helper.java,
6966         org/omg/PortableInterceptor/ORBIdHelper.java,
6967         org/omg/PortableInterceptor/ORBInitInfoOperations.java,
6968         org/omg/PortableInterceptor/ORBInitInfoPackage/InvalidNameHelper.java,
6969         org/omg/PortableInterceptor/ORBInitializerOperations.java,
6970         org/omg/PortableInterceptor/ObjectReferenceFactoryHelper.java,
6971         org/omg/PortableInterceptor/ObjectReferenceTemplateHelper.java,
6972         org/omg/PortableInterceptor/RequestInfoOperations.java,
6973         org/omg/PortableInterceptor/ServerIdHelper.java,
6974         org/omg/PortableInterceptor/ServerRequestInfoOperations.java,
6975         org/omg/PortableInterceptor/ServerRequestInterceptorOperations.java,
6976         org/omg/PortableServer/AdapterActivatorOperations.java,
6977         org/omg/PortableServer/CurrentHelper.java,
6978         org/omg/PortableServer/CurrentPackage/NoContextHelper.java,
6979         org/omg/PortableServer/ForwardRequestHelper.java,
6980         org/omg/PortableServer/IdAssignmentPolicyValue.java,
6981         org/omg/PortableServer/IdUniquenessPolicyValue.java,
6982         org/omg/PortableServer/ImplicitActivationPolicyValue.java,
6983         org/omg/PortableServer/LifespanPolicyValue.java,
6984         org/omg/PortableServer/POA.java,
6985         org/omg/PortableServer/POAHelper.java,
6986         org/omg/PortableServer/POAManagerPackage/AdapterInactiveHelper.java,
6987         org/omg/PortableServer/POAManagerPackage/State.java,
6988         org/omg/PortableServer/POAOperations.java,
6989         org/omg/PortableServer/POAPackage/AdapterAlreadyExistsHelper.java,
6990         org/omg/PortableServer/POAPackage/AdapterNonExistentHelper.java,
6991         org/omg/PortableServer/POAPackage/InvalidPolicy.java,
6992         org/omg/PortableServer/POAPackage/NoServantHelper.java,
6993         org/omg/PortableServer/POAPackage/ObjectAlreadyActiveHelper.java,
6994         org/omg/PortableServer/POAPackage/ObjectNotActiveHelper.java,
6995         org/omg/PortableServer/POAPackage/ServantAlreadyActiveHelper.java,
6996         org/omg/PortableServer/POAPackage/ServantNotActiveHelper.java,
6997         org/omg/PortableServer/POAPackage/WrongAdapterHelper.java,
6998         org/omg/PortableServer/POAPackage/WrongPolicyHelper.java,
6999         org/omg/PortableServer/RequestProcessingPolicyValue.java,
7000         org/omg/PortableServer/ServantActivatorHelper.java,
7001         org/omg/PortableServer/ServantLocatorHelper.java,
7002         org/omg/PortableServer/ServantLocatorOperations.java,
7003         org/omg/PortableServer/ServantRetentionPolicyValue.java,
7004         org/omg/PortableServer/ThreadPolicyValue.java,
7005         org/omg/PortableServer/_ServantActivatorStub.java,
7006         org/omg/PortableServer/_ServantLocatorStub.java,
7007         org/omg/PortableServer/portable/Delegate.java: Documentation fixes.
7008
7009 2006-09-05  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
7010
7011         * javax/rmi/CORBA/Tie.java,
7012         org/omg/CORBA/AnyHolder.java,
7013         org/omg/CORBA/AnySeqHelper.java,
7014         org/omg/CORBA/AnySeqHolder.java,
7015         org/omg/CORBA/BooleanHolder.java,
7016         org/omg/CORBA/BooleanSeqHelper.java,
7017         org/omg/CORBA/BooleanSeqHolder.java,
7018         org/omg/CORBA/ByteHolder.java,
7019         org/omg/CORBA/CharHolder.java,
7020         org/omg/CORBA/CharSeqHelper.java,
7021         org/omg/CORBA/CharSeqHolder.java,
7022         org/omg/CORBA/Context.java,
7023         org/omg/CORBA/CurrentHelper.java,
7024         org/omg/CORBA/CustomValue.java,
7025         org/omg/CORBA/DataOutputStream.java,
7026         org/omg/CORBA/DefinitionKindHelper.java,
7027         org/omg/CORBA/DomainManagerOperations.java,
7028         org/omg/CORBA/DoubleHolder.java,
7029         org/omg/CORBA/DoubleSeqHelper.java,
7030         org/omg/CORBA/DoubleSeqHolder.java,
7031         org/omg/CORBA/DynAny.java,
7032         org/omg/CORBA/DynSequence.java,
7033         org/omg/CORBA/DynValue.java,
7034         org/omg/CORBA/DynamicImplementation.java,
7035         org/omg/CORBA/FieldNameHelper.java,
7036         org/omg/CORBA/FixedHolder.java,
7037         org/omg/CORBA/FloatHolder.java,
7038         org/omg/CORBA/FloatSeqHelper.java,
7039         org/omg/CORBA/FloatSeqHolder.java,
7040         org/omg/CORBA/IdentifierHelper.java,
7041         org/omg/CORBA/IntHolder.java,
7042         org/omg/CORBA/LocalObject.java,
7043         org/omg/CORBA/LongHolder.java,
7044         org/omg/CORBA/LongLongSeqHelper.java,
7045         org/omg/CORBA/LongLongSeqHolder.java,
7046         org/omg/CORBA/LongSeqHelper.java,
7047         org/omg/CORBA/LongSeqHolder.java,
7048         org/omg/CORBA/ORB.java,
7049         org/omg/CORBA/ObjectHelper.java,
7050         org/omg/CORBA/ObjectHolder.java,
7051         org/omg/CORBA/OctetSeqHelper.java,
7052         org/omg/CORBA/OctetSeqHolder.java,
7053         org/omg/CORBA/PolicyErrorCodeHelper.java,
7054         org/omg/CORBA/PolicyErrorHelper.java,
7055         org/omg/CORBA/PolicyHelper.java,
7056         org/omg/CORBA/PolicyListHelper.java,
7057         org/omg/CORBA/PolicyTypeHelper.java,
7058         org/omg/CORBA/PrincipalHolder.java,
7059         org/omg/CORBA/RepositoryIdHelper.java,
7060         org/omg/CORBA/Request.java,
7061         org/omg/CORBA/ShortHolder.java,
7062         org/omg/CORBA/ShortSeqHelper.java,
7063         org/omg/CORBA/ShortSeqHolder.java,
7064         org/omg/CORBA/StringSeqHelper.java,
7065         org/omg/CORBA/StringSeqHolder.java,
7066         org/omg/CORBA/ULongLongSeqHelper.java,
7067         org/omg/CORBA/ULongLongSeqHolder.java,
7068         org/omg/CORBA/ULongSeqHelper.java,
7069         org/omg/CORBA/ULongSeqHolder.java,
7070         org/omg/CORBA/UShortSeqHelper.java,
7071         org/omg/CORBA/UShortSeqHolder.java,
7072         org/omg/CORBA/ValueBaseHelper.java,
7073         org/omg/CORBA/ValueBaseHolder.java,
7074         org/omg/CORBA/VersionSpecHelper.java,
7075         org/omg/CORBA/WCharSeqHelper.java,
7076         org/omg/CORBA/WCharSeqHolder.java,
7077         org/omg/CORBA/WStringSeqHelper.java,
7078         org/omg/CORBA/WStringSeqHolder.java,
7079         org/omg/CORBA/WrongTransactionHelper.java,
7080         org/omg/CORBA/_IDLTypeStub.java,
7081         org/omg/CORBA/_PolicyStub.java,
7082         org/omg/CORBA/portable/BoxedValueHelper.java,
7083         org/omg/CORBA/portable/Delegate.java,
7084         org/omg/CORBA/portable/ObjectImpl.java,
7085         org/omg/CORBA/portable/ServantObject.java,
7086         org/omg/CORBA/portable/StreamableValue.java,
7087         org/omg/CosNaming/BindingType.java,
7088         org/omg/CosNaming/IstringHelper.java,
7089         org/omg/DynamicAny/FieldNameHelper.java,
7090         org/omg/PortableServer/Servant.java: Documentation fixes.
7091
7092 2006-09-04  David Gilbert  <david.gilbert@object-refinery.com>
7093
7094         * java/awt/Rectangle.java
7095         (setRect(double, double, double, double)): Modified rounding of input
7096         values.
7097
7098 2006-09-03  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
7099
7100         * gnu/javax/swing/text/html/parser/HTML_401F.java (defineElements):
7101         Disallow H1 - H6 in the paragraphs.
7102         * gnu/javax/swing/text/html/parser/support/textPreProcessor.java
7103         (preprocess): Leave at most one leading and/or trailing space.
7104         * javax/swing/text/html/HTMLDocument.java (HTMLReader.handleText):
7105         Do not add any text after closing the HTML tag.
7106
7107 2006-09-02  Roman Kennke  <kennke@aicas.com>
7108
7109         PR 28928
7110         * javax/swing/plaf/basic/BasicTextUI.java
7111         (RootView.getPreferredSpan): Default to 10 when there is no
7112         real view.
7113         (RootView.getMinimumSpan): Forward to view and default to 10
7114         when there is no real view.
7115         (RootView.getMaximumSpan): Return Integer.MAX_VALUE.
7116         (getMaximumSize): Check for overflow.
7117         * javax/swing/text/FieldView.java
7118         (getResizeWeight): Removed unneeded assignment.
7119
7120 2006-09-01  Francis Kung  <fkung@redhat.com>
7121         * java/awt/image/ColorConvertOp.java
7122         (copyImage): Updated javadoc and comments.
7123         (copyRaster): Add javadoc.
7124         (createCompatibleColorModel): Add javadocs and comments.
7125         (createCompatibleDestImage): Use correct transfer type.
7126         (createCompatibleDestRaster): Add new parameter for transfer type.
7127         (filter): Use correct transfer type.
7128         * java/awt/image/ConvolveOp.java: Updated javadocs.
7129         (createCompatibleDestImage): Set new image properties correctly.
7130         (filter(BufferedImage, BufferedImage): Correct handling of premultiplication.
7131         (filter(WritableRaster, Raster): Clip sample values to [0-255].
7132
7133 2006-09-01  Robert Schuster  <robertschuster@fsfe.org>
7134
7135         * javax/swing/table/DefaultTableModel.java:
7136         (checkSize): Added null check for dataVector.
7137
7138 2006-09-01  Robert Schuster  <robertschuster@fsfe.org>
7139
7140         * javax/swing/plaf/basic/BasicSplitPaneUI.java:
7141         (BasicHorizontalLayout.getAlignmentX): Return fixed value.
7142         (BasicHorizontalLayout.getAlignmentY): Return fixed value.
7143
7144 2006-09-01  Robert Schuster  <robertschuster@fsfe.org>
7145
7146         * javax/swing/plaf/metal/MetalCheckBoxIcon.java:
7147         (paintIcon): Removed unused import statements, lowered cast requirement
7148         from JCheckBox to AbstractButton.
7149
7150 2006-09-01  Robert Schuster  <robertschuster@fsfe.org>
7151
7152         * javax/swing/plaf/basic/BasicLookAndFeel.java:
7153         (initComponentDefaults): Added, changed and removed some
7154         tabbed pane properties.
7155
7156 2006-09-01  Robert Schuster  <robertschuster@fsfe.org>
7157
7158         * examples/gnu/classpath/examples/swing/TabbedPaneDemo.java:
7159         (createContent): Changed menu item name and tab naming.
7160
7161 2006-09-01  Roman Kennke  <kennke@aicas.com>
7162
7163         PR 28922
7164         * javax/swing/plaf/basic/BasicHTML.java
7165         (HTMLRootView.getAttributes): Overridden to return null.
7166         (HTMLRootView.getElement): Overridden to return the view's
7167         element.
7168
7169 2006-09-01  Robert Schuster  <robertschuster@fsfe.org>
7170
7171         * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
7172         (calculateTabAreaHeight): Use getTabRunOverlay method instead
7173         of accessing variable directly.
7174         (calculateTabAreaWidth): Dito.
7175
7176 2006-08-31  Keith Seitz  <keiths@redhat.com>
7177
7178         * include/jvmti.h: Include jvmti_md.h.
7179
7180 2006-08-31  Keith Seitz  <keiths@redhat.com>
7181
7182         From Martin Platter  <motse@complang.tuwien.ac.at>:
7183         * Makefile.am (include_HEADERS): Include jvmti.h.
7184         * include/jvmti.h (jvmtiEnv) [!__cplusplus]: Add missing '*'.
7185         (jvmtiError): Remove superfluous comma after last entry.
7186         (jvmtiEvent): It's "BREAKPOINT" not "BERAKPOINT".
7187         (_Jv_jvmtiEnv.StopThread): Add missing exception parameter.
7188         (_Jv_jvmtiEnv.RawMonitorWait): Add missing millis parameter.
7189         (_Jv_jvmtiEnv.GetSourceFileName): source_name_ptr is pointer to
7190         character pointer.
7191         (_Jv_JVMTIEnv::StopThread): Add missing exception parameter.
7192         (_Jv_JVMTIEnv::RawMonitorWait): Add missing millis parameter.
7193         (_Jv_JVMTIEnv::GetSourceFileName): source_name_ptr is pointer to
7194         character pointer.
7195
7196 2006-08-31  Roman Kennke  <kennke@aicas.com>
7197
7198         * javax/swing/text/BoxView.java
7199         (getWidth): Return the width with insets added, not with one
7200         added and one removed.
7201         (getHeight): Return the height with insets added, not with one
7202         added and one removed.
7203         * javax/swing/text/GlyphView.java
7204         (DefaultGlyphPainter.viewToModel): Need to add the start offset.
7205         * javax/swing/text/ParagraphView.java
7206         (Row.getAlignment): Adjust alignment with respect to
7207         the justification attribute.
7208         (Row.getLeftInset): Overridden to adjust for firstLineIndent
7209         attribute.
7210         * javax/swing/text/html/CSS.java
7211         (getValue): Convert length values.
7212         * javax/swing/text/html/Paragraph.java
7213         (painter): New field.
7214         (paint): Implemented to delegate painting to the BoxPainter too.
7215         (setPropertiesFromAttributes): Implemented to load attributes
7216         from CSS.
7217         * javax/swing/text/html/StyleSheet.java
7218         (BoxPainter.as): Removed field.
7219         (BoxPainter.leftInset): New field.
7220         (BoxPainter.bottomInset): New field.
7221         (BoxPainter.rightInset): New field.
7222         (BoxPainter.topInset): New field.
7223         (BoxPainter.BoxPainter): Implemented to load the insets from
7224         CSS.
7225         (BoxPainter.getInset): Implemented.
7226         * gnu/javax/swing/text/html/Length.java: New class.
7227         Converts CSS length units to usable values.
7228
7229 2006-08-31  Andreas Tobler  <a.tobler@schweiz.ch>
7230
7231         * configure.ac: Add check for gethostbyname_r.
7232         Add check for MSG_NOSIGNAL and SO_NOSIGPIPE.
7233         * native/jni/native-lib/cpnet.c (SOCKET_NOSIGNAL): Define
7234         SOCKET_NOSIGNAL according to the configure check.
7235         (cpnet_send): Use SOCKET_NOSIGNAL.
7236         (cpnet_sendTo): Likewise.
7237         (cpnet_getHostByName): Use gethostbyname in case gethostbyname_r is not
7238         defined.
7239         * native/jni/native-lib/cpio.c: Define O_SYNC and O_DSYNC in case they
7240         are not available.
7241
7242         * lib/Makefile.am (cssfiles): Add new rule to install css files.
7243
7244 2006-08-31  Roman Kennke  <kennke@aicas.com>
7245
7246         * javax/swing/JEditorPane.java
7247         (getPreferredSize): Replace preferred size with minimum
7248         UI size only if the scrollable does _not_ track the viewport
7249         size and only if the viewport's size is smaller than the
7250         scrollable's size.
7251         (getScrollableTracksViewportWidth): Avoid unnecessary multiple
7252         method calls.
7253         * javax/swing/plaf/basic/BasicTextUI.java
7254         (getPreferredSize): Read-lock the document to avoid
7255         concurrency problems.
7256         (getMaximumSize): Return maximum size of the view.
7257         Read-lock the document to avoid concurrency problems.
7258         (getMinimumSize): Return minimum size of the view.
7259         Read-lock the document to avoid concurrency problems.
7260
7261 2006-08-31  Gary Benson  <gbenson@redhat.com>
7262
7263         * java/net/SocketPermission.java
7264         (maybeBracketIPv6Address): Renamed to processHostport.
7265         (processHostport): Also translate "" to "localhost".
7266         (setHostPort): Remove special cases for empty hostport and for
7267         extra colons in hostport (processHostport handles these now).
7268
7269 2006-08-31  Mark Wielaard  <mark@klomp.org>
7270
7271         * javax/swing/text/ZoneView.java (Zone): Make static class.
7272         Constructor takes axis parameter.
7273         (createZone): Create Zone with getAxis() as major axis.
7274
7275 2006-08-30  Roman Kennke  <kennke@aicas.com>
7276
7277         * javax/swing/text/ZoneView.java
7278         (loadChildren): Implemented.
7279         (getViewIndexAtPosition): Implemented.
7280         (checkZoneAt): New helper method.
7281         (splitZone): New helper method.
7282         (getPreferredZoneEnd): New helper method.
7283
7284 2006-08-30  Roman Kennke  <kennke@aicas.com>
7285
7286         * javax/swing/text/ZoneView.java: New class.
7287
7288 2006-08-30  Roman Kennke  <kennke@aicas.com>
7289
7290         * javax/swing/JMenu.java
7291         (getMenu): Removed unneeded cast.
7292         (getPopupMenuOrigin): Made positioning algorithm better respect
7293         the screen bounds.
7294         (setMenuLocation): Also set the location on the popup if it's
7295         not null.
7296         (setModel): Use menuChangeListener so that we don't override
7297         the changeListener field from AbstractButton.
7298         (setPopupMenuVisible): Use custom location if set, otherwise
7299         fallback to getPopupMenuOrigin().
7300
7301 2006-08-29  Roman Kennke  <kennke@aicas.com>
7302
7303         * javax/swing/text/InternationalFormatter.java
7304         (stringToValue): Fixed bounds check.
7305         * javax/swing/text/MaskFormatter.java
7306         (MaskFormatter): Don't explicitly set allosInvalid property.
7307         (convertStringToValue): New helper method.
7308         (convertValueToString): New helper method.
7309         (convertValue): Removed. Replaced by the 2 convert* methods
7310         above.
7311         (getPadCharAt): Removed.
7312         (isCharValid): Removed.
7313         (pad): Removed.
7314         (stringToValue): Fixed stringToValue conversion.
7315         (stripLiterals): Removed.
7316         (valueToString): Fixed valueToString conversion.
7317         * javax/swing/text/DefaultFormatter.java
7318         (DefaultFormatter): Default to commitsOnValidEdit = false.
7319
7320 2006-08-29  Roman Kennke  <kennke@aicas.com>
7321
7322         * javax/swing/text/TextAction.java
7323         (getTextComponent): Check event for null and return null in
7324         this case.
7325         (augmentList): Augment Actions based on their names.
7326         * javax/swing/text/DefaultEditorKit.java
7327         (BeginAction.actionPerformed): Check target for null.
7328         (BeginLineAction.actionPerformed): Check target for null.
7329         (CopyAction.actionPerformed): Check target for null.
7330         (CutAction.actionPerformed): Check target for null.
7331         (EndAction.actionPerformed): Check target for null.
7332         (EndLineAction.actionPerformed): Check target for null.
7333         (InsertBreakAction.actionPerformed): Check target for null.
7334         (InsertTabAction.actionPerformed): Check target for null.
7335         (PasteAction.actionPerformed): Check target for null.
7336         (SelectAllAction.actionPerformed): Check target for null.
7337         (SelectionBeginAction.actionPerformed): Check target for null.
7338         (SelectionBeginLineAction.actionPerformed): Check target for null.
7339         (SelectionEndAction.actionPerformed): Check target for null.
7340         (SelectionEndLineAction.actionPerformed): Check target for null.
7341         (SelectLineAction.actionPerformed): Check target for null.
7342         (SelectWordAction.actionPerformed): Check target for null.
7343
7344 2006-08-29  Roman Kennke  <kennke@aicas.com>
7345
7346         * javax/swing/plaf/basic/BasicTextUI.java
7347         (FocusHandler): New class. This is moved from the anonymous
7348         inner focus listener class to a static member class, and
7349         is now shared between components.
7350         (DocumentHandler): This class is combined with the PropertyHandler
7351         into the Handler class.
7352         (PropertyChangeHandler): This class is combined with the
7353         DocumentHandler into the Handler class.
7354         (Handler): New class. This combines the Property and Document
7355         handler into one class.
7356         (RootView.changedUpdate): Only forward if real view != null.
7357         (RootView.insertUpdate): Only forward if real view != null.
7358         (RootView.removeUpdate): Only forward if real view != null.
7359         (documentHandler): Removed field and replaced by handler.
7360         (focuslistener): Made field static and renamed to focusListener.
7361         (handler): New field.
7362         (kit): Lazily initialize field.
7363         (rootView): Lazily initialize field.
7364         (updateHandler): Removed and replaced by handler.
7365         (getEditorKit): Lazily instantiate field.
7366         (installDefaults): Don't set margin twice. Install correct
7367         property for disabledTextColor. Moved caret and highlighter
7368         initialization to installFixedDefaults.
7369         (installFixedDefaults): New method. Installs defaults that
7370         can't be overridden by subclasses.
7371         (installListeners): Only install focus handler when new
7372         system property gnu.swing.text.no-xlike-clipboard is not set.
7373         Lazily initialize focus handler.
7374         (installUI): Lazily initialize rootView. Install handler
7375         both for property and document changes.
7376         (uninstallDefaults): Uninstall the UI defaults.
7377         (uninstallFixedDefaults): New method. Uninstalls the fixed
7378         defaults.
7379         (installListeners): Only uninstall focus handler when not null.
7380         (uninstallUI): Uninstall property and document listener here.
7381
7382 2006-08-29  Gary Benson  <gbenson@redhat.com>
7383
7384         * java/net/SocketPermission.java
7385         (maybeBracketIPv6Address): New method.
7386         (<init>): Pass the hostport argument through the above.
7387
7388         * java/net/NetworkInterface.java (getInetAddresses):
7389         Don't bracket IPv6 addresses.
7390
7391 2006-08-28  Roman Kennke  <kennke@aicas.com>
7392
7393         * javax/swing/text/BoxView.java
7394         (calculateMinorAxisRequirements): Initialize max size
7395         with Integer.MAX_VALUE.
7396         * javax/swing/text/Utilities.java
7397         (getBreakLocation): For simple chars, scan the text directly.
7398         * javax/swing/text/WrappedPlainView.java
7399         (tabBase): New field.
7400         (tabSize): New field.
7401         (calculateBreakPosition): Use Utilities. Fixed for correct
7402         break calculation.
7403         (changedUpdate): Update children directly.
7404         (insertUpdate): Update children directly. Notify children.
7405         (removeUpdate): Update children directly. Notify children.
7406         (updateChildren): New helper method.
7407         (nextTabStop): Fixed to return correct results.
7408         (paint): Update tabBase.
7409         (updateMetrics): Update tab size.
7410
7411 2006-08-28  Roman Kennke  <kennke@aicas.com>
7412
7413         * javax/swing/text/Position.java
7414         (Bias.Forward): Initialize with 'Forward' rather then 'forward'.
7415         (Bias.Backward): Initialize with 'Backward' rather then 'backward'.
7416
7417 2006-08-28  Roman Kennke  <kennke@aicas.com>
7418
7419         * javax/swing/text/View.java
7420         (height): Removed unneeded field.
7421         (width): Removed unneeded field.
7422         (getBreakWeight): Return GoodBreakWeight when pos is after
7423         the view's span.
7424         (getToolTipText): Check view index more carefully. Avoid
7425         Rectangle creation.
7426         (insertUpdate): Only execute method body if view count > 0.
7427         When updateChildren returns false, clear the ec variable.
7428         (updateChildren): Added null checks.
7429         (viewToModel): Initialize bias array correctly.
7430         * javax/swing/text/CompositeView.java
7431         (children): Made private.
7432         (numChildren): New field.
7433         (loadChildren): Check factory for null. Don't load children
7434         when factory is null.
7435         (replace): Removed null check. Nullify removed children. Made
7436         growing the array more efficient.
7437         (getViewCount): Return numChildren rather then the real array
7438         size.
7439         * javax/swing/text/BoxView.java
7440         (getViewAtPoint): Fixed algorithm for finding the view.
7441         (replace): Made array growing more efficient.
7442         (replaceLayoutArray): New helper method for growing/patching
7443         the layout arrays.
7444         (viewToModel): Make sure we have a valid layout.
7445
7446 2006-08-28  Tania Bento  <tbento@redhat.com>
7447
7448         * java/awt/MenuShortcut.java
7449         (MenuShortcut (int, boolean)): Set keyName.
7450         (toString): Modified string output.
7451         (setKeyName): New private method.
7452
7453 2006-08-28  Roman Kennke  <kennke@aicas.com>
7454
7455         * javax/swing/text/GapContent.java
7456         (Mark.getOffset): Made assert less strict, include boundary.
7457         (search): Made package private to avoid accessor method.
7458
7459 2006-08-28  Roman Kennke  <kennke@aicas.com>
7460
7461         * javax/swing/text/StringContent.java
7462         (InsertUndo.positions): New field.
7463         (InsertUndo.redo): Update the undo positions.
7464         (InsertUndo.undo): Fetch the undo positions.
7465         (Mark): New class. Layer of indirection to allow Positions
7466         to be GC'ed while we still hold references to the Mark.
7467         (RemoveUndo.len): New field.
7468         (RemoveUndo.positions): New field.
7469         (RemoveUndo.RemoveUndo): Fetch undo positions.
7470         (RemoveUndo.redo): Re-fetch positions and string.
7471         (RemoveUndo.undo): Update undo positions.
7472         (StickyPosition.mark): New field.
7473         (StickyPosition.offset): Removed field.
7474         (StickyPosition.StickyPosition): Create new Mark. Register
7475         Position in queueOfDeath. Update reference count on mark.
7476         (StickyPosition.getOffset): Return offset stored in mark.
7477         (StickyPosition.setOffset): Removed unneeded method.
7478         (UndoPosRef): New class. Handles undo/redo on positions/marks.
7479         (EMPTY): New field.
7480         (marks): New field. Stores the marks.
7481         (positions): Removed field.
7482         (queueOfDeath): New field. Used for GCing the positions.
7483         (StringContent): Initialize queueOfDeath.
7484         (createPosition): Lazily create marks vector.
7485         (garbageCollect): New helper method. Collects positions
7486         to be GCed and updates their marks.
7487         (getChars): Fixed bounds check.
7488         (getPositionsInRange): When v == null, create new Vector,
7489         otherwise use v. Store UndoPosRefs in vector.
7490         (getString): Added comment about bug in RI.
7491         (insertString): Use new helper method for replacing the array.
7492         Correctly update positions.
7493         (length): Removed this qualifier.
7494         (remove): Use new helper method for replacing the array.
7495         Correctly update positions.
7496         (replace): New helper method for growing or patching the array.
7497         (updateUndoPositions): Implemented. Updates the positions
7498         for undo/redo operations.
7499
7500 2006-08-27  Roman Kennke  <kennke@aicas.com>
7501
7502         * javax/swing/text/StyleContext.java
7503         (NamedStyle.attributes): Made field transient.
7504         (NamedStyle.changeEvent): Made field transient.
7505         (NamedStyle.name): Removed field. The name is stored as
7506         attribute.
7507         (NamedStyle.NamedStyle(String,Style)): Call setName() for
7508         storing the name and check for null name and resolveParent.
7509         Don't initialize changeEvent.
7510         (NamedStyle.copyAttributes): Return a new NamedStyle,
7511         rather than a plain copy of the attributes field.
7512         (NamedStyle.fireStateChange): Lazily create changeEvent
7513         field.
7514         (NamedStyle.getName): Fetch name from attributes.
7515         (NamedStyle.setName): Store name from attributes.
7516         (NamedStyle.readObject): Implemented for correct
7517         deserialization.
7518         (NamedStyle.writeObject): Implemented for correct
7519         serialization.
7520         (NamedStyle.setResolveParent): When new parent is null,
7521         remove resolveParent attribute. Use addAttribute() method
7522         rather than StyleContext addAttribute().
7523         (NamedStyle.toString): Fixed to produce output equal to the
7524         RI.
7525         (SmallAttributeSet.resolveParent): New field.
7526         (SmallAttributeSet.SmallAttributeSet(AttributeSet)): Update
7527         the resolveParent field correctly.
7528         (SmallAttributeSet.SmallAttributeSet(Object[])): Don't copy
7529         array but store it directly. Update
7530         the resolveParent field correctly.
7531         (SmallAttributeSet.clone): Return this as the object is
7532         immutable.
7533         (SmallAttributeSet.containsAttributes): Make sure that keys
7534         and values are the same.
7535         (SmallAttributeSet.containsAttribute):  Make sure that keys
7536         and values are the same.
7537         (SmallAttributeSet.copyAttributes): Return this as the object is
7538         immutable.
7539         (SmallAttributeSet.equals): Fixed comparison. Two AttributeSet
7540         are equal if they have the same number of attributes and
7541         one contains the other.
7542         (SmallAttributeSet.getAttribute): Improved lookup of
7543         resolveParent.
7544         (SmallAttributeSet.getResolveParent): Improved lookup of
7545         resolveParent.
7546         (SmallAttributeSet.isEqual): When comparing object is a
7547         SmallAttributeSet, consider them equal only if they are the
7548         same object.
7549         (SmallAttributeSet.toString): Fixed to produce output equal to the
7550         RI.
7551         (attributeSetPool): New field.
7552         (defaultStyleContext): Initialize lazily.
7553         (defaultStyle): Removed field. This is stored in the style context
7554         as attribute.
7555         (listenerList): Removed field. The NamedStyle stores the
7556         listeners.
7557         (readAttributeKeys): New static field. Used for looking up
7558         the serialization mappings when reading.
7559         (search): New field. Used as search key.
7560         (staticAttributeKeys): Replaced by read/writeAttributeKeys.
7561         (styles): New field. Stores the styles and listeners.
7562         (styleTable): Removed field. Replaced by styles field.
7563         (writeAttributeKeys): New static field. Used for looking up
7564         the serialization mappings when writing.
7565         (static_initializer): Register mappings for all keys in
7566         StyleConstants.
7567         (StyleContext): Initialize styles correctly.
7568         (addAttributes): Fixed caching of immutable attributes.
7569         (addAttribute): Fixed caching of immutable attributes.
7570         (removeAttributes): Fixed caching of immutable attributes.
7571         (removeAttribute): Fixed caching of immutable attributes.
7572         (addChangeListener): Add listener to styles field.
7573         (removeChangeListener): Remove listener from styles field.
7574         (getChangeListeners): Fetch listeners from styles field.
7575         (addStyle): Add style to styles field.
7576         (cleanupPool): New method.
7577         (getDefaultStyleContext): Lazily create context.
7578         (getEmptySet): Simply return SimpleAttributeSet.EMPTY.
7579         (getMutableAttributeSet): New helper method. Used for
7580         caching.
7581         (getStaticAttribute): Fetch key from readAttributeKeys.
7582         (getStyleNames): Return names from styles field.
7583         (getStyle): Lookup style in styles field.
7584         (removeStyle): Remove style from styles field.
7585         (readAttributeSet): Fixed deserialization.
7586         (writeAttributeSet): Fixed serialization.
7587         (readObject): Fixed deserialization.
7588         (writeObject): Fixed serialization.
7589         (reclaim): Simply cleanup the pool.
7590         (registerStaticAttributeKey): Store mapping in both ways.
7591         (searchImmutableSet): New helper method for caching.
7592         (toString): Fixed for output like the RI.
7593         * javax/swing/text/StyleConstants.java
7594         (keys): New field. Stores all known keys.
7595         (StyleConstants): Store created key in keys list.
7596         * javax/swing/event/EventListenerList.java
7597         (readObject): Fixed deserialization.
7598         (writeObject): Fixed serialization.
7599
7600 2006-08-25  Roman Kennke  <kennke@aicas.com>
7601
7602         * javax/swing/text/CompositeView.java
7603         (insets): Removed. Replaced by single short fields.
7604         (top): New field. Replaces insets.
7605         (bottom): New field. Replaces insets.
7606         (left): New field. Replaces insets.
7607         (right): New field. Replaces insets.
7608         (CompositeView): Initialize insets fields.
7609         (createDefaultLocation): Removed unneeded method.
7610         (getBottomInset): Return field directly.
7611         (getTopInset): Return field directly.
7612         (getLeftInset): Return field directly.
7613         (getRightInset): Return field directly.
7614         (getInsideAllocation): Adjusted to work on new insets fields.
7615         (getViewIndex): Fixed check.
7616         (loadChildren): Don't replace the old children.
7617         (replace): Make sure that there is an array to operate on.
7618         Only set parent to null, when it is this View.
7619         (setInsets): Adjusted to work with new insets fields.
7620         (setParagraphInsets): Fixed to pull insets directly from
7621         StyleConstants.
7622
7623 2006-08-25  Roman Kennke  <kennke@aicas.com>
7624
7625         * javax/swing/text/ComponentView.java
7626         (Interceptor): New inner helper class. Used to propagate
7627         invalidate requests and cache component layout sizes.
7628         (interceptor): New field.
7629         (getAlignment): Fetch alignment from interceptor container.
7630         (getComponent): Don't create component here. This is done
7631         in setParent().
7632         (getMaximumSpan): Fetch layout info from interceptor. Check
7633         for illegal axis.
7634         (getMinimumSpan): Fetch layout info from interceptor. Check
7635         for illegal axis.
7636         (getPreferredSpan): Fetch layout info from interceptor. Check
7637         for illegal axis.
7638         (modelToView): Fixed model to view mapping.
7639         (viewToModel): Fixed view to model mapping.
7640         (paint): Check for null. Set bounds on interceptor rather
7641         then component.
7642         (setParentImpl): Install interceptor between component
7643         and hosting container.
7644         (setParent): Call super.setParent() immediately.
7645
7646 2006-08-25  Roman Kennke  <kennke@aicas.com>
7647
7648         * javax/swing/text/LabelView.java
7649         (setPropertiesFromAttributes): Only set background when
7650         the corresponding attribute is actually defined, otherwise
7651         set to null, as the StyleConstants would return black.
7652         * javax/swing/text/DefaultStyledDocument.java
7653         (ElementBuffer.documentEvent): Removed obsolete field.
7654         (ElementBuffer.change): Do prepareEdits() and finishEdits()
7655         to correctly update the element structure.
7656         (ElementBuffer.insertContentTag): Removed unused statement.
7657         (ElementBuffer.recreateAfterFracture): Removed
7658         unused obsolete method.
7659         (setCharacterAttributes): Removed unused statement.
7660
7661 2006-08-25  Roman Kennke  <kennke@aicas.com>
7662
7663         * examples/gnu/classpath/examples/swing/Demo.java
7664         (LaterMain.run): Removed unused local variable.
7665         (Demo): Don't put desktop in scrollpane.
7666         (addChildren): Removed unused method.
7667         (mkButtonBar): Added HTML demo.
7668         (mkMenuBar): Added HTML demo.
7669         (mkPanel): Removed unused method.
7670         (mkScrollPane): Removed unused method.
7671         (mkTree): Removed unused method.
7672         (valign2str): Removed unused method.
7673         * examples/gnu/classpath/examples/swing/HtmlDemo.java:
7674         Initialize text field with some HTML that already works.
7675         (DEBUG): New field. Set to true for debugging output.
7676         (createContent): Dump element tree after parsing.
7677
7678 2006-08-25  Roman Kennke  <kennke@aicas.com>
7679
7680         * javax/swing/text/html/CSS.java
7681         (getValue): Added color value conversion.
7682         * javax/swing/text/html/HTMLDocument.java
7683         (HTMLReader.ConvertAction): New class, converts HTML style tags
7684         to CSS attributes.
7685         (HTMLReader.initTags): Register ConvertAction for <font> tag.
7686         * javax/swing/text/html/InlineView.java
7687         (setPropertiesFromAttributes): Implemented to fetch
7688         CSS character attributes.
7689         * javax/swing/text/html/StyleSheet.java
7690         (addCSSAttribute): Convert value.
7691         (getBackground): Implemented to fetch CSS background color
7692         attribute.
7693         (getForeground): Implemented to fetch CSS color
7694         attribute.
7695         (getFont): Adjust font size for superscript and subscript.
7696         (translateHTMLToCSS): Rudimentary implementation that
7697         copies the original attributes, so that any CSS attributes in
7698         there are preserved.
7699         (stringToColor): Use CSSColor for conversion.
7700         * gnu/javax/swing/text/html/css/CSSColor.java:
7701         New class. Converts CSS color values to RGB color values.
7702         * gnu/javax/swing/text/html/CharacterAttributeTranslator.java:
7703         Removed. This is more or less replaced by CSSColor and the
7704         ConvertAction in HTMLReader.
7705
7706 2006-08-25  Roman Kennke  <kennke@aicas.com>
7707
7708         * javax/swing/text/BoxView.java
7709         (childReqs): Removed obsolete field.
7710         (baselineLayout): Reimplemented for correct baseline layout.
7711         (baselineRequirements): Reimplemented for correct baseline
7712         layout.
7713         (updateChildRequirements): Removed obsolete method.
7714         * javax/swing/text/GlyphView.java
7715         (DefaultGlyphPainter.getSpan): Removed unused statement.
7716         (DefaultGlyphPainter.paint): Dont paint subscript/superscript
7717         specially. The subscript/superscript layout is performed
7718         via the alignment, the font is supplied by the StyleContext.
7719         (breakView): Removed unused statements.
7720         (getAlignment): Adjust alignment according to the
7721         superscript/subscript setting.
7722         (getFont): Reimplemented to fetch the font from the style
7723         context, or from the document if the stylecontext is not
7724         available.
7725         (getPreferredSpan): Adjust span for superscript. Use switch
7726         instead of if-else.
7727         * javax/swing/text/LabelView.java
7728         (setPropertiesFromAttributes): Fetch background and foreground
7729         from document / style context.
7730         (isSubscript): Resync properties if needed.
7731         * javax/swing/text/ParagraphView.java
7732         (Row.calculateMinorAxisRequirements): Overridden to perform
7733         a baseline layout.
7734         (Row.layoutMinorAxis): Overridden to perform a baseline layout.
7735
7736 2006-08-24  Roman Kennke  <kennke@aicas.com>
7737
7738         * javax/swing/text/Utilities.java
7739         (BUF_LENGTH): Removed unused field.
7740         (drawTabbedText): Removed unneeded cast.
7741         (getBreakLocation): Removed unneeded cast.
7742         Fixed offset to account for Segments not starting at 0.
7743
7744 2006-08-24  Roman Kennke  <kennke@aicas.com>
7745
7746         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
7747         (TabbedPaneLayout.normalizeTabRuns): Removed unused statement.
7748         (TabbedPaneScrollLayout.layoutContainer): Likewise.
7749         (ScrollingPane.updateUI): Likewise.
7750         (calculateTabWidth): Rewritten to correctly and efficiently
7751         layout the tab width.
7752         (layoutLabel): Call SwingUtilities method with the tabPane
7753         as argument.
7754         (paintContentBorderLeftEdge): Removed unused statement.
7755         (paintContentBorderRightEdge): Removed unused statement.
7756         (paintContentBorder): Removed unused statement.
7757
7758 2006-08-24  Roman Kennke  <kennke@aicas.com>
7759
7760         * javax/swing/plaf/basic/BasicTextUI.java
7761         (RootView.getAttributes): Overridden to return null,
7762         as the RootView has no parent.
7763
7764 2006-08-24  Roman Kennke  <kennke@aicas.com>
7765
7766         * javax/swing/text/html/CSSParser.java: Removed.
7767         * javax/swing/text/html/CSS.java
7768         (getValue): New helper method. Returns special converter
7769         instances for certain kinds of property values.
7770         * javax/swing/text/html/HTMLDocument.java
7771         (HTMLReader.CharacterAction.start): Don't translate tags
7772         here. Instead, store the attributes directly with the tag
7773         as key.
7774         (content): Removed field. The Content object is handled
7775         by AbstractDocument.
7776         (styleSheet): Removed field. The styleSheet is the styleContext
7777         of this document and handled by the DefaultStyledDocument already.
7778         (HTMLDocument(Content,StyleSheet): Simply call super here.
7779         The super classes already handle the content and styleContext.
7780         (HTMLDocument()): Call this() with a default GapContent and
7781         StyleSheet.
7782         (getStyleSheet): Return the styleContext here.
7783         (insertUpdate): New method. Overridden to add the
7784         CONTENT dummy tag to the element's attributes.
7785         (setBase): Set the base on the styleContext.
7786         * javax/swing/text/html/HTMLEditorKit.java
7787         (styleContext): Removed unneeded field.
7788         (styleSheet): Made field private.
7789         (HTMLEditorKit): Do nothing here. The StyleSheet is
7790         created lazily in getStyleSheet(). A styleContext is not
7791         needed here.
7792         (getStyleSheet): Create StyleSheet correctly.
7793         (insertHTML): Removed unneeded cast.
7794         * javax/swing/text/html/InlineView.java
7795         (attributes): New field.
7796         (changedUpdate): Reload attributes. Trigger preferenceChanged.
7797         (getAttributes): Implemented to fetch the attributes from
7798         the stylesheet.
7799         * javax/swing/text/html/MultiAttributeSet.java: New class.
7800         Multiplexes between several AttributeSets.
7801         * javax/swing/text/html/MultiStyle.java: New class.
7802         Multiplexes between several Styles.
7803         * javax/swing/text/html/ParagraphView.java
7804         (attributes): New field.
7805         (getAttributes): Implemented to fetch the attributes from
7806         the stylesheet.
7807         * javax/swing/text/html/StyleSheet.java
7808         (CssParser): Removed inner class.
7809         (CSSStyle): New inner class. Represents a style defined
7810         by a CSS rule.
7811         (CSSStyleSheetParserCallback): New class, for parsing
7812         CSS stylesheets.
7813         (css): New field. Stores the CSS rules.
7814         (resolvedStyles): New field. Stores resolved styles.
7815         (StyleSheet): Initialize resolvedStyles map.
7816         (addRule): Removed bogus impl.
7817         (getFont): Implemented to fetch font, based on CSS rules.
7818         (getResolvedStyle): New helper method. Looks up resolved
7819         styles, and resolves a style if necessary.
7820         (resolveStyle): New pair of helper methods. Resolves
7821         CSS style rules.
7822         (getRule(String)): Provide rudimentary implementation.
7823         (getRule(Tag,Element)): Implemented.
7824         (getViewAttributes): Implemented.
7825         (loadRules): Implemented.
7826         (translateHTMLToCSS): Tagged as not implemented.
7827         * javax/swing/text/html/ViewAttributeSet.java: New class.
7828
7829 2006-08-24  Roman Kennke  <kennke@aicas.com>
7830
7831         * javax/swing/text/FlowView.java:
7832         (LogicalView.getAttributes): New method. Overrides super
7833         impl to return the attributes of the FlowView instance.
7834         * javax/swing/text/LabelView.java:
7835         (setPropertiesFromAttributes): Fetch attributes from
7836         View, rather then from the Element. (In the HTML
7837         package the getAttributes() method is overridden to
7838         return different attributes). Fetch font from the StyledDocument.
7839
7840 2006-08-24  Roman Kennke  <kennke@aicas.com>
7841
7842         * javax/swing/text/DefaultEditorKit.java:
7843         (DefaultKeyTypedAction.actionPerform): Also filter
7844         ALT and CTRL modifiers.
7845
7846 2006-08-24  Roman Kennke  <kennke@aicas.com>
7847
7848         * gnu/javax/swing/text/html/css/FontSize.java,
7849         * gnu/javax/swing/text/html/css/FontStyle.java,
7850         * gnu/javax/swing/text/html/css/FontWeight.java:
7851         New classes. Used to convert CSS font attributes to AWT/Swing
7852         Font constants.
7853
7854 2006-08-24  Francis Kung  <fkung@redhat.com>
7855         * gnu/java/awt/color/PyccConverter.java: Throw UnsupportedOperationExceptions.
7856         * java/awt/image/ColorConvertOp.java: Updated javadocs.
7857         (srccs, dstcs, rasterValid): Variables removed.
7858         (ColorConvertOp(RenderingHints)): Initialize spaces to empty array.
7859         (copyRaster): Check for null rendering hints
7860         (createCompatibleColorModel): New private method.
7861         (createCompatibleDestImage): Re-implemented.
7862         (createCompatibleDestRaster(Raster, ColorSpace, boolean)): New private method.
7863         (createCompatibleDestRaster(Raster)): Re-implemented.
7864         (filter(BufferedImage, BufferedImage)): Add checks; fix temp image creation.
7865         (filter(Raster, WritableRaster)): Add checks; fix temp raster creation.
7866         (getPoint2D): Clean up formatting.
7867         * java/awt/image/ComponentColorModel.java
7868         (constructor): use findBits method instead of passing null.
7869         (findBits): New method.
7870
7871 2006-08-24  Gary Benson  <gbenson@redhat.com>
7872
7873         * java/net/NetworkInterface.java (getInetAddresses): Bracket IPv6
7874         addresses.
7875
7876 2006-08-24  Jeroen Frijters  <jeroen@frijters.net>
7877
7878         * java/lang/ref/Reference.java
7879         (queue, nextOnQueue): Made volatile.
7880         (enqueue): Made thread safe.
7881         * java/lang/ref/ReferenceQueue.java
7882         (lock): New field.
7883         (poll): Removed synchronized.
7884         (enqueue): Changed to synchronize on lock object, to update Reference
7885         state and return success status.
7886         (dequeue, remove): Synchronize on lock object.
7887
7888 2006-08-24  Jeroen Frijters  <jeroen@frijters.net>
7889
7890         * java/security/SecureClassLoader.java
7891         (protectionDomainCache): Changed to HashMap.
7892         (SecureClassLoader): Removed redundant security check.
7893         (defineClass(String,byte[],int,int,CodeSource): Moved
7894         protection domain lookup/construction to new method.
7895         (defineClass(String,ByteBuffer,CodeSource): New method.
7896         (getProtectionDomain): New method.
7897
7898 2006-08-23  Roman Kennke  <kennke@aicas.com>
7899
7900         * javax/swing/JComponent.java
7901         (isRepainting): Made package private.
7902         (paintChild): New field.
7903         (findOpaqueParent): Removed method. This is now in
7904         paintImmediately().
7905         (findOverlapFreeParent): Removed method. This is now
7906         in paintImmediately2().
7907         (findPaintRoot): Removed method. This is now
7908         in paintImmediately2().
7909         (isCompletelyObscured): Changed to take rectangle as single
7910         ints as argument.
7911         (isPaintingDoubleBuffered): Removed method. This is now
7912         in paintImmediately2().
7913         (isPartiallyObscured): New helper method.
7914         (onTop): New helper method for optimization.
7915         (paintChildren): Paint only to specific child when
7916         requested like this from paintImmediately2().
7917         (paintDoubleBuffered): Changed to take rectangle as single int
7918         arguments.
7919         (paintImmediately2): Changed to take rectangle as single int
7920         arguments. Optimized determination of paint root.
7921         (paintImmediately(Rectangle)): Change to delegate to
7922         paintImmediately(int,int,int,int).
7923         (paintImmediately(int,int,int,int)): Look for opaque ancestor
7924         and start painting there.
7925         (paint): Call paintDoubleBuffered() with int arguments. Only
7926         paint component, when not completely occupied by opaque child.
7927         (processKeyBinding): Removed unnecessary cast.
7928         (isOccupiedByChild): New helper method.
7929         * javax/swing/RepaintManager.java
7930         (repaintUnderway): Removed obsolete field.
7931         (commitRequests): Removed obsolete field.
7932         (RepaintManager): Removed initialization of obsolete fields.
7933         (addDirtyRegion): Removed unused statement.
7934         (commitBuffer): Changed to take plain ints as argument.
7935         (compileRepaintRoots): Optimized to avoid use of Rectangle.
7936         Compute offsets in place, rather than using SwingUtilities.
7937         (paintDirtyRegions): Removed unused field.
7938         * javax/swing/JMenuItem.java
7939         (onTop): Return true when not descendant of JInternalFrame.
7940         * javax/swing/JPopupMenu.java
7941         (onTop): Return true.
7942         * javax/swing/JToolTip.java
7943         (onTop): Return true.
7944         * javax/swing/JViewport.java
7945         (paintImmediately2): Change signature to match the
7946         corresponding JComponent method.
7947
7948 2006-08-23  Tania Bento  <tbento@redhat.com>
7949
7950         * java/awt/Color.java
7951         (brighter): Modified algorithm to correctly determine the
7952         new brighter colour.
7953
7954 2006-08-23  Roman Kennke  <kennke@aicas.com>
7955
7956         * java/awt/Container.java
7957         (maxSize): Removed field. This is already declared in Component.
7958         (validateTree): Check for ContainerPeer. Don't addNotify here.
7959         Only validate Component instances if they are invalid.
7960
7961 2006-08-22  Roman Kennke  <kennke@aicas.com>
7962
7963         * javax/swing/JComponent.java
7964         (preferredSize): Removed field.
7965         (maximumSize): Removed field.
7966         (minimumSize): Removed field.
7967         (getMaximumSize): Adjusted to delegate to Component, rather
7968         then managing the size in JComponent.
7969         (getMinimumSize): Adjusted to delegate to Component, rather
7970         then managing the size in JComponent.
7971         (getPreferredSize): Adjusted to delegate to Component, rather
7972         then managing the size in JComponent.
7973         (isMaximumSizeSet): Removed.
7974         (isMinimumSizeSet): Removed.
7975         (isPreferredSizeSet): Removed.
7976         (setMaximumSize): Removed.
7977         (setMinimumSize): Removed
7978         (setPreferredSize): Removed.
7979
7980 2006-08-22  Roman Kennke  <kennke@aicas.com>
7981
7982         * javax/swing/AbstractButton.java
7983         (ButtonChangeListener.stateChanged): Delegate to combined
7984         handler.
7985         (EventHandler): New inner class. Handles all three types
7986         of events on the model.
7987         (eventHandler): New field. Stores the combined event
7988         handler.
7989         (AbstractButton): Moved listener initialization to
7990         setModel().
7991         (createActionListener): Return combined handler.
7992         (createChangeListener): Return combined handler.
7993         (createItemListener): Return combined handler.
7994         (getEventHandler): New helper method for creating the combined
7995         handler.
7996         (setModel): Initialize listeners here.
7997         * javax/swing/plaf/basic/BasicButtonListener.java
7998         (ButtonAction): New class. Implements the keyboard action
7999         for buttons.
8000         (checkOpacity): Implemented.
8001         (createDefaultActionMap): New helper method.
8002         (installKeyboardActions): Rewritten to install InputMap
8003         and ActionMap according to 'new' keyboard input method.
8004         (mouseClicked): Commented as no-op.
8005         (mouseDragged): Commented as no-op.
8006         (mouseMoved): Commented as no-op.
8007         (propertyChange): Check for contentAreaFilled change and
8008         update opacity. Pull handling of HTLM in font and text handler.
8009         (stateChanged): Repaint button.
8010         (uninstallKeyboardActions): Properly uninstall keyboard actions.
8011         * javax/swing/plaf/basic/BasicButtonUI.java
8012         (listener): Removed.
8013         (sharedListener): New static field. Stores the shared listener.
8014         (sharedUI): New static field. Stores the shared UI.
8015         (createButtonListener): Return shared instance here.
8016         (createUI): Return shared instance here.
8017         (getButtonListener): New helper method. Looks for the
8018         BasicButtonListener installed on a button and returns it.
8019         (installDefaults): Correctly install rollover property here.
8020         Fetch defaultTextShiftOffset. Initialize opaqueness correctly.
8021         (installKeyboardActions): Fetch listener with new helper method.
8022         (installListeners): Don't use removed field. Check for null.
8023         (installUI): Added comment about order of method invocations.
8024         (uninstallDefaults): Don't uninstall non-uninstallable properties.
8025         (uninstallKeyboardActions): Fetch listener with new helper method.
8026         (uninstallListeners): Fetch listener with new helper method.
8027         (paintIcon): Paint icon offset when pressed and armed.
8028         * javax/swing/plaf/metal/MetalButtonListener.java: Removed.
8029         * javax/swing/plaf/metal/MetalButtonUI.java
8030         (sharedUI): New field. Stores the shared UI.
8031         (MetalButtonUI): Don't initialize fields here.
8032         (createButtonListener): Removed method. Use super impl.
8033         (createUI): Return shared instance.
8034         (getDisabledTextColor): Update field here.
8035         (getFocusColor): Update field here.
8036         (getSelectColor): Update field here.
8037         (installDefaults): Don't handle rollover property here.
8038         (uninstallDefaults): Don't handle rollover property here.
8039         (paintButtonPressed): Use accessor method to update the
8040         field value.
8041
8042 2006-08-21  Mark Wielaard  <mark@klomp.org>
8043
8044         Merge NATIVE_LAYER branch.
8045
8046         2006-08-20  Mark Wielaard  <mark@klomp.org>
8047
8048         * doc/tools.texinfo: Add file from trunk.
8049         * native/jni/Makefile.am (DIST_SUBDIRS): Add native-lib.
8050         * native/jni/java-io/java_io_VMFile.c: Include lstat and readlink
8051         headers.
8052         * native/jni/java-lang/java_lang_VMProcess.c
8053         (Java_java_lang_VMProcess_nativeSpawn): Remove redirect argument.
8054         * native/jni/java-net/java_net_VMInetAddress.c
8055         (Java_java_net_VMInetAddress_getHostByName): Remove unused variable.
8056         * native/jni/native-lib/Makefile.am: Remove empty and nonexisting
8057         files.
8058         * native/jni/native-lib/cpio.c (cpio_setFileReadonly): Use correct
8059         mask.
8060         * native/jni/native-lib/cpnet.c (cpnet_connect): Removed unused
8061         theaddr.
8062         * native/jni/native-lib/cpnet.h (cpnet_freeAddresses): Moved from
8063         cpnet.h.
8064         * native/jni/native-lib/cpnet.h (cpnet_freeAddresses): Declare,
8065         don't implement.
8066         * vm/reference/java/lang/VMProcess.java: Removed unused redirect
8067         argument.
8068         * include/java_lang_VMProcess.h: Regenerated.
8069
8070         2006-07-09  Guilhem Lavaux  <guilhem@kaffe.org>
8071
8072         * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c
8073         (nativeReceive): Fixed the type of the arrays (use java types).
8074         (nativeSendTo): Force throwing an exception if port is 0.
8075
8076         * native/jni/java-net/javanet.c:
8077         (_javanet_accept): Throw SocketTimeoutException if ETIMEDOUT is
8078         returned.
8079         (_javanet_recvfrom): Likewise.
8080         (_javanet_sendto): Throw a NullPointerException if the socket is
8081         not connected and no address is given.
8082         
8083         * native/jni/java-net/javanet.h
8084         (NULL_EXCEPTION): Defined.
8085
8086         2006-06-16  Guilhem Lavaux  <guilhem@kaffe.org>
8087
8088         * native/jni/java-net/java_net_VMInetAddress.c
8089         (Java_java_net_VMInetAddress_getHostByName): Fix detection of
8090         error.
8091
8092         * native/jni/java-net/javanet.c
8093         (_javanet_accept): Fixed bogus call to TARGET.
8094         (_javanet_create_inetaddress): Fixed address generation. Fixed
8095         bogus memory free.
8096         (_javanet_bind): set "Reuse address" flag.
8097
8098         * native/jni/native-lib/cpio.c
8099         (cpio_getModificationTime): Fixed type.
8100         (cpio_removeFile): Use rmdir too.
8101
8102         * native/jni/native-lib/cpnet.c
8103         (cpnet_getHostByName): Fixed error detection.
8104
8105         * native/jni/native-lib/cpnet.h
8106         (cpnet_newIPV4address, cpnet_newIPV6address): Put zero in the
8107         memory.
8108         (cpnet_IPV4AddressToBytes): Fixed types.
8109         
8110         2006-06-10  Guilhem Lavaux  <guilhem@kaffe.org>
8111
8112         * native/jni/native-lib/cpio.c
8113         (cpio_openDir, cpio_closeDir, cpio_readDir): Implemented.
8114
8115         * native/jni/native-lib/cpnet.h:
8116         (cpnet_bytesToIPV4Address): Fixed type casting to avoid being
8117         messed by signs in jbyte.
8118         
8119         * native/jni/native-lib/cpproc.h
8120         (CPIO_EXEC_NUM_PIPES): Compilation fix.
8121
8122         2006-05-09  Guilhem Lavaux  <guilhem@kaffe.org>
8123
8124         * native/jni/native-lib/cpnet.c
8125         (cpnet_getSocketTimeout, cpnet_setSocketTimeout): Reimplemented.
8126         (waitForWritable, waitForReadable): New functions.
8127         (socketTimeouts): New static global table to hold timeouts for all
8128         socket fds.
8129         (cpnet_accept,cpnet_bind,cpnet_sendTo,cpnet_recv,cpnet_recvFrom):
8130         Added waitForXXXX safeguards to handle socket timeouts.
8131
8132         * native/jni/java-net/javanet.c
8133         (_javanet_accept): Check for the right error value when a timeout
8134         occurs.
8135         
8136         2006-03-25  Guilhem Lavaux  <guilhem@kaffe.org>
8137
8138         * native/jni/java-io/Makefile.am,
8139         native/jni/java-lang/Makefile.am,
8140         native/jni/java-net/Makefile.am,
8141         native/jni/java-nio/Makefile.am: Link to libclasspathnative.la now.
8142
8143         * native/jni/native-lib/Makefile.am: Added cpproc.c
8144
8145         * native/jni/native-lib/cpio.c: Implemented missing functions for
8146         CPIO.
8147
8148         * native/jni/native-lib/cpnet.c
8149         (cpnet_getHostByName): Fixed address array initialization.
8150         
8151         * native/jni/native-lib/cpproc.c: Implemented.
8152         
8153         2006-02-19  Guilhem Lavaux  <guilhem@kaffe.org>
8154
8155         * configure.ac: Invoke GCC_ATTRIBUTE_UNUSED.
8156
8157         * m4/gcc_attribute.m4: New file from ac_archive.
8158         
8159         * native/jni/java-net/javanet.c: Adapted to cpnet API
8160         modification.
8161
8162         * native/jni/native-lib/cpnet.c: Implemented.
8163
8164         * native/jni/native-lib/cpnet.h
8165         (cpnet_openSocketDatagram,
8166         cpnet_openSocketStream): These calls need an address family now.
8167         (cpnet_IPV4AddressToBytes,
8168         cpnet_bytesToIPV4Address): Convert the address to network order.
8169         
8170         2006-02-19  Guilhem Lavaux  <guilhem@kaffe.org>
8171
8172         * native/jni/java-io/java_io_VMFile.c,
8173         native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c,
8174         native/jni/midi-dssi/dssi_data.h,
8175         native/jni/native-lib/cpio.c,
8176         native/jni/native-lib/cpmath.h: Removed cpmath
8177         dependency. Fixed coding style.
8178
8179         2006-02-18  Guilhem Lavaux  <guilhem@kaffe.org>
8180
8181         * native/jni/java-lang/java_lang_VMProcess.c: Removed TARGET
8182         dependency. Simplified the JNI code by moving some part into the
8183         native layer.
8184
8185         * native/jni/native-lib/cpproc.h: New interface to handle processes.
8186
8187         2006-02-18  Guilhem Lavaux  <guilhem@kaffe.org>
8188
8189         * native/jni/java-net/java_net_VMInetAddress.c: Fixed compilation
8190         errors. Removed any remaining TARGET invocations.
8191
8192         * native/jni/java-net/javanet.c
8193         (_javanet_create_inetaddress): Removed spurious arr and
8194         octets. Fixed compilation errors.
8195
8196         * native/jni/native-lib/cpnet.h
8197         (cpnet_getHostname, cpnet_getHostByName, cpnet_getHostByAddr,
8198         cpnet_setIPV4Any, cpnet_freeAddresses, cpnet_isIPV6Address,
8199         cpnet_isIPV4Address): New functions.
8200         (cpnet_bytesToIPV4Address): Fixed interface to be consistent with
8201         the rest.
8202         
8203         2006-01-28  Guilhem Lavaux  <guilhem@kaffe.org>
8204
8205         * native/jni/java-io/java_io_VMFile.c,
8206         native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c,
8207         native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c,
8208         native/jni/java-net/javanet.c,
8209         native/jni/java-net/javanet.h: Adapted the VM layer code
8210         to the new native layer.
8211
8212         * native/jni/native-lib/cpnet.h
8213         (cpnet_addMembership,
8214         cpnet_dropMembership,
8215         cpnet_getAvailableBytes): Added the declarations of
8216         some new functions.
8217         (cpnet_newIPV6Address,
8218         cpnet_IPV6AddressToBytes,
8219         cpnet_bytesToIPV6Address): Implemented.
8220         (cpnet_newIPV4Address): Initialize the sin_family field.
8221
8222         2006-01-28  Guilhem Lavaux  <guilhem@kaffe.org>
8223
8224         * native/target: Removed.
8225
8226         * configure.ac: Removed target from CLASSPATH_INCLUDES and
8227         Makefile generation.
8228
8229         * native/jni/native-lib/Makefile.am,
8230         native/jni/native-lib/cpnet.h,
8231         native/jni/native-lib/cpnet.c
8232         native/jni/native-lib/cpio.h,
8233         native/jni/native-lib/cpio.c,
8234         native/jni/native-lib/cpmath.h: Imported new native compatibility
8235         layer.
8236
8237 2006-08-21  Roman Kennke  <kennke@aicas.com>
8238
8239         * gnu/javax/swing/text/html/css/CSSParser.java:
8240         New class.
8241         * gnu/javax/swing/text/html/css/CSSParserCallback.java:
8242         New interface.
8243         * gnu/javax/swing/text/html/css/CSSParserException.java:
8244         New exception.
8245         * gnu/javax/swing/text/html/css/CSSScanner.java:
8246         Adjusted API comments. Made all constants package private.
8247         (EOF): New constant field.
8248         (parseBuffer): Made package private.
8249         (tokenEnd): Made package private.
8250         (CSSScanner): Initialize lookahead buffer with -1.
8251         (main): Print out to System.out rather then System.err.
8252         (nextToken): Push back character after IDENT.
8253
8254 2006-08-21  Jeroen Frijters  <jeroen@frijters.net>
8255
8256         * java/io/File.java (normalizePath): Fixed handling of "//" and "\\".
8257
8258 2006-08-21  Roman Kennke  <kennke@aicas.com>
8259
8260         * gnu/javax/swing/text/html/css/CSSScanner.java
8261         (main): Use buffered input stream.
8262         (nextToken): Removed 65536 workaround. Use int value directly
8263         without cast to char.
8264         (readComment): Use int value directly without cast to char.
8265         Cast to char only when putting the character into the buffer.
8266         (readEscape): Likewise.
8267         (readIdent): Likewise.
8268         (readName): Likewise.
8269         (readNum): Likewise.
8270         (readString): Likewise.
8271         (readWhitespace): Likewise.
8272
8273 2006-08-21  Ingo Proetel  <proetel@aicas.com>
8274
8275         * java/io/InputStreamReader.java
8276         (bytesCache): New field.
8277         (cacheLock): New field.
8278         (read(byte[],int,int): Avoid allocations of new byte
8279         array on every call and reuse cached byte array if possible.
8280
8281 2006-08-21  Roman Kennke  <kennke@aicas.com>
8282
8283         * gnu/java/net/local/LocalSocketImpl.java
8284         Only load native lib if this is supported by runtime.
8285         * native/jni/java-net/local.c
8286         Include config.h unconditionally.
8287         * native/jni/java-net/gnu_java_net_local_LocalSocketImpl.c
8288         Include config.h unconditionally.
8289
8290 2006-08-21  Friedjof Siebert  <siebert@aicas.com>
8291
8292         * java/io/ObjectInputStream.java
8293         (objectLookupTable): Changed to be a Vector.
8294         (ObjectInputStream): Initialize objectLookupTable as Vector.
8295         (assignNewHandle): Store Object using handle index rather than
8296         Hashtable, using the new rememberHandle() method.
8297         (hierarchy): New method. This replaces inputGetObjectStreamClasses()
8298         with a caching in ObjectStreamClass.
8299         (inputGetObjectStreamClass): Replaced by hierarchy().
8300         (lookupHandle): New method. Looks up an object by it's handle
8301         index.
8302         (parseContent): Avoid creating of Integer objects. Use
8303         hierarchy() method for looking up the class hierarchy.
8304         (processResolution): Use rememberHandle() to store
8305         handle per index, rather than Hashtabling the object.
8306         (readFields): 
8307         (rememberHandle): New method.
8308         * java/io/ObjectOutputStream.java
8309         (OIDLookupTable): Use ObjectIdentityMap2Int instead of
8310         Hashtable for improved lookup performance.
8311         (ObjectOutputStream): Initialize OIDLookupTable as
8312         ObjectIdentityMap2Int.
8313         (assignNewHandle): Change to use ObjectIdentityMap2Int.
8314         (findHandle): Change to use ObjectIdentityMap2Int.
8315         (getBooleanField): Removed.
8316         (getByteField): Removed.
8317         (getCharField): Removed.
8318         (getDoubleField): Removed.
8319         (getField): Removed.
8320         (getFloatField): Removed.
8321         (getIntField): Removed.
8322         (getLongField): Removed.
8323         (getObjectField): Removed.
8324         (writeFields(Object,ObjectStreamClass)): Use new helper method.
8325         (writeFields(Object,ObjectStreamField)): New helper method.
8326         Use switch rather then if-else cascade.
8327         (writeObject): Use int handle, rather then Integer.
8328         * java/io/ObjectStreamClass.java
8329         (hierarchy): New field. Caches the class hierarchy.
8330         (methodCache): New field. Caches methods.
8331         (readObjectSignature): New field. Stores the read signature.
8332         (uidCache): New field. Caches UIDs.
8333         (writeObjectSignature): New field. Stores the write signature.
8334         (cacheMethods): Cache methods in methodCache.
8335         (calculateClassID): Outsourced from getClassUID()
8336         for computing the UIDs.
8337         (getClassUIDFromField): Outsourced from getClassUID() for
8338         fetching the UID from the class field.
8339         (getClassUID): Use cached uid if possible. Use new helper
8340         methods for fetching the UID from the field or computing
8341         from scratch.
8342         (getObjectStreamClasses): Removed. Replaced by more
8343         efficient hierarchy() method, that also caches the result.
8344         (hierarchy): Replaces getObjectStreamClasses() for caching
8345         the result.
8346         (loadedByBootOrApplicationClassLoader): New helper method.
8347         (setClass): Invalidate hierarchy cache.
8348         (setSuperclass): Invalidate hierarchy cache.
8349         * java/io/ObjectStreamField.java
8350         (field): Made field package private for access from other
8351         classes.
8352         * gnu/java/io/ObjectIdentityWrapper.java: Removed.
8353         * gnu/java/io/ObjectIdentityMap2Int.java: Efficient
8354         hashtable for mapping objects to ints.
8355
8356 2006-08-21  Roman Kennke  <kennke@aicas.com>
8357
8358         * java/io/File.java
8359         (getAbsolutePath): Fetch absolute path from
8360         VMFile.getAbsolutePath(). Moved actual impl to there.
8361         (isAbsolute): Let VMFile determine the absoluteness.
8362         (toURL): Let VMFile convert the filename.
8363         * vm/reference/java/io/VMFile.java
8364         (getAbsolutePath): New method.
8365         (isAbsolute): New method.
8366         (toURL): New method.
8367
8368 2006-08-21  Jeroen Frijters  <jeroen@frijters.net>
8369
8370         * NEWS: Added note about updated VM interface.
8371
8372 2006-08-20  Andrew John Hughes  <gnu_andrew@member.fsf.org>
8373
8374         * java/lang/management/ManagementFactory.java:
8375         Updated documentation.
8376         
8377 2006-08-20  Ito Kazumitsu  <kaz@maczuka.gcd.org>
8378
8379         Fixes bug #28412
8380         * gnu/java/util/regex/CharIndexed.java(move1, setHitEnd, hitEnd):
8381         New methods.
8382         * gnu/java/util/regex/CharIndexedCharSequence.java,
8383         gnu/java/util/regex/CharIndexedInputStream.java: Implemented the
8384         new methods above.
8385         * gnu/java/util/regex/RE.java(REG_FIX_STARTING_POSITION): New flag,
8386         (match): call the new method setHitEnd of the input,
8387         (getMatchImpl): Handle the new flag REG_FIX_STARTING_POSITION,
8388         Some optimization commented out, Use CharIndexed#move1 instead of move.
8389         * gnu/java/util/regex/REMatch.java: Made some debugging methods public.
8390         * gnu/java/util/regex/REToken.java(match): The method body has been
8391         moved to an internal private method, (matchFake): New method,
8392         (setHitEnd): New method.
8393         * gnu/java/util/regex/RETokenChar.java(matchThis): Call setHitEnd
8394         if the match is not complete, (matchOneString): Count the number of
8395         characters which matched the pattern.
8396         * gnu/java/util/regex/RETokenEnd.java(fake): New field,
8397         (setFake): New method, (match): Call super.match or super.matchFake.
8398         * gnu/java/util/regex/RETokenEndSub.java(setHitEnd): New method.
8399         * gnu/java/util/regex/RETokenOneOf.java(match): call the new method
8400         setHitEnd of the input,
8401         * gnu/java/util/regex/RETokenRepeated.java(match): Likewise.
8402         * java/util/regex/Matcher.java(lookingAt, match): Use the new flag
8403         RE.REG_FIX_STARTING_POSITION, (hitEnd, toString): New methods.
8404
8405 2006-08-18  Tom Tromey  <tromey@redhat.com>
8406
8407         * gnu/javax/swing/text/html/css/CSSScanner.java (readWhitespace): Push
8408         the 'int', not the cast char.
8409
8410 2006-08-18  Roger Sayle  <roger@eyesopen.com>
8411
8412         * scripts/check_jni_methods.sh: Don't use the "set -C" command
8413         which isn't available in all shells.
8414
8415 2006-08-18  Roger Sayle  <roger@eyesopen.com>
8416
8417         * lib/Makefile.am (resources): Fix some shell portability issues.
8418
8419 2006-08-18  Thomas Fitzsimmons  <fitzsim@redhat.com>
8420
8421         * configure.ac (tool-wrappers): Check for ltdl support when tool
8422         wrapper binaries are enabled.
8423         * tools/Makefile.am (LIBJVM): Remove variable.
8424         (AM_CPPFLAGS): Add LIBJVM define.
8425         (gappletviewer_LDFLAGS, gjarsigner_LDFLAGS, gkeytool_LDFLAGS,
8426         gjar_LDFLAGS, gnative2ascii_LDFLAGS, gserialver_LDFLAGS,
8427         gjavah_LDFLAGS): Remove variables.
8428         * tools/toolwrapper.c (main): Use dlopen to load libjvm library.
8429
8430 2006-08-18  Tom Tromey  <tromey@redhat.com>
8431
8432         * gnu/java/util/prefs/NodeWriter.java (writeParents): Removed
8433         debugging prints.
8434         * gnu/java/util/prefs/NodeReader.java (readNodes): Removed debugging
8435         print.
8436         (readEntries): Likewise.
8437
8438 2006-08-17  Roman Kennke  <kennke@aicas.com>
8439
8440         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
8441         (layoutLabel): Reset the text and icon rectangles.
8442
8443 2006-08-17  Thomas Fitzsimmons  <fitzsim@redhat.com>
8444
8445         PR classpath/28537
8446         * native/plugin/Makefile.am (libgcjwebplugin_la_CXXFLAGS):
8447         Transform gappletviewer name using program_transform_name.
8448
8449 2006-08-17  Jeroen Frijters  <jeroen@frijters.net>
8450
8451         * javax/swing/filechooser/FileSystemView.java
8452         (getFileSystemView): Always return UnixFileSystemView, since
8453         that's the only one we got. Marked with NotImplementedException.
8454         * javax/swing/plaf/basic/BasicFileChooserUI.java
8455         (mouseClicked, installUI): Don't parse path by hand.
8456
8457 2006-08-17  Roman Kennke  <kennke@aicas.com>
8458
8459         * javax/swing/JComponent.java
8460         (scrollRectToVisible): Handle intermediate non-JComponents
8461         more gracefully.
8462
8463 2006-08-17  Roman Kennke  <kennke@aicas.com>
8464
8465         * javax/swing/RepaintManager.java
8466         (blitBuffer): Removed. This is now done in commitBuffer().
8467         (commitBuffer): Always paint on the root window or applet.
8468         No need to look for intermediate heavyweights. Optimized
8469         rectangle translation.
8470         (commitRemainingBuffers): Removed. Not needed anymore.
8471         (getHeavyweightParent): Removed. Not needed anymore.
8472         (getOffscreenBuffer): Fetch offscreen image from the
8473         actual root component.
8474         (paintDirtyRegions): Don't call commitRemainingBuffers().
8475
8476 2006-08-17  Roman Kennke  <kennke@aicas.com>
8477
8478         * javax/swing/SwingUtilities.java
8479         (clipString): New helper method for trimming strings.
8480         (layoutCompoundLabelImpl): Fixed algorithm to conform
8481         testsuites. Trim text if it's too long. Avoid creating
8482         new Rectangles. Optimized for performance.
8483         (layoutCompoundLabel): Use switch rather then if-else-chain.
8484         * javax/swing/plaf/basic/BasicButtonUI.java
8485         (viewR): New field.
8486         (iconR): New field.
8487         (textR): New field.
8488         (paint): Reset and use cached rectangles. Only call paintIcon()
8489         if icon is not null. Don't call paintButtonPressed() when
8490         button is selected, only when it is both armed and pressed.
8491         * javax/swing/plaf/basic/BasicGraphicsUtils.java
8492         (getPreferredButtonSize): Reused cached rectangles rather
8493         then creating new ones. Don't create new Rectangle via
8494         Rectangle.union().
8495         * javax/swing/plaf/basic/BasicLabelUI.java
8496         (getPreferredSize): Correctly reset cached rectangles. Especially
8497         the view rect must have a big size to give it room for layouting.
8498         Short cut layout when text == null.
8499         (paint): Correctly reset cached rectangles.
8500         * javax/swing/plaf/basic/BasicMenuItemUI.java
8501         (resetRectangles): New helper method.
8502         (getPreferredMenuItemSize): Correctly reset the cached rectangles.
8503         (paintMenuItem): Correctly reset the cached rectangles.
8504         * javax/swing/plaf/basic/BasicRadioButtonUI.java
8505         (getPreferredSize): Use cached Rectangle objects and initialize
8506         them correctly.
8507         (paint): Use cached Rectangle objects and initialize
8508         them correctly.
8509
8510 2006-08-17  David Gilbert  <david.gilbert@object-refinery.com>
8511
8512         * java/util/Calendar.java: API doc additions.
8513
8514 2006-08-17  Robert Schuster  <robertschuster@fsfe.org>
8515
8516         * javax/swing/DefaultButtonModel.java:
8517         (setRollover): Simplified statement.
8518
8519 2006-08-17  Jeroen Frijters  <jeroen@frijters.net>
8520
8521         * gnu/java/rmi/server/RMIClassLoaderImpl.java
8522         (loadClass): Rewritten to use getClassLoader.
8523         (loadProxyClass): Implemented.
8524         (getClassLoader): Fixed support for null or empty codebase.
8525         * gnu/java/rmi/server/RMIObjectInputStream.java
8526         (resolveClass): Use user class loader as default class loader.
8527         (resolveProxyClass): Delegate to RMIClassLoader.loadProxyClass.
8528         * gnu/javax/rmi/CORBA/UtilDelegateImpl.java
8529         (loadClass): Simplified and use user class loader instead of
8530         context class loader as default.
8531         * java/io/ObjectInputStream.java
8532         (currentLoader): Use VMStackWalker.firstNonNullClassLoader().
8533         * vm/reference/gnu/classpath/VMStackWalker.java
8534         (firstNonNullClassLoader): New method.
8535         * vm/reference/java/io/VMObjectInputStream.java
8536         (loaderAction, currentClassLoader): Removed.
8537
8538 2006-08-17  Robert Schuster  <robertschuster@fsfe.org>
8539
8540         * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
8541         (getTabBounds(JTabbedPane, int)): Added code to shift rectangle
8542         by current scroll offset, added method documention.
8543         (getTabBounds(int, Rectangle)): Added method documentation.
8544         * javax/swing/plaf/metal/MetalTabbedPaneUI.java:
8545         (paintContentBorderLeftEdge): Changed y to 1.
8546
8547 2006-08-17  Robert Schuster  <robertschuster@fsfe.org>
8548
8549         * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
8550         (MouseHandler.mouseReleased): Implemented.
8551         (MouseHandler.mousePressed): Added delegation to tabbed pane.
8552         (MouseHandler.mouseEntered): Dito.
8553         (MouseHandler.mouseExited): Dito.
8554         (MouseHandler.mouseMoved): Dito.
8555         (MouseHandler.redispatchEvent): New method.
8556         (PropertyChangeHandler.propertyChange): Added extra block level,
8557         added code to handle tab placement changes, added comment.
8558         (updateViewPosition): Set unneeded coordinate to 0, added comment.
8559
8560 2006-08-16  Roman Kennke  <kennke@aicas.com>
8561
8562         * gnu/javax/swing/text/html/css/CSSScanner.java: New file.
8563         * gnu/javax/swing/text/html/css/CSSLexicalException.java:
8564         New file.
8565
8566 2006-08-16  Mark Wielaard  <mark@klomp.org>
8567
8568         * java/awt/Component.java (orientation): Renamed to
8569         componentOrientation.
8570         (setComponentOrientation): Use new field name.
8571         (getComponentOrientation): Likewise.
8572
8573 2006-08-16  Roman Kennke  <kennke@aicas.com>
8574
8575         PR 28750
8576         * javax/swing/plaf/basic/BasicTreeUI.java
8577         (CellEditorHandler.editingCancelled): Call completeEditing
8578         directly.
8579         (CellEditorHandler.editingStopped): Call completeEditing
8580         directly.
8581         (NodeDimensionHandler.getNodeDimensions): Rewritten
8582         to use the preferred sizes of the renderer and editor.
8583         (TreeExpansionHandler.treeCollapsed): Complete editing
8584         here.
8585         (TreeSelectionHandler.valueChanged): Complete editing
8586         here.
8587         (cancelEditing): Call completeEditing with false, false and
8588         false. Don't call finish (removed method).
8589         (completeEditing(boolean,boolean,boolean): Only do something when
8590         stopEditingInCompleteEditing is true. Nullify editingComponent
8591         and editingPath. Remove editingComponent from tree. Update
8592         the layout when necessary and repaint.
8593         (completeEditing): Stop editing when necessary.
8594         (editorRequestFocus): New helper method. Request focus
8595         on the actual editor.
8596         (finish) Removed. This is now done in completeEditing().
8597         (prepareForUIInstall): Set stopEditingInCompleteEditing to true.
8598         (setLargeModel): Complete editing here.
8599         (setRootVisible): Complete editing here.
8600         (setRowHeight): Complete editing here.
8601         (setSelectionModel): Complete editing here.
8602         (startEditing): Correctly initialize and start editing.
8603         (updateExpandedDescendants): Complete editing here.
8604         * javax/swing/tree/DefaultTreeCellEditor.java
8605         (DefaultTextField): Fetch size from super and use renderer's height
8606         if appropriate.
8607         (EditorContainer.EditorContainer): Set layout to null, just
8608         to make sure.
8609         (EditorContainer.doLayout): Layout so that the editor
8610         is offset to the right of the icon.
8611         (EditorContainer.getPreferredSize): Implemented to
8612         provide a reasonable preferred size.
8613         (EditorContainer.paint): Position icon in the middle.
8614         Also paint border if appropriate.
8615         (EditorContainer.setBounds): Removed.
8616         (RealEditorListener): Removed.
8617         (DefaultTreeCellEditor): Set correct border.
8618         (cancelCellEditing): Message real editor. Call finish().
8619         (createCellEditor): Don't add listener.
8620         (determineOffset): Correctly determine offset, and update
8621         the icon.
8622         (finish): New helper method.
8623         (getTreeCellEditorComponent): Set correct font. Call
8624         prepareForEditing() and determineOffset() to correctly initialize
8625         the state.
8626         (stopCellEditing): Messsage realEditor to stop editing. Call
8627         finish to clean up.
8628         (stopEditingTimer): Removed.
8629         (valueChanged): Correctly reset lastPath.
8630         * javax/swing/tree/DefaultTreeCellRenderer.java
8631         (getPreferredSize): Return super plus some extra space for
8632         better readability.
8633
8634 2006-08-16  Roman Kennke  <kennke@aicas.com>
8635
8636         * javax/swing/plaf/metal/MetalTreeUI.java
8637         (LineStyleListener): New property listener, that updates
8638         the line style setting if the corresponding property
8639         changes.
8640         (lineStyleListener): New field.
8641         (lineStyle): New field.
8642         (LINE_STYLE_ANGLED): New constant field.
8643         (LINE_STYLE_HORIZONTAL): New constant field.
8644         (LINE_STYLE_NONE): New constant field.
8645         (LINE_STYLE_VALUE_ANGLED): New constant field.
8646         (LINE_STYLE_VALUE_HORIZONTAL): New constant field.
8647         (LINE_STYLE_VALUE_NONE): New constant field.
8648         (LINE_STYLE_PROPERTY): New constant field.
8649         (decodeLineStyle): Implemented.
8650         (installUI): Install line style listener. Set initial
8651         lineStyle.
8652         (uninstallUI): Uninstall line style listener.
8653         (paintHorizontalPartOfLeg): Only call super for angled
8654         lineStyle.
8655         (paintVerticalPartOfLeg): Only call super for angled
8656         lineStyle.
8657         (paintHorizontalSeparators): Implemented.
8658         (paint): If lineStyle==HORIZONTAL, call
8659         paintHorizontalSeparators().
8660         * examples/gnu/classpath/examples/swing/TreeDemo.java
8661         (createContent): Add panel for selecting line styles.   
8662
8663 2006-08-16  Robert Schuster  <robertschuster@fsfe.org>
8664         
8665         * examples/gnu/classpath/demo/swing/TabbedPaneDemo.java:
8666         (createContent): Rewritten.
8667         (createPlacementChangingMenuItem): New method.
8668         (createLayoutPolicyChangingMenuItem): New method.
8669         (createTabbedPane): New method.
8670         (createTabContent): New method.
8671
8672 2006-08-16  Robert Schuster  <robertschuster@fsfe.org>
8673
8674         * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
8675         (MouseHandler.mousePressed): Fixed indentation, intercept clicks on
8676         disabled tabs, do proper revalidation in WRAP_TAB_LAYOUT mode.
8677
8678 2006-08-16  Robert Schuster  <robertschuster@fsfe.org>
8679
8680         * javax/swing/text/WrappedPlainView.java:
8681         (WrappedLine.modelToView): Provide variable pos as argument and not a fixed value.
8682         (calculateBreakPosition): Add p0 to return value.
8683
8684 2006-08-15  Roman Kennke  <kennke@aicas.com>
8685
8686         * javax/swing/plaf/basic/BasicTreeUI.java
8687         (MouseHandler.selectedOnPress): New field.
8688         (MouseHandler.handleEvent): New helper method for handling
8689         selection and start/stop editing for mouse events.
8690         (MouseHandler.mouseDragged): Commented as no-op method.
8691         (MouseHandler.mouseMoved): Commented as no-op method.
8692         (MouseHandler.mousePressed): Use handleEvent() to handle
8693         selection and editing handling.
8694         (MouseHandler.mouseReleased): Use handleEvent() to handle
8695         selection and editing handling.
8696         (MouseInputHandler.MouseInputHandler): Register itself
8697         as mouse listener on source. Redispatch event to
8698         destination.
8699         (MouseInputHandler.dispatch): New helper method.
8700         (MouseInputHandler.mouseClicked): Dispatch event.
8701         (MouseInputHandler.mouseDragged): Dispatch event.
8702         (MouseInputHandler.mouseEntered): Stop dispatching
8703         if dragging stopped.
8704         (MouseInputHandler.mouseExited): Stop dispatching
8705         if dragging stopped.
8706         (MouseInputHandler.mouseMoved): Stop dispatching.
8707         (MouseInputHandler.mousePressed): Marked as no-op.
8708         (MouseInputHandler.mouseReleased): Dispatch and stop
8709         dispatching afterwards.
8710         (MouseInputHandler.removeFromSource): Implemented.
8711         (PropertyChangeHandler.propertyChange): Also handle
8712         editable property changes by calling setEditable().
8713         (SelectionModelPropertyChangeHandler.propertyChange):
8714         Reset row selection.
8715         (startEditTimer): Removed.
8716         (setCellEditor): Call updateEditor().
8717         (setEditable): Call updateEditor().
8718         (startEditingAtPath): Make path fully visible before starting
8719         editing.
8720         (startEditing): Maybe cancel previous edit session. Add
8721         editing component itself, not its parent container.
8722         Register MouseInputHandler for correctly redispatching
8723         initial events.
8724         (stopEditing): Message cellEditor and only completeEditing()
8725         when approved by cell editor.
8726         (updateCellEditor): Complete editing before updating
8727         the cell editor. Get cell editor from JTree if possible,
8728         otherwise create default editor. Update the listeners
8729         on the editor.
8730         * javax/swing/tree/DefaultTreeCellEditor.java
8731         (CLICK_COUNT_TO_START): Removed.
8732         (DefaultTreeCellEditor): Install correct border. Let setTree()
8733         update the listeners. Don't initialize lastPath and font yet.
8734         (actionPerformed): Implemented to start editing.
8735         (createTreeCellEditor): Set click count to start to 1, rather than
8736         3.
8737         (isCellEditable): Prepare editor here. Determine if we can
8738         start immediately, or if we trigger a timer to do so.
8739         (prepareForEditing): Don't removeAll() (not necessary),
8740         check editingComponent to be non-null.
8741         (setTree): Update listeners.
8742         (shouldStartEditingTimer): Check for left mouse button.
8743         (startEditingTimer): Lazily create timer.
8744
8745 2006-08-15  Lillian Angel  <langel@redhat.com>
8746
8747         * java/awt/dnd/DropTargetDragEvent.java
8748         (getTransferable): Implemented.
8749
8750 2006-08-15  Roman Kennke  <kennke@aicas.com>
8751
8752         * java/util/Vector.java
8753         (removeAll): Added comment about NPE.
8754         (retainAll): Added comment about NPE.
8755
8756 2006-08-15  Roman Kennke  <kennke@aicas.com>
8757
8758         * java/util/zip/ZipFile.java
8759         (UTF8DECODER): Removed.
8760         (UTF8CHARSET): New constant field. Stores the UTF8 charset.
8761         (utf8Decoder): New instance field.
8762         (decodeChars): Lazily create UTF8 decoder. Use instance
8763         field rather than a static field to avoid corruption.
8764
8765 2006-08-15  Roman Kennke  <kennke@aicas.com>
8766
8767         * java/io/PrintStream.java
8768         (line_separator): Provide default for system property.
8769         * java/io/FileDescriptor.java
8770         (valid): Create local copy of channel field for better
8771         threading safetly.
8772
8773 2006-08-15  Ingo Proetel  <proetel@aicas.com>
8774
8775         * java/util/zip/ZipFile.java
8776         (PartialInputStream.UTF8DECODER): New constant field, used
8777         for decoding UTF8 strings.
8778         (readLeShort): Access buffer directly if it has enough bytes
8779         available.
8780         (readLeInt): Access buffer directly if it has enough bytes
8781         available.
8782         (decodeChars): New helper method for decoding UTF8 strings.
8783         (readString): Avoid NIO charset decoder if possible.
8784
8785 2006-08-15  Roman Kennke  <kennke@aicas.com>
8786
8787         * java/util/Vector.java
8788         (removeAll): Don't explicitly null-check here. The RI allows
8789         null arguments when Vector is empty. In other cases we
8790         implicitly throw an NPE.
8791         (retainAll): Don't explicitly null-check here. The RI allows
8792         null arguments when Vector is empty. In other cases we
8793         implicitly throw an NPE.
8794
8795 2006-08-14  Casey Marshall  <csm@gnu.org>
8796
8797         Merge in ssl-nio-branch work. See `ChangeLog-ssl-nio' for a record
8798         of changes made on this branch.
8799         Files modified:
8800         * gnu/classpath/debug/Component.java
8801         * gnu/classpath/debug/SystemLogger.java
8802         * gnu/java/security/action/GetPropertyAction.java
8803         * gnu/java/security/action/GetSecurityPropertyAction.java
8804         * gnu/javax/crypto/RSACipherImpl.java
8805         * gnu/javax/net/ssl/PrivateCredentials.java
8806         * gnu/javax/net/ssl/provider/Alert.java
8807         * gnu/javax/net/ssl/provider/AlertException.java
8808         * gnu/javax/net/ssl/provider/Certificate.java
8809         * gnu/javax/net/ssl/provider/CertificateRequest.java
8810         * gnu/javax/net/ssl/provider/CertificateType.java
8811         * gnu/javax/net/ssl/provider/CertificateVerify.java
8812         * gnu/javax/net/ssl/provider/CipherSuite.java
8813         * gnu/javax/net/ssl/provider/ClientHello.java
8814         * gnu/javax/net/ssl/provider/ClientKeyExchange.java
8815         * gnu/javax/net/ssl/provider/CompressionMethod.java
8816         * gnu/javax/net/ssl/provider/Constructed.java
8817         * gnu/javax/net/ssl/provider/ContentType.java
8818         * gnu/javax/net/ssl/provider/DiffieHellman.java
8819         * gnu/javax/net/ssl/provider/Extension.java
8820         * gnu/javax/net/ssl/provider/Finished.java
8821         * gnu/javax/net/ssl/provider/Handshake.java
8822         * gnu/javax/net/ssl/provider/Jessie.java
8823         * gnu/javax/net/ssl/provider/ProtocolVersion.java
8824         * gnu/javax/net/ssl/provider/Random.java
8825         * gnu/javax/net/ssl/provider/ServerHello.java
8826         * gnu/javax/net/ssl/provider/ServerKeyExchange.java
8827         * gnu/javax/net/ssl/provider/Signature.java
8828         * gnu/javax/net/ssl/provider/Util.java
8829         * gnu/javax/net/ssl/provider/X509KeyManagerFactory.java
8830         * gnu/javax/net/ssl/provider/X509TrustManagerFactory.java
8831         * java/security/MessageDigest.java
8832         * java/security/MessageDigestSpi.java
8833         * java/security/Signature.java
8834         * java/security/SignatureSpi.java
8835         * javax/crypto/Mac.java
8836         * javax/crypto/MacSpi.java
8837         * javax/net/ssl/HandshakeCompletedEvent.java
8838         * javax/net/ssl/HttpsURLConnection.java
8839         * javax/net/ssl/SSLContext.java
8840         * javax/net/ssl/SSLContextSpi.java
8841         * javax/net/ssl/SSLSession.java
8842         Files added:
8843         * gnu/javax/net/ssl/provider/ServerKeyExchangeBuilder.java 
8844         * gnu/javax/net/ssl/provider/SSLv3HMacSHAImpl.java 
8845         * gnu/javax/net/ssl/provider/SimpleSessionContext.java 
8846         * gnu/javax/net/ssl/provider/ServerRSAParams.java 
8847         * gnu/javax/net/ssl/provider/SSLContextImpl.java 
8848         * gnu/javax/net/ssl/provider/ServerDHParams.java 
8849         * gnu/javax/net/ssl/provider/ClientHelloBuilder.java 
8850         * gnu/javax/net/ssl/provider/ClientDHE_PSKParameters.java 
8851         * gnu/javax/net/ssl/provider/SignatureAlgorithm.java 
8852         * gnu/javax/net/ssl/provider/CipherSuiteList.java 
8853         * gnu/javax/net/ssl/provider/ServerNameList.java 
8854         * gnu/javax/net/ssl/provider/SSLServerSocketImpl.java 
8855         * gnu/javax/net/ssl/provider/CompressionMethodList.java 
8856         * gnu/javax/net/ssl/provider/ServerRSA_PSKParameters.java 
8857         * gnu/javax/net/ssl/provider/ClientKeyExchangeBuilder.java 
8858         * gnu/javax/net/ssl/provider/TrustedAuthorities.java 
8859         * gnu/javax/net/ssl/provider/CertificateStatusRequest.java 
8860         * gnu/javax/net/ssl/provider/ServerHelloDone.java 
8861         * gnu/javax/net/ssl/provider/ServerDHE_PSKParameters.java 
8862         * gnu/javax/net/ssl/provider/SSLSocketImpl.java 
8863         * gnu/javax/net/ssl/provider/ServerHelloBuilder.java 
8864         * gnu/javax/net/ssl/provider/Record.java 
8865         * gnu/javax/net/ssl/provider/SSLRSASignatureImpl.java 
8866         * gnu/javax/net/ssl/provider/EncryptedPreMasterSecret.java 
8867         * gnu/javax/net/ssl/provider/PreSharedKeyManagerFactoryImpl.java 
8868         * gnu/javax/net/ssl/provider/KeyExchangeAlgorithm.java 
8869         * gnu/javax/net/ssl/provider/SSLServerSocketFactoryImpl.java 
8870         * gnu/javax/net/ssl/provider/CertificateBuilder.java 
8871         * gnu/javax/net/ssl/provider/ClientRSA_PSKParameters.java 
8872         * gnu/javax/net/ssl/provider/CertificateStatusType.java 
8873         * gnu/javax/net/ssl/provider/ExtensionList.java 
8874         * gnu/javax/net/ssl/provider/ClientCertificateTypeList.java 
8875         * gnu/javax/net/ssl/provider/ClientPSKParameters.java 
8876         * gnu/javax/net/ssl/provider/X500PrincipalList.java 
8877         * gnu/javax/net/ssl/provider/ServerHandshake.java 
8878         * gnu/javax/net/ssl/provider/ClientDiffieHellmanPublic.java 
8879         * gnu/javax/net/ssl/provider/SessionImpl.java 
8880         * gnu/javax/net/ssl/provider/SSLSocketFactoryImpl.java 
8881         * gnu/javax/net/ssl/provider/ServerPSKParameters.java 
8882         * gnu/javax/net/ssl/provider/TruncatedHMAC.java 
8883         * gnu/javax/net/ssl/provider/MaxFragmentLength.java 
8884         * gnu/javax/net/ssl/provider/HelloRequest.java 
8885         * gnu/javax/net/ssl/provider/ServerKeyExchangeParams.java 
8886         * gnu/javax/net/ssl/provider/UnresolvedExtensionValue.java 
8887         * gnu/javax/net/ssl/provider/CipherAlgorithm.java 
8888         * gnu/javax/net/ssl/provider/ClientHandshake.java 
8889         * gnu/javax/net/ssl/provider/ExchangeKeys.java 
8890         * gnu/javax/net/ssl/provider/CertificateURL.java 
8891         * gnu/javax/net/ssl/provider/EmptyExchangeKeys.java 
8892         * gnu/javax/net/ssl/provider/CertificateRequestBuilder.java 
8893         * gnu/javax/net/ssl/provider/SSLv3HMacMD5Impl.java 
8894         * gnu/javax/net/ssl/provider/Builder.java 
8895         * gnu/javax/net/ssl/provider/Debug.java 
8896         * gnu/javax/net/ssl/provider/SSLEngineImpl.java 
8897         * gnu/javax/net/ssl/provider/MacAlgorithm.java 
8898         * gnu/javax/net/ssl/provider/DelegatedTask.java 
8899         * gnu/javax/net/ssl/provider/InputSecurityParameters.java 
8900         * gnu/javax/net/ssl/provider/ClientHelloV2.java 
8901         * gnu/javax/net/ssl/provider/OutputSecurityParameters.java 
8902         * gnu/javax/net/ssl/provider/AbstractHandshake.java 
8903         * javax/net/ssl/SSLEngine.java 
8904         * javax/net/ssl/CertPathTrustManagerParameters.java 
8905         * javax/net/ssl/KeyStoreBuilderParameters.java 
8906         * javax/net/ssl/X509ExtendedKeyManager.java 
8907         * javax/net/ssl/SSLEngineResult.java 
8908         * gnu/javax/net/ssl/PreSharedKeyManager.java 
8909         * gnu/javax/net/ssl/Session.java 
8910         * gnu/javax/net/ssl/PreSharedKeyManagerParameters.java 
8911         * gnu/javax/net/ssl/SSLCipherSuite.java 
8912         * gnu/javax/net/ssl/AbstractSessionContext.java 
8913         * gnu/javax/net/ssl/SessionStoreException.java 
8914         * gnu/javax/net/ssl/SSLRecordHandler.java 
8915         * gnu/javax/net/ssl/SSLProtocolVersion.java 
8916         * gnu/javax/crypto/key/GnuPBEKey.java 
8917         * gnu/java/security/util/ByteBufferOutputStream.java 
8918         * gnu/java/security/Requires.java 
8919         * gnu/javax/security/auth/callback/CertificateCallback.java 
8920         Files removed:
8921         * gnu/javax/net/ssl/provider/Context.java
8922         * gnu/javax/net/ssl/provider/DigestInputStream.java
8923         * gnu/javax/net/ssl/provider/DigestOutputStream.java
8924         * gnu/javax/net/ssl/provider/Enumerated.java
8925         * gnu/javax/net/ssl/provider/Extensions.java
8926         * gnu/javax/net/ssl/provider/GNUSecurityParameters.java
8927         * gnu/javax/net/ssl/provider/JCESecurityParameters.java
8928         * gnu/javax/net/ssl/provider/JDBCSessionContext.java
8929         * gnu/javax/net/ssl/provider/JessieDHPrivateKey.java
8930         * gnu/javax/net/ssl/provider/JessieDHPublicKey.java
8931         * gnu/javax/net/ssl/provider/JessieRSAPrivateKey.java
8932         * gnu/javax/net/ssl/provider/JessieRSAPublicKey.java
8933         * gnu/javax/net/ssl/provider/KeyPool.java
8934         * gnu/javax/net/ssl/provider/OverflowException.java
8935         * gnu/javax/net/ssl/provider/RecordInput.java
8936         * gnu/javax/net/ssl/provider/RecordInputStream.java
8937         * gnu/javax/net/ssl/provider/RecordOutputStream.java
8938         * gnu/javax/net/ssl/provider/RecordingInputStream.java
8939         * gnu/javax/net/ssl/provider/SSLRSASignature.java
8940         * gnu/javax/net/ssl/provider/SSLServerSocket.java
8941         * gnu/javax/net/ssl/provider/SSLServerSocketFactory.java
8942         * gnu/javax/net/ssl/provider/SSLSocket.java
8943         * gnu/javax/net/ssl/provider/SSLSocketFactory.java
8944         * gnu/javax/net/ssl/provider/SSLSocketInputStream.java
8945         * gnu/javax/net/ssl/provider/SSLSocketOutputStream.java
8946         * gnu/javax/net/ssl/provider/SecurityParameters.java
8947         * gnu/javax/net/ssl/provider/Session.java
8948         * gnu/javax/net/ssl/provider/SessionContext.java
8949         * gnu/javax/net/ssl/provider/SynchronizedRandom.java
8950         * gnu/javax/net/ssl/provider/XMLSessionContext.java
8951
8952 2006-08-14  Roman Kennke  <kennke@aicas.com>
8953
8954         * javax/swing/plaf/basic/BasicSplitPaneDivider.java
8955         (DividerLayout.layoutContainer): Removed debug output.
8956         * javax/swing/plaf/basic/BasicSplitPaneUI.java
8957         (BasicHorizontalLayoutManager.axis): New field.
8958         (BasicHorizontalLayoutManager.BasicHorizontalLayoutManager(int)):
8959         New constructor.
8960         (BasicHorizontalLayoutManager.BasicHorizontalLayoutManager()):
8961         Call new axis constructor.
8962         (BasicHorizontalLayoutManager.getAvailableSize): Refactored to
8963         handle direction.
8964         (BasicHorizontalLayoutManager.getInitialLocation): Refactored to
8965         handle direction.
8966         (BasicHorizontalLayoutManager.getPreferredSizeOfComponent):
8967         Refactored to handle direction.
8968         (BasicHorizontalLayoutManager.getSizeOfComponent): Refactored
8969         to handle direction.
8970         (BasicHorizontalLayoutManager.minimumLayoutSize): Refactored to
8971         handle direction.
8972         (BasicHorizontalLayoutManager.preferredLayoutSize): Refactored
8973         to handle direction.
8974         (BasicHorizontalLayoutManager.minimumSizeOfComponent): Refactored
8975         to handle direction.
8976         (BasicHorizontalLayoutManager.setComponentToSize): Refactored
8977         to handle direction.
8978         (BasicHorizontalLayoutManager.updateComponents): Don't reset
8979         divider size.
8980         (BasicVerticalLayoutManager.BasicVerticalLayoutManager):
8981         New explicit constructor. Calls super with vertical axis.
8982         (BasicVerticalLayoutManager.getAvailableSize): Functionality moved
8983         to BasicHorizontalLayoutManager.
8984         (BasicVerticalLayoutManager.getInitialLocation): Functionality
8985         moved to BasicHorizontalLayoutManager.
8986         (BasicVerticalLayoutManager.getPreferredSizeOfComponent):
8987         Functionality moved to BasicHorizontalLayoutManager.
8988         (BasicVerticalLayoutManager.getSizeOfComponent): Functionality
8989         moved to BasicHorizontalLayoutManager.
8990         (BasicVerticalLayoutManager.minimumLayoutSize): Functionality
8991         moved to BasicHorizontalLayoutManager.
8992         (BasicVerticalLayoutManager.minimumSizeOfComponent):
8993         Functionality moved to BasicHorizontalLayoutManager.
8994         (BasicVerticalLayoutManager.preferredLayoutSize): Functionality
8995         moved to BasicHorizontalLayoutManager.
8996         (BasicVerticalLayoutManager.setComponentToSize): Functionality
8997         moved to BasicHorizontalLayoutManager.
8998         * javax/swing/plaf/metal/MetalSplitPaneDivider.java
8999         (BUTTON_SPRITE): Renamed to BUTTON_SPRITE_L.
9000         (BUTTON_SPRITE_R): New constant field.
9001         (MetalOneTouchButton.paint): Paint R sprite for right buttons,
9002         L sprite for left buttons.
9003         
9004 2006-08-14  Andreas Tobler  <a.tobler@schweiz.ch>
9005
9006         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
9007         (query_formats): g_free 'name' after usage.
9008         g_strfreev 'ch', the gdk_pixbuf_format_get_extensions instance.
9009         g_strfreev 'ch', the gdk_pixbuf_format_get_mime_types instance.
9010
9011 2006-08-14  Thomas Fitzsimmons  <fitzsim@redhat.com>
9012
9013         PR classpath/27723
9014         * configure.ac (MOZILLA_FOUND): Add pkg-config check for
9015         seamonkey-plugin.
9016
9017 2006-08-14  Francis Kung  <fkung@redhat.com>
9018
9019         PR 28694
9020         * java/awt/image/ColorModel.java
9021         (coerceData): Added check for non-transparent images.
9022
9023 2006-08-14  Francis Kung  <fkung@redhat.com>
9024
9025         * java/awt/image/BandCombineOp.java
9026         (BandCombineOp): Perform checks on validity of matrix.
9027         (createCompatibleDestRaster): Add checks and choose raster type dynamically.
9028         (filter): Updated to work with new matrix storage.
9029         (getMatrix): Updated javadoc.
9030         (getPoint2D): Formatting change.
9031
9032 2006-08-14  Francis Kung  <fkung@redhat.com>
9033
9034         * java/awt/image/AffineTransformOp.java
9035         (AffineTransformOp): Updated javadoc.
9036         (createCompatibleDestImage): Match behaviour of reference implementation.
9037         (createCompatibleDestRaster): Formatting changes.
9038         (filter(BufferedImage, BufferedImage)): Create compatible destination image.
9039         (filter(Raster, WritableRaster)): Re-implemented.
9040         (filterBicubic): New private method.
9041         (filterBilinear): New private method.
9042         (filterNearest): New private method.
9043         (getBounds2D): No longer fixed around one point for rotations.
9044         (getInterpolationType): Add support for bicubic interpolation.
9045
9046 2006-08-14  Roman Kennke  <kennke@aicas.com>
9047
9048         * javax/swing/plaf/metal/MetalLookAndFeel.java
9049         (MetalLookAndFeel): Moved theme initialization to
9050         getDefaults().
9051         (createDefaultTheme): Forward to getCurrentTheme().
9052         (getDefaults): Initialize theme before doing anything else.
9053         (getCurrentTheme): Recognize swing.metalTheme property.
9054
9055 2006-08-14  Roman Kennke  <kennke@aicas.com>
9056
9057         * javax/swing/JTable
9058         (getScrollableUnitIncrement): Expose partially exposed
9059         row in scrolling direction.
9060
9061 2006-08-14  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
9062
9063         * javax/swing/JTable (getScrollableUnitIncrement): 
9064         Removing my name as the whole method body have been
9065         recently completely replaced.
9066
9067 2006-08-14  Roman Kennke  <kennke@aicas.com>
9068
9069         PR 28028
9070         * javax/swing/text/Utilities.java
9071         (getTabbedTextOffset): Don't add p0 here.
9072
9073 2006-08-14  Roman Kennke  <kennke@aicas.com>
9074
9075         PR 28719
9076         * javax/swing/plaf/basic/BasicScrollPaneUI.java
9077         (MouseWheelHandler.mouseWheelMoved): Scroll negative delta
9078         when wheel is going up.
9079
9080 2006-08-14  Roman Kennke  <kennke@aicas.com>
9081
9082         PR 28693
9083         * javax/swing/plaf/basic/BasicSplitPaneDivider.java
9084         (BasicOneTouchButton): New inner class.
9085         (DividerLayout.changeButtonOrientation): Removed.
9086         (DividerLayout.positionButtons): Moved into layoutContainer.
9087         (DividerLayout.layoutContainer): Reworked for correct layout.
9088         (OneTouchAction): New inner class.
9089         (centerOneTouchButtons): New field.
9090         (BasicSplitPaneDivider): Initialize centerOneTouchButton from
9091         UIManager.
9092         (createLeftOneTouchButton): Reimplemented to return
9093         BasicOneTouchButton.
9094         (createRightOneTouchButton): Reimplemented to return
9095         BasicOneTouchButton.
9096         (getPreferredSize): Reimplemented to return fixed preferredSize.
9097         (oneTouchExpandableChanged): Add OneTouchAction action to
9098         buttons. Don't install mouse listeners.
9099         (MouseHandler.mousePressed): Removed handling of one touch buttons.
9100         (paint): Don't trigger extra paint for buttons.
9101         (propertyChange): Revalidate splitPane when orientation is changed.
9102         (setBasicSplitPaneUI): Call oneTouchExpandableChanged only when
9103         oneTouchExpandable is true.
9104         * javax/swing/plaf/basic/BasicSplitPaneUI.java
9105         (installDefaults): Install dividerSize on the divider too.
9106         * javax/swing/plaf/metal/MetalSplitPaneDivider.java
9107         (MetalDividerLayout): Removed. Functionality is already
9108         in BasicSplitPaneDivider.DividerLayout.
9109         (MetalOneTouchButton): New inner class.
9110         (BUTTON_SPRITE): New constant field.
9111         (MetalSplitPaneDivider): Don't change layout.
9112         (createLeftOneTouchButton): Overridden to return custom button
9113         for Metal.
9114         (createRightOneTouchButton): Overridden to return custom button
9115         for Metal.
9116         (paint): Don't trigger button painting. Call super instead.
9117
9118 2006-08-13  Roman Kennke  <kennke@aicas.com>
9119
9120         * javax/swing/plaf/basic/BasicTableHeaderUI.java
9121         (installKeyboardAction): Unmarked as stub. Added comment
9122         explaining that the RI seems to do nothing here.
9123         (uninstallKeyboardAction): Unmarked as stub. Added comment
9124         explaining that the RI seems to do nothing here.
9125
9126 2006-08-13  Roman Kennke  <kennke@aicas.com>
9127
9128         PR 28135
9129         * javax/swing/ScrollPaneLayout.java
9130         (layoutContainer): Consider the viewportBorder of the
9131         JScrollPane.
9132         (minimumLayoutSize): Consider the viewportBorder of the
9133         JScrollPane.
9134         (preferredLayoutSize): Consider the viewportBorder of the
9135         JScrollPane.
9136         * javax/swing/plaf/basic/BasicScrollPaneUI.java
9137         (installDefaults): Also install viewportBorder if specified.
9138         (paint): Paint viewportBorder if present.
9139         (uninstallDefaults): Uninstall viewportBorder if appropriate.
9140         Don't nullify foreground, background and font. Uninstall
9141         border via LookAndFeel helper method to avoid uninstall
9142         user set border.
9143
9144 2006-08-13  Roman Kennke  <kennke@aicas.com>
9145
9146         PR 28696
9147         * javax/swing/plaf/basic/BasicHTML.java
9148         (HTMLRootView.HTMLRootView): Trigger initial layout.
9149         (HTMLRootView.setSize): Overridden to forward to real view.
9150         * javax/swing/plaf/basic/BasicToolTipUI.java
9151         (PropertyChangeHandler): New inner class. Updates the HTML
9152         renderer.
9153         (propertyChangeHandler): New field.
9154         (getMaximumSize): Add HTML width delta.
9155         (getMinimumSize): Add HTML width delta.
9156         (getPreferredSize): Reimplemented to use HTML view for size
9157         calculation if appropriate, otherwise use simple stringWidth()
9158         measurement.
9159         (installListeners): Install propertyChangeHandler.
9160         (uninstallListeners): Uninstall propertyChangeHandler.
9161         (installUI): Update HTML renderer.
9162         (uninstallUI): Update HTML renderer.
9163         (paint): Reimplemented to use HTML view for rendering if
9164         appropriate, simple drawString otherwise.
9165         * javax/swing/plaf/metal/MetalToolTipUI.java
9166         (getPreferredSize): Call super and add accelerator delta.
9167         (paint): Simply call super.
9168
9169 2006-08-13  Roman Kennke  <kennke@aicas.com>
9170
9171         * javax/swing/JMenu.java
9172         (changeListener): Renamed to menuChangeListener to avoid
9173         shadowing changeListener field from AbstractButton.
9174
9175 2006-08-13  Roman Kennke  <kennke@aicas.com>
9176
9177         * javax/swing/JTree.java
9178         (getScrollableUnitIncrement): Fixed direction.
9179         (getScrollableBlockIncrement): Implemented to scroll one
9180         page.
9181         * javax/swing/tree/VariableHeightLayoutCache.java
9182         (distance): Consider y + height already outside the node.
9183
9184 2006-08-13  Roman Kennke  <kennke@aicas.com>
9185
9186         * javax/swing/JTable.java
9187         (getScrollableUnitIncrement): Fixed direction. Make it behave
9188         like the RI.
9189         (getScrollableBlockIncrement): Fixed direction. Make it behave
9190         like the RI.
9191
9192 2006-08-13  Roman Kennke  <kennke@aicas.com>
9193
9194         * javax/swing/JList.java
9195         (getScrollableUnitIncrement): Fixed direction. Implemented
9196         horizontal scrolling. Improved usability.
9197         (getScrollableBlockIncrement): Fixed direction. Improved usability.
9198
9199 2006-08-13  Roman Kennke  <kennke@aicas.com>
9200
9201         * javax/swing/plaf/basic/BasicScrollBarUI.java
9202         (scrollByUnit): Scroll by -unit when direction is not positive
9203         and +unit otherwise.
9204         (scrollByBlock): Scroll by -unit when direction is not positive
9205         and +unit otherwise.
9206
9207 2006-08-13  Roman Kennke  <kennke@aicas.com>
9208
9209         PR 28028
9210         * javax/swing/text/PlainView.java
9211         (paint): Limit painted area to the lines inside the clip
9212         and allocation.
9213
9214 2006-08-13  Roman Kennke  <kennke@aicas.com>
9215
9216         * javax/swing/plaf/basic/BasicTextUI.java
9217         (uninstallListeners): Unregister document listener.
9218
9219 2006-08-13  Sven de Marothy  <sven@physto.se>
9220
9221         * java/util/Locale.java
9222         (hashcodeCache): New field.
9223         (hashCode): use the above field instead of the serialized one
9224         (writeObject): Removed method.
9225         (readObject): Intern strings.
9226         (equals): Revert to previous method.
9227
9228 2006-08-13  Roman Kennke  <kennke@aicas.com>
9229
9230         * javax/swing/JTabbedPane.java
9231         (JTabbedPane): Call setModel() here and let this install the
9232         change listener correctly.
9233         (setModel): Correctly uninstall and reinstall ChangeListener when
9234         model changes.
9235
9236 2006-08-13  Raif S. Naffah  <raif@swiftdsl.com.au>
9237
9238         PR Classpath/23952
9239         * java/util/ResourceBundle.java (CACHE_SIZE): New constant.
9240         (bundleCache): Replaced with an LRU of CACHE_SIZE elements.
9241         (lastDefaultLocale): Removed.
9242         (emptyLocale): Likewise.
9243         (BundleKey.defaultLocale): New field.
9244         (BundleKey.BundleKey): Add a Locale (as a 1st positional) argument.
9245         (BundleKey.set): Likewise.
9246         (BundleKey.equals): Take defaultLocal field into consideration.
9247         (getBundle(String, Locale, ClassLoader)): Use updated BundleKey and LRU.
9248
9249 2006-08-13  Roman Kennke  <kennke@aicas.com>
9250
9251         * javax/swing/JMenu.java
9252         (MenuChangeListener): New inner class, helps firing menu events.
9253         (changeListener): New field.
9254         (add(text)): Create new JMenuItem here and call add(JMenuItem).
9255         (add(Action)): Create Action using createActionComponent()
9256         and add via add(Component).
9257         (setModel): Install and uninstall MenuChangeListener here.
9258
9259 2006-08-13  Raif S. Naffah  <raif@swiftdsl.com.au>
9260
9261         PR Classpath/27372
9262         * java/math/BigInteger.java: Updated copyright year.
9263         (init): Consume as little bytes as possible.
9264         (BigInteger(int, int, Random)): Ensure bitLength bits are used.
9265         (valueOf(String, int)): Throw NumberFormatException for malformed strings
9266         as per RI's documentation.
9267
9268 2006-08-13  Sven de Marothy  <sven@physto.se>
9269
9270         * java/util/Locale.java
9271         (hashcode): Is a serialized field, not transient.
9272         (equals): Should NOT compare strings by reference.
9273         (readObject/writeObject): Use the default methods and handle the hash
9274         seperately.
9275
9276 2006-08-13  Raif S. Naffah  <raif@swiftdsl.com.au>
9277
9278         PR Classpath/28678
9279         * gnu/java/security/Engine.java (getInstance(String, String, Provider)):
9280         Updated documentation.
9281         Formatting.
9282         (getInstance(String, String, Provider, Object[])): Likewise.
9283         Separate checks for null and empty string arguments.
9284         Include as much information as possible in the exception's message.
9285         Do not swallow original exception; instead use it as the cause of the
9286         resulting exception.
9287         * gnu/javax/security/auth/callback/AbstractCallbackHandler.java
9288         (getInstance(String)): Updated documentation.
9289         Formatting.
9290         Store last exception caught when iterating through all providers.
9291         If no implementation found, raise last exception if one was caught.
9292         (getInstance(String, String)): Updated documentation.
9293         Formatting.
9294         Check for null or empty provider as per RI-5's documentation.
9295         (getInstance(String, Provider)): Updated documentation.
9296         Formatting.
9297         Use as much information as possible in the exception message.
9298         Do not swallow original exception; instead use it as the cause for the
9299         ultimate raised exception(s).
9300         * java/security/cert/CertificateFactory.java: Likewise.
9301         * java/security/cert/CertPathBuilder.java: Likewise.
9302         * java/security/cert/CertPathValidator.java: Likewise.
9303         * java/security/cert/CertStore.java: Likewise.
9304         * java/security/AlgorithmParameterGenerator.java: Likewise.
9305         * java/security/AlgorithmParameters.java: Likewise.
9306         * java/security/KeyFactory.java: Likewise.
9307         * java/security/KeyPairGenerator.java: Likewise.
9308         * java/security/KeyStore.java: Likewise.
9309         * java/security/MessageDigest.java: Likewise.
9310         * java/security/SecureRandom.java: Likewise.
9311         * java/security/Signature.java: Likewise.
9312         * javax/crypto/Cipher.java: Likewise.
9313         * javax/crypto/ExemptionMechanism.java: Likewise.
9314         * javax/crypto/KeyAgreement.java: Likewise.
9315         * javax/crypto/KeyGenerator.java: Likewise.
9316         * javax/crypto/Mac.java: Likewise.
9317         * javax/crypto/SecretKeyFactory.java: Likewise.
9318         * javax/net/ssl/KeyManagerFactory.java: Likewise.
9319         * javax/net/ssl/SSLContext.java: Likewise.
9320         * javax/net/ssl/TrustManagerFactory.java: Likewise.
9321
9322 2006-08-13  Roman Kennke  <kennke@aicas.com>
9323
9324         * javax/swing/JEditorPane.java
9325         (getScrollableTracksViewportHeight): Also check maximum size.
9326         * javax/swing/JTextPane.java
9327         (insertIcon): Use input attributes for adding the icon
9328         attribute.
9329         * javax/swing/plaf/basic/BasicTextUI.java
9330         (RootView.setSize): Overridden to forward to real view.
9331         (getPreferredSize): Trigger setSize() on the view.
9332         (viewToModel(JTextComponent,Point)): Pass Position.Bias array
9333         to viewToModel() call, rather then null.
9334         * javax/swing/text/ParagraphView.java
9335         (changedUpdate): Invalide layout. Call super.
9336         * javax/swing/text/SimpleAttributeSet.java
9337         (clone): Use super's clone method to create clone.
9338         * javax/swing/text/StyleConstants.java
9339         (setIcon): Also set element name attribute.
9340         * javax/swing/text/StyledEditorKit.java
9341         (BoldAction.actionPerformed): Actually set the bold attribute,
9342         not italic.
9343         (setCharacterAttributes): Replaced with more straightforward
9344         impl.
9345         * javax/swing/text/TextAction.java
9346         (getFocusedComponent): Implemented.
9347         * javax/swing/text/Utilities.java
9348         (getNextVisualPositionFrom): Pass Position.Bias arrays instead
9349         of null.
9350         * javax/swing/text/View.java
9351         (changedUpdate): Nullify element change when updateChildren
9352         says so.
9353
9354 2006-08-11  Andrew John Hughes  <gnu_andrew@member.fsf.org>
9355
9356         * vm/reference/gnu/java/lang/management/VMMemoryMXBeanImpl.java:
9357         Fix documentation typos.
9358
9359 2006-08-11  David Daney  <ddaney@avtrex.com>
9360
9361         PR classpath/28580
9362         * gnu/java/net/protocol/http/Request.java (readResponse):  Call
9363         createResponseBodyStream in more cases and with new parameter.
9364         (createResponseBodyStream):  Added new parameter mayHaveBody.  Handle
9365         HEAD and !mayHaveBody responses specially.
9366         
9367 2006-08-11  Roman Kennke  <kennke@aicas.com>
9368
9369         * javax/swing/text/GlyphView.java
9370         (DefaultGlyphPainter.modelToView): Fixed model->view mapping.
9371         * javax/swing/text/LabelView.java
9372         (valid): New flag indicating if the text attributes are valid.
9373         (LabelView): Initialize valid field with false.
9374         (setPropertiesFromAttributes): Call setter methods instead
9375         of setting properties directly. Set valid to true.
9376         (changedUpdate): Invalidate attributes. Call super.
9377         (getBackground): Sync attributes if necessary.
9378         (getForeground): Sync attributes if necessary.
9379         (getFont): Sync attributes if necessary.
9380         (isUnderline): Sync attributes if necessary.
9381         (isSuperscript): Sync attributes if necessary.
9382         (isStrikeThrough): Sync attributes if necessary.
9383         (getFontMetrics): Sync attributes if necessary. Fetch font metrics
9384         from toolkit if Container is not available yet.
9385
9386 2006-08-11  Roman Kennke  <kennke@aicas.com>
9387
9388         * javax/swing/text/PlainView.java
9389         (tabBase): New field.
9390         (tabSize): New field.
9391         (updateMetrics): Update tabSize.
9392         (lineToRect): Only allocate when really necessary.
9393         (modelToView): Use tabBase for offset calculations.
9394         (paint): Only allocate when really necessary. Update tabBase.
9395         (nextTabStop): Fixed tab calculation.
9396         (viewToModel): Correctly handle multiline text and locations
9397         outside the view's bounds. Set bias.
9398         (getLineLength): Use tabBase.
9399         * javax/swing/text/Utilities.java
9400         (drawTabbedText): Don't special case newlines. The views
9401         must take care of this.
9402
9403 2006-08-11  Roman Kennke  <kennke@aicas.com>
9404
9405         * javax/swing/text/GapContent.java
9406         (UndoPosRef): New inner class. Used for resetting positions
9407         after undo/redo operations.
9408         (InsertUndo.positions): New field.
9409         (InsertUndo.undo): Store positions in removed range.
9410         (InsertUndo.redo): Restore positions in re-inserted range.
9411         (UndoRemove.positions): New field.
9412         (UndoRemove.UndoRemove): Store positions in removed range.
9413         (UndoRemove.undo): Restore positions in re-inserted range.
9414         (UndoRemove.redo): Store positions in removed range.
9415         (insertString): Create InsertUndo instance before actually
9416         inserting the string.
9417         (remove): Create UndoRemove instance before actually
9418         removing.
9419         (getPositionsInRange): Don't clear the Vector. Return Vector
9420         of UndoPosRefs.
9421         (updateUndoPositions): Implemented to reset all UndoPosRefs
9422         in the vector.
9423
9424 2006-08-11  Jeroen Frijters  <jeroen@frijters.net>
9425
9426         * java/io/ObjectInputStream.java (readClassDescriptor):
9427         Use class's class loader to resolve field types.
9428         * java/io/ObjectStreamField.java
9429         (ObjectStreamField(String,String,ClassLoader)): Removed.
9430         (ObjectStreamField(String,String)): Don't try to resolve typename.
9431         (resolveType): New method.
9432
9433 2006-08-10  Roman Kennke  <kennke@aicas.com>
9434
9435         * javax/swing/text/BoxView.java
9436         (calculateMajorAxisRequirements): Sum up the preferred and
9437         maximum sizes.
9438         (isAfter): Also add in the rectangle's with/height.
9439         (childAllocation): Don't trigger layout here.
9440         (layoutMinorAxis): Removed debug output.
9441         (getWidth): Consider the insets.
9442         (getHeight): Consider the insets.
9443         (setSize): Consider the insets.
9444         (updateRequirements): Check axis and throw
9445         IllegalArgumentException.
9446
9447 2006-08-10  Roman Kennke  <kennke@aicas.com>
9448
9449         * javax/swing/text/AbstractDocument.java
9450         (BidiRootName): New constant field, denotes the element name
9451         for bidi root elements.
9452         (AsyncLoadPriority): New constant field, denotes the property
9453         to store the asynchronousLoadPriority.
9454         (I18N): New constant field, denotes the property for
9455         I18N support.
9456         (bidiRoot): Made field type BidiRootElement.
9457         (AbstractDocument): Build initial element structure for
9458         bidi.
9459         (getAsynchronousLoadPriority): Implemented. Returns the
9460         value stored in the document properties.
9461         (setAsynchronousLoadPriority): Implemented. Sets the
9462         value stored in the document properties.
9463         (getEndPosition): Implemented to use a Position from the
9464         content.
9465         (getStartPosition): Implemented to use a Position from the
9466         content.
9467         (insertStringImpl): Update the I18N setting if necessary.
9468         (insertUpdate): Update the bidi structure if necessary.
9469         (postRemoveUpdate): Update the bidi structure if necessary.
9470         (putProperty): Update the I18N setting and bidi structure
9471         if necessary.
9472         (updateBidi): New helper method for updating the bidi
9473         structure.
9474         (getBidis): New helper method. Fetches the Bidi analysers
9475         for the paragraphs of the range to check.
9476         (dump): Also dump the bidi structure.
9477         (AbstractElement.dump): Indent the '>' correctly.
9478         (AbstractElement.children): Check numChildren rather then
9479         children.length.
9480         (BidiRootElement): New inner class.
9481         (BidiElement): New inner class.
9482
9483 2006-08-10  Roman Kennke  <kennke@aicas.com>
9484
9485         * javax/swing/text/GapContent.java
9486         (getChars): Optimized to only copy array when really necessary.
9487         Respect the partialReturn property.
9488
9489 2006-08-10  Lillian Angel  <langel@redhat.com>
9490
9491         * gnu/java/awt/dnd/peer/gtk/GtkDragSourceContextPeer.java
9492         (getComponentPeer): Added check to prevent NPE.
9493
9494 2006-08-10  Gary Benson  <gbenson@redhat.com>
9495
9496         * java/security/AccessControlContext.java (<init>):
9497         Avoid a duplicated AccessController.getContext() call.
9498
9499 2006-08-09  Mark Wielaard  <mark@klomp.org>
9500   
9501         * doc/www.gnu.org/newsitems.txt: Add 0.92.
9502         * doc/www.gnu.org/downloads/downloads.wml: Likewise.
9503         * doc/www.gnu.org/announce/20060809.wml: New file.
9504
9505 2006-08-09  Mark Wielaard  <mark@klomp.org>
9506
9507         * configure.ac (VERSION): Set to 0.92-generics.
9508         * NEWS: Add updates for 0.92 release.
9509
9510 2006-08-09  Tom Tromey  <tromey@redhat.com>
9511
9512         PR classpath/28658:
9513         * java/text/SimpleDateFormat.java (parse): Let an unquoted space in
9514         the pattern match any number of spaces in the text.
9515
9516 2006-08-09  Sven de Marothy  <sven@physto.se>
9517
9518         * java/awt/image/BufferedImage.java
9519         (BufferedImage): Reimplement predefined-type constructor.
9520         (observers/tileObservers): Field renamed to tileObservers.
9521         (createDefaultIndexedColorModel): New method.
9522
9523 2006-08-09  Tom Tromey  <tromey@redhat.com>
9524
9525         PR classpath/28666:
9526         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice.c
9527         (Java_gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice_nativeGetDisplayModes):
9528         Create a 'short' array.
9529
9530 2006-08-09  Tom Tromey  <tromey@redhat.com>
9531
9532         * tools/gnu/classpath/tools/javah/JniHelper.java (getName): Properly
9533         handle arrays.
9534         * tools/gnu/classpath/tools/javah/JniIncludePrinter.java
9535         (writeFields): Print "L" after int constant.  Don't mangle the field
9536         name.  Only print int/long fields.
9537
9538 2006-08-09  Tom Tromey  <tromey@redhat.com>
9539
9540         * tools/gnu/classpath/tools/javah/Main.java (getParser): Name program
9541         "javah".
9542
9543 2006-08-09  Sven de Marothy  <sven@physto.se>
9544
9545         * javax/swing/JTree.java
9546         (JTree): Default SelectionModel should be DefaultTreeSelectionModel.
9547         (setSelectionModel): Null parameter should create an EmptySelectionM.
9548
9549 2006-08-09  Roman Kennke  <kennke@aicas.com>
9550
9551         * javax/swing/text/AbstractDocument.java
9552         (insertString): Perform modifications inside a write lock.
9553         (insertStringImpl): Don't lock here. This is already done
9554         in insertString().
9555         (replace): Perform modifications inside a write lock.
9556         (AbstractElement.AbstractElement): Call addAttributes() to
9557         add the attributes.
9558         (AbstractElement.getName): Fetch name from the ElementNameAttibute.
9559         (BranchElement.lastIndex): New field. Optimizes getElementIndex().
9560         (BranchElement.BranchElement): Set lastIndex to -1.
9561         (BranchElement.getElementIndex): Implemented more efficient
9562         search.
9563
9564 2006-08-09  Roman Kennke  <kennke@aicas.com>
9565
9566         * javax/swing/text/DefaultStyledDocument.java
9567         (Edit): Moved this inner class into ElementBuffer where it
9568         is actually needed.
9569         (edits): Moved this field into ElementBuffer.
9570         (getEditForParagraphAndIndex): Removed obsolete method.
9571         (insertUpdate): Added some optimizations and fixes. Split
9572         out handling insertion after newlines.
9573         (insertAfterNewline): New helper method. Handles insertions
9574         after a newline.
9575         (ElementBuffer.Edit): New inner class. Moved here from
9576         DefaultStyledDocument.
9577         (ElementBuffer.createdFracture): New field.
9578         (ElementBuffer.documentEvent): Made private.
9579         (ElementBuffer.edits): New field. Moved here from
9580         DefaultStyledDocument.
9581         (ElementBuffer.fracNotCreated): Replaced by createdFracture.
9582         (ElementBuffer.fracturedChild): New field.
9583         (ElementBuffer.fracturedParent): New field.
9584         (ElementBuffer.insertPath): New field.
9585         (ElementBuffer.lastFractured): Removed. Replaced by fracturedChild and
9586         fracturedParent.
9587         (ElementBuffer.offsetLastIndex): New field.
9588         (ElementBuffer.offsetLastIndexReplace): New field.
9589         (ElementBuffer.recreateLeafs): New field.
9590         (ElementBuffer.ElementBuffer): Don't initialize stack here.
9591         (ElementBuffer.canJoin): New helper method.
9592         (ElementBuffer.changeUpdate): Changed to use elementStack with
9593         Edits rather than Elements. Let the split method do the work.
9594         (ElementBuffer.cloneAsNecessary): New helper method.
9595         (ElementBuffer.createFracture): Changed to fracture the bottommost
9596         child in the stack.
9597         (ElementBuffer.finishEdit): New helper method. Moved out
9598         from insertUpdate to perform the actual changes and update
9599         the event.
9600         (fracture): New helper method.
9601         (insertContentTag): Fixed some bugs and changed to use Edit
9602         instances in the stack, rather then Elements.
9603         (insertElement): New helper method. Moved out from insertUpdate()
9604         to process the ElementSpecs.
9605         (insertFirstContentTag): Fixed some problems and changed to use Edit
9606         instances in the stack, rather then Elements.
9607         (insertFracture): Removed. Basically moved into createFracture()
9608         and fracture().
9609         (insertParagraph): Removed.
9610         (insertUpdate): Split out the ElementSpec processing into
9611         insertElement(). Use Edit instances in the stack. Fixed some
9612         problems.
9613         (insert): Split out the preparation and finishing code into
9614         prepareEdit() and finishEdit().
9615         (join): New helper method.
9616         (pop): New helper method.
9617         (prepareEdit): New helper method.
9618         (recreateFracturedElement): New helper method.
9619         (recreateLeaves): Removed.
9620         (recreate): New helper method.
9621         (removeElements): New helper method. Split out from removeUpdate().
9622         (removeUpdate): Split out the actual removal. Use the
9623         Edit stack to perform removal and perform the remove actions
9624         and event updates afterwards, just like in insertImpl().
9625         (remove): Use prepareEdit() and finishEdit().
9626         (split): Replaced with more flexible impl.
9627
9628 2006-08-09  Sven de Marothy  <sven@physto.se>
9629
9630         * gnu/java/awt/peer/gtk/CairoSurface.java
9631         Change class to extend WritableRaster and not DataBuffer.
9632         (CairoDataBuffer): New inner class.
9633         * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
9634         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
9635         * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java
9636         Accomodate the above change.
9637
9638 2006-08-09  Sven de Marothy  <sven@physto.se>
9639
9640         * gnu/java/awt/peer/gtk/GtkMainThread.java
9641         New file.
9642         * gnu/java/awt/peer/gtk/GtkChoicePeer.java
9643         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
9644         Replace GtkToolkit.mainThread with GtkMainThread.mainThread.
9645         * gnu/java/awt/peer/gtk/GtkToolkit.java
9646         Minor style fixes; removed unused fields, 
9647         set fields to private where possible.
9648         (createDialog, createFrame, createWindow, createEmbeddedWindow): 
9649         Call GtkMainThread.createWindow().
9650         * gnu/java/awt/peer/gtk/GtkWindowPeer.java
9651         (dispose): New method.
9652         * include/gnu_java_awt_peer_gtk_GtkToolkit.h
9653         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
9654         (gtkQuit): New native method.
9655
9656 2006-08-08  Lillian Angel  <langel@redhat.com>
9657
9658         * java/awt/Component.java
9659         (setDropTarget): Added check.
9660
9661 2006-08-08  Lillian Angel  <langel@redhat.com>
9662
9663         * gnu/java/awt/dnd/peer/gtk/GtkDragSourceContextPeer.java
9664         (GtkDragSourceContextPeer): Added FIXME. Changed call
9665         to setTarget. 
9666         * gnu/java/awt/dnd/peer/gtk/GtkDropTargetContextPeer.java
9667         (GtkDropTargetContextPeer): Removed target initialization.
9668         * java/awt/Component.java
9669         (setTarget): Removed commented out code.
9670
9671 2006-08-08  Mark Wielaard  <mark@klomp.org>
9672
9673         * javax/swing/text/DefaultHighlighter.java: Qualify
9674         Highlighter.HighlightPainter class name for gcj.
9675
9676 2006-08-05  Roman Kennke  <kennke@aicas.com>
9677
9678         * javax/swing/plaf/basic/BasicTableUI.java
9679         (MouseInputHandler.mousePressed): Request focus on list
9680         component.
9681
9682 2006-08-05  Roman Kennke  <kennke@aicas.com>
9683
9684         * javax/swing/plaf/basic/BasicListUI.java
9685         (MouseInputHandler.mousePressed): Request focus on list
9686         component.
9687
9688 2006-08-05  Roman Kennke  <kennke@aicas.com>
9689
9690         PR 28650
9691         * javax/swing/plaf/basic/BasicMenuBarUI.java
9692         (getActionMap): Store ActionMap in MenuBar.actionMap, rather
9693         than Tree.actionMap.
9694         * javax/swing/plaf/basic/BasicTreeUI.java
9695         (action): Removed obsolete field.
9696         (uninstallKeyboardActions): Removed action field handling.
9697         (installKeyboardActions): Removed action field handling.
9698         (createDefaultActions): Don't install removed TreeAction.
9699         (TreeAction): Removed obsolete inner class.
9700         (ActionListenerProxy): Removed obsolete inner class.
9701         (MouseHandler.mousePressed): Request focus on JTree component
9702         on mouse press.
9703
9704 2006-08-08  Roman Kennke  <kennke@aicas.com>
9705
9706         * javax/swing/plaf/basic/BasicListUI.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/BasicTableUI.java
9713         (MouseInputHandler.mousePressed): Request focus on list
9714         component.
9715
9716 2006-08-08  Roman Kennke  <kennke@aicas.com>
9717
9718         * javax/swing/plaf/basic/BasicTextUI.java
9719         (damageRange(JTextComponent,int,int)): Call damageRange() with
9720         correct biases, rather than null.
9721         (damageRange(JTextComponent,int,int,Bias,Bias)): Rewritten
9722         to use simpler modelToView() approach without much special
9723         casing. This seems not worth the effort and actually
9724         caused problems. Added locking of the document.
9725         * javax/swing/text/BoxView.java
9726         (requirementsValid): New field.
9727         (calculateMajorAxisRequirements): Rewritten without using
9728         SizeRequirements. The SizeRequirements algorithms are slightly
9729         different and too inefficient.
9730         (calculateMinorAxisRequirements): Rewritten without using
9731         SizeRequirements. The SizeRequirements algorithms are slightly
9732         different and too inefficient.
9733         (getAlignment): Simply return the alignment of the cached
9734         requirements.
9735         (getMaximumSpan): Add insets.
9736         (getMinimumSpan): Add insets.
9737         (getPreferredSpan): Add insets.
9738         (layoutMajorAxis): Rewritten without using
9739         SizeRequirements. The SizeRequirements algorithms are slightly
9740         different and too inefficient.
9741         (layoutMinorAxis): Rewritten without using
9742         SizeRequirements. The SizeRequirements algorithms are slightly
9743         different and too inefficient.
9744         (modelToView): Call setSize() rather than layout().
9745         (paint): Check clip for more efficient painting.
9746         (preferenceChanged): Invalidate requirements here.
9747         (replace): Invalidate requirements here.
9748         (updateRequirements): Update requirements only when requirements
9749         are marked invalid.
9750         * javax/swing/text/CompositeView.java
9751         (modelToView): Added some more checks and handling of corner cases.
9752         * javax/swing/text/FlowView.java
9753         (calculateMinorAxisRequirements): Set aligment to 0.5 and maximum
9754         span to Integer.MAX_VALUE. Limit preferredSize to minimumSize.
9755         * javax/swing/text/IconView.java
9756         (getAlignment): Implemented to return 1.0 for vertical alignment.
9757         * javax/swing/text/ParagraphView.java
9758         (Row.getMaximumSpan): Implemented to let Rows span the whole
9759         ParagraphView.
9760         (getAlignment): Fixed horizontal alignment and vertical alignment
9761         for empty paragraphs to be 0.5.
9762
9763 2006-08-08  Roman Kennke  <kennke@aicas.com>
9764
9765         * javax/swing/text/View.java
9766         (modelToView): Added special handling for corner case at the end
9767         of the view and for multiline views.
9768
9769 2006-08-08  Roman Kennke  <kennke@aicas.com>
9770
9771         * javax/swing/plaf/basic/BasicTextUI.java
9772         (modelToView): Read-lock the document. Set size of the
9773         root view before fetching the model-to-view mapping.
9774         (getViewIndex): Check of the position is inside the range and
9775         return -1 if this is not the case.
9776         (getViewAtPosition(int,Rectangle): Update child allocation for valid
9777         view index.
9778         (getViewIndexAtPosition(int)): Delegate the index search to
9779         the element since we have a 1:1 mapping between elements and
9780         views here.
9781         * javax/swing/text/DefaultCaret.java
9782         (appear): Ignore BadLocationException.
9783         (paint): Ignore BadLocationException.
9784         * javax/swing/text/FlowView.java
9785         (changedUpdate): Also notify the layoutPool view.
9786         (removeUpdate): Also notify the layoutPool view.
9787         * javax/swing/text/ParagraphView.java
9788         (Row.getViewIndexAtPosition): Overridden to search linearily
9789         through the view instead of relying on a 1:1 model to view
9790         mapping.
9791         * javax/swing/text/View.java
9792         (removeUpdate): Clear ElementChange object if updateChildren
9793         returns false.
9794         (forwardUpdate): Special handle some boundary cases.
9795
9796 2006-08-07  Raif S. Naffah  <raif@swiftdsl.com.au>
9797
9798         * gnu/java/security/key/dss/DSSKey.java: Updated documentation.
9799         (hasInheritedParameters): New method.
9800         (equals): Updated documentation.
9801         Take into consideration the outcome of hasInheritedParameters invocation.
9802         (toString): Call hasInheritedParameters and adjust the result accordingly.
9803         * gnu/java/security/key/dss/DSSKeyPairX509Codec.java (encodePublicKey):
9804         Updated documentation.
9805         Handle case of public keys with null p, q, and g MPIs.
9806         (decodePublicKey): Handle case of absent or NULL p, q and g MPIs.
9807
9808 2006-08-07  Tom Tromey  <tromey@redhat.com>
9809
9810         PR libgcj/23682:
9811         * java/nio/channels/SelectionKey.java (attach): Now synchronized.
9812         (attachment): Likewise.
9813         * java/nio/channels/spi/AbstractSelectionKey.java (cancel): Now
9814         synchronized.
9815         (isValid): Likewise.
9816         * gnu/java/nio/SelectionKeyImpl.java (impl): Now final
9817         (ch): Likewise.
9818         (interestOps): Synchronize.
9819         (readyOps): Likewise.
9820         * gnu/java/nio/SelectorImpl.java (register): Synchronize around
9821         interestOps call.
9822
9823 2006-08-07  C. Scott Marshall  <csm@gnu.org>
9824
9825         Fixes PR 28608.
9826         * java/nio/DirectByteBufferImpl.java (duplicate): only reset if
9827         the mark has been set.
9828         * native/jni/java-nio/java_nio_VMDirectByteBuffer.c
9829         (Java_java_nio_VMDirectByteBuffer_allocate): zero out the
9830         allocated data.
9831
9832 2006-08-07  Sven de Marothy  <sven@physto.se>
9833
9834         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
9835         (drawGlyphVector): Synchronize against font object when drawing.
9836         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
9837         (nativeDrawGlyphVector): Use pango locking when drawing.
9838         (install_font_peer): Use pango locking when creating the cairo face.
9839
9840 2006-08-06  Roman Kennke  <kennke@aicas.com>
9841
9842         PR 28571
9843         * gnu/java/awt/peer/gtk/GtkCanvasPeer.java
9844         (getPreferredSize): Renamed method to preferredSize(). That's
9845         the one that gets called from java.awt.*.
9846         * java/awt/peer/ComponentPeer.java
9847         (getPreferredSize): Added specnote about this method never
9848         beeing called in the RI.
9849         (getMinimumSize): Added specnote about this method never
9850         beeing called in the RI.
9851
9852 2006-08-03  Sven de Marothy  <sven@physto.se>
9853
9854         * gnu/java/awt/peer/gtk/ComponentGraphics.java
9855         (grab, nativeGrab): New methods.
9856         * include/gnu_java_awt_peer_gtk_ComponentGraphics.h
9857         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
9858         (nativeGrab): New method.
9859         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
9860         (print): Implement.
9861         * java/awt/Component.java
9862         (printAll): Should call peer print method.
9863
9864 2006-08-06  Thomas Minor  <1nocentrabidlamb@sexMagnet.com>
9865
9866         * java/net/URL.java (getContent(Class[])): Implement.
9867
9868 2006-08-06  Mark Wielaard  <mark@klomp.org>
9869
9870         PR 28555
9871         Suggested by Matthew Burgess <matthew@linuxfromscratch.org>
9872         * gnu/xml/transform/ApplyTemplatesNode.java (clone): Check whether
9873         withParams is null.
9874         * gnu/xml/transform/ForEachNode.java (clone): Check whether
9875         sortKeys is null.
9876
9877 2006-08-06  Roman Kennke  <kennke@aicas.com>
9878
9879         * NEWS: Added note about the X peers.
9880         * INSTALL: Added install notes about the X peers. 
9881
9882 2006-08-06  Raif S. Naffah  <raif@swiftdsl.com.au>
9883             Paul Jenner  <psj@harker.dyndns.org>
9884
9885         * README: Update bug, patches and cvs instructions plus new URLs of
9886         various external projects.
9887
9888 2006-08-06  Thomas Fitzsimmons  <fitzsim@redhat.com>
9889
9890         * configure.ac (MOZILLA_FOUND): Fall back to
9891         mozilla-firefox-plugin.
9892
9893 2006-08-06  Mario Torre  <neugens@limasoftware.net>
9894
9895         Reported by Raif S. Naffah <raif@swiftdsl.com.au>
9896         * native/jni/gconf-peer/GConfNativePeer.c (init_gconf_client):
9897         g_type_init earlier in function to correctly initialize the
9898         type system used by the backend.
9899
9900 2006-08-05  Roman Kennke  <kennke@aicas.com>
9901   
9902         * javax/swing/text/DefaultHighlight.java
9903         (DefaultHighlightPainter.paintHighlight): Removed method.
9904         (DefaultHighlightPainter.paintLayer): Implemented.
9905         (DefaultHighlightPainter.paint): Implemented more efficient
9906         painting for multiline-highlights.
9907         (HighlightEntry.p0): Changed to be a Position.
9908         (HighlightEntry.p1): Changed to be a Position.
9909         (HighlightEntry.HighlightEntry): Changed to take Position
9910         arfuments.
9911         (HighlightEntry.getStartOffset): Changed to return p0.getOffset();
9912         (HighlightEntry.getEndOffset): Changed to return p1.getOffset();
9913         (LayerHighlightEntry): New inner class. Extends HighlightEntry
9914         and tracks the painted rectangle for efficient repainting.
9915         (addHighlight): Handle layered highlight.
9916         (changeHighlight): Handle layered highlight.
9917         (paintLayeredHighlights): Implemented.
9918         (paint): Paint only non-layered highlights here.
9919         (removeAllHighlights): Trigger correct repaint.
9920         (removeHighlight): Handle layered highlight here for
9921         more efficient repainting.
9922         * javax/swing/text/GlyphView.java
9923         (paint): Handle layered highlights.
9924         * javax/swing/text/PlainView.java
9925         (paint): Handle layered highlights.
9926         * javax/swing/text/WrappedPlainView.java
9927         (WrappedLine.paint): Handle layered highlights.
9928
9929 2006-08-07  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
9930   
9931         PR 26972
9932         * NEWS: As suggested by Paul Jennier, added note about the fix of
9933         the InitialContext.
9934
9935 2006-08-07  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
9936
9937         * NEWS: Added entry about the context factories for JNDI.
9938
9939 2006-08-07  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
9940
9941         PR 27383
9942         * gnu/CORBA/Connected_objects.java (size): New method.
9943         * gnu/CORBA/OrbFunctional.java (countConnectedObjects):
9944         New method.
9945         * javax/naming/spi/NamingManager.java (getURLContext):
9946         Also search for the URL context factories in 
9947         gnu/javax/naming/jndi/url.
9948         * gnu/javax/naming/giop/ContextContinuation.java,
9949         gnu/javax/naming/giop/CorbalocParser.java,
9950         gnu/javax/naming/giop/GiopNamingEnumeration.java,
9951         gnu/javax/naming/giop/GiopNamingServiceFactory.java,
9952         gnu/javax/naming/giop/GiopNamingServiceURLContext.java,
9953         gnu/javax/naming/giop/ListBindingsEnumeration.java,
9954         gnu/javax/naming/giop/ListEnumeration.java,
9955         gnu/javax/naming/jndi/url/corbaname/corbanameURLContextFactory.java,
9956         gnu/javax/naming/jndi/url/rmi/ContextContinuation.java,
9957         gnu/javax/naming/jndi/url/rmi/ListBindingsEnumeration.java,
9958         gnu/javax/naming/jndi/url/rmi/ListEnumeration.java,
9959         gnu/javax/naming/jndi/url/rmi/RmiContinuation.java,
9960         gnu/javax/naming/jndi/url/rmi/RmiNamingEnumeration.java,
9961         gnu/javax/naming/jndi/url/rmi/rmiURLContext.java,
9962         gnu/javax/naming/jndi/url/rmi/rmiURLContextFactory.java: New files.
9963
9964 2006-08-06  Sven de Marothy  <sven@physto.se>
9965
9966         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
9967         (drawGlyphVector): Synchronize against font object when drawing.
9968         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
9969         (nativeDrawGlyphVector): Use pango locking when drawing.
9970         (install_font_peer): Use pango locking when creating the cairo face.
9971
9972 2006-08-06  C. Scott Marshall  <csm@gnu.org>
9973
9974         Fixes PR 28608.
9975         * java/nio/DirectByteBufferImpl.java (duplicate): only reset if
9976         the mark has been set.
9977         * native/jni/java-nio/java_nio_VMDirectByteBuffer.c
9978         (Java_java_nio_VMDirectByteBuffer_allocate): zero out the
9979         allocated data.
9980
9981 2006-08-06  Mark Wielaard  <mark@klomp.org>
9982
9983         PR 28555
9984         Suggested by Matthew Burgess <matthew@linuxfromscratch.org>
9985         * gnu/xml/transform/ApplyTemplatesNode.java (clone): Check whether
9986         withParams is null.
9987         * gnu/xml/transform/ForEachNode.java (clone): Check whether
9988         sortKeys is null.
9989
9990 2006-08-06  Raif S. Naffah  <raif@swiftdsl.com.au>
9991             Paul Jenner  <psj@harker.dyndns.org>
9992
9993         * README: Update bug, patches and cvs instructions plus new URLs of
9994         various external projects.
9995   
9996 2006-08-05  Andrew John Hughes  <gnu_andrew@member.fsf.org>
9997
9998         * gnu/java/lang/management/BeanImpl.java:
9999         (cacheMBeanInfo(MBeanInfo)): Override given MBeanInfo
10000         with open variant.
10001         (getCachedMBeanInfo()): Return open variant.
10002         (getMBeanInfo()): Likewise.
10003         (getTypeFromClass(Class)): Implemented.
10004         (translateSignature(MBeanParameterInfo)): Likewise.
10005         (translate(String)): Likewise.
10006         * javax/management/StandardMBean.java:
10007         (getMBeanInfo()): Return attribute names with capital letters,
10008         as in docs for java.lang.management.ManagementFactory, and
10009         ensure descriptions are not "".
10010         * javax/management/openmbean/OpenMBeanConstructorInfoSupport.java,
10011         * javax/management/openmbean/OpenMBeanInfoSupport.java,
10012         * javax/management/openmbean/OpenMBeanOperationInfoSupport.java:
10013         (toString()): Use Arrays.toString().
10014         * javax/management/openmbean/OpenMBeanParameterInfoSupport.java:
10015         (OpenMBeanParameterInfoSupport(String, String, OpenType)):
10016         Set open type here rather than in other constructors.
10017
10018 2006-08-05  Andrew John Hughes  <gnu_andrew@member.fsf.org>
10019
10020         * javax/management/MBeanFeatureInfo.java:
10021         Make string variable package-private.
10022         * javax/management/StandardMBean.java:
10023         (getMBeanInterface()): Made final.
10024         * javax/management/openmbean/SimpleType.java:
10025         Made final.
10026
10027 2006-08-05  Jeroen Frijters  <jeroen@frijters.net>
10028
10029         * java/awt/Component.java (setDropTarget): Commented out GTK specific
10030         code.
10031   
10032 2006-08-05  Andrew John Hughes  <gnu_andrew@member.fsf.org>
10033
10034         * examples/gnu/classpath/examples/swing/FillRect.java,
10035         * gnu/CORBA/Focused_ORB.java,
10036         * gnu/CORBA/interfaces/gnuSocketFactory.java,
10037         * gnu/classpath/ByteArray.java,
10038         * gnu/classpath/ObjectPool.java,
10039         * gnu/java/awt/peer/ClasspathTextLayoutPeer.java,
10040         * gnu/java/awt/peer/x/fonts.properties,
10041         * gnu/java/security/util/Prime2.java,
10042         * gnu/javax/imageio/gif/GIFStream.java,
10043         * javax/swing/text/html/HTMLTableView.java,
10044         * native/cni/Makefile.am,
10045         * org/omg/CORBA/SendingContext/RunTimeOperations.java,
10046         * org/omg/CORBA/SendingContext/Runtime.java,
10047         * resource/gnu/regexp/MessagesBundle.properties,
10048         * resource/gnu/regexp/MessagesBundle_fr.properties,
10049         * resource/gnu/regexp/MessagesBundle_it.properties,
10050         * tools/appletviewer.in,
10051         * tools/jarsigner.in,
10052         * tools/keytool.in,
10053         * vm/reference/java/lang/management/VMThreadInfo.java:
10054         Removed.
10055         * examples/gnu/classpath/examples/awt/aicas.png,
10056         * examples/gnu/classpath/examples/awt/palme.gif,
10057         * examples/gnu/classpath/examples/java2d/aicas.png,
10058         * examples/gnu/classpath/examples/java2d/palme.gif,
10059         * gnu/java/awt/font/opentype/truetype/doc-files/ZonePathIterator-1.dia,
10060         * gnu/java/awt/font/opentype/truetype/doc-files/ZonePathIterator-1.png,
10061         * java/awt/doc-files/capjoin.png,
10062         * java/awt/geom/doc-files/Area-1.png,
10063         * java/awt/geom/doc-files/Ellipse-1.png,
10064         * java/awt/geom/doc-files/GeneralPath-1.png:
10065         Added.
10066         
10067 2006-08-05  Andrew John Hughes  <gnu_andrew@member.fsf.org>
10068
10069         * configdiag.jnlp:
10070         Removed.
10071         
10072 2006-08-05  Andrew John Hughes  <gnu_andrew@member.fsf.org>
10073
10074         * gnu/java/lang/management/BeanImpl.java:
10075         (getAttribute(String)): Implemented.
10076
10077 2006-08-05  Roman Kennke  <kennke@aicas.com>
10078
10079         * javax/swing/text/JTextComponent.java
10080         (AccessibleJTextComponent.dot): Renamed field into caretDot.
10081         (AccessibleJTextComponent.textComp): Removed field
10082         and replace with JTextComponent.this construct.
10083         (AccessibleJTextComponent.AccessibleJTextComponent):
10084         Fetch caret position.
10085         (caretUpdate): Implemented. Fires property change events and
10086         updates the caretDot field.
10087         (changedUpdate): Implemented. Fires property change events.
10088         (insertUpdate): Implemented. Fires property change events.
10089         (removeUpdate): Implemented. Fires property change events.
10090         (cut): Replaced textComp with JTextComponent.this construct.
10091         (paste): Replaced textComp with JTextComponent.this construct.
10092         (replaceText): Replaced textComp with JTextComponent.this construct.
10093         (selectText): Replaced textComp with JTextComponent.this construct.
10094         (getCaretPosition): Replaced textComp with JTextComponent.this
10095         construct.
10096         (getCharCount): Replaced textComp with JTextComponent.this construct.
10097         (getSelectedText): Replaced textComp with JTextComponent.this
10098         construct.
10099         (getSelectionEnd): Replaced textComp with JTextComponent.this
10100         construct.
10101         (getSelectionStart): Replaced textComp with JTextComponent.this
10102         construct.
10103         (getTextRange): Replaced textComp with JTextComponent.this
10104         construct.
10105         (doAccessibleAction): Implemented.
10106         (getAccessibleActionCount): Implemented.
10107         (getAccessibleActionDescription): Implemented.
10108         (getAccessibleStateSet): Implemented.
10109         (getAfterIndex): Implemented.
10110         (getBeforeIndex): Implemented.
10111         (getAtIndex): Implemented.
10112         (getAtIndexImpl): New helper method.
10113         (getCharacterAttribute): Implemented.
10114         (getCharacterBounds): Implemented.
10115         (getIndexAtPoint): Implemented. 
10116         (insertTextAtIndex): Implemented.
10117         (setAttributes): Implemented.
10118         (setTextContents): Implemented.
10119
10120 2006-08-05  Raif S. Naffah  <raif@swiftdsl.com.au>
10121   
10122         * configure.ac: Better handling of default-preferences-peer option.
10123
10124 2006-08-04  Andreas Tobler  <a.tobler@schweiz.ch>
10125
10126         * java/awt/BasicStroke.java (dashedStroke): Cast coords.clone to
10127         double[].
10128
10129 2006-08-04  Andrew John Hughes  <gnu_andrew@member.fsf.org>
10130
10131         * javax/management/openmbean/TabularData.java:
10132         Documentation corrections.
10133         * javax/management/openmbean/TabularDataSupport.java:
10134         New file.
10135
10136 2006-08-04  Francis Kung  <fkung@redhat.com>
10137
10138         * java/awt/BasicStroke.java
10139         (dashedStroke): Implemented.
10140
10141 2006-08-04  Andrew John Hughes  <gnu_andrew@member.fsf.org>
10142
10143         * javax/management/BadAttributeValueExpException.java,
10144         * javax/management/BadStringOperationException.java,
10145         * javax/management/InstanceAlreadyExistsException.java,
10146         * javax/management/InstanceNotFoundException.java,
10147         * javax/management/InvalidApplicationException.java,
10148         * javax/management/MBeanRegistrationException.java,
10149         * javax/management/MalformedObjectNameException.java,
10150         * javax/management/RuntimeErrorException.java,
10151         * javax/management/RuntimeMBeanException.java,
10152         * javax/management/ServiceNotFoundException.java:
10153         New files.
10154         
10155 2006-08-04  Roman Kennke  <kennke@aicas.com>
10156
10157         * javax/swing/SwingUtilities.java
10158         (layoutCompoundLabel(JComponent,FontMetrics,String,Icon,int,int,int,
10159          int,Rectangle,Rectangle,Rectangle,int)): Delegate to new
10160         layoutCompoundLabelImpl().
10161         (layoutCompoundLabel(FontMetrics,String,Icon,int,int,int,int,
10162          Rectangle,Rectangle,Rectangle,int)): Delegate to new
10163         layoutCompoundLabelImpl().
10164         (layoutCompoundLabelImpl): New helper method. Moved impl from
10165         layoutCompoundLabel() to here and added handling of HTML.
10166         * javax/swing/plaf/basic/BasicButtonUI.java
10167         (installUI): Update HTML view if appropriate.
10168         (uninstallUI): New method. Do the usual uninstallUI things
10169         and uninstall HTML view.
10170         (getMinimumSize): New method. Adjusts the minimum size
10171         by the HTML view minimum size.
10172         (getMaximumSize): New method. Adjusts the maximum size
10173         by the HTML view maximum size.
10174         (getPreferredSize): Pass the button's iconTextGap to the
10175         BasicGraphicsUtils method.
10176         (paint): Let HTML view paint the text, if present.
10177         * javax/swing/plaf/basic/BasicButtonListener.java
10178         (propertyChange): Update the HTML view when the button's
10179         text is changed.
10180         
10181 2006-08-04  Mario Torre  <neugens@limasoftware.net>
10182
10183         Reported by Raif S. Naffah <raif@swiftdsl.com.au>
10184         * native/jni/gconf-peer/GConfNativePeer.c (init_gconf_client):
10185         g_type_init earlier in function to correctly initialize the
10186         type system used by the backend.
10187
10188 2006-08-04  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
10189
10190         PR 26972
10191         * javax/naming/Name.java (addAll, getPrefix, getSuffix):
10192         Documented.
10193         * gnu/javax/naming/ictxImpl/trans/GnuName.java: New file.
10194
10195 2006-08-04  Robert Schuster  <robertschuster@fsfe.org>
10196
10197         Reported by Henrik Gulbrandsen <henrik@gulbra.net>
10198         Fixes PR27864.
10199         * gnu/xml/dom/DomIterator.java:
10200         (successor): Added if-statement.
10201
10202 2006-08-04  Mark Wielaard  <mark@klomp.org>
10203
10204         * scripts/Makefile.am (EXTRA_DIST): Add import-cacerts.sh.
10205
10206 2006-08-04  Robert Schuster  <robertschuster@fsfe.org>
10207
10208         * javax/swing/plaf/metal/MetalMenuBarUI.java:
10209         (update): Check size and paint smaller gradient.
10210         * javax/swing/plaf/metal/MetalBorders.java:
10211         (MenuBarBorder): Removed borderColor field.
10212         (MenuBarBorder.paintBorder): Added note, fetch color from UIManager or
10213         MetalLookAndFeel.
10214
10215 2006-08-03  Roman Kennke  <kennke@aicas.com>
10216
10217         PR 27637
10218         * javax/swing/plaf/basic/BasicInternalFrameUI.java
10219         (ComponentHandler.componentResized): Reimplemented to handle
10220         arbitrary parents.
10221         (InternalFramePropertyChangeHandler.propertyChange): (Un)install
10222         component listener on changed ancestor.
10223         (installListeners): Install componentListener.
10224         (uninstallListeners): Uninstall componentListener.
10225
10226 2006-08-03  Carsten Neumann  <cn-develop@gmx.net>
10227
10228         * StrictMath.java (cbrt): Return argument if it is a NaN.
10229         (cosh): Likewise.
10230         (expm1): Likewise.
10231         (sinh): Likewise.
10232   
10233 2006-08-03  Carsten Neumann  <cn-develop@gmx.net>
10234   
10235         * java/lang/StrictMath.java (tanh): New method.
10236   
10237 2006-08-03  Raif S. Naffah  <raif@swiftdsl.com.au>
10238   
10239         * scripts/import-cacerts.sh: Batch CA certificates import script.
10240   
10241 2006-08-03  Roman Kennke  <kennke@aicas.com>
10242
10243         PR 27606
10244         * javax/swing/plaf/basic/BasicListUI.java
10245         (paintCell): Pass row index to cell renderer.
10246         * javax/swing/plaf/basic/MetalFileChooserUI.java
10247         (DirectoryComboBoxRenderer.indentIcon): New field.
10248         (DirectoryComboBoxRenderer.DirectoryComboBoxRenderer):
10249         Initialize indentIcon.
10250         (DirectoryComboBoxRenderer.getListCellRendererComponent):
10251         Fall back to super and removed standard functionality.
10252         Handle indentation.
10253         (IndentIcon): New class. Wraps and indents another icon.
10254
10255 2006-08-02  Andrew John Hughes  <gnu_andrew@member.fsf.org>
10256
10257         * javax/management/MBeanConstructorInfo.java:
10258         (MBeanConstructorInfo(String,String,MBeanParameterInfo[]):
10259         Copy array rather than directly assigning.
10260         * javax/management/MBeanInfo.java:
10261         (MBeanInfo(String,String,MBeanAttributeInfo[],
10262         MBeanConstructorInfo[], MBeanOperationInfo[],
10263         MBeanNotificationInfo[])): Likewise.
10264         * javax/management/MBeanOperationInfo.java:
10265         (MBeanOperationInfo(String,String,MBeanParameterInfo[],String,int)):
10266         Likewise.
10267         * javax/management/openmbean/OpenMBeanAttributeInfoSupport.java,
10268         * javax/management/openmbean/OpenMBeanConstructorInfoSupport.java:
10269         New files.
10270         * javax/management/openmbean/OpenMBeanInfo.java:
10271         Corrected documentation.
10272         * javax/management/openmbean/OpenMBeanInfoSupport.java:
10273         New file.
10274         * javax/management/openmbean/OpenMBeanOperationInfo.java:
10275         Corrected documentation.
10276         * javax/management/openmbean/OpenMBeanOperationInfoSupport.java:
10277         New file.
10278         * javax/management/openmbean/OpenMBeanParameterInfoSupport.java:
10279         (MBeanParameterInfo(String,String,OpenType,Object,Object[])):
10280         Call other constructor rather than reimplementing.
10281
10282 2006-08-02  Lillian Angel  <langel@redhat.com>
10283
10284         * java/awt/dnd/DragSource.java
10285         (isDragImageSupported): Implemented.
10286         (getDragThreshold): Changed default value.
10287         * java/awt/dnd/DropTarget.java
10288         (DropTarget): Default action is changed to ACTION_COPY_OR_MOVE.
10289         (DropTarget): Likewise.
10290         (DropTarget): If FlavorMap passed in is null, we should use the system default.
10291         (addDropTargetListener): Added check to determine if new DropTargetListener
10292         is this class. If so, an IllegalArgumentException is thrown. If the 
10293         new listener is null, nothing happens.
10294
10295 2006-08-02  Thomas Fitzsimmons  <fitzsim@redhat.com>
10296
10297         * configure.ac (MOZILLA_FOUND): Fall back to
10298         mozilla-firefox-plugin.
10299
10300 2006-08-02  Sven de Marothy  <sven@physto.se>
10301
10302         * java/awt/geom/AffineTransform.java
10303         (hashCode): Tweak impl. 
10304         * java/awt/font/FontRenderContext.java
10305         (hashCode): Implement. 
10306
10307 2006-08-02  Carsten Neumann  <cn-develop@gmx.net>
10308
10309         * java/lang/StrictMath.java (sinh): New method.
10310
10311 2006-08-02  Roman Kennke  <kennke@aicas.com>
10312
10313         PR 27605
10314         * javax/swing/JComboBox.java
10315         (setSelectedItem): Fire ActionEvent here.
10316         * javax/swing/plaf/basic/BasicDirectoryModel.java
10317         (directories): Changed to type Vector.
10318         (files): New field.
10319         (loadThread): New field.
10320         (DirectoryLoadThread): New inner class. This loads the contents
10321         of directories asynchronously.
10322         (getDirectories): Return cached Vector.
10323         (getFiles): Return cached Vector.
10324         (getSize): Return plain size of contents Vector.
10325         (propertyChange): Reread directory also for DIRECTORY_CHANGED,
10326         FILE_FILTER_CHANGED, FILE_HIDING_CHANGED and FILE_VIEW_CHANGED.
10327         (sort): Don't store sorted list in contents. This must be done
10328         asynchronously from the EventThread.
10329         (validateFileCache): Rewritten for asynchronous reading
10330         of directory contents.
10331         * javax/swing/plaf/basic/BasicFileChooserUI.java
10332         (installListeners): Install model as PropertyChangeListener.
10333         (uninstallListeners): Uninstall model as PropertyChangeListener.
10334         (createPropertyChangeListener): Return null just like the
10335         RI.
10336
10337 2006-08-02  Sven de Marothy  <sven@physto.se>
10338   
10339         * gnu/java/awt/peer/gtk/GtkChoicePeer.java
10340         (remove): Force event on removing item 0 when it's selected.
10341         (handleEvent): Always call Choice.selected().
10342         * java/awt/Choice.java:
10343         (remove): Simplify and correct.
10344   
10345 2006-08-02  Mark Wielaard  <mark@klomp.org>
10346   
10347         PR 28535
10348         * configure.ac (gconf-peer): Check for gdk-2.0.
10349         * native/jni/gconf-peer/Makefile.am
10350         (AM_LDFLAGS): Use GDK_LIBS.
10351         (AM_CFLAGS): Use GDK_CFLAGS.
10352   
10353 2006-08-02  Thomas Minor  <1nocentrabidlamb@sexMagnet.com>
10354   
10355         * java/net/URL.java (getContent(Class[])): Implement.
10356   
10357 2006-08-02  Roman Kennke  <kennke@aicas.com>
10358   
10359         PR 27624
10360         * javax/swing/JMenu.java
10361         (JMenu()): Removed setting of delay.
10362         (JMenu(String)): Removed setting of delay.
10363         (JMenu(Action)): Removed setting of delay.
10364         (JMenu(String,boolean)): Removed setting of delay.
10365         (setSelectedHelper): Removed unneeded method.
10366         (setSelected): Simply set the model state.
10367         (setPopupMenuVisible): Recognize the popup location
10368         determined by getPopupMenuOrigin().
10369         (getPopupMenuOrigin): Recognize the UI properties for
10370         X and Y offset.
10371         (menuSelectionChanged): Call setSelected() directly.
10372         * javax/swing/JPopupMenu.java
10373         (menuSelectionChanged): If invoker is a JMenu, then delegate
10374         to that to get the position right.
10375         * javax/swing/Popup.java
10376         (LightweightPopup.show): Insert the popup as first component
10377         in the layer, so that it overlaps it's caller.
10378         * javax/swing/plaf/basic/BasicMenuItemUI.java
10379         (getPath): Don't include the popup.
10380         * javax/swing/plaf/basic/BasicMenuUI.java
10381         (SelectMenuAction): New class. This invokes the popup when
10382         a menu is selected.
10383         (installDefaults): Install delay of 200 ms.
10384         (setupPostTimer): Implemented.
10385         (MouseInputHandler.mouseClicked): Do nothing here.
10386         (MouseInputHandler.mouseEntered): Use MenuSelectionManager
10387         magic to handle the selection. Open the menu via a timer.
10388         (MouseInputHandler.mousePressed): Use MenuSelectionManager
10389         magic to handle the selection. Open the menu via a timer.
10390         (MenuDragMouseHandler.menuMouseDragged): Probably use
10391         timer.
10392         (menuDragMouseEntered): Do nothing here.
10393   
10394 2006-08-02  Andrew John Hughes  <gnu_andrew@member.fsf.org>
10395         
10396         * javax/management/openmbean/InvalidOpenTypeException.java,
10397         * javax/management/openmbean/KeyAlreadyExistsException.java:
10398         New files.
10399
10400 2006-08-02  Roman Kennke  <kennke@aicas.com>
10401
10402         PR 27604
10403         * javax/swing/plaf/basic/BasicChooserUI.java
10404         (BasicFileView.getName): Fetch the real name from the
10405         file chooser's FileSystemView.
10406         * javax/swing/plaf/metal/MetalChooserUI.java
10407         (DirectoryComboBoxRenderer.getListCellRendererComponent):
10408         Set the text fetched from the JFileChooser.getName().
10409         * javax/swing/FileSystemView.java
10410         (createFileObject): When file is a filesystem root,
10411         create a filesystem root object first.
10412         (getSystemDisplayName): Return the filename. Added specnote
10413         about ShellFolder class that is mentioned in the spec.
10414         * javax/swing/UnixFileSystemView.java
10415         (getSystemDisplayName): Implemented to return the real name
10416         of a file, special handling files like '.' or '..'.
10417
10418 2006-08-03  Mark Wielaard  <mark@klomp.org>
10419
10420         * examples/gnu/classpath/examples/icons/badge.png: Add file.
10421
10422 2006-08-03  Roman Kennke  <kennke@aicas.com>
10423
10424         PR 28562
10425         * javax/swing/plaf/basic/BasicOptionPaneUI.java
10426         (PropertyChangeHandler.propertyChange): Cleanly reinstall
10427         components when visual property chanegs.
10428
10429 2006-08-03  Roman Kennke  <kennke@aicas.com>
10430
10431         PR 28562
10432         * javax/swing/plaf/basic/BasicOptionPaneUI.java
10433         (PropertyChangeHandler.propertyChange): Uninstall and reinstall
10434         component when visual properties change.
10435
10436 2006-08-03  Roman Kennke  <kennke@aicas.com>
10437
10438         PR 28534
10439         * javax/swing/JTree.java
10440         (JTree(TreeModel)): Set cell renderer to null.
10441         * javax/swing/plaf/basic/BasicTreeUI.java
10442         (setCellRenderer): Finish editing before setting the
10443         cell renderer. Refresh the layout. Don't set the
10444         currentCellRenderer field here (that's done in updateRenderer).
10445         (updateRenderer): Handle createdRenderer field here too.
10446         Set renderer to a default handler when the current renderer
10447         in the JTree is null.
10448
10449 2006-08-02  Raif S. Naffah  <raif@swiftdsl.com.au>
10450
10451         PR Classpath/23899
10452         * java/security/SecureRandom.java (next): Call nextBytes as per specs.
10453
10454 2006-08-02  Raif S. Naffah  <raif@swiftdsl.com.au>
10455
10456         PR Classpath/28556
10457         * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java (encodePrivateKey):
10458         Updated documentation to clarify that RFC-2459 states that the parameters
10459         field of the AlgorithmIdentifier element MUST be NULL if present.
10460         Amended the code to reflect the specs.
10461         (decodePrivateKey): Handle case of NULL AlgorithmIdentifier.parameters.
10462
10463 2006-08-01  Andrew John Hughes  <gnu_andrew@member.fsf.org>
10464
10465         * javax/management/openmbean/OpenMBeanParameterInfoSupport.java:
10466         Call parameter 'defaultValue' not 'defValue'.
10467
10468 2006-08-01  Andrew John Hughes  <gnu_andrew@member.fsf.org>
10469
10470         * javax/management/openmbean/OpenMBeanParameterInfoSupport.java:
10471         New file.
10472
10473 2006-08-01  Roman Kennke  <kennke@aicas.com>
10474   
10475         PR 28562
10476         * javax/swing/plaf/basic/BasicOptionPaneUI.java
10477         (PropertyChangeHandler.propertyChange): Cleanly reinstall
10478         components when visual property chanegs.
10479   
10480 2006-08-01  Andrew John Hughes  <gnu_andrew@member.fsf.org>
10481
10482         * javax/management/openmbean/OpenMBeanAttributeInfo.java:
10483         (toString()): Corrected documentation.
10484         * javax/management/openmbean/OpenMBeanConstructorInfo.java,
10485         * javax/management/openmbean/OpenMBeanInfo.java,
10486         * javax/management/openmbean/OpenMBeanOperationInfo.java:
10487         New files.
10488         * javax/management/openmbean/OpenMBeanParameterInfo.java:
10489         (toString()): Corrected documentation.
10490         
10491 2006-08-01  Tania Bento  <tbento@redhat.com>
10492
10493         * java/awt/Choice.java
10494         (remove(int)): Added documentation.
10495
10496 2006-08-01  Tania Bento  <tbento@redhat.com>
10497         
10498         * java/awt/Choice.java
10499         (remove(int)): An IllegalArgumentException should not be thrown
10500         if int is invalid.  Update selectedIndex and peer selection.
10501
10502 2006-08-01  Tania Bento  <tbento@redhat.com>
10503
10504         * java/awt/CardLayout.java
10505         (toString): Changed format of string outputted.
10506         (goToComponent): Changed the order of the if-clause.
10507
10508 2006-07-31  Tom Tromey  <tromey@redhat.com>
10509
10510         * INSTALL: Updated for ASM.
10511
10512 2006-07-31  Tom Tromey  <tromey@redhat.com>
10513
10514         PR libgcj/23682:
10515         * java/nio/channels/SelectionKey.java (attach): Now synchronized.
10516         (attachment): Likewise.
10517         * java/nio/channels/spi/AbstractSelectionKey.java (cancel): Now
10518         synchronized.
10519         (isValid): Likewise.
10520         * gnu/java/nio/SelectionKeyImpl.java (impl): Now final
10521         (ch): Likewise.
10522         (interestOps): Synchronize.
10523         (readyOps): Likewise.
10524         * gnu/java/nio/SelectorImpl.java (register): Synchronize around
10525         interestOps call.
10526
10527 2006-07-31  Roman Kennke  <kennke@aicas.com>
10528
10529         * NEWS: Added note about the X peers.
10530         * INSTALL: Added install notes about the X peers.
10531
10532 2006-07-31  Carsten Neumann  <cn-develop@gmx.net>
10533
10534         * StrictMath.java (getLowDWord): Return long instead of int.
10535         (getHighDWord): Likewise.
10536         (buildDouble): Take two long arguments.
10537         (cbrt): Adapted to int -> long change.
10538         (expm1): Likewise.
10539         (cosh): Likewise.
10540
10541 2006-07-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
10542
10543         * native/jni/qt-peer/Makefile.am (libqtpeer_la_LDFLAGS): Add
10544         -avoid-version.
10545
10546 2006-07-31  Raif S. Naffah  <raif@swiftdsl.com.au>
10547
10548         * java/security/Provider.java: Updated copyright year.
10549         Updated documentation.
10550         Formatting.
10551         (put): Updated documentation.
10552         Added security manager check.
10553         Canonicalize the key before adding its mapping.
10554         (get): Override superclass implementation to use canonicalized keys.
10555         (remove): Updated documentation.
10556         Added security manager check.
10557         Canonicalize the key before removing its mapping.
10558         (clear): Updated documentation.
10559         Added security manager check.
10560         (toCanonicalKey): New method.
10561
10562 2006-07-30  Matt Wringe  <mwringe@redhat.com>
10563
10564         * gnu/java/security/Engine.java
10565         (getInstance): Ignore self referencing aliases.
10566
10567 2006-07-30  Mark Wielaard  <mark@klomp.org>
10568
10569         * javax/swing/JComponent.java (getListeners): Revert
10570         un-genericization.
10571
10572 2006-07-30  Mark Wielaard  <mark@klomp.org>
10573
10574         * resource/java/security/classpath.security: Add /dev/urandom as
10575         default securerandom.source.
10576
10577 2006-07-30  Mark Wielaard  <mark@klomp.org>
10578
10579         * java/util/GregorianCalendar.java (maximums): Months can have up to
10580         6 weeks.
10581         (nonLeniencyCheck): weeks is either 5 or 6.
10582
10583 2006-07-30  Andrew John Hughes  <gnu_andrew@member.fsf.org>
10584         
10585         * javax/management/openmbean/OpenMBeanAttributeInfo.java,
10586         * javax/management/openmbean/OpenMBeanParameterInfo.java:
10587         New files.
10588
10589 2006-07-30  Matt Wringe  <mwringe@redhat.com>
10590
10591         * gnu/java/security/Engine.java 
10592         (getInstance): Ignore self referencing aliases.
10593
10594 2006-07-30  Sven de Marothy  <sven@physto.se>
10595
10596         * java/awt/Choice.java:
10597         (accessibleAction): Call select() directly.
10598         (add, insert, remove): Reimplement.
10599         (dispatchEventImpl): Always call super.
10600         (processItemEvent): Does not set the index.
10601         * include/gnu_java_awt_peer_gtk_GtkChoicePeer.h
10602         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
10603         (append): removed.
10604         (nativeAdd): Name changed to add.
10605         (selection_changed_cb): Simplify callback.
10606         * gnu/java/awt/peer/gtk/GtkChoicePeer.java
10607         (selected): New field.
10608         (add): Replaced with native impl.
10609         (handleEvent): New method.      
10610         
10611 2006-07-30  Sven de Marothy  <sven@physto.se>
10612
10613         * java/awt/Choice.java:
10614         Reformat, fix copyright year.
10615
10616 2006-07-29  Mark Wielaard  <mark@klomp.org>
10617
10618         * javax/swing/JComponent.java (paintingDoubleBuffered): Renamed
10619         static field isPaintingDoubleBuffered to not have the same name
10620         as a method.
10621
10622 2006-07-29  Andrew John Hughes  <gnu_andrew@member.fsf.org>
10623   
10624         * examples/gnu/classpath/examples/management/TestBeans.java:
10625         New file.
10626         * javax/management/MBeanAttributeInfo.java:
10627         (toString()): Implemented.
10628         * javax/management/MBeanConstructorInfo.java:
10629         (toString()): Implemented.
10630         * javax/management/MBeanFeatureInfo.java:
10631         (toString()): Implemented.
10632         * javax/management/MBeanInfo.java:
10633         (toString()): Implemented.
10634         * javax/management/MBeanNotificationInfo.java:
10635         (toString()): Implemented.
10636         * javax/management/MBeanOperationInfo.java:
10637         (toString()): Implemented.
10638         * javax/management/MBeanParameterInfo.java:
10639         (toString()): Implemented.
10640         * javax/management/StandardMBean.java:
10641         (getMBeanInfo()): Fix attribute naming.
10642
10643 2006-07-29  Andrew John Hughes  <gnu_andrew@member.fsf.org>
10644
10645         * gnu/java/lang/management/BeanImpl.java:
10646         Extended javax.management.StandardMBean.
10647         * gnu/java/lang/management/ClassLoadingMXBeanImpl.java,
10648         * gnu/java/lang/management/CompilationMXBeanImpl.java,
10649         * gnu/java/lang/management/GarbageCollectorMXBeanImpl.java,
10650         * gnu/java/lang/management/MemoryMXBeanImpl.java,
10651         * gnu/java/lang/management/MemoryManagerMXBeanImpl.java,
10652         * gnu/java/lang/management/MemoryPoolMXBeanImpl.java,
10653         * gnu/java/lang/management/OperatingSystemMXBeanImpl.java,
10654         * gnu/java/lang/management/RuntimeMXBeanImpl.java,
10655         * gnu/java/lang/management/ThreadMXBeanImpl.java:
10656         Call the superclass with the appropriate class.
10657         * java/lang/management/ManagementFactory.java:
10658         (getOperatingSystemMXBean()): Catch exception from
10659         StandardMBean.
10660         (getRuntimeMXBean()): Likewise.
10661         (getClassLoadingMXBean()): Likewise.
10662         (getThreadMXBean()): Likewise.
10663         (getMemoryMXBean()): Likewise.
10664         (getCompilationMXBean()): Likewise.
10665         (getMemoryPoolMXBeans()): Likewise.
10666         (getMemoryManagerMXBeans()): Likewise.
10667         (getGarbageCollectorMXBeans()): Likewise.
10668         * javax/management/MBeanFeatureInfo.java:
10669         hashCode()): Fixed to check for null values.
10670
10671 2006-07-29  Matt Wringe  <mwringe@redhat.com>
10672
10673         * gnu/java/security/Engine.java
10674         (getInstance): Add case insentivity to algorithm names
10675         * java/security/Provider.java
10676         (put): Stop using canonical key naming
10677         (remove): Likewise
10678         (toCanonicalKey): Method removed
10679         (get): Method removed, no longer needs to overwrite
10680         parent implementation
10681
10682 2006-07-29  Mark Wielaard  <mark@klomp.org>
10683
10684         * gnu/java/awt/peer/gtk/GdkTextLayout.java: Removed.
10685         * gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java: Removed.
10686         * include/gnu_java_awt_peer_gtk_GdkTextLayout.h: Removed.
10687         * include/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.h: Removed.
10688         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c: Removed.
10689         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c:
10690         Removed.
10691
10692 2006-07-29  Sven de Marothy  <sven@physto.se>
10693
10694         * java/math/BigDecimal.java
10695         Adjust copyright date.
10696         (divide(BigDecimal): Implement.
10697         (precision): Reimplement.
10698         (numDigitsInBigInteger, numDigitsInLong): Removed.
10699         (toString): Get exponent from string length,
10700         fix negative values with exponential form.
10701         (toEngineeringString): Same as for toString.
10702         (setScale): Throw ArithmeticException if scale < 0.
10703
10704 2006-07-27  Francis Kung  <fkung@redhat.com>
10705
10706         * gnu/java/awt/java2d/CubicSegment.java: Added import.
10707         (cp1): Renamed from first().
10708         (c2): Renamed from last().
10709         (first): Renamed to cp1().
10710         (getDisplacedSegments): Implemented.
10711         (last): Renamed to cp2().
10712         * gnu/java/awt/java2d/LineSegment.java
10713         (cp1): Renamed from first().
10714         (c2): Renamed from last().
10715         (first): Renamed to cp1().
10716         (last): Renamed to cp2().
10717         * gnu/java/awt/java2d/QuadSegment.java
10718         (cp1): Renamed from first().
10719         (c2): Renamed from last().
10720         (first): Renamed to cp1().
10721         (last): Renamed to cp2().
10722         * gnu/java/awt/java2d/Segment.java: Added comments.
10723         (first): New field.
10724         (Segment): Keep track of first element in list.
10725         (add): Update first & last element variables.
10726         (cp1): Renamed from first().
10727         (c2): Renamed from last().
10728         (first()): Renamed to cp1() to reduce ambiguity.
10729         (last()): Renamed to cp2() to reduce ambiguity.
10730         (reverseAll): Update first element variable..
10731         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
10732         (draw): Remove flattening path iterator.
10733         * java/awt/BasicStroke.java: Clarified comments.
10734         (addSegments): Refactored some code into joinSegments and
10735         joinInnerSegments.
10736         (capEnd): Rename of Segment.first() and Segment.end().
10737         (joinInnerSegments): New method.
10738         (joinOuterSegments): New method.
10739         (joinSegments): Refactored some code into joinOuterSegments.
10740         (solidStroke): Connect segments together properly.
10741
10742 2006-07-28  Thomas Fitzsimmons  <fitzsim@redhat.com>
10743
10744         * native/jawt/Makefile.am (libjawt_la_LDFLAGS): Add
10745         -avoid-version.
10746         * native/jni/gtk-peer/Makefile.am (libgtkpeer_la_LDFLAGS):
10747         Likewise.
10748         * native/jni/midi-alsa/Makefile.am (libgjsmalsa_la_LDFLAGS):
10749         Likewise.
10750         * native/jni/midi-dssi/Makefile.am (libgjsmdssi_la_LDFLAGS):
10751         Likewise.
10752
10753 2006-07-28  Tom Tromey  <tromey@redhat.com>
10754
10755         * configure.ac: Enable -Werror by default on Linux-with-gcc.
10756
10757 2006-07-28  Lillian Angel  <langel@redhat.com>
10758
10759         * native/jni/gtk-peer/GtkDragSourceContextPeer.c:
10760         Removed function declarations.
10761         (connect_signals_for_widget): Removed implementation because
10762         stub functions have been removed.
10763         (drag_begin_cb): Removed function.
10764         (drag_motion_cb): Likewise.
10765         (drag_data_get_cb): Likewise.
10766         (drag_data_delete_cb): Likewise.
10767         (drag_drop_cb): Likewise.
10768         (drag_end_cb): Likewise.
10769         (drag_data_received_cb): Likewise.      
10770
10771 2006-07-28  Mark Wielaard  <mark@klomp.org>
10772
10773         * configure.ac: Set version to 0.93-pre.
10774
10775 2006-07-29  Raif S. Naffah  <raif@swiftdsl.com.au>
10776
10777         * tools/Makefile.am: Added source 1.4 compliance option when ECJ is used.
10778
10779 2006-07-29  Raif S. Naffah  <raif@swiftdsl.com.au>
10780
10781         * tools/gnu/classpath/tools/keytool/Command.java: Removed unused import.
10782         (getCallbackHandler): Fully qualify linked class in javadoc.
10783         * tools/gnu/classpath/tools/keytool/GenKeyCmd.java (cmdOptionsParser): Removed.
10784         * tools/gnu/classpath/tools/keytool/ImportCmd.java (imported): Likewise.
10785         * tools/gnu/classpath/tools/keytool/Main.java (printHelp): Likewise.
10786
10787 2006-07-27  Tom Tromey  <tromey@redhat.com>
10788
10789         PR classpath/28486:
10790         * java/net/URLStreamHandler.java (equals): Properly handle default
10791         port.  Rewrote javadoc.  Don't compare 'authority' parts of URLs.
10792
10793 2006-07-27  Roman Kennke  <kennke@aicas.com>
10794
10795         * javax/swing/text/AbstractDocument.java
10796         (documentCV): Made field private.
10797         (bypass): Made field private.
10798         (bidiRoot): New field.
10799         (AbstractDocument): Initialize bidiRoot.
10800         (getBidiRootElement): Return bidiRoot.
10801         (getRootElements): Adjusted to also return the bidiRoot element.
10802         (BranchElement.startOffset): Removed unneeded field.
10803         (BranchElement.endOffset): Removed unneeded field.
10804         (BranchElement.BranchElement): Removed unneeded fields.
10805         (BranchElement.getEndOffset): Don't explicitly throw NPE here. This is
10806         done automatically when there's no element left in the array.
10807         (BranchElement.getStartOffset): Likewise.
10808         (BranchElement.replace): Reordered calculations to avoid double
10809         calculations.
10810         (removeImpl): Silently ignore requests with length <= 0.
10811         * javax/swing/text/GapContent.java
10812         (createPosition): Removed explicit check for correct offset.
10813         This class can deal with offsets outside the document.
10814         (shiftEnd): Update all positions, even those outside the
10815         document.
10816         (adjustPositionsInRange): Fixed to also adjust positions outside
10817         the document boundary.
10818
10819 2006-07-18  Kyle Galloway  <kgallowa@redhat.com>
10820
10821     * gnu/classpath/jdwp/event/ExceptionEvent.java: Added _klass field to hold
10822     defining class.
10823     (getParameter): Returns _klass field instead of determining
10824     class from _instance.
10825     (setCatchLoc): New method.
10826     (writeData): Now assumes Location deals with empty locations instead of
10827     using null.
10828     * gnu/classpath/jdwp/util/Location.java (write): Check for empty
10829     locations and write out accordingly.
10830     (getEmptyLocation): New method. 
10831
10832 2006-07-27  Roman Kennke  <kennke@aicas.com>
10833
10834         * javax/swing/text/SimpleAttributeSet.java
10835         (EMPTY): Use EmptyAttributeSet for this field rather than
10836         SimpleAttributeSet.
10837         * javax/swing/text/EmptyAttributeSet.java: New class. Implements
10838         an empty and immutable AttributeSet.
10839
10840 2006-07-27  Roman Kennke  <kennke@aicas.com>
10841
10842         * java/awt/Component.java
10843         (reshape): Invalidate the component itself only when the
10844         size has changed. Invalidate the parent always. Fixed
10845         repainting. Pulled out the notification into
10846         notifyReshape().
10847         (notifyReshape): New helper method. Notify interested listeners
10848         about a reshape.
10849         (update): Simply call paint() without clearing the background.
10850         This is done in Container.update() if appropriate.
10851         (repaint): Delagate the repaint to the nearest heavyweight
10852         parent (for lightweights) and send an UPDATE event, rather than
10853         calling ComponentPeer.repaint().
10854         * java/awt/Container.java
10855         (backCleared): Removed field.
10856         (paint): Removed handling of backCleared flag.
10857         (update): Only paint if the container is actually
10858         showing. Removed handling of backCleared flag.
10859
10860 2006-07-27  Robert Schuster <robertschuster@fsfe.org>
10861
10862         * javax/swing/plaf/basic/BasicTabbedPaneUI.java: Fixed copyright and
10863         authorship.
10864         (NavigateAction): New inner class.
10865         (NavigatePageDownAction): New inner class.
10866         (NavigatePageUpAction): New inner class.
10867         (RequestFocusAction): New inner class.
10868         (RequestFocusForVisibleComponentAction): New inner class.
10869         (FocusHandler.focusGained): Implemented.
10870         (FocusHandler.focusLost): Implemented.
10871         (MouseHandler.mouseReleased): Implemented.
10872         (MouseHandler.mousePressed): Rewritten.
10873         (PropertyChangeHandler.propertyChange): Reset currentScrollOffset and
10874         currentScrollLocation to 0.
10875         (TabbedPaneLayout.calculateSize): Stored tab count in local variable,
10876         removed local variables, fixed indentation to stay under 80 column
10877         limit.
10878         (TabbedPaneLayout.calculateTabRects): Decrease tab area position by
10879         one, set selectedIndex to 0 if its negative, corrected start values
10880         for normalization, suppressed padding when only one tab run,
10881         (TabbedPaneLayout.minimumLayoutSize): Toggled argument value.
10882         (TabbedPaneLayout.normalizeTabRuns): Fixed indentation to stay under
10883         80 column limit, corrected the starting value for the bounds fixing
10884         phase.
10885         (TabbedPaneLayout.preferredTabAreaWidth): Fixed indentation.
10886         (TabbedPaneLayout.rotateTabInRuns): Corrected comparison value for
10887         selectedRun, set start index for loop to 0.
10888         (TabbedPaneScrollLayout.preferredLayoutSize): Toggled argument value.
10889         (TabbedPaneScrollLayout.calculateTabRects): Rewritten.
10890         (TabbedPaneScrollLayout.layoutContainer): Added scrolling button
10891         alignment and visibility handling.
10892         (TabSelectionHandler.stateChanged): Do revalidation only in wrap tab
10893         layout mode.
10894         (ScrollingPanel.ScrollingPanelUI.paint): Rewritten.
10895         (currentScrollOffset): New field.
10896         (tabRuns): Rewritten documentation.
10897         (selectedColor): New field.
10898         (tempTextRect): New field.
10899         (tempIconRect): New field.
10900         (scrollTab): New method.
10901         (updateButtons): New method.
10902         (updateViewPosition): New method.
10903         (createLayoutManager): Reordered method calls, predefine new fields,
10904         register proper listeners.
10905         (uninstallComponents): Implemented.
10906         (installDefaults): Corrected property names, fixed indentation,.
10907         (uninstallDefaults): Set new fields to null.
10908         (uninstallListeners): Remove listeners from components neccessary for
10909         scrolling tab layout.
10910         (installKeyboardActions): Implemented.
10911         (uninstallKeyboardActions): Implemented.
10912         (paint): Paint tab area background.
10913         (paintTabArea): Fixed indentation, removed usage of local Rectangle
10914         objects.
10915         (getTabLabelShiftX): Rewritten.
10916         (getTabLabelShiftY): Rewritten.
10917         (paintFocusIndicator): Reindented.
10918         (paintTabBorder): Rewritten.
10919         (paintTabBackground): Corrected color usage, rewritten background
10920         rectangle painting.
10921         (paintContentBorderTopEdge): Rewritten.
10922         (paintContentBorderBottomEdge): Rewritten.
10923         (paintContentBorderLeftEdge): Rewritten.
10924         (paintContentBorderRightEdge): Rewritten.
10925         (tabForCoordinate): Return selected index when no tab could be
10926         found, removed FIXME note.
10927         (getRunForTab): Changed return value for first if-statement.
10928         (navigateSelectedTab): Fixed last argument for both
10929         getTabRunOffset() calls.
10930         (selectedNextTabInRun): Added scrolling code.
10931         (selectedPreviousTabInRun): Added scrolling code.
10932         (selectedNextTab): Added scrolling code.
10933         (selectedPreviousTab): Added scrolling code.
10934         (selectAdjacentRunTab): Added scrolling code.
10935         (getTextViewForTab): Added FIXME note.
10936         (calculateTabHeight): Changed FIXME note.
10937         (getTabRunOffset): Fixed indentation.
10938         (getNextTabIndexInRun): Corrected return value.
10939         (rotateInsets): Make TOP case the default in switch-statement.
10940         (getActionMap): New method.
10941         (createActionMap): New method.
10942         * javax/swing/plaf/metal/MetalTabbedPaneUI.java:
10943         (createLayoutManager): Rewritten.
10944         (paintLeftTabBorder): Do not paint left line when previous tab
10945         is selected but current tab is the first in its run, do not paint
10946         left line when current tab is selected and is first in its run.
10947         (paintRightTabBorder): Added missing setColor() call, fixed color
10948         usage, do not paint right line if previous tab is selected but
10949         current tab is the first in its run.
10950         (paintBottomTabBorder): Do not paint left line if tab is selected
10951         and is the first tab in the last run.
10952         (paintFocusIndicator): New method.
10953         (getLabelShiftX): New method.
10954         (getLabelShiftY): New method.
10955
10956 2006-07-27  Andreas Tobler  <a.tobler@schweiz.ch>
10957
10958         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
10959         (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoSetMatrix): Remove
10960         g_assert from unused obj.
10961         (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoDrawGlyphVector): Mark
10962         obj as unused and remove g_assert on it.
10963
10964 2006-07-26  Roman Kennke  <kennke@aicas.com>
10965
10966         * javax/swing/RepaintManager.java
10967         (markCompletelyDirty): Add dirty region with Integer.MAX_VALUE
10968         for the component.
10969         (isCompletelyDirty): Consider a component completely dirty
10970         when it has a dirty region with Integer.MAX_VALUE.
10971
10972 2006-07-26  Roman Kennke  <kennke@aicas.com>
10973
10974         * java/awt/KeyboardFocusManager.java
10975         (getGlobalFocusOwner): Explicitly check for thread security.
10976         (getGlobalPermanentFocusOwner): Explicitly check for thread security.
10977         (getGlobalFocusedWindow): Explicitly check for thread security.
10978         (getGlobalActiveWindow): Explicitly check for thread security.
10979         (getGlobalCurrentFocusCycleRoot): Explicitly check for thread security.
10980         (getGlobalObject): Added new argument for specifying if
10981         a security check should be performed or not.
10982         (setGlobalObject): Don't check for thread security when
10983         calling getGlobalObject.
10984
10985 2006-07-26  Andrew John Hughes  <gnu_andrew@member.fsf.org>
10986
10987         * javax/management/MBeanConstructorInfo.java:
10988         Documentation fix.
10989         * javax/management/MBeanInfo.java:
10990         (MBeanInfo(String,String,MBeanAttributeInfo[],
10991         MBeanConstructorInfo[], MBeanOperationInfo[],
10992         MBeanNotificationInfo[])): Implemented.
10993         (equals(Object)): Likewise.
10994         (getAttributes()): Likewise.
10995         (getConstructors()): Likewise.
10996         (getOperations()): Likewise.
10997         (hashCode()): Likewise.
10998         * javax/management/MBeanOperationInfo.java,
10999         * javax/management/NotCompliantMBeanException.java,
11000         * javax/management/StandardMBean.java:
11001         New files.
11002
11003 2006-07-26  Sven de Marothy  <sven@physto.se>
11004
11005         * java/awt/geom/GeneralPath.java: Fix severe typo.
11006         
11007 2006-07-26  Sven de Marothy  <sven@physto.se>
11008
11009         * include/java_lang_VMSystem.h
11010         * vm/reference/java/lang/VMSystem.java
11011         * native/jni/java-lang/java_lang_VMSystem.c
11012         (nanoTime, currentTimeMillis): Switch the former to native code and
11013         the latter to java.
11014         
11015 2006-07-26  Andreas Tobler  <a.tobler@schweiz.ch>
11016
11017         * gnu/java/awt/peer/qt/QtCheckboxPeer.java: Removed unneeded imports.
11018         * gnu/java/awt/peer/qt/QtComponentGraphics.java: Likewise.
11019         * gnu/java/awt/peer/qt/QtComponentPeer.java: Likewise.
11020         * gnu/java/awt/peer/qt/QtContainerPeer.java: Likewise.
11021         * gnu/java/awt/peer/qt/QtDialogPeer.java: Likewise.
11022         * gnu/java/awt/peer/qt/QtEmbeddedWindowPeer.java: Likewise.
11023         * gnu/java/awt/peer/qt/QtFontMetrics.java: Likewise.
11024         * gnu/java/awt/peer/qt/QtFontPeer.java: Likewise.
11025         * gnu/java/awt/peer/qt/QtGraphics.java: Likewise.
11026         * gnu/java/awt/peer/qt/QtGraphicsEnvironment.java: Likewise.
11027         * gnu/java/awt/peer/qt/QtImage.java: Likewise.
11028         * gnu/java/awt/peer/qt/QtImageConsumer.java: Likewise.
11029         * gnu/java/awt/peer/qt/QtImageDirectGraphics.java: Likewise.
11030         * gnu/java/awt/peer/qt/QtImageGraphics.java: Likewise.
11031         * gnu/java/awt/peer/qt/QtMenuBarPeer.java: Likewise.
11032         * gnu/java/awt/peer/qt/QtMenuItemPeer.java: Likewise.
11033         * gnu/java/awt/peer/qt/QtPopupMenuPeer.java: Likewise.
11034         * gnu/java/awt/peer/qt/QtScreenDeviceConfiguration.java: Likewise.
11035         * gnu/java/awt/peer/qt/QtScrollPanePeer.java: Likewise.
11036         * gnu/java/awt/peer/qt/QtToolkit.java: Likewise.
11037         * gnu/java/awt/peer/qt/QtVolatileImage.java: Likewise.
11038
11039 2006-07-26  Roman Kennke  <kennke@aicas.com>
11040
11041         * java/awt/KeyboardFocusManager.java
11042         (getFocusOwner): Don't check permanent owner.
11043         (getGlobalFocusOwner): Don't check permanent owner.
11044
11045 2006-07-26  Carsten Neumann  <cn-develop@gmx.net>
11046
11047         * StrictMath.java (cosh): New method.
11048         (expm1): New method.
11049         (EXPM1_Q1): New field.
11050         (EXPM1_Q2): Likewise.
11051         (EXPM1_Q3): Likewise.
11052         (EXPM1_Q4): Likewise.
11053         (EXPM1_Q6): Likewise.
11054
11055 2006-07-26  Roman Kennke  <kennke@aicas.com>
11056
11057         * javax/swing/plaf/basic/BasicButtonListener.java
11058         (mousePressed): Request focus if appropriate.
11059         * javax/swing/text/DefaultCaret.java
11060         (mousePressed): Also handle the focus of the text component
11061         as specified. Don't consume events.
11062
11063 2006-07-26  Roman Kennke  <kennke@aicas.com>
11064
11065         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
11066         (focusRequest): Removed field.
11067         (postFocusEvent(int,boolean,Component)): Removed.
11068         (postFocusEvent(int,boolean)): Reverted to post event using
11069         the heavyweight component.
11070         (requestFocus): Post focus event using the heavyweight
11071         component.
11072         * gnu/java/awt/peer/gtk/GtkWindowPeer.java
11073         (requestFocus): Post focus event using the heavyweight
11074         component.
11075         * java/awt/AWTEvent.java
11076         (isFocusManagerEvent): New field, indicating if this is
11077         an event that is redispatched by the KeyboardFocusManager.
11078         * java/awt/Component.java
11079         (requestFocusImpl): Register component for
11080         heavyweight->lightweight mapping.
11081         (dispatchEventImpl): Retarget focus events before dispatching
11082         to the KeyboardFocusManager. Use new AWTEvent flag instead
11083         of locking hack. Dispatch all events through the
11084         KeyboardFocusManager. Don't request focus on lightweight
11085         components.
11086         * java/awt/DefaultKeyboardFocusManager.java
11087         (dispatchEvent): Pulled out handling of FOCUS_GAINED and
11088         FOCUS_LOST.
11089         (handleFocusGained): Fixed handling of temporary vs permanent
11090         focus changes. Added some checks.
11091         (handleFocusLost): Fixed handling of temporary vs permanent
11092         focus changes. Added some checks.
11093         * java/awt/EventDispatchThread.java
11094         (run): Don't dispatch to KeyboardFocusManager here. This
11095         is done in Component.dispatchEventImpl().
11096         * java/awt/KeyboardFocusManager.java
11097         (redispatchEvent): Use new AWTEvent flag instead of locking hack.
11098         (focusRequests): New field.
11099         (retargetFocusEvent): New method. Retargets focus events
11100         that come from heavyweights to the correct lightweight component.
11101         (addLightweightFocusRequest): New method. Stores a mapping
11102         for later retargetting of heavyweight focus events.
11103         * java/awt/Window.java
11104         (addFocusListener): Removed bogus method. If at all, this
11105         should be performed in the KeyboardFocusManager.
11106         (Window): Don't install a focus listener on the Window.
11107
11108 2006-07-26  Robert Schuster <robertschuster@fsfe.org>
11109
11110         * gnu/java/awt/peer/gtk/CairoGraphics2D.java:
11111         (drawLine): Apply shift to line coordinates.
11112
11113 2006-07-26  Robert Schuster <robertschuster@fsfe.org>
11114
11115         * java/awt/image/ColorConvertOp.java: Fixed copyright header.
11116         (copyimage): Do not call setRenderingHints() when the respective map
11117         does not exist.
11118         (filter): Removed code to clone the ColorModel instance.
11119         * java/awt/image/ColorModel.java:
11120         (cloneColorModel): Removed.
11121
11122 2006-07-26  Robert Schuster <robertschuster@fsfe.org>
11123
11124         * javax/swing/JTabbedPane.java:
11125         (setSelectedIndex): Removed updating of component visibility status,
11126         added note.
11127         (remove(Component)): Use indexOfComponent() to find whether we have
11128         to use super.remove(int) or removeTabAt().
11129
11130 2006-07-26  Roman Kennke  <kennke@aicas.com>
11131
11132         * javax/swing/JOptionPane.java
11133         (createDialog): Add property change handler for closing
11134         the dialog when the value property changes.
11135         (ValuePropertyHandler): New inner helper class.
11136         * javax/swing/plaf/basic/BasicOptionPaneUI.java
11137         (OptionPaneCloseAction): New class.
11138         (messageForeground): Removed field.
11139         (messageBorder): Removed field.
11140         (buttonBorder): Removed field.
11141         (addIcon): Configure the new label.
11142         (addMessageComponents): Configure newly created labels.
11143         (burstStringInto): Likewise.
11144         (createButtonArea): Install border here.
11145         (createMessageArea): Install border and foreground here.
11146         (createSeparator): Added comment and removed
11147         NotImplementedException.
11148         (installComponents): Don't install the UI defaults for the
11149         message and button area here. This is moved to the
11150         corresponding create* methods. Adjusted comment about
11151         separator.
11152         (installDefaults): Removed initialization of removed fields.
11153         (installKeyboardActions): Implemented.
11154         (getActionMap): New helper method.
11155         (createDefaultActions): New helper method.
11156         (uninstallDefaults): Removed de-initialization of removed fields.
11157         (uninstallKeyboardActions): Implemented.
11158         (configureLabel): New helper method.
11159         * javax/swing/plaf/basic/BasicTableUI.java
11160         (getActionMap): Fixed the UI property names.
11161         * javax/swing/plaf/basic/BasicToolBarUI.java
11162         (getActionMap): Fixed the UI property names.
11163
11164 2006-07-26  David Gilbert  <david.gilbert@object-refinery.com>
11165
11166         * java/awt/image/BandedSampleModel.java
11167         (getDataElements): Check for negative x or y,
11168         (getPixels): Likewise,
11169         (getSamples): Likewise,
11170         (setSamples): Likewise.
11171
11172 2006-07-26  Roman Kennke  <kennke@aicas.com>
11173
11174         * javax/swing/plaf/basic/BasicToolBarUI.java
11175         (ToolBarAction): New inner class for handling keyboard
11176         actions.
11177         (installKeyboardActions): Implemented.
11178         (getActionMap): New helper method.
11179         (createDefaultActions): New helper method.
11180         (installListeners): Install focus listener on toolbar's
11181         children, rather than the toolbar itself.
11182         (navigateFocusedComp): Implemented.
11183         (uninstallKeyboardActions): Implemented.
11184         (uninstallListeners): Uninstall focus listener from
11185         toolbar's children, rather than the toolbar itself.
11186         (ToolBarContListener.componentAdded): Install focus
11187         listener on added child.
11188         (ToolBarContListener.componentRemoved): Uninstall focus
11189         listener from removed child.
11190         (ToolBarFocusListener.ToolBarFocusListener): Nothing to do here.
11191         (ToolBarFocusListener.focusGained): Implemented.
11192         (ToolBarFocusListener.focusLost): Implemented.
11193
11194 2006-07-26  Roman Kennke  <kennke@aicas.com>
11195
11196         * java/awt/DefaultKeyboardFocusManager.java
11197         (dispatchEvent): Notify old focus owner when it has lost
11198         focus.
11199
11200 2006-07-26  Roman Kennke  <kennke@aicas.com>
11201
11202         * javax/swing/plaf/basic/BasicTableUI.java
11203         (FocusHandler.focusGained): Implemented to refresh the
11204         lead cell.
11205         (FocusHandler.focusLost): Implemented to refresh the
11206         lead cell.
11207         (FocusHandler.repaintLeadCell): New helper method.
11208         (MouseInputHandler.mouseEntered): Do nothing here.
11209         (MouseInputHandler.mouseExited): Do nothing here.
11210         (MouseInputHandler.mouseMoved): Do nothing here.
11211         (installKeyboardActions): Rewritten to use a shared InputMap
11212         and ActionMap and correctly install the maps via SwingUtilities
11213         methods.
11214         (getActionMap): New helper method.
11215         (createDefaultActions): New helper method.
11216         (ActionListenerProxy): Removed unneeded class.
11217         (TableAction): Made class static.
11218         (TableAction.actionPerformed): Determine table by fetching
11219         the event source. Pass the table to helper methods.
11220         Use __command__ hack to determine the action command.
11221         (TableAction.getFirstVisibleColumnIndex): Get table as argument.
11222         (TableAction.getLastVisibleColumnIndex): Get table as argument.
11223         (TableAction.getFirstVisibleRowIndex): Get table as argument.
11224         (TableAction.getLastVisibleRowIndex): Get table as argument.
11225         (TableAction.advanceMultipleSelection): Get table as argument.
11226         (uninstallDefaults): Do nothing here.
11227         (uninstallKeyboardActions): Uninstall the keyboard actions.
11228
11229 2006-07-26  Roman Kennke  <kennke@aicas.com>
11230
11231         * javax/swing/JComponent.java
11232         (processKeyBinding): Store the action command as property
11233         in the Action instance that we call. This allows for
11234         improvement on the side of the Action.
11235
11236 2006-07-26  Roman Kennke  <kennke@aicas.com>
11237
11238         * javax/swing/plaf/metal/MetalUtils.java
11239         (fillMetalPattern): Use fillRect() instead of drawLine() to
11240         fill single pixels.
11241
11242 2006-07-26  Roman Kennke  <kennke@aicas.com>
11243
11244         * javax/swing/text/GapContent.java
11245         (getChars): Check for negative length and throw
11246         BadLocationException.
11247
11248 2006-07-26  Roman Kennke  <kennke@aicas.com>
11249
11250         * javax/swing/plaf/basic/BasicMenuBarUI.java
11251         (FocusAction): Made class static.
11252
11253 2006-07-26  Roman Kennke  <kennke@aicas.com>
11254
11255         * javax/swing/plaf/basic/BasicLookAndFeel.java
11256         (initComponentDefaults): Add keyboard bindings for
11257         PopupMenu.
11258
11259 2006-07-26  Roman Kennke  <kennke@aicas.com>
11260
11261         * javax/swing/UIManager.java
11262         (getLookAndFeelDefaults): Return the look and feel defaults.
11263         (setLookAndFeel): Improved exception messsage.
11264
11265 2006-07-26  David Gilbert  <david.gilbert@object-refinery.com>
11266
11267         * javax/swing/text/StringContent.java
11268         (StringContent): Changed initialLength to 10.
11269
11270 2006-07-26  David Gilbert  <david.gilbert@object-refinery.com>
11271
11272         * java/util/Vector.java: Fixed API doc typo.
11273
11274 2006-07-26  David Gilbert  <david.gilbert@object-refinery.com>
11275
11276         * java/awt/image/BandedSampleModel.java
11277         (createCompatibleSampleModel): Fixed typo in loop increment, set
11278         correct scanlineStride, and updated API docs.
11279
11280 2006-07-25  Roman Kennke  <kennke@aicas.com>
11281
11282         * javax/swing/plaf/basic/BasicPopupMenuUI.java
11283         (NavigateAction): New inner class. This is responsible for
11284         keyboard navigation through menus.
11285         (KeyboardHelper): New inner class. This manages the
11286         keyboard mappings and focus when a popup opens or closes.
11287         (keyboardHelper): New static field.
11288         (numPopups): New static field.
11289         (installUI): Create KeyboardHelper for first popup.
11290         Call installKeyboardActions().
11291         (installKeyboardActions): Removed NotImplementedException.
11292         This method is a no-op.
11293         (installKeyboardActionsImpl): New method. Installs keyboard
11294         mapping when a popup is opened.
11295         (getActionMap): New helper method.
11296         (createDefaultActions): New helper method.
11297         (uninstallUI): Uninstall KeyboardHelper when last Popup is
11298         uninstalled. Call uninstallKeyboardActions().
11299         (uninstallKeyboardActions): Removed NotImplementedException.
11300         This method is a no-op.
11301         (uninstallKeyboardActionsImpl): New method. Uninstalls keyboard
11302         mapping when a popup is closed.
11303         
11304 2006-07-25  Roman Kennke  <kennke@aicas.com>
11305
11306         * java/awt/Component.java
11307         (requestFocus()): Reimplemented to use requestFocusImpl().
11308         (requestFocus(boolean)): Reimplemented to use requestFocusImpl().
11309         (requestFocusInWindow()): Reimplemented to use requestFocusImpl().
11310         (requestFocusInWindow(boolean)): Reimplemented to use
11311         requestFocusImpl().
11312         (requestFocusImpl): Reimplemented focus request to use
11313         new peer method. Also added some obvious additional checks
11314         for rejecting focus requests early.
11315         * java/awt/ComponentPeer.java
11316         (requestFocus(Component,boolean,boolean,long)): Documented
11317         this method.
11318         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
11319         (requestFocus): New field.
11320         (gtkWidgetHasFocus): New native method.
11321         (gtkWidgetCanFocus): New native method.
11322         (requestFocus): Replaced with assert false to prevent
11323         usage of obsolete method.
11324         (postFocusEvent(int,boolean,Component)): New overloaded method
11325         for posting the focus event to a specific target.
11326         (postFocusEvent(int,boolean)): Post event to requestFocus
11327         component.
11328         (requestFocus(Component,boolean,boolean,long)): Implemented.
11329         (getWindowFor): New helper method.
11330         (isLightweightDescendant): New helper method.
11331         * gnu/java/awt/peer/gtk/GtkWindowPeer.java
11332         (gtkWindowHasFocus): New native method.
11333         (requestFocus(Component,boolean,boolean,long)): New method.
11334         Overrides GtkComponentPeer method to specially handly the
11335         case when a Window receives a focus request for a lightweight
11336         child.
11337         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
11338         (gtkWidgetHasFocus): New native method.
11339         (gtkWidgetCanFocus): New native method.
11340         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11341         (gtkWindowHasFocus): New native method.
11342         * include/gnu_java_awt_peer_gtk_GtkComponentPeer.h,
11343         * include/gnu_java_awt_peer_gtk_GtkWindowPeer.h:
11344         Regenerated.
11345
11346 2006-07-25  Francis Kung  <fkung@redhat.com>
11347
11348         * java/awt/DefaultKeyboardFocusManager.java
11349         (dispatchEvent): Add check for valid component.
11350
11351 2006-07-25  Andrew John Hughes  <gnu_andrew@member.fsf.org>
11352
11353         * javax/management/MBeanConstructorInfo.java:
11354         New file.
11355         * javax/management/MBeanNotificationInfo.java:
11356         Documentation fix.
11357         * javax/management/MBeanParameterInfo.java:
11358         New file.
11359
11360 2006-07-25  Robert Schuster <robertschuster@fsfe.org>
11361
11362         * java/awt/peer/gtk/CairoGraphics.java:
11363         (drawLine): Added special case for 1 pixel lines.
11364
11365 2006-07-25  Robert Schuster <robertschuster@fsfe.org>
11366
11367         Fixes PR27844.
11368         * java/awt/peer/gtk/CairoGraphics.java:
11369         (drawLine): Removed calls to shifted().
11370
11371 2006-07-25  Robert Schuster <robertschuster@fsfe.org>
11372
11373         * javax/swing/JTabbedPane.java:
11374         (remove(Component)): Rewritten.
11375         (setSelectedIndex): Implemented updating of component visibility state.
11376
11377 2006-07-25  Sven de Marothy  <sven@physto.se>
11378
11379         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c
11380         (init): Default to the actual depth in the worst case.
11381         
11382         * java/awt/Font.java
11383         (createFont(int, File)): New method.
11384         
11385 2006-07-25  Ito Kazumitsu  <kaz@maczuka.gcd.org>
11386
11387         Fixes bug #28413
11388         * gnu/java/util/regex/RETokenEnd.java(check_java_line_terminators):
11389         New field.
11390         (RETokenEnd): New constructer to set check_java_line_terminators.
11391         (matchThis): Checck line terminators if check_java_line_terminators.
11392         * gnu/java/util/regex/RETokenStart.java: Likewise.
11393         * gnu/regexp/RE.java(initialize): Use the new constructors for
11394         RETokenEnd and RETokenStart if REG_MULTILINE is set.
11395         * java/util/regex/Pattern.java(Patteren): Changed so that
11396         gnu/regexp/RE.java may use the new the new constructors.
11397
11398 2006-07-25  Roman Kennke  <kennke@aicas.com>
11399
11400         * java/awt/Container.java
11401         (focusTraversalPolicyProvider): New field.
11402         (isFocusTraversalPolicyProvider): New method.
11403         (setFocusTraversalPolicyProvider): New method.
11404         * java/awt/ContainerOrderFocusTraversalPolicy.java
11405         (getFirstComponent): Use accept() instead of lengthy checks.
11406         Don't fetch getComponents() to avoid copying of array.
11407         Traverse down the hierarchy to find the first focused component.
11408         * java/awt/DefaultKeyboardFocusManager.java
11409         (dispatchEvent): Let the initial component request focus.
11410
11411 2006-07-25  David Gilbert  <david.gilbert@object-refinery.com>
11412
11413         * javax/swing/text/Segment.java
11414         (last): Update current index before returning DONE for zero count.
11415         
11416 2006-07-24  Mark Wielaard  <mark@klomp.org>
11417
11418         * javax/swing/tree/TreePath.java (equals): Swap path equals call.
11419
11420 2006-07-25  Roman Kennke  <kennke@aicas.com>
11421
11422         * javax/swing/plaf/basic/BasicMenuBarUI.java
11423         (FocusAction): New inner class. Used to grab focus.
11424         (installKeyboardActions): Implemented.
11425         (uninstallKeyboardActions): Implemented.
11426         (getActionMap): New helper method.
11427         (createDefaultActions): New helper method.
11428
11429 2006-07-25  Robert Schuster <robertschuster@fsfe.org>
11430
11431         * examples/gnu/classpath/examples/swing/Demo.java:
11432         (mkMenuBar): Install instantiable basic look and feel.
11433         (InstantiableBasicLookAndFeel): New inner class.
11434
11435 2006-07-25  Roman Kennke  <kennke@aicas.com>
11436
11437         * javax/swing/plaf/basic/BasicInternalFrameUI.java
11438         (GlassPaneDispatcher.dragTarget): New field.
11439         (GlassPaneDispatcher.isDragging): New field.
11440         (GlassPaneDispatcher.pressedComponent): Removed field.
11441         (GlassPaneDispatcher.tempComponent): Removed field.
11442         (GlassPaneDispatcher.pressCount): Removed field.
11443         (GlassPaneDispatcher.mousePressed): Call
11444         borderListener.mousePressed() to activate the frame.
11445         (acquireComponentForMouseEvent): Removed method.
11446         (handleEvent): Rewritten.
11447         (redispatch): New method.
11448         (InternalFramePropertyChangeListener.propertyChange):
11449         Make glasspane invisible when frame is selected, and visible
11450         if it gets deselected.
11451         
11452 2006-07-25  Roman Kennke  <kennke@aicas.com>
11453
11454         * java/awt/LightweightDispatcher.java
11455         (handleMouseEvent): Dispatch event to real target if
11456         the dragTarget has become invisible in the meantime.
11457
11458 2006-07-25  David Gilbert  <david.gilbert@object-refinery.com>
11459
11460         * javax/swing/text/TabSet.java
11461         (equals): New method override for 1.5,
11462         (hashCode): Likewise,
11463         (toString): Added spaces to match reference implementation.
11464
11465 2006-07-24  Andrew John Hughes  <gnu_andrew@member.fsf.org>
11466
11467         * javax/management/IntrospectionException.java,
11468         * javax/management/MBeanAttributeInfo.java:
11469         New files.
11470         * javax/management/MBeanNotificationInfo.java:
11471         Documentation cleanups.
11472         
11473 2006-07-24  David Gilbert  <david.gilbert@object-refinery.com>
11474
11475         * javax/swing/text/TabSet.java
11476         (TabSet): Check for null argument,
11477         (getTab): Throw IllegalArgumentException for index out of bounds,
11478         (getTabIndexAfter): Changed test to '<=',
11479         and updated API docs all over,
11480         * javax/swing/text/TabStop.java: Updated API docs.
11481
11482 2006-07-24  David Gilbert  <david.gilbert@object-refinery.com>
11483
11484         * javax/swing/text/TabStop.java
11485         (toString): Don't use 'left ' prefix, and added space between tab
11486         location and '(w/leader)' suffix.
11487
11488 2006-07-24  Francis Kung  <fkung@redhat.com>
11489
11490         * javax/swing/JComboBox.java
11491         (DefaultKeySelectionManager): Implemented.
11492         (createDefaultKeySelectionManager): Implemented.
11493         (getKeySelectionManager): Implemented.
11494         (processKeyEvent): Removed duplicate code.
11495         * javax/swing/JPopupMenu.java
11496         (selectionModel): Changed visibility.
11497         * javax/swing/plaf/basic/BasicComboBoxUI.java
11498         (KeyHandler.keyPressed): Added navigation keys.
11499         (configureEditor): Add key listener.
11500         (installListeners): Install focus listener to combo box.
11501         (isNavigationKey): Added enter, escape, and tab.
11502         (selectPreviousPossibleValue): Added out of bounds check.
11503         (unconfigureEditor): Remove key listener.
11504         * javax/swing/plaf/metal/MetalComboBoxButton.java
11505         (paintComponent): Highlight combo box when in focus.
11506
11507 2006-07-24  Roman Kennke  <kennke@aicas.com>
11508
11509         * javax/swing/SwingUtilities.java
11510         (isLeftMouseButton): Fixed condition.
11511         * java/awt/LightweightDispatcher.java
11512         (handleMouseEvent): Dispatch MOUSE_ENTERED even when mouse
11513         is dragged.
11514
11515 2006-07-24  Roman Kennke  <kennke@aicas.com>
11516
11517         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
11518         (setPaint): Fixed scaleX and scaleY.
11519
11520 2006-07-24  Roman Kennke  <kennke@aicas.com>
11521
11522         * javax/swing/JTable.java
11523         (handleInsert): Repaint the whole table for variable row
11524         height tables and an optimized region otherwise.
11525         (handleDelete): Likewise.
11526         (handleUpdate): Likewise.
11527
11528 2006-07-24  Mario Torre  <neugens@limasoftware.net>
11529
11530         * gnu/java/awt/peer/gtk/GtkToolkit.java (createDragGestureRecognizer):
11531         now explicity registerListeners on GtkMouseDragGestureRecognizer
11532         instance.
11533         * gnu/java/awt/dnd/GtkMouseDragGestureRecognizer.java
11534         (unregisterListeners): new method, overrided from base class
11535         to rise visibility (from protected to public).
11536         (registerListeners): Likewise.
11537         (GtkMouseDragGestureRecognizer): fixed potential threading issue:
11538         removed call to registerListeners from the constructor.
11539
11540 2006-07-23  Andrew John Hughes  <gnu_andrew@member.fsf.org>
11541
11542         * gnu/java/lang/management/MemoryPoolMXBeanImpl.java,
11543         * java/lang/management/MemoryPoolMXBean.java:
11544         (getType()): Changed return type to MemoryType.
11545         * java/lang/management/MemoryType.java:
11546         New file.
11547
11548 2006-07-23  Mark Wielaard  <mark@klomp.org>
11549
11550         * configure.ac: Check for moc and moc-qt4.
11551
11552 2006-07-23  David Gilbert  <david.gilbert@object-refinery.com>
11553
11554         * java/awt/image/Kernel.java: API doc updates.
11555
11556 2006-07-22  Andreas Tobler  <a.tobler@schweiz.ch>
11557
11558         * gnu/java/awt/peer/gtk/CairoSurface.java: Optimize pixel swap code a
11559         bit more.
11560
11561 2006-07-22  Mark Wielaard  <mark@klomp.org>
11562
11563         * java/lang/Iterable.java: Import all of java.util.
11564         * lib/mkcollections.pl.in (javautilclasses): Add Iterable.
11565         * lib/Makefile.am: Only search for .java files in COLLECTIONS_PREFIX.
11566
11567 2006-07-22  Andrew John Hughes  <gnu_andrew@member.fsf.org>
11568
11569         * doc/vmintegration.texinfo:
11570         Document getType(String).
11571         * gnu/java/lang/management/MemoryPoolMXBeanImpl.java,
11572         * java/lang/management/MemoryPoolMXBean.java:
11573         (getType()): Implemented.
11574         * vm/reference/gnu/java/lang/management/VMMemoryPoolMXBeanImpl.java
11575         (getType(String)): Implemented.
11576         
11577 2006-07-22  Andrew John Hughes  <gnu_andrew@member.fsf.org>
11578
11579         * doc/vmintegration.texinfo:
11580         Move end of itemization block.
11581
11582 2006-07-22  Robert Schuster  <robertschuster@fsfe.org>
11583
11584         * javax/swing/plaf/metal/MetalLookAndFeel.java:
11585         (initComponentDefaults): Added new properties, added comments.
11586         
11587 2006-07-22  Andrew John Hughes  <gnu_andrew@member.fsf.org>
11588
11589         * doc/vmintegration.texinfo:
11590         Mention callback methods.
11591         * gnu/java/lang/management/MemoryMXBeanImpl.java:
11592         (fireNotification(String,String,long,long,long,long,long)):
11593         Made package-private.
11594         (fireThresholdExceededNotification(String,long,long,long,
11595         long,long)): Likewise.
11596         (fireCollectionThresholdExceededNotification(String,long,
11597         long,long,long,long)): Likewise.
11598         * java/lang/management/MemoryMXBean.java:
11599         Document notifications.
11600
11601 2006-07-22  Andrew John Hughes  <gnu_andrew@member.fsf.org>
11602
11603         * gnu/java/lang/management/MemoryMXBeanImpl.java:
11604         (fireNotification(String,String,long,long,long,long,long)):
11605         Implemented.
11606         (fireThresholdExceededNotification(String,long,long,long,
11607         long,long)): Likewise.
11608         (fireCollectionThresholdExceededNotification(String,long,
11609         long,long,long,long)): Likewise.
11610         * java/lang/management/MemoryNotificationInfo.java:
11611         Use composite type from MemoryMXBeanImpl.
11612         * javax/management/openmbean/CompositeData.java:
11613         Correct documentation.
11614         * javax/management/openmbean/CompositeDataSupport.java,
11615         * javax/management/openmbean/InvalidKeyException.java:
11616         New files.
11617
11618 2006-07-22  Raif S. Naffah  <raif@swiftdsl.com.au>
11619
11620         * gnu/java/security/util/IntegerUtil.java: New file.
11621
11622 2006-07-22  Raif S. Naffah  <raif@swiftdsl.com.au>
11623
11624         PR Classpath/28100
11625         * gnu/javax/crypto/cipher/TripleDES.java: Updated documentation.
11626         (KEY_SIZE): Likewise.
11627         (adjustParity(int,byte[],int): New method.
11628         (adjustParity(byte[],int): Call above method with 3 as 1st argument.
11629         (isParityAdjusted(int,byte[],int)): New method.
11630         (isParityAdjusted): Call above method with 3 as 1st argument.
11631         (keySizes): Add 8 and 16 as other valid key sizes.
11632         (makeKey): Amended to cater for 1, 2 and 3 independent DES keys.
11633
11634 2006-07-22  Andreas Tobler  <a.tobler@schweiz.ch>
11635
11636         * gnu/java/awt/peer/gtk/CairoSurface.java (CairoSurface): Rearrange
11637         code for the pixel swap routine to be more efficient.
11638
11639 2006-07-21  Carsten Neumann  <cn-develop@gmx.net>
11640
11641         * java/util/CopyOnWriteArrayList.java (indexOf(E, int)): New method.
11642         (lastIndexOf(E, int)): Likewise.
11643         (add(E)): Increase the size of newData array by one.
11644         (add(int, E)): Likewise.
11645
11646 2006-07-20  Lillian Angel  <langel@redhat.com>
11647
11648         * gnu/java/awt/dnd/GtkMouseDragGestureRecognizer.java:
11649         Removed unused fields.
11650         (GtkMouseDragGestureRecognizer): Removed initializations.
11651
11652 2006-07-20  Lillian Angel  <langel@redhat.com>
11653
11654         * gnu/java/awt/dnd/GtkMouseDragGestureRecognizer.java
11655         (GtkMouseDragGestureRecognizer): New constructor.
11656         (GtkMouseDragGestureRecognizer): New constructor.
11657         (GtkMouseDragGestureRecognizer): New constructor.
11658         (mouseClicked): Removed FIXME.
11659         (mousePressed): Implemented.
11660         (mouseReleased): Implemented.
11661         (mouseEntered): Implemented.
11662         (mouseDragged): Implemented to check mouse point and trigger origin.
11663         (mouseMoved): Removed FIXME.
11664         (getDropActionFromEvent): New helper function used to convert mouse event
11665         modifiers to a drop action.
11666         * java/awt/dnd/DragSource.java
11667         (getDragThreshold): Changed to return some arbitrary value for testing
11668         purposes.
11669
11670 2006-07-20  Roman Kennke  <kennke@aicas.com>
11671
11672         * java/awt/LightweightDispatcher.java
11673         (findTarget): Also consider components that have their eventMask
11674         set, for compatibility with stonage AWT. Optimized check
11675         for MouseListener.
11676         (handleMouseEvent): Likewise.
11677
11678 2006-07-20  Roman Kennke  <kennke@aicas.com>
11679
11680         * javax/swing/JTable.java
11681         (tableChanged): Split out handling of the event into multiple
11682         subroutines.
11683         (handleCompleteChange): New method. Clear the selection and
11684         check the lead/anchor indices.
11685         (handleInsert): New method. Check the lead/anchor indices.
11686         Optimized repainting.
11687         (handleDelete): New method. Check the lead/anchor indices.
11688         Optimized repainting.
11689         (handleUpdate): New method. Optimized repainting.
11690         (checkSelection): New helper method.
11691         (setSelectionModel): Update lead/anchor indices.
11692
11693 2006-07-20  Lillian Angel  <langel@redhat.com>
11694
11695         PR 28440
11696         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
11697         (dispose): Reset all fields.
11698
11699 2006-07-20  Roman Kennke  <kennke@aicas.com>
11700
11701         * gnu/java/awt/peer/x/XToolkit.java
11702         (createImage(InputStream)): Only copy image to Pixmap if
11703         it's actually opaque. Transparent images are left as
11704         BufferedImage and composited later onto the screen.
11705         * gnu/java/awt/peer/x/XGraphics.java
11706         (XGraphics): Fetch some parameters for image rendering.
11707         (drawImage): Added special handling of transparent images.
11708         (getRGB): New helper method.
11709         (setRGB): New helper method.
11710
11711 2006-07-20  Roman Kennke  <kennke@aicas.com>
11712
11713         * gnu/javax/imageio/IIOInputStream.java: New class. Wraps
11714         ImageInputStreams as normal InputStreams.
11715         * gnu/javax/imageio/gif/GIFStream.java:
11716         Moved to gnu/javax/imageio/IIOInputStream.java.
11717         * gnu/javax/imageio/gif/GIFImageReader.java
11718         (readImage): Use IIOInputStream.
11719         * gnu/javax/imageio/gif/GIFImageReaderSpi.java
11720         (canDecodeInput): Use IIOInputStream.
11721         * gnu/javax/imageio/png/PNGException.java: Make subclass
11722         of IOException.
11723         * gnu/javax/imageio/png/PNGImageReader.java: New class.
11724         Implements the ImageIO ImageReader for PNG.
11725         * gnu/javax/imageio/png/PNGImageReaderSpi.java: New class.
11726         Implements the ImageIO ImageReaderSpi for PNG.
11727         * javax/imageio/spi/IIORegistry.java:
11728         (IIORegistry): Add PNGImageReaderSpi.
11729
11730 2006-07-20  David Gilbert  <david.gilbert@object-refinery.com>
11731
11732         * java/awt/image/ComponentSampleModel.java
11733         (getPixel): Added argument check,
11734         (getSample): Modified exception message.
11735
11736 2006-07-20  David Gilbert  <david.gilbert@object-refinery.com>
11737
11738         PR Classpath/28422
11739         * java/awt/image/ConvolveOp.java
11740         (filter(Raster, WritableRaster)): Reimplemented,
11741         (fillEdge): New private method.
11742
11743 2006-07-19  Keith Seitz  <keiths@redhat.com>
11744
11745         * include/jvmti.h (JVMTI_VERSION_1_0): Define.
11746         (JVMTI_VERSION): Define.
11747
11748 2006-07-19  Roman Kennke  <kennke@aicas.com>
11749
11750         * resource/gnu/regexp/MessagesBundle.properties,
11751         * resource/gnu/regexp/MessagesBundle_fr.properties,
11752         * resource/gnu/regexp/MessagesBundle_it.properties:
11753         Moved to resource/gnu/java/util/regex.
11754         * resource/gnu/java/util/regex/MessagesBundle.properties,
11755         * resource/gnu/java/util/regex/MessagesBundle_fr.properties,
11756         * resource/gnu/java/util/regex/MessagesBundle_it.properties:
11757         New files.
11758         * gnu/java/util/regex/RE.java
11759         Use new resource bundle location.
11760
11761 2006-07-19  Roman Kennke  <kennke@aicas.com>
11762
11763         * javax/swing/JComponent.java
11764         (paintChildren): Refactored. The paintChildrenOptimized method
11765         has been moved back in here. Added locking of the tree and
11766         only check for completely obscured child components
11767         when not optimized drawing enabled. Use Graphics.create() to
11768         protect from irreversible changes.
11769         (isCompletelyObscured): New helper method.
11770         (paintComponent): Also use Graphics.create() for Graphics2D,
11771         to protect from irreverible changes.
11772         (clipAndTranslateGraphics): Refactored to use more efficient
11773         iterative (vs recursive) approach.
11774         * javax/swing/RepaintManager.java
11775         (getOffscreenBuffer): Create image from root component.
11776         
11777 2006-07-19  Roman Kennke  <kennke@aicas.com>
11778
11779         * gnu/java/awt/peer/x/XGraphics.java
11780         (translate): Don't set the clip on the X server.
11781         (clipRect): Use setXClip() to set the clip on the X server.
11782         (hitClip): More efficient and correct implementation.
11783         (setClip): Use setXClip() to set the clip on the X server.
11784         (setClip(Shape)): Use setXClip() to set the clip on the X server.
11785         (copyArea): Translate and clip the source rectangle correctly.
11786         (dispose): Only flush when object is not yet disposed.
11787         (clone): Use setXClip() to set the clip on the X server.
11788
11789 2006-07-19  Sven de Marothy  <sven@physto.se>
11790
11791         * gnu/javax/imageio/png/PNGChunk.java,
11792         * gnu/javax/imageio/png/PNGData.java,
11793         * gnu/javax/imageio/png/PNGDecoder.java,
11794         * gnu/javax/imageio/png/PNGEncoder.java,
11795         * gnu/javax/imageio/png/PNGException.java,
11796         * gnu/javax/imageio/png/PNGFile.java,
11797         * gnu/javax/imageio/png/PNGFilter.java,
11798         * gnu/javax/imageio/png/PNGGamma.java,
11799         * gnu/javax/imageio/png/PNGHeader.java,
11800         * gnu/javax/imageio/png/PNGICCProfile.java,
11801         * gnu/javax/imageio/png/PNGPalette.java,
11802         * gnu/javax/imageio/png/PNGPhys.java,
11803         * gnu/javax/imageio/png/PNGTime.java:
11804         New files.
11805
11806 2006-07-19  Sven de Marothy  <sven@physto.se>
11807
11808         * java/net/Inet6Address.java:
11809         (getScopedId, getScopedInterface): New methods.
11810         
11811 2006-07-19  Lillian Angel  <langel@redhat.com>
11812
11813         * examples/gnu/classpath/examples/awt/Demo.java
11814         (DragDropWindow): Fixed typo in Label text.
11815         * gnu/java/awt/dnd/peer/gtk/GtkDragSourceContextPeer.java
11816         (GtkDragSourceContextPeer): Removed unneeded initialization for field.
11817         (startDrag): Initialized context field.
11818         (transferablesFlavorsChanged): Removed FIXME. Nothing is done in this
11819         function.
11820         (dragEnter): New function.
11821         (dragExit): Likewise.
11822         (dragDropEnd): Likewise.
11823         (dragMouseMoved): Likewise.
11824         (dragOver): Likewise.
11825         (dragActionChanged): Likewise.
11826
11827 2006-07-19  Raif S. Naffah  <raif@swiftdsl.com.au>
11828
11829         PR Classpath/26302
11830         * resource/java/security/classpath.security: Updated copyright year.
11831         (auth.login.defaultCallbackHandler): New property; set to our default
11832         callback handler. This is needed by the LoginContext when no callback
11833         handler was specified.
11834         * javax/security/auth/login/LoginContext.java: Updated copyright year.
11835         (LoginContext(4)): Assign passed parameters to local fields before invoking
11836         lookup method.
11837
11838 2006-07-19  Roman Kennke  <kennke@aicas.com>
11839
11840         * gnu/java/awt/peer/x/XGraphics.java
11841         (drawImage(Image,int,int,int,int,int,int,int,int,ImageObserver)):
11842         Fixed ordering of parameters.
11843
11844 2006-07-18  Andrew John Hughes  <gnu_andrew@member.fsf.org>
11845
11846         * gnu/java/lang/management/MemoryMXBeanImpl.java:
11847         (MemoryMXBeanImpl()): Implemented.
11848         (ListenerData): New private class.
11849         (addNotificationListener(NotificationListener,
11850         NotificationFilter, Object)): Implemented.
11851         (getNotificationInfo()): Likewise.
11852         (removeNotificationListener(NotificationListener)):
11853         Likewise.
11854         (removeNotificationListener(NotificationListener,
11855         NotificationFilter, Object)): Likewise.
11856         
11857 2006-07-18  Roman Kennke  <kennke@aicas.com>
11858
11859         * gnu/java/awt/peer/x/XFontPeer.java
11860         (encodeFont): Be more flexible with font sizes.
11861         (validSize): New helper method.
11862         * gnu/java/awt/peer/x/XGraphics.java
11863         (drawImage(Image,int,int,int,int,int,int,int,int,ImageObserver)):
11864         Implemented.
11865         (drawImage(Image,int,int,int,int,int,int,int,int,Color,ImageObserver)):
11866         Implemented.
11867         * gnu/java/awt/peer/x/XImage.java
11868         (properties): New field.
11869         (getProperty): Implemented.
11870         * resource/gnu/java/awt/peer/x/fonts.properties:
11871         Added copyright header. Fixed font size field.
11872
11873 2006-07-18  David Gilbert  <david.gilbert@object-refinery.com>
11874
11875         * java/awt/image/BandedSampleModel.java
11876         (createDataBuffer): New method override,
11877         * java/awt/image/ByteLookupTable.java
11878         (ByteLookupTable(int, byte[][])): Create new array to hold references,
11879         (ByteLookuptable(int, byte[])): Check for null array,
11880         * java/awt/image/ComponentSampleModel.java
11881         (createDataBuffer): Removed unnecessary braces,
11882         (getSample): Check (x, y) is within bounds,
11883         * java/awt/image/ShortLookupTable.java
11884         (ShortLookupTable(int, short[][])): Create new array to hold references,
11885         (ShortLookupTable(int, short[])): Check for null array,
11886         (getTable): Added API docs,
11887         (lookupPixel): Source reformatting.
11888
11889 2006-07-18  Tania Bento  <tbento@redhat.com>
11890         
11891         * java/awt/GridLayout.java
11892         (setHgap): Illegal Argument Exception should not be thrown if 
11893         hgap < 0.
11894         (setVgap): Illegal Argument Exception should not be thrown if 
11895         vgap < 0.
11896         (toString): Opening square braket ([) should appear before hgap
11897         value, not the name of the class.
11898
11899 2006-07-18  Roman Kennke  <kennke@aicas.com>
11900
11901         * lib/copy-vmresources.sh.in: Reverted.
11902         * gnu/java/awt/peer/x/fonts.properties: Moved to resource/
11903         * resource/gnu/java/awt/peer/x/fonts.properties: New file.
11904
11905 2006-07-18  Roman Kennke  <kennke@aicas.com>
11906
11907         * lib/copy-vmresources.sh.in: Include properties from X peers.
11908
11909 2006-07-18  Raif S. Naffah  <raif@swiftdsl.com.au>
11910
11911         PR Classpath/27205
11912         * tools/gnu/classpath/tools/jarsigner/SFHelper.java (writeDSA): Check
11913         certificate validity.
11914         (getIssuerName): New method.
11915         (getSubjectName): Likewise.
11916         (getNotAfterDate): Likewise.
11917         (getNotBeforeDate): Likewise.
11918         * resource/gnu/classpath/tools/jarsigner/messages.properties: Added
11919         messages for newly added messages in SFHelper.
11920
11921 2006-07-18  Roman Kennke  <kennke@aicas.com>
11922
11923         * gnu/java/awt/peer/x/XDialogPeer.java: New class.
11924         * gnu/java/awt/peer/x/XEventPump.java
11925         (handleEvent): Cast to XWindowPeer rather than XFramePeer.
11926         * gnu/java/awt/peer/x/XFramePeer.java
11927         Made a subclass of XWindowPeer, rather than SwingFramePeer.
11928         * gnu/java/awt/peer/x/XGraphics.java
11929         Made subclass of Graphics rather than Graphics2D. Removed
11930         all Graphics2D specific method stubs.
11931         (setColor): Map colors using the X color map that is
11932         stored in XToolkit.
11933         * gnu/java/awt/peer/x/XToolkit.java
11934         (colorMap): New field.
11935         (getLocalGraphicsEnvironment): Return new XGraphicsEnvironment
11936         instance.
11937         (createDialog): Implemented.
11938         (createImage(ImageProducer)): Implemented.
11939         (createImage(InputStream)): Use createImage(ImageProducer)
11940         to convert the BufferedImage to an XImage.
11941         * gnu/java/awt/peer/x/XWindowPeer.java
11942         (XWindowPeer): Removed debug output.
11943
11944 2006-07-18  David Gilbert  <david.gilbert@object-refinery.com>
11945
11946         * java/awt/image/BufferedImageOp.java: API docs added,
11947         * java/awt/image/RasterOp.java: Likewise.
11948
11949 2006-07-18  David Gilbert  <david.gilbert@object-refinery.com>
11950
11951         * java/awt/Graphics2D.java: API docs updated.
11952
11953 2006-07-18  David Gilbert  <david.gilbert@object-refinery.com>
11954
11955         * java/awt/image/WritableRaster.java: Added API docs and reformatted 
11956         source code.
11957
11958 2006-07-18  Sven de Marothy  <sven@physto.se>
11959
11960         * java/net/Inet6Address.java:
11961         Add 1.5 serialized fields.
11962         (getByAddress): New methods.
11963         (readObject, writeObject): New methods. 
11964         (equals): Reimplement.
11965
11966 2006-07-18  David Gilbert  <david.gilbert@object-refinery.com>
11967
11968         * java/awt/image/Raster.java: Added API docs and reformatted source
11969         code.
11970
11971 2006-07-18  Andreas Tobler  <a.tobler@schweiz.ch>
11972
11973         * gnu/java/awt/peer/gtk/BufferedImageGraphics.java: Remove unneeded
11974         imports.
11975         * gnu/java/awt/peer/gtk/CairoSurface.java: Likewise.
11976         * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java: Likewise.
11977         * gnu/java/awt/peer/gtk/ComponentGraphicsCopy.java: Likewise.
11978         * gnu/java/awt/peer/gtk/GdkFontPeer.java: Likewise.
11979         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java: Likewise.
11980         * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Likewise.
11981         * gnu/java/awt/peer/gtk/GtkClipboardNotifier.java: Likewise.
11982         * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Likewise.
11983         * gnu/java/awt/peer/gtk/GtkContainerPeer.java: Likewise.
11984         * gnu/java/awt/peer/gtk/GtkDialogPeer.java: Likewise.
11985         * gnu/java/awt/peer/gtk/GtkFramePeer.java: Likewise.
11986         * gnu/java/awt/peer/gtk/GtkImage.java: Likewise.
11987         * gnu/java/awt/peer/gtk/GtkImageConsumer.java: Likewise.
11988         * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java: Likewise.
11989         * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java: Likewise.
11990         * gnu/java/awt/peer/gtk/GtkMouseInfoPeer.java: Likewise.
11991         * gnu/java/awt/peer/gtk/GtkPanelPeer.java: Likewise.
11992         * gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java: Likewise.
11993         * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java: Likewise.
11994         * gnu/java/awt/peer/gtk/GtkWindowPeer.java: Likewise.
11995         * gnu/java/awt/peer/gtk/VolatileImageGraphics.java: Likewise.
11996
11997 2006-07-17  Andreas Tobler  <a.tobler@schweiz.ch>
11998
11999         * javax/swing/text/html/HTMLEditorKit.java: Rearrange import statements
12000         to make it compile again under jikes. Note added.
12001
12002 2006-07-17  Lillian Angel  <langel@redhat.com>
12003
12004         * examples/gnu/classpath/examples/awt/Demo.java
12005         (Demo): Added new window for DnD demo.
12006         (DragDropWindow): New class.
12007         * gnu/java/awt/dnd/peer/gtk/GtkDragSourceContextPeer.java:
12008         Added new fields and declarations for native functions.
12009         (GtkDragSourceContextPeer): Implemented.
12010         (getComponentPeer): New function.
12011         (startDrag): Partially implemented.
12012         (getCursor): Implemented.
12013         (setCursor): Implemented.
12014         * include/GtkDragSourceContextPeer.h: New file.
12015         * include/Makefile.am: Added new header file.
12016         * java/awt/Component.java
12017         (addNotify): Added call to the dropTarget's addNotify.
12018         * java/awt/dnd/DragSource.java
12019         (startDrag): Fixed code to use shared instances of peer and
12020         context.
12021         (getDragThreshold): Added stub.
12022         * java/awt/dnd/DropTarget.java
12023         (DropTarget): Implemented fully.
12024         (addNotify): Added code to get the peer of the parent that is
12025         not lightweight.
12026         * java/awt/dnd/DropTargetDragEvent.java
12027         (getTransferable): Added stub.
12028         * native/jni/gtk-peer/GtkDragSourceContextPeer.c: New file.
12029         * native/jni/gtk-peer/Makefile.am: Added new c file.
12030         * gnu/java/awt/dnd/peer/gtk/GtkDropTargetContextPeer.java:
12031         Changed to extend GtkGenericPeer.
12032         (GtkDropTargetContextPeer): New constructor.
12033         * gnu/java/awt/dnd/peer/gtk/GtkDropTargetPeer.java:
12034         Changed to extend GtkGenericPeer.
12035         (GtkDropTargetContextPeer): New constructor.
12036
12037 2006-07-17  David Gilbert  <david.gilbert@object-refinery.com>
12038
12039         * java/awt/image/SinglePixelPackedSampleModel.java
12040         (createSubsetSampleModel): Added argument check and API docs.
12041
12042 2006-07-17  Roman Kennke  <kennke@aicas.com>
12043
12044         * gnu/java/awt/peer/x/XGraphics.java
12045         (copyArea): Implemented.
12046
12047 2006-07-17  David Gilbert  <david.gilbert@object-refinery.com>
12048
12049         * java/awt/image/SinglePixelPackedSampleModel.java
12050         (getSampleSize): Return copy of array,
12051         (getOffset): Added API docs,
12052         (getScanlineStride): Likewise,
12053         (hashCode): Implemented.
12054
12055 2006-07-17  David Gilbert  <david.gilbert@object-refinery.com>
12056
12057         * java/awt/image/MultiPixelPackedSampleModel.java
12058         (getOffset): Updated API docs and source reformatting,
12059         (getBitOffset): Source reformatting only,
12060         (getDataElements): Likewise,
12061         (getPixel): Likewise,
12062         (getPixels): Removed method override,
12063         (setDataElements): Reimplemented.
12064
12065 2006-07-17  Gary Benson  <gbenson@redhat.com>
12066
12067         * resource/META-INF/services/.cvsignore: New file.
12068         * lib/.cvsignore: Updated.      
12069
12070 2006-07-17  Roman Kennke  <kennke@aicas.com>
12071
12072         * javax/swing/plaf/basic/BasicButtonListener.java
12073         (propertyChange): Only do the text layout caching as long
12074         as the noGraphics2D property isn't set.
12075         * javax/swing/plaf/basic/BasicMenuItemUI.java
12076         (PropertyChangeHandler.propertyChange): Only do the text layout
12077         caching as long as the noGraphics2D property isn't set.
12078
12079 2006-07-17  Roman Kennke  <kennke@aicas.com>
12080
12081         * gnu/java/awt/peer/x/XGraphicsEnvironment.java
12082         (XGraphicsEnvironment): Make constructor public so that it
12083         can be called via Class.forName().newInstance().
12084         * gnu/java/awt/peer/x/XImage.java
12085         (XImage): Fetch GraphicsEnvironment via
12086         GraphicsEnvironment.getLocalGraphicsEnvironment() rather
12087         than the XToolkit method, to avoid double instantiation
12088         of the XGraphicsEnvironment.
12089         * gnu/java/awt/peer/x/XToolkit.java
12090         (env): Removed field.
12091         (getLocalGraphicsEnvironment): Removed impl. This method
12092         should not be called since we set the graphicsenv property
12093         in the constructor.
12094
12095 2006-07-16  Andrew John Hughes  <gnu_andrew@member.fsf.org>
12096
12097         * java/util/UUID.java:
12098         (compareTo(Object)): Call compareTo(UUID).
12099         (compareTo(UUID)): Implemented.
12100         
12101 2006-07-16  Tom Tromey  <tromey@redhat.com>
12102
12103         * java/lang/StrictMath.java (cbrt): Added '@since'.
12104
12105 2006-07-16  Carsten Neumann  <cn-develop@gmx.net>
12106
12107         * java/lang/StrictMath.java (cbrt): New method.
12108         (getLowDWord): New helper method.
12109         (getHighDWord): Likewise.
12110         (buildDouble): Likewise.
12111         (CBRT_B1): New field.
12112         (CBRT_B2): Likewise.
12113         (CBRT_C): Likewise.
12114         (CBRT_D): Likewise.
12115         (CBRT_E): Likewise.
12116         (CBRT_F): Likewise.
12117         (CBRT_G): Likewise.
12118
12119 2006-07-16  Andrew John Hughes  <gnu_andrew@member.fsf.org>
12120
12121         * javax/management/MBeanInfo.java:
12122         (getNotifications()): Implemented.
12123         * javax/management/NotificationBroadcaster.java:
12124         (removeNotificationListener(NotificationListener)):
12125         Renamed from removeListener.
12126         * javax/management/NotificationEmitter.java:
12127         (removeNotificationListener(NotificationListener,
12128         NotificationFilter, Object)): Likewise.
12129         * javax/management/NotificationFilter.java:
12130         Implement Serializable.
12131         * javax/management/NotificationListener.java:
12132         Implement java.util.EventListener.
12133         * javax/rmi/ssl/SslRMIClientSocketFactory.java:
12134         Implement Serializable.
12135
12136 2006-07-16  Andrew John Hughes  <gnu_andrew@member.fsf.org>
12137
12138         * java/lang/management/MemoryNotificationInfo.java:
12139         New file.
12140         
12141 2006-07-16  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
12142
12143         PR 28392
12144         * gnu/javax/swing/text/html/parser/htmlValidator.java 
12145         (tagIsValidForContext): If it is not possible to insert any tag, but 
12146         is possible to insert a P, insert a P.
12147         * gnu/javax/swing/text/html/parser/HTML_401Swing.java
12148         (newInstance): Removed print statement. (getBodyElements):
12149         Removed ABBR, ACRONYM, BDO, Q, S, SUB, SUP and ADDRESS from the
12150         valid body level tags (will be enclosed into P's).
12151
12152 2006-07-17  Raif S. Naffah  <raif@swiftdsl.com.au>
12153
12154         * tools/gnu/classpath/tools/keytool/Command.java (setKeystoreURLParam):
12155         Condition the creation of .keystore (a default keystore) based on the
12156         createIfNotFound argument as well.
12157
12158 2006-07-16  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
12159
12160         PR 28392
12161         * examples/gnu/classpath/examples/swing/HtmlDemo.java:
12162         Removed heading p tag from the parsing example.
12163         * gnu/javax/swing/text/html/parser/HTML_401F.java:
12164         (createHtmlContentModel): Explained.
12165         (defineElements): Call getBodyElements to get the body
12166         elements. (getBodyElements): New method. (model):
12167         Made protected from private.
12168         * gnu/javax/swing/text/html/parser/htmlValidator.java
12169         (openTag): Mind that current content model may be null.
12170         (tagIsValidForContext): If the tag is PCDATA, and it is not
12171         valid for context, but the paragraph (P) is valid for context,
12172         suggest to insert the P tag here.
12173         * javax/swing/text/html/HTMLDocument.java (HTMLReader.addContent,
12174         HTMLReader.blockOpen, HTMLReader.blockClose): Do not handle
12175         implied P tags here.
12176         * javax/swing/text/html/HTMLEditorKit.java (getParser):
12177         Get the custom parser, using HTML_401Swing.java DTD.
12178         * javax/swing/text/html/parser/ParserDelegator.java:
12179         Removed the obsolete note that HTMLEditorKit does not exist.
12180         * gnu/javax/swing/text/html/parser/GnuParserDelegator.java,
12181         gnu/javax/swing/text/html/parser/HTML_401Swing.java: New files.
12182
12183 2006-07-16  Andrew John Hughes  <gnu_andrew@member.fsf.org>
12184
12185         * javax/management/ListenerNotFoundException.java:
12186         New file.
12187         * javax/management/MBeanFeatureInfo.java:
12188         (hashCode()): Use summation instead of multiplication
12189         for consistency with other classes.
12190         * javax/management/MBeanNotificationInfo.java,
12191         * javax/management/Notification.java,
12192         * javax/management/NotificationBroadcaster.java,
12193         * javax/management/NotificationEmitter.java,
12194         * javax/management/NotificationFilter.java,
12195         * javax/management/NotificationListener.java:
12196         New files.
12197         * javax/management/OperationsException.java:
12198         (serialVersionUID): Added.
12199         
12200 2006-07-16  Thomas Minor  <1nocentrabidlamb@sexMagnet.com>
12201             Mark Wielaard  <mark@klomp.org>
12202
12203         * java/io/PrintStream.java: Added four constructors, for File and
12204         String describing a filename with or without explicit encoding.
12205
12206 2006-07-16  Sven de Marothy  <sven@physto.se>
12207
12208         * javax/rmi/ssl/SslRMIServerSocketFactory.java,
12209         * javax/rmi/ssl/SslRMIClientSocketFactory.java:
12210         New files.
12211
12212 2006-07-16  Raif S. Naffah  <raif@swiftdsl.com.au>
12213
12214         PR Classpath/28391
12215         * tools/gnu/classpath/tools/keytool/Command.java (setKeyStoreParams(5)): 
12216         New method.
12217         (setKeyStoreParams(4)): Call the above method with false as its 1st arg.
12218         (setProviderClassNameParam): Made private.
12219         (setKeystoreTypeParam): Likewise.
12220         (setKeyPasswordParam): Likewise
12221         (setKeystorePasswordParam): Likewise.
12222         (setKeystoreURLParam): Now accepts 2 more arguments; the first a boolean to
12223         create or not the keystore if it's not there, and the second is the store's
12224         password to process before loading the keystore. Amended the code
12225         accordingly.
12226         * tools/gnu/classpath/tools/keytool/GenKeyCmd.java (setup): Call super's
12227         setKeyStoreParams(5) with true as its first argument.
12228         * tools/gnu/classpath/tools/keytool/IdentityDBCmd.java (setup): Likewise.
12229         * tools/gnu/classpath/tools/keytool/ImportCmd.java (setup): Likewise.
12230
12231 2006-07-16  Sven de Marothy  <sven@physto.se>
12232
12233         * java/util/UUID.java: New file.
12234
12235 2006-07-16  Raif S. Naffah  <raif@swiftdsl.com.au>
12236
12237         * gnu/javax/crypto/jce/cipher/KeyWrappingAlgorithmAdapter.java: New file.
12238         * gnu/javax/crypto/jce/cipher/AESKeyWrapSpi.java: New file.
12239         * gnu/javax/crypto/jce/cipher/AES128KeyWrapSpi.java: Likewise.
12240         * gnu/javax/crypto/jce/cipher/AES192KeyWrapSpi.java: Likewise.
12241         * gnu/javax/crypto/jce/cipher/AES256KeyWrapSpi.java: Likewise.
12242         * gnu/javax/crypto/jce/cipher/TripleDESKeyWrapSpi.java: Likewise.
12243         * gnu/javax/crypto/jce/GnuCrypto.java (.run): Added mappings for newly
12244         added Key Wrapping Algorithm SPIs.
12245
12246 2006-07-16  Raif S. Naffah  <raif@swiftdsl.com.au>
12247
12248         * javax/crypto/Cipher.java (getOutputSize): Allow SPIs initialised for key
12249         wrapping/unwrapping to invoke their engineGetOutputSize.
12250
12251 2006-07-16  Raif S. Naffah  <raif@swiftdsl.com.au>
12252
12253         * gnu/javax/crypto/kwa/TripleDESKeyWrap.java (rnd): New field.
12254         (engineInit): If a SecureRandom was specified then use it.
12255         (nextRandomBytes): New method.
12256         (engineWrap): Use above method.
12257         * gnu/javax/crypto/kwa/BaseKeyWrappingAlgorithm.java (prng): New field.
12258         (getDefaultPRNG): New method.
12259         * gnu/javax/crypto/kwa/AESKeyWrap.java (engineInit): Reset underlying AES.
12260         * gnu/javax/crypto/kwa/IKeyWrappingAlgorithm.java (SOURCE_OF_RANDOMNESS):
12261         New constant.
12262
12263 2006-07-16  Raif S. Naffah  <raif@swiftdsl.com.au>
12264
12265         * gnu/javax/crypto/jce/params/BlockCipherParameters.java
12266         (engineGetParameterSpec): Should be able to return an IvParameterSpec.
12267
12268 2006-07-16  Raif S. Naffah  <raif@swiftdsl.com.au>
12269
12270         * gnu/javax/crypto/cipher/DES.java (adjustParity): Index limit now takes
12271         offset into consideration.
12272
12273 2006-07-16  Mario Torre  <neugens@limasoftware.net>
12274
12275         * native/jni/gconf-peer/GConfNativePeer.c (init_gconf_client):
12276         Fixed comment. This functions now requires to be called
12277         with gdk lock held, the comment states that.
12278         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_init_1id_1cache):
12279         Introduces gdk locks around critical regions of code.
12280         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1gconf_1client_1all_1keys):
12281         Likewise.
12282         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1gconf_1client_1all_1nodes):
12283         Likewise.
12284         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1suggest_1sync):
12285         Likewise.
12286         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1unset):
12287         Likewise.
12288         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1get_1string):
12289         Likewise.
12290         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1set_1string):
12291         Likewise.
12292         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1remove_1dir):
12293         Likewise.
12294         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1add_1dir):
12295         Likewise.
12296         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1dir_1exists):
12297         Likewise.
12298         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_finalize_1class):
12299         * native/jni/gconf-peer/Makefile.am: The GConf peer now depends on GTK.
12300
12301 2006-07-15  Sven de Marothy  <sven@physto.se>
12302
12303         * javax/swing/JFileChooser.java
12304         Change default selection mode to FILES_ONLY.
12305         * javax/swing/plaf/basic/BasicDirectoryModel.java
12306         Document, fix selection mode filtering.
12307         (renameFile): Implement
12308         * javax/swing/plaf/basic/BasicFileChooserUI.java
12309         (selectedDir): New field to handle selected directories,
12310         disallow selecting of directories in FILES_ONLY mode.
12311         * javax/swing/plaf/metal/MetalFileChooserUI.java:
12312         (EditingActionListener.actionPerformed):
12313         Stop editing on all actions (e.g. return-key press)
12314
12315 2006-07-15  Mark Wielaard  <mark@klomp.org>
12316
12317         * doc/vmintegration.texinfo (gnu.java.lang.management): Change xref
12318         to code.
12319         (JNI Implementation): Mark JVMTI Implementation as next.
12320         (JVMTI Implementation): Mark JNI Implementation as prev.
12321
12322 2006-07-15  Mark Wielaard  <mark@klomp.org>
12323
12324         * include/Makefile.am: Remove
12325         include/gnu_java_awt_peer_gtk_GdkTextLayout.h.
12326         * include/gnu_java_awt_peer_gtk_GdkTextLayout.h: Removed.
12327         * native/jni/gtk-peer/Makefile.am: Remove
12328         gnu_java_awt_peer_gtk_GdkTextLayout.c
12329         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c:
12330         Removed.
12331
12332         * include/gnu_java_awt_peer_gtk_GtkWindowPeer.h: Regenerated.
12333
12334 2006-07-15  Mark Wielaard  <mark@klomp.org>
12335
12336         * autogen.sh: Recognize autoconf 2.60.
12337
12338 2006-07-15  Keith Seitz  <keiths@redhat.com>
12339
12340         * NEWS: Update for JVMTI and jvmti.h.
12341         * doc/vmintegration.texinfo: Likewise.
12342         * include/jvmti.h: New file.
12343
12344 2006-07-15  Mark Wielaard  <mark@klomp.org>
12345
12346         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c:
12347         Removed C++ style comment.
12348
12349 2006-07-15  Sven de Marothy  <sven@physto.se>
12350
12351         * gnu/java/awt/peer/gtk/GtkMouseInfoPeer.java,
12352         * java/awt/MouseInfo.java,
12353         * java/awt/PointerInfo.java,
12354         * java/awt/peer/MouseInfoPeer.java:
12355         New files.
12356
12357         * java/awt/Image.java
12358         (accelerationPriority): New field.
12359         (setAccelerationPriority, getAccelerationPriority): New methods..
12360
12361         * include/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.h,
12362         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.c,
12363         * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java:
12364         (getMouseCoordinates): New method.
12365
12366         * gnu/java/awt/peer/gtk/GtkFramePeer.java
12367         (updateAlwaysOnTop): Remove stub overload.
12368
12369         * gnu/java/awt/ClasspathToolkit.java,
12370         * gnu/java/awt/peer/gtk/GtkToolkit.java,
12371         * include/gnu_java_awt_peer_gtk_GtkToolkit.h,
12372         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c:
12373         (getMouseInfoPeer): New method.
12374         (getMouseNumberOfButtons): New method.
12375         
12376         * gnu/java/awt/peer/gtk/GtkWindowPeer.java
12377         * include/gnu_java_awt_peer_gtk_GtkWindowPeer.h
12378         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
12379         (gtkWindowSetAlwaysOnTop): New method.
12380         (updateAlwaysOnTop): Implement.
12381
12382         * java/awt/Toolkit.java,
12383         (getMouseInfoPeer): New method.
12384
12385         * java/awt/Window.java
12386         (alwaysOnTop): New field.
12387         (isAlwaysOnTop, setAlwaysOnTop): New methods.
12388
12389         * java/awt/peer/WindowPeer.java: Doc fix.
12390
12391 2006-07-14  Sven de Marothy  <sven@physto.se>
12392
12393         * java/awt/font/TextLayout.java:
12394         (hitTestChar): Stub method.
12395         * java/awt/font/TextMeasurer.java:
12396         (getLayout): Throw exception on invalid argument.
12397         
12398 2006-07-14  Sven de Marothy  <sven@physto.se>
12399
12400         * java/awt/image/DataBuffer.java
12401         (DataBuffer): Call constructors in the correct order,
12402         
12403 2006-07-14  Mark Wielaard  <mark@klomp.org>
12404
12405         Revert to previous implementation.
12406         * java/awt/GridBagLayout.java (AdjustForGravity): Only adjust for
12407         constraints insets.
12408
12409 2006-07-14  Roman Kennke  <kennke@aicas.com>
12410
12411         * gnu/java/awt/peer/x/XToolkit.java
12412         (XToolkit): Install properties to SystemProperties
12413         rather than System, to avoid SecurityManager.
12414         (getImage(String)): Return error image when string is invalid.
12415         (createImage(URL)): Moved image loading to helper method.
12416         (createImage(ImageProducer)): Implemented.
12417         (createImage(byte[],int,int)): Implemented.
12418         (createImage(InputStream)): New helper method.
12419
12420 2006-07-14  Tania Bento  <tbento@redhat.com>
12421
12422         * java/awt/FlowLayout.java
12423         (setHgap): No Excpetion should be thrown if hgap has
12424         a negative value.
12425         (setVgap): No Exception should be thrown if vgap has
12426         a negative value.
12427
12428 2006-07-14  David Gilbert  <david.gilbert@object-refinery.com>
12429
12430         * java/awt/image/MultiPixelPackedSampleModel.java: 
12431         Added API docs all over.
12432
12433 2006-07-14  Matt Wringe  <mwringe@redhat.com>
12434
12435         * gnu/javax/crypto/jce/cipher/CipherAdapter.java 
12436         (engineInit): Throw InvalidAlgorithmParameterException
12437         for invalid IVParameterSpec IV length.
12438
12439 2006-07-14  David Gilbert  <david.gilbert@object-refinery.com>
12440
12441         * java/awt/image/MultiPixelPackedSampleModel.java
12442         (createDataBuffer): Include dataBitOffset in calculating the size for
12443         the data buffer.
12444
12445 2006-07-14  David Gilbert  <david.gilbert@object-refinery.com>
12446
12447         * java/awt/image/MultiPixelPackedSampleModel.java
12448         (getSampleSize()): Return a copy of the array,
12449         (getTransferType()): New method override.
12450
12451 2006-07-14  Roman Kennke  <kennke@aicas.com>
12452
12453         * java/awt/CardLayout.java
12454         (show): Validate parent to make sure that the layout is
12455         valid.
12456
12457 2006-07-14  Roman Kennke  <kennke@aicas.com>
12458
12459         * java/awt/Component.java
12460         (enable): Added tree locking.
12461         (disable): Added tree locking.
12462         (show): Added tree locking.
12463         (hide): Added tree locking.
12464         (getLocationOnScreen): Added tree locking.
12465         (reshape): Added tree locking.
12466         (addHierarchyListener): Added tree locking.
12467         (removeHierarchyListener): Added tree locking.
12468         (addHierarchyBoundsListener): Added tree locking.
12469         (removeHierarchyBoundsListener): Added tree locking.
12470         (addNotify): Added tree locking.
12471         (removeNotify): Added tree locking.
12472         * java/awt/Container.java
12473         (invalidateTree): Added tree locking.
12474         (getAlignmentX): Added tree locking.
12475         (getAlignmentY): Added tree locking.
12476         (addNotify): Added tree locking.
12477         (setComponentZOrder): Added tree locking.
12478         (getComponentZOrder): Added tree locking.
12479
12480 2006-07-14  David Gilbert  <david.gilbert@object-refinery.com>
12481
12482         * java/awt/image/MultiPixelPackedSampleModel.java
12483         (createSubsetSampleModel): Restored argument check, but let null
12484         through.
12485
12486 2006-07-14  David Gilbert  <david.gilbert@object-refinery.com>
12487
12488         * java/awt/image/MultiPixelPackedSampleModel.java
12489         (createSubsetSampleModel): Removed argument check.
12490
12491 2006-07-14  Roman Kennke  <kennke@aicas.com>
12492
12493         * java/awt/Component.java
12494         (numHierarchyListeners): New field.
12495         (numHierarchyBoundsListeners): New field.
12496         (show): Fire hierarchy events here. Only fire component event
12497         if there is actually a listener for it.
12498         (hide): Fire hierarchy events here. Only fire component event
12499         if there is actually a listener for it.
12500         (reshape): Fire hierarchy events here. Only fire component event
12501         if there is actually a listener for it.
12502         (addHierarchyListeners): Update listener counters.
12503         (removeHierarchyListeners): Update listener counters.
12504         (addHierarchyBoundsListeners): Update listener counters.
12505         (removeHierarchyBoundsListeners): Update listener counters.
12506         (fireHierarchyEvent): New helper method for firing hierarchy
12507         events.
12508         * java/awt/Container.java
12509         (addImpl): Update listener counters. Fire hierarchy event.
12510         (remove): Update listener counters. Fire hierarchy event.
12511         (fireHierarchyEvent): New helper method for firing hierarchy
12512         events.
12513         (updateHierarchyListenerCount): New helper method for
12514         updating the listener counters.
12515
12516 2006-07-14  David Gilbert  <david.gilbert@object-refinery.com>
12517
12518         * java/awt/image/MultiPixelPackedSampleModel.java
12519         (equals): New method override,
12520         (hashCode): Likewise.
12521
12522 2006-07-14  David Gilbert  <david.gilbert@object-refinery.com>
12523
12524         * java/awt/image/MultiPixelPackedSampleModel.java
12525         (MultiPixelPackedSampleModel(int, int, int, int, int, int)): 
12526         Corrected scanlineStride calculation.
12527
12528 2006-07-14  Raif S. Naffah  <raif@swiftdsl.com.au>
12529
12530         * gnu/java/security/Registry.java (KWA_PREFIX): New constant.
12531         (AES_KWA): Likewise.
12532         (AES128_KWA): Likewise.
12533         (AES192_KWA): Likewise.
12534         (AES256_KWA): Likewise.
12535         (RIJNDAEL_KWA): Likewise.
12536         (TRIPLEDES_KWA): Likewise.
12537         (DESEDE_KWA): Likewise.
12538         * gnu/javax/crypto/kwa/AESKeyWrap.java: New file
12539         * gnu/javax/crypto/kwa/BaseKeyWrappingAlgorithm.java: Likewise.
12540         * gnu/javax/crypto/kwa/IKeyWrappingAlgorithm.java: Likewise.
12541         * gnu/javax/crypto/kwa/KeyUnwrappingException.java: Likewise.
12542         * gnu/javax/crypto/kwa/KeyWrappingAlgorithmFactory.java: Likewise.
12543         * gnu/javax/crypto/kwa/TripleDESKeyWrap.java: Likewise.
12544
12545 2006-07-14  Raif S. Naffah  <raif@swiftdsl.com.au>
12546
12547         * gnu/javax/crypto/pad/IPad.java: Updated class documentation.
12548         (PADDING_BLOCK_SIZE): New constant.
12549         (init(Map attributes)): New method.
12550         * gnu/javax/crypto/pad/BasePad.java (init): New method.
12551
12552 2006-07-14  Mario Torre  <neugens@limasoftware.net>
12553
12554         * gnu/java/security/OID.java (OID): Private Constructor removed as
12555         it is not needed anymore.
12556         (clone): Fixed. Now uses super.clone instead of the private
12557         constructor as per specification of clone method.
12558         (serialVersionUID): added new field to allow serialization.
12559
12560 2006-07-13  Sven de Marothy  <sven@physto.se>
12561
12562         * gnu/javax/imageio/gif/GIFImageReader.java
12563         (read): Remove old debugging trace.
12564
12565 2006-07-13  Andreas Tobler  <a.tobler@schweiz.ch>
12566
12567         PR awt/28369:
12568         * gnu/java/awt/peer/gtk/CairoSurface.java (ColorModel): Swap red and
12569         blue mask.
12570
12571 2006-07-13  Roman Kennke  <kennke@aicas.com>
12572
12573         * java/awt/Component.java
12574         (DEFAULT_MAX_SIZE): New static constant.
12575         (preferredSize): Return copy of the actual value computed
12576         by new helper method.
12577         (preferredSizeImpl): New helper method. Adds locking and
12578         correct handling of cached value.
12579         (minimumSize): Return copy of the actual value computed
12580         by new helper method.
12581         (minimumSizeImpl): New helper method. Adds locking and
12582         correct handling of cached value.
12583         (getMaximumSize):  Return copy of the actual value computed
12584         by new helper method.
12585         (maximumSizeImpl): New helper method. Adds locking and
12586         correct handling of cached value.
12587         (invalidate): Correct handling of cached layout information.
12588         Added locking.
12589         * java/awt/Container.java
12590         (preferredSize): Minimized locking. Corrected handling of cached
12591         values. Return copy of real value.
12592         (minimumSize): Minimized locking. Corrected handling of cached
12593         values. Return copy of real value.
12594         (getMaximumSize): Minimized locking. Corrected handling of cached
12595         values. Return copy of real value.
12596         
12597 2006-07-13  Tania Bento  <tbento@redhat.com>
12598
12599         * gnu/java/awt/peer/ClasspathFontPeer.java
12600         (isLogicalFontName): Return true if name == default.
12601         (logicalFontNameToFaceName): Check if name == default,
12602         and if so, return "Dialog.plain".
12603         (setStandardAttributes(String, Map)): If name == null, 
12604         it should be set to "Default", not "SansSerif".
12605         * java/awt/Canvas.java
12606         (generateName): Fixed documentation.
12607         * java/awt/CheckboxMenuItem.java
12608         Added static variable "next_chkmenuitem_number".
12609         (generateName): Added and implemented method.
12610         (getUniqueLong): Likewise.
12611         * java/awt/Choice.java
12612         Added static variable "next_choice_number".
12613         (generateName): Added and implemented method.
12614         (getUniqueLong): Likewise.
12615         * java/awt/Cursor.java
12616         (Cursor(int)): Set name depending on the type passed.
12617         * java/awt/List.java
12618         Added static variable "next_list_number".
12619         (generateName): Added and implemented method.
12620         (getUniqueLong): Likewise.
12621         * java/awt/Menu.java
12622         Added static variable "next_menu_number".
12623         (generateName): Added and implemented method.
12624         (getUniqueLong): Likewise.
12625         * java/awt/MenuBar.java
12626         Added static variable "next_menubar_number".
12627         (generateName): Added and implemented method.   
12628         (getUniqueLong): Likewise.
12629         * java/awt/MenuComponent.java
12630         (getName): Before returning name, check if name == null
12631         and name is not explicity set.  If this is the case,    
12632         name will be generated.
12633         (generateName): Added and implemented method.   
12634         * java/awt/MenuItem.java
12635         Added static variable "next_menuitem_number".
12636         (generateName): Added and implemented method.   
12637         (getUniqueLong): Likewise.
12638         * java/awt/PopupMenu.java
12639         Added static variable "next_popup_number".
12640         (generateName): Added and implemented method.
12641         (getUniqueLong): Likewise.
12642         * java/awt/ScrollPane.java
12643         Added static variable "next_scrollpane_number".
12644         (generateName): Added and implemented method.
12645         (getUniqueLong): Likewise.
12646         * java/awt/TextField.java
12647         Added static variable "next_textfield_number".
12648         (generateName): Added and implemented method.
12649         (getUniqueLong): Likewise.
12650
12651
12652 2006-07-13  David Gilbert  <david.gilbert@object-refinery.com>
12653
12654         * java/awt/image/SinglePixelPackedSampleModel.java
12655         (SinglePixelPackageSampleModel(int, int, int, int, int[])): Convert
12656         mask correctly as an unsigned integer,
12657         (equals): New method override.
12658
12659 2006-07-13  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
12660
12661         * javax/swing/text/html/HTMLDocument.java (insertAfterEnd,
12662         insertAfterStart, insertBeforeEnd):  Removed stub markings.
12663
12664 2006-07-13  David Gilbert  <david.gilbert@object-refinery.com>
12665
12666         * java/awt/image/BandedSampleModel.java: API doc updates and source 
12667         code reformatting,
12668         * java/awt/image/SinglePixelPackageSampleModel.java: Likewise.
12669
12670 2006-07-13  David Gilbert  <david.gilbert@object-refinery.com>
12671
12672         * java/awt/image/BandedSampleModel.java: API doc updates.
12673
12674 2006-07-13  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
12675
12676         * javax/swing/text/html/HTMLDocument.java (HTMLReader.parseStack): 
12677         Made package private. (HTMLReader.charAttr, HTMLReader.charAttrStack,
12678         HTMLReader.insertTag, HTMLReader.insertTagEncountered, 
12679         HTMLReader.pushDepth, HTMLReader.popDepth): Documented. 
12680         (HRMLReader.blockClose): Mind that parser stack may be empty. 
12681         (HTMLReader.handeComment, HTMLReader.handleStartTag,
12682         HTMLReader.handleEndTag, HTMLReader.handleSimpleTag): Rewritten. 
12683         (HTMLReader.shouldInsert): New method. (getElement(String)): 
12684         Pass HTML.Atrribute.ID. (insertAfterEnd, insertBeforeEnd, 
12685         insertAfterStart, insertBeforeStart, setInnerHTML, setOuterHTML):
12686         Implemented. (getInsertingReader): New method. 
12687         * examples/gnu/classpath/examples/swing/HtmlDemo.java:
12688         Added buttons to demonstrate the work of the insert actions.
12689
12690 2006-07-13  David Gilbert  <david.gilbert@object-refinery.com>
12691
12692         * java/awt/image/SampleModel.java: API doc updates and additions,
12693         * java/awt/image/SinglePixelPackedSampleModel.java: Likewise.
12694
12695 2006-07-12  Sven de Marothy  <sven@physto.se>
12696
12697         * javax/swing/JFileChooser.java:
12698         (createDialog): Close operation should cause a cancel.
12699
12700 2006-07-12  Francis Kung  <fkung@redhat.com>
12701
12702         * gnu/java/awt/peer/gtk/CairoGraphics2D.java: Organized imports.
12703         (cairoArc): New native method.
12704         (cairoRestore): New native method.
12705         (cairoSave): New native method.
12706         (cairoScale): New native method.
12707         (createPath): New method to centralize code from draw and fill.
12708         (draw): Modified to use createPath method.
12709         (fill): Modified to use createPath method.
12710         * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Added 
12711         function declarations.
12712         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
12713         (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoScale): New 
12714         method.
12715         (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoSave): New 
12716         method.
12717         (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoArc): New 
12718         method.
12719         
12720 2006-07-12  Tom Tromey  <tromey@redhat.com>
12721
12722         PR libgcj/27271:
12723         * java/util/zip/ZipFile.java (getInputStream): Call addDummyByte
12724         on PartialInputStream.
12725         (PartialInputStream.dummyByteCount): New field.
12726         (PartialInputStream.fillBuffer): Handle dummy byte.
12727         (PartialInputStream.read): Likewise.
12728         (PartialInputStream.addDummyByte): New method.
12729
12730 2006-07-12  Mario Torre  <neugens@limasoftware.net>
12731
12732         * native/jni/gconf-peer/GConfNativePeer.c
12733         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1get_1string):
12734         Fixed C++ style comment.
12735
12736 2006-07-12  David Gilbert  <david.gilbert@object-refinery.com>
12737
12738         * java/util/Arrays.java
12739         (asList): Updated API docs.
12740
12741 2006-07-11  Robert Schuster  <robertschuster@fsfe.org>
12742
12743         Fixes PR28350.
12744         * native/jni/gconf-peer/GConfNativePeer.c:
12745         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1set_1string):
12746         Changed if-expression.
12747         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1get_1string):
12748         Added check for _value not being NULL.
12749         
12750 2006-07-11  Roman Kennke  <kennke@aicas.com>
12751
12752         * native/jni/java-net/gnu_java_net_local_LocalSocketImpl.c
12753         (read): Use fd when local sockets are disabled to make the
12754         compiler quite.
12755         (write): Likewise.
12756
12757 2006-07-11  Roman Kennke  <kennke@aicas.com>
12758
12759         * java/awt/image/MultiPixelPackedSampleModel.java
12760         (MultiPixelPackedSampleModel): Substract -1 so that the integer
12761         division gets rounded up.
12762
12763 2006-07-11  Andrew John Hughes  <gnu_andrew@member.fsf.org>
12764
12765         * java/lang/management/ManageFactory.java:
12766         (getMemoryManagerMXBeans()): Use addAll, not add.
12767         
12768 2006-07-11  Vivek Lakshmanan  <vivekl@redhat.com>
12769
12770         PR 27649:
12771         * gnu/classpath/ByteArray.java: Removed (moved).
12772         * gnu/java/security/util/ByteArray.java: New File.
12773         * gnu/javax/crypto/RSACipherImpl.java: Reference 
12774         gnu.java.security.util.ByteArray instead of gnu.classpath.ByteArray.
12775
12776 2006-07-11  Roman Kennke  <kennke@aicas.com>
12777
12778         * native/jni/java-net/gnu_java_net_local_LocalSocketImpl.c
12779         (available): Pass fd as argument and avoid JNI class/field
12780         lookup.
12781         (read): Likewise.
12782         (write): Likewise.
12783         * include/gnu_java_net_local_LocalSocketImpl.h:
12784         Regenerated.
12785         * gnu/java/net/local/LocalSocketImpl.h
12786         (available): Pass fd as argument and avoid JNI class/field
12787         lookup.
12788         (read): Likewise.
12789         (write): Likewise.      
12790
12791 2006-07-11  Sven de Marothy  <sven@physto.se>
12792
12793         * gnu/javax/sound/sampled/AU/AUReader.java:
12794         Correct file extension from .as to .au.
12795
12796 2006-07-11  Sven de Marothy  <sven@physto.se>
12797
12798         * gnu/javax/sound/sampled/AU/AUReader.java:
12799         New file.
12800         * resource/META-INF/services/javax.sound.sampled.spi.AudioFileReader: 
12801         Added new provider.
12802
12803 2006-07-11  David Gilbert  <david.gilbert@object-refinery.com>
12804
12805         * javax/swing/JTable.java
12806         (setRowSelectionAllowed): Fire required PropertyChangeEvent,
12807         (setColumnSelectionAllowed): Likewise.
12808
12809 2006-07-10  Vivek Lakshmanan  <vivekl@redhat.com>
12810
12811         PR 27649:
12812         * gnu/classpath/debug/Simple1LineFormatter.java: Use
12813         AccessController.doPrivileged instead of SystemProperties.getProperty.
12814         * gnu/classpath/debug/SystemLogger.java: Likewise.
12815         * gnu/java/security/PolicyFile.java: Likewise and cut unnecessary
12816         repeated getProperty calls for "file.seperator".
12817         (refresh): Since already in privileged block, call System.getProperty
12818         instead of SystemProperties.getProperty.
12819         * gnu/java/security/key/dss/DSSKey.java
12820         (toString): Use AccessController.doPrivileged instead of
12821         SystemProperties.getProperty.
12822         * gnu/java/security/key/dss/DSSPrivateKey.java
12823         (toString): Likewise.
12824         * gnu/java/security/key/dss/DSSPublicKey.java
12825         (toString): Likewise.
12826         * gnu/java/security/key/rsa/GnuRSAKey.java
12827         (toString): Likewise.
12828         * gnu/java/security/key/rsa/GnuRSAPrivateKey.java
12829         (toString): Likewise.
12830         * gnu/java/security/key/rsa/GnuRSAPublicKey.java
12831         (toString): Likewise.
12832         * gnu/javax/crypto/sasl/plain/PasswordFile.java: Likewise.
12833         * gnu/javax/crypto/key/dh/GnuDHKey.java 
12834         (toString): Likewise.
12835         * gnu/javax/crypto/key/dh/GnuDHPrivateKey.java 
12836         (toString): Likewise.
12837         * gnu/javax/crypto/key/dh/GnuDHPublicKey.java 
12838         (toString): Likewise.
12839
12840 2006-07-11  David Gilbert  <david.gilbert@object-refinery.com>
12841
12842         * javax/swing/AbstractButton.java
12843         (disabledIcon): Fixed name (was 'disabeldIcon'),
12844         (getDisabledIcon): Updated for corrected field name,
12845         (setDisabledIcon): Fire a PropertyChangeEvent.
12846
12847 2006-07-11  David Gilbert  <david.gilbert@object-refinery.com>
12848
12849         * javax/swing/DefaultBoundedRangeModel.java
12850         (readObject): New private method,
12851         (writeObject): Likewise.
12852
12853 2006-07-11  David Gilbert  <david.gilbert@object-refinery.com>
12854
12855         * javax/swing/ButtonGroup.java
12856         (add): Ignore null argument,
12857         (remove): Ignore null argument.  If removing selected button, clear the
12858         sel field,
12859         (findButton): Changed case for method name, and documented,
12860         (setSelected): Updated for modification to findButton() method name,
12861         (isSelected): Updated API docs.
12862
12863 2006-07-11  David Gilbert  <david.gilbert@object-refinery.com>
12864
12865         * java/awt/image/BufferedImage.java
12866         (BufferedImage(int, int, int)): Use correct color space for 
12867         TYPE_BYTE_GRAY and TYPE_USHORT_GRAY, and throw an 
12868         IllegalArgumentException for an unrecognised type.
12869
12870 2006-07-10  Andrew John Hughes  <gnu_andrew@member.fsf.org>
12871
12872         * java/lang/management/ManagementFactory.java:
12873         (getMemoryPoolMXBeans): Genericized fully.
12874         (getMemoryManagerMXBeans): Likewise.
12875         (getGarbageCollectorMXBeans): Likewise.
12876         
12877 2006-07-10  Tom Tromey  <tromey@redhat.com>
12878
12879         * java/lang/management/ManagementFactory.java (getMemoryPoolMXBeans):
12880         Genericized.
12881         (getMemoryManagerMXBeans): Likewise.
12882         (getGarbageCollectorMXBeans): Likewise.
12883
12884 2006-07-10  Mario Torre  <neugens@limasoftware.net>
12885
12886         * java/awt/BasicStroke.java: Removed unused import.
12887         * gnu/java/awt/java2d/CubicSegment.java (clone): Fixed. 
12888         * gnu/java/awt/java2d/LineSegment.java (clone): Fixed. 
12889         * gnu/java/awt/java2d/QuadSegment.java (clone): Fixed.
12890
12891 2006-07-10  Matt Wringe  <mwringe@redhat.com>
12892
12893         PR classpath/28212:
12894         * javax/crypto/spec/SecretKeySpec.java 
12895         (equals): Check object type. 
12896
12897 2006-07-10  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
12898
12899         * examples/gnu/classpath/examples/CORBA/SimpleCommunication/
12900         communication/StructureToPassHelper.java,
12901         examples/gnu/classpath/examples/CORBA/SimpleCommunication/
12902         communication/StructureToReturnHelper.java,
12903         examples/gnu/classpath/examples/CORBA/SimpleCommunication/
12904         communication/TreeNodeHelper.java,
12905         examples/gnu/classpath/examples/CORBA/SimpleCommunication/
12906         communication/WeThrowThisExceptionHelper.java,
12907         gnu/CORBA/ForwardRequestHelper.java,
12908         org/omg/CORBA/CompletionStatusHelper.java,
12909         org/omg/CORBA/CurrentHelper.java,
12910         org/omg/CORBA/DefinitionKindHelper.java,
12911         org/omg/CORBA/IDLTypeHelper.java,
12912         org/omg/CORBA/NameValuePairHelper.java,
12913         org/omg/CORBA/ObjectHelper.java,
12914         org/omg/CORBA/ParameterModeHelper.java,
12915         org/omg/CORBA/PolicyErrorCodeHelper.java,
12916         org/omg/CORBA/PolicyErrorHelper.java,
12917         org/omg/CORBA/PolicyHelper.java,
12918         org/omg/CORBA/PolicyListHelper.java,
12919         org/omg/CORBA/PolicyTypeHelper.java,
12920         org/omg/CORBA/ServiceDetailHelper.java,
12921         org/omg/CORBA/ServiceInformationHelper.java,
12922         org/omg/CORBA/SetOverrideTypeHelper.java,
12923         org/omg/CORBA/StringValueHelper.java,
12924         org/omg/CORBA/UnionMemberHelper.java,
12925         org/omg/CORBA/UnknownUserExceptionHelper.java,
12926         org/omg/CORBA/VisibilityHelper.java,
12927         org/omg/CORBA/WStringValueHelper.java,
12928         org/omg/CORBA/WrongTransactionHelper.java,
12929         org/omg/CosNaming/BindingHelper.java,
12930         org/omg/CosNaming/BindingIteratorHelper.java,
12931         org/omg/CosNaming/BindingListHelper.java,
12932         org/omg/CosNaming/BindingTypeHelper.java,
12933         org/omg/CosNaming/NameComponentHelper.java,
12934         org/omg/CosNaming/NameHelper.java,
12935         org/omg/CosNaming/NamingContextExtHelper.java,
12936         org/omg/CosNaming/NamingContextExtPackage/AddressHelper.java,
12937         org/omg/CosNaming/NamingContextExtPackage/InvalidAddressHelper.java,
12938         org/omg/CosNaming/NamingContextExtPackage/StringNameHelper.java,
12939         org/omg/CosNaming/NamingContextExtPackage/URLStringHelper.java,
12940         org/omg/CosNaming/NamingContextHelper.java,
12941         org/omg/CosNaming/NamingContextPackage/AlreadyBoundHelper.java,
12942         org/omg/CosNaming/NamingContextPackage/CannotProceedHelper.java,
12943         org/omg/CosNaming/NamingContextPackage/InvalidNameHelper.java,
12944         org/omg/CosNaming/NamingContextPackage/NotEmptyHelper.java,
12945         org/omg/CosNaming/NamingContextPackage/NotFoundHelper.java,
12946         org/omg/CosNaming/NamingContextPackage/NotFoundReasonHelper.java,
12947         org/omg/DynamicAny/AnySeqHelper.java,
12948         org/omg/DynamicAny/DynAnyFactoryHelper.java,
12949         org/omg/DynamicAny/DynAnyFactoryPackage/InconsistentTypeCodeHelper.java,
12950         org/omg/DynamicAny/DynAnyHelper.java,
12951         org/omg/DynamicAny/DynAnyPackage/InvalidValueHelper.java,
12952         org/omg/DynamicAny/DynAnyPackage/TypeMismatchHelper.java,
12953         org/omg/DynamicAny/DynAnySeqHelper.java,
12954         org/omg/DynamicAny/DynArrayHelper.java,
12955         org/omg/DynamicAny/DynEnumHelper.java,
12956         org/omg/DynamicAny/DynFixedHelper.java,
12957         org/omg/DynamicAny/DynSequenceHelper.java,
12958         org/omg/DynamicAny/DynStructHelper.java,
12959         org/omg/DynamicAny/DynUnionHelper.java,
12960         org/omg/DynamicAny/DynValueHelper.java,
12961         org/omg/DynamicAny/NameDynAnyPairHelper.java,
12962         org/omg/DynamicAny/NameDynAnyPairSeqHelper.java,
12963         org/omg/DynamicAny/NameValuePairHelper.java,
12964         org/omg/DynamicAny/NameValuePairSeqHelper.java,
12965         org/omg/IOP/CodecFactoryHelper.java,
12966         org/omg/IOP/CodecFactoryPackage/UnknownEncodingHelper.java,
12967         org/omg/IOP/CodecPackage/FormatMismatchHelper.java,
12968         org/omg/IOP/CodecPackage/InvalidTypeForEncodingHelper.java,
12969         org/omg/IOP/CodecPackage/TypeMismatchHelper.java,
12970         org/omg/IOP/ComponentIdHelper.java,
12971         org/omg/IOP/IORHelper.java,
12972         org/omg/IOP/MultipleComponentProfileHelper.java,
12973         org/omg/IOP/ProfileIdHelper.java,
12974         org/omg/IOP/ServiceContextHelper.java,
12975         org/omg/IOP/ServiceContextListHelper.java,
12976         org/omg/IOP/ServiceIdHelper.java,
12977         org/omg/IOP/TaggedComponentHelper.java,
12978         org/omg/IOP/TaggedProfileHelper.java,
12979         org/omg/PortableInterceptor/AdapterManagerIdHelper.java,
12980         org/omg/PortableInterceptor/AdapterNameHelper.java,
12981         org/omg/PortableInterceptor/AdapterStateHelper.java,
12982         org/omg/PortableInterceptor/CurrentHelper.java,
12983         org/omg/PortableInterceptor/ForwardRequestHelper.java,
12984         org/omg/PortableInterceptor/IORInterceptor_3_0Helper.java,
12985         org/omg/PortableInterceptor/InvalidSlotHelper.java,
12986         org/omg/PortableInterceptor/ORBInitInfoPackage/DuplicateNameHelper.java,
12987         org/omg/PortableInterceptor/ORBInitInfoPackage/InvalidNameHelper.java,
12988         org/omg/PortableInterceptor/ObjectReferenceFactoryHelper.java,
12989         org/omg/PortableInterceptor/ObjectReferenceTemplateHelper.java,
12990         org/omg/PortableInterceptor/ObjectReferenceTemplateSeqHelper.java,
12991         org/omg/PortableServer/CurrentHelper.java,
12992         org/omg/PortableServer/CurrentPackage/NoContextHelper.java,
12993         org/omg/PortableServer/ForwardRequestHelper.java,
12994         org/omg/PortableServer/POAHelper.java,
12995         org/omg/PortableServer/POAManagerPackage/AdapterInactiveHelper.java,
12996         org/omg/PortableServer/POAPackage/AdapterAlreadyExistsHelper.java,
12997         org/omg/PortableServer/POAPackage/AdapterNonExistentHelper.java,
12998         org/omg/PortableServer/POAPackage/InvalidPolicyHelper.java,
12999         org/omg/PortableServer/POAPackage/NoServantHelper.java,
13000         org/omg/PortableServer/POAPackage/ObjectAlreadyActiveHelper.java,
13001         org/omg/PortableServer/POAPackage/ObjectNotActiveHelper.java,
13002         org/omg/PortableServer/POAPackage/ServantAlreadyActiveHelper.java,
13003         org/omg/PortableServer/POAPackage/ServantNotActiveHelper.java,
13004         org/omg/PortableServer/POAPackage/WrongAdapterHelper.java,
13005         org/omg/PortableServer/POAPackage/WrongPolicyHelper.java,
13006         org/omg/PortableServer/ServantActivatorHelper.java,
13007         org/omg/PortableServer/ServantLocatorHelper.java: Remove the 
13008         typecode caching and always use OrbRestricted.Singleton.
13009
13010 2006-07-09  Tom Tromey  <tromey@redhat.com>
13011
13012         * java/util/logging/LoggingMXBean.java (getLoggerNames): Genericized.
13013
13014 2006-07-09  Mark Wielaard  <mark@klomp.org>
13015
13016         * gnu/java/awt/peer/gtk/ComponentGraphics.java (hasXRenderExtension):
13017         New static final boolean field.
13018         (getComponentGraphics): Use hasXRenderExtension.
13019         (setClip): Override method for locking.
13020
13021 2006-07-09  David Gilbert  <david.gilbert@object-refinery.com>
13022
13023         * javax/swing/AbstractButton.java
13024         (setHorizontalTextPosition): Added check for illegal argument,
13025         (setVerticalTextPosition): Likewise.
13026
13027 2006-07-09  David Gilbert  <david.gilbert@object-refinery.com>
13028
13029         * javax/swing/Timer.java
13030         (setDelay): Throw IllegalArgumentException for negative delay,
13031         (setInitialDelay): Likewise,
13032         * javax/swing/ToolTipManager.java
13033         (setInitialDelay): Document IllegalArgumentException,
13034         (setDismissDelay): Likewise,
13035         (setReshowDelay): Likewise.
13036
13037 2006-07-09  Andrew John Hughes  <gnu_andrew@member.fsf.org>
13038
13039         * java/lang/management/MemoryUsage.java:
13040         (from(javax.management.openmbean.CompositeData)):
13041         Implemented.
13042         * java/lang/management/ThreadInfo.java:
13043         Changed to use open types throughout for the state.
13044         (ThreadInfo(long,String,String,long,long,String,
13045         long,String,long,long,boolean,StackTraceElement[])):
13046         New constructor.
13047         (checkAttribute(javax.management.openmbean.CompositeType,
13048         String, javax.management.openmbean.OpenType)): New method.
13049         (from(javax.management.openmbean.CompositeData)):
13050         Implemented.
13051         (getLockName()): Fixed to use new variable.
13052         (getLockOwnerId()): Likewise.
13053         (getLockOwnerName()): Likewise.
13054         (getThreadId()): Likewise.
13055         (getThreadName()): Likewise.
13056         (getThreadState()): Likewise.
13057         (toString()): Refactored to use new variables.
13058         * javax/management/openmbean/ArrayType.java:
13059         New file.
13060         * javax/management/openmbean/CompositeType.java:
13061         Variables should be transient, not volatile.
13062         * javax/management/openmbean/OpenDataException.java:
13063         (serialVersionUID): Added.
13064         * javax/management/openmbean/SimpleType.java:
13065         New file.
13066         * javax/management/openmbean/TabularType.java
13067         Variables should be transient, not volatile.
13068
13069 2006-07-09  Tom Tromey  <tromey@redhat.com>
13070
13071         * tools/.cvsignore: Updated for new tools.
13072
13073 2006-07-09  Andrew John Hughes  <gnu_andrew@member.fsf.org>
13074
13075         * javax/management/openmbean/CompositeData.java,
13076         * javax/management/openmbean/CompositeType.java,
13077         * javax/management/openmbean/OpenDataException.java,
13078         * javax/management/openmbean/OpenType.java,
13079         * javax/management/openmbean/TabularData.java,
13080         * javax/management/openmbean/TabularType.java,
13081         * javax/management/openmbean/package.html:
13082         New files.
13083
13084 2006-07-09  Mark Wielaard  <mark@klomp.org>
13085
13086         * gnu/javax/print/ipp/IppRequest.java: Remove double assignment.
13087         * gnu/java/rmi/server/UnicastServerRef.java: Likewise.
13088         * gnu/java/rmi/server/ActivatableServerRef.java: Likewise.
13089
13090 2006-07-08  Anthony Green  <green@redhat.com>
13091
13092         * gnu/javax/sound/sampled/WAV/WAVReader.java,
13093         resource/META-INF/services/javax.sound.sampled.spi.AudioFileReader: 
13094         New files.
13095
13096 2006-07-09  Mario Torre  <neugens@limasoftware.net>
13097
13098         * native/jni/gconf-peer/GConfNativePeer.c:
13099         Fixed indentation to be more compliant to the GNU coding
13100         guidelines.
13101         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1unset):
13102         Added explicit test for errors in the GConf backend.
13103         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1get_1string):
13104         Added explicit test for errors in the GConf backend.
13105         Fixed Segmentation Fault when non valid key names are given as input.
13106         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1set_1string):
13107         likewise.
13108         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1dir_1exists):
13109         Added explicit test for errors in the GConf backend.
13110         * gnu/java/util/prefs/gconf/GConfNativePeer.java:
13111         Added javadoc comments for all native methods.
13112         (nodeExist): removed test to check for valid absolute path name
13113         for nodes.
13114         (startWatchingNode): likewise.
13115         (stopWatchingNode): likewise.
13116         (setString): likewise, plus fixed javadoc comments.
13117         (unset): likekwise.
13118         (getKey): likewise.
13119         (getKeys): likewise, also fixed javadoc comments.
13120         (getChildrenNodes): likewise.
13121         * gnu/java/util/prefs/GConfBasedPreferences.java:
13122         changed DEFAULT_USER_ROOT to /apps/classpath.
13123         (constructor): Test to check for a valid absolute path for nodes
13124         is now in the contructor for that node, instead of being on
13125         each method of the backend.
13126         (getGConfKey): removed empty new line.
13127
13128 2006-07-08  Mark Wielaard  <mark@klomp.org>
13129
13130         * .classpath: Add gnu/java/awt/peer/x/ to excludes.
13131
13132 2006-07-08  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
13133
13134         * javax/swing/text/FlowView.java (FlowStrategy.layoutRow):
13135         Handle the forced break in the same way as exceeding the
13136         available row space.
13137         * javax/swing/text/html/HRuleView.java: Rewritten.
13138         * javax/swing/text/html/HTMLDocument.java 
13139         (HTMLReader.addSpecialElement):Reserve two characters for
13140         the special elements.
13141         * examples/gnu/classpath/examples/swing/HtmlDemo.java
13142         (text): Extended the HTML example to parse.
13143
13144 2006-07-07  David Gilbert  <david.gilbert@object-refinery.com>
13145
13146         * javax/swing/AbstractButton.java
13147         (setHorizontalAlignment): Check for illegal argument,
13148         (setVerticalAlignment): Likewise.
13149
13150 2006-07-07  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
13151
13152         * javax/swing/text/html/TableView.java
13153         (getStyleSheet): New method. (RowView.getStyleSheet):
13154         New method.
13155
13156 2006-07-07  David Gilbert  <david.gilbert@object-refinery.com>
13157
13158         * javax/swing/AbstractButton.java
13159         (setRolloverIcon): Call setRolloverEnabled(true),
13160         (setRolloverSelectedIcon): Likewise.
13161
13162 2006-07-07  David Gilbert  <david.gilbert@object-refinery.com>
13163
13164         * javax/swing/border/TitledBorder.java
13165         (setTitlePosition): Added message to exception,
13166         (setTitleJustification): Likewise.
13167
13168 2006-07-07  David Gilbert  <david.gilbert@object-refinery.com>
13169
13170         * javax/swing/plaf/metal/MetalLookAndFeel.java
13171         (createDefaultTheme): Corrected API docs,
13172         (initComponentDefaults): Added entry for 'TitledBorder.border',
13173         (getCurrentTheme): Initialise theme if it is null.
13174
13175 2006-07-07  Roman Kennke  <kennke@aicas.com>
13176
13177         * java/awt/Component.java
13178         (isValid): Return false when component has no peer,
13179         don't query the showing state.
13180
13181 2006-07-07  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
13182
13183         * javax/swing/text/FlowView.java (FlowStrategy.layoutRow):
13184         Advance the offset also in the case of the enforced break.
13185
13186 2006-07-07  David Gilbert  <david.gilbert@object-refinery.com>
13187
13188         * javax/swing/plaf/basic/BasicArrowButton.java
13189         (MAXIMUM_SIZE): Removed field,
13190         (MINIMUM_SIZE): Likewise,
13191         (PREFERRED_SIZE): Likewise,
13192         (getMaximumSize): Return new instance every time,
13193         (getMinimumSize): Likewise,
13194         (getPreferredSize): Likewise.
13195
13196 2006-07-07  Roman Kennke  <kennke@aicas.com>
13197
13198         * java/awt/LightweightDispatcher.java
13199         (findTarget):  Avoid array copying in
13200         Container.getComponents().
13201
13202 2006-07-07  Roman Kennke  <kennke@aicas.com>
13203
13204         * javax/swing/JComponent.java
13205         (paintChildrenWithOverlap): Avoid array copying in
13206         Container.getComponents().
13207         (paintChildrenOptimized): Avoid array copying in
13208         Container.getComponents().
13209         (fireAncestorEvent):  Avoid array copying in
13210         Container.getComponents().
13211         (findOverlapFreeParent): Avoid array copying in
13212         Container.getComponents().
13213
13214 2006-07-07  Matt Wringe <mwringe@redhat.com>
13215
13216         * javax/crypto/spec/PBEKeySpec.java: Updated copyright year.
13217         (passwordValid): New field.
13218         (setPassword): New method.
13219         (setSalt): Likewise.
13220         (setIterationCount): Likewise.
13221         (setKeyLength): Likewise.
13222         (PBEKeySpec(char[])): Use new setter methods.
13223         (PBEKeySpec(char[], byte[], int)): Likewise.
13224         (PBEKeySpec(char[], byte[], int, int)): Likewise.
13225         (clearPassword): Set passwordValid to false.
13226         (getPassword): Check that clearPassword() was not called earlier.
13227         Return a clone of the password.
13228         (getSalt): Return a clone of the salt if it was not null.
13229
13230 2006-07-07  Roman Kennke  <kennke@aicas.com>
13231
13232         * java/awt/Component.java
13233         (isValid): Always return false when component is
13234         not showing.
13235         (setFont): Always set font, even when setting
13236         the same or equal font again.
13237
13238 2006-07-07  David Gilbert  <david.gilbert@object-refinery.com>
13239
13240         * javax/swing/plaf/metal/MetalIconFactory.java
13241         (CheckBoxMenuItemIcon): Implement UIResource,
13242         (FileChooserDetailViewIcon): Likewise,
13243         (FileChooserHomeFolderIcon): Likewise,
13244         (FileChooserListViewIcon): Likewise,
13245         (FileChooserNewFolderIcon): Likewise,
13246         (FileChooserUpFolderIcon): Removed redundant 'implements',
13247         (RadioButtonMenuItemIcon): Implement UIResource,
13248         (HorizontalSliderThumbIcon): Likewise,
13249         (InternalFrameCloseIcon): Likewise,
13250         (InternalFrameDefaultMenuIcon): Likewise,
13251         (InternalFrameAltMaximizeIcon): Likewise,
13252         (InternalFrameMaximizeIcon): Likewise,
13253         (InternalFrameMinimizeIcon): Likewise,
13254         (VerticalSliderThumbIcon): Likewise,
13255         (TreeHardDriveIcon): Likewise,
13256         (TreeFloppyDriveIcon): Likewise,
13257         (TreeComputerIcon): Likewise,
13258         (horizontalSliderThumbIcon): New field,
13259         (verticalSliderThumbIcon): New field,
13260         (getHorizontalSliderThumbIcon): Cache icon,
13261         (getVerticalSliderThumbIcon): Likewise.
13262
13263 2006-07-06  Mark Wielaard  <mark@klomp.org>
13264
13265         * lib/Makefile.am (CLEANFILES): Add Makefile.deps.
13266         (DISTCLEANFILES): Add standard.omit.
13267         (clean-local): Remove Makefile.deps, only remove dirs.
13268
13269 2006-07-06  Roman Kennke  <kennke@aicas.com>
13270
13271         * java/awt/Component.java
13272         (setFont): Only invalidate when component is valid.
13273         * java/awt/Container.java
13274         (setLayout): Only invalidate when component is valid.
13275
13276 2006-07-06  Lillian Angel  <langel@redhat.com>
13277
13278         * gnu/java/awt/dnd/GtkMouseDragGestureRecognizer.java:
13279         New class not fully implemented.
13280         * gnu/java/awt/dnd/peer/gtk/GtkDragSourceContextPeer.java:
13281         New class not fully implemented.
13282         * gnu/java/awt/dnd/peer/gtk/GtkDropTargetPeer.java:
13283         New class not fully implemented.
13284         * gnu/java/awt/dnd/peer/gtk/GtkDropTargetContextPeer.java:
13285         New class not fully implemented.
13286         * nu/java/awt/peer/gtk/GtkToolkit.java:
13287         Fixed Imports.
13288         (createDragSourceContextPeer): Implemented.
13289         (createDragGestureRecognizer): New function to override
13290         java.awt.Toolkit.createDragGestureRecognizer.
13291         * java/awt/dnd/DragSource.java
13292         (NoDragGestureRecognizer): Removed inner class.
13293         (createDragGestureRecognizer): Re-Implemented to 
13294         call Toolkit's createDragGestureRecognizer.
13295         (createDefaultDragGestureRecognizer): Re-Implemented to
13296         call Toolkit's createDragGestureRecognizer.
13297         * java/awt/dnd/DropTarget.java
13298         (addNotify): Added check to determine type of peer and call
13299         addDropTarget.
13300         (removeNotify): Added call to removeDropTarget.
13301
13302 2006-07-06  Tom Tromey  <tromey@redhat.com>
13303
13304         * gnu/java/util/prefs/EventDispatcher.java (dispatch): Notify
13305         'queue'.
13306         (run): Wait on queue, not 'this'.
13307
13308 2006-07-06  Lillian Angel  <langel@redhat.com>
13309
13310         * java/awt/dnd/DragSource.java
13311         (startDrag): Implemented. Added comments describing
13312         what the function should do. Removed FIXME.
13313
13314 2006-07-06  Tania Bento  <tbento@redhat.com>
13315         
13316         * gnu/java/awt/Canvas.java
13317         Added new private variable 'next_canvas_number'.
13318         (generateName): Added.
13319         (getUniqueLong): Added.
13320
13321 2006-07-06  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
13322
13323         * gnu/javax/swing/text/html/CharacterAttributeTranslator.java
13324         (getColor): Made public.
13325         * javax/swing/text/html/StyleSheet.java (stringToColor):
13326         Use CharacterAttributeTranslator.getColor(String)
13327
13328 2006-07-06  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
13329
13330         * javax/swing/text/html/HTMLEditorKit.java:
13331         (HTMLFactory.createElement): Update reference to the html table view.
13332         * javax/swing/text/html/HTMLTableView.java: Removed (renamed).
13333         * javax/swing/text/html/TableView.java: New file.
13334
13335 2006-07-06  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
13336
13337         * javax/swing/text/html/HTMLEditorKit.java: 
13338         (HTMLFactory.createElement): Uncomment
13339         code for BRView and HRuleView.
13340         * javax/swing/text/html/BRView.java,
13341         javax/swing/text/html/HRuleView.java: New files.
13342
13343 2006-07-05  Andrew John Hughes  <gnu_andrew@member.fsf.org>
13344
13345         * java/lang/Thread.java:
13346         (getAllStackTraces(Map<Thread,StackTraceElement[]>)):
13347         Added generic type signature.
13348
13349 2006-07-05  Andrew John Hughes  <gnu_andrew@member.fsf.org>
13350
13351         * NEWS: Updated.
13352         * doc/vmintegration.texinfo: Likewise.
13353         * examples/gnu/classpath/examples/management/TestGarbageCollector.java,
13354         * examples/gnu/classpath/examples/management/TestMemoryManager.java,
13355         * gnu/java/lang/management/GarbageCollectorMXBeanImpl.java,
13356         * gnu/java/lang/management/MemoryManagerMXBeanImpl.java,
13357         * java/lang/management/GarbageCollectorMXBean.java:
13358         New files.
13359         * java/lang/management/ManagementFactory.java:
13360         (getGarbageCollectorMXBeans()): Implemented.
13361         (getMemoryManagerMXBeans()): Likewise.
13362         * vm/reference/gnu/java/lang/management/VMGarbageCollectorMXBeanImpl.java,
13363         * vm/reference/gnu/java/lang/management/VMMemoryManagerMXBeanImpl.java:
13364         New files.
13365         * vm/reference/java/lang/management/VMManagementFactory.java:
13366         (getMemoryManagerNames()): Added.
13367         (getGarbageCollectorNames()): Added.
13368         
13369 2006-07-05  Thomas Fitzsimmons  <fitzsim@redhat.com>
13370
13371         * native/plugin/Makefile.am (nativeexeclib_LTLIBRARIES): Rename
13372         from lib_LTLIBRARIES.
13373         (install-plugin): Depend on nativeexeclib_LTLIBRARIES.
13374
13375 2006-07-05  Lillian Angel  <langel@redhat.com>
13376
13377         * java/awt/dnd/DragGestureEvent.java:
13378         Added new fields.
13379         (DragGestureEvent): Initialized new fields, added to check and 
13380         added documentation.
13381         (getSourceAsDragGestureRecognizer): Added documentation and 
13382         changed to use getSource.
13383         (getComponent): Added documentation and fixed to return the proper
13384         value.
13385         (getDragSource): Likewise.
13386         (getDragOrigin): Added documentation.
13387         (iterator): Implemented and added documentation.
13388         (toArray): Likewise.
13389         (toArray): Likewise.
13390         (getDragAction): Likewise.
13391         (getTriggerEvent): Likewise.
13392         (startDrag): Likewise.
13393         * java/awt/dnd/DragGestureRecognizer.java
13394         (resetRecognizer): Added FIXME.
13395         * java/awt/dnd/DragSource.java:
13396         Added new field.
13397         (DragSource): Set ds to be null if headless.
13398         (getDefaultDragSource): Added documentation and implemented.
13399         (isDragImageSupported): Marked as unimplemented.
13400         (startDrag): Likewise.
13401         (createDragSourceContext): Implemented.
13402         (NoDragGestureRecognizer): Formatted inner class.
13403         * java/awt/dnd/DropTarget.java
13404         (stop): Marked as unimplemented.
13405         (actionPerformed): Likewise.
13406         (addDropTargetListener): Added code to throw exception.
13407         (removeDropTargetListener): Added check, removed FIXME.
13408         (dragEnter): Implemented.
13409         (dragOver): Implemented.
13410         (dropActionChanged): Implemented.
13411         (dragExit): Implemented.
13412         (drop): Implemented.
13413         (addNotify): Implemented.
13414         (removeNotify): Implemented.
13415         (createDropTargetContext): Implemented.
13416         (createDropTargetAutoScroller): Implemented.
13417         (initializeAutoscrolling): Implemented.
13418         (updateAutoscroll): Implemented.
13419         (clearAutoscroll): Implemented.
13420         * java/awt/dnd/DropTargetContext.java
13421         (dropComplete): Implemented.
13422         (acceptDrag): Implemented.
13423         (rejectDrag): Implemented.
13424         (acceptDrop): Implemented.
13425         (rejectDrop): Implemented.
13426         (getCurrentDataFlavors): Implemented.
13427         (getTransferable): Partially implemented.
13428         * java/awt/dnd/DropTargetDragEvent.java
13429         (getDropAction): Uncommented correct code.
13430         * java/awt/dnd/DropTargetDropEvent.java
13431         (dropComplete) :Implemented.
13432         * java/awt/dnd/InvalidDnDOperationException.java
13433         (InvalidDnDOperationException): Added call to super.
13434
13435 2006-07-05  Robert Schuster  <robertschuster@fsfe.org>
13436
13437         * javax/swing/plaf/basic/BasicArrowButton.java:
13438         (paint): Removed getBounds() call, changed center point
13439         calculation.
13440
13441 2006-07-05  David Gilbert  <david.gilbert@object-refinery.com>
13442
13443         * javax/swing/InputMap.java
13444         (inputMap): Don't initialize yet,
13445         (InputMap): Removed TODO,
13446         (get): Check for null inputMap,
13447         (put): Return immediately for null keyStroke, check for null inputMap
13448         and initialize if necessary,
13449         (remove): Check for null inputMap,
13450         (size): Likewise,
13451         (clear): Likewise,
13452         (keys): Likewise,
13453         (allKeys): Likewise,
13454         (writeObject): Removed,
13455         (readObject): Removed.
13456
13457 2006-07-05  David Gilbert  <david.gilbert@object-refinery.com>
13458
13459         * gnu/classpath/examples/swing/TabbedPaneDemo.java
13460         (createContent): Use different labels for buttons.
13461
13462 2006-07-04  Andrew John Hughes  <gnu_andrew@member.fsf.org>
13463
13464         * NEWS: Updated.
13465         * doc/vmintegration.texinfo: Likewise.
13466         * examples/gnu/classpath/examples/management/TestMemoryPool.java,
13467         * gnu/java/lang/management/MemoryPoolMXBeanImpl.java:
13468         New files.
13469         * java/lang/management/ManagementFactory.java:
13470         (getMemoryPoolMXBeans()): Implemented.
13471         * vm/reference/gnu/java/lang/management/VMMemoryPoolMXBeanImpl.java,
13472         * vm/reference/java/lang/management/VMManagementFactory.java:
13473         New files.
13474         
13475 2006-07-04  Lillian Angel  <langel@redhat.com>
13476
13477         * java/awt/dnd/DragSourceContext.java:
13478         Removed FIXMEs from fields.
13479         (DragSourceContext): Added code to initialize cursor and sourceActions.
13480         (getDragSource): Added documentation.
13481         (getComponent): Likewise.
13482         (getTrigger): Likewise.
13483         (getSourceActions): Added documentation and implemented.
13484         (setCursor): Implemented. Added documentation.
13485         (getCursor): Implemented. Added documentation.
13486         (dragEnter): Added code to notify DragSource's listeners.
13487         (dragOver): Likewise.
13488         (dragExit): Likewise.
13489         (dropActionChanged): Likewise.
13490         (dragDropEnd): Likewise.
13491         (dragMouseMoved): Implemented.
13492         (getTransferable): Added API documentation.
13493         (updateCurrentCursor): Added API documentation and partially implemented.
13494
13495 2006-07-04  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
13496
13497         * javax/swing/plaf/basic/BasicTreeUI.java (KeyHandler): Implemented.
13498
13499 2006-07-04  Lillian Angel  <langel@redhat.com>
13500
13501         * java/awt/dnd/DragSourceContext.java
13502         (DragSourceContext): Implemented fully. Fixed API docs.
13503         (transferablesFlavorsChanged): Implemented.
13504         (dragEnter): Implemented.
13505         (dragOver): Implemented.
13506         (dragExit): Implemented.
13507         (dropActionChanged): Implemented.
13508         (dragDropEnd): Implemented.
13509
13510 2006-07-04  Lillian Angel  <langel@redhat.com>
13511
13512         * javax/swing/plaf/basic/BasicOptionPaneUI.java:
13513         Fixed name of constant.
13514         (getIconWidth): Changed name of constant returned.
13515         (getIconHeight): Likewise.
13516         (paint): Likewise.
13517         (createSeparator): Marked as unimplemented.
13518         * javax/swing/plaf/basic/BasicTableUI.java
13519         (focusGained): Marked as unimplemented.
13520         (focusLost): Marked as unimplemented.
13521         (mouseEntered): Likewise.
13522         (mouseMoved): Likewise.
13523         (uninstallDefaults): Likewise.
13524         * javax/swing/plaf/basic/BasicToolBarUI.java
13525         (mouseClicked): Changed comment.
13526         (mouseEntered): Likewise.
13527         (mouseExited): Likewise.
13528         (mouseMoved): Likewise.
13529         (setOrientation): Implemented.
13530         (ToolBarFocusListener): Marked as unimplemented.
13531         (focusGained): Marked as unimplemented.
13532         (focusLost): Marked as unimplemented.
13533
13534 2006-07-04  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
13535
13536         PR 28061
13537         * javax/swing/plaf/basic/BasicTreeUI.java (isLocationInExpandControl):
13538         Mind the effect of the root visibility on the position of the control.
13539         Quess icon width 18. (paintVerticalPartOfLeg): Do no paint the 
13540         vertical line over first level nodes.
13541
13542 2006-07-04  Lillian Angel  <langel@redhat.com>
13543
13544         * javax/swing/plaf/basic/BasicMenuUI.java
13545         (installKeyboardActions): Implemented to call super. Nothing else
13546         needs to be done here.
13547         (setupPostTimer): Marked as unimplemented.
13548         (uninstallKeyboardActions): Implemented to call super. Nothing else
13549         needs to be done here.
13550         (mouseMoved): Removed TODO. Nothing to be done here.
13551         (ChangeHandler): Implemented.
13552         (menuDragMouseExited): Removed TODO. Nothing to be done here.
13553         (menuDragMouseReleased): Removed TODO. Nothing to be done here.
13554         (menuKeyReleased): Removed TODO. Nothing to be done here.
13555         (menuKeyTyped): Marked as unimplemented.
13556
13557 2006-07-04  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
13558
13559         PR 28061
13560         * gnu/javax/swing/plaf/gnu/GNULookAndFeel.java
13561         (getDefaults): Set hash color to black.
13562         * javax/swing/plaf/basic/BasicLookAndFeel.java
13563         (initComponentDefaults): Set hash color to grey blue.
13564         * javax/swing/plaf/basic/BasicTreeUI.java
13565         (instellDefaults): Set hash color.
13566         * javax/swing/plaf/metal/MetalIconFactory.java
13567         (TreeControlIcon.paint): Rewritten.
13568
13569 2006-07-04  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
13570
13571         PR 28061
13572         * javax/swing/plaf/basic/BasicTreeUI.java (MouseHandler.mousePressed):
13573         Always cancel the current editing session before doing anything else,
13574         return immediately if this fails.
13575         (TreeHomeAction): Ensure that the lead selection path is visible after
13576         the action is performed. TreeIncrementAction: Likewise. TreeToggleAction:
13577         Likewise. TreeTraverseAction: Likewise.
13578
13579 2006-07-04  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
13580
13581         PR 28061
13582         * javax/swing/plaf/basic/BasicTreeUI.java (MouseHandler.mousePressed):
13583         Returned back the code to handle the start of the click-pause-click
13584         editing initiation, explained about this code. 
13585         (TreeStartEditingAction): New inner class.
13586         (stopEditingInCompleteEditing): Explained about this field.
13587         (completeEditing(boolean, boolean, boolean): Only return early
13588         if there is no current editing session.
13589         (createDefaultActions): Install TreeStartEditingAction and
13590         TreeCancelEditingAction.
13591
13592 2006-07-04  Mario Torre  <neugens@limasoftware.net>
13593
13594         * configure.ac: Added new option --enable-default-preferences-peer
13595         to pass user specified default preference backend.
13596         If the GConf peer is built, GConf become the default backend.
13597         * resource/META-INF/services/java.util.prefs.PreferencesFactory.in:
13598         new file. 
13599         * lib/Makefile.am: excludes files terminating in 'in' from
13600         the metafiles list.
13601         * lib/copy-vmresources.sh.in: excludes files terminating in 'in'
13602         from copy into META-INF.
13603         * java/util/prefs/Preferences.java: added two new import
13604         classes gnu.classpath.ServiceFactory and java.util.Iterator.
13605         (getFactory): Now try to check for
13606         a system defined default preference backend before to fall back on
13607         FileBasedPreference.
13608
13609 2006-07-04  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
13610
13611         PR 28061
13612         * javax/swing/JTree.java (COLLAPSED): Initialise to Boolean.FALSE.
13613         (EXPANDED): Initialise to Boolean.TRUE.
13614         * javax/swing/plaf/basic/BasicTreeUI.java (completeUIInstall):
13615         First configure layout cache and then set the assigned value 
13616         as row mapper. Set the root visibility property.
13617         (toggleExpandState): Obtains expansion state from the layout cache.
13618
13619 2006-07-03  Andrew John Hughes  <gnu_andrew@member.fsf.org>
13620
13621         * java/lang/management/MemoryPoolMXBean.java:
13622         New file.
13623         
13624 2006-07-03  Raif S. Naffah  <raif@swiftdsl.com.au>
13625
13626         * gnu/javax/crypto/RSACipherImpl.java: Source formatting.
13627
13628 2006-07-03  Raif S. Naffah  <raif@swiftdsl.com.au>
13629
13630         * gnu/javax/crypto/sasl/anonymous/AnonymousClient.java: Source formatting.
13631         * gnu/javax/crypto/sasl/anonymous/AnonymousServer.java: Likewise.
13632         * gnu/javax/crypto/sasl/anonymous/AnonymousUtil.java: Likewise.
13633         * gnu/javax/crypto/sasl/crammd5/CramMD5AuthInfoProvider.java: Likewise.
13634         * gnu/javax/crypto/sasl/crammd5/CramMD5Client.java: Likewise.
13635         * gnu/javax/crypto/sasl/crammd5/CramMD5Registry.java: Likewise.
13636         * gnu/javax/crypto/sasl/crammd5/CramMD5Server.java: Likewise.
13637         * gnu/javax/crypto/sasl/crammd5/CramMD5Util.java: Likewise.
13638         * gnu/javax/crypto/sasl/crammd5/PasswordFile.java: Likewise.
13639         * gnu/javax/crypto/sasl/plain/PasswordFile.java: Likewise.
13640         * gnu/javax/crypto/sasl/plain/PlainAuthInfoProvider.java: Likewise.
13641         * gnu/javax/crypto/sasl/plain/PlainClient.java: Likewise.
13642         * gnu/javax/crypto/sasl/plain/PlainRegistry.java: Likewise.
13643         * gnu/javax/crypto/sasl/plain/PlainServer.java: Likewise.
13644         * gnu/javax/crypto/sasl/srp/CALG.java: Likewise.
13645         * gnu/javax/crypto/sasl/srp/ClientStore.java: Likewise.
13646         * gnu/javax/crypto/sasl/srp/IALG.java: Likewise.
13647         * gnu/javax/crypto/sasl/srp/KDF.java: Likewise.
13648         * gnu/javax/crypto/sasl/srp/PasswordFile.java: Likewise.
13649         * gnu/javax/crypto/sasl/srp/SecurityContext.java: Likewise.
13650         * gnu/javax/crypto/sasl/srp/ServerStore.java: Likewise.
13651         * gnu/javax/crypto/sasl/srp/SRP.java: Likewise.
13652         * gnu/javax/crypto/sasl/srp/SRPAuthInfoProvider.java: Likewise.
13653         * gnu/javax/crypto/sasl/srp/SRPClient.java: Likewise.
13654         * gnu/javax/crypto/sasl/srp/SRPRegistry.java: Likewise.
13655         * gnu/javax/crypto/sasl/srp/SRPServer.java: Likewise.
13656         * gnu/javax/crypto/sasl/srp/StoreEntry.java: Likewise.
13657         * gnu/javax/crypto/sasl/AuthInfo.java: Likewise.
13658         * gnu/javax/crypto/sasl/AuthInfoProviderFactory.java: Likewise.
13659         * gnu/javax/crypto/sasl/ClientFactory.java: Likewise.
13660         * gnu/javax/crypto/sasl/ClientMechanism.java: Likewise.
13661         * gnu/javax/crypto/sasl/ConfidentialityException.java: Likewise.
13662         * gnu/javax/crypto/sasl/IAuthInfoProvider.java: Likewise.
13663         * gnu/javax/crypto/sasl/IAuthInfoProviderFactory.java: Likewise.
13664         * gnu/javax/crypto/sasl/IllegalMechanismStateException.java: Likewise.
13665         * gnu/javax/crypto/sasl/InputBuffer.java: Likewise.
13666         * gnu/javax/crypto/sasl/IntegrityException.java: Likewise.
13667         * gnu/javax/crypto/sasl/NoSuchMechanismException.java: Likewise.
13668         * gnu/javax/crypto/sasl/NoSuchUserException.java: Likewise.
13669         * gnu/javax/crypto/sasl/OutputBuffer.java: Likewise.
13670         * gnu/javax/crypto/sasl/SaslEncodingException.java: Likewise.
13671         * gnu/javax/crypto/sasl/SaslInputStream.java: Likewise.
13672         * gnu/javax/crypto/sasl/SaslOutputStream.java: Likewise.
13673         * gnu/javax/crypto/sasl/SaslUtil.java: Likewise.
13674         * gnu/javax/crypto/sasl/ServerFactory.java: Likewise.
13675         * gnu/javax/crypto/sasl/ServerMechanism.java: Likewise.
13676         * gnu/javax/crypto/sasl/UserAlreadyExistsException.java: Likewise.
13677
13678 2006-07-02  Anthony Green  <green@redhat.com>
13679
13680         * gnu/javax/sound/midi/file/MidiFileWriter.java (writeTrack): Make
13681         sure that every track written ends with an End Of Track meta
13682         message.
13683
13684 2006-07-02  Andrew John Hughes  <gnu_andrew@member.fsf.org>
13685
13686         * java/lang/management/MemoryUsage.java:
13687         (toString()): Fix missing MB for maximum memory usage.
13688         
13689 2006-07-02  Andrew John Hughes  <gnu_andrew@member.fsf.org>
13690
13691         * NEWS:
13692         Updated to include VMCompilationMXBeanImpl.
13693         * doc/vmintegration.texinfo:
13694         Likewise, along with update to VMMemoryMXBeanImpl
13695         as below.
13696         * examples/gnu/classpath/examples/management/TestCompilation.java,
13697         * gnu/java/lang/management/CompilationMXBeanImpl.java,
13698         * java/lang/management/CompilationMXBeanImpl.java:
13699         New files.
13700         * java/lang/management/ManagementFactory.java:
13701         (getCompilationMXBean()): Implemented.
13702         * vm/reference/gnu/java/lang/management/VMCompilationMXBeanImpl.java:
13703         New file.
13704         * vm/reference/gnu/java/lang/management/VMMemoryMXBeanImpl.java:
13705         (getHeapMemoryUsage()): Added default implementation.   
13706         
13707 2006-07-02  Anthony Green  <green@redhat.com>
13708
13709         * NEWS: Mention MIDI file reader/writer providers.
13710
13711 2006-07-02  Anthony Green  <green@redhat.com>
13712
13713         * resource/META-INF/services/javax.sound.midi.spi.MidiFileWriter,
13714         gnu/javax/sound/midi/file/MidiFileWriter.java,
13715         gnu/javax/sound/midi/file/MidiDataOutputStream.java: New files.
13716
13717 2006-07-01  Andrew John Hughes  <gnu_andrew@member.fsf.org>
13718
13719         * NEWS:
13720         Updated to include VMMemoryMXBeanImpl.
13721         * doc/vmintegration.texinfo: Likewise.
13722         * examples/gnu/classpath/examples/management/TestMemory.java:
13723         New file.
13724         * gnu/java/lang/management/ClassLoadingMXBeanImpl.java:
13725         Remove redundant import.
13726         * gnu/java/lang/management/MemoryMXBeanImpl.java:
13727         New file.
13728         * gnu/java/lang/management/ThreadMXBeanImpl.java:
13729         Remove redundant import.
13730         * java/lang/management/ManagementFactory.java:
13731         (getMemoryMXBean()): Implemented.
13732         * java/lang/management/MemoryMXBean.java,
13733         * java/lang/management/MemoryUsage.java:
13734         New files.
13735         * java/lang/management/ThreadInfo.java:
13736         (toString()): Updated documentation.
13737         * vm/reference/gnu/java/lang/management/VMMemoryMXBeanImpl.java:
13738         New file.
13739         
13740 2006-07-01  Anthony Green  <green@redhat.com>
13741
13742         * resource/META-INF/services/javax.sound.midi.spi.MidiFileReader,
13743         gnu/javax/sound/midi/file/MidiFileReader.java,
13744         gnu/javax/sound/midi/file/ExtendedMidiFileFormat.java,
13745         gnu/javax/sound/midi/file/MidiDataInputStream.java: New files.
13746
13747 2006-07-02  Raif S. Naffah  <raif@swiftdsl.com.au>
13748
13749         * gnu/javax/crypto/prng/ARCFour.java: Source formatting.
13750         * gnu/javax/crypto/prng/CSPRNG.java: Likewise.
13751         * gnu/javax/crypto/prng/Fortuna.java: Likewise.
13752         * gnu/javax/crypto/prng/ICMGenerator.java: Likewise.
13753         * gnu/javax/crypto/prng/PBKDF2.java: Likewise.
13754         * gnu/javax/crypto/prng/PRNGFactory.java: Likewise.
13755         * gnu/javax/crypto/prng/UMacGenerator.java: Likewise.
13756
13757 2006-07-02  Raif S. Naffah  <raif@swiftdsl.com.au>
13758
13759         * gnu/javax/crypto/pad/BasePad.java: Source formatting.
13760         * gnu/javax/crypto/pad/IPad.java: Likewise.
13761         * gnu/javax/crypto/pad/PadFactory.java: Likewise.
13762         * gnu/javax/crypto/pad/PKCS1_V1_5.java: Likewise.
13763         * gnu/javax/crypto/pad/PKCS7.java: Likewise.
13764         * gnu/javax/crypto/pad/SSL3.java: Likewise.
13765         * gnu/javax/crypto/pad/TBC.java: Likewise.
13766         * gnu/javax/crypto/pad/TLS1.java: Likewise.
13767         * gnu/javax/crypto/pad/WrongPaddingException.java: Likewise.
13768
13769 2006-07-01  Anthony Green  <green@redhat.com>
13770
13771         * javax/sound/midi/SysexMessage.java (setMessage): Fix sysex
13772         status byte test.
13773         (setMessage): Fix it again, in a different setMessage method.
13774
13775 2006-07-02  Raif S. Naffah  <raif@swiftdsl.com.au>
13776
13777         * gnu/javax/crypto/mode/BaseMode.java: Source formatting.
13778         * gnu/javax/crypto/mode/CBC.java: Likewise.
13779         * gnu/javax/crypto/mode/CFB.java: Likewise.
13780         * gnu/javax/crypto/mode/CTR.java: Likewise.
13781         * gnu/javax/crypto/mode/EAX.java: Likewise.
13782         * gnu/javax/crypto/mode/ECB.java: Likewise.
13783         * gnu/javax/crypto/mode/IAuthenticatedMode.java: Likewise.
13784         * gnu/javax/crypto/mode/ICM.java: Likewise.
13785         * gnu/javax/crypto/mode/IMode.java: Likewise.
13786         * gnu/javax/crypto/mode/ModeFactory.java: Likewise.
13787         * gnu/javax/crypto/mode/OFB.java: Likewise.
13788
13789 2006-07-02  Raif S. Naffah  <raif@swiftdsl.com.au>
13790
13791         * gnu/javax/crypto/mac/BaseMac.java: Source formatting.
13792         * gnu/javax/crypto/mac/HMac.java: Likewise.
13793         * gnu/javax/crypto/mac/HMacFactory.java: Likewise.
13794         * gnu/javax/crypto/mac/IMac.java: Likewise.
13795         * gnu/javax/crypto/mac/MacFactory.java: Likewise.
13796         * gnu/javax/crypto/mac/MacInputStream.java: Likewise.
13797         * gnu/javax/crypto/mac/MacOutputStream.java: Likewise.
13798         * gnu/javax/crypto/mac/OMAC.java: Likewise.
13799         * gnu/javax/crypto/mac/TMMH16.java: Likewise.
13800         * gnu/javax/crypto/mac/UHash32.java: Likewise.
13801         * gnu/javax/crypto/mac/UMac32.java: Likewise.
13802
13803 2006-07-01  Anthony Green  <green@redhat.com>
13804
13805         * javax/sound/midi/Track.java (vector, eventSet): Initialize. 
13806
13807 2006-07-02  Raif S. Naffah  <raif@swiftdsl.com.au>
13808
13809         * gnu/javax/crypto/keyring/AuthenticatedEntry.java: Source formatting.
13810         * gnu/javax/crypto/keyring/BaseKeyring.java: Likewise.
13811         * gnu/javax/crypto/keyring/BinaryDataEntry.java: Likewise.
13812         * gnu/javax/crypto/keyring/CertificateEntry.java: Likewise.
13813         * gnu/javax/crypto/keyring/CertPathEntry.java: Likewise.
13814         * gnu/javax/crypto/keyring/CompressedEntry.java: Likewise.
13815         * gnu/javax/crypto/keyring/EncryptedEntry.java: Likewise.
13816         * gnu/javax/crypto/keyring/Entry.java: Likewise.
13817         * gnu/javax/crypto/keyring/EnvelopeEntry.java: Likewise.
13818         * gnu/javax/crypto/keyring/GnuPrivateKeyring.java: Likewise.
13819         * gnu/javax/crypto/keyring/GnuPublicKeyring.java: Likewise.
13820         * gnu/javax/crypto/keyring/IKeyring.java: Likewise.
13821         * gnu/javax/crypto/keyring/IPrivateKeyring.java: Likewise.
13822         * gnu/javax/crypto/keyring/IPublicKeyring.java: Likewise.
13823         * gnu/javax/crypto/keyring/MalformedKeyringException.java: Likewise.
13824         * gnu/javax/crypto/keyring/MaskableEnvelopeEntry.java: Likewise.
13825         * gnu/javax/crypto/keyring/MeteredInputStream.java: Likewise.
13826         * gnu/javax/crypto/keyring/PasswordAuthenticatedEntry.java: Likewise.
13827         * gnu/javax/crypto/keyring/PasswordEncryptedEntry.java: Likewise.
13828         * gnu/javax/crypto/keyring/PasswordProtectedEntry.java: Likewise.
13829         * gnu/javax/crypto/keyring/PrimitiveEntry.java: Likewise.
13830         * gnu/javax/crypto/keyring/PrivateKeyEntry.java: Likewise.
13831         * gnu/javax/crypto/keyring/Properties.java: Likewise.
13832         * gnu/javax/crypto/keyring/PublicKeyEntry.java: Likewise.
13833
13834 2006-07-01  David Gilbert  <david.gilbert@object-refinery.com>
13835
13836         * javax/swing/AbstractCellEditor.java: Source code formatting,
13837         * javax/swing/AbstractSpinnerModel.java: Likewise,
13838         * javax/swing/Box.java: Likewise,
13839         * javax/swing/BoxLayout.java: Likewise,
13840         * javax/swing/DefaultListModel.java: Likewise,
13841         * javax/swing/GrayFilter.java: Likewise,
13842         * javax/swing/LookAndFeel.java: Likewise,
13843         * javax/swing/ProgressMonitor.java: Likewise,
13844         * javax/swing/ProgressMonitorInputStream.java: Likewise,
13845         * javax/swing/ScrollPaneLayout.java: Likewise,
13846         * javax/swing/SpringLayout.java: Likewise,
13847         * javax/swing/event/EventListenerList.java: Likewise,
13848         * javax/swing/event/MenuEvent.java: Likewise,
13849         * javax/swing/event/TreeExpansionListener.java: Likewise.
13850
13851 2006-07-01  Andrew John Hughes  <gnu_andrew@member.fsf.org>
13852
13853         * NEWS:
13854         Mention threading bean and getState().
13855         * doc/vmintegration.texinfo:
13856         Update documentation for threading bean and new
13857         method of VMThread.
13858         
13859 2006-07-01  Andrew John Hughes  <gnu_andrew@member.fsf.org>
13860         
13861         * examples/gnu/classpath/examples/management/TestClassLoading.java,
13862         * examples/gnu/classpath/examples/management/TestOS.java,
13863         * examples/gnu/classpath/examples/management/TestRuntime.java,
13864         * examples/gnu/classpath/examples/management/TestThread.java:
13865         New files.
13866         
13867 2006-07-01  Jeroen Frijters  <jeroen@frijters.net>
13868
13869         * java/lang/ThreadGroup.java
13870         (getThreadFromId, getThreadFromIdImpl): New methods.
13871
13872 2006-07-01  Jeroen Frijters  <jeroen@frijters.net>
13873
13874         * java/lang/Thread.java:
13875         Make thread IDs start from 1 in a more efficient way.
13876
13877 2006-07-01  Andrew John Hughes  <gnu_andrew@member.fsf.org>
13878
13879         * java/lang/Thread.java:
13880         Make thread IDs start from 1.
13881         
13882 2006-07-01  Andrew John Hughes  <gnu_andrew@member.fsf.org>
13883
13884         * gnu/java/lang/management/BeanImpl.java:
13885         New superclass for all bean implementations.
13886         * gnu/java/lang/management/ClassLoadingMXBeanImpl.java:
13887         Extend BeanImpl and call permission code there.
13888         * gnu/java/lang/management/OperatingSystemMXBeanImpl.java:
13889         Extend BeanImpl.
13890         * gnu/java/lang/management/RuntimeMXBeanImpl.java:
13891         Extend BeanImpl and call permission code there.
13892         * gnu/java/lang/management/ThreadMXBeanImpl.java:
13893         New file.
13894         * java/lang/management/ManagementFactory.java:
13895         (getThreadMXBean()): Implemented.
13896         * java/lang/management/ThreadInfo.java:
13897         (ThreadInfo(Thread,int)): Replaced...
13898         (ThreadInfo(Thread,long,long,Object,Thread,long,long,
13899         boolean, boolean, StackTraceElement[])): with this.
13900         (getBlockedCount()): Refactored to use local variables.
13901         (getBlockedTime()): Likewise.
13902         (getLockName()): Likewise.
13903         (getLockOwnerId()): Likewise.
13904         (getLockOwnerName()): Likewise.
13905         (getStackTrace()): Likewise.
13906         (getWaitedCount()): Likewise.
13907         (getWaitedTime()): Likewise.
13908         (isInNative()): Likewise.
13909         (isSuspended()): Likewise.
13910         (toString()): Changed to use new local variables.
13911         * java/lang/management/ThreadMXBean.java:
13912         (getThreadInfo(long, int)): Corrected documentation.
13913         (getThreadInfo(long[], int)): Likewise.
13914         * vm/reference/gnu/java/lang/management/VMThreadMXBeanImpl.java:
13915         New file.
13916         * vm/reference/java/lang/management/VMThreadInfo.java:
13917         Removed.
13918
13919 2006-07-01  Raif S. Naffah  <raif@swiftdsl.com.au>
13920
13921         * gnu/javax/crypto/key/dh/DHKeyPairRawCodec.java: Source formatting.
13922         * gnu/javax/crypto/key/dh/DiffieHellmanKeyAgreement.java: Likewise.
13923         * gnu/javax/crypto/key/dh/DiffieHellmanReceiver.java: Likewise.
13924         * gnu/javax/crypto/key/dh/DiffieHellmanSender.java: Likewise.
13925         * gnu/javax/crypto/key/dh/ElGamalKeyAgreement.java: Likewise.
13926         * gnu/javax/crypto/key/dh/ElGamalReceiver.java: Likewise.
13927         * gnu/javax/crypto/key/dh/ElGamalSender.java: Likewise.
13928         * gnu/javax/crypto/key/dh/GnuDHKey.java: Likewise.
13929         * gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java: Likewise.
13930         * gnu/javax/crypto/key/dh/GnuDHPrivateKey.java: Likewise.
13931         * gnu/javax/crypto/key/dh/GnuDHPublicKey.java: Likewise.
13932         * gnu/javax/crypto/key/dh/RFC2631.java: Likewise.
13933         * gnu/javax/crypto/key/srp6/SRP6Host.java: Likewise.
13934         * gnu/javax/crypto/key/srp6/SRP6KeyAgreement.java: Likewise.
13935         * gnu/javax/crypto/key/srp6/SRP6SaslClient.java: Likewise.
13936         * gnu/javax/crypto/key/srp6/SRP6SaslServer.java: Likewise.
13937         * gnu/javax/crypto/key/srp6/SRP6TLSClient.java: Likewise.
13938         * gnu/javax/crypto/key/srp6/SRP6TLSServer.java: Likewise.
13939         * gnu/javax/crypto/key/srp6/SRP6User.java: Likewise.
13940         * gnu/javax/crypto/key/srp6/SRPAlgorithm.java: Likewise.
13941         * gnu/javax/crypto/key/srp6/SRPKey.java: Likewise.
13942         * gnu/javax/crypto/key/srp6/SRPKeyPairGenerator.java: Likewise.
13943         * gnu/javax/crypto/key/srp6/SRPKeyPairRawCodec.java: Likewise.
13944         * gnu/javax/crypto/key/srp6/SRPPrivateKey.java: Likewise.
13945         * gnu/javax/crypto/key/srp6/SRPPublicKey.java: Likewise.
13946         * gnu/javax/crypto/key/BaseKeyAgreementParty.java: Likewise.
13947         * gnu/javax/crypto/key/GnuSecretKey.java: Likewise.
13948         * gnu/javax/crypto/key/IKeyAgreementParty.java: Likewise.
13949         * gnu/javax/crypto/key/IncomingMessage.java: Likewise.
13950         * gnu/javax/crypto/key/KeyAgreementException.java: Likewise.
13951         * gnu/javax/crypto/key/KeyAgreementFactory.java: Likewise.
13952         * gnu/javax/crypto/key/OutgoingMessage.java: Likewise.
13953
13954 2006-07-01  Roman Kennke  <kennke@aicas.com>
13955
13956         * gnu/java/awt/java2d/AbstractGraphics2D.java
13957         (transform): Make field protected.
13958         (getDestinationRaster): Provide default implementation for
13959         previously abstract method.
13960
13961 2006-06-30  Tania Bento  <tbento@redhat.com>
13962
13963         * java/awt/TextArea.java
13964         (TextArea(String, int, int, int)): No longer throws
13965         IllegalArgumentException if rows, columns, or scrollbarVisibility 
13966         values are invalid.  
13967         (TextArea(String, int, int, int)): If rows or columns are < 0, 
13968         they get set to 0.  If scrollbarVisibility is < 0 or > 4, it 
13969         gets set to the default value of 0 (SCROLLBARS_BOTH).
13970          (appendText): Added case when peer = null.
13971         (insertText): Added case when peer == null.
13972         (replaceText): Added case when peer == null.
13973         * java/awt/TextComponent.java
13974         (TextComponent(String)): If text == null, set it to "".
13975
13976 2006-06-30  Lillian Angel  <langel@redhat.com>
13977
13978         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
13979         (create): Added synchronized block around groupMap.get calls.
13980         (setCheckboxGroup): Likewise.
13981
13982 2006-06-30  Lillian Angel  <langel@redhat.com>
13983
13984         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
13985         (create): Changed to be non-synchronized.
13986         (setLabel): Likewise.
13987         (setCheckboxGroup): Likewise.
13988         (addToGroupMap): Likewise. Added synchronized block around
13989         code.
13990         (dispose): Changed to be non-synchronized.
13991
13992 2006-06-30  Lillian Angel  <langel@redhat.com>
13993
13994         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java:
13995         Changed all return values of native functions to void.
13996         (create): Changed function to be synchronized. Removed
13997         call to put value in groupMap, this is now done from 
13998         the native code.
13999         (setState): Changed function to be synchronized.
14000         (setLabel): Changed function to be synchronized.
14001         (setCheckboxGroup): Changed function to be synchronized. Removed
14002         call to put value in groupMap, this is now done from
14003         the native code.
14004         (postItemEvent): Changed function to be synchronized.
14005         (addToGroupMap): New function. Called by native code to add
14006         new value to the group.
14007         (dispose): Changed function to be synchronized.
14008         * include/gnu_java_awt_peer_gtk_GtkCheckboxPeer.h: Updated
14009         all functions.
14010         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
14011         (cp_gtk_checkbox_init_jni): Added code to link to 
14012         java function.
14013         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_createRadioButton): 
14014         Changed return value to void. Added call
14015         to java function to set pointer in groupMap.
14016         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_addtoGroup): Likewise. Also,
14017         changed check to an assert. Also, removed call to set/del pointer.
14018         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_removeFromGroup): 
14019         Likewise. Also, added check to determine if native_group should be 
14020         set to NULL.
14021         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_switchToGroup): Likewise.
14022
14023 2006-06-30  Sven de Marothy  <sven@physto.se>
14024
14025         * gnu/java/awt/ClasspathToolkit.java,
14026         * gnu/java/awt/peer/x/XToolkit.java,
14027         * gnu/java/awt/peer/qt/QtToolkit.java,
14028         * gnu/java/awt/peer/gtk/GtkToolkit.java,
14029         Remove ClasspathTextLayoutPeer.
14030         * gnu/java/awt/peer/gtk/GdkTextLayout.java,
14031         * gnu/java/awt/peer/ClasspathTextLayoutPeer:
14032         Files removed.
14033         
14034 2006-06-30  Sven de Marothy  <sven@physto.se>
14035
14036         * gnu/java/awt/peer/gtk/CairoGraphics2D.java:
14037         (drawGlyphVector): Don't draw empty vectors.
14038
14039 2006-06-30  Lillian Angel  <langel@redhat.com>
14040             Tom Fitzsimmons <fitzsim@redhat.com>
14041
14042         * gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java: Removed class.
14043         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java:
14044         Added current_group, groupMap fields. Added definitions for
14045         new native functions.
14046         (create): Removed FIXME. Added code to create the check button or
14047         radio button when appropriate. Updated groupMap to contain
14048         pointer to the newly created group.
14049         (setCheckboxGroup): Added code to handle all cases. Removing
14050         a button from a group, adding a button to a group, or changing the
14051         group of a button.
14052         (dispose): Changed to call super.
14053         * include/Makefile.am: Removed reference to 
14054         gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.h.
14055         * include/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.h: Removed file.
14056         * include/gnu_java_awt_peer_gtk_GtkCheckboxPeer.h: Added definitions
14057         for new functions.
14058         * native/jni/gtk-peer/Makefile.am: Removed reference to 
14059         gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c.
14060         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c:
14061         Removed file.
14062         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
14063         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_combobox_get_widget): 
14064         Renamed to checkbox_get_widget.
14065         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_connectSignals): 
14066         Changed to use checkbox_get_widget.
14067         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_nativeSetCheckboxGroup): 
14068         Removed.
14069         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_gtkWidgetModifyFont):
14070         Changed to use checkbox_get_widget.
14071         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_gtkButtonSetLabel):
14072         Likewise.
14073         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_createCheckButton):
14074         New function. Creates checkbutton without a group.
14075         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_createRadioButton):
14076         Creates a radio button in a group, using groupPointer. If groupPointer
14077         is 0, then a new group is created.
14078         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_addToGroup): Adds the
14079         check button to a group, using groupPointer. A radio button is created
14080         in its place. If groupPointer is 0, then a new group is created.
14081         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_removeFromGroup): The
14082         radio button is removed from the group. A check button is created in 
14083         its place.
14084         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_switchToGroup): The
14085         radio button is moved to a new group.
14086
14087 2006-06-30  Mark Wielaard  <mark@klomp.org>
14088
14089         * configure.ac: Move standard.omit creation after dirs are created.
14090         Cat standard.omit.in from srcdir. Make exclude regex more explicit.
14091         * lib/Makefile.am (EXTRA_DIST): Add standard.omit.in.
14092         (clean-local): Remove standard.omit.
14093         * lib/gen-classlist.sh.in: Use omit file in build dir.
14094         * lib/standard.omit.in: Make exclude regex more explicit.
14095
14096 2006-06-30  Roman Kennke  <kennke@aicas.com>
14097
14098         * lib/Makefile.am: Added Escher dir/jar to classpath when
14099         requested.
14100         * configure.ac: Moved handling of standard.omit to a place
14101         where it actually gets executed.
14102
14103 2006-06-30  David Gilbert  <david.gilbert@object-refinery.com>
14104
14105         * java/awt/TextComponent.java: Reformatted source code,
14106         * java/awt/TextField.java: Likewise.
14107
14108 2006-06-29  Jeroen Frijters <jeroen@sumatra.nl>
14109
14110         * java/lang/Thread.java:
14111         (getState()): Handle case of no VMThread
14112         correctly.
14113
14114 2006-06-29  Andrew John Hughes  <gnu_andrew@member.fsf.org>
14115
14116         * java/lang/Thread.java,
14117         * java/lang/VMThread.java:
14118         Reverted patch from 2006-06-28.
14119         
14120 2006-06-29  Roman Kennke  <kennke@aicas.com>
14121
14122         * gnu/java/awt/peer/x/GLGraphics.java,
14123         * gnu/java/awt/peer/x/ImageConverter.java,
14124         * gnu/java/awt/peer/x/KeyboardMapping.java,
14125         * gnu/java/awt/peer/x/XEventPump.java,
14126         * gnu/java/awt/peer/x/XFontPeer.java,
14127         * gnu/java/awt/peer/x/XFontPeer2.java,
14128         * gnu/java/awt/peer/x/XFramePeer.java,
14129         * gnu/java/awt/peer/x/XGraphics.java,
14130         * gnu/java/awt/peer/x/XGraphics2D.java,
14131         * gnu/java/awt/peer/x/XGraphicsConfiguration.java,
14132         * gnu/java/awt/peer/x/XGraphicsDevice.java,
14133         * gnu/java/awt/peer/x/XGraphicsEnvironment.java,
14134         * gnu/java/awt/peer/x/XImage.java,
14135         * gnu/java/awt/peer/x/XLightweightPeer.java,
14136         * gnu/java/awt/peer/x/XToolkit.java,
14137         * gnu/java/awt/peer/x/XWindowPeer.java,
14138         * gnu/java/awt/peer/x/fonts.properties: New files.
14139         * lib/standard.omit: Removed.
14140         * lib/standard.omit.in: Added.
14141         * configure.ac: Added configure option --with-escher. Added some
14142         configury for omitting gnu.java.awt.peer.x package when
14143         this option is not specified.
14144
14145 2006-06-29  David Gilbert  <david.gilbert@object-refinery.com>
14146
14147         * javax/swing/JComponent.java
14148         (JComponent()): Initialize the locale here, not the default locale,
14149         (getDefaultLocale): If null, return Locale.getDefault(),
14150         (setDefaultLocale): Added API docs.
14151
14152 2006-06-29  Tania Bento  <tbento@redhat.com>
14153
14154         * java/awt/Container.java
14155         (applyComponentOrientation): Implemented method.
14156
14157 2006-06-29  Gary Benson  <gbenson@redhat.com>
14158
14159         * java/io/File.java (listRoots): Merge security checks from libgcj.
14160
14161 2006-06-29  Gary Benson  <gbenson@redhat.com>
14162
14163         * java/io/FilePermission.java (implies): Work when path is "/".
14164
14165 2006-06-28  Andrew John Hughes  <gnu_andrew@member.fsf.org>
14166
14167         * java/lang/Thread.java:
14168         (Thread(ThreadGroup,Runnable,String,long)): Update
14169         state.
14170         (Thread(VMThread,String,int,boolean)): Likewise.
14171         (join(long,int)): Likewise.
14172         (resume()): Likewise.
14173         (sleep(long,int)): Likewise.
14174         (start()): Likewise.
14175         (stop()): Likewise.
14176         (suspend()): Likewise.
14177         (die()): Likewise.
14178         (getState()): Return either state or use VMThread.
14179         * java/lang/VMThread.java:
14180         (getState()): Added default implementation to return
14181         thread.state
14182         
14183 2006-06-28  Andreas Tobler  <a.tobler@schweiz.ch>
14184
14185         * gnu/java/awt/peer/gtk/CairoSurface.java: Swap the data from the
14186         GdkPixbuf correctly on big endian systems. Fix a typo in the little
14187         endian swapping code.
14188
14189         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c
14190         (Java_gnu_java_awt_peer_gtk_GtkImage_getPixels): Swap the pixeldata
14191         without alpha information correctly on big endian systems.
14192
14193 2006-06-28  Roman Kennke  <kennke@aicas.com>
14194
14195         * gnu/java/net/local/LocalSocket.java
14196         (setSoTimeout): Don't throw exception and ignore request.
14197         (getSoTimeout): Don't throw exception and always return 0.
14198
14199 2006-06-28  David Gilbert  <david.gilbert@object-refinery.com>
14200
14201         * javax/swing/JComponent.java
14202         (getRegisteredKeyStrokes): Implemented.
14203
14204 2006-06-28  David Gilbert  <david.gilbert@object-refinery.com>
14205
14206         * javax/swing/JComponent.java
14207         (verifyInputWhenFocusTarget): Initialise to true.
14208
14209 2006-06-28  David Gilbert  <david.gilbert@object-refinery.com>
14210
14211         * java/beans/VetoableChangeSupport.java
14212         (addVetoableChangeListener(VetoableChangeListener)): Do nothing for
14213         null listener,
14214         (addVetoableChangeListener(String, VetoableChangeListener)): Do nothing
14215         for null property name and/or listener,
14216         * javax/swing/JComponent.java
14217         (getListeners): Handle VetoableChangeListener.class as a special case,
14218         (getVetoableChangeListeners): Fetch these from the 
14219         vetoableChangeSupport object.
14220
14221 2006-06-28  David Gilbert  <david.gilbert@object-refinery.com>
14222
14223         * javax/swing/JComponent.java
14224         (componentPopupMenu): New field,
14225         (inheritsPopupMenu): New field,
14226         (getInheritsPopupMenu): Implemented,
14227         (setInheritsPopupMenu): Likewise,
14228         (getComponentPopupMenu): Likewise,
14229         (setComponentPopupMenu): Likewise,
14230         * javax/swing/JLabel.java
14231         (JLabel(String, Icon, int)): Set inheritsPopupMenu to true.
14232
14233 2006-06-28  Raif S. Naffah  <raif@swiftdsl.com.au>
14234
14235         * gnu/javax/crypto/key/dh/GnuDHPublicKey.java (str): New field.
14236         (toString): New method.
14237         * gnu/javax/crypto/key/dh/GnuDHPrivateKey.java (str): New field.
14238         (toString): New method.
14239         * gnu/javax/crypto/key/dh/GnuDHKey.java (str): New field.
14240         (toString): New method.
14241         * gnu/javax/crypto/key/dh/DHKeyPairPKCS8Codec.java (encodePrivateKey):
14242         Handle case when Q is null.
14243         (decodePrivateKey): Likewise.
14244         * gnu/javax/crypto/key/dh/DHKeyPairX509Codec.java (encodePublicKey):
14245         Likewise.
14246         (decodePublicKey): Likewise.
14247         * gnu/javax/crypto/jce/GnuCrypto.java (run): Added AlgorithmParameters
14248         aliases for all block ciphers.
14249         * gnu/javax/crypto/jce/DiffieHellmanImpl.java (result): Changed to byte[].
14250         (engineDoPhase): Compute fully the shared secret.
14251         (checkState): New method.
14252         (reset): Likewise.
14253         (engineGenerateSecret()): Reset key-agreement before returning.
14254         (engineGenerateSecret(byte[],int)): Check for short-buffer.
14255         Reset key-agreement before returning.
14256         (engineGenerateSecret(String)): Reset key-agreement before returning.
14257         (engineInit(Key,SecureRandom)): Call reset() before returning.
14258         * gnu/javax/crypto/jce/params/BlockCipherParameters.java (log): New field.
14259         (engineInit): Replace printing to System.out with conditional logging.
14260         * gnu/javax/crypto/jce/cipher/CipherAdapter.java (engineInitHandler):
14261         When the key-size is not specified, attempt best effort to find a suitable
14262         value among those advertised by the cipher before setting it to the length
14263         of provided key material.
14264
14265 2006-06-28  David Gilbert  <david.gilbert@object-refinery.com>
14266
14267         * javax/swing/table/DefaultTableColumnModel.java
14268         (changeEvent): Don't initialize yet, removed FIXME,
14269         (fireColumnModelChanged): Initialize changeEvent if necessary.
14270
14271 2006-06-27  Andrew John Hughes  <gnu_andrew@member.fsf.org>
14272
14273         * java/lang/Thread.java:
14274         (getAllStackTraces()): Implemented.
14275         (getStackTrace()): Likewise.
14276         
14277 2006-06-27  Tania Bento  <tbento@redhat.com>
14278
14279         * java/awt/Component.java
14280         (setComponentOrientation): NPE should not be thrown.
14281
14282 2006-06-27  Tom Tromey  <tromey@redhat.com>
14283
14284         * configure.ac: Create gjar, gnative2ascii, gserialver.
14285         * tools/gappletviewer.in: Quote $@.
14286         * tools/gkeytool.in: Likewise.
14287         * tools/gjarsigner.in: Likewise.
14288         * tools/gjar.in: New file.
14289         * tools/gnative2ascii.in: Likewise.
14290         * tools/gserialver.in: Likewise.
14291         * tools/Makefile.am (bin_PROGRAMS): Added gjar, gnative2ascii,
14292         gserialver.
14293         (bin_SCRIPTS): Likewise.
14294
14295 2006-06-27  Andrew John Hughes  <gnu_andrew@member.fsf.org>
14296
14297         * java/lang/management/ThreadMXBean.java:
14298         (getThreadInfo(long[])): Corrected return type.
14299         (getThreadInfo(long[], int)): Likewise.
14300
14301 2006-06-27  Mark Wielaard  <mark@klomp.org>
14302
14303         * java/awt/datatransfer/Clipboard.java (addFlavorListener): Do
14304         nothing when listener is null.
14305         (removeFlavorListener): Likewise.
14306
14307         * java/awt/datatransfer/DataFlavor.java
14308         (getRepresentationClassFromMime): Renamed to
14309         getRepresentationClassFromMimeThrows.
14310         (isRepresentationClassInputStream): Use Class.isAssignableFrom().
14311         (isRepresentationClassSerializable): Likewise.
14312         (isFlavorJavaFileListType): Likewise and check primary and
14313         subtype.
14314         (getParameter): Parameters are separated by semi-colons.
14315         (DataFlavor(Class,String,String)): Do some sanity checks.
14316         (DataFlavor(String,String,ClassLoader)): Call
14317         getRepresentationClassFromMimeThrows.
14318         (DataFlavor(String)): Likewise.
14319         (equals(DataFlavor)): Special case primary type text and charset
14320         parameter.
14321         
14322 2006-06-27  David Gilbert  <david.gilbert@object-refinery.com>
14323
14324         * java/awt/Component.java
14325         (setName): Fire required PropertyChangeEvent,
14326         * java/awt/Label.java
14327         (getText): Removed redundant brackets,
14328         (generateName): New method (override),
14329         (nextLabelNumber): New field,
14330         (getUniqueLong): New method.
14331
14332 2006-06-27  Roman Kennke  <kennke@aicas.com>
14333
14334         * gnu/java/awt/peer/swing/SwingComponentPeer.java
14335         (createImage): Delegate this to the parent.
14336         (handleEvent): Only handle PAINT/UPDATE events when the
14337         component is actually showing.
14338         (hide): Repaint the parent after hiding a component.
14339         (prepareImage): Have only one return point.
14340         (setVisible): Delegate to show() and hide().
14341         (createVolatileImage): Added null check to avoid NPE.
14342
14343 2006-06-27  David Gilbert  <david.gilbert@object-refinery.com>
14344
14345         * java/awt/Label.java: Reformatted source code.
14346
14347 2006-06-27  Roman Kennke  <kennke@aicas.com>
14348
14349         * java/awt/image/BufferedImage.java
14350         (getSource): Use a fixed DirectColorModel to deliver the
14351         RGB pixels to the ImageConsumer.
14352
14353 2006-06-27  David Gilbert  <david.gilbert@object-refinery.com>
14354
14355         * java/awt/Point.java
14356         (setLocation(double, double)): Round to nearest integer coordinates.
14357
14358 2006-06-27  David Gilbert  <david.gilbert@object-refinery.com>
14359
14360         * java/awt/Component.java
14361         (minSizeSet): New field,
14362         (maxSize): Likewise,
14363         (maxSizeSet): Likewise,
14364         (isMaximumSizeSet): Implemented,
14365         (isMinimumSizeSet): Likewise,
14366         (isPreferredSizeSet): Likewise,
14367         (setMaximumSize): Likewise,
14368         (setMinimumSize): Likewise,
14369         (setPreferredSize): Likewise. 
14370
14371 2006-06-27  Roman Kennke  <kennke@aicas.com>
14372
14373         * javax/imageio/spi/IIORegistry.java
14374         (IIORegistry): Added BMP codec.
14375
14376 2006-06-27  Mark Wielaard  <mark@klomp.org>
14377
14378         * javax/swing/JComponent.java
14379         (firePropertyChange(String,char,char)): New override method.
14380
14381 2006-06-26  Andrew John Hughes  <gnu_andrew@member.fsf.org>
14382
14383         * java/lang/Thread.java:
14384         (getState()): New method.
14385         * java/lang/management/ClassLoadingMXBean.java:
14386         Corrected class documentation.
14387         * java/lang/management/ManagementFactory.java:
14388         Added new temporary marked stub to get thread bean.
14389         * java/lang/management/OperatingSystemMXBean.java:
14390         Corrected class documentation.
14391         * java/lang/management/RuntimeMXBean.java:
14392         Corrected class documentation.
14393         * java/lang/management/ThreadInfo.java,
14394         * java/lang/management/ThreadMXBean.java:
14395         New classes.
14396         * vm/reference/java/lang/VMThread.java:
14397         (getState()): New method.
14398         * vm/reference/java/lang/management/VMThreadInfo.java:
14399         New VM class.
14400
14401 2006-06-26  Sven de Marothy  <sven@physto.se>
14402
14403         * gnu/javax/imageio/gif/GIFFile.java
14404         * gnu/javax/imageio/gif/GIFImageReader.java
14405         * gnu/javax/imageio/gif/GIFImageSpi.java
14406         * gnu/javax/imageio/gif/GIFStream.java
14407         New files.
14408         * javax/imageio/spi/IIORegistry.java: Load new GIF decoder plugin.
14409
14410 2006-06-26  Tania Bento  <tbento@redhat.com>
14411
14412         * java/awt/List.java
14413         (List): A list should have at least 4 visible rows.     
14414         (replaceItem): Should throw an ArrayIndexOutOfBoundsException,
14415         not an IllegalArgumentException.
14416         (makeVisible): Should not throw an IllegalArgumentException if
14417         the specified index is out of range.
14418
14419 2006-06-26  David Gilbert  <david.gilbert@object-refinery.com>
14420
14421         * javax/swing/JList.java
14422         (getNextMatch): Reimplemented to perform a circular search for the 
14423         matching item.
14424
14425 2006-06-26  David Gilbert  <david.gilbert@object-refinery.com>
14426
14427         * javax/swing/JList.java
14428         (init): Set default value for visibleRowCount to 8,
14429         (setVisibleRowCount): Fire PropertyChangeEvent when value changes.
14430
14431 2006-06-26  David Gilbert  <david.gilbert@object-refinery.com>
14432
14433         * javax/swing/JList.java
14434         (valueIsAdjusting): Removed,
14435         (init): Removed initialization of valueIsAdjusting field,
14436         (getValueIsAdjusting): Fetch value from selection model,
14437         (setValueIsAdjusting): Store value in selection model.
14438
14439 2006-06-26  Roman Kennke  <kennke@aicas.com>
14440
14441         * javax/swing/plaf/basic/BasicListUI.java
14442         (installKeyboardActions): Rewritten to fit with the
14443         ActionMap/InputMap architecture.
14444         (uninstallKeyboardActions): Implemented.
14445         (ListAction): Made private. Added TODO for splitting
14446         up this bulk Action.
14447         (ListAction.ListAction): New constructor. This one
14448         takes a cmd parameter to be installed as actionCommand.
14449
14450 2006-06-26  Raif S. Naffah  <raif@swiftdsl.com.au>
14451
14452         * gnu/java/security/key/rsa/RSAKeyPairRawCodec.java: Remove RCS Revision.
14453         * gnu/javax/crypto/assembly/DeflateTransformer.java: Likewise.
14454
14455 2006-06-26  Raif S. Naffah  <raif@swiftdsl.com.au>
14456
14457         * gnu/javax/crypto/jce/PBKDF2SecretKeyFactory.java: Source formatting.
14458         * gnu/javax/crypto/jce/GnuSasl.java: Likewise.
14459         * gnu/javax/crypto/jce/GnuCrypto.java: Likewise.
14460         * gnu/javax/crypto/jce/DiffieHellmanImpl.java: Likewise.
14461         * gnu/javax/crypto/jce/spec/UMac32ParameterSpec.java: Likewise.
14462         * gnu/javax/crypto/jce/spec/TMMHParameterSpec.java: Likewise.
14463         * gnu/javax/crypto/jce/spec/BlockCipherParameterSpec.java: Likewise.
14464         * gnu/javax/crypto/jce/sig/DHKeyFactory.java: Likewise.
14465         * gnu/javax/crypto/jce/prng/UMacRandomSpi.java: Likewise.
14466         * gnu/javax/crypto/jce/prng/ICMRandomSpi.java: Likewise.
14467         * gnu/javax/crypto/jce/prng/FortunaImpl.java: Likewise.
14468         * gnu/javax/crypto/jce/prng/CSPRNGSpi.java: Likewise.
14469         * gnu/javax/crypto/jce/prng/ARCFourRandomSpi.java: Likewise.
14470         * gnu/javax/crypto/jce/params/DERWriter.java: Likewise.
14471         * gnu/javax/crypto/jce/params/DERReader.java: Likewise.
14472         * gnu/javax/crypto/jce/params/DEREncodingException.java: Likewise.
14473         * gnu/javax/crypto/jce/params/BlockCipherParameters.java: Likewise.
14474         * gnu/javax/crypto/jce/mac/UMac32Spi.java: Likewise.
14475         * gnu/javax/crypto/jce/mac/UHash32Spi.java: Likewise.
14476         * gnu/javax/crypto/jce/mac/TMMH16Spi.java: Likewise.
14477         * gnu/javax/crypto/jce/mac/OMacTwofishImpl.java: Likewise.
14478         * gnu/javax/crypto/jce/mac/OMacTripleDESImpl.java: Likewise.
14479         * gnu/javax/crypto/jce/mac/OMacSquareImpl.java: Likewise.
14480         * gnu/javax/crypto/jce/mac/OMacSerpentImpl.java: Likewise.
14481         * gnu/javax/crypto/jce/mac/OMacRijndaelImpl.java: Likewise.
14482         * gnu/javax/crypto/jce/mac/OMacKhazadImpl.java: Likewise.
14483         * gnu/javax/crypto/jce/mac/OMacImpl.java: Likewise.
14484         * gnu/javax/crypto/jce/mac/OMacDESImpl.java: Likewise.
14485         * gnu/javax/crypto/jce/mac/OMacCast5Impl.java: Likewise.
14486         * gnu/javax/crypto/jce/mac/OMacBlowfishImpl.java: Likewise.
14487         * gnu/javax/crypto/jce/mac/OMacAnubisImpl.java: Likewise.
14488         * gnu/javax/crypto/jce/mac/MacAdapter.java: Likewise.
14489         * gnu/javax/crypto/jce/mac/HMacWhirlpoolSpi.java: Likewise.
14490         * gnu/javax/crypto/jce/mac/HMacTigerSpi.java: Likewise.
14491         * gnu/javax/crypto/jce/mac/HMacSHA512Spi.java: Likewise.
14492         * gnu/javax/crypto/jce/mac/HMacSHA384Spi.java: Likewise.
14493         * gnu/javax/crypto/jce/mac/HMacSHA256Spi.java: Likewise.
14494         * gnu/javax/crypto/jce/mac/HMacSHA160Spi.java: Likewise.
14495         * gnu/javax/crypto/jce/mac/HMacRipeMD160Spi.java: Likewise.
14496         * gnu/javax/crypto/jce/mac/HMacRipeMD128Spi.java: Likewise.
14497         * gnu/javax/crypto/jce/mac/HMacMD5Spi.java: Likewise.
14498         * gnu/javax/crypto/jce/mac/HMacMD4Spi.java: Likewise.
14499         * gnu/javax/crypto/jce/mac/HMacMD2Spi.java: Likewise.
14500         * gnu/javax/crypto/jce/mac/HMacHavalSpi.java: Likewise.
14501         * gnu/javax/crypto/jce/keyring/GnuKeyring.java: Likewise.
14502         * gnu/javax/crypto/jce/key/TwofishSecretKeyFactoryImpl.java: Likewise.
14503         * gnu/javax/crypto/jce/key/TwofishKeyGeneratorImpl.java: Likewise.
14504         * gnu/javax/crypto/jce/key/TripleDESKeyGeneratorImpl.java: Likewise.
14505         * gnu/javax/crypto/jce/key/SquareSecretKeyFactoryImpl.java: Likewise.
14506         * gnu/javax/crypto/jce/key/SquareKeyGeneratorImpl.java: Likewise.
14507         * gnu/javax/crypto/jce/key/SerpentSecretKeyFactoryImpl.java: Likewise.
14508         * gnu/javax/crypto/jce/key/SerpentKeyGeneratorImpl.java: Likewise.
14509         * gnu/javax/crypto/jce/key/SecretKeyGeneratorImpl.java: Likewise.
14510         * gnu/javax/crypto/jce/key/SecretKeyFactoryImpl.java: Likewise.
14511         * gnu/javax/crypto/jce/key/RijndaelSecretKeyFactoryImpl.java: Likewise.
14512         * gnu/javax/crypto/jce/key/RijndaelKeyGeneratorImpl.java: Likewise.
14513         * gnu/javax/crypto/jce/key/KhazadSecretKeyFactoryImpl.java: Likewise.
14514         * gnu/javax/crypto/jce/key/KhazadKeyGeneratorImpl.java: Likewise.
14515         * gnu/javax/crypto/jce/key/DESSecretKeyFactoryImpl.java: Likewise.
14516         * gnu/javax/crypto/jce/key/DESKeyGeneratorImpl.java: Likewise.
14517         * gnu/javax/crypto/jce/key/DESedeSecretKeyFactoryImpl.java: Likewise.
14518         * gnu/javax/crypto/jce/key/Cast5SecretKeyFactoryImpl.java: Likewise.
14519         * gnu/javax/crypto/jce/key/Cast5KeyGeneratorImpl.java: Likewise.
14520         * gnu/javax/crypto/jce/key/BlowfishSecretKeyFactoryImpl.java: Likewise.
14521         * gnu/javax/crypto/jce/key/BlowfishKeyGeneratorImpl.java: Likewise.
14522         * gnu/javax/crypto/jce/key/AnubisSecretKeyFactoryImpl.java: Likewise.
14523         * gnu/javax/crypto/jce/key/AnubisKeyGeneratorImpl.java: Likewise.
14524         * gnu/javax/crypto/jce/cipher/TwofishSpi.java: Likewise.
14525         * gnu/javax/crypto/jce/cipher/TripleDESSpi.java: Likewise.
14526         * gnu/javax/crypto/jce/cipher/SquareSpi.java: Likewise.
14527         * gnu/javax/crypto/jce/cipher/SerpentSpi.java: Likewise.
14528         * gnu/javax/crypto/jce/cipher/RijndaelSpi.java: Likewise.
14529         * gnu/javax/crypto/jce/cipher/PBES2.java: Likewise.
14530         * gnu/javax/crypto/jce/cipher/NullCipherSpi.java: Likewise.
14531         * gnu/javax/crypto/jce/cipher/KhazadSpi.java: Likewise.
14532         * gnu/javax/crypto/jce/cipher/DESSpi.java: Likewise.
14533         * gnu/javax/crypto/jce/cipher/CipherAdapter.java: Likewise.
14534         * gnu/javax/crypto/jce/cipher/Cast5Spi.java: Likewise.
14535         * gnu/javax/crypto/jce/cipher/BlowfishSpi.java: Likewise.
14536         * gnu/javax/crypto/jce/cipher/ARCFourSpi.java: Likewise.
14537         * gnu/javax/crypto/jce/cipher/AnubisSpi.java: Likewise.
14538         * gnu/javax/crypto/jce/cipher/AESSpi.java: Likewise.
14539
14540 2006-06-26  David Gilbert  <david.gilbert@object-refinery.com>
14541
14542         * javax/swing/JList.java
14543         (setLayoutOrientation): Check for valid argument.
14544
14545 2006-06-26  Roman Kennke  <kennke@aicas.com>
14546
14547         * javax/swing/JComponent.java
14548         (firePropertyChange(String,int,int)): New method. Overrides
14549         Component method and makes it public.
14550         (firePropertyChange(String,boolean,boolean)): Likewise.
14551
14552 2006-06-25  Vivek Lakshmanan  <vivekl@redhat.com>
14553         
14554         * gnu/java/security/.cvsignore: New File.
14555         * gnu/java/security/Configuration.java.in: New File.
14556         * gnu/java/security/Properties.java: Change import from 
14557         gnu.classpath.Configuration to gnu.java.security.Configuration.
14558         * gnu/java/security/hash/Whirlpool.java: Likewise.
14559         * gnu/java/security/jce/sig/EncodedKeyFactory.java: Likewise.
14560         * gnu/java/security/jce/sig/SignatureAdapter.java: Likewise.
14561         * gnu/java/security/key/dss/DSSKeyPairGenerator.java: Likewise.
14562         * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java: Likewise.
14563         * gnu/java/security/key/dss/DSSPrivateKey.java: Likewise.
14564         * gnu/java/security/key/rsa/GnuRSAPrivateKey.java: Likewise.
14565         * gnu/java/security/key/rsa/RSAKeyPairGenerator.java: Likewise.
14566         * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java: Likewise.
14567         * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java: Likewise.
14568         * gnu/java/security/pkcs/PKCS7SignedData.java: Likewise.
14569         * gnu/java/security/pkcs/SignerInfo.java: Likewise.
14570         * gnu/java/security/provider/PKIXCertPathValidatorImpl.java: Likewise.
14571         * gnu/java/security/sig/rsa/EMSA_PSS.java: Likewise.
14572         * gnu/java/security/sig/rsa/RSAPSSSignature.java: Likewise.
14573         * gnu/java/security/util/Base64.java: Likewise.
14574         * gnu/java/security/x509/X509CRL.java: Likewise.
14575         * gnu/java/security/x509/X509CRLEntry.java: Likewise.
14576         * gnu/java/security/x509/ext/Extension.java: Likewise.
14577         * gnu/javax/crypto/cipher/Anubis.java: Likewise.
14578         * gnu/javax/crypto/cipher/BaseCipher.java: Likewise.
14579         * gnu/javax/crypto/cipher/Khazad.java: Likewise.
14580         * gnu/javax/crypto/cipher/Rijndael.java: Likewise.
14581         * gnu/javax/crypto/cipher/Twofish.java: Likewise.
14582         * gnu/javax/crypto/jce/keyring/GnuKeyring.java: Likewise.
14583         * gnu/javax/crypto/jce/prng/ICMRandomSpi.java: Likewise.
14584         * gnu/javax/crypto/jce/prng/UMacRandomSpi.java: Likewise.
14585         * gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java: Likewise.
14586         * gnu/javax/crypto/key/srp6/SRPKeyPairGenerator.java: Likewise.
14587         * gnu/javax/crypto/keyring/Entry.java: Likewise.
14588         * gnu/javax/crypto/keyring/EnvelopeEntry.java: Likewise.
14589         * gnu/javax/crypto/keyring/GnuPrivateKeyring.java: Likewise.
14590         * gnu/javax/crypto/keyring/GnuPublicKeyring.java: Likewise.
14591         * gnu/javax/crypto/keyring/PasswordAuthenticatedEntry.java: Likewise.
14592         * gnu/javax/crypto/keyring/PasswordEncryptedEntry.java: Likewise.
14593         * gnu/javax/crypto/mac/OMAC.java: Likewise.
14594         * gnu/javax/crypto/pad/BasePad.java: Likewise.
14595         * gnu/javax/crypto/pad/PKCS1_V1_5.java: Likewise.
14596         * gnu/javax/crypto/pad/PKCS7.java: Likewise.
14597         * gnu/javax/crypto/pad/TBC.java: Likewise.
14598         * gnu/javax/crypto/prng/CSPRNG.java: Likewise.
14599         * gnu/javax/crypto/sasl/SaslInputStream.java: Likewise.
14600         * gnu/javax/crypto/sasl/SaslOutputStream.java: Likewise.
14601         * gnu/javax/crypto/sasl/srp/SRPClient.java: Likewise.
14602         * gnu/javax/crypto/sasl/srp/SRPServer.java: Likewise.
14603         * gnu/javax/security/auth/login/ConfigFileParser.java: Likewise.
14604         * gnu/javax/security/auth/login/ConfigFileTokenizer.java: Likewise.
14605         * gnu/javax/security/auth/login/GnuConfiguration.java 
14606         (getAppConfigurationEntry): Change reference to 
14607         gnu.classpath.Configuration.DEBUG to gnu.java.security.Configuration.DEBUG.
14608         (getConfigFromUserHome): Likewise.
14609         (getInputStreamFromURL): Likewise.
14610         (getUserHome): Likewise.
14611         (init): Likewise.
14612         (processSecurityProperties): Likewise.
14613         (processSystemProperty): Likewise.
14614         (processUserHome): Likewise.
14615         * configure.ac: Add gnu/java/security/Configuration.java to AC_CONFIG_FILES list.
14616         * lib/Makefile.am: Remove gnu/java/security/Configuration.java when required.
14617         
14618
14619 2006-06-25  Carsten Neumann  <cn-develop@gmx.net>
14620
14621         * javax/swing/text/DefaultCaret.java (isActive): New method.
14622
14623 2006-06-26  Andrew John Hughes  <gnu_andrew@member.fsf.org>
14624
14625         * gnu/java/lang/management/ClassLoadingMXBeanImpl.java,
14626         * java/lang/management/ClassLoadingMXBean.java:
14627         (getTotalLoadedClassCount()): Corrected return type.
14628         (getUnloadedClassCount()): Likewise.
14629         * vm/reference/gnu/java/lang/management/VMClassLoadingMXBeanImpl.java:
14630         (getUnloadedClassCount()): Likewise.
14631         
14632 2006-06-25  Raif S. Naffah  <raif@swiftdsl.com.au>
14633
14634         * gnu/javax/crypto/cipher/WeakKeyException.java: Source formatting.
14635         * gnu/javax/crypto/cipher/Twofish.java: Likewise.
14636         * gnu/javax/crypto/cipher/TripleDES.java: Likewise.
14637         * gnu/javax/crypto/cipher/Square.java: Likewise.
14638         * gnu/javax/crypto/cipher/Serpent.java: Likewise.
14639         * gnu/javax/crypto/cipher/Rijndael.java: Likewise.
14640         * gnu/javax/crypto/cipher/NullCipher.java: Likewise.
14641         * gnu/javax/crypto/cipher/Khazad.java: Likewise.
14642         * gnu/javax/crypto/cipher/IBlockCipherSpi.java: Likewise.
14643         * gnu/javax/crypto/cipher/IBlockCipher.java: Likewise.
14644         * gnu/javax/crypto/cipher/DES.java: Likewise.
14645         * gnu/javax/crypto/cipher/CipherFactory.java: Likewise.
14646         * gnu/javax/crypto/cipher/Cast5.java: Likewise.
14647         * gnu/javax/crypto/cipher/Blowfish.java: Likewise.
14648         * gnu/javax/crypto/cipher/BaseCipher.java: Likewise.
14649         * gnu/javax/crypto/cipher/Anubis.java: Likewise.
14650
14651 2006-06-25  Raif S. Naffah  <raif@swiftdsl.com.au>
14652
14653         * gnu/javax/crypto/assembly/TransformerException.java: Source formatting.
14654         * gnu/javax/crypto/assembly/Transformer.java: Likewise.
14655         * gnu/javax/crypto/assembly/Stage.java: Likewise.
14656         * gnu/javax/crypto/assembly/PaddingTransformer.java: Likewise.
14657         * gnu/javax/crypto/assembly/Operation.java: Likewise.
14658         * gnu/javax/crypto/assembly/ModeStage.java: Likewise.
14659         * gnu/javax/crypto/assembly/LoopbackTransformer.java: Likewise.
14660         * gnu/javax/crypto/assembly/Direction.java: Likewise.
14661         * gnu/javax/crypto/assembly/DeflateTransformer.java: Likewise.
14662         * gnu/javax/crypto/assembly/CascadeTransformer.java: Likewise.
14663         * gnu/javax/crypto/assembly/CascadeStage.java: Likewise.
14664         * gnu/javax/crypto/assembly/Cascade.java: Likewise.
14665         * gnu/javax/crypto/assembly/Assembly.java: Likewise.
14666
14667 2006-06-24  Andrew John Hughes  <gnu_andrew@member.fsf.org>
14668
14669         * NEWS,
14670         * doc/vmintegration.texinfo:
14671         Updated with information on new VM interface.
14672         * gnu/java/lang/management/ClassLoadingMXBeanImpl.java,
14673         * java/lang/management/ClassLoadingMXBean.java:
14674         New files implementing the class loading bean.
14675         * java/lang/management/ManagementFactory.java:
14676         (getClassLoadingMXBean()): Implemented.
14677         * vm/reference/gnu/java/lang/management/VMClassLoadingMXBeanImpl.java:
14678         New VM interface file.
14679
14680 2006-06-24  Andrew John Hughes  <gnu_andrew@member.fsf.org>
14681
14682         * gnu/java/lang/management/RuntimeMXBeanImpl.java:
14683         (isBootClassPathSupported()): Use SystemProperties
14684         rather than System.getProperty.
14685         
14686 2006-06-24  Raif S. Naffah  <raif@swiftdsl.com.au>
14687
14688         * gnu/java/security/Properties.java: Source formatting.
14689         * gnu/java/security/Registry.java: Likewise.
14690
14691 2006-06-24  Raif S. Naffah  <raif@swiftdsl.com.au>
14692
14693         * gnu/java/security/util/Util.java: Source formatting.
14694         * gnu/java/security/util/SimpleList.java: Likewise.
14695         * gnu/java/security/util/Sequence.java: Likewise.
14696         * gnu/java/security/util/PRNG.java: Likewise.
14697         * gnu/java/security/util/ExpirableObject.java: Likewise.
14698         * gnu/java/security/util/Base64.java: Likewise.
14699         * gnu/java/security/sig/SignatureFactory.java: Likewise.
14700         * gnu/java/security/sig/ISignatureCodec.java: Likewise.
14701         * gnu/java/security/sig/ISignature.java: Likewise.
14702         * gnu/java/security/sig/BaseSignature.java: Likewise.
14703         * gnu/java/security/sig/rsa/RSAPSSSignatureRawCodec.java: Likewise.
14704         * gnu/java/security/sig/rsa/RSAPSSSignature.java: Likewise.
14705         * gnu/java/security/sig/rsa/RSAPKCS1V1_5Signature.java: Likewise.
14706         * gnu/java/security/sig/rsa/RSA.java: Likewise.
14707         * gnu/java/security/sig/rsa/EMSA_PSS.java: Likewise.
14708         * gnu/java/security/sig/rsa/EMSA_PKCS1_V1_5.java: Likewise.
14709         * gnu/java/security/sig/rsa/EME_PKCS1_V1_5.java: Likewise.
14710         * gnu/java/security/sig/dss/DSSSignatureRawCodec.java: Likewise.
14711         * gnu/java/security/sig/dss/DSSSignature.java: Likewise.
14712         * gnu/java/security/provider/X509CertificateFactory.java: Likewise.
14713         * gnu/java/security/provider/PKIXCertPathValidatorImpl.java: Likewise.
14714         * gnu/java/security/provider/Gnu.java: Likewise.
14715         * gnu/java/security/prng/RandomEventListener.java: Likewise.
14716         * gnu/java/security/prng/RandomEvent.java: Likewise.
14717         * gnu/java/security/prng/PRNGFactory.java: Likewise.
14718         * gnu/java/security/prng/MDGenerator.java: Likewise.
14719         * gnu/java/security/prng/LimitReachedException.java: Likewise.
14720         * gnu/java/security/prng/IRandom.java: Likewise.
14721         * gnu/java/security/prng/EntropySource.java: Likewise.
14722         * gnu/java/security/prng/BasePRNG.java: Likewise.
14723
14724 2006-06-23  Francis Kung  <fkung@redhat.com>
14725
14726         * examples/gnu/classpath/examples/java2d/J2dBenchmarkGUI.java
14727         (Harness.actionPerformed): Process additional options.
14728         (J2dBenchmarkWrapper): Defer init call until after options are processed.
14729         (J2dBenchmarkWrapper.setAlias): New method.
14730         (J2dBenchmarkWrapper.setComposite): New method.
14731         (J2dBenchmarkWrapper.setFill): New method.
14732         (J2dBenchmarkWrapper.setRotation): New method.
14733         (J2dBenchmarkWrapper.setShear): New method.
14734         (J2dBenchmarkWrapper.setStroke): New method.
14735         (J2dBenchmarkWrapper.setTranslation): New method.
14736         (run): Add additional options to GUI.
14737         * examples/gnu/classpath/examples/java2d/J2dBenchmark.java:
14738         Added protected fields for various options.
14739         (GraphicsTest.runSet_noClipping): Reset graphics settings between tests.
14740         (GraphicsTest.runSet_withClipping): Reset graphics settings between tests.
14741         (GraphicsTest.runSet_zeroClipping): Reset graphics settings between tests.
14742         (getNextColor): Renamed to setRandom.
14743         (init): Load additional image for texturing if needed.
14744         (loadBufferedImage): New method.
14745         (main): Accept additional command-line switches.
14746         (prepareGraphics): New method.
14747         (resetGraphics): New method.
14748         (runTestSuite): Accept additional image-processing options.
14749         (setRandom): Renamed from getNextColor; generate various random options
14750         (test_drawArc): Rename getNextColor to setRandom.
14751         (test_drawCubic): Likewise.
14752         (test_drawEllipse): Likewise.
14753         (test_drawGeneralPath): Likewise.
14754         (test_drawImage): Likewise.
14755         (test_drawLine): Likewise.
14756         (test_drawQuadCurve): Likewise.
14757         (test_drawRectangle): Likewise.
14758         (test_drawRoundRectangle): Likewise.
14759         (test_drawTransparentImage): Likewise.
14760         (test_fillArc): Rename getNextColor to setRandom.
14761         (test_fillEllipse): Likewise.
14762         (test_fillGeneralPath): Likewise.
14763         (test_fillRectangle): Likewise.
14764         (test_fillRoundRectangle): Likewise.
14765         (TestRecorder.getAverage): Round the average time.
14766
14767 2006-06-23  Tom Tromey  <tromey@redhat.com>
14768
14769         * java/util/logging/LoggingMXBean.java: New file.
14770         * java/util/logging/LogManager.java (LOGGING_MXBEAN_NAME): New field.
14771         (loggingBean): New field.
14772         (getLoggingMXBean): New method.
14773
14774 2006-06-23  Tania Bento  <tbento@redhat.com>
14775
14776         * java/awt/TextField.java
14777         (TextField): Default number of columns should be 0, not 1.
14778         (TextField): Check if number of columns given as argument
14779         is valid (>= 0) and set the number of columns accordingly.
14780         (TextField): Check if the string passed is null. If it is, 
14781         set columns to 0, else columns is set to the length of
14782         the string.
14783
14784 2006-06-23  Roman Kennke  <kennke@aicas.com>
14785
14786         * javax/swing/plaf/basic/BasicInternalFrameUI.java
14787         (InternalFramePropertyChangeListener.propertyChange):
14788         Don't call getPropertyName() repeatedly. Added null checks
14789         to avoid NPEs. Call closeFrame() if the closed property
14790         changes.
14791
14792 2006-06-23  Roman Kennke  <kennke@aicas.com>
14793
14794         * javax/swing/JInternalFrame.java
14795         (maxTransition): Removed.
14796         (JInternalFrame): Set maxium=false. Initialize desktopIcon here.
14797         Don't initialize storedBounds here.
14798         (dipose): Rewritten to correctly dispose the JInternalFrame.
14799         (getDesktopIcon): Don't initialize desktopIcon here.
14800         (getLayer): Delegate to JLayeredPane.getLayer().
14801         (getNormalBounds): Return bounds when storedBounds == null,
14802         otherwise storedBounds.
14803         (hide): Don't change selection. Also hide the desktopIcon.
14804         (moveToBack): Call getParent() only once.
14805         (moveToFront): Call getParent() only once.
14806         (pack): Call validate() to make sure that the layout is
14807         propagated to the children.
14808         (setClosed): Fire InternalFrameEvent first, before the
14809         PropertyVetoEvent.
14810         (setJMenuBar): Fire PropertyChangeEvent for this property.
14811         (setLayer): Delegate to JLayeredPane.
14812         (setLayeredPane): Check for null and throw IllegalArgumenException.
14813         (setMaximum): Remove handling of maxTransition and normalBounds.
14814         Should probably be done in the UI.
14815         (setNormalBounds): Store Rectangle object directly, not a copy.
14816         (setRootPane): Go into rootPaneCheckingEnabled mode so that
14817         adding the RootPane doesn't add it to the contentPane.
14818         Fire PropertyChangeEvent.
14819         (setSelected): Added condition for when this property must not
14820         be changed.
14821         (show): Don't ask the DesktopPane to select the frame. Moved
14822         code around to fire InternalFrameEvent before actually calling
14823         super.show(). Also make the desktopIcon visible.
14824         (setTitle): Fire PropertyChangeEvent unconditionally.
14825
14826 2006-06-23  Roman Kennke  <kennke@aicas.com>
14827
14828         * javax/swing/JLayeredPane.java
14829         (getPosition): Moved code around to avoid unnecessary method calls.
14830         (setPosition): Delegate to setLayer().
14831         (insertIndexForLayer(int,int)): Delegate to new private helper method.
14832         (insertIndexForLayer(Component,int,int)): New helper method
14833         to support the use of setComponentZOrder() which doesn't remove
14834         the component and thus the insertIndexForLayer must ignore
14835         the component to be moved to get the index right.
14836         (setLayer): Added check to prevent unnecessary execution of
14837         method body. Changed to update the component order here.
14838         Added repaint() to make sure that the update becomes visible.
14839         (addImpl): Call setLayer() only when a constraint has been specified.
14840         Validate and repaint the JLayeredPane.
14841
14842 2006-06-23  Roman Kennke  <kennke@aicas.com>
14843
14844         * java/awt/Container.java
14845         (getComponentZOrder): Use ncomponents instead of
14846         component.length so that we don't consider the empty space
14847         after the last component.
14848
14849 2006-06-22  Roman Kennke  <kennke@aicas.com>
14850
14851         * javax/swing/JComponent.java
14852         (vetoableChangeSupport): New field.
14853         (removeVetoableChangeListener): Rewritten to use
14854         vetoableChangeSupport.
14855         (addVetoableChangeListener): Rewritten to use
14856         vetoableChangeSupport.
14857         (fireVetoableChange): Rewritten to use
14858         vetoableChangeSupport.
14859         (addPropertyChangeListener): Removed. This is handled in
14860         Component already.
14861         (firePropertyChange(String,boolean,boolean)): Likewise.
14862         (firePropertyChange(String,char,char)): Likewise.
14863         (firePropertyChange(String,int,int)): Likewise.
14864         (revalidate): Don't do anything when the commponent has no
14865         parent.
14866
14867 2006-06-22  David Gilbert  <david.gilbert@object-refinery.com>
14868
14869         * javax/swing/JLabel.java: Updated API docs.
14870
14871 2006-06-22  Robert Schuster  <robertschuster@fsfe.org>
14872
14873         * java/awt/Insets.java: Updated copyright year.
14874         (toString): Changed string, removed a line from the 
14875         documentation.
14876
14877 2006-06-22  Roman Kennke  <kennke@aicas.com>
14878
14879         * javax/swing/text/AbstractDocument.java
14880         (AbstractDocument): Set the i18n document property.
14881         (removeImpl): Added checks for correct boundaries.
14882
14883 2006-06-22  Roman Kennke  <kennke@aicas.com>
14884
14885         * javax/swing/text/PlainDocument.java
14886         (rootElement): Changed type to Element.
14887         (tabSize): Removed field. This is stored in the document properties
14888         instead.
14889         (PlainDocument): Set tabSize property. Init rootElement without
14890         cast.
14891         (insertUpdate): Rewritten. The previous implementation did not
14892         handle some corner cases properly and was a mess.
14893         (removeUpdate): Cast rootElement to BranchElement.
14894
14895 2006-06-22  David Gilbert  <david.gilbert@object-refinery.com>
14896
14897         * javax/swing/plaf/basic/BasicLabelUI.java
14898         (installKeyboardActions): Implemented,
14899         (uninstallKeyboardActions): Implemented,
14900         (propertyChange): Add handling for 'displayedMnemonic' and 'labelFor'
14901         properties.
14902
14903 2006-06-22  Robert Schuster  <robertschuster@fsfe.org>
14904
14905         * javax/swing/JMenu.java:
14906         (removeAll): Added check for popupMenu not being null.
14907
14908 2006-06-22  David Gilbert  <david.gilbert@object-refinery.com>
14909
14910         * javax/swing/JLabel.java
14911         (getText): Updated API docs,
14912         (setText): Corrected the check for an unchanged value, and the update 
14913         of the displayedMnemonicIndex.
14914
14915 2006-06-22  David Gilbert  <david.gilbert@object-refinery.com>
14916
14917         * javax/swing/JLabel.java
14918         (setDisplayedMnemonic(int)): Fire property change event AFTER updating 
14919         field,
14920         (setDisplayedMnemonicIndex): Modified argument checking to handle case
14921         where label text is null.
14922
14923 2006-06-22  David Gilbert  <david.gilbert@object-refinery.com>
14924
14925         * javax/swing/JLabel.java
14926         (setDisplayedMnemonic): Updated API docs,
14927         (getDisplayedMnemonic): Removed unnecessary type-cast,
14928         (setDisplayedMnemonicIndex): Removed unnecessary validation, 
14929         (getDisplayedMnemonicIndex): Updated API docs.
14930
14931 2006-06-21  Jeroen Frijters  <jeroen@frijters.net>
14932
14933         * java/util/Collections (entrySet): Fixed compile error.
14934
14935 2006-06-21  David Gilbert  <david.gilbert@object-refinery.com>
14936
14937         * javax/swing/DefaultListSelectionModel.java
14938         (getSelectionMode): Updated API docs,
14939         (setAnchorSelectionIndex): Added ListSelectionEvent generation,
14940         (addSelectionInterval): If mode is SINGLE_SELECTION, just call 
14941         setSelectionInterval(),
14942         (setSelectionInterval): Reimplemented SINGLE_SELECTION and 
14943         SINGLE_INTERVAL_SELECTION cases.
14944
14945 2006-06-21  Roman Kennke  <kennke@aicas.com>
14946
14947         * javax/swing/text/AbstractDocument.java
14948         (BranchElement.numChildren): New field.
14949         (BranchElement.BranchElement): Initialize children array with
14950         one element (that's the least number of elements that makes sense).
14951         Initialize numChildren.
14952         (BranchElement.children): Use numChildren as boundary.
14953         (BranchElement.getElement): Use numChildren as boundary.
14954         (BranchElement.getElementCount): Use numChildren as boundary.
14955         (BranchElement.getElementIndex): Use numChildren as boundary.
14956         (BranchElement.getEndOffset): Use numChildren as boundary.
14957         (BranchElement.getStartOffset): Use numChildren as boundary.
14958         (BranchElement.positionToElement): Use numChildren as boundary.
14959         (BranchElement.replace): Handle the children array more efficiently
14960         by growing in blocks > 1, and reusing space from removed elements.
14961         (LeafElement.startDelta): Removed.
14962         (LeafElement.endDelta): Removed.
14963         (LeafElement.LeafElement): Removed handling of deltas.
14964         (LeafElement.getEndOffset): Likewise.
14965         (LeafElement.getStartOffset): Likewise.
14966         * javax/swing/text/JTextComponent.java
14967         (setDocument): Added locking of the old document to avoid dangling
14968         notification beeing delivered while the document is beeing
14969         disconnected.
14970         (getScrollableTracksViewportWidth): Fixed condition.
14971         * javax/swing/text/PlainDocument.java
14972         (createDefaultRoot): Create elements without AttributeSet.
14973         * javax/swing/text/rtf/RTFParser.java
14974         (parseFile): Handle slightly incorrect RTF gracefully.
14975         * javax/swing/text/rtf/RTFScanner.java
14976         (lastToken): New field.
14977         (readTokenImpl): New method.
14978         (peekToken): New method.
14979         (readToken): Changed to call readTokenImpl or return the lastToken
14980         if there's one present.
14981
14982 2006-06-21  Tania Bento  <tbento@redhat.com>
14983
14984         * javax/swing/JMenu.java
14985         (remove): An IllegalArgumentException should be thrown if
14986         either index < 0 or if index > 0 and there are no menu
14987         components. Also, a check was added that ensures there are
14988         menu components before removing the desired the component.
14989
14990 2006-06-21  Lillian Angel  <langel@redhat.com>
14991
14992         * javax/swing/text/DefaultCaret.java
14993         (install): Added check to prevent NPE.
14994         (propertyChange): Added checks to prevent NPEs.
14995
14996 2006-06-21  Tania Bento  <tbento@redhat.com>
14997
14998         * javax/swing/JMenu.java
14999         Changed instantiation of popupMenu to null.
15000         (JMenu): Instantiated popupMenu to new JPopupMenu.
15001         (JMenu): Instantiated popupMenu to new JPopupMenu.      
15002         (add): Changed popupMenu to getPopupMenu().
15003         (add): Changed popupMenu to getPopupMenu().
15004         (add): Changed popupMenu to getPopupMenu().
15005         (add): Changed popupMenu to getPopupMenu().
15006         (remove): Changed popupMenu to getPopupMenu().
15007         (remove): Changed popupMenu to getPopupMenu().
15008         (insert): Changed popupMenu to getPopupMenu().
15009         (setSelectedHelper): Changed popupMenu to getPopupMenu().
15010         (isPopupMenuVisible): Changed popupMenu to getPopupMenu().
15011         (setPopupMenuVisible): Changed popupMenu to getPopupMenu().
15012         (getMenuComponentCount): Changed popupMenu to getPopupMenu().
15013         (getMenuComponents): Changed popupMenu to getPopupMenu().
15014         (getPopupMenu): Check first if popupMenu is null and if so,
15015         instantiate it to a new JPopupMenu and set the invoker.
15016         * javax/swing/plaf/basic/BasicPopupMenuUI.java
15017         (popupMenuWillBecomeVisible): Component Listener should only
15018         be added to the root container if the root container is not 
15019         null. This avoids a null pointer exception.
15020
15021 2006-06-21  Tania Bento  <tbento@redhat.com>
15022
15023         * javax/swing/JMenu.java
15024         (JMenu): Delay should be set to 200, not default of 0.
15025         (JMenu): Delay should be set to 200, not default of 0.
15026         (JMenu): Delay should be set to 200, not default of 0.
15027         (JMenu): Delay should be set to 200, not default of 0.  
15028         (remove): Added check that index >= 0 before removing
15029         the component.
15030         (getItem): Return null if item count equals 0.
15031         (isTearOff): Should throw new error and not return false.
15032         (getMenuComponent): Return null if popupMenu is null or
15033         if there are no menu components.
15034
15035 2006-06-21  Roman Kennke  <kennke@aicas.com>
15036
15037         * java/awt/font/FontRenderContext.java:
15038         (equals): Added special conditions for affineTransform beeing
15039         null.
15040
15041 2006-06-21  Roman Kennke  <kennke@aicas.com>
15042
15043         * javax/swing/UIManager.java
15044         (MultiplexUIDefaults.clear): Removed method. The fallback UIDefaults
15045         must not be cleared.
15046
15047 2006-06-21  Roman Kennke  <kennke@aicas.com>
15048
15049         * javax/swing/plaf/metal/MetalUtils.java
15050         (paintHorizontalGradient): Use paintHorizontalGradient2D when
15051         Graphics2D is available. Use fillRect instead of drawLine, this
15052         is much faster.
15053         (paintVerticalGradient): Use paintHorizontalGradient2D when
15054         Graphics2D is available. Use fillRect instead of drawLine, this
15055         is much faster.
15056         (paintHorizontalGradient2D): New method. Paints gradient
15057         using Graphics2D functions.
15058         (paintVerticalGradient2D): New method. Paints gradient
15059         using Graphics2D functions.
15060
15061 2006-06-21  Roman Kennke  <kennke@aicas.com>
15062
15063         * javax/swing/plaf/basic/BasicButtonListener.java
15064         (propertyChange): Create a TextLayout and store it in the button
15065         when the 'text' property changes.
15066         * javax/swing/plaf/basic/BasicButtonUI.java
15067         (paintText): Call BasicGraphicsUtils utility method for
15068         drawing strings, instead of Graphics.drawString().
15069         * javax/swing/plaf/basic/BasicGraphicsUtils.java
15070         (CACHE_TEXT_LAYOUT): New constant field. Used as a key for storing
15071         cached text layouts as client properties in JComponents.
15072         (drawString(JComponent,Graphics,String,int,int)): New helper method.
15073         (drawStringUnderlineCharAt): New helper method.
15074         * javax/swing/plaf/basic/BasicMenuItemUI.java
15075         (PropertyChangeHandler.propertyChange): Update cached text layout
15076         when 'text' property changes. Use equals() instead of == for
15077         string comparison.
15078         (paintText): Use new BasicGraphicsUtils methods for painting
15079         the cached text layout.
15080         (installListeners): Call super.installListeners() and remove
15081         the unneeded listener installs.
15082         (uninstallListeners): Call super.uninstallListeners() and remove
15083         the unneeded listener uninstalls.
15084
15085 2006-06-21  Roman Kennke  <kennke@aicas.com>
15086
15087         * javax/swing/plaf/basic/BasicTextUI.java
15088         (PropertyChangeHandler.propertyChange): Handle document listener
15089         update here.
15090         (background): Removed unneeded fields.
15091         (inactiveBackground): Remove unneeded fields.
15092         (installUI): Install the document listener. Slightly changed
15093         order of operations. Don't trigger modelChanged().
15094         (installDefaults): Only install properties when the
15095         current properties are null or instances of UIResource.
15096         (installListeners): Removed unnecessary listener installs.
15097         (installDocumentListeners): Removed unneeded method.
15098         (uninstallListeners): Removed unnecessary listener uninstalls.
15099         (modelChanged): Removed call to installDocumentListeners().     
15100         * javax/swing/plaf/basic/BasicTextFieldUI.java
15101         (propertyChange): Update the colors by fetching them from
15102         SharedUIDefaults. Fixed conditions.
15103         * javax/swing/plaf/basic/SharedUIDefaults.java
15104         (getColor): New method.
15105
15106 2006-06-21  Roman Kennke  <kennke@aicas.com>
15107
15108         * javax/swing/SizeSequence.java
15109         (SizeSequence): Initialize array with correct number of entries.
15110
15111 2006-06-21  Roman Kennke  <kennke@aicas.com>
15112
15113         * javax/swing/JSplitPane.java
15114         (setDividerLocation): Substract divider size when computing
15115         the absolute size.
15116
15117 2006-06-21  Roman Kennke  <kennke@aicas.com>
15118
15119         * javax/swing/JComponent.java
15120         (paintChildrenWithOverlap): Determine opaque property by
15121         calling the corresponding Component method, without requiring
15122         a JComponent.
15123         (paintChildrenOptimized): Removed old unneeded code.
15124         (paintImmediately): Use JComponent's convertRectangleToAncestor()
15125         method instead of SwingUtilities.convertRectangle(). This is
15126         more efficient.
15127
15128 2006-06-21  Roman Kennke  <kennke@aicas.com>
15129
15130         * javax/swing/AbstractButton.java
15131         (init): Call setText() instead of setting the property directly,
15132         so that listeners (especially in the UI) get notified.
15133
15134 2006-06-21  Roman Kennke  <kennke@aicas.com>
15135
15136         * javax/swing/UIManager.java
15137         (MultiplexUIDefaults): New inner class.
15138         (currentUIDefaults): Changed type to be MultiplexUIDefaults.
15139         (userUIDefaults): Changed name to be lookAndFeelDefaults.
15140         (<cinit>): Call setLookAndFeel(String) instead of trying to load
15141         directly. Print stacktrace if something goes wrong.
15142         (get): Delegate call to currentUIDefaults.
15143         (getDefaults): If currentUIDefaults is null, then lazily instantiate
15144         it.
15145         (getUI): Delegate call to currentUIDefaults.
15146         (put): Delegate call to currentUIDefaults.
15147         (setLookAndFeel): Initialize currentUIDefaults with
15148         MultiplexUIDefaults. Set lookAndFeelDefaults.
15149         (setLookAndFeel): Use current thread's context classloader for
15150         loading the L&F.
15151
15152 2006-06-21  Roman Kennke  <kennke@aicas.com>
15153
15154         * javax/swing/text/GapContent.java
15155         (GapContentPosition.GapContentPosition): Replace
15156         Collections.binarySearch with call to local search() to make
15157         sure we find the first object that equals the searched object.
15158         (setPositionsInRange): Likewise.
15159         (adjustPositionsInRange): Likewise.
15160         (search): New helper method.
15161
15162 2006-06-21  Gary Benson  <gbenson@redhat.com>
15163
15164         * gnu/java/awt/peer/gtk/CairoGraphics2D.java: Add security check.
15165         * gnu/java/awt/peer/qt/QtGraphics.java: Likewise.
15166         * gnu/java/awt/java2d/AbstractGraphics2D.java: Likewise.
15167
15168 2006-06-20  Thomas Fitzsimmons  <fitzsim@redhat.com>
15169
15170         * native/plugin/Makefile.am (libgcjwebplugin_la_CXXFLAGS): Define
15171         APPLETVIEWER_EXECUTABLE to gappletviewer.
15172
15173 2006-06-20  Tom Tromey  <tromey@redhat.com>
15174
15175         PR classpath/28095:
15176         * java/net/URL.java (URL): Throw MalformedURLException if a
15177         RuntimeException is caught.  Chain exceptions.
15178
15179 2006-06-20  Lillian Angel  <langel@redhat.com>
15180
15181         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
15182         (create): Added check to prevent Seg Fault. Should not
15183         set the label if it is null.
15184         * gnu/java/awt/peer/gtk/GtkLabelPeer.java
15185         (setText): Changed to be a non-native function. Calls
15186         setNativeText if the String parameter is non-null.
15187         (setNativeText): Replaces old native setText function.
15188         * include/gnu_java_awt_peer_gtk_GtkLabelPeer.h: Regenerated.
15189         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
15190         (Java_gnu_java_awt_peer_gtk_GtkLabelPeer_setText): Removed.
15191         Replaced by Java_gnu_java_awt_peer_gtk_GtkLabelPeer_setNativeText.
15192         (Java_gnu_java_awt_peer_gtk_GtkLabelPeer_setNativeText): Replaced
15193         Java_gnu_java_awt_peer_gtk_GtkLabelPeer_setText.
15194
15195 2006-06-20  Lillian Angel  <langel@redhat.com>
15196
15197         * javax/swing/text/JTextComponent.java
15198         (AccessibleJTextComponent): Rewrote all javadocs
15199         for this inner class.
15200
15201 2006-06-20  Francis Kung  <fkung@redhat.com>
15202
15203         * examples/gnu/classpath/examples/java2d/J2dBenchmark.java:
15204         Changed many members to be protected.
15205         (J2dBenchmark): moved to init() instead.
15206         (init): New method.
15207         (main): Call init() after creating object
15208         (testComplete): New method.
15209         (test_drawArc): Use maxTests varialbe instead of constant.
15210         (test_drawCubicCurve): Likewise.
15211         (test_drawEllipse): Likewise.
15212         (test_drawGeneralPath): Likewise.
15213         (test_drawImage): Likewise.
15214         (test_drawLine): Likewise.
15215         (test_drawQuadCurve): Likewise.
15216         (test_drawRectangle): Likewise.
15217         (test_drawRoundRectangle): Likewise.
15218         (test_drawTransparentImage): Likewise.
15219         (test_fillArc): Likewise.
15220         (test_fillEllipse): Likewise.
15221         (test_fillGeneralPath): Likewise.
15222         (test_fillRectangle): Likewise.
15223         (test_fillRoundRectangle): Likewise.
15224         (GraphicsTest.runSetNoClipping): Added runCount parameter.
15225         (GraphicsTest.runSetWithClipping): Likewise.
15226         (GraphicsTest.runSetZeroClipping): Likewise.
15227         (GraphicsTest.run): Added checks for more option flags.
15228         * examples/gnu/classpath/examples/java2d/J2dBenchmarkGUI.java:
15229         New file.
15230
15231 2006-06-20  Roman Kennke  <kennke@aicas.com>
15232
15233         * javax/swing/text/GapContent.java
15234         (GapContentPosition.mark): New field.
15235         (GapContentPosition.index): Removed.
15236         (GapContentPosition.GapContentPosition): Changed to take the
15237         real offset as parameter. Added handling of reference counter.
15238         Try to cleanup before creating new instances.
15239         (getOffset): Delegate to the Mark method with same name.
15240         (Mark): New class, encapsulating a mark.
15241         (positionMarks): Removed field.
15242         (numMarks): Removed field.
15243         (marks): New field.
15244         (queueOfDeath): New field.
15245         (GapContent): Removed init of old fields, added init of new fields.
15246         (createPosition): Added check for validity of arguments.
15247         Create GapContentPosition directly with offset.
15248         (shiftEnd): Pass end of buffer directly to adjustPositionsInRange.
15249         (shiftGap): Pass end of buffer directly to adjustPositionsInRange.
15250         (shiftGapStartDown): Call resetMarksAtZero().
15251         (shiftGapEndUp): Call resetMarksAtZero().
15252         (replace): Don't call resetMarksAtZero().
15253         (setPositionInRange): Replaced by simpler algorithm, similar to
15254         adjustPositionsInRange.
15255         (adjustPositionsInRange): Adapted to use of Mark objects.
15256         (resetMarksAtZero): Reset all marks that point to zero instead
15257         of only the first one.
15258         (dumpMarks): Adjusted to dump Mark objects.
15259         (insertMark): Removed.
15260         (garbageCollect): New method. Cleans up the marks list.
15261         (binarySearch): Removed.
15262
15263 2006-06-20  Lillian Angel  <langel@redhat.com>
15264
15265         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
15266         (drawImage): Added call to updateColor because
15267         Cairo seems to lose the current color.
15268
15269 2006-06-20  Gary Benson  <gbenson@redhat.com>
15270
15271         * java/awt/Toolkit.java: Add security check.
15272         * gnu/java/awt/peer/gtk/GtkToolkit.java: Likewise.
15273         * gnu/java/awt/peer/qt/QtToolkit.java: Likewise.
15274
15275 2006-06-20  Raif S. Naffah  <raif@swiftdsl.com.au>
15276
15277         * gnu/java/security/key/dss/DSSKey.java: Source formatting.
15278         * gnu/java/security/key/dss/DSSKeyPairGenerator.java: Likewise.
15279         * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java: Likewise.
15280         * gnu/java/security/key/dss/DSSKeyPairRawCodec.java: Likewise.
15281         * gnu/java/security/key/dss/DSSKeyPairX509Codec.java: Likewise.
15282         * gnu/java/security/key/dss/DSSPrivateKey.java: Likewise.
15283         * gnu/java/security/key/dss/DSSPublicKey.java: Likewise.
15284         * gnu/java/security/key/dss/FIPS186.java: Likewise.
15285         * gnu/java/security/key/rsa/GnuRSAKey.java: Likewise.
15286         * gnu/java/security/key/rsa/GnuRSAPrivateKey.java: Likewise.
15287         * gnu/java/security/key/rsa/GnuRSAPublicKey.java: Likewise.
15288         * gnu/java/security/key/rsa/RSAKeyPairGenerator.java: Likewise.
15289         * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java: Likewise.
15290         * gnu/java/security/key/rsa/RSAKeyPairRawCodec.java: Likewise.
15291         * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java: Likewise.
15292         * gnu/java/security/key/IKeyPairCodec.java: Likewise.
15293         * gnu/java/security/key/IKeyPairGenerator.java: Likewise.
15294         * gnu/java/security/key/KeyPairCodecFactory.java: Likewise.
15295         * gnu/java/security/key/KeyPairGeneratorFactory.java: Likewise.
15296
15297 2006-06-19  Lillian Angel  <langel@redhat.com>
15298
15299         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
15300         (drawImage): Should always use getRGB to get the pixels.
15301         getData returns an incorrect array of pixels.
15302
15303 2006-06-19  Raif S. Naffah  <raif@swiftdsl.com.au>
15304
15305         * gnu/java/security/jce/hash/HavalSpi.java: Source formatting.
15306         * gnu/java/security/jce/hash/MD2Spi.java: Likewise.
15307         * gnu/java/security/jce/hash/MD4Spi.java: Likewise.
15308         * gnu/java/security/jce/hash/MD5Spi.java: Likewise.
15309         * gnu/java/security/jce/hash/MessageDigestAdapter.java: Likewise.
15310         * gnu/java/security/jce/hash/RipeMD128Spi.java: Likewise.
15311         * gnu/java/security/jce/hash/RipeMD160Spi.java: Likewise.
15312         * gnu/java/security/jce/hash/Sha160Spi.java: Likewise.
15313         * gnu/java/security/jce/hash/Sha256Spi.java: Likewise.
15314         * gnu/java/security/jce/hash/Sha384Spi.java: Likewise.
15315         * gnu/java/security/jce/hash/Sha512Spi.java: Likewise.
15316         * gnu/java/security/jce/hash/TigerSpi.java: Likewise.
15317         * gnu/java/security/jce/hash/WhirlpoolSpi.java: Likewise.
15318         * gnu/java/security/jce/prng/HavalRandomSpi.java: Likewise.
15319         * gnu/java/security/jce/prng/MD2RandomSpi.java: Likewise.
15320         * gnu/java/security/jce/prng/MD4RandomSpi.java: Likewise.
15321         * gnu/java/security/jce/prng/MD5RandomSpi.java: Likewise.
15322         * gnu/java/security/jce/prng/RipeMD128RandomSpi.java: Likewise.
15323         * gnu/java/security/jce/prng/RipeMD160RandomSpi.java: Likewise.
15324         * gnu/java/security/jce/prng/SecureRandomAdapter.java: Likewise.
15325         * gnu/java/security/jce/prng/Sha160RandomSpi.java: Likewise.
15326         * gnu/java/security/jce/prng/Sha256RandomSpi.java: Likewise.
15327         * gnu/java/security/jce/prng/Sha384RandomSpi.java: Likewise.
15328         * gnu/java/security/jce/prng/Sha512RandomSpi.java: Likewise.
15329         * gnu/java/security/jce/prng/TigerRandomSpi.java: Likewise.
15330         * gnu/java/security/jce/prng/WhirlpoolRandomSpi.java: Likewise.
15331         * gnu/java/security/jce/sig/DSSKeyFactory.java: Likewise.
15332         * gnu/java/security/jce/sig/DSSKeyPairGeneratorSpi.java: Likewise.
15333         * gnu/java/security/jce/sig/DSSParameters.java: Likewise.
15334         * gnu/java/security/jce/sig/DSSRawSignatureSpi.java: Likewise.
15335         * gnu/java/security/jce/sig/EncodedKeyFactory.java: Likewise.
15336         * gnu/java/security/jce/sig/KeyPairGeneratorAdapter.java: Likewise.
15337         * gnu/java/security/jce/sig/RSAKeyFactory.java: Likewise.
15338         * gnu/java/security/jce/sig/RSAKeyPairGeneratorSpi.java: Likewise.
15339         * gnu/java/security/jce/sig/RSAPSSRawSignatureSpi.java: Likewise.
15340         * gnu/java/security/jce/sig/SignatureAdapter.java: Likewise.
15341
15342 2006-06-19  Raif S. Naffah  <raif@swiftdsl.com.au>
15343
15344         * NEWS: Updated (delayed) for security tools and tools.texinfo.
15345
15346 2006-06-19  Roman Kennke  <kennke@aicas.com>
15347
15348         * gnu/java/awt/peer/gtk/ComponentGraphics.java
15349         (drawImage): Clip volatile image correctly.
15350         (drawVolatileImage): Added arguments for clipping.
15351         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
15352         (drawVolatileImage): Added arguments for clipping. Clip image
15353         correctly.
15354         * include/gnu_java_awt_peer_gtk_ComponentGraphics.h: Regenerated.
15355
15356 2006-06-19  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
15357
15358         PR 28035
15359         * java/rmi/server/UID.java (constructor): Synchronized
15360         the whole constructor on the UID class.
15361
15362 2006-06-19  Roman Kennke  <kennke@aicas.com>
15363
15364         * javax/swing/RepaintManager.java
15365         (addInvalidComponent): Only add component that are displayable,
15366         that have displayable parents and that have a validateRoot.
15367         Also, don't validate components that have a CellRendererPane
15368         ancestor.
15369
15370 2006-06-19  David Gilbert  <david.gilbert@object-refinery.com>
15371
15372         * javax/swing/plaf/IconUIResource.java
15373         (IconUIResource): Throw IllegalArgumentException for null icon.
15374
15375 2006-06-18  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
15376
15377         PR 28035
15378         * java/rmi/server/UID.java (constructor): First increment
15379         uidCounter, and then use the value.
15380
15381 2006-06-18  Thomas Fitzsimmons  <fitzsim@redhat.com>
15382
15383         * java/awt/GridBagLayout.java (AdjustForGravity): Implement.
15384         * java/awt/GridBagConstraints.java: Indent.
15385
15386 2006-06-18  Tom Tromey  <tromey@redhat.com>
15387
15388         * native/jni/gconf-peer/.cvsignore: New file.
15389
15390 2006-06-18  Tom Tromey  <tromey@redhat.com>
15391
15392         * tools/gnu/classpath/tools/getopt/Parser.java (handleLongOption):
15393         Also handle short options.
15394
15395 2006-06-18  Jim Huang  <jserv@kaffe.org>
15396
15397         PR classpath/28076:
15398         * native/jni/gconf-peer/Makefile.am (libgconfpeer_la_LIBADD):
15399         Fixed typo.
15400
15401 2006-06-19  Mark Wielaard  <mark@klomp.org>
15402
15403         * include/Makefile.am: gnu_java_util_prefs_gconf_%.h should depend
15404         on gnu/java/util/prefs/gconf/%.class.
15405         * Java_gnu_java_util_prefs_gconf_GConfNativePeer_init_1class: Fix
15406         chache typo, should be cache.
15407         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1gconf_1client_1all_1keys):
15408         Declare tmp early.
15409         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1gconf_1client_1all_1nodes):
15410         Likewise.
15411         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1remove_1dir):
15412         Don't return a value for void function.
15413         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1add_1dir)
15414         Likewise.
15415         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1dir_1exists):
15416         Mark clazz as unused.  Return JNI_FALSE, not NULL for jboolean
15417         function.
15418         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_finalize_1class):
15419         Mark clazz ad unused.
15420
15421 2006-06-18  Raif S. Naffah  <raif@swiftdsl.com.au>
15422
15423         * gnu/java/security/hash/Whirlpool.java: Source formatting.
15424         * gnu/java/security/hash/Tiger.java: Likewise.
15425         * gnu/java/security/hash/Sha512.java: Likewise.
15426         * gnu/java/security/hash/Sha384.java: Likewise.
15427         * gnu/java/security/hash/Sha256.java: Likewise.
15428         * gnu/java/security/hash/Sha160.java: Likewise.
15429         * gnu/java/security/hash/RipeMD160.java: Likewise.
15430         * gnu/java/security/hash/RipeMD128.java: Likewise.
15431         * gnu/java/security/hash/MD5.java: Likewise.
15432         * gnu/java/security/hash/MD4.java: Likewise.
15433         * gnu/java/security/hash/MD2.java: Likewise.
15434         * gnu/java/security/hash/IMessageDigest.java: Likewise.
15435         * gnu/java/security/hash/Haval.java: Likewise.
15436         * gnu/java/security/hash/HashFactory.java: Likewise.
15437         * gnu/java/security/hash/BaseHash.java: Likewise.
15438
15439 2006-06-18  Sven de Marothy  <sven@physto.se>
15440
15441         * java/awt/event/KeyEvent.java:
15442         (VK_WINDOWS, VK_CONTEXT_MENU, VK_BEGIN): Add new keysym fields.
15443         *  natve/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
15444         Implement WINDOWS, ALT_GR and CONTEXT_MENU keysyms.
15445
15446 2006-06-18  Raif S. Naffah  <raif@swiftdsl.com.au>
15447
15448         * gnu/java/security/util/Prime2.java: Removed.
15449         * gnu/java/security/key/dss/FIPS186.java: Remove unused imports.
15450         (generateParameters): Use isProbablePrime() in BigInteger instead of Prime2.
15451         * gnu/java/security/key/rsa/RSAKeyPairGenerator.java: Remove unused imports.
15452         (generate): Use isProbablePrime() in BigInteger instead of Prime2.
15453         * gnu/javax/crypto/key/dh/RFC2631.java: Remove unused imports.
15454         (generateParameters): Use isProbablePrime() in BigInteger instead of Prime2.
15455         * gnu/javax/crypto/key/srp6/SRPAlgorithm.java: Remove unused imports.
15456         (checkParams): Use isProbablePrime() in BigInteger instead of Prime2.
15457         * gnu/javax/crypto/key/srp6/SRPKeyPairGenerator.java: Remove unused imports.
15458         (generateParameters): Use isProbablePrime() in BigInteger instead of Prime2.
15459         * gnu/javax/net/ssl/provider/KeyPool.java: Remove unused imports.
15460         (generateRSAKeyPair): Use isProbablePrime() in BigInteger instead of Prime2.
15461
15462 2006-06-18  Sven de Marothy  <sven@physto.se>
15463
15464         * java/awt/GridBagLayout.java (AdjustForGravity): Implement.
15465         * java/awt/font/TextMeasurer.java: Fix copyright date, 
15466         remove commented-out code.
15467
15468 2006-06-18  Sven de Marothy  <sven@physto.se>
15469
15470         * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
15471         (FreetypeGlyphVector, clone): Implement cloning.
15472         (getGlyphLogicalBounds): Bounds should be offset to the glyph position.
15473         * java/awt/font/TextMeasurer.java: Implement.
15474         * java/awt/font/LineBreakMeasurer.java: 
15475         Reimplement to use TextMeasurer.
15476         * java/awt/font/TextLayout.java
15477         New constructors.
15478         (getBlackboxBounds, getLogicalHighlightShape): Reimplement.
15479         (getText, getFont): New private static methods.
15480         (setCharIndices): New method.
15481         * java/text/AttributedString.java
15482         (AttributedString): Fix constructor to stop at end point.
15483         
15484 2006-06-17  Tom Tromey  <tromey@redhat.com>
15485
15486         * lib/gen-classlist.sh.in: Search all top-level directories, not
15487         just 'org', in external.
15488
15489 2006-06-12  Mario torre  <neugens at limasoftware.net>
15490
15491         * gnu/java/util/prefs/GConfBasedPreferences.java: new class.
15492         * gnu/java/util/prefs/GConfBasedFactory.java: new class.
15493         * gnu/java/util/prefs/gconf/GConfNativePeer.java: new class.
15494         * gnu_java_util_prefs_gconf_GConfNativePeer.h: generated
15495         header file.
15496         * classpath/native/jni/gconf-peer/GConfNativePeer.c: new C file.
15497         * configure.ac: update to introduce new files. Added options
15498         to build gconf native peer used by the GConf preference backend.
15499         * include/Makefile.am: update to introduce new files.
15500         * native/jni/Makefile.am update to introduce new files.
15501         * scripts/check_jni_methods.sh: added three new ignored file
15502         from check.
15503         * native/jni/gconf-peer/Makefile.am: new Makefile needed to
15504         build gconf-peer shared library.
15505
15506 2006-06-17  Raif S. Naffah  <raif@swiftdsl.com.au>
15507
15508         * gnu/java/security/jce/sig/DSSKeyPairGeneratorSpi.java:
15509         Use Integer.valueOf() instead of new Integer().
15510         * gnu/java/security/jce/sig/EncodedKeyFactory.java: Likewise.
15511         * gnu/java/security/jce/sig/RSAKeyPairGeneratorSpi.java: Likewise.
15512         * gnu/java/security/util/Sequence.java: Likewise.
15513         * gnu/java/security/x509/ext/GeneralNames.java: Likewise.
15514         * gnu/java/security/x509/X509Certificate.java: Likewise.
15515         * gnu/javax/crypto/assembly/ModeStage.java: Likewise.
15516         * gnu/javax/crypto/cipher/Anubis.java: Likewise.
15517         * gnu/javax/crypto/cipher/Blowfish.java: Likewise.
15518         * gnu/javax/crypto/cipher/Cast5.java: Likewise.
15519         * gnu/javax/crypto/cipher/DES.java: Likewise.
15520         * gnu/javax/crypto/cipher/Khazad.java: Likewise.
15521         * gnu/javax/crypto/cipher/NullCipher.java: Likewise.
15522         * gnu/javax/crypto/cipher/Rijndael.java: Likewise.
15523         * gnu/javax/crypto/cipher/Serpent.java: Likewise.
15524         * gnu/javax/crypto/cipher/Square.java: Likewise.
15525         * gnu/javax/crypto/cipher/TripleDES.java: Likewise.
15526         * gnu/javax/crypto/cipher/Twofish.java: Likewise.
15527         * gnu/javax/crypto/jce/cipher/CipherAdapter.java: Likewise.
15528         * gnu/javax/crypto/jce/cipher/PBES2.java: Likewise.
15529         * gnu/javax/crypto/jce/key/SecretKeyGeneratorImpl.java: Likewise.
15530         * gnu/javax/crypto/jce/PBKDF2SecretKeyFactory.java: Likewise.
15531         * gnu/javax/crypto/jce/prng/ICMRandomSpi.java: Likewise.
15532         * gnu/javax/crypto/jce/prng/UMacRandomSpi.java: Likewise.
15533         * gnu/javax/crypto/jce/sig/DHKeyPairGeneratorSpi.java: Likewise.
15534         * gnu/javax/crypto/keyring/AuthenticatedEntry.java: Likewise.
15535         * gnu/javax/crypto/keyring/EncryptedEntry.java: Likewise.
15536         * gnu/javax/crypto/keyring/PasswordAuthenticatedEntry.java: Likewise.
15537         * gnu/javax/crypto/keyring/PasswordEncryptedEntry.java: Likewise.
15538         * gnu/javax/crypto/keyring/PasswordProtectedEntry.java: Likewise.
15539         * gnu/javax/crypto/mac/UHash32.java: Likewise.
15540         * gnu/javax/crypto/mac/UMac32.java: Likewise.
15541         * gnu/javax/crypto/mode/BaseMode.java: Likewise.
15542         * gnu/javax/crypto/mode/EAX.java: Likewise.
15543         * gnu/javax/crypto/prng/ICMGenerator.java: Likewise.
15544         * gnu/javax/crypto/prng/UMacGenerator.java: Likewise.
15545         * gnu/javax/crypto/sasl/srp/KDF.java: Likewise.
15546         * gnu/javax/security/auth/callback/ConsoleCallbackHandler.java: Likewise.
15547         * java/security/cert/X509CertSelector.java: Likewise.
15548
15549 2006-06-17  Andrew John Hughes  <gnu_andrew@member.fsf.org>
15550
15551         * javax/management/DynamicMBean.java:
15552         (setAttribute): Fixed to return void.
15553         * javax/management/MBeanFeatureInfo.java:
15554         New file.
15555         
15556 2006-06-17  Raif S. Naffah  <raif@swiftdsl.com.au>
15557
15558         On behalf of Vivek Lakshmanan <vivekl@redhat.com>
15559         * gnu/javax/crypto/jce/cipher/CipherAdapter.java
15560         (engineInit(int, Key, SecureRandom)): Seperate common initialization logic
15561         into engineInitHandler and reuse the code in
15562         engineInit(int, Key, AlgorithmSpec, SecureRandom).
15563         (engineInitHandler): New method.
15564         (engineInit(int, Key, AlgorithmParameterSpec, SecureRandom)): When param is
15565         null, use random or default information when possible.
15566
15567 2006-06-16  Francis Kung  <fkung@redhat.com>
15568
15569         * examples/gnu/classpath/examples/swing/Demo.java:
15570         (mkButtonBar): Rename FillRect to JNIOverhead.
15571         (mkMenuBar): Rename FillRect to JNIOverhead.
15572         * examples/gnu/classpath/examples/swing/FillRect.java: Removed.
15573         * examples/gnu/classpath/examples/java2d/J2dBenchmark.java: New file.
15574         * examples/gnu/classpath/examples/java2d/JNIOverhead.java:
15575         Moved from old FillRect.
15576
15577 2006-06-16  Tom Tromey  <tromey@redhat.com>
15578
15579         * tools/.cvsignore: Added new tool names.
15580
15581 2006-06-16  Keith Seitz  <keiths@redhat.com>
15582
15583         * gnu/classpath/jdwp/event/EventManager.java (getDefault): Redo
15584         instantiation so that EventManager is created when getDefault
15585         is first called.
15586         * gnu/classpath/jdwp/Jdwp.java (Thread): Force creation
15587         of EventManager.
15588
15589 2006-06-16  Keith Seitz  <keiths@redhat.com>
15590
15591         * gnu/classpath/jdwp/Jdwp.java (_initLock): New field.
15592         (_initCount): New field.
15593         (Jdwp): Don't set isDebugging until fully initialized.
15594         (subcomponentInitialized): New method.
15595         (run): Wait for PacketProcessor and JdwpConnection to
15596         startup, then set isDebugging, and then let this thread
15597         die.
15598         * gnu/classpath/jdwp/transport/JdwpConnection.java
15599         (run): Add synchronization notification.
15600         * gnu/classpath/jdwp/processor/PacketProcessor.java
15601         (run): Likewise.
15602
15603 2006-06-16  Tom Tromey  <tromey@redhat.com>
15604
15605         * NEWS: Updated for JSR 166.
15606
15607 2006-06-16  Tom Tromey  <tromey@redhat.com>
15608
15609         * lib/Makefile.am (compile_classpath): Added jsr166.
15610         * configure.ac: Added external/jsr166/Makefile.
15611         * external/Makefile.am (SUBDIRS): Added jsr166.
15612         * external/jsr166/Makefile.am: New file.
15613         * lib/gen-classlist.sh.in: Look in external/jsr166.
15614
15615 2006-06-16  Kyle Galloway  <kgallowa@redhat.com>
15616
15617         * gnu/classpath/jdwp/event/ExceptionEvent:
15618         Added Object instance to javadoc in constructor
15619         * gnu/classpath/jdwp/event/MethodEntryEvent:
15620         Ditto.
15621         * gnu/classpath/jdwp/event/MethodExitEvent:
15622         Ditto,
15623         * gnu/classpath/jdwp/event/SingleStepEvent:
15624         Ditto. 
15625
15626 2006-06-16  Tom Tromey  <tromey@redhat.com>
15627
15628         Imported JSR 166 reference implementation:
15629         * .classpath: Added external/jsr166.
15630         * java/util/concurrent/CopyOnWriteArrayList.java: New file.
15631         * java/util/AbstractQueue.java: Removed.
15632         * java/util/Queue.java: Removed.
15633         * external/jsr166/java/util/concurrent/ScheduledThreadPoolExecutor.java
15634         (runPeriodic): Added explicit cast.
15635         * external/jsr166/java/util/ArrayDeque.java (clone): Use
15636         elements.clone.
15637
15638 2006-06-16  Tom Tromey  <tromey@redhat.com>
15639
15640         * vm/reference/sun/reflect/Reflection.java (verifyMemberAccess):
15641         Removed.
15642         (getCallerClass): Now static.
15643         * vm/reference/sun/reflect/misc/ReflectUtil.java: New file.
15644
15645 2006-06-16  Lillian Angel  <langel@redhat.com>
15646
15647         * java/awt/FileDialog.java
15648         (FileDialog): Added @since tag to API docs.
15649         (FileDialog): Likewise.
15650         (FileDialog): Likewise.
15651         * java/awt/Font.java:
15652         Added @since tag to TYPE1_FONT field docs.
15653         * javax/swing/plaf/basic/BasicScrollBarUI.java:
15654         (isThumbRollover): Likewise.
15655         (setThumbRollover): Likewise.
15656         (getSupportsAbsolutePositioning): Likewise.
15657         * javax/swing/plaf/basic/BasicSliderUI.java:
15658         (isDragging): Likewise.
15659
15660 2006-06-16  Lillian Angel  <langel@redhat.com>
15661
15662         * java/awt/FileDialog.java
15663         (FileDialog): Implemented.
15664         (FileDialog): Implemented.
15665         (FileDialog): Implemented.
15666         * java/awt/Font.java:
15667         Added TYPE1_FONT constant field.
15668
15669 2006-06-16  Lillian Angel  <langel@redhat.com>
15670
15671         * java/awt/font/TextLayout.java:
15672         Removed unneeded imports.
15673         * javax/swing/plaf/basic/BasicScrollBarUI.java:
15674         Added new thumbRollover field.
15675         (mouseMoved): Added code to set thumbRollover field.
15676         (isThumbRollover): New function.
15677         (setThumbRollover): New function.
15678         (getSupportsAbsolutePositioning): Implemented. This
15679         needs to be changed once the feature has been 
15680         implemented.
15681         * javax/swing/plaf/basic/BasicSliderUI.java:
15682         Added new dragging field.
15683         (mouseDragged): Initialized dragging field.
15684         (isDragging): New function.
15685         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
15686         (focusGained): Marked as not implemented.
15687         (focusLost): Likewise.
15688
15689 2006-06-16  Kyle Galloway  <kgallowa@redhat.com>
15690
15691         * gnu/classpath/jdwp/event/filters/ThreadOnlyFilter.java:
15692         Added check for null ThreadId to avoid null pointer
15693         exception.
15694
15695 2006-06-16  David Gilbert  <david.gilbert@object-refinery.com>
15696
15697         * javax/swing/DefaultComboBoxModel.java
15698         (removeElementAt): Set new selected item by calling setSelectedItem().
15699
15700 2006-06-16  David Gilbert  <david.gilbert@object-refinery.com>
15701
15702         * javax/swing/DefaultButtonModel.java
15703         (setSelected): Use 'this', not null, for the item in the ItemEvent.
15704
15705 2006-06-16  David Gilbert  <david.gilbert@object-refinery.com>
15706
15707         * javax/swing/event/ListDataEvent.java: updated API docs, plus
15708         (ListDataEvent): Handle case where index0 > index1,
15709         (toString): Implemented.
15710
15711 2006-06-16  Robert Schuster  <robertschuster@fsfe.org>
15712
15713         * javax/swing/plaf/metal/MetalMenuBarUI.java:
15714         (update): Added subexpression to if-statement.
15715
15716 2006-06-16  Robert Schuster  <robertschuster@fsfe.org>
15717
15718         * javax/swing/plaf/basic/BasicRadioButtonUI.java:
15719         (installDefaults): Removed unneccessary code.
15720         (paint): Removed complex if-cascade, revert to default icon if
15721         icon property is not set.
15722         (getPreferredSize): New method.
15723
15724 2006-06-16  Roman Kennke  <kennke@aicas.com>
15725
15726         PR 28027
15727         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
15728         (drawImage): Don't use setClip() but instead clipRect() to
15729         intersect the current clip with a new one.
15730
15731 2006-06-15  Tom Tromey  <tromey@redhat.com>
15732
15733         * scripts/sanitize-jsr166: New file.
15734         * external/jsr166/IMPORTING: New file.
15735         * vm/reference/sun/reflect/Reflection.java: New file.
15736         * vm/reference/gnu/classpath/Unsafe.java: Moved...
15737         * vm/reference/sun/misc/Unsafe.java: ...here.
15738
15739 2006-06-15  Thomas Fitzsimmons  <fitzsim@redhat.com>
15740
15741         * configure.ac: Rename appletviewer to gappletviewer, jarsigner to
15742         gjarsigner and keytool to gkeytool.
15743         * doc/tools.texinfo: Add note about tool exectable names.
15744         * tools/Makefile.am: Rename appletviewer to gappletviewer,
15745         jarsigner to gjarsigner and keytool to gkeytool.
15746         * tools/appletviewer.in: Rename ...
15747         * tools/gappletviewer.in: New file.
15748         * tools/jarsigner.in: Rename ...
15749         * tools/gjarsigner.in: New file.
15750         * tools/keytool.in: Rename ...
15751         * tools/gkeytool.in: New file.
15752         * tools/toolwrapper.c: Simplify TOOLS_ZIP macro.
15753
15754 2006-06-15  Andrew John Hughes  <gnu_andrew@member.fsf.org>
15755
15756         * javax/management/AttributeList.java:
15757         Add serialization UID.
15758         * javax/management/DynamicMBean.java:
15759         New file.
15760         * javax/management/JMRuntimeException.java:
15761         Add serialization UID and correct name
15762         of serialized field.
15763         * javax/management/MBeanInfo.java: New file.
15764         
15765 2006-06-15  Andrew John Hughes  <gnu_andrew@member.fsf.org>
15766
15767         * javax/management/AttributeList.java,
15768         * javax/management/JMRuntimeException.java,
15769         * javax/management/RuntimeOperationsException.java:
15770         New files.
15771         
15772 2006-06-15  Lillian Angel  <langel@redhat.com>
15773
15774         * java/awt/font/TextLayout.java:
15775         DEFAULT_CARET_POLICY changed to be public static final.
15776
15777 2006-06-15  Tania Bento  <tbento@redhat.com>
15778
15779         * javax/swing/plaf/metal/MetalScrollButton.java
15780         (MetalScrollButton): Should set 'focusable' to false.
15781
15782 2006-06-15  Tania Bento  <tbento@redhat.com>
15783
15784         * javax/swing/plaf/basic/BasicArrowButton.java
15785         (BasicArrowButton): Should set 'focusable' to false.
15786         (BasicArrowButton): Should set 'focusable' to false.
15787
15788 2006-06-15  Mark Wielaard  <mark@klomp.org>
15789
15790         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
15791         (getGraphicsConfiguration): Return default screen device.
15792         * gnu/java/awt/peer/gtk/GtkVolatileImage.java (component):
15793         New field.
15794         (GtkVolatileImage): Record initiating component.
15795         * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
15796         (getDeviceConfiguration): Return configuration of image component.
15797
15798 2006-06-15  Mark Wielaard  <mark@klomp.org>
15799
15800         * java/awt/geom/GeneralPath.java (closePath): Return if path already
15801         closed.
15802
15803 2006-06-15  Mark Wielaard  <mark@klomp.org>
15804
15805         * java/awt/BasicStroke.java (createStrokedShape): Call getPathIterator
15806         with null argument.
15807
15808 2006-06-15  Kyle Galloway  <kgallowa@redhat.com>
15809
15810         * gnu/classpath/jdwp/event/filters/ExceptionOnlyFilter.java
15811         (matches): Added explicit brackets to return statement.
15812
15813 2006-06-15  Tania Bento  <tbento@redhat.com>
15814
15815         * javax/swing/JRadioButtonMenuItem.java
15816         (JRadioButtonMenuItem): Should set 'focusable' to false.
15817
15818 2006-06-15  Tania Bento  <tbento@redhat.com>
15819
15820         * javax/swing/JCheckBoxMenuItem.java
15821         (JCheckBoxMenuItem): Should set 'focusable' to false.
15822
15823 2006-06-15  Tania Bento  <tbento@redhat.com>
15824
15825         * javax/swing/AbstractButton.java:
15826         (AbstractButton): 'Focusable' should be set to true and not false.
15827
15828 2006-06-15  Andrew John Hughes  <gnu_andrew@member.fsf.org>
15829
15830         * java/lang/management/ManagementFactory.java:
15831         Add private constructor to prevent instance creation.
15832         * java/lang/management/ManagementPermission.java:
15833         Make final.
15834         
15835 2006-06-15  Francis Kung  <fkung@redhat.com>
15836
15837         * javax/swing/plaf/basic/BasicArrowButton.java:
15838         (BasicArrowButton): move client property for not triggering out 
15839         of consturctor
15840         * javax/swing/plaf/basic/BasicComboBoxUI.java:
15841         (configureArrowButton): set client property for not triggering
15842         (installUI): set client property for not triggering
15843         * javax/swing/plaf/basic/BasicLookAndFeel.java:
15844         (PopupHelper.mousePressed): check client property for triggering
15845
15846 2006-06-15  Roman Kennke  <kennke@aicas.com>
15847
15848         PR 28037
15849         * javax/swing/RepaintManager.java
15850         (blitBuffer): Substract coordinates the other way around.
15851
15852 2006-06-15  Roman Kennke  <kennke@aicas.com>
15853
15854         PR 28027
15855         * javax/swing/JComponent.java
15856         (paintImmediately2): Only paint component without double buffering
15857         when all of it's parents have also double buffering disabled.
15858         (isPaintingDoubleBuffered): New helper method.
15859
15860 2006-06-15  David Gilbert  <david.gilbert@object-refinery.com>
15861
15862         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
15863         (draw(Shape)): Pass null transform to getPathIterator(),
15864         (getClip): Likewise,
15865         * gnu/java/print/PostscriptGraphics2D.java
15866         (drawStringShape): Pass null transform to getPathIterator(),
15867         (writeShape): Likewise,
15868         * java/awt/Shape.java: Small updates to API docs.
15869
15870 2006-06-14  Andrew John Hughes  <gnu_andrew@member.fsf.org>
15871
15872         * javax/naming/InitialContext.java:
15873         (list(javax.naming.Name)): Fixed generic type.
15874         (list(String)): Likewise.
15875         (listBindings(javax.naming.Name)): Likewise.
15876         (listBindings(String)): Likewise.
15877         
15878 2006-06-14  Roman Kennke  <kennke@aicas.com>
15879
15880         * javax/swing/plaf/basic/BasicComboBoxUI.java
15881         (getAccessibleChildrenCount): Implemented.
15882         (getAccessibleChild): Implemented.
15883         (isNavigationKey): Implemented.
15884         (KeyHandler.keyPressed): Implemented.
15885
15886 2006-06-14  Andrew John Hughes  <gnu_andrew@member.fsf.org>
15887
15888         * java/lang/management/ManagementPermission.java:
15889         Added serialization UID.
15890         * javax/management/Attribute.java: Likewise.
15891         * javax/management/MBeanException.java,
15892         * javax/management/ReflectionException.java:
15893         Added serialization UID and changed to extend
15894         javax.management.JMException.
15895         
15896 2006-06-14  Lillian Angel  <langel@redhat.com>
15897
15898         * java/awt/Component.java
15899         (ignoreOldMouseEvents): Made static.
15900         (translateEvent): Made static.
15901         * java/awt/TextComponent.java
15902         (ignoreOldMouseEvents): Made static.
15903
15904 2006-06-14  Mark Wielaard  <mark@klomp.org>
15905
15906         * gnu/java/awt/peer/gtk/ComponentGraphics.java (drawLine): Lock and
15907         call super.
15908         (drawRect): Likewise.
15909         (fillRect): Likewise.
15910
15911 2006-06-14  Lillian Angel  <langel@redhat.com>
15912
15913         * java/awt/Component.java
15914         (ignoreOldMouseEvents): New helper function.
15915         (translateEvent): Changed to be non-static and use new helper.
15916         * java/awt/TextComponent.java
15917         (ignoreOldMouseEvents): New helper function.
15918
15919 2006-06-14  Roman Kennke  <kennke@aicas.com>
15920
15921         * javax/swing/RepaintManager.java
15922         (MERGE_REGIONS): New constant flag.
15923         (commitBuffer): Exclude the merging of regions by default. This
15924         was causing painting artifacts in some applications, especially
15925         when different areas of the GUI are updated synchronously.
15926
15927 2006-06-14  Roman Kennke  <kennke@aicas.com>
15928
15929         * examples/gnu/classpath/examples/awt/AicasGraphicsBenchmark.java:
15930         New file. This is a benchmark for AWT 1.1 style graphics operations.
15931         * examples/gnu/classpath/examples/awt/palme.gif: New file.
15932         * examples/gnu/classpath/examples/awt/aicas.gif: New file.
15933
15934 2006-06-14  Tom Tromey  <tromey@redhat.com>
15935
15936         * java/io/File.java (getParent): Javadoc fix.
15937
15938 2006-06-14  Tom Tromey  <tromey@redhat.com>
15939
15940         * gnu/java/net/loader/JarURLLoader.java (initialize): Skip our own
15941         jar.
15942         * gnu/java/net/IndexListParser.java (IndexListParser): Call clearAll
15943         when index entry does not exist.
15944
15945 2006-06-14  Tania Bento  <tbento@redhat.com>
15946
15947         * javax/swing/AbstractButton.java
15948         (AbstractButton): Set focusable to false, not true.
15949
15950 2006-06-14  Tania Bento  <tbento@redhat.com>
15951
15952         * javax/swing/JMenuItem.java
15953         (init): Changed horizontalAlignment from JButton.LEFT to JButton.LEADING.
15954
15955 2006-06-14  Tania Bento  <tbento@redhat.com>
15956
15957         * javax/swing/JCheckBoxMenuItem.java
15958         (JCheckBoxMenuItem): Added check to set the selected state.
15959
15960 2006-06-14  Roman Kennke  <kennke@aicas.com>
15961
15962         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
15963         (cairoDrawLine): New native method.
15964         (cairoDrawRect): New native method.
15965         (cairoFillRect): New native method.
15966         (drawLine): Use special native method.
15967         (drawRect): Use special native method.
15968         (fillRect): Use special native method.
15969         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
15970         (cairoDrawLine): New native method.
15971         (cairoDrawRect): New native method.
15972         (cairoFillRect): New native method.
15973         * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Regenerated.
15974
15975 2006-06-14  Mark Wielaard  <mark@klomp.org>
15976
15977         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c
15978         (Java_gnu_java_awt_peer_gtk_GtkImage_getPixels): Return when array
15979         cannot be allocated.
15980
15981 2006-06-14  Tom Tromey  <tromey@redhat.com>
15982
15983         PR java/28024:
15984         * m4/acinclude.m4 (REGEN_WITH_JAY): Use backquote, not $(...).
15985         * configure.ac (QT_INCLUDE_DIR): Use backquote, not $(...).
15986
15987 2006-06-14  Roman Kennke  <kennke@aicas.com>
15988
15989         * javax/swing/JComponent.java
15990         (isRepainting): New flag.
15991         (paintImmediately2): Set isRepainting flag.
15992         (getRoot): Removed obsolete method.
15993         (paintDoubleBuffered): Differenciate between paint calls from
15994         RepaintManager and from AWT refresh. Call
15995         RepaintManager.commitBuffer with this and local coordinates.
15996         (findOpaqueParent): Stop searching at heavyweight component. These
15997         are always opaque.
15998         (paintChildrenOptimized): Don't paint heavyweight children. These
15999         should care for themselves.
16000         (paintChildrenWithOverlap): Don't paint heavyweight children. These
16001         should care for themselves.
16002         * javax/swing/RepaintManager.java
16003         (getOffscreenBuffer): Associate offscreen buffer with toplevel
16004         windows only.
16005         (getVolatileOffscreenBuffer): Associate offscreen buffer with
16006         toplevel windows only.
16007         (getRoot): Removed obsolete method.
16008         (commitBuffer): Blit buffer on nearest heavyweight.
16009         (blitBuffer): New helper method.
16010         (getHeavyweightParent): New helper method.
16011         (commitRemainingBuffers): Call blitBuffer instead of commitBuffer.
16012         * javax/swing/SwingUtilities.java
16013         (convertRectangleToAncestor): New helper method.
16014
16015 2006-06-14  Raif S. Naffah  <raif@swiftdsl.com.au>
16016
16017         * gnu/javax/security/auth/login/ConfigFileTokenizer.java: Fixed a typo.
16018         Condition all trace/debug code based on Configuration.DEBUG.
16019         Use logger instead of STDOUT and ot STDERR.
16020
16021 2006-06-13  Lillian Angel  <langel@redhat.com>
16022
16023         * native/plugin/gcjwebplugin.cc
16024         (NP_Initialize): Removed code to create whitelist file.
16025         (GCJ_New): Added code to create whitelist file.
16026         (plugin_user_trusts_documentbase): Fixed error message.
16027
16028 2006-06-13  David Gilbert  <david.gilbert@object-refinery.com>
16029
16030         * javax/swing/plaf/metal/MetalIconFactory.java
16031         (HorizontalSliderThumbIcon.gradientMask): Modified by 1 pixel to 
16032         prevent overwriting border,
16033         (VerticalSliderThumbIcon.gradientMask): Likewise.
16034
16035 2006-06-13  Andrew John Hughes  <gnu_andrew@member.fsf.org>
16036
16037         * javax/management/AttributeNotFoundException.java,
16038         * javax/management/InvalidAttributeValueException.java,
16039         * javax/management/JMException.java,
16040         * javax/management/MBeanException.java,
16041         * javax/management/OperationsException.java,
16042         * javax/management/ReflectionException.java:
16043         New files.
16044         
16045 2006-06-13  Roman Kennke  <kennke@aicas.com>
16046
16047         * java/awt/Component.java
16048         (dispatchEvent): Handle events even when consumed (this might be
16049         picked up later in the dispatching chain).
16050         * javax/swing/plaf/basic/BasicLookAndFeel.java
16051         (PopupHelper.mousePressed): Don't consume event. Only close popup
16052         when target component isn't flagged as DONT_CANCEL_POPUP.
16053         (DONT_CANCEL_POPUP): New package private constant for flagging
16054         special components that don't trigger popup closing.
16055         * javax/swing/plaf/basic/BasicArrowButton.java
16056         (BasicArrowButton): Set client property for not triggering closing
16057         of popups.
16058
16059 2006-06-13  Lillian Angel  <langel@redhat.com>
16060
16061         * java/awt/image/PixelGrabber.java
16062         (PixelGrabber): Added to API documentation.
16063
16064 2006-06-13  Keith Seitz  <keiths@redhat.com>
16065
16066         From Kyle Galloway  <kgallowa@redhat.com>:
16067         * gnu/classpath/jdwp/event/filters/ExceptionOnlyFilter.java
16068         (ExceptionOnlyFilter): Allow null refId.
16069
16070         * gnu/classpath/jdwp/event/BreakpointEvent.java: Added _instance for
16071         compatibility with filters.
16072         (getParameter): Modified to allow access to above. 
16073
16074 2006-06-13  Sven de Marothy  <sven@physto.se>
16075
16076         * gnu/java/awt/peer/gtk/CairoSurface.java
16077         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
16078         (create): Use stride in ints.
16079
16080 2006-06-13  Keith Seitz  <keiths@redhat.com>
16081
16082         From Kyle Galloway  <kgallowa@redhat.com>:
16083         * gnu/classpath/jdwp/event/ClassUnloadEvent.java: New file.
16084
16085 2006-06-13  David Gilbert  <david.gilbert@object-refinery.com>
16086
16087         * javax/swing/plaf/basic/BasicSliderUI.java
16088         (calculateThumbSize): Removed unnecessary code,
16089         (calculateThumbLocation): Shift position by one,
16090         (calculateTickRect): Shift position by one when ticks are displayed,
16091         (calculateLabelRect): Calculate rect differently according to whether
16092         or not the labels are visible,
16093         (paintTrack): Shift track down one pixel.
16094
16095 2006-06-13  Lillian Angel  <langel@redhat.com>
16096
16097         * java/awt/image/PixelGrabber.java
16098         (PixelGrabber): Removed check to throw exception. JDK does
16099         not do this.
16100         (startGrabbing): Removed line to print stacktrace. 
16101
16102 2006-06-13  Mark Wielaard  <mark@klomp.org>
16103
16104         * gnu/java/awt/peer/gtk/CairoGraphics2D.java (drawImage): Don't
16105         allocate unused AffineTransform. Add comment about conversion to
16106         BufferedImage.
16107         * gnu/java/awt/peer/gtk/ComponentGraphics.java (drawImage):
16108         Recognize identity transform as "easy". Always convert to
16109         BufferedImage before calling super.
16110
16111 2006-06-13  Roman Kennke  <kennke@aicas.com>
16112
16113         * java/awt/Component.java
16114         (getGraphics): Translate child graphics correctly.
16115         (dispatchEvent): Only dispatch event if it hasn't been consumed
16116         yet by the global dispatcher.
16117         * javax/swing/plaf/basic/BasicLookAndFeel.java
16118         Added some API docs.
16119         (PopupHelper.mousePressed): Consume the event after closing
16120         opened menus.
16121
16122 2006-06-13  David Gilbert  <david.gilbert@object-refinery.com>
16123
16124         * javax/swing/plaf/basic/BasicCheckBoxUI.java: Source code formatting 
16125         changes only,
16126         * javax/swing/plaf/basic/BasicComboBoxUI.java: Likewise,
16127         * javax/swing/plaf/basic/BasicComboPopup.java: Likewise,
16128         * javax/swing/plaf/basic/BasicFileChooserUI.java: Likewise,
16129         * javax/swing/plaf/basic/BasicInternalFrameUI.java: Likewise,
16130         * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise,
16131         * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise,
16132         * javax/swing/plaf/basic/BasicOptionPaneUI.java: Likewise,
16133         * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise,
16134         * javax/swing/plaf/basic/BasicRadioButtonUI.java: Likewise,
16135         * javax/swing/plaf/basic/BasicScrollBarUI.java: Likewise,
16136         * javax/swing/plaf/basic/BasicSliderUI.java: Likewise,
16137         * javax/swing/plaf/basic/BasicTableHeaderUI.java: Likewise,
16138         * javax/swing/plaf/basic/BasicTableUI.java: Likewise,
16139         * javax/swing/plaf/basic/BasicTextUI.java: Likewise,
16140         * javax/swing/plaf/basic/BasicToolBarUI.java: Likewise,
16141         * javax/swing/plaf/basic/BasicTreeUI.java: Likewise.
16142
16143 2006-06-12  Sven de Marothy  <sven@physto.se>
16144
16145         * java/awt/font/LineBreakMeasurer.java): Implement.
16146
16147 2006-06-12  Keith Seitz  <keiths@redhat.com>
16148
16149         From Kyle Galloway  <kgallowa@redhat.com>:
16150         * gnu/classpath/jdwp/event/SingleStepEvent.java: New file.
16151
16152 2006-06-12  Keith Seitz  <keiths@redhat.com>
16153
16154         From Kyle Galloway  <kgallowa@redhat.com>:
16155         * gnu/classpath/jdwp/event/MethodEntryEvent.java: New file.
16156
16157         * gnu/classpath/jdwp/event/MethodExitEvent.java: New file.
16158
16159 2006-06-12  Roman Kennke  <kennke@aicas.com>
16160
16161         * javax/swing/JComponent.java
16162         (paintDoubleBuffered): Correctly translate and clip the Graphics
16163         instance.
16164         (clipAndTranslateGraphics): New helper method.
16165
16166 2006-06-12  Roman Kennke  <kennke@aicas.com>
16167
16168         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
16169         (copy): Use getClip() to copy the clip. Make copied transform
16170         null when original transform is null. Set clip here.
16171         (setTransform): Correctly update the clip.
16172         (setTransformImpl): New method. Updates the actual transform for
16173         Cairo.
16174         (transform): Correctly update the clip.
16175         (translate): Correctly update the clip.
16176         (clip): Handle null clip and argument correctly.
16177         (clipRect): Avoid creating new Rectangle objects.
16178         (getClip): Get the correct copy of the clip.
16179         (setClip): Correctly handle null argument.
16180         * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java
16181         (CairoSurfaceGraphics): Don't set the clip here. The clip can either
16182         be null or whatever has been set in copy().
16183         * gnu/java/awt/peer/gtk/ComponentGraphics.java
16184         (drawImage): Add translation to the image coordinates.
16185         * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
16186         (VolatileImageGraphics): Don't set clip here. The clip can either
16187         be null or whatever has been set in copy().
16188
16189 2006-06-12  Keith Seitz  <keiths@redhat.com>
16190
16191         From Kyle Galloway  <kgallowa@redhat.com>:
16192         * gnu/classpath/jdwp/event/filters/ExceptionOnlyFilter.java
16193         (forCaught): Removed unused/unnecessary method.
16194         (forUncaught): Likewise.
16195         (matches): Implement.
16196
16197 2006-06-12  Keith Seitz  <keiths@redhat.com>
16198
16199         From Kyle Galloway  <kgallowa@redhat.com>:
16200         * gnu/classpath/jdwp/event/ExceptionEvent.java: New file.
16201
16202 2006-06-12  Keith Seitz  <keiths@redhat.com>
16203
16204         From Kyle Galloway  <kgallowa@redhat.com>:
16205         * gnu/classpath/jdwp/event/Event.java: Added constants for
16206         type.
16207         (getParameter): Changed parameter type from Class to int.
16208         * gnu/classpath/jdwp/event/BreakpointEvent.java (getParameter):
16209         Changed from Class type to constants.
16210         * gnu/classpath/jdwp/event/ClassPrepareEventEvent.java (getParameter):
16211         Likewise.
16212         * gnu/classpath/jdwp/event/ThreadEndEvent.java (getParameter):
16213         Likewise.
16214         * gnu/classpath/jdwp/event/ThreadStartEvent.java (getParameter):
16215         Likewise.
16216         * gnu/classpath/jdwp/event/VmDeathEvent.java (getParameter):
16217         Likewise.
16218         * gnu/classpath/jdwp/event/VmInitEvent.java (getParameter):
16219         Likewise.
16220         * gnu/classpath/jdwp/event/ClassMatchFilter.java (matches):
16221         Likewise.
16222         * gnu/classpath/jdwp/event/ClassOnlyFilter.java (matches):
16223         Likewise.
16224         * gnu/classpath/jdwp/event/InstanceOnlyFilter.java (matches):
16225         Likewise.
16226         * gnu/classpath/jdwp/event/ThreadOnlyFilter.java (matches):
16227         Likewise.
16228
16229 2006-06-12  Lillian Angel  <langel@redhat.com>
16230
16231         * tools/gnu/classpath/tools/appletviewer/StandaloneAppletWindow.java
16232         (StandaloneAppletWindow): Changed title of standalone window.
16233
16234 2006-06-12  Lillian Angel  <langel@redhat.com>
16235
16236         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
16237         (layoutContainer): Added missing selectedComponent assignment.
16238
16239 2006-06-12  Lillian Angel  <langel@redhat.com>
16240
16241         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
16242         (layoutContainer): Added check to prevent exception.
16243
16244 2006-06-12  Tom Tromey  <tromey@redhat.com>
16245
16246         * java/lang/Thread.java (uncaughtException): Javadoc fix.
16247
16248 2006-06-12  Mark Wielaard  <mark@klomp.org>
16249
16250         * gnu/java/awt/peer/gtk/ComponentGraphics.java (hasLock):
16251         New static field.
16252         (ONE): Likewise.
16253         (lock): New method.
16254         (unlock): Likewise.
16255         (draw): Use lock() and unlock().
16256         (fill): Likewise.
16257         (drawRenderedImage): Likewise.
16258         (drawImage): Likewise.
16259         (drawGlyphVector): Likewise.
16260
16261 2006-06-12  Roman Kennke  <kennke@aicas.com>
16262
16263         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
16264         (drawPixels): Include alpha in parameter list.
16265         (cairoFill): Include alpha in parameter list.
16266         (setComposite): Don't modify the color.
16267         (draw(Shape))): Use fill when the current composite has an alpha
16268         of != 1.0, so that the stroked shaped will be composited.
16269         (fill(Shape)): Call cairoFill() with alpha.
16270         (drawImage): Call drawPixels or drawSurface with alpha.
16271         (drawGlyphVector): When composite alpha is != 1.0, render the
16272         outline using fill() to enable compositing for text.
16273         (drawRaster): Call drawPixels with alpha.
16274         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
16275         (nativeDrawSurface): Include alpha in parameter list.
16276         (drawSurface): Include alpha in parameter list. Pass it to
16277         nativeDrawSurface().
16278         * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h
16279         * include/gnu_java_awt_peer_gtk_CairoSurface.h:
16280         Regenerated.
16281         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
16282         (drawPixels): Handle possible alpha for compositing.
16283         (cairoFill): Likewise.
16284         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
16285         (nativeDrawSurface): Handle possible alpha for compositing.
16286
16287 2006-06-12  Mark Wielaard  <mark@klomp.org>
16288
16289         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java (streamImage):
16290         Notify data when completely done. Wait for worker thread to finish.
16291         Rethrow any pending exceptions.
16292         (exception): New field.
16293         (run): Store pending exception.
16294
16295 2006-06-12  Andrew John Hughes  <gnu_andrew@member.fsf.org>
16296
16297         * java/lang/management/ManagementPermission.java:
16298         New file.
16299         
16300 2006-06-12  Raif S. Naffah  <raif@swiftdsl.com.au>
16301
16302         * doc/tools.texinfo: Replaced original author with "The GNU Classpath Team".
16303
16304 2006-06-12  Raif S. Naffah  <raif@swiftdsl.com.au>
16305
16306         * gnu/javax/security/auth/login/ConfigFileParser.java (validateClassName):
16307         Use String.charAt().
16308
16309 2006-06-11  Thomas Fitzsimmons  <fitzsim@redhat.com>
16310
16311         * doc/tools.texinfo
16312         (Applet Tools): New chapter.
16313         (appletviewer Tool): New section.
16314         (gcjwebplugin): New section.
16315
16316 2006-06-11  Mark Wielaard  <mark@klomp.org>
16317
16318         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java (streamImage):
16319         Takes GdkPixbufWriter.
16320         (GdkPixbufWriter): Implements Runnable.
16321         (write(IIOMetadata,IIOImage,ImageWriteParam)): Start Thread for
16322         data processing.
16323         (DATADONE): New static final field.
16324         (data): New field.
16325         (write(byte[])): New method.
16326         (run): Likewise.
16327         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
16328         (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_initStaticState):
16329         Get dataOutputWriteID from writeClass.
16330         (stream_save_request): Change stream field to writer.
16331         (save_to_stream): Remove FIXME, call writer.
16332         (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_streamImage):
16333         Store writer.
16334
16335 2006-06-11  Andrew John Hughes  <gnu_andrew@member.fsf.org>
16336
16337         * NEWS:
16338         Mention new VM interface and use of properties.
16339         * doc/vmintegration.texinfo:
16340         Update with new gnu.java.lang.management section.
16341         * gnu/java/lang/management/RuntimeMXBeanImpl.java:
16342         New file.
16343         * java/lang/management/ManagementFactory.java:
16344         (getRuntimeMXBean()): Implemented.
16345         * vm/reference/gnu/java/lang/management/RuntimeMXBeanImpl.java:
16346         New VM interface file.
16347         
16348 2006-06-11  Raif S. Naffah  <raif@swiftdsl.com.au>
16349
16350         PR Classpath/26065
16351         * gnu/javax/security/auth/login/GnuConfiguration.java: Condition all trace/
16352         debug code based on Configuration.DEBUG.
16353         Use logger instead of STDOUT and ot STDERR.
16354         * gnu/javax/security/auth/login/ConfigFileParser.java: Likewise.
16355         * gnu/javax/crypto/sasl/SaslOutputStream.java: Likewise.
16356         * gnu/javax/crypto/sasl/SaslInputStream.java: Likewise.
16357         * gnu/javax/crypto/sasl/srp/SRPServer.java: Likewise.
16358         * gnu/javax/crypto/sasl/srp/SRPClient.java: Likewise.
16359         * gnu/javax/crypto/prng/CSPRNG.java: Likewise.
16360         * gnu/javax/crypto/pad/TBC.java: Likewise.
16361         * gnu/javax/crypto/pad/PKCS7.java: Likewise.
16362         * gnu/javax/crypto/pad/PKCS1_V1_5.java: Likewise.
16363         * gnu/javax/crypto/pad/BasePad.java: Likewise.
16364         * gnu/javax/crypto/mac/OMAC.java: Likewise.
16365         * gnu/javax/crypto/keyring/PasswordEncryptedEntry.java: Likewise.
16366         * gnu/javax/crypto/keyring/PasswordAuthenticatedEntry.java: Likewise.
16367         * gnu/javax/crypto/keyring/GnuPublicKeyring.java: Likewise.
16368         * gnu/javax/crypto/keyring/GnuPrivateKeyring.java: Likewise.
16369         * gnu/javax/crypto/keyring/EnvelopeEntry.java: Likewise.
16370         * gnu/javax/crypto/keyring/Entry.java: Likewise.
16371         * gnu/javax/crypto/key/srp6/SRPKeyPairGenerator.java: Likewise.
16372         * gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java: Likewise.
16373         * gnu/javax/crypto/jce/prng/UMacRandomSpi.java: Likewise.
16374         * gnu/javax/crypto/jce/prng/ICMRandomSpi.java: Likewise.
16375         * gnu/javax/crypto/jce/keyring/GnuKeyring.java: Likewise.
16376         * gnu/javax/crypto/cipher/Twofish.java: Likewise.
16377         * gnu/javax/crypto/cipher/Khazad.java: Likewise.
16378         * gnu/javax/crypto/cipher/Rijndael.java: Likewise.
16379         * gnu/javax/crypto/cipher/BaseCipher.java: Likewise.
16380         * gnu/javax/crypto/cipher/Anubis.java: Likewise.
16381         * gnu/java/security/Properties.java: Likewise.
16382         * gnu/java/security/x509/X509CRLEntry.java: Likewise.
16383         * gnu/java/security/x509/X509CRL.java: Likewise.
16384         * gnu/java/security/x509/ext/Extension.java: Likewise.
16385         * gnu/java/security/util/Prime2.java: Likewise.
16386         * gnu/java/security/util/Base64.java: Likewise.
16387         * gnu/java/security/sig/rsa/RSAPSSSignature.java: Likewise.
16388         * gnu/java/security/sig/rsa/EMSA_PSS.java: Likewise.
16389         * gnu/java/security/provider/PKIXCertPathValidatorImpl.java: Likewise.
16390         * gnu/java/security/pkcs/SignerInfo.java: Likewise.
16391         * gnu/java/security/pkcs/PKCS7SignedData.java: Likewise.
16392         * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java: Likewise.
16393         * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java: Likewise.
16394         * gnu/java/security/key/rsa/RSAKeyPairGenerator.java: Likewise.
16395         * gnu/java/security/key/rsa/GnuRSAPrivateKey.java: Likewise.
16396         * gnu/java/security/key/dss/DSSPrivateKey.java: Likewise.
16397         * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java: Likewise.
16398         * gnu/java/security/key/dss/DSSKeyPairGenerator.java: Likewise.
16399         * gnu/java/security/jce/sig/SignatureAdapter.java: Likewise.
16400         * gnu/java/security/jce/sig/EncodedKeyFactory.java: Likewise.
16401         * gnu/java/security/hash/Whirlpool.java: Likewise.
16402
16403 2006-06-11  Mark Wielaard  <mark@klomp.org>
16404
16405         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_FreetypeGlyphVector.c
16406         (Java_gnu_java_awt_peer_gtk_FreetypeGlyphVector_getGlyphs):
16407         Remove unused variable glyph_index.
16408
16409 2006-06-11  Mark Wielaard  <mark@klomp.org>
16410
16411         * gnu/java/awt/peer/gtk/CairoGraphics2D.java (drawImage):
16412         Don't recurse, return false if not an BufferedImage and no image
16413         source available.
16414         * gnu/java/awt/peer/gtk/ComponentGraphics.java (draw): Add
16415         end_gdk_drawing() to finally block.
16416         (fill): Likewise.
16417         (drawRenderedImage): Likewise.
16418         (drawImage): Likewise.
16419         (drawGlyphVector): Likewise.
16420
16421 2006-06-11  Raif S. Naffah  <raif@swiftdsl.com.au>
16422
16423         * doc/tools.texinfo: Added text for new -cacert command.
16424         Re-structured sections.
16425         * resource/gnu/classpath/tools/keytool/messages.properties: Added messages
16426         for -cacert command.
16427         * tools/gnu/classpath/tools/keytool/Main.java (CACERT_CMD): New constant.
16428         (_CACERT): Likewise.
16429         (shutdownThread): New field.
16430         (Main): Install shutdown thread.
16431         (main): Uninstall shutdown thread.
16432         (start): Handle new -cacert command.
16433         (getParser): Likewise.
16434         (teardown): Increased visibility.
16435         (ShutdownHook): New inner class.
16436         * tools/gnu/classpath/tools/keytool/CACertCmd.java: New file.
16437
16438 2006-06-11  Sven de Marothy  <sven@physto.se>
16439
16440         * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
16441         (setupGlyphMetrics): New method. Add glyphmetrics caching.
16442         (getOutline): Operate on the shape directly.
16443         * gnu/java/awt/peer/gtk/GdkFontPeer.java
16444         (getGlyphMetrics,putGlyphMetrics): Add GlyphMetrics caching.
16445         * include/gnu_java_awt_peer_gtk_FreetypeGlyphVector.h
16446         (getGlyph renamed getGlyphs)
16447         * java/awt/geom/AffineTransform.java
16448         (getTranslateInstance): Set fields directly.
16449         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_FreetypeGlyphVector.c
16450         (getGlyphs): Get all glyph codes at once.
16451         
16452 2006-06-11  Raif S. Naffah  <raif@swiftdsl.com.au>
16453
16454         PR Classpath/27853
16455         * gnu/javax/crypto/RSACipherImpl.java (engineDoFinal): Was short by 1 byte.
16456
16457 2006-06-11  Sven de Marothy  <sven@physto.se>
16458
16459         * java/awt/font/TextLayout.java
16460         (getLogicalHighlightShape): Add check.
16461         * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
16462         (getLogicalBounds, getGlyphPositions): Cache bounds, positions.
16463
16464 2006-06-11  Raif S. Naffah  <raif@swiftdsl.com.au>
16465
16466         * gnu/javax/security/auth/login/ConfigFileParser.java (validateClassName):
16467         Check that every component of 'cn' starts with a valid Java identifier char.
16468
16469 2006-06-10  Tom Tromey  <tromey@redhat.com>
16470
16471         * java/io/File.java (pathSeparator): Typo fix.
16472
16473 2006-06-10  Mark Wielaard  <mark@klomp.org>
16474
16475         * native/jni/gtk-peer/cairographics2d.h (cp_gtk_get_cairo_t):
16476         Removed.
16477         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
16478         Mark all unused parameters.
16479         (cp_gtk_get_cairo_t): Removed.
16480         (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoSetMatrix):
16481         Don't mix declerations and statements.
16482         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c:
16483         Mark all unused parameters.
16484         (Java_gnu_java_awt_peer_gtk_CairoSurface_nativeDrawSurface):
16485         Get cairographics2d pointer directly.
16486         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c
16487         (Java_gnu_java_awt_peer_gtk_GdkTextLayout_cairoDrawGdkTextLayout):
16488         Use jlong to pass pointer.
16489         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c:
16490         Mark all unused parameters.
16491         * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Regenerated.
16492         * include/gnu_java_awt_peer_gtk_CairoSurface.h: Regenerated.
16493         * include/gnu_java_awt_peer_gtk_ComponentGraphics.h: Regenerated.
16494         * include/gnu_java_awt_peer_gtk_GdkTextLayout.h: Regenerated.
16495         * include/gnu_java_awt_peer_gtk_GtkVolatileImage.h: Regenerated.
16496         * include/java_io_VMFile.h: Regenerated.
16497
16498 2006-06-10  Roman Kennke  <kennke@aicas.com>
16499
16500         * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
16501         (VolatileImageGraphics(VolatileImageGraphics)): Use clipRect()
16502         instead of setClip(), so that an already present clip is intersected
16503         and not resetted.
16504
16505 2006-06-10  Mark Wielaard  <mark@klomp.org>
16506
16507         * gnu/java/awt/peer/gtk/GdkFontPeer.java (GdkFontLineMetrics):
16508         Call getSize() to avoid accessor method.
16509
16510 2006-06-10  Mark Wielaard  <mark@klomp.org>
16511
16512         * javax/swing/text/html/HTMLDocument.java (addSpecialElement):
16513         Qualify ElementSpec.
16514
16515 2006-06-10  Mark Wielaard  <mark@klomp.org>
16516
16517         * lib/.cvsignore: Add sun.
16518         * lib/Makefile.am (dist-hook): Likewise.
16519
16520 2006-06-10  Roman Kennke  <kennke@aicas.com>
16521
16522         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
16523         * gnu/java/awt/peer/gtk/CairoSurface.java
16524         * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java
16525         * gnu/java/awt/peer/gtk/ComponentGraphics.java
16526         * gnu/java/awt/peer/gtk/GtkVolatileImage.java
16527         * native/jni/gtk-peer/cairographics2d.h
16528         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
16529         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
16530         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
16531         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c:
16532         Changed method signatures and calls to pass native pointers directly
16533         into the JNI code, in order to avoid costly lookups on each
16534         JNI call.
16535         * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h,
16536         * include/gnu_java_awt_peer_gtk_CairoSurface.h,
16537         * include/gnu_java_awt_peer_gtk_ComponentGraphics.h,
16538         * include/gnu_java_awt_peer_gtk_GtkVolatileImage.h:
16539         Regenerated
16540
16541 2006-06-10  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
16542
16543         PR 27973
16544         * javax/swing/text/DefaultStyledDocument.java 
16545         (ElementBuffer.insertContentTag):
16546         Do not recreate leaves and do not remove elements here. 
16547
16548 2006-06-10  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
16549
16550         * javax/swing/text/html/HTMLDocument.java
16551         (HTMLReader.HiddenAction): Implemented.
16552
16553 2006-06-10  Roman Kennke  <kennke@aicas.com>
16554
16555         * javax/swing/RepaintManager.java
16556         (getVolatileOffscreenBuffer): Store the created buffer.
16557         * javax/swing/JComponent.java
16558         (paintDoubleBuffered): Try to use a volatile offscreen buffer
16559         for better performance.
16560
16561 2006-06-10  Roman Kennke  <kennke@aicas.com>
16562
16563         * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
16564         (VolatileImageGraphics(VolatileImageGraphics)): Initialize native
16565         context correctly.
16566         (getRealBounds): Overridden to return the correct bounds.
16567
16568 2006-06-10  Roman Kennke  <kennke@aicas.com>
16569
16570         * javax/swing/plaf/metal/MetalButtonUI.java
16571         (update): Fixed to paint the gradient under the correct conditions.
16572         (updateWidthGradient): Removed.
16573         (isToolbarButton): New helper method.
16574         (isDrawingGradient): New helper method.
16575
16576 2006-06-09  Roman Kennke  <kennke@aicas.com>
16577
16578         * javax/swing/JTabbedPane.java
16579         (setSelectedIndex): Don't change the visibility of the components,
16580         this is done by the UI class.
16581         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
16582         (TabbedPaneLayout.layoutContainer): Change visibility of component
16583         here, depending on the selected index. Only do this if the new
16584         selected component is not null. Some programs seem to expect
16585         this.
16586         (visibleComponent): New field.
16587         (getVisibleComponent): Changed to return visibleComponent field.
16588         (setVisibleComponent): Changed to set the visibility of
16589         the old and new visible component.
16590
16591 2006-06-09  Roman Kennke  <kennke@aicas.com>
16592
16593         * javax/swing/JComponent.java
16594         (paintChildrenOptimized): Paint component with a new Graphics
16595         object to protect the other painting code from modifications
16596         done in that object, and avoid cleanup ops on possibly dispose()ed
16597         Graphics object.
16598
16599 2006-06-09  Sven de Marothy  <sven@physto.se>
16600
16601         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
16602         (Java_gnu_java_awt_peer_gtk_ComponentGraphics_disposeSurface):
16603         Use GTK locks while disposing (Xlib) surface.
16604
16605 2006-06-09  Tom Tromey  <tromey@redhat.com>
16606
16607         * lib/Makefile.am (install-data-local): Copy 'sun' files.
16608         (uninstall-local): Delete 'sun' directory.
16609         (glibj.zip): Include 'sun' classes.
16610         (clean-local): Delete 'sun' directory.
16611         * lib/gen-classlist.sh.in: Search 'sun' subdirectories.
16612
16613 2006-06-09  Roman Kennke  <kennke@aicas.com>
16614
16615         * gnu/java/awt/java2d/AbstractGraphics2D.java
16616         (drawImage): Fixed scaling.
16617         (fillShape): Removed offset handling.
16618         (fillShapeImpl): Limit scanlining to device bounds.
16619         (getSegments): Removed offset handling.
16620         * gnu/java/awt/java2d/PolyEdge.java
16621         (toString): Include isClip flag in output.
16622
16623 2006-06-08  Sven de Marothy  <sven@physto.se>
16624
16625         * java/awt/font/TextLayout.java
16626         (getOutline): Allow null transform.
16627
16628 2006-06-08  Sven de Marothy  <sven@physto.se>
16629
16630         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
16631         (drawString): Use TextLayout instead of GlyphVector.
16632
16633 2006-06-08  Sven de Marothy  <sven@physto.se>
16634
16635         * java/text/Bidi.java: Treat WS as neutral for rules N1 & N2.
16636         * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
16637         New constructor for bidirectionality.
16638         (getGlyphMetrics): Return whitespace glyphs.
16639         (getLogicalBounds): Offset rectangles to correct positions.
16640         * gnu/java/awt/peer/gtk/GdkFontPeer.java
16641         (getBaselineFor): Default to ROMAN_BASELINE.
16642         (GdkFontLineMetrics): Guess some values for underline and 
16643         strikethrough.
16644         (layoutGlyphVector): Use bidirectionality.
16645         * java/awt/font/TextLayout.java: Implement, mostly.
16646         
16647 2006-06-09  Anthony Green  <green@redhat.com>
16648
16649         PR classpath/27888:
16650         * javax/swing/text/GapContent.java (binarySearch): Use unsigned shift.
16651         * java/util/Collections.java (binarySearch): Use unsigned shift.
16652         * java/util/Arrays.java (binarySearch): Use unsigned shift.
16653
16654 2006-06-09  Tom Tromey  <tromey@redhat.com>
16655
16656         * tools/.cvsignore: Added .deps.
16657
16658 2006-06-09  Kazuya Ujihara  <ujihara@aurora.dti.ne.jp>
16659
16660         PR classpath/27966:
16661         * gnu/javax/security/auth/login/ConfigFileParser.java
16662         (validateClassName): Quote '.' in regexp.
16663
16664 2006-06-09  Tom Tromey  <tromey@redhat.com>
16665
16666         PR classpath/23863:
16667         * native/fdlibm/dtoa.c (_dtoa): Free contents of _Jv_reent when
16668         finished.
16669         * native/fdlibm/mprec.c: New version from newlib.  Commented out
16670         some includes.  Added <assert.h>.
16671         (_reent, _Bigint): New defines.
16672         (_REENT_CHECK_MP, _REENT_MP_FREELIST, _REENT_MP_P5S): Likewise.
16673         (__ULong, __Long): New types.
16674         (_calloc_r): New function.
16675         (Balloc): Dynamically add new _freelist entries as needed.
16676         * native/fdlibm/mprec.h (struct _Jv_Bigint): Don't use
16677         MAX_BIGNUMS to size _x[].
16678         (struct _Jv_reent): _freelist now a _Jv_Bigint**.  Removed
16679         _allocation_map, num.  Added _max_k.
16680
16681 2006-06-09  Roman Kennke  <kennke@aicas.com>
16682
16683         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
16684         (drawGlyphVector): Added fallback for non-FreetypeGlyphVector
16685         implementations.
16686
16687 2006-06-09  David Gilbert  <david.gilbert@object-refinery.com>
16688
16689         * java/awt/image/BufferedImage.java
16690         (BufferedImage(int, int, int)): Added API docs,
16691         (getProperty(String)): Return correct value for undefined properties,
16692         (getPropertyNames()): Added comments and removed FIXME.
16693
16694 2006-06-09  Thomas Fitzsimmons  <fitzsim@redhat.com>
16695
16696         * native/plugin/gcjwebplugin.cc (PLUGIN_ERROR_THREE): New macro.
16697         (NP_Initialize): Use PLUGIN_ERROR_THREE in place of g_strconcat.
16698
16699 2006-06-09  Francis Kung  <fkung@redhat.com>
16700
16701         * javax/swing/plaf/basic/BasicComboBoxRenderer.java:
16702         (getPreferredSize): Return correct height for null or empty 
16703         items.
16704
16705 2006-06-09  David Gilbert  <david.gilbert@object-refinery.com>
16706
16707         * java/awt/datatransfer/DataFlavor.java
16708         (readExternal): Mark as stub,
16709         (writeExternal): Likewise,
16710         * java/awt/dnd/DropTargetContext.java
16711         (dropComplete): Mark as stub,
16712         (acceptDrag): Likewise,
16713         (rejectDrag): Likewise,
16714         (acceptDrop): Likewise,
16715         (rejectDrop): Likewise,
16716         (getCurrentDataFlavors): Likewise,
16717         (getTransferable): Likewise,
16718         * java/awt/dnd/DropTargetDropEvent.java
16719         (dropComplete): Mark as stub.
16720
16721 2006-06-09  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
16722
16723         * gnu/javax/swing/text/html/parser/SmallHtmlAttributeSet.java
16724         (constructor): Do not lowercase the values.
16725         * javax/swing/text/html/HTMLDocument.java
16726         (HTMLReader.addSpecialElement): Implemented.
16727         * examples/gnu/classpath/examples/swing/HtmlDemo.java: New file.
16728
16729 2006-06-09  Raif S. Naffah  <raif@swiftdsl.com.au>
16730
16731         On behalf of Matthew Wringe <mwringe@redhat.com>
16732         * gnu/java/security/Registry.java (ISO10126_PAD): New constant.
16733         * gnu/javax/crypto/pad/ISO10126.java: New class.
16734         * gnu/javax/crypto/pad/PadFactory.java (names): New field.
16735         (getInstance): Added support for ISO-10126 scheme.
16736         (getNames): Likewise.
16737         Cache result for speed.
16738
16739 2006-06-09  Raif S. Naffah  <raif@swiftdsl.com.au>
16740
16741         * gnu/javax/crypto/pad/BasePad.java (selfTest): Re-factored to allow more
16742         flexible self-test by sub-classes.
16743         (test1BlockSize): New method.
16744
16745 2006-06-09  David Gilbert  <david.gilbert@object-refinery.com>
16746
16747         * javax/swing/plaf/basic/BasicLookAndFeel.java
16748         (initComponentDefaults): Corrected 'ScrollBar.focusInputMap' entry,
16749         * javax/swing/plaf/basic/BasicScrollBarUI.java
16750         (installKeyboardActions): Implemented,
16751         (uninstallKeyboardActions): Implemented,
16752         (getInputMap): New method,
16753         (getActionMap): New method,
16754         (createActionMap): New method,
16755         (installUI): Call installKeyboardActions(),
16756         (uninstallUI): Call uninstallKeyboardActions().
16757         
16758 2006-06-09  David Gilbert  <david.gilbert@object-refinery.com>
16759
16760         * javax/swing/plaf/basic/BasicScrollPaneUI.java
16761         (getActionMap): Use correct key to store action map.
16762
16763 2006-06-09  Jeroen Frijters  <jeroen@frijters.net>
16764
16765         * gnu/java/awt/font/opentype/truetype/VirtualMachine.java
16766         (executeInstruction): Added NOT support.
16767
16768 2006-06-09  Jeroen Frijters  <jeroen@frijters.net>
16769
16770         * sun/reflect/annotation/AnnotationInvocationHandler.java:
16771         New file.
16772
16773 2006-06-08  Tom Tromey  <tromey@redhat.com>
16774
16775         * java/text/Bidi.java (resolveNeutralTypes): Set j'th slot
16776         of 'types'.
16777
16778 2006-06-09  Andrew John Hughes  <gnu_andrew@member.fsf.org>
16779
16780         * java/lang/management/RuntimeMXBean.java:
16781         New file.
16782         
16783 2006-06-08  Lillian Angel  <langel@redhat.com>
16784
16785         * native/plugin/gcjwebplugin.cc:
16786         (NP_Shutdown): Freed whitelist_filename.
16787
16788 2006-06-08  Lillian Angel  <langel@redhat.com>
16789
16790         * native/plugin/Makefile.am:
16791         Removed DATA_DIRECTORY.
16792         * native/plugin/gcjwebplugin.cc:
16793         Added new global fields for whitelist_file
16794         and data_directory. Removed WHITELIST_FILE.
16795         (NP_Initialize): Initialized new fields. Also,
16796         Changed to use new fields.
16797         (NP_Shutdown): Freed data_directory.
16798         (GCJ_New): Changed to use new fields.
16799         (plugin_ask_user_about_documentbase): Likewise.
16800
16801 2006-06-08  Lillian Angel  <langel@redhat.com>
16802
16803         * native/plugin/Makefile.am:
16804         Changed DATA_DIRECTORY to be ~/.gcjwebplugin.
16805         * native/plugin/gcjwebplugin.cc:
16806         Changed all instances of PLUGIN_DATA_DIRECTORY
16807         to DATA_DIRECTORY.
16808
16809 2006-06-08  Roman Kennke  <kennke@aicas.com>
16810
16811         * java/awt/LightweightDispatcher.java
16812         (handleMouseEvent): Replaced calls to AWTUtilities.convertPoint()
16813         with convertPointToChild(). This is more efficient and avoids
16814         problems with getLocationOnScreen().
16815         (findTarget): Check for component beeing showing() early.
16816         Simplified AWTUtilities.convertPoint() to a simple substraction
16817         operation.
16818         (convertPointToChild): New helper method.
16819
16820 2006-06-08  Thomas Fitzsimmons  <fitzsim@redhat.com>
16821
16822         * native/plugin/gcjwebplugin.cc (SECURITY_DESCRIPTION): Update
16823         message.
16824
16825 2006-06-08  Tom Fitzsimmons  <fitzsim@redhat.com>
16826             Lillian Angel  <langel@redhat.com>
16827
16828         * native/plugin/gcjwebplugin.cc
16829         (NP_Shutdown): Added code to free plugin mutex and whitelist file.
16830         Also, reset initialized field.
16831
16832 2006-06-08  Lillian Angel  <langel@redhat.com>
16833
16834         * javax/swing/plaf/basic/BasicProgressBarUI.java
16835         (paintString): Fixed to paint string at the correct location.
16836
16837 2006-06-08  Roman Kennke  <kennke@aicas.com>
16838
16839         * javax/swing/plaf/basic/BasicTreeUI.java
16840         (createDefaultActions): Added new actions.
16841         (TreePageAction.TreePageAction): Set action name.
16842         (TreePageAction.actionPerformed): Implemented.
16843         (TreePageAction.isEnabled): Implemented.
16844         (TreeToggleAction.TreePageAction): Set action name.
16845         (TreeToggleAction.actionPerformed): Implemented.
16846         (TreeToggleAction.isEnabled): Implemented.
16847         (TreeTraverseAction.TreeTraverseAction): Set action name.
16848         (TreeTraverseAction.actionPerformed): Use action name as command.
16849         (TreeTraverseAction.isEnabled): Implemented.
16850
16851 2006-06-08  Roman Kennke  <kennke@aicas.com>
16852
16853         * javax/swing/plaf/basic/BasicTreeUI.java
16854         (installKeyboardActions): Rewritten to correctly install the UI
16855         input and action maps.
16856         (getActionMap): New helper method.
16857         (createDefaultActionMap): New helper method.
16858         (TreeHomeAction.TreeHomeAction()): Implemented.
16859         (TreeHomeAction.actionPerformed): Implemented.
16860         (TreeHomeAction.isEnabled): Implemented.
16861         (TreeIncrementAction.TreeIncrementAction()): Implemented.
16862         (TreeIncrementAction.actionPerformed): Use action name as command.
16863         (TreeIncrementAction.isEnabled): Implemented.
16864
16865 2006-06-08  Mark Wielaard  <mark@klomp.org>
16866
16867         PR 27917
16868         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c
16869         (Java_gnu_java_awt_peer_gtk_GtkImage_loadImageFromData): Ref pixbuf
16870         and unref loader.
16871
16872 2006-06-08  Mark Wielaard  <mark@klomp.org>
16873
16874         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
16875         (attrs): Removed unused static.
16876
16877 2006-06-08  David Gilbert  <david.gilbert@object-refinery.com>
16878
16879         * javax/swing/plaf/basic/BasicScrollPaneUI.java
16880         (getInputMap): New method,
16881         (getActionMap): New method,
16882         (createActionMap): New method,
16883         (installKeyboardActions): Implemented,
16884         (uninstallKeyboardActions): Implemented.
16885
16886 2006-06-08  Robert Schuster  <robertschuster@fsfe.org>
16887
16888         * javax/swing/border/MatteBorder.java:
16889         (MatteBorder(int,int,int,int,Icon)): Removed if-statement and exception
16890         throwing.
16891         (paintBorder): Added if-statement to abort painting early.
16892
16893 2006-06-08  Robert Schuster  <robertschuster@fsfe.org>
16894
16895         Fixes PR27864.
16896         * gnu/xml/dom/DomIterator.java:
16897         (successor): Changed expression.
16898
16899 2006-06-08  Sven de Marothy  <sven@physto.se>
16900
16901         * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
16902         (defaultLayout): Do kerning.
16903         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_FreetypeGlyphVector.c
16904         (getKerning): Correct class name, removed unused variable.
16905
16906 2006-06-07  Thomas Fitzsimmons  <fitzsim@redhat.com>
16907
16908         * gnu/java/awt/peer/qt/QtToolkit.java (initToolkit): Load
16909         libqtpeer.so unconditionally.
16910
16911 2006-06-07  Andrew John Hughes  <gnu_andrew@member.fsf.org>
16912
16913         * java/util/InputMismatchException.java:
16914         Documented.
16915         
16916 2006-06-07  Andreas Tobler  <a.tobler@schweiz.ch>
16917
16918         * native/jawt/Makefile.am (AM_LDFLAGS): Add XTEST_LIBS.
16919
16920 2006-06-07  Roman Kennke  <kennke@aicas.com>
16921
16922         * javax/swing/plaf/basic/BasicTreeUI.java
16923         (completeUIUninstall): Implemented.
16924         (uninstallUI): Moved some bits to completeUIUninstall(). Complete
16925         editing before uninstalling anything.
16926         (isToggleEvent): Implemented.
16927         (selectPathForEvent): Make use of isToggleEvent().
16928         (ComponentHandler.componentMoved): Implemented.
16929         (ComponentHandler.startTimer): Implemented.
16930         (ComponentHandler.getScrollPane): Implemented.
16931         (ComponentHandler.actionPerformed): Implemented.
16932
16933 2006-06-07  Francis Kung  <fkung@redhat.com>
16934
16935         * javax/swing/JMenuBar.java:
16936         (getSubElements): Do not return null values.
16937
16938 2006-06-07  Roman Kennke  <kennke@aicas.com>
16939
16940         PR 27902
16941         * gnu/regexp/BacktrackStack.java
16942         * gnu/regexp/CharIndexed.java
16943         * gnu/regexp/CharIndexedCharArray.java
16944         * gnu/regexp/CharIndexedCharSequence.java
16945         * gnu/regexp/CharIndexedInputStream.java
16946         * gnu/regexp/CharIndexedString.java
16947         * gnu/regexp/CharIndexedStringBuffer.java
16948         * gnu/regexp/RE.java
16949         * gnu/regexp/REException.java
16950         * gnu/regexp/REFilterInputStream.java
16951         * gnu/regexp/REMatch.java
16952         * gnu/regexp/REMatchEnumeration.java
16953         * gnu/regexp/RESyntax.java
16954         * gnu/regexp/REToken.java
16955         * gnu/regexp/RETokenAny.java
16956         * gnu/regexp/RETokenBackRef.java
16957         * gnu/regexp/RETokenChar.java
16958         * gnu/regexp/RETokenEnd.java
16959         * gnu/regexp/RETokenEndOfPreviousMatch.java
16960         * gnu/regexp/RETokenEndSub.java
16961         * gnu/regexp/RETokenIndependent.java
16962         * gnu/regexp/RETokenLookAhead.java
16963         * gnu/regexp/RETokenLookBehind.java
16964         * gnu/regexp/RETokenNamedProperty.java
16965         * gnu/regexp/RETokenOneOf.java
16966         * gnu/regexp/RETokenPOSIX.java
16967         * gnu/regexp/RETokenRange.java
16968         * gnu/regexp/RETokenRepeated.java
16969         * gnu/regexp/RETokenStart.java
16970         * gnu/regexp/RETokenWordBoundary.java
16971         * gnu/regexp/UncheckedRE.java
16972         * gnu/java/util/regex/BacktrackStack.java
16973         * gnu/java/util/regex/CharIndexed.java
16974         * gnu/java/util/regex/CharIndexedCharArray.java
16975         * gnu/java/util/regex/CharIndexedCharSequence.java
16976         * gnu/java/util/regex/CharIndexedInputStream.java
16977         * gnu/java/util/regex/CharIndexedString.java
16978         * gnu/java/util/regex/CharIndexedStringBuffer.java
16979         * gnu/java/util/regex/RE.java
16980         * gnu/java/util/regex/REException.java
16981         * gnu/java/util/regex/REFilterInputStream.java
16982         * gnu/java/util/regex/REMatch.java
16983         * gnu/java/util/regex/REMatchEnumeration.java
16984         * gnu/java/util/regex/RESyntax.java
16985         * gnu/java/util/regex/REToken.java
16986         * gnu/java/util/regex/RETokenAny.java
16987         * gnu/java/util/regex/RETokenBackRef.java
16988         * gnu/java/util/regex/RETokenChar.java
16989         * gnu/java/util/regex/RETokenEnd.java
16990         * gnu/java/util/regex/RETokenEndOfPreviousMatch.java
16991         * gnu/java/util/regex/RETokenEndSub.java
16992         * gnu/java/util/regex/RETokenIndependent.java
16993         * gnu/java/util/regex/RETokenLookAhead.java
16994         * gnu/java/util/regex/RETokenLookBehind.java
16995         * gnu/java/util/regex/RETokenNamedProperty.java
16996         * gnu/java/util/regex/RETokenOneOf.java
16997         * gnu/java/util/regex/RETokenPOSIX.java
16998         * gnu/java/util/regex/RETokenRange.java
16999         * gnu/java/util/regex/RETokenRepeated.java
17000         * gnu/java/util/regex/RETokenStart.java
17001         * gnu/java/util/regex/RETokenWordBoundary.java
17002         * gnu/java/util/regex/UncheckedRE.java
17003         Moved gnu.regexp classes to gnu.java.util.regex package.
17004         * java/util/regex/Matcher.java
17005         * java/util/regex/Pattern.java
17006         Adjusted import statements for new package name for gnu regexp.
17007
17008 2006-06-07  Tom Tromey  <tromey@redhat.com>
17009
17010         PR classpath/27905:
17011         * gnu/java/nio/charset/Provider.java (loadExtended): Now synchronized.
17012         Added missing charsets.
17013         (charsetForName): Don't check 'extendedLoaded'.
17014
17015 2006-06-07  Roman Kennke  <kennke@aicas.com>
17016
17017         PR 27833
17018         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
17019         (clip(Shape)): Implemented correctly, so that the current shape
17020         gets intersected by the parameter shape.
17021
17022 2006-06-07  Lillian Angel  <langel@redhat.com>
17023
17024         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
17025         (getTabBounds): If this method is called with a tab index
17026         that is not in the rects array, we need to re-layout the container
17027         so it is created.
17028
17029 2006-06-07  Lillian Angel  <langel@redhat.com>
17030
17031         * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
17032         (FreetypeGlyphVector): Removed assignment. Caused compilation error.
17033         * java/lang/String.java
17034         (codePointCount): Fixed check to match API. Shouldn't throw exception
17035         if end == count. end is 1 more than the endIndex, so end == count is 
17036         possible.
17037
17038 2006-06-07  Gary Benson  <gbenson@redhat.com>
17039
17040         PR 24895
17041         * native/jni/java-io/java_io_VMFile.c
17042         (Java_java_io_VMFile_toCanonicalForm): New method.
17043         * configure.ac: Added checks for lstat and readlink.
17044         * include/java_io_VMFile.h: Added new method.
17045         * vm/reference/java/io/VMFile.java: Use new method.
17046         * gnu/java/io/PlatformHelper.java (toCanonicalForm): Removed.
17047         * NEWS: Documented the above.
17048         * java/io/File.java: Javadoc fix.
17049
17050 2006-06-07  Roman Kennke  <kennke@aicas.com>
17051
17052         PR 27920
17053         * javax/swing/JTree.java
17054         (JTree()): Initialize with default model.
17055         (JTree(TreeModel)): Clear expanded state hashtable. Added comment
17056         on the updateUI() / setModel() order.
17057         (setModel): Correctly (un-)setup the listeners. Clear the expanded
17058         paths.
17059         * javax/swing/plaf/basic/BasicTreeUI.java
17060         (BasicTreeUI()): Initialize listeners in installListeners().
17061         (setModel): Complete editing on model change. Correctly resetup
17062         the listeners. Update the layout cache accordingly.
17063         (setShowRootHandles): Complete editing and update layout. Do not
17064         call back into the JTree, this could cause cycles.
17065         (prepareForUIInstall): Implemented. Moved some init code from
17066         installUI() to this method.
17067         (completeUIInstall): Implemented. Moved some init code from
17068         installUI() to this method.
17069         (createDefaultCellEditor): Check for type of renderer, and install
17070         with null renderer when not DefaultTreeCellRenderer.
17071         (updateLayoutCacheExpandedNodes): Added null check for tree root
17072         to avoid NPE.
17073         (updateRenderer): Call updateEditor().
17074         (installListeners): Initialize the listeners here. Added some null
17075         checks to avoid NPEs.
17076         (installUI): Moved some init code to prepareForUIInstall() and
17077         completeUIInstall().
17078         (completeEditing): Return immediately if editing component is null
17079         or if the setting is to not stop editing on complete editing.
17080         (checkForClickInExpandControl): Call handleExpandControlClick()
17081         instead of toggleExpandState() directly.
17082         (isLocationInExpandControl): Rewritten to correctly determine the
17083         expand click location.
17084         (MouseHandler.mousePressed): Rewritten to make better use of the
17085         instance methods of BasicTreeUI to handle the click.
17086         (PropertyHandler.propertyChange): Handle model and cell renderer
17087         updates.
17088         * javax/swing/tree/DefaultTreeCellEditor.java
17089         (DefaultTreeCellEditor): Removed initialization of the icon. This
17090         is done so that the constructor can deal with null renderer as the
17091         RI does. Maybe this needs more fixing.
17092         * javax/swing/tree/TreePath.java
17093         (isDescendant): Fixed this method. The previous version did too
17094         much and compared the wrong things, which lead to a ClassCastException
17095         in equals().
17096         * javax/swing/tree/VariableHeightLayoutCache.java
17097         (update): Do nothing when model is null.
17098         (setModel): Clear the tables and update the layout. Added null
17099         check to prevent NPE.
17100
17101 2006-06-07  Sven de Marothy  <sven@physto.se>
17102
17103         * gnu/java/awt/peer/gtk/GdkGlyphVector: Removed file.
17104
17105 2006-06-07  Sven de Marothy  <sven@physto.se>
17106
17107         * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
17108         * include/gnu_java_awt_peer_gtk_FreetypeGlyphVector.h
17109         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_FreetypeGlyphVector.c
17110         New files.
17111
17112         * gnu/java/awt/peer/gtk/GdkFontPeer.java
17113         (getGlyphVector): Removed native method.
17114         (createGlyphVector, getStringBounds): Use new GV class.
17115
17116         * include/Makefile.am
17117         * native/jni/gtk-peer/Makefile.am
17118         Add new files.
17119
17120         * include/gnu_java_awt_peer_gtk_GdkFontPeer.h
17121         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
17122         (getGlyphVector): Removed native method.
17123         
17124 2006-06-07  Chris Burdess  <dog@gnu.org>
17125
17126         * gnu/classpath/debug/TeeInputStream.java,
17127           gnu/classpath/debug/TeeOutputStream.java,
17128           gnu/classpath/debug/TeeReader.java,
17129           gnu/classpath/debug/TeeWriter.java: New classes for debugging streams.
17130         * gnu/xml/stream/XMLParser.java: Use tee streams for debugging. Don't
17131           read more characters than absolutely necessary in tryRead method.
17132
17133 2006-06-07  Robert Schuster  <robertschuster@fsfe.org>
17134
17135         * examples/gnu/classpath/examples/swing/Demo.java:
17136         (mkMenuBar): Put look and feel radio buttons into 
17137         appropriate button group.
17138
17139 2006-06-07  Chris Burdess  <dog@gnu.org>
17140
17141         * gnu/xml/stream/SAXParser.java,
17142           gnu/xml/stream/XMLParser.java: Add command line options for setting
17143           parsing parameters (for simpler debugging).
17144         * gnu/xml/transform/TransformerImpl.java: Try to ensure that I/O error
17145           closing output stream is propagated to application.
17146
17147 2006-06-06  Mark Wielaard  <mark@klomp.org>
17148
17149         PR 27917
17150         * gnu/java/awt/peer/gtk/CairoSurface.java (finalize): Call dispose.
17151         * gnu/java/awt/peer/gtk/ComponentGraphics.java: Override dispose to
17152         call disposeSurface.
17153         (disposeSurface): New native method.
17154         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
17155         (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_disposeNative): Free
17156         pattern_pixels.
17157         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17158         (Java_gnu_java_awt_peer_gtk_CairoSurface_drawSurface): Call
17159         cairo_pattern_destroy.
17160         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
17161         (Java_gnu_java_awt_peer_gtk_ComponentGraphics_disposeSurface):
17162         New function to destroy the surface.
17163         * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Regenerated.
17164         * include/gnu_java_awt_peer_gtk_CairoSurface.h: Likewise.
17165         * include/gnu_java_awt_peer_gtk_ComponentGraphics.h: Likewise.
17166
17167 2006-06-06  Mark Wielaard  <mark@klomp.org>
17168
17169         * include/jni.h (JDK1_1InitArgs): Mark pointer-to-function types
17170         with JNICALL.
17171
17172 2006-06-06  David Gilbert  <david.gilbert@object-refinery.com>
17173
17174         * javax/swing/plaf/metal/MetalSplitPaneDivider.java
17175         (paint): If has focus, paint special background color,
17176         * javax/swing/plaf/basic/BasicSplitPaneUI.java
17177         (FocusHandler.focusGained): Implemented,
17178         (FocusHandler.focusLost): Implemented.
17179
17180 2006-06-06  Tom Tromey  <tromey@redhat.com>
17181
17182         * javax/swing/text/StyleContext.java (registerStaticAttributeKey):
17183         Javadoc fix.
17184         (writeAttributeSet): Implemented.
17185
17186 2006-06-06  Tom Tromey  <tromey@redhat.com>
17187
17188         * javax/swing/text/html/HTMLDocument.java (SpecialAction.start):
17189         Implement.
17190         (SpecialAction.end): Removed.
17191         (IsindexAction.end): Likewise.
17192
17193 2006-06-06  Tom Tromey  <tromey@redhat.com>
17194
17195         * include/jni.h (JDK1_1InitArgs): New struct.
17196         (JDK1_1AttachArgs): Likewise.
17197
17198 2006-06-06  Tom Tromey  <tromey@redhat.com>
17199
17200         * java/security/UnresolvedPermission.java (getUnresolvedType): New
17201         method.
17202         (getUnresolvedName): New method.
17203         (getUnresolvedActions): New method.
17204         (getUnresolvedCerts): New method.
17205
17206 2006-06-06  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
17207
17208         * gnu/javax/swing/text/html/CharacterAttributeTranslator.java
17209         (getColor): Removed debugging code.
17210
17211 2006-06-06  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
17212
17213         * gnu/javax/swing/text/html/CharacterAttributeTranslator.java
17214         (getColor): Added support for "rgb(red, green, blue)" notation.
17215         (translateTag): Use Boolean.TRUE, not new Boolean().
17216
17217 2006-06-06  Roman Kennke  <kennke@aicas.com>
17218
17219         PR 27651
17220         * javax/swing/JTree.java
17221         (JTree(TreeModel)): Call updateUI() before setModel().
17222         (setModel): Don't call updateUI here.
17223
17224 2006-06-06  Lillian Angel  <langel@redhat.com>
17225         
17226         * native/plugin/gcjwebplugin.cc:
17227         Fixed failure message and commenting.
17228         (NP_Initialize): Added more comments.
17229
17230 2006-06-06  David Gilbert  <david.gilbert@object-refinery.com>
17231
17232         * javax/swing/JSplitPane.java
17233         (AccessibleJSplitPane): API doc fixes,
17234         (setDividerLocation): Likewise,
17235         * javax/swing/plaf/basic/BasicLookAndFeel.java
17236         (initComponentDefaults): Additions to SplitPane.ancestorInputMap,
17237         * javax/swing/plaf/basic/BasicSplitPaneUI.java
17238         (getInputMap): New method,
17239         (getActionMap): New method,
17240         (createActionMap): New method,
17241         (installKeyboardActions): Implemented,
17242         (uninstallKeyboardActions): Implemented.
17243
17244 2006-06-06  Roman Kennke  <kennke@aicas.com>
17245
17246         PR 27523
17247         * javax/swing/MenuSelectionManager.java
17248         (processKeyEvent): Added check to avoid
17249         ArrayIndexOutOfBoundsException.
17250
17251 2006-06-06  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
17252
17253         * gnu/javax/swing/text/html/htmlAttributeSet.java
17254         (getAttributeNames): Rewritten
17255
17256 2006-06-06  Chris Burdess  <dog@gnu.org>
17257
17258         * gnu/xml/transform/TransformerImpl.java: Check type of created
17259           document (more cases).
17260
17261 2006-06-06  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
17262
17263         * gnu/javax/swing/text/html/htmlAttributeSet.java
17264         (clone): New method. (copyAttributes): New method.
17265         (getResolveParent): Comment fix. (getAttribute):
17266         Rewritten. (addAttribute): Rewritten.
17267         * gnu/javax/swing/text/html/SmallHtmlAttributeSet.java:
17268         New file.
17269
17270 2006-06-06  Roman Kennke  <kennke@aicas.com>
17271
17272         PR 27522
17273         * javax/swing/JMenuBar.java
17274         (processKeyBindingHelper): Added null check to prevent NPE.
17275
17276 2006-06-06  Roman Kennke  <kennke@aicas.com>
17277
17278         * javax/swing/plaf/basic/BasicInternalFrameUI.java
17279         (ShowSystemMenuAction): New class.
17280         (installKeyboardActions): Implemented.
17281         (uninstallKeyboardActions): Implemented.
17282         * javax/swing/plaf/metal/MetalInternalFrameUI.java
17283         (installKeyboardActions): Overridden to remove showSystemMenu action.
17284
17285 2006-06-06  Chris Burdess  <dog@gnu.org>
17286
17287         * gnu/xml/transform/TransformerImpl.java: Check type of created
17288           document.
17289
17290 2006-06-06  Robert Schuster  <robertschuster@fsfe.org>
17291
17292         * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java:
17293         (getScreenDevices): Added explicit cast.
17294
17295 2006-06-06  Roman Kennke  <kennke@aicas.com>
17296
17297         * javax/swing/plaf/basic/BasicTextUI.java
17298         (installKeyboardActions): Use shared input map. Correctly
17299         install the input/action maps in the component's input/action
17300         map hierarchies.
17301         (getActionMap): New helper method for fetching an ActionMap from
17302         the UIManager or creating a default one if there is none supplied
17303         by the UIManager.
17304         (createActionMap): Add the TransferHandler's actions here. Made
17305         method private.
17306         (getInputMap): Leave out unnecessary method parameter. Load
17307         shared input map.
17308         * javax/swing/plaf/basic/SharedUIDefaults.java: New file.
17309
17310 2006-06-06  Robert Schuster  <robertschuster@fsfe.org>
17311
17312         * configure.ac: Added missing [ to expression.
17313
17314 2006-06-06  Robert Schuster  <robertschuster@fsfe.org>
17315
17316         * configure.ac: Added missing { to expression.
17317
17318 2006-06-06  Robert Schuster  <robertschuster@fsfe.org>
17319
17320         * include/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.h: Regenerated.
17321         * include/gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice.h: New file.
17322         * include/Makefile.am: Added
17323         gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice.
17324         * gnu/java/awt/peer/gtk/GdkGraphicsConfiguration.java:
17325         (GdkGraphicsConfiguration): Rewritten.
17326         (getColorModel): Rewritten.
17327         (getColorModel(int)): Rewritten.
17328         (getBounds): Rewritten.
17329         (createCompatibleVolatileImage): Implemented.
17330         * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java: Added static
17331         initializer.
17332         (getDefaultScreenDevice): Rewritten.
17333         (nativeGetDefaultScreenDevice): New method.
17334         (getScreenDevices): Rewritten.
17335         (nativeGetScreenDevices): New method.
17336         (nativeInitState): New method.
17337         * gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java: Entirely
17338         rewritten.
17339         (X11DisplayMode): New inner class.
17340         * native/jni/gtk-peer/Makefile.am: Added gdkdisplay.h and
17341         gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice.c
17342         * native/jni/gtk-peer/gdkdisplay.h: New file.
17343         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.c:
17344         (Java_gnu_java_awt_peer_gtk_GdkGraphicsEnvironment_initStaticState):
17345         New function.
17346         (Java_gnu_java_awt_peer_gtk_GdkGraphicsEnvironment_nativeInitState):
17347         New function.
17348         (Java_gnu_java_awt_peer_gtk_GdkGraphicsEnvironment
17349         _nativeGetScreenDevices):
17350         New function.
17351         (Java_gnu_java_awt_peer_gtk_GdkGraphicsEnvironment
17352         _nativeGetDefaultScreenDevice):
17353         New function.
17354         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice.c:
17355         New file.
17356         * configure.ac: Added check for Xrandr library.
17357
17358 2006-06-06  Roman Kennke  <kennke@aicas.com>
17359
17360         * javax/swing/plaf/basic/BasicTableUI.java
17361         (getMaximumSize): Don't return null. Fixed calculation of
17362         table height.
17363         (getMinimumSize): Don't return null. Fixed calculation of
17364         table height.
17365         (getPreferredSize): Fixed calculation of with and height. Added
17366         API docs.
17367         (getHeight): New helper method.
17368
17369 2006-06-06  David Gilbert  <david.gilbert@object-refinery.com>
17370
17371         * javax/swing/JComponent.java
17372         (getInputMap(int)): Throw IllegalArgumentException for unknown 
17373         condition argument, and added API docs,
17374         (getInputMap()): Added API docs.
17375
17376 2006-06-06  Robert Schuster  <robertschuster@fsfe.org>
17377
17378         * java/awt/BufferedImage.java: Added fourth 8 to bits4 field.
17379
17380 2006-06-06  David Gilbert  <david.gilbert@object-refinery.com>
17381
17382         * javax/swing/JTable.java
17383         (AccessibleJTableHeaderCell.header): New field,
17384         (AccessibleJTableHeaderCell.columnIndex): Likewise,
17385         (AccessibleJTableHeaderCell.AccessibleJTableHeaderCell()): Initialise,
17386         (AccessibleJTableHeaderCell.getColumnHeaderRenderer): New method,
17387         (AccessibleJTableHeaderCell.getAccessibleContext): Implemented,
17388         (AccessibleJTableHeaderCell.getAccessibleRole): Implemented,
17389         (AccessibleJTable.getAccessibleChild(int)): Overridden,
17390         (AccessibleJTable.getAccessibleAt): Reimplemented.
17391
17392 2006-06-05  Sven de Marothy  <sven@physto.se>
17393
17394         * include/gnu_java_awt_peer_gtk_ComponentGraphics.h
17395         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
17396         * gnu/java/awt/peer/gtk/ComponentGraphics.java
17397         (initFromVolatile): New method.
17398         * gnu/java/awt/peer/gtk/GtkVolatileImage.java
17399         * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
17400         Reimplement.
17401         * include/gnu_java_awt_peer_gtk_GtkVolatileImage.h
17402         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c
17403         (copyArea, drawVolatileImage): New methods.
17404         
17405 2006-06-05  Tania Bento  <tbento@redhat.com>
17406
17407         * javax/swing/JFrame.java
17408         (frameInit): Set background color and fixed layout parameters.
17409
17410 2006-06-05  Tom Tromey  <tromey@redhat.com>
17411
17412         * NEWS: Mention VMURLConnection.
17413
17414 2006-06-05  Lillian Angel  <langel@redhat.com>
17415
17416         * native/plugin/gcjwebplugin.cc:
17417         Added new field to keep track of initialization.
17418         (plugin_start_appletviewer): Fixed to return an error value, if
17419         an error was encountered when loading the appletviewer.
17420         (GCJ_NEW): Added call to plugin_failed if the loading of the appletviewer
17421         has failed.
17422         (plugin_failed): New helper function. Shows a warning if the appletviewer
17423         has not been installed.
17424         (NP_Initialize): Added code to make sure this function is only called
17425         once.
17426
17427 2006-06-05  Lillian Angel  <langel@redhat.com>
17428
17429         * native/plugin/Makefile.am:
17430         Fixed to use a set plugin directory in the .mozilla directory.
17431         All applet logs are now stored here, instead of /tmp.
17432         * native/plugin/gcjwebplugin.cc:
17433         Added new fields for security warning.
17434         (GCJ_NEW): Added code to generate a security warning for all pages
17435         that spawn an appletviewer. This warning asks the user if they trust
17436         the applet and if they would like to add it to a 'whitelist'. This
17437         whitelist keeps track of all the addresses the user would like
17438         to trust indefinitely.
17439         (plugin_user_trusts_documentbase): New helper function.
17440         (plugin_add_documentbase_to_whitelist): New helper function.
17441         (plugin_ask_user_about_documentbase): New helper function.
17442         (plugin_in_pipe_callback): Fixed check to determine if channel_error 
17443         has been set.
17444         (plugin_start_appletviewer): Likewise.
17445         (plugin_create_applet_tag):  Reset all fields to null after they have been
17446         freed.
17447         (plugin_send_message_to_appletviewer): Fixed all error checks to determine 
17448         if channel_error has been set.
17449         (plugin_stop_appletviewer): Likewise.
17450         (NP_Initialize): Likewise. Also, added code to determine if directory and file
17451         should be created.      
17452
17453 2006-06-05  Francis Kung  <fkung@redhat.com>
17454         
17455         PR 27507
17456         * gnu/java/awt/peer/gtk/GtkImage.java
17457         (getSource): Added check to determine if in
17458         errorLoading state.
17459         * gnu/java/awt/peer/gtk/GtkToolkit.java
17460         (createImage): Added check to prevent NPE.
17461
17462 2006-06-05  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
17463
17464         * javax/swing/text/html/HTMLEditorKit.java (HTMLFactory.create):
17465         Create the ImageView, when applicable.
17466         * gnu/javax/swing/text/html/CombinedAttributes.java,
17467         javax/swing/text/html/ImageView.java: New files.
17468
17469 2006-06-05  Roman Kennke  <kennke@aicas.com>
17470
17471         PR 27834
17472         * javax/swing/text/GapContent.java
17473         (setPositionsInRange): Compare with startIndex and endIndex
17474         rather than start and end.
17475         (dumpMarks): Only dump real marks.
17476
17477 2006-06-05  Sven de Marothy  <sven@physto.se>
17478
17479         *  gnu/java/awt/peer/gtk/ComponentGraphics.java
17480         (ComponentGraphics): Use 0,0 as clip origin.
17481         
17482 2006-06-04  Andrew John Hughes  <gnu_andrew@member.fsf.org>
17483
17484         * java/util/Formattable.java,
17485         * java/util/FormattableFlags.java,
17486         * java/util/Formatter.java:
17487         Documented.
17488
17489 2006-06-04  Tom Tromey  <tromey@redhat.com>
17490
17491         * javax/naming/Context.java (list): Genericized.
17492         (listBindings): Likewise.
17493         * javax/naming/Reference.java (addrs): Genericized.
17494         * javax/naming/InitialContext.java (myProps): Fixed type.
17495         (init): Genericized.
17496         
17497 2006-06-04  Andrew John Hughes  <gnu_andrew@member.fsf.org>
17498
17499         * java/util/DuplicateFormatFlagsException.java,
17500         * java/util/FormatFlagsConversionMismatchException.java,
17501         * java/util/FormatterClosedException.java,
17502         * java/util/IllegalFormatCodePointException.java,
17503         * java/util/IllegalFormatConversionException.java,
17504         * java/util/IllegalFormatException.java,
17505         * java/util/IllegalFormatFlagsException.java,
17506         * java/util/IllegalFormatPrecisionException.java,
17507         * java/util/IllegalFormatWidthException.java,
17508         * java/util/MissingFormatArgumentException.java,
17509         * java/util/MissingFormatWidthException.java,
17510         * java/util/UnknownFormatConversionException.java,
17511         * java/util/UnknownFormatFlagsException.java:
17512         Documented.
17513
17514 2006-06-04  Andrew John Hughes  <gnu_andrew@member.fsf.org>
17515
17516         * java/lang/System.java:
17517         (getenv()): Handle cases where split only
17518         returns an array of size 1.
17519         
17520 2006-06-04  Sven de Marothy  <sven@physto.se>
17521
17522         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
17523         (createVolatileImage): Pass peer to VolatileImage constructor.
17524         * java/awt/Component.java
17525         (createVolatileImage): Call peer method directly.
17526         
17527 2006-06-04  Sven de Marothy  <sven@physto.se>
17528
17529         * gnu/java/awt/peer/gtk/CairoSurface.java
17530         (getFlippedBuffer): New method.
17531         (getGtkImage): Renamed method.
17532         * gnu/java/awt/peer/gtk/ComponentGraphicsCopy.java
17533         * gnu/java/awt/peer/gtk/GtkVolatileImage.java
17534         Renamed getSharedImage to getGtkImage.
17535         * include/gnu_java_awt_peer_gtk_CairoSurface.h
17536         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17537         (getFlippedBuffer): New method
17538         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
17539         Avoid window casts.
17540 2006-06-04  Andrew John Hughes  <gnu_andrew@member.fsf.org>
17541
17542         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c:
17543         (drawVolatile): Add casts.
17544         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c:
17545         (getOutline): Add casts.
17546         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c:
17547         Comment out unused prototype.
17548         (getPixels): Add appropriate cast and comment out unused variable.
17549         
17550 2006-06-04  Raif S. Naffah  <raif@swiftdsl.com.au>
17551
17552         * gnu/javax/crypto/sasl/SaslUtil.java: Remove unused import.
17553         * gnu/javax/crypto/sasl/srp/SRPRegistry.java (PASSWORD_DB): Fix javadoc @link.
17554         * gnu/javax/crypto/sasl/srp/PasswordFile.java: Removed unused import.
17555         * gnu/javax/crypto/prng/CSPRNG.java (FILE_SOURCES): Fix javadoc @see.
17556         (getSystemInstance): Fix javadoc @link.
17557         (counter): Increased visibility.
17558         * gnu/javax/crypto/pad/TLS1.java: Remove unused import.
17559         * gnu/javax/crypto/pad/IPad.java: Fix javadoc @link.
17560         * gnu/javax/crypto/pad/PKCS1_V1_5.java (PKCS1_V1_5): Likewise.
17561         * gnu/javax/crypto/pad/PKCS7.java (PKCS7): Likewise.
17562         * gnu/javax/crypto/pad/TBC.java (TBC): Likewise.
17563         * gnu/javax/crypto/mode/CTR.java: Remove unused import.
17564         * gnu/javax/crypto/mode/BaseMode.java (defaultBlockSize): Fix javadoc @see.
17565         * gnu/javax/crypto/key/dh/GnuDHPrivateKey.java (getEncoded): Fix javadoc @see.
17566         * gnu/javax/crypto/jce/spec/TMMHParameterSpec.java: Fix javadoc @link.
17567         * gnu/javax/crypto/keyring/AuthenticatedEntry.java: Remove unused imports.
17568         * gnu/javax/crypto/keyring/CertificateEntry.java: Likewise.
17569         * gnu/javax/crypto/keyring/CertPathEntry.java: Likewise.
17570         * gnu/javax/crypto/keyring/EncryptedEntry.java: Likewise.
17571         * gnu/javax/crypto/keyring/PublicKeyEntry.java: Likewise.
17572         * gnu/javax/crypto/mac/OMAC.java: Likewise.
17573         * gnu/javax/crypto/jce/key/AnubisSecretKeyFactoryImpl.java: Likewise.
17574         * gnu/javax/crypto/jce/key/BlowfishSecretKeyFactoryImpl.java: Likewise.
17575         * gnu/javax/crypto/jce/key/Cast5SecretKeyFactoryImpl.java: Likewise.
17576         * gnu/javax/crypto/jce/key/KhazadSecretKeyFactoryImpl.java: Likewise.
17577         * gnu/javax/crypto/jce/key/RijndaelSecretKeyFactoryImpl.java: Likewise.
17578         * gnu/javax/crypto/jce/key/SerpentSecretKeyFactoryImpl.java: Likewise.
17579         * gnu/javax/crypto/jce/key/SquareSecretKeyFactoryImpl.java: Likewise.
17580         * gnu/javax/crypto/jce/key/TwofishSecretKeyFactoryImpl.java: Likewise.
17581         * gnu/javax/crypto/jce/mac/OMacImpl.java: Likewise.
17582         * gnu/javax/crypto/jce/prng/CSPRNGSpi.java: Likewise.
17583         * gnu/javax/crypto/cipher/IBlockCipherSpi.java: Fix javadoc @link.
17584         * gnu/javax/crypto/jce/cipher/CipherAdapter.java (CipherAdapter): Likewise.
17585         * gnu/javax/crypto/cipher/BaseCipher.java: Remove unused import.
17586         * gnu/javax/crypto/assembly/Cascade.java: Fix javadoc @link.
17587         * gnu/javax/crypto/assembly/Direction.java: Likewise.
17588         * gnu/javax/crypto/assembly/Transformer.java: Likewise.
17589
17590 2006-06-04  Raif S. Naffah  <raif@swiftdsl.com.au>
17591
17592         * gnu/java/security/PolicyFile.java: Updated copyright year.
17593         (logger): Increased visibility.
17594         * gnu/java/security/x509/Util.java: Updated copyright year.
17595         (hexDump): Fix javadoc @link.
17596         * gnu/java/security/x509/ext/GeneralNames.java: Updated copyright year.
17597         Removed unused import.
17598         * gnu/java/security/sig/rsa/RSAPSSSignatureRawCodec.java: Fix javadoc @link.
17599         * gnu/java/security/sig/ISignature.java (SOURCE_OF_RANDOMNESS): Likewise.
17600         * gnu/java/security/util/ExpirableObject.java: Likewise.
17601         (destroy): Likewise.
17602         * gnu/java/security/util/SimpleList.java (SimpleList): Likewise.
17603         * gnu/java/security/provider/PKIXCertPathValidatorImpl.java:
17604         Updated copyright year.
17605         (checkCRL): Fix javadoc @param.
17606
17607 2006-06-03  Andrew John Hughes  <gnu_andrew@member.fsf.org>
17608
17609         * java/lang/annotation/IncompleteAnnotationException.java:
17610         Documented.
17611
17612 2006-06-03  Andrew John Hughes  <gnu_andrew@member.fsf.org>
17613
17614         * java/lang/ProcessBuilder.java:
17615         Documented.
17616         (environment): Create as a copy.
17617         * java/lang/System.java:
17618         (EnvironmentMap.EnvironmentMap(Map<String,String>)):
17619         New constructor.
17620         (EnvironmentMap.put(String,String)): Override superclass
17621         method with checks for nulls and non-Strings.
17622         
17623 2006-06-02  Sven de Marothy  <sven@physto.se>
17624
17625         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
17626         (cairoPreserveClip, cairoResetClip): New methods.
17627         (setClip, clip): Reimplement.
17628         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
17629         * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h
17630         (cairoPreserveClip, cairoResetClip): New methods.
17631         
17632 2006-06-02  Sven de Marothy  <sven@physto.se>
17633
17634         * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
17635         * include/gnu_java_awt_peer_gtk_GtkVolatileImage.h
17636         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c
17637         New files.
17638         * gnu/java/awt/peer/gtk/ComponentGraphics.java
17639         (drawImage): Overloads for VolatileImage drawing.
17640         (drawVolatile): New method.
17641         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
17642         * include/gnu_java_awt_peer_gtk_ComponentGraphics.h
17643         (drawVolatile): New method.
17644         * gnu/java/awt/peer/gtk/GtkVolatileImage.java
17645         Unstub implementation.
17646         * include/Makefile.am
17647         * native/jni/gtk-peer/Makefile.am
17648         Add new files.
17649         * native/jni/gtk-peer/gtkpeer.h
17650         New prototype.
17651         
17652 2006-06-03  Roman Kennke  <kennke@aicas.com>
17653
17654         PR 27418
17655         * javax/swing/plaf/basic/BasicTextUI.java
17656         (damageRange): Added null check to avoid NPE.
17657
17658 2006-06-03  Roman Kennke  <kennke@aicas.com>
17659
17660         * javax/swing/text/PlainView.java
17661         (updateDamage): Check for valid longestLine and initialize if
17662         necessary.
17663
17664 2006-06-03  Mark Wielaard  <mark@klomp.org>
17665
17666         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c: Use C
17667         comments, not C++.
17668
17669 2006-06-02  Sven de Marothy  <sven@physto.se>
17670
17671         PR 27879 
17672         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
17673         (copyArea): Implement.
17674         (copyAreaImpl, getRealBounds): New methods.
17675         * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java
17676         * gnu/java/awt/peer/gtk/ComponentGraphics.java
17677         * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
17678         (copyAreaImpl, getRealBounds): Implement.
17679         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17680         (nativeCopyArea): Reimplement.  
17681         
17682 2006-06-02  Andreas Tobler  <a.tobler@schweiz.ch>
17683
17684         * configure.ac: Add -lX11 and -lXtst to XTEST_LIBS.
17685         (XTEST_LIBS): New, substitute.
17686         * native/jni/gtk-peer/Makefile.am (AM_LDFLAGS): Add XTEST_LIBS.
17687
17688 2006-06-02  Roman Kennke <kennke@aicas.com>
17689
17690         PR 26738
17691         * javax/swing/text/PlainView.java
17692         (updateDamage): Rewritten for correct repainting and revalidating.
17693         (findLongestLine): New helper method.
17694         (getLineLength): New helper method.
17695
17696 2006-06-02  Sven de Marothy  <sven@physto.se>
17697
17698         * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
17699         * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java
17700         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17701         (nativeCopyArea): Change stride parameter to use # of ints.
17702         (setPixels): Add checks.
17703         * gnu/java/awt/peer/gtk/ComponentGraphics.java
17704         (ComponentGraphics): Set background, clip.
17705         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
17706         (Cairographics2D): Don't set clip.
17707         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
17708         Add flush.
17709
17710 2006-06-02  Lillian Angel  <langel@redhat.com>
17711
17712         PR 24458
17713         * java/awt/DefaultKeyboardFocusManager.java
17714         (dispatchEvent): Fixed to getFocusOwner, if that fails it tries
17715         to get the focused window.
17716
17717 2006-06-01  Miriam Schuster  <schmir11@web.de>
17718
17719         * Makefile.am: Add fallback if "mozilla-plugin" is not available.
17720         Fallbacks used: "firefox-plugin" and "xulrunner-plugin".
17721
17722 2006-06-02  Roman Kennke <kennke@aicas.com>
17723
17724         * javax/swing/JTable.java
17725         (columnSelectionChanged): Don't return when there's only one
17726         column (might still need repainting). Correctly calculate
17727         repaint rectangle.
17728         (valueChanged): Use return value of SwingUtilities.computeUnion
17729         as dirty region.
17730
17731 2006-06-01  Keith Seitz  <keiths@redhat.com>
17732
17733         From Martin Platter  <motse@complang.tuwien.ac.at>:
17734         * gnu/classpath/jdwp/processor/EventRequestCommandSet.java
17735         (executeSet): Fix buffer underflow reading reference ID.
17736         * gnu/classpath/jdwp/processor/ThreadGroupReferenceCommandSet.java
17737         (executeParent): Fix  NPE if ThreadGroup is top-level ThreadGroup. 
17738         * gnu/classpath/jdwp/processor/ClassTypeCommandSet.java
17739         (executeSuperclass): Handle case of Object with ID zero.
17740
17741 2006-06-02  Raif S. Naffah  <raif@swiftdsl.com.au>
17742
17743         * tools/gnu/classpath/tools/keytool/StorePasswdCmd.java: Fixed typo.
17744         * tools/gnu/classpath/tools/keytool/CertReqCmd.java: Likewise.
17745         * tools/gnu/classpath/tools/keytool/DeleteCmd.java: Likewise.
17746         * tools/gnu/classpath/tools/keytool/ExportCmd.java: Likewise.
17747         * tools/gnu/classpath/tools/keytool/GenKeyCmd.java: Likewise.
17748         * tools/gnu/classpath/tools/keytool/IdentityDBCmd.java: Likewise.
17749         * tools/gnu/classpath/tools/keytool/ImportCmd.java: Likewise.
17750         * tools/gnu/classpath/tools/keytool/KeyCloneCmd.java: Likewise.
17751         * tools/gnu/classpath/tools/keytool/KeyPasswdCmd.java: Likewise.
17752         * tools/gnu/classpath/tools/keytool/ListCmd.java: Likewise.
17753         * tools/gnu/classpath/tools/keytool/SelfCertCmd.java: Likewise.
17754
17755 2006-06-02  Raif S. Naffah  <raif@swiftdsl.com.au>
17756
17757         * tools/gnu/classpath/tools/keytool/Command.java (shutdownThread): New field.
17758         (Command): Add the shutdown hook.
17759         (doCommand): Remove the shutdown hook.
17760         (ShutdownHook): New class.
17761
17762 2006-06-02  Raif S. Naffah  <raif@swiftdsl.com.au>
17763
17764         * tools/jarsigner.in: Use @VM_BINARY@.
17765         * tools/keytool.in: Likewise.
17766
17767 2006-06-01  Sven de Marothy  <sven@physto.se>
17768
17769         * gnu/java/awt/peer/gtk/CairoGraphics2D.java:
17770         (setColor): Update the cairo paint.
17771
17772 2006-06-01  Mark Wielaard  <mark@klomp.org>
17773
17774         * java/util/logging/LogManager.java (createInstance): Always add
17775         original exception on warning.
17776
17777 2006-06-01  Lillian Angel  <langel@redhat.com>
17778
17779         * tools/gnu/classpath/tools/appletviewer/AppletTag.java
17780         (prependCodebase): Fixed check. No dirname was ever considered to 
17781         be a file, so every applet fell into the if-statement causing a lot
17782         of classloading problems with the applets.
17783
17784 2006-06-01  Sven de Marothy  <sven@physto.se>
17785
17786         Patch submitted by Boris Dusek.
17787         * native/jni/qt-peer/qtmenupeer.cpp
17788         Fix segfault
17789
17790 2006-06-01  Roman Kennke <kennke@aicas.com>
17791
17792         * javax/swing/JTable.java
17793         (AccessibleJTableCell.getAccessibleRow): Added comment explaining
17794         why the behaviour is like it is.
17795         (AccessibleJTableCell.getAccessibleStateSet): Implemented.
17796         (AccessibleJTableHeader): New inner class.
17797         (AccessibleJTableHeaderCell): New inner class.
17798         (AccessibleJTable.lastSelectedRow): New field.
17799         (AccessibleJTable.lastSelectedColumn): New field.
17800         (AccessibleJTable.caption): New field.
17801         (AccessibleJTable.summary): New field.
17802         (AccessibleJTable.rowDescriptions): New field.
17803         (AccessibleJTable.columnDescriptions): New field.
17804         (AccessibleJTable): Initialize lastSelectedRow and lastSelectedColumn.
17805         (AccessibleJTable.getAccessibleSelection(int)): Implemented.
17806         (AccessibleJTable.isAccessibleChildSelected): Implemented.
17807         (AccessibleJTable.addAccessibleSelection): Implemented.
17808         (AccessibleJTable.removeAccessibleSelection): Implemented.
17809         (AccessibleJTable.clearAccessibleSelection): Implemented.
17810         (AccessibleJTable.selectAllAccessibleSelection): Implemented.
17811         (AccessibleJTable.valueChange): Implemented.
17812         (AccessibleJTable.tableRowsInserted): Implemented.
17813         (AccessibleJTable.tableRowsDeleted): Implemented.
17814         (AccessibleJTable.handleRowChange): New helper method.
17815         (AccessibleJTable.columnAdded): Implemented.
17816         (AccessibleJTable.columnMarginChanged): Implemented.
17817         (AccessibleJTable.columnMoved): Implemented.
17818         (AccessibleJTable.columnRemoved): Implemented.
17819         (AccessibleJTable.columnSelectionChanged): Implemented.
17820         (AccessibleJTable.handleColumnChange): New helper method.
17821         (AccessibleJTable.editingCanceled): Implemented.
17822         (AccessibleJTable.editingStopped): Implemented.
17823         (AccessibleJTable.getAccessibleRow): Implemented.
17824         (AccessibleJTable.getAccessibleColumn): Implemented.
17825         (AccessibleJTable.getAccessibleIndex): Implemented.
17826         (AccessibleJTable.getAccessibleCaption): Implemented.
17827         (AccessibleJTable.setAccessibleCaption): Implemented.
17828         (AccessibleJTable.getAccessibleSummary): Implemented.
17829         (AccessibleJTable.setAccessibleSummary): Implemented.
17830         (AccessibleJTable.getAccessibleRowCount): Implemented.
17831         (AccessibleJTable.getAccessibleColumnCount): Implemented.
17832         (AccessibleJTable.getAccessibleAt): Implemented.
17833         (AccessibleJTable.getAccessibleRowExtentAt): Implemented.
17834         (AccessibleJTable.getAccessibleColumnExtentAt): Implemented.
17835         (AccessibleJTable.getAccessibleRowHeader): Implemented.
17836         (AccessibleJTable.setAccessibleRowHeader): Implemented.
17837         (AccessibleJTable.getAccessibleColumnHeader): Implemented.
17838         (AccessibleJTable.setAccessibleColumnHeader): Implemented.
17839         (AccessibleJTable.getAccessibleRowDescription): Implemented.
17840         (AccessibleJTable.setAccessibleRowDescription): Implemented.
17841         (AccessibleJTable.getAccessibleColumnDescription): Implemented.
17842         (AccessibleJTable.setAccessibleColumnDescription): Implemented.
17843         (AccessibleJTable.isAccessibleSelected): Implemented.
17844         (AccessibleJTable.isAccessibleRowSelected): Implemented.
17845         (AccessibleJTable.isAccessibleColumnSelected): Implemented.
17846         (AccessibleJTable.getSelectedAccessibleRows): Implemented.
17847         (AccessibleJTable.getSelectedAccessibleColumns): Implemented.
17848         (getAccessibleContext): Register listeners for the accessibility
17849         class on the JTable.
17850
17851 2006-06-01  Sven de Marothy  <sven@physto.se>
17852
17853         * gnu/java/awt/peer/gtk/CairoGraphics2D.java:
17854         (setPaint): Scale +1 pixel larger.
17855
17856 2006-06-01  Sven de Marothy  <sven@physto.se>
17857
17858         PR 27854
17859         * gnu/java/awt/Buffers.java (getData): Reimplement.
17860         * gnu/java/awt/peer/gtk/CairoSurface.java
17861         (getElem, setElem): Call native methods.
17862
17863 2006-06-01  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
17864
17865         * gnu/javax/swing/text/html/ImageViewIconFactory.java: New file.
17866
17867 2006-06-01  Sven de Marothy  <sven@physto.se>
17868
17869         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
17870         (drawImage): Check for zero size.
17871         * gnu/java/awt/peer/gtk/GdkTextLayout.java:
17872         (setFont): Declare new native method.
17873         (GdkTextLayout): Read some attributes.
17874         * include/gnu_java_awt_peer_gtk_GdkTextLayout.h
17875         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c
17876         (setFont): New native method.
17877         
17878 2006-06-01  Sven de Marothy  <sven@physto.se>
17879
17880         * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
17881         (updateBufferedImage): Fix some errors.
17882
17883 2006-06-01  David Gilbert  <david.gilbert@object-refinery.com>
17884
17885         * javax/swing/plaf/basic/BasicButtonUI.java: Minor source code style 
17886         fixes,
17887         * javax/swing/plaf/basic/BasicDirectoryModel.java: Likewise,
17888         * javax/swing/plaf/basic/BasicFileChooserUI.java: Likewise,
17889         * javax/swing/plaf/basic/BasicIconFactory.java: Likewise,
17890         * javax/swing/plaf/basic/BasicListUI.java: Likewise,
17891         * javax/swing/plaf/basic/BasicOptionPaneUI.java: Likewise,
17892         * javax/swing/plaf/basic/BasicRootPaneUI.java: Likewise,
17893         * javax/swing/plaf/basic/BasicScrollPaneUI.java: Likewise,
17894         * javax/swing/plaf/basic/BasicSpinnerUI.java: Likewise,
17895         * javax/swing/plaf/basic/BasicTabbedPaneUI.java: Likewise,
17896         * javax/swing/plaf/basic/BasicTextAreaUI.java: Likewise.
17897         
17898 2006-06-01  David Gilbert  <david.gilbert@object-refinery.com>
17899
17900         * javax/swing/JComboBox.java: Minor source code formatting fixes,
17901         * javax/swing/JEditorPane.java: Likewise,
17902         * javax/swing/JFormattedTextField.java: Likewise,
17903         * javax/swing/JLayeredPane.java: Likewise,
17904         * javax/swing/JScrollPane.java: Likewise,
17905         * javax/swing/JSlider.java: Likewise,
17906         * javax/swing/JSpinner.java: Likewise,
17907         * javax/swing/JTree.java: Likewise,
17908         * javax/swing/JViewport.java: Likewise,
17909         * javax/swing/UIDefaults.java: Likewise,
17910         * javax/swing/UIManager.java: Likewise.
17911         
17912 2006-06-01  Sven de Marothy  <sven@physto.se>
17913
17914         * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
17915         (BufferedImageGraphics): Cache surfaces.
17916         (updateBufferedImage): Copy directly for certain color models.
17917         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
17918         (drawImage): Reimplement.
17919
17920 2006-06-01  Sven de Marothy  <sven@physto.se>
17921
17922         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17923         (setPixels): Don't swap, correct size.
17924
17925 2006-05-31  Anthony Green  <green@redhat.com>
17926
17927         PR 27828
17928         * java/net/InetSocketAddress.java: Defer getting the host
17929         name until somebody calls InetSocketAddress.getHostName().
17930         Fix "represenation" typo.
17931
17932 2006-06-01  Sven de Marothy  <sven@physto.se>
17933
17934         * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
17935         (updateBufferedImage): Simplify.
17936         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17937         (getPixels): Don't swap.
17938
17939 2006-06-01  Sven de Marothy  <sven@physto.se>
17940
17941         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
17942         (setGradient): Reimplement.
17943         
17944 2006-06-01  Andreas Tobler  <a.tobler@schweiz.ch>
17945
17946         * native/jni/gtk-peer/cairographics2d.h: Rename/prefix function
17947         CairoGraphics2D_getCairoT to cp_gtk_get_cairo_t correctly.
17948         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17949         (Java_gnu_java_awt_peer_gtk_CairoSurface_drawSurface): Rename function
17950         CairoGraphics2D_getCairoT to cp_gtk_get_cairo_t.
17951         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c
17952         (Java_gnu_java_awt_peer_gtk_GdkTextLayout_cairoDrawGdkTextLayout):
17953         Likewise.
17954
17955 2006-05-31  David Gilbert  <david.gilbert@object-refinery.com>
17956
17957         * javax/swing/table/JTableHeader.java
17958         (getColumnHeaderRenderer): New method,
17959         (getAccessibleColumnHeaderRenderer): Delegate part to new
17960         getColumnHeaderRenderer() method,
17961         (getLocale): Implemented.
17962
17963 2006-05-31  Andreas Tobler  <a.tobler@schweiz.ch>
17964
17965         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
17966         (cp_gtk_grab_current_drawable): Rename
17967         cp_java_awt_peer_gtk_ComponentGraphics_grab_current_drawable to
17968         cp_gtk_grab_current_drawable, remove static declaration.
17969         (Java_gnu_java_awt_peer_gtk_ComponentGraphics_initState): Renamed above
17970         function.
17971         (Java_gnu_java_awt_peer_gtk_ComponentGraphics_copyAreaNative): Likewise.
17972         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphicsCopy.c:
17973         Remove prototype of
17974         cp_java_awt_peer_gtk_ComponentGraphics_grab_current_drawable.
17975         (Java_gnu_java_awt_peer_gtk_ComponentGraphicsCopy_getPixbuf): Rename
17976         function.
17977         (Java_gnu_java_awt_peer_gtk_ComponentGraphicsCopy_copyPixbuf): Likewise.
17978         * native/jni/gtk-peer/gtkpeer.h: Add prototype for
17979         cp_gtk_grab_current_drawable here.
17980
17981 2006-05-31  Sven de Marothy  <sven@physto.se>
17982
17983         Should fix PR 27835
17984         * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
17985         (updateBufferedImage): Keep within image bounds.
17986
17987 2006-05-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
17988             Andreas Tobler  <a.tobler@schweiz.ch>
17989
17990         * configure.ac: Check for libXrender when the GTK peers are
17991         enabled, and set HAVE_XRENDER accordingly. Add -lXrender to
17992         X_EXTRA_LIBS.
17993         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
17994         (Java_gnu_java_awt_peer_gtk_ComponentGraphics_hasXRender)
17995         [HAVE_XRENDER]: Call XRenderQueryExtension conditionally.
17996
17997 2006-05-31  Lillian Angel  <langel@redhat.com>
17998
17999         * javax/swing/plaf/basic/BasicProgressBarUI.java
18000         (paintString): Implemented to paint the string vertically.
18001
18002 2006-05-31  David Gilbert  <david.gilbert@object-refinery.com>
18003
18004         * javax/swing/JTable.java
18005         (AccessibleJTable.AccessibleJTable()): Check for null editor,
18006         (AccessibleJTable.getAccessibleRole()): Overridden to return correct 
18007         value,
18008         (AccessibleJTable.getAccessibleTable()): Likewise,
18009         (getAccessibleContext): Create new context if required.
18010
18011 2006-05-31  Roman Kennke <kennke@aicas.com>
18012
18013         * javax/swing/JTabbedPane.java
18014         (AccessibleJTabbedPane.stateChanged): Implemented.
18015         (Page.getAccessibleStateSet): Implemented.
18016         (Page.getAccessibleIndexInParent): Implemented.
18017         (getAccessibleContext): Add AccessibleJTabbedPane object
18018         as ChangeListener to the JTabbedPane.
18019
18020 2006-05-31  Roman Kennke <kennke@aicas.com>
18021
18022         * javax/swing/JMenuItem.java
18023         (getAccessibleContext): Register accessible object as ChangeListener
18024         to the JMenuItem.
18025         (AccessibleJMenuItem.armed): New field.
18026         (AccessibleJMenuItem.focusOwner): New field.
18027         (AccessibleJMenuItem.pressed): New field.
18028         (AccessibleJMenuItem.selected): New field.
18029         (stateChanged): Implemented.
18030
18031 2006-05-31  David Gilbert  <david.gilbert@object-refinery.com>
18032
18033         * javax/swing/ListSelectionModel.java: Added API docs all over.
18034
18035 2006-05-31  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
18036
18037         * examples/gnu/classpath/examples/swing/FillRect.java 
18038         (paintComponent): Optionally paint lines rather than rectangles.
18039         (createContent): Added option to test line painting.
18040
18041 2006-05-31  David Gilbert  <david.gilbert@object-refinery.com>
18042
18043         * javax/swing/event/EventListenerList.java
18044         (getListenerList): Updated API docs.
18045
18046 2006-05-30  Sven de Marothy  <sven@physto.se>
18047
18048         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
18049         (drawImage): Clip scaled image to dest rectangle.
18050
18051 2006-05-30  Sven de Marothy  <sven@physto.se>
18052
18053         * gnu/java/awt/peer/gtk/CairoSurface.java:
18054         (CairoSurface): Convert pixels properly.
18055         * gnu/java/awt/peer/gtk/ComponentGraphics.java
18056         Remove commented-out lines.
18057
18058 2006-05-30  Sven de Marothy  <sven@physto.se>
18059
18060         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
18061         (drawImage): Use Toolkit to convert to BufferedImage.
18062         * gnu/java/awt/peer/gtk/CairoSurface.java
18063         (CairoSurface(GtkImage)): New Constructor.
18064         (getBufferedImage): New method.
18065         * gnu/java/awt/peer/gtk/ComponentGraphics.java
18066         Don't fill background - FIXME.
18067         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
18068         Remove unused methods.
18069         * gnu/java/awt/peer/gtk/GtkImage.java:
18070         (pixbuflock): New field. Methods change to use this lock.
18071         * gnu/java/awt/peer/gtk/GtkToolkit.java
18072         (createImage): Use Cairo-backed surfaces via GtkImage instead of 
18073         GtkPixbufDecoder.
18074         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
18075         (setPixels): Correct length in bytes.
18076
18077 2006-05-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
18078
18079         * gnu/java/awt/peer/gtk/CairoGraphics2D.java (static): Call
18080         System.loadLibrary unconditionally.
18081         * gnu/java/awt/peer/gtk/GdkFontPeer.java: Likewise.
18082         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java: Likewise.
18083         * gnu/java/awt/peer/gtk/GdkTextLayout.java: Likewise.
18084         * gnu/java/awt/peer/gtk/GtkToolkit.java: Likewise.
18085
18086 2006-05-30  Mark Wielaard  <mark@klomp.org>
18087
18088         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
18089         (Java_gnu_java_awt_peer_gtk_ComponentGraphics_copyAreaNative):
18090         Mark unused parameters, remove unused variables.
18091
18092 2006-05-30  Sven de Marothy  <sven@physto.se>
18093
18094         * gnu/java/awt/peer/gtk/ComponentGraphics.java
18095         (copyArea): Implemented.
18096         * include/gnu_java_awt_peer_gtk_ComponentGraphics.h
18097         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c:
18098         (copyAreaNative): New method.
18099
18100 2006-05-30  Andreas Tobler  <a.tobler@schweiz.ch>
18101
18102         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
18103         (Java_gnu_java_awt_peer_gtk_CairoSurface_getPixels): Define i only
18104         for non big endian systems.
18105         (Java_gnu_java_awt_peer_gtk_CairoSurface_setPixels): Likewise.
18106
18107 2006-05-30  Roman Kennke <kennke@aicas.com>
18108
18109         * gnu/java/awt/java2d/TexturePaintContext.java: New file.
18110         * java/awt/TexturePaint.java
18111         (createContext): Implemented.
18112
18113 2006-05-30  Robert Schuster  <robertschuster@fsfe.org>
18114
18115         * javax/swing/table/DefaultTableMode.java: Initialize dataVector
18116         field early.
18117
18118 2006-05-30  Robert Schuster  <robertschuster@fsfe.org>
18119
18120         * java/awt/Container.java:
18121         (removeAll): Reimplemented, added note.
18122
18123 2006-05-30  Robert Schuster  <robertschuster@fsfe.org>
18124
18125         * java/awt/Container.java:
18126         (removeAll): Implemented different removal mechanism, added note.
18127
18128 2006-05-30  Lillian Angel  <langel@redhat.com>
18129
18130         PR 27785
18131         * java/awt/Component.java:
18132         (translateEvent): Added handling to translate WindowEvents
18133         * java/awt/Window.java:
18134         Removed unneeded imports.
18135
18136 2006-05-30  Mark Wielaard  <mark@klomp.org>
18137
18138         * native/jni/gtk-peer/Makefile.am (libgtkpeer_la_SOURCES): Add
18139         cairographics2d.h.
18140
18141 2006-05-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
18142
18143         * gnu/java/awt/peer/gtk/GtkImage.java: Fix constructor javadoc.
18144
18145 2006-05-29  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
18146
18147         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
18148         (clearRect): Do not reuse the fg field, call updateColor.
18149         (drawRaster): Likewise.
18150         (setColor): Call updateColor.
18151         (updateColor): New method.
18152
18153 2006-05-30  Mark Wielaard  <mark@klomp.org>
18154
18155         * native/jni/classpath/jcl.h (JLONG_TO_PTR): New macro.
18156         (PTR_TO_JLONG): Likewise.
18157         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
18158         (getPointer): Use new conversion macros.
18159         (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_init): Likewise.
18160         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
18161         (Java_gnu_java_awt_peer_gtk_CairoSurface_newCairoContext):
18162         Likewise.
18163         (setNativeObject): Likewise.
18164         (getNativeObject): Likewise.
18165         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
18166         (cp_java_awt_peer_gtk_ComponentGraphics_grab_current_drawable):
18167         Mark static.
18168         (Java_gnu_java_awt_peer_gtk_ComponentGraphics_initState):
18169         Correctly cast XID and pointer values.
18170         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphicsCopy.c
18171         (Java_gnu_java_awt_peer_gtk_ComponentGraphicsCopy_getPixbuf):
18172         Mark unused variables.
18173         (Java_gnu_java_awt_peer_gtk_ComponentGraphicsCopy_copyPixbuf):
18174         Likewise.
18175         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c
18176         (Java_gnu_java_awt_peer_gtk_GdkTextLayout_cairoDrawGdkTextLayout):
18177         Remove unused cairographics2d struct.
18178         (_moveTo, _lineTo, _quadTo, _curveTo): Mark arguments const.
18179         (Java_gnu_java_awt_peer_gtk_GtkImage_initFromBuffer):
18180         Use new conversion macros.
18181         * native/jni/midi-dssi/dssi_data.h: Move conversion macros to jcl.h.
18182
18183 2006-05-30  Mark Wielaard  <mark@klomp.org>
18184
18185         * include/Makefile.am (gnu_java_nio_VMChannel.h): Added.
18186
18187 2006-05-29  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
18188
18189         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
18190         (copy): Do not reuse the fd field.
18191         (setColor): Do not set the color if the parameter
18192         matches fd field.
18193         (translate(double, double): Rewritten to use
18194         AffineTransform.translate. 
18195
18196 2006-05-30  Sven de Marothy  <sven@physto.se>
18197
18198         * gnu/java/awt/peer/gtk/ComponentGraphicsCopy.java
18199         * include/gnu_java_awt_peer_gtk_ComponentGraphicsCopy.h
18200         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphicsCopy.c
18201         New files.
18202         * include/Makefile.am
18203         * native/jni/gtk-peer/Makefile.am
18204         Add new files.
18205         * gnu/java/awt/peer/gtk/CairoSurface.java
18206         (getSharedGtkImage): New method.
18207         * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java
18208         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
18209         Fix copyArea.
18210         * gnu/java/awt/peer/gtk/ComponentGraphics.java
18211         Support a non-xrender context.
18212         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
18213         Plug memory leak.
18214         * gnu/java/awt/peer/gtk/GtkImage.java
18215         * include/gnu_java_awt_peer_gtk_GtkImage.h
18216         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c
18217         (initFromBuffer): New method.   
18218         * native/jni/gtk-peer/gtkpeer.h: 
18219         Remove declarations of previouslyremoved methods.
18220
18221 2006-05-29  Thomas Fitzsimmons  <fitzsim@redhat.com>
18222
18223         * tools/Makefile.am [FOUND_CACAO] (LIBJVM): Define to -ljvm.
18224
18225 2006-05-29  Mark Wielaard  <mark@klomp.org>
18226
18227         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
18228         (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_init): Mark unused
18229         arguments.
18230         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
18231         (Java_gnu_java_awt_peer_gtk_CairoSurface_setPixels): Declare size
18232         early. Remove unused return statement in void function.
18233         (Java_gnu_java_awt_peer_gtk_CairoSurface_newCairoContext): Declare
18234         ptr early.
18235         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
18236         (Java_gnu_java_awt_peer_gtk_ComponentGraphics_hasXRender): Mark
18237         unused arguments.
18238         (Java_gnu_java_awt_peer_gtk_ComponentGraphics_initState): Likewise.
18239         (Java_gnu_java_awt_peer_gtk_ComponentGraphics_start_1gdk_1drawing):
18240         Likewise.
18241         (Java_gnu_java_awt_peer_gtk_ComponentGraphics_end_1gdk_1drawing):
18242         Likewise.
18243
18244 2006-05-29  Sven de Marothy  <sven@physto.se>
18245
18246         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
18247         (setPixels): Remove superfluous return statement.       
18248
18249 2006-05-29  Sven de Marothy  <sven@physto.se>
18250
18251         * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
18252         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
18253         * gnu/java/awt/peer/gtk/CairoSurface.java
18254         * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java
18255         * gnu/java/awt/peer/gtk/ComponentGraphics.java
18256         * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h
18257         * include/gnu_java_awt_peer_gtk_CairoSurface.h
18258         * include/gnu_java_awt_peer_gtk_ComponentGraphics.h
18259         * native/jni/gtk-peer/cairographics2d.h
18260         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
18261         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
18262         New files.
18263
18264         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
18265         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
18266         * include/gnu_java_awt_peer_gtk_GdkGraphics2D.h
18267         Removed
18268
18269         * include/gnu_java_awt_peer_gtk_GdkFontPeer.h
18270         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
18271         * gnu/java/awt/peer/gtk/GdkFontPeer.java
18272         (releasePeerGraphicsResource): Moved to Font peer class.
18273
18274         * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java
18275         (createGraphics): Use new context classes.
18276
18277         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
18278         Use native BufferedImages where possible.
18279
18280         * gnu/java/awt/peer/gtk/GdkTextLayout.java
18281         * include/gnu_java_awt_peer_gtk_GdkTextLayout.h
18282         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c
18283         Move GdkGraphics2D.drawGdkTextLayout to the GdkTextLayout class,
18284         renamed to cairoDrawGdkTextLayout.
18285         
18286         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
18287         (getGraphics): Use ComponentGraphics context.
18288         (createImage): Use native BufferedImage.
18289         
18290         * gnu/java/awt/peer/gtk/GtkImage.java:
18291         * include/gnu_java_awt_peer_gtk_GtkImage.h
18292         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c
18293         Remove pixmap support. (GtkImage(int, int) constructor, getGraphics)
18294         Remove drawing methods.
18295                 
18296         * gnu/java/awt/print/JavaPrinterGraphics.java:
18297         Use CairoSurface instead of GtkImage.
18298         
18299         * include/Makefile.am
18300         * native/jni/gtk-peer/Makefile.am
18301         Update for new files.
18302
18303         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c
18304         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFramePeer.c
18305         Remove superfluous GtkImage code for GdkPixmaps. 
18306
18307         * native/jni/gtk-peer/gtkpeer.h
18308         Remove graphics2d structure.
18309         
18310 2006-05-29  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
18311
18312         * gnu/java/awt/peer/gtk/GdkGraphics2D.java (copying constructor):
18313         Do not reuse fg in the constructor.
18314
18315 2006-05-29  Carsten Neumann  <cn-develop@gmx.net>
18316
18317         * java/io/ObjectStreamConstants.java: Added API docs.
18318
18319 2006-05-29  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
18320
18321         * gnu/java/awt/peer/gtk/GdkGraphics2D.java (setColor):
18322         Take no action if this color is already set.
18323
18324 2006-05-29  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
18325
18326         * gnu/java/awt/peer/gtk/GdkGraphics2D.java (translate):
18327         Rewritten. 
18328         * examples/gnu/classpath/examples/swing/FillRect.java (paintComponent):
18329         Optionally paint with translation. (createContent): Added option
18330         to test painting with translation
18331
18332 2006-05-29  Raif S. Naffah  <raif@swiftdsl.com.au>
18333
18334         * java/util/logging/FileHandler.java (FileHandler): Set the instance field
18335         pattern to the default value when null.
18336         Pass field pattern, and not parameter with same name to createFileStream.
18337
18338 2006-05-28  Andrew John Hughes  <gnu_andrew@member.fsf.org>
18339
18340         * gnu/java/lang/management/OperatingSystemMXBeanImpl.java:
18341         New class implementing the OS bean.
18342         * gnu/java/lang/management/package.html:
18343         New file to document the gnu.java.lang.management package.
18344         * java/lang/management/ManagementFactory.java:
18345         New class to provide access to the OS bean.
18346         * java/lang/management/OperatingSystemMXBean.java:
18347         New interface.
18348         * java/lang/management/package.html:
18349         New file to document the java.lang.management package.
18350         
18351 2006-05-28  Raif S. Naffah  <raif@swiftdsl.com.au>
18352
18353         * tools/gnu/classpath/tools/keytool/ImportCmd.java (GKR): New constant.
18354         (JKS): Likewise.
18355         (LIB): Likewise.
18356         (SECURITY): Likewise.
18357         (CACERTS): Likewise.
18358         (CACERTS_GKR): Likewise.
18359         (gkrCaCertsPathName): New field.
18360         (jksCaCertsPathName): Likewise.
18361         (selfSignedCertificate): Likewise.
18362         (start): Initialize trusted certificate key stores if -trustcacerts is
18363         specified.
18364         (ensureReplyIsOurs): Initialize selfSignedCertificate.
18365         (orderChain): Implemented.
18366         (findTrustAndUpdate): Check a cacerts.gkr (GKR) and a cacert (JKS) trusted
18367         certificate key stores if -trustcacerts option is specified.
18368         (findTrustInCACerts): Removed.
18369         (getCertPathParameters): New method.
18370         (validate): New method.
18371         * resource/gnu/classpath/tools/keytool/messages.properties: Added message.
18372
18373 2006-05-28  Raif S. Naffah  <raif@swiftdsl.com.au>
18374
18375         * java/util/logging/FileHandler.java (PROPERTY_PREFIX): New constant.
18376         (PATTERN_KEY): Likewise.
18377         (DEFAULT_PATTERN): Likewise.
18378         (LIMIT_KEY): Likewise.
18379         (DEFAULT_LIMIT): Likewise.
18380         (COUNT_KEY): Likewise.
18381         (DEFAULT_COUNT): Likewise.
18382         (APPEND_KEY): Likewise.
18383         (DEFAULT_APPEND): Likewise.
18384         (FileHandler()): Use pattern value as set in logging.properties.
18385         Use constants defined above.
18386         (FileHandler(1)): Use constants defined above.
18387         (FileHandler(2)): Likewise.
18388         (FileHandler(3)): Likewise.
18389         (FileHandler(4)): Likewise.
18390         (createFileStream): Likewise.
18391
18392 2006-05-28  Raif S. Naffah  <raif@swiftdsl.com.au>
18393
18394         * java/util/logging/FileHandler.java: Reverted previous patch.
18395         * java/util/logging/LogManager.java: Likewise.
18396
18397 2006-05-28  Raif S. Naffah  <raif@swiftdsl.com.au>
18398
18399         * java/util/logging/FileHandler.java (PATTERN_KEY): New constant.
18400         (DEFAULT_PATTERN): Likewise.
18401         (FileHandler()): Use configured pattern property if any; otherwise use a
18402         default value as per RI documentation.
18403         * java/util/logging/LogManager.java (getStringProperty): New method.
18404
18405 2006-05-27  Thomas Fitzsimmons  <fitzsim@redhat.com>
18406
18407         * NEWS: Announce libjawtgnu.so-to-libjawt.so rename.
18408
18409 2006-05-27  Thomas Fitzsimmons  <fitzsim@redhat.com>
18410
18411         * configure.ac (FOUND_CACAO): New automake conditional.
18412         Add --enable-tool-wrappers.
18413         * NEWS: Introduce the --enable-tool-wrappers option.
18414         * tools/Makefile.am[CREATE_WRAPPERS]: Build wrapper binaries.
18415         * tools/appletviewer.c: Remove file.  Make tool-indepedent and
18416         rename ...
18417         * tools/toolwrapper.c: New file.
18418
18419 2006-05-27  Dalibor Topic  <robilad@kaffe.org>
18420
18421         * java/awt/Graphics2D.java: Use full class name for 
18422         PrinterJob in javadoc.
18423
18424 2006-05-27  Andreas Tobler  <a.tobler@schweiz.ch>
18425
18426         * native/jni/qt-peer/eventmethods.h (callVoidMethod): Silence warning.
18427         (callMouseMethod): Likewise.
18428
18429 2006-05-26  Andrew John Hughes  <gnu_andrew@member.fsf.org>
18430
18431         * native/jni/java-net/java_net_VMURLConnection.c:
18432         Fix function declarations to specify unused parameters.
18433         * scripts/check_jni_methods.sh:
18434         Remove copies of the same function using uniq.
18435         
18436 2006-05-26  Andrew John Hughes  <gnu_andrew@member.fsf.org>
18437
18438         * vm/reference/java/net/VMURLConnection.java:
18439         Make package-private and final.
18440         
18441 2006-05-27  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
18442
18443         * examples/gnu/classpath/examples/swing/TableDemo.java
18444         (TModed): Added editor for the icons column.
18445         (createContent): Increase the row height by 2 px.
18446
18447 2006-05-26  Tom Tromey  <tromey@redhat.com>
18448
18449         PR classpath/27685:
18450         * java/math/BigInteger.java (modPow): Correctly handle negative
18451         exponent.
18452
18453 2006-05-26  Tom Tromey  <tromey@redhat.com>
18454
18455         * configure.ac: Check for magic.h and -lmagic.
18456         * vm/reference/java/net/VMURLConnection.java: New file.
18457         * include/java_net_VMURLConnection.h: New file.
18458         * include/Makefile.am (H_FILES): Add VMURLConnection.h.
18459         ($(top_srcdir)/include/java_net_VMURLConnection.h): New target.
18460         * native/jni/java-net/Makefile.am (libjavanet_la_SOURCES):
18461         Mention new file.
18462         (libjavanet_la_LIBADD): Add $(LIBMAGIC).
18463         * native/jni/java-net/java_net_VMURLConnection.c: New file.
18464
18465 2006-05-26  Thomas Fitzsimmons  <fitzsim@redhat.com>
18466
18467         * tools/Makefile.am (installcheck-binSCRIPTS): Do nothing.
18468
18469 2006-05-26  Thomas Fitzsimmons  <fitzsim@redhat.com>
18470
18471         * native/jawt/Makefile.am (nativeexeclib_LTLIBRARIES): Rename
18472         libjawtgnu.la libjawt.la.
18473
18474 2006-05-26  Thomas Fitzsimmons  <fitzsim@redhat.com>
18475
18476         * native/jni/gtk-peer/Makefile.am (libgtkpeer_la_SOURCES): Remove
18477         gtkcairopeer.h.
18478
18479 2006-05-25  Lillian Angel  <langel@redhat.com>
18480         
18481         PR 26174
18482         * java/awt/Window.java
18483         (Window): Moved code to helper.
18484         (addWindowFocusListener): New function. Handles focus
18485         listener code. Added code to handle focus lost/gained
18486         from the window.
18487
18488 2006-05-25  Andrew John Hughes  <gnu_andrew@member.fsf.org>
18489
18490         * configure.ac:
18491         Make pkg-config check for GTK+ >= 2.8.
18492         
18493 2006-05-25  Thomas Fitzsimmons  <fitzsim@redhat.com>
18494
18495         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
18496         (flush): Remove debugging printfs.
18497
18498 2006-05-25  Thomas Fitzsimmons  <fitzsim@redhat.com>
18499
18500         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
18501         (schedule_flush): New function.
18502         (end_drawing_operation): Call schedule_flush.
18503
18504 2006-05-25  Thomas Fitzsimmons  <fitzsim@redhat.com>
18505
18506         * examples/gnu/classpath/examples/swing/Demo.java: Add FillRect
18507         paint performance demo.
18508         * examples/gnu/classpath/examples/swing/FillRect.java: New file.
18509
18510 2006-05-25  Thomas Fitzsimmons  <fitzsim@redhat.com>
18511
18512         * INSTALL: Bump GTK requirement to 2.8 or higher.  Do not mention
18513         Cairo version requirement.  Do not mention --enable-gtk-cairo
18514         configure option.
18515         * NEWS: Add entry for GdkGraphics2D.
18516         * configure.ac: Remove --enable-gtk-cairo and explicit checks for
18517         Cairo library and headers.
18518         * .externalToolBuilders/Configure.launch: Remove
18519         --enable-gtk-cairo from configure line.
18520         * gnu/classpath/Configuration.java.in (GTK_CAIRO_ENABLED): Remove
18521         field.
18522         * gnu/java/awt/BitwiseXORComposite.java: Fix javadoc typo.
18523         * gnu/java/awt/peer/gtk/GdkFontPeer.java,
18524         native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c : Remove
18525         useGraphics2D references.  Always assume Graphics2D is enabled.
18526         * gnu/java/awt/peer/gtk/GdkGraphics.java,
18527         native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c: Remove.
18528         * gnu/java/awt/peer/gtk/GdkGraphics2D.java,
18529         native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c: Remove
18530         Unlocked method variants.  Remove GTK_CAIRO_ENABLED and
18531         useGraphics2D references.  Always assume Graphics2D is enabled.
18532         * gnu/java/awt/peer/gtk/GdkTextLayout.java: Remove instanceof
18533         Graphics2D check.  Always assume Graphics2D is enabled.
18534         * gnu/java/awt/peer/gtk/GtkCanvasPeer.java,
18535         native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c
18536         (realize): Remove method.
18537         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
18538         native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
18539         (isRealized): Remove method.
18540         (realize): Implement as a native method.  Remove useGraphics2D
18541         references.  Always assume Graphics2D is enabled.
18542         * gnu/java/awt/peer/gtk/GtkImage.java,
18543         native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c: Replace
18544         GdkGraphics references with GdkGraphics2D references.
18545         * gnu/java/awt/peer/gtk/GtkToolkit.java,
18546         native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c: Remove
18547         useGraphics2D references.  Always assume Graphics2D is enabled.
18548         * include/Makefile.am (GTKPEER_H_FILES): Remove
18549         gnu_java_awt_peer_gtk_GdkGraphics.h.
18550         * include/gnu_java_awt_peer_gtk_GdkFontPeer.h: Regenerate.
18551         * include/gnu_java_awt_peer_gtk_GdkGraphics.h: Remove.
18552         * include/gnu_java_awt_peer_gtk_GdkGraphics2D.h: Regenerate.
18553         * include/gnu_java_awt_peer_gtk_GtkCanvasPeer.h: Likewise.
18554         * include/gnu_java_awt_peer_gtk_GtkComponentPeer.h: Likewise.
18555         * native/jawt/Makefile.am (AM_LDFLAGS): Remove CAIRO_LIBS.
18556         * native/jni/gtk-peer/Makefile.am (libgtkpeer_la_SOURCES): Remove
18557         gnu_java_awt_peer_gtk_GdkGraphics.c.  Include
18558         gnu_java_awt_peer_gtk_GdkGraphics2D.c unconditionally.
18559         (AM_LDFLAGS): Remove CAIRO_LIBS.
18560         (AM_CFLAGS): Remove CAIRO_CFLAGS.
18561         * native/jni/gtk-peer/gtkcairopeer.h: Remove.  Move declarations
18562         to ...
18563         * native/jni/gtk-peer/gtkpeer.h: Add Graphics2D declarations.
18564
18565 2006-05-25  Lillian Angel  <langel@redhat.com>
18566
18567         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
18568         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkWidgetSetCursorUnlocked):
18569         Added check to prevent assertion error. If widget->window is null, then
18570         use the parent widget's window to set the cursor on.
18571
18572 2006-05-25  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
18573
18574         * javax/swing/plaf/basic/BasicTreeUI.java (TreeCancelEditingAction):
18575         Implemented.
18576
18577 2006-05-24  Lillian Angel  <langel@redhat.com>
18578
18579         * tools/gnu/classpath/tools/appletviewer/AppletTag.java
18580         (prependCodeBase): Added check to determine if the documentbase
18581         points to a directory or a file.
18582
18583 2006-05-24  Sven de Marothy  <sven@physto.se>
18584
18585         * java/awt/dnd/DragGestureRecognizer.java
18586         (resetRecognizer): Implement.
18587         (fireDragGestureRecognized): Implement.
18588
18589 2006-05-24  David Gilbert  <david.gilbert@object-refinery.com>
18590
18591         * javax/swing/plaf/basic/BasicComboBoxUI.java: Marked stub methods and
18592         fixed source code formatting.
18593
18594 2006-05-24  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
18595
18596         * javax/swing/JTable.java (valueChanged): If is editing, stop editing.
18597
18598 2006-05-24  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
18599
18600         Reported by Antony Balkisson.
18601         * javax/swing/JTable.java (selectAll): Return without action 
18602         if the table is empty.
18603
18604 2006-05-23  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
18605
18606         * examples/gnu/classpath/examples/swing/TableDemo.java:
18607         (SliderCell): New inner class. (setCustomEditors,
18608         setInformativeHeaders): New fields. (createContent):
18609         Rewritten.
18610         * javax/swing/DefaultCellEditor.java 
18611         (JComboBoxDelegate.shouldSelectCell): New method.
18612         * javax/swing/JTable.java (editCellAt): Call shouldSelectCell.
18613         * javax/swing/plaf/basic/BasicTableUI.java
18614         (MouseInputHandler.mouseClicked): Start editing on a single
18615         click if the cell editor is not a default cell editor.
18616
18617 2006-05-23  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
18618
18619         * javax/swing/naming/CompositeName.java,
18620         javax/swing/naming/CompoundName.java:
18621         Documented.
18622
18623 2006-05-23  Archie Cobbs  <archie@dellroad.org>
18624
18625         * vm/reference/java/lang/VMClassLoader.java: fix static initializer
18626         ordering problem.
18627
18628 2006-05-23  David Gilbert  <david.gilbert@object-refinery.com>
18629
18630         * javax/swing/tree/AbstractLayoutCache.java: Coding style fixes,
18631         * javax/swing/tree/DefaultMutableTreeNode.java: Likewise,
18632         * javax/swing/tree/DefaultTreeCellRenderer.java: Likewise,
18633         * javax/swing/tree/DefaultTreeModel.java: Likewise,
18634         * javax/swing/tree/DefaultTreeSelectionModel.java: Likewise,
18635         * javax/swing/tree/ExpandVetoException.java: Likewise,
18636         * javax/swing/tree/FixedHeightLayoutCache.java: Likewise,
18637         * javax/swing/tree/RowMapper.java: Likewise,
18638         * javax/swing/tree/TreeNode.java: Likewise,
18639         * javax/swing/tree/TreeSelectionModel.java: Likewise,
18640         * javax/swing/tree/VariableHeightLayoutCache.java: Likewise.
18641
18642 2006-05-23  David Gilbert  <david.gilbert@object-refinery.com>
18643
18644         * javax/swing/tree/DefaultTreeCellRenderer.java
18645         (DefaultTreeCellRenderer): Changed key for 
18646         setBackgroundNonSelectionColor(),
18647         plus API docs all over.
18648
18649 2006-05-23  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
18650         
18651         PR 27680
18652         * javax/swing/JTable.java (booleanInvertingEditor): New field.
18653         (defaultEditorsByColumnClass, defaultRenderersByColumnClass):
18654         Initialise in constructor. (columnMoved): Cancel editing.
18655         (createDefaultEditors): Rewritten. (editCellAt):
18656         Just invert the value if this is a boolean cell. 
18657         (initialiseLocalVars): Do not initialise renderer and editor tables.
18658         (setUI): Create editors and renderers here.
18659
18660 2006-05-23  Robert Schuster  <robertschuster@fsfe.org>
18661
18662         * examples/gnu/classpath/examples/awt/Demo.java:
18663         (MainWindow.MainWindow): Added ResolutionWindow and FullscreenWindow
18664         instance as subframe.
18665         (ResolutionWindow): New inner class.
18666         (FullscreenWindow): New inner class.
18667
18668 2006-05-23  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
18669         
18670         PR 27680
18671         * javax/swing/JTable.java (BooleanCellRenderer, IconCellRenderer):
18672         Set horizontal alignment to centered.
18673
18674 2006-05-22  David Gilbert  <david.gilbert@object-refinery.com>
18675
18676         * javax/accessibility/AccessibleContext.java
18677         (getAccessibleComponent): Fixed typo in docs,
18678         * javax/swing/JLabel.java:
18679         (AccessibleJLabel.getAccessibleName): Check for explicit 
18680         accessibleName,
18681         * javax/swing/JTableHeader.java
18682         (AccessibleJTableHeaderEntry.columnIndex): New field,
18683         (AccessibleJTableHeaderEntry.parent): New field,
18684         (AccessibleJTableHeaderEntry.table): New field,
18685         (AccessibleJTableHeaderEntry.AccessibleJTableHeaderEntry()): 
18686         Implemented,
18687         (AccessibleJTableHeaderEntry.getAccessibleColumnHeaderRenderer): New 
18688         utility method,
18689         (AccessibleJTableHeaderEntry.addFocusListener): Implemented,
18690         (AccessibleJTableHeaderEntry.addPropertyChangeListener): Implemented,
18691         (AccessibleJTableHeaderEntry.contains): Implemented,
18692         (AccessibleJTableHeaderEntry.getAccessibleAction): Implemented,
18693         (AccessibleJTableHeaderEntry.getAccessibleAt): Implemented,
18694         (AccessibleJTableHeaderEntry.getAccessibleChild): Implemented,
18695         (AccessibleJTableHeaderEntry.getAccessibleChildrenCount): Implemented,
18696         (AccessibleJTableHeaderEntry.getAccessibleComponent): Implemented,
18697         (AccessibleJTableHeaderEntry.getAccessibleContext): Implemented,
18698         (AccessibleJTableHeaderEntry.getAccessibleDescription): Implemented,
18699         (AccessibleJTableHeaderEntry.getAccessibleIndexInParent): Implemented,
18700         (AccessibleJTableHeaderEntry.getAccessibleName): Implemented,
18701         (AccessibleJTableHeaderEntry.getAccessibleRole): Implemented,
18702         (AccessibleJTableHeaderEntry.getAccessibleSelection): Implemented,
18703         (AccessibleJTableHeaderEntry.getAccessibleStateSet): Implemented,
18704         (AccessibleJTableHeaderEntry.getAccessibleText): Implemented,
18705         (AccessibleJTableHeaderEntry.getAccessibleValue): Implemented,
18706         (AccessibleJTableHeaderEntry.getBackground): Implemented,
18707         (AccessibleJTableHeaderEntry.getBounds): Implemented,
18708         (AccessibleJTableHeaderEntry.getCursor): Implemented,
18709         (AccessibleJTableHeaderEntry.getFont): Implemented,
18710         (AccessibleJTableHeaderEntry.getFontMetrics): Implemented,
18711         (AccessibleJTableHeaderEntry.getForeground): Implemented,
18712         (AccessibleJTableHeaderEntry.getLocation): Implemented,
18713         (AccessibleJTableHeaderEntry.getLocationOnScreen): Implemented,
18714         (AccessibleJTableHeaderEntry.getSize): Implemented,
18715         (AccessibleJTableHeaderEntry.isEnabled): Implemented,
18716         (AccessibleJTableHeaderEntry.isFocusTraversable): Implemented,
18717         (AccessibleJTableHeaderEntry.isShowing): Implemented,
18718         (AccessibleJTableHeaderEntry.isVisible): Implemented,
18719         (AccessibleJTableHeaderEntry.removeFocusListener): Implemented,
18720         (AccessibleJTableHeaderEntry.removePropertyChangeListener): 
18721         Implemented,
18722         (AccessibleJTableHeaderEntry.requestFocus): Implemented,
18723         (AccessibleJTableHeaderEntry.setAccessibleDescription): Implemented,
18724         (AccessibleJTableHeaderEntry.setAccessibleName): Implemented,
18725         (AccessibleJTableHeaderEntry.setBackground): Implemented,
18726         (AccessibleJTableHeaderEntry.setBounds): Implemented,
18727         (AccessibleJTableHeaderEntry.setCursor): Implemented,
18728         (AccessibleJTableHeaderEntry.setEnabled): Implemented,
18729         (AccessibleJTableHeaderEntry.setFont): Implemented,
18730         (AccessibleJTableHeaderEntry.setForeground): Implemented,
18731         (AccessibleJTableHeaderEntry.setLocation): Implemented,
18732         (AccessibleJTableHeaderEntry.setSize): Implemented,
18733         (AccessibleJTableHeaderEntry.setVisible): Implemented,
18734         (AccessibleJTableHeader.getAccessibleRole): Implemented,
18735         (AccessibleJTableHeader.getAccessibleChildrenCount): Implemented,
18736         (AccessibleJTableHeader.getAccessibleChild): Implemented,
18737         (AccessibleJTableHeader.getAccessibleAt): Implemented.
18738
18739 2006-05-22  Tom Tromey  <tromey@redhat.com>
18740
18741         * NEWS: Updated.
18742
18743 2006-05-22  David Gilbert  <david.gilbert@object-refinery.com>
18744
18745         * javax/swing/JLabel.java
18746         (AccessibleJLabel.getAccessibleName): New method (override),
18747         (setLabelFor): Fire 'labelFor' property change event before other
18748         events.
18749
18750 2006-05-22  David Gilbert  <david.gilbert@object-refinery.com>
18751
18752         * javax/swing/JLabel.java
18753         (AccessibleJLabel.getAccessibleRole): New method (override).
18754
18755 2006-05-22  Tom Tromey  <tromey@redhat.com>
18756
18757         * resource/gnu/classpath/tools/serialver/messages.properties: New
18758         file.
18759         * tools/gnu/classpath/tools/serialver/Messages.java: New file.
18760         * tools/gnu/classpath/tools/serialver/SerialVer.java (classes): New
18761         field.
18762         (classpath): Likewise.
18763         (run): New method.
18764         (main): Use it.
18765         (addFileURL): New method.
18766         (getClassLoader): Likewise.
18767         (printMessage): Likewise.
18768
18769 2006-05-22  Tom Tromey  <tromey@redhat.com>
18770
18771         * tools/gnu/classpath/tools/serialver/SerialVer.java: New file.
18772
18773 2006-05-22  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
18774
18775         * javax/swing/JTable.java (doLayout): In the column
18776         resize mode, only repaing the changed part of the table.
18777         (getLeftResizingBoundary): New method.
18778
18779 2006-05-22  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
18780
18781         * javax/naming/spi/InitialContextFactory.java,
18782         javax/naming/spi/InitialContextFactoryBuilder.java,
18783         javax/naming/spi/NamingManager.java,
18784         javax/naming/spi/ObjectFactory.java,
18785         javax/naming/spi/ResolveResult.java,
18786         javax/naming/spi/Resolver.java,
18787         javax/naming/spi/StateFactory.java: Documented.
18788
18789 2006-05-21  Tom Tromey  <tromey@redhat.com>
18790
18791         PR classpath/27688:
18792         * tools/gnu/classpath/tools/jar/Extractor.java (allItems): Now
18793         a WorkSet.
18794         (initSet): Removed.
18795         (shouldExtract): Removed.
18796         (run): Updated.
18797         * tools/gnu/classpath/tools/jar/WorkSet.java: New file.
18798         * tools/gnu/classpath/tools/jar/Lister.java (readUntilEnd): New
18799         method.
18800         (listJar): Use it.
18801         (allItems): New field.
18802         (run): Initialize it.
18803         (listJar): Use it.
18804
18805 2006-05-22  Sven de Marothy  <sven@physto.se>
18806
18807         * java/nio/CharBuffer.java
18808         (wrap): Fix bounds checking.
18809
18810 2004-08-26  Tom Tromey  <tromey@redhat.com>
18811
18812         * java/io/OutputStream.java 
18813         (OutputStream): Implements Closeable, Flushable.
18814
18815 2006-04-02  Andrew John Hughes  <gnu_andrew@member.fsf.org>
18816
18817         * java/io/ObjectOutputStream.java:
18818         (writeObject(Object)): Added enum support.
18819         (writeClassDescriptor(ObjectStreamClass)): Likewise.
18820         * java/io/ObjectStreamClass.java:
18821         (isEnum()): New package-private method.
18822         (setFlags(Class)): Added enum support.
18823         * java/io/ObjectStreamConstants.java:
18824         (SC_ENUM): Added.
18825
18826 2006-03-29  Andrew John Hughes  <gnu_andrew@member.fsf.org>
18827
18828         * java/io/ObjectInputStream.java:
18829         (parseContent(byte)): Added enum support.
18830         * java/io/ObjectStreamConstants.java:
18831         (TC_ENUM): Added.
18832         (TC_MAX): Changed to new maximum, TC_ENUM.
18833
18834 2006-05-21  Andrew John Hughes  <gnu_andrew@member.fsf.org>
18835
18836         * java/beans/beancontext/BeanContextSupport.java:
18837         (instantiateChild(String)): Implemented.
18838         
18839 2006-05-21  Andrew John Hughes  <gnu_andrew@member.fsf.org>
18840
18841         * java/beans/beancontext/BeanContextSupport.java:
18842         (add(Object)): Add further documentation.
18843         (isEmpty()): Documented.
18844         (propertyChange(PropertyChangeEvent)): Implemented.
18845         (remove(Object)): Documented.
18846         (remove(Object,boolean)): Documented and implemented.
18847         (vetoableChange(PropertyChangeEvent)): Marked as
18848         implemented (only subclasses appear to need this).
18849         
18850 2006-05-21  Andrew John Hughes  <gnu_andrew@member.fsf.org>
18851
18852         * java/beans/beancontext/BeanContextSupport.java:
18853         (add(Object)): Implement support for the child being
18854         a BeanContextChild.
18855         (avoidingGui()): Implemented.
18856         (dontUseGui()): Likewise.
18857         (needsGui()): Likewise.
18858         (okToUseGui()): Likewise.
18859         
18860 2006-05-21  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
18861
18862         * javax/naming/Context.java,
18863         javax/naming/ContextNotEmptyException.java,
18864         javax/naming/Reference.java: Documented.
18865
18866 2006-05-21  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
18867
18868         * javax/swing/text/html/MinimalHTMLWriter.java
18869         (writeComponent, writeImage): Declare that the method
18870         may throw the IOException.
18871
18872 2006-05-21  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
18873         
18874         PR 26972
18875         * javax/naming/InitialContext.java (colon_list): Changed type to
18876         hashset. (use_properties): New field. (init(Hashtable)): Rewritten.
18877         (merge): Rewritten.
18878
18879 2006-05-21  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
18880
18881         * javax/naming/InitialContext.java: Documented.
18882
18883 2006-05-21  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
18884
18885         * javax/naming/NameParser.java,
18886         javax/naming/NamingEnumeration.java,
18887         javax/naming/PartialResultException.java,
18888         javax/naming/SizeLimitExceededException.java,
18889         javax/naming/spi/ObjectFactory.java,
18890         javax/naming/spi/ObjectFactoryBuilder.java: Documented.
18891
18892 2006-05-21  Andrew John Hughes  <gnu_andrew@member.fsf.org>
18893
18894         * gnu/java/net/loader/JarURLLoader.java:
18895         Use Map.Entry instead of LinkedHashMap.Entry
18896         
18897 2006-05-21  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
18898
18899         * javax/naming/Context.java: Documented.
18900
18901 2006-05-21  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
18902
18903         * javax/naming/Referenceable.java: Documented.
18904         * javax/naming/spi/NamingManager.java: Documented.
18905
18906 2006-05-21  Raif S. Naffah  <raif@swiftdsl.com.au>
18907
18908         * doc/tools.texinfo: Replaced references to MessageBundle.properties
18909         to messages.properties.
18910         * resource/gnu/classpath/tools/jarsigner/MessageBundle.properties:
18911         Renamed to messages.properties.
18912         * resource/gnu/classpath/tools/keytool/MessageBundle.properties:
18913         Likewise.
18914         * resource/gnu/classpath/tools/jarsigner/messages.properties:
18915         Renamed from MessageBundle.properties.
18916         Added copyright notice.
18917         * resource/gnu/classpath/tools/keytool/messages.properties:
18918         Likewise.
18919         * tools/gnu/classpath/tools/jarsigner/Messages.java
18920         (BUNDLE_NAME): Use messages instead of MessageBundle properties file.
18921         (getFormattedString): Fixed a spelling mistake.
18922         * tools/gnu/classpath/tools/keytool/Messages.java: Likewise.
18923
18924 2006-05-20  Sven de Marothy  <sven@physto.se>
18925
18926         * gnu/java/awt/font/opentype/NameDecoder.java
18927         Made class public.
18928         (getName): Use getShort instead of getChar(), fix PS name.
18929         (decodeName): New method.
18930         * gnu/java/awt/peer/gtk/GdkFontPeer.java
18931         (getSubFamilyName): Implement.
18932         (getPostScriptName): Use the NameDecoder class instead.
18933         (parsePSName): Removed.
18934         (getName): Added
18935
18936 2006-05-20  Sven de Marothy  <sven@physto.se>
18937
18938         * gnu/java/awt/peer/gtk/GdkFontPeer.java
18939         (getTrueTypeTable): New native method.
18940         (getPostScriptName): Reimplement.
18941         (parsePSName): New method.
18942         (getNumGlyphs): Implement.
18943         * include/gnu_java_awt_peer_gtk_GdkFontPeer.h: New native method.
18944         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
18945         (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getTrueTypeTable):
18946         New function. File is now explicitly dependent on FT2.
18947         
18948 2006-05-20  Tom Tromey  <tromey@redhat.com>
18949
18950         * tools/gnu/classpath/tools/native2ascii/Messages.java: New file.
18951         * resource/gnu/classpath/tools/native2ascii/messages.properties: New
18952         file.
18953         * tools/gnu/classpath/tools/native2ascii/Native2ASCII.java
18954         (HandleFile): New class.
18955         (input, output, encoding, reversed): New fields.
18956         (createParser): New method.
18957         (run): Likewise.
18958         (main): Use 'run'.
18959         * tools/gnu/classpath/tools/getopt/FileArgumentCallback.java
18960         (notifyFile): Throws OptionException.
18961
18962 2006-05-20  Tom Tromey  <tromey@redhat.com>
18963
18964         * tools/gnu/classpath/tools/native2ascii/Native2ASCII.java: New file,
18965         from cp-tools.
18966
18967 2006-05-20  Andrew John Hughes  <gnu_andrew@member.fsf.org>
18968
18969         * native/jni/java-nio/gnu_java_nio_VMChannel.c:
18970         (JCL_print_buffer): Fix to work with -Werror on 64-bit
18971         platforms.
18972         
18973 2006-05-20  Sven de Marothy  <sven@physto.se>
18974
18975         * java/awt/Font.java (getNumGlyphs): Call correct peer method.
18976         
18977 2006-05-20  Sven de Marothy  <sven@physto.se>
18978
18979         * gnu/java/awt/print/JavaPrinterJob.java 
18980         (print): Use PostScriptGraphics2D.
18981         * gnu/java/awt/print/PostScriptGraphics2D.java: New file.
18982         
18983 2006-05-20  Sven de Marothy  <sven@physto.se>
18984
18985         * javax/swing/text/html/MinimalHTMLWriter.java: New file
18986         
18987 2006-05-20  Raif S. Naffah  <raif@swiftdsl.com.au>
18988
18989         * gnu/java/security/OID.java: Updated copyright year.
18990         (OID): Removed unused Javadoc param tag.
18991         * gnu/java/security/prng/PRNGFactory.java: Removed unused import.
18992         * gnu/java/security/hash/MD4.java: Fixed a Javadoc link.
18993
18994 2006-05-20  Raif S. Naffah  <raif@swiftdsl.com.au>
18995
18996         * gnu/javax/crypto/jce/keyring/GnuKeyring.java (engineAliases):
18997         Formatting.
18998         Added trace/debug statements.
18999         (engineSetCertificateEntry): Ensure alias is not already used for a Key
19000         Entry.  Also ensure that any previous entry for this alias is removed
19001         before a new one is added.
19002         (engineGetKey): Do not trace/log passwords.
19003         Trace key's class name only.
19004         (engineSetKeyEntry): Ensure alias is not alredy used for a Trusted
19005         Certificate Entry. Also ensure that previous entry for this alias is
19006         removed before a new one is added.
19007         (engineLoad): Do not trace/log passwords.
19008         (engineStore): Likewise.
19009         (engineSize): Use size of enumeration instead of collection size.
19010
19011 2006-05-20  Raif S. Naffah  <raif@swiftdsl.com.au>
19012
19013         * gnu/javax/crypto/keyring/PrivateKeyEntry.java: Formatting.
19014         (toString): New method.
19015         * gnu/javax/crypto/keyring/PasswordEncryptedEntry.java (decrypt):
19016         Do not trace/log passwords.
19017         Set masked to false before decoding envelope.
19018         Do not set payload to null.
19019         (encrypt): Set masked to true.
19020         * gnu/javax/crypto/keyring/PasswordAuthenticatedEntry.java (verify):
19021         Do not trace/log passwords.
19022         Set masked to false before decoding envelope.
19023         Do not set payload to null.
19024         Added trace/debug statements.
19025         (authenticate): Do not trace/log passwords.
19026         Set masked to true.
19027         Added trace/debug statements.
19028         (getMac): Added trace/debug statements.
19029         * gnu/javax/crypto/keyring/MaskableEnvelopeEntry.java
19030         (remove(String)): Changed the signature to return a boolean.
19031         (toString): New method.
19032         * gnu/javax/crypto/keyring/GnuPublicKeyring.java (containsCertificate):
19033         Formatting
19034         (getCertificate): Likewise.
19035         (putCertificate): Likewise.
19036         (load): Likewise.
19037         Do not trace/log passwords.
19038         (store): Likewise.
19039         * gnu/javax/crypto/keyring/GnuPrivateKeyring.java (getPrivateKey):
19040         Do not trace/log passwords.
19041         Added more trace/logging statements.
19042         (putPrivateKey): Do not trace/log passwords.
19043         Trace only key's class name.
19044         Formatting.
19045         (containsPublicKey): Formatting.
19046         (getPublicKey): Likewise.
19047         Trace only key's class name.
19048         (putPublicKey): Trace only key's class name.
19049         (containsCertPath): Formatting.
19050         (getCertPath): Likewise.
19051         (putCertPath): Likewise.
19052         (load): Do not trace/log passwords.
19053         Formatting.
19054         (store): Likewise.
19055         * gnu/javax/crypto/keyring/EnvelopeEntry.java (log): New field.
19056         (add): Do not set payload to null.
19057         Added trace/debug statements.
19058         (containsAlias): Added trace/debug statements.
19059         (get): Likewise.
19060         (remove(Entry)): Likewise.
19061         (remove(String)): Likewise.
19062         Changed the signature to return a boolean.
19063         Do not set payload to null unless really removed.
19064         (toString): New method.
19065         (decodeEnvelope): Clear entries before proceeding.
19066         (makeAliasList): Added trace/debug statements.
19067         Ensure only non-null aliases and alias-lists are added.
19068         * gnu/javax/crypto/keyring/Entry.java (log): New field.
19069         (TYPES): New constant.
19070         (toString): New method.
19071         (defaultDecode): Add trace/debug statement.
19072
19073 2006-05-20  Raif S. Naffah  <raif@swiftdsl.com.au>
19074
19075         * tools/gnu/classpath/tools/keytool/ListCmd.java (rfc):
19076         Increased visibility.
19077         (setup): Do not trace/log passwords.
19078         (parsed): Was not setting correct (rfc) field; fixed.
19079         (print1Chain): Formatting.
19080         * tools/gnu/classpath/tools/keytool/DeleteCmd.java (setup):
19081         Do not trace/log passwords.
19082         * tools/gnu/classpath/tools/keytool/ExportCmd.java (setup): Likewise.
19083         * tools/gnu/classpath/tools/keytool/GenKeyCmd.java (setup): Likewise.
19084         * tools/gnu/classpath/tools/keytool/IdentityDBCmd.java (setup): Likewise.
19085         * tools/gnu/classpath/tools/keytool/KeyCloneCmd.java (setup): Likewise.
19086         * tools/gnu/classpath/tools/keytool/StorePasswdCmd.java (setup): Likewise.
19087         * tools/gnu/classpath/tools/keytool/ImportCmd.java (setup): Likewise.
19088         (orderChain): Added FIXME.
19089         * tools/gnu/classpath/tools/keytool/CertReqCmd.java (setup):
19090         Do not trace/log passwords.
19091         Removed commented out code.
19092         * tools/gnu/classpath/tools/keytool/KeyPasswdCmd.java (setup): Likewise.
19093         * tools/gnu/classpath/tools/keytool/SelfCertCmd.java (setup): Likewise.
19094         * tools/gnu/classpath/tools/keytool/Command.java (doCommand): Formatting.
19095         (setKeystoreURLParam): Likewise.
19096         (setKeystorePasswordParam): Do not trace/log passwords.
19097         (saveKeyStore): Likewise.
19098
19099 2006-05-19  Roman Kennke <kennke@aicas.com>
19100
19101         * gnu/java/awt/java2d/AbstractGraphics2D.java
19102         Added class docs.
19103         (pixel): Removed obsolete field.
19104         (draw(Shape)): Removed commented out code.
19105         (drawImage): Formatting.
19106         (drawString): Added optimization hook.
19107         (setPaint): Removed rawSetForeground().
19108         (getFontRenderContext): Return context with correct transform.
19109         (drawGlyphVector): Draw complete outline in one go.
19110         (copyArea): Added optimization hook.
19111         (clearRect): Added optimization hook.
19112         (drawImage): Added optimization hook.
19113         (fillShape): (Temporarily) Set antialiasing off by default for
19114         font rendering. Adjust the shape by some bits to improve rendering.
19115         Pass clip bounds to the render methods.
19116         (drawPixel): Removed.
19117         (rawSetPixel): Removed.
19118         (rawSetForeground): Removed.
19119         (rawDrawLine): Default impl calls standard pipeline.
19120         (rawDrawString): New method, calls standard pipeline for rendering.
19121         (rawClearRect): New method, calls standard pipeline for rendering.
19122         (rawFillRect): New method, calls standard pipeline for rendering.
19123         (rawDrawImage): New method, calls standard pipeline for rendering.
19124         (rawCopyArea): New method.
19125         (copyAreaImpl): New method.
19126         (rawFillShape): Renamed to fillShapeImpl(). Small optimization
19127         for rendering.
19128         (fillShapeAntialias): Fixed AA rendering.
19129         (fillScanlineAA): Fixed AA rendering.
19130         (getSegments): Take offset into account.
19131
19132 2006-05-19  Sven de Marothy  <sven@physto.se>
19133
19134         * javax/swing/text/AbstractWriter.java
19135         (getText): Fix parameters (start, length) not (start, end).
19136         
19137 2006-05-19  Tom Tromey  <tromey@redhat.com>
19138
19139         PR classpath/27444:
19140         * gnu/java/net/loader/URLLoader.java (getClassPath): Documented.
19141         Changed return type.
19142         * java/net/URLClassLoader.java (urlloaders): Removed.
19143         (addURLImpl): Updated.
19144         * gnu/java/net/loader/JarURLLoader.java (initialized): New field.
19145         (indexSet): Likewise.
19146         (classPath): Changed type.
19147         (JarURLLoader): New constructor.
19148         (initialize): New method.
19149         (getResource): Use index set if it exists.
19150         (getClassPath): Updated.
19151         * gnu/java/net/IndexListParser.java (IndexListParser): Avoid NPE.
19152         (prefixes): New field.
19153         (headers): Removed.
19154         (IndexListParser): Fill in prefixes.
19155         (clearAll): Clear prefixes.
19156         (getHeaders): Changed return type.
19157
19158 2006-05-19  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
19159
19160         * javax/swing/plaf/basic/BasicTableHeaderUI.java 
19161         (MouseInputHandler.mouseExitted): No nothing there.
19162         (MouseInputHandler.endDragging): Move column to the
19163         first/last position if released outside the horizontal
19164         table range.
19165
19166 2006-05-19  Lillian Angel  <langel@redhat.com>
19167
19168         * java/awt/font/GlyphVector.java
19169         (getGlyphCharIndex): Implemented.
19170         (getGlyphCharIndices): Implemented.
19171         (getGlyphOutline): Implemented.
19172         (getGlyphVisualBounds): Implemented.
19173         (getGlyphVisualBounds): Implemented.
19174         (getPixelBounds): Implemented.
19175         (getLayoutFlags): Implemented.
19176
19177 2006-05-19  Robert Schuster  <robertschuster@fsfe.org>
19178
19179         * java/awt/LightweightDispatcher.java: Added field dragButton and
19180         documentation for it.
19181         (handleMouseEvent): Rewritten MOUSE_PRESSED case in switch-statement,
19182         added subexpression to if-clause in MOUSE_RELEASED case.
19183
19184 2006-05-19  Robert Schuster  <robertschuster@fsfe.org>
19185
19186         * javax/swing/metal/MetalButtonUI.java:
19187         (update): Removed some subexpression from if-clause and call
19188         updateWithGradient.
19189         (updateWithGradient): New method.
19190
19191 2006-05-19  Roman Kennke <kennke@aicas.com>
19192
19193         * javax/swing/JComponent.java
19194         (findOverlapFreeParent): Implemented algorithm for finding
19195         overlapping in component hierarchy.
19196
19197 2006-05-19  Jeroen Frijters  <jeroen@frijters.net>
19198
19199         * java/lang/Thread.java
19200         (contextClassLoaderIsSystemClassLoader): New field.
19201         (Thread(ThreadGroup,Runnable)): Call createAnonymousThreadName.
19202         (Thread(VMThread,String,int,boolean)): Call createAnonymousThreadName
19203         and set contextClassLoaderIsSystemClassLoader.
19204         (Thread(ThreadGroup,Runnable,String,long)):
19205         Set contextClassLoaderIsSystemClassLoader.
19206         (createAnonymousThreadName): New method.
19207         (getContextClassLoader): Check contextClassLoaderIsSystemClassLoader
19208         and fixed security check.
19209         (setContextClassLoader): Clear contextClassLoaderIsSystemClassLoader.
19210
19211 2006-05-19  Robert Schuster  <robertschuster@fsfe.org>
19212
19213         * javax/swing/plaf/basic/BasicToolBarUI.java:
19214         (createNonRolloverBorder): Rewritten.
19215         (createRolloverBorder): Rewritten.
19216         (setToNonRolloverBorder): Store old border instance in hashtable.
19217         (setToRolloverBorder): Store old border instance in hashtable, use
19218         AbstractButton instead of JButton in statements.
19219         (setBorderToNormal): Rewritten.
19220         * javax/swing/plaf/metal/MetalLookAndFeel.java:
19221         (initComponentDefaults): Added values for ToolBar.rolloverBorder and
19222         ToolBar.nonrolloverBorder.
19223
19224 2006-05-18  Thomas Fitzsimmons  <fitzsim@redhat.com>
19225
19226         * javax/imageio/stream/ImageInputStreamImpl.java: Complete.
19227         * javax/imageio/stream/MemoryCacheImageInputStream.java: Likewise.
19228
19229 2006-05-18  Lillian Angel  <langel@redhat.com>
19230
19231         * java/awt/font/GlyphMetrics.java
19232         (getLSB): Implemented.
19233         (getRSB): Implemented.
19234
19235 2006-05-18  Lillian Angel  <langel@redhat.com>
19236
19237         * java/awt/font/GraphicAttribute.java:
19238         Documented entire class.
19239         (GraphicAttribute): Added check for alignment.
19240         (getBounds): Implemented.
19241         (getJustificationInfo): Implemented.
19242
19243 2006-05-18  Robert Schuster  <robertschuster@fsfe.org>
19244
19245         * java/awt/LightweightDispatcher.java:
19246         (handleMouseEvent): Added note, added subexpression to if-statement.
19247
19248 2006-05-18  Robert Schuster  <robertschuster@fsfe.org>
19249
19250         * javax/swing/plaf/basic/BasicToolBarUI.java:
19251         (navigateFocusedComp): Marked as stub.
19252         (createRolloverBorder): Create a different Border instance, added note.
19253         * javax/swing/plaf/metal/MetalBorders.java:
19254         (ButtonBorder): Added documentation.
19255         (ButtonBorder.paintDefaultButtonBorder): Added else-block.
19256         (ButtonBorder.paintOceanButtonBorder): Added else-block, added
19257         subexpression into if-else cascade, added note.
19258
19259 2006-05-18  Lillian Angel  <langel@redhat.com>
19260
19261         * java/awt/font/ShapeGraphicAttribute.java:
19262         Documented entire class.
19263         (ShapeGraphicAttribute): Initialized bounds field.
19264         (draw): Implemented.
19265         (equals): Implemented.
19266         (getAdvance): Implemented.
19267         (getAscent): Implemented.
19268         (getBounds): Implemented.
19269         (getDescent): Implemented.
19270         (hashCode): Implemented.
19271
19272 2006-05-18  Roman Kennke <kennke@aicas.com>
19273
19274         * javax/swing/CellRendererPane.java
19275         (CellRendererPane): Set CellRendererPane to invisible.
19276
19277 2006-05-18  Roman Kennke <kennke@aicas.com>
19278
19279         * gnu/java/awt/peer/gtk/GdkGraphics.java
19280         (clipRect): Removed old intersection statement.
19281
19282 2006-05-18  Roman Kennke <kennke@aicas.com>
19283
19284         * gnu/java/awt/peer/gtk/GdkGraphics.java
19285         (clipRect): Don't use Rectangle.intersection() to avoid creating
19286         2 unnecessary Rectangle instances and fix a clipping problem.
19287         (computeIntersection): New helper method, adapted from SwingUtilities.
19288
19289 2006-05-18  Roman Kennke <kennke@aicas.com>
19290
19291         * javax/swing/JComponent.java
19292         (isCompletelyDirty): Removed.
19293         (paint): Don't mark children as clean, this is no longer necessary.
19294         (findOverlapFreeParent): Don't stop at Viewports, this breaks
19295         painting when something overlaps the viewport (like a popup/menu).
19296         * javax/swing/RepaintManager.java
19297         (currentRepaintManagers): Made package private to avoid accessor
19298         methods.
19299         (dirtyComponents): Made private.
19300         (dirtyComponentsWork): Made private.
19301         (markCompletelyDirty): Fixed bounds of dirtyrect to be
19302         component-local not parent-local. Do not set flag in JComponent.
19303         (markCompletelyClean): Don't set JComponent flag.
19304         (isCompletelyDirty): Rewritten to return true when the complete
19305         component is marked dirty.
19306         (paintDirtyRegions): Improved parent-merging so that the merged-in
19307         components don't get painted too. 'Outsourced' the compilation
19308         of the repaint root components.
19309         (compileRepaintRoots): New helper method.
19310
19311 2006-05-18  Roman Kennke <kennke@aicas.com>
19312
19313         PR 26368
19314         * javax/swing/text/GapContent.java
19315         (GapContentPosition(int)): Use adapted binarySearch method to
19316         allow for having a greater array than number of entries.
19317         (numMarks): New field, holds the end of the marks list.
19318         (GapContent): Initialize positionMarks with size of 10 instead of 0.
19319         (shiftGapStartDown): Adjusted for new setPositionsInRange signature.
19320         (shiftGapEndUp): Adjusted for new setPositionsInRange signature.
19321         (setPositionsInRange): Changed signature to narrow the purpose and
19322         special cases inside. Reimplemented to crunch together equal marks.
19323         (adjustPositionsInRange): Added assertion to make sure we do
19324         not accidentally change the order of the mark. Added some debug
19325         output for a special case of which I don't know if it even exists.
19326         (resetMarksAtZero): Made impl simpler.
19327         (dumpMarks): New debug helper method.
19328         (insertMark): Grow array in bigger chunks to avoid excessive copying.
19329         (binarySearch): New method. An adaption of Arrays.binarySearch()
19330         that allows for an maxIndex parameter.
19331
19332 2006-05-18  Roman Kennke <kennke@aicas.com>
19333
19334         * javax/swing/KeyboardManager.java
19335         (topLevelLookup): Use WeakHashMap to avoid memory leak.
19336
19337 2006-05-18  Jeroen Frijters  <jeroen@frijters.net>
19338
19339         * gnu/java/net/loader/JarURLLoader.java
19340         (JarURLLoader): Use a slightly more efficient URL constructor.
19341
19342 2006-05-18  David Gilbert  <david.gilbert@object-refinery.com>
19343
19344         * gnu/java/awt/print/JavaPrinterGraphics.java
19345         (drawImage(Image, int, int, Color, ImageObserver)): Fix endless loop,
19346         (drawImage(Image, int, int, ImageObserver)): Likewise,
19347         (drawImage(Image, int, int, int, int, Color, ImageObserver)): Likewise,
19348         (drawImage(Image, int, int, int, int, ImageObserver)): Likewise,
19349         (drawImage(Image, int, int, int, int, int, int, int, int, Color, 
19350         ImageObserver)): Likewise,
19351         (drawImage(Image, int, int, int, int, int, int, int, int, 
19352         ImageObserver)): Likewise.
19353
19354 2006-05-17  Tom Tromey  <tromey@redhat.com>
19355
19356         * tools/gnu/classpath/tools/jar/Indexer.java (indexJarFile): Use a
19357         LinkedHashSet.
19358
19359 2006-05-17  David Gilbert  <david.gilbert@object-refinery.com>
19360
19361         * javax/swing/border/AbstractBorder.java: Source code formatting fixes,
19362         * javax/swing/border/BevelBorder.java: Likewise,
19363         * javax/swing/border/CompoundBorder.java: Likewise,
19364         * javax/swing/border/TitledBorder.java: Likewise.
19365
19366 2006-05-17  David Gilbert  <david.gilbert@object-refinery.com>
19367
19368         * javax/swing/table/AbstractTableModel.java: Formatting fixes,
19369         * javax/swing/table/DefaultTableModel.java: Likewise,
19370         * javax/swing/table/TableCellEditor.java: Likewise,
19371         * javax/swing/table/TableCellRenderer.java: Likewise.
19372
19373 2006-05-17  Lillian Angel  <langel@redhat.com>
19374
19375         * java/awt/font/ImageGraphicAttribute.java:
19376         Documented entire class.
19377         (ImageGraphicAttribute): Changed to call this.
19378         (ImageGraphicAttribute): Implemented.
19379         (draw): Implemented.
19380         (equals): Implemented.
19381         (getAdvance): Implemented.
19382         (getAscent): Implemented.
19383         (getBounds): Implemented.
19384         (getDescent): Implemented.
19385         (hashCode): Implemented.
19386         * javax/swing/text/html/HTMLDocument.java
19387         (create): Removed. Sufficent enough for
19388         super to be called.
19389         (insert): Likewise.
19390         (insertUpdate): Likewise.
19391         (processHTMLFrameHyperlinkEvent): Marked as stub.
19392         (start): Removed FIXME.
19393         (end): Likewise.
19394         (start): Called super. 
19395         (end): Called super.
19396         (getElement): removed unneeded code.
19397         (setParagraphAttribute): Removed. Sufficent enough
19398         for super to be called.
19399         (fireChangedUpdate): Likewise.
19400         (fireUndoableEditUpdate): Likewise.     
19401
19402 2006-05-17  Lillian Angel  <langel@redhat.com>
19403
19404         * java/awt/TexturePaint.java:
19405         Added documentation for class and all functions.
19406         (getTransparency): Implemented.
19407
19408 2006-05-17  Roman Kennke <kennke@aicas.com>
19409
19410         * java/awt/LightweightDispatcher.java
19411         (findTarget): Translate point to child components.
19412
19413 2006-05-17  Roman Kennke <kennke@aicas.com>
19414
19415         PR 26368
19416         * javax/swing/text/GapContent.java
19417         (GapContentPosition): Do no more implement Comparable.
19418         (GapContentPosition.mark): Removed field.
19419         (GapContentPosition.index): New field to hold the index into
19420         the positions array.
19421         (GapContentPosition(int)): Rewritten to use the new indirection
19422         to the positions array.
19423         (GapContentPosition.compareTo): Removed.
19424         (GapContentPosition.getOffset): Synchronized. Fetch mark from
19425         positionMarks array.
19426         (WeakPositionComparator): Removed obsolete class.
19427         (positions): Changed type to WeakHashMap.
19428         (positionMarks): New field, holds the marks of the positions.
19429         (GapContent): Initialize new fields.
19430         (createPosition): Rewritten to use the new indirection
19431         to the positions array.
19432         (getPositionsInRange): Rewritten to use the new indirection
19433         to the positions array.
19434         (setPositionsInRange): Rewritten to use the new indirection
19435         to the positions array.
19436         (adjustPositionsInRange): Rewritten to use the new indirection
19437         to the positions array.
19438         (insertMark): New helper method.
19439         (clearPositionReferences): Removed obsolete methods.
19440
19441 2006-05-17  Lillian Angel  <langel@redhat.com>
19442
19443         * java/awt/GraphicsConfiguration.java
19444         (getImageCapabilities): Implemented.
19445         (getBufferCapabilities): Implemented.
19446
19447 2006-05-17  Lillian Angel  <langel@redhat.com>
19448
19449         * javax/swing/plaf/basic/BasicSliderUI.java
19450         (focusGained): Implemented.
19451         (focusLost): Implemented.
19452         (paint): Added code to paint the focus.
19453         * javax/swing/plaf/metal/MetalSliderUI.java
19454         (paintThumb): Added code to set the thumbColor.
19455         (paintFocus): Implemented properly.
19456
19457 2006-05-17  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
19458
19459         PR 27383
19460         * javax/naming/spi/NamingManager.java (getURLContext):
19461         Always search for the factory class in all possible places
19462         and use VMStackWalker.
19463         (forName): New method.
19464
19465 2006-05-17  Roman Kennke <kennke@aicas.com>
19466
19467         * java/awt/LightweightDispatcher.java
19468         (handleMouseEvent): Fixed search algorithm for finding the
19469         mouse event target.
19470         (findTarget): Fixed search algorithm for finding the
19471         mouse event target.
19472
19473 2006-05-17  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
19474
19475         * javax/naming/spi/NamingManager.java: Documented.
19476
19477 2006-05-17  Mark Wielaard  <mark@klomp.org>
19478
19479         * THANKYOU: Add Trevor Linton <tlinton@xmission.com>.
19480         * gnu/javax/imageio/jpeg/DCT.java: Cleanup Todo copyright.
19481         * gnu/javax/imageio/jpeg/YCbCr_ColorSpace.java: Likewise.
19482         * gnu/javax/imageio/jpeg/ZigZag.java: Likewise.
19483
19484 2006-05-17  Robert Schuster  <robertschuster@fsfe.org>
19485
19486         Fixes PR 26947.
19487         * javax/swing/plaf/basic/BasicInternalFrameUI.java: Updated copyright
19488         year.
19489         (BorderListener.mouseClicked): Detect double-clicks in title pane,
19490         copied code from
19491         BasicInternalFrameTitlePaneUI.MaximizeAction.actionPerformed().
19492
19493 2006-05-17  Robert Schuster  <robertschuster@fsfe.org>
19494
19495         Fixes PR 27626.
19496         * java/awt/LightweightDispatcher.java:
19497         (handleMouseEvent): Moved assignment into switch-block, added notes.
19498
19499 2006-05-16  Lillian Angel  <langel@redhat.com>
19500
19501         * javax/swing/text/StyleContext.java:
19502         Changed staticAttributeKeys  to be a Hashtable.
19503         (getStaticAttribute): Implemented.
19504         (getStaticAttributeKey): Implemented.
19505         (readAttributeSet): Implemented.
19506         (writeAttributeSet): Added FIXME. Not sure how
19507         to implement this.
19508         (readAttributes): Implemented.
19509         (writeAttributes): Implemented.
19510         (registerStaticAttibuteKey): Fixed to add key to 
19511         the hash table.
19512
19513 2006-05-16  David Gilbert  <david.gilbert@object-refinery.com>
19514
19515         * javax/swing/DefaultButtonModel.java
19516         (setGroup): Removed event notification.
19517
19518 2006-05-16  Lillian Angel  <langel@redhat.com>
19519
19520         * javax/swing/plaf/basic/BasicComboBoxUI.java
19521         (installKeyboardActions): Implemented.
19522         (uninstallKeyboardActions): Implemented.
19523         * javax/swing/plaf/basic/BasicComboPopup.java
19524         (uninstallKeyboardActions): Removed FIXME. Nothing
19525         to be done here.
19526         (installKeyboardActions): Likewise.
19527         * javax/swing/plaf/basic/BasicTextUI.java
19528         (uninstallKeyboardActions): Implemented.
19529         * javax/swing/plaf/basic/BasicTreeUI.java:
19530         Added field for hashColor.
19531         Marked stub methods.
19532         (getHashColor): Implemented to use field.
19533         (setHashColor): Likewise.
19534         (getRowX): Implemented.
19535         (NodeDimensions.getRowX): Changed to use BasicTreeUI.getRowX.   
19536
19537 2006-05-16  Roman Kennke <kennke@aicas.com>
19538
19539         PR 26521
19540         * javax/swing/JTable.java
19541         (rowHeights): New field.
19542         (initializeLocalVars): Call setRowHeigt instead of rowHeight=,
19543         in order to initialize rowHeights correctly.
19544         (tableChanged): Nullify rowHeights when model changes. Only
19545         create default columns from model when corresponding property
19546         is set. Sync table model with rowHeights as appropriate.
19547         (valueChanged): Call repaint with the correct rectangle.
19548         (rowAtPoint): Handle rowHeights.
19549         (getCellRect): Mostly rewritten. Check for boundaries
19550         of model and return (0,0,0,0) or (0,0,width,height) when outside.
19551         Handle component orientation. Round correctly.
19552         (getRowHeight(int)): Implemented for variable row height.
19553         (setRowHeight(int,int)): Implemented for variable row height.
19554         (setRowHeight(int)): Nullify rowHeights.
19555         (setModel): Notify tableChanged().
19556         * javax/swing/plaf/basic/BasicTableUI.java
19557         (installDefaults): Create rendererPane in installUI.
19558         (installUI): Create and install rendererPane.
19559         (uninstallUI): Uninstall rendererPane and nullify rendererPane
19560         and table.
19561         (paint): Correctly handle rowMargin.
19562
19563 2006-05-16  Tom Tromey  <tromey@redhat.com>
19564
19565         PR classpath/27563:
19566         * java/text/NumberFormat.java (getIntegerInstance): Use
19567         "integerFormat", not "numberFormat".
19568
19569 2006-05-16  Lillian Angel  <langel@redhat.com>
19570
19571         * javax/swing/JPopupMenu.java
19572         (addMenuKeyListener): Implemented.
19573         (removeMenuKeyListener): Implemented.
19574         (getMenuKeyListeners): Implemented.
19575         * javax/swing/ProgressMonitor.java:
19576         Added new protected field.
19577         (getAccessibleContext): Implemented.
19578
19579 2006-05-16  Lillian Angel  <langel@redhat.com>
19580
19581         * javax/swing/JFileChooser.java:
19582         Added new private field.
19583         (setDragEnabled): Implemented.
19584         (getDragEnabled): Implemented.
19585
19586 2006-05-16  Lillian Angel  <langel@redhat.com>
19587
19588         * java/awt/Window.java
19589         (applyResourceBundle): Implemented.
19590
19591 2006-05-16  David Gilbert  <david.gilbert@object-refinery.com>
19592
19593         * javax/swing/DefaultButtonModel.java
19594         (setSelected): If new SELECTED state is false, clear ARMED and PRESSED
19595         states also.
19596
19597 2006-05-16  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
19598
19599         * javax/swing/JList.java (getSelectedValues):
19600         Ask the value for the indexed array element.
19601
19602 2006-05-16  Roman Kennke <kennke@aicas.com>
19603
19604         * javax/swing/JTable.java
19605         (valueChanged): Also repaint when table has only 1 row. Fixed
19606         repaint rectangle to span the entire changed rows.
19607
19608 2006-05-16  Roman Kennke <kennke@aicas.com>
19609
19610         PR 24031
19611         * javax/swing/JOptionPane.java
19612         (startModal): Rewritten. The events are now dispatched, even
19613         when the event dispatch thread gets blocked by the call
19614         to this method. Also, mouse events get intercepted outside the
19615         internal frame.
19616
19617 2006-05-16  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
19618
19619         * javax/swing/plaf/basic/BasicInternalFrameUI.java
19620         (BorderListener.mouseDragged):Do not set cursor 
19621         if the frame is being dragged.
19622
19623 2006-05-16  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
19624
19625         * javax/swing/plaf/basic/BasicInternalFrameUI.java
19626         (BorderListener): Rewritten. (InternalFrameBorder):
19627         Made package private.
19628         (InternalFrameBorder.offset):
19629         Renamed to cornerSize, made package private.
19630         (bSize): Made package private.
19631
19632 2006-05-16  Roman Kennke <kennke@aicas.com>
19633
19634         * javax/swing/JMenu.java
19635         (AccessibleJMenu.getAccessibleChildrenCount): Implemented.
19636         (AccessibleJMenu.getAccessibleChild): Implemented.
19637         (AccessibleJMenu.getAccessibleSelection): Implemented.
19638         (AccessibleJMenu.getAccessibleSelection(int)): Implemented.
19639         (AccessibleJMenu.isAccessibleChildSelected): Implemented.
19640         (AccessibleJMenu.getAccessibleRole): Documented.
19641         (AccessibleJMenu.getAccessibleSelectionCount): Implemented.
19642         (AccessibleJMenu.addAccessibleSelection): Implemented.
19643         (AccessibleJMenu.removeAccessibleSelection): Implemented.
19644         (AccessibleJMenu.clearAccessibleSelection): Implemented.
19645         (AccessibleJMenu.selectAllAccessibleSelection): Implemented.
19646         (createPath): New helper method.
19647
19648 2006-05-15  Tom Tromey  <tromey@redhat.com>
19649
19650         * java/text/MessageFormat.java (format): Now varargs.
19651
19652 2006-05-15  Tom Tromey  <tromey@redhat.com>
19653
19654         * java/lang/Thread.java (State): Fixed typo.
19655
19656 2006-05-15  Tom Tromey  <tromey@redhat.com>
19657
19658         * java/net/URLClassLoader.java: Moved inner classes to
19659         gnu.java.net.loader.
19660         (factoryCache): Changed type.
19661         (URL_LOADER_PREFIX): New constant.
19662         (URLClassLoader): Updated for new factoryCache.
19663         (addURLImpl): Use reflection to search for a loader.
19664         (findClass): Use getClass method on URLLoader.
19665         (getURLStreamHandler): Removed.
19666         * gnu/java/net/loader/URLLoader.java: New file, extracted
19667         from URLClassLoader.
19668         * gnu/java/net/loader/Resource.java: Likewise.
19669         * gnu/java/net/loader/FileResource.java: Likewise.
19670         * gnu/java/net/loader/FileURLLoaderjava: Likewise.
19671         * gnu/java/net/loader/JarURLLoader.java: Likewise.
19672         * gnu/java/net/loader/JarURLResource.java: Likewise.
19673         * gnu/java/net/loader/RemoteURLLoader.java: Likewise.
19674         * gnu/java/net/loader/RemoteResource.java: Likewise.
19675         * gnu/java/net/loader/ULRStreamHandlerCache.java: New file.
19676
19677 2006-05-15  Sven de Marothy  <sven@physto.se>
19678
19679         * native/target/generic/target_generic_network.h: 
19680         Add a pair of parenthesis.
19681
19682 2006-05-15  Mark Wielaard  <mark@klomp.org>
19683
19684         * java/awt/Graphics2D.java: Remove PrinterJob import.
19685
19686 2006-05-15  Mark Wielaard  <mark@klomp.org>
19687
19688         * doc/www.gnu.org/announce/20060515.wml: New file.
19689         * doc/www.gnu.org/newsitems.txt: Add 0.91 release announcement.
19690         * doc/www.gnu.org/downloads/downloads.wml: Add 0.91.
19691
19692 2006-05-15  Thomas Fitzsimmons  <fitzsim@redhat.com>
19693
19694         * NEWS: Announce inclusion of gcjwebplugin.
19695         Announce inclusion of appletviewer.
19696         * INSTALL: Note gcjwebplugin dependencies.
19697
19698 2006-05-15  Mark Wielaard  <mark@klomp.org>
19699
19700         * configure.ac (VERSION): Set to 0.91-generics.
19701
19702 2006-05-15  Mark Wielaard  <mark@klomp.org>
19703
19704         * NEWS: Add release date and VMClassLoader.getBootPackages()
19705         changes.
19706
19707 2006-05-15  Christian Thalinger  <twisti@complang.tuwien.ac.at>
19708
19709         * README: Added CACAO to list of VMs.
19710
19711 2006-05-15  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
19712
19713         * javax/swing/RepaintManager.java (paintDirtyRegions):
19714         Break loop as soon as the component repaint is merged
19715         with some parent. (ComponentComparator): Removed.
19716         (comparator): Removed.
19717
19718 2006-05-15  Roman Kennke <kennke@aicas.com>
19719
19720         * javax/swing/border/TitledBorder.java
19721         (paintBorderWithTitle): Fixed indentation.
19722
19723 2006-05-15  Roman Kennke <kennke@aicas.com>
19724
19725         * javax/swing/border/TitledBorder.java
19726         (layoutBorderWithTitle): Fetch border using getBorder() instead
19727         of using the border field directly. Allows for the use of
19728         an UI supplied border in the case when a null border was set.
19729         Fixed component orientation.
19730         (paintBorderWithTitle): Fetch border using getBorder() instead
19731         of using the border field directly. Allows for the use of
19732         an UI supplied border in the case when a null border was set.
19733
19734 2006-05-15  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
19735
19736         * javax/swing/RepaintManager.java (paintDirtyRegions): Rewritten.
19737         (contains): New method.
19738
19739 2006-05-15  Tom Tromey  <tromey@redhat.com>
19740
19741         * resource/gnu/classpath/tools/jar/messages.properties: Fixed
19742         argument indices.
19743         * resource/gnu/classpath/tools/getopt/Messages.properties: Fixed
19744         argument indices.
19745
19746 2006-05-15  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
19747
19748         * javax/swing/JComponent.java (findOverlapParent): Stop loop at
19749          JViewport's.
19750         * javax/swing/RepaintManager.java (addDirtyRegion): Always add the given
19751         region. (paintDirtyRegions): Rewritten.
19752
19753 2006-05-15  Tom Tromey  <tromey@redhat.com>
19754
19755         * tools/gnu/classpath/tools/jar/Main.java (setArchiveFile): Use
19756         MessageFormat.
19757         * tools/gnu/classpath/tools/jar/Indexer.java (indexJarFile): Use
19758         MessageFormat.
19759         * tools/gnu/classpath/tools/jar/Extractor.java: Externalized strings.
19760         (run): Use MessageFormat.
19761         * resource/gnu/classpath/tools/jar/messages.properties: New file.
19762         * tools/gnu/classpath/tools/jar/Creator.java: Externalized strings.
19763         (writeFile): Use MessageFormat.
19764
19765 2006-05-15  Jeroen Frijters  <jeroen@frijters.net>
19766
19767         * java/awt/Toolkit.java (getDefaultToolkit): Use Class.forName()
19768         instead of directly calling the class loader.
19769
19770 2006-05-15  Tom Tromey  <tromey@redhat.com>
19771
19772         * tools/gnu/classpath/tools/getopt/Option.java (getDescription):
19773         Removed old comment.
19774         * tools/gnu/classpath/tools/getopt/ClasspathToolParser.java:
19775         Externalized strings.
19776         (getVersionString): Use MessageFormat.
19777         * tools/gnu/classpath/tools/getopt/Messages.java: New file.
19778         * resource/gnu/classpath/tools/getopt/Messages.properties: New file.
19779         * tools/gnu/classpath/tools/getopt/Parser.java: Externalized strings.
19780         (getArgument): Use a MessageFormat.
19781         (handleLongOption): Likewise.
19782         (parse): Likewise.
19783
19784 2006-05-15  Robert Schuster  <robertschuster@fsfe.org>
19785
19786         Fixes PR 27197.
19787         * javax/swing/text/FieldView.java:
19788         (paint): Calculate intersection between clip and allocation area and
19789         set that as new clip.
19790
19791 2006-05-15  David Gilbert  <david.gilbert@object-refinery.com>
19792
19793         * javax/swing/text/JTextComponent.java: Marked stub methods.
19794
19795 2006-05-15  David Gilbert  <david.gilbert@object-refinery.com>
19796
19797         * javax/swing/JTable.java: Marked stub methods.
19798
19799 2006-05-15  Raif S. Naffah  <raif@swiftdsl.com.au>
19800
19801         * tools/gnu/classpath/tools/jarsigner/Main.java:
19802         Increased visibility of fields used by parser anonymous classes.
19803         (KEYTOOL_TOOL): New constant.
19804         (cmdLineParser): Changed type to ToolParser.
19805         (fileAndAlias): new field.
19806         (main): Don't catch OptionException.
19807         (processArgs): Removed validation checks; now handled by ToolParser.
19808         (getParser): Removed.
19809         (ToolParserCallback): New inner class.
19810         (ToolParser): Likewise.
19811
19812 2006-05-15  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
19813
19814         * javax/swing/JTable.java (TableTextArea.scrollRectToVisible):
19815         Removed.
19816
19817 2006-05-15  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
19818
19819         * javax/swing/DefaultDesktopManager.java (endDraggingFrame, 
19820         endResizingFrame): Do not repaint, unless in the outline mode.
19821
19822 2006-05-15  David Gilbert  <david.gilbert@object-refinery.com>
19823
19824         * javax/swing/JTabbedPane.java
19825         (AccessibleJTabbedPane.getAccessibleRole): Implemented,
19826         (AccessibleJTabbedPane.getAccessibleChildrenCount): Implemented,
19827         (AccessibleJTabbedPane.getAccessibleSelection()): Implemented,
19828         (AccessibleJTabbedPane.getAccessibleAt): Implemented,
19829         (AccessibleJTabbedPane.getAccessibleSelectionCount): Implemented,
19830         (AccessibleJTabbedPane.getAccessibleSelection(int)): Implemented,
19831         (AccessibleJTabbedPane.isAccessibleChildSelected): Implemented,
19832         (AccessibleJTabbedPane.addAccessibleSelection): Implemented,
19833         (AccessibleJTabbedPane.removeAccessibleSelection): Implemented,
19834         (AccessibleJTabbedPane.clearAccessibleSelection): Implemented,
19835         (AccessibleJTabbedPane.selectAllAccessibleSelection): Implemented,
19836         (Page.getAccessibleName): Implemented.
19837
19838 2006-05-15  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
19839
19840         * javax/swing/DefaultDesktopManager.java (setBoundsForFrame):
19841         Do not repaint nor revalidate here.
19842
19843 2006-05-15  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
19844
19845         * javax/swing/RepaintManager.java (addDirtyRegion):
19846         If there is a lightweight parent, recursively add the corresponding
19847         region of the parent instead.
19848
19849 2006-05-15  David Gilbert  <david.gilbert@object-refinery.com>
19850
19851         * java/awt/Graphics2D.java: Added some API doc comments.
19852
19853 2006-05-15  David Gilbert  <david.gilbert@object-refinery.com>
19854
19855         * javax/swing/JTabbedPane.java
19856         (paramString): Reimplemented,
19857         (getAccessibleContext): Added API docs.
19858
19859 2006-05-15  David Gilbert  <david.gilbert@object-refinery.com>
19860
19861         * javax/swing/JFileChooser.java
19862         (paramString): Reimplemented,
19863         (getAccessibleContext): Updated API docs,
19864         (AccessibleJFileChooser): Added API docs.
19865
19866 2006-05-14  Tom Tromey  <tromey@redhat.com>
19867
19868         * tools/gnu/classpath/tools/jar/Updater.java (run): No longer throws
19869         OptionException.
19870         * tools/gnu/classpath/tools/jar/Creator.java (run): No longer throws
19871         OptionException.
19872         * tools/gnu/classpath/tools/jar/Action.java (run): No longer throws
19873         OptionException.
19874         * tools/gnu/classpath/tools/jar/Indexer.java (run): Removed.  Moved
19875         validation to JarParser.
19876         * tools/gnu/classpath/tools/jar/Main.java (JarParser): New class.
19877         (run): Moved validation to JarParser.  Don't throw OptionException.
19878         (initializeParser): Create a JarParser.
19879         (main): Don't catch OptionException.
19880         * tools/gnu/classpath/tools/getopt/Parser.java (printHelp): No longer
19881         public.
19882         (validate): New method.
19883         (parse): Call it.  Print '-help' in error message when long-only.
19884
19885 2006-05-14  Tom Tromey  <tromey@redhat.com>
19886
19887         * gnu/java/awt/print/JavaPrinterJob.java (setPrintable): Fixed
19888         assignment.
19889
19890 2006-05-15  Sven de Marothy  <sven@physto.se>
19891
19892         * gnu/java/awt/print/JavaPrinterGraphics.java:
19893         Sweeping changes I can't be bothered to document in detail.
19894         * gnu/java/awt/print/JavaPrinterJob.java
19895         (getPageAttributes): New method.
19896         (setPageable,cancel,isCancelled): Implement.
19897
19898 2006-05-14  David Gilbert  <david.gilbert@object-refinery.com>
19899
19900         * javax/swing/JCheckBoxMenuItem.java
19901         (requestFocus): Fixed typo in API docs,
19902         (paramString): Just call super.paramString(),
19903         (getAccessibleContext): Added API docs,
19904         (AccessibleJCheckBoxMenuItem): Likewise.
19905
19906 2006-05-14  Tom Tromey  <tromey@redhat.com>
19907
19908         * tools/gnu/classpath/tools/jar/Indexer.java
19909         (writeCommandLineEntries): Simplify insertion.
19910         * tools/gnu/classpath/tools/jar/Main.java (run): Don't allow both
19911         -m and -M.
19912
19913 2006-05-14  Tom Tromey  <tromey@redhat.com>
19914
19915         PR classpath/27514:
19916         * gnu/java/net/IndexListParser.java (JAR_INDEX_FILE): Renamed.  Now
19917         constant.
19918         (JAR_INDEX_VERSION_KEY): Likewise.
19919         (IndexListParser): Updated.
19920         (getVersionInfo): Likewise.
19921         * tools/gnu/classpath/tools/jar/Indexer.java: New file.
19922         * tools/gnu/classpath/tools/jar/Action.java (run): Now throws
19923         OptionException.
19924         * tools/gnu/classpath/tools/jar/Main.java (initializeParser): Handle
19925         -i.
19926         (ModeOption): New constructor.
19927         (parsed): Updated.  Use setArchiveFile.
19928         (setArchiveFile): New method.
19929         (run): Handle no-argument case.
19930         (main): Emit --help message on option error.
19931         * tools/gnu/classpath/tools/jar/Updater.java (inputJar): New field.
19932         (createManifest): New method.
19933         (run): Updated.  Throws OptionException.  Correctly copy zip entry.
19934         * tools/gnu/classpath/tools/jar/Creator.java (createManifest): New
19935         method.
19936         (writeManifest): Removed.
19937         (outputStream): Now a JarOutputStream.
19938         (writeCommandLineEntries): Changed parameters.  Updated callers.
19939         (run): Throws OptionException.
19940         * java/util/jar/JarOutputStream.java (putNextEntry): Typo fix.
19941         * java/util/jar/Manifest.java (read): Typo fix.
19942
19943 2006-05-14  David Gilbert  <david.gilbert@object-refinery.com>
19944
19945         * javax/swing/JMenuItem.java
19946         (paramString): Fixed class name in API doc comment.
19947
19948 2006-05-14  Tom Tromey  <tromey@redhat.com>
19949
19950         * native/plugin/.cvsignore: Updated.
19951
19952 2006-05-14  Mark Wielaard  <mark@klomp.org>
19953
19954         * native/jni/java-net/javanet.c (_javanet_accept): Don't use C++
19955         comments.
19956
19957 2006-05-14  Chris Burdess  <dog@gnu.org>
19958
19959         * gnu/xml/dom/DomNode.java: Permit comments and PIs in doctype
19960         nodes to be preserved during cloneNode.
19961
19962 2006-05-14  Mark Wielaard  <mark@klomp.org>
19963
19964         PR 27459
19965         * native/jni/java-net/javanet.c (_javanet_accept): Reset the
19966         inherited timeout on socket.
19967
19968 2006-05-14  Lillian Angel  <langel@redhat.com>
19969
19970         * java/util/SimpleTimeZone.java: Reverted patch.
19971         (SimpleTimeZone): Throw exception if startMonth ==
19972         endMonth.
19973         (SimpleTimeZone): Likewise.
19974         (checkRule): Rewritten to properly check all values (more
19975         efficently).
19976         This code is now more stable, at least less buggy than before.
19977         Fixed API documentation.
19978         (setStartRule): Moved checkRule call to end.
19979         (setStartRule): Likewise.
19980         (setEndRule): Likewise.
19981         (setEndRule): Likewise.
19982
19983 2006-05-14  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
19984
19985         * javax/swing/tree/DefaultTreeSelectionModel.java (leadRow):
19986         Initialise to -1.
19987
19988 2006-05-14  Robert Schuster  <robertschuster@fsfe.org>
19989
19990         PR classpath/27595
19991         * javax/swing/text/AbstractDocument.java:
19992         (insertString): Flipped if-expression and its blocks.
19993         (remove): Dito.
19994         (replace): Flipped if-expression and its blocks, added note, invoke
19995         insertString and remove instead of insertStringImpl and removeImpl.
19996
19997 2006-05-14  Raif S. Naffah  <raif@swiftdsl.com.au>
19998
19999         * tools/gnu/classpath/tools/jarsigner/Main.java (main): Formatting.
20000
20001 2006-05-14  Raif S. Naffah  <raif@swiftdsl.com.au>
20002
20003         * resource/gnu/classpath/tools/keytool/MessageBundle.properties:
20004         Added help text.
20005         * tools/gnu/classpath/tools/keytool/keytool.txt: Removed
20006         * tools/gnu/classpath/tools/keytool/StorePasswdCmd.java: 
20007         Increased visibility of fields used by parser anonymous classes.
20008         (processArgs): Removed.
20009         (getParser): New method.
20010         * tools/gnu/classpath/tools/keytool/SelfCertCmd.java: Likewise.
20011         (setup): Mark (Eclipse) strings that need not be externalised.
20012         (start): Likewise.
20013         * tools/gnu/classpath/tools/keytool/PrintCertCmd.java: Likewise.
20014         * tools/gnu/classpath/tools/keytool/Main.java: Amended to use getopt
20015         command line option parsing.
20016         * tools/gnu/classpath/tools/keytool/ListCmd.java: 
20017         Increased visibility of fields used by parser anonymous classes.
20018         (processArgs): Removed.
20019         (setup): set 'all' local field.
20020         (getParser): New method.
20021         * tools/gnu/classpath/tools/keytool/KeyPasswdCmd.java: 
20022         Increased visibility of fields used by parser anonymous classes.
20023         (processArgs): Removed.
20024         (getParser): New method.
20025         * tools/gnu/classpath/tools/keytool/KeyCloneCmd.java: Likewise.
20026         (setNewKeyPassword): Fixed comments.
20027         * tools/gnu/classpath/tools/keytool/ImportCmd.java: 
20028         Increased visibility of fields used by parser anonymous classes.
20029         (processArgs): Removed.
20030         (getParser): New method.
20031         (findTrustInCACerts): Mark (Eclipse) strings that need not be
20032         externalised.
20033         * tools/gnu/classpath/tools/keytool/GenKeyCmd.java: 
20034         Increased visibility of fields used by parser anonymous classes.
20035         (processArgs): Removed.
20036         (setup): Mark (Eclipse) strings that need not be externalised.
20037         (getParser): New method.
20038         * tools/gnu/classpath/tools/keytool/IdentityDBCmd.java: Likewise.
20039         * tools/gnu/classpath/tools/keytool/DeleteCmd.java: 
20040         Increased visibility of fields used by parser anonymous classes.
20041         (processArgs): Removed.
20042         (getParser): New method.
20043         * tools/gnu/classpath/tools/keytool/CertReqCmd.java: Likewise.
20044         (ATTRIBUTES_OPT): New constant.
20045         * tools/gnu/classpath/tools/keytool/ExportCmd.java: 
20046         Increased visibility of fields used by parser anonymous classes.
20047         (processArgs): Removed.
20048         (setup): Mark (Eclipse) strings that need not be externalised.
20049         (start): Likewise.
20050         Reduced logging level.
20051         (getParser): New method.
20052         * tools/gnu/classpath/tools/keytool/Command.java
20053         (processArgs): Made it concrete.
20054         (getParser): New abstract method.
20055         * tools/Makefile.am (KEYTOOL_HELPS): Removed.
20056
20057 2006-05-13  Casey Marshall  <csm@gnu.org>
20058
20059         Patch by Michael Barker <mike@middlesoft.co.uk>.
20060         * gnu/java/nio/PipeImpl.java: Retrofitted to use VMChannel.
20061         * gnu/java/nio/SelectorImpl.java (register): Added condition for
20062         gnu.java.nio.SocketChannelSelectionKeyImpl.
20063         * gnu/java/nio/SocketChannelSelectionKeyImpl.java: new file.
20064         * gnu/java/nio/channels/FileChannelImpl.java: retrofitted to use
20065         VMChannel.
20066         * include/gnu_java_nio_VMChannel.h: new file.
20067         * java/nio/FileChannel.java (read,write): changed to call abstract
20068         method.
20069         * native/jni/java-nio/gnu_java_nio_VMChannel.c: new file.
20070         * native/jni/java-nio/Makefile.am (libjavanio_SOURCES): add
20071         `gnu_java_nio_VMChannel.c.'
20072         * vm/reference/gnu/java/nio/VMChannel.java: new file.
20073
20074 2006-05-14  Robert Schuster  <robertschuster@fsfe.org>
20075
20076         * javax/swing/text/AbstractDocument.java:
20077         (insertString): Flipped if-expression and its blocks.
20078         (remove): Dito.
20079         (replace): Flipped if-expression and its blocks, added note, invoke
20080         insertString and remove instead of insertStringImpl and removeImpl.
20081
20082 2006-05-13  Tom Tromey  <tromey@redhat.com>
20083
20084         * java/nio/ByteBufferImpl.java (compact): Always set position.
20085
20086 2006-05-13  Sven de Marothy  <sven@physto.se>
20087
20088         * gnu/java/awt/print/JavaPrinterGraphics.java
20089         (spoolPostScript): Use a faster writer.
20090
20091 2006-05-13  Sven de Marothy  <sven@physto.se>
20092
20093         * gnu/java/awt/print/JavaPrinterGraphics.java
20094         (colorTripleHex): Reimplement better.
20095
20096 2006-05-13  Sven de Marothy  <sven@physto.se>
20097
20098         * javax/swing/text/html/HTMLDocument.java
20099         (CharacterAction.start): Translate tag to StyleAttribute.
20100         (pushCharacterStyle): Push copy of attributes onto stack.
20101         * gnu/javax/swing/text/html/CharacterAttributeTranslator.java:
20102         New file
20103
20104 2006-05-13  Sven de Marothy  <sven@physto.se>
20105
20106         * gnu/javax/print/ipp/IppRequest.java (send): Set a timeout.
20107         * java/awt/print/PrinterJob.java 
20108         (getPrinterJob): Return a JavaPrinterJob
20109         (setPrintService,getPrintService): Implement.
20110         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c:
20111         (getPixels): Gtk_threads_enter required.
20112         * gnu/java/awt/print/JavaPrinterGraphics.java
20113         * gnu/java/awt/print/JavaPrinterJob.java
20114         * gnu/java/awt/print/SpooledDocumet.java: 
20115         New files.
20116         
20117 2006-05-13  Robert Schuster  <robertschuster@fsfe.org>
20118
20119         * javax/swing/text/TextAction.java:
20120         (HorizontalMovementAction): New inner class.
20121         (VerticalMovementAction): New inner class.
20122         * javax/swing/text/DefaultEditorKit.java: Added assigning instances of
20123         new inner classes to array 'defaultActions'.
20124         (SelectionBeginWordAction): New inner class.
20125         (SelectionEndWordAction): New inner class.
20126         (BeginWordAction): New inner class.
20127         (EndWordAction): New inner class.
20128         (PreviousWordAction.actionPerformed): Rewritten.
20129         (SelectLineAction): New inner class.
20130         (SelectWordAction): New inner class.
20131         (SelectionDownAction): Rewritten.
20132         (SelectionUpAction): Rewritten.
20133         (DownAction): Rewritten.
20134         (UpAction): Rewritten.
20135         (SelectionForwardAction): Rewritten.
20136         (SelectionBackwardAction): Rewritten.
20137         (ForwardAction): Rewritten.
20138         (BackwardAction): Rewritten.
20139         (BeginAction): New inner class.
20140         (EndAction): New inner class.
20141         (DefaultKeyTypedAction.actionPerformed): Use int variant of
20142         Character.isISOControl.
20143
20144 2006-05-13  Robert Schuster  <robertschuster@fsfe.org>
20145
20146         * examples/gnu/classpath/examples/swing/NavigationFilterDemo.java:
20147         (WordFilter.getNextVisualPositionFrom): Added statement to check
20148         for variable pt not being null.
20149
20150 2006-05-13  Robert Schuster  <robertschuster@fsfe.org>
20151
20152         * javax/swing/text/Utilities.java:
20153         (getNextWord): Fixed grammar in exception message.
20154         (getPreviousWord): Changed expression in first if-clause, added sub-
20155         expression to if-clause in while-loop.
20156         (getWordStart): Changed expression in if-clause.
20157         getNextVisualPositionFrom): Added package-private helper method.
20158
20159 2006-05-13  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
20160  
20161         * javax/swing/tree/DefaultTreeSelectionModel.java (leadRow):
20162         Initialise to -1.
20163
20164 2006-05-13  Raif S. Naffah  <raif@swiftdsl.com.au>
20165
20166         * resource/gnu/classpath/tools/jarsigner/MessageBundle.properties:
20167         Added help text.
20168         * tools/Makefile.am (JARSIGNER_HELPS): Removed.
20169         * tools/gnu/classpath/tools/jarsigner/jarsigner.txt: Removed.
20170         * tools/gnu/classpath/tools/jarsigner/Main.java:
20171         Increased visibility of fields used by parser anonymous classes.
20172         (HELP_PATH): Removed.
20173         (cmdLineParser): New field.
20174         (main): Handle JVM exit status.
20175         Handle command line parsing exceptions.
20176         (processArgs): Use getopt command line parser.
20177         (getParser): New method.
20178         (setupCommonParams): Removed checks now handled by processArgs().
20179         (setupSigningParams): Likewise.
20180         * tools/gnu/classpath/tools/jarsigner/JarSigner.java (start):
20181         Reuse an existing message-bundle constant.
20182
20183 2006-05-12  Tom Tromey  <tromey@redhat.com>
20184
20185         * gnu/java/net/protocol/jar/Connection.java (getHeaderField):
20186         Explicitly specify class for synchronization.
20187
20188 2006-05-12  Tom Tromey  <tromey@redhat.com>
20189
20190         * java/util/logging/Logger.java (resetLogger): Fixed typo.
20191
20192 2006-05-12  Sven de Marothy  <sven@physto.se>
20193
20194         * gnu/java/net/protocol/http/HTTPConnection.java (get): Add timeout parameter.
20195         * gnu/java/net/protocol/http/HTTPURLConnection.java
20196         (setConnectTimeout): New method.
20197         (getConnection): Add timeout parameter.
20198         *  java/net/URLConnection.java  
20199         (getConnectTimeout, setConnectTimeout): Implement.
20200         * native/target/generic/target_generic_network.h: 
20201         Set correct socket parameters SO_SNDTIMEO and SO_RCVTIMEO.
20202         
20203 2006-05-12  Sven de Marothy  <sven@physto.se>
20204   
20205         * gnu/javax/print/CupsServer.java
20206         (CupsServer): Make the Cups host configurable.
20207         * java/lang/System.java: Document the system property.
20208         
20209 2006-05-12  Roman Kennke <kennke@aicas.com>
20210   
20211         * javax/swing/border/TitledBorder.java
20212         (paintBorder): Rewritten for simplicity and correctness.
20213         (layoutBorderWithTitle): New helper method.
20214         (paintBorderWithTitle): New helper method.
20215         (getBorderInsets): Rewritten.
20216         (getMinimumSize): Rewritten.
20217         (getRealJustification): Removed.
20218         (getMeasurements): Removed.
20219         (Measurements): Removed.
20220   
20221 2006-05-12  David Gilbert  <david.gilbert@object-refinery.com>
20222   
20223         * javax/swing/plaf/basic/BasicPanelUI.java
20224         (sharedUI): New field,
20225         (createUI): Return a shared instance rather than a new instance,
20226         (installUI): Reformatted and added API docs,
20227         (installDefaults): Install border if one is defined,
20228         (uninstallDefaults): Uninstall border.
20229
20230 2006-05-12  David Gilbert  <david.gilbert@object-refinery.com>
20231
20232         * javax/swing/JProgressBar.java: Updated API docs all over.
20233
20234 2006-05-11  Lillian Angel  <langel@redhat.com>
20235
20236         * java/awt/ContainerOrderFocusTraversalPolicy.java
20237         (getComponentAfter): 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         (getNextAvailableComponent): New helper function.
20242         (getPrevAvailableComponent): New helper function.
20243         (getComponentBefore): Should not throw exception if
20244         the ancestor is null. Added a check for this.
20245         Also, changed to use new helper function, we should
20246         iterate through all the components at least once.
20247         (getFirstComponent): Changed check to manually check
20248         fields. Calling accept() casts the object to a Component,
20249         so different values may be returned.
20250         (getLastComponent): Likewise.
20251
20252 2006-05-11  David Gilbert  <david.gilbert@object-refinery.com>
20253
20254         * javax/swing/plaf/metal/MetalBorders.java: Clean up formatting/style,
20255         * javax/swing/plaf/metal/MetalButtonUI.java: Likewise,
20256         * javax/swing/plaf/metal/MetalCheckBoxUI.java: Likewise,
20257         * javax/swing/plaf/metal/MetalComboBoxButton.java: Likewise,
20258         * javax/swing/plaf/metal/MetalComboBoxIcon.java: Likewise,
20259         * javax/swing/plaf/metal/MetalFileChooserUI.java: Likewise,
20260         * javax/swing/plaf/metal/MetalIconFactory.java: Likewise,
20261         * javax/swing/plaf/metal/MetalInternalFrameTitlePane.java: Likewise,
20262         * javax/swing/plaf/metal/MetalLookAndFeel.java: Likewise,
20263         * javax/swing/plaf/metal/MetalPopupMenuSeparatorUI.java: Likewise,
20264         * javax/swing/plaf/metal/MetalRootPaneUI.java: Likewise,
20265         * javax/swing/plaf/metal/MetalScrollBarUI.java: Likewise,
20266         * javax/swing/plaf/metal/MetalSeparatorUI.java: Likewise,
20267         * javax/swing/plaf/metal/MetalSliderUI.java: Likewise,
20268         * javax/swing/plaf/metal/MetalSplitPaneDivider.java: Likewise,
20269         * javax/swing/plaf/metal/MetalTabbedPaneUI.java: Likewise,
20270         * javax/swing/plaf/metal/MetalToolTipUI.java: Likewise,
20271         * javax/swing/plaf/metal/MetalUtils.java: Likewise.
20272
20273 2006-05-11  Robert Schuster  <robertschuster@fsfe.org>
20274
20275         * javax/swing/text/DefaultCaret.java: Made field 'textComponent'
20276         package-private, added field 'active'.
20277         (PropertyChangeHandler.propertyChange): Added variable 'name', added
20278         cases to update field 'active'.
20279         (mouseDragged): Added documentation, added if-clause to update
20280         selection or caret position.
20281         (mouseClicked): Added early return when text component is disabled.
20282         (focusGained): Moved statements into an if-clause.
20283         (focusLost): Added subexpression to if-clause.
20284         (install): Preset value of 'active'.
20285         (paint): Added subexpression to if-clause.
20286         (isVisible): Extended return expression.
20287         * javax/swing/text/JTextComponent.java:
20288         (copy): Copy only if component is enabled.
20289         (cut): Cut only if component is enabled and editable.
20290         (paste): Dito.
20291
20292 2006-05-11  David Gilbert  <david.gilbert@object-refinery.com>
20293
20294         * javax/swing/plaf/multi/MultiComboBoxUI.java: Minor formatting change,
20295         * javax/swing/plaf/multi/MultiFileChooserUI.java: Likewise,
20296         * javax/swing/plaf/multi/MultiListUI.java: Likewise,
20297         * javax/swing/plaf/multi/MultiLookAndFeel.java: Likewise,
20298         * javax/swing/plaf/multi/MultiOptionPaneUI.java: Likewise,
20299         * javax/swing/plaf/multi/MultiSplitPaneUI.java: Likewise,
20300         * javax/swing/plaf/multi/MultiTabbedPaneUI.java: Likewise.      
20301
20302 2006-05-11  Roman Kennke <kennke@aicas.com>
20303
20304         * gnu/java/awt/font/GNUGlyphVector.java
20305         (GNUGlyphVector): Don't apply the font renderer context's
20306         transform.
20307   
20308 2006-05-11  Mark Wielaard  <mark@klomp.org>
20309
20310         * java/util/logging/Logger.java (global): Initialize inside static
20311         PrivilegedAction.
20312
20313 2006-05-11  David Gilbert  <david.gilbert@object-refinery.com>
20314   
20315         * javax/swing/JFrame.java
20316         (EXIT_ON_CLOSE): Added note to API docs,
20317         (close_action): Renamed closeAction,
20318         (JFrame()): Change title to "",
20319         (JFrame(String)): Added API docs,
20320         (getAccessibleContext): Likewise,
20321         (getDefaultCloseOperation): Updated for renamed field, added API docs,
20322         (processWindowEvent): Updated for renamed field,
20323         (setDefaultCloseOperation): Likewise, and updated API docs.
20324   
20325 2006-05-11  David Gilbert  <david.gilbert@object-refinery.com>
20326   
20327         * javax/swing/JFrame.java
20328         (paramString): Reimplemented,
20329         * javax/swing/SwingUtilities.java
20330         (convertWindowConstantToString): New method.
20331   
20332 2006-05-11  David Gilbert  <david.gilbert@object-refinery.com>
20333   
20334         * javax/swing/WindowConstants.java: Updated API docs.
20335   
20336 2006-05-11  David Gilbert  <david.gilbert@object-refinery.com>
20337   
20338         * javax/swing/plaf/basic/BasicToggleButtonUI.java: Updated API docs,
20339         (createUI): Removed 'final' qualifier for parameter,
20340         (paint): Reformatted.
20341   
20342 2006-05-11  David Gilbert  <david.gilbert@object-refinery.com>
20343   
20344         * javax/swing/plaf/basic/BasicCheckBoxUI.java: Added API docs plus,
20345         (createUI): Removed 'final' qualifier on method argument.
20346   
20347 2006-05-11  David Gilbert  <david.gilbert@object-refinery.com>
20348   
20349         * javax/swing/plaf/basic/BasicCheckBoxUI.java
20350         (getDefaultIcon): Removed this redundant method.
20351
20352 2006-05-11  David Gilbert  <david.gilbert@object-refinery.com>
20353
20354         * javax/swing/plaf/basic/BasicRadioButtonUI.java
20355         (paint): Pass component size to paintFocus().
20356
20357 2006-05-11  Robert Schuster  <robertschuster@fsfe.org>
20358
20359         * java/awt/Component.java:
20360         (dispatchEventImpl): Added comment.
20361   
20362   2006-05-11  Mark Wielaard  <mark@klomp.org>
20363   
20364         * tools/gnu/classpath/tools/appletviewer/Main.java (main): Cast
20365         Option constructor null argument to String.
20366   
20367 2006-05-11  Mark Wielaard  <mark@klomp.org>
20368
20369         * java/awt/geom/GeneralPath.java (WIND_EVEN_ODD, WIND_NON_ZERO):
20370         Fully qualify PathIterator constants
20371
20372 2006-05-11  Robert Schuster  <robertschuster@fsfe.org>
20373
20374         * java/awt/Component.java:
20375         (dispatchEventImpl): Added subexpression to if-clause.  
20376
20377 2006-05-11  Mark Wielaard  <mark@klomp.org>
20378
20379         * java/util/Collections.java (UnmodifiableMapEntry): Qualify
20380         Map.Entry.
20381
20382 2006-05-10  David Gilbert  <david.gilbert@object-refinery.com>
20383
20384         * javax/swing/TransferHandler.java: Marked stub methods.
20385
20386 2006-05-10  Roman Kennke <kennke@aicas.com>
20387
20388         PR classpath/27481
20389         * javax/swing/plaf/basic/BasicInternalFrameUI.java
20390         (installDefaults): Set background of content pane to null, if
20391         no custom color has been installed by the application yet.
20392
20393 2006-05-10  Roman Kennke <kennke@aicas.com>
20394
20395         PR classpath/27481
20396         * javax/swing/JRootPane.java
20397         (createContentPane): Don't set background to null.
20398
20399 2006-05-10  Sven de Marothy <sven@physto.se>
20400
20401         * java/awt/print/PrinterJob.java:
20402         (lookupPrintServices): Un-comment-out.
20403
20404 2006-05-11  Raif S. Naffah  <raif@swiftdsl.com.au>
20405
20406         * tools/gnu/classpath/tools/getopt/OptionGroup.java
20407         (FILLER): New constant.
20408         (formatText(PrintStream,String,int)): New method.
20409         (formatText(PrintStream,String,int,Locale)): Likewise.
20410         (printHelp): Use formatText method.
20411         * tools/gnu/classpath/tools/getopt/Parser.java
20412         (MAX_LINE_LENGTH): New constant.
20413         (formatText(PrintStream,String)): New method.
20414         (formatText(PrintStream,String,Locale)): Likewise.
20415         (printHelp): New method.
20416         (printHelp(PrintStream)): Increased visibility to protected.
20417         Use formatText method.
20418
20419 2006-05-10  David Gilbert  <david.gilbert@object-refinery.com>
20420
20421         * javax/swing/plaf/metal/MetalRadioButtonUI.java
20422         (installDefaults): Use getPropertyPrefix() to allow subclasses to 
20423         modify the lookup key.
20424
20425 2006-05-10  Lillian Angel  <langel@redhat.com>
20426
20427         * java/util/SimpleTimeZone.java: Reverted patch.
20428         (SimpleTimeZone): Throw exception if startMonth == 
20429         endMonth.
20430         (SimpleTimeZone): Likewise.
20431         (checkRule): Rewritten to properly check all values (more 
20432         efficently).
20433         This code is now more stable, at least less buggy than before. 
20434         Fixed API documentation.
20435         (setStartRule): Moved checkRule call to end.
20436         (setStartRule): Likewise.
20437         (setEndRule): Likewise.
20438         (setEndRule): Likewise.
20439
20440 2006-05-10  Roman Kennke <kennke@aicas.com>
20441
20442         * gnu/java/awt/peer/swing/SwingComponent.java:
20443         Some API comment fixlets.
20444         * gnu/java/awt/peer/swing/SwingComponentPeer.java:
20445         (createImage): Create a BufferedImage, not a Toolkit image.
20446         (paint): Removed bogus API comment.
20447         (prepareImage): Added checks to avoid NPE.
20448         * gnu/java/awt/peer/swing/SwingContainerPeer.java:
20449         (getInsets): Added check to avoid NPE.
20450         (handleMouseEvent): Added check to avoid NPE.
20451         * gnu/java/awt/peer/swing/SwingFramePeer.java:
20452         Some API comment fixlets.
20453         * gnu/java/awt/peer/swing/SwingMenuBarPeer.java:
20454         Some API comment fixlets.
20455         * gnu/java/awt/peer/swing/SwingTextFieldPeer.java:
20456         Changed start_pos name to startPos.
20457         * gnu/java/awt/peer/swing/SwingWindowPeer.java:
20458         Some API comment fixlets.
20459
20460 2006-05-10  David Gilbert  <david.gilbert@object-refinery.com>
20461
20462         * java/awt/BasicStroke.java
20463         (equals): Fixed typo in HTML tag for API doc comment.
20464
20465 2006-05-10  Gary Benson  <gbenson@redhat.com>
20466
20467         * java/lang/ThreadGroup.java (parent): Make package-private.
20468         * java/lang/SecurityManager.java (checkAccess(Thread)):
20469         Reference ThreadGroup.parent directly to avoid extra checks.
20470         * java/lang/SecurityManager.java (checkAccess(ThreadGroup)):
20471         Likewise.
20472
20473 2006-05-10  Roman Kennke <kennke@aicas.com>
20474
20475         Reported by Ingo Proetel (proetel@aicas.com)
20476         * java/awt/EventDispatchThread.java
20477         (DEFAULT_PRIORITY): New constant field.
20478         (EventDispatchThread()): Added gnu.awt.dispatchthread.priority
20479         system property for adjusting the priority of the event
20480         dispatch thread.
20481
20482 2006-05-10  Roman Kennke <kennke@aicas.com>
20483
20484         Reported by Ingo Proetel (proetel@aicas.com)
20485         * java/awt/image/ColorModel.java
20486         (S_RGB_MODEL): New constant field.
20487         (getRGBDefault): Return constant SRGBColorModel.
20488         (SRGBColorModel): Specialized color model for sRGB.
20489
20490 2006-05-10  Roman Kennke <kennke@aicas.com>
20491
20492         * java/awt/ColorPaintContext.java
20493         (getRaster): Create Raster with (0,0) as source location.
20494
20495 2006-05-10  Roman Kennke <kennke@aicas.com>
20496
20497         * gnu/java/awt/java2d/AlphaCompositeContext.java
20498         (compose): Don't premultiply alpha to alpha itself.
20499
20500 2006-05-10  Roman Kennke <kennke@aicas.com>
20501
20502         * gnu/java/awt/java2d/AbstractGraphics2D.java
20503         (drawImage(Image,AffineTransform,ImageObserver)): Implemented.
20504         (drawImageImpl(Image,AffineTransform,ImageObserver,Rectangle)):
20505         New method.
20506         (drawImage(BufferedImage,BufferedImageOp,int,int)): Implemented.
20507         (drawRenderedImage(RenderedImage,AffineTransform)): Implemented.
20508         (drawRenderedImageImpl(RenderedImage,AffineTransform,Rectangle)):
20509         New method.
20510         (drawRenderableImage(RenderableImage,AffineTransform)): Implemented.
20511         (drawRenderableImageImpl(RenderableImage,AffineTransform,Rectangle)):
20512         New method.
20513         (scale): Inverse transform by doing 1/scale instead of -scale.
20514         (drawImage(Image,int,int,ImageObserver)): Implemented.
20515         (drawImage(Image,int,int,int,int,ImageObserver)): Implemented.
20516         (drawImage(Image,int,int,Color,ImageObserver)): Implemented.
20517         (drawImage(Image,int,int,int,int,Color,ImageObserver)): Implemented.
20518         (drawImage(Image,int,int,int,int,int,int,int,int,ImageObserver)):
20519         Implemented.
20520         (drawImage(Image,int,int,int,int,int,int,int,int,Color,ImageObserver)):
20521         Implemented.
20522         (fillScanline): Work on translated destination raster for
20523         correct compositin.
20524         (init): Fetch the clip after the destination raster is initialized.
20525         * gnu/java/awt/java2d/ImagePaint.java: New file.
20526         * gnu/java/awt/java2d/RasterGraphics
20527         (drawImage): Removed.
20528
20529 2006-05-09  Thomas Fitzsimmons  <fitzsim@redhat.com>
20530
20531         * resource/gnu/classpath/tools/appletviewer/MessagesBundle.properties:
20532         Clarify option descriptions.
20533         * tools/gnu/classpath/tools/appletviewer/Main.java: Use all
20534         uppercase for metasyntactic variables.
20535
20536 2006-05-09  Robert Schuster  <robertschuster@fsfe.org>
20537
20538         PR classpath/24216
20539         * javax/swing/text/AbstractDocument.java:
20540         (insertString): Added more documentation, added argument check.
20541         (remove): Added more documentation.
20542         (removeImpl): Added argument check.
20543         (replace): Added more documentation, added argument check.
20544
20545 2006-05-09  Tom Tromey  <tromey@redhat.com>
20546
20547         * tools/.cvsignore: Added appletviewer.
20548
20549 2006-05-09  Tom Tromey  <tromey@redhat.com>
20550
20551         * tools/gnu/classpath/tools/getopt/Parser.java (printHelp): Skip
20552         empty groups.
20553
20554 2006-05-09  Tom Tromey  <tromey@redhat.com>
20555
20556         * tools/gnu/classpath/tools/getopt/OptionGroup.java (printHelp): 
20557         Special case for '-J'.  Use space instead of '='.
20558         * tools/gnu/classpath/tools/getopt/Parser.java (setHeader): Added
20559         comment.
20560
20561 2006-05-09  Thomas Fitzsimmons  <fitzsim@redhat.com>
20562
20563         * configure.ac: Add --disable-plugin and --with-vm options.  Check
20564         for plugin support headers and libraries.
20565         * native/Makefile.am: Recurse into plugin directory.
20566         * native/plugin/.cvsignore: New file.
20567         * native/plugin/Makefile.am: New file.
20568         * native/plugin/gcjwebplugin.cc: New file.
20569         * tools/Makefile.am: Install appletviewer wrapper script.
20570         * tools/appletviewer.in: Replace VM location heuristic with
20571         VM_BINARY configure substitution.
20572
20573 2006-05-09  Tom Tromey  <tromey@redhat.com>
20574
20575         * tools/gnu/classpath/tools/getopt/OptionGroup.java (printHelp): Added
20576         an initial pass to look for short options.  Added 'longOnly' option.
20577         * tools/gnu/classpath/tools/appletviewer/Main.java (main): Removed -J
20578         option.
20579         * tools/gnu/classpath/tools/getopt/Parser.java (parsed): Put stadnard
20580         options into final group.  Added -J.
20581         (add): Insert new groups before final group.
20582         (printHelp): Updated.
20583
20584 2006-05-09  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
20585
20586         PR 27518
20587         * tools/gnu/classpath/tools/giop/GRMIC.java (main),
20588         tools/gnu/classpath/tools/rmi/RMIC.java (main):
20589         Expect -classpath option.
20590         * tools/gnu/classpath/tools/rmi/RMIC.txt,
20591         tools/gnu/classpath/tools/giop/GRMIC.txt: Documenting
20592         -classpath option.
20593         tools/gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java
20594         (classLoader): New field. (loadClass, setClassPath):
20595         New methods.
20596
20597 2006-05-09  Roman Kennke <kennke@aicas.com>
20598
20599         * gnu/java/awt/java2d/RasterGraphics.java
20600         (RasterGraphics): Call init() and super().
20601         (drawImage): Temporary drawImage impl until AbstractGraphics2D has
20602         this.
20603
20604 2006-05-09  Gary Benson  <gbenson@redhat.com>
20605
20606         * java/lang/Thread.java (Thread): Always perform threadgroup
20607         access checks on thread creation.
20608
20609 2006-05-09  Chris Burdess  <dog@gnu.org>
20610
20611         * gnu/xml/dom/DomNode.java: Permit comments and PIs in doctype nodes to
20612           be preserved during cloneNode.
20613
20614 2006-05-09  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
20615
20616         PR 27517
20617         * tools/gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java (compile): 
20618         Do not demand all thrown exceptions to be an instance of RemoteException.
20619
20620 2006-05-09  Thomas Fitzsimmons  <fitzsim@redhat.com>
20621
20622         * resource/gnu/classpath/tools/appletviewer/MessagesBundle.properties:
20623         Use hash-style comments.
20624         * resource/gnu/classpath/tools/appletviewer/MessagesBundle_de.properties:
20625         Likewise.
20626
20627 2006-05-09  David Gilbert  <david.gilbert@object-refinery.com>
20628
20629         * javax/swing/JLabel.java
20630         (paramString): Added more attribute details,
20631         * javax/swing/SwingUtilities.java
20632         (convertHorizontalAlignmentCodeToString): New method,
20633         (convertVerticalAlignmentCodeToString): New method.
20634
20635 2006-05-08  Tom Tromey  <tromey@redhat.com>
20636
20637         * tools/gnu/classpath/tools/jar/Updater.java (run): Updated.
20638         * tools/gnu/classpath/tools/jar/Main.java: Use javadoc for fields.
20639         * tools/gnu/classpath/tools/jar/Lister.java (listJar): Use
20640         ZipInputStream.
20641         (run): Updated.
20642         * tools/gnu/classpath/tools/jar/Extractor.java (run): Use System.err
20643         for verbose.
20644         (run): Use ZipInputStream.
20645         (initSet): New method.
20646         (shouldExtract): Likewise.
20647         (run): Use new methods.
20648         * tools/gnu/classpath/tools/jar/Creator.java
20649         (writeCommandLineEntries): New overload.
20650         (writeFile): Use System.err for verbose.
20651         (writeManifest): New method.
20652         (writtenItems): New field.
20653         (writeFile): Update it.
20654         (writeCommandLineEntries): Return void.  Call writeManifest.
20655         (addEntries): Don't add extra '/'.
20656         * NEWS: Mention jar.
20657
20658 2006-05-08  Lillian Angel  <langel@redhat.com>
20659
20660         * gnu/java/net/IndexListParser.java: New class.
20661         * java/net/URLClassLoader.java
20662         (JarURLLoader): Fixed code to use new class.
20663
20664 2006-05-08  Roman Kennke <kennke@aicas.com>
20665
20666         * javax/swing/JComboBox.java
20667         (AccessibleJComboBox.getAccessibleChildrenCount): Implemented.
20668         (AccessibleJComboBox.getAccessibleChild): Implemented.
20669         (AccessibleJComboBox.getAccessibleSelection()): Implemented.
20670         (AccessibleJComboBox.getAccessibleSelection(int)): Implemented.
20671         (AccessibleJComboBox.isAccessibleChildSelected): Implemented.
20672         (AccessibleJComboBox.getAccessibleAction): Implemented.
20673         (AccessibleJComboBox.getAccessibleActionDescription): Implemented.
20674         (AccessibleJComboBox.getAccessibleActionCount): Implemented.
20675         (AccessibleJComboBox.doAccessibleAction): Implemented.
20676         (AccessibleJComboBox.getAccessibleSelectionCount): Implemented.
20677         (AccessibleJComboBox.addAccessibleSelection): Implemented.
20678         (AccessibleJComboBox.removeAccessibleSelection): Implemented.
20679         (AccessibleJComboBox.clearAccessibleSelection): Implemented.
20680         (AccessibleJComboBox.selectAllAccessibleSelection): Implemented.
20681
20682 2006-05-08  Thomas Fitzsimmons  <fitzsim@redhat.com>
20683
20684         * configure.ac: Add support for building appletviewer.
20685         * resource/gnu/classpath/tools/appletviewer/MessagesBundle.properties:
20686         New file.
20687         * resource/gnu/classpath/tools/appletviewer/MessagesBundle_de.properties:
20688         New file.
20689         * tools/appletviewer.c: New file.
20690         * tools/appletviewer.in: New file.
20691         * tools/gnu/classpath/tools/appletviewer/AppletClassLoader.java:
20692         New file.
20693         * tools/gnu/classpath/tools/appletviewer/AppletSecurityManager.java:
20694         New file.
20695         * tools/gnu/classpath/tools/appletviewer/AppletTag.java: New file.
20696         * tools/gnu/classpath/tools/appletviewer/AppletWarning.java: New
20697         file.
20698         * tools/gnu/classpath/tools/appletviewer/CommonAppletContext.java:
20699         New file.
20700         * tools/gnu/classpath/tools/appletviewer/CommonAppletStub.java:
20701         New file.
20702         * tools/gnu/classpath/tools/appletviewer/ConsoleDialog.java: New
20703         file.
20704         * tools/gnu/classpath/tools/appletviewer/ErrorApplet.java: New
20705         file.
20706         * tools/gnu/classpath/tools/appletviewer/Main.java: New file.
20707         * tools/gnu/classpath/tools/appletviewer/PluginAppletContext.java:
20708         New file.
20709         * tools/gnu/classpath/tools/appletviewer/PluginAppletViewer.java:
20710         New file.
20711         * tools/gnu/classpath/tools/appletviewer/PluginAppletWindow.java:
20712         New file.
20713         * tools/gnu/classpath/tools/appletviewer/StandaloneAppletContext.java:
20714         New file.
20715         * tools/gnu/classpath/tools/appletviewer/StandaloneAppletViewer.java:
20716         New file.
20717         * tools/gnu/classpath/tools/appletviewer/StandaloneAppletWindow.java:
20718         New file.
20719         * tools/gnu/classpath/tools/appletviewer/TagParser.java: New
20720         file.
20721
20722 2006-05-08  Tom Tromey  <tromey@redhat.com>
20723
20724         * tools/gnu/classpath/tools/getopt/ClasspathToolParser.java: New file.
20725         * tools/gnu/classpath/tools/jar/Action.java: New file.
20726         * tools/gnu/classpath/tools/jar/Creator.java: New file.
20727         * tools/gnu/classpath/tools/jar/Entry.java: New file.
20728         * tools/gnu/classpath/tools/jar/Extractor.java: New file.
20729         * tools/gnu/classpath/tools/jar/Lister.java: New file.
20730         * tools/gnu/classpath/tools/jar/Main.java: New file.
20731         * tools/gnu/classpath/tools/jar/Updater.java: New file.
20732         * tools/gnu/classpath/tools/getopt/Option.java: New file.
20733         * tools/gnu/classpath/tools/getopt/OptionException.java: New file.
20734         * tools/gnu/classpath/tools/getopt/OptionGroup.java: New file.
20735         * tools/gnu/classpath/tools/getopt/Parser.java: New file.
20736         * tools/gnu/classpath/tools/getopt/FileArgumentCallback.java: New
20737         file.
20738
20739 2006-05-08  Lillian Angel  <langel@redhat.com>
20740
20741         * java/net/URLClassLoader.java
20742         (JarURLLoader): Added check to make sure the INDEX.LIST file
20743         exists.
20744
20745 2006-05-08  Roman Kennke <kennke@aicas.com>
20746
20747         * gnu/java/awt/java2d/AbstractGraphics2D.java
20748         (fill): Removed commented out code.
20749         (fillShape): Also determine the outline of the clip and feed
20750         it into the rendering method. Use new helper method for
20751         converting the shapes into lists of segments.
20752         (getUserBounds): Removed obsolete method.
20753         (rawFillShape): Respect the clip when rendering shapes.
20754         (fillShapeAntialias): Adjusted signature for new clipped rendering.
20755         However, the implementation can't clip still.
20756         (getSegments): New helper method for converting a shape into
20757         a list of segments.
20758         (clipShape): Removed obsolete method.
20759         * gnu/java/awt/java2d/PolyEdge.java
20760         (isClip): New field.
20761         (PolyEdge): Added isField argument to constructor.
20762
20763 2006-05-08  Roman Kennke <kennke@aicas.com>
20764
20765         PR 27481
20766         * javax/swing/JRootPane.java
20767         (createContentPane): Set background of the content pane to null,
20768         so that the content pane inherits its background from the
20769         root pane.
20770
20771 2006-05-08  Roman Kennke <kennke@aicas.com>
20772
20773         PR 27480
20774         * javax/swing/ButtonGroup.java
20775         (add): Check if new button is selected and if so, deselect other
20776         buttons in the group.
20777
20778 2006-05-08  Lillian Angel  <langel@redhat.com>
20779
20780         PR 27444
20781         * java/net/URLClassLoader.java
20782         (JarURLLoader): Added code to go through 
20783         META-INF/INDEX.LIST file to load all jars listed.
20784
20785 2006-05-08  Roman Kennke <kennke@aicas.com>
20786
20787         PR 27461
20788         * javax/swing/ImageIcon.java
20789         (ImageIcon(URL)): Set description to URL.toString().
20790
20791 2006-05-08  Roman Kennke <kennke@aicas.com>
20792
20793         PR 27482
20794         * javax/swing/JTable.java
20795         (IconCellRenderer.getTableCellRendererComponent): Set icon to
20796         null when cell value is null.
20797
20798 2006-05-08  Roman Kennke <kennke@aicas.com>
20799
20800         PR 27484
20801         * javax/swing/DefaultDesktopManager.java
20802         (closeFrame): Don't perform default close action on the frame
20803         to prevent endless loop.
20804
20805 2006-05-08  Roman Kennke <kennke@aicas.com>
20806
20807         PR 27485
20808         * javax/swing/table/DefaultTableModel.java
20809         (addExtraRows): New helper method.
20810         (checkSize): New helper method.
20811         (setRowCount): Use addExtraRows helper method.
20812         (addColumn): Use addExtraRows helper method.
20813         (getColumnName): Check and adjust size if necessary using
20814         checkSize().
20815
20816 2006-05-08  Roman Kennke <kennke@aicas.com>
20817
20818         PR 27486
20819         * javax/swing/JTable.java
20820         (setValueAt): Allow setting values even when table is editable.
20821
20822 2006-05-08  Tom Tromey  <tromey@redhat.com>
20823
20824         * java/text/SimpleDateFormat.java (compileFormat): Added missing
20825         space to error message.
20826
20827 2006-05-08  David Gilbert  <david.gilbert@object-refinery.com>
20828
20829         * javax/swing/AbstractButton.java: Fixed comment typos.
20830
20831 2006-05-07  Andrew John Hughes  <gnu_andrew@member.fsf.org>
20832
20833         PR classpath/27435:
20834         * java/util/zip/DeflaterEngine.java:
20835         (deflateFast(boolean,boolean)): Empty buffer when full.
20836         
20837 2006-05-07  Sven de Marothy <sven@physto.se>
20838
20839         Fixed PR27343
20840         * java/util/Calendar.java (setTimeZone): Force recalculation.
20841         
20842 2006-05-07  Sven de Marothy <sven@physto.se>
20843
20844         Fixed PR27463
20845         * javax/swing/plaf/metal/MetalInternalFrameTitlePane.java
20846         (propertyChange): Handle FRAME_ICON_PROPERTY property.
20847         
20848 2006-05-07  Andrew John Hughes  <gnu_andrew@member.fsf.org>
20849
20850         PR classpath/27311:
20851         * gnu/java/text/StringFormatBuffer.java:
20852         (toString()): Implemented so we can see the contents.
20853         * java/text/DecimalFormat.java:
20854         (formatInternal(double,StringFormatBuffer,FieldPosition)):
20855         Don't calculate the exponent when the number is 0 or less.
20856         Also, use log10 instead of log now it's available.
20857         
20858 2006-05-07  Raif S. Naffah  <raif@swiftdsl.com.au>
20859
20860         * gnu/javax/crypto/keyring/PrimitiveEntry.java (PrimitiveEntry):
20861         Use instance's field creationDate not the constructor's argument.
20862         * gnu/javax/crypto/keyring/PasswordEncryptedEntry.java:
20863         Removed unused imports.
20864         Sorted imports.
20865         (log): New field.
20866         (decrypt): Added trace/debug/timing statements.
20867         (encrypt): Likewise.
20868         Use PRNG instead of instantiating every time a new SecureRandom.
20869         * gnu/javax/crypto/keyring/PasswordAuthenticatedEntry.java:
20870         Removed unused imports.
20871         Sorted imports.
20872         (log): New field.
20873         (verify): Added trace/debug/timing statements.
20874         (authenticate): Likewise.
20875         Use PRNG instead of instantiating every time a new SecureRandom.
20876
20877 2006-05-07  Raif S. Naffah  <raif@swiftdsl.com.au>
20878
20879         * gnu/classpath/debug/Simple1LineFormatter.java (DAT_FORMAT): Removed.
20880         (THREAD_FORMAT): Likewise.
20881         (dateFormat): Added field.
20882         (threadFormat): Added field.
20883         (format): Initialize instance fields if null.
20884         Use StringBuilder instead of StringBuffer.
20885
20886 2006-05-07  Roman Kennke <kennke@aicas.com>
20887
20888         * gnu/java/awt/java2d/RasterGraphics.java: New file.
20889
20890 2006-05-07  Roman Kennke <kennke@aicas.com>
20891
20892         * gnu/java/awt/java2d/AbstractGraphics2D.java
20893         (fillShape): Determine user space bounds of shape and feed them
20894         into the actual rendering pipeline.
20895         (rawSetPixel): Made non-abstract for now. Maybe remove later.
20896         (rawSetForeground): Likewise.
20897         (getDestinationColorModel): Removed.
20898         (getDeviceBounds): Made non-abstract. Provide useful default impl.
20899         (rawFillShape): Handle paint context.
20900         (fillScanline): Implement painting and compositing.
20901         (fillShapeAntialias): Handle paint context.
20902         (fillScanlineAA): Implemented preliminary antialiasing based on
20903         composite context. Not working yet.
20904         (fillScanlineAlpha): Removed.
20905         (init): Fetch destination raster.
20906         (getDestinationRaster): New abstract method.
20907         (updateRaster): New backend method.
20908
20909 2006-05-07  Roman Kennke <kennke@aicas.com>
20910
20911         * gnu/java/awt/java2d/AlphaCompositeContext.java
20912         (compose): Fixed loops, conditions and logic to make compositing
20913         work correctly.
20914
20915 2006-05-07  Roman Kennke <kennke@aicas.com>
20916
20917         * java/awt/ColorPaintContext.java
20918         (ColorPaintContext): Fixed filling of the raster.
20919
20920 2006-05-07  Sven de Marothy <sven@physto.se>
20921
20922         Fixed PR27455
20923         * gnu/java/awt/peer/GLightweightPeer.java (mouseEntered): Remove.
20924         * java/awt/Component.java (processMouseEvent): 
20925         Do lightweight cursor handling.
20926         * javax/swing/plaf/basic/BasicTableHeaderUI.java 
20927         (endResizing,mouseMoved): Save and reset original cursor, not the 
20928         default one.
20929
20930 2006-05-07  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
20931
20932         PR 27298
20933         * javax/swing/plaf/basic/BasicTreeUI.java (NodeDimensionsHandler.
20934         getNodeDimensions): Mind the size of the node icon. (getRowX):
20935         use totalChildIndent. (TreeExpansionHandler): Set maximal height
20936         to zero on events. (nullIcon): New field. (getCurrentControlIcon):
20937         Return nullIcon if there is no other icon. (getNodeIcon): New method.
20938         (installDefaults): assign totalChildIndent. (installUI): Call
20939         updateExpandedDescendants. (paintHorizontalPartOfLeg): Rewritten.
20940         (paintRow): Rewritten. (updateRenderer): Do not set the renderer for
20941         the tree.
20942
20943 2006-05-06  Sven de Marothy <sven@physto.se>
20944
20945         Fixed PR27454
20946         * gnu/java/awt/peer/gtk/GtkImage: (drawPixels,drawPixelsScaled): 
20947         Check for zero image sizes.
20948         
20949 2006-05-06  Olivier Jolly  <olivier.jolly@pcedev.com>
20950
20951         Fixed PR27362
20952         * java/util/Calendar.java (clear(int)): Forced internal state
20953         completion before performing a field clearing.
20954
20955 2006-05-06  Olivier Jolly  <olivier.jolly@pcedev.com>
20956
20957         * java/util/Collections.java(UnmodifiableMap.UnmodifiableEntrySet.
20958         UnmodifiableMapEntry): New Map.Entry implementation which is immutable.
20959         (UnmodifiableMap.UnmodifiableEntrySet.iterator,
20960         UnmodifiableMap.UnmodifiableEntrySet.toArray,
20961         UnmodifiableMap.UnmodifiableEntrySet.toArray(Object[])): Used
20962         UnmodifiableMapEntry as part of their return value. 
20963
20964 2006-05-06  Raif S. Naffah  <raif@swiftdsl.com.au>
20965
20966         * tools/keytool.sh.in: Removed (renamed to keytool.in).
20967         * tools/jarsigner.in: Removed (renamed to jarsigner.in).
20968         * tools/Makefile.am: Include jarsigner and keytool classes in tools.zip.
20969         Generate jarsigner and keytool scripts.
20970         * tools/keytool.in: New file (renamed from keytool.sh.in).
20971         * tools/jarsigner.in: New file (renamed from jarsigner.sh.in).
20972         * tools/.cvsignore: Replaced *.sh with *
20973         * configure.ac: Replaced tools/*.sh with tools/*.
20974
20975 2006-05-05  Roman Kennke <kennke@aicas.com>
20976
20977         * java/awt/image/ColorModel.java
20978         (getNormalizedComponents): Implemented.
20979
20980 2006-05-05  Roman Kennke <kennke@aicas.com>
20981
20982         * javax/swing/plaf/basic/BasicRadioButtonUI.java
20983         (paint): Query the button model for it's state, not the
20984         button itself.
20985
20986 2006-05-05  Roman Kennke <kennke@aicas.com>
20987
20988         * javax/swing/JTable.java
20989         (tableChanged): Sync selection model with table model changes.
20990
20991 2006-05-05  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
20992
20993         * javax/swing/plaf/basic/BasicTreeUI.java (paint): Return early
20994         if there are no visible nodes to paint.
20995
20996 2006-05-05  David Gilbert  <david.gilbert@object-refinery.com>
20997
20998         * javax/swing/JOptionPane.java: API doc updates.
20999
21000 2006-05-05  David Gilbert  <david.gilbert@object-refinery.com>
21001
21002         * javax/swing/JToolBar.java
21003         (paramString): Reimplemented.
21004
21005 2006-05-05  David Gilbert  <david.gilbert@object-refinery.com>
21006
21007         * javax/swing/JScrollBar.java
21008         (paramString): Reimplemented.
21009
21010 2006-05-04  Tom Tromey  <tromey@redhat.com>
21011
21012         PR classpath/27375:
21013         * java/util/zip/ZipFile.java (entries): Now a LinkedHashMap.
21014         (readEntries): Updated.
21015         (getEntries): Likewise.
21016         (getEntry): Likewise.
21017         (getInputStream): Likewise.
21018
21019 2006-05-04  Thomas Fitzsimmons  <fitzsim@redhat.com>
21020
21021         * gnu/javax/imageio/jpeg/DCT.java,
21022         gnu/javax/imageio/jpeg/HuffmanTable.java,
21023         gnu/javax/imageio/jpeg/JPEGComponent.java,
21024         gnu/javax/imageio/jpeg/JPEGDecoder.java,
21025         gnu/javax/imageio/jpeg/JPEGException.java,
21026         gnu/javax/imageio/jpeg/JPEGFrame.java,
21027         gnu/javax/imageio/jpeg/JPEGImageInputStream.java,
21028         gnu/javax/imageio/jpeg/JPEGImageReader.java,
21029         gnu/javax/imageio/jpeg/JPEGImageReaderSpi.java,
21030         gnu/javax/imageio/jpeg/JPEGMarker.java,
21031         gnu/javax/imageio/jpeg/JPEGMarkerFoundException.java,
21032         gnu/javax/imageio/jpeg/JPEGScan.java,
21033         gnu/javax/imageio/jpeg/YCbCr_ColorSpace.java,
21034         gnu/javax/imageio/jpeg/ZigZag.java: New files.
21035
21036 2006-05-04  Lillian Angel  <langel@redhat.com>
21037
21038         * javax/swing/JLabel.java
21039         (JLabel): Pass in an empty string for the text parameter.
21040         (JLabel): Likewise.
21041         (JLabel): Likewise.
21042
21043 2006-05-04  Roman Kennke <kennke@aicas.com>
21044
21045         * javax/swing/plaf/basic/BasicButtonListener.java
21046         (mouseEntered): Fixed conditions for changing states.
21047
21048 2006-05-04  Roman Kennke <kennke@aicas.com>
21049
21050         * javax/swing/JOptionPane.java
21051         (AccessibleJOptionPane.getAccessibleRole): Implemented method.
21052
21053 2006-05-04  Roman Kennke <kennke@aicas.com>
21054
21055         * javax/swing/JLabel.java
21056         (AccessibleJLabel.getSelectedText): Return null instead of "".
21057         (AccessibleJLabel.getSelectionStart): Added comment why
21058         return -1 is correct here.
21059         (AccessibleJLabel.getSelectionEnd): Added comment why
21060         return -1 is correct here.
21061         (AccessibleJLabel.getCharacterAttribute): Added comment about what
21062         to do here.
21063         (AccessibleJLabel.getCharCount): Added comment about what
21064         to do here.
21065         (AccessibleJLabel.getCharacterBounds): Tagged as not implemented.
21066         (AccessibleJLabel.getIndexAtPoint): Tagged as not implemented.
21067         (paramString): Return super.paramString() here, this provides
21068         a more meaningful output.
21069
21070 2006-05-04  Roman Kennke <kennke@aicas.com>
21071
21072         * javax/swing/JComponent.java
21073         (paint): Added null check to avoid NPE when clip == null.
21074
21075 2006-05-04  Roman Kennke <kennke@aicas.com>
21076
21077         * javax/swing/AbstractButton.java
21078         (addImpl): New method. Installs an OverlayLayout if no
21079         other layout has been installed before.
21080         (setLayout): New method. Detect if a client app installs a custom
21081         layout.
21082
21083 2006-05-04  Roman Kennke <kennke@aicas.com>
21084
21085         * javax/swing/table/DefaultTableCellRenderer.java
21086         (noFocusBorder): Fixed width of empty border to 1.
21087         (getTableCellRendererComponent): Don't change the colors for
21088         focuses cells. Fixed border for focused cells.
21089
21090 2006-05-04  Roman Kennke <kennke@aicas.com>
21091
21092         * javax/swing/JTable.java
21093         (moveToCellBeingEdited): Adjust bounding box of editing component
21094         to exactly cover the grid.
21095         * javax/swing/plaf/basic/BasicTableUI.java
21096         (paint): Paint grid to the bottom and right of the cells instead
21097         of left and top. Adjust bounding box of cells accordingly.
21098         * javax/swing/plaf/metal/MetalLookAndFeel.java
21099         (initComponentDefaults): Fixed color of JTable selection border.
21100         * javax/swing/plaf/metal/OceanTheme.java
21101         (addCustomEntriesToTable): Fixed color of JTable selection border.
21102
21103 2006-05-04  Raif S. Naffah  <raif@swiftdsl.com.au>
21104
21105         * tools/gnu/classpath/tools/keytool/ExportCmd.java (setup):
21106         Use _alias instead of alias.
21107
21108 2006-05-03  Andrew John Hughes  <gnu_andrew@member.fsf.org>
21109
21110         * configure.ac:
21111         Set version to 0.92-pre.
21112         * NEWS:
21113         Add space for 0.92 entries.
21114
21115 2006-05-03  Andrew John Hughes  <gnu_andrew@member.fsf.org>
21116
21117         * include/Makefile.am:
21118         Added rules for gnu.java.net.local.LocalSocketImpl.h
21119         * include/java_lang_VMSystem.h:
21120         Regenerated correctly.
21121         
21122 2006-05-03  Sven de Marothy <sven@physto.se>
21123        
21124         PR 24023, 24701
21125         * java/awt/Image.java:
21126         (getScaledInstance): Default to AreaAveraging for "smooth", 
21127         don't thrown an error on illegal flag values.
21128         * java/awt/image/AreaAveragingScaleFilter.java: Implement.
21129
21130 2006-05-03  Robert Schuster  <robertschuster@fsfe.org>
21131
21132         * javax/swing/text/FieldView.java:
21133         (adjustAllocation): Added if-block to return null when shape argument
21134         is null.
21135         * javax/swing/text/PlainView.java:
21136         (updateDamage): Added if-block to return early if a is null.
21137
21138 2006-05-03  Robert Schuster  <robertschuster@fsfe.org>
21139
21140         * javax/swing/plaf/basic/BasicTextUI.java:
21141         (changeUpdate): Added note.
21142         (removeUpdate): Dito.
21143         (insertUpdate): Dito.
21144         (damageRange): Added if-block to return early.
21145         (modelToView): Added check of getVisibleEditorRect's return value.
21146         (getVisibleEditorRect): Return null instead of empty rectangle.
21147         * javax/swing/text/DefaultCaret.java:
21148         (clearHighlight): Removed if-clause to create a highlight entry if it
21149         did not exist before.
21150         * javax/swing/text/WrappedPlainView.java:
21151         (WrappedLine.modelToView): Throw exception if allocation area is empty,
21152         removed 2nd part of if-expression.
21153         (WrappedLine.updateDamage): Added more documentation, added check
21154         whether allocation area rectangle is null.
21155
21156 2006-05-03  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
21157
21158         * javax/swing/JSplitPane.java (setDividerLocation(int)):
21159         Reset to preferred sizes if the argument is negative.
21160
21161 2006-05-03  David Gilbert  <david.gilbert@object-refinery.com>
21162
21163         * javax/swing/JList.java: Added/updated API docs.
21164
21165 2006-05-03  Lillian Angel  <langel@redhat.com>
21166
21167         * javax/swing/JComponent.java
21168         (getRoot): New private function. Gets the root appropriate
21169         for painting. If an applet exists as a parent, then it is returned.
21170         (paintDoubleBuffered): Changed to use new function.
21171         * javax/swing/RepaintManager.java
21172         (getRoot): New private function. Gets the root appropriate
21173         for painting. If an applet exists as a parent, then it is returned.
21174         (getOffscreenBuffer): Changed to use new function.
21175         * javax/swing/SwingUtilties.java
21176         (getRoot): Reverted last patch to return Window, even if 
21177         an Applet exists.
21178
21179 2006-05-03  Raif S. Naffah  <raif@swiftdsl.com.au>
21180
21181         * gnu/javax/crypto/jce/keyring/GnuKeyring.java: Re-implemented using
21182         a pair of one public keyring and one private keyring.
21183         * gnu/javax/crypto/keyring/GnuPublicKeyring.java (log): New field.
21184         (containsCertificate): Added logging.
21185         (getCertificate): Likewise.
21186         (putCertificate): Likewsie.
21187         (load): Likewise.
21188         (store): Likewise.
21189         * gnu/javax/crypto/keyring/GnuPrivateKeyring.java (log): New field.
21190         (containsPrivateKey): Added logging.
21191         (getPrivateKey): Likewise.
21192         (putPrivateKey): Likewise.
21193         (containsPublicKey): Likewise.
21194         (getPublicKey): Likewise.
21195         (putPublicKey): Likewise.
21196         (containsCertPath): Likewise.
21197         (getCertPath): Likewise.
21198         (putCertPath): Likewise.
21199         (load): Likewise.
21200         (store): Likewise.
21201
21202 2006-05-03  Roman Kennke <kennke@aicas.com>
21203
21204         * gnu/java/awt/java2d/AlphaCompositeContext.java: New class.
21205         * java/awt/AlphaComposite.java
21206         (createContext): Implemented.
21207
21208 2006-05-03  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
21209
21210         * gnu/java/awt/peer/gtk/GdkGraphics2D.java (drawRaster):
21211         Set the current color again after drawing the raster.
21212
21213 2006-05-03  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
21214
21215         * javax/swing/text/WrappedPlainView.java (WrappedLine.modelToView):
21216         Do not check pos < currLineEnd if currLineStart == currLineEnd.
21217
21218 2006-05-03  Raif S. Naffah  <raif@swiftdsl.com.au>
21219
21220         * tools/gnu/classpath/tools/keytool/Command.java (getCallbackHandler):
21221         Assign returned value to field handler.
21222         * tools/gnu/classpath/tools/jarsigner/Main.java (getCallbackHandler):
21223         Likewise.
21224
21225 2006-05-02  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
21226
21227         * javax/swing/ScrollPaneLayout.java (layoutContainer):
21228         Return without action if there is no view in the viewport.
21229         * javax/swing/text/WrappedPlainView.java 
21230         (WrappedLine.getPreferredSpan): If metrics == null, update
21231         metrics.
21232         * javax/swing/tree/DefaultTreeModel.java (constructors):
21233         Do not call setRoot, assign the root node directly.
21234
21235 2006-05-02  Lillian Angel  <langel@redhat.com>
21236
21237         * javax/swing/SwingUtilities.java
21238         (getRoot): Should return the Applet if it exists.
21239         Only return the Window if an Applet has not been
21240         encountered.
21241
21242 2006-05-02  Lillian Angel  <langel@redhat.com>
21243
21244         * gnu/javax/swing/text/html/parser/support/Parser.java
21245         (readAttributes): Reverted Audrius' last patch. There is 
21246         a slight difference in code between the NUMTOKEN and SLASH case. 
21247
21248 2006-05-02  Robert Schuster  <robertschuster@fsfe.org>
21249
21250         * javax/swing/text/JTextComponent.java:
21251         (setText): Throw InternalError from catch-block.
21252         * javax/swing/text/GapContent.java:
21253         (removed): Removed if-expression, changed '>' to '>='.
21254
21255 2006-05-02  Roman Kennke <kennke@aicas.com>
21256
21257         * gnu/java/awt/java2d/AbstractGraphics2D.java
21258         (AA_SAMPLING): New constant.
21259         (alpha): New field. Used in the antialiasing renderer.
21260         (edgeTable): New field. Used in the antialiasing renderer.
21261         (AbstractGraphics2D): Initialize rendering hints wrt
21262         anti-aliasing.
21263         (draw): Clip after stroking. Commented out clipping for now,
21264         it seems to be buggy.
21265         (fill): Commented out clipping for now, it seems to be buggy.
21266         (setComposite): Don't create composite context.
21267         (setPaint): Only change paint when parameter is not null.
21268         (translate): Call setClip() so subclasses can update their clip
21269         too.
21270         (clip): Call setClip() so subclasses can update their clip
21271         too.
21272         (drawGlyphVector): Added clipping, but left it commented out
21273         because it's buggy.
21274         (getClipBounds): Returns null when clip is null.
21275         (drawLine): Call rawDrawLine with translation applied.
21276         (filLRect): Call rawFillRect with translation applied.
21277         (fillShape): Added support for anti-aliasing.
21278         (rawSetForeground(int,int,int)): New method.
21279         (rawFillShape): A couple of painting fixes.
21280         (fillScanline): Implemented to call rawDrawLine.
21281         (fillShapeAntialias): New method. Implements an anti-aliasing
21282         shape filler.
21283         (fillScanlineAA): New method. Used for the anti-aliasing
21284         shape filler.
21285         (fillScanlineAlpha): New method. Used for the anti-aliasing
21286         shape filler.
21287         (init): Initialize clip with the device bounds.
21288         (updateOptimization): Fixed the optimization condition.
21289
21290 2006-05-02  Robert Schuster  <robertschuster@fsfe.org>
21291
21292         * javax/swing/text/GapContent.java:
21293         (GapContent): Restrict size argument by 2.
21294         (insertString): Changed expression from >= to >.
21295         (remove): Changed right side of expression to 'length - 1', changed
21296         exception message.
21297         (getChars): Throw exception if where below 0.
21298         (replace): Replaced call to setPositionsInRange() with
21299         resetMarksAtZero(), removed note.
21300
21301 2006-05-02  Roman Kennke <kennke@aicas.com>
21302
21303         PR 27326
21304         * javax/swing/MenuSelectionManager.java
21305         (setSelectedPath): Rewritten.
21306
21307 2006-05-02  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
21308
21309         * gnu/javax/swing/text/html/parser/support/Parser.java
21310         (readAttributes): Merge case NUMTOKEN: and case SLASH:
21311         sections.
21312
21313 2006-05-02  Raif S. Naffah  <raif@swiftdsl.com.au>
21314
21315         * tools/.cvsignore: Added keytool.sh.
21316         * configure.ac: Added tools/keytool.sh to AC_CONFIG_FILES.
21317
21318 2006-05-02  Raif S. Naffah  <raif@swiftdsl.com.au>
21319
21320         * doc/tools.texinfo: New file.
21321         * doc/Makefile.am: Generate tools documentation.
21322
21323 2006-05-02  Raif S. Naffah  <raif@swiftdsl.com.au>
21324
21325         * tools/keytool.sh.in: New file.
21326         * tools/gnu/classpath/tools/keytool/CertReqCmd.java: Likewise.
21327         * tools/gnu/classpath/tools/keytool/Command.java: Likewise.
21328         * tools/gnu/classpath/tools/keytool/DeleteCmd.java: Likewise.
21329         * tools/gnu/classpath/tools/keytool/ExportCmd.java: Likewise.
21330         * tools/gnu/classpath/tools/keytool/GenKeyCmd.java: Likewise.
21331         * tools/gnu/classpath/tools/keytool/IdentityDBCmd.java: Likewise.
21332         * tools/gnu/classpath/tools/keytool/ImportCmd.java: Likewise.
21333         * tools/gnu/classpath/tools/keytool/KeyCloneCmd.java: Likewise.
21334         * tools/gnu/classpath/tools/keytool/KeyPasswdCmd.java: Likewise.
21335         * tools/gnu/classpath/tools/keytool/ListCmd.java: Likewise.
21336         * tools/gnu/classpath/tools/keytool/Main.java: Likewise.
21337         * tools/gnu/classpath/tools/keytool/Messages.java: Likewise.
21338         * tools/gnu/classpath/tools/keytool/PrintCertCmd.java: Likewise.
21339         * tools/gnu/classpath/tools/keytool/SelfCertCmd.java: Likewise.
21340         * tools/gnu/classpath/tools/keytool/StorePasswdCmd.java: Likewise.
21341         * tools/gnu/classpath/tools/keytool/keytool.txt: Likewise.
21342         * tools/gnu/classpath/tools/keytool/package.html: Likewise.
21343         * resource/gnu/classpath/tools/keytool/MessageBundle.properties: Likewise.
21344
21345 2006-05-02  Raif S. Naffah  <raif@swiftdsl.com.au>
21346
21347         * tools/gnu/classpath/tools/jarsigner/jarsigner.txt: Re-arranged to
21348         resemble more closely man-page style text.
21349         * tools/gnu/classpath/tools/jarsigner/SFHelper.java:
21350         Mark (Eclipse) strings that need not be externalised.
21351         (writeSF): Likewise.
21352         (writeDSA): Likewise.
21353         Use package-private Messages class to provide i18n-ready strings.
21354         (startSigning):
21355         Use package-private Messages class to provide i18n-ready strings.
21356         (updateEntry): Likewise.
21357         Mark (Eclipse) strings that need not be externalised.
21358         (finishSigning): Likewise.
21359         * tools/gnu/classpath/tools/jarsigner/Main.java:
21360         Mark (Eclipse) strings that need not be externalised.
21361         (main): Do not use constant strings as class name.
21362         Use package-private Messages class to provide i18n-ready strings.
21363         Reduced logging level so INFO becomes FINER, and WARNING becomes FINE.
21364         (processArgs): Do not use constant strings as class name.
21365         Mark (Eclipse) strings that need not be externalised.
21366         Reduced logging level so INFO becomes FINER, and WARNING becomes FINE.
21367         (start): Do not use constant strings as class name.
21368         (teardown): Likewise.
21369         Use ProviderUtil.
21370         (setupCommonParams): Do not use constant strings as class name.
21371         Use package-private Messages class to provide i18n-ready strings.
21372         Reduced logging level so INFO becomes FINER, and WARNING becomes FINE.
21373         (installNewProvider): Do not use constant strings as class name.
21374         Use ProviderUtil.
21375         (setupSigningParams): Do not use constant strings as class name.
21376         Use package-private Messages class to provide i18n-ready strings.
21377         Mark (Eclipse) strings that need not be externalised.
21378         (getCallbackHandler): Use CallbackUtil.
21379         * tools/gnu/classpath/tools/jarsigner/JarSigner.java (start):
21380         Use package-private Messages class to provide i18n-ready strings.
21381         Reduced logging level so INFO becomes FINER, and WARNING becomes FINE.
21382         * tools/gnu/classpath/tools/jarsigner/JarVerifier.java (start): Likewise.
21383         (verifySF): Likewise.
21384         (verifySFEntries): Do not use constant strings as class name.
21385         Use Boolean.valueOf instead of new Boolean().
21386         (verifySFEntry): Mark (Eclipse) strings that need not be externalised.
21387         * resource/gnu/classpath/tools/jarsigner/MessageBundle.properties:
21388         New file.
21389         * tools/gnu/classpath/tools/jarsigner/package.html: Likewise.
21390         * tools/gnu/classpath/tools/jarsigner/Messages.java: Likewise.
21391
21392 2006-05-02  Raif S. Naffah  <raif@swiftdsl.com.au>
21393
21394         * tools/gnu/classpath/tools/common/CallbackUtil.java: New file.
21395         * tools/gnu/classpath/tools/common/ProviderUtil.java: Likewise.
21396         * tools/gnu/classpath/tools/common/SecurityProviderInfo.java: Likewise.
21397
21398 2006-05-01  Tom Tromey  <tromey@redhat.com>
21399
21400         * java/nio/ByteBufferImpl.java (compact): Don't reset position
21401         in empty case.
21402         * gnu/java/nio/ChannelReader.java (read): Synchronize.
21403         (close): Synchronize.
21404         * java/nio/ShortBufferImpl.java (compact): Rewrote.
21405         * java/nio/LongBufferImpl.java (compact): Rewrote.
21406         * java/nio/IntBufferImpl.java (compact): Rewrote.
21407         * java/nio/FloatBufferImpl.java (compact): Rewrote.
21408         * java/nio/DoubleBufferImpl.java (compact): Rewrote.
21409         * java/nio/CharBufferImpl.java (compact): Rewrote.
21410         * gnu/java/nio/ChannelWriter.java: New file.
21411         * java/nio/channels/Channels.java (newWriter): Implemented.
21412
21413 2006-05-01  Lillian Angel  <langel@redhat.com>
21414
21415         * java/util/SimpleTimeZone.java
21416         (SimpleTimeZone): Do not throw exception if startMonth == endMonth.
21417         (SimpleTimeZone): Likewise.
21418         (checkRule): Rewritten to properly check all values (more efficently). 
21419         This code is now more stable, at least less buggy than before. Fixed
21420         API documentation.
21421         (setStartRule): Moved checkRule call to end.
21422         (setStartRule): Likewise.
21423         (setEndRule): Likewise.
21424         (setEndRule): Likewise.
21425
21426 2006-05-01  Tom Tromey  <tromey@redhat.com>
21427
21428         * lib/.cvsignore: Added classes.2.
21429
21430 2006-05-01  Tom Tromey  <tromey@redhat.com>
21431
21432         * java/util/jar/JarFile.java (provider): Now package-private.
21433         * java/lang/Enum.java (compareTo): Javadoc fix.
21434         * java/lang/Boolean.java (compareTo): Javadoc fix.
21435
21436 2006-05-01  Lillian Angel  <langel@redhat.com>
21437
21438         * gnu/javax/swing/text/html/parser/support/Parser.java
21439         (readAttributes): Formatted function. Added handling for 
21440         SLASH token. The value of an attribute may start with a slash
21441         (i.e. a path). I added handling similar to to the NUMTOKEN code.
21442         We should not be skipping over these type of attributes.
21443
21444 2006-04-30  Andrew John Hughes  <gnu_andrew@member.fsf.org>
21445
21446         * include/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.h,
21447         * include/gnu_java_awt_peer_gtk_GdkFontPeer.h,
21448         * include/gnu_java_awt_peer_gtk_GdkGraphics.h,
21449         * include/gnu_java_awt_peer_gtk_GdkGraphics2D.h,
21450         * include/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.h,
21451         * include/gnu_java_awt_peer_gtk_GdkPixbufDecoder.h,
21452         * include/gnu_java_awt_peer_gtk_GdkRobotPeer.h,
21453         * include/gnu_java_awt_peer_gtk_GdkTextLayout.h,
21454         * include/gnu_java_awt_peer_gtk_GtkButtonPeer.h,
21455         * include/gnu_java_awt_peer_gtk_GtkCanvasPeer.h,
21456         * include/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.h,
21457         * include/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.h,
21458         * include/gnu_java_awt_peer_gtk_GtkCheckboxPeer.h,
21459         * include/gnu_java_awt_peer_gtk_GtkChoicePeer.h,
21460         * include/gnu_java_awt_peer_gtk_GtkClipboard.h,
21461         * include/gnu_java_awt_peer_gtk_GtkComponentPeer.h,
21462         * include/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.h,
21463         * include/gnu_java_awt_peer_gtk_GtkFileDialogPeer.h,
21464         * include/gnu_java_awt_peer_gtk_GtkFramePeer.h,
21465         * include/gnu_java_awt_peer_gtk_GtkGenericPeer.h,
21466         * include/gnu_java_awt_peer_gtk_GtkImage.h,
21467         * include/gnu_java_awt_peer_gtk_GtkLabelPeer.h,
21468         * include/gnu_java_awt_peer_gtk_GtkListPeer.h,
21469         * include/gnu_java_awt_peer_gtk_GtkMenuBarPeer.h,
21470         * include/gnu_java_awt_peer_gtk_GtkMenuComponentPeer.h,
21471         * include/gnu_java_awt_peer_gtk_GtkMenuItemPeer.h,
21472         * include/gnu_java_awt_peer_gtk_GtkMenuPeer.h,
21473         * include/gnu_java_awt_peer_gtk_GtkPanelPeer.h,
21474         * include/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.h,
21475         * include/gnu_java_awt_peer_gtk_GtkScrollPanePeer.h,
21476         * include/gnu_java_awt_peer_gtk_GtkScrollbarPeer.h,
21477         * include/gnu_java_awt_peer_gtk_GtkSelection.h,
21478         * include/gnu_java_awt_peer_gtk_GtkTextAreaPeer.h,
21479         * include/gnu_java_awt_peer_gtk_GtkTextFieldPeer.h,
21480         * include/gnu_java_awt_peer_gtk_GtkToolkit.h,
21481         * include/gnu_java_awt_peer_gtk_GtkWindowPeer.h,
21482         * include/gnu_java_awt_peer_qt_MainQtThread.h,
21483         * include/gnu_java_awt_peer_qt_QMatrix.h,
21484         * include/gnu_java_awt_peer_qt_QPainterPath.h,
21485         * include/gnu_java_awt_peer_qt_QPen.h,
21486         * include/gnu_java_awt_peer_qt_QtAudioClip.h,
21487         * include/gnu_java_awt_peer_qt_QtButtonPeer.h,
21488         * include/gnu_java_awt_peer_qt_QtCanvasPeer.h,
21489         * include/gnu_java_awt_peer_qt_QtCheckboxPeer.h,
21490         * include/gnu_java_awt_peer_qt_QtChoicePeer.h,
21491         * include/gnu_java_awt_peer_qt_QtComponentPeer.h,
21492         * include/gnu_java_awt_peer_qt_QtContainerPeer.h,
21493         * include/gnu_java_awt_peer_qt_QtDialogPeer.h,
21494         * include/gnu_java_awt_peer_qt_QtEmbeddedWindowPeer.h,
21495         * include/gnu_java_awt_peer_qt_QtFileDialogPeer.h,
21496         * include/gnu_java_awt_peer_qt_QtFontMetrics.h,
21497         * include/gnu_java_awt_peer_qt_QtFontPeer.h,
21498         * include/gnu_java_awt_peer_qt_QtFramePeer.h,
21499         * include/gnu_java_awt_peer_qt_QtGraphics.h,
21500         * include/gnu_java_awt_peer_qt_QtGraphicsEnvironment.h,
21501         * include/gnu_java_awt_peer_qt_QtImage.h,
21502         * include/gnu_java_awt_peer_qt_QtLabelPeer.h,
21503         * include/gnu_java_awt_peer_qt_QtListPeer.h,
21504         * include/gnu_java_awt_peer_qt_QtMenuBarPeer.h,
21505         * include/gnu_java_awt_peer_qt_QtMenuComponentPeer.h,
21506         * include/gnu_java_awt_peer_qt_QtMenuItemPeer.h,
21507         * include/gnu_java_awt_peer_qt_QtMenuPeer.h,
21508         * include/gnu_java_awt_peer_qt_QtPanelPeer.h,
21509         * include/gnu_java_awt_peer_qt_QtPopupMenuPeer.h,
21510         * include/gnu_java_awt_peer_qt_QtScreenDevice.h,
21511         * include/gnu_java_awt_peer_qt_QtScrollPanePeer.h,
21512         * include/gnu_java_awt_peer_qt_QtScrollbarPeer.h,
21513         * include/gnu_java_awt_peer_qt_QtTextAreaPeer.h,
21514         * include/gnu_java_awt_peer_qt_QtTextFieldPeer.h,
21515         * include/gnu_java_awt_peer_qt_QtToolkit.h,
21516         * include/gnu_java_awt_peer_qt_QtVolatileImage.h,
21517         * include/gnu_java_awt_peer_qt_QtWindowPeer.h,
21518         * include/gnu_javax_sound_midi_alsa_AlsaMidiDeviceProvider.h,
21519         * include/gnu_javax_sound_midi_alsa_AlsaMidiSequencerDevice.h,
21520         * include/gnu_javax_sound_midi_alsa_AlsaPortDevice.h,
21521         * include/gnu_javax_sound_midi_dssi_DSSIMidiDeviceProvider.h,
21522         * include/gnu_javax_sound_midi_dssi_DSSISynthesizer.h,
21523         * include/gnu_xml_libxmlj_dom_GnomeAttr.h,
21524         * include/gnu_xml_libxmlj_dom_GnomeDocument.h,
21525         * include/gnu_xml_libxmlj_dom_GnomeDocumentBuilder.h,
21526         * include/gnu_xml_libxmlj_dom_GnomeDocumentType.h,
21527         * include/gnu_xml_libxmlj_dom_GnomeElement.h,
21528         * include/gnu_xml_libxmlj_dom_GnomeEntity.h,
21529         * include/gnu_xml_libxmlj_dom_GnomeNamedNodeMap.h,
21530         * include/gnu_xml_libxmlj_dom_GnomeNode.h,
21531         * include/gnu_xml_libxmlj_dom_GnomeNodeList.h,
21532         * include/gnu_xml_libxmlj_dom_GnomeNotation.h,
21533         * include/gnu_xml_libxmlj_dom_GnomeProcessingInstruction.h,
21534         * include/gnu_xml_libxmlj_dom_GnomeTypeInfo.h,
21535         * include/gnu_xml_libxmlj_dom_GnomeXPathExpression.h,
21536         * include/gnu_xml_libxmlj_dom_GnomeXPathNSResolver.h,
21537         * include/gnu_xml_libxmlj_dom_GnomeXPathNodeList.h,
21538         * include/gnu_xml_libxmlj_dom_GnomeXPathResult.h,
21539         * include/gnu_xml_libxmlj_sax_GnomeLocator.h,
21540         * include/gnu_xml_libxmlj_sax_GnomeXMLReader.h,
21541         * include/gnu_xml_libxmlj_transform_GnomeTransformer.h,
21542         * include/gnu_xml_libxmlj_transform_GnomeTransformerFactory.h,
21543         * include/java_lang_VMProcess.h:
21544         Regenerated.
21545         * native/jni/java-lang/java_lang_VMProcess.c:
21546         Redirect when pipe_count is 2 not 3.    
21547
21548 2006-04-30  Sascha Brawer <sascha@brawer.ch>
21549
21550         * gnu/java/awt/font/FontDelegate.java,
21551         * gnu/java/awt/font/FontFactory.java,
21552         * gnu/java/awt/font/GNUGlyphVector.java,
21553         * gnu/java/awt/font/opentype/CharGlyphMap.java,
21554         * gnu/java/awt/font/opentype/GlyphNamer.java,
21555         * gnu/java/awt/font/opentype/MacResourceFork.java,
21556         * gnu/java/awt/font/opentype/NameDecoder.java,
21557         * gnu/java/awt/font/opentype/OpenTypeFont.java,
21558         * gnu/java/awt/font/opentype/OpenTypeFontFactory.java,
21559         * gnu/java/awt/font/opentype/Scaler.java,
21560         * gnu/java/awt/font/opentype/truetype/Fixed.java,
21561         * gnu/java/awt/font/opentype/truetype/GlyphLoader.java,
21562         * gnu/java/awt/font/opentype/truetype/GlyphLocator.java,
21563         * gnu/java/awt/font/opentype/truetype/GlyphMeasurer.java,
21564         * gnu/java/awt/font/opentype/truetype/TrueTypeScaler.java,
21565         * gnu/java/awt/font/opentype/truetype/VirtualMachine.java,
21566         * gnu/java/awt/font/opentype/truetype/Zone.java,
21567         * gnu/java/awt/font/opentype/truetype/ZonePathIterator.java,
21568         * gnu/java/awt/font/opentype/truetype/doc-files/ZonePathIterator-1.dia,
21569         * gnu/java/awt/font/opentype/truetype/doc-files/ZonePathIterator-1.png:
21570         New files. Imported font framework from:
21571         http://www.brawer.ch/software/fonts/
21572
21573 2006-04-30  Roman Kennke <kennke@aicas.com>
21574
21575         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
21576         (lastTabInRun): Fix calculation of the last tab in a run. This
21577         has caused painting problems sometimes, making the
21578         last tab painted incorrectly.
21579
21580 2006-04-30  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
21581
21582         PR 27297
21583         * javax/swing/JComponent.java (paintChildrenWithOverlap):
21584         Use for and not while to prevent the endless loop.
21585
21586 2006-04-29  David Gilbert  <david.gilbert@object-refinery.com>
21587
21588         * javax/swing/JList.java
21589         (paramString): Changed from public to protected.
21590
21591 2006-04-29  Raif S. Naffah  <raif@swiftdsl.com.au>
21592
21593         * tools/gnu/classpath/tools/HelpPrinter.java (printHelp): New method.
21594         (printHelpAndExit): Re-factored to use the above method.
21595
21596 2006-04-29  Raif S. Naffah  <raif@swiftdsl.com.au>
21597
21598         * tools/jarsigner.sh.in: Changed license to GPL + Exception.
21599         Use -Xbootclasspath/p instead of -cp when invoking the main class.
21600         * tools/gnu/classpath/tools/jarsigner/Main.java:
21601         Changed license to GPL + Exception.
21602         (handler): New field.
21603         (getCallbackHandler): New method.
21604         (setupSigningParams): Use above method.
21605         * tools/gnu/classpath/tools/jarsigner/HashUtils.java:
21606         Changed license to GPL + Exception.
21607         * tools/gnu/classpath/tools/jarsigner/SFHelper.java: Likewise.
21608         * tools/gnu/classpath/tools/jarsigner/JarVerifier.java: Likewise.
21609         * tools/gnu/classpath/tools/jarsigner/JarSigner.java: Likewise.
21610         * tools/gnu/classpath/tools/jarsigner/jarsigner.txt: Updated copyright.
21611
21612 2006-04-29  Raif S. Naffah  <raif@swiftdsl.com.au>
21613
21614         * gnu/javax/security/auth/callback/ConsoleCallbackHandler.java
21615         (handleConfirmation): Use print instead of println.
21616         (handleConfirmation): When case is YES_NO_OPTION, print default option
21617         if one was set.
21618         (handleLanguage): Use print instead of println.
21619
21620 2006-04-29  Raif S. Naffah  <raif@swiftdsl.com.au>
21621
21622         * gnu/java/security/x509/X500DistinguishedName.java: Updated copyright.
21623         (putComponent): Handle O and OU components.
21624         (getDer): Use correct (it2) iterator.
21625         (readAttributeValue): Read next character and break if end-of-stream.
21626
21627 2006-04-29  Raif S. Naffah  <raif@swiftdsl.com.au>
21628
21629         * gnu/java/security/provider/Gnu.java (run):
21630         Add "RSA" as an alias to MD5withRSA.
21631         * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java (encodePublicKey):
21632         Always encode a NULL as the value of an algorithm parameters field.
21633         * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java (log): New field.
21634         (encodePrivateKey): Added trace/log statements.
21635         (decodePrivateKey): Likewise.
21636         * gnu/java/security/key/rsa/RSAKeyPairGenerator.java (log): New field.
21637         (setup): Added trace/log statements.
21638         (generate): Likewise.
21639         * gnu/java/security/key/rsa/GnuRSAPublicKey.java (str): New field.
21640         (toString): New method.
21641         * gnu/java/security/key/rsa/GnuRSAPrivateKey.java (DEBUG): New constant.
21642         (str): New field.
21643         (toString): New method.
21644         * gnu/java/security/key/rsa/GnuRSAKey.java (str): New field.
21645         (getEncoded): Use defaultFormat.
21646         (toString): New method.
21647         * gnu/java/security/key/dss/DSSKey.java (toString):
21648         Include defaultFormat in string.
21649         * gnu/java/security/jce/sig/RSAKeyFactory.java (engineGeneratePublic):
21650         Break if successfully decoded public key.
21651         (engineGeneratePrivate): Break if successfully decoded private key.
21652
21653 2006-04-29  Raif S. Naffah  <raif@swiftdsl.com.au>
21654
21655         * java/security/Security.java <clinit>: Add our Callback provider.
21656         * resource/java/security/classpath.security: Likewise
21657
21658 2006-04-28  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
21659
21660         PR 27296
21661         * javax/swing/ScrollPaneLayout.java (layoutContainer):
21662         Decide about scroll bars from the preferred view size, not
21663         the current size.
21664         * javax/swing/ViewportLayout.java (layoutContainer):
21665         Do not change returned preferred size. Do not treat JScrollPane
21666         specially.
21667
21668 2006-04-28  Sven de Marothy <sven@physto.se>
21669
21670         * java/awt/image/ReplicateScaleFilter.java: Fix comment. 
21671         * javax/swing/ProgressMonitor.java (actionPerformed): 
21672         Avoid divide-by-zero.
21673
21674 2006-04-28  Sven de Marothy <sven@physto.se>
21675
21676         * javax/swing/JSpinner.java: Fix default text justification.
21677         * javax/swing/plaf/basic/BasicSpinnerUI.java: Fix spinner layout size.
21678
21679 2006-04-28  David Gilbert  <david.gilbert@object-refinery.com>
21680
21681         * javax/swing/JList.java
21682         (getMinSelectionIndex): Return correct value, added API docs,
21683         (getMaxSelectionIndex): Added API docs.
21684
21685 2006-04-28  David Gilbert  <david.gilbert@object-refinery.com>
21686
21687         * javax/swing/JList.java
21688         (JList(Object[])): Pass new model directly to init(),
21689         (JList(Vector)): Likewise,
21690         (JList(ListModel)): Renamed argument and updated API docs,
21691         (init): Throw IllegalArgumentException for null argument,
21692         (setListData(Object[])): Delegate model creation,
21693         (setListData(Vector)): Likewise,
21694         (createListModel(Object[])): New private method,
21695         (createListModel(Vector)): New private method,
21696         (paramString): Implemented.
21697
21698 2006-04-28  Tom Tromey  <tromey@redhat.com>
21699
21700         * java/lang/Class.java (SYNTHETIC, ENUM, ANNOTATION): New fields.
21701         (isEnum): Rewrote.
21702         (isSynthetic): Likewise.
21703         (isAnnotation): Likewise.
21704         * vm/reference/java/lang/VMClass.java (isSynthetic): Removed.
21705         (isAnnotation): Likewise.
21706         (isEnum): Likewise.
21707
21708 2006-04-28  Robert Schuster  <robertschuster@fsfe.org>
21709
21710         * javax/swing/text/View.java:
21711         (getNextVisualPositionFrom): Call modelToView and viewToModel on parent
21712         view.
21713
21714 2006-04-28  Robert Schuster  <robertschuster@fsfe.org>
21715
21716         * javax/swing/text/View.java:
21717         (getNextVisualPositionFrom): Rewritten.
21718         * javax/swing/text/CompositeView.java:
21719         (getNextEastWestVisualPositionFrom): Partly implemented.
21720         (getNextNorthSouthVisualPositionFrom): Partly implemented.
21721
21722 2006-04-28  David Gilbert  <david.gilbert@object-refinery.com>
21723
21724         * javax/swing/JList.java
21725         (setFixedCellHeight): Use correct property name for event.
21726
21727 2006-04-28  Robert Schuster  <robertschuster@fsfe.org>
21728
21729         * javax/swing/text/Utilities.java:
21730         (getNextWord): Use codePointAt instead of charAt, added note, changed
21731         if-expression, added throwing of exception.
21732         (getPreviousWord): Use codePointAt instead of charAt.
21733
21734 2006-04-28  Jeroen Frijters  <jeroen@frijters.net>
21735
21736         * java/lang/StringBuilder.java
21737         (ensureCapacity, getChars, append(StringBuffer),
21738         append(char[],int,int), delete, replace, insert(int,char[],int,int),
21739         insert(int,String), insert(int,char), trimToSize): Replaced
21740         System.arraycopy calls with VMSystem.arraycopy.
21741
21742 2006-04-27  Tom Tromey  <tromey@redhat.com>
21743
21744         * java/awt/image/renderable/RenderableImageProducer.java
21745         (requestTopDownLeftRightResend): Implemented.
21746         (run): Likewise.
21747         (startProduction): Add new consumer.
21748
21749 2006-04-27  Sven de Marothy  <sven@physto.se>
21750
21751         * javax/swing/JLabel.java (setIcon): Repaint on setting the icon.
21752
21753 2006-04-27  Roman Kennke <kennke@aicas.com>
21754
21755         * java/awt/LightweightDispatcher.java
21756         Dispatch events only to targets that have a mouselistener
21757         attached. Changed to also handle null targets.
21758
21759 2006-04-27  Roman Kennke <kennke@aicas.com>
21760
21761         * NEWS: Added entries about accessibility support and L&F
21762         window decorations.
21763
21764 2006-04-27  Robert Schuster  <robertschuster@fsfe.org>
21765         
21766         * javax/swing/text/Utilities.java:
21767         (getTabbedTextOffset): Introduced width variable, rewritten the check
21768         which ends the loop.
21769         (getBreakLocation): Call getTabbedTextOffset with rounding argument set
21770         to false.
21771               
21772 2006-04-27  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
21773
21774         * examples/gnu/classpath/examples/swing/TreeDemo.java
21775         (createContent): Added root visibility and selection listener demos.
21776         * javax/swing/JTree.java (setRootVisible): If false, unselect
21777         the root node, if it is selected.
21778         * javax/swing/plaf/basic/BasicTreeUI.java 
21779         (TreeTraverseAction.actionPerformed): Do not select the root if it
21780         is not visible.
21781         * javax/swing/tree/DefaultTreeSelectionModel.java (removeSelectionPath,
21782         removeSelectionPaths): Reset lead to null if the current lead path is
21783         removed from selection.
21784         * javax/swing/tree/TreePath.java (getParentPath): Cache the parent path.
21785         * javax/swing/tree/FixedHeightLayoutCache.java (NodeRecord.getPath):
21786         Return the same path regardless is root visible or not. (update):
21787         Reduce the identation if the root is not visible.
21788         * javax/swing/tree/VariableHeightLayoutCache.java (NodeRecord.getPath):
21789         Return the same path regardless is root visible or not. (update):
21790         Reduce the identation if the root is not visible.
21791
21792 2006-04-26  Audrius Meskauskas  <AudriusA@Bioinformatics.org
21793
21794         * javax/swing/plaf/basic/BasicTreeUI.java
21795         (TreeAction.actionPerformed):Newly obtain the current lead
21796         path that must stay visible.
21797         (TreeTraverseAction.actionPerformed):Rewritten.
21798         * javax/swing/tree/FixedHeightLayoutCache.java (countRows):
21799         Do not treat root specially. (setModel): Assume the root node
21800         initially expanded.
21801         * javax/swing/tree/VariableHeightLayoutCache.java:(countRows):
21802         Do not treat root specially. (setModel): Assume the root node
21803         initially expanded.
21804
21805 2006-04-26  Chris Burdess  <dog@gnu.org>
21806
21807         Fixes PR 27290
21808         * javax/xml/datatype/DatatypeFactory.java: Use complete
21809           implementation resolution mechanism.
21810
21811 2006-04-26  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
21812
21813         * javax/swing/tree/DefaultTreeModel.java (nodeStructureChanged): 
21814         Implemented.
21815         * javax/swing/tree/DefaultTreeSelectionModel.java (toString):
21816         Removed NoImplementException form the implemented method.
21817
21818 2006-04-26  Tom Tromey  <tromey@redhat.com>
21819
21820         * javax/net/ssl/HttpsURLConnection.java (HttpsURLConnection): Doesn't
21821         throw IOException.
21822
21823 2006-04-26  David Gilbert  <david.gilbert@object-refinery.com>
21824
21825         * javax/swing/DefaultListSelectionModel.java
21826         (clone): Initialise empty listener list,
21827         (setSelectionMode): Throw IllegalArgumentException for bad input.
21828
21829 2006-04-26  David Gilbert  <david.gilbert@object-refinery.com>
21830
21831         * javax/swing/DefaultListSelectionModel.java
21832         (clearSelection): Clear the Bitset.
21833
21834 2006-04-26  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
21835
21836         * javax/swing/JTree.java (setLeadSelectionPath):
21837         Repaint the new and old lead pathes.
21838         * javax/swing/plaf/basic/BasicTreeUI.java
21839         (FocusHandler): Repaint the lead row when focus changes.
21840         (PropertyChangeHandler): Use existing constants, not the
21841         string literals for the property names.
21842         (TreeIncrementAction): Shrink the selection when moving
21843         from the selection edge to the selection anchor.
21844         (TreeSelectionHandler.valueChanged): Repaint the 
21845         new and old lead pathes.
21846         (paintRow): Treat row as focused only if it is the lead row.
21847         * javax/swing/tree/DefaultTreeCellRenderer.java
21848         (getTreeCellRendererComponent): Set the vertical alignment to CENTER.
21849         (paint): Rewritten.
21850         * javax/swing/tree/DefaultTreeSelectionModel.java
21851         (addSelectionPath): Event construction fix (old and new lead were
21852         always the same).
21853         (addSelectionPaths): Likewise.
21854         * javax/swing/JComponent.java (setOpaque): Explained.
21855         * javax/swing/tree/FixedHeightLayoutCache.java (getBounds):
21856         Accept null.
21857         * javax/swing/tree/VariableHeightLayoutCache.java (getBounds):
21858         Accept null.
21859
21860 2006-04-26  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
21861
21862         * examples/gnu/classpath/examples/swing/TreeDemo.java
21863         (createContent): Call DefaultTreeModel.reload(), not the
21864         tree.repaint(). Expand the parent of the added node.
21865         * javax/swing/JTree.java (constructor): Do not call
21866         UpdateUI (and documented why). (treeDidChange):
21867         Added comment, excluding the misinterpretation of this method.
21868         * javax/swing/plaf/basic/BasicTreeUI.java (componentListener,
21869         focusListener, keyListener, mouseListener, propertyListener,
21870         selectionModelPropertyChangeListener, treeModelListener,
21871         treeSelectionListener): Made package private.
21872         (PropertyChangeHandler): If the model changes, install the
21873         listener on it. (installUI): Assign treeModel.
21874         * javax/swing/tree/DefaultMutableTreeNode.java (add): Added
21875         comment, excluding misinterpretation.
21876         * javax/swing/tree/DefaultTreeModel.java (reload): Implemented.
21877         (reload(TreeNode)): Implemented.
21878
21879 2006-04-25  Tom Tromey  <tromey@redhat.com>
21880
21881         * javax/swing/JComboBox.java (AccessibleJComboBox): Now public.
21882         * javax/swing/tree/VariableHeightLayoutCache.java
21883         (getVisiblePathsFrom): Genericized.
21884         * javax/swing/tree/FixedHeightLayoutCache.java (getVisiblePathsFrom):
21885         Genericized.
21886
21887 2006-04-25  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
21888
21889         * javax/swing/plaf/basic/BasicTreeUI.java (MouseHandler.mousePressed):
21890         If clicked on the other row, cancel the current editing session.
21891
21892 2006-04-25  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
21893
21894         * javax/swing/plaf/basic/BasicTreeUI.java
21895         (NodeDimensionsHandler.getRowX): Add half of the icon width.
21896         (paintExpandControl): Always paint in one gap distance from the left
21897         border of the path bounds.
21898         (paintHorizontalPartOfLeg): Rewritted, taking the icon width
21899         into consideration.
21900         (paintVerticalPartOfLeg): Paint two gaps from the parent's bounds
21901         left edge.
21902
21903 2006-04-25  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
21904
21905         * javax/swing/plaf/basic/BasicTreeUI.java (paint): Rewritten.
21906
21907 2006-04-25  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
21908
21909         * gnu/javax/swing/text/html/parser/support/Parser.java (readAttributes):
21910         Allow slashes (/) in the unquoted parameter value. 
21911
21912 2006-04-25  Roman Kennke <kennke@aicas.com>
21913
21914         * gnu/java/awt/java2d/AbstractGraphics2D.java
21915         (drawString(String,int,int)): Implemented.
21916         (drawString(String,float,float)): Implemented.
21917         (drawString(AttributedCharacterIterator,int,int)): Implemented.
21918         (drawString(AttributedCharacterIterator,float,float)): Implemented.
21919         (getFontRenderContext): Implemented.
21920         (drawGlyphVector): Implemented.
21921         (getFont): Implemented.
21922         (setFont): Don't change font setting when null.
21923         (getFontMetrics): Implemented.
21924         (fillShape): Re-written to fill call rawFillShape() with a list
21925         of the edges instead of double arrays.
21926         (rawFillShape): Implemented using a polygon scanline conversion.
21927         (fillScanline): New helper method.
21928         (init): Initialize foreground black. Set font.
21929         * gnu/java/awt/java2d/PolyEdge.java: New file.
21930         * gnu/java/awt/java2d/PolyEdgeComparator.java: New file.
21931
21932 2006-04-25  David Gilbert  <david.gilbert@object-refinery.com>
21933
21934         * javax/swing/table/DefaultTableColumnModel.java: More API doc updates.
21935
21936 2006-04-25  David Gilbert  <david.gilbert@object-refinery.com>
21937
21938         * javax/swing/JTable.java: Fixed API doc tags,
21939         * javax/swing/text/AsyncBoxView.java: Likewise,
21940         * javax/swing/text/FlowView.java: Likewise.
21941
21942 2006-04-25  David Gilbert  <david.gilbert@object-refinery.com>
21943
21944         * javax/swing/table/DefaultTableColumnModel.java
21945         (moveColumn): Call fireColumnMoved() not fireColumnAdded.
21946
21947 2006-04-24  David Gilbert  <david.gilbert@object-refinery.com>
21948
21949         * javax/swing/table/DefaultTableColumnModel.java
21950         (DefaultTableColumnModel): Set selection model field and add 'this' as
21951         listener directly,
21952         (addColumn): Add 'this' as a PropertyChangeListener,
21953         (removeColumn): Remove column before firing event, and remove 'this' as
21954         a PropertyChangeListener,
21955         (setSelectionModel): Remove 'this' as a listener from old model, 
21956         (propertyChange): Check for 'width' property rather than
21957         TableColumn.COLUMN_WIDTH_PROPERTY.
21958
21959 2006-04-24  Chris Burdess  <dog@gnu.org>
21960
21961         Fixes PR 27262
21962         * gnu/xml/dom/DomDocument.java: getElementById returns user-defined ID
21963           attributes when no doctype exists.
21964
21965 2006-04-24  David Gilbert  <david.gilbert@object-refinery.com>
21966
21967         * javax/swing/event/ChangeEvent.java: Updated API docs,
21968         * javax/swing/event/ChangeListener.java: Likewise,
21969         * javax/swing/event/TableColumnModelEventListener.java: Likewise,
21970         * javax/swing/table/DefaultTableColumnModel.java: Likewise,
21971         * javax/swing/table/TableColumnModel.java: Likewise.
21972
21973 2006-04-24  Robert Schuster  <robertschuster@fsfe.org>
21974
21975         * javax/swing/text/Utilities.java:
21976         (getBreakLocation): Introduced shift variable, added notes.
21977         * javax/swing/text/WrappedPlainView.java:
21978         (calculateBreakPosition): Decrease allocation area bounds by insets,
21979         added early return when allocation area is empty, provide start offset
21980         as argument.
21981         (WrappedPlainView.WrappedLine): Change default value for numLines to 1.
21982         (WrappedPlainView.WrappedLine.paint): Added count variable, update
21983         numLines after loop.
21984         (WrappedPlainView.WrappedLine.determineNumLines): Added early return.
21985         (WrappedPlainView.WrappedLine.getPreferredSpan): Removed if-statement.
21986         (WrappedPlainView.WrappedLine.viewToModel): Changed note, removed
21987         decreasing variable end by one, changed break condition in while-loop,
21988         added check for return value.
21989         (WrappedPlainView.WrappedLine.updateDamage): Set numLines to one if
21990         allocation area is empty.
21991
21992 2006-04-24  Sven de Marothy  <sven@physto.se>
21993
21994         * gnu/java/awt/java2d/Segment.java: New file.
21995         * gnu/java/awt/java2d/CubicSegment.java: New file.
21996         * gnu/java/awt/java2d/QuadSegment.java: New file.
21997         * gnu/java/awt/java2d/LineSegment.java: New file.
21998         * java/awt/BasicStroke.java
21999         (start): New field.
22000         (end): New field.
22001         (createStrokedShape): Implemented.
22002         (solidStroke): New method.
22003         (dashedStroke): New method.
22004         (capEnds): New method.
22005         (convertPath): New method.
22006         (addSegments): New method.
22007         (capEnd): New method.
22008         (lineIntersection): New method.
22009         (joinSegments): New method.
22010
22011 2006-04-24  Roman Kennke <kennke@aicas.com>
22012
22013         * gnu/java/awt/java2d/AbstractGraphics2D.java: Made implements
22014         Cloneable.
22015         (font): New field.
22016         (clip): Changed clip to be in user space not in target space.
22017         (isOptimized): Added flag to allow optimized drawing for
22018         primitive operations (e.g. for Swing).
22019         (AbstractGraphics2D()): Set foreground in init() to avoid trouble
22020         with the paint context etc.
22021         (draw): Clip the shape before drawing it.
22022         (fill): Clip the shape before drawing it.
22023         (setComposite): Update isOptimized flag.
22024         (setPaint): Likewise.
22025         (setStroke): Likewise.
22026         (translate): Update the clip.
22027         (rotate): Likewise.
22028         (scale): Likewise.
22029         (shear): Likewise.
22030         (transform): Likewise.
22031         (setTransform): Likewise.
22032         (clip): Added optimization for rectangle clips.
22033         (create): Implemented.
22034         (clone): New method.
22035         (setFont): Basic implementation.
22036         (setClip): Update opimization flag.
22037         (drawLine): Added possible optimization.
22038         (fillRect): Added possible optimization.
22039         (fillShape): Implemented shape-filling by filling the flattended
22040         shape using polygon fill.
22041         (drawPixel): Added basic painting.
22042         (rawSetPixel): Changed signature to only take coordinates.
22043         (rawSetForeground): New abstract method.
22044         (getUserBounds): Implemented default for this method.
22045         (rawDrawLine): New method.
22046         (rawFillRect): New method.
22047         (rawFillPolygon): New method.
22048         (init): New method.
22049         (updateOptimization): New method.
22050         (computeIntersection): New method.
22051         (updateClip): New method.
22052         (clipShape): New method.
22053
22054 2006-04-23  Jeroen Frijters  <jeroen@frijters.net>
22055
22056         * java/lang/Package.java: Added compatibility constructor to ease
22057         VM interface migration.
22058
22059 2006-04-23  Jeroen Frijters  <jeroen@frijters.net>
22060
22061         * java/lang/Class.java (getEnumConstants): Implemented without
22062         delegating to VMClass.
22063         * vm/reference/java/lang/VMClass.java (getEnumConstants): Removed.
22064
22065 2006-04-23  Jeroen Frijters  <jeroen@frijters.net>
22066
22067         * java/lang/ClassLoader.java (definePackage): Added argument to
22068         Package constructor.
22069         * java/lang/Package.java (Package): Added ClassLoader argument.
22070         (loader): New field.
22071         (getDeclaredAnnotations): Implemented without help from VMPackage.
22072         * vm/reference/java/lang/VMClassLoader.java (static): Added argument
22073         to Package constructor.
22074         * vm/reference/java/lang/VMPackage.java: Removed.
22075
22076 2006-04-23  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
22077
22078         * examples/gnu/classpath/examples/swing/TreeDemo.java:
22079         (createContent): Added check box to swith between single and 
22080         multiple selection.
22081         * javax/swing/JTree.java (leadSelectionPath): Removed.
22082         (addSelectionInterval): Explained. (getLeadSelectionPath):
22083         Request the path from model. (getPathsBetweenRows): Explained.
22084         (setLeadSelectionPath): Set the path in model.
22085         * javax/swing/plaf/basic/BasicTreeUI.java 
22086         (TreeIncrementAction.actionPerformed, isMultiSelectionEvent, 
22087         isToggleSelectionEvent, selectPath, selectPathForEvent): Rewritten.
22088         (MouseHandler.mousePressed): Call selectPathForEvent.
22089
22090 2006-04-23  Roman Kennke <kennke@aicas.com>
22091
22092         * gnu/java/awt/java2d/AbstractGraphics2D.java: New file.
22093
22094 2006-04-22  Andrew John Hughes  <gnu_andrew@member.fsf.org>
22095
22096         * NEWS:
22097         Mention changes to VMProcess and VMSystem.
22098         * doc/vmintegration.texinfo:
22099         Change documentation on VMProcess and VMSystem.
22100         * include/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.h,
22101         * include/gnu_java_awt_peer_gtk_GdkFontPeer.h,
22102         * include/gnu_java_awt_peer_gtk_GdkGraphics.h,
22103         * include/gnu_java_awt_peer_gtk_GdkGraphics2D.h,
22104         * include/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.h,
22105         * include/gnu_java_awt_peer_gtk_GdkPixbufDecoder.h,
22106         * include/gnu_java_awt_peer_gtk_GdkRobotPeer.h,
22107         * include/gnu_java_awt_peer_gtk_GdkTextLayout.h,
22108         * include/gnu_java_awt_peer_gtk_GtkButtonPeer.h,
22109         * include/gnu_java_awt_peer_gtk_GtkCanvasPeer.h,
22110         * include/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.h,
22111         * include/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.h,
22112         * include/gnu_java_awt_peer_gtk_GtkCheckboxPeer.h,
22113         * include/gnu_java_awt_peer_gtk_GtkChoicePeer.h,
22114         * include/gnu_java_awt_peer_gtk_GtkClipboard.h,
22115         * include/gnu_java_awt_peer_gtk_GtkComponentPeer.h,
22116         * include/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.h,
22117         * include/gnu_java_awt_peer_gtk_GtkFileDialogPeer.h,
22118         * include/gnu_java_awt_peer_gtk_GtkFramePeer.h,
22119         * include/gnu_java_awt_peer_gtk_GtkGenericPeer.h,
22120         * include/gnu_java_awt_peer_gtk_GtkImage.h,
22121         * include/gnu_java_awt_peer_gtk_GtkLabelPeer.h,
22122         * include/gnu_java_awt_peer_gtk_GtkListPeer.h,
22123         * include/gnu_java_awt_peer_gtk_GtkMenuBarPeer.h,
22124         * include/gnu_java_awt_peer_gtk_GtkMenuComponentPeer.h,
22125         * include/gnu_java_awt_peer_gtk_GtkMenuItemPeer.h,
22126         * include/gnu_java_awt_peer_gtk_GtkMenuPeer.h,
22127         * include/gnu_java_awt_peer_gtk_GtkPanelPeer.h,
22128         * include/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.h,
22129         * include/gnu_java_awt_peer_gtk_GtkScrollPanePeer.h,
22130         * include/gnu_java_awt_peer_gtk_GtkScrollbarPeer.h,
22131         * include/gnu_java_awt_peer_gtk_GtkSelection.h,
22132         * include/gnu_java_awt_peer_gtk_GtkTextAreaPeer.h,
22133         * include/gnu_java_awt_peer_gtk_GtkTextFieldPeer.h,
22134         * include/gnu_java_awt_peer_gtk_GtkToolkit.h,
22135         * include/gnu_java_awt_peer_gtk_GtkWindowPeer.h,
22136         * include/gnu_java_awt_peer_qt_MainQtThread.h,
22137         * include/gnu_java_awt_peer_qt_QMatrix.h,
22138         * include/gnu_java_awt_peer_qt_QPainterPath.h,
22139         * include/gnu_java_awt_peer_qt_QPen.h,
22140         * include/gnu_java_awt_peer_qt_QtAudioClip.h,
22141         * include/gnu_java_awt_peer_qt_QtButtonPeer.h,
22142         * include/gnu_java_awt_peer_qt_QtCanvasPeer.h,
22143         * include/gnu_java_awt_peer_qt_QtCheckboxPeer.h,
22144         * include/gnu_java_awt_peer_qt_QtChoicePeer.h,
22145         * include/gnu_java_awt_peer_qt_QtComponentPeer.h,
22146         * include/gnu_java_awt_peer_qt_QtContainerPeer.h,
22147         * include/gnu_java_awt_peer_qt_QtDialogPeer.h,
22148         * include/gnu_java_awt_peer_qt_QtEmbeddedWindowPeer.h,
22149         * include/gnu_java_awt_peer_qt_QtFileDialogPeer.h,
22150         * include/gnu_java_awt_peer_qt_QtFontMetrics.h,
22151         * include/gnu_java_awt_peer_qt_QtFontPeer.h,
22152         * include/gnu_java_awt_peer_qt_QtFramePeer.h,
22153         * include/gnu_java_awt_peer_qt_QtGraphics.h,
22154         * include/gnu_java_awt_peer_qt_QtGraphicsEnvironment.h,
22155         * include/gnu_java_awt_peer_qt_QtImage.h,
22156         * include/gnu_java_awt_peer_qt_QtLabelPeer.h,
22157         * include/gnu_java_awt_peer_qt_QtListPeer.h,
22158         * include/gnu_java_awt_peer_qt_QtMenuBarPeer.h,
22159         * include/gnu_java_awt_peer_qt_QtMenuComponentPeer.h,
22160         * include/gnu_java_awt_peer_qt_QtMenuItemPeer.h,
22161         * include/gnu_java_awt_peer_qt_QtMenuPeer.h,
22162         * include/gnu_java_awt_peer_qt_QtPanelPeer.h,
22163         * include/gnu_java_awt_peer_qt_QtPopupMenuPeer.h,
22164         * include/gnu_java_awt_peer_qt_QtScreenDevice.h,
22165         * include/gnu_java_awt_peer_qt_QtScrollPanePeer.h,
22166         * include/gnu_java_awt_peer_qt_QtScrollbarPeer.h,
22167         * include/gnu_java_awt_peer_qt_QtTextAreaPeer.h,
22168         * include/gnu_java_awt_peer_qt_QtTextFieldPeer.h,
22169         * include/gnu_java_awt_peer_qt_QtToolkit.h,
22170         * include/gnu_java_awt_peer_qt_QtVolatileImage.h,
22171         * include/gnu_java_awt_peer_qt_QtWindowPeer.h,
22172         * include/gnu_javax_sound_midi_alsa_AlsaMidiDeviceProvider.h,
22173         * include/gnu_javax_sound_midi_alsa_AlsaMidiSequencerDevice.h,
22174         * include/gnu_javax_sound_midi_alsa_AlsaPortDevice.h,
22175         * include/gnu_javax_sound_midi_dssi_DSSIMidiDeviceProvider.h,
22176         * include/gnu_javax_sound_midi_dssi_DSSISynthesizer.h,
22177         * include/gnu_xml_libxmlj_dom_GnomeAttr.h,
22178         * include/gnu_xml_libxmlj_dom_GnomeDocument.h,
22179         * include/gnu_xml_libxmlj_dom_GnomeDocumentBuilder.h,
22180         * include/gnu_xml_libxmlj_dom_GnomeDocumentType.h,
22181         * include/gnu_xml_libxmlj_dom_GnomeElement.h,
22182         * include/gnu_xml_libxmlj_dom_GnomeEntity.h,
22183         * include/gnu_xml_libxmlj_dom_GnomeNamedNodeMap.h,
22184         * include/gnu_xml_libxmlj_dom_GnomeNode.h,
22185         * include/gnu_xml_libxmlj_dom_GnomeNodeList.h,
22186         * include/gnu_xml_libxmlj_dom_GnomeNotation.h,
22187         * include/gnu_xml_libxmlj_dom_GnomeProcessingInstruction.h,
22188         * include/gnu_xml_libxmlj_dom_GnomeTypeInfo.h,
22189         * include/gnu_xml_libxmlj_dom_GnomeXPathExpression.h,
22190         * include/gnu_xml_libxmlj_dom_GnomeXPathNSResolver.h,
22191         * include/gnu_xml_libxmlj_dom_GnomeXPathNodeList.h,
22192         * include/gnu_xml_libxmlj_dom_GnomeXPathResult.h,
22193         * include/gnu_xml_libxmlj_sax_GnomeLocator.h,
22194         * include/gnu_xml_libxmlj_sax_GnomeXMLReader.h,
22195         * include/gnu_xml_libxmlj_transform_GnomeTransformer.h,
22196         * include/gnu_xml_libxmlj_transform_GnomeTransformerFactory.h,
22197         * include/java_lang_VMProcess.h,
22198         * include/java_lang_VMSystem.h:
22199         Regenerated with GCJ 4.1.
22200
22201 2006-04-22  Casey Marshall  <csm@gnu.org>
22202
22203         Fixes PR classpath/27228.
22204         * gnu/javax/crypto/jce/sig/DHKeyPairGeneratorSpi.java
22205         (initialize): also accept `DHParameterSpec.'
22206         * gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java (setup):
22207         handle a passed-in `DHParameterSpec' properly.
22208         (generate): don't check if the random exponent is less than `q -
22209         1' if no `q' was specified.
22210
22211 2006-04-22  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
22212
22213         * javax/swing/JTree.java (TreeSelectionRedirector.valueChanged):
22214         Only repaint the patches, speficied in the passed event.
22215         (expandPath): Do nothing if the path is already expanded.
22216         (scrollPathToVisible): Only scroll to visible, do nothing else.
22217         * javax/swing/plaf/basic/BasicTreeUI.java 
22218         (TreeExpansionHandler.treeColapsed): Revalidate and repaint.
22219         (TreeExpansionHandler.treeExpanded): Revalidate and repaint.
22220         (TreeTraverseAction.actionPerformed): Collapse the node on the
22221         action "selectParent". (selectPath): Rewritten.
22222         * javax/swing/tree/DefaultTreeSelectionModel.java (clearSelection):
22223         Fire change event. (notifyPathChange): Implemented. (setSelectionPath):
22224         Do not reuse selection array.
22225         * javax/swing/tree/FixedHeightLayoutCache.java (getRowForPath):
22226         Accept null.
22227         * javax/swing/tree/VariableHeightLayoutCache.java (getRowForPath):
22228         Accept null.
22229
22230 2006-04-22  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
22231
22232         * javax/swing/tree/DefaultTreeSelectionModel.java
22233         (addSelectionPath): If the path cannot be added, set it.
22234         (addSelectionPaths): Call insureRowContinuity.
22235         (arePathsContiguous): Implemented.
22236         (canPathBeAdded): New private method.
22237         (canPathsBeAdded): Implemented.
22238         (canPathsBeRemoved): Implemented.
22239         (getPath): New private method.
22240         (insureRowContinuity): Implemented.
22241         (removeSelectionPath): Call insureRowContinuity.
22242         (removeSelectionPaths): Call insureRowContinuity.
22243         (resetRowSelection): Removed stub marking, not used in implementation 
22244         (nothing to do there).
22245         (selectOne): New private method.
22246         (setSelectionMode) Call insureRowContinuity.
22247         (setSelectionPaths) Remove the current selection by clearing it.
22248
22249 2006-04-22  Carsten Neumann  <cn-develop@gmx.net>
22250
22251         * javax/sql/Array.java: Fixed eclipse API doc warnings, named method
22252         parameters consistendly, documented some methods.
22253         * java/sql/Blob.java: Likewise.
22254         * java/sql/CallableStatement.java: Likewise.
22255         * java/sql/Clob.java: Likewise.
22256         * java/sql/Connection.java: Likewise.
22257         * java/sql/DatabaseMetaData.java: Likewise.
22258         * java/sql/Date.java: Likewise.
22259         * java/sql/Driver.java: Likewise.
22260         * java/sql/PreparedStatement.java: Likewise.
22261         * java/sql/ResultSet.java: Likewise.
22262         * java/sql/ResultSetMetaData.java: Likewise.
22263         * java/sql/SQLData.java: Likewise.
22264         * java/sql/SQLOutput.java: Likewise.
22265         * java/sql/SQLWarning.java: Likewise.
22266         * java/sql/Statement.java: Likewise.
22267         * java/sql/Time.java: Likewise.
22268         * java/sql/Timestamp.java: Likewise.
22269
22270 2006-04-21  Jeroen Frijters  <jeroen@frijters.net>
22271
22272         * java/lang/reflect/AccessibleObject.java:
22273         Implemented AnnotatedElement.
22274         (getAnnotation, getAnnotations, getDeclaredAnnotations,
22275         isAnnotationPresent): New methods.
22276
22277 2006-04-21  Tom Tromey  <tromey@redhat.com>
22278
22279         PR classpath/27163:
22280         * gnu/java/net/protocol/ftp/FTPConnection.java
22281         (changeWorkingDirectory): Do nothing if path is empty.
22282
22283 2006-04-21  Tom Tromey  <tromey@redhat.com>
22284
22285         PR libgcj/27231:
22286         * gnu/java/net/protocol/http/HTTPURLConnection.java (connect): Handle
22287         case where no '/' appears in 'location'.
22288
22289 2006-04-21  Tom Tromey  <tromey@redhat.com>
22290
22291         * java/security/Security.java (<clinit>): Add all default providers.
22292         * resource/java/security/classpath.security: Added comment.
22293
22294 2006-04-21  David Gilbert  <david.gilbert@object-refinery.com>
22295
22296         * javax/swing/SpinnerDateModel.java: Updated API docs all over,
22297         * javax/swing/SpinnerNumberModel.java: Likewise.
22298
22299 2006-04-21  David Gilbert  <david.gilbert@object-refinery.com>
22300
22301         * javax/swing/SpinnerDateModel.java
22302         (SpinnerDateModel(Date, Comparable, Comparable, int)): Fix argument
22303         checking to call compareTo() on start and end.
22304
22305 2006-04-21  David Gilbert  <david.gilbert@object-refinery.com>
22306
22307         * javax/swing/border/AbstractBorder.java: API doc updates,
22308         * javax/swing/border/BevelBorder.java: Likewise,
22309         * javax/swing/border/CompoundBorder.java: Likewise,
22310         * javax/swing/border/EtchedBorder.java: Likewise,
22311         * javax/swing/border/LineBorder.java: Likewise,
22312         * javax/swing/border/MatteBorder.java: Likewise,
22313         * javax/swing/border/TitledBorder.java: Likewise.
22314
22315 2006-04-21  David Gilbert  <david.gilbert@object-refinery.com>
22316
22317         * gnu/javax/crypto/cipher/Anubis.java:
22318         (selfTest): Use Boolean.valueOf() to avoid creating a new Boolean
22319         instance,
22320         * gnu/javax/crypto/cipher/Blowfish.java:
22321         (selfTest): Likewise,
22322         * gnu/javax/crypto/cipher/Cast5.java:
22323         (selfTest): Likewise,
22324         * gnu/javax/crypto/cipher/Khazad.java:
22325         (selfTest): Likewise,
22326         * gnu/javax/crypto/cipher/Rijndael.java:
22327         (selfTest): Likewise,
22328         * gnu/javax/crypto/cipher/Serpent.java:
22329         (selfTest): Likewise,
22330         * gnu/javax/crypto/cipher/Square.java:
22331         (selfTest): Likewise,
22332         * gnu/javax/crypto/cipher/Twofish.java:
22333         (selfTest): Likewise,
22334         * gnu/javax/crypto/mac/UMac32.java:
22335         (selfTest): Likewise,
22336         * gnu/javax/crypto/prng/CSPRNG.java:
22337         (getSystemInstance): Likewise.
22338
22339 2006-04-21  David Gilbert  <david.gilbert@object-refinery.com>
22340
22341         * gnu/java/security/hash/Haval.java:
22342         (selfTest): Use Boolean.valueOf() to avoid creating new Boolean 
22343         instance,
22344         * gnu/java/security/hash/MD2.java:
22345         (selfTest): Likewise,
22346         * gnu/java/security/hash/MD4.java:
22347         (selfTest): Likewise,
22348         * gnu/java/security/hash/MD5.java:
22349         (selfTest): Likewise,
22350         * gnu/java/security/hash/RipeMD128.java:
22351         (selfTest): Likewise,
22352         * gnu/java/security/hash/RipeMD160.java:
22353         (selfTest): Likewise,
22354         * gnu/java/security/hash/Sha160.java:
22355         (selfTest): Likewise,
22356         * gnu/java/security/hash/Sha256.java:
22357         (selfTest): Likewise,
22358         * gnu/java/security/hash/Sha384.java:
22359         (selfTest): Likewise,
22360         * gnu/java/security/hash/Sha512.java:
22361         (selfTest): Likewise,
22362         * gnu/java/security/hash/Tiger.java:
22363         (selfTest): Likewise,
22364         * gnu/java/security/hash/Whirlpool.java:
22365         (selfTest): Likewise.
22366
22367 2006-04-21  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
22368
22369         * javax/swing/plaf/basic/BasicTreeUI.java 
22370         (PropertyChangeHandler.propertyChange): Set the row mapper
22371         for the selection model.
22372         * javax/swing/tree/AbstractLayoutCache.java 
22373         (NodeDimensions.getNodeDimensions): Explained.
22374         (getPreferredHeight, getPreferredWidth, isFixedRowHeight):
22375         Implemented. (setRowHeight): Invalidate sizes. 
22376         * javax/swing/tree/DefaultTreeSelectionModel.java
22377         (addSelectionPath, addSelectionPaths): Update lead row.
22378         (removeSelectionPath, removeSelectionPaths): Do nothing if
22379         selection is empty.
22380         (clone): Only clone list selection model if it is not null.
22381         (getRow): New method. (isRowSelected, getLeadSelectionRow, 
22382         setSelectionPath, setSelectionPaths, toString): Implemented.
22383         * javax/swing/tree/FixedHeightLayoutCache.java (NodeRecord.getBounds):
22384         Pass the empty rectangle. (isFixedRowHeight): New method.
22385         * javax/swing/tree/VariableHeightLayoutCache.java
22386         (NodeRecord.getBounds): Pass the empty rectangle.
22387         
22388 2006-04-21  David Gilbert  <david.gilbert@object-refinery.com>
22389
22390         * gnu/java/security/Properties.java
22391         (init): Use Boolean.valueOf() to avoid creating new Boolean instances.
22392
22393 2006-04-21  David Gilbert  <david.gilbert@object-refinery.com>
22394
22395         * gnu/classpath/jdwp/util/Value.java
22396         (getUntaggedObj(ByteBuffer, Class)): Use Boolean.valueOf() to avoid 
22397         creating new Boolean instances.
22398
22399 2006-04-20  Mark Wielaard  <mark@klomp.org>
22400
22401         * java/awt/Toolkit.java (getDefaultToolkit): Get classloader in
22402         PrivilegedAction. Access awt.toolkit through SystemProperties.
22403
22404 2006-04-20  David Gilbert  <david.gilbert@object-refinery.com>
22405
22406         * javax/swing/ActionMap.java: Removed unused imports,
22407         * javax/swing/DefaultListSelectionModel.java
22408         (clearSelection): Removed unused label,
22409         * javax/swing/JScrollPane.java: Removed unused imports,
22410         * javax/swing/UIManager.java: Likewise,
22411         * javax/swing/table/DefaultTableCellRenderer.java: Likewise.
22412
22413 2006-04-20  David Gilbert  <david.gilbert@object-refinery.com>
22414
22415         * javax/swing/plaf/basic/BasicSpinnerUI.java: Removed unused imports,
22416         * javax/swing/plaf/basic/BasicTextAreaUI.java: Likewise,
22417         * javax/swing/plaf/basic/BasicTextFieldUI.java: Likewise,
22418         * javax/swing/plaf/basic/BasicTextUI.java: Likewise,
22419         * javax/swing/plaf/basic/BasicTreeUI.java: Likewise.
22420
22421 2006-04-20  David Gilbert  <david.gilbert@object-refinery.com>
22422
22423         * java/sql/Array.java: Fixed Eclipse API doc warnings,
22424         * java/sql/Blob.java: Likewise,
22425         * java/sql/CallableStatement.java: Likewise,
22426         * java/sql/Clob.java: Likewise,
22427         * java/sql/Connection.java: Likewise,
22428         * java/sql/DatabaseMetaData.java: Likewise,
22429         * java/sql/Date.java: Likewise,
22430         * java/sql/Driver.java: Likewise,
22431         * java/sql/PreparedStatement.java: Likewise,
22432         * java/sql/ResultSet.java: Likewise,
22433         * java/sql/ResultSetMetaData.java: Likewise,
22434         * java/sql/SQLData.java: Likewise,
22435         * java/sql/SQLOutput.java: Likewise,
22436         * java/sql/SQLWarning.java: Likewise,
22437         * java/sql/Statement.java: Likewise,
22438         * java/sql/Time.java: Likewise,
22439         * java/sql/Timestamp.java: Likewise.
22440
22441 2006-04-20  David Gilbert  <david.gilbert@object-refinery.com>
22442
22443         * java/sql/DriverManager.java
22444         (setLoginTimeout): Use incoming argument,
22445         (setLogStream): Likewise,
22446         (println): Fix API doc comment.
22447
22448 2006-04-20  David Gilbert  <david.gilbert@object-refinery.com>
22449
22450         * javax/swing/JMenuItem.java
22451         (paramString): Updated API docs,
22452         (getAccessibleContext): Added API docs,
22453         (AccessibleJMenuItem.stateChanged): Marked as stub,
22454         (AccessibleJMenuItem.getAccessibleRole): Added API docs,
22455         * javax/swing/JSlider.java
22456         (paramString): Fix for API docs,
22457         * javax/swing/JToolTip.java
22458         (getAccessibleContext): Fix for API docs.
22459
22460 2006-04-20  David Gilbert  <david.gilbert@object-refinery.com>
22461
22462         * javax/swing/JRadioButtonMenuItem.java
22463         (paramString): Reimplemented,
22464         (getAccessibleContext): API docs added,
22465         (AccessibleJRadioButtonMenuItem.AccessibleJRadioButtonMenuItem()): 
22466         Likewise,
22467         (AccessibleJRadioButtonMenuItem.getAccessibleRole): Likewise.
22468
22469 2006-04-20  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
22470
22471         * javax/swing/plaf/basic/BasicTreeUI.java
22472         (finish): Invalidate path bounds.
22473         (getMaxHeight): Set the row height to the layout cache.
22474         (startEditing): Do not request to recalculated 
22475         row height and preferred size.
22476         * javax/swing/tree/DefaultTreeCellEditor.java
22477         (ICON_TEXT_GAP, ICON_TREE_GAP): Removed, replacing
22478         with 0.
22479         * javax/swing/tree/FixedHeightLayoutCache.java:
22480         Rewritten.
22481
22482 2006-04-20  David Gilbert  <david.gilbert@object-refinery.com>
22483
22484         * javax/swing/JDesktopPane.java
22485         (paramString): Reimplemented,
22486         plus API doc updates in AccessibleJDesktopPane.
22487
22488 2006-04-20  David Gilbert  <david.gilbert@object-refinery.com>
22489
22490         * javax/swing/ImageIcon.java:
22491         (AccessibleImageIcon.getAccessibleStateSet): Return null always,
22492         (AccessibleImageIcon.getLocale): Declared exception and always return 
22493         null,
22494         (getAccessibleContext): Updated API docs,
22495         plus updated API docs all over AccessibleImageIcon.
22496
22497 2006-04-20  Roman Kennke  <kennke@aicas.com>
22498
22499         PR 27196
22500         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
22501         (paintText): Fetch the ascent only once. Add the ascent to
22502         the text rect also when tabs are disabled.
22503
22504 2006-04-20  Christian Thalinger  <twisti@complang.tuwien.ac.at>
22505
22506         * java/util/Locale.java (defaultLocale): Set to en_US per
22507         default and use user.country but prioritize user.region if
22508         defined.
22509         (getLocale(String language, String country)): Renamed region to
22510         country.
22511         (getLocale(String language, String region, String variant)):
22512         Likewise.
22513         (getAvailableLocales): Likewise.
22514
22515 2006-04-20  Roman Kennke  <kennke@aicas.com>
22516
22517         PR 27222
22518         * javax/swing/JList.java
22519         (JList()): Call init() with DefaultListModel instance.
22520         (JList(Object[])): Call init() with null.
22521         (JList(Vector)): Call init() with null.
22522         (JList(ListModel)): Call init() with model.
22523         (init): Changed to take the model as argument. Don't call
22524         setter methods and initialize stuff directly instead.
22525         (getCellBounds): Check if UI is null.
22526
22527 2006-04-20  Robert Schuster  <robertschuster@fsfe.org>
22528
22529         * javax/swing/text/WrappedPlainView.java: Initialize
22530         WrappedLine.numLines with -1.
22531         (WrappedPlainView.WrappedLine.getPreferredSpan): Check whether
22532         numLines is -1 and reculcalate the value appropriately.
22533         (WrappedPlainView.WrappedLine.updateDamage): Set numLines to -1 if
22534         allocation area is empty.
22535
22536 2006-04-20  David Gilbert  <david.gilbert@object-refinery.com>
22537
22538         * javax/swing/JTabbedPane.java
22539         (AccessibleJTabbedPane.stateChanged): Marked as stub,
22540         (AccessibleJTabbedPane.getAccessibleRole): Likewise,
22541         (AccessibleJTabbedPane.getAccessibleChildrenCount): Likewise,
22542         (AccessibleJTabbedPane.getAccessibleSelection): Likewise,
22543         (AccessibleJTabbedPane.getAccessibleAt): Likewise,
22544         (AccessibleJTabbedPane.getAccessibleSelectionCount): Likewise,
22545         (AccessibleJTabbedPane.getAccessibleSelection(int)): Likewise,
22546         (AccessibleJTabbedPane.isAccessibleChildSelected): Likewise,
22547         (AccessibleJTabbedPane.addAccessibleSelection): Likewise,
22548         (AccessibleJTabbedPane.removeAccessibleSelection): Likewise,
22549         (AccessibleJTabbedPane.clearAccessibleSelection): Likewise,
22550         (AccessibleJTabbedPane.selectAllAccessibleSelection): Likewise,
22551         (Page.getAccessibleStateSet): Likewise,
22552         (Page.getAccessibleIndexInParent): Likewise.
22553
22554 2006-04-19  David Gilbert  <david.gilbert@object-refinery.com>
22555
22556         * javax/swing/JProgressBar.java
22557         (paramString): Reimplemented.
22558
22559 2006-04-19  David Gilbert  <david.gilbert@object-refinery.com>
22560
22561         * javax/swing/JButton.java: Updated API docs all over.
22562
22563 2006-04-19  Roman Kennke  <kennke@aicas.com>
22564
22565         * java/awt/Toolkit.java
22566         (getDefaultToolkit): Use system classloader to load the
22567         toolkit.
22568
22569 2006-04-19  Robert Schuster  <robertschuster@fsfe.org>
22570
22571         * javax/swing/text/DefaultCaret.java:
22572         (DefaultCaret.Bypass.setDot): Call DefaultCaret.setDotImpl
22573         instead of DefaultCaret.setDot.
22574
22575 2006-04-19  Roman Kennke  <kennke@aicas.com>
22576
22577         * native/jni/java-net/local.c
22578         (local_read): Handle EINTR correctly.
22579         (local_write): Likewise.
22580
22581 2006-04-19  Riccardo Mottola  <multix@gmail.com>
22582
22583         PR classpath/27062, PR classpath/25650:
22584         * native/fdlibm/ieeefp.h: Check for _POWER and _IBMR2.
22585
22586 2006-04-19  Tom Tromey  <tromey@redhat.com>
22587
22588         * java/text/SimpleDateFormat.java (formatWithAttribute): Take absolute
22589         value of 'pureMinutes'.  PR classpath/27189.
22590
22591 2006-04-19  Olivier Jolly  <olivier.jolly@pcedev.com>
22592
22593    * vm/reference/java/lang/VMClassLoader.java (getBootPackages): Loads
22594    boot packages list from the META-INF/INDEX.LIST file if it exists. 
22595
22596 2006-04-19  Raif S. Naffah  <raif@swiftdsl.com.au>
22597
22598         Suggested by Stephen White <stephen-gnu-crypto@randomstuff.org.uk>
22599         * gnu/javax/crypto/prng/IPBE.java: Updated documentation.
22600         (ITERATION_COUNT): Removed modifiers.
22601         (PASSWORD): Likewise.
22602         (SALT): Likewise.
22603         (PASSWORD_ENCODING): New property.
22604         (DEFAULT_PASSWORD_ENCODING): New constant.
22605         * gnu/javax/crypto/prng/PBKDF2.java (setup): Check for MAC's raw key
22606         material (bytes) before a password (chars).
22607
22608 2006-04-19  David Gilbert  <david.gilbert@object-refinery.com>
22609
22610         * javax/swing/JMenu.java
22611         (getAccessibleChildrenCount): Marked as stub,
22612         (getAccessibleChild): Likewise,
22613         (getAccessibleSelection): Likewise,
22614         (getAccessibleSelection(int)): Likewise,
22615         (isAccessibleChildSelected): Likewise,
22616         (getAccessibleSelectionCount): Likewise,
22617         (addAccessibleSelection): Likewise,
22618         (removeAccessibleSelection): Likewise,
22619         (clearAccessibleSelection): Likewise,
22620         (selectAllAccessibleSelection): Likewise.
22621
22622 2006-04-19  David Gilbert  <david.gilbert@object-refinery.com>
22623
22624         * javax/swing/JSplitPane.java
22625         (getAccessibleContext): Added API docs,
22626         (paramString): Reimplemented,
22627         (setOrientation): Updated API docs,
22628         (setResizeWeight): Added argument checking and event notification.
22629
22630 2006-04-18  Casey Marshall  <csm@gnu.org>
22631
22632         Fixes PR classpath/25673        
22633         * java/security/KeyStore.java (getDefaultType): return "gkr" if no
22634         property is set. Update JavaDoc to reflect this.
22635
22636 2006-04-18  Lillian Angel  <langel@redhat.com>
22637
22638         * gnu/xml/dom/DomDocument.java
22639         (setCheckingCharacters): New function used to set
22640         checkingCharacters flag.
22641         * gnu/xml/dom/html2/DomHTMLParser.java
22642         (parseDocument): Added call to set checkingCharacters flag
22643         to false.
22644
22645 2006-04-18  Lillian Angel  <langel@redhat.com>
22646
22647         * gnu/xml/dom/DomDocument.java
22648         (checkNCName): Reverted last patch. Added check for colon at
22649         last position back in.
22650
22651 2006-04-18  Robert Schuster  <robertschuster@fsfe.org>
22652
22653         * examples/gnu/classpath/examples/swing/NavigationFilterDemo.java:
22654         New file.
22655         * examples/gnu/classpath/examples/swing/Demo.java:
22656         (mkMenuBar): Added NavigationFilter demo.
22657
22658 2006-04-18  David Gilbert  <david.gilbert@object-refinery.com>
22659
22660         * javax/swing/JSeparator.java: Updated API docs all over, plus
22661         (setOrientation): Fire PropertyChangeEvent,
22662         (paramString): Reimplemented.
22663
22664 2006-04-18  Robert Schuster  <robertschuster@fsfe.org>
22665
22666         * javax/swing/plaf/basic/BasicTextUI.java:
22667         (getNextVisualPositionFrom): Implemented.
22668
22669 2006-04-18  David Gilbert  <david.gilbert@object-refinery.com>
22670
22671         * javax/swing/JPanel.java: Updated API docs all over, plus
22672         (JPanel(LayoutManager, boolean)): Pass on null layout, set 
22673         double-buffer flag.
22674
22675 2006-04-18  Robert Schuster  <robertschuster@fsfe.org>
22676
22677         * examples/gnu/classpath/examples/swing/DocumentFilterDemo.java:
22678         New file.
22679         * examples/gnu/classpath/examples/swing/Demo.java:
22680         (mkMenuBar): Added DocumenFilter demo.
22681
22682 2006-04-18  Tom Tromey  <tromey@redhat.com>
22683
22684         * doc/www.gnu.org/include/layout.wml: Add FMJ.
22685
22686 2006-04-18  Mark Wielaard  <mark@klomp.org>
22687
22688         Reported by John Sullivan (johns@fsf.org)
22689         * doc/www.gnu.org/stories.wml: Update JikesRVM location.
22690
22691 2006-04-18  David Gilbert  <david.gilbert@object-refinery.com>
22692
22693         * javax/swing/JInternalFrame.java
22694         (JDesktopIcon.getAccessibleContext): Added API docs,
22695         (getDefaultCloseOperation): Likewise,
22696         (paramString): Added 'title' attribute,
22697         (setDefaultCloseOperation): Added API docs.
22698
22699 2006-04-18  David Gilbert  <david.gilbert@object-refinery.com>
22700
22701         * javax/swing/JSlider.java
22702         (paramString): Reimplemented.
22703
22704 2006-04-18  David Gilbert  <david.gilbert@object-refinery.com>
22705
22706         * javax/swing/JComboBox.java
22707         (paramString): Reimplemented,
22708         (getAccessibleContext): Added API docs,
22709         (AccessibleJComboBox.getAccessibleRole): Likewise.
22710
22711 2006-04-18  Roman Kennke  <kennke@aicas.com>
22712
22713         * javax/swing/RepaintManager.java
22714         (dirtyComponentsWork): New field.
22715         (ComponentComparator): Use dirtyComponentsWork instead of
22716         dirtyComponents.
22717         (RepaintManager): Initialize new field.
22718         (paintDirtyRegions): Swap dirtyComponents with dirtyComponentsWork
22719         and work on the copy.
22720
22721 2006-04-18  Roman Kennke  <kennke@aicas.com>
22722
22723         * gnu/java/awt/peer/swing/SwingComponentPeer.java
22724         (setBounds): Call reshape().
22725         * gnu/java/awt/peer/swing/SwingContainerPeer.java
22726         (SwingContainerPeer): Changed argument to be a Component
22727         instead a Container.
22728         (getInsets): Call insets().
22729         (handleMouseEvent): Added null check to avoid NPE.
22730         (handleMouseMotionEvent): Added null check to avoid NPE.
22731         
22732 2006-04-18  Roman Kennke  <kennke@aicas.com>
22733
22734         PR 27185
22735         * javax/swing/JComponent.java
22736         (paintChildrenWithOverlap): When one child is not opaque, propagate
22737         the dirty rectangles to the next child.
22738         (paintChildrenOptimized): Removed unnecessary 'optimization'.
22739         This actually didn't work right and probably gained nothing.
22740
22741 2006-04-18  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
22742
22743         * javax/swing/JTable.java (getCallRect): Do not cache rectangles.
22744         (moveToCellBeingEdited): Do not clone the rectangle here.
22745
22746 2006-04-18  David Gilbert  <david.gilbert@object-refinery.com>
22747
22748         * javax/swing/plaf/basic/BasicSliderUI.java
22749         (getActionMap): Fixed lookup key,
22750         (createActionMap): Modified actions to fetch slider/ui from the event
22751         source.
22752
22753 2006-04-17  Andrew John Hughes  <gnu_andrew@member.fsf.org>
22754
22755         * java/lang/Enum.java: Documented.
22756
22757 2006-04-17  Andrew John Hughes  <gnu_andrew@member.fsf.org>
22758
22759         * gnu/java/lang/InstrumentationImpl.java:
22760         Moved from java.lang.
22761         * java/lang/InstrumentationImpl.java:
22762         Removed.
22763         * vm/reference/gnu/java/lang/VMInstrumentationImpl.java:
22764         Moved from java.lang.
22765         * vm/reference/java/lang/VMClassLoader.java:
22766         Corrected reference to InstrumentationImpl.
22767         * vm/reference/java/lang/VMInstrumentationImpl.java:
22768         Removed.
22769         
22770 2006-04-17  Andrew John Hughes  <gnu_andrew@member.fsf.org>
22771
22772         * java/lang/annotation/Annotation.java:
22773         Documented.
22774         
22775 2006-04-17  David Gilbert  <david.gilbert@object-refinery.com>
22776
22777         * javax/swing/JToolBar.java
22778         (AccessibleJToolBar.AccessibleJToolBar()): Updated API docs,
22779         (AccessibleJToolBar.getAccessibleStateSet): Implemented,
22780         (AccessibleJToolBar.getAccessibleRole): Updated API docs,
22781         (getAccessibleContext): Likewise.
22782
22783 2006-04-17  Dalibor Topic  <robilad@kaffe.org>
22784
22785         * configure.ac:
22786         Added CLASSPATH_CONVENIENCE substitution for convenience library LDFLAGS.
22787
22788         * native/fdlibm/Makefile.am,
22789         native/jni/classpath/Makefile.am:
22790         Don't use -module and -version-info for convenience libraries LDFLAGS.
22791         Fixes libtool warnings.
22792
22793 2006-04-17  David Gilbert  <david.gilbert@object-refinery.com>
22794
22795         * javax/swing/plaf/basic/BasicComboBoxUI.java:
22796         (installKeyboardActions): Marked as stub,
22797         (uninstallKeyboardActions): Likewise,
22798         * javax/swing/plaf/basic/BasicComboPopup.java:
22799         (installKeyboardActions): Marked as stub,
22800         (uninstallKeyboardActions): Likewise,
22801         * javax/swing/plaf/basic/BasicInternalFrameUI.java:
22802         (installKeyboardActions): Marked as stub,
22803         (uninstallKeyboardActions): Likewise,
22804         * javax/swing/plaf/basic/BasicLabelUI.java:
22805         (installKeyboardActions): Marked as stub,
22806         (uninstallKeyboardActions): Likewise,
22807         * javax/swing/plaf/basic/BasicListUI.java:
22808         (installKeyboardActions): Marked as stub,
22809         (uninstallKeyboardActions): Likewise,
22810         * javax/swing/plaf/basic/BasicMenuBarUI.java:
22811         (installKeyboardActions): Marked as stub,
22812         (uninstallKeyboardActions): Likewise,
22813         * javax/swing/plaf/basic/BasicMenuUI.java:
22814         (installKeyboardActions): Marked as stub,
22815         (uninstallKeyboardActions): Likewise,
22816         * javax/swing/plaf/basic/BasicOptionPaneUI.java:
22817         (installKeyboardActions): Marked as stub,
22818         (uninstallKeyboardActions): Likewise,
22819         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
22820         (installKeyboardActions): Marked as stub,
22821         (uninstallKeyboardActions): Likewise,
22822         * javax/swing/plaf/basic/BasicScrollBarUI.java:
22823         (installKeyboardActions): Marked as stub,
22824         (uninstallKeyboardActions): Likewise,
22825         * javax/swing/plaf/basic/BasicScrollPaneUI.java:
22826         (installKeyboardActions): Marked as stub,
22827         (uninstallKeyboardActions): Likewise,
22828         * javax/swing/plaf/basic/BasicSplitPaneUI.java:
22829         (installKeyboardActions): Marked as stub,
22830         (uninstallKeyboardActions): Likewise,
22831         * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
22832         (installKeyboardActions): Marked as stub,
22833         (uninstallKeyboardActions): Likewise,
22834         * javax/swing/plaf/basic/BasicTableHeaderUI.java:
22835         (installKeyboardActions): Marked as stub,
22836         (uninstallKeyboardActions): Likewise,
22837         * javax/swing/plaf/basic/BasicTableUI.java:
22838         (installKeyboardActions): Marked as stub,
22839         (uninstallKeyboardActions): Likewise,
22840         * javax/swing/plaf/basic/BasicTextUI.java:
22841         (installKeyboardActions): Marked as stub,
22842         (uninstallKeyboardActions): Likewise,
22843         * javax/swing/plaf/basic/BasicToolBarUI.java:
22844         (installKeyboardActions): Marked as stub,
22845         (uninstallKeyboardActions): Likewise.   
22846
22847 2006-04-17  David Gilbert  <david.gilbert@object-refinery.com>
22848
22849         * javax/swing/plaf/basic/BasicSliderUI.java
22850         (installKeyboardActions): Implemented,
22851         (uninstallKeyboardActions): Implemented,
22852         (scrollByBlock): Accept any value for direction,
22853         (scrollByUnit): Likewise,
22854         (getInputMap): New method,
22855         (getActionMap): New method,
22856         (createActionMap): New method.
22857
22858
22859 2006-04-16  Andrew John Hughes  <gnu_andrew@member.fsf.org>
22860         
22861         * doc/vmintegration.texinfo:
22862         Fix sectioning.
22863
22864 2006-04-16  Tom Tromey  <tromey@redhat.com>
22865
22866         * native/jni/java-net/Makefile.am (AM_CFLAGS): Removed --save-temps.
22867
22868 2006-04-16  Andrew John Hughes  <gnu_andrew@member.fsf.org>
22869
22870         * NEWS:
22871         Mention generics additions to the VM interface.
22872         * doc/vmintegration.texinfo:
22873         Added information on VMClass 1.5 additions and
22874         VMSecureRandom.
22875         
22876 2006-04-16  Casey Marshall  <csm@gnu.org>
22877
22878         * NEWS: add an entry mentioning local socket support.
22879
22880 2006-04-16  Casey Marshall  <csm@gnu.org>
22881
22882         * configure.ac (--enable-local-sockets): new enable argument.
22883         (ENABLE_LOCAL_SOCKETS): new define.
22884         * native/jni/java-net/Makefile.am (local_sources): new variable.
22885         (lib_javanet_la_SOURCES): append `local_sources.'
22886         * native/jni/java-net/gnu_java_net_local_LocalSocketImpl.c,
22887         * native/jni/java-net/local.c,
22888         * native/jni/java-net/local.h,
22889         * include/gnu_java_net_local_LocalSocketImpl.h,
22890         * gnu/java/net/local/LocalServerSocket.java,
22891         * gnu/java/net/local/LocalSocket.java,
22892         * gnu/java/net/local/LocalSocketAddress.java,
22893         * gnu/java/net/local/LocalSocketImpl.java: new files.
22894
22895 2006-04-15  Andrew John Hughes  <gnu_andrew@member.fsf.org>
22896
22897         * javax/accessibility/AccessibleAction.java:
22898         (DECREMENT): Added field.
22899         (INCREMENT): Likewise.
22900         (TOGGLE_EXPAND): Likewise.
22901         * javax/accessibility/AccessibleRole.java:
22902         (EDITBAR): Added field.
22903         (FOOTER): Likewise.
22904         (HEADER): Likewise.
22905         (PARAGRAPH): Likewise.
22906         (PROGRESS_MONITOR): Likewise.
22907         (RULER): Likewise.
22908         * javax/accessibility/AccessibleState.java:
22909         (INDETERMINATE): Added field.
22910         (MANAGES_DESCENDANTS): Likewise.
22911         (TRUNCATED): Likewise.
22912
22913 2006-04-14  Tom Tromey  <tromey@redhat.com>
22914
22915         * javax/swing/tree/DefaultTreeSelectionModel.java (getListeners):
22916         Genericized.
22917         * javax/swing/tree/AbstractLayoutCache.java (getVisiblePathsFrom):
22918         Genericized.
22919
22920 2006-04-14  Robert Schuster  <robertschuster@fsfe.org>
22921
22922         * javax/swing/text/DefaultCaret.java:
22923         (getBypass): New method.
22924         (moveDot): Rewritten.
22925         (moveDotImpl): New method.
22926         (setDot): Rewritten.
22927         (setDotImpl): New method.
22928         (DefaultCaret.Bypass): New class.
22929
22930 2006-04-14  Robert Schuster  <robertschuster@fsfe.org>
22931
22932         * javax/swing/text/AbstractDocument.java:
22933         (getBypass): New method.
22934         (insertString): Rewritten.
22935         (remove): Rewritten.
22936         (replace): Rewritten.
22937         (insertStringImpl): New method.
22938         (removeImpl): New method.
22939         (replaceImpl): New method.
22940         (AbstractDocument.Bypass): New class.
22941
22942 2006-04-14  Casey Marshall  <csm@gnu.org>
22943
22944         Fixes PR classpath/24642
22945         * NEWS: add note about SecureRandom changes, and addition of
22946         VMSecureRandom.
22947         * java/security/SecureRandom.java (isSeeded): new field.
22948         (setSeed, setSeed): set `isSeeded' to `true.'
22949         (nextBytes): seed this instance if `isSeeded' is false.
22950         (getSeed): call `generateSeed.'
22951         (SECURERANDOM_SOURCE, JAVA_SECURITY_EGD, logger): new constants.
22952         (generateSeed, generateSeed): new methods.
22953         * vm/reference/java/security/VMSecureRandom.java: new file.
22954
22955 2006-04-14  Robert Schuster  <robertschuster@fsfe.org>
22956
22957         * javax/swing/text/FieldView.java:
22958         (paint): Apply clipping rectangle of the allocation area
22959         before painting the text.
22960         * javax/swing/text/DefaultHighlighter.java:
22961         (DefaultHighlighter.DefaultHighlightPainter): Use SwingUtilities to
22962         compute union and intersection, calculate intersection with allocation
22963         area before painting, adjust x and width when painting multiple lines
22964         by the range of the allocation area.
22965
22966 2006-04-14  Robert Schuster  <robertschuster@fsfe.org>
22967
22968         * javax/swing/text/DefaultHighlighter.java:
22969         (paintLayeredHighlights): Marked as stub.
22970
22971 2006-04-14  Robert Schuster  <robertschuster@fsfe.org>
22972
22973         * javax/swing/plaf/basic/BasicTextFieldUI.java:
22974         (propertyChanged): Added note, change color only if current background
22975         is a ColorUIResource instance.
22976
22977 2006-04-14  Tom Tromey  <tromey@redhat.com>
22978
22979         * java/beans/beancontext/BeanContextSupport.java (hasNext): No longer
22980         a stub.
22981         (next): Likewise.
22982
22983 2006-04-14  Tom Tromey  <tromey@redhat.com>
22984
22985         * javax/swing/JComboBox.java (AccessibleJComboBox): Now public.
22986
22987 2006-04-14  Mark Wielaard  <mark@klomp.org>
22988
22989         * java/lang/Thread.java (getUncaughtExceptionHandler): Return
22990         thread group when exceptionHandler isn't set.
22991         * vm/reference/java/lang/VMThread.java (run): Use result of
22992         thread.getUncaughtExceptionHandler directly.
22993
22994 2006-04-14  David Gilbert  <david.gilbert@object-refinery.com>
22995
22996         * javax/swing/JSplitPane.java
22997         (AccessibleJSplitPane.getAccessibleStateSet): Implemented,
22998         (AccessibleJSplitPane.getAccessibleRole): Implemented,
22999         (AccessibleJSplitPane.getAccessibleValue): Implemented,
23000         (AccessibleJSplitPane.getCurrentAccessibleValue): Implemented,
23001         (AccessibleJSplitPane.setCurrentAccessibleValue): Implemented,
23002         (AccessibleJSplitPane.getMinimumAccessibleValue): Implemented,
23003         (AccessibleJSplitPane.getMaximumAccessibleValue): Implemented.
23004
23005 2006-04-10  Tom Tromey  <tromey@redhat.com>
23006
23007         * javax/imageio/metadata/IIOMetadataFormatImpl.java (addObjectValue):
23008         Fixed parameter bounds.
23009
23010 2006-04-13  Andrew John Hughes  <gnu_andrew@member.fsf.org>
23011         
23012         * gnu/javax/crypto/assembly/Assembly.java,
23013         * gnu/javax/crypto/assembly/Cascade.java,
23014         * gnu/javax/crypto/assembly/CascadeStage.java,
23015         * gnu/javax/crypto/assembly/CascadeTransformer.java,
23016         * gnu/javax/crypto/assembly/Direction.java,
23017         * gnu/javax/crypto/assembly/LoopbackTransformer.java,
23018         * gnu/javax/crypto/assembly/ModeStage.java,
23019         * gnu/javax/crypto/assembly/Operation.java,
23020         * gnu/javax/crypto/assembly/PaddingTransformer.java,
23021         * gnu/javax/crypto/assembly/Stage.java,
23022         * gnu/javax/crypto/assembly/Transformer.java,
23023         * gnu/javax/crypto/cipher/Square.java,
23024         * gnu/javax/crypto/jce/cipher/AESSpi.java,
23025         * gnu/javax/crypto/jce/cipher/ARCFourSpi.java,
23026         * gnu/javax/crypto/jce/cipher/AnubisSpi.java,
23027         * gnu/javax/crypto/jce/cipher/BlowfishSpi.java,
23028         * gnu/javax/crypto/jce/cipher/CipherAdapter.java,
23029         * gnu/javax/crypto/jce/cipher/DESSpi.java,
23030         * gnu/javax/crypto/jce/cipher/KhazadSpi.java,
23031         * gnu/javax/crypto/jce/cipher/NullCipherSpi.java,
23032         * gnu/javax/crypto/jce/cipher/PBES2.java,
23033         * gnu/javax/crypto/jce/cipher/RijndaelSpi.java,
23034         * gnu/javax/crypto/jce/cipher/SerpentSpi.java,
23035         * gnu/javax/crypto/jce/cipher/SquareSpi.java,
23036         * gnu/javax/crypto/jce/cipher/TripleDESSpi.java,
23037         * gnu/javax/crypto/jce/cipher/TwofishSpi.java,
23038         * gnu/javax/crypto/jce/mac/HMacMD2Spi.java,
23039         * gnu/javax/crypto/jce/mac/HMacMD4Spi.java,
23040         * gnu/javax/crypto/jce/mac/HMacMD5Spi.java,
23041         * gnu/javax/crypto/jce/mac/HMacRipeMD128Spi.java,
23042         * gnu/javax/crypto/jce/mac/HMacRipeMD160Spi.java,
23043         * gnu/javax/crypto/jce/mac/HMacSHA160Spi.java,
23044         * gnu/javax/crypto/jce/mac/HMacSHA256Spi.java,
23045         * gnu/javax/crypto/jce/mac/HMacSHA384Spi.java,
23046         * gnu/javax/crypto/jce/mac/HMacSHA512Spi.java,
23047         * gnu/javax/crypto/jce/mac/HMacTigerSpi.java,
23048         * gnu/javax/crypto/jce/mac/HMacWhirlpoolSpi.java,
23049         * gnu/javax/crypto/jce/mac/MacAdapter.java,
23050         * gnu/javax/crypto/jce/mac/TMMH16Spi.java,
23051         * gnu/javax/crypto/jce/mac/UHash32Spi.java,
23052         * gnu/javax/crypto/jce/mac/UMac32Spi.java,
23053         * gnu/javax/crypto/key/dh/DiffieHellmanSender.java,
23054         * gnu/javax/crypto/key/srp6/SRP6TLSServer.java,
23055         * gnu/javax/crypto/keyring/PrivateKeyEntry.java,
23056         * gnu/javax/crypto/mode/IAuthenticatedMode.java,
23057         * gnu/javax/crypto/pad/WrongPaddingException.java,
23058         * gnu/javax/crypto/prng/ICMGenerator.java,
23059         * gnu/javax/crypto/prng/IPBE.java,
23060         * gnu/javax/crypto/prng/PBKDF2.java,
23061         * gnu/javax/crypto/sasl/ConfidentialityException.java,
23062         * gnu/javax/crypto/sasl/IllegalMechanismStateException.java,
23063         * gnu/javax/crypto/sasl/srp/IALG.java,
23064         * gnu/javax/crypto/sasl/srp/SRPServer.java:
23065         Remove CVS revision tags.
23066
23067 2006-04-13  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
23068
23069         * javax/swing/plaf/basic/BasicTreeUI.java (getPreferredSize): 
23070         Removed debugging code.
23071
23072 2006-04-13  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
23073  
23074         * javax/swing/JTree.java (getPreferredSize): Return the
23075         cloned instance.
23076         * javax/swing/ViewportLayout.java (layoutContainer):
23077         Do not manage the view size and location if the view is
23078         in the scroll pane. Also manage size and location for
23079         Scrollable, if it is not in the scroll pane.
23080         * javax/swing/plaf/basic/BasicTreeUI.java,
23081         * javax/swing/tree/FixedHeightLayoutCache.java,
23082         * javax/swing/tree/VariableHeightLayoutCache.java: Rewritten.
23083         * gnu/javax/swing/tree/GnuPath.java: New file.
23084
23085 2006-04-13  David Gilbert  <david.gilbert@object-refinery.com>
23086
23087         * javax/swing/JToolBar.java
23088         (AccessibleJToolBar.getAccessibleStateSet): Marked as stub.
23089
23090 2006-04-13  Robert Schuster  <robertschuster@fsfe.org>
23091
23092         * examples/gnu/classpath/examples/swing/TextAreaDemo.java:
23093         (createCustomColoredPanel): Set background color as demo intends,
23094         changed custom selection color to red.
23095         * examples/gnu/classpath/examples/swing/TextFieldDemo.java:
23096         Replaced various single variables with a Compound instance, added
23097         custom highlighter demo.
23098         (TextFieldDemo.DemoHighlightPainter): New class (taken from
23099         TextAreaDemo).
23100         (TextFieldDemo.Compound): New class.
23101         (createTextFieldCompound): New method.
23102         (createLeftAlignedPanel): Rewritten.
23103         (createRightAlignedPanel): Rewritten.
23104         (createCenteredPanel): Rewritten.
23105         (createCustomColoredPanel): Removed.
23106         (createCustomColoredPanel1): New method.
23107         (createCustomColoredPanel2): New method.
23108         (createCustomBordersPanel): New method.
23109         (createMiscPanel): Rewritten.
23110         (actionPerformed): Rewritten.
23111         (createContent): Add panels of new compounds to main panel, put
23112         main panel in a JScrollPane.
23113         * examples/gnu/classpath/examples/swing/Demo.java:
23114         (Demo): Put desktop in a scrollpane.
23115         (mkMenuBar): Check availability of MetalLookAndFeel.getCurrentTheme()
23116         method via reflection.
23117
23118 2006-04-13  David Gilbert  <david.gilbert@object-refinery.com>
23119
23120         * javax/swing/plaf/metal/MetalDesktopIconUI.java
23121         (createUI): Return new instance rather than shared instance.
23122
23123 2006-04-13  Robert Schuster  <robertschuster@fsfe.org>
23124
23125         * javax/swing/text/FieldView.java:
23126         (checkContainer): Call updateVisibility() at the end.
23127
23128 2006-04-13  Robert Schuster  <robertschuster@fsfe.org>
23129
23130         * java/awt/event/MouseEvent.java:
23131         (paramString): Add value of 'consumed' variable in string.
23132
23133 2006-04-13  Robert Schuster  <robertschuster@fsfe.org>
23134
23135         PR 26967
23136         * javax/swing/JTextField.java: Removed scrollOffset variable.
23137         (JTextField): Moved up initialization of horizontalVisibility field.
23138         (getScrollOffset): Implemented.
23139         (setScrollOffset): Implemented.
23140         (getHorizonztalVisibility): Removed note.
23141         (scrollRectToVisible): New method.
23142         * javax/swing/text/FieldView.java: Added cachedSpan variable.
23143         (checkContainer): New method.
23144         (updateVisibility): New method.
23145         (calculateHorizontalSpan): New method.
23146         (adjustAllocation): Removed unneeded local variables, added code
23147         to handle scrolling.
23148         (getPreferredSpan): Use new method calculateHorizontalSpan,
23149         avoid calculation by returning cached value cachedSpan.
23150         (paint): Added check whether the hosted component is a JTextField.
23151         (insertUpdate): Invalidate cached span value, update visibility
23152         if neccessary.
23153         (removeUpdate): Dito.
23154         (changeUpdate): Dito.
23155
23156 2006-04-13  David Gilbert  <david.gilbert@object-refinery.com>
23157
23158         * javax/swing/JInternalFrame.java
23159         (setTitle): Set old value to 'this.title', not 'title'.
23160
23161 2006-04-13  David Gilbert  <david.gilbert@object-refinery.com>
23162
23163         * javax/swing/JInternalFrame.java
23164         (AccessibleJInternalFrame.getAccessibleName): Implemented,
23165         (AccessibleJInternalFrame.getAccessibleRole): Implemented,
23166         (AccessibleJInternalFrame.getAccessibleValue): Implemented,
23167         (AccessibleJInternalFrame.getCurrentAccessibleValue): Implemented,
23168         (AccessibleJInternalFrame.getMaximumAccessibleValue): Implemented,
23169         (AccessibleJInternalFrame.getMinimumAccessibleValue): Implemented,
23170         (AccessibleJInternalFrame.setCurrentAccessibleValue): Implemented,
23171         (JDesktopIcon.AccessibleJDesktopIcon.getAccessibleRole): Implemented,
23172         (JDesktopIcon.AccessibleJDesktopIcon.getAccessibleValue): Implemented,
23173         (JDesktopIcon.AccessibleJDesktopIcon.getCurrentAccessibleValue): 
23174         Implemented,
23175         (JDesktopIcon.AccessibleJDesktopIcon.getMaximumAccessibleValue): 
23176         Implemented,
23177         (JDesktopIcon.AccessibleJDesktopIcon.getMinimumAccessibleValue): 
23178         Implemented,
23179         (JDesktopIcon.AccessibleJDesktopIcon.setCurrentAccessibleValue): 
23180         Implemented,
23181         (JInternalFrame()): Use "" for default title,
23182         (getAccessibleContext): Updated API docs,
23183         (getDesktopIcon): Likewise,
23184         (getLayer): Check for layer in client properties, and return 
23185         DEFAULT_LAYER if no setting is found,
23186         (getTitle): Updated API docs,
23187         (setDesktopIcon): Fire property change event.
23188
23189 2006-04-13  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
23190
23191         * javax/swing/ScrollPaneLayout.java (layoutContainer):
23192         Mind that the presence of one scroll bar may cause the
23193         need for another.
23194
23195 2006-04-12  Ito Kazumitsu  <kaz@maczuka.gcd.org>
23196
23197         * gnu/regexp/REToken.java(unicodeAware): New field,
23198         (toLowerCase, toUpperCase): New methods.
23199         * gnu/regexp/RETokenBackRef.java, gnu/regexp/RETokenChar.java,
23200         gnu/regexp/RETokenNamedProperty.java, gnu/regexp/RETokenRange.java:
23201         Use toLowerCase and toUpperCase defined in REToken instead of
23202         those defined in java.lang.Character.
23203         * gnu/regexp/gnu/regexp/RE.java(REG_ICASE_USASCII): New flag.
23204         (initialize): Sets unicodeAware of the generated REToken to false if
23205         REG_ICASE_USASCII is set.
23206         * gnu/regexp/RETokenChar.java(constructor): Don't convert the character
23207         to lower case and keep the original value.
23208         (matchOneString): Use the new method charEquals to compare characters.
23209         (charEquals): New method to compare characters.
23210         * java/util/regex/Pattern.java: Sets the flag REG_ICASE_USASCII to true.
23211
23212 2006-04-12  David Gilbert  <david.gilbert@object-refinery.com>
23213
23214         * javax/swing/event/InternalFrameEvent.java:
23215         (paramString): Implemented,
23216         updated API docs all over.
23217         
23218 2006-04-12  Casey Marshall  <csm@gnu.org>
23219
23220         * gnu/javax/crypto/prng/Fortuna.java (setup): call `fillBlock.'
23221         (Generator.setup): call `fillBlock.'
23222
23223 2006-04-12  Casey Marshall  <csm@gnu.org>
23224
23225         Fixes PR classpath/24481.
23226         * gnu/java/security/jce/prng/SecureRandomAdapter.java (<init>):
23227         initialize the adaptee.
23228         (setSeed): call `addRandomBytes;' don't re-initialize the adaptee.
23229         * gnu/java/security/prng/MDGenerator.java (addRandomByte,
23230         addRandomBytes): new methods.
23231
23232 2006-04-12  Tom Tromey  <tromey@redhat.com>
23233
23234         * java/io/DataOutputStream.java (writeUTF): Correctly handle zero
23235         length strings.
23236
23237 2006-04-12  Lillian Angel  <langel@redhat.com>
23238
23239         * gnu/xml/dom/DomDocument.java
23240         (checkNCName): Removed unneeded part of check.
23241         * gnu/xml/dom/DomNode.java
23242         (dispatchEvent): Added code to grow ancestors array
23243         if needed. Changed checks to use depth of node instead.
23244         Fixes an infinite loop and segmentation fault.
23245         * gnu/xml/dom/html2/DomHTMLParser.java
23246         (handleEndTag): No need to use/make a copy of the node.
23247         Causes an infinite loop.
23248
23249 2006-04-12  Tom Tromey  <tromey@redhat.com>
23250
23251         PR classpath/27131:
23252         * java/util/BitSet.java (get): Early return if to==from.
23253
23254 2006-04-12  Mark Wielaard  <mark@klomp.org>
23255
23256         * java/security/SecureRandom.java (algorithm): New private field.
23257         (SecureRandom): Initialize algorithm.
23258         (SecureRandom(SecureRandomSpi,Provider,String)): New private
23259         constructor.
23260         (getInstance): Call 3 argument constructor.
23261         (getAlgorithm): New method.
23262
23263 2006-04-12  Mark Wielaard  <mark@klomp.org>
23264
23265         Port UncaughtExceptionHandler support from generics branch.
23266         * NEWS: Document Thread.UncaughtExceptionHandler VMThread change.
23267
23268 2006-04-12  Andrew John Hughes  <gnu_andrew@member.fsf.org>
23269
23270         * java/lang/Thread.java:
23271         (setUncaughtExceptionHandler(UncaughtExceptionHandler):
23272         Added docs and security check.
23273         (getUncaughtExceptionHandler()): Documented.
23274         (setDefaultUncaughtExceptionHandler(UncaughtExceptionHandler):
23275         Added docs and security check.
23276         (getDefaultUncaughtExceptionHandler()): Documented.
23277         (getId()): Documented.
23278
23279 2006-04-12  Tom Tromey  <tromey@redhat.com>
23280
23281         * vm/reference/java/lang/VMThread.java (run): Use thread's
23282         uncaught handler.
23283         * java/lang/Thread.java (defaultHandler): New field.
23284         (setDefaultUncaughtExceptionHandler,
23285         getDefaultUncaughtExceptionHandler, setUncaughtExceptionHandler,
23286         getUncaughtExceptionHandler): New methods.
23287         * java/lang/ThreadGroup.java (ThreadGroup): Implements
23288         UncaughtExceptionHandler.
23289         (uncaughtException): Use getDefaultUncaughtExceptionHandler.
23290
23291 2006-04-11  Bryce McKinlay  <mckinlay@redhat.com>
23292
23293         * java/io/DataOutputStream.java (writeUTF): Re-use fixed length byte
23294         buffer. Loop only once to determine Utf8 length when possible. Make
23295         the inner loop bounded by buf.length.
23296         (getUTFlength): New private method.
23297         (buf): New private field.
23298
23299 2006-04-11  Lillian Angel  <langel@redhat.com>
23300
23301         * gnu/xml/dom/DomNodeIterator.java
23302         (nextNode): Moved line of code to avoid an infinite loop.
23303         * gnu/xml/dom/html2/DomHTMLAppletElement.java
23304         (getCls): New function.
23305         (setCls): Likewise.
23306         (getSrc): Likewise.
23307         (setSrc): Likewise.
23308         * gnu/xml/dom/html2/DomHTMLDocument.java:
23309         Added DomHTMLEmbedElement to map.
23310         (getApplets): Added node name, 'embed'.
23311         * gnu/xml/dom/html2/DomHTMLEmbedElement.java:
23312         New class.
23313         * gnu/xml/dom/html2/DomHTMLObjectElement.java
23314         (getJavaCode): New function.
23315         (setJavaCode): Likewise.
23316         (getObject): Likewise.
23317         (setObject): Likewise.
23318         (getJavaObject): Likewise.
23319         (setJavaObject): Likewise.
23320         (getJavaArchive): Likewise.
23321         (setJavaArchive): Likewise.
23322         (getJavaCodeBase): Likewise.
23323         (setJavaCodeBase): Likewise.
23324         (getJavaType): Likewise.
23325         (setJavaType): Likewise.
23326         (setMayscript): Likewise.
23327         (getMayscript): Likewise.
23328         (setScriptable): Likewise.
23329         (getScriptable): Likewise.
23330         * gnu/xml/dom/html2/DomHTMLParser.java
23331         (parseDocument): Should not check for well formedness
23332         when parsing an html document.
23333         * java/awt/Window.java
23334         (dispatchEvent): Added check to avoid NPE.
23335
23336 2006-04-10  Tom Tromey  <tromey@redhat.com>
23337
23338         * javax/accessibility/AccessibleStreamable.java (getStream): Fixed
23339         name.
23340         * javax/accessibility/AccessibleRelation.java (EMBEDS): Fixed value.
23341         (SUBWINDOW_OF, SUBWINDOW_OF_PROPERTY): Likewise.
23342
23343 2006-04-10  Robert Schuster  <robertschuster@fsfe.org>
23344
23345         * javax/swing/plaf/basic/BasicTextUI.java:
23346         (getNextVisualPositionFrom): Marked as stub.
23347
23348 2006-04-10  Roman Kennke  <kennke@aicas.com>
23349
23350         * javax/swing/plaf/basic/BasicLookAndFeel.java
23351         (initSystemColorDefaults): Changed to use loadSystemColorDefaults
23352         and create the defaults as strings constants.
23353         (loadSystemColors): Implemented stubbed method.
23354
23355 2006-04-10  Tom Tromey  <tromey@redhat.com>
23356
23357         * .settings/org.eclipse.core.resources.prefs: Set encoding for
23358         ChangeLog.
23359
23360 2006-04-10  Tom Tromey  <tromey@redhat.com>
23361
23362         * java/io/CharArrayWriter.java (append): Javadoc fix.
23363         (append): Likewise.
23364
23365 2006-04-10  Tom Tromey  <tromey@redhat.com>
23366
23367         * javax/accessibility/AccessibleTextSequence.java: New file.
23368         * javax/accessibility/AccessibleRelation.java (CHILD_NODE_OF): New
23369         field.
23370         (CHILD_NODE_OF_PROPERTY, EMBEDDED_BY, EMBEDDED_BY_PROPERTY, EMBEDS,
23371         EMBEDS_PROPERTY, FLOWS_FROM, FLOWS_FROM_PROPERTY, FLOWS_TO,
23372         FLOWS_TO_PROPERTY, PARENT_WINDOW_OF, PARENT_WINDOW_OF_PROPERTY,
23373         SUBWINDOW_OF, SUBWINDOW_OF_PROPERTY): Likewise.
23374         * javax/accessibility/AccessibleExtendedText.java: New file.
23375         * javax/accessibility/AccessibleContext.java
23376         (ACCESSIBLE_COMPONENT_BOUNDS_CHANGED): New field.
23377         (ACCESSIBLE_INVALIDATE_CHILDREN): Likewise.
23378         (ACCESSIBLE_TEXT_ATTRIBUTES_CHANGED): Likewise.
23379         * javax/accessibility/AccessibleAttributeSequence.java: New file.
23380         * javax/accessibility/AccessibleStreamable.java: New file.
23381         * javax/accessibility/AccessibleText.java (getIndexAtPoint): Javadoc
23382         fix.
23383
23384 2006-04-10  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
23385
23386         * javax/swing/tree/AbstractLayoutCache.java 
23387         (getNodeDimensions, getRowsForPath): Implemented.
23388         * javax/swing/tree/FixedHeightLayoutCache.java: Rewritten.
23389         * javax/swing/tree/VariableHeightLayoutCache.java: Rewritten.
23390
23391 2006-04-10  Roman Kennke  <kennke@aicas.com>
23392
23393         * javax/swing/tree/AbstractLayoutCache.java: Reformatted.
23394
23395 2006-04-10  Roman Kennke  <kennke@aicas.com>
23396
23397         * javax/swing/JInternalFrame.java
23398         (AccessibleJInternalFrame): Marked all stubbed methods as such
23399         by adding throws NotImplementedException.
23400
23401 2006-04-10  Roman Kennke  <kennke@aicas.com>
23402
23403         * javax/swing/JFileChooser.java
23404         (getAccessibleContext): Don't create a new instance on each
23405         call, instead store the accessible context in the
23406         accessibleContext field.
23407
23408 2006-04-10  Roman Kennke  <kennke@aicas.com>
23409
23410         * javax/swing/JComboBox.java
23411         (AccessibleJComboBox): Marked all stubbed methods as such
23412         by adding throws NotImplementedException.
23413
23414 2006-04-10  Roman Kennke  <kennke@aicas.com>
23415
23416         * javax/swing/ActionMap.java
23417         (readObject): Removed.
23418         (writeObject): Removed.
23419
23420 2006-04-10  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
23421
23422         * javax/swing/tree/DefaultTreeSelectionModel.java
23423         (addSelectionPaths, setSelectionPaths): Call 
23424         insureUniqueness. (clone, setRowMapper): Implemented.
23425         * TreePath (path): Marked final.
23426
23427 2006-04-10  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
23428
23429         * javax/swing/tree/DefaultTreeSelectionModel.java:
23430         Documented and autoformatted. (insureUniqueness):
23431         Removed stub marking.
23432
23433 2006-04-09  David Gilbert  <david.gilbert@object-refinery.com>
23434
23435         * javax/swing/SizeSequence.java
23436         (sizes): Don't initialise here,
23437         (SizeSequence(int, int)): Initialise sizes field,
23438         (SizeSequence(int[])): Clone argument instead of calling setSizes(),
23439         (setSize): Do nothing when index is out of bounds,
23440         (getIndex): Implemented,
23441         (setSizes): Reimplemented,
23442         (getSizes): Likewise,
23443         (insertEntries): Likewise,
23444         (removeEntries): Likewise,
23445         plus added API docs all over.
23446
23447 2006-04-09  Audrius Meskauskas  <AudriusA@Bioinformatics.org
23448
23449         * gnu/CORBA/gnuRequest.java (submit): Do not read any response after
23450         one way message and retry after any IOException.
23451
23452 2006-04-09  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
23453
23454         * gnu/CORBA/CDR/EncapsulationStream.java (constructor):
23455         Set the byte order.
23456
23457 2006-04-09  Wolfgang Baer  <WBaer@gmx.de>
23458
23459         * org/omg/PortableServer/ServantLocatorPOA.java: 
23460         (preinvoke, postinvoke): Remove default implementation.
23461         * org/omg/PortableServer/ServantActivatorPOA.java: 
23462         (incarnate, etherealize): Remove default implementation.        
23463         * org/omg/PortableInterceptor/ObjectReferenceFactory.java: 
23464         Extends from ValueBase and not from ObjectReferenceFactoryOperations.
23465         (make_object): Moved method from ObjectReferenceFactoryOperations.
23466         * org/omg/PortableInterceptor/ObjectReferenceFactoryOperations.java: 
23467         Removed unspecified interface.  
23468         * org/omg/DynamicAny/_DynAnyStub.java:
23469         (_DynAnyStub(Delegate)): Removed constructor.
23470         * org/omg/DynamicAny/_DynArrayStub.java,
23471         * org/omg/DynamicAny/_DynAnyFactoryStub.java,
23472         * org/omg/DynamicAny/_DynEnumStub.java,
23473         * org/omg/DynamicAny/_DynFixedStub.java,
23474         * org/omg/DynamicAny/_DynSequenceStub.java,
23475         * org/omg/DynamicAny/_DynStructStub.java,
23476         * org/omg/DynamicAny/_DynUnionStub.java,
23477         * org/omg/DynamicAny/_DynValueStub.java: 
23478         Extend from ObjectImpl and not from _DynAnyStub.
23479         (type, next, destroy, copy, rewind, assign, component_count, 
23480         current_component, equal, from_any, get_any, get_boolean, get_char, 
23481         get_double, get_dyn_any, get_float, get_long, get_longlong, get_octet, 
23482         get_reference, get_short, get_string, get_typecode, get_ulong, 
23483         get_ulonglong, get_ushort, get_val, get_wchar, get_wstring, insert_any,
23484         insert_boolean, insert_char, insert_double, insert_dyn_any, insert_float,
23485         insert_long, insert_longlong, insert_octet, insert_reference, 
23486         insert_short, insert_string, insert_typecode, insert_ulong, 
23487         insert_ulonglong, insert_ushort, insert_val, insert_wchar, 
23488         insert_wstring, seek, to_any): New methods copied from _DynAnyStub.             
23489         * org/omg/CosNaming/_BindingIteratorStub.java:
23490         (_BindingIteratorStub(Delegate)): Made package private.
23491         * org/omg/CosNaming/_NamingContextExtStub.java:
23492         (_NamingContextExtStub(Delegate)): Made package private.
23493         * org/omg/CosNaming/_NamingContextStub.java:
23494         (_NamingContextStub(Delegate)): Made package private.
23495         (throw4, throw5): Likewise.
23496         * gnu/CORBA/NamingService/NameParser.java (resolve): 
23497         Adapt to package private constructor. Use _set_delegate instead.        
23498         * org/omg/CosNaming/NamingContextOperations.java: Do not extend IDLEntity.
23499         * org/omg/CORBA/ORB.java: 
23500         (create_recursive_sequence_tc): Made abstract.
23501         (get_default_context): Likewise.
23502         * gnu/CORBA/OrbRestricted.java: 
23503         (create_recursive_sequence_tc): New moved method.
23504         (get_default_context): Likewise.        
23505         * org/omg/CORBA/ParameterMode.java: 
23506         (PARAM_IN, PARAM_OUT, PARAM_INOUT): Made final. 
23507
23508 2006-04-09  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
23509
23510         * gnu/CORBA/GIOP/MessageHeader.java (write): 
23511         More informative exception.
23512         * gnu/CORBA/IorDelegate.java (release): Do not close the socket.
23513         * gnu/CORBA/SocketRepository.java (get_socket):
23514         Removed debugging code.
23515
23516 2006-04-09  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
23517
23518         * gnu/CORBA/gnuRequest.java (submit): Try to read the response for the
23519         one way message, but ignore if EOF was received.
23520         * gnu/CORBA/GIOP/MessageHeader.java (read): Set the minor code to
23521         Minor.EOF if the end of file is received instead of the header.
23522
23523 2006-04-09  Roman Kennke  <kennke@aicas.com>
23524
23525         * javax/swing/plaf/metal/MetalRootPaneUI.java
23526         (MetalTitlePane.IconifyAction): New inner class.
23527         (MetalTitlePane.MaximizeAction): New inner class.
23528         (MetalTitlePane.createActions): Create iconifyAction and
23529         maximizeAction.
23530         (MetalRootLayout.titlePane): New field.
23531         (MetalRootLayout.MetalRootLayout): Take titlePane parameter in
23532         constructor.
23533         (MetalRootLayout.preferredLayoutSize): Changed to not make
23534         assumptions about the actual component order.
23535         (MetalRootLayout.layoutContainer): Changed to not make
23536         assumptions about the actual component order.
23537         (installWindowDecorations): Pass the titlePane as parameter to
23538         the MetalRootLayout constructor.
23539         (uninstallWindowDecorations): Changed to not make
23540         assumptions about the actual component order.
23541
23542 2006-04-08  Roman Kennke  <kennke@aicas.com>
23543
23544         * javax/swing/plaf/metal/MetalRootPaneUI.java
23545         (MetalTitlePane.MouseHandler): New inner class to handle dragging
23546         of frames.
23547         (MetalTitlePane.installListeners): Don't register a focus listener
23548         on the window. This is a potential memory leak and must be
23549         implemented on a different way. Install mouse listener here.
23550         (installWindowDecorations): Fixed assertion condition. Always
23551         insert the window decoration at index#1 in the layered 
23552         pane.
23553
23554 2006-04-08  Roman Kennke  <kennke@aicas.com>
23555
23556         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
23557         (Java_gnu_java_awt_peer_gtk_GtkWindowPeer_nativeSetBoundsUnlocked):
23558         Only resize window if actual width or height value changes.
23559         Avoids nasty flicker when only setLocation() is beeing called
23560         on a window.
23561
23562 2006-04-08  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
23563
23564         * gnu/CORBA/GIOP/MessageHeader.java (read): Throw more informative
23565         exception if the magic sequence does not match.
23566
23567 2006-04-08  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
23568
23569         * gnu/CORBA/gnuRequest.java (p_invoke, submit): Do not try to read
23570         response for the one way messages.
23571
23572 2006-04-08  Roman Kennke  <kennke@aicas.com>
23573
23574         * javax/swing/MenuSelectionManager.java
23575         (processKeyEvent): Implemented stub method.
23576         * javax/swing/JMenu.java
23577         (processKeyEvent): Implemented stub method.
23578         * javax/swing/JMenu.java
23579         (processKeyEvent): Implemented stub method.
23580         (processMenuKeyEvent): Implemented stub method.
23581
23582 2006-04-08  Roman Kennke  <kennke@aicas.com>
23583
23584         * javax/swing/AbstractAction.java
23585         (readObject): Removed unneeded method.
23586         (writeObject): Removed unneeded method.
23587
23588 2006-04-08  Wolfgang Baer  <WBaer@gmx.de>
23589
23590         * javax/swing/plaf/synth/SynthPainter.java: 
23591         (paintSplitPaneDividerBorder): Removed.
23592
23593 2006-04-08  Wolfgang Baer  <WBaer@gmx.de>
23594
23595         * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java: 
23596         (CLOSE_CMD, ICONIFY_CMD, MAXIMIZE_CMD, MOVE_CMD, RESTORE_CMD, SIZE_CMD):
23597         No longer constants.
23598         (static_initializer): Added to initialize above fields.
23599         * javax/accessibility/AccessibleRelation.java (LABEL_FOR, LABELED_BY, 
23600         MEMBER_OF, CONTROLLER_FOR, CONTROLLED_BY): No longer constants.
23601         (static_initializer): Added to initialize above fields.
23602
23603 2006-04-08  Wolfgang Baer  <WBaer@gmx.de>
23604
23605         * java/awt/Dialog.java: Improved documentation all over.
23606         (Dialog(Frame)): If gc is null use the owners GraphicsConfiguration.
23607         (Dialog(Dialog)): Likewise.
23608
23609 2006-04-08  Mark Wielaard  <mark@klomp.org>
23610
23611         * java/util/jar/JarFile.java (provider): New static field.
23612         (verify, verifyHashes, EntryInputStream.<init>): Pass provider
23613         to `getInstance.'
23614
23615 2006-04-08  Mark Wielaard  <mark@klomp.org>
23616
23617         PR 27081
23618         * java/lang/StackTraceElement.java (toString): Don't add space
23619         between type and source indicator.
23620
23621 2006-04-07  Casey Marshall  <csm@gnu.org>
23622
23623         Fixes PR classpath/24464        
23624         * java/util/jar/JarFile.java (verify, verifyHashes,
23625         EntryInputStream.<init>): pass the Gnu provider directly to
23626         `getInstance.'
23627
23628 2006-04-08  Raif S. Naffah  <raif@swiftdsl.com.au>
23629
23630         PR classpath/27071
23631         * gnu/java/security/hash/Whirlpool.java: Updated documentation.
23632         (DIGEST0): Use version 3 test vector.
23633         (Sd): Removed.
23634         (S_box): New field: Version 3 S-box values.
23635         (<clinit>): Use Version 3 circulant matrix to construct lookup tables.
23636         (transform): Formating.
23637         (padBuffer): Likewise.
23638         (getResult): Likewise.
23639         (selfTest): Likewise.
23640
23641 2006-04-07  Tom Tromey  <tromey@redhat.com>
23642
23643         * java/util/InvalidPropertiesFormatException.java
23644         (serialVersionUID): New field.
23645         (readObject, writeObject): New methods.
23646         * java/util/Arrays.java (toString): Javadoc fixes.
23647         * java/net/URLConnection.java: Cleaned up imports.
23648         * java/lang/reflect/ParameterizedType.java: Javadoc fix.
23649         * java/lang/reflect/MalformedParameterizedTypeException.java
23650         (serialVersionUID): New field.
23651         * java/lang/reflect/GenericSignatureFormatError.java
23652         (serialVersionUID): New field.
23653         * java/lang/Class.java (Class): Javado fixes.
23654         (getComponentType): Likewise.
23655         (getGenericInterfaces): Likewise.
23656         (getTypeParameters): Likewise.
23657         * java/io/CharArrayWriter.java (append): Javadoc fixes.
23658         * java/lang/annotation/AnnotationFormatError.java (serialVersionUID):
23659         New field.
23660         * java/lang/TypeNotPresentException.java (serialVersionUID): New
23661         field.
23662         * java/lang/EnumConstantNotPresentException.java (serialVersionUID):
23663         New field.
23664
23665 2006-04-07  Wolfgang Baer  <WBaer@gmx.de>
23666
23667         * java/awt/Dialog.java 
23668         (AccessibleAWTDialog): Added api docs
23669         (AccessibleAWTDialog.getAccessibleStateSet):
23670          Renamed from getAccessibleState.
23671         * java/awt/Frame.java 
23672         (AccessibleAWTFrame): Added api docs
23673         (AccessibleAWTFrame.getAccessibleStateSet):
23674          Renamed from getAccessibleState.
23675
23676 2006-04-07  Wolfgang Baer  <WBaer@gmx.de>
23677
23678         * java/awt/Dialog.java: Reformatted.
23679
23680 2006-04-07  Lillian Angel  <langel@redhat.com>
23681
23682         * java/awt/Component.java
23683         (eventTypeEnabled): Added code for HierarchyEvent.HIERARCHY_CHANGED,
23684         HierarchyEvent.ANCESTOR_MOVED and HierarchyEvent.ANCESTOR_RESIZED.
23685
23686 2006-04-07  Tom Tromey  <tromey@redhat.com>
23687
23688         * java/beans/beancontext/BeanContextMembershipEvent.java
23689         (serialVersionUID): New field.
23690         * java/beans/beancontext/BeanContextServicesSupport.java
23691         (addBeanContextServicesListener): Synchronize.
23692         (addService): Implemented.
23693         (createBCSChild): Implemented.
23694         (BCSSChild): Added arguments.
23695         (fireServiceAdded): Implemented.
23696         (fireServiceRevoked): Implemented.
23697         (getCurrentServiceSelectors): Implemented.
23698         (hasService): Implemented.
23699         (removeBeanContextServicesListener): Implemented.
23700         (serviceAvailable): Implemented.
23701         (serviceRevoked): Implemented.
23702         * java/beans/beancontext/BeanContextSupport.java (BCSChild): Added
23703         arguments.
23704         (createBCSChild): Implemented.
23705         (BeanContextSupport): 
23706         (addBeanContextMembershipListener): Synchronize.
23707         (fireChildrenAdded): Implemented.
23708         (fireChildrenRemoved): Implemented.
23709         (BeanContextSupport): Use default locale.
23710         (isEmpty): Implemented.
23711         (isDesignTime): Implemented.
23712         (size): Implemented.
23713         (toArray): Synchronized.
23714         (toArray): Likewise.
23715         (iterator): Likewise.
23716         (BCSIterator): Implemented.
23717         (bcsChildren): Implemented.
23718         (validatePendingAdd): Implemented.
23719         (validatePendingRemove): Likewise.
23720         (childJustAddedHook): Implemented.
23721         (childJustRemovedHook): Likewise.
23722         (classEquals): Likewise.
23723         (toArray): Mark as stub.
23724         (setDesignTime): Implemented.
23725         (copyChildren): Implemented.
23726         (containsKey): Implemented.
23727         (contains): Likewise.
23728         (containsAll): Likewise.
23729         (getResource): Implemented.
23730         (getResourceAsStream): Likewise.
23731         (removeBeanContextMembershipListener): Likewise.
23732         * java/beans/beancontext/BeanContextServiceRevokedEvent.java
23733         (serialVersionUID): New field.
23734         * java/beans/beancontext/BeanContextServiceAvailableEvent.java
23735         (serialVersionUID): New field.
23736         * java/beans/beancontext/BeanContext.java (instantiateChild): Javadoc
23737         fix.
23738
23739 2006-04-06  Roman Kennke  <kennke@aicas.com>
23740
23741         PR 26937
23742         * javax/swing/MenuSelectionManager.java
23743         (setSelectedPath): Search one more item in the loop.
23744         
23745 2006-04-06  Tom Tromey  <tromey@redhat.com>
23746
23747         * java/awt/image/renderable/RenderableImageProducer.java
23748         (image, context, consumers): New fields.
23749         (RenderableImageProducer): Implemented.
23750         (setRenderContext): Likewise.
23751         (addConsumer): Likewise.
23752         (isConsumer): Likewise.
23753         (removeConsumer): Likewise.
23754         (startProduction): Likewise.
23755
23756 2006-04-06  Roman Kennke  <kennke@aicas.com>
23757
23758         * java/awt/Component.java
23759         (AccessibleAWTComponent.getBounds): Return the component
23760         bounds regardless of its showing state.
23761         (AccessibleAWTComponent.getLocation): Return the component
23762         location regardless of its showing state.
23763         (AccessibleAWTComponent.getSize): Return the component
23764         size regardless of its showing state.
23765
23766 2006-04-06  Roman Kennke  <kennke@aicas.com>
23767
23768         * javax/swing/JRootPane.java
23769         (getAccessibleContext): New method. Provides an accessibleContext
23770         for JRootPanes.
23771
23772 2006-04-06  Roman Kennke  <kennke@aicas.com>
23773
23774         * java/awt/Toolkit.java
23775         (initAccessibility): Use the 'gnu.classpath.home.url' property
23776         to determine the system confiuration directory.
23777         * java/awt/Component.java
23778         (dispatchEvent): Trigger Toolkit dispatching here.
23779         (dispatchEventImpl): Moved Toolkit dispatching to dispatchEvent,
23780         so it can't be overridden by subclasses and is performed in
23781         any case.
23782
23783 2006-04-06  Wolfgang Baer  <WBaer@gmx.de>
23784         
23785         * javax/naming/Binding.java: Added API docs.
23786         * javax/naming/NameClassPair.java: Added API docs.
23787         (fullName): New field.
23788         (setNameInNamespace): New 1.5 method.
23789         (getNameInNamespace): Likewise.
23790
23791 2006-04-06  Wolfgang Baer  <WBaer@gmx.de>
23792
23793         * javax/naming/CompositeName.java: 
23794         (readObject): New deserialization method.
23795         (writeObject): New serialization method.
23796
23797 2006-03-29  Nektarios K. Papadopoulos  <npapadop at inaccessnetworks.com>
23798
23799         * javax/security/auth/x500/X500Principal.java
23800         (readAttributeValue) Check for separator after quoted value was
23801         failing in all cases.
23802
23803 2006-04-06  Mark Wielaard  <mark@klomp.org>
23804
23805         * java/lang/Class.java (getClassLoader): Don't do security check
23806         when loader is null.
23807
23808 2006-04-06  Roman Kennke  <kennke@aicas.com>
23809
23810         * java/awt/Toolkit.java
23811         (getDefaultToolkit): Initialize accessibility after setting
23812         up the toolkit.
23813         (initAccessibility): New helper method to setup accessibility.
23814
23815 2006-04-06  Roman Kennke  <kennke@aicas.com>
23816
23817         * javax/swing/AbstractButton.java
23818         (AccessibleAbstractButton.getAccessibleIcon): Implemented stub.
23819         (AccessibleAbstractButton.getAccessibleRelationSet): Implemented
23820         stub.
23821         (AccessibleAbstractButton.getIndexAtPoint): Implemented stub.
23822         (AccessibleAbstractButton.getAccessibleIcon): Implemented stub.
23823         (AccessibleAbstractButton.getCharacterBounds): Implemented stub.
23824         (AccessibleAbstractButton.getCharCount): Implemented stub.
23825         (AccessibleAbstractButton.getCaretPosition): Implemented stub.
23826         (AccessibleAbstractButton.getCharacterAttribute): Implemented stub.
23827         (AccessibleAbstractButton.getSelectionStart): Implemented stub.
23828         (AccessibleAbstractButton.getSelectionEnd): Implemented stub.
23829         (AccessibleAbstractButton.getSelectedText): Implemented stub.
23830         (AccessibleAbstractButton.getTextRectangle): Removed unneeded
23831         private method.
23832
23833 2006-04-06  Roman Kennke  <kennke@aicas.com>
23834
23835         * java/awt/Component.java
23836         (AccessibleAWTComponent.getAccessibleStateSet): Don't handle opaque
23837         state here. This is only done in JComponent.
23838         * javax/swing/JComponent.java
23839         (AccessibleJComponent.getAccessibleStateSet): Handle opaque flag
23840         here.
23841         (getNextFocusableComponent): Implemented stub method.
23842         (grabFocus): Implemented stub method.
23843         (unregisterKeyboardAction): Implemented stub method.
23844         (setNextFocusableComponent): Implemented stub method.
23845         * javax/swing/CompatibilityFocusTraversalPolicy.java: New file.
23846         This is a helper class for providing compatibility with the older
23847         Swing focus API.
23848
23849 2006-04-06  Wolfgang Baer  <WBaer@gmx.de>
23850
23851         Fixes bug #26995
23852         * javax/naming/directory/BasicAttribute.java,
23853         * javax/naming/directory/BasicAttributes.java: 
23854         (readObject): New deserialization method.
23855         (writeObject): New serialization method.
23856
23857 2006-04-06  Wolfgang Baer  <WBaer@gmx.de>
23858
23859         * javax/xml/validation/SchemaFactory.java: Corrected since tag.
23860         (getErrorHandler): Made method abstract.
23861         (setErrorHanlder): Likewise.
23862         * gnu/xml/validation/relaxng/RELAXNGSchemaFactory.java
23863         (getErrorHandler): Implement abstract method from superclass.
23864         (setErrorHandler): Likewise.
23865         (errorHandler): New field.
23866         * gnu/xml/validation/xmlschema/XMLSchemaSchemaFactory.java:     
23867         (getErrorHandler): Implement abstract method from superclass.
23868         (setErrorHandler): Likewise.
23869         (errorHandler): New field.      
23870         * javax/xml/XMLConstants.java: Corrected since tag.
23871         (XMLConstants): Added private constructor.
23872         * javax/xml/datatype/Duration.java: Corrected since tag.
23873         (multiply): Made method abstract.
23874         * javax/xml/datatype/DatatypeConstants.java: Corrected since tag.
23875         (DatatypeConstants): Added private constructor.
23876         * javax/xml/xpath/XPathConstants.java: Corrected since tag.
23877         (XPathConstants): Added private constructor.
23878
23879 2006-04-05  Tom Tromey  <tromey@redhat.com>
23880
23881         * javax/security/auth/kerberos/ServicePermission.java: Now final.
23882
23883 2006-04-05  Tom Tromey  <tromey@redhat.com>
23884
23885         PR libgcj/26625:
23886         * lib/Makefile.am (compile-classes): Touch the output file.
23887
23888 2006-04-05  Roman Kennke  <kennke@aicas.com>
23889
23890         * javax/swing/AbstractButton.java
23891         (AccessibleAbstractButton.getAccessibleStateSet): Removed handling
23892         of the focused state. This is already done in AccessibleAWTComponent.
23893
23894 2006-04-05  Roman Kennke  <kennke@aicas.com>
23895
23896         * javax/swing/JComponent.java
23897         (accessibleContext): Fixed API doc for this field.
23898         (AccessibleJComponent.AccessibleFocusHandler): Fixed API docs.
23899         (AccessibleJComponent.AccessibleFocusHandler.focusGained):
23900         Implemented and added API docs.
23901         (AccessibleJComponent.AccessibleFocusHandler.focusLost):
23902         Implemented and added API docs.
23903         (AccessibleJComponent.AccessibleContainerHandler): Fixed API docs.
23904         (AccessibleJComponent.AccessibleContainerHandler.componentAdded):
23905         Implemented and added API docs.
23906         (AccessibleJComponent.AccessibleContainerHandler.componentRemoved):
23907         Implemented and added API docs.
23908         (AccessibleJComponent.accessibleContainerHandler): Added API docs.
23909         (AccessibleJComponent.accessibleFocusHandler): Added API docs.
23910         (AccessibleJComponent.addPropertyChangeListener): Added API docs.
23911         (AccessibleJComponent.removePropertyChangeListener): Added API docs.
23912         (AccessibleJComponent.getAccessibleStateSet): Simply return
23913         super here. Added comment about this.
23914
23915 2006-04-05  Roman Kennke  <kennke@aicas.com>
23916
23917         * javax/swing/JComponent.java
23918         (AccessibleJComponent.addPropertyChangeListener): Install
23919         ContainerHandler and FocusHandler here.
23920         (AccessibleJComponent.removePropertyChangeListener): Uninstall
23921         ContainerHandler and FocusHandler here.
23922         (AccessibleJComponent.getAccessibleChildrenCount): Replaced
23923         by super.getAccessibleChildrenCount().
23924         (AccessibleJComponent.getAccessibleChild): Replaced
23925         by super.getAccessibleChild().
23926         (AccessibleJComponent.getAccessibleStateSet): Implemented by
23927         adding OPAQUE to the supported states.
23928         (AccessibleJComponent.getAccessibleName): Added titled border
23929         and label fallbacks.
23930         (AccessibleJComponent.getAccessibleDescription): Added tooltip
23931         and label fallbacks.
23932         (AccessibleJComponent.getAccessibleRole): Removed TODO.
23933         (AccessibleJComponent.getAccessibleKeyBinding): Added comment
23934         explaining why return null seems correct here.
23935         * javax/swing/JLabel.java
23936         (LABEL_PROPERTY): New constant.
23937         (setLabelFor): Store label in labeled component's client properties
23938         for the AccessibleJComponent to read.
23939
23940 2006-04-05  Tom Tromey  <tromey@redhat.com>
23941
23942         * java/util/zip/ZipFile.java (available): Defer to super if
23943         entry's size is unknown.
23944
23945 2006-04-05  Tom Tromey  <tromey@redhat.com>
23946
23947         * java/net/MimeTypeMapper.java (MimeTypeMapper): Look for system
23948         property with mime.types name.
23949         * gnu/classpath/SystemProperties.java: Set
23950         gnu.classpath.mime.types.file if not already set.
23951         * java/net/URLConnection.java (defaultFactory): New field.
23952         (guessContentTypeFromStream): Mark as unimplemented.
23953         (getContentHandler): Updated with libgcj's implementation.
23954         * gnu/java/net/DefaultContentHandlerFactory.java: New file,
23955         from libgcj.
23956
23957 2006-04-05  Bryce McKinlay  <mckinlay@redhat.com>
23958
23959         PR classpath/27028
23960         PR classpath/24752
23961         * java/util/AbstractList.java (hasNext): Don't throw
23962         ConcurrentModificationException. Update Javadoc.
23963         (hasPrevious): Likewise.
23964         (nextIndex): Likewise.
23965         (previousIndex): Likewise.
23966         * java/util/HashMap.java (hasNext): Likewise.
23967         * java/util/Hashtable.java (hasNext): Likewise.
23968         * java/util/IdentityHashMap.java (hasNext): Likewise.
23969         * java/util/LinkedHashMap.java (hasNext): Likewise.
23970         * java/util/LinkedList.java (nextIndex): Likewise.
23971         (previousIndex): Likewise.
23972         (hasNext): Likewise.
23973         (hasPrevious): Likewise.
23974         * java/util/TreeMap.java (hasNext): Likewise.
23975         * java/util/WeakHashMap.java (hasNext): Likewise.
23976
23977 2006-04-05  Roman Kennke  <kennke@aicas.com>
23978
23979         * javax/swing/AbstractButton.java
23980         (AccessibleAbstractButton.getAccessibleStateSet): Implemented stub.
23981         (AccessibleAbstractButton.doAccessibleAction): Implemented stub.
23982         (AccessibleAbstractButton.getAccessibleAction): Implemented stub.
23983         (AccessibleAbstractButton.getAccessibleActionCount): Implemented stub.
23984         (AccessibleAbstractButton.getAccessibleActionDescription):
23985         Implemented stub.
23986         (AccessibleAbstractButton.getAccessibleText): Implemented stub.
23987         (AccessibleAbstractButton.getAccessibleAction): Implemented stub.
23988         (AccessibleAbstractButton.getCurrentAccessibleValue): Implemented stub.
23989         (AccessibleAbstractButton.setCurrentAccessibleValue): Implemented stub.
23990         (AccessibleAbstractButton.getMinimumAccessibleValue): Implemented stub.
23991         (AccessibleAbstractButton.getMaximumAccessibleValue): Implemented stub.
23992
23993 2006-04-05  Roman Kennke  <kennke@aicas.com>
23994
23995         * javax/swing/JComboBox.java
23996         (selectWithKeyChar): Implemented stubbed method.
23997
23998 2006-04-05  Roman Kennke  <kennke@aicas.com>
23999
24000         * javax/swing/LookAndFeel.java
24001         (installProperty): New method. Allows primitive typed properties
24002         to be handled like UIResources.
24003         * javax/swing/AbstractButton.java
24004         (clientBorderPaintedSet): New field.
24005         (clientRolloverEnabledSet): New field.
24006         (clientIconTextGapSet): New field.
24007         (clientContentAreaFilledSet): New field.
24008         (setRolloverEnabled): Set the client field to true.
24009         (setBorderPainted): Likewise.
24010         (setIconTextGap): Likewise.
24011         (setContentAreaFilled): Likewise.
24012         (setUIProperty): New helper method.
24013         * javax/swing/JComponent.java
24014         (clientOpaqueSet): New field.
24015         (clientAutoscrollsSet): New field.
24016         (setAutoscrolls): Set the client field to true.
24017         (setOpaque): Likewise.
24018         (setUIProperty): New helper method.
24019         * javax/swing/JDesktopPane.java
24020         (clientDragModeSet): New field.
24021         (setDragMode): Set the client field to true.
24022         (setUIProperty): New helper method.
24023         * javax/swing/JSplitPane.java
24024         (clientDividerSizeSet): New field.
24025         (clientOneTouchExpandableSet): New field.
24026         (setDividerSize): Set the client field to true.
24027         (setOneTouchExpandable): Likewise.
24028         (setUIProperty): New helper method.
24029         * javax/swing/JTable.java
24030         (clientRowHeightSet): New field.
24031         (setRowHeight): Set the client field to true.
24032         (setUIProperty): New helper method.
24033         * javax/swing/JTree.java
24034         (clientRowHeightSet): New field.
24035         (clientScrollsOnExpandSet): New field.
24036         (clientShowsRootHandlesSet): New field.
24037         (setRowHeight): Set the client field to true.
24038         (setShowsRootHandles): Likewise.
24039         (setScrollsOnExpand): Likewise.
24040         (setUIProperty): New helper method.
24041
24042 2006-04-05  Roman Kennke  <kennke@aicas.com>
24043
24044         * java/awt/Component.java
24045         (getFont): Don't request the font from the peer's graphics. The
24046         graphics should instead get the font from the Component, which might
24047         result in a loop.
24048         (getFocusCycleAncestor): Don't special case Window.
24049         (nextFocus): Moved implementation from the DefaultKeyboardFocusManager
24050         to here. Correctly determine the focus cycle root.
24051         (transferFocusBackward): Likewise.
24052         (transferFocusUpCycle): Likewise.
24053         * java/awt/Container.java
24054         (transferFocusDownCycle): Moved implementation from
24055         DefaultKeyboardFocusManager to here.
24056         * java/awt/DefaultKeyboardFocusManager.java
24057         (focusPreviousComponent): Moved implementation to
24058         Component.transferFocusBackward().
24059         (focusNextComponent): Moved implementation to
24060         Component.nextFocus().
24061         (upFocusCycle): Moved implementation to
24062         Component.transferFocusUpCycle().
24063         (downFocusCycle): Moved implementation to
24064         Container.transferFocusDownCycle().
24065
24066 2006-04-05  David Gilbert  <david.gilbert@object-refinery.com>
24067
24068         * java/awt/image/ComponentSampleModel.java
24069         (equals): Implemented,
24070         (hashCode): Likewise.
24071
24072 2006-04-05  Jeroen Frijters  <jeroen@frijters.net>
24073
24074         * java/lang/Class.java
24075         (cast): New method.
24076
24077 2006-04-05  David Gilbert  <david.gilbert@object-refinery.com>
24078
24079         * java/awt/image/ComponentSampleModel.java
24080         (getBankIndices): Return a copy of the array, not a reference to the
24081         original,
24082         (getBandOffsets): Likewise.
24083
24084 2006-04-05  David Gilbert  <david.gilbert@object-refinery.com>
24085
24086         * java/awt/image/ComponentSampleModel.java: Added API docs all over.
24087
24088 2006-04-04  Tom Tromey  <tromey@redhat.com>
24089
24090         * java/net/MimeTypeMapper.java (MimeTypeMapper): Fixed indices.
24091
24092 2006-04-04  Tom Tromey  <tromey@redhat.com>
24093
24094         * java/net/MimeTypeMapper.java (mime_types): No longer static.
24095         (MimeTypeMapper): Initialize.
24096         (fillFromFile): New method.
24097         (main): New method.
24098         (mime_strings): Updated.
24099
24100 2006-04-04  Tom Tromey  <tromey@redhat.com>
24101
24102         * lib/gen-classlist.sh.in: Correct handle generated files.
24103
24104 2006-04-04  Ito Kazumitsu  <kaz@maczuka.gcd.org>
24105
24106         * gnu/regexp/CharIndexed.java(setAnchor): New method.
24107         * gnu/regexp/CharIndexedInputStream.java(setAnchor): New method.
24108         * gnu/regexp/CharIndexedCharSequence.java: New file.
24109         * gnu/regexp/CharIndexedCharArray.java: Rewritten as an extention of
24110         gnu.regexp.CharIndexedCharSequence.
24111         * gnu/regexp/CharIndexedString.java: Likewise.
24112         * gnu/regexp/CharIndexedStringBuffer.java: Likewise.
24113         * gnu/regexp/RE.java(makeCharIndexed): Make a new CharIndexed
24114         using CharIndexedCharSequence. Use setAnchor when the input
24115         object is already a CharIndexed.
24116         * java/util/regex/Matcher.java(inputCharIndexed): New field
24117         to be used as a parameter of the RE#getMatch.
24118
24119 2006-04-04  David Gilbert  <david.gilbert@object-refinery.com>
24120
24121         * java/awt/image/SampleModel.java: Reformatted.
24122
24123 2006-04-04  David Gilbert  <david.gilbert@object-refinery.com>
24124
24125         * java/awt/image/ComponentSampleModel.java
24126         (ComponentSampleModel(int, int, int, int, int[])): Added API 
24127         documentation,
24128         (ComponentSampleModel(int, int, int, int, int[], int[]): Throw 
24129         IllegalArgumentException for DataBuffer.TYPE_UNDEFINED, take copies
24130         of the bandOffsets and bankIndices arguments, added API documentation,
24131         * java/awt/image/SampleModel.java
24132         (SampleModel(int, int, int, int): Throw IllegalArgumentException for
24133         unrecognised dataTypes, w * h exceeds Integer.MAX_VALUE, and numBands
24134         less than or equal to zero, added API documentation.
24135
24136 2006-04-04  Lillian Angel  <langel@redhat.com>
24137
24138         * java/util/zip/ZipFile.java
24139         (getInputStream): Fixed to return size of ZipEntry
24140         minus the total bytes read. This guarantees that the 
24141         right value is returned even if some bytes have already
24142         been read.
24143
24144 2006-04-04  Thomas Fitzsimmons  <fitzsim@redhat.com>
24145
24146         * javax/imageio/plugins/jpeg/JPEGImageWriteParam.java (messages):
24147         Remove static modifier.
24148
24149 2006-04-04  David Gilbert  <david.gilbert@object-refinery.com>
24150
24151         * java/awt/image/ComponentSampleModel.java: Reformatted.
24152
24153 2006-04-03  Thomas Fitzsimmons  <fitzsim@redhat.com>
24154
24155         * javax/imageio/plugins/jpeg/JPEGImageWriteParam.java: New file.
24156         * javax/imageio/plugins/jpeg/JPEGImageReadParam.java: Add
24157         retrieval instructions to javadoc header.
24158         * javax/imageio/ImageWriteParam.java: Fix javadoc for
24159         compressionType field.
24160         * lib/Makefile.am (propertydirs): Add javax directory.
24161         (propertyfiles): Likewise.
24162         * resource/javax/imageio/plugins/jpeg/MessagesBundle.properties:
24163         New file.
24164
24165 2006-04-03  Tom Tromey  <tromey@redhat.com>
24166
24167         PR classpath/26971:
24168         * javax/naming/directory/BasicAttribute.java: Added missing @since.
24169         (BasicAttributeEnumeration.where): Initialize to 0.
24170         (BasicAttributeEnumeration.nextElement): Post-increment 'where'.
24171
24172 2006-04-03  Lillian Angel  <langel@redhat.com>
24173
24174         PR classpath/24596 and PR classpath/26930
24175         * java/util/zip/ZipFile.java
24176         (getInputStream): Override available function for 
24177         InflaterInputStream instance.
24178
24179 2006-04-03  Thomas Fitzsimmons  <fitzsim@redhat.com>
24180
24181         * javax/imageio/plugins/jpeg/JPEGImageReadParam.java: New file.
24182
24183 2006-04-03  Tom Tromey  <tromey@redhat.com>
24184
24185         * javax/security/auth/kerberos/ServicePermission.java: New file.
24186         * javax/security/auth/kerberos/DelegationPermission.java: New file.
24187         * javax/security/auth/kerberos/KerberosKey.java: New file.
24188         * javax/security/auth/kerberos/KeyImpl.java: New file.
24189         * javax/security/auth/kerberos/KerberosTicket.java: New file.
24190         * javax/security/auth/kerberos/KerberosPrincipal.java: New file.
24191
24192 2006-04-03  Sven de Marothy  <sven@physto.se>
24193
24194         * gnu/java/awt/peer/gtk/GtkClipboard.java: Add support for
24195         non-GtkImage images.
24196
24197 2006-04-03  Mark Wielaard  <mark@klomp.org>
24198
24199         * lib/gen-classlist.sh.in: Use classes.tmp, not classes.2
24200         as temporary file name.
24201
24202 2006-04-03  Dalibor Topic  <robilad@kaffe.org>
24203
24204         * INSTALL: Documented --with-glibj-zip option.
24205
24206 2006-04-03  Dalibor Topic  <robilad@kaffe.org>
24207
24208         Fixed all pscan warnings.
24209
24210         * native/jni/classpath/jcl.c (JCL_ThrowException),
24211         native/jni/classpath/jcl.h (DBG),
24212         native/target/generic/target_generic.h (TARGET_NATIVE_LAST_ERROR_STRING_FORMAT),
24213         native/target/generic/target_generic_misc.h (TARGET_NATIVE_MISC_FORMAT_STRING0):
24214         Use "%s" format in fprintf and snprintf explicitely when printing a single 
24215         string to prevent format string exploits.
24216         
24217         * native/jni/java-net/javanet.h (DBG): Removed duplicate
24218         definition. Included jcl.h instead.
24219  
24220 2006-04-03  Raif S. Naffah  <raif@swiftdsl.com.au>
24221
24222         * tools/gnu/classpath/tools/jarsigner/Main.java: Removed unused imports.
24223         (provider): Made it protected.
24224         (providerInstalled): New field.
24225         (Main): Made it a 0-arguments constructor.
24226         Removed throws clasue.
24227         (main): Removed throws clause.
24228         Call processArgs(args) after constructing instance.
24229         Call teardown() before existing.
24230         (processArgs): Added javadoc.
24231         Reduced to throws Exception.
24232         (start): Likewise.
24233         (teardown): New method.
24234         (setupCommonParams): Added javadoc.
24235         Install designated provider if not already installed.
24236         (installNewProvider): New method.
24237         (setupSigningParams): Added javadoc.
24238         Instantiate the KeyStore using type only.
24239         * tools/gnu/classpath/tools/jarsigner/JarSigner.java:
24240         Removed unused imports.
24241         (start): Reduced to throws Exception.
24242         * tools/gnu/classpath/tools/jarsigner/JarVerifier.java (start): Likewise.
24243         * tools/gnu/classpath/tools/jarsigner/HashUtils.java:
24244         Re-organized imports.
24245         * gnu/java/security/key/KeyPairGeneratorFactory.java (getInstance):
24246         Test ignoring case.
24247         (getNames): Add "dsa" as an algorithm provided by this Factory.
24248         (makeInstance): Construct IllegalArgumentException with 2 arguments.
24249
24250 2006-04-03  Roman Kennke  <kennke@aicas.com>
24251
24252         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
24253         (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getGlyphVector):
24254         Replaced g_free() with pango_item_free() to avoid problems
24255         with the allocator.
24256
24257 2006-04-03  Rafael H. Schloming  <rafaels@redhat.com>
24258
24259         Fixes bug #26668
24260         * java/util/logging/Level.java (parse): Document.
24261         * java/util/logging/LogManager.java (rootLogger): Removed.
24262         (LogManager): Just set loggers to new HashMap.
24263         (getLogManager): Make synchronized. Create and init LogManager if it
24264         doesn't exist yet.
24265         (static): Removed block.
24266         (MANAGER_PROPERTY): New private final string.
24267         (makeLogManager): Use new property string, move warning to
24268         createInstance() method.
24269         (CONFIG_PROPERTY): New private final string.
24270         (initLogManager): New method.
24271         (addLogger): Use Logger.root, not rootLogger.
24272         (findAncestor): Likewise.
24273         (readConfiguration): Move warning to createInstance() method.
24274         Add handlers directly to Logger.root. Warn about bad level values.
24275         (getClassProperty): Use new locateClass() method.
24276         (getInstanceProperty): Only catch specific newInstance Errors.
24277         (createInstance): Make private and takes a string to use in warning
24278         messages. Use new locateClass() method and generate appropriate
24279         warning message.
24280         (warn): New methods.
24281         (locateClass): Locates a class through the context class loader and
24282         system class loader as backup.
24283         * java/util/logging/Logger.java (root): New static final field.
24284         (Logger): Set parent to root.
24285         (setParent): Directly check root field.
24286
24287 2006-04-02  Andrew John Hughes  <gnu_andrew@member.fsf.org>
24288
24289         * java/util/Collections.java:
24290         (binarySearch(List, T)): Fixed signature.
24291         (unmodifiableList(List)): Likewise.
24292         (UnmodifiableList(List)): Fixed constructor.
24293         (UnmodifiableRandomAccessList(List)): Likewise.
24294         (unmodifiableMap(Map)): Fixed signature.
24295         (UnmodifiableMap(Map)): Fixed constructor.
24296         (unmodifiableSortedMap(Map)): Fixed signature.
24297         (UnmodifiableSortedMap(Map)): Fixed constructor.
24298         
24299 2006-04-02  Andrew John Hughes  <gnu_andrew@member.fsf.org>
24300
24301         * java/io/ObjectOutputStream.java:
24302         (writeObject(Object)): Added enum support.
24303         (writeClassDescriptor(ObjectStreamClass)): Likewise.
24304         * java/io/ObjectStreamClass.java:
24305         (isEnum()): New package-private method.
24306         (setFlags(Class)): Added enum support.
24307         * java/io/ObjectStreamConstants.java:
24308         (SC_ENUM): Added.
24309         
24310 2006-04-02  Robert Schuster  <robertschuster@fsfe.org>
24311
24312         * javax/swing/text/Segment.java:
24313         (setPosition): Make exception message more verbose.
24314         * javax/swing/text/WrappedPlainView.java:
24315         (insertUpdate): Removed unneeded repaint call.
24316         (changeUpdate): Dito.
24317         (removeUpdate): Dito.
24318         (WrappedLine.determineNumLines): Do not return numLines, break
24319         from loop if no new break point has been calculated.
24320         (WrappedLine.updateDamage): Rewritten.
24321         (WrappedLine.insertUpdate): Removed unneeded update code.
24322         (WrappedLine.removeUpdate): Removed unneeded update code, added
24323         comment.        
24324
24325 2006-04-02  Dalibor Topic  <robilad@kaffe.org>
24326
24327         * configure.ac (with-glibj-zip): Added new option.
24328
24329         * examples/Makefile.am,
24330         lib/Makefile.am,
24331         tools/Makefile.am: Adapted build classpath to use glibj.zip,
24332         in addition to classes in lib directory.
24333
24334 2006-04-02  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
24335
24336         * tools/gnu/classpath/tools/giop/GRMIC.java,
24337         tools/gnu/classpath/tools/giop/IorParser.java,
24338         tools/gnu/classpath/tools/giop/grmic/CompilationError.java,
24339         tools/gnu/classpath/tools/giop/grmic/Generator.java,
24340         tools/gnu/classpath/tools/giop/grmic/GiopIo.java,
24341         tools/gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java,
24342         tools/gnu/classpath/tools/giop/grmic/HashFinder.java,
24343         tools/gnu/classpath/tools/giop/grmic/MethodGenerator.java,
24344         tools/gnu/classpath/tools/rmi/RMIC.java,
24345         tools/gnu/classpath/tools/rmi/rmic/RmiMethodGenerator.java,
24346         tools/gnu/classpath/tools/rmi/rmic/RmicCompiler.java,
24347         tools/gnu/classpath/tools/rmi/rmic/WrapUnWrapper.java: Removed
24348         linking exception from the licensing header.
24349         * tools/gnu/classpath/tools/rmi/rmid/ActivationSystemImpl_Stub.java:
24350         Added licensing header.
24351
24352 2006-04-02  Mark Wielaard  <mark@klomp.org>
24353
24354         * tools/Makefile.am (bin_SCRIPTS): Renamed to jarsigner.sh.
24355         (jarsigner): Removed.
24356
24357 2006-04-02  Dalibor Topic  <robilad@kaffe.org>
24358
24359         * configure.ac: don't check for isnan function.
24360         * native/fdlibm/fdlibm.h: Always use the isnan macro.
24361
24362 2006-04-02  Raif S. Naffah  <raif@swiftdsl.com.au>
24363
24364         * configure.ac: Added tools/jarsigner.sh to AC_CONFIG_FILES.
24365         * tools/Makefile.am: Generate jarsigner shell script.
24366         * tools/jarsigner.sh.in: New template.
24367         * tools/.cvsignore: Added jarsigner.sh.
24368
24369 2006-04-02  Raif S. Naffah  <raif@swiftdsl.com.au>
24370
24371         * tools/gnu/classpath/tools/jarsigner/HashUtils.java: Use GPL.
24372         * tools/gnu/classpath/tools/jarsigner/SFHelper.java: Likewise.
24373         * tools/gnu/classpath/tools/jarsigner/JarVerifier.java: Likewise.
24374         * tools/gnu/classpath/tools/jarsigner/JarSigner.java: Likewise.
24375         * tools/gnu/classpath/tools/jarsigner/Main.java: Likewise.
24376         Re-organised imports.
24377
24378 2006-04-01  Bernhard Rosenkraenzer  <bero@arklinux.org>
24379
24380         PR classpath/25924:
24381         * java/awt/image/DirectColorModel.java (extractAndNormalizeSample):
24382         Handle case where alpha==0.
24383
24384 2006-04-02  Robert Schuster  <robertschuster@fsfe.org>
24385
24386         PR #26676
24387         * javax/swing/text/Utilities.java:
24388         (getTabbedTextOffset): Added check to decrement pos not below zero,
24389         changed '>' comparison to '>='.
24390         * javax/swing/text/WrappedPlainView.java:
24391         (lineHeight): New field.
24392         (calculateBreakPosition): Throw InternalError in catch block, removed
24393         unneeded brackets, use specific version of
24394         Utilities.getTabbedTextOffset.
24395         (paint): Set various properties neccessary for drawing.
24396         (WrappedLine.paint): Removed code to set field of outer class.
24397         (WrappedLine.modelToView): Removed unneeded expression from
24398         if-statement.
24399         (WrappedLine.viewToModel): Initialize end with endOffset - 1, removed
24400         -1 from return statement, copy only a subset into the Segment, removed
24401         special handling of mark value - just return it, simplified
24402         incrementation of currLineStart.
24403         (WrappedLine.insertUpdate): Recalculate numLines, report preference
24404         change to parent view.
24405         (WrappedLine.removeUpdate): Dito.
24406
24407 2006-04-02  Robert Schuster  <robertschuster@fsfe.org>
24408
24409         * javax/swing/text/Segment.java:
24410         (toString): Return empty string when array is null.
24411
24412 2006-04-02  Robert Schuster  <robertschuster@fsfe.org>
24413
24414         * javax/swing/plaf/basic/BasicTextUI.java:
24415         (damageRange): Use SwingUtilities.computeUnion to avoid
24416         unneccessary Rectangle instantiation.
24417
24418 2006-04-01  Tom Tromey  <tromey@redhat.com>
24419
24420         * java/security/cert/Certificate.java (serialVersionUID): Fixed.
24421
24422 2006-04-01  Robert Schuster  <robertschuster@fsfe.org>
24423
24424         * javax/swing/text/CompositeView.java: Fixed copyright header.
24425         * javax/swing/text/BoxView.java: Fixed copyright header.
24426         * javax/swing/text/WrappedPlainView.java: Fixed copyright header.
24427         * javax/swing/text/Utilities.java: Fixed copyright header.
24428
24429 2006-04-01  Robert Schuster  <robertschuster@fsfe.org>
24430
24431         * javax/swing/text/CompositeView.java:
24432         (modelToView): Throw BadLocationException when no child
24433         view can be found, restructed to throw exception as early
24434         as possible.
24435         (viewToModel): Use mutable allocation as argument for viewToModel
24436         call on child view.
24437         * javax/swing/text/BoxView.java:
24438         (getViewAtPoint): Call setBounds() r before method returns with
24439         suitable child view.
24440         * javax/swing/text/Utilities.java:
24441         (getPositionBelow): Added try-catch-block around modelToView call,
24442         added method return when BadLocationException was thrown.
24443         * javax/swing/text/WrappedPlainView.java:
24444         (WrappedLine.viewToModel): Changed '<=' to '<' in if-expression,
24445         added note about meaning of rect.x and rect.width, removed unneeded
24446         checks, added code to not return the last possible document offset.
24447
24448 2006-04-01  Robert Schuster  <robertschuster@fsfe.org>
24449
24450         * javax/swing/text/WrappedPlainView.java:
24451         (WrappedLine.viewToModel): Change < to <= in if-statement,
24452         removed addition of currLineStart to return value.
24453         * javax/swing/text/BoxView.java:
24454         (getViewAtPoint): Use copy instead of r for method call
24455         which modifies the second argument.
24456
24457 2006-04-01  Mark Wielaard  <mark@klomp.org>
24458
24459         Fixes PR26973
24460         * java/util/jar/Attributes.java: Fully qualify java.util.Map.
24461
24462 2006-03-31  Tom Tromey  <tromey@redhat.com>
24463
24464         * lib/split-for-gcj.sh: Updated for multi-field format.
24465         * lib/Makefile.am (CLEANFILES): Added classes.2.
24466         * lib/gen-classlist.sh.in (GCJ): Removed.  Create classes.1 and
24467         classes.2 using multiple fields.
24468
24469 2006-03-31  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
24470
24471         * javax/swing/JTable.java (columnSelectionChanged):
24472         Removed print statement.
24473         * javax/swing/DefaultListSelectionModel.java
24474         (addSelectionInterval, removeSelectionInterval):
24475         Fire the difference between selection. (setLeadSelectionIndex):
24476         Fire the difference and mark current and previous lead
24477         selection indexes for repaint.
24478
24479 2006-03-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
24480
24481         * javax/imageio/plugins/jpeg/JPEGHuffmanTable.java: Eliminate
24482         unnecessary copying.
24483         * javax/imageio/plugins/jpeg/JPEGQTable.java: Likewise.
24484
24485 2006-03-31  Lillian Angel  <langel@redhat.com>
24486
24487         * java/awt/Component.java
24488         (translateEvent): oldKey should be the value of the
24489         key char.
24490
24491 2006-03-31  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
24492
24493         * javax/swing/JTable.java (columnSelectionChanged):
24494         Treat second repaint parameter as width.
24495
24496 2006-03-31  Lillian Angel  <langel@redhat.com>
24497         
24498         PR classpath/26924
24499         * gnu/java/awt/peer/gtk/GtkCanvasPeer.java
24500         (realize): New native function.
24501         * include/gnu_java_awt_peer_gtk_GtkCanvasPeer.h:
24502         Added new function declaration.
24503         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c
24504         (realize): New function.
24505
24506 2006-03-31  Robert Schuster  <robertschuster@fsfe.org>
24507         
24508         * javax/swing/text/GapContent.java:
24509         (replace): Move all Position instances from gap's end to
24510         it's start before increasing the gap start.
24511         * javax/swing/plaf/basic/BasicTextAreaUI.java:
24512         (propertyChanged): Update the view only instead of
24513         indicating a document change.
24514
24515 2006-03-31  Roman Kennke  <kennke@aicas.com>
24516
24517         * javax/swing/JTextField.java
24518         (fireActionPerformed): Put the textfields text in the action
24519         instead of the action name.
24520
24521 2006-04-01  Raif S. Naffah  <raif@swiftdsl.com.au>
24522
24523         * tools/gnu/classpath/tools/jarsigner/Main.java (setupCommonParams):
24524         Check for null jar-file argument.
24525         (setupSigningParams): Check for null alias argument.
24526
24527 2006-03-31  Roman Kennke  <kennke@aicas.com>
24528
24529         * javax/swing/JComponent.java
24530         (paintChildren): Split up in two cases, depending on the
24531         optimizedDrawingEnabled flag.
24532         (paintChildrenWithOverlap): New method. Paints children when
24533         not optimizedDrawingEnabled. This implements better painting
24534         algorithm for overlapping components, so that the painted
24535         regions are minimized.
24536         (paintChildrenOptimized): New method. Paints children when
24537         when optimizedDrawingEnabled. This implements a painting
24538         algorithm that is optimized for the case when all children
24539         are guaranteed to be tiled.
24540
24541 2006-03-31  Raif S. Naffah  <raif@swiftdsl.com.au>
24542
24543         * tools/gnu/classpath/tools/jarsigner/SFHelper.java (updateEntry): Use
24544         Attributes.putValue(String,String).
24545         (finishSigning): Likewise.
24546         * gnu/java/util/jar/JarUtils.java (MANIFEST_VERSION): New constant.
24547         (SIGNATURE_VERSION): Likewise.
24548         (readSFManifest): Use local string constant.
24549         (readMainSection): Likewise.
24550         (readVersionInfo): Likewise.
24551         * java/util/jar/Attributes.java (MANIFEST_VERSION):
24552         Redefined using JarUtils constant.
24553         (SIGNATURE_VERSION): Likewise.
24554         (putValue(Name,String)): Made it private.
24555
24556 2006-03-31  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
24557
24558         * javax/swing/DefaultListSelectionModel.java (fireDifference):
24559         New method. (clearSelection): Rewritten. (setSelectionInterval):
24560         Fire the difference between current and new selection.
24561         * javax/swing/JTable.java (columnSelectionChanged, valueChanged):
24562         Only repaint the region, where selection has been changed.
24563         * javax/swing/plaf/basic/BasicTableUI.java 
24564         (TableAction.actionPerformed): Do not change the column selection
24565         when only row selection change is wanted (and in reverse) and 
24566         do not call the repaint() here.
24567
24568 2006-03-31  David Gilbert  <david.gilbert@object-refinery.com>
24569
24570         Fixes bug #26951
24571         * javax/swing/DefaultComboBoxModel.java
24572         (DefaultComboBoxModel(Vector)): Call getSize() instead of 
24573         vector.size(),
24574         (addElement): Call list.addElement() rather than list.add(), and only
24575         update selected item if it is currently null,
24576         (removeElementAt): Update selected item, then remove the element.
24577
24578 2006-03-31  David Gilbert  <david.gilbert@object-refinery.com>
24579
24580         Fixes bug #26955
24581         * java/awt/geom/Point2D.java
24582         (distanceSq(double, double)): Fixed order of arguments,
24583         (distanceSq(Point2D)): Likewise,
24584         (distance(double, double)): Likewise,
24585         (distance(Point2D)): Likewise.
24586
24587 2006-03-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
24588
24589         * javax/imageio/plugins/jpeg/JPEGQTable.java: New file.
24590         * javax/imageio/plugins/jpeg/JPEGHuffmanTable.java
24591         (ACChrominanceLengths, ACChrominanceValues, ACLuminanceLengths,
24592         ACLuminanceValues, DCChrominanceLengths, DCChrominanceValues,
24593         DCLuminanceLengths, DCLuminanceValues): Remove fields.
24594
24595 2006-03-30  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
24596
24597         * javax.swing.JTable (constructor): Initialize column
24598         model column margin and table row margin before setting the
24599         table column model. (initialiseLocalVars): Do not call 
24600         setIntercellSpacing.
24601
24602 2006-03-30  Chris Burdess  <dog@gnu.org>
24603
24604         * javax/xml/datatype/DatatypeFactory.java (newDurationDayTime): Fix
24605           method signature.
24606         * javax/xml/validation/SchemaFactoryLoader.java: New file.
24607
24608 2006-03-30  Mark Wielaard  <mark@klomp.org>
24609
24610         PR 26848
24611         * java/awt/Window.java (dispatchEventImpl): On ComponentEvents
24612         adjust bounds. On resize invalidate and validate container.
24613         Always pass on ComponentEvents to Container super class.
24614         * gnu/java/awt/peer/gtk/GtkFramePeer.java (setBounds): Adjust for
24615         menuBar and pass to GtkWindowPeer super class.
24616         (postConfigureEvent): Adjust menu bar width. Adjust y and height
24617         bounds and pass to GtkWindowPeer super class.
24618         * gnu/java/awt/peer/gtk/GtkWindowPeer.java (x, y, width, height):
24619         New fields for local bounds.
24620         (getX, getY): New methods.
24621         (getWidth): Don't call into awtComponent.
24622         (getHeight): Likewise.
24623         (create): Cache local bounds.
24624         (setLocation): Documented, made protected and just call
24625         nativeSetLocation.
24626         (setLocationUnlocked): Removed unused method.
24627         (setBoundsUnlocked): Likewise.
24628         (setBounds): Check whether bounds actually changed and cache local
24629         bounds.
24630         (setSize): Documented and made protected.
24631         (setResizable): Documented and cache local bounds.
24632         (postConfigureEvent): Update local bounds. Don't call awtComponent
24633         directly but post ComponentEvents.
24634         (show): Cache local bounds.
24635         (getBounds): Override to return cached bounds.
24636
24637 2006-03-30  Lillian Angel  <langel@redhat.com>
24638
24639         * gnu/java/awt/peer/gtk/GdkGraphics.java
24640         (drawImage): Added check to prevent NPE.
24641         (drawImage): Likewise.
24642         (drawImage): Likewise.
24643         * java/awt/Choice.java
24644         (dispatchEventImpl): New function. selectedIndex was
24645         not being updated properly otherwise.
24646
24647 2006-03-30  Roman Kennke  <kennke@aicas.com>
24648
24649         * javax/swing/JTabbedPane.java
24650         (removeTabAt): Removed debug code.
24651
24652 2006-03-30  Roman Kennke  <kennke@aicas.com>
24653
24654         PR 26045
24655         * javax/swing/plaf/basic/BasicTextUI.java
24656         (installKeyboardActions): Simply call getKeymap() and install this.
24657         (createKeymap): Reimplemented to fetch a keymap from the UIManager.
24658
24659 2006-03-30  Roman Kennke  <kennke@aicas.com>
24660
24661         * javax/swing/JTabbedPane.java
24662         (removeTabAt): Adjust selection correctly when removing a tab
24663         before the selected tab. Also remove the component from the
24664         container, not only the tab object. Repaint and revalidate the
24665         component after the removal.
24666         (removeAll): Set selection to -1 before removing the tabs.
24667
24668 2006-03-29  Andrew John Hughes  <gnu_andrew@member.fsf.org>
24669
24670         * java/io/ObjectInputStream.java:
24671         (parseContent(byte)): Added enum support.
24672         * java/io/ObjectStreamConstants.java:
24673         (TC_ENUM): Added.
24674         (TC_MAX): Changed to new maximum, TC_ENUM.
24675         
24676 2006-03-29  Lillian Angel  <langel@redhat.com>
24677
24678         Partial fix for bug #26929
24679         * gnu/java/awt/peer/gtk/GtkPanelPeer.java
24680         (updateComponent): Removed. We want to clear the panel
24681         before painting.
24682         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
24683         (Java_gnu_java_awt_peer_gtk_GdkGraphics_clearRect): Fixed typo.
24684         Should set the background to the saved background color.
24685
24686 2006-03-29  Mark Wielaard  <mark@klomp.org>
24687
24688         Partial fix for bug #26848 (pack).
24689         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (setVisible):
24690         Always show instances of Window.
24691
24692 2006-03-29  David Gilbert  <david.gilbert@object-refinery.com>
24693
24694         * javax/swing/JSlider.java
24695         (setPaintLabels): Only create standard labels if labelTable is null,
24696         * javax/swing/plaf/basic/BasicSliderUI.java
24697         (PropertyChangeHandler.propertyChange): Recalculate geometry for 
24698         "paintTicks" property change,
24699         (calculateThumbSize): Updated API docs,
24700         (calculateContentRect): Likewise,
24701         (calculateTrackBuffer): Take into account the lowest and highest 
24702         labels when calculating buffer space,
24703         (calculateTrackRect): Include labels, if visible, in the calculation of
24704         the trackRect position,
24705         (calculateTickRect): Height is zero if ticks are not painted,
24706         (calculateLabelRect): Use max dimensions of actual labels,
24707         (getWidthOfHighValueLabel): Use preferred size,
24708         (getWidthOfLowValueLabel): Likewise,
24709         (getHeightOfHighValueLabel): Likewise,
24710         (getHeightOfLowValueLabel): Likewise,
24711         (drawInverted): Just return slider setting,
24712         (getHighestValueLabel): Updated API docs,
24713         (paintTicks): Removed redundant (and buggy) code, replaced with calls 
24714         to xPositionForValue() and yPositionForValue(),
24715         (paintHorizontalLabel): Removed full qualification of class name,
24716         (paintVerticalLabel): Likewise,
24717         (xPositionForValue): Reimplemented,
24718         (yPositionForValue): Reimplemented,
24719         * javax/swing/plaf/metal/MetalSliderUI.java
24720         (paintTrack): Made track one pixel longer.
24721
24722 2006-03-29  Tom Tromey  <tromey@redhat.com>
24723
24724         PR gcc/26901:
24725         * tools/Makefile.am (JCOMPILER): Added encoding options.
24726         * examples/Makefile.am (JCOMPILER): Added encoding options.
24727
24728 2006-03-29  Gary Benson  <gbenson@redhat.com>
24729
24730         Partial fix for PR classpath/24895
24731         * java/io/FilePermission.java (implies): Canonicalize paths.
24732
24733 2006-03-29  Robert Schuster  <robertschuster@fsfe.org>
24734
24735         PR 26888
24736         * javax/swing/text/GapContent.java:
24737         (replace): Added call to resetMarksAtZero.
24738
24739 2006-03-29  Roman Kennke  <kennke@aicas.com>
24740
24741         PR 23527
24742         * javax/swing/plaf/basic/BasicMenuItemUI.java
24743         (cachedRect): New field.
24744         (BasicMenuItemUI): Initialize cachedRect field.
24745         (getPreferredMenuItemSize): Use layoutMenuItem() helper method
24746         to determine layout. Store maximum accelerator and text width
24747         in client properties of parent to allow correct alignment
24748         of accelerators among menu items of one menu.
24749         (paintMenuItem): Outsourced menu item layout into layoutMenuItem
24750         method. Align accelerators according to the values calculated
24751         in getPreferredMenuItemSize.
24752         (getAcceleratorString) New helper method.
24753         (layoutMenuItem): New helper method.
24754
24755 2006-03-29  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
24756
24757         * gnu/java/rmi/activation/ActivationSystemTransient.java: Rewritten.
24758         * gnu/java/rmi/activation/BidiTable.java: Rewritten.
24759         * gnu/java/rmi/dgc/LeaseRenewingTask.java (constructor, sheduleLeases):
24760         Avoid NPEs.
24761         * gnu/java/rmi/server/ActivatableServerRef.java (getRefClass, 
24762         readExternal, writeExternal): New methods.
24763         * gnu/java/rmi/server/UnicastRef.java (invokeCommon): Splitten into
24764         two stages, invokeCommon(Remote, ...) and 
24765         invokeCommen(UnicastConnection, ...).
24766         * java/rmi/server/RemoteObject.java (readObject, writeObject): Expect
24767         also the ActivatableRef. toString(): Documented.
24768         * gnu/java/rmi/server/ActivatableRef.java,
24769         tools/gnu/classpath/tools/rmi/Persistent.java,
24770         tools/gnu/classpath/tools/rmi/PersistentBidiHashTable.java,
24771         tools/gnu/classpath/tools/rmi/PersistentHashTable.java,
24772         tools/gnu/classpath/tools/rmi/REGISTRY.java,
24773         tools/gnu/classpath/tools/rmi/REGISTRY.txt,
24774         tools/gnu/classpath/tools/rmi/RMID.java,
24775         tools/gnu/classpath/tools/rmi/RMID.txt,
24776         tools/gnu/classpath/tools/rmi/registry/RegistryImpl.java,
24777         tools/gnu/classpath/tools/rmi/registry/RegistryImpl_Skel.java,
24778         tools/gnu/classpath/tools/rmi/registry/RegistryImpl_Stub.java,
24779         tools/gnu/classpath/tools/rmi/registry/package.html,
24780         tools/gnu/classpath/tools/rmi/rmid/ActivationSystemImpl.java,
24781         tools/gnu/classpath/tools/rmi/rmid/ActivationSystemImpl_Stub.java: 
24782         New files.
24783         * tools/README: Documented.
24784         * NEWS: Added entry about the activation.
24785
24786 2006-03-29  Roman Kennke  <kennke@aicas.com>
24787
24788         PR 23527
24789         * javax/swing/plaf/basic/BasicMenuItemUI.java
24790         (viewRect): New field.
24791         (textRect): New field.
24792         (accelRect): New field.
24793         (iconRect): New field.
24794         (arrowIconRect): New field.
24795         (checkIconRect): New field.
24796         (BasicMenuItemUI): Initialize new fields.
24797         (paintMenuItem): Rewritten to correctly layout and paint
24798         the menu item in a more straightforward way. Use cached rectangle
24799         objects for layout.
24800         (paintAccelerator): Pulled inside the paintMenuItem method.
24801
24802 2006-03-29  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
24803
24804         * tools/gnu/classpath/tools/rmi/rmic/templates/Stub_12Method.jav:
24805         Do not use initCause with UnexpectedException.
24806         * tools/gnu/classpath/tools/rmi/rmic/templates/Stub_12MethodVoid.jav:
24807         Likewise. 
24808
24809 2006-03-29  Mark Wielaard  <mark@klomp.org>
24810
24811         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
24812         (setCursorID): Removed unused static variable.
24813
24814 2006-03-29  David Gilbert  <david.gilbert@object-refinery.com>
24815
24816         * javax/swing/plaf/basic/BasicSliderUI.java: Reformatted.
24817
24818 2006-03-29  Mark Wielaard  <mark@klomp.org>
24819
24820         Fixes bug #26527
24821         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
24822         (gtkWidgetSetCursorUnlocked): Call gdk_flush().
24823
24824 2006-03-28  Roman Kennke  <kennke@aicas.com>
24825
24826         * javax/swing/UIManager.java
24827         (installLookAndFeel): Implemented.
24828         (setInstalledLookAndFeels): Implemented.
24829
24830 2006-03-28  Roman Kennke  <kennke@aicas.com>
24831
24832         * javax/swing/plaf/metal/MetalButtonUI.java
24833         (update): Paint gradient only when the background color
24834         is not a UIResource and if the button is neither armed nor
24835         pressed and if the button is contentAreaFilled.
24836
24837 2006-03-28  Roman Kennke  <kennke@aicas.com>
24838
24839         * javax/swing/JLayeredPane.java
24840         (addImpl): Repaint added component.
24841
24842 2006-03-28  Ito Kazumitsu  <kaz@maczuka.gcd.org>
24843
24844         * java/util/regex/Matcher.java: Reverted.
24845
24846 2006-03-28  Roman Kennke  <kennke@aicas.com>
24847
24848         * javax/swing/text/AsyncBoxView.java
24849         (setEstimatedMajorSpan): Made method protected.
24850         (getEstimatedMajorSpan): Made method protected.
24851         * javax/swing/text/BoxView.java
24852         (flipEastAndWestAtEnds): Fixed typo.
24853         * javax/swing/text/InternationalFormatter.java
24854         (getActions): Made method protected.
24855         * javax/swing/text/Position.java
24856         (Bias): Made class final.
24857         * javax/swing/text/html/HTML.java
24858         (MEDIA): Made field package private. Not specified.
24859         (NOBR): Made field package private. Not specified.
24860         * javax/swing/text/html/NullView.java
24861         Made class package private.
24862         * javax/swing/text/html/parser/Entity.java
24863         Made class non-serializable as specified.
24864
24865 2006-03-28  Roman Kennke  <kennke@aicas.com>
24866
24867         * javax/swing/plaf/metal/MetalButtonUI.java
24868         (update): Don't paint gradient if the background color is
24869         no UIResource. Removed double getModel() call. Don't check for
24870         OceanTheme.
24871
24872 2006-03-28  Roman Kennke  <kennke@aicas.com>
24873
24874         * javax/swing/plaf/basic/BasicMenuItemUI.java
24875         (paint): Call paintMenuItem with the selectionBackground as
24876         parameter.
24877         (paintBackground): Fixed the condition and color for the background
24878         painting.
24879
24880 2006-03-28  Roman Kennke  <kennke@aicas.com>
24881
24882         * javax/swing/plaf/metal/MetalTabbedPaneUI.java
24883         (tabsOpaque): New field.
24884         (paintLeftTabBorder): Paint some parts only when the tabs are
24885         opaque. Determine the tab background using the paintLeftTabBorder()
24886         helper method.
24887         (paintRightTabBorder): Likewise.
24888         (installDefaults): Fetch tabsOpaque property from the UIDefaults.
24889
24890 2006-03-27  Tom Tromey  <tromey@redhat.com>
24891
24892         PR classpath/25189:
24893         * java/lang/Enum.java (valueOf): Ensure that the named field
24894         is an enum constant.
24895         (compareTo): Check class of enum.
24896
24897 2006-03-27  Tom Tromey  <tromey@redhat.com>
24898
24899         * java/lang/reflect/ParameterizedType.java: Javadoc fix.
24900
24901 2006-03-27  Tom Tromey  <tromey@redhat.com>
24902
24903         * vm/reference/java/lang/reflect/Method.java (METHOD_MODIFIERS):
24904         New constant.
24905         (getModifiersInternal): Renamed from getModifiers.
24906         (getModifiers): New method.
24907         (isBridge): Likewise.
24908         (isSynthetic): Likewise.
24909         (isVarArgs): Likewise.
24910         * vm/reference/java/lang/reflect/Field.java (FIELD_MODIFIERS):
24911         New constant.
24912         (getModifiersInternal): Renamed from getModifiers.
24913         (getModifiers): New method.
24914         (isSynthetic): Likewise.
24915         (isEnumConstant): Likewise.
24916         * vm/reference/java/lang/reflect/Constructor.java
24917         (getModifiersInternal): Renamed from getModifiers.
24918         (getModifiers): New method
24919         (CONSTRUCTOR_MODIFIERS): New constant.
24920         (isSynthetic): New method.
24921         (isVarArgs): Likewise.
24922         * java/lang/reflect/Member.java (isSynthetic): New method.
24923
24924 2006-03-28  Tom Tromey  <tromey@redhat.com>
24925
24926         * java/net/Proxy.java (TYPE): Added missing ";".
24927
24928 2006-03-27  Andrew John Hughes  <gnu_andrew@member.fsf.org>
24929
24930         * java/math/RoundingMode.java:
24931         Fixed serialization UID.
24932         * java/net/Proxy.java:
24933         (Type): Likewise.
24934         
24935 2006-03-27  Andrew John Hughes  <gnu_andrew@member.fsf.org>
24936
24937         * java/io/CharArrayWriter.java:
24938         (append(char)): Documented.
24939         (append(CharSequence)): Likewise.
24940         (append(CharSequence,int,int)): Likewise.
24941         
24942 2006-03-27  Jeroen Frijters  <jeroen@frijters.net>
24943
24944         * vm/reference/java/lang/reflect/Constructor.java
24945         (getTypeParameters): Check return value of getSignature for null.
24946         * vm/reference/java/lang/reflect/Method.java
24947         (getTypeParameters): Check return value of getSignature for null.
24948
24949 2006-03-27  Andrew John Hughes  <gnu_andrew@member.fsf.org>
24950
24951         * java/rmi/activation/ActivationGroup_Stub.java:
24952         Made final.
24953         
24954 2006-03-27  Tom Tromey  <tromey@redhat.com>
24955        
24956         * java/io/CharArrayWriter.java (append): New overloads.
24957         
24958 2006-03-27  Lillian Angel  <langel@redhat.com>
24959
24960         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
24961         (Java_gnu_java_awt_peer_gtk_GdkGraphics_nativeDispose):
24962         Added check for colormap. Prevents assertion error.
24963         (Java_gnu_java_awt_peer_gtk_GdkGraphics_setFGColor):
24964         Likewise.
24965         (Java_gnu_java_awt_peer_gtk_GdkGraphics_nativeCopyState):
24966         Likewise.
24967         (Java_gnu_java_awt_peer_gtk_GdkGraphics_initState__II):
24968         Likewise.
24969         (Java_gnu_java_awt_peer_gtk_GdkGraphics_initFromImage):
24970         Likewise.
24971         (Java_gnu_java_awt_peer_gtk_GdkGraphics_initStateUnlocked):
24972         Likewise.
24973
24974 2006-03-27  Dalibor Topic  <robilad@kaffe.org>
24975
24976         * m4/acinclude.m4 (CLASSPATH_FIND_JAVAC): Use 
24977         AC_MSG_ERROR instead of echoing the error message 
24978         that no compiler has been found manually.
24979
24980 2006-03-27  Roman Kennke  <kennke@aicas.com>
24981
24982         * javax/swing/RepaintManager.java
24983         (commitBuffer): Use simple drawImage() method instead of the
24984         scaling version.
24985
24986 2006-03-27  Robert Schuster  <robertschuster@fsfe.org>
24987
24988         * javax/swing/text/PlainView.java:
24989         (drawLine): Use 'endOffset' instead of 'selectionEnd'
24990         for painting the selected line.
24991
24992 2006-03-27  David Gilbert  <david.gilbert@object-refinery.com>
24993
24994         * javax/swing/plaf/basic/BasicSliderUI.java
24995         (getThumbSize): Removed TODO and updated API docs.
24996
24997 2006-03-27  Robert Schuster  <robertschuster@fsfe.org>
24998
24999         * javax/swing/text/DefaultCaret.java:
25000         (mouseClicked): Word selection rewritten.
25001         (paint): Draw line inside the bounding rectangle.
25002         (damage): Retrieve caret height from line height.
25003
25004 2006-03-28  Raif S. Naffah  <raif@swiftdsl.com.au>
25005
25006         * tools/gnu/classpath/tools/jarsigner/Main.java (processArgs): Check
25007         for null args.
25008         Check for -help option.
25009         * tools/gnu/classpath/tools/jarsigner/jarsigner.txt: Added -help option.
25010
25011 2006-03-27  Roman Kennke  <kennke@aicas.com>
25012
25013         * javax/swing/text/FieldView.java
25014         (getPreferredSpan): Don't include trailing newline in
25015         calculations.
25016         * javax/swing/text/PlainView.java
25017         (drawLine): Don't include trailing newline.
25018         (determineMaxLineLength): Don't include trailing newline.
25019         (getLineBuffer): Made method final.
25020
25021 2006-03-27  David Gilbert  <david.gilbert@object-refinery.com>
25022
25023         * javax/swing/JSlider.java
25024         (AccessibleJSlider.AccessibleJSlider): Minor API doc edit,
25025         (AccessibleJSlider.getAccessibleRole): Removed declaration of 
25026         NotImplementedException,
25027         (AccessibleJSlider.getAccessibleValue): Updated API docs.
25028
25029 2006-03-26  Andrew John Hughes  <gnu_andrew@member.fsf.org>
25030
25031         * java/lang/ProcessBuilder.java:
25032         Made final.
25033
25034 2006-03-26  Andrew John Hughes  <gnu_andrew@member.fsf.org>
25035
25036         * gnu/java/net/protocol/http/Headers.java:
25037         Match layout of file on HEAD.
25038         * gnu/javax/swing/text/html/parser/htmlValidator.java:
25039         Likewise.
25040         * java/awt/datatransfer/DataFlavor.java
25041         Likewise.
25042
25043 2006-03-26  Andrew John Hughes  <gnu_andrew@member.fsf.org>
25044
25045         * gnu/java/security/jce/hash/HavalSpi.java,
25046         * gnu/java/security/jce/hash/MD2Spi.java,
25047         * gnu/java/security/jce/hash/MD4Spi.java,
25048         * gnu/java/security/jce/hash/MD5Spi.java,
25049         * gnu/java/security/jce/hash/MessageDigestAdapter.java,
25050         * gnu/java/security/jce/hash/RipeMD128Spi.java,
25051         * gnu/java/security/jce/hash/RipeMD160Spi.java,
25052         * gnu/java/security/jce/hash/Sha160Spi.java,
25053         * gnu/java/security/jce/hash/Sha256Spi.java,
25054         * gnu/java/security/jce/hash/Sha384Spi.java,
25055         * gnu/java/security/jce/hash/Sha512Spi.java,
25056         * gnu/java/security/jce/hash/TigerSpi.java,
25057         * gnu/java/security/jce/hash/WhirlpoolSpi.java,
25058         * gnu/java/security/jce/sig/DSSKeyPairGeneratorSpi.java,
25059         * gnu/java/security/jce/sig/DSSRawSignatureSpi.java,
25060         * gnu/java/security/jce/sig/KeyPairGeneratorAdapter.java,
25061         * gnu/java/security/jce/sig/RSAPSSRawSignatureSpi.java,
25062         * gnu/java/security/jce/sig/SignatureAdapter.java,
25063         * gnu/java/security/key/IKeyPairCodec.java,
25064         * gnu/java/security/key/IKeyPairGenerator.java,
25065         * gnu/java/security/key/KeyPairGeneratorFactory.java,
25066         * gnu/java/security/key/dss/DSSKey.java,
25067         * gnu/java/security/key/dss/DSSKeyPairRawCodec.java,
25068         * gnu/java/security/key/dss/DSSPrivateKey.java,
25069         * gnu/java/security/key/dss/DSSPublicKey.java,
25070         * gnu/java/security/key/dss/FIPS186.java,
25071         * gnu/java/security/key/rsa/GnuRSAKey.java,
25072         * gnu/java/security/key/rsa/GnuRSAPrivateKey.java,
25073         * gnu/java/security/key/rsa/GnuRSAPublicKey.java,
25074         * gnu/java/security/sig/ISignature.java,
25075         * gnu/java/security/sig/ISignatureCodec.java,
25076         * gnu/java/security/sig/dss/DSSSignature.java,
25077         * gnu/java/security/sig/dss/DSSSignatureRawCodec.java,
25078         * gnu/java/security/sig/rsa/RSAPSSSignature.java,
25079         * gnu/java/security/sig/rsa/RSAPSSSignatureRawCodec.java,
25080         * gnu/java/security/util/Util.java:
25081         Remove CVS revision tags.
25082
25083 2006-03-26  Tom Tromey  <tromey@redhat.com>
25084
25085         * java/io/InputStream.java (InputStream): Implements Closeable.
25086         
25087 2006-03-26  Ito Kazumitsu  <kaz@maczuka.gcd.org>
25088
25089         * gnu/regexp/CharIndexed.java(setLastMatch, getLastMatch, getAnchor):
25090         New methods.
25091         * gnu/regexp/CharIndexedCharArray.java(setLastMatch, getLastMatch,
25092         getAnchor): New methods.
25093         * gnu/regexp/CharIndexedInputStream.java(setLastMatch, getLastMatch,
25094         getAnchor): New methods.
25095         * gnu/regexp/CharIndexedString.java(setLastMatch, getLastMatch,
25096         getAnchor): New methods.
25097         * gnu/regexp/CharIndexedStringBuffer.java(setLastMatch, getLastMatch,
25098         getAnchor): New methods.
25099         * gnu/regexp/REMatch.java(start1): New field.
25100         * gnu/regexp/RE.java(initialize): Added support for \z and \G,
25101         (match): set the starting position to start1[] instead of start[],
25102         (getMatchImpl): Set the found REMatch to the input,
25103         (makeCharIndexed): Made public.
25104         * gnu/regexp/RETokenEndOfPreviousMatch.java: New file.
25105         * gnu/regexp/RETokenEndSub.java(matchThis, findMatch):
25106         set the value of start[] copying from start1[].
25107         * gnu/regexp/RETokenLookBehind.java(matchThis): Added the settings of
25108         offset.
25109         * java/util/regex/Matcher.java(inputCharIndexed): New field
25110         to be used as a parameter of the RE#getMatch.
25111
25112 2006-03-26  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
25113
25114         * gnu/java/rmi/activation/DefaultActivationGroup.java: 
25115         Documented the default jre spawning strategy (none).
25116         * java/rmi/activation/ActivationGroup.java (currentGroupId,
25117         getSystem): Obtain the acticivation system from the 
25118         DefaultActivationSystem.
25119
25120 2006-03-26  Raif S. Naffah  <raif@swiftdsl.com.au>
25121
25122         * tools/gnu/classpath/tools/jarsigner/Main.java (setupSigningParams):
25123         Ask user for keystore password if one was not provided.
25124
25125 2006-03-26  Raif S. Naffah  <raif@swiftdsl.com.au>
25126
25127         * tools/README: Added Security tools section.
25128         Documented the jarsigner tool.
25129
25130 2006-03-25  David Gilbert  <david.gilbert@object-refinery.com>
25131
25132         * javax/swing/JScrollBar.java
25133         (AccessibleJScrollBar.getAccessibleStateSet): Implemented,
25134         (AccessibleJScrollBar.getAccessibleRole): Likewise,
25135         (AccessibleJScrollBar.getAccessibleValue): Likewise,
25136         (AccessibleJScrollBar.getCurrentAccessibleValue): Likewise,
25137         (AccessibleJScrollBar.setCurrentAccessibleValue): Likewise,
25138         (AccessibleJScrollBar.getMinimumAccessibleValue): Likewise,
25139         (AccessibleJScrollBar.getMaximumAccessibleValue): Likewise,
25140         (getAccessibleContext): Updated API docs.
25141
25142 2006-03-25  Tom Tromey  <tromey@redhat.com>
25143
25144         * .externalToolBuilders/CreateLocaleData.launch: Run if resource files
25145         change or if generator script changes.
25146
25147 2006-03-25  Tom Tromey  <tromey@redhat.com>
25148
25149         * javax/naming/ldap/StartTlsRequest.java: New file.
25150         * javax/naming/ldap/StartTlsResponse.java: New file.
25151
25152 2006-03-25  Olivier Jolly  <olivier.jolly@pcedev.com>
25153
25154     * java/net/URLClassLoader.java (FileURLLoader.getResource): Added test
25155     to validate all components of a resource path.
25156     (FileURLLoader.walkPathComponents): Helper which ensures that we are
25157     allowed to walk through every component of a resource path.
25158     
25159 2006-03-25  Michael Koch  <konqueror@gmx.de>
25160
25161         * NEWS: Added item for CLDR 1.3 update.
25162
25163 2006-03-25  Michael Koch  <konqueror@gmx.de>
25164
25165         * resource/gnu/java/locale/LocaleInformation_ar_IN.properties,
25166         resource/gnu/java/locale/LocaleInformation_ar_IQ.properties,
25167         resource/gnu/java/locale/LocaleInformation_ar_KW.properties,
25168         resource/gnu/java/locale/LocaleInformation_ar_LY.properties,
25169         resource/gnu/java/locale/LocaleInformation_mn_MN.properties,
25170         resource/gnu/java/locale/LocaleInformation_uz_AF.properties:
25171         Removed locales.
25172
25173 2006-03-25  Michael Koch  <konqueror@gmx.de>
25174
25175         * resource/gnu/java/locale/LocaleInformation_az.properties,
25176         resource/gnu/java/locale/LocaleInformation_bs.properties,
25177         resource/gnu/java/locale/LocaleInformation_byn.properties,
25178         resource/gnu/java/locale/LocaleInformation_byn_ER.properties,
25179         resource/gnu/java/locale/LocaleInformation_el_CY.properties,
25180         resource/gnu/java/locale/LocaleInformation_gez.properties,
25181         resource/gnu/java/locale/LocaleInformation_gez_ER.properties,
25182         resource/gnu/java/locale/LocaleInformation_gez_ET.properties,
25183         resource/gnu/java/locale/LocaleInformation_haw.properties,
25184         resource/gnu/java/locale/LocaleInformation_haw_US.properties,
25185         resource/gnu/java/locale/LocaleInformation_kok.properties,
25186         resource/gnu/java/locale/LocaleInformation_kok_IN.properties,
25187         resource/gnu/java/locale/LocaleInformation_sid.properties,
25188         resource/gnu/java/locale/LocaleInformation_sid_ET.properties,
25189         resource/gnu/java/locale/LocaleInformation_sl_SI.properties,
25190         resource/gnu/java/locale/LocaleInformation_sr_BA_Cyrl.properties,
25191         resource/gnu/java/locale/LocaleInformation_sr_BA_Latn.properties,
25192         resource/gnu/java/locale/LocaleInformation_sr_Cyrl.properties,
25193         resource/gnu/java/locale/LocaleInformation_syr.properties,
25194         resource/gnu/java/locale/LocaleInformation_syr_SY.properties,
25195         resource/gnu/java/locale/LocaleInformation_tig.properties,
25196         resource/gnu/java/locale/LocaleInformation_tig_ER.properties,
25197         resource/gnu/java/locale/LocaleInformation_uz_AF_Arab.properties,
25198         resource/gnu/java/locale/LocaleInformation_uz_Arab.properties,
25199         resource/gnu/java/locale/LocaleInformation_uz_Latn.properties,
25200         resource/gnu/java/locale/LocaleInformation_wal.properties,
25201         resource/gnu/java/locale/LocaleInformation_wal_ET.properties:
25202         New locales.
25203
25204 2006-03-25  Michael Koch  <konqueror@gmx.de>
25205
25206         * resource/gnu/java/locale/LocaleInformation_fa.properties,
25207         resource/gnu/java/locale/LocaleInformation_kn.properties,
25208         resource/gnu/java/locale/LocaleInformation_kn_IN.properties,
25209         resource/gnu/java/locale/LocaleInformation_ko.properties,
25210         resource/gnu/java/locale/LocaleInformation_sl.properties,
25211         resource/gnu/java/locale/LocaleInformation_so.properties,
25212         resource/gnu/java/locale/LocaleInformation_so_DJ.properties,
25213         resource/gnu/java/locale/LocaleInformation_so_ET.properties,
25214         resource/gnu/java/locale/LocaleInformation_so_SO.properties,
25215         resource/gnu/java/locale/LocaleInformation_sr.properties:
25216         Random fixes I forgot to commit before.
25217
25218 2006-03-25  Michael Koch  <konqueror@gmx.de>
25219
25220         * resource/gnu/java/locale/LocaleInformation_ar_JO.properties,
25221         resource/gnu/java/locale/LocaleInformation_ar_QA.properties,
25222         resource/gnu/java/locale/LocaleInformation_ar_SA.properties,
25223         resource/gnu/java/locale/LocaleInformation_ar_SY.properties,
25224         resource/gnu/java/locale/LocaleInformation_ar_TN.properties,
25225         resource/gnu/java/locale/LocaleInformation_ar_YE.properties,
25226         resource/gnu/java/locale/LocaleInformation_as_IN.properties,
25227         resource/gnu/java/locale/LocaleInformation_be_BY.properties,
25228         resource/gnu/java/locale/LocaleInformation_bn_IN.properties,
25229         resource/gnu/java/locale/LocaleInformation_en.properties,
25230         resource/gnu/java/locale/LocaleInformation_en_IN.properties,
25231         resource/gnu/java/locale/LocaleInformation_en_PK.properties,
25232         resource/gnu/java/locale/LocaleInformation_en_US_POSIX.properties,
25233         resource/gnu/java/locale/LocaleInformation_es_PY.properties,
25234         resource/gnu/java/locale/LocaleInformation_fa.properties,
25235         resource/gnu/java/locale/LocaleInformation_fa_AF.properties,
25236         resource/gnu/java/locale/LocaleInformation_fa_IR.properties,
25237         resource/gnu/java/locale/LocaleInformation_gu_IN.properties,
25238         resource/gnu/java/locale/LocaleInformation_hi_IN.properties,
25239         resource/gnu/java/locale/LocaleInformation_ja_JP.properties,
25240         resource/gnu/java/locale/LocaleInformation_kn_IN.properties,
25241         resource/gnu/java/locale/LocaleInformation_mr_IN.properties,
25242         resource/gnu/java/locale/LocaleInformation_or_IN.properties,
25243         resource/gnu/java/locale/LocaleInformation_pa.properties,
25244         resource/gnu/java/locale/LocaleInformation_pa_IN.properties,
25245         resource/gnu/java/locale/LocaleInformation_ps_AF.properties,
25246         resource/gnu/java/locale/LocaleInformation_ru_RU.properties,
25247         resource/gnu/java/locale/LocaleInformation_sa.properties,
25248         resource/gnu/java/locale/LocaleInformation_sa_IN.properties,
25249         resource/gnu/java/locale/LocaleInformation_ta_IN.properties,
25250         resource/gnu/java/locale/LocaleInformation_te_IN.properties:
25251         Updated currency formats.
25252
25253 2006-03-25  Roman Kennke  <kennke@aicas.com>
25254
25255         * javax/swing/text/AbstractDocument.java
25256         (getAttributeContext): Made method final.
25257         (getCurrentWriter): Likewise.
25258         (getEndPosition): Likewise.
25259         (getProperty): Likewise.
25260         (getStartPosition): Likewise.
25261         (putProperty): Likewise.
25262         (readLock): Likewise.
25263         (readUnlock): Likewise.
25264         (writeLock): Likewise.
25265         (writeUnlock): Likewise.
25266
25267 2006-03-25  Roman Kennke  <kennke@aicas.com>
25268
25269         * javax/swing/InputMap.java
25270         (allKeys): Check if parent keys is null.
25271         * javax/swing/KeyboardManager.java
25272         (registerEntireMap): Also register map's parent keys.
25273         * javax/swing/plaf/metal/MetalRootPaneUI.java
25274         (propertyChange): Also call super.propertyChange().
25275
25276 2006-03-25  Raif S. Naffah  <raif@swiftdsl.com.au>
25277
25278         * tools/gnu/classpath/tools/jarsigner/HashUtils.java: New file.
25279         * tools/gnu/classpath/tools/jarsigner/JarSigner.java: Likewise.
25280         * tools/gnu/classpath/tools/jarsigner/JarVerifier.java: Likewise.
25281         * tools/gnu/classpath/tools/jarsigner/Main.java (Main): Likewise.
25282         * tools/gnu/classpath/tools/jarsigner/SFHelper.java: Likewise.
25283         * tools/gnu/classpath/tools/jarsigner/jarsigner.txt: Likewise.
25284
25285 2006-03-25  Raif S. Naffah  <raif@swiftdsl.com.au>
25286
25287         * gnu/java/util/jar/JarUtils.java: New file.
25288         * java/util/jar/Manifest.java (CRLF): Removed.
25289         (read_main_section): Likewise.
25290         (read_version_info): Likewise.
25291         (expect_header(String,BufferedReader)): Likewise.
25292         (expect_header(String,BufferedReader,String)): Likewise.
25293         (read_header_value): Likewise.
25294         (read_attributes): Likewise.
25295         (read_attribute): Likewise.
25296         (read_individual_sections): Likewise.
25297         (read_section_name): Likewise.
25298         (write_main_section): Likewise.
25299         (write_version_info): Likewise.
25300         (write_header): Likewise.
25301         (write_main_attributes): Likewise.
25302         (write_attribute_entry): Likewise.
25303         (write_individual_sections): Likewise.
25304         (write_entry_attributes): Likewise.
25305         (read): use JarUtils.
25306         (write): Likewise.
25307
25308 2006-03-25  Raif S. Naffah  <raif@swiftdsl.com.au>
25309
25310         * gnu/java/security/pkcs/SignerInfo.java (log): New field.
25311         (DEBUG): Removed.
25312         (debug): Likewise.
25313         (SignerInfo(BERReader)): Updated javadoc.
25314         Use JDK logging.
25315         (SignerInfo(X500Principal,BigInteger,OID,byte[],OID,byte[],byte[])):
25316         New constructor.
25317         (encode): New method.
25318         * gnu/java/security/pkcs/PKCS7SignedData.java (log): New field.
25319         (PKCS7_DATA): Removed.
25320         (DEBUG): Likewise.
25321         (debug): Likewise.
25322         (PKCS7SignedData(BERReader)): Updated javadoc.
25323         Use JDK logging.
25324         (PKCS7SignedData(Set,PKCS7Data,Certificate[],X509CRL[],Set)): New
25325         constructor.
25326         (encode): New method.
25327         * gnu/java/security/pkcs/PKCS7Data.java: New file.
25328         * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java (log): New field.
25329         (encodePrivateKey): Encode x (private MPN) as an OCTET STRING.
25330         (decodePrivateKey): Decode x from an OCTET STRING.
25331         * gnu/java/security/key/dss/DSSPublicKey.java (str): New field.
25332         (toString): New method.
25333         * gnu/java/security/key/dss/DSSPrivateKey.java (DEBUG): New field.
25334         (str): Likewise.
25335         (toString): New method.
25336         * gnu/java/security/key/dss/DSSKey.java (str): New Field.
25337         (toString): New method.
25338         * gnu/java/security/provider/DSAParameterGenerator.java: Removed.
25339
25340 2006-03-25  Roman Kennke  <kennke@aicas.com>
25341
25342         * java/util/GregorianCalender.java
25343         (computeTime): Fix comparison to correctly calculate the
25344         calendar.
25345
25346 2006-03-25  Wolfgang Baer  <WBaer@gmx.de>
25347
25348         Fixes bug #26837
25349         * java/awt/Window.java:         
25350         (setFocusCycleRoot): New overriden method.
25351         (isFocusCycleRoot): Likewise.
25352         (getFocusCycleRootAncestor): Likewise.
25353         * java/awt/Container.java:
25354         (getFocusTraversalPolicy): Check also for anchestor == null.
25355
25356 2006-03-25  Mark Wielaard  <mark@klomp.org>
25357
25358         Fixes bug #26863 reported by John K Peterson <johnandtina@byu.net>
25359         * gnu/java/util/prefs/NodeWriter.java (writeRoot): Don't immediately
25360         close root tag.
25361
25362 2006-03-24  Tom Tromey  <tromey@redhat.com>
25363
25364         * javax/imageio/stream/ImageOutputStreamImpl.java (writeBytes):
25365         Rewrote.
25366         (writeChar): Removed useless cast.
25367         (writeChars(String)): Implemented.
25368         (writeDouble): Rewrote.
25369         (writeFloat): Likewise.
25370         (writeUTF): Implemented.
25371         * javax/imageio/stream/ImageInputStreamImpl.java (byteOrder): Default
25372         to big endian.
25373
25374 2006-03-24  Roman Kennke  <kennke@aicas.com>
25375
25376         * javax/swing/JButton.java
25377         (def): Replaced field with defaultCapable field.
25378         (is_def): Removed field.
25379         (JButton): Initialize defaultCapable with true.
25380         (isDefaultButton): Documented and implemented method by querying
25381         the button's root pane if present.
25382         (isDefaultCapable): Changed def field to defaultCapable.
25383         Added documentation.
25384         (paramString): Call isDefaultButton() instead of accessing field,
25385         which got removed.
25386         (setDefaultCapable): Changed def field to defaultCapable.
25387         Added documentation.
25388         * javax/swing/JRootPane.java
25389         (setDefaultButton): Only change the default button if the
25390         new button is defaultCapable.
25391         * javax/swing/plaf/basic/BasicRootPaneUI.java
25392         (DefaultPressAction): New class.
25393         (DefaultReleaseAction): New class.
25394         (installKeyboardActions): Implemented.
25395         (uninstallKeyboardActions): Implemented.
25396         (propertyChange): Implemented.
25397         * javax/swing/plaf/metal/MetalBorders.java
25398         (ButtonBorder.paintBorder): 'Outsourced' default theme
25399         painting to paintDefaultButtonBorder().
25400         (ButtonBorder.paintDefaultButtonBorder): New helper method
25401         to paint the border in the default theme. This also fixes
25402         painting of the border for default buttons.
25403         (ButtonBorder.paintOceanButtonBorder): Added support for
25404         default button painting. Fixed border for pressed/default state.
25405         * javax/swing/plaf/metal/MetalButtonUI.java
25406         (update): Only paint gradient when in OceanTheme and when the
25407         button is not armed.
25408
25409 2006-03-24  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
25410
25411         * gnu/java/rmi/activation/ActivationSystemTransient.java:
25412         Inherit from Activator.
25413
25414 2006-03-24  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
25415
25416         * gnu/java/rmi/activation/DefaultActivationGroup.java (newInstance):
25417         Print debug message if debug flag is set.
25418         * gnu/java/rmi/activation/DefaultActivationSystem.java: Rewritten.
25419         * gnu/java/rmi/server/ActivatableServerRef.java (activate): assign
25420         detail, do not call iniCause(). (exportClass): New method.
25421         * gnu/java/rmi/server/CombinedClassLoader.java (constructor):
25422         Ignore null (bootstrap) class loader.
25423         * gnu/java/rmi/server/UnicastServerRef.java (methods, skel, stub,
25424         buildMethodHash, findStubSkelClass, getHelperClass): Changed 
25425         visibility to protected.
25426         * java/rmi/activation/Activatable.java (export, register): Rewritten.
25427         (toStub): New method.
25428         * java/rmi/activation/ActivationGroup.java (getSystem): Rewritten.
25429         * java/rmi/activation/ActivationSystem.java (SYSTEM_PORT): 
25430         Explained property java.rmi.activation.port.
25431
25432 2006-03-24  Tom Tromey  <tromey@redhat.com>
25433
25434         * .externalToolBuilders/CreateLocaleData.launch: Updated.
25435         * gnu/java/locale/.cvsignore: New file.
25436         * lib/Makefile.am (LocaleData.java): Put in gnu/java/locale.
25437         * java/util/Locale.java (getAvailableLocales): Clone result.
25438         (getISOCountries): Likewise.
25439         (getISOLanguages): Likewise.
25440         * scripts/generate-locale-list.sh: Make class public.  Added new
25441         array.
25442         * gnu/java/locale/LocaleHelper.java (getCollatorLocales): New method.
25443         (getLocaleCount): Likewise.
25444         * java/text/Collator.java (getInstance): Javadoc typo fix.
25445         (getAvailableLocales): Wrote.
25446
25447 2006-03-24  Roman Kennke  <kennke@aicas.com>
25448
25449         * javax/swing/JTabbedPane.java
25450         (getSelectedComponent): Return null when no component is
25451         selected.
25452
25453 2006-03-24  Mark Wielaard  <mark@klomp.org>
25454
25455         * NEWS: Add cursor and selection improvements.
25456
25457 2006-03-23  David Gilbert  <david.gilbert@object-refinery.com>
25458
25459         * java/awt/Component.java
25460         (getAccessibleName): Just return accessibleName,
25461         * javax/swing/AbstractButton.java
25462         (getAccessibleStateSet): Mark as stub,
25463         (getAccessibleName): Implemented,
25464         (getAcessibleIcon): Mark as stub,
25465         (getAccessibleRelationSet): Likewise,
25466         (getAccessibleAction): Likewise,
25467         (getAccessibleValue): Likewise,
25468         (getAccessibleActionCount): Likewise,
25469         (getAccessibleActionDescription): Likewise,
25470         (doAccessibleAction): Likewise,
25471         (getCurrentAccessibleValue): Likewise,
25472         (setCurrentAccessibleValue): Likewise,
25473         (getMinimumAccessibleValue): Likewise,
25474         (getMaximumAccessibleValue): Likewise,
25475         (getAccessibleText): Likewise,
25476         (getIndexAtPoint): Likewise,
25477         (getCharacterBounds): Likewise,
25478         (getCharCount): Likewise,
25479         (getCaretPosition): Likewise,
25480         (getAtIndex): Likewise,
25481         (getAfterIndex): Likewise,
25482         (getBeforeIndex): Likewise,
25483         (getCharacterAttribute): Likewise,
25484         (getSelectionStart): Likewise,
25485         (getSelectionEnd): Likewise,
25486         (getSelectedText): Likewise,
25487         (getTextRectangle): Likewise,
25488         (setIconTextGap): Fire PropertyChangeEvent, not state changed,
25489         (getIconTextGap): Added @since 1.4,
25490         (setContentAreaFilled): Reordered code to make event sequence match
25491         reference implementation,
25492         * javax/swing/JButton.java
25493         (getSelectedObjects): Removed,
25494         *javax/swing/JComponent.java
25495         (getAccessibleName): Call super.
25496
25497 2006-03-23  David Gilbert  <david.gilbert@object-refinery.com>
25498
25499         * javax/swing/JProgressBar.java
25500         (AccessibleJProgressBar.getAccessibleStateSet): Implemented,
25501         (AccessibleJProgressBar.getAccessibleRole): Added API docs,
25502         (AccessibleJProgressBar.getAccessibleValue): Implemented,
25503         (AccessibleJProgressBar.getCurrentAccessibleValue): Likewise,
25504         (AccessibleJProgressBar.setCurrentAccessibleValue): Likewise,
25505         (AccessibleJProgressBar.getMinimumAccessibleValue): Likewise,
25506         (AccessibleJProgressBar.getMaximumAccessibleValue): Likewise,
25507         (getAccessibleContext): Added API docs.
25508
25509 2006-03-23  Robert Schuster  <robertschuster@fsfe.org>
25510
25511         * javax/swing/plaf/basic/BasicTextUI.java:
25512         (FocusListener.focusLost): Put current selection into the system
25513         clipboard.
25514
25515 2006-03-23  Robert Schuster  <robertschuster@fsfe.org>
25516
25517         * java/awt/Component.java:
25518         (processMouseEvent): Remove call to consume event.
25519         (dispatchEventImpl): Handle specific events first, do focus request
25520         only when mouse event was not yet consumed.
25521         * javax/swing/text/DefaultCaret.java:
25522         (mousePressed): Rewritten.
25523         (setDot): Changed order of operations.
25524         (moveDot): Dito.
25525
25526 2006-03-23  David Gilbert  <david.gilbert@object-refinery.com>
25527
25528         * javax/swing/JComponent.java
25529         (AccessibleJComponent.changeSupport): Removed field,
25530         (AccessibleJComponent.AccessibleJComponent): Updated for removed field,
25531         (AccessibleJComponent.addPropertyChangeListener): Call super,
25532         (AccessibleJComponent.removePropertyChangeListener): Likewise,
25533         * javax/swing/JSlider.java
25534         (AccessibleJSlider.getAccessibleStateSet): Implemented,
25535         (AccessibleJSlider.getAccessibleRole): Likewise,
25536         (AccessibleJSlider.getAccessibleValue): Likewise,
25537         (AccessibleJSlider.getCurrentAccessibleValue): Likewise,
25538         (AccessibleJSlider.setCurrentAccessibleValue): Likewise,
25539         (AccessibleJSlider.getMinimumAccessibleValue): Likewise,
25540         (AccessibleJSlider.getMaximumAccessibleValue): Likewise,
25541         (getAccessibleContext): Added API docs.
25542
25543 2006-03-23  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
25544
25545         * gnu/java/rmi/activation/ActivationSystemTransient.java
25546         (debug): Made public. (constructor): Made protected.
25547         (activate, getActivationDesc): Throw more informative exceptions.
25548         * gnu/java/rmi/server/UnicastConnectionManager.java (toString):
25549         New method.
25550         * gnu/java/rmi/server/UnicastRef.java (remoteToString): 
25551         Stub, implemented.
25552         * gnu/java/rmi/server/UnicastServer.java (incomingMessageCall):
25553         Documented.
25554         * gnu/java/rmi/server/UnicastServerRef.java (incomingMessageCall):
25555         Better exception.
25556         * java/rmi/activation/Activatable.java (obtainId): Use the activation
25557         system, passed in the activation descriptor field.
25558         * java/rmi/activation/ActivationGroup.java (createGroup): Likewise.
25559         * java/rmi/activation/ActivationGroupID.java (system, uid): Changed
25560         to package private final. (equals): Compare uid, not the system. 
25561         (hashCode): Forward to uid.hashCode(). toString(): New method.
25562         * java/rmi/activation/ActivationID.java (readObject, writeObject):
25563         Rewritten. (equals): Compare UID only. toString(): New method.
25564         * java/rmi/server/ObjID.java (eq): New method. (equals): Compare also
25565         UID (space). (hashCode, toString): Rewritten.
25566         * java/rmi/server/RemoteObjectInvocationHandler.java (noArgs): 
25567         New method. (invoke): Treat null as an empty array for parameters.
25568         * java/rmi/server/UID.java (toString): Rewritten. (hashCode):
25569         Include count, do not include the static machineId.
25570
25571 2006-03-23  Tom Tromey  <tromey@redhat.com>
25572
25573         * java/net/URLConnection.java (getContent(Class[])): Implemented.
25574
25575 2006-03-23  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
25576
25577         * tools/gnu/classpath/tools/giop/GRMIC.java (main): Accept -force.
25578         * tools/gnu/classpath/tools/giop/GRMIC.txt: Explain -force.
25579         * tools/gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java
25580         (force): New field. (setForce): New method. (compile): Handle -force.
25581         * tools/gnu/classpath/tools/rmi/RMIC.java (main): Accept -force.
25582         * tools/gnu/classpath/tools/rmi/RMIC.txt: Explain -force.
25583
25584 2006-03-23  Roman Kennke  <kennke@aicas.com>
25585
25586         * javax/swing/JTabbedPane.java
25587         (Page.getBackground): Return the JTabbedPane's background,
25588         rather than the page's component background.
25589         (Page.getForeground): Return the JTabbedPane's foreground,
25590         rather than the page's component foreground.
25591         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
25592         (uninstallUI): Don't set colors to null.
25593         * javax/swing/plaf/metal/MetalTabbedPaneUI.java
25594         (paintTabBackground): Correctly determine the tab background.
25595         (getUnselectedBackground): New helper method to
25596         handle the UI property 'TabbedPane.unselectedBackground'
25597         correctly.
25598
25599 2006-03-23  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
25600
25601         * javax/swing/plaf/basic/BasicInternalFrameUI.java
25602         (BorderListener.showingResizeCursor): New field.
25603         (BorderListener.mouseMoved, BorderListner.mouseExited):
25604         Implemented.
25605
25606 2006-03-23  David Gilbert  <david.gilbert@object-refinery.com>
25607
25608         * javax/swing/JComboBox.java
25609         (selectWithKeyChar): Mark as stub,
25610         * javax/swing/JFileChooser.java
25611         (setDragEnabled): Mark as stub,
25612         (getDragEnabled): Likewise,
25613         * javax/swing/JSlider.java
25614         (AccessibleJSlider.getAccessibleStateSet): Mark as stub,
25615         (AccessibleJSlider.getAccessibleRole): Likewise,
25616         (AccessibleJSlider.getAccessibleValue): Likewise,
25617         (AccessibleJSlider.getCurrentAccessibleValue): Likewise,
25618         (AccessibleJSlider.setCurrentAccessibleValue): Likewise,
25619         (AccessibleJSlider.getMinimumAccessibleValue): Likewise,
25620         (AccessibleJSlider.getMaximumAccessibleValue): Likewise,
25621         * javax/swing/UIManager.java
25622         (installLookAndFeel): Mark as stub,
25623         (setInstalledLookAndFeels): Likewise.
25624
25625 2006-03-23  David Gilbert  <david.gilbert@object-refinery.com>
25626
25627         * javax/swing/filechooser/UnixFileSystemView.java
25628         (getSystemDisplayName): Mark as stub,
25629         (getSystemIcon): Likewise,
25630         (getSystemTypeDescription): Likewise.
25631
25632 2006-03-23  David Gilbert  <david.gilbert@object-refinery.com>
25633
25634         * javax/swing/tree/AbstractLayoutCache.java
25635         (getNodeDimensions): Mark as stub,
25636         (getPreferredHeight): Likewise,
25637         (getPreferredWidth): Likewise,
25638         (getRowsForPaths): Likewise,
25639         (isFixedRowHeight): Likewise,
25640         * javax/swing/tree/DefaultTreeModel.java
25641         (reload()): Mark as stub,
25642         (reload(TreeNode)): Likewise,
25643         (nodeStructureChanged): Likewise,
25644         * javax/swing/tree/DefaultTreeSelectionModel.java
25645         (clone): Mark as stub,
25646         (setRowMapper): Likewise,
25647         (setSelectionPaths): Likewise,
25648         (isRowSelected): Likewise,
25649         (resetRowSelection): Likewise,
25650         (insureRowContinuity): Likewise,
25651         (arePathsContiguous): Likewise,
25652         (canPathsBeAdded): Likewise,
25653         (canPathsBeRemoved): Likewise,
25654         (notifyPathChange): Likewise,
25655         (updateLeadIndex): Likewise,
25656         (insureUniqueness): Likewise,
25657         * javax/swing/tree/FixedHeightLayoutCache.java: Marked all methods as
25658         stubs,
25659         * javax/swing/tree/VariableHeightLayoutCache.java: Likewise.
25660
25661 2006-03-22  Tom Tromey  <tromey@redhat.com>
25662
25663         * javax/swing/text/StyleContext.java (getStaticAttribute): Mark as
25664         stub.
25665         (getStaticAttributeKey): Likewise.
25666         (readAttributeSet): Likewise.
25667         (writeAttributeSet): Likewise.
25668         (readAttributes): Likewise.
25669         (writeAttributes): Likewise.
25670         * javax/swing/text/html/HTMLEditorKit.java (insertAtBoundary): Mark
25671         as stub.
25672         * javax/swing/text/html/HTMLDocument.java (setParagraphAttributes):
25673         Mark as stub.
25674         (fireChangedUpdate): Likewise.
25675         (start): Likewise.
25676         (end): Likewise.
25677         (handleEndOfLineString): Likewise.
25678         (textAreaContent): Likewise.
25679         (preContent): Likewise.
25680         (addSpecialElement): Likewise.
25681         (setInnerHTML): Likewise.
25682         (setOuterHTML): Likewise.
25683         (insertBeforeStart): Likewise.
25684         (insertBeforeEnd): Likewise.
25685         (insertAfterEnd): Likewise.
25686         (insertAfterStart): Likewise.
25687         * javax/swing/table/JTableHeader.java (AccessibleJTableHeaderEntry):
25688         Mark all methods as stub.s
25689         * javax/swing/plaf/metal/MetalTreeUI.java (decodeLineStyle): Mark
25690         as stub.
25691         (paintHorizontalSeparators): Likewise.
25692         * javax/swing/plaf/basic/BasicLookAndFeel.java (loadSystemColors):
25693         Mark as stub.
25694         * javax/swing/MenuSelectionManager.java (processKeyEvent): Mark as
25695         stub.
25696         * java/beans/beancontext/BeanContextSupport.java: Mark most methods
25697         as stubs.
25698         * java/beans/beancontext/BeanContextServicesSupport.java: Mark most
25699         methods as stubs.
25700
25701 2006-03-22  Mark Wielaard  <mark@klomp.org>
25702
25703         * gnu/java/awt/peer/gtk/GtkCursor.java: New class.
25704
25705 2006-03-22  Mark Wielaard  <mark@klomp.org>
25706
25707         Fixes bug #26527
25708         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (gtkWidgetSetCursor):
25709         Takes GtkImage, x and y coordinates.
25710         (gtkWidgetSetCursorUnlocked): Likewise.
25711         (GtkComponentPeer): Set cursor when set.
25712         (setCursor): Handle GtkCursor.
25713         * gnu/java/awt/peer/gtk/GtkToolkit.java (createCustomCursor):
25714         New method.
25715         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
25716         (gtkWidgetSetCursor): Takes GtkImage, x and y coordinates.
25717         (gtkWidgetSetCursorUnlocked): Likewise. Handle custom image.
25718         * include/gnu_java_awt_peer_gtk_GtkComponentPeer.h: Regenerated.
25719
25720 2006-03-23  Roman Kennke  <kennke@aicas.com>
25721
25722         PR 26805
25723         * gnu/java/security/Registry.java
25724         (PKCS5_PAD): Added pad PKCS#5 algorithm.
25725         * gnu/javax/crypto/pad/PadFactory.java
25726         (getInstance): For PKCS#5, also return PKCS#7 pad
25727         algorithm.
25728         (getNames): Added PKCS#5.
25729         * javax/crypto/KeyGenerator.java
25730         (getInstance): Initialize key generator before returning
25731         it.
25732
25733 2006-03-23  Ito Kazumitsu  <kaz@maczuka.gcd.org>
25734
25735         * gnu/regexp/RE.java(REG_X_COMMENTS): New copilation flag,
25736         (initialize): Ignore whiltespaces and comments if REG_X_COMMENTS is set.
25737         * java/util/regex/Pattern.java(constructor): Set RE.REG_X_COMMENTS
25738         if COMMENTS is set.
25739
25740 2006-03-22  Tom Tromey  <tromey@redhat.com>
25741
25742         * javax/swing/plaf/synth/SynthStyle.java (getInt): Implemented.
25743         (getBoolean): Likewise.
25744         (getString): Likewise.
25745         (getIcon): Likewise.
25746
25747 2006-03-22  Mark Wielaard  <mark@klomp.org>
25748
25749         Fixes bug #26301
25750         * gnu/java/awt/peer/GLightweightPeer.java: Extend MouseAdapter.
25751         (GLightweightPeer(Component)): Install MouseListener.
25752         (setCursor): Implement.
25753         (mouseEntered): New method.
25754
25755 2006-03-22  Tom Tromey  <tromey@redhat.com>
25756
25757         * javax/swing/plaf/synth/ColorType.java (MAX_COUNT): No longer
25758         constant.
25759         * javax/swing/plaf/synth/SynthStyle.java (getColorForState): Now
25760         protected.
25761         (getFontForState): Likewise.
25762         (getInsets): Added 'result' argument.
25763         (getPainter): Renamed.
25764
25765 2006-03-22  Tom Tromey  <tromey@redhat.com>
25766
25767         * javax/swing/plaf/synth/SynthPainter.java
25768         (paintScrollBarThumbBackground): Added 'orientation' argument.
25769         (paintScrollBarThumbBorder): Likewise.
25770         (paintSliderThumbBackground): Likewise.
25771         (paintSliderThumbBorder): Likewise.
25772         (paintTabbedPaneTabBackground): Added 'index' argument.
25773         (paintTabbedPaneTabBorder): Likewise.
25774
25775 2006-03-22  Tom Tromey  <tromey@redhat.com>
25776
25777         * java/awt/ScrollPaneAdjustable.java (paramString): Implemented.
25778         (toString): New method.
25779
25780 2006-03-22  Tom Tromey  <tromey@redhat.com>
25781
25782         * doc/hacking.texinfo (Source Code Style Guide): Mention
25783         NotImplementedException.
25784         * javax/imageio/stream/MemoryCacheImageOutputStream.java
25785         (flushBefore): Mark as stub.
25786         (read): Likewise.
25787         * javax/imageio/stream/MemoryCacheImageInputStream.java (flushBefore):
25788         Mark as stub.
25789         * javax/imageio/stream/ImageOutputStreamImpl.java (flushBits): Mark
25790         as stub.
25791         (write): Likewise.
25792         (writeBit): Likewise.
25793         (writeChars): Likewise.
25794         (writeUTF): Likewise.
25795         * javax/imageio/stream/FileCacheImageOutputStream.java (read): Mark
25796         as stub.
25797         (read): Likewise.
25798         * java/net/URLConnection.java (getContent): Mark as stub.
25799         * java/awt/Window.java (applyResourceBundle): Mark as stub.
25800         * java/awt/TexturePaint.java (createContext): Mark as stub.
25801         (getTransparency): Mark as stub.
25802         * java/awt/ScrollPaneAdjustable.java (paramString): Mark as stub.
25803         * java/awt/GridBagLayout.java (AdjustForGravity): Mark as stub.
25804         * java/awt/GraphicsConfiguration.java (getBufferCapabilities): Mark as
25805         stub.
25806         (getImageCapabilities): Likewise.
25807         * java/awt/BasicStroke.java (createStrokedShape): Mark as stub.
25808         * java/awt/AlphaComposite.java (createContext): Mark as stub.
25809         * java/awt/image/renderable/RenderableImageProducer.java: Mark all
25810         methods as stubs.
25811         * java/awt/font/TextMeasurer.java (deleteChar): Mark as stub.
25812         (getAdvanceBetween): Likewise.
25813         (getLayout): Likewise.
25814         (insertChar): Likewise.
25815         (getLineBreakIndex): Likewise.
25816         * java/awt/font/ShapeGraphicAttribute.java (draw): Mark as stub.
25817         (getAdvance): Likewise.
25818         (getAscent): Likewise.
25819         (getDescent): Likewise.
25820         * java/awt/font/LineBreakMeasurer.java (deleteChar): Mark as stub.
25821         (insertChar): Likewise.
25822         (nextLayout): Likewise.
25823         (nextLayout): Likewise.
25824         (nextOffset): Likewise.
25825         (nextOffset): Likewise.
25826         * java/awt/font/ImageGraphicAttribute.java (draw): Mark as stub.
25827         (equals): Likewise.
25828         (getAdvance): Likewise.
25829         (getAscent): Likewise.
25830         (getBounds): Likewise.
25831         (getDescent): Likewise.
25832         (hashCode): Likewise.
25833         (ImageGraphicAttribute): Likewise.
25834         * java/awt/font/GraphicAttribute.java (getBounds): Mark as stub.
25835         (getJustificationInfo): Likewise.
25836         * java/awt/font/GlyphVector.java (getGlyphCharIndex): Mark as stub.
25837         (getGlyphCharIndices): Likewise.
25838         (getGlyphOutline): Likewise.
25839         (getGlyphPixelBounds): Likewise.
25840         (getLayoutFlags): Likewise.
25841         (getPixelBounds): Likewise.
25842         * java/awt/font/GlyphMetrics.java (getLSB): Mark as stub.
25843         (getRSB): Likewise.
25844         * java/nio/channels/Channels.java (newWriter): Mark as stub.
25845         * java/awt/dnd/DragSourceContext.java: Marked most methods as stubs.
25846         * java/awt/dnd/DragGestureRecognizer.java (fireDragGestureRecognized):
25847         Mark as stub.
25848         (resetRecognizer): Likewise.
25849         * java/awt/datatransfer/SystemFlavorMap.java (getFlavorsForNative):
25850         Mark as stub.
25851         (getNativesForFlavor): Likewise.
25852         * javax/swing/plaf/synth/SynthStyle.java: Mark all methods as stub.s
25853         * javax/swing/plaf/synth/SynthLookAndFeel.java (updateStyles): Mark
25854         as stub.
25855         (getRegion): Likewise.
25856         (createUI): Likewise.
25857         (initialize): Likewise.
25858         (uninitialize): Likewise.
25859         (getDefaults): Likewise.
25860         (load): Likewise.
25861         (shouldUpdateStyleOnAncestorChanged): Likewise.
25862         * javax/swing/plaf/synth/SynthGraphicsUtils.java (getMinimumSize):
25863         Mark as stub.
25864         (getPreferredSize): Likewise.
25865         (getMaximumSize): Likewise.
25866         (paintText): Likewise.
25867         * java/text/RuleBasedCollator.java (getCollationElementIterator): Mark
25868         as stub.
25869         * java/text/Collator.java (getAvailableLocales): Mark as stub.
25870
25871 2006-03-22  Wolfgang Baer  <WBaer@gmx.de>
25872
25873         * java/io/ObjectStreamConstants.java: Added since tag.
25874         (PROTOCOL_VERSION_1): Added javadoc.
25875         (PROTOCOL_VERSION_2): Likewise.
25876         * java/io/ObjectOutputStream.java: 
25877         (setDefaultProtocolVersion): Removed.
25878         (useProtocolVersion): Fixed parameter tests. Updated javadoc.
25879         
25880 2006-03-21  Lillian Angel  <langel@redhat.com>
25881
25882         * gnu/javax/imageio/bmp/BMPInfoHeader.java
25883         (BMPInfoHeader): Removed debug lines.
25884         * gnu/javax/imageio/bmp/EncodeRLE4.java
25885         (encode): Implemented.
25886         (uncompress): New function implemented to
25887         uncompress the image before encoding.
25888         * gnu/javax/imageio/bmp/EncodeRLE8.java
25889         (encode): Implemented.
25890         (uncompress): New function implemented to
25891         uncompress the image before encoding.
25892
25893 2006-03-21  Roman Kennke  <kennke@aicas.com>
25894
25895         * javax/swing/text/html/FormView.java
25896         (getImageData): New helper method.
25897
25898 2006-03-21  Tom Tromey  <tromey@redhat.com>
25899
25900         * vm/reference/gnu/classpath/Unsafe.java (arrayBaseOffset): Javadoc
25901         fix.
25902         (Unsafe): Now final.
25903
25904 2006-03-21  Roman Kennke  <kennke@aicas.com>
25905
25906         * javax/swing/text/html/FormView.java
25907         (MouseEventListener): New inner class.
25908
25909 2006-03-21  Roman Kennke  <kennke@aicas.com>
25910
25911         * javax/swing/text/html/ListView.java: New file.
25912
25913 2006-03-21  Tom Tromey  <tromey@redhat.com>
25914
25915         * java/text/Bidi.java: Completed.
25916
25917 2006-03-21  Anthony Balkissoon  <abalkiss@redhat.com>
25918
25919         * javax/swing/JTable.java:
25920         (columnAtPoint): Removed the null check, this method should throw a NPE
25921         if the argument is null.
25922
25923 2006-03-21  Robert Schuster  <robertschuster@fsfe.org>
25924
25925         * javax/swing/text/DefaultHighlighter.java:
25926         (DefaultHighlighter.DefaultHighlightPainter.paint): Rewritten.
25927
25928 2006-03-21  Robert Schuster  <robertschuster@fsfe.org>
25929
25930         * javax/swing/text/DefaultCaret.java: Added class variable denoting
25931         the textcomponent having a selection.
25932         (clearSelection): Clear 'componentWithSelection' variable.
25933         (handleSelection): Clear selection of current component having a
25934         selection before setting a new selection in another component.
25935         (mouseDragged): Only react on left mouse button.
25936         (mouseClicked): Only react on left mouse button.
25937
25938 2006-03-21  Roman Kennke  <kennke@aicas.com>
25939
25940         * javax/swing/plaf/metal/MetalTabbedPaneUI.java
25941         (paintContentBorderTopEdge): Implemented.
25942         (paintContentBorderBottomEdge): Implemented.
25943         (paintContentBorderLeftEdge): Implemented.
25944         (paintContentBorderRightEdge): Implemented.
25945         (isLastTabInRun): New helper method.
25946
25947 2006-03-21  Roman Kennke  <kennke@aicas.com>
25948
25949         * javax/swing/JTabbedPane.java
25950         (Page.getForeground): Fall back to returning the tabbed pane's
25951         foreground if no foreground has been exclicitly set.
25952
25953 2006-03-21  Roman Kennke  <kennke@aicas.com>
25954
25955         * javax/swing/plaf/metal/MetalComboBoxButton.java
25956         (setEnabled): Update colors of button correctly.
25957         * javax/swing/plaf/metal/MetalComboBoxUI.java
25958         (MetalPropertyChangeListener.propertyChange): Update the colors
25959         of the list and the button when any of the color properties
25960         of the ComboBox change.
25961
25962 2006-03-21  Roman Kennke  <kennke@aicas.com>
25963
25964         * javax/swing/plaf/basic/BasicButtonUI.java
25965         (uninstallDefaults): Only nullify button colors if they are
25966         not UIResource instances.
25967
25968 2006-03-21  David Gilbert  <david.gilbert@object-refinery.com>
25969
25970         * javax/swing/JComponent.java
25971         (AccessibleJComponent.getAccessibleDescription): Call super,
25972         * javax/swing/JToolTip.java: API doc updates all over, plus
25973         (AccessibleJToolTip.getAccessibleDescription): Implemented,
25974         (AccessibleJToolTip.getAccessibleRole): Implemented,
25975         (getAccessibleContext): Implemented,
25976         (paramString): Reimplemented,
25977         (setComponent): Fire PropertyChangeEvent,
25978         (setTipText): Likewise.
25979
25980 2006-03-20  Andrew John Hughes  <gnu_andrew@member.fsf.org>
25981
25982         * java/util/Formatter.java:
25983         Make the class final.
25984         
25985 2006-03-20  Andrew John Hughes  <gnu_andrew@member.fsf.org>
25986
25987         * java/lang/System.java:
25988         (nanoTime()): Documented.
25989         * java/lang/Thread.java:
25990         (setUncaughtExceptionHandler(UncaughtExceptionHandler):
25991         Added docs and security check.
25992         (getUncaughtExceptionHandler()): Documented.
25993         (setDefaultUncaughtExceptionHandler(UncaughtExceptionHandler):
25994         Added docs and security check.
25995         (getDefaultUncaughtExceptionHandler()): Documented.
25996         (getId()): Documented.
25997         (Thread.State): Documented.
25998         * vm/reference/gnu/classpath/Unsafe.java:
25999         Documented.
26000         (getUnsafe()): Updated to handle security.
26001         
26002 2006-03-20  Tom Tromey  <tromey@redhat.com>
26003
26004         * java/lang/System.java:
26005         (nanoTime()): Implemented.
26006         * java/lang/Thread.java:
26007         (getId()): Implemented.
26008         * java/util/AbstractMap.java:
26009         (SimpleImmutableEntry): New 1.6 class.
26010         (BasicMapEntry): Modified to be SimpleEntry.
26011         * java/util/Collections.java:
26012         Modified to use SimpleEntry.
26013         * java/util/EnumMap.java: Likewise.
26014         * java/util/HashMap.java: Likewise.
26015         * java/util/Hashtable.java: Likewise.
26016         * java/util/TreeMap.java: Likewise.
26017         * vm/reference/gnu/classpath/Unsafe.java:
26018         New class to handle low-level facilities for concurrency.
26019         * vm/reference/java/lang/VMSystem.java:
26020         (nanoTime()): Implemented.
26021         
26022 2006-03-20  Tom Tromey  <tromey@redhat.com>
26023
26024         * java/security/cert/PKIXCertPathChecker.java: Javadoc fix.
26025         * java/security/cert/CertStoreSpi.java: Added import for javadoc.
26026         (CertStoreSpi): Updated throws clause.
26027         * java/security/cert/CertPathValidatorSpi.java: Added import for
26028         javadoc.
26029         (engineValidate): Updated 'throws' clause.
26030         * java/security/cert/PKIXParameters.java: Javadoc fix.
26031         * java/security/cert/X509CertSelector.java
26032         (setAuthorityKeyIdentifier): Javadoc fix.
26033
26034 2006-03-20  Tom Tromey  <tromey@redhat.com>
26035
26036         * .classpath: Build gnu.javax.swing.plaf.
26037
26038 2006-03-20  Lillian Angel  <langel@redhat.com>
26039
26040         * gnu/javax/imageio/bmp/BMPDecoder.java:
26041         Removed unneeded import.
26042         * gnu/javax/imageio/bmp/BMPEncoder.java:
26043         New class.
26044         * gnu/javax/imageio/bmp/BMPFileHeader.java
26045         (BMPFileHeader): New constructor used to create info header
26046         for an output stream.
26047         (write): Fixed indexes.
26048         * gnu/javax/imageio/bmp/BMPImageReaderSpi.java:
26049         Initialized writerSpiNames field.
26050         * gnu/javax/imageio/bmp/BMPImageWriter.java:
26051         New class.
26052         * gnu/javax/imageio/bmp/BMPImageWriterSpi.java:
26053         New class.
26054         * gnu/javax/imageio/bmp/BMPInfoHeader.java:
26055         Change visibility for fields.
26056         (BMPInfoHeader): New constructor used to create
26057         file header for an output stream.
26058         (intToDWord): New method. Converts an int to a
26059         double word.
26060         (intToWord): New method. Converts an int to a word.
26061         * gnu/javax/imageio/bmp/DecodeBF32.java:
26062         Removed unneeded imports.
26063         * gnu/javax/imageio/bmp/EncodeRGB1.java:
26064         New class.
26065         * gnu/javax/imageio/bmp/EncodeRGB16.java:
26066         New class.
26067         * gnu/javax/imageio/bmp/EncodeRGB24.java:
26068         New class.
26069         * gnu/javax/imageio/bmp/EncodeRGB32.java:
26070         New class.
26071         * gnu/javax/imageio/bmp/EncodeRGB4.java:
26072         New class.
26073         * gnu/javax/imageio/bmp/EncodeRGB8.java:
26074         New class.
26075         * gnu/javax/imageio/bmp/EncodeRLE4.java:
26076         New class.
26077         * gnu/javax/imageio/bmp/EncodeRLE8.java:
26078         New class.
26079         * javax/imageio/ImageIO.java:
26080         Fixed comment.
26081
26082 2006-03-20  Roman Kennke  <kennke@aicas.com>
26083
26084         * javax/swing/plaf/metal/MetalTabbedPaneUI.java
26085         (TabbedPaneLayout.normalizeTabRuns): New method.
26086         (createLayoutManager): Return the Metal TabbedPaneLayout, not super.
26087         (paintTabBorder): Replaced if-else chain with switch.
26088         (paintTopTabBorder): Rewritten to correctly paint tab. Also support
26089         Ocean theme.
26090         (paintBottomTabBorder): Rewritten to correctly paint tab. Also support
26091         Ocean theme.
26092         (paintLeftTabBorder): Rewritten to correctly paint tab. Also support
26093         Ocean theme.
26094         (paintRightTabBorder): Rewritten to correctly paint tab. Also support
26095         Ocean theme.
26096         (paintTabBackground): Fetch background color from the TabbedPane.
26097         Fixed painting and improved by not using fillPolygon, and instead
26098         using fillRectangle. Replaced if-else chain with switch.
26099         (calculateMaxTabHeight): Added overridden method with FIXME.
26100         (getTabRunOverlay): Overridden to provide overlay for LEFT or RIGHT
26101         placement.
26102         (paintContentBorderTopEdge): Added stub with FIXME.
26103         (paintContentBorderBottomEdge): Added stub with FIXME.
26104         (paintContentBorderLeftEdge): Added stub with FIXME.
26105         (paintContentBorderRightEdge): Added stub with FIXME.
26106
26107 2006-03-20  Roman Kennke  <kennke@aicas.com>
26108
26109         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
26110         (tabsOpaque): New field.
26111         (installDefaults): Fetch tabsOpaque property from UIManager.
26112         (paintTab): Fill tab background when tabsOpaque property is true.
26113         * javax/swing/plaf/basic/BasicLookAndFeel.java
26114         (initComponentDefaults): Added TabbedPane.tabsOpaque property.
26115
26116 2006-03-20  Roman Kennke  <kennke@aicas.com>
26117
26118         * javax/swing/JTabbedPane.java
26119         (Pane.getBackground): When no background was explicitly set, return
26120         the JTabbedPane's background.
26121
26122 2006-03-20  Wolfgang Baer  <WBaer@gmx.de>
26123
26124         * org/omg/CORBA/ACTIVITY_COMPLETED.java,
26125         * org/omg/CORBA/ACTIVITY_REQUIRED.java,
26126         * org/omg/CORBA/BAD_INV_ORDER.java,
26127         * org/omg/CORBA/BAD_CONTEXT.java,
26128         * org/omg/CORBA/BAD_OPERATION.java,
26129         * org/omg/CORBA/BAD_PARAM.java,
26130         * org/omg/CORBA/BAD_QOS.java,
26131         * org/omg/CORBA/BAD_TYPECODE.java,
26132         * org/omg/CORBA/CODESET_INCOMPATIBLE.java,
26133         * org/omg/CORBA/COMM_FAILURE.java,
26134         * org/omg/CORBA/CurrentHolder.java,
26135         * org/omg/CORBA/DATA_CONVERSION.java,
26136         * org/omg/CORBA/FREE_MEM.java,
26137         * org/omg/CORBA/IMP_LIMIT.java,
26138         * org/omg/CORBA/INITIALIZE.java,
26139         * org/omg/CORBA/INTERNAL.java,
26140         * org/omg/CORBA/INTF_REPOS.java,
26141         * org/omg/CORBA/INVALID_ACTIVITY.java,
26142         * org/omg/CORBA/INVALID_TRANSACTION.java,
26143         * org/omg/CORBA/INV_FLAG.java,
26144         * org/omg/CORBA/INV_IDENT.java,
26145         * org/omg/CORBA/INV_OBJREF.java,
26146         * org/omg/CORBA/INV_POLICY.java,
26147         * org/omg/CORBA/MARSHAL.java,
26148         * org/omg/CORBA/NO_RESOURCES.java,
26149         * org/omg/CORBA/NO_MEMORY.java,
26150         * org/omg/CORBA/NO_IMPLEMENT.java,
26151         * org/omg/CORBA/NO_PERMISSION.java,
26152         * org/omg/CORBA/NO_RESPONSE.java,
26153         * org/omg/CORBA/OBJECT_NOT_EXIST.java,
26154         * org/omg/CORBA/OBJ_ADAPTER.java,
26155         * org/omg/CORBA/ParameterModeHolder.java,
26156         * org/omg/CORBA/PolicyError.java,
26157         * org/omg/CORBA/PolicyErrorHolder.java,
26158         * org/omg/CORBA/PolicyHolder.java,
26159         * org/omg/CORBA/PolicyListHolder.java,
26160         * org/omg/CORBA/REBIND.java,
26161         * org/omg/CORBA/TIMEOUT.java,
26162         * org/omg/CORBA/TRANSACTION_MODE.java,
26163         * org/omg/CORBA/TRANSACTION_REQUIRED.java,
26164         * org/omg/CORBA/TRANSACTION_ROLLEDBACK.java,
26165         * org/omg/CORBA/TRANSACTION_UNAVAILABLE.java,
26166         * org/omg/CORBA/TRANSIENT.java,
26167         * org/omg/CORBA/TypeCodeHolder.java,
26168         * org/omg/CORBA/UNKNOWN.java,
26169         * org/omg/CORBA/UnionMember.java,
26170         * org/omg/CORBA/UnknownUserException.java,
26171         * org/omg/CORBA/UnknownUserExceptionHolder.java,
26172         * org/omg/CORBA/WrongTransactionHolder.java,
26173         * org/omg/IOP/IOR.java,
26174         * org/omg/IOP/IORHolder.java,
26175         * org/omg/IOP/MultipleComponentProfileHolder.java,
26176         * org/omg/IOP/ServiceContextHolder.java,
26177         * org/omg/IOP/ServiceContextListHolder.java,
26178         * org/omg/IOP/TaggedComponentHolder.java,
26179         * org/omg/IOP/TaggedProfileHolder.java,
26180         * org/omg/PortableInterceptor/ObjectReferenceTemplateSeqHolder.java,
26181         * org/omg/PortableInterceptor/ObjectReferenceTemplateHolder.java,
26182         * org/omg/PortableInterceptor/IORInterceptor_3_0Holder.java,
26183         * org/omg/PortableInterceptor/ObjectReferenceFactoryHolder.java:
26184         Made class final, various javadoc fixlets.      
26185         * org/omg/CORBA/CompletionStatus.java, 
26186         * org/omg/CORBA/PERSIST_STORE.java,
26187         * org/omg/CORBA/ValueMember.java,
26188         * org/omg/PortableInterceptor/ForwardRequest.java,
26189         * org/omg/PortableInterceptor/InvalidSlot.java,
26190         * org/omg/IOP/CodecPackage/TypeMismatch.java,
26191         * org/omg/IOP/CodecPackage/InvalidTypeForEncoding.java,
26192         * org/omg/IOP/CodecPackage/FormatMismatch.java,
26193         * org/omg/IOP/CodecFactoryPackage/UnknownEncoding.java,
26194         * org/omg/IOP/Encoding.java,
26195         * org/omg/IOP/TaggedComponent.java,
26196         * org/omg/IOP/TaggedProfile.java: Made class final.
26197         * org/omg/CORBA/SystemException.java: Made class abstract.      
26198         * org/omg/CORBA/UserException.java: Made class abstract.
26199         (UserException): Now protected.
26200         (UserException(String)): Likewise.
26201         * org/omg/Messaging/SyncScopeHelper.java: Now abstract, javadoc fixes.
26202         (typecode): Removed unused private variable.
26203
26204 2006-03-20  Chris Burdess  <dog@gnu.org>
26205
26206         Fixes PR 26761
26207         * gnu/xml/stream/XMLParser.java: Permit U+fffd as XML Char.
26208
26209 2006-03-20  Roman Kennke  <kennke@aicas.com>
26210
26211         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
26212         (paintTabArea): Look up tab run indices in tabRuns array instead
26213         of using the index directly.
26214
26215 2006-03-20  Roman Kennke  <kennke@aicas.com>
26216
26217         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
26218         (paintTab): Fixed painting.
26219         (paintText): Fixed text painting.
26220         (paintFocusIndicator): Fixed painting of the focus rectangle.
26221         (paintContentBorder): Fixed painting of the content area.
26222
26223 2006-03-20  Mark Wielaard  <mark@klomp.org>
26224
26225         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java (pixbufLock): New
26226         static lock Object field.
26227         (produce): Synchronize on pixbufLock when calling initState(),
26228         pumpBytes() and pumpDone().
26229         (finalize): Likewise when calling finish().
26230         (GdkPixbufWriter.write): Likewise when calling streamImage().
26231         * gnu/java/awt/peer/gtk/GtkImage.java (GtkImage(String)): Likewise
26232         when calling loadPixbuf. Chain exception.
26233         (GtkImage(byte[])): Likewise when calling loadImageFromData.
26234         (GtkImage(URL)): Likewise.
26235         (GtkImage(int,int)): Likewise when calling createPixmap().
26236         (GtkImage(GtkImage,int,int,int)): Likewise when calling
26237         createScaledPixmap().
26238         (GtkImage(Pointer)): Likewise when calling createFromPixbuf().
26239         (setImage): Likewise when calling createPixmap() and setPixels().
26240         (getSource): Likewise when calling getPixels().
26241         (flush): Likewise when calling freePixmap().
26242         (finalize): Likewise.
26243         (drawImage): Likewise when calling drawPixelsScaledFlipped() and
26244         drawPixelsScaledFlipped().
26245         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
26246         (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_initState): Remove
26247         gdk_threads_enter/leave().
26248         (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_finish): Likewise.
26249         (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_pumpDone): Likewise.
26250         (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_streamImage): Likewise.
26251         (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_pumpBytes): Likewise.
26252         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c
26253         (Java_gnu_java_awt_peer_gtk_GtkImage_loadPixbuf): Likewise.
26254         (Java_gnu_java_awt_peer_gtk_GtkImage_loadImageFromData): Likewise.
26255         (Java_gnu_java_awt_peer_gtk_GtkImage_createFromPixbuf): Likewise.
26256         (Java_gnu_java_awt_peer_gtk_GtkImage_getPixels): Likewise.
26257         (Java_gnu_java_awt_peer_gtk_GtkImage_setPixels): Likewise.
26258         (Java_gnu_java_awt_peer_gtk_GtkImage_createPixmap): Likewise.
26259         (Java_gnu_java_awt_peer_gtk_GtkImage_freePixmap): Likewise.
26260         (Java_gnu_java_awt_peer_gtk_GtkImage_createScaledPixmap): Likewise.
26261
26262 2006-03-20  Roman Kennke  <kennke@aicas.com>
26263
26264         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
26265         (calculateTabHeight): Not need to use SwingUtilities here.
26266         (getTabInsets): Do not rotate insets.
26267
26268 2006-03-20  Roman Kennke  <kennke@aicas.com>
26269
26270         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
26271         (paint): Make sure the layout is valid before painting.
26272         (paintTabArea): Made tab painting more straightforward and efficient.
26273
26274 2006-03-20  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
26275
26276         * javax/swing/JTable.java (ROWS_PER_WHEEL_CLICK): Removed.
26277         (getScrollableUnitIncrement): Rewritten.
26278         * javax/swing/JTree.java (ROWS_PER_WHEEL_CLICK): Removed.
26279         (getScrollableUnitIncrement): Rewritten.
26280         * javax/swing/plaf/basic/BasicScrollPaneUI.java
26281         (ROWS_PER_WHEEL_CLICK): New field. 
26282         (MouseWheelHandler.mouseWheelMoved): Rewritten.
26283
26284 2006-03-20  Roman Kennke  <kennke@aicas.com>
26285
26286         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
26287         (paint): Make sure the layout is valid before painting.
26288         (paintTabArea): Made tab painting more straightforward and efficient.
26289
26290 2006-03-20  Roman Kennke  <kennke@aicas.com>
26291
26292         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
26293         (MouseHandler.mousePressed): Rewritten for clearer and simpler
26294         code.
26295         (MouseHandler.mouseEntered): Implemented to set the rollover tab.
26296         (MouseHandler.mouseMoved): Implemented to set the rollover tab.
26297         (MouseHandler.mouseExited): Implemented to unset the rollover tab.
26298         (TabbedPaneLayout.calculateLayoutInfo): Don't set the component's
26299         bounds here. That is moved into layoutContainer().
26300         (calculateSize): Correctly respect insets. Made code slightly more
26301         clear and efficient.
26302         (calculateTabRects): Rewritten completely. The old code was
26303         not quite right and unstable in some situations.
26304         (layoutContainer): Moved layout of tabbed pane's subcomponents
26305         here.
26306         (tabRunsDirty): New field.
26307         (rolloverTab): New field.
26308         (tabForCoordinate): Rewritten for simplicity and correctness.
26309         (setRolloverTab): New method.
26310         (getRolloverTab): New method.
26311
26312 2006-03-20  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
26313
26314         * javax/swing/JTable.java (getScrollableUnitIncrement): Rewritten.
26315         * javax/swing/JTree.java (getScrollableUnitIncrement): Rewritten.
26316         (getScrollableUnitIncrement
26317         * javax/swing/Scrollable.java: Documented.
26318         * javax/swing/plaf/basic/BasicScrollPaneUI.java 
26319         (MouseWheelHandler):Rewritten.
26320
26321 2006-03-20  Andrew John Hughes  <gnu_andrew@member.fsf.org>
26322
26323         * doc/vmintegration.texinfo:
26324         Updated with gnu.classpath.Unsafe
26325         
26326 2006-03-20  Andrew John Hughes  <gnu_andrew@member.fsf.org>
26327
26328         * NEWS:
26329         Updated with VMArray and Unsafe changes.
26330         
26331 2006-03-20  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
26332
26333         * javax/swing/JTable.java (ROWS_PER_WHEEL_CLICK): New field.
26334         (getScrollableUnitIncrement): Rewritten.
26335         * javax/swing/JTree.java (ROWS_PER_WHEEL_CLICK): New field.
26336         (getScrollableUnitIncrement): Rewritten. 
26337         (getScrollableBlockIncrement): Rewritten.
26338         * javax/swing/plaf/basic/BasicScrollPaneUI.java 
26339         (MouseWheelHandler): Implemented. (ViewportContainerListener): 
26340         New class. (containerListener): New field. (SCROLL_NON_SCROLABLES): 
26341         New field. (installListeners): Install wheel listeners. 
26342         (uninstallListeners): Uninstall wheel listeners.
26343         * javax/swing/plaf/basic/BasicTableUI.java: Remove the implementation
26344         of the MouseWheelListener. (installListeners): Do not install wheel
26345         listener. (ROWS_PER_WHEEL_CLICK): Removed.
26346
26347 2006-03-19  Andrew John Hughes  <gnu_andrew@member.fsf.org>
26348
26349         * vm/reference/gnu/classpath/Unsafe.java:
26350         Documented.
26351         (getUnsafe()): Updated to handle security.
26352
26353 2006-03-19  Tom Tromey  <tromey@redhat.com>
26354
26355         * vm/reference/gnu/classpath/Unsafe.java:
26356         New class to handle low-level facilities for concurrency.
26357
26358 2006-03-19  Mark Wielaard  <mark@klomp.org>
26359
26360         * include/Makefile.am: Rename PlainDatagramSocketImpl to
26361         VMPlainDatagramSocketImpl and PlainSocketImpl to VMPlainSocketImpl.
26362         * include/gnu_java_net_VMPlainDatagramSocketImpl.h: Regenerated.
26363         * include/gnu_java_net_VMPlainSocketImpl.h: Likewise.
26364
26365 2006-03-19  Mark Wielaard  <mark@klomp.org>
26366
26367         * gnu/java/awt/peer/gtk/GdkFontPeer.java (getPostScriptName): Return
26368         familyName.
26369         * gnu/java/awt/peer/gtk/GtkFontPeer.java: Removed unused file.
26370
26371 2006-03-19  Michael Koch  <konqueror@gmx.de>
26372
26373         * resource/gnu/java/locale/LocaleInformation_aa_ET.properties,
26374         resource/gnu/java/locale/LocaleInformation_am.properties,
26375         resource/gnu/java/locale/LocaleInformation_am_ET.properties,
26376         resource/gnu/java/locale/LocaleInformation_as_IN.properties,
26377         resource/gnu/java/locale/LocaleInformation_az_Cyrl.properties,
26378         resource/gnu/java/locale/LocaleInformation_bg.properties,
26379         resource/gnu/java/locale/LocaleInformation_bn_IN.properties,
26380         resource/gnu/java/locale/LocaleInformation_ca.properties,
26381         resource/gnu/java/locale/LocaleInformation_cs.properties,
26382         resource/gnu/java/locale/LocaleInformation_cy.properties,
26383         resource/gnu/java/locale/LocaleInformation_da.properties,
26384         resource/gnu/java/locale/LocaleInformation_de.properties,
26385         resource/gnu/java/locale/LocaleInformation_dv.properties,
26386         resource/gnu/java/locale/LocaleInformation_el.properties,
26387         resource/gnu/java/locale/LocaleInformation_en.properties,
26388         resource/gnu/java/locale/LocaleInformation_en_GB.properties,
26389         resource/gnu/java/locale/LocaleInformation_en_IN.properties,
26390         resource/gnu/java/locale/LocaleInformation_en_PK.properties,
26391         resource/gnu/java/locale/LocaleInformation_en_SG.properties,
26392         resource/gnu/java/locale/LocaleInformation_en_US_POSIX.properties,
26393         resource/gnu/java/locale/LocaleInformation_es.properties,
26394         resource/gnu/java/locale/LocaleInformation_es_AR.properties,
26395         resource/gnu/java/locale/LocaleInformation_es_BO.properties,
26396         resource/gnu/java/locale/LocaleInformation_es_CL.properties,
26397         resource/gnu/java/locale/LocaleInformation_es_CO.properties,
26398         resource/gnu/java/locale/LocaleInformation_es_CR.properties,
26399         resource/gnu/java/locale/LocaleInformation_es_DO.properties,
26400         resource/gnu/java/locale/LocaleInformation_es_EC.properties,
26401         resource/gnu/java/locale/LocaleInformation_es_ES.properties,
26402         resource/gnu/java/locale/LocaleInformation_es_GT.properties,
26403         resource/gnu/java/locale/LocaleInformation_es_HN.properties,
26404         resource/gnu/java/locale/LocaleInformation_es_MX.properties,
26405         resource/gnu/java/locale/LocaleInformation_es_NI.properties,
26406         resource/gnu/java/locale/LocaleInformation_es_PA.properties,
26407         resource/gnu/java/locale/LocaleInformation_es_PE.properties,
26408         resource/gnu/java/locale/LocaleInformation_es_PR.properties,
26409         resource/gnu/java/locale/LocaleInformation_es_PY.properties,
26410         resource/gnu/java/locale/LocaleInformation_es_SV.properties,
26411         resource/gnu/java/locale/LocaleInformation_es_US.properties,
26412         resource/gnu/java/locale/LocaleInformation_es_UY.properties,
26413         resource/gnu/java/locale/LocaleInformation_es_VE.properties,
26414         resource/gnu/java/locale/LocaleInformation_fa.properties,
26415         resource/gnu/java/locale/LocaleInformation_fa_AF.properties,
26416         resource/gnu/java/locale/LocaleInformation_fa_IR.properties,
26417         resource/gnu/java/locale/LocaleInformation_fi.properties,
26418         resource/gnu/java/locale/LocaleInformation_fr.properties,
26419         resource/gnu/java/locale/LocaleInformation_fr_CA.properties,
26420         resource/gnu/java/locale/LocaleInformation_ga.properties,
26421         resource/gnu/java/locale/LocaleInformation_gu_IN.properties,
26422         resource/gnu/java/locale/LocaleInformation_hi_IN.properties,
26423         resource/gnu/java/locale/LocaleInformation_hr.properties,
26424         resource/gnu/java/locale/LocaleInformation_hu.properties,
26425         resource/gnu/java/locale/LocaleInformation_id.properties,
26426         resource/gnu/java/locale/LocaleInformation_is.properties,
26427         resource/gnu/java/locale/LocaleInformation_it.properties,
26428         resource/gnu/java/locale/LocaleInformation_ja.properties,
26429         resource/gnu/java/locale/LocaleInformation_kk.properties,
26430         resource/gnu/java/locale/LocaleInformation_kl.properties,
26431         resource/gnu/java/locale/LocaleInformation_km.properties,
26432         resource/gnu/java/locale/LocaleInformation_ky.properties,
26433         resource/gnu/java/locale/LocaleInformation_lo.properties,
26434         resource/gnu/java/locale/LocaleInformation_lo_LA.properties,
26435         resource/gnu/java/locale/LocaleInformation_lt.properties,
26436         resource/gnu/java/locale/LocaleInformation_lt_LT.properties,
26437         resource/gnu/java/locale/LocaleInformation_lv.properties,
26438         resource/gnu/java/locale/LocaleInformation_mk.properties,
26439         resource/gnu/java/locale/LocaleInformation_mn.properties,
26440         resource/gnu/java/locale/LocaleInformation_mr.properties,
26441         resource/gnu/java/locale/LocaleInformation_mr_IN.properties,
26442         resource/gnu/java/locale/LocaleInformation_ms.properties,
26443         resource/gnu/java/locale/LocaleInformation_ms_BN.properties,
26444         resource/gnu/java/locale/LocaleInformation_mt.properties,
26445         resource/gnu/java/locale/LocaleInformation_nb.properties,
26446         resource/gnu/java/locale/LocaleInformation_nl.properties,
26447         resource/gnu/java/locale/LocaleInformation_nn.properties,
26448         resource/gnu/java/locale/LocaleInformation_om_ET.properties,
26449         resource/gnu/java/locale/LocaleInformation_or_IN.properties,
26450         resource/gnu/java/locale/LocaleInformation_pa.properties,
26451         resource/gnu/java/locale/LocaleInformation_pl.properties,
26452         resource/gnu/java/locale/LocaleInformation_pt.properties,
26453         resource/gnu/java/locale/LocaleInformation_ru.properties,
26454         resource/gnu/java/locale/LocaleInformation_ru_RU.properties,
26455         resource/gnu/java/locale/LocaleInformation_ru_UA.properties,
26456         resource/gnu/java/locale/LocaleInformation_sa.properties,
26457         resource/gnu/java/locale/LocaleInformation_sa_IN.properties,
26458         resource/gnu/java/locale/LocaleInformation_sk.properties,
26459         resource/gnu/java/locale/LocaleInformation_sr_Latn.properties,
26460         resource/gnu/java/locale/LocaleInformation_sv.properties,
26461         resource/gnu/java/locale/LocaleInformation_sw.properties,
26462         resource/gnu/java/locale/LocaleInformation_sw_TZ.properties,
26463         resource/gnu/java/locale/LocaleInformation_ta_IN.properties,
26464         resource/gnu/java/locale/LocaleInformation_te.properties,
26465         resource/gnu/java/locale/LocaleInformation_te_IN.properties,
26466         resource/gnu/java/locale/LocaleInformation_th.properties,
26467         resource/gnu/java/locale/LocaleInformation_ti.properties,
26468         resource/gnu/java/locale/LocaleInformation_ti_ER.properties,
26469         resource/gnu/java/locale/LocaleInformation_ti_ET.properties,
26470         resource/gnu/java/locale/LocaleInformation_tr.properties,
26471         resource/gnu/java/locale/LocaleInformation_tt.properties,
26472         resource/gnu/java/locale/LocaleInformation_uk.properties,
26473         resource/gnu/java/locale/LocaleInformation_ur.properties,
26474         resource/gnu/java/locale/LocaleInformation_uz.properties,
26475         resource/gnu/java/locale/LocaleInformation_zh.properties,
26476         resource/gnu/java/locale/LocaleInformation_zh_Hant.properties:
26477         More updates for CLDR 1.3.
26478         
26479 2006-03-19  Andrew John Hughes  <gnu_andrew@member.fsf.org>
26480
26481         * doc/vmintegration.texinfo:
26482         Updated to include VMArray.
26483         * include/Makefile.am:
26484         Replace java_lang_reflect_Array.h with
26485         java_lang_reflect_VMArray.h
26486         * include/java_lang_reflect_VMArray.h:
26487         New autogenerated header.
26488         * include/java_lang_reflect_Array.h:
26489         Removed.
26490         * java/lang/reflect/Array.java:
26491         (newInstance(Class,int)): Calls VMArray.
26492         (createMultiArray(Class,int[],int)): Likewise.
26493         (createObjectArray(Class,int)): Removed.
26494         * native/jni/java-lang/Makefile.am:
26495         Replaced java_lang_reflect_Array.c with
26496         java_lang_reflect_VMArray.c
26497         * native/jni/java-lang/java_lang_reflect_VMArray.c:
26498         Renamed from java_lang_reflect_Array.c.
26499         * vm/reference/java/lang/reflect/VMArray.java:
26500         (createObjectArray(Class,int)): Native method moved
26501         from java.lang.reflect.Array.
26502
26503 2006-03-19  Roman Kennke  <kennke@aicas.com>
26504
26505         * gnu/javax/swing/plaf/metal/CustomizableTheme.java: New class.
26506         * examples/gnu/classpath/examples/swing/MetalThemeEditor.java:
26507         New class.
26508         * examples/gnu/classpath/examples/swing/Demo.java
26509         (mkButtonBar): Hook up theme editor.
26510         (mkMenuBar): Hook up theme editor.
26511
26512 2006-03-19  Roman Kennke  <kennke@aicas.com>
26513
26514         * javax/swing/plaf/basic/BasicFileChooserUI.java
26515         (ApproveSelectionAction.actionPerformed): Added case for when
26516         nothing has been selected but the user has typed a filename
26517         into the textfield.
26518         (getFileName): Return the value of the text field.
26519
26520 2006-03-19  Roman Kennke  <kennke@aicas.com>
26521
26522         * javax/swing/JColorChooser.java
26523         (createDialog): Create JDialog instead of ModalDialog. Make this
26524         dialog modal by calling setModal(true).
26525         (ModalDialog): Removed unnecessary inner class.
26526
26527 2006-03-19  Tom Tromey  <tromey@redhat.com>
26528
26529         * java/awt/font/NumericShaper.java: Rewrote.
26530
26531 2006-03-19  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
26532
26533         * javax/swing/plaf/basic/BasicTableUI.java:
26534         Implement MouseWheelListener. (ROWS_PER_WHEEL_CLICK):
26535         New field. MouseInputHandler.mouseWheelMoved): New method.
26536         (installListeners): Register MouseInputHandler as
26537         wheel listener also.
26538         
26539 2006-03-19  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
26540
26541         PR 26746
26542         * javax/swing/ViewportLayout.java (layoutContainer):
26543         If Scrollable tracks dimension, set view size to the port size. 
26544         If port is larger than the view, move the view to the top/left.
26545
26546 2006-03-19  Roman Kennke  <kennke@aicas.com>
26547
26548         * javax/swing/MenuSelectionManager.java
26549         (isComponentPartOfCurrentMenu): Also consider the first element
26550         in a menu selection list. Make a isDescendentFrom check instead
26551         of simple equals to also catch sub components.
26552
26553 2006-03-19  Roman Kennke  <kennke@aicas.com>
26554
26555         * javax/swing/JComboBox.java
26556         (actionPerformed): Fetch selected item directly from the editor
26557         instead of trying to get it from the event.
26558
26559 2006-03-19  Roman Kennke  <kennke@aicas.com>
26560
26561         * javax/swing/plaf/basic/BasicComboBoxEditor.java
26562         (listener): Removed field.
26563         (BasicComboBoxEditor): Removed initialization of listener field.
26564         (addActionListener): Add listener directly to editor.
26565         (removeActionListener): Remove listener directly from editor.
26566         (ComboBoxEditorListener): Removed class.
26567         * javax/swing/plaf/basic/BasicComboBoxUI.java
26568         (getPreferredSize): Fixed to return the minimumSize.
26569         (getMinimumSize): Improved code for more clearness.
26570         (getMaximumSize): Return (32767,32767) as requested by the mauve test.
26571         (rectangleForCurrentValue): Correctly respect insets.
26572         (getDefaultSize): Return preferredSize here. Dont override height
26573         with 100.
26574         (getDisplaySize): Moved around code for more clearness. Added
26575         handling of prototype renderer.
26576         (ComboBoxLayoutManager.layoutContainer): Set editor bounds after
26577         arrowButton bounds since the former depends on the latter.
26578         * javax/swing/plaf/metal/MetalComboBoxButton.java:
26579         (MetalComboBoxButton): Make button rollover disabled.
26580         (isFocusTraversable): Return false unconditionally.
26581         * javax/swing/plaf/metal/MetalComboBoxEditor.java:
26582         (EditorTextField): New class. Fixes the size properties.
26583         (MetalComboBoxEditor): Create instance of EditorTextField.
26584         * javax/swing/plaf/metal/MetalComboBoxUI.java:
26585         (getMinimumSize): Fixed editable size.
26586
26587 2006-03-18  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
26588
26589         * javax/swing/JTable.java (BooleanCellRenderer): Rewritten.
26590
26591 2006-03-18  Roman Kennke  <kennke@aicas.com>
26592
26593         * javax/swing/plaf/metal/MetalToolBarUI.java
26594         (update): Added overridden method to support OceanTheme.
26595
26596 2006-03-18  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
26597
26598         * javax/swing/plaf/basic/BasicTableUI.java (KeyHandler.keyTyped): 
26599         Activate the cell editing on character keystroke.
26600
26601 2006-03-18  Mark Wielaard  <mark@klomp.org>
26602
26603         * java/awt/Component.java (eventTypeEnabled): Handle
26604         MouseEvent.MOUSE_WHEEL.
26605         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (postMouseWheelEvent):
26606         New callback method.
26607         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
26608         (AWT_MOUSE_WHEEL): New constant.
26609         (AWT_WHEEL_UNIT_SCROLL): Likewise.
26610         (postMouseWheelEventID): New static variable.
26611         (cp_gtk_component_init_jni): Record postMouseWheelEventID.
26612         (cp_gtk_component_connect_mouse_signals): Connect scroll-event.
26613         (button_number): Renamed to ...
26614         (button_number_direction): variable to hold button number or scroll
26615         direction.
26616         (component_button_press_cb): Use button_number_direction.
26617         (component_scroll_cb): New static callback function.
26618
26619 2006-03-18  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
26620
26621         * javax.swing.JTable.java (TableTextField.scrollRectToVisible):
26622         Return without action.
26623
26624 2006-03-18  Mark Wielaard  <mark@klomp.org>
26625
26626         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (paintComponent):
26627         Don't cast graphics object to GdkGraphics.
26628         (updateComponent): Likewise.
26629
26630 2006-03-18  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
26631
26632         * examples/gnu/classpath/examples/swing/TableDemo.java
26633         (TModel.getColumnClass): Set second column to Icon.
26634         (TModel.isCellEditable): Say icons are not editable.
26635         (createContent): Fill the in second column with some icons from 
26636         MetalIconFactory.
26637
26638 2006-03-18  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
26639
26640         * examples/gnu/classpath/examples/swing/Demo.java
26641         (mkButtonBar): Set maximal button bar height to the preferred height.
26642
26643 2006-03-18  Roman Kennke  <kennke@aicas.com>
26644
26645         * javax/swing/plaf/basic/BasicComboPopup.java
26646         (show): Substract insets from scroller width.
26647         (getPopupHeightForRowCount): If height==0, return a default of 100
26648         instead for empty ComboBoxes.
26649
26650 2006-03-18  Roman Kennke  <kennke@aicas.com>
26651
26652         * javax/swing/plaf/basic/BasicLookAndFeel.java
26653         (PopupHelper.autoClosePopups): Removed field.
26654         (PopupHelper.mousePressed): Removed processing of registered
26655         autoclose popups.
26656         (registerForAutoClose): Removed unneeded method.
26657         (autoClosePopups): Removed unneeded method.
26658         (registerForAutoClose): Removed unneeded method.
26659
26660 2006-03-18  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
26661
26662         * javax.swing.JTable.java (TableTextField): Set border.
26663         (moveToCellBeingEdited): Do not adjust the editor boundaries
26664
26665 2006-03-18  Michael Koch  <konqueror@gmx.de>
26666
26667         * resource/gnu/java/locale/LocaleInformation_aa.properties,
26668         resource/gnu/java/locale/LocaleInformation_af.properties,
26669         resource/gnu/java/locale/LocaleInformation_am.properties,
26670         resource/gnu/java/locale/LocaleInformation_ar.properties,
26671         resource/gnu/java/locale/LocaleInformation_az_Cyrl.properties,
26672         resource/gnu/java/locale/LocaleInformation_be.properties,
26673         resource/gnu/java/locale/LocaleInformation_bg.properties,
26674         resource/gnu/java/locale/LocaleInformation_bn.properties,
26675         resource/gnu/java/locale/LocaleInformation_ca.properties,
26676         resource/gnu/java/locale/LocaleInformation_cs.properties,
26677         resource/gnu/java/locale/LocaleInformation_cy.properties,
26678         resource/gnu/java/locale/LocaleInformation_da.properties,
26679         resource/gnu/java/locale/LocaleInformation_de.properties,
26680         resource/gnu/java/locale/LocaleInformation_de_CH.properties,
26681         resource/gnu/java/locale/LocaleInformation_dz.properties,
26682         resource/gnu/java/locale/LocaleInformation_en.properties,
26683         resource/gnu/java/locale/LocaleInformation_eo.properties,
26684         resource/gnu/java/locale/LocaleInformation_es.properties,
26685         resource/gnu/java/locale/LocaleInformation_et.properties,
26686         resource/gnu/java/locale/LocaleInformation_eu.properties,
26687         resource/gnu/java/locale/LocaleInformation_fa.properties,
26688         resource/gnu/java/locale/LocaleInformation_fa_AF.properties,
26689         resource/gnu/java/locale/LocaleInformation_fi.properties,
26690         resource/gnu/java/locale/LocaleInformation_fo.properties,
26691         resource/gnu/java/locale/LocaleInformation_fr.properties,
26692         resource/gnu/java/locale/LocaleInformation_ga.properties,
26693         resource/gnu/java/locale/LocaleInformation_gl.properties,
26694         resource/gnu/java/locale/LocaleInformation_gu.properties,
26695         resource/gnu/java/locale/LocaleInformation_he.properties,
26696         resource/gnu/java/locale/LocaleInformation_hi.properties,
26697         resource/gnu/java/locale/LocaleInformation_hr.properties,
26698         resource/gnu/java/locale/LocaleInformation_hu.properties,
26699         resource/gnu/java/locale/LocaleInformation_hy.properties,
26700         resource/gnu/java/locale/LocaleInformation_id.properties,
26701         resource/gnu/java/locale/LocaleInformation_is.properties,
26702         resource/gnu/java/locale/LocaleInformation_it.properties,
26703         resource/gnu/java/locale/LocaleInformation_ja.properties,
26704         resource/gnu/java/locale/LocaleInformation_ka.properties,
26705         resource/gnu/java/locale/LocaleInformation_km.properties,
26706         resource/gnu/java/locale/LocaleInformation_ko.properties,
26707         resource/gnu/java/locale/LocaleInformation_lo.properties,
26708         resource/gnu/java/locale/LocaleInformation_lt.properties,
26709         resource/gnu/java/locale/LocaleInformation_lv.properties,
26710         resource/gnu/java/locale/LocaleInformation_mk.properties,
26711         resource/gnu/java/locale/LocaleInformation_mr.properties,
26712         resource/gnu/java/locale/LocaleInformation_ms.properties,
26713         resource/gnu/java/locale/LocaleInformation_mt.properties,
26714         resource/gnu/java/locale/LocaleInformation_nb.properties,
26715         resource/gnu/java/locale/LocaleInformation_nl.properties,
26716         resource/gnu/java/locale/LocaleInformation_nn.properties,
26717         resource/gnu/java/locale/LocaleInformation_om.properties,
26718         resource/gnu/java/locale/LocaleInformation_pl.properties,
26719         resource/gnu/java/locale/LocaleInformation_ps.properties,
26720         resource/gnu/java/locale/LocaleInformation_pt.properties,
26721         resource/gnu/java/locale/LocaleInformation_pt_PT.properties,
26722         resource/gnu/java/locale/LocaleInformation_ro.properties,
26723         resource/gnu/java/locale/LocaleInformation_ru.properties,
26724         resource/gnu/java/locale/LocaleInformation_sk.properties,
26725         resource/gnu/java/locale/LocaleInformation_sl.properties,
26726         resource/gnu/java/locale/LocaleInformation_so.properties,
26727         resource/gnu/java/locale/LocaleInformation_sq.properties,
26728         resource/gnu/java/locale/LocaleInformation_sr.properties,
26729         resource/gnu/java/locale/LocaleInformation_sr_Latn.properties,
26730         resource/gnu/java/locale/LocaleInformation_sv.properties,
26731         resource/gnu/java/locale/LocaleInformation_sw.properties,
26732         resource/gnu/java/locale/LocaleInformation_ta.properties,
26733         resource/gnu/java/locale/LocaleInformation_te.properties,
26734         resource/gnu/java/locale/LocaleInformation_th.properties,
26735         resource/gnu/java/locale/LocaleInformation_tr.properties,
26736         resource/gnu/java/locale/LocaleInformation_uk.properties,
26737         resource/gnu/java/locale/LocaleInformation_uz.properties,
26738         resource/gnu/java/locale/LocaleInformation_vi.properties,
26739         resource/gnu/java/locale/LocaleInformation_zh.properties,
26740         resource/gnu/java/locale/LocaleInformation_zh_Hant.properties:
26741         Updated to use the new localized strings for currencies, languages,
26742         variants, territories, etc.
26743
26744 2006-03-18  Ito Kazumitsu  <kaz@maczuka.gcd.org>
26745
26746         * gnu/regexp/REMatch.java(matchedCharIndexed): New field,
26747         (start, end): Added comment about the negative values of them,
26748         (finish): Saves the input text in matchedCharIndexed,
26749         (toString): If the start or end index is out of bounds of the
26750         matched text, get the substring from matchedCharIndexed.
26751         Added special handlings in case start/end index < -1,
26752         (getSubStartIndex, getStartIndex, getSubEndIndex, getEndIndex):
26753         Added special handlings in case start/end index < -1,
26754         * gnu/regexp/RETokenLookAhead.java(matchThis): Return the newly
26755         found match, but keep the index as the original match.
26756         * gnu/regexp/RETokenLookBehind.java(matchThis): Return the newly
26757         found match, but keep the index as the original match.
26758         * gnu/regexp/RETokenBackRef.java(matchThis): Added special handlings
26759         in case start/end index < -1.
26760         
26761 2006-03-17  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
26762
26763         * gnu/java/rmi/activation/ActivationSystemTransient.java (debug):
26764         Set to false.   
26765
26766 2006-03-17  Robert Schuster  <robertschuster@fsfe.org>
26767          
26768         * javax/swing/text/DefaultCaret.java:
26769         (mouseClicked) Use setDot() and moveDot() instead of
26770         JTextComponent.select().
26771
26772 2006-03-17  Roman Kennke  <kennke@aicas.com>
26773
26774         * javax/swing/plaf/metal/MetalComboBoxEditor.java
26775         (MetalComboBoxEditorBorder.paintBorder): Implemented special
26776         border painting for the Ocean theme.
26777         (MetalComboBoxEditor): Create editor directly instead of going
26778         to super.
26779         
26780 2006-03-17  Roman Kennke  <kennke@aicas.com>
26781
26782         * javax/swing/text/JTextComponent.java
26783         (JTextComponent): Make text components opaque.
26784
26785 2006-03-17  Roman Kennke  <kennke@aicas.com>
26786
26787         * javax/swing/plaf/metal/MetalComboBoxUI.java
26788         (MetalComboBoxLayoutManager.layoutContainer): Forward to
26789         layoutComboBox().
26790         (MetalPropertyChangeListener.propertyChange): Update focusable
26791         flag according to the enable and editable state.
26792         (editablePropertyChanged): Removed unnecessary code.
26793         (getMinimumSize): Rewritten to correctly compute the
26794         size, respecting the insets of the components and the icon,
26795         the visual properties of the combobox, etc.
26796         (configureEditor): Update listeners correctly.
26797         (unconfigureEditor): Update listeners correctly.
26798         (layoutComboBox): Implemented.
26799
26800 2006-03-17  Roman Kennke  <kennke@aicas.com>
26801
26802         * javax/swing/plaf/metal/MetalComboBoxEditor.java
26803         (MetalComboBoxEditorBorder): Made this a subclass of AbstractBorder
26804         instead of Flush3DBorder.
26805         (paintBorder): Fixed border painting.
26806         (editorBorderInsets): Fixed border's insets.
26807
26808 2006-03-17  Roman Kennke  <kennke@aicas.com>
26809
26810         * javax/swing/plaf/metal/MetalComboBoxButton.java
26811         (rendererPane): Documented.
26812         (MetalComboBoxButton): Set enabled flag from ComboBox.
26813         Set focusable flag from ComboBox's enabled flag.
26814         (isFocusTraversable): Make button focus traversable if
26815         ComboBox is not editable but enable.
26816         (paintComponent): Fixed painting to correctly adjust
26817         the boxes of the renderer and button.
26818
26819 2006-03-17  Roman Kennke  <kennke@aicas.com>
26820
26821         * javax/swing/plaf/basic/BasicButtonUI.java
26822         (installDefaults): Only install UI margin if installed margin.
26823         is null or a UIResource.         
26824         (uninstallDefaults): Only uninstall margin if it's       
26825         a UIResource.    
26826          
26827  2006-03-17  Robert Schuster  <robertschuster@fsfe.org>          
26828          
26829          * javax/swing/text/DefaultCaret.java:   
26830          (mouseClicked) Use setDot() and moveDot() instead of    
26831          JTextComponent.select().        
26832  
26833 2006-03-17  Robert Schuster  <robertschuster@fsfe.org>
26834
26835         * javax/swing/text/DefaultEditorKit.java: Refactored anonymous
26836         inner classes into package-private inner classes, added actions
26837         for caret movement and selection to the next and previous word
26838         and an action which selects the whole text.
26839
26840 2006-03-17  Thomas Fitzsimmons  <fitzsim@redhat.com>
26841
26842         * javax/swing/Spring.java: Uncomment springdebug methods and
26843         rename them toString.
26844         * javax/swing/SpringLayout.java: Likewise.
26845
26846 2006-03-17  Robert Schuster  <robertschuster@fsfe.org>
26847
26848         * javax/swing/text/FieldView.java:
26849         (viewToModel): Added call to adjust allocation area.
26850
26851 2006-03-17  Roman Kennke  <kennke@aicas.com>
26852
26853         * javax/swing/plaf/basic/BasicComboBoxUI.java
26854         (mouseListener): Removed field.
26855         (buttonBackground): Removed field.
26856         (buttonShadow): Removed field.
26857         (buttonDarkShadow): Removed field.
26858         (buttonHighlight): Removed field.
26859         (BasicComboBoxUI): Initialize currentValuePane and cachedMinimumSize.
26860         (installUI): Initialize and configure renderer and editor here.
26861         (uninstallUI): Close popup before uninitializing.
26862         Message popup that we are uninitializing. Clear layout.
26863         (installDefaults): Install UI border. Don't install colors.
26864         (installListeners): Install listeners fetched from the popup.
26865         Remove handling of mouseListener.
26866         (uninstallDefaults): Uninstall border. Don't handle colors.
26867         (uninstallListeners): Don't handle mouseListener. Uninstall
26868         listener from the popup.
26869         (createMouseListener): Removed method.
26870         (createRenderer): Create UIResource.
26871         (installComponents): Cleaned up.
26872         (uninstallComponents): Only remove renderer when it is
26873         a UIResource.
26874         (addEditor): Remove editor before adding new one.
26875         Fetch editor from comboBox.
26876         (removeEditor): Only do something when editor != null. Unconfigure
26877         editor before removing.
26878         (configureEditor): Add key listener. Call comboBox.configureEditor.
26879         (unconfigureEditor): Removed key listener.
26880         (configureArrowButton): Only handle when arrowButton != null.
26881         Add mouse listeners to arrow button.
26882         (unconfigureArrowButton): Remove listeners.
26883         (createArrowButton): Don't handle colors here.
26884         (setPopupVisible): Don't handle focus here.
26885         (paint): Only paint when comboBox is not editable. Update
26886         hasFocus flag.
26887         (getPreferredSize): Implemented to be minimumSize + 4 pixels width.
26888         (getMinimumSize): Respect insets here.
26889         (getMaximumSize): Return preferredSize with width of 32767.
26890         (getInsets): Return ComboBox insets.
26891         (paintCurrentValue): Paint using currentValuePane.
26892         Install correct colors. Don't revalidate.
26893         (paintCurrentValueBackground): Implemented.
26894         (getDefaultSize): Reimplemented using a default renderer.
26895         (getDisplaySize): Reimplemented to use renderer.
26896         (ComboBoxLayoutManager.preferredLayoutSize): Forward to component.
26897         (ComboBoxLayoutManager.minimumLayoutSize): Forward to component.
26898         (ComboBoxLayoutManager.layoutContainer): Fixed layout.
26899         (FocusHandler.focusGained): Don't invalidate minimumSize.
26900         (FocusHandler.focusLost): Don't invalidate minimumSize.
26901         Only close popup if focus change is not temporary.
26902         (ItemHandler.itemStateChanged): Don't invalidate minimumSize.
26903         Reconfigure editor if not null.
26904         (ListDataHandler.contentsChanged): Revalidate and reconfigure
26905         editor if necessary.
26906         (ListDataHandler.intervalAdded): Fixed updating of the display size.
26907         (ListDataHandler.intervalRemoved): Forward to contentsChanged.
26908         (MouseHandler): Removed unnecessary class.
26909
26910 2006-03-17  Robert Schuster  <robertschuster@fsfe.org>
26911
26912         * examples/gnu/classpath/examples/swing/Demo.java:
26913         (Demo): Set default closing operation to shutdown the runtime.
26914
26915 2006-03-17  Roman Kennke  <kennke@aicas.com>
26916
26917         * javax/swing/plaf/basic/BasicComboPopup.java
26918         (BasicComboPopup): Create listeners here.
26919         Configure components here.
26920         (show): Correctly calculate bounds using computePopupBounds().
26921         Make scroller fixed-size. Removed special autocloser handling.
26922         (hide): Rewritten to use MenuSelectionHandler.
26923         (createList): Don't set selection mode here.
26924         (configureList): Correctly install colors and fonts and selectionMode.
26925         (createScroller): Set scrollpane policies.
26926         (configureScroller): Make scroller and scrollbar not-focusable.
26927         (configurePopup): Make popup opaque and borderPainted.
26928         (installComboBoxListeners): Don't install mouse listener on ComboBox.
26929         (delegateFocus): Implemented.
26930         (convertMouseEvent): Implemented.
26931         (updateListBoxSelectionForEvent): Implemented to also handle
26932         autoscrolling.
26933         (InvocationMouseHandler.mousePressed): Delegate focus correctly.
26934         Only open popup on left mouse-click.
26935         (InvocationMouseHandler.mouseReleased): Rewritten.
26936         (InvocationMouseMotionHandler.mouseDragged): Rewritten to better
26937         support autoscrolling.
26938         (ItemHandler.itemStateChanged): Implemented to sync selection with
26939         the comboBox.
26940         (ListMouseHandler.mouseReleased): Fetch selected index directly
26941         from list.
26942         (ListMouseMotionHandler.mouseMoved): Only update when mouse is inside
26943         the list box.
26944         (PropertyChangeHandler.propertyChange): Don't revalidate/repaint here.
26945         When model changes, then update listeners correctly.
26946         (uninstallListeners): Don't uninstall list listeners.
26947         (uninstallComboBoxListeners): Don't uninstall mouse listeners
26948         from comboBox.
26949         (syncSelection): New helper method.
26950
26951 2006-03-17  Robert Schuster  <robertschuster@fsfe.org>
26952
26953         * javax/swing/text/PlainView.java:
26954         (drawLine): Rewritten.
26955         (drawSelectedText): Corrected last argument for
26956         Utilities.drawTabbedText() call.
26957         (paint): Store start and end of selection in object variables,
26958         store constant values of for-loop in local variables.
26959         * javax/swing/text/Utilities.java:
26960         (drawTabbedText): Add 'pixelWidth' to the return value, store
26961         constant value of for-loop in local variable.
26962
26963 2006-03-17  Roman Kennke  <kennke@aicas.com>
26964
26965         * javax/swing/plaf/basic/BasicComboPopup.java
26966         (BasicComboPopup): Create listeners here.
26967         Configure components here.
26968         (show): Correctly calculate bounds using computePopupBounds().
26969         Make scroller fixed-size. Removed special autocloser handling.
26970         (hide): Rewritten to use MenuSelectionHandler.
26971         (createList): Don't set selection mode here.
26972         (configureList): Correctly install colors and fonts and selectionMode.
26973         (createScroller): Set scrollpane policies.
26974         (configureScroller): Make scroller and scrollbar not-focusable.
26975         (configurePopup): Make popup opaque and borderPainted.
26976         (installComboBoxListeners): Don't install mouse listener on ComboBox.
26977         (delegateFocus): Implemented.
26978         (convertMouseEvent): Implemented.
26979         (updateListBoxSelectionForEvent): Implemented to also handle
26980         autoscrolling.
26981         (InvocationMouseHandler.mousePressed): Delegate focus correctly.
26982         Only open popup on left mouse-click.
26983         (InvocationMouseHandler.mouseReleased): Rewritten.
26984         (InvocationMouseMotionHandler.mouseDragged): Rewritten to better
26985         support autoscrolling.
26986         (ItemHandler.itemStateChanged): Implemented to sync selection with
26987         the comboBox.
26988         (ListMouseHandler.mouseReleased): Fetch selected index directly
26989         from list.
26990         (ListMouseMotionHandler.mouseMoved): Only update when mouse is inside
26991         the list box.
26992         (PropertyChangeHandler.propertyChange): Don't revalidate/repaint here.
26993         When model changes, then update listeners correctly.
26994         (uninstallListeners): Don't uninstall list listeners.
26995         (uninstallComboBoxListeners): Don't uninstall mouse listeners
26996         from comboBox.
26997         (syncSelection): New helper method.
26998
26999 2006-03-17  Roman Kennke  <kennke@aicas.com>
27000
27001         * javax/swing/plaf/basic/BasicComboBoxRenderer.java
27002         (noFocusBorder): Make border with insets of (1,1,1,1).
27003         (BasicComboBoxRenderer): Make renderer opaque.
27004         No need to explicitly set alignment.
27005         (getListCellRendererComponent): Rewritten to correctly initialize
27006         color and font.
27007
27008 2006-03-17  Roman Kennke  <kennke@aicas.com>
27009
27010         * javax/swing/JPopupMenu.java
27011         (setVisible): Handle JPopupMenu opening and closing via
27012         the MenuSelectionHandler.
27013
27014 2006-03-17  Wolfgang Baer  <WBaer@gmx.de>
27015
27016         * org/omg/DynamicAny/DynAnyPackage/InvalidValue.java: Now final.
27017         * org/omg/DynamicAny/DynAnyPackage/TypeMismatch.java: Likewise.
27018         * org/omg/DynamicAny/DynAnyFactoryPackage/InconsistentTypeCode.java: 
27019         Likewise.       
27020         * org/omg/CORBA/portable/RemarshalException.java: Likewise
27021         * org/omg/CORBA/TypeCodePackage/BadKind.java: Likewise.
27022         * org/omg/CORBA/TypeCodePackage/Bounds.java: Likewise.
27023         * org/omg/CORBA/ORBPackage/InvalidName.java: Likewise.
27024         * org/omg/CORBA/ORBPackage/InconsistentTypeCode.java: Likewise.
27025         * org/omg/CORBA/DynAnyPackage/TypeMismatch.java: Likewise.
27026         * org/omg/CORBA/DynAnyPackage/InvalidValue.java: Likewise.
27027         * org/omg/CORBA/DynAnyPackage/InvalidSeq.java: Likewise.
27028         * org/omg/CORBA/DynAnyPackage/Invalid.java: Likewise.
27029         * org/omg/Dynamic/Parameter.java: Now final, javadoc fixes.
27030
27031 2006-03-17  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
27032
27033         * java/rmi/activation/Activatable.java: Implemented.
27034         java/rmi/activation/ActivationDesc.java: Implemented.
27035         java/rmi/activation/ActivationGroup.java: Implemented.
27036         java/rmi/activation/ActivationGroupDesc.java: Implemented.
27037         java/rmi/activation/ActivationID.java: Implemented.
27038         java/rmi/activation/ActivationSystem.java: Implemented.
27039         * gnu/java/rmi/server/UnicastServerRef.java 
27040         (exportObject, incommingMessageCall): Documented.
27041         * java/rmi/activation/package.html: Documented.
27042         * java/rmi/server/ObjID.java (objNum, space): Made package
27043         protected.
27044         * gnu/java/rmi/server/UnicastServer.java: Rewritten.
27045         * gnu/java/rmi/server/CombinedClassLoader.java (constructor):
27046         Iteration bug fix.
27047         * gnu/java/rmi/activation/ActivationSystemTransient.java: New file.
27048         gnu/java/rmi/activation/BidiTable.java: New file.
27049         gnu/java/rmi/activation/DefaultActivationGroup.java: New file.
27050         gnu/java/rmi/activation/DefaultActivationSystem.java: New file.
27051         gnu/java/rmi/server/ActivatableServerRef.java: New file.
27052
27053 2006-03-17  Mark Wielaard  <mark@klomp.org>
27054
27055         * java/security/BasicPermission.java (BasicPermission): Check
27056         name equals empty string to force NullPointerException.
27057
27058 2006-03-16  Thomas Fitzsimmons  <fitzsim@redhat.com>
27059
27060         PR classpath/26606
27061         Commit patch by Caolan McNamara  <caolanm@redhat.com>
27062         * javax/swing/Spring.java: Complete implementation
27063         * javax/swing/SpringLayout.java: Likewise.
27064
27065 2006-03-16  Keith Seitz  <keiths@redhat.com>
27066
27067         * gnu/classpath/jdwp/Jdwp.java (_mainThread): Not needed. Removed
27068         all references.
27069         (run): Remove catch clause for InterruptedException. It is no
27070         longer necessary.
27071
27072 2006-03-16  Thomas Fitzsimmons  <fitzsim@redhat.com>
27073
27074         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
27075         (getFontMetrics): Handle monospaced fonts specially.
27076
27077 2006-03-16  Keith Seitz  <keiths@redhat.com>
27078
27079         * gnu/classpath/jdwp/Jdwp.java (getJdwpThreadGroup): New method.
27080         * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java
27081         (suspendAllThreads): Use Jdwp.getJdwpThreadGroup.
27082         Don't suspend the current thread unless it is not part of the JDWP
27083         thread group.
27084
27085 2006-03-16  Thomas Fitzsimmons  <fitzsim@redhat.com>
27086
27087         * gnu/java/awt/peer/gtk/GdkFontMetrics.java (getLeading): Always
27088         return 0.
27089         * gnu/java/awt/peer/gtk/GdkFontPeer.java (getFontMetrics): Get
27090         font metrics through toolkit.
27091         * gnu/java/awt/peer/gtk/GdkGraphics.java (getFontMetrics):
27092         Likewise.
27093         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
27094         (getFontMetrics): To calculate Java logical ascent and descent
27095         values, average Pango ink and logical values.
27096
27097 2006-03-16  Anthony Balkissoon  <abalkiss@redhat.com>
27098
27099         * java/lang/Character.java: Updated header comment.
27100
27101 2006-03-16  Tom Tromey  <tromey@redhat.com>
27102
27103         * javax/sound/sampled/AudioSystem.java (getAudioFileFormat): New
27104         constructor.
27105         * javax/sound/sampled/FloatControl.java: Now abstract.
27106         * javax/sound/sampled/EnumControl.java: Now abstract.
27107         * javax/sound/sampled/CompoundControl.java: Now abstract.
27108         * javax/sound/sampled/BooleanControl.java: Now abstract.
27109
27110 2006-03-16  Tom Tromey  <tromey@redhat.com>
27111
27112         * java/awt/image/ConvolveOp.java (getBounds2D): Now final.
27113
27114 2006-03-16  Roman Kennke  <kennke@aicas.com>
27115
27116         * java/util/zip/ZipFile.java
27117         (openFile): New helper method.
27118         (ZipFile): Use new openFile method to ensure the proper
27119         exception is thrown. This applies for all overloaded constructors.
27120
27121 2006-03-16  Roman Kennke  <kennke@aicas.com>
27122
27123         * java/text/DateFormatSymbols.java
27124         (setAmPmStrings): Added null check and throw NPE.
27125         (setEras): Likewise.
27126         (setLocalPatternChars): Likewise.
27127         (setMonths): Likewise.
27128         (setShortMonths): Likewise.
27129         (setShortWeekdays): Likewise.
27130         (setWeekdays): Likewise.
27131         (setZoneStrings): Likewise.
27132
27133 2006-03-16  Roman Kennke  <kennke@aicas.com>
27134
27135         * javax/swing/DefaultDesktopManager.java
27136         (iconifyFrame): Repaint after removing the frame.
27137         (removeIconFor): Repaint after removing the icon.
27138
27139 2006-03-16  Roman Kennke  <kennke@aicas.com>
27140
27141         * javax/swing/JInternalFrame.java
27142         (remove): Respect the rootPaneCheckingEnabled flag here.
27143
27144 2006-03-16  Roman Kennke  <kennke@aicas.com>
27145
27146         * gnu/javax/swing/plaf/gnu/GNULookAndFeel.java
27147         Moved from examples into gnu.javax.swing.. namespace.
27148         * examples/gnu/classpath/examples/swing/GNULookAndFeel.java
27149         Moved to gnu.javax.swing.. namespace.
27150         * examples/gnu/classpath/examples/swing/Demo.java:
27151         (themesMenu): New field. Used to disable theme switch in
27152         non-Metal-L&Fs.
27153         (mkMenuBar): Added L&F menu.
27154         (ChangeThemeAction.actionPerformed): Only switch theme when
27155         in Metal L&F.
27156         (ChangeLAFAction): New class used for changing themes.
27157         * javax/swing/UIManager.java
27158         (installed): Added GNU L&F as installed L&F.
27159
27160 2006-03-16  Mark Wielaard  <mark@klomp.org>
27161
27162         * examples/gnu/classpath/examples/swing/badge.png: Removed.
27163         * examples/gnu/classpath/examples/icons/badge.png: Added.
27164         * examples/gnu/classpath/examples/swing/DemoDesktop.java: Use badge
27165         from icon directory.
27166
27167 2006-03-15  Thomas Fitzsimmons  <fitzsim@redhat.com>
27168
27169         * examples/gnu/classpath/examples/awt/AnimationApplet.java: New
27170         example.
27171         * examples/gnu/classpath/examples/swing/FillRect.java: Likewise.
27172         * examples/gnu/classpath/examples/awt/Demo.java: Add
27173         AnimationApplet demo.
27174         * examples/gnu/classpath/examples/swing/Demo.java: Add FillRect
27175         demo.
27176
27177 2006-03-15  Thomas Fitzsimmons  <fitzsim@redhat.com>
27178
27179         PR classpath/26486
27180         * gnu/java/awt/peer/gtk/GtkCanvasPeer.java (getGraphics): Remove
27181         method.
27182         (handleEvent): Likewise.
27183         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (isInRepaint):
27184         Remove field.
27185         (beginNativeRepaint): Remove method.
27186         (endNativeRepaint): Likewise.
27187         (handleEvent): Call paintComponent and updateComponent.
27188         (paintComponent): New method.
27189         (updateComponent): Likewise.
27190         (repaint): Return early if width or height is less than one.
27191         (postExposeEvent): Remove isInRepaint reference.
27192         * gnu/java/awt/peer/gtk/GtkContainerPeer.java: (getGraphics):
27193         Remove method.
27194         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (getGraphics): Inherit
27195         from GtkWindowPeer.
27196         (postMouseEvent): Likewise.
27197         (postExposeEvent): Likewise.
27198         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java (updateComponent):
27199         Override to do nothing.
27200         * gnu/java/awt/peer/gtk/GtkFramePeer.java (getGraphics): Inherit
27201         from GtkWindowPeer.
27202         (postMouseEvent): Likewise.
27203         (postExposeEvent): Likewise.
27204         * gnu/java/awt/peer/gtk/GtkPanelPeer.java (handleEvent): Inherit
27205         paint and update handling from GtkComponentPeer.
27206         (updateComponent): Override to call paintComponent.
27207         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c: Replace
27208         gdk_flush calls with schedule_flush calls.
27209         (flush): New function.
27210         (schedule_flush): Likewise.
27211
27212 2006-03-15  Tom Tromey  <tromey@redhat.com>
27213
27214         * java/beans/beancontext/BeanContextSupport.java (BCSChild): New
27215         constructor.
27216         (BCSIterator): Likewise.
27217         * java/beans/beancontext/BeanContextServicesSupport.java (BCSSChild):
27218         New constructor.
27219         (BCSSProxyServiceProvider): Likewise.
27220         (BCSSServiceProvider): Likewise.
27221
27222 2006-03-15  Tom Tromey  <tromey@redhat.com>
27223
27224         * javax/sound/midi/Track.java (Track): New constructor.
27225         (events): Now package-private.
27226         * javax/sound/midi/MidiUnavailableException.java
27227         (MidiUnavailableException): Removed invalid constructors.
27228         * javax/sound/midi/MidiSystem.java (MidiSystem): New constructor.
27229         * javax/sound/midi/InvalidMidiDataException.java
27230         (InvalidMidiDataException): Removed invalid constructors.
27231         * javax/sound/midi/Sequencer.java (hashCode): Now final.
27232         * javax/sound/midi/SysexMessage.java (SysexMessage): Now protected.
27233         * javax/sound/midi/ShortMessage.java (ShortMessage): Now protected.
27234         (SYSTEM_EXCLUSIVE): Removed.
27235         (getDataLength): Updated.
27236         * javax/sound/midi/MidiDevice.java (Info): Now protected.
27237         (equals): Now final
27238         (getName): Now final.
27239         (getVendor): Now final.
27240         (getDescription): Likewise.
27241         (hashCode): Likewise.
27242         (getVersion): Likewise.
27243         (toString): Likewise.
27244         * javax/sound/midi/MetaMessage.java (MetaMessage): Now protected.
27245         * javax/sound/sampled/ReverbType.java (getDecayTime): Now final.
27246         (getEarlyReflectionDelay): Likewise.
27247         (getEarlyReflectionIntensity): Likewise.
27248         (getLateReflectionDelay): Likewise.
27249         (getLateReflectionIntensity): Likewise.
27250         (toString): Likewise.
27251         * javax/sound/sampled/Port.java (toString): Now final.
27252         * javax/sound/sampled/LineEvent.java (getFramePosition): Now final.
27253         (getLine): Likewise.
27254         (getType): Likewise.
27255         * javax/sound/sampled/Mixer.java (Info): Now protected.
27256         (getDescription): Now final.
27257         (getName): Likewise.
27258         (getVendor): Likewise.
27259         (getVersion): Likewise.
27260         (toString): Likewise.
27261         * javax/sound/sampled/Control.java: Now abstract.
27262         (Type.toString): Now final.
27263
27264 2006-03-15  Keith Seitz  <keiths@redhat.com>
27265
27266         * gnu/classpath/jdwp/util/LineTable.java (lines): Remove all occurances
27267         of this redundant variable.
27268         (LineTable): Assert that the number of line numbers and the number of
27269         code indicies is the same.
27270
27271 2006-03-15  Tom Tromey  <tromey@redhat.com>
27272
27273         * javax/imageio/stream/ImageOutputStreamImpl.java (flushBits): Now
27274         final.
27275         * javax/imageio/stream/ImageOutputStream.java (flushBefore): Javadoc
27276         fix.
27277         * java/util/zip/ZipFile.java (ENDNRD): New constant.
27278         * java/util/zip/ZipConstants.java (ENDNRD, ENDDCD): Removed.
27279         * java/util/zip/Inflater.java (end): Not deprecated.
27280         * java/util/zip/Deflater.java (end): Not deprecated.
27281         * java/text/Bidi.java (Bidi): Now final.
27282         * java/nio/MappedByteBuffer.java (finalize): Now protected.
27283
27284 2006-03-15  Keith Seitz  <keiths@redhat.com>
27285
27286         * gnu/classpath/jdwp/util/Location.java: Rewrite using VMMethod.
27287         (Location): Index is a long, not an int.
27288         (getMethod): New method.
27289         (getIndex): New method.
27290         (toString): New method.
27291
27292 2006-03-15  Tom Tromey  <tromey@redhat.com>
27293
27294         * java/awt/image/RescaleOp.java (getRenderingHints): Now final.
27295         * java/awt/image/LookupOp.java (filter): Now final.
27296         (getBounds2D): Likewise.
27297         (getPoint2D): Likewise.
27298         (getTable): Likewise.
27299         (getRenderingHints): Likewise.
27300         * java/awt/image/ConvolveOp.java (filter): Now final.
27301         (getBounds2D): Likewise.
27302         (getKernel): Likewise.
27303         (getPoint2D): Likewise.
27304         (getRenderingHints): Likewise.
27305         * java/awt/image/BandCombineOp.java (getPoint2D): Now final.
27306         (getMatrix): Likewise.
27307         (getBounds2D): Likewise.
27308         (getRenderingHints): Likewise.
27309         * java/awt/image/AffineTransformOp.java (getPoint2D): Now final.
27310         * java/awt/Button.java (AccessibleAWTButton.serialVersionUID): Now
27311         private.
27312         * java/awt/dnd/DropTargetContext.java (TransferableProxy): Now
27313         protected.
27314         * java/awt/dnd/DropTarget.java (DropTargetAutoScroller): Now
27315         protected.
27316         * java/awt/MenuItem.java (AccessibleAWTMenuItem): Now protected.
27317
27318 2006-03-15  Keith Seitz  <keiths@redhat.com>
27319
27320         * gnu/classpath/jdwp/event/filters/LocationOnlyFilter.java:
27321         Update javadoc.
27322         (matches): Implement.
27323
27324 2006-03-15  Keith Seitz  <keiths@redhat.com>
27325
27326         * gnu/classpath/jdwp/event/BreakpointEvent.java: New file.
27327         
27328         * gnu/classpath/jdwp/exception/NativeMethodException.java: New file.
27329
27330 2006-03-15  Tom Tromey  <tromey@redhat.com>
27331
27332         * java/lang/StrictMath.java (signum): New methods.
27333
27334 2006-03-15  Tom Tromey  <tromey@redhat.com>
27335
27336         * .settings/org.eclipse.jdt.core.prefs: Set tabs to 8 spaces.
27337
27338 2006-03-15  Lillian Angel  <langel@redhat.com>
27339
27340         PR classpath/24211
27341         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
27342         (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_cairoSurfaceSetFilterUnlocked):
27343         Added check to avoid segmentation fault.
27344
27345 2006-03-15  Lillian Angel  <langel@redhat.com>
27346
27347         * java/awt/Container.java
27348         (getComponentAt): Fixed documentation.
27349         (getComponentAt): Likewise.
27350
27351 2006-03-15  Roman Kennke  <kennke@aicas.com>
27352
27353         * javax/swing/JComponent.java
27354         (dragBuffer): New field.
27355         (dragBufferInitialized): New field.
27356         (paint): Added facility for buffered dragging of components.
27357         (initializeDragBuffer): New method.
27358         (getConditionForKeyStroke): Removed deprecated flag. Adjusted
27359         API docs.
27360         * javax/swing/plaf/basic/BasicInternalFrameUI.java
27361         (BorderListener.mouseDragged): Turn on buffered dragging.
27362         (BorderListener.mouseReleased): Turn off buffered dragging.
27363
27364 2006-03-15  Lillian Angel  <langel@redhat.com>
27365
27366         * java/awt/Container.java
27367         (getComponentAt): Fixed documentation.
27368         (getComponentAt): Likewise.
27369         (findComponentAt): Likewise.
27370         (findComponentAt): Likewise.
27371
27372 2006-03-15  Roman Kennke  <kennke@aicas.com>
27373
27374         * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java
27375         (PropertyChangeHandler.propertyChange): Call enableActions().
27376         Fixed 'iconable' property name.
27377
27378 2006-03-15  Chris Burdess  <dog@gnu.org>
27379
27380         Fixes PR 26700
27381         * gnu/xml/stream/XMLParser.java: Fix for detectEncoding false positive.
27382
27383 2006-03-15  Roman Kennke  <kennke@aicas.com>
27384
27385         * examples/gnu/classpath/examples/swing/Demo.java:
27386         (desktop): New field.
27387         (mkMenuBar): Added new subdemos.
27388         (mkButtonWorld): Removed.
27389         (CheckCellRenderer): Moved to ListDemo.
27390         (LabelCellRenderer): Moved to ListDemo.
27391         (mkTreeWorld): Moved to TreeDemo.
27392         (mkDesktopWorld): Removed.
27393         (mkTabWorld): Moved to TabbedPaneDemo.
27394         (mkTabbedPane): Removed.
27395         (Demo): Replaced 'worlds' tabbed pane with desktop.
27396         (PopupAction): Made class non-static.
27397         (PopupAction.actionPerformed): Bring up subdemos in internal
27398         frame.
27399         (mkButtonBar): Added new demos.
27400         (createDesktop): New method.
27401         * examples/gnu/classpath/examples/swing/DemoDesktop.java: New class.
27402         * examples/gnu/classpath/examples/swing/ListDemo.java: New demo.
27403         * examples/gnu/classpath/examples/swing/TreeDemo.java: New demo.
27404         * examples/gnu/classpath/examples/swing/TabbedPaneDemo.java: New demo.
27405         * examples/gnu/classpath/examples/swing/badge.png: New image file.
27406
27407 2006-03-15  Lillian Angel  <langel@redhat.com>
27408         
27409         * java/awt/Container.java
27410         (getComponentAt): Fixed mistake in comments.
27411         (getComponentAt): Likewise.
27412         (locate): Likewise. Also, handled lightweight components.
27413         Heavyweights take precedence over lightweights, so we should
27414         iterate through the heavyweights first.
27415
27416 2006-03-15  Lillian Angel  <langel@redhat.com>
27417
27418         * java/awt/Container.java
27419         (getComponentAt): Added API documentation.
27420         (getComponentAt): Likewise.
27421         (locate): Likewise. Also, removed lines to ignore
27422         invisible components.
27423         (findComponentAt): Added API documentation.
27424         (findComponentAt): Added API documentation.
27425         (findComponentForMouseEvent): Removed, never used.
27426
27427 2006-03-15  Roman Kennke  <kennke@aicas.com>
27428
27429         * javax/swing/Popup.java
27430         (LightweightPopup.show): Repaint the panel after showing it.
27431
27432 2006-03-15  Lillian Angel  <langel@redhat.com>
27433
27434         * java/awt/Component.java
27435         (show): repaint should only be called if the component
27436         isShowing and isLightweight.
27437
27438 2006-03-15  Roman Kennke  <kennke@aicas.com>
27439
27440         * javax/swing/JInternalFrame.java
27441         (setClosable): Made this property bound.
27442         (setResizable): Made this property bound.
27443         (setIconifiable): Made this property bound.
27444         (setMaximizable): Made this property bound.
27445
27446 2006-03-15  David Gilbert  <david.gilbert@object-refinery.com>
27447
27448         * javax/swing/table/TableColumn.java
27449         (sizeWidthToFit): Implemented.
27450
27451 2006-03-15  David Gilbert  <david.gilbert@object-refinery.com>
27452
27453         * javax/swing/table/TableColumn.java: API docs updated all over, plus
27454         (setIdentifier): Fire required PropertyChangeEvent,
27455         (setCellEditor): Likewise.
27456
27457 2006-03-15  Roman Kennke  <kennke@aicas.com>
27458
27459         * examples/gnu/classpath/examples/swing/ButtonDemo.java,
27460         * examples/gnu/classpath/examples/swing/ComboBoxDemo.java,
27461         * examples/gnu/classpath/examples/swing/FileChooserDemo.java,
27462         * examples/gnu/classpath/examples/swing/ProgressBarDemo.java,
27463         * examples/gnu/classpath/examples/swing/ScrollBarDemo.java,
27464         * examples/gnu/classpath/examples/swing/SliderDemo.java,
27465         * examples/gnu/classpath/examples/swing/SpinnerDemo.java,
27466         * examples/gnu/classpath/examples/swing/TableDemo.java,
27467         * examples/gnu/classpath/examples/swing/TextAreaDemo.java,
27468         * examples/gnu/classpath/examples/swing/TextFieldDemo.java:
27469         Reworked to implemented DemoFactory and lazy loading of Sub-demos.
27470         * examples/gnu/classpath/examples/swing/Demo.java:
27471         Cleaned up. Reworked handling of Sub-demos to load lazily.
27472         * examples/gnu/classpath/examples/swing/DemoFactory.java:
27473         New interface. Used for loading the subdemos lazily.
27474
27475 2006-03-15  Roman Kennke  <kennke@aicas.com>
27476
27477         * javax/swing/plaf/basic/BasicToolBarUI.java
27478         (PropertyListener.propertyChange): Added null check to avoid NPE.
27479
27480 2006-03-14  David Gilbert  <david.gilbert@object-refinery.com>
27481
27482         * javax/swing/table/TableColumn.java
27483         (COLUMN_WIDTH_PROPERTY): Updated API docs,
27484         (width): Likewise.
27485         (minWidth): Likewise,
27486         (preferredWidth): Likewise,
27487         (maxWidth): Likewise,
27488         (headerRenderer): Likewise,
27489         (cellRenderer): Likewise,
27490         (cellEditor): Likewise,
27491         (changeSupport): Likewise,
27492         (firePropertyChange(String, Object, Object)): Removed,
27493         (firePropertyChange(String, int. int)): Likewise,
27494         (firePropertyChange(String, boolean, boolean)): Likewise,
27495         (setModelIndex): Fire property change,
27496         (setHeaderValue): Call changeSupport directly to generate event,
27497         (setHeaderRenderer): Likewise,
27498         (setCellRenderer): Likewise,
27499         (setWidth): Likewise,
27500         (setPreferredWidth): Likewise,
27501         (setMinWidth): Likewise,
27502         (setMaxWidth): Likewise,
27503         (createDefaultHeaderRenderer): Added API docs.
27504
27505 2006-03-14  Roman Kennke  <kennke@aicas.com>
27506
27507         * examples/gnu/classpath/examples/swing/Demo.java
27508         Removed static initializer.
27509         (mkMenuBar): Made method non-static. Added themes menu.
27510         (ChangeThemeAction): New inner class, used to change themes.
27511
27512 2006-03-14  David Gilbert  <david.gilbert@object-refinery.com>
27513
27514         * javax/swing/table/TableColumn.java
27515         (setMaxWidth): Updated width and preferredWidth if necessary,
27516         (getMaxWidth): Updated API docs.
27517
27518 2006-03-14  Roman Kennke  <kennke@aicas.com>
27519
27520         * javax/swing/plaf/basic/BasicSliderUI.java
27521         (TrackListener.mouseDragged): Only process event when slider is
27522         enabled.
27523         (TrackListener.mouseReleased): Only process event when slider is
27524         enabled.
27525         (TrackListener.mousePressed): Only process event when slider is
27526         enabled.
27527
27528 2006-03-14  Roman Kennke  <kennke@aicas.com>
27529
27530         * NEWS: Added note about OceanTheme support.
27531
27532 2006-03-14  Roman Kennke  <kennke@aicas.com>
27533
27534         * javax/swing/plaf/metal/MetalIconFactory.java
27535         (HorizontalSliderThumbIcon.gradientMask): New field
27536         (HorizontalSliderThumbIcon.paintIcon): Added support for the
27537         OceanTheme.
27538         (VerticalSliderThumbIcon.gradientMask): New field
27539         (VerticalSliderThumbIcon.paintIcon): Added support for the
27540         OceanTheme.
27541         * javax/swing/plaf/metal/MetalUtils.java
27542         (paintHorizontalGradient): Fixed painting of 'masked' gradients.
27543         (paintVerticalGradient): Fixed painting of 'masked' gradients.
27544
27545 2006-03-14  Mark Wielaard  <mark@klomp.org>
27546
27547         Fixes bug #26641
27548         * java/awt/LightweightDispatcher.java (dispatchEvent): Return result
27549         of handleMouseEvent.
27550         (handleMouseEvent): Return boolean to indicate whether we handled the
27551         event by passing it to a lightweight.
27552
27553 2006-03-14  Wolfgang Baer  <WBaer@gmx.de>
27554
27555         * org/omg/PortableInterceptor/ORBInitInfoPackage/ObjectIdHelper.java,
27556         * org/omg/PortableServer/ServantActivatorPOA.java,
27557         * org/omg/PortableServer/ServantLocatorPOA.java: 
27558         Make class abstract and minor api docs fixlets.
27559         * org/omg/PortableServer/ForwardRequest.java, 
27560         * org/omg/PortableServer/ServantLocatorPackage/CookieHolder.java, 
27561         * org/omg/PortableServer/POAPackage/AdapterAlreadyExists.java, 
27562         * org/omg/PortableServer/POAPackage/AdapterNonExistent.java, 
27563         * org/omg/PortableServer/POAPackage/InvalidPolicy.java, 
27564         * org/omg/PortableServer/POAPackage/NoServant.java, 
27565         * org/omg/PortableServer/POAPackage/ObjectAlreadyActive.java, 
27566         * org/omg/PortableServer/POAPackage/ObjectNotActive.java, 
27567         * org/omg/PortableServer/POAPackage/ServantAlreadyActive.java, 
27568         * org/omg/PortableServer/POAPackage/ServantNotActive.java, 
27569         * org/omg/PortableServer/POAPackage/WrongAdapter.java, 
27570         * org/omg/PortableServer/POAPackage/WrongPolicy.java, 
27571         * org/omg/PortableServer/POAManagerPackage/AdapterInactive.java, 
27572         * org/omg/PortableInterceptor/ORBInitInfoPackage/InvalidName.java,
27573         * org/omg/PortableInterceptor/ORBInitInfoPackage/DuplicateName.java,
27574         * org/omg/PortableServer/CurrentPackage/NoContext.java: Make class final.
27575
27576 2006-03-14  Wolfgang Baer  <WBaer@gmx.de>
27577
27578         * NEWS: Added entry about printing support.
27579
27580 2006-03-14  David Gilbert  <david.gilbert@object-refinery.com>
27581
27582         * javax/swing/table/TableColumn.java
27583         (COLUMN_WIDTH_PROPERTY): Updated API docs,
27584         (isResizable): Likewise,
27585         (setWidth): Likewise,
27586         (getWidth): Likewise,
27587         (setPreferredWidth): Likewise,
27588         (getPreferredWidth): Likewise,
27589         (setMinWidth): Check for negative argument and update width and 
27590         preferredWidth if necessary,
27591         (getMinWidth): Updated API docs.
27592
27593 2006-03-14  Lillian Angel  <langel@redhat.com>
27594         
27595         * java/awt/Container.java
27596         (addImpl): Removed call to repaint. No need to repaint here.
27597
27598 2006-03-14  Roman Kennke  <kennke@aicas.com>
27599
27600         * javax/swing/plaf/metal/MetalSliderUI.java
27601         (paintTrack): Added OceanTheme support.
27602
27603 2006-03-14  David Gilbert  <david.gilbert@object-refinery.com>
27604
27605         * javax/swing/table/TableColumn.java
27606         (setResizable): Fire PropertyChangeEvent if the flag value changes,
27607         (isResizable): Updated API docs.
27608
27609 2006-03-14  David Gilbert  <david.gilbert@object-refinery.com>
27610
27611         * javax/swing/LookAndFeel.java: Updated API docs.
27612
27613 2006-03-14  Roman Kennke  <kennke@aicas.com>
27614
27615         * javax/swing/plaf/metal/MetalUtils.java
27616         (paintGradient): Added support for 'masked' gradients.
27617         (paintHorizontalGradient): Likewise.
27618         (paintVerticalGradient): Likewise.
27619         * javax/swing/plaf/metal/MetalIconFactory.java
27620         (RadioButtonIcon.gradientMask): New field.
27621         (RadioButtonIcon.paintIcon): Added mask for gradient painting.
27622
27623 2006-03-14  Mark Wielaard  <mark@klomp.org>
27624
27625         Fixes bug #26645.
27626         * javax/swing/plaf/basic/BasicComboBoxEditor.java (listener):
27627         New field.
27628         (removeActionListener): Add listener to ComboBoxEditorListener.
27629         (removeActionListener): Remove listener from ComboBoxEditorListener.
27630         (ComboBoxEditorListener): New static helper class.
27631
27632 2006-03-14  Roman Kennke  <kennke@aicas.com>
27633
27634         * javax/swing/plaf/metal/MetalBorders.java
27635         (getToolBarButtonBorder): Don't create a UIResource border
27636         here.
27637         * javax/swing/plaf/metal/MetalToolBarUI.java
27638         (installUI): New overridden method. Installs the rollover property.
27639         (uninstallUI): New overridden method. Resets the rollover property.
27640         * javax/swing/plaf/metal/MetalUtils.java
27641         (paintGradient): Fetch Float values from the UIManager. Adjusted
27642         method signatures accordingly.
27643         (paintHorizontalGradient): Adjusted signature to accept float
27644         instead of double.
27645         (paintVerticalGradient): Adjusted signature to accept float
27646         instead of double.
27647         * javax/swing/plaf/metal/OceanTheme.java
27648         (addCustomEntriesToTable): Added missing UIDefaults entries,
27649         except of Icons. Fixed gradient entries to use Float instead
27650         of Double.
27651
27652 2006-03-14  Roman Kennke  <kennke@aicas.com>
27653
27654         * javax/swing/JInternalFrame.java
27655         (JInternalFrame): Make JInternalFrame opaque.
27656         * javax/swing/JToolBarFrame.java
27657         (JToolBar): Make JToolBar opaque.
27658
27659 2006-03-14  David Gilbert  <david.gilbert@object-refinery.com>
27660
27661         * javax/swing/tree/TreeNode.java: Fixed bad API doc tags,
27662         * javax/swing/tree/TreePath.java: Likewise.
27663
27664 2006-03-13  Tom Tromey  <tromey@redhat.com>
27665
27666         * javax/swing/text/html/StyleSheet.java (removeAttributes):
27667         Genericized.
27668         * javax/swing/plaf/synth/SynthLookAndFeel.java (load): Genericized.
27669         * java/rmi/server/RMIClassLoader.java (loadProxyClass): Genericized.
27670
27671 2006-03-13  Keith Seitz  <keiths@redhat.com>
27672
27673         * gnu/classpath/jdwp/processor/ReferenceTypeCommandSet.java
27674         (executeMethods): Output number of methods.
27675
27676 2006-03-13  Roman Kennke  <kennke@aicas.com>
27677
27678         * javax/swing/plaf/basic/BasicButtonUI.java
27679         (uninstallDefaults): Only uninstall border if it's a UIResource.
27680         * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java
27681         (SystemMenuBar.isFocusTraversable): Fixed typo in signature.
27682         * javax/swing/plaf/basic/BasicInternalFrameUI.java
27683         (installUI): Don't touch the opaque flag of the glassPane and
27684         the frame. Don't invalidate.
27685         * javax/swing/plaf/basic/BasicInternalFrameUI.java
27686         (installUI): Don't touch the opaque flag of the glassPane.
27687         * javax/swing/plaf/basic/BasicMenuBarUI.java
27688         (properyChangeListener): Made field private.
27689         (ChangeHandler): Made class private.
27690         (ContainerHandler): Made class private.
27691         (PropertyChangeHandler): Made class private.
27692         * javax/swing/plaf/basic/BasicMenuUI.java
27693         (MenuHandler): Made class private.
27694         (PropertyChangeHandler): Removed unneeded class.
27695         (MenuDragMouseHandler): Made class private.
27696         (MenuKeyHandler): Made class private.
27697         * javax/swing/plaf/basic/BasicPanelUI.java
27698         (installDefaults): Made method protected. Don't set opaque
27699         flag.
27700         * javax/swing/plaf/basic/BasicScrollBarUI.java
27701         (TrackListener.shouldScroll): Made method private.
27702         * javax/swing/plaf/basic/BasicSplitPaneUI.java
27703         (BasicHorizontalLayoutManager.BasicHorizontalLayoutManager):
27704         Made constructor package private.
27705         * javax/swing/plaf/basic/BasicTableHeaderUI.java
27706         (cellBorder): Made field private.
27707         * javax/swing/plaf/basic/BasicTextUI.java
27708         (installDefaults): Don't make component opaque.
27709         * javax/swing/plaf/basic/BasicToolBarUI.java
27710         (createNonRollOverBorder): Don't create UIResource border.
27711         (createRollOverBorder): Don't create UIResource border.
27712         (installComponents): Moved setRolloverBorders call here.
27713         (installDefaults): Moved setRolloverBorders call from here.
27714         (installUI): Don't make toolbar opaque.
27715         (setBorderToNonRollover): Handle AbstractButton instead of
27716         JButton here.
27717         (uninstallComponents): Don't nullify class fields here.
27718
27719 2006-03-13  David Gilbert  <david.gilbert@object-refinery.com>
27720
27721         * javax/swing/SwingUtilities.java
27722         (calculateInnerArea): handle null component, and replace 
27723         getLocalBounds() with getBounds(Rectangle) to avoid unnecessary object
27724         creation.
27725
27726 2006-03-13  Roman Kennke  <kennke@aicas.com>
27727
27728         * javax/swing/JColorChooser.java
27729         (updateUI): Don't call revalidate().
27730         * javax/swing/JComboBox.java
27731         (updateUI): Don't call invalidate().
27732         * javax/swing/JDesktopPane.java
27733         (updateUI): Don't call invalidate().
27734         * javax/swing/JFileChooser.java
27735         (updateUI): Don't call revalidate().
27736         * javax/swing/JMenu.java
27737         (updateUI): Don't call invalidate().
27738         * javax/swing/JMenuBar.java
27739         (updateUI): Don't call invalidate().
27740         * javax/swing/JMenuItem.java
27741         (updateUI): Don't call invalidate().
27742         * javax/swing/JOptionPane.java
27743         (updateUI): Don't call invalidate().
27744         * javax/swing/JPopupMenu.java
27745         (updateUI): Don't call invalidate().
27746         * javax/swing/JProgressBar.java
27747         (updateUI): Don't call invalidate().
27748         * javax/swing/JScrollBar.java
27749         (updateUI): Don't call invalidate() and repaint().
27750         * javax/swing/JScrollPane.java
27751         (updateUI): Rewritten to be like the other updateUI()
27752         methods.
27753         * javax/swing/JSlider.java
27754         (updateUI): Don't call invalidate() and repaint().
27755         * javax/swing/JSplitPane.java
27756         (updateUI): Don't call invalidate() and repaint().
27757         * javax/swing/JTabbedPane.java
27758         (updateUI): Don't call invalidate().
27759         * javax/swing/JTable.java
27760         (updateUI): Don't call revalidate() and repaint().
27761         * javax/swing/JToolBar.java
27762         (updateUI): Don't call revalidate() and repaint().
27763         * javax/swing/JToolTip.java
27764         (updateUI): Don't call revalidate() and repaint().
27765
27766 2006-03-13  Roman Kennke  <kennke@aicas.com>
27767
27768         * javax/swing/SwingUtilities.java
27769         (updateComponentTreeUI): Rewritten to be more robust. Handling of
27770         menus and non-Swing components is improved.
27771         (updateComponentTreeUIImpl): New helper method.
27772         (replaceUIActionMap): Added check for uiActionMap==parent to
27773         avoid loop.
27774         (replaceUIInputMap): Added check for uiInputMap==parent to
27775         avoid loop.
27776
27777 2006-03-13  Wolfgang Baer  <WBaer@gmx.de>
27778
27779         * gnu/classpath/debug/Component.java: 
27780         (IPP) New component for IPP debugging. 
27781         (EVERYTHING): Adapted to include IPP.
27782         * javax/print/PrintServiceLookup.java: 
27783         (registerServiceProvider): New method.
27784         (registerService): Likewise.
27785         (lookupPrintServices): Likewise.
27786         (lookupMultiDocPrintServices): Likewise.
27787         (lookupDefaultPrintService): Likewise.
27788         (static_initializer): Likewise.
27789         (printServiceLookups): New field for found service providers.
27790         (printServices): New field for application registered providers.
27791         (systemProvider): New field for the system provider.    
27792         * javax/print/ServiceUI.java: New file. 
27793         * javax/print/package.html: Added more usage content.
27794         * javax/print/event/package.html: Likewise.
27795         * javax/print/attribute/package.html: Likewise.
27796         * javax/print/attribute/standard/package.html: Likewise.
27797         * gnu/javax/print/PrintUriException.java,
27798         gnu/javax/print/PrintFlavorException.java,
27799         gnu/javax/print/PrinterDialog.java,
27800         gnu/javax/print/PrintAttributeException.java,
27801         gnu/javax/print/CupsPrintServiceLookup.java,
27802         gnu/javax/print/CupsServer.java,
27803         gnu/javax/print/CupsPrintService.java,
27804         gnu/javax/print/CupsMediaMapping.java,
27805         gnu/javax/print/CupsIppOperation.java:
27806         New implementation files of the Java Print Service API.
27807         * gnu/javax/print/ipp/IppValueTag.java,
27808         gnu/javax/print/ipp/MultiDocPrintJobImpl.java,
27809         gnu/javax/print/ipp/IppStatusCode.java,
27810         gnu/javax/print/ipp/IppUtilities.java,
27811         gnu/javax/print/ipp/IppResponse.java,
27812         gnu/javax/print/ipp/IppException.java,
27813         gnu/javax/print/ipp/IppPrintService.java,
27814         gnu/javax/print/ipp/IppRequest.java,
27815         gnu/javax/print/ipp/IppMultiDocPrintService.java,
27816         gnu/javax/print/ipp/IppDelimiterTag.java,
27817         gnu/javax/print/ipp/DocPrintJobImpl.java:
27818         New files of the IPP client implementation.
27819         * gnu/javax/print/ipp/attribute/UnknownAttribute.java,
27820         gnu/javax/print/ipp/attribute/StatusMessage.java,
27821         gnu/javax/print/ipp/attribute/RequestedAttributes.java,
27822         gnu/javax/print/ipp/attribute/NaturalLanguageSyntax.java,
27823         gnu/javax/print/ipp/attribute/DocumentAccessError.java,
27824         gnu/javax/print/ipp/attribute/DetailedStatusMessage.java,
27825         gnu/javax/print/ipp/attribute/DefaultValueAttribute.java,
27826         gnu/javax/print/ipp/attribute/CharsetSyntax.java: 
27827         New attribute syntax/role files of the printing implementation.
27828         * gnu/javax/print/ipp/attribute/supported/UriSecuritySupported.java,
27829         gnu/javax/print/ipp/attribute/supported/UriAuthenticationSupported.java,
27830         gnu/javax/print/ipp/attribute/supported/SidesSupported.java,
27831         gnu/javax/print/ipp/attribute/supported/PrintQualitySupported.java,
27832         gnu/javax/print/ipp/attribute/supported/PrinterUriSupported.java,
27833         gnu/javax/print/ipp/attribute/supported/PrinterResolutionSupported.java,
27834         gnu/javax/print/ipp/attribute/supported/PageRangesSupported.java,
27835         gnu/javax/print/ipp/attribute/supported/
27836         OrientationRequestedSupported.java, 
27837         gnu/javax/print/ipp/attribute/supported/OperationsSupported.java,
27838         gnu/javax/print/ipp/attribute/supported/
27839         MultipleDocumentHandlingSupported.java, 
27840         gnu/javax/print/ipp/attribute/supported/
27841         MultipleDocumentJobsSupported.java, 
27842         gnu/javax/print/ipp/attribute/supported/MediaSupported.java,
27843         gnu/javax/print/ipp/attribute/supported/JobSheetsSupported.java,
27844         gnu/javax/print/ipp/attribute/supported/JobHoldUntilSupported.java,
27845         gnu/javax/print/ipp/attribute/supported/IppVersionsSupported.java,
27846         gnu/javax/print/ipp/attribute/supported/
27847         GeneratedNaturalLanguageSupported.java,
27848         gnu/javax/print/ipp/attribute/supported/FinishingsSupported.java,
27849         gnu/javax/print/ipp/attribute/supported/DocumentFormatSupported.java,
27850         gnu/javax/print/ipp/attribute/supported/CompressionSupported.java,
27851         gnu/javax/print/ipp/attribute/supported/CharsetSupported.java:
27852         New supported attribute files.
27853         * gnu/javax/print/ipp/attribute/printer/CharsetConfigured.java,
27854         gnu/javax/print/ipp/attribute/printer/DocumentFormat.java,
27855         gnu/javax/print/ipp/attribute/printer/MultipleOperationTimeOut.java,
27856         gnu/javax/print/ipp/attribute/printer/NaturalLanguageConfigured.java,
27857         gnu/javax/print/ipp/attribute/printer/PrinterCurrentTime.java,
27858         gnu/javax/print/ipp/attribute/printer/PrinterDriverInstaller.java,
27859         gnu/javax/print/ipp/attribute/printer/PrinterStateMessage.java,
27860         gnu/javax/print/ipp/attribute/printer/PrinterUpTime.java:
27861         New printer description attribute files.
27862         * gnu/javax/print/ipp/attribute/job/AttributesCharset.java,
27863         gnu/javax/print/ipp/attribute/job/AttributesNaturalLanguage.java,
27864         gnu/javax/print/ipp/attribute/job/JobDetailedStatusMessages.java,
27865         gnu/javax/print/ipp/attribute/job/JobDocumentAccessErrors.java,
27866         gnu/javax/print/ipp/attribute/job/JobPrinterUri.java,
27867         gnu/javax/print/ipp/attribute/job/JobId.java,
27868         gnu/javax/print/ipp/attribute/job/JobMoreInfo.java,
27869         gnu/javax/print/ipp/attribute/job/JobUri.java,
27870         gnu/javax/print/ipp/attribute/job/JobStateMessage.java:
27871         New job description attribute files.
27872         * gnu/javax/print/ipp/attribute/defaults/CopiesDefault.java,
27873         gnu/javax/print/ipp/attribute/defaults/DocumentFormatDefault.java,
27874         gnu/javax/print/ipp/attribute/defaults/FinishingsDefault.java,
27875         gnu/javax/print/ipp/attribute/defaults/JobHoldUntilDefault.java,
27876         gnu/javax/print/ipp/attribute/defaults/JobPriorityDefault.java,
27877         gnu/javax/print/ipp/attribute/defaults/JobSheetsDefault.java,
27878         gnu/javax/print/ipp/attribute/defaults/MediaDefault.java,
27879         gnu/javax/print/ipp/attribute/defaults/
27880         MultipleDocumentHandlingDefault.java,
27881         gnu/javax/print/ipp/attribute/defaults/NumberUpDefault.java,
27882         gnu/javax/print/ipp/attribute/defaults/OrientationRequestedDefault.java,
27883         gnu/javax/print/ipp/attribute/defaults/PrinterResolutionDefault.java,
27884         gnu/javax/print/ipp/attribute/defaults/PrintQualityDefault.java,
27885         gnu/javax/print/ipp/attribute/defaults/SidesDefault.java:
27886         New default printing attribute files.
27887         * resource/gnu/javax/print/PrinterDialog.properties: New file.
27888         * resource/gnu/javax/print/PrinterDialog_de.properties: Likewise.
27889         * examples/gnu/classpath/examples/print/Demo.java: 
27890         New demo application of the current implemented functionality.
27891
27892 2006-03-13  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
27893
27894         * java/rmi/activation/ActivationGroupDesc.java: Implemented.
27895         java/rmi/activation/ActivationDesc.java.java,
27896         java/rmi/activation/ActivationGroup.java,
27897         java/rmi/activation/ActivationID.java,
27898         java/rmi/activation/ActivationMonitor.java,
27899         java/rmi/activation/ActivationSystem.java,
27900         java/rmi/activation/package.html: Documenting.
27901
27902 2006-03-13  Roman Kennke  <kennke@aicas.com>
27903
27904         * javax/swing/JInternalFrame.java
27905         (setSelected): Repaint frame when it is showing and the selection
27906         state changes.
27907
27908 2006-03-13  Roman Kennke  <kennke@aicas.com>
27909
27910         * javax/swing/AbstractButton.java
27911         (AbstractAccessibleButton.getAccessibleRelationSet): Return super....()
27912         instead of null.
27913
27914 2006-03-13  Roman Kennke  <kennke@aicas.com>
27915
27916         * javax/accessibility/AccessibleContext.java
27917         (getAccessibleRelationSet): Return empty set instead of null.
27918
27919 2006-03-13  Roman Kennke  <kennke@aicas.com>
27920
27921         * javax/swing/ImageIcon.java
27922         (loadImage): Remove completed images from the MediaTracker. This
27923         avoids a potential memory leak.
27924
27925 2006-03-12  Wolfgang Baer  <WBaer@gmx.de>
27926
27927         * javax/print/MultiDocPrintService.java, 
27928         * javax/print/MultiDocPrintJob.java, 
27929         * javax/print/MultiDoc.java: Added and enhanced documentation.
27930
27931 2006-03-12  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
27932
27933         * java/rmi/activation/ActivationID.java (uid): New field.
27934         (writeExternal, readExternal): New methods. 
27935         (equals, hashCode): Rewritten.
27936         * java/rmi/activation/ActivationInstantiator.java,
27937         * java/rmi/activation/ActivationSystem.java,
27938         * java/rmi/activation/Activator.java,
27939         * java/rmi/activation/Activatable.java,
27940         * java/rmi/activation/ActivationGroup.java,
27941         * java/rmi/activation/ActivationGroupDesc.java: 
27942         Documented and autoformatted.
27943         * java/rmi/activation/package.html: Added content.
27944         
27945 2006-03-12  Chris Burdess  <dog@gnu.org>
27946
27947         Fixes PR 26652
27948         * gnu/xml/stream/XMLParser.java: Fix for case when both reader and
27949           encoding are specified.
27950
27951 2006-03-11  David Gilbert  <david.gilbert@object-refinery.com>
27952
27953         * javax/swing/DefaultSingleSelectionModel.java: API docs all over, plus
27954         (changeEvent): Initialise in fireStateChange(),
27955         (setSelectedIndex): Check if change is made before firing event,
27956         (clearSelection): Delegate to setSelectedIndex(),
27957         (fireStateChanged): Initialise changeEvent if necessary,
27958         * javax/swing/SingleSelectionModel.java: API docs all over.
27959
27960 2006-03-11  Tom Tromey  <tromey@redhat.com>
27961
27962         * java/util/zip/InflaterInputStream.java: Reverted previous
27963         patch.
27964
27965 2006-03-11  Mark Wielaard  <mark@klomp.org>
27966
27967         * java/text/AttributedCharacterIterator.java (Attribute.readResolve):
27968         Compare name.
27969
27970 2006-03-11  David Gilbert  <david.gilbert@object-refinery.com>
27971
27972         * javax/swing/event/TreeSelectionEvent.java
27973         (isAddedPath(TreePath)): Throw IllegalArgumentException if path is
27974         not one of the added/removed paths,
27975         (cloneWithSource): Reformatted.
27976
27977 2006-03-11  David Gilbert  <david.gilbert@object-refinery.com>
27978
27979         * javax/swing/tree/TreeCellEditor.java: Added API docs,
27980         * javax/swing/tree/TreeCellRenderer.java: Likewise.
27981
27982 2006-03-10  Casey Marshall  <csm@gnu.org>
27983
27984         Fixes PR 23768.
27985         * javax/crypto/Cipher.java (doFinal, doFinal, doFinal): don't
27986         reset `state.'
27987         (doFinal, update): new methods.
27988         (init, init, init, init): initialize `state' after trying the
27989         implementation, which can throw an exception.
27990         * javax/crypto/CipherSpi.java (engineDoFinal, engineUpdate): new
27991         methods.
27992
27993 2006-03-11  Ito Kazumitsu  <kaz@maczuka.gcd.org>
27994
27995         * gnu/regexp/BacktrackStack.java: New file.
27996         * gnu/regexp/RE.java(findMatch): New method.
27997         * gnu/regexp/REMatch.java(next,matchFlags,MF_FIND_ALL,
27998         REMatchList): Removed. (backtrackStack): New field.
27999         * gnu/regexp/REToken.java(match): Changed from an abstract
28000         method to an ordinary method defined with the new method
28001         matchThis. (matchThis, getNext, findMatch, returnsFixedLengthMatches,
28002         findFixedLengthMatches, backtrack, toString): New methods.
28003         * gnu/regexp/RETokenAny.java: Inplemented new methods of REToken.
28004         * gnu/regexp/RETokenBackRef.java: Likewise.
28005         * gnu/regexp/RETokenChar.java: Likewise.
28006         * gnu/regexp/RETokenEnd.java: Likewise.
28007         * gnu/regexp/RETokenEndSub.java: Likewise.
28008         * gnu/regexp/RETokenIndependent.java: Likewise.
28009         * gnu/regexp/RETokenLookAhead.java: Likewise.
28010         * gnu/regexp/RETokenLookBehind.java: Likewise.
28011         * gnu/regexp/RETokenNamedProperty.java: Likewise.
28012         * gnu/regexp/RETokenPOSIX.java: Likewise.
28013         * gnu/regexp/RETokenRange.java: Likewise.
28014         * gnu/regexp/RETokenStart.java: Likewise.
28015         * gnu/regexp/RETokenWordBoundary.java: Likewise
28016         * gnu/regexp/RETokenOneOf.java: Rewriten.
28017         * gnu/regexp/RETokenRepeated.java: Rewriten.
28018
28019 2006-03-10  Roman Kennke  <kennke@aicas.com>
28020
28021         * javax/swing/plaf/metal/MetalBorders.java
28022         (RolloverButtonBorder.paintBorder): Only call super here.
28023         * javax/swing/plaf/metal/MetalButtonListener.java
28024         (propertyChange): Only call super here.
28025         * javax/swing/plaf/metal/MetalButtonUI.java
28026         (update): Changed condition from isOpaque() to isContentAreaFilled()
28027         for the gradient fill.
28028         * javax/swing/plaf/metal/MetalToggleButtonUI.java
28029         (paintText): API doc fix. Makes paintText not deprecated as specified
28030         but adds comment that this is obsolete.
28031         * javax/swing/plaf/metal/MetalUtils.java
28032         (fillMetalPattern): Fixed condition so that the Java2D is not
28033         used when the noGraphics2D property is set.
28034
28035 2006-03-10  Roman Kennke  <kennke@aicas.com>
28036
28037         * javax/swing/plaf/metal/MetalLookAndFeel.java
28038         (createDefaultTheme): Set OceanTheme as default metal theme.
28039
28040 2006-03-10  Roman Kennke  <kennke@aicas.com>
28041
28042         * javax/swing/text/WrappedPlainView.java
28043         (metrics): Made field package private to avoid accessor method.
28044         (WrappedLine.paint): Call drawLine with y offset of the font ascent.
28045         The drawLine (righly) interprets the y parameter as the baseline.
28046         * javax/swing/text/Utilities.java
28047         (getBreakLocation): Don't consider the offset. The returned value
28048         for getTabbedTextOffset is already relative to the offset.
28049
28050 2006-03-10  Wolfgang Baer  <WBaer@gmx.de>
28051
28052         * gnu/java/net/protocol/http/Headers.java: Added documentation all over.
28053         (dateFormat): Made private.
28054         (put): Replace only the last occurance and the value.
28055         (putAll): Save one iteration. Clarified documentation.
28056
28057 2006-03-10  Tom Tromey  <tromey@redhat.com>
28058
28059         * java/util/zip/InflaterInputStream.java (read): Replace with libgcj
28060         implementation.
28061         * java/util/zip/GZIPInputStream.java (readHeader): Use DEFLATED,
28062         not '8'.
28063
28064 2006-03-10  Lillian Angel  <langel@redhat.com>
28065
28066         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c
28067         (comboboxgroup_get_widget): New function.
28068         (removed): Fixed to use new function to get the correct widget.
28069         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
28070         (nativeSetCheckboxGroup): Reverted last patch to use get_widget
28071         function.
28072
28073 2006-03-10  Lillian Angel  <langel@redhat.com>
28074
28075         * java/awt/GridBagLayout.java
28076         (ArrangeGrid): Added checks to determine if component
28077         is placed last in a row or column. If so, the location
28078         of the last component should be used to get the location
28079         of the current component.
28080
28081 2006-03-10  Lillian Angel  <langel@redhat.com>
28082
28083         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
28084         (nativeSetCheckboxGroup): No need to use new function here.
28085         Should just pass in pointer.
28086
28087 2006-03-10  Lillian Angel  <langel@redhat.com>
28088
28089         * java/awt/GridBagLayout.java
28090         (distributeSizeAndWeight): Change else if to else. This
28091         allows for components to be added to a new row when 
28092         their gridheight is REMAINDER.
28093
28094 2006-03-10  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
28095
28096         * java/rmi/activation/ActivationDesc.java,
28097         java/rmi/activation/ActivationGroupID.java,
28098         java/rmi/activation/Activator.java,
28099         java/rmi/server/Operation.java,
28100         java/rmi/server/RemoteServer.java: Documented and formatted.
28101
28102 2006-03-10  David Gilbert  <david.gilbert@object-refinery.com>
28103
28104         * javax/swing/JToggleButton.java: Fixed API doc tags,
28105         * javax/swing/OverlayLayout.java: Likewise.
28106
28107 2006-03-10  David Gilbert  <david.gilbert@object-refinery.com>
28108
28109         * javax/swing/DefaultCellEditor.java
28110         (cancelCellEditing): Removed spurious API doc tag.
28111
28112 2006-03-10  Lillian Angel  <langel@redhat.com>
28113
28114         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
28115         (create): Put checkbox widget into an event box so it paints properly.
28116         (connectSignals): Fixed to use new function.
28117         (nativeSetCheckboxGroup): Likewise.
28118         (gtkToggleButtonSetActive): Likewise.
28119         (gtkWidgetModifyFont): Likewise.
28120         (gtkButtonSetLabel): Likewise.
28121         (combobox_get_widget): New function.
28122
28123 2006-03-10  David Gilbert  <david.gilbert@object-refinery.com>
28124
28125         * javax/swing/text/rtf/package.html: New file.
28126         
28127 2006-03-10  Roman Kennke  <kennke@aicas.com>
28128
28129         * javax/swing/plaf/metal/OceanTheme.java
28130         (addCustomEntriesToTable): Fixed ScrollBar.gradient value.
28131         * javax/swing/plaf/metal/MetalScrollBarUI.java
28132         (paintThumb): Only draw Metal pattern if theme is not OceanTheme.
28133         (paintThumbHorizontal): Added handling of OceanTheme.
28134         (paintThumbVertical): Added handling of OceanTheme.
28135
28136 2006-03-10  Roman Kennke  <kennke@aicas.com>
28137
28138         Reported by Fridjof Siebert <siebert@aicas.com>
28139         * java/awt/MediaTracker.java
28140         (removeImage): Only set prev to e when the the images of the
28141         entries are not the same. This avoids a potentially corrupt list.
28142
28143 2006-03-10  Chris Burdess  <dog@gnu.org>
28144
28145         PR 26620:
28146         * gnu/xml/transform/TransformerImpl.java: Suspend wellformedness
28147           checking while reindenting.
28148
28149 2006-03-10  Thomas Fitzsimmons  <fitzsim@redhat.com>
28150
28151         * javax/imageio/plugins/jpeg/JPEGHuffmanTable.java: New file.
28152
28153 2006-03-09  Tom Tromey  <tromey@redhat.com>
28154
28155         PR classpath/26585:
28156         * tools/Makefile.am (TOOLSdir): Don't put tools.zip in tools
28157         subdir.  Added README.
28158         (install-data-local): Removed.
28159         (uninstall-local): Likewise.
28160         (EXTRA_DIST): Removed.
28161
28162 2006-03-09  Tom Tromey  <tromey@redhat.com>
28163
28164         PR classpath/26623:
28165         * native/jni/qt-peer/Makefile.am (nativeexeclib_LTLIBRARIES):
28166         Renamed.
28167         * native/jni/midi-alsa/Makefile.am (nativeexeclib_LTLIBRARIES):
28168         Renamed.
28169         * native/jni/java-net/Makefile.am (nativeexeclib_LTLIBRARIES):
28170         Renamed.
28171         * native/jni/java-lang/Makefile.am (nativeexeclib_LTLIBRARIES):
28172         Renamed.
28173         * native/jni/xmlj/Makefile.am (nativeexeclib_LTLIBRARIES):
28174         Renamed.
28175         * native/jni/gtk-peer/Makefile.am (nativeexeclib_LTLIBRARIES):
28176         Renamed.
28177         * native/jni/midi-dssi/Makefile.am (nativeexeclib_LTLIBRARIES):
28178         Renamed.
28179         * native/jni/java-io/Makefile.am (nativeexeclib_LTLIBRARIES):
28180         Renamed.
28181         * native/jni/java-nio/Makefile.am (nativeexeclib_LTLIBRARIES):
28182         Renamed.
28183         * native/jni/java-util/Makefile.am (nativeexeclib_LTLIBRARIES):
28184         Renamed.
28185         * native/jawt/Makefile.am (nativeexeclib_LTLIBRARIES): Renamed.
28186         * configure.ac (nativeexeclibdir): Renamed from nativelibdir.
28187
28188 2006-03-09  Keith Seitz  <keiths@redhat.com>
28189
28190         * gnu/classpath/jdwp/processor/MethodCommandSet.java
28191         (executeVariableTable): Use VMMethod instead of reflection.
28192         (executeLineTable): Likewise.
28193         * gnu/classpath/jdwp/processor/ReferenceTypeCommandSet.java
28194         (executeMethods): Rewrite to use new VMVirtualMachine.getAllClassMethods.
28195         * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java
28196         (getLineTable): Removed. Now resides in VMMethod.
28197         (getVarTable): Likewise.
28198         (getAllClassMethods): New method.
28199         
28200 2006-03-09  Keith Seitz  <keiths@redhat.com>
28201
28202         * gnu/classpath/jdwp/event/EventManager.java: Update javadoc.
28203         * gnu/classpath/jdwp/event/ThreadStartEvent.java
28204         (ThreadStartEvent): Likewise.
28205         * gnu/classpath/jdwp/event/VmDeathEvent.java (VmDeathEvent): Likewise.
28206         * gnu/classpath/jdwp/event/filters/ConditionalFilter.java
28207         (ConditionalFilter): Likewise.
28208         * gnu/classpath/jdwp/event/filters/ExceptionOnlyFilter.java
28209         (ExceptionOnlyFilter): Likewise.
28210         * gnu/classpath/jdwp/event/filters/FieldOnlyFilter.java
28211         (FieldOnlyFilter): Likewise.
28212         * gnu/classpath/jdwp/event/filters/StepFilter.java (getDepth): Likewise.
28213         (getSize): Likewise.
28214         (StepFilter): Likewise.
28215         * gnu/classpath/jdwp/id/JdwpId.java: Likewise (for _tag).
28216         * gnu/classpath/jdwp/transport/JdwpPacket.java
28217         (JdwpPacket): Likewise.
28218         (fromBytes): Likewise.
28219         * gnu/classpath/jdwp/transport/JdwpReplyPacket.java
28220         (JdwpReplyPacket): Likewise.
28221         * gnu/classpath/jdwp/util/Value.java (getUntaggedObj): Likewise.
28222         * vm/reference/gnu/classpath/jdwp/VMIdManager.java
28223         (getReferenceType): Likewise.
28224         (newObjectId): Likewise.
28225         * vm/reference/gnu/classpath/jdwp/VMMethod.java (readId): Likewise.
28226         * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java
28227         (getFrames): Fix typo in parameter name and update javadoc.
28228         (getClassMethod): Update javadoc.
28229
28230 2006-03-09  David Gilbert  <david.gilbert@object-refinery.com>
28231
28232         * javax/swing/event/TreeSelectionEvent.java: Updated API docs,
28233         * javax/swing/event/TreeSelectionListener.java: Likewise.
28234
28235 2006-03-09  Lillian Angel  <langel@redhat.com>
28236
28237         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c
28238         (getHScrollbarHeight): Fixed property name.
28239         (getVScrollbarHeight): Likewise.
28240
28241 2006-03-09  Lillian Angel  <langel@redhat.com>
28242
28243         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
28244         (get_widget): New function.
28245         (gtkWidgetSetParent): Changed to use new function.
28246         (gtkWidgetSetCursorUnlocked): Likewise.
28247         (gtkWidgetSetSensitive): Likewise.
28248         (gtkWidgetRequestFocus): Likewise.
28249         (gtkWindowGetLocationOnScreen): Likewise.
28250         (gtkWidgetGetDimensions): Likewise.
28251         (gtkWidgetGetPreferredDimensions): Likewise.
28252         (setNativeBounds): Likewise.
28253         (gtkWidgetGetBackground): Likewise.
28254         (gtkWidgetGetForeground): Likewise.
28255         (gtkWidgetSetBackground): Likewise.
28256         (gtkWidgetSetForeground): Likewise.
28257         (setVisibleNativeUnlocked): Likewise.
28258         (isEnabled): Likewise.
28259         (isRealized): Likewise.
28260         (setNativeEventMask): Likewise.
28261
28262 2006-03-09  Lillian Angel  <langel@redhat.com>
28263
28264         PR Classpath\22163
28265         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
28266         (create): Added combobox widget to an event box.
28267         (connectSignals): Added call to choice_get_widget to get the
28268         combobox out of the event box.
28269         (append): Likewise.
28270         (nativeRemoveAll): Likewise.
28271         (nativeRemove): Likwise.
28272         (nativeAdd): Likewise.
28273         (selectNative): Likewise.
28274         (choice_get_widget): New function.
28275         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
28276         (create): Added list scroll window widget to an event box.
28277         (connectSignals): Changed call to use new function to get the
28278         correct widget out of the event box.
28279         (getWidgetModifyFont): Likewise.
28280         (getWidgetRequestFocus): Likewise.
28281         (append): Likewise.
28282         (add): Likewise.
28283         (delItems): Likewise.
28284         (select): Likewise.
28285         (deselect): Likewise.
28286         (getSize): Likewise.
28287         (getSelectedIndexes): Likewise.
28288         (makeVisible): Likewise.
28289         (setMultipleMode): Likewise.
28290         (list_get_widget): New function.
28291         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c
28292         (create): Added scrollpane to an eventbox.
28293         (setScrollPosition): Changed call to use new function to get the
28294         correct widget out of the event box.
28295         (gtkScrolledWindowSetHScrollIncrement): Likewise.
28296         (gtkScrolledWindowSetVScrollIncrement): Likewise.
28297         (getHScrollbarHeight): Likewise.
28298         (getVScrollbarWidth): Likewise.
28299         (setPolicy): Likewise.
28300         (scrollpane_get_widget): New function.
28301         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollbarPeer.c
28302         (connectSignals): Changed call to use new function to get the
28303         correct widget out of the event box.
28304         (create): Added scrollbar to an eventbox.
28305         (setLineIncrement): Changed call to use new function to get the
28306         correct widget out of the event box.
28307         (setPageIncrement): Likewise.
28308         (setBarValues): Likewise.
28309         (scrollbar_get_widget): New function.
28310         * native/jni/gtk-peer/gnu_java_gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
28311         (create): Added text area scroll window widget to an event box.
28312         (connectSignals): Changed call to use new function to get the
28313         correct widget out of the event box.
28314         (insert): Likewise.
28315         (replaceRange): Likewise.
28316         (gtkWidgetModifyFont): Likewise.
28317         (gtkWidgetRequestFocus): Likewise.
28318         (getHScrollbarHeight): Likewise.
28319         (getVScrollbarWidth): Likewise.
28320         (getCaretPosition): Likewise.
28321         (setCaretPosition):Likewise.
28322         (getSelectionStart): Likewise.
28323         (getSelectionEnd): Likewise.
28324         (select): Likewise.
28325         (setEditable): Likewise.
28326         (getText): Likewise.
28327         (setText): Likewise.
28328         (textarea_get_widget): New function.
28329
28330 2006-03-09  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
28331
28332         * java/rmi/dgc/VMID.java: 
28333         (equals, hashCode, static initializer): Rewritten.
28334         * java/rmi/dgc/package.html: Documented.
28335         
28336 2006-03-09  Mark Wielaard  <mark@klomp.org>
28337
28338         * gnu/java/awt/peer/gtk/GtkClipboard.java (clipboard, selection):
28339         New static field.
28340         (stringMimeType, imageMimeType, filesMimeType): Initialize directly.
28341         (canCache): Likewise.
28342         (GtkClipboard): Take String argument.
28343         (getInstance): Removed.
28344         (getClipboardInstance, getSelectionInstance): New static methods.
28345         (setSystemContents): Make synchronized. Takes boolean argument.
28346         (initNativeState): Add clipboard and selection.
28347         * gnu/java/awt/peer/gtk/GtkClipboardNotifier.java
28348         (announceClipboardChange, announcePrimaryChange): New static field.
28349         (announce): Take GtkClipboard as argument.
28350         (run): Check which clipboard to announce change for.
28351         * gnu/java/awt/peer/gtk/GtkSelection.java (clipboard): New final
28352         boolean field.
28353         (GtkSelection): Take GtkClipboard as argument.
28354         (requestText, requestImage, requestURIs, requestBytes): Add boolean
28355         clipboard argument.
28356         (requestMimeTypes): Likewise.
28357         * gnu/java/awt/peer/gtk/GtkToolkit.java (getSystemSelection):
28358         New method.
28359         * java/awt/Toolkit.java (getSystemSelection): Document.
28360         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c
28361         (cp_gtk_selection_instance): New var.
28362         (current_selection, owner): Removed.
28363         (clipboard_owner_change_cb): Use clipboard argument.
28364         (initNativeState): Store clipboard and selection instances. Cache
28365         setSystemContentsID, provideContentID, provideTextID, provideImageID,
28366         and provideURIsID.
28367         (clipboard_get_func): Use clipboard argument.
28368         (clipboard_clear_func): Likewise. Always call method.
28369         (advertiseContent): Don't cache method ids here. Check whether to
28370         use clpboard or selection. Don't set owner or current_selection.
28371         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkSelection.c
28372         (requestText, requestImage, requestURIs, requestBytes): Use extra
28373         boolean argument to select clipboard.
28374         * native/jni/gtk-peer/gtkpeer.h (cp_gtk_selection): New extern.
28375         (cp_gtk_clipboard_instance, cp_gtk_selection_instance): Likewise.
28376         * include/gnu_java_awt_peer_gtk_GtkClipboard.h: Regenerate.
28377         * include/gnu_java_awt_peer_gtk_GtkSelection.h: Likewise.
28378
28379 2006-03-09  Keith Seitz  <keiths@redhat.com>
28380
28381         * gnu/classpath/jdwp/Jdwp.java: Remove unused imports.
28382         * gnu/classpath/jdwp/event/EventRequest.java: Likewise.
28383         * gnu/classpath/jdwp/event/filters/ClassMatchFilter.java: Likewise.
28384         * gnu/classpath/jdwp/event/filters/ThreadOnlyFilter.java: Likewise.
28385         * gnu/classpath/jdwp/processor/ThreadReferenceCommandSet.java: Likewise.
28386         * gnu/classpath/jdwp/transport/ITransport.java: Likewise.
28387         * vm/reference/gnu/classpath/jdwp/VMIdManager.java: Likewise.
28388         * vm/reference/gnu/classpath/jdwp/VMMethod.java: Likewise.
28389         * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java: Likewise.
28390
28391 2006-03-09  Mark Wielaard  <mark@klomp.org>
28392
28393         * javax/swing/JList.java (ensureIndexIsVisible): Check whether cell
28394         bounds for index is valid.
28395         * javax/swing/plaf/basic/BasicListUI.java (valueChanged): Likewise.
28396         (paint): Likewise.
28397         (getCellBounds): Update documentation.
28398
28399 2006-03-09  Arnaud Vandyck  <avdyk@gnu.org>
28400
28401         * .classpath: added exclude pattern on source folders
28402         (Makefiles, README and .cvsignore)
28403
28404 2006-03-08  Michael Koch  <konqueror@gmx.de>
28405
28406         * java/net/Proxy.java (NO_PROXY): Made final.
28407         (equals): Likewise.
28408         (hashCode): Likewise.
28409
28410 2006-03-08  Keith Seitz  <keiths@redhat.com>
28411
28412         * vm/reference/gnu/classpath/jdwp/VMMethod.java: New file.
28413         * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java
28414         (getClassMethod): New method.
28415
28416 2006-03-08  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
28417
28418         * java/rmi/server/UID.java (getMachineId): Include the host IP address.
28419     
28420 2006-03-08  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
28421
28422         * java/rmi/server/ObjID.java: Documented and autoformatted.
28423
28424 2006-03-08  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
28425
28426         PR 26584
28427         * tools/Makefile.am (install-data-local,
28428         uninstall-local): Install/uninstall the tools/README only.
28429         * tools/gnu/classpath/tools/giop/README: Updated.
28430         * tools/README: New file.
28431
28432 2006-03-08  Lillian Angel  <langel@redhat.com>
28433
28434         * java/awt/GridBagLayout.java
28435         (GetLayoutInfo): If the last component added had gridwidth == REMAINDER,
28436         then the next item should be set to current_y (not 0).
28437
28438 2006-03-08  Lillian Angel  <langel@redhat.com>
28439
28440         * java/awt/GridBagLayout.java
28441         (GetLayoutInfo): If gridy is RELATIVE and there is no component
28442         in the bottom-most spot of the column, we need to place that component
28443         at the y-location of the other components in that row. If there are
28444         no other components in that row, then place it at y = 0.
28445
28446 2006-03-08  David Gilbert  <david.gilbert@object-refinery.com>
28447
28448         * javax/swing/ProgressMonitor.java: Updated API docs,
28449         * javax/swing/ProgressMonitorInputStream.java: Likewise.
28450
28451 2006-03-08  Michael Koch  <konqueror@gmx.de>
28452
28453         * java/net/InetSocketAddress.java
28454         (InetSocketAddress(String,int,resolve)): New private contructor.
28455         (InetSocketAddress(String,int)): Use new private constructor.
28456         (createUnresolved): New method.
28457
28458 2006-03-07  Michael Koch  <konqueror@gmx.de>
28459
28460         * gnu/java/net/DefaultProxySelector.java,
28461         java/net/Proxy.java, java/net/ProxySelector.java:
28462         New files.
28463
28464 2006-03-07  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
28465
28466         * java/rmi/server/UID.java (constructor): Assign last and time fields
28467         after pause.
28468
28469 2006-03-07  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
28470
28471         * java/rmi/server/UID.java: New file (replacing). 
28472
28473 2006-03-08  Raif S. Naffah  <raif@swiftdsl.com.au>
28474
28475         * java/util/jar/Manifest.java: Removed unused imports.
28476         (CRLF): New constant.
28477         (read): Added method documentation.
28478         Use UTF-8 encoding instead of 8859_1.
28479         (write): Added method documentation.
28480         Use BufferedOutputStream (w/ 4K buffer) instead of PrintWriter.
28481         (write_main_section): Replace PrintWriter arg with OutputStream.
28482         Replace JarException with IOException.
28483         (write_version_info): Likewise.
28484         (write_main_attributes): Likewise.
28485         (write_attribute_entry): Likewise.
28486         (write_individual_sections): Likewise.
28487         (write_entry_attributes): Likewise.
28488         (write_header): Replace PrintWriter arg with OutputStream.
28489         Re-implemented.
28490
28491 2006-03-07  David Gilbert  <david.gilbert@object-refinery.com>
28492
28493         * javax/swing/tree/DefaultMutableTreeNode.java
28494         (getFirstChild): Updated API docs,
28495         (getLastChild): Likewise,
28496         (getChildAfter): Likewise,
28497         (getChildBefore): Likewise,
28498         (isNodeSibling): Return true if node == this,
28499         (getSiblingCount): Updated API docs,
28500         (getNextSibling): Likewise,
28501         (getPreviousSibling): Likewise,
28502         (isLeaf): Likewise,
28503         (getFirstLeaf): Likewise,
28504         (getLastLeaf): Likewise,
28505         (getNextLeaf): Implemented,
28506         (getPreviousLeaf): Implemented.
28507
28508 2006-03-07  Tom Tromey  <tromey@redhat.com>
28509
28510         * java/awt/image/ColorModel.java (getComponents): Javadoc fix.
28511         * java/awt/datatransfer/FlavorEvent.java: Added missing @since.
28512         * java/awt/dnd/DropTargetEvent.java (serialVersionUID): New field.
28513         * java/awt/DefaultFocusTraversalPolicy.java (serialVersionUID): New
28514         field.
28515
28516 2006-03-07  David Gilbert  <david.gilbert@object-refinery.com>
28517
28518         * javax/swing/tree/DefaultMutableTreeNode.java: API docs all over plus
28519         (clone): Reimplemented,
28520         (add): Throw IllegalArgumentException if child is an ancestor,
28521         (remove(int)): Set child's parent to null,
28522         (remove(MutableTreeNode)): Check arguments and set child's parent to 
28523         null,
28524         (insert): Check allowsChildren flag, check for null argument, and
28525         check for a node that is an ancestor,
28526         (getIndex): Throw IllegalArgumentException for null argument,
28527         (setAllowsChildren): If setting to false, remove existing children,
28528         (removeAllChildren): Set parent to null for removed children.
28529
28530 2006-03-07  David Gilbert  <david.gilbert@object-refinery.com>
28531
28532         * javax/swing/tree/TreeNode.java: Reformatted and added API docs all
28533         over.
28534
28535 2006-03-06  Tom Tromey  <tromey@redhat.com>
28536
28537         * java/lang/StrictMath.java (ulp): New methods.
28538         * java/lang/Math.java (ulp): New methods.
28539
28540 2006-03-07  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
28541
28542         * gnu/java/rmi/server/UnicastRef.java,
28543         * gnu/java/rmi/server/UnicastServer.java: Formatted.
28544         
28545 2006-03-07  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
28546
28547         * gnu/java/rmi/server/CombinedClassLoader.java 
28548         (findClass, findLibrary, findResouce, findResources): check
28549         all loaders in array.
28550         
28551 2006-03-07  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
28552
28553         PR 25526
28554         * gnu/java/rmi/dgc/DGCImpl.java (LeaseRecord, leaseCache): Removed.
28555         (RefProtector):    new inner class. (dirty): Rewritten.
28556         * gnu/java/rmi/server/UnicastRef.java (dgcId, dgcInterfaceHash,
28557         dgcSequence, DIRTY, this_id): New fields. (equals, hashCode, notifyDGC):
28558         new methods. (readExternal): Create LeaseRenewingTask if non local.
28559         * gnu/java/rmi/server/UnicastServer.java (objects):
28560         Use WeakHashMap. (refcache): Use WeakIdentityHashMap.
28561         (getExported): New method.
28562         * gnu/java/rmi/dgc/LeaseRenewingTask.java: New file.
28563         
28564 2006-03-06  Mark Wielaard  <mark@klomp.org>
28565
28566         * doc/www.gnu.org/announce/20060306.wml: New file.
28567         * doc/www.gnu.org/newsitems.txt: Add 0.90 release announcement.
28568         * doc/www.gnu.org/downloads/downloads.wml: Add 0.90.
28569         
28570 2006-03-06  David Gilbert  <david.gilbert@object-refinery.com>
28571
28572         * javax/swing/plaf/metal/MetalLookAndFeel.java
28573         (initComponentDefaults): Use Boolean.TRUE for
28574         'CheckBoxMenuItem.borderPainted'.
28575         
28576 2006-03-06  Wolfgang Baer  <WBaer@gmx.de>
28577
28578         * gnu/java/net/protocol/http/Headers.java: Added documentation all over.
28579         (dateFormat): Made private.
28580         (put): Replace only the last occurance and the value.
28581         (putAll): Reimplemented with the put method.
28582         
28583 2006-03-06  Lillian Angel  <langel@redhat.com>
28584
28585         PR classpath/26569
28586         * java/awt/List.java
28587         (preferredSize): Return the size of the list if the peer is 
28588         null.
28589         * gnu/java/awt/peer/gtk/GtkListPeer.java
28590         (preferredSize): Code was returning the minimum size of the 
28591         list. Added adjustment to the width of the list so it is a 
28592         proper size.
28593         
28594 2006-03-06  Wolfgang Baer  <WBaer@gmx.de>
28595
28596         * gnu/java/net/protocol/http/HTTPURLConnection.java: Organized imports.
28597         (getRequestProperty): Remove duplicated null check.
28598         * java/net/URLConnection.java:
28599         (URLConnection): Javadoc fix.
28600         (addRequestProperty): Likewise.
28601         (getDefaultRequestProperty): Likewise.
28602         (getHeaderField): Likewise.
28603         (getHeaderFieldDate): Likewise.
28604         (getHeaderFieldKey): Likewise.
28605         (getHeaderFields): Likewise.
28606         (getRequestProperties): Likewise.
28607         (getRequestProperty): Likewise.
28608         (setDefaultRequestProperty): Likewise.
28609         (setRequestProperty): Likewise.
28610         
28611 2006-03-06  Robert Schuster  <robertschuster@fsfe.org>
28612       
28613         * examples/gnu/classpath/examples/swing/TextArea.java: New file.
28614         * examples/gnu/classpath/examples/swing/Demo.java:
28615         (mkButtonBar): Changed layout manager to GridLayout, added entry for
28616         textarea example.
28617         (mkMenuBar): Added entry for text area example.
28618         
28619 2006-03-06  Tom Tromey  <tromey@redhat.com>
28620
28621         * javax/swing/plaf/synth/Region.java (FILE_CHOOSER): Renamed.
28622         (FORMATTED_TEXT_FIELD): Likewise.
28623         
28624 2006-03-06  Tom Tromey  <tromey@redhat.com>
28625
28626         * javax/swing/plaf/synth/SynthPainter.java: Finished.
28627         
28628 2006-03-06  Robert Schuster  <robertschuster@fsfe.org>
28629
28630         * examples/gnu/classpath/examples/swing/Demo.java:
28631         (mkMenuBar): Added menu entry that will display the VM's name,
28632         version and distributor.
28633         
28634 2006-03-06  Tom Tromey  <tromey@redhat.com>
28635          
28636         * javax/swing/plaf/synth/SynthLookAndFeel.java (getDescription): 
28637         Javadoc fix.
28638         (getName): Likewise.
28639         
28640 2006-03-06  Raif S. Naffah  <raif@swiftdsl.com.au>
28641
28642         * java/util/jar/Manifest.java: Removed unused imports.
28643         (CRLF): New constant.
28644         (read): Added method documentation.
28645         Use UTF-8 encoding instead of 8859_1.
28646         (write): Added method documentation.
28647         Use BufferedOutputStream (w/ 4K buffer) instead of PrintWriter.
28648         (write_main_section): Replace PrintWriter arg with OutputStream.
28649         Replace JarException with IOException.
28650         (write_version_info): Likewise.
28651         (write_main_attributes): Likewise.
28652         (write_attribute_entry): Likewise.
28653         (write_individual_sections): Likewise.
28654         (write_entry_attributes): Likewise.
28655         (write_header): Replace PrintWriter arg with OutputStream.
28656         Re-implemented.
28657         
28658 2006-03-06  David Gilbert  <david.gilbert@object-refinery.com>
28659
28660         
28661         * javax/swing/tree/FixedHeightLayoutCache.java: Reformatted and fixed
28662         API doc tag warnings,
28663         * javax/swing/tree/VariableHeightLayoutCache.java: Likewise.
28664         
28665 2006-03-06  Dalibor Topic  <robilad@kaffe.org>
28666
28667         * gnu/java/net/protocol/file/Connection.java (unquote):
28668         Update position in buffer after decoding a unicode character
28669         outside of the basic plane.
28670         
28671 2006-03-06  Dalibor Topic  <robilad@kaffe.org>
28672
28673         * java/net/URI.java
28674         (quote): Pass Unicode characters outside the basic plane through.
28675         
28676 2006-03-06  Robert Schuster  <robertschuster@fsfe.org>
28677        
28678         * javax/swing/plaf/basic/BasicTextUI.java:
28679         (damageRange): Rewritten if-expressions to correctly identify the
28680         break condition.
28681
28682 2006-03-06  Mark Wielaard  <mark@klomp.org>
28683
28684         * configure.ac: Set version to 0.90-generics.
28685         * NEWS: Fix typos.
28686
28687 2006-03-06  Mark Wielaard  <mark@klomp.org>
28688
28689         Fixes bug #26568 reported by Paul Jenner <psj@harker.dyndns.org>
28690         * native/fdlibm/fdlibm.h (__ieee754_rem_pio2): Return an int32_t.
28691         (isnan): Define explicitly isnan if it is not a macro.
28692
28693 2006-03-06  Robert Schuster  <robertschuster@fsfe.org>
28694
28695         * javax/swing/text/GapContent.java:
28696         (insertString): Throw exception when argument is below
28697         zero.
28698
28699 2006-03-06  Robert Schuster  <robertschuster@fsfe.org>
28700
28701         * javax/swing/text/PlainDocument.java:
28702         (insertUpdate): Extended if-expression, added
28703         code to generate another Element when newly inserted characters
28704         and old ones will be on the same line.
28705
28706 2006-03-06  Robert Schuster  <robertschuster@fsfe.org>
28707
28708         * javax/swing/text/DefaultCaret.java:
28709         (mouseDragged): Do selection when shift is pressed.
28710         (mouseClicked): Implemented.
28711
28712 2006-03-06  Robert Schuster  <robertschuster@fsfe.org>
28713
28714         * javax/swing/text/PlainDocument.java: Fix copyright header,
28715         added author tags.
28716         (insertUpdate): Do not copy the whole document any more, added some
28717         more variables to prevent needless method calls.
28718
28719 2006-03-06  Christian Thalinger <twisti@complang.tuwien.ac.at>
28720
28721         * configure.ac: Check for FREETYPE2.  This is a reverted patch and
28722         is required on Darwin.
28723         * native/jni/gtk-peer/Makefile.am (AM_LDFLAGS): Added FREETYPE2.
28724         (AM_CFLAGS): Likewise.
28725
28726 2006-03-06  Mark Wielaard  <mark@klomp.org>
28727
28728         * NEWS: Add updates for 0.90 release.
28729
28730 2006-03-05  Robert Schuster  <robertschuster@fsfe.org>
28731
28732         * javax/swing/text/GapContent.java:
28733         (insertString): Throw exception when argument is below
28734         zero.
28735
28736 2006-03-05  David Gilbert  <david.gilbert@object-refinery.com>
28737
28738         
28739         * javax/swing/filechooser/FileFilter.java:
28740         (accept): Fixed API doc tag,
28741        (getDescription): Likewise,
28742         * javax/swing/filechooser/FileView.java:       
28743         (isTraversable): Fixed API doc tag.
28744
28745 2006-03-05  David Gilbert  <david.gilbert@object-refinery.com>
28746
28747         * javax/swing/colorchooser/ColorSelectionModel.java: Reformatted and
28748         added API docs all over.
28749
28750 2006-03-05  David Gilbert  <david.gilbert@object-refinery.com>
28751
28752         * javax/swing/plaf/ComboBoxUI.java: Fixed typo in class description,
28753         and corrected a bad API doc tag.
28754
28755 2006-03-05  David Gilbert  <david.gilbert@object-refinery.com>
28756
28757         * javax/swing/undo/StateEditable.java
28758         (restoreState): Fixed bad API doc tag,
28759         * javax/swing/undo/UndoableEdit.java: Copied API doc comments from
28760         AbstractUndoableEdit.java,
28761         * javax/swing/undo/UndoableEditSupport.java
28762         (createCompoundEdit): Fixed bad API doc tag,
28763         * javax/swing/undo/UndoManager.java
28764         (editToBeUndone): Fixed bad API doc tag,
28765         (editToBeRedone): Likewise.
28766
28767 2006-03-05  David Gilbert  <david.gilbert@object-refinery.com>
28768
28769         * javax/swing/DefaultFocusManager.java: Fixed bad API doc tags,
28770         * javax/swing/FocusManager.java: Likewise.
28771
28772
28773 2006-03-05  David Gilbert  <david.gilbert@object-refinery.com>
28774
28775         
28776         * javax/swing/plaf/metal/MetalComboBoxButton.java
28777         (MetalComboBoxButton(JComboBox, Icon, boolean, CellRendererPane,
28778         JList)): Fixed API doc tag,
28779         * javax/swing/plaf/metal/MetalInternalFrameTitlePane
28780         (createLayout): Fixed API doc warning.
28781         
28782 2006-03-05  Tom Tromey  <tromey@redhat.com>
28783
28784         * vm/reference/java/lang/reflect/Constructor.java (toString): Use
28785         ClassHelper.getUserName.
28786         * vm/reference/java/lang/reflect/Method.java (toString): Use
28787         ClassHelper.getUserName.
28788         (getUserTypeName): Removed.
28789         * gnu/java/lang/ClassHelper.java (getUserName): New method.
28790         * vm/reference/java/lang/reflect/Field.java (toString): Use
28791         ClassHelper.getUserName.
28792
28793 2006-03-05  Olivier Jolly  <olivier.jolly@pcedev.com>
28794
28795         Fixes PR 22813
28796         * java/net/URLClassLoader.java (FileURLLoader.getResource):   
28797         Allows directories as valid resources.
28798
28799 2006-03-05  Mark Wielaard  <mark@klomp.org>
28800
28801         * configure.ac (VERSION): Set to 0.90-pre-generics.
28802         * Merge with CVS trunk from classpath-0_90-branch-point.
28803
28804 2006-03-04  Tom Tromey  <tromey@redhat.com>
28805
28806         * javax/swing/SpringLayout.java (Constraints): New constructor.
28807         * javax/swing/Spring.java (width): New method.
28808         (height): Likewise.
28809         (scale): Likewise.
28810
28811 2006-03-04  Mark Wielaard  <mark@klomp.org>
28812
28813         * gnu/java/net/protocol/http/HTTPConnection.java (Pool.get): Remove
28814         existing connection from pool before returning.
28815
28816 2006-03-04  Mark Wielaard  <mark@klomp.org>
28817
28818         * gnu/xml/stream/SAXParser.java (parse(InputSource)): Ignore
28819         exceptions thrown by handlers while cleaning up and rethrow original
28820         exception.
28821
28822 2006-03-04  Tom Tromey  <tromey@redhat.com>
28823
28824         * java/beans/PropertyDescriptor.java (createPropertyEditor): New
28825         method.
28826         (findConstructor): Likewise.
28827         (instantiateClass): Likewise.
28828
28829 2006-03-04  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
28830
28831         * gnu/java/rmi/dgc/DGCImpl.java:  More comments, boilerplate fix.
28832         (dirty): Do not synchronize on Hashtable. Use the passed (requested) 
28833         lease value and not always the default one.
28834         (LeaseRecord): Remember the array of objects, marked as dirty.
28835         java/rmi/dgc/Lease.java: Boilerplate fix.
28836
28837 2006-03-05  Raif S. Naffah  <raif@swiftdsl.com.au>
28838
28839         * java/util/jar/Attributes.java (putValue): Made it public and updated
28840         method documentation.
28841
28842 2006-03-04  Mark Wielaard  <mark@klomp.org>
28843
28844         * java/awt/Container.java (remove(int)): Always call removeNotify()
28845         on removed Component.
28846
28847 2006-03-04  Mark Wielaard  <mark@klomp.org>
28848
28849         Fixes bug #26460 reported by Beat Wolf <asraniel@fryx.ch>.
28850         * javax/swing/JEditorPane.java (setText): Check for empty String
28851         with equals(), not equality (==).
28852
28853 2006-03-04  Mark Wielaard  <mark@klomp.org>
28854
28855         * javax/swing/text/html/HTMLDocument.java: Qualify ElementSpec as
28856         DefaultStyledDocument.ElementSpec for gcj 4.0.x.
28857
28858 2006-03-04  David Gilbert  <david.gilbert@object-refinery.com>
28859
28860         * javax/swing/text/GapContent.java
28861         (getArray): Mark as final.
28862
28863 2006-03-04  David Gilbert  <david.gilbert@object-refinery.com>
28864
28865         * javax/swing/text/StyleConstants.java
28866         (CharacterConstants.Background): Marked final,
28867         (CharacterConstants.BidiLevel): Likewise,
28868         (CharacterConstants.Bold): Likewise,
28869         (CharacterConstants.ComponentAttribute): Likewise,
28870         (CharacterConstants.Family): Likewise,
28871         (CharacterConstants.Size): Likewise,
28872         (CharacterConstants.Foreground): Likewise,
28873         (CharacterConstants.IconAttribute): Likewise,
28874         (CharacterConstants.Italic): Likewise,
28875         (CharacterConstants.StrikeThrough): Likewise,
28876         (CharacterConstants.Subscript): Likewise,
28877         (CharacterConstants.Superscript): Likewise,
28878         (CharacterConstants.Underline): Likewise,
28879         (ColorConstants.Foreground): Likewise,
28880         (ColorConstants.Background): Likewise,
28881         (FontConstants.Bold): Likewise,
28882         (FontConstants.Family): Likewise,
28883         (FontConstants.Italic): Likewise,
28884         (FontConstants.Size): Likewise,
28885         (ParagraphConstants.Alignment): Likewise,
28886         (ParagraphConstants.FirstLineIndent): Likewise,
28887         (ParagraphConstants.LeftIndent): Likewise,
28888         (ParagraphConstants.LineSpacing): Likewise,
28889         (ParagraphConstants.Orientation): Likewise,
28890         (ParagraphConstants.RightIndent): Likewise,
28891         (ParagraphConstants.SpaceAbove): Likewise,
28892         (ParagraphConstants.SpaceBelow): Likewise,
28893         (ParagraphConstants.TabSet): Likewise.  
28894
28895 2006-03-03  Tom Tromey  <tromey@redhat.com>
28896
28897         * javax/net/ssl/SSLException.java: Added missing @since.
28898         Wrote javadoc.
28899
28900 2006-03-03  Tom Tromey  <tromey@redhat.com>
28901
28902         * javax/net/ssl/SSLException.java (SSLException): New constructors.
28903         (serialVersionUID): New field.
28904
28905 2006-03-03  Tom Tromey  <tromey@redhat.com>
28906
28907         * java/security/spec/InvalidKeySpecException.java
28908         (InvalidKeySpecException): New constructors.
28909         * java/security/cert/CertificateParsingException.java
28910         (CertificateParsingException): New constructors.
28911         * java/security/cert/CertificateEncodingException.java
28912         (CertificateEncodingException): New constructors.
28913         * java/security/cert/CertificateException.java (CertificateException):
28914         New constructors.
28915         * java/security/cert/CRLException.java (CRLException): New
28916         constructors.
28917
28918 2006-03-03  Tom Tromey  <tromey@redhat.com>
28919
28920         * java/security/SignatureException.java (SignatureException): New
28921         constructors.
28922         * java/security/ProviderException.java (ProviderException): New
28923         constructors.
28924         * java/security/NoSuchAlgorithmException.java
28925         (NoSuchAlgorithmException): New constructors.
28926         * java/security/KeyStoreException.java (KeyStoreException): New
28927         constructors.
28928         * java/security/KeyManagementException.java (KeyManagementException):
28929         New constructors.
28930         * java/security/InvalidKeyException.java (InvalidKeyException): New
28931         constructors.
28932         * java/security/KeyException.java (KeyException): New constructors.
28933         * java/security/InvalidAlgorithmParameterException.java
28934         (InvalidAlgorithmParameterException): New constructors.
28935         * java/security/DigestException.java (DigestException): New
28936         constructors.
28937         * java/security/GeneralSecurityException.java
28938         (GeneralSecurityException): New constructors.
28939
28940 2006-03-03  David Gilbert  <david.gilbert@object-refinery.com>
28941
28942         * javax/swing/event/CaretEvent.java: Reformatting and fixed API doc 
28943         warnings,
28944         * javax/swing/event/DocumentEvent.java: Likewise,
28945         * javax/swing/event/EventListenerList.java: Likewise,
28946         * javax/swing/event/MenuDragMouseEvent.java: Likewise,
28947         * javax/swing/event/MenuKeyEvent.java: Likewise,
28948         * javax/swing/event/TableColumnModelEvent.java: Likewise,
28949         * javax/swing/event/TreeExpansionEvent.java: Likewise,
28950         * javax/swing/event/TreeModelEvent.java: Likewise,
28951         * javax/swing/event/TreeSelectionEvent.java: Likewise,
28952         * javax/swing/event/UndoableEditEvent.java: Likewise.
28953
28954 2006-03-03  Tom Tromey  <tromey@redhat.com>
28955
28956         * java/awt/Insets.java (set): New method.
28957         (equals): Added @since.
28958
28959 2006-03-03  David Daney  <ddaney@avtrex.com>
28960
28961         * gnu/java/net/protocol/http/HTTPURLConnection.java
28962         (getRequestProperties): Rewrote.
28963         (addRequestProperty): Rewrote.
28964         (getHeaderFields): Rewrote.
28965         (getHeaderField): Rewrote.
28966         (getHeaderFieldKey): Rewrote.
28967         (getHeaderField): Removed useless cast.
28968         * gnu/java/net/protocol/http/Headers.java: Entire class rewritten.
28969         * gnu/java/net/protocol/http/Request.java (dispatch): Use new Headers
28970         interface.
28971         (notifyHeaderHandlers): Use new Headers interface.
28972
28973 2006-03-03  Tom Tromey  <tromey@redhat.com>
28974
28975         * javax/naming/NamingException.java (getExplanation): Javadoc fix.
28976         * javax/naming/spi/ResolveResult.java,
28977         javax/naming/event/NamingExceptionEvent.java,
28978         javax/naming/event/NamingEvent.java,
28979         javax/naming/directory/SearchResult.java,
28980         javax/naming/directory/SearchControls.java,
28981         javax/naming/directory/SchemaViolationException.java,
28982         javax/naming/directory/NoSuchAttributeException.java,
28983         javax/naming/directory/ModificationItem.java,
28984         javax/naming/directory/InvalidSearchFilterException.java,
28985         javax/naming/directory/InvalidSearchControlsException.java,
28986         javax/naming/directory/InvalidAttributesException.java,
28987         javax/naming/directory/InvalidAttributeIdentifierException.java,
28988         javax/naming/directory/AttributeModificationException.java,
28989         javax/naming/directory/AttributeInUseException.java,
28990         javax/naming/TimeLimitExceededException.java,
28991         javax/naming/SizeLimitExceededException.java,
28992         javax/naming/PartialResultException.java,
28993         javax/naming/Reference.java,
28994         javax/naming/ServiceUnavailableException.java,
28995         javax/naming/OperationNotSupportedException.java,
28996         javax/naming/NotContextException.java,
28997         javax/naming/NoPermissionException.java,
28998         javax/naming/NoInitialContextException.java,
28999         javax/naming/NameNotFoundException.java,
29000         javax/naming/NameAlreadyBoundException.java,
29001         javax/naming/NameClassPair.java,
29002         javax/naming/MalformedLinkException.java,
29003         javax/naming/LinkLoopException.java,
29004         javax/naming/LinkException.java,
29005         javax/naming/LimitExceededException.java,
29006         javax/naming/InvalidNameException.java,
29007         javax/naming/InterruptedNamingException.java,
29008         javax/naming/InsufficientResourcesException.java,
29009         javax/naming/ContextNotEmptyException.java,
29010         javax/naming/ConfigurationException.java,
29011         javax/naming/CannotProceedException.java,
29012         javax/naming/CommunicationException.java,
29013         javax/naming/Binding.java,
29014         javax/naming/AuthenticationNotSupportedException.java,
29015         javax/naming/AuthenticationException.java: Added serialVersionUID.
29016
29017 2006-03-03  David Gilbert  <david.gilbert@object-refinery.com>
29018
29019         * javax/swing/event/TableColumnModelEvent.java: Reformatted.
29020
29021 2006-03-03  David Gilbert  <david.gilbert@object-refinery.com>
29022
29023         * javax/swing/event/TableModelListener.java: Updated API docs.
29024
29025 2006-03-03  Mark Wielaard  <mark@klomp.org>
29026
29027         * java/awt/Component.java (addNotify): Expand documentation.
29028
29029 2006-03-03  Mark Wielaard  <mark@klomp.org>
29030
29031         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (GtkComponentPeer):
29032         Always call setParentAndBounds().
29033         (setComponentBounds): Always call setBounds().
29034         (setBounds): Call setVisible().
29035         (setVisible): If no pixels are showing then don't make it visible.
29036         * gnu/java/awt/peer/gtk/GtkContainerPeer.java (endValidate): No need
29037         to call setParentAndBounds() anymore.
29038
29039 2006-03-03  Roman Kennke  <kennke@aicas.com>
29040
29041         * javax/swing/JInternalFrame.java
29042         (JInternalFrame): Set frame invisible.
29043         (show): Reformatted.
29044         * javax/swing/plaf/basic/BasicInternalFrameUI.java
29045         (installDefaults): Do not set invisible here.
29046
29047 2006-03-03  Roman Kennke  <kennke@aicas.com>
29048
29049         * java/awt/Toolkit.java
29050         (getScreenInsets): Return (0,0,0,0) here.
29051
29052 2006-03-03  Roman Kennke  <kennke@aicas.com>
29053
29054         * javax/swing/text/FlowView.java
29055         (FlowStrategy.layoutRow): Added check for rowCount == 0.
29056         (FlowStrategy.getLogicalView): Made method protected.
29057
29058 2006-03-03  Chris Burdess  <dog@gnu.org>
29059
29060         * gnu/xml/validation/relaxng/AnyNameNameClass.java,
29061           gnu/xml/validation/relaxng/AttributePattern.java,
29062           gnu/xml/validation/relaxng/ChoiceNameClass.java,
29063           gnu/xml/validation/relaxng/ChoicePattern.java,
29064           gnu/xml/validation/relaxng/DataPattern.java,
29065           gnu/xml/validation/relaxng/Define.java,
29066           gnu/xml/validation/relaxng/ElementPattern.java,
29067           gnu/xml/validation/relaxng/EmptyPattern.java,
29068           gnu/xml/validation/relaxng/FullSyntaxBuilder.java,
29069           gnu/xml/validation/relaxng/Grammar.java,
29070           gnu/xml/validation/relaxng/GrammarException.java,
29071           gnu/xml/validation/relaxng/GrammarValidator.java,
29072           gnu/xml/validation/relaxng/GroupPattern.java,
29073           gnu/xml/validation/relaxng/InterleavePattern.java,
29074           gnu/xml/validation/relaxng/ListPattern.java,
29075           gnu/xml/validation/relaxng/NSNameNameClass.java,
29076           gnu/xml/validation/relaxng/NameClass.java,
29077           gnu/xml/validation/relaxng/NameNameClass.java,
29078           gnu/xml/validation/relaxng/NotAllowedPattern.java,
29079           gnu/xml/validation/relaxng/OneOrMorePattern.java,
29080           gnu/xml/validation/relaxng/Param.java,
29081           gnu/xml/validation/relaxng/Pattern.java,
29082           gnu/xml/validation/relaxng/RELAXNGSchemaFactory.java,
29083           gnu/xml/validation/relaxng/RefPattern.java,
29084           gnu/xml/validation/relaxng/TextPattern.java,
29085           gnu/xml/validation/relaxng/ValuePattern.java: New RELAX NG grammar
29086           builder and data model.
29087         * gnu/xml/validation/xmlschema/AnyAttribute.java,
29088           gnu/xml/validation/xmlschema/AttributeDeclaration.java,
29089           gnu/xml/validation/xmlschema/AttributeUse.java,
29090           gnu/xml/validation/xmlschema/ComplexType.java,
29091           gnu/xml/validation/xmlschema/ElementDeclaration.java,
29092           gnu/xml/validation/xmlschema/Particle.java,
29093           gnu/xml/validation/xmlschema/ValidationException.java,
29094           gnu/xml/validation/xmlschema/XMLSchema.java,
29095           gnu/xml/validation/xmlschema/XMLSchemaAttributeTypeInfo.java,
29096           gnu/xml/validation/xmlschema/XMLSchemaBuilder.java,
29097           gnu/xml/validation/xmlschema/XMLSchemaElementTypeInfo.java,
29098           gnu/xml/validation/xmlschema/XMLSchemaSchemaFactory.java,
29099           gnu/xml/validation/xmlschema/XMLSchemaTypeInfo.java,
29100           gnu/xml/validation/xmlschema/XMLSchemaTypeInfoProvider.java,
29101           gnu/xml/validation/xmlschema/XMLSchemaValidator.java,
29102           gnu/xml/validation/xmlschema/XMLSchemaValidatorHandler.java: New
29103           W3C XML Schema builder and schema components.
29104         * javax/xml/validation/SchemaFactory.java: Recognise RELAX NG and W3C
29105           XML Schema namespace URIs.
29106
29107 2006-03-03  Thomas Fitzsimmons  <fitzsim@redhat.com>
29108
29109         * NEWS: Add entry for --enable-collections.
29110         * configure.ac: Add --enable-collections option.
29111         * lib/Makefile.am (collections.jar): New target.
29112         (glibj_DATA): Add $(COLLECTIONS).
29113         * lib/mkcollections.pl.in (destpath): Set from COLLECTION_PREFIX
29114         configure substitution.
29115         (classpath): Read from command line.
29116         (javautilclasses): Remove BasicMapEntry.  Add RandomAccess.
29117
29118 2006-03-03  David Gilbert  <david.gilbert@object-refinery.com>
29119
29120         * javax/swing/SpringLayout.java: Fixed API doc warnings.
29121
29122 2006-03-03  David Gilbert  <david.gilbert@object-refinery.com>
29123
29124         * javax/swing/event/ListSelectionEvent.java
29125         (toString): Implemented,
29126         plus updated API docs all over.
29127
29128 2006-03-03  David Gilbert  <david.gilbert@object-refinery.com>
29129
29130         * javax/swing/event/ListSelectionEvent.java: Reformatted and fixed
29131         API doc warnings,
29132         * javax/swing/event/ListSelectionListener.java: Updated API docs.
29133
29134 2006-03-03  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
29135
29136         * gnu/java/rmi/dgc/DGCImpl.java,
29137         java/rmi/dgc/DGC.java,
29138         java/rmi/dgc/Lease.java: Formatted and commented.
29139
29140 2006-03-03  Roman Kennke  <kennke@aicas.com>
29141
29142         * NEWS: Added comment about text highlighting and copy+paste
29143         in Swing.
29144
29145 2006-03-03  Roman Kennke  <kennke@aicas.com>
29146
29147         * javax/swing/JTabbedPane.java
29148         (remove(int)): Call super.remove(int) instead of remove(Component).
29149         Avoids a stack overflow.
29150
29151 2006-03-03  Roman Kennke  <kennke@aicas.com>
29152
29153         * javax/swing/JTable.java
29154         (distributeSpillResizing): Avoid ArithmeticException by checking
29155         divisor.
29156
29157 2006-03-03  David Gilbert  <david.gilbert@object-refinery.com>
29158
29159         * javax/swing/text/package.html: Added package description.
29160
29161 2006-03-03  David Gilbert  <david.gilbert@object-refinery.com>
29162
29163         * javax/swing/CellRendererPane.java: Minor API doc fix,
29164         * javax/swing/ComboBoxModel.java: Updated API docs.
29165
29166 2006-03-03  Chris Burdess  <dog@gnu.org>
29167
29168         Fixes PR 26503
29169         * gnu/xml/stream/EntityReferenceImpl.java,
29170           gnu/xml/stream/FilteredEventReader.java,
29171           gnu/xml/stream/SAXParser.java,
29172           gnu/xml/stream/XIncludeFilter.java,
29173           gnu/xml/stream/XMLEventAllocatorImpl.java,
29174           gnu/xml/stream/XMLEventFactoryImpl.java,
29175           gnu/xml/stream/XMLEventImpl.java,
29176           gnu/xml/stream/XMLEventReaderImpl.java,
29177           gnu/xml/stream/XMLEventWriterImpl.java,
29178           gnu/xml/stream/XMLInputFactoryImpl.java,
29179           gnu/xml/stream/XMLOutputFactoryImpl.java,
29180           gnu/xml/stream/XMLParser.java,
29181           javax/xml/stream/EventFilter.java,
29182           javax/xml/stream/Location.java,
29183           javax/xml/stream/StreamFilter.java,
29184           javax/xml/stream/XMLEventFactory.java,
29185           javax/xml/stream/XMLEventReader.java,
29186           javax/xml/stream/XMLEventWriter.java,
29187           javax/xml/stream/XMLInputFactory.java,
29188           javax/xml/stream/XMLOutputFactory.java,
29189           javax/xml/stream/XMLReporter.java,
29190           javax/xml/stream/XMLResolver.java,
29191           javax/xml/stream/XMLStreamConstants.java,
29192           javax/xml/stream/XMLStreamReader.java,
29193           javax/xml/stream/events/EntityDeclaration.java,
29194           javax/xml/stream/events/EntityReference.java,
29195           javax/xml/stream/events/XMLEvent.java,
29196           javax/xml/stream/util/EventReaderDelegate.java,
29197           javax/xml/stream/util/ReaderDelegate.java: Updated to final version of
29198           StAX API as specified in JWSDP 2.0.
29199         * gnu/xml/stream/EndEntityImpl.java,
29200           gnu/xml/stream/LocationImpl.java,
29201           gnu/xml/stream/StartEntityImpl.java,
29202           gnu/xml/stream/XMLStreamReaderImpl.java,
29203           javax/xml/stream/XMLFilter.java,
29204           javax/xml/stream/XMLIterator.java,
29205           javax/xml/stream/events/EndEntity.java,
29206           javax/xml/stream/events/StartEntity.java: Removed legacy files.
29207
29208 2006-03-03  David Gilbert  <david.gilbert@object-refinery.com>
29209
29210         * javax/swing/CellEditor.java: API doc updates,
29211         * javax/swing/DefaultCellEditor.java: Likewise.
29212
29213 2006-03-03  David Gilbert  <david.gilbert@object-refinery.com>
29214
29215         * javax/swing/AbstractListModel.java:
29216         (AbstractListModel): Added API docs,
29217         (fireContentsChanged): Minor API doc correction,
29218         (fireIntervalAdded): Likewise,
29219         (fireIntervalRemoved): Likewise.
29220
29221 2006-03-03  Roman Kennke  <kennke@aicas.com>
29222
29223         * NEWS: Added paragraph about Swing improvements.
29224
29225 2006-03-03  David Gilbert  <david.gilbert@object-refinery.com>
29226
29227         * javax/swing/AbstractAction.java: Updated API docs all over,
29228         * javax/swing/AbstractCellRenderer.java: Minor reformatting, plus
29229         (stopCellEditing): Minor API doc correction,
29230         * javax/swing/UnsupportedLookAndFeelException.java
29231         (UnsupportedLookAndFeelException): Changed argument name, updated API
29232         docs.
29233
29234 2006-03-03  Roman Kennke  <kennke@aicas.com>
29235
29236         * javax/swing/plaf/metal/MetalUtils.java
29237         (fillMetalPattern): Added switch to not use Graphics2D methods,
29238         even if they are available.
29239
29240 2006-03-03  Roman Kennke  <kennke@aicas.com>
29241
29242         * javax/swing/plaf/basic/BasicHTML.java
29243         (isHTMLString): Check for string beeing null.
29244         * javax/swing/plaf/basic/BasicInternalFrameUI.java
29245         (BasicInternalFrameListener.internalFrameActivated): Implemented.
29246         (BasicInternalFrameListener.internalFrameDeactivated): Implemented.
29247         (InternalFrameLayout): Don't touch the glass pane here.
29248         (installUI): Fix handling of glass pane.
29249         * javax/swing/plaf/basic/BasicLabelUI.java
29250         (vr): New field.
29251         (ir): New field.
29252         (tr): New field.
29253         (BasicLabelUI): Initialize new fields.
29254         (getPreferredSize): Avoid creating new Rectangles by using
29255         SwingUtilities method.
29256         (paint): Avoid creating new Rectangles by reusing
29257         new fields. Added some preliminary handling of HTML inside the
29258         label.
29259         (installComponents): Handle HTML by calling BasicHTML.updateRenderer.
29260         (uninstallComponents): Clear HTML renderer.
29261         (propertyChange): Check for HTML text and install renderer if
29262         appropriate.
29263         * javax/swing/plaf/basic/BasicListUI.java
29264         (getCellBounds): Avoid creating new Rectangle by using SwingUtilities
29265         method.
29266         * javax/swing/plaf/basic/BasicTextUI.java
29267         (RootView.getStartOffset): Implemented.
29268         (RootView.getEndOffset): Implemented.
29269         (RootView.getDocument): Implemented.
29270
29271 2006-03-03  Roman Kennke  <kennke@aicas.com>
29272
29273         * javax/swing/text/DefaultStyledDocument.java
29274         (ElementBuffer.inserUpdate): Added check for zero-length
29275         element.
29276         * javax/swing/text/DefaultStyledDocument.java
29277         (setIndex): Improved exception message.
29278         * javax/swing/text/TableView.java
29279         Made class abstract.
29280         (TableRow.replace): Probably extend columnRequirements
29281         arrays.
29282         (TableRow.layoutMinorAxis): Call super.layoutMinorAxis instead
29283         of super.layoutMajorAxis.
29284         (columnRequirements): Made field package private.
29285         (TableView): Do not load any child views here.
29286         (layoutColumns): Implemented this method.
29287         (updateColumnRequirements): New helper method.
29288         * javax/swing/text/Utilities.java
29289         (getBreakLocation): Also take offset into account when
29290         finding end location.
29291         * javax/swing/text/html/HTMLDocument.java
29292         (HTMLReader.parseStack): New field.
29293         (HTMLReader.blockOpen): Properly handle p-implied tags.
29294         (HTMLReader.blockClose): Properly handle p-implied and empty tags.
29295         (HTMLReader.addContent): Insert p-implied when adding content to
29296         a block element.
29297         * javax/swing/text/html/HTMLEditorKit.java
29298         (HTMLFactory.create): Create HTMLTableView for <table> tags and
29299         ParagraphView for TD tags. Print out warning for tags that don't have
29300         matching view yet and create NullView for them.
29301         (read): Only set document base when document != null.
29302         * javax/swing/text/html/HTMLTableView.java:
29303         New class
29304
29305 2006-03-03  Roman Kennke  <kennke@aicas.com>
29306
29307         * javax/swing/plaf/basic/BasicHTML.java
29308         (HTMLRootView): New inner class.
29309         (createHTMLView): Embed view inside a HTMLRootView.
29310
29311 2006-03-03  Wolfgang Baer  <WBaer@gmx.de>
29312
29313         * gnu/java/net/protocol/jar/Connection.java: 
29314         (connect): Throw FileNotFoundException.
29315         (getInputStream): Remove duplicated code.
29316
29317 2006-03-03  Roman Kennke  <kennke@aicas.com>
29318
29319         * javax/swing/RepaintManager.java
29320         (commitBuffer): Added null check for clip.
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): Fixed
29326         to use GtkWidget instead of GTKMenu.
29327
29328 2006-03-02  Lillian Angel <langel@redhat.com>
29329
29330         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
29331         (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_delItem): Changed to 
29332         use the submenu to get the list of children. This now works
29333         in the same way as addItem.
29334
29335 2006-03-02  Anthony Balkissoon  <abalkiss@redhat.com>
29336
29337         * java/lang/StringBuilder.java:
29338         (codePointAt): New method.
29339         (codePointBefore): Likewise.
29340         (codePointCount): Likewise.
29341         (trimToSize): Likewise.
29342
29343 2006-03-02  Tom Tromey  <tromey@redhat.com>
29344
29345         * java/rmi/server/RMIClassLoader.java (getProviderInstance): Wrote.
29346
29347 2006-03-02  Tom Tromey  <tromey@redhat.com>
29348
29349         * java/rmi/server/RMIClassLoader.java (loadProxyClass): New method.
29350         (getProviderInstance): 
29351
29352 2006-03-02  Andrew John Hughes  <gnu_andrew@member.fsf.org>
29353
29354         * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c:
29355         Fix regression caused by move to VM variant.
29356         PR classpath/22926.
29357         
29358 2006-03-01  Tom Tromey  <tromey@redhat.com>
29359
29360         * vm/reference/java/net/VMNetworkInterface.java: Organized imports.
29361         * vm/reference/java/net/VMInetAddress.java: Organized imports.
29362         * vm/reference/java/lang/reflect/VMProxy.java (getProxyClass): Added
29363         imports for javadoc.
29364         (getProxyClass): Javadoc fixes.
29365         (getProxyData): Likewise.
29366         (generateProxyClass): Likewise.
29367         * vm/reference/java/lang/VMSystem.java (setIn): Javadoc fix.
29368         (setOut): Likewise.
29369         (setErr): Likewise.
29370         * vm/reference/java/lang/VMProcess.java: Javadoc fixes.
29371         * vm/reference/java/lang/VMClassLoader.java (getResources): Javadoc
29372         fix.
29373         * vm/reference/java/lang/VMClass.java (getComponentType): Import for
29374         javadoc.
29375         (getModifiers): Likewise.
29376         (getDeclaredClasses): Javadoc fix.
29377         (getDeclaredFields): Likewise.
29378         (getDeclaredMethods): Likewise.
29379         (getDeclaredConstructors): Likewise.
29380         * vm/reference/gnu/classpath/VMSystemProperties.java (preInit):
29381         Javadoc fix.
29382
29383 2006-03-01  Tom Tromey  <tromey@redhat.com>
29384
29385         * gnu/java/net/protocol/http/ResponseHeaderHandler.java: Javadoc fix.
29386         * gnu/java/net/protocol/http/HTTPConnection.java: Organized imports.
29387         (getVersion): Javadoc fix.
29388         (get): Likewise.
29389         * gnu/java/net/protocol/http/Headers.java: Organized imports.
29390         * gnu/java/net/protocol/ftp/FTPURLConnection.java: Organized imports.
29391
29392 2006-03-01  David Daney  <ddaney@avtrex.com>
29393
29394         * java/net/URL.java (URL(URL, String, URLStreamHandler)): Treat spec
29395         as relative if it contains a colon but no protocol handler can be
29396         found.
29397
29398 2006-03-01  Roman Kennke  <kennke@aicas.com>
29399
29400         * javax/swing/text/AbstractDocument.java
29401         (LeafElement.LeafElement): Handle delta with respect to content
29402         length not document length.
29403         * javax/swing/text/CompositeView.java
29404         (getViewIndex): Handle bias correctly.
29405         * javax/swing/text/DefaultCaret.java
29406         (paint): Align caret position to document bounds to avoid trouble
29407         when removing large portions of content.
29408         * javax/swing/text/DefaultStyledDocument.java
29409         (ElementBuffer.insertFirstContentTag): Use pos instead of offset.
29410         (ElementBuffer.createFracture): Copy old childs attribute. The
29411         ElementSpec usually doesn't carry attribute information.
29412         Use pos instead of offset.
29413         (ElementBuffer.insertFracture): Use pos instead of offset.
29414         (createDefaultRootElement): Don't use create* and instead directly
29415         instantiate the elements.
29416         (handleInsertAfterNewline): Compare the paragraphs startOffset
29417         rather than previous paragraphs endOffset.
29418         * javax/swing/text/JTextComponent.java
29419         (getScrollableTracksViewportWidth): Remove unnecessary cast to
29420         JViewport.
29421         (getScrollableTracksViewportHeight): Remove unnecessary cast to
29422         JViewport.
29423         * javax/swing/text/PlainView.java
29424         (damageLineRange): Avoid creating new Rectangle by using
29425         SwingUtilities.
29426         * javax/swing/text/View.java
29427         (forwardUpdate): Correct the use of bias.
29428         (modelToView): Avoid new Rectangles by using SwingUtilities.
29429         (dump): Made (temprorarily) protected for use in BasicTextUI.
29430         (dump(int)): Dump out the element of the view.
29431
29432 2006-03-01  Lillian Angel  <langel@redhat.com>
29433
29434         * NEWS: javax.imageio.plugins.bmp implementation.
29435
29436 2006-03-01  Lillian Angel  <langel@redhat.com>
29437
29438         * javax/imageio/ImageWriteParam.java: 
29439         Added documentation for fields.
29440         * javax/imageio/plugins/bmp/BMPImageWriteParam.java:
29441         New class implemented.
29442
29443 2006-03-01  Tom Tromey  <tromey@redhat.com>
29444
29445         * NEWS: Mention java.util.prefs update.
29446
29447 2006-03-01  Tom Tromey  <tromey@redhat.com>
29448
29449         * gnu/java/nio/channels/FileChannelImpl.java (position): Fixed typo.
29450         * java/nio/charset/UnmappableCharacterException.java:
29451         (serialVersionUID): New field.
29452         * java/nio/charset/MalformedInputException.java:
29453         (serialVersionUID): New field.
29454         * java/nio/charset/CoderMalfunctionError.java:
29455         (serialVersionUID): New field.
29456         * java/nio/charset/CharacterCodingException.java:
29457         (serialVersionUID): New field.
29458         * java/nio/channels/UnsupportedAddressTypeException.java:
29459         (serialVersionUID): New field.
29460         * java/nio/channels/UnresolvedAddressException.java:
29461         (serialVersionUID): New field.
29462         * java/nio/channels/OverlappingFileLockException.java:
29463         (serialVersionUID): New field.
29464         * java/nio/channels/NotYetConnectedException.java:
29465         (serialVersionUID): New field.
29466         * java/nio/channels/NotYetBoundException.java
29467         (serialVersionUID): New field.
29468         * java/nio/channels/NonWritableChannelException.java
29469         (serialVersionUID): New field.
29470         * java/nio/channels/NonReadableChannelException.java
29471         (serialVersionUID): New field.
29472         * java/nio/channels/NoConnectionPendingException.java
29473         (serialVersionUID): New field.
29474         * java/nio/channels/IllegalSelectorException.java
29475         (serialVersionUID): New field.
29476         * java/nio/channels/IllegalBlockingModeException.java
29477         (serialVersionUID): New field.
29478         * java/nio/channels/FileLockInterruptionException.java
29479         (serialVersionUID): New field.
29480         * java/nio/channels/ConnectionPendingException.java
29481         (serialVersionUID): New field.
29482         * java/nio/channels/ClosedSelectorException.java (serialVersionUID):
29483         New field.
29484         * java/nio/channels/ClosedChannelException.java (serialVersionUID):
29485         New field.
29486         * java/nio/channels/ClosedByInterruptException.java
29487         (serialVersionUID): New field.
29488         * java/nio/channels/CancelledKeyException.java (serialVersionUID): 
29489         New field.
29490         * java/nio/channels/AsynchronousCloseException.java
29491         (serialVersionUID): New field.
29492         * java/nio/channels/AlreadyConnectedException.java (serialVersionUID):
29493         New field.
29494         * java/nio/ReadOnlyBufferException.java (serialVersionUID): New field.
29495         * java/nio/InvalidMarkException.java (serialVersionUID): New field.
29496         * java/nio/BufferUnderflowException.java (serialVersionUID): New
29497         field.
29498         * java/nio/BufferOverflowException.java (serialVersionUID): New field.
29499         * java/nio/channels/spi/AbstractInterruptibleChannel.java (end):
29500         Javadoc fix.  Added import.
29501         * java/nio/channels/DatagramChannel.java (isConnected): Javadoc fix.
29502         (validOps): Likewise.
29503         * gnu/java/nio/charset/iconv/IconvProvider.java: Organized imports.
29504         * gnu/java/nio/charset/iconv/IconvEncoder.java: Organized imports.
29505         * gnu/java/nio/charset/iconv/IconvDecoder.java: Organized imports.
29506         * java/nio/channels/Channels.java: Added import.
29507         * java/nio/channels/FileChannel.java (lock): Typo fix.
29508         (tryLock): Likewise.
29509
29510 2006-03-01  Tom Tromey  <tromey@redhat.com>
29511
29512         * java/util/prefs/Preferences.java (defaultFactoryClass): Use
29513         FileBasedFactory.
29514         * gnu/java/util/prefs/FileBasedPreferences.java: New file.
29515         * java/util/prefs/AbstractPreferences.java (removeSpi): Typo fix.
29516         (clear): Likewise.
29517         (putSpi): Likewise.
29518         (newNode): Likewise.
29519         (node): Likewise.
29520         * gnu/java/util/prefs/MemoryBasedFactory.java: Typo fix.
29521         * gnu/java/util/prefs/FileBasedFactory.java (systemPreferences): New
29522         field.
29523         (systemRoot): Use it.
29524         (userPreferences): New field.
29525         (userRoot): Use it.
29526
29527 2006-03-01  Jeroen Frijters  <jeroen@frijters.net>
29528
29529         * java/util/ResourceBundle.java
29530         (tryBundle): Catch and ignore all Exceptions.
29531
29532 2006-02-28  Roman Kennke  <kennke@aicas.com>
29533
29534         * javax/swing/plaf/basic/BasicScrollBarUI.java
29535         (getPreferredSize): Fixed add a fixed space between the buttons
29536         instead of something related to min/max.
29537         (installComponents): Create and install buttons here.
29538         (installDefaults): Don't create buttons here.
29539         * javax/swing/plaf/metal/MetalScrollBarUI.java
29540         (getMinimumThumbSize): Return (0,0) when UI is not yet installed.
29541         (getPreferredSize): New method.
29542
29543 2006-02-28  David Gilbert  <david.gilbert@object-refinery.com>
29544
29545         * examples/gnu/classpath/examples/swing/Demo.java
29546         (mkMenuBar): Removed 'Toggles', 'Checkbox' and 'Radio' actions, 
29547         connected 'Spinner' action to SpinnerDemo, 
29548         (mkCheckbox): Removed,
29549         (mkRadio): Likewise,
29550         (mkSpinner): Likewise,
29551         (mkToggle): Likewise,
29552         (mkButtonBar): Removed 'Toggles', 'Checkbox' and 'Radio' actions,
29553         connected 'Spinner' action to SpinnerDemo.
29554
29555 2006-02-28  Wolfgang Baer  <WBaer@gmx.de>
29556
29557         * javax/print/ServiceUIFactory.java: Added documentation to class.
29558
29559 2006-02-28  Anthony Balkissoon  <abalkiss@redhat.com>
29560
29561         PR classpath/26434
29562         * javax/swing/DefaultListSelectionModel.java:
29563         (addSelectionInterval): Return early if either of the arguments is -1.
29564         (removeSelectionInterval): Likewise.
29565         (setSelectionInterval): Likewise.
29566
29567 2006-02-28  Lillian Angel  <langel@redhat.com>
29568
29569         * javax/swing/text/DefaultFormatter.java
29570         (stringToValue): Added NPE check.
29571
29572 2006-02-28  Roman Kennke  <kennke@aicas.com>
29573
29574         PR classpath/25675
29575         * javax/swing/JList.java
29576         (getPreferredScrollableViewportSize): Restored specified behaviour.
29577         * javax/swing/plaf/metal/MetalFileChooserUI.java
29578         (createList): Set filelist panel's preferredSize, so that it doesn't
29579         get size into infinity for big lists.
29580
29581 2006-02-28  Lillian Angel  <langel@redhat.com>
29582
29583         * javax/swing/ViewportLayout.java
29584         (layoutContainer): Should not extend container to be 
29585         minimum size. Mauve test shows that the preferred size
29586         and the size of the viewport can be set smaller than
29587         the minimum.
29588
29589 2006-02-28  Lillian Angel  <langel@redhat.com>
29590
29591         PR classpath/25675
29592         * javax/swing/JList.java
29593         (getPreferredScrollableViewportSize): Added a check to determine
29594         if orientation is VERTICAL_WRAP. If it is, we should only 
29595         show 3 columns. 
29596
29597 2006-02-28  Lillian Angel  <langel@redhat.com>
29598
29599         PR classpath/26003
29600         * javax/swing/ViewportLayout.java:
29601         Patch submitted by Audrius Meskauskas
29602         (addLayoutComponent): Added documentation.
29603         (removeLayoutComponent): Likewise.
29604         (preferredLayoutSize): Likewise.
29605         (minimumLayoutSize): Likewise.
29606         (layoutContainer): Fixed code, so view is set
29607         to the right position when inside a scrollpane. 
29608
29609 2006-02-28  Anthony Balkissoon  <abalkiss@redhat.com>
29610
29611         * java/math/BigInteger.java:
29612         Committed patch by Rafael: 
29613         developer.classpath.org/pipermail/classpath-patches/
29614         2006-February/000473.html
29615         (signum): Return early 0 if words == null and ival == 0.
29616         (readObject): Handle special case of magnitude.length or signum being
29617         0.
29618         (writeObject): If signum is zero return a zero-sized byte[].
29619
29620 2006-02-28  Lillian Angel  <langel@redhat.com>
29621
29622         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
29623         (create): Initially set the directory to the current working directory.
29624         (setDirectory): Removed else-if. No need for this check.
29625
29626 2006-02-28  Tom Tromey  <tromey@redhat.com>
29627
29628         * .project: Run java builder before header generation.
29629
29630 2006-02-28  Tom Tromey  <tromey@redhat.com>
29631
29632         * gnu/java/util/prefs/MemoryBasedPreferences.java (childrenNamesSpi):
29633         Javadoc fix.
29634         * gnu/java/util/prefs/EventDispatcher.java: New file.
29635         * gnu/java/util/prefs/NodeWriter.java (NodeWriter): Removed.
29636         (NodeWriter): Specify UTF-8.
29637         (writeHeader): Emit DOCTYPE.
29638         * java/util/prefs/Preferences.java (getFactory): Add cause to
29639         exception.
29640         (exportNode): Documented.
29641         (exportSubtree): Likewise.
29642         (importPreferences): Likewise.
29643         * java/util/prefs/NodeChangeEvent.java (readObject): New method.
29644         (writeObject): Likewise.
29645         * java/util/prefs/PreferenceChangeEvent.java (readObject): New method.
29646         (writeObject): Likewise.
29647         * java/util/prefs/AbstractPreferences.java (putBoolean): Use 1.4 code.
29648         (nodeListeners): New field.
29649         (preferenceListeners): Likewise.
29650         (addNodeChangeListener): Implemented.
29651         (addPreferenceChangeListener): Likewise.
29652         (removeNodeChangeListener): Likewise.
29653         (removePreferenceChangeListener): Likewise.
29654         (fire): New methods.
29655         (put): Fire event.
29656         (remove): Likewise.
29657         (purge): Likewise.  Fixed synchronization.
29658         (removeNode): Fixed synchronization.
29659         (getNode): Fire event.
29660         (flushNode): Fixed synchronization.
29661
29662 2006-02-28  Roman Kennke  <kennke@aicas.com>
29663
29664         * javax/swing/text/BranchElement.java
29665         (startOffset): New field.
29666         (endOffset): New field.
29667         (BranchElement): Initialize new fields.
29668         (getEndOffset): Rewritten to possibly return cached values
29669         if element has no children.
29670         (getStartOffset): Rewritten to possibly return cached values
29671         if element has no children.
29672         * javax/swing/text/LeafElement.java
29673         (startDelta): New field.
29674         (endDelta): New field.
29675         (LeafElement): Handle possible delta of start/endOffset when
29676         these parameters lie outside the document range.
29677         (getStartOffset): Handle possible startDelta.
29678         (getEndOffset): Handle possible startDelta.
29679
29680 2006-02-28  Anthony Balkissoon  <abalkiss@redhat.com>
29681
29682         * NEWS: Added line about Unicode 4.0.0 support.
29683
29684 2006-02-28  Roman Kennke  <kennke@aicas.com>
29685
29686         * javax/swing/SwingUtilities.java
29687         (layoutCompoundLabel): Set textIconGap to 0 when icon == null.
29688
29689 2006-03-01  Raif S. Naffah  <raif@swiftdsl.com.au>
29690
29691         * gnu/classpath/debug/Simple1LineFormatter.java: New file.
29692
29693 2006-03-01  Raif S. Naffah  <raif@swiftdsl.com.au>
29694
29695         * gnu/java/security/sig/rsa/RSAPKCS1V1_5SignatureX509Codec.java:
29696         Amended class 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/sig/dss/DSSSignatureX509Codec.java: Amended class
29702         documentation.
29703         (encodeSignature): Emit the ASN.1 raw bytes not the DER-encoded BIT
29704         STRING.
29705         (decodeSignature): Parse the ASN.1 raw bytes of a BIT STRING and not
29706         a BIT STRING construct.
29707         * gnu/java/security/jce/sig/SignatureAdapter.java (log): New field.
29708         (engineVerify): Added logging.
29709
29710 2006-02-28  Roman Kennke  <kennke@aicas.com>
29711
29712         * java/awt/Component.java
29713         (dispatchEventImpl): Let the Toolkit dispatch global events.
29714         * java/awt/Container.java
29715         (dispatchEventImpl): Let the LightweightDispatcher handle events
29716         first.
29717         * java/awt/EventQueue.java
29718         (dispatchEvent): Don't do the global event dispatching here. This
29719         is moved to the Component.
29720         (globalDispatchEvent): Moved this method to Toolkit.
29721         * java/awt/LightweightDispatcher.java
29722         (instances): New field.
29723         (getInstance): New method. Delivers an instance of
29724         LightweightDispatcher.
29725         (LightweightDispatcher): Made default constructor private.
29726         (dispatchEvent): New method. Replaces the eventDispatched method.
29727         This now returns true when the event was actually dispatched.
29728         (eventDispatched): Replaced by dispatchEvent.
29729         (handleMouseEvent): Send MOUSE_CLICKED to the same component that
29730         received the last MOUSE_RELEASED.
29731         * java/awt/Toolkit.java
29732         (Toolkit): Don't register LightweightDispatcher as global event
29733         handler.
29734         (globalDispatchEvent): Moved here from EventQueue.
29735
29736 2006-02-27  David Daney  <ddaney@avtrex.com>
29737
29738         PR classpath/25851
29739         * gnu/java/net/protocol/http/HTTPURLConnection.java (imports) Cleaned
29740         up.
29741         (getRequestProperties): Rewrote.
29742
29743 2006-02-27  David Daney  <ddaney@avtrex.com>
29744
29745         PR classpath/26312
29746         * gnu/java/net/protocol/http/ChunkedInputStream.java (imports): Cleaned
29747         up.
29748         (ChunkedInputStream): Extend InputStream.
29749         (in): New field.
29750         (headers): Moved to top of class.
29751         (constructor): Save referenct to in.
29752         (read(byte[])): Removed method.
29753         (read(byte[], int, int)): Made synchronized and throw IOException
29754         on error parsing chunk header.
29755         (available): New method.
29756         (close): New method.
29757
29758 2006-02-27  David Daney  <ddaney@avtrex.com>
29759
29760         * gnu/java/net/protocol/http/HTTPURLConnection.java
29761         (imports): Cleaned up.
29762         (GetHTTPPropertiesAction): Removed, and moved contents to ...
29763         (constructor): ... Here, using SystemProperties instead of System.
29764         
29765 2006-02-27  Lillian Angel  <langel@redhat.com>
29766
29767         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
29768         (setDirectory): GtkFileChooser requires an absolute directory
29769         name. Added a check to make the directory passed to nativeSetDirectory
29770         is absolute.
29771
29772 2006-02-27  Roman Kennke  <kennke@aicas.com>
29773
29774         * javax/swing/SwingUtilities.java
29775         (computeIntersection): Changed to store result in rect, instead of
29776         creating new Rectangle instances. Fixed API docs accordingly.
29777         (computeUnion): Changed to store result in rect, instead of
29778         creating new Rectangle instances. Fixed API docs accordingly.
29779
29780 2006-02-27  Roman Kennke  <kennke@aicas.com>
29781
29782         * javax/swing/JViewport.java
29783         (static_init): Changed default scrollmode to BLIT.
29784         (paintSimple): Added some clipping to avoid painting problems.
29785         (paintBlit): Added some clipping to avoid painting problems.
29786
29787 2006-02-27  Roman Kennke  <kennke@aicas.com>
29788
29789         * javax/swing/JComponent.java
29790         (rectCache): Made field static to save memory.
29791         (getVisibleRect): Don't use rectCache and create new Rectangle
29792         instance instead.
29793         (repaint(Rectangle)): Directly call RepaintManager.addDirtyRegion().
29794         (repaint(long,int,int,int,int)): Directly call
29795         RepaintManager.addDirtyRegion(). The visibleRect check is now
29796         performed in the RepaintManager.
29797
29798 2006-02-27  Roman Kennke  <kennke@aicas.com>
29799
29800         * javax/swing/RepaintManager.java
29801         (currentRepaintManagers): Made field private.
29802         (rectCache): New field.
29803         (addDirtyRegion): Clip dirty rectangle with visible rectangle of
29804         component. Changed Rectangle handling to avoid unnecessary new
29805         Rectangle instances.
29806         (getOffscreenBuffer): Create buffer with size of the root window.
29807         Respect the maximum buffer size here.
29808         (commitBuffer): Align the regions so that they are inside the buffer
29809         image and inside the clip. This avoids problems with a bug in GTKImage.
29810         Fixed Rectangle handling to avoid creation of new Rectangle instances.
29811
29812 2006-02-26  Andrew John Hughes  <gnu_andrew@member.fsf.org>
29813
29814         * native/fdlibm/e_acos.c,
29815         * native/fdlibm/e_asin.c,
29816         * native/fdlibm/e_atan2.c,
29817         * native/fdlibm/e_cosh.c,
29818         * native/fdlibm/e_exp.c,
29819         * native/fdlibm/e_fmod.c,
29820         * native/fdlibm/e_hypot.c,
29821         * native/fdlibm/e_log.c,
29822         * native/fdlibm/e_log10.c,
29823         * native/fdlibm/e_rem_pio2.c,
29824         * native/fdlibm/e_remainder.c,
29825         * native/fdlibm/e_sinh.c,
29826         * native/fdlibm/e_sqrt.c,
29827         * native/fdlibm/k_cos.c,
29828         * native/fdlibm/k_sin.c,
29829         * native/fdlibm/k_tan.c,
29830         * native/fdlibm/s_atan.c,
29831         * native/fdlibm/s_cbrt.c,
29832         * native/fdlibm/s_ceil.c,
29833         * native/fdlibm/s_copysign.c,
29834         * native/fdlibm/s_cos.c,
29835         * native/fdlibm/s_expm1.c,
29836         * native/fdlibm/s_fabs.c,
29837         * native/fdlibm/s_finite.c,
29838         * native/fdlibm/s_floor.c,
29839         * native/fdlibm/s_log1p.c,
29840         * native/fdlibm/s_rint.c,
29841         * native/fdlibm/s_scalbn.c,
29842         * native/fdlibm/s_sin.c,
29843         * native/fdlibm/s_tan.c,
29844         * native/fdlibm/s_tanh.c:
29845         Fixed to call our macros rather than __HI and __LO.
29846         * native/fdlibm/fdlibm.h:
29847         Reintroduced previous extraction code.
29848         (EXTRACT_WORDS(ix0,ix1,d)): Readded.
29849         (GET_HIGH_WORD(i,d)): Readded.
29850         (GET_LOW_WORD(i,d)): Readded.
29851         (INSERT_WORDS(d,ix0,ix1)): Readded.
29852         (SET_HIGH_WORD(d,i)): Readded.
29853         (SET_LOW_WORD(d,i)): Readded.
29854         * native/jni/gtk-peer/gthread-jni.c:
29855         Use Glib macros to convert integers/pointers portably.
29856         
29857 2006-02-26  Raif S. Naffah  <raif@swiftdsl.com.au>
29858
29859         * java/security/SecureRandom.java (SecureRandom): Use GNU-CRYPTO class
29860         as the fallback SPI.
29861         * gnu/java/security/provider/Gnu.java (run): Replaced mappings with new
29862         ones referencing GNU-CRYPTO classes.
29863         * gnu/java/security/provider/PKIXCertPathValidatorImpl.java
29864         (engineValidate): Use GNU-CRYPTO class.
29865         * gnu/java/security/provider/DiffieHellmanKeyFactoryImpl: Removed.
29866         * gnu/java/security/provider/DiffieHellmanKeyPairGeneratorImpl: Likewise.
29867         * gnu/java/security/provider/DSAKeyFactory: Likewise.
29868         * gnu/java/security/provider/DSAKeyPairGenerator: Likewise.
29869         * gnu/java/security/provider/DSAParameters: Likewise.
29870         * gnu/java/security/provider/DSASignature: Likewise.
29871         * gnu/java/security/provider/EncodedKeyFactory: Likewise.
29872         * gnu/java/security/provider/GnuDHPublicKey: Likewise.
29873         * gnu/java/security/provider/GnuDSAPrivateKey: Likewise.
29874         * gnu/java/security/provider/GnuDSAPublicKey: Likewise.
29875         * gnu/java/security/provider/GnuRSAPrivateKey: Likewise.
29876         * gnu/java/security/provider/GnuRSAPublicKey: Likewise.
29877         * gnu/java/security/provider/MD2withRSA: Likewise.
29878         * gnu/java/security/provider/MD4withRSA: Likewise.
29879         * gnu/java/security/provider/MD5: Likewise.
29880         * gnu/java/security/provider/MD5withRSA: Likewise.
29881         * gnu/java/security/provider/RSA: Likewise.
29882         * gnu/java/security/provider/RSAKeyFactory: Likewise.
29883         * gnu/java/security/provider/SHA: Likewise.
29884         * gnu/java/security/provider/SHA1PRNG: Likewise.
29885         * gnu/java/security/provider/SHA1withRSA: Likewise.
29886         * gnu/javax/crypto/GnuDHPrivateKey: Likewise.
29887
29888 2006-02-26  Raif S. Naffah  <raif@swiftdsl.com.au>
29889
29890         * gnu/java/security/jce/sig/EncodedKeyFactory.java (log): New field.
29891         (engineGeneratePublic): Added logging.
29892         (engineGeneratePrivate): Likewise.
29893         * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java (log): New field.
29894         (encodePublicKey): Added logging.
29895         Clarified in method documentation that params is optional, but is
29896         always NULL if present.
29897         (decodePublicKey): Added logging.
29898         Handle optional NULL element.
29899
29900 2006-02-26  Raif S. Naffah  <raif@swiftdsl.com.au>
29901
29902         * java/util/logging/FileHandler.java: Fixed a javadoc reference.
29903
29904 2006-03-03  Tom Tromey  <tromey@redhat.com>
29905
29906         * java/awt/MenuBar.java (shortcuts): Genericized.
29907
29908 2006-03-03  Tom Tromey  <tromey@redhat.com>
29909
29910         * java/beans/EventSetDescriptor.java (EventSetDescriptor):
29911         Genericized.
29912         (getListenerType): Likewise.
29913         * java/beans/Introspector.java (getBeanInfo): Genericized.
29914         * java/beans/DefaultPersistenceDelegate.java (initialize):
29915         Genericized.
29916
29917 2006-03-01  Anthony Balkissoon  <abalkiss@redhat.com>
29918
29919         * java/math/BigDecimal.java:
29920         (precision): Fixed overflow problem with large numbers.
29921         (longValueExact): New method.
29922         (intValueExact): Likewise.
29923         (byteValueExact): Likewise.
29924         (shortValueExact): Likewise.
29925
29926 2006-03-01  Anthony Balkissoon  <abalkiss@redhat.com>
29927
29928         * java/math/BigDecimal.java:
29929         (remainder(BigDecimal)): New method.
29930         (divideAndRemainder(BigDecimal)): Likewise.
29931         (divideToIntegralValue(BigDecimal)): Likewise.
29932         (floor): New implementation method.
29933
29934 2006-02-28  Anthony Balkissoon  <abalkiss@redhat.com>
29935
29936         * java/math/BigDecimal.java:
29937         (divide(BigDecimal, int, RoundingMode)): New method.
29938         (divide(BigDecimal, RoundingMode)): Likewise.
29939         (divide(BigDecimal, int, int)): Removed incorrect throwing of exception
29940         when the new scale is < 0.
29941         (setScale(int, RoundingMode)): New method.
29942         (ulp): Likewise.
29943
29944 2006-02-27  Anthony Balkissoon  <abalkiss@redhat.com>
29945
29946         * java/math/BigDecimal.java: Replaced occurences of BigInteger.valueOf
29947         with BigInteger.ZERO, BigInteger.ONE, BigInteger.TEN where appropriate.
29948         (add(BigDecimal, MathContext)): New method.
29949         (subtract(BigDecimal, MathContext)): Likewise.
29950         (precision): Fixed to correctly handle BigIntegers with more than 19
29951         digits.
29952         (pow(int, MathContext)): New method.
29953
29954 2006-02-27  Anthony Balkissoon  <abalkiss@redhat.com>
29955
29956         * java/math/BigDecimal.java: Added @throws clause to constructors.
29957         (mathContext): Removed this unneeded field.
29958         (BigDecimal(int, MathContext)): New constructor.
29959         (BigDecimal(BigInteger, int, MathContext)): Likewise.
29960         (multiply(BigDecimal, MathContext)): New method.
29961         (negate(MathContext)): Likewise.
29962         (plus(MathContext)): Likewise.
29963         (numDigitsInLong): Fixed to properly handle negatives.
29964         
29965 2006-02-25  Chris Burdess  <dog@gnu.org>
29966   
29967         * gnu/java/net/CRLFInputStream.java,
29968           gnu/java/net/LineInputStream.java: Streams that use mark
29969           capabilities on the underlying stream do not expose mark
29970           functionality themselves.
29971         * gnu/xml/stream/CRLFReader.java: Fix incorrect end condition when
29972           off > 0.
29973
29974 2006-02-25  Ito Kazumitsu  <kaz@maczuka.gcd.org>
29975
29976         * gnu/regexp/REMatch.java(matchFlags): New int field used as
29977         option flags passed to match methods.
29978         (MF_FIND_ALL): New flag.
29979         * gnu/regexp/RETokenOneOf.java(matchP): Unless MF_FIND_ALL is set,
29980         do not try other possibilties once a match is found.
29981         * gnu/regexp/RETokenRepeated.java(findDoables): Set MF_FIND_ALL
29982         so that all possibilities can be found.
29983         (match): Rewritten using new methods matchMinimum and _match.
29984         (_match): New method which performs a depth-first recursive search.
29985         (matchMinimum): New method.
29986         (initVisited), (visitedContains), (addVisited): New methods for
29987         manipulating an array of icharacter positions which _match has
29988         already visited.
29989
29990 2006-02-24  Anthony Balkissoon  <abalkiss@redhat.com>
29991
29992         * java/math/BigDecimal.java:
29993         (BigDecimal(long, MathContext)): New constructor.
29994         (BigDecimal(BigInteger, MathContext)): Likewise.
29995         (BigDecimal(String, MathContext)): Likewise.
29996         (BigDecimal(double, MathContext)): Likewise.
29997         (round): Fixed a typo where the precision field was used instead of a
29998         call to the precision method, and also store the new precision in the
29999         returned BigDecimal.
30000         (abs(MathContext)): New method.
30001
30002 2006-02-24  Anthony Balkissoon  <abalkiss@redhat.com>
30003
30004         * java/math/BigDecimal.java
30005         (toBigInteger): Fixed problem where this method couldn't handle 
30006         negative values for scale.
30007         (toBigIntegerExact): New method.
30008         (stripTrailingZeros): Likewise.
30009
30010 2006-02-24  David Daney  <ddaney@avtrex.com>
30011
30012         PR classpath/26082
30013         * gnu/java/net/protocol/http/HTTPConnection.java (pool): Changed to
30014         type Pool.
30015         (Pool): New inner class.
30016         (timeLastUsed): New field.
30017         (setPool): Changed parameter type to Pool.
30018         (release): Moved pool management logic to new class Pool.
30019         * gnu/java/net/protocol/http/HTTPURLConnection.java (connectionPool):
30020         Removed.
30021         (maxConnections) : Removed.
30022         (GetHTTPPropertiesAction.run): Don't initialize maxConnections.
30023         (getConnection):  Moved pool management logic to HTTPConnection.Pool.
30024   
30025 2006-02-24  Lillian Angel  <langel@redhat.com>
30026   
30027         * java/awt/Container.java:
30028         Added new field. True if Container has been cleared and
30029         heavyweights need to be repainted.
30030         (paint): Fixed comment. Fixed to use backCleared and 
30031         reset backCleared.
30032         (update): Set backCleared to true after the background
30033         of the container has been cleared.
30034   
30035 2006-02-24  Lillian Angel  <langel@redhat.com>
30036   
30037         * java/awt/TextField.java
30038         (addNotify): Added call to super.
30039   
30040 2006-02-24  Lillian Angel  <langel@redhat.com>
30041   
30042         * java/awt/Component.java
30043         (reshape): Reverted last patch. Should have check here.
30044         (addNotify): Added check. If parent is lightweight, then
30045         initialize listener on the parent.
30046         (HeavyweightInLightweightListener): New class.
30047   
30048 2006-02-24  Roman Kennke  <kennke@aicas.com>
30049   
30050         * javax/swing/plaf/basic/BasicComboPopup.java
30051         (show): Register the popup with the autocloser after it has been
30052         opened completely, by putting the registration on the eventqueue.
30053   
30054 2006-02-24  Andrew John Hughes  <gnu_andrew@member.fsf.org>
30055   
30056         * gnu/java/security/prng/BasePRNG.java:
30057         (clone()): Added cast of buffer to byte[].
30058         * gnu/javax/crypto/mac/TMMH16.java:
30059         (clone()): Fixed casting of cloned arrays.
30060         * native/fdlibm/fdlibm.h:
30061         Added missing defines from old fdlibm.h needed by Darwin.
30062         (GET_FLOAT_WORD(i,d)): Re-added.
30063         (SET_FLOAT_WORD(d,i)): Re-added.
30064         
30065 2006-02-24  Roman Kennke  <kennke@aicas.com>
30066   
30067         * java/awt/Container.java:
30068         (dispatcher): Removed field.
30069         (dispatchEventImpl): Removed lightweight dispatching.
30070         (addNotifyContainerChildren): Removed LightweightDispatcher
30071         handling.
30072         (LightweightDispatcher): Removed class.
30073         * java/awt/LightweightDispatcher.java: New class.
30074         * java/awt/Toolkit.java
30075         (Toolkit): Install LightweightDispatcher in global listener
30076         array.
30077   
30078 2006-02-24  Chris Burdess  <dog@gnu.org>
30079   
30080         Fixes PR 26324
30081         * gnu/java/net/CRLFInputStream.java: Fix incorrect end condition when
30082           off > 0.
30083   
30084 2006-02-24  Andrew John Hughes  <gnu_andrew@member.fsf.org>
30085   
30086         * NEWS: Mentions the VMMath runtime changes.
30087         * doc/vmintegration.texinfo: Updated to include
30088         VMMath.
30089   
30090 2006-02-24  Roman Kennke  <kennke@aicas.com>
30091   
30092         * javax/swing/plaf/basic/BasicLookAndFeel.java
30093         (PopupHelper.autoClosePopups): New field.
30094         (PopupHelper.mousePressed): Also autoclose any registered popups.
30095         (PopupHelper.registerForAutoClose): New method.
30096         (PopupHelper.autoClosePopups): New method.
30097         (popupHelper): Changed type of field to PopupHelper.
30098         (registerForAutoClose): New method.
30099         * javax/swing/plaf/basic/BasicComboPopup.java
30100         (show): Register this popup for autoclosing.
30101   
30102 2006-02-24  Raif S. Naffah  <raif@swiftdsl.com.au>
30103   
30104         * gnu/javax/crypto/mac/TMMH16.java (clone): New method.
30105         * gnu/java/security/prng/MDGenerator.java (clone): New method.
30106         * gnu/java/security/prng/BasePRNG.java (clone): Clone buffer.
30107   
30108 2006-02-24  Roman Kennke  <kennke@aicas.com>
30109   
30110         Reported by Ingo Proetel <proetel@aicas.com>
30111         * java/util/logging/LogManager.java
30112         (addLogger): Search the parent loggers for log level
30113         configuration and inherit that.
30114         (readConfiguration): Provide minimal default configuration
30115         if no configuration can be found otherwise.
30116
30117 2006-02-23  Anthony Balkissoon  <abalkiss@redhat.com>
30118
30119         * java/math/BigDecimal.java:
30120         (toString): Fixed a problem where the negative sign was being displayed
30121         twice in the exponent.
30122         (toEngineeringString): New method.
30123         (toPlainString): Likewise.
30124         (pow): Likewise.
30125
30126 2006-02-23  Anthony Balkissoon  <abalkiss@redhat.com>
30127
30128         * java/math/BigDecimal.java:
30129         (toString): Rewrote this method to behave as specified.  Added API
30130         comments to explain behaviour.
30131         (scaleByPowerOfTen): New method.
30132
30133 2006-02-23  Roman Kennke  <kennke@aicas.com>
30134   
30135         * javax/swing/JRootPane.java
30136         (isOptimizedDrawingEnabled): Implemented to return true
30137         when the glassPane is not visible.
30138   
30139 2006-02-23  Roman Kennke  <kennke@aicas.com>
30140   
30141         * javax/swing/plaf/basic/BasicLookAndFeel.java
30142         (PopupHelper): New inner class.
30143         (popupHelper): New field.
30144         (initialize): New method.
30145         (uninitialize): New method.
30146         * javax/swing/plaf/basic/BasicPopupMenuUI.java
30147         (mouseInputListener): Removed field.
30148         (PopupMenuHandler.popupMenuWillBecomeInvisible): Removed
30149         handling of GlassPane.
30150         (PopupMenuHandler.popupMenuWillBecomeVisible): Removed
30151         handling of GlassPane.
30152         (MouseInputHandler): Removed class.
30153
30154 2006-02-23  Roman Kennke  <kennke@aicas.com>
30155
30156         * java/awt/AWTEvent.java
30157         (eventIdToMask): New utility method.
30158         * java/awt/EventQueue.java
30159         (dispatchEvent): Also globally dispatch events via the toolkit.
30160         (globalDispatchEvent): New method.
30161         * java/awt/Toolkit.java
30162         (awtEventListeners): New field.
30163         (Toolkit()): Initialize new field.
30164         (createComponent): Create GLightweightPeer here.
30165         (addAWTEventListener): Implemented and documented.
30166         (removeAWTEventListener): Implemented and documented.
30167         (getAWTEventListeners): Implemented and documented both method
30168         variants.
30169         * java/awt/event/AWTEventListenerProxy.java
30170         (eventDispatched): Don't filter events here.
30171
30172 2006-02-23  Chris Burdess  <dog@gnu.org>
30173
30174         Fixes PR 26410
30175         * gnu/xml/dom/DomDocumentBuilderFactory.java,
30176           gnu/xml/dom/JAXPFactory.java,
30177           gnu/xml/libxmlj/dom/GnomeDocumentBuilderFactory.java,
30178           javax/xml/parsers/DocumentBuilderFactory.java: Add and trivially
30179           implement DocumentBuilderFactory.get/setFeature methods.
30180
30181 2006-02-23  Lillian Angel  <langel@redhat.com>
30182
30183         * gnu/java/awt/peer/GLightweightPeer.java
30184         (repaint): Scott's proposed fix. Send repaint to the
30185         component's parent.
30186         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
30187         (setBounds): Removed next_parent, not needed. Removed
30188         lightweightChild, we always need to compensate for the
30189         menu bar's height.
30190         * java/awt/Component.java
30191         (setBounds): Removed check. Caused lots of problems, because some
30192         components were not being invalidated. Components should be
30193         invalidated when they are resized or moved, and in some cases,
30194         when a parent is resized/moved, the components do not know
30195         about it and do not adjust.
30196         * java/awt/Graphics.java
30197         (hitClip): Scott's proposed fix. Added check to handle a 
30198         null clip.
30199   
30200 2006-02-23  Wolfgang Baer  <WBaer@gmx.de>
30201   
30202         * javax/print/attribute/standard/MediaSize.java: 
30203         (media): Field renamed to mediaName for serialization.
30204         (MediaSize): Adapted to new fieldname.
30205         (getMediaSizeName): Likewise.
30206         * javax/print/attribute/HashAttributeSet.java: 
30207         (interfaceName): Field renamed to myInterface for serialization.
30208         (HashAttributeSet): Adapted to the new fieldname.
30209         (add): Likewise.
30210         (addAll): Likewise.
30211         (addInternal): Likewise.
30212         (attributeMap): Made transient.
30213         (readObject): New serialization method.
30214         (writeObject): Likewise.
30215         * javax/print/attribute/AttributeSetUtilities.java: 
30216         (SynchronizedAttributeSet.set): Field renamed to attrset for serialization.
30217         (SynchronizedAttributeSet.add): Adapted to the new fieldname.
30218         (SynchronizedAttributeSet.addAll): Likewise.
30219         (SynchronizedAttributeSet.clear): Likewise.
30220         (SynchronizedAttributeSet.containsKey): Likewise.
30221         (SynchronizedAttributeSet.containsValue): Likewise.     
30222         (SynchronizedAttributeSet.equals): Likewise.
30223         (SynchronizedAttributeSet.get): Likewise.
30224         (SynchronizedAttributeSet.hashCode): Likewise.  
30225         (SynchronizedAttributeSet.isEmpty): Likewise.
30226         (SynchronizedAttributeSet.remove): Likewise.    
30227         (SynchronizedAttributeSet.size): Likewise.      
30228         (SynchronizedAttributeSet.toArray): Likewise.   
30229         (UnmodifiableAttributeSet.set): Field renamed to attrset for serialization.
30230         (UnmodifiableAttributeSet.add): Adapted to the new fieldname.
30231         (UnmodifiableAttributeSet.addAll): Likewise.
30232         (UnmodifiableAttributeSet.clear): Likewise.
30233         (UnmodifiableAttributeSet.containsKey): Likewise.
30234         (UnmodifiableAttributeSet.containsValue): Likewise.     
30235         (UnmodifiableAttributeSet.equals): Likewise.
30236         (UnmodifiableAttributeSet.get): Likewise.
30237         (UnmodifiableAttributeSet.hashCode): Likewise.  
30238         (UnmodifiableAttributeSet.isEmpty): Likewise.
30239         (UnmodifiableAttributeSet.remove): Likewise.    
30240         (UnmodifiableAttributeSet.size): Likewise.      
30241         (UnmodifiableAttributeSet.toArray): Likewise.   
30242         * javax/print/attribute/standard/MediaPrintableArea.java: 
30243         (width): Field renamed to w for serialization.
30244         (height): Field renamed to h for serialization. 
30245         (MediaPrintableArea): Adapted to the new fieldnames.    
30246         (MediaPrintableArea): Likewise.
30247         (equals): Likewise.
30248         (hashCode): Likewise.
30249         (getHeight): Likewise.
30250         (getWidth): Likewise.
30251   
30252 2006-02-23  Andrew John Hughes  <gnu_andrew@member.fsf.org>
30253   
30254         * include/java_lang_VMMath.h:
30255         (Java_java_lang_VMMath_cbrt(JNIEnv*,jclass,jdouble)): Added.
30256         (Java_java_lang_VMMath_cosh(JNIEnv*,jclass,jdouble)): Added.
30257         (Java_java_lang_VMMath_expm1(JNIEnv*,jclass,jdouble)): Added.
30258         (Java_java_lang_VMMath_hypot(JNIEnv*,jclass,jdouble,jdouble)): Added.
30259         (Java_java_lang_VMMath_log10(JNIEnv*,jclass,jdouble)): Added.
30260         (Java_java_lang_VMMath_log1p(JNIEnv*,jclass,jdouble)): Added.
30261         (Java_java_lang_VMMath_sinh(JNIEnv*,jclass,jdouble)): Added.
30262         (Java_java_lang_VMMath_tanh(JNIEnv*,jclass,jdouble)): Added.
30263         * java/lang/Math.java:
30264         (cbrt(double)): Implemented.
30265         (cosh(double)): Implemented.
30266         (expm1(double)): Implemented.
30267         (hypot(double,double)): Implemented.
30268         (log10(double)): Implemented.
30269         (log1p(double)): Implemented.
30270         (signum(double)): Implemented.
30271         (signum(float)): Implemented.
30272         (sinh(double)): Implemented.
30273         (tanh(double)): Implemented.
30274         * native/fdlibm/Makefile.am:
30275         Added new files from fdlibm 5.3.
30276         * native/fdlibm/e_acos.c,
30277         * native/fdlibm/e_asin.c,
30278         * native/fdlibm/e_atan2.c,
30279         * native/fdlibm/e_exp.c,
30280         * native/fdlibm/e_fmod.c,       
30281         * native/fdlibm/e_log.c,
30282         * native/fdlibm/e_rem_pio2.c,
30283         * native/fdlibm/e_remainder.c,
30284         * native/fdlibm/e_scalb.c,
30285         * native/fdlibm/e_sqrt.c,
30286         * native/fdlibm/k_cos.c,
30287         * native/fdlibm/k_rem_pio2.c,
30288         * native/fdlibm/k_sin.c,
30289         * native/fdlibm/k_tan.c,
30290         * native/fdlibm/s_atan.c,
30291         * native/fdlibm/s_ceil.c,
30292         * native/fdlibm/s_copysign.c,
30293         * native/fdlibm/s_cos.c,
30294         * native/fdlibm/s_fabs.c,
30295         * native/fdlibm/s_finite.c,
30296         * native/fdlibm/s_floor.c,
30297         * native/fdlibm/s_rint.c,
30298         * native/fdlibm/s_scalbn.c,
30299         * native/fdlibm/s_sin.c,
30300         * native/fdlibm/s_tan.c,
30301         * native/fdlibm/w_acos.c,
30302         * native/fdlibm/w_asin.c,
30303         * native/fdlibm/w_atan2.c,
30304         * native/fdlibm/w_acos.c,
30305         * native/fdlibm/w_exp.c,
30306         * native/fdlibm/w_fmod.c,
30307         * native/fdlibm/w_log.c,
30308         * native/fdlibm/w_pow.c,
30309         * native/fdlibm/w_remainder.c,
30310         * native/fdlibm/w_sqrt.c:
30311         Updated to fdlibm 5.3.
30312         * native/fdlibm/e_cosh.c,
30313         * native/fdlibm/e_hypot.c,
30314         * native/fdlibm/e_log10.c,
30315         * native/fdlibm/e_sinh.c,
30316         * native/fdlibm/s_cbrt.c,
30317         * native/fdlibm/s_expm1.c,
30318         * native/fdlibm/s_log1p.c,
30319         * native/fdlibm/s_tanh.c,
30320         * native/fdlibm/w_cosh.c,
30321         * native/fdlibm/w_hypot.c,
30322         * native/fdlibm/w_log10.c,
30323         * native/fdlibm/w_sinh.c:
30324         Imported from fdlibm 5.3.
30325         * native/fdlibm/fdlibm.h:
30326         Imported from fdlibm 5.3 with Classpath additions.
30327         * native/fdlibm/namespace.h:
30328         Updated from new math_symbols file.
30329         * native/jni/java-lang/java_lang_VMMath.c:
30330         (Java_java_lang_VMMath_cbrt(JNIEnv*,jclass,jdouble)): Implemented.
30331         (Java_java_lang_VMMath_cosh(JNIEnv*,jclass,jdouble)): Implemented.
30332         (Java_java_lang_VMMath_expm1(JNIEnv*,jclass,jdouble)): Implemented.
30333         (Java_java_lang_VMMath_hypot(JNIEnv*,jclass,jdouble,jdouble)):
30334         Implemented.
30335         (Java_java_lang_VMMath_log10(JNIEnv*,jclass,jdouble)): Implemented.
30336         (Java_java_lang_VMMath_log1p(JNIEnv*,jclass,jdouble)): Implemented.
30337         (Java_java_lang_VMMath_sinh(JNIEnv*,jclass,jdouble)): Implemented.
30338         (Java_java_lang_VMMath_tanh(JNIEnv*,jclass,jdouble)): Implemented.
30339         * scripts/math_symbols:
30340         Added tanh, expm1, log10 and log1p.
30341         * vm/reference/java/lang/VMMath.java:
30342         (cbrt(double)): Implemented.
30343         (cosh(double)): Implemented.
30344         (expm1(double)): Implemented.
30345         (hypot(double,double)): Implemented.
30346         (log10(double)): Implemented.
30347         (log1p(double)): Implemented.
30348         (sinh(double)): Implemented.
30349         (tanh(double)): Implemented.
30350         
30351 2006-02-23  Wolfgang Baer  <WBaer@gmx.de>
30352
30353         * javax/print/DocFlavor.java: Added documentation all over.
30354         (BYTE_ARRAY.TEXT_HTML_HOST): Include host charset encoding to mimetype.
30355         (BYTE_ARRAY.TEXT_PLAIN_HOST): Likewise.
30356         (INPUT_STREAM.TEXT_HTML_HOST): Likewise.
30357         (INPUT_STREAM.TEXT_PLAIN_HOST): Likewise.
30358         (URL.TEXT_HTML_HOST): Likewise.
30359         (URL.TEXT_PLAIN_HOST): Likewise.
30360         (hostEncoding): Initialize with host default charset encoding.
30361         (mediaSubtype): Made transient.
30362         (mediaType): Likewise.
30363         (params): Made transient. Changed type to TreeMap.
30364         (className): Removed, changed to myClassName.
30365         (myClassName): New field as defined in serialized form.
30366         (DocFlavor): Adapted to new variable types, names.
30367         (parseMimeType): Reimplemented.
30368         (getParameter): Search with lowercase name.
30369         (getRepresentationClassName): Adapted to changed variable name.
30370         (hashCode): Likewise.
30371         (toString): Reimplemented.
30372         (readObject): New method for serialization.
30373         (writeObject): Likewise.
30374   
30375 2006-02-23  Roman Kennke  <kennke@aicas.com>
30376   
30377         * javax/swing/RepaintManager.java
30378         (commitBuffer): Clip the repaint area with the current clip.
30379   
30380 2006-02-23  Raif S. Naffah  <raif@swiftdsl.com.au>
30381   
30382         * gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java
30383         (DEFAULT_PRIME_SIZE): Made public.
30384         (DEFAULT_EXPONENT_SIZE): Likewise.
30385         (setup): Handle DHParameterSpec as well.
30386         * gnu/javax/crypto/key/dh/GnuDHKey.java (getEncoded): Return
30387         defaultFormat instead of Raw.
30388         * gnu/javax/crypto/key/dh/DHKeyPairX509Codec.java
30389         (checkIsConstructed): Removed.
30390         (checkIsBigInteger): Likewise.
30391         (decodePublicKey): Use DerUtil.
30392         * gnu/javax/crypto/key/dh/DHKeyPairPKCS8Codec.java
30393         (checkIsConstructed): Removed.
30394         (checkIsBigInteger): Likewise.
30395         (decodePrivateKey): Use DerUtil.
30396         * gnu/javax/crypto/jce/GnuCrypto.java (run): Updated mapping of
30397         KeyAgreement.DH.
30398         Added mappings for AlgorithmParameters.DH and
30399         AlgorithmParameterGenerator.DH.
30400         * gnu/javax/crypto/jce/DiffieHellmanImpl.java: New file.
30401         * gnu/javax/crypto/jce/sig/DHParametersGenerator.java: Likewise.
30402         * gnu/javax/crypto/jce/sig/DHParameters.java: Likewise.
30403         * gnu/javax/crypto/jce/sig/DHKeyFactory.java (engineGeneratePrivate):
30404         Return result.
30405         (engineGeneratePublic): Likewise.
30406         * gnu/java/security/util/DerUtil.java: New file.
30407         * gnu/java/security/sig/rsa/RSASignatureFactory.java (getNames):
30408         Include only valid RSA PKCS1 (v1.5) signature names.
30409         * gnu/java/security/sig/rsa/RSAPKCS1V1_5SignatureX509Codec.java
30410         (RSAPKCS1V1_5SignatureX509Codec): Removed.
30411         (checkIsConstructed): Likewise.
30412         * gnu/java/security/sig/dss/DSSSignatureX509Codec.java
30413         (checkIsConstructed): Removed.
30414         (checkIsBigInteger): Likewise.
30415         (decodeSignature): Use DerUtil.
30416         * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java
30417         (checkIsConstructed): Removed.
30418         (checkIsBigInteger): Likewise.
30419         (decodePublicKey): Use DerUtil.
30420         * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java
30421         (checkIsConstructed): Removed.
30422         (checkIsBigInteger): Likewise.
30423         (decodePrivateKey): Use DerUtil.
30424         * gnu/java/security/key/dss/DSSKeyPairX509Codec.java
30425         (checkIsConstructed): Removed.
30426         (checkIsBigInteger): Likewise.
30427         (decodePublicKey): Use DerUtil.
30428         * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java
30429         (checkIsConstructed): Removed.
30430         (checkIsBigInteger): Likewise.
30431         (decodePrivateKey): Use DerUtil.
30432         * gnu/java/security/key/dss/DSSKeyPairGenerator.java
30433         (DEFAULT_MODULUS_LENGTH): Made it public.
30434         * gnu/java/security/key/dss/DSSKey.java (getEncoded): Return
30435         defaultFormat instead of Raw.
30436         * gnu/java/security/jce/sig/DSSParametersGenerator.java: New file.
30437         * gnu/java/security/jce/sig/DSSParameters.java: Likewise..
30438         * gnu/java/security/jce/sig/DSSKeyFactory.java (engineGeneratePrivate):
30439         Return result.
30440         (engineGeneratePublic): Likewise.
30441         * gnu/javax/crypto/DiffieHellmanImpl: Removed.
30442
30443 2006-02-22  Anthony Balkissoon  <abalkiss@redhat.com>
30444
30445         * java/math/BigDecimal.java:
30446         (BigDecimal(char[], int, int, MathContext)): New constructor.
30447         (BigDecimal(char[], MathContext)): Likewise.
30448         (BigDecimal(char[])): Likewise.
30449         (BigDecimal(char[], int, int)): Likewise.
30450         (BigDecimal(String)): Fixed handling of exponent and scale.
30451
30452 2006-02-22  Mark Wielaard  <mark@klomp.org>
30453
30454         * java/awt/Checkbox.java (setState): Check that state actually changed
30455         before calling peer.
30456         (dispatchEventImpl): Set new state if ItemEvent.
30457         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java (changing): Removed.
30458         (create): Set currentState.
30459         (setState): Make synchronized, check and set currentState before
30460         calling gtkToggleButtonSetActive.
30461         (postItemEvent): Make synchronized, check and set currentState before
30462         posting ItemEvent.
30463         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
30464         (postItemEventID): Method now takes boolean.
30465         (item_toggled_cb): Likewise.
30466   
30467 2006-02-22  Robert Schuster  <robertschuster@fsfe.org>
30468   
30469         * javax/swing/text/DefaultHighlighter.java:
30470         (changeHighlight): Added code to minimize the damaged area.
30471   
30472 2006-02-22  Robert Schuster  <robertschuster@fsfe.org>
30473   
30474         * javax/swing/text/PlainView.java:
30475         (getPreferredSpan): Added missing 'break'.
30476         statement which corrects an unwanted fall through.
30477         (updateDamage): Update maxLineLength correctly when text is
30478         removed, call preferenceChanged accordingly.
30479         (viewToModel): Restrict line number to be within 0 and the
30480         number of elements-1.
30481   
30482 2006-02-22  Robert Schuster  <robertschuster@fsfe.org>
30483   
30484         * javax/swing/text/Utilities.java:
30485         (getPositionAbove): Prefer first value by changing comparison
30486         from < to <=.
30487         (getPositionBelow): Dito.
30488   
30489 2006-02-22  Robert Schuster  <robertschuster@fsfe.org>
30490   
30491         * javax/swing/text/DefaultEditorKit.java: Added checks and fallback
30492         behavior when magic caret position is null.
30493   
30494 2006-02-22  Roman Kennke  <kennke@aicas.com>
30495   
30496         * javax/swing/JTextField.java
30497         (isValidateRoot): New method.
30498   
30499 2006-02-22  Roman Kennke  <kennke@aicas.com>
30500   
30501         * javax/swing/JEditorPane.java
30502         (getPreferredSize): Rewritten to behave like the reference impl.
30503         (getScrollableTracksViewportWidth): Likewise.
30504         (getScrollableTracksViewportHeight): Likewise.
30505   
30506 2006-02-22  Roman Kennke  <kennke@aicas.com>
30507   
30508         * javax/swing/RepaintManager.java
30509         (addInvalidComponent): Also consider the component itself.
30510   
30511 2006-02-22  Mark Wielaard  <mark@klomp.org>
30512   
30513         * javax/swing/text/html/HTMLDocument.java (createDefaultRoot): Fully
30514         qualify AbstractDocument.AttributeContext.
30515         (blockOpen): Likewise.
30516   
30517 2006-02-21  Anthony Balkissoon  <abalkiss@redhat.com>
30518
30519         * java/math/BigDecimal.java:
30520         (mathContext): New field.
30521         (precision): Likewise.
30522         (BigDecimal(int)): New constructor.
30523         (BigDecimal(long)): Likewise.
30524         (BigDecimal(BigInteger)): Added API docs.
30525         (BigDecimal(BigInteger, int)): Removed incorrect NumberFormatException
30526         and added API docs.
30527         (plus): New method.
30528         (round): Likewise.
30529         (precision): Likewise.
30530         (valueOf): Likewise.
30531         (numDigitsInLong): New implementation method.
30532
30533 2006-02-21  Anthony Balkissoon  <abalkiss@redhat.com>
30534
30535         * java/math/MathContext.java: New class.
30536         * java/math/RoundingMode: New Enum.
30537
30538 2006-02-21  Mark Wielaard  <mark@klomp.org>
30539   
30540         * java/awt/Component.java (translateEvent): Translate
30541         AdjustmentEvents to 1.0 Events.
30542         * java/awt/Scrollbar.java (dispatchEventImpl): Set valueIsAdjusting.
30543         Call setValue() before processing event.
30544         * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java (setValues): Check
30545         whether we are currently changing and being called back from the
30546         Scrollbar component.
30547         (setBarValues): New native method.
30548         (postAdjustmentEvent): Mark AdjustmentEvent as user generated.
30549         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollbarPeer.c
30550         (Java_gnu_java_awt_peer_gtk_GtkScrollbarPeer_setValues): Renamed to
30551         Java_gnu_java_awt_peer_gtk_GtkScrollbarPeer_setBarValue
30552         * include/gnu_java_awt_peer_gtk_GtkScrollbarPeer.h: Regenerated.
30553   
30554 2006-02-21  Roman Kennke  <kennke@aicas.com>
30555   
30556         * javax/swing/text/View.java
30557         (setParent): Set child parent to null when disconnecting
30558         the view from the View hierarchy.
30559   
30560 2006-02-21  Wolfgang Baer  <WBaer@gmx.de>
30561   
30562         * javax/print/StreamPrintService.java: Added and enhanced documentation.
30563   
30564 2006-02-21  Roman Kennke  <kennke@aicas.com>
30565   
30566         * javax/swing/text/WrappedPlainView.java
30567         (calculateBreakPosition): Changed to use the view's allocation instead
30568         of the container's preferredSize.
30569   
30570 2006-02-21  Wolfgang Baer  <WBaer@gmx.de>
30571   
30572         * java/awt/CardLayout.java:
30573         (first): Updated api documentation.
30574         (last): Likewise.
30575         (next): Likewise.
30576         (previous): Likewise.
30577         (show): Clarified api docs. Return if name is null. Throw
30578         IllegalArgumentException if layout of container is not this.
30579         (gotoComponent): Updated api documentation. Throw
30580         IllegalArgumentException if layout of container is not this.
30581   
30582 2006-02-21  Roman Kennke  <kennke@aicas.com>
30583   
30584         * javax/swing/text/NavigationFilter.java
30585         (getNextVisualPositionFrom): New method.
30586   
30587 2006-02-21  Roman Kennke  <kennke@aicas.com>
30588   
30589         * javax/swing/plaf/basic/BasicTextUI.java
30590         (RootView.setView): Call setParent() on the view with this as
30591         argument instead of null.
30592         (setView): Don't set root view's parent here.
30593   
30594 2006-02-21  Roman Kennke  <kennke@aicas.com>
30595   
30596         * javax/swing/text/AbstractDocument.java
30597         (AbstractElement.getAttribute): Use getResolveParent() to fetch
30598         the resolving parent.
30599         (AbstractElement.getResolveParent): Fixed to handle possible null
30600         parent.
30601         * javax/swing/text/BoxView.java
30602         (childReqs): New field.
30603         (paint): Added debugging code (commented out).
30604         (getPreferredSpan): Rewritten to use new update* methods.
30605         (getMaximumSpan): Rewritten to return Integer.MAX_VALUE
30606         for the minor axis and preferredSpan for the major axis.
30607         (getMinimumSpan): Rewritten to use new update* methods.
30608         (baselineRequirements): Rewritten to avoid creation of 
30609         unnecessary SizeRequirements objects.
30610         (baselineLayout): Rewritten to use new update* methods.
30611         (calculateMajorAxisRequirements): Rewritten to avoid creation of 
30612         unnecessary SizeRequirements objects.
30613         (calculateMinorAxisRequirements): Rewritten to avoid creation of 
30614         unnecessary SizeRequirements objects.
30615         (layout): Some robustness fixes for the layout. Turned AssertionErrors
30616         into warnings.
30617         (layoutMajorAxis): Rewritten to use new update* methods.
30618         (layoutMinorAxis): Rewritten to use new update* methods.
30619         (getChildRequirements): Replaced by the update* methods.
30620         (getAlignment): Use update* methods.
30621         (updateChildRequirements): New methods. Updates the child requirements
30622         if necessary.
30623         (updateRequirements): New methods. Updates the BoxView requirements
30624         if necessary.
30625         * javax/swing/text/DefaultStyledDocument.java
30626         (ElementBuffer.insert): Added warning for illegal replacement operation.
30627         * javax/swing/text/FlowView.java
30628         (layoutRow): When offset doesn't change, return -1.
30629         (LogicalView): Now subclasses BoxView.
30630         (loadChildren): Let the CompositeView.setParent() load the children
30631         of the logicalView.
30632         (calculateMinorRequirements): New overridden method.
30633         * javax/swing/text/GlyphView.java
30634         (DefaultGlyphPainter.paint): Fixed typo.
30635         (startOffset): Made field private.
30636         (endOffset): Made field private.
30637         (paint): Call getStartOffset() and getEndOffset() instead of the
30638         element methods.
30639         (isStrikeThrough): Fixed typo.
30640         (breakView): Use Utilities.getBreakLocation() to determine best
30641         break location.
30642         (changedUpdate): Call preferencedChange on this instead of parent.
30643         (removeUpdate): Call preferencedChange on this instead of parent.
30644         * javax/swing/text/ParagraphView.java
30645         (Row.getAlignment): For Y_AXIS, call super.
30646         (getAlignment): Likewise.
30647         * javax/swing/text/Utilities.java
30648         (getBreakLocation): Set Segment object directly on the BreakIterator.
30649         * javax/swing/text/html/HTML.java
30650         (Attribute): Made class non-serializable and final as specified.
30651         (Attribute(String)): Made constructor private.
30652         (Attribute.compareTo): Removed.
30653         (Attribute.equals): Removed.
30654         (Attribute.hashCode): Removed.
30655         (Tag): Made class non-comparable and non-serializable as specified.
30656         (Tag.compareTo): Removed.
30657         (Tag.equals): Removed.
30658         (Tag.hashCode): Removed.
30659         * javax/swing/text/html/HTMLDocument.java
30660         (HTMLReader.blockOpen): Add tag as name attribute to element.
30661         * javax/swing/text/html/HTMLEditorKit.java
30662         (HTMLFactory.create): Create NullView for <head> tags, removed unused
30663         fallback.
30664         * javax/swing/text/html/InlineView.java
30665         (setPropertiesFromAttributes): Call super.
30666         * javax/swing/text/html/NullView.java: New class.
30667   
30668 2006-02-21  Roman Kennke  <kennke@aicas.com>
30669   
30670         PR classpath/26368
30671         * javax/swing/text/GapContent.java
30672         (GapContentPosition): Made class private.
30673         (InsertUndo): Made class private.
30674         (UndoRemove): Made class private.
30675         (WeakPositionComparator): New inner class.
30676         (positions): Made field private.
30677         (createPosition): Clear up GC'ed positions before creating
30678         a new one. Store position as WeakReference.
30679         (getPositionsInRange): Changed to handle WeakReference
30680         positions.
30681         (setPositionsInRange): Changed to handle WeakReference
30682         positions.
30683         (adjustPositionsInRange): Changed to handle WeakReference
30684         positions.
30685         (dumpPositions): Handle WeakReference positions.
30686         (clearPositionReferences): New method.
30687   
30688 2006-02-21  Robert Schuster  <robertschuster@fsfe.org>
30689   
30690         * javax/swing/plaf/basic/BasicTextUI.java:
30691         (paint): Remove unneccessary part of the if-expression.
30692         (damageRange): Added case where the range spans multiple lines.
30693         * javax/swing/text/DefaultCaret.java:
30694         (clearHighlight): New method.
30695         (handleHighlight): Removed unneccessary part of the if-expression.
30696         (setDot): Use clearHighlight method.
30697         * javax/swing/text/DefaultHighlighter.java: Use ArrayList instead
30698         of Vector.
30699         (paint): Prevented calling size() on every loop iteration, fixed
30700         calculation of allocation area bounds.
30701         (getHighlights): Implemented.
30702         (removeHighlight): Mark damaged area in textcomponent.
30703         (addHighlight): Mark damaged area in textcomponent.
30704         (changeHighlight): Mark damaged area in textcomponent.
30705         (DefaultHighlighter.HighlightEntry): Made it a real
30706         Highlighter.Highlight implementation.
30707         (DefaultHighlighter.DefaultHighlightPainter.paint): Fixed
30708         calculations.
30709
30710 2006-02-20  Stuart Ballard  <stuart.a.ballard@gmail.com>
30711
30712         * java/util/zip/ZipConstants.java
30713         (LOCSIG): Change type to long.
30714         (EXTSIG): Likewise.
30715         (CENSIG): Likewise.
30716         (ENDSIG): Likewise.
30717         * java/util/zip/ZipOutputStream.java
30718         (writeLeInt(long)): New method.
30719   
30720 2006-02-21  Michael Koch  <konqueror@gmx.de>
30721   
30722         * gnu/javax/net/ssl/provider/PRNG.java: Removed.
30723   
30724 2006-02-20  Mark Wielaard  <mark@klomp.org>
30725   
30726         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
30727         (begin_drawing_operation): Output stacktrace and return on bad cairo
30728         status.
30729         (end_drawing_operation): Likewise. And reset cairo_t.
30730   
30731 2006-02-20  Robert Schuster  <robertschuster@fsfe.org>
30732   
30733         * javax/swing/text/DefaultEditorKit.java: Fixed comparison
30734         in backward selection action.
30735   
30736 2006-02-20  Olivier Jolly  <olivier.jolly@pcedev.com>
30737   
30738         * java/lang/reflect/Proxy.java:
30739         (ProxyData.getProxyData): Skipped overriding of core methods.
30740         (ProxyData.isCoreObjectMethod): New method.
30741   
30742 2006-02-20  Mark Wielaard  <mark@klomp.org>
30743   
30744         * gnu/java/nio/charset/Provider.java (Provider): Package private.
30745   
30746 2006-02-20  Roman Kennke  <kennke@aicas.com>
30747   
30748         * javax/swing/text/html/Option.java: New class.
30749   
30750 2006-02-20  Lillian Angel  <langel@redhat.com>
30751   
30752         * java/swt/Window.java
30753         (show): Calling show() on the owned windows caused problems.
30754         Changed back to get the peer and call setVisible.
30755   
30756 2006-02-20  Roman Kennke  <kennke@aicas.com>
30757   
30758         * javax/swing/plaf/basic/BasicTextUI.java
30759         (damageRange): Implemented this method.
30760   
30761 2006-02-20  Robert Schuster  <robertschuster@fsfe.org>
30762   
30763         * javax/swing/text/GapContent.java:
30764         (shiftGapEndUp): Corrected new mark value.
30765         * javax/swing/text/AbstractDocument.java:
30766         (remove): Changed order of operations.
30767   
30768 2006-02-20  Robert Schuster  <robertschuster@fsfe.org>
30769   
30770         * javax/swing/text/GapContent.java:
30771         (shiftGapEndUp): Reverted.
30772         * javax/swing/text/AbstractDocument.java:
30773         (remove): Reverted.
30774   
30775 2006-02-20  Robert Schuster  <robertschuster@fsfe.org>
30776   
30777         * javax/swing/text/GapContent.java:
30778         (shiftGapEndUp): Corrected new mark value.
30779         * javax/swing/text/AbstractDocument.java:
30780         (remove): Changed order of operations.
30781   
30782 2006-02-20  Mark Wielaard  <mark@klomp.org>
30783   
30784         * java/awt/Menu.java (add(MenuItem)): Use item.getParent() to get
30785         parent field.
30786         (insert): Likewise.
30787         (addNotify): Add the item after addNotifying it.
30788         * java/awt/MenuBar.java (setHelpMenu): Only call removeNotify() when
30789         there is a peer. Use getParent() and setParent() to manipulate parent
30790         field.
30791         (add(Menu)): Use getParent() and setParent() to manipulate parent
30792         field. Call addNotify() and addMenu() when there is a peer.
30793         (remove(int)): Call removeNotify() and delMenu() when there is a peer.
30794         (addNotify): Use getPeer()/setPeer(). Call addMenu() and addHelpMenu()
30795         when there is a peer.
30796         * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java (create): Document.
30797         (GtkMenuComponentPeer): Document. Take MenuComponent as argument.
30798         (setFont): Call setFont(Font).
30799         (setFont(Font)): Document. Only set font when not null.
30800         * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java (create): Document. Made
30801         protected.
30802         (connectSignals): Likewise.
30803         (GtkMenuItemPeer): Document. Don't try to add item. Always call
30804         connectSignals().
30805         * gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java (create): Make
30806         protected.
30807         (postMenuActionEvent): Document.
30808         * gnu/java/awt/peer/gtk/GtkMenuPeer.java (create): Document. Made
30809         protected.
30810         (addItem): Document. Made private.
30811         (addTearOff): Made private.
30812         (connectSignals): New protected overridden method.
30813         (GtkMenuPeer): Correctly cast setupAccelGroup() arguments.
30814         * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java (hasHelpMenu): New field.
30815         (create): Document.
30816         (addMenu): Made private, take GtkMenuPeer as argument and document.
30817         (GtkMenuBarPeer): Document.
30818         (nativeSetHelpMenu): Removed.
30819         (addHelpMenu): Implement.
30820         (delMenu): Document.
30821         (addMenu): Implement.
30822         * gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java (setParent): Removed.
30823         * include/gnu_java_awt_peer_gtk_GtkMenuBarPeer.h: Regenerated.
30824         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c
30825         (Java_gnu_java_awt_peer_gtk_GtkMenuBarPeer_nativeSetHelpMenu):
30826         Removed.
30827   
30828 2006-02-20  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
30829   
30830         * gnu/java/rmi/server/RMIObjectInputStream.java (resolveProxyClass):
30831         Expect that proxy interfaces may have different class loaders.
30832         * gnu/java/rmi/server/UnicastServerRef.java: Rewritten.
30833         * java/rmi/registry/Registry.java,
30834         * java/rmi/server/UnicastRemoteObject.java: 
30835         Documented about proxy stubs.
30836         * gnu/java/rmi/server/CombinedClassLoader.java,
30837         java/rmi/server/RemoteObjectInvocationHandler.java: New files.
30838         * NEWS: Added entry.
30839
30840 2006-02-19  Mark Wielaard  <mark@klomp.org>
30841
30842         * gnu/java/awt/peer/gtk/GtkContainerPeer.java (endValidate): Set
30843         Parent and Bounds of our children if either or parent is showing, or
30844         we are a Window and are showing ourselves now.
30845   
30846 2006-02-19  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
30847   
30848         * gnu/classpath/tools/rmi/rmic/RmicCompiler.java (convertStubName): 
30849         New method.
30850         * gnu/classpath/tools/rmi/rmic/templates/Stub_12.jav: 
30851         Another stub name fix.
30852   
30853 2006-02-19  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
30854   
30855         * gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java (compile):
30856         Call convertStubName. (convertStubName): New method.
30857         * gnu/classpath/tools/rmi/RMIC.java (main): Stub name fix.
30858         * gnu/classpath/tools/rmi/rmic/RmiMethodGenerator.java 
30859         (convertStubName): New method.
30860         (getMethodHashCode): 
30861         Use existing gnu.java.rmi.server.RMIHashes.getMethodHash.
30862         * gnu/classpath/tools/rmi/rmic/templates/Stub_12.jav: Stub name fix.
30863
30864 2006-02-19  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
30865
30866         * java/rmi/server/UnicastRemoteObject.java: Documenting. 
30867
30868 2006-02-19  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
30869
30870         * gnu/java/rmi/server/UnicastServerRef.java: Reformatted.
30871
30872 2006-02-18  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
30873
30874         * javax/swing/JViewport.java (paintBackingStore): If the component has
30875         not been scrolled, only repaint the buffer part, indicated by
30876         the parameter graphics clip. 
30877      
30878 2006-02-19  Raif S. Naffah  <raif@swiftdsl.com.au>
30879
30880         * gnu/javax/crypto/key/OutgoingMessage.java (writePublicKey): Handle new
30881         internal format.
30882         (writePrivateKey): Likewise.
30883         (writeKey): New method.
30884         (getKeyType): Likewise.
30885         * gnu/javax/crypto/key/IncomingMessage.java (readPublicKey): Handle new
30886         internal format.
30887         (readPrivateKey): Likewise.
30888         (getKeyPairCodec): New method.
30889         * gnu/javax/crypto/key/srp6/SRPKey.java (getFormat): Always return Raw.
30890         * gnu/javax/crypto/key/dh/GnuDHKey.java (getFormat): Use FormatUtil.
30891         * gnu/java/security/Registry.java (RSA_SIG_PREFIX): New constant.
30892         (RSA_PSS_ENCODING): Likewise..
30893         (RSA_PKCS1_V1_5_ENCODING): Likewise.
30894         (RSA_PSS_SIG): Redefined using other constants.
30895         (RSA_PKCS1_V1_5_SIG): Likewise.
30896         (MAGIC_RAW_RSA_PKCS1V1_5_SIGNATURE): New constant.
30897         * gnu/java/security/util/FormatUtil.java: New file.
30898         * gnu/java/security/sig/SignatureFactory.java (names): New field.
30899         (getInstance): Let RSASignatureFactory handle RSA signature names.
30900         (getNames): Handle new RSA signature (with format) names.
30901         * gnu/java/security/sig/SignatureCodecFactory.java: New file.
30902         * gnu/java/security/sig/BaseSignature.java (BaseSignature): Add check
30903         for null md.
30904         (name): Include hash algorithm name.
30905         * gnu/java/security/sig/rsa/RSASignatureFactory.java: New file.
30906         * gnu/java/security/sig/rsa/RSAPSSSignature.java
30907         (RSAPSSSignature): Call constructor with IMessageDigest.
30908         (RSAPSSSignature(ImessageDigest,int)): New constructor.
30909         * gnu/java/security/sig/rsa/RSAPKCS1V1_5SignatureRawCodec.java: New
30910         file.
30911         * gnu/java/security/sig/rsa/RSAPKCS1V1_5SignatureX509Codec.java:
30912         Likewise.
30913         * gnu/java/security/sig/rsa/RSAPKCS1V1_5Signature.java
30914         (RSAPKCS1V1_5Signature(String)): Call constructor with IMessageDigest.
30915         (RSAPKCS1V1_5Signature(IMessageDigest)): New constructor.
30916         * gnu/java/security/sig/rsa/EMSA_PKCS1_V1_5.java (getInstance): Added
30917         hash algorithm name to exception.
30918         * gnu/java/security/sig/dss/DSSSignatureX509Codec.java: New file.
30919         * gnu/java/security/key/KeyPairCodecFactory.java
30920         (names): New class field.
30921         (getInstance(Sitrng)): Deconstruct and call getInstance(String,String).
30922         (getInstance(String,String)): New method.
30923         (getInstance(String,int)): New method.
30924         (getInstance(byte[])): Removed.
30925         (getInstance(Key)): Handle new formats.
30926         (getNames): Likewise.
30927         (getEncodingName(int)): Moved to FormatUtil.
30928         (getEncodingShortName(int)): Likewise.
30929         (getRawCodec(String)): New method.
30930         (getX509Codec(String)): Likewise.
30931         (getPKCS8Codec(String)): Likewise.
30932         (getRawCodec(Key)): Likewise.
30933         (getX509Codec(Key)): Likewise.
30934         (getPKCS8Codec(Key)): Likewise.
30935         * gnu/java/security/key/dss/DSSKey.java (getFormat): Use FormatUtil.
30936         * gnu/java/security/key/rsa/GnuRSAKey.java (getFormat): Likewise.
30937         * gnu/java/security/jce/sig/SHA512withRSA.java: New File.
30938         * gnu/java/security/jce/sig/SHA384withRSA.java: Likewise.
30939         * gnu/java/security/jce/sig/SHA256withRSA.java: Likewise.
30940         * gnu/java/security/jce/sig/SHA160withRSA.java: Likewise.
30941         * gnu/java/security/jce/sig/SHA160withDSS.java: Likewsie.
30942         * gnu/java/security/jce/sig/MD5withRSA.java: Likewise.
30943         * gnu/java/security/jce/sig/MD2withRSA.java: Likewise.
30944
30945 2006-02-18  Mark Wielaard  <mark@klomp.org>
30946
30947         * java/awt/dnd/DragSource.java (getDefaultDragSource): Return new
30948         DragSource.
30949         (NoDragGestureRecognizer): New static class.
30950         (createDragGestureRecognizer): Return NoDragGestureRecognizer when
30951         Toolkit doesn't support drag and drop.
30952
30953 2006-02-18  Mark Wielaard  <mark@klomp.org>
30954
30955         * javax/swing/AbstractAction.java (AbstractAction()): Nothing to do.
30956         (AbstractAction(String)): Just call putValue() for NAME.
30957         (putValue): Nothing to do is old and new value are both null.
30958
30959 2006-02-18  Mark Wielaard  <mark@klomp.org>
30960
30961         * javax/swing/JRootPane.java (layoutContainer): Get contentPane
30962         through getContentPane().
30963         (preferredLayoutSize): Likewise.
30964
30965 2006-02-18  Mark Wielaard  <mark@klomp.org>
30966
30967         * javax/swing/JMenuBar.java (paintBorder): Check whether border is
30968         actually set before painting.
30969
30970 2006-02-18  Mark Wielaard  <mark@klomp.org>
30971
30972         * javax/swing/text/html/HTMLDocument.java (addContent):
30973         Fully qualify AbstractDocument.AttributeContext and
30974         DefaultStyledDocument.ElementSpec.ContentType for gcj 4.0.
30975
30976 2006-02-18  Mark Wielaard  <mark@klomp.org>
30977
30978         * java/awt/datatransfer/DataFlavor.java (tryToLoadClass): Rewritten.
30979         (getRepresentationClassFromMime): Add exception cause to
30980         IllegalArgumentException.
30981   
30982 2006-02-17  Lillian Angel  <langel@redhat.com>
30983   
30984         * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
30985         Removed unneeded import.
30986         * gnu/java/awt/peer/gtk/GtkFramePeer.java:
30987         Removed unneeded imports.
30988         * java/awt/BorderLayout.java:
30989         Fixed comment, this is not yet handled in the JDK 1.5.
30990         * java/awt/Container.java:
30991         Removed unneeded import.
30992   
30993 2006-02-17  Lillian Angel  <langel@redhat.com>
30994   
30995         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
30996         (setBounds): Removed check. Coordinates should always be changed
30997         to incorporate the parent's coordinates.
30998         * gnu/java/awt/peer/gtk/GtkFramePeer.java
30999         (setMenuBar): Added checks. Don't validate component if it has 
31000         not been validated yet, it will be validated later. Only validate
31001         if it has already been validated, in that case it needs to be
31002         revalidated.
31003         * java/awt/Window.java
31004         (show): Added check. If the window is visible, then bring it to the
31005         front. Otherwise, iterate through all its children windows and show them.
31006         No need to do both.
31007
31008 2006-02-17  Roman Kennke  <kennke@aicas.com>
31009
31010         * javax/swing/text/html/ParagraphView.java: New file.
31011
31012 2006-02-17  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
31013
31014         * javax/swing/JTable.java (getCellRect): return +rowMargin if spacing
31015         is included. (moveToCellBeingEdited): Adjusted to start editing at the
31016         same location where was the initial text.
31017         * javax/swing/plaf/basic/BasicTableUI.java (paint): Rewritten.
31018
31019 2006-02-17  Chris Burdess  <dog@gnu.org>
31020
31021         Fixes PRs 26319, 26320, 26321, 26322, 26325
31022         * gnu/xml/stream/SAXParser.java: On error, reset parser before
31023           rethrowing exception.
31024         * gnu/xml/stream/XMLParser.java: Only report "illegal use of
31025           1.1-style prefix unbinding in 1.0 document" error for xmlns
31026           prefixes, not xmlns attributes. Fix a problem with empty namespace
31027           stack at the end of a document. Permit parameter entity references
31028           in element and attribute-list definition name area. Corrected
31029           normalisation of whitespace character entity references in CDATA
31030           attribute values. Fixed number of characters read following a
31031           reset when detecting end of character data with characters after a
31032           Unicode surrogate pair.
31033   
31034 2006-02-17  Roman Kennke  <kennke@aicas.com>
31035   
31036         * javax/swing/text/html/HTMLEditorKit.java
31037         (HTMLFactory.create): Create InlineView for content tags.
31038         * javax/swing/text/html/HTMLDocument.java
31039         (HTMLReader.flush): Call create() on first flush and insert
31040         on subsequent flushes.
31041   
31042 2006-02-17  Roman Kennke  <kennke@aicas.com>
31043   
31044         * javax/swing/text/AbstractDocument.java
31045         (BranchElement.getStartOffset): Implemented workaround for wrong
31046         NPE.
31047         (BranchElement.getEndOffset): Implemented workaround for wrong
31048         NPE.
31049         (ElementBuffer.split): Use createBranchElement() instead of
31050         new BranchElement().
31051         (ElementBuffer.insertFracture): Use createBranchElement() instead of
31052         new BranchElement().
31053         (ElementBuffer.recreateAfterFracture): Use createBranchElement()
31054         instead of new BranchElement().
31055         (createDefaultRoot): Use createBranchElement() and createLeafElement
31056         instead of the constructors.
31057         (create): Rewritten.
31058   
31059 2006-02-17  Keith Seitz  <keiths@redhat.com>
31060   
31061         * gnu/classpath/jdwp/id/JdwpId.java (size): Remove.
31062         (SIZE): New constant.
31063         * gnu/classpath/jdwp/processor/VirtualMachineCommandSet.java
31064         (executeIDsizes): Use SIZE constant.
31065         * vm/reference/gnu/classpath/jdwp/VMFrame.java (size): Remove.
31066         (SIZE): New constant.
31067
31068 2006-02-17  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
31069
31070         * javax/swing/JTable.java (IconCellRenderer): Set the component
31071         text to empty string. (createDefaultRenderers): Register
31072         IconCellRenderer also for ImageIcon. 
31073         (getCellEditor(int, int), getCellRenderer(int, int)):
31074         Use model index for data model and column index for column model.
31075         (getColumnClass): Convert to model index before requesting class
31076         from model. 
31077   
31078 2006-02-17  Roman Kennke  <kennke@aicas.com>
31079   
31080         * javax/swing/text/html/HTMLDocument.java
31081         (createDefaultRoot): Implemented.
31082         (createLeafElement): Implemented.
31083         (createBranchElement): Implemented.
31084         (BlockElement.getName): Fixed to handle HTML.Tag objects as name.
31085         (RunElement.getName): Fixed to handle HTML.Tag objects as name.
31086         (HTMLReader.ParagraphAction.start): Call blockOpen at the very least.
31087         (HTMLReader.ParagraphAction.end): Call blockClose at the very least.
31088         (HTMLReader.blockOpen): Add name attribute with the current tag.
31089         (HTMLReader.addContent): Add name attribute with HTML.Tag.CONTENT.
31090   
31091 2006-02-17  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
31092   
31093         * javax/swing/plaf/basic/BasicTableHeaderUI.java (MouseInputHandler):
31094         Rewritten.
31095         * javax/swing/table/JTableHeader.java: Documenting related methods.
31096   
31097 2006-02-17  Jeroen Frijters  <jeroen@frijters.net>
31098   
31099         Fixes PR 25752
31100         * gnu/java/net/protocol/ftp/FTPURLConnection.java
31101         (connect): Changed to use SystemProperties.
31102         (getInputStream): Try changeWorkingDirectory to figure out if
31103         url is a directory, if not use retrieve.
31104         (getOutputStream): Don't worry about directories, simply always
31105         try to do a store.
31106   
31107 2006-02-17  Jeroen Frijters  <jeroen@frijters.net>
31108   
31109         * gnu/java/net/protocol/ftp/ActiveModeDTP.java
31110         (ActiveModeDTP): Mark accept thread as daemon.
31111   
31112 2006-02-17  Michael Koch  <konqueror@gmx.de>
31113   
31114         * tools/.cvsignore: Ignore tools.zip.
31115   
31116 2006-02-16  Keith Seitz  <keiths@redhat.com>
31117   
31118         * vm/reference/gnu/classpath/jdwp/VMIdManager.java (newReferenceTypeId):
31119         Set the ID's reference.
31120         (<clinit>): Remove comments for field, method, and frame ID types,
31121         which will not be handled by VMIdManager.
31122   
31123 2006-02-17  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
31124   
31125         * javax/swing/JTable.java (getCellEditor, getCellRenderer):
31126         Use model index, not the column number.
31127         * javax/swing/plaf/basic/BasicTableHeaderUI.java (MouseInputHandler):
31128         Rewritten. (draggingHeaderRect): New field. (paint): Animate column 
31129         movement by painting draggingHeaderRect.
31130         * NEWS: Added entry about JTable columns. 
31131   
31132 2006-02-16  Keith Seitz  <keiths@redhat.com>
31133   
31134         * gnu/classpath/jdwp/id/JdwpId.java (size): Make static. Return
31135         default size of eight bytes.
31136         * gnu/classpath/jdwp/id/ObjectId.java (size): Remove.
31137         * gnu/classpath/jdwp/id/ReferenceTypeId.java (size): Remove.
31138         * gnu/classpath/jdwp/processor/VirtualMachineCommandSet.java
31139         (executeIDsizes): Use new static methods.
31140         * vm/reference/gnu/classpath/jdwp/VMFrame.java (size): New static
31141         method.
31142         
31143 2006-02-16  David Daney  <ddaney@avtrex.com>
31144   
31145         PR classpath/26312
31146         * gnu/java/net/protocol/http/ChunkedInputStream.java (read): Mask
31147         return value with 0xff.
31148   
31149 2006-02-16  Keith Seitz  <keiths@redhat.com>
31150   
31151         * gnu/classpath/jdwp/event/EventRequest.java (getFilters): New method.
31152         (matches): Use Iterator instead of ListIterator.
31153   
31154 2006-02-16  Keith Seitz  <keiths@redhat.com>
31155   
31156         * gnu/classpath/jdwp/Jdwp.java (_doInitialization): Name the packet
31157         processor thread for easier debugging.
31158         (_enforceSuspendPolicy): Suspend the current thread, not the JDWP
31159         main thread.
31160   
31161 2006-02-16  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
31162   
31163         * javax/swing/JTable.java 
31164         (TableColumnPropertyChangeHandler.propertyChange): Return without
31165         action if table header resizing column in not null. (doLayout):
31166         Only repaint the header if it is not null.      
31167         * javax/swing/plaf/basic/BasicTableHeaderUI.java 
31168         (MouseInputHandler.mouseExited, MouseInputHandler.mouseReleased):
31169         Rewritten. (MouseInputHandler.endResizing): New method.
31170   
31171 2006-02-16  Roman Kennke  <kennke@aicas.com>
31172   
31173         * javax/swing/text/html/InlineView.java: New file.
31174   
31175 2006-02-16  Roman Kennke  <kennke@aicas.com>
31176   
31177         * javax/swing/JTabbedPane.java
31178         (AccessibleJTable.getAccessibleChild): Implemented to return
31179         the Page instance for the specified index.
31180         (Page): Changed to implement Accessible and extend
31181         AccessibleContext.
31182         (Page.getAccessibleContext): New method.
31183         (Page.getAccessibleRole): New method.
31184         (Page.getAccessibleStateSet): New method.
31185         (Page.getAccessibleIndexInParent): New method.
31186         (Page.getAccessibleChildrenCount): New method.
31187         (Page.getAccessibleChild): New methdod.
31188         (Page.getLocale): New method.
31189   
31190 2006-02-16  Roman Kennke  <kennke@aicas.com>
31191   
31192         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
31193         (TabbedPaneLayout.calculateTabRects): Expand tabRuns array when
31194         tabCount gets greater than tabRuns.length.
31195         (TabbedPaneScrollLayout.calculateTabRects): Expand tabRuns array
31196         when tabCount gets greater than tabRuns.length.
31197         (paintTabArea): Don't set tabCount == runCount.
31198   
31199 2006-02-16  Roman Kennke  <kennke@aicas.com>
31200   
31201         * javax/swing/plaf/basic/BasicTextUI.java
31202         (installUI): Moved installation of PropertyChangeListener
31203         to installListeners(). Call modelChanged() after everything is
31204         is installed.
31205         (installListeners): Install PropertyChangeListener here.
31206         (uninstallUI): Moved uninstallation of PropertyChangeListener
31207         to uninstallListeners.
31208         (uninstallListeners): Uninstall PropertyChangeListener here.
31209
31210 2006-02-16  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
31211
31212         * javax/swing/JTable.java (doLayout): 
31213         case AUTO_RESIZE_SUBSEQUENT_COLUMNS rewritten. Repaint the header
31214         on exit.
31215         javax/swing/plaf/basic/BasicTableHeaderUI.java 
31216         (MouseInputHandler.mouseDragged): Do not repaint the header.
31217   
31218 2006-02-16  Roman Kennke  <kennke@aicas.com>
31219   
31220         * javax/swing/JViewport.java
31221         (static_initializer): Set default scrollMode to backingstore.
31222   
31223 2006-02-16  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
31224   
31225         * javax/swing/JTable.java (moveToCellBeingEdited): Clone the value,
31226         returned by getCellRect. To not translate the component.
31227   
31228 2006-02-16  Roman Kennke  <kennke@aicas.com>
31229   
31230         * javax/swing/JComponent.java
31231         (rectCache): Made field non-static to avoid nasty interferences.
31232         (computeVisibleRect): Avoid creation of new Rectangles and double
31233         calculations on ints by using Swing.computeIntersection() instead
31234         of Rectangle2D.intersect().
31235         (repaint): Interect the dirty region with the visible rectangle
31236         of this component to avoid unnecessary painting.
31237   
31238 2006-02-16  Gary Benson  <gbenson@redhat.com>
31239   
31240         * java/lang/Thread.java (stop): Add a missing access check.
31241   
31242 2006-02-16  Robert Schuster  <robertschuster@fsfe.org>
31243   
31244         * javax/swing/text/JTextComponent.java:
31245         (replaceSelection): Added code to update the magic caret position.
31246         * javax/swing/text/DefaultEditorKit.java: Added code to update
31247         the magic caret position of the text component in all relevant
31248         movement actions, make use of the magic caret position in up
31249         and down movements and selections, simplified some actions
31250         (code-wise).
31251
31252 2006-02-15  Anthony Balkissoon  <abalkiss@redhat.com>
31253
31254         * gnu/java/lang/CharData.java: Regenerated from 
31255         doc/unicode/UnicodeData-4.0.0.txt, doc/unicode/SpecialCasing-4.0.0.txt
31256         and scripts/unicode-muncher.pl.
31257         * java/lang/Character.java: 
31258         (PrivateUseCharacters): New private static class.
31259         (UnassignedCharacters): Likewise.
31260         (blocks): Changed from char[] to char[][] to reflect the changes in 
31261         gnu/java/lang/CharData.  There is now one char[] per Unicode code
31262         plane.
31263         (data): Likewise.
31264         (numValue): Likewise.
31265         (upper): Likewise.
31266         (lower): Likewise.
31267         (direction): Likewise.
31268         (readChar): Replaced this method with new method readCodePoint.
31269         (readCodePoint): New method.
31270         (isLowerCase(char)): Redirected to new isLowerCase(int).
31271         (isLowerCase(int)): New method.
31272         (isUpperCase(char)): Redirected to new isUpperCase(int).
31273         (isUpperCase(int)): New method.
31274         (isTitleCase(char)): Redirected to new isTitleCase(int).
31275         (isTitleCase(int)): New method.
31276         (isDigit(char)): Redirected to new isDigit(int).
31277         (isDigit(int)): New method.
31278         (isDefined(char)): Redirected to new isDefined(int).
31279         (isDefined(int)): New method.
31280         (isLetter(char)): Redirected to new isLetter(int).
31281         (isLetter(int)): New method.
31282         (isLetterOrDigit(char)): Redirected to new isLetterOrDigit(int).
31283         (isLetterOrDigit(int)): New method.
31284         (isJavaIdentifierStart(char)): Redirected to new 
31285         isJavaIdentifierStart(int).
31286         (isJavaIdentifierStart(int)): New method.
31287         (isJavaIdentifierPart(char)): Redirected to new 
31288         isJavaIdentifierPart(int).
31289         (isJavaIdentifierPart(int)): New method.
31290         (isUnicodeIdentifierStart(char)): Redirected to new
31291         isUnicodeIdentifierStart(int).
31292         (isUnicodeIdentifierStart(int)): New method.
31293         (isUnicodeIdentifierPart(char)): Redirected to new 
31294         isUnicodeIdentifierPart(int).
31295         (isUnicodeIdentifierPart(int)): New method.
31296         (isIdentifierIgnorable(char)): Redirected to new
31297         isIdentifierIgnorable(int).
31298         (isIdentifierIgnorable(int)): New method.
31299         (toLowerCase(char)): Changed access to lower to correspond with new
31300         char[][] type of lower.
31301         (toLowerCase(int)) New method.
31302         (toUpperCase(char)): Changed access to upper to correspond with new
31303         char[][] type of upper.
31304         (toUpperCase(int)): New method.
31305         (toTitleCase(int)): New method.
31306         (digit(char, int)): Replaced call to readChar with call to 
31307         readCodePoint and changed access to numValue to reflect new char[][]
31308         type of numValue. 
31309         (digit(int, int)): New method.
31310         (getNumericValue(char)): Changed access to numValue to reflect new
31311         char[][] type of numValue.
31312         (getNumericValue(int)): New method.
31313         (isSpaceChar(char)): Redirected to new isSpaceChar(int).
31314         (isSpaceChar(int)): New method.
31315         (isWhitespace(char)): Redirected to new isWhitespace(int).
31316         (isWhitespace(int)): New method.
31317         (isISOControl(char)): Redirected to new isISOControl(int).
31318         (isISOControl(int)): New method.
31319         (getType(char)): Redirected to new getType(int).
31320         (getType(int)): New method.
31321         (getDirectionality(char)): Redirected to new getDirectionality(int).
31322         (getDirectionality(int)): New method.
31323         (isMirrored(char)): Changed call to readChar to readCodePoint.
31324         (isMirrored(int)): New method.
31325         * java/lang/String.java:
31326         (upperCaseExpansion): Changed access to Character.direction to reflect
31327         new char[][] type of direction.
31328         (offsetByCodePoints): New method.
31329         * scripts/unicode-muncher.pl: Adapted this script to handle Unicode 
31330         4.0.0 which introduced supplementary character assignments.  
31331
31332 2006-02-15  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
31333
31334         * javax/swing/JTable.java,
31335         javax/swing/plaf/basic/BasicTableHeaderUI.java,
31336         javax/swing/table/DefaultTableModel.java: Documented.
31337   
31338 2006-02-15  Lillian Angel  <langel@redhat.com>
31339   
31340         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
31341         Removed duplicate methods.
31342   
31343 2006-02-15  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
31344   
31345         * javax/swing/JTable.java (distributeSpillResizing): New method.
31346         (doLayout): Use distributeSpillResizing when resizing.
31347         * javax/swing/plaf/basic/BasicTableHeaderUI.java (MouseInputHandler):
31348         Rewritten. (installListeners): Add mouse motion listener. 
31349         (uninstallListeners): Remove mouse motion listener. 
31350   
31351 2006-02-15  Lillian Angel  <langel@redhat.com>
31352   
31353         * gnu/java/awt/peer/gtk/GtkDialogPeer.java
31354         (setVisible): Removed method.
31355         * gnu/java/awt/peer/gtk/GtkWindowPeer.java
31356         (setLocation): New method.
31357         (setLocationUnlocked): New method.
31358         (show): Changed to use setLocation instead of setBounds.
31359         * java/awt/Component.java
31360         (show): Should call peer.show(), not peer.setVisible(), so the
31361         location of the component is correctly set.
31362         (preferredSize): Added curly braces so else statements are
31363         properly associated with if's.
31364         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
31365         (Java_gnu_java_awt_peer_gtk_GtkWindowPeer_nativeSetLocation): 
31366         New function.
31367         (Java_gnu_java_awt_peer_gtk_GtkWindowPeer_nativeSet
31368         LocationUnlocked): New function.
31369         * include/gnu_java_awt_peer_gtk_GtkWindowPeer.h:
31370         Added declarations for Java_gnu_java_awt_peer_gtk_
31371         GtkWindowPeer_nativeSetLocation and 
31372         Java_gnu_java_awt_peer_gtk_GtkWindowPeer
31373         _nativeSetLocationUnlocked.
31374   
31375 2006-02-15  Mark Wielaard  <mark@klomp.org>
31376   
31377         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c
31378         (Java_gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer_create):
31379         Downcast gtk_plug_new result when used.
31380   
31381 2006-02-15  Olivier Jolly  <olivier.jolly@pcedev.com>
31382   
31383         * java/io/ObjectOutputStream.java (writeClassDescriptor):
31384         Call assignNewHandle() after writing Proxy class.
31385   
31386 2006-02-15  Olivier jolly  <olivier.jolly@pcedev.com>
31387   
31388         Fixes bug #14144
31389         * java/io/ObjectInputStream.java (readClassDescriptor):
31390         Class doesn't have to be abstract for first_nonserial.
31391   
31392 2006-02-15  Roman Kennke  <kennke@aicas.com>
31393   
31394         * javax/swing/JInternalFrame.java
31395         (setClosed): Call dispose to actually make the frame invisible
31396         and unselected.
31397   
31398 2006-02-15  Roman Kennke  <kennke@aicas.com>
31399   
31400         * javax/swing/JInternalFrame.java
31401         (dispose): Call setVisible(false) instead of hide.
31402         (doDefaultCloseOperation): Likewise.
31403   
31404 2006-02-15  Roman Kennke  <kennke@aicas.com>
31405   
31406         * javax/swing/JComponent.java
31407         (paintChildren): Also check for the visibility of a child component
31408         to avoid artifacts.
31409         (repaint): Simply add this component to the RepaintManager rather than
31410         trying to do useless optimization here.
31411   
31412 2006-02-15  David Gilbert  <david.gilbert@object-refinery.com>
31413   
31414         * javax/swing/JSpinner.java
31415         (DefaultEditor.DefaultEditor(JSpinner)): Add self to text field as a 
31416         PropertyChangeListener,
31417         (DefaultEditor.getSpinner): Updated API docs,
31418         (DefaultEditor.dismiss): Likewise,
31419         (DefaultEditor.getTextField): Likewise,
31420         (DefaultEditor.layoutContainer): Likewise,
31421         (DefaultEditor.minimumLayoutSize): Likewise,
31422         (DefaultEditor.preferredLayoutSize): Likewise,
31423         (DefaultEditor.propertyChange): Implemented,
31424         (DefaultEditor.stateChanged): Implemented,
31425         (DefaultEditor.removeLayoutComponent): Updated API docs,
31426         (DefaultEditor.addLayoutComponent): Likewise,
31427         (NumberEditor.NumberEditor(JSpinner)): Set formatter for text field,
31428         (NumberEditor.NumberEditor(JSpinner, String)): Likewise,
31429         (NumberEditor.getFormat): Implemented,
31430         (NumberEditor.getModel): Updated API docs,
31431         (NumberEditorFormatter): New static inner class,
31432         (ListEditor.getModel): Updated API docs,
31433         (DateEditor.dateFormat): Removed,
31434         (DateEditor.DateEditor(JSpinner)): Set formatter for text field,
31435         (DateEditor.DateEditor(JSpinner, String)): Likewise,
31436         (DateEditor.init): Removed,
31437         (DateEditor.getFormat): Reimplemented,
31438         (DateEditorFormatter): New static inner class,
31439         (ModelListener): New inner class,
31440         (model): Updated API docs,
31441         (editor): Likewise,
31442         (listener): Removed,
31443         (JSpinner()): Updated API docs,
31444         (JSpinner(SpinnerModel)): Set up ModelListener,
31445         (setEditor): Fire property change,
31446         (getModel): Updated API docs,
31447         (setModel): Removed check for null editor,
31448         (setValue): Updated API docs,
31449         (getUIClassID): Updated API docs,
31450         (createEditor): Handle SpinnerListModel case,
31451         * javax/swing/plaf/basic/BasicSpinnerUI.java
31452         (createUI): Updated API docs,
31453         (createPropertyChangeListener): Added FIXME,
31454         (installDefaults): Set text field border to null,
31455         (DefaultLayoutManager): Updated API docs,
31456         (DefaultLayoutManager.layoutContainer): Modified layout,
31457         (DefaultLayoutManager.minimumLayoutSize): Ignore button heights,
31458         (DefaultLayoutManager.preferredLayoutSize): Likewise,
31459         (DefaultLayoutManager.removeLayoutComponent): Removed tabs,
31460         (DefaultLayoutManager.addLayoutComponent): Likewise,
31461         (DefaultLayoutManager.minSize): Renamed prefSize,
31462         (DefaultLayoutManager.setBounds): Reformatted,
31463         (DefaultLayoutManager.editor): Added API docs,
31464         (DefaultLayoutManager.next): Likewise,
31465         (DefaultLayoutManager.previous): Likewise,
31466         * javax/swing/plaf/metal/MetalLookAndFeel.java
31467         (initComponentDefaults): Added entry for 'Spinner.border',
31468         * examples/gnu/classpath/examples/swing/SpinnerDemo.java: New file.
31469
31470 2006-02-15  Chris Burdess  <dog@gnu.org>
31471
31472         * gnu/xml/validation/datatype/BooleanType.java,
31473           gnu/xml/validation/datatype/ByteType.java,
31474           gnu/xml/validation/datatype/DateTimeType.java,
31475           gnu/xml/validation/datatype/DateType.java,
31476           gnu/xml/validation/datatype/DecimalType.java,
31477           gnu/xml/validation/datatype/DoubleType.java,
31478           gnu/xml/validation/datatype/DurationType.java,
31479           gnu/xml/validation/datatype/FloatType.java,
31480           gnu/xml/validation/datatype/GDayType.java,
31481           gnu/xml/validation/datatype/GMonthDayType.java,
31482           gnu/xml/validation/datatype/GMonthType.java,
31483           gnu/xml/validation/datatype/GYearMonthType.java,
31484           gnu/xml/validation/datatype/GYearType.java,
31485           gnu/xml/validation/datatype/IntType.java,
31486           gnu/xml/validation/datatype/IntegerType.java,
31487           gnu/xml/validation/datatype/LongType.java,
31488           gnu/xml/validation/datatype/MaxExclusiveFacet.java,
31489           gnu/xml/validation/datatype/MaxInclusiveFacet.java,
31490           gnu/xml/validation/datatype/MinExclusiveFacet.java,
31491           gnu/xml/validation/datatype/MinInclusiveFacet.java,
31492           gnu/xml/validation/datatype/NegativeIntegerType.java,
31493           gnu/xml/validation/datatype/NonNegativeIntegerType.java,
31494           gnu/xml/validation/datatype/NonPositiveIntegerType.java,
31495           gnu/xml/validation/datatype/PositiveIntegerType.java,
31496           gnu/xml/validation/datatype/ShortType.java,
31497           gnu/xml/validation/datatype/SimpleType.java,
31498           gnu/xml/validation/datatype/TimeType.java,
31499           gnu/xml/validation/datatype/TypeBuilder.java,
31500           gnu/xml/validation/datatype/UnsignedByteType.java,
31501           gnu/xml/validation/datatype/UnsignedIntType.java,
31502           gnu/xml/validation/datatype/UnsignedLongType.java,
31503           gnu/xml/validation/datatype/UnsignedShortType.java: Provide value
31504           objects for datatypes. Make maxExclusive,minExclusive,maxInclusive,
31505           minInclusive facets use the value space of the base type, and
31506           implement.
31507
31508 2006-02-15  Mark Wielaard  <mark@klomp.org>
31509
31510         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c
31511         (Java_gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer_create):
31512         gtk_plug_new() returns a GtkWindow.
31513
31514 2006-02-15  David Gilbert  <david.gilbert@object-refinery.com>
31515
31516         * javax/swing/SpinnerNumberModel.java
31517         (getNextValue): Check for null maximum,
31518         (getPreviousValue): Check for null minimum.
31519   
31520 2006-02-15  Roman Kennke  <kennke@aicas.com>
31521   
31522         * javax/swing/plaf/basic/BasicTableUI.java
31523         (paint): Paint vertical and horizontal lines one pixel shifted
31524         left/top.
31525   
31526 2006-02-15  Jeroen Frijters  <jeroen@frijters.net>
31527   
31528         * java/util/zip/ZipFile.java
31529         (checkZipFile): Inlined readLeInt and rewritten for robustness.
31530         (readLeShort(DataInput,byte[]), readLeInt(DataInput,byte[],
31531         readLeShort(byte[],int), readLeInt(byte[],int)): Removed.
31532         (readEntries): Rewritten to use PartialInputStream.
31533         (locBuf, checkLocalHeader): Removed.
31534         (getInputStream): Rewritten to use new PartialInputStream.
31535         (PartialInputStream): Rewritten to do buffering.
31536
31537 2006-02-15  Michael Koch  <konqueror@gmx.de>
31538
31539         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c
31540         (Java_gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer_create):
31541         Make sure the embedded window gets no decorations.
31542         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
31543         (window_get_frame_extents): Return early of the window has no
31544         decorations.
31545   
31546 2006-02-15  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
31547   
31548         * examples/gnu/classpath/examples/swing/TableDemo.java
31549         (TModel, createContent): Explain which value appears in the header.
31550         * javax/swing/JTable.java (setColumnModel): Only set the
31551         column header value if the getHeaderValue() returns null.
31552
31553 2006-02-14  Mark Wielaard  <mark@klomp.org>
31554
31555         Fixes bug #23931
31556         * gnu/java/awt/peer/gtk/GtkImage.java (errorImage): New static field.
31557         (getErrorImage): New static method.
31558         * gnu/java/awt/peer/gtk/GtkToolkit.java (GtkErrorImage): Removed.
31559         (bufferedImageOrError): Renamed to ...
31560         (imageOrError): Renamed from bufferedImageOrError, takes Image.
31561         Returns GtkImage.getErrorImage() when argument null.
31562         (createImage(String)): Always use imageOrError.
31563         (createImage(URL)): Likewise.
31564         (createImage(ImageProducer)): Likewise.
31565         (createImage(byte[],int,int)): Likewise.
31566
31567 2006-02-14  Roman Kennke  <kennke@aicas.com>
31568
31569         * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java: Removed
31570         unneeded imports.
31571         * javax/swing/plaf/basic/BasicInternalFrameUI.java: Likewise.
31572         * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Likewise.
31573         * javax/swing/plaf/basic/BasicRootPaneUI.java: Likewise.
31574         * javax/swing/plaf/basic/BasicSplitPaneDivider.java: Likewise.
31575         * javax/swing/plaf/basic/BasicHTML.java: Fixed API comment.
31576
31577 2006-02-14  Roman Kennke  <kennke@aicas.com>
31578
31579         * javax/swing/text/AsyncBoxView.java
31580         (ChildState.locator): Removed wrong field.
31581         (ChildState): Removed initialization of removed field.
31582         (locator): Changed access modifier to be protected as specified.
31583
31584 2006-02-14  Roman Kennke  <kennke@aicas.com>
31585
31586         * javax/swing/ToolTipManager.java: Removed unneeded imports.
31587         * javax/swing/Timer.java: Some small reindention.
31588         (task): Made package private to avoid synthetic accessor method.
31589   
31590 2006-02-14  Roman Kennke  <kennke@aicas.com>
31591   
31592         * javax/swing/SwingUtilities.java
31593         (layoutCompoundLabel): Dont set textIconGap to 0 when there is
31594         no icon.
31595   
31596 2006-02-14  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
31597   
31598         * examples/gnu/classpath/examples/swing/TableDemo.java:
31599         Making the columns variable width.
31600         * javax/swing/JTable.java (distributeSpill, doLayout):
31601           Call getPreferredSize and not getSize().
31602   
31603 2006-02-14  Roman Kennke  <kennke@aicas.com>
31604   
31605         * javax/swing/DefaultCellEditor.java
31606         (DefaultCellEditor): API doc fixlet.
31607   
31608 2006-02-14  Roman Kennke  <kennke@aicas.com>
31609   
31610         * javax/swing/JViewport.java
31611         (isPaintRoot): New field.
31612         (repaint): Only call super here. Also added a comment regarding
31613         the diversion from the JDK.
31614         (paintBlit): Implemented real blitting.
31615         (paintImmediately2): New method. Overrides the same package private
31616         method in JComponent.
31617   
31618 2006-02-14  Roman Kennke  <kennke@aicas.com>
31619   
31620         * javax/swing/plaf/basic/BasicTableUI.java
31621         (paint): Check for boundary cases when determining the painting
31622         area.
31623   
31624 2006-02-14  Mark Wielaard  <mark@klomp.org>
31625   
31626         * java/awt/Menu.java (add): Always set parent of item to this. Call
31627         addNotify() on item when we have a MenuPeer already.
31628         (insert): Always adjust parent for item. Call addNotify() on item if
31629         we already have a peer.
31630         (remove(int)): Always clear item parent. Call removeNotify() on item
31631         if we had a peer.
31632   
31633 2006-02-14  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
31634   
31635         * javax/swing/JTable.java (rowAtPoint): Return -1 if the computed 
31636         row == getRowCount().
31637   
31638 2006-02-14  Lillian Angel  <langel@redhat.com>
31639         
31640         * gnu/java/awt/peer/gtk/GtkDialogPeer.java
31641         (setVisible): New method to override super. Need to set the
31642         native bounds of the component, so it appears at the
31643         correct location.
31644
31645 2006-02-14  Mark Wielaard  <mark@klomp.org>
31646
31647         * java/awt/Frame.java (setMenuBar): Update MenuBar parent.
31648         (remove): If menu component is the current MenuBar remove it,
31649         otherwise call super.remove().
31650         * java/awt/MenuBar.java (frame): Remove field.
31651         * java/awt/MenuComponent.java (postEvent): Use getParent() always.
31652
31653 2006-02-14  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
31654
31655         * tools/gnu/classpath/tools/giop/NameServicePersistent.java: Refer
31656         to NameServicePersistent.
31657         * tools/gnu/classpath/tools/giop/NameServicePersistent.txt: New file.
31658         * tools/gnu/classpath/tools/giop/NamingServicePersistent.txt: Deleted.
31659
31660 2006-02-14  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
31661
31662         * NEWS: Updated tool status.
31663         * gnu/CORBA/NamingService/NamingMap.java (Map): Made protected.
31664         (constructor, bind, rebind): Rewritten.  
31665         * gnu/CORBA/NamingService/TransientContext.java: Rewritten.
31666         * tools/gnu/classpath/tools/giop/README: Updated.
31667         * tools/gnu/classpath/tools/giop/NameServicePersistent.java,
31668         tools/gnu/classpath/tools/giop/NamingServicePersistent.txt,
31669         tools/gnu/classpath/tools/giop/nameservice/PersistentContext.java,
31670         tools/gnu/classpath/tools/giop/nameservice/PersistentContextMap.java,
31671         tools/gnu/classpath/tools/giop/nameservice/PersistentMap.java: 
31672         New files.
31673   
31674 2006-02-14  David Gilbert  <david.gilbert@object-refinery.com>
31675   
31676         * javax/swing/JComponent.java
31677         (getListeners): Check for PropertyChangeListener.class and delegate to 
31678         getPropertyChangeListeners() for that case.
31679   
31680 2006-02-13  Roman Kennke  <kennke@aicas.com>
31681   
31682         * javax/swing/plaf/basic/BasicTableUI.java
31683         (paint): Determine the cells that need painting based on the
31684         current clip. Use getCellRect() for calculating the cell
31685         bounds.
31686   
31687 2006-02-13  Roman Kennke  <kennke@aicas.com>
31688   
31689         * javax/swing/JTable.java
31690         (rectCache): New field.
31691         (getCellRect): Returns cached Rectangle instance.
31692   
31693 2006-02-13  Roman Kennke  <kennke@aicas.com>
31694   
31695         * javax/swing/JLayeredPane.java
31696         (removeAll): New method. Avoid potential memory leak.
31697         (isOptimizedDrawingEnabled): Replaced heuristic with accurate
31698         calculation.
31699   
31700 2006-02-14  Stuart Ballard  <stuart.a.ballard@gmail.com>
31701   
31702         * javax/swing/undo/StateEdit.java (RCSID): Match Sun's value.
31703         * javax/swing/undo/StateEditable.java (RCSID): Likewise.
31704   
31705 2006-02-13  Tom Tromey  <tromey@redhat.com>
31706   
31707         * vm/reference/java/lang/reflect/Method.java: Javadoc fix.
31708         * vm/reference/java/lang/reflect/Constructor.java: Javadoc fix.
31709   
31710 2006-02-13  Roman Kennke  <kennke@aicas.com>
31711   
31712         * javax/swing/RepaintManager.java
31713         (offscreenBuffers): New field.
31714         (doubleBuffer): Removed field.
31715         (repaintUnderway): New field.
31716         (commitRequests): New field.
31717         (RepaintManager): Initialize new fields.
31718         (paintDirtyRegions): Handle repaintUnderway flag. Commit
31719         buffers when done.
31720         (getOffscreenBuffer): Returns the offscreen buffer for the
31721         corresponding root component.
31722         (commitBuffer): New method.
31723         (commitRemainingBuffers): New method.
31724         * javax/swing/JComponent.java
31725         (paint): Call paintDoubleBuffered with the current clip.
31726         (paintImmediately2): Don't paint on screen here.
31727         (paintDoubleBuffered): Rewritten for real double buffering.
31728         (paintSimple): Draw to screen in this method.
31729   
31730 2006-02-13  Roman Kennke  <kennke@aicas.com>
31731   
31732         * javax/swing/JRootPane.java
31733         (JRootPane): Set opaque property to true.
31734   
31735 2006-02-13  Tom Tromey  <tromey@redhat.com>
31736   
31737         * .classpath: Updated for external/relaxngDatatype.
31738   
31739 2006-02-13  Chris Burdess  <dog@gnu.org>
31740   
31741         * gnu/xml/stream/UnicodeReader.java,
31742           gnu/xml/validation/datatype/Annotation.java,
31743           gnu/xml/validation/datatype/AnySimpleType.java,
31744           gnu/xml/validation/datatype/AnyType.java,
31745           gnu/xml/validation/datatype/AnyURIType.java,
31746           gnu/xml/validation/datatype/AtomicSimpleType.java,
31747           gnu/xml/validation/datatype/Base64BinaryType.java,
31748           gnu/xml/validation/datatype/BooleanType.java,
31749           gnu/xml/validation/datatype/ByteType.java,
31750           gnu/xml/validation/datatype/DateTimeType.java,
31751           gnu/xml/validation/datatype/DateType.java,
31752           gnu/xml/validation/datatype/DecimalType.java,
31753           gnu/xml/validation/datatype/DoubleType.java,
31754           gnu/xml/validation/datatype/DurationType.java,
31755           gnu/xml/validation/datatype/EntitiesType.java,
31756           gnu/xml/validation/datatype/EntityType.java,
31757           gnu/xml/validation/datatype/EnumerationFacet.java,
31758           gnu/xml/validation/datatype/Facet.java,
31759           gnu/xml/validation/datatype/FloatType.java,
31760           gnu/xml/validation/datatype/FractionDigitsFacet.java,
31761           gnu/xml/validation/datatype/GDayType.java,
31762           gnu/xml/validation/datatype/GMonthDayType.java,
31763           gnu/xml/validation/datatype/GMonthType.java,
31764           gnu/xml/validation/datatype/GYearMonthType.java,
31765           gnu/xml/validation/datatype/GYearType.java,
31766           gnu/xml/validation/datatype/HexBinaryType.java,
31767           gnu/xml/validation/datatype/IDRefType.java,
31768           gnu/xml/validation/datatype/IDRefsType.java,
31769           gnu/xml/validation/datatype/IDType.java,
31770           gnu/xml/validation/datatype/IntType.java,
31771           gnu/xml/validation/datatype/IntegerType.java,
31772           gnu/xml/validation/datatype/LanguageType.java,
31773           gnu/xml/validation/datatype/LengthFacet.java,
31774           gnu/xml/validation/datatype/ListSimpleType.java,
31775           gnu/xml/validation/datatype/LongType.java,
31776           gnu/xml/validation/datatype/MaxExclusiveFacet.java,
31777           gnu/xml/validation/datatype/MaxInclusiveFacet.java,
31778           gnu/xml/validation/datatype/MaxLengthFacet.java,
31779           gnu/xml/validation/datatype/MinExclusiveFacet.java,
31780           gnu/xml/validation/datatype/MinInclusiveFacet.java,
31781           gnu/xml/validation/datatype/MinLengthFacet.java,
31782           gnu/xml/validation/datatype/NCNameType.java,
31783           gnu/xml/validation/datatype/NMTokenType.java,
31784           gnu/xml/validation/datatype/NMTokensType.java,
31785           gnu/xml/validation/datatype/NameType.java,
31786           gnu/xml/validation/datatype/NegativeIntegerType.java,
31787           gnu/xml/validation/datatype/NonNegativeIntegerType.java,
31788           gnu/xml/validation/datatype/NonPositiveIntegerType.java,
31789           gnu/xml/validation/datatype/NormalizedStringType.java,
31790           gnu/xml/validation/datatype/NotationType.java,
31791           gnu/xml/validation/datatype/PatternFacet.java,
31792           gnu/xml/validation/datatype/PositiveIntegerType.java,
31793           gnu/xml/validation/datatype/QNameType.java,
31794           gnu/xml/validation/datatype/ShortType.java,
31795           gnu/xml/validation/datatype/SimpleType.java,
31796           gnu/xml/validation/datatype/StringType.java,
31797           gnu/xml/validation/datatype/TimeType.java,
31798           gnu/xml/validation/datatype/TokenType.java,
31799           gnu/xml/validation/datatype/TotalDigitsFacet.java,
31800           gnu/xml/validation/datatype/Type.java,
31801           gnu/xml/validation/datatype/TypeBuilder.java,
31802           gnu/xml/validation/datatype/TypeLibrary.java,
31803           gnu/xml/validation/datatype/TypeLibraryFactory.java,
31804           gnu/xml/validation/datatype/UnionSimpleType.java,
31805           gnu/xml/validation/datatype/UnsignedByteType.java,
31806           gnu/xml/validation/datatype/UnsignedIntType.java,
31807           gnu/xml/validation/datatype/UnsignedLongType.java,
31808           gnu/xml/validation/datatype/UnsignedShortType.java,
31809           gnu/xml/validation/datatype/WhiteSpaceFacet.java,
31810           resource/META-INF/services/org.relaxng.datatype.DatatypeLibraryFactory:
31811           RELAX NG datatype library implementation for XML Schema Datatypes.
31812
31813 2006-02-13  Chris Burdess  <dog@gnu.org>
31814
31815         * LICENCE,
31816           NEWS,
31817           configure.ac,
31818           doc/README.jaxp,
31819           external/Makefile.am,
31820           external/relaxngDatatype/.cvsignore,
31821           external/relaxngDatatype/Makefile.am,
31822           external/relaxngDatatype/README.txt,
31823           external/relaxngDatatype/copying.txt,
31824           external/relaxngDatatype/org/relaxng/datatype/Datatype.java,
31825           external/relaxngDatatype/org/relaxng/datatype/DatatypeBuilder.java,
31826           external/relaxngDatatype/org/relaxng/datatype/DatatypeException.java,
31827           external/relaxngDatatype/org/relaxng/datatype/DatatypeLibrary.java,
31828           external/relaxngDatatype/org/relaxng/datatype/DatatypeLibraryFactory.java,
31829           external/relaxngDatatype/org/relaxng/datatype/DatatypeStreamingValidator.java,
31830           external/relaxngDatatype/org/relaxng/datatype/ValidationContext.java,
31831           external/relaxngDatatype/org/relaxng/datatype/helpers/DatatypeLibraryLoader.java,
31832           external/relaxngDatatype/org/relaxng/datatype/helpers/ParameterlessDatatypeBuilder.java,
31833           external/relaxngDatatype/org/relaxng/datatype/helpers/StreamingValidatorImpl.java,
31834           lib/Makefile.am,
31835           lib/gen-classlist.sh.in: Added external RELAX NG pluggable
31836           datatypes library API.
31837   
31838 2006-02-13  Mark Wielaard  <mark@klomp.org>
31839   
31840         * gnu/java/awt/peer/gtk/GtkGenericPeer.java (awtWidget): Made field
31841         final.
31842         (gtkWidgetModifyFont(Font)): New protected helper method.
31843         (gtkWidgetModifyFont(String,int,int)): Made protected and document.
31844         * gnu/java/awt/peer/gtk/GtkButtonPeer.java (gtkWidgetModifyFont): Made
31845         protected and document.
31846         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java (gtkWidgetModifyFont):
31847         Likewise.
31848         * gnu/java/awt/peer/gtk/GtkLabelPeer.java (gtkWidgetModifyFont):
31849         Likewise.
31850         * gnu/java/awt/peer/gtk/GtkListPeer.java (gtkWidgetModifyFont):
31851         Likewise.
31852         * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java (create): Made protected.
31853         (setFont): Removed method. Done in GtkMenuComponent.
31854         * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java (create): Made
31855         abstract and protected.
31856         (setFont): Made private, add implementation.
31857         (setFont(Font)): Implemented.
31858         * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java (gtkWidgetModifyFont):
31859         Made protected and document.
31860         (create): Made protected.
31861         (setFont): Removed method. Done in GtkMenuComponent.
31862         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java
31863         (gtkWidgetModifyFont): Made protected and document.
31864         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (gtkWidgetModifyFont):
31865         Removed, similar to GtkGenericPeer super class implementation.
31866         * include/gnu_java_awt_peer_gtk_GtkTextFieldPeer.h: Regenerated.
31867         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
31868         (Java_gnu_java_awt_peer_gtk_GtkTextFieldPeer_gtkWidgetModifyFont):
31869         Removed.
31870   
31871 2006-02-13  Mark Wielaard  <mark@klomp.org>
31872   
31873         * java/lang/Math.java (static): Explicitly call
31874         System.loadLibrary("javalang").
31875   
31876 2006-02-13  Wolfgang Baer  <WBaer@gmx.de>
31877   
31878         * javax/print/StreamPrintServiceFactory.java: New file.
31879   
31880 2006-02-13  Tom Tromey  <tromey@redhat.com>
31881   
31882         * tools/.cvsignore: Added Makefile.
31883   
31884 2006-02-13  Wolfgang Baer  <WBaer@gmx.de>
31885   
31886         * java/awt/print/PrinterGraphics.java: Reformatted.
31887         * java/awt/print/Paper.java: Likewise.
31888         * java/awt/print/PageFormat.java: Likewise.
31889         * java/awt/print/Pageable.java: Likewise.
31890   
31891 2006-02-13  Lillian Angel  <langel@redhat.com>
31892   
31893         * java/awt/BorderLayout.java
31894         (layoutContainer): Rewrote part of this function to 
31895         properly set the bounds of the components.
31896         (setBounds): Removed method, not needed.
31897   
31898 2006-02-13  Roman Kennke  <kennke@aicas.com>
31899   
31900         * javax/swing/text/DefaultStyledDocument.java
31901         (ElementBuffer.clone): Fixed replace call.
31902         (clone): Removed method.
31903   
31904 2006-02-13  Roman Kennke  <kennke@aicas.com>
31905   
31906         * java/rmi/server/UnicastRemoteObject.java: Reformatted.
31907   
31908 2006-02-13  Roman Kennke  <kennke@aicas.com>
31909   
31910         * java/rmi/server/UnicastRemoteObject.java
31911         (exportObject(Remote)): Forward method call to export(Remote,int).
31912   
31913 2006-02-13  Andrew John Hughes  <gnu_andrew@member.fsf.org>
31914   
31915         * include/Makefile.am:
31916         Swapped Math.h for VMMath.h
31917         * include/java_lang_Math.h:
31918         Removed.
31919         * include/java_lang_VMMath.h:
31920         New autogenerated header for the new class.
31921         * java/lang/Math.java:
31922         (sin(double)): Changed to link to VMMath.
31923         (cos(double)): Changed to link to VMMath.
31924         (tan(double)): Changed to link to VMMath.
31925         (asin(double)): Changed to link to VMMath.
31926         (acos(double)): Changed to link to VMMath.
31927         (atan(double)): Changed to link to VMMath.
31928         (atan2(double)): Changed to link to VMMath.
31929         (exp(double)): Changed to link to VMMath.
31930         (log(double)): Changed to link to VMMath.
31931         (sqrt(double)): Changed to link to VMMath.
31932         (pow(double,double)): Changed to link to VMMath.
31933         (IEEEremainder(double,double)): Changed to link to VMMath.
31934         (ceil(double)): Changed to link to VMMath.
31935         (floor(double)): Changed to link to VMMath.
31936         (rint(double)): Changed to link to VMMath.
31937         * native/jni/java-lang/Makefile.am:
31938         Replaced java_lang_Math.c with java_lang_VMMath.c
31939         * native/jni/java-lang/java_lang_Math.c:
31940         Removed.
31941         * native/jni/java-lang/java_lang_VMMath.c:
31942         Renamed from java_lang_Math.c.
31943         * vm/reference/java/lang/VMMath.java:
31944         New class.
31945         (sin(double)): New native method.
31946         (cos(double)): New native method.
31947         (tan(double)): New native method.
31948         (asin(double)): New native method.
31949         (acos(double)): New native method.
31950         (atan(double)): New native method.
31951         (atan2(double)): New native method.
31952         (exp(double)): New native method.
31953         (log(double)): New native method.
31954         (sqrt(double)): New native method.
31955         (pow(double,double)): New native method.
31956         (IEEEremainder(double,double)): New native method.
31957         (ceil(double)): New native method.
31958         (floor(double)): New native method.
31959         (rint(double)): New native method.
31960         
31961 2006-02-13  Lillian Angel  <langel@redhat.com>
31962   
31963         * java/awt/Component.java
31964         (repaint): No need to call isShowing, it is done in the other repaint call.
31965         (repaint): Likewise.
31966         (repaint): Likewise.
31967   
31968 2006-02-13  Lillian Angel  <langel@redhat.com>
31969   
31970         * java/awt/Component.java
31971         (repaint): Reverted last change.
31972         (repaint): Likewise.
31973         (repaint): Likewise.
31974
31975 2006-02-13  Lillian Angel  <langel@redhat.com>
31976
31977         * gnu/java/awt/peer/gtk/GtkPanelPeer.java
31978         (handleEvent): Made more efficent by handling paint event and
31979         setting the clip for the graphics.
31980         * gnu/java/awt/peer/gtk/GtkWindowPeer.java
31981         (handleEvent): Likewise.
31982         * java/awt/Component.java
31983         (repaint): No need to call isShowing, it is done in the other repaint call.
31984         (repaint): Likewise.
31985         (repaint): Likewise.
31986   
31987 2006-02-13  Roman Kennke  <kennke@aicas.com>
31988   
31989         * javax/swing/text/AbstractDocument.java
31990         (setParent): Added API docs. Call setParent(null) on children before
31991         disconnecting this view from the View hierarchy.
31992   
31993 2006-02-13  Roman Kennke  <kennke@aicas.com>
31994   
31995         * javax/swing/text/AbstractDocument.java
31996         (readUnlock): Don't attempt to unlock when the current threads also
31997         holds a write lock.
31998   
31999 2006-02-13  David Gilbert  <david.gilbert@object-refinery.com>
32000   
32001         * javax/swing/plaf/metal/MetalBorders.java
32002         (ButtonBorder.getBorderInsets(Component)): Return insets directly,
32003         (ButtonBorder.getBorderInsets(Component, Insets)): Don't check for null
32004         insets argument,
32005         (Flush3DBorder.borderInsets): New field,
32006         (Flush3DBorder.getBorderInsets(Component)): Return insets directly,
32007         (Flush3DBorder.getBorderInsets(Component, Insets)): Don't check for 
32008         null insets argument, and populate result from borderInsets,
32009         (PaletteBorder.borderInsets): New field,
32010         (PaletteBorder.getBorderInsets(Component)): Return insets directly,
32011         (PaletteBorder.getBorderInsets(Component, Insets)): Don't check for 
32012         null insets argument, and populate result from borderInsets,
32013         (InternalFrameBorder.borderInsets): New field,
32014         (InternalFrameBorder.getBorderInsets(Component)): Return insets 
32015         directly,
32016         (InternalFrameBorder.getBorderInsets(Component, Insets)): Don't check 
32017         for null insets argument, and populate result from borderInsets,
32018         (MenuItemBorder.borderInsets): Initialise to correct value.
32019
32020 2006-02-13  Roman Kennke  <kennke@aicas.com>
32021
32022         * javax/swing/text/AsyncBoxView.java: New file.
32023
32024 2006-02-13  Ito Kazumitsu  <kaz@maczuka.gcd.org>
32025
32026         Fixes bug #26166
32027         * gnu/regexp/RE.java(initialize): Parsing of character class expression
32028         was moved to a new method parseCharClass.
32029         (parseCharClass): New method originally in initialize. Added parsing
32030         of nested character classes.
32031         (ParseCharClassResult): New inner class used as a return value of
32032         parseCharClass.
32033         (getCharExpression),(getNamedProperty): Made static.
32034         * gnu/regexp/RESyntax.java(RE_NESTED_CHARCLASS): New syntax flag.
32035         * gnu/regexp/RETokenOneOf.java(addition): New Vector for storing
32036         nested character classes.
32037         (RETokenOneOf): New constructor accepting the Vector addition.
32038         (getMinimumLength), (getMaximumLength): Returns 1 if the token
32039         stands for only one character.
32040         (match): Added the processing of the Vector addition.
32041         (matchN), (matchP): Do not check next token if addition is used.
32042   
32043 2006-02-12  Olivier Jolly <olivier.jolly@pcedev.com>
32044   
32045         * AUTHORS: add self.
32046   
32047 2006-02-12  Tom Tromey  <tromey@redhat.com>
32048   
32049         * gnu/classpath/ServiceProviderLoadingAction.java: Javadoc fix.
32050         * gnu/classpath/ServiceFactory.java (ServiceIterator): Javadoc fix.
32051         (securityContext): Likewise.
32052         (log): Likewise.
32053   
32054 2006-02-12  Dalibor Topic  <robilad@kaffe.org>
32055   
32056         Fixes PR 26218.
32057   
32058         * gnu/java/net/protocol/file/Connection.java (unquote):
32059         Convert Unicode characters outside basic plane to UTF-8,
32060         rather than throwing an exception.
32061   
32062 2006-02-12  Tom Tromey  <tromey@redhat.com>
32063   
32064         * javax/sound/sampled/LineEvent.java (readObject): New method.
32065         (writeObject): Likewise.
32066         (serialVersionUID): New field.
32067   
32068 2006-02-12  Mark Wielaard  <mark@klomp.org>
32069   
32070         * java/beans/PropertyChangeSupport.java (addPropertyChangeListener):
32071         Silently ignores null listener.
32072         (addPropertyChangeListener(String, PropertyChangeListener): Likewise.
32073         (getPropertyChangeListeners): Returns empty PropertyChangeListener
32074         array for null propertyName.
32075
32076 2006-02-12  Wolfgang Baer  <WBaer@gmx.de>
32077
32078         * java/rmi/MarshalledObject.java: Added api docs to the class.
32079         * java/rmi/Remote.java: Added interface api docs.
32080         * java/rmi/package.html: Added package description.
32081         * java/rmi/AccessException.java: Minor api doc fixes.
32082         * java/rmi/NoSuchObjectException.java: Likewise.
32083         * java/rmi/AlreadyBoundException.java: Likewise.
32084         * java/rmi/RemoteException.java: Likewise.
32085         * java/rmi/NotBoundException.java: Likewise.
32086         * java/rmi/RMISecurityException.java: Likewise.
32087         * java/rmi/StubNotFoundException.java: Likewise.        
32088
32089 2006-02-12  Mark Wielaard  <mark@klomp.org>
32090
32091         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (postKeyEvent): Call
32092         q() to get EventQueue.
32093         * gnu/java/awt/peer/gtk/GtkGenericPeer.java (q): Remove static field.
32094         (enableQueue): Remove static method.
32095         * gnu/java/awt/peer/gtk/GtkToolkit.java (getSystemEventQueueImpl):
32096         Don't call GtkGenericPeer.enableQueue().
32097
32098 2006-02-12  Wolfgang Baer  <WBaer@gmx.de>
32099
32100         * java/rmi/MarshalledObject.java: Reformatted.
32101         * java/rmi/Naming.java: Likewise.       
32102
32103 2006-02-12  Jeroen Frijters  <jeroen@frijters.net>
32104
32105         * java/io/InputStream.java
32106         (read(byte[],int,int)): Changed argument validation to prevent
32107         integer overflow. Remove redundant check.
32108   
32109 2006-02-12  Jeroen Frijters  <jeroen@frijters.net>
32110   
32111         Fixes PR 26220
32112         * java/io/InputStreamReader.java
32113         (InputStreamReader(InputStream)): Use SystemProperties.
32114         (InputStreamReader(InputStream,Charset)): Corrected @since tag.
32115         Throw NullPointerException if in is null.
32116         Added maxBytesPerChar initialisation.
32117         (InputStreamReader(InputStream,CharsetDecoder)): Corrected @since tag.
32118         Throw NullPointerException if in is null.
32119
32120 2006-02-12  Raif S. Naffah  <raif@swiftdsl.com.au>
32121
32122         * gnu/javax/crypto/key/dh/GnuDHPublicKey.java
32123         (GnuDHPublicKey(4)): Call constructor with 5 arguments.
32124         (GnuDHPublicKey): New constructor.
32125         (getEncoded): Removed.
32126         (valueOf): Added support for ASN.1 encoding.
32127         (getEncoded(int)): Likewise.
32128         (equals): New method.
32129         * gnu/javax/crypto/key/dh/GnuDHPrivateKey.java
32130         (GnuDHPrivateKey(4)): Call constructor with 5 arguments.
32131         (GnuDHPrivateKey(5)): New constructor.
32132         (getEncoded): Removed.
32133         (valueOf): Added support for ASN.1 encoding.
32134         (getEncoded(int)): Likewise.
32135         (equals): New method.
32136         * gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java
32137         (PREFERRED_ENCODING_FORMAT): New constant.
32138         (DEFAULT_ENCODING_FORMAT): Likewise.
32139         (preferredFormat): New field.
32140         (setup): Handle preferred encoding format identifier.
32141         (generate): Call constructors with format identifier.
32142         * gnu/javax/crypto/key/dh/GnuDHKey.java (defaultFormat): New field.
32143         (GnuDHKey): Added an int argument.
32144         (getEncoded): New method.
32145         (getFormat): New implementation.
32146         (getEncoded(int)): New abstract method.
32147         * gnu/javax/crypto/key/dh/DHKeyPairX509Codec.java: New file.
32148         * gnu/javax/crypto/key/dh/DHKeyPairPKCS8Codec.java: Likewise.
32149         * gnu/javax/crypto/jce/GnuCrypto.java (run): Added mappings for DH
32150         key-pair generator and key-factory.
32151         * gnu/javax/crypto/jce/sig/DHKeyPairGeneratorSpi.java: New file.
32152         * gnu/javax/crypto/jce/sig/DHKeyFactory.java: Likewise.
32153         * gnu/java/security/jce/sig/KeyPairGeneratorAdapter.java: Made it public.
32154         * gnu/java/security/jce/sig/EncodedKeyFactory.java
32155         (invokeConstructor): New method.
32156         (getConcreteClass): Likewise.
32157         (getConcreteCtor): Likewise.
32158         (invokeValueOf): Likewise.
32159         (getValueOfMethod): Likewise.
32160         (engineGeneratePublic): Add support for DH keys.
32161         (engineGeneratePrivate): Likewise.
32162         (decodeDHPublicKey(DHPublicKeySpec)): New method.
32163         (decodeDHPublicKey(byte[])): Likewise.
32164         (decodeDHPrivateKey(DHPrivateKeySpec)): Likewise.
32165         (decodeDHPrivateKey(byte[])): Likewise.
32166
32167 2006-02-11  Mark Wielaard  <mark@klomp.org>
32168
32169         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (repaintTimer):
32170         Removed field.
32171         (repaint): Immediately post to queue when tm <= 0, otherwise call
32172         RepaintTimerTask.schedule().
32173         (RepaintTimerTask): Make static.
32174         (RepaintTimerTask.repaintTimer): New static final field.
32175         (RepaintTimerTask.awtComponent): New field.
32176         (schedule): New static method.
32177
32178 2006-02-11  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
32179
32180         * tools/gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java
32181         * tools/gnu/classpath/tools/giop/grmic/MethodGenerator.java
32182         * tools/gnu/classpath/tools/giop/grmic/templates/Tie.jav,
32183         tools/gnu/classpath/tools/giop/grmic/templates/TieMethod.jav,
32184         tools/gnu/classpath/tools/giop/grmic/templates/TieMethodVoid.jav:
32185         Rewritten.
32186         * tools/gnu/classpath/tools/giop/grmic/HashFinder.java: New file.
32187   
32188 2006-02-11  Raif S. Naffah  <raif@swiftdsl.com.au>
32189   
32190         * gnu/java/security/jce/sig/EncodedKeyFactory.java
32191         (engineGeneratePublic): Added support for raw key-specifications.
32192         (engineGeneratePrivate): Likewise.
32193         (decodeDSSPublicKey): New method.
32194         (decodeRSAPublicKey): Likewise.
32195         (decodeDSSPrivateKey): Likewise.
32196         (decodeRSAPrivateKey): Likewise.
32197         * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java
32198         (encodePrivateKey): Throw InvalidParameterException.
32199         (decodePublicKey): Likewise.
32200         (decodePrivateKey): Likewise.
32201         * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java
32202         (encodePublicKey): Likewise.
32203         (encodePrivateKey): Likewise.
32204         (decodePublicKey): Likewise.
32205         * gnu/java/security/key/dss/DSSKeyPairX509Codec.java
32206         (encodePrivateKey): Likewise.
32207         (decodePublicKey): Likewise.
32208         (decodePrivateKey): Likewise.
32209         * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java
32210         (encodePublicKey): Likewise.
32211         (encodePrivateKey): Likewise.
32212         (decodePublicKey): Likewise.
32213   
32214 2006-02-10  Roman Kennke  <kennke@aicas.com>
32215   
32216         * javax/swing/text/StyleContext.java
32217         (registerStaticAttributeKey): New static method.
32218   
32219 2006-02-10  Roman Kennke  <kennke@aicas.com>
32220   
32221         * javax/swing/text/DefaultStyledDocument.java
32222         (ElementBuffer.clone): New method.
32223   
32224 2006-02-10  Roman Kennke  <kennke@aicas.com>
32225   
32226         * javax/swing/text/ParagraphView.java
32227         (findOffsetToCharactersInString): New method.
32228         (getClosestPositionTo): New method.
32229         (getPartialSize): New method.
32230         (getTabBase): New method.
32231         (adjustRow): New method.
32232         (breakView): New method.
32233         (getBreakWeight): New method.
32234   
32235 2006-02-10  Roman Kennke  <kennke@aicas.com>
32236   
32237         * javax/swing/text/GapContent.java
32238         (updateUndoPositions): New method.
32239         * javax/swing/text/StringContent.java
32240         (updateUndoPositions): New method.
32241   
32242 2006-02-10  Raif S. Naffah  <raif@swiftdsl.com.au>
32243   
32244         * gnu/java/security/key/rsa/GnuRSAPrivateKey.java (GnuRSAPrivateKey(9)):
32245         Made it public.
32246         * gnu/java/security/jce/sig/RSAKeyFactory.java: New file.
32247         * gnu/java/security/jce/sig/DSSKeyFactory.java (engineGeneratePublic):
32248         Added support for encoded key specifications.
32249         (engineGeneratePrivate): Likewise.
32250         (engineGetKeySpec): Likewise.
32251         (engineTranslateKey): Corrected order of MPIs and use ctors with 5 args.
32252   
32253 2006-02-10  Robert Schuster  <robertschuster@fsfe.org>
32254   
32255         * javax/swing/text/Utilities.java:
32256         (getTabbedTextOffset): Fixed usage of variable p0.
32257         (getPositionAbove): Rewritten.
32258         (getPositionBelow): Rewritten.
32259   
32260 2006-02-09  Roman Kennke  <kennke@aicas.com>
32261   
32262         * javax/swing/text/BoxView.java
32263         (getAxis): Added @since tag.
32264         (setAxis): Added @since tag.
32265         (layoutChanged): Added @since tag.
32266         (isLayoutValid): Added @since tag.
32267         (paint): Don't call setSize here. This is done in RootView already.
32268         (getMaximumSpan): Reimplemented to return the requirements'
32269         maximum size. Added API docs.
32270         (getMinimumSpan): New method.
32271         (layout): Fixed layout order.
32272         (modelToView): Call layout instead of setSize here.
32273         (getResizeWeight): New method.
32274         (getChildAllocation): New method.
32275         (forwardUpdate): New method.
32276         (viewToModel): New method.
32277         (flipEastEndWestEnds): New method.
32278         * javax/swing/text/CompositeView.java
32279         (modelToView): Made this method more robust by returning a default
32280         location if it's not possible to calculate one via the children.
32281         This default location returns the left or right edge of this
32282         view.
32283         (createDefaultLocation): New helper method.
32284         * javax/swing/text/IconView.java
32285         (modelToView): Don't throw BadLocationException. This should
32286         really only be thrown if the position is outside the document
32287         model, not if it's outside the view's boundary.
32288   
32289 2006-02-09  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
32290   
32291         * tools/Makefile.am: Handle rmi and giop folders separately.
32292   
32293 2006-02-09  David Gilbert  <david.gilbert@object-refinery.com>
32294   
32295         * javax/swing/SpinnerDateModel.java: Updated API docs all over,
32296         * javax/swing/SpinnerNumberModel.java: Likewise.
32297   
32298 2006-02-09  David Gilbert  <david.gilbert@object-refinery.com>
32299   
32300         * javax/swing/SpinnerDateModel.java: Removed tabs,
32301         * javax/swing/SpinnerNumberModel.java: Likewise.
32302   
32303 2006-02-09  Anthony Balkissoon  <abalkiss@redhat.com>
32304   
32305         * doc/unicode/SpecialCasing-4.0.0.txt: New file.
32306         * doc/unicode/UnicodeData-4.0.0.txt: New file.
32307   
32308 2006-02-09  Wolfgang Baer  <WBaer@gmx.de>
32309   
32310         Fixes bug #26081
32311         * gnu/java/net/protocol/http/HTTPURLConnection.java: 
32312         (isRedirect): Removed, moved to Response.java.
32313         (connect): If error condition redirect responseSink to errorSink.
32314         (getInputStream): If error condition throw IOException, for the error
32315         codes 404 and 410 throw a FileNotFoundException.        
32316         * gnu/java/net/protocol/http/Response.java (isError): New method.
32317         (isRedirect): New method, moved from HTTPURLConnection.java.
32318   
32319 2006-02-09  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
32320   
32321         * tools/Makefile.am: Add tools/gnu/classpath/tools/rmi folder.
32322         * tools/gnu/classpath/tools/giop/GRMIC.txt: Explain it called from RMIC.
32323         * tools/gnu/classpath/tools/giop/grmic/Generator.java (getResource): 
32324         Better diagnostic.
32325         * tools/gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java:
32326         Rewritten.
32327         * tools/gnu/classpath/tools/giop/grmic/MethodGenerator.java: Implement
32328         AbstractMethodGenerator.
32329         * tools/gnu/classpath/tools/AbstractMethodGenerator.java,
32330         tools/gnu/classpath/tools/rmi/RMIC.java,
32331         tools/gnu/classpath/tools/rmi/RMIC.txt,
32332         tools/gnu/classpath/tools/rmi/rmic/RmiMethodGenerator.java,
32333         tools/gnu/classpath/tools/rmi/rmic/RmicCompiler.java,
32334         tools/gnu/classpath/tools/rmi/rmic/WrapUnWrapper.java,
32335         tools/gnu/classpath/tools/rmi/rmic/templates/Stub_12.jav,
32336         tools/gnu/classpath/tools/rmi/rmic/templates/Stub_12Method.jav,
32337         tools/gnu/classpath/tools/rmi/rmic/templates/Stub_12MethodVoid.jav: 
32338         New files.
32339         * NEWS: Corrected entry about the tools.
32340   
32341 2006-02-09  Lillian Angel  <langel@redhat.com>
32342   
32343         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
32344         (handleEvent): Added more to check to prevent assertion errors.
32345         * gnu/java/awt/peer/gtk/GtkPanelPeer.java
32346         (handleEvent): Likewise.
32347         * gnu/java/awt/peer/gtk/GtkWindowPeer.java
32348         (handleEvent): Likewise.
32349   
32350 2006-02-09  Mark Wielaard  <mark@klomp.org>
32351   
32352         * javax/swing/JTable.java (tableChanged): Interpret null event as
32353         "everything changed".
32354   
32355 2006-02-09  Roman Kennke  <kennke@aicas.com>
32356   
32357         * javax/swing/text/DefaultCaret.java
32358         (DocumentHandler.removeUpdate): When update policy is
32359         'on eventqueue', and the update doesn't come from the
32360         event queue, check if the current dot location is still
32361         valid.
32362         (moveDot): Make sure the new dot location is valid.
32363         (setDot): Set the mark the same as the dot.
32364   
32365 2006-02-09  Roman Kennke  <kennke@aicas.com>
32366   
32367         * javax/swing/text/AbstractDocument.java
32368         (remove): Perform all operations within a write lock and in the
32369         correct order.
32370   
32371 2006-02-09  Mark Wielaard  <mark@klomp.org>
32372   
32373         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollbarPeer.c
32374         (Java_gnu_java_awt_peer_gtk_GtkScrollbarPeer_create): Make sure max is
32375         creater than min, adjusting page_size if necessary.
32376         (Java_gnu_java_awt_peer_gtk_GtkScrollbarPeer_setValues): Likewise.
32377   
32378 2006-02-09  Lillian Angel  <langel@redhat.com>
32379   
32380         * gnu/java/awt/peer/gtk/GtkPanelPeer.java
32381         (handleEvent): Added code to handle PaintEvent.UPDATE.
32382         Sun does not call update(Graphics g) on Panels.
32383         * gnu/java/awt/peer/gtk/GtkWindowPeer.java
32384         (handleEvent): New method. Added code to handle PaintEvent.UPDATE.
32385         Sun does not call update(Graphics g) on Panels.
32386   
32387 2006-02-09  Roman Kennke  <kennke@aicas.com>
32388   
32389         * javax/swing/text/BoxView.java
32390         (myAxis): Made field private.
32391         (xLayoutValid): Replaced by layoutValid array.
32392         (yLayoutValid): Replaced by layoutValid array.
32393         (layoutValid): New field.
32394         (spansX): Replaced by spans array.
32395         (spansY): Replaced by spans array.
32396         (spans): New field.
32397         (offsetsX): Replaced by offsets array.
32398         (offsetsY): Replaced by offsets array.
32399         (offsets): New field.
32400         (requirements): New field.
32401         (BoxView): Initialize new fields.
32402         (layoutChanged): Rewritten to use the layoutValid array.
32403         (isLayoutValid): Rewritten to use the layoutValid array.
32404         (replace): Use the new arrays.
32405         (getPreferredSpan): Rewritten to call calculateXXXRequirements
32406         instead of baselineRequirements.
32407         (baselineRequirements): Rewritten to calculate baseline requirements.
32408         (baselineLayout): Rewritten to calculate baseline layout.
32409         (childAllocation): Use new arrays.
32410         (layout): Rewritten. Only update the layout if necessary.
32411         (layoutMajorAxis): Directly set layoutValid.
32412         (layoutMinorAxis): Directly set layoutValid. Use cached size
32413         requirements.
32414         (getWidth): Use new span array.
32415         (getHeight): Likewise.
32416         (setSize): Rewritten to simply call layout().
32417         (validateLayout): Removed unneeded method.
32418         (getSpan): Use new arrays.
32419         (getOffset): Use new arrays.
32420         (getAlignment): Use cached requirements if possible.
32421         (preferenceChanged): Use new arrays.
32422         * javax/swing/text/FlowView.java
32423         (FlowStrategy.insertUpdate): Do nothing here.
32424         (FlowStrategy.removeUpdate): Do nothing here.
32425         (FlowStrategy.changedUpdate): Do nothing here.
32426         (FlowStrategy.layoutRow): Rewritten.
32427         (FlowStrategy.createView): Rewritten.
32428         (FlowStrategy.adjustRow): New method.
32429         (LogicalView.getViewIndex): Fixed condition for finding child
32430         view.
32431         (layoutDirty): New field indicating the state of the layout.
32432         (FlowView): Initialize new field.
32433         (loadChildren): Set parent on logical view so that preferenceChanges
32434         get propagated upwards.
32435         (layout): Rewritten to match the specs.
32436         (insertUpdate): Set layout to dirty.
32437         (removeUpdate): Set layout to dirty.
32438         (changedUpdate): Set layout to dirty.
32439         * javax/swing/text/GlyphView.java
32440         (getBreakWeight): Rewritten to use the Utilities class. Commented
32441         out though because that is broken.
32442         (insertUpdate): Call preferenceChanged on this object instead of
32443         parent.
32444         * javax/swing/text/ParagraphView.java
32445         (Row.loadChildren): Overridden to be a noop to prevent initial
32446         creation of child views. This is carried out by the flow layout.
32447         * javax/swing/text/View.java
32448         (getPreferredSpan): Added API docs.
32449         (getResizeWeight): Added API docs.
32450         (getMaximumSpan): Added API docs. Rewritten to only have one exit
32451         point.
32452         (getMinimumSpan): Added API docs. Rewritten to return 0 when
32453         resizable instead of Integer.MAX_VALUE.
32454         (getAlignment): Added API docs.
32455         (replace): Added API docs.
32456         (forwardUpdate): Rewritten to only notify child views that need to
32457         be notified.
32458   
32459 2006-02-09  Roman Kennke  <kennke@aicas.com>
32460   
32461         * javax/swing/plaf/basic/BasicTextUI.java
32462         (RootView.paint): Call setSize() before painting the view.
32463   
32464 2006-02-09  Ito Kazumitsu  <kaz@maczuka.gcd.org>
32465   
32466         Fixes bug #26112
32467         * gnu/regexp/RE.java(REG_REPLACE_USE_BACKSLASHESCAPE): New execution
32468         flag which enables backslash escape in a replacement.
32469         (getReplacement): New public static method. 
32470         (substituteImpl),(substituteAllImpl): Use getReplacement.
32471         * gnu/regexp/REMatch.java(substituteInto): Replace $n even if n>=10.
32472         * java/util/regex/Matcher.java(appendReplacement)
32473         Use RE#getReplacement.
32474         (replaceFirst),(replaceAll): Use RE.REG_REPLACE_USE_BACKSLASHESCAPE.
32475
32476 2006-02-09  Raif S. Naffah  <raif@swiftdsl.com.au>
32477
32478         * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java: New file.
32479         * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java: Likewise.
32480         * gnu/java/security/key/rsa/RSAKeyPairGenerator.java
32481         (PREFERRED_ENCODING_FORMAT): New constant.
32482         (DEFAULT_ENCODING_FORMAT): Likewise.
32483         (preferredFormat): New field.
32484         (setup): Add support for preferred encoding format.
32485         (generate): Call key constructors with explicit format identifier.
32486         * gnu/java/security/key/rsa/GnuRSAPublicKey.java (GnuRSAPublicKey(2)): 
32487         Call constructor with 3 arguments..
32488         (GnuRSAPublicKey(3)): New constructor.
32489         (valueOf): Added support for ASN.1 format.
32490         (getEncoded): Likewise.
32491         * gnu/java/security/key/rsa/GnuRSAPrivateKey.java (GnuRSAPrivateKey(4)):
32492         Call constructor with 5 arguments.
32493         (GnuRSAPrivateKey(5)): New constructor.
32494         (GnuRSAPrivateKey(9)): New constructor.
32495         (valueOf): Added support for ASN.1 format.
32496         (getEncoded): Likewise.
32497         * gnu/java/security/key/rsa/GnuRSAKey.java (defaultFormat): New field.
32498         (GnuRSAKey): Modified constructor.
32499         (getFormat): Return preferred format identifier.
32500         * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java
32501         (decodePrivateKey): Fixed documentation.
32502         Check Version field.
32503         * gnu/java/security/jce/sig/RSAKeyPairGeneratorSpi.java
32504         (initialize(int,SecureRandom)): Set ASN.1 as the preferred encoding
32505         format.
32506         (initialize(AlgorithmParameterSpec,SecureRandom)): Likewise.
32507         * gnu/java/security/jce/sig/EncodedKeyFactory.java
32508         (engineGeneratePublic): Added support for RSA.
32509         (engineGeneratePrivate): Likewise.
32510
32511 2006-02-09  Wolfgang Baer  <WBaer@gmx.de>
32512
32513         * java/net/URLConnection.java:
32514         (setAllowUserInteraction): Throw IllegalStateException if connected.
32515         (getRequestProperty): Document return value if key is null.
32516         * gnu/java/net/protocol/http/HTTPURLConnection.java:
32517         (getRequestProperty): Return null if key is null.
32518         (getRequestProperties): Throw IllegalStateException if connected.
32519         (setRequestProperty): Call super method for exception tests.
32520         (addRequestProperty): Likewise.
32521   
32522 2006-02-09  Wolfgang Baer  <WBaer@gmx.de>
32523   
32524         * gnu/java/net/protocol/http/Request.java:
32525         (Request): Remove initialization of removed field.
32526         (requestBodyNegotiationThreshold): Removed now unused field.
32527         (setRequestBodyNegotiationThreshold): Remove now unused method.
32528         (dispatch): Do not use 'Expect 100-continue' header if content-length
32529         is over a treshold. If user specified 'Expect 100-continue' still
32530         initialize the expectingContinue variable.
32531
32532 2006-02-08  David Gilbert  <david.gilbert@object-refinery.com>
32533
32534         * javax/swing/SpinnerNumberModel.java
32535         (SpinnerNumberModel(Number, Comparable, Comparable, Number): Allow 
32536         maximum and minimum to take null values,
32537         (setValue): Only fire ChangeEvent if new value is different to old 
32538         value,
32539         (setMinimum): Fixed test for updating value,
32540         (setMaximum): Likewise,
32541         (setStepSize): Likewise.
32542   
32543 2006-02-08  Tom Tromey  <tromey@redhat.com>
32544   
32545         * tools/.cvsignore: Added Makefile.in.
32546   
32547 2006-02-08  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
32548   
32549         * java/rmi/server/RemoteRef.java,
32550         java/rmi/server/RemoteStub.java: Commented.
32551   
32552 2006-02-08  David Gilbert  <david.gilbert@object-refinery.com>
32553   
32554         * javax/swing/SpinnerDateModel.java
32555         (SpinnerDateModel(Date, Comparable, Comparable, int)): Added argument
32556         checks,
32557         (getPreviousValue): Check result against start, not end,
32558         (setValue): Check that value actually changes before firing 
32559         ChangeEvent.
32560
32561 2006-02-08  Lillian Angel  <langel@redhat.com>
32562
32563         * java/awt/Choice.java
32564         (select): Fixed up code, added some checks to prevent errors.
32565         (dispatchEventImpl): Removed. This function is not needed. It 
32566         causes several assertion errors.
32567   
32568 2006-02-08  Roman Kennke  <kennke@aicas.com>
32569   
32570         * javax/swing/text/PlainView.java
32571         (drawLine): Call drawUnselectedText() with end offset - 1 to avoid
32572         drawing unnecessary characters.
32573   
32574 2006-02-08  Lillian Angel  <langel@redhat.com>
32575   
32576         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
32577         (handleEvent): Fixed check to determine if height or
32578         width is less than 1.
32579   
32580 2006-02-08  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
32581   
32582         *tools/Makefile.am (ALL_TOOLS_FILES): Add $(TOOLS_HELPS).
32583   
32584 2006-02-08  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
32585   
32586         * examples/gnu/classpath/examples/CORBA/swing/x5/_GameManagerImpl_Tie.java,
32587         examples/gnu/classpath/examples/CORBA/swing/x5/_PlayerImpl_Tie.java:
32588         Documenting the code generator.
32589         * gnu/CORBA/IOR.java (toStringFormatted, 
32590         CodeSet_component.toStringFormatted): New methods.
32591         * tools/Makefile.am (TOOLS_JAVA_FILES, READMES): Rewritten.
32592         * tools/gnu/classpath/tools/giop/README: Rewritten.
32593         * tools/gnu/classpath/tools/giop/GRMIC.java (main): Rewritten. 
32594         (printHelpAndExit): Removed.
32595         *tools/gnu/classpath/tools/giop/IorParser.java,
32596         tools/gnu/classpath/tools/giop/IorParser.txt,
32597         tools/gnu/classpath/tools/giop/NameService.java,
32598         tools/gnu/classpath/tools/giop/NamingService.txt,
32599         tools/gnu/classpath/tools/HelpPrinter.java: New files.
32600         NEWS: Added note about GIOP tools.
32601
32602 2006-02-07  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
32603
32604         * .classpath: New source patch (tools).
32605         * Makefile.am (SUBDIRS, DIST_SUBDIRS): added "tools".
32606         * configure.ac (AC_CONFIG_FILES): added tools/Makefile
32607         * tools/gnu/classpath/tools/Makefile.am,
32608         tools/gnu/classpath/tools/giop/GRMIC.java
32609         tools/gnu/classpath/tools/giop/GRMIC.txt,
32610         tools/gnu/classpath/tools/giop/README,
32611         tools/gnu/classpath/tools/giop/grmic/CompilationError.java,
32612         tools/gnu/classpath/tools/giop/grmic/Generator.java,
32613         tools/gnu/classpath/tools/giop/grmic/GiopIo.java,
32614         tools/gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java,
32615         tools/gnu/classpath/tools/giop/grmic/MethodGenerator.java,
32616         tools/gnu/classpath/tools/giop/grmic/templates/ImplTie.jav,
32617         tools/gnu/classpath/tools/giop/grmic/templates/Stub.jav,
32618         tools/gnu/classpath/tools/giop/grmic/templates/StubMethod.jav,
32619         tools/gnu/classpath/tools/giop/grmic/templates/StubMethodVoid.jav,
32620         tools/gnu/classpath/tools/giop/grmic/templates/Tie.jav,
32621         tools/gnu/classpath/tools/giop/grmic/templates/TieMethod.jav,
32622         tools/gnu/classpath/tools/giop/grmic/templates/TieMethodVoid.jav: New files.
32623   
32624 2006-02-07  David Gilbert  <david.gilbert@object-refinery.com>
32625   
32626         * java/awt/BasicStroke.java: Updated API docs all over,
32627         * java/awt/doc-files/capjoin.png: New file.
32628   
32629 2006-02-07  Lillian Angel  <langel@redhat.com>
32630   
32631         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
32632         (handleEvent): Added check. Should not paint or update the 
32633         component if it's width and height are both 0.  
32634   
32635 2006-02-07  Roman Kennke  <kennke@aicas.com>
32636   
32637         * javax/swing/text/AbstractDocument.java
32638         (insertString): Enclose locking/unlocking in try-finally block
32639         and also keep locked while notifying the listeners.
32640   
32641 2006-02-07  Roman Kennke  <kennke@aicas.com>
32642   
32643         * javax/swing/text/GlyphView.java
32644         (GlyphView): Initialize startOffset and endOffset with -1 (indicating
32645         element boundary).
32646         (getStartOffset): Return element boundary if startOffset < 0.
32647         (getEndOffset): Return element boundary if endOffset < 0.
32648         (createFragment): Set startOffset and endOffset fields of fragment
32649         if one of p0 or p1 is not at the element boundary.
32650   
32651 2006-02-07  Roman Kennke  <kennke@aicas.com>
32652   
32653         * javax/swing/CellRendererPane.java
32654         (paintComponent): Enclosed painting in try finally to properly
32655         clean up even when throwing an exception.
32656   
32657 2006-02-07  Roman Kennke  <kennke@aicas.com>
32658   
32659         * javax/swing/UIManager.java
32660         (listeners): Made this an instance of
32661         java.beans.PropertyChangeSupport instead of the obsoleted
32662         SwingPropertyChangeSupport.
32663
32664 2006-02-07  Robert Schuster  <robertschuster@fsfe.org>
32665
32666         * javax/swing/text/DefaultEditorToolkit.java: Changed behavior
32667         of actions "delete-next" and "delete-previous", added new TextAction
32668         implementations for "selection-begin", "selection-begin-line",
32669         "selection-end" and "selection-end-line".
32670   
32671 2006-02-07  Roman Kennke  <kennke@aicas.com>
32672   
32673         * javax/swing/plaf/basic/BasicTextUI.java
32674         (paint): Acquire read lock on the document before calling
32675         paintSafely.
32676         (paintSafely): Added comment about what this method does.
32677         (paintBackground): Implemented to actually paint the background.
32678         (update): Overridden to _not_ paint the background. This is done
32679         in paintBackground in this UI.
32680   
32681 2006-02-07  Roman Kennke  <kennke@aicas.com>
32682   
32683         * javax/swing/text/View.java
32684         (forwardUpdate): Don't notify newly added child views as specified.
32685   
32686 2006-02-07  Robert Schuster  <robertschuster@fsfe.org>
32687   
32688         * gnu/java/beans/decoder/DefaultExceptionListener.java: Removed.
32689   
32690 2006-02-07  Roman Kennke  <kennke@aicas.com>
32691   
32692         * javax/swing/text/DefaultStyledDocument.java
32693         (ElementBuffer.insert): Only register change when the element
32694         actually changed.
32695   
32696 2006-02-07  Raif S. Naffah  <raif@swiftdsl.com.au>
32697   
32698         * gnu/java/security/key/KeyPairCodecFactory.java (getEncodingName): New
32699         method.
32700         (getEncodingShortName): Likewise.
32701         * gnu/java/security/key/IKeyPairCodec.java (X509_FORMAT): New constant.
32702         (PKCS8_FORMAT): Likewise.
32703         (ASN1_FORMAT): Likewise.
32704         * gnu/java/security/key/dss/DSSPublicKey.java (DSSPublicKey(4)): Call
32705         constructor with 5 arguments.
32706         (DSSPublicKey(5)): New constructor.
32707         (valueOf): Handle ASN.1 encoding.
32708         (getEncoded): Likewise.
32709         * gnu/java/security/key/dss/DSSPrivateKey.java (DSSPrivateKey(4)): Call
32710         constructor with 5 arguments.
32711         (DSSPrivateKey(5)): New constructor.
32712         (valueOf): Handle ASN.1 encoding.
32713         (getEncoded): Likewise.
32714         * gnu/java/security/key/dss/DSSKeyPairX509Codec.java: New file.
32715         * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java: Likewise.
32716         * gnu/java/security/key/dss/DSSKeyPairGenerator.java
32717         (PREFERRED_ENCODING_FORMAT): New constant.
32718         (DEFAULT_ENCODING_FORMAT): Likewise.
32719         (preferredFormat): New field.
32720         (setup): Handle preferred format ID.
32721         (generate): Use new ctors with 5 arguments.
32722         * gnu/java/security/key/dss/DSSKey.java (DSSKey): Now accepts a format
32723         ID as an additional argument.
32724         (defaultFormat): new field.
32725         (getFormat): Returns the preferred format as a short string.
32726         * gnu/java/security/jce/sig/DSSKeyFactory.java: New file.
32727         * gnu/java/security/jce/sig/EncodedKeyFactory.java (engineGetKeySpec):
32728         Likewise
32729         * gnu/java/security/jce/sig/DSSKeyPairGeneratorSpi.java
32730         (initialize(AlgorithmParameterSpec)): Set ASN.1 as the preferred
32731         encoding format.
32732         (initialize(int,boolean,SecureRandom)): Likewise.
32733         * gnu/java/security/der/DERWriter.java (writeBitString): Use
32734         writeLength() instead of write().
32735         return buf.length + 1 instead of buf.length.
32736   
32737 2006-02-07  Roman Kennke  <kennke@aicas.com>
32738   
32739         * javax/swing/plaf/basic/BasicTextUI.java
32740         (RootView.preferenceChange): Changed view parameter to view so
32741         that it doesn't hide a field of that class.
32742         (RootView.getViewCount): Rewritten to clean up ECJ warning.
32743         (RootView.modelToView): Removed unnecessary cast from View to View.
32744         (PropertyChangeHandler): Made inner class private.
32745         (updateHandler): Made field private.
32746         (getVisibleEditorRect): Removed unneeded local variable that
32747         shadowed a field with the same name and purpose.
32748   
32749 2006-02-07  Robert Schuster  <robertschuster@fsfe.org>
32750   
32751         * javax/swing/text/JTextComponent.java:
32752         (getSelectedText): Calculate offset and use that as
32753         second argument.
32754   
32755 2006-02-07  Roman Kennke  <kennke@aicas.com>
32756   
32757         * javax/swing/JTextPane.java
32758         (setCharacterAttributes): Replace input attributes when
32759         replace==true.
32760   
32761 2006-02-07  Roman Kennke  <kennke@aicas.com>
32762   
32763         * java/awt/Component.java
32764         (firePropertyChange(String,byte,byte)): Made method public.
32765         (firePropertyChange(String,char,char)): Made method public.
32766         (firePropertyChange(String,short,short)): Made method public.
32767         (firePropertyChange(String,long,long)): Made method public.
32768         (firePropertyChange(String,float,float)): Made method public.
32769         (firePropertyChange(String,double,double)): Made method public.
32770   
32771 2006-02-06  Tom Tromey  <tromey@redhat.com>
32772   
32773         * gnu/CORBA/NamingService/NamingServiceTransient.java (main): Use
32774         2006.
32775         * gnu/java/rmi/registry/RegistryImpl.java (version): Use 2006.
32776   
32777 2006-02-06  Anthony Green  <green@redhat.com>
32778   
32779         * gnu/xml/aelfred2/XmlParser.java: Add missing break;.
32780   
32781 2006-02-07  Raif S. Naffah  <raif@swiftdsl.com.au>
32782   
32783         * .settings/org.eclipse.jdt.core.prefs:
32784         Force a line split on extends and implements.
32785         Force a white-space after unary operators.
32786         Don't force a new-line after @params.
32787         Add new-line at end-of-file.
32788         * scripts/eclipse-gnu.xml: Export version of the above named GNU.
32789   
32790 2006-02-07  Raif S. Naffah  <raif@swiftdsl.com.au>
32791   
32792         * gnu/java/security/provider/GnuDSAPublicKey.java (getEncoded): Use
32793         Registry constant.
32794         * gnu/java/security/provider/GnuDSAPrivateKey.java (getEncoded):
32795         Likewise.
32796         * gnu/java/security/provider/GnuRSAPrivateKey.java (getEncoded):
32797         Likewise.
32798         * gnu/java/security/provider/GnuRSAPublicKey.java (getEncoded):
32799         Likewise.
32800         * gnu/java/security/provider/EncodedKeyFactory.java
32801         (ID_DSA): Redefined in terms of Registry constant.
32802         (ID_DSA): Redefined in terms of Registry constant.
32803         (ID_DH): Redefined in terms of Registry constant.
32804         * gnu/java/security/Registry.java (X509_ENCODING): New constant.
32805         (PKCS8_ENCODING): Likewise.
32806         (ASN1_ENCODING): Likewise.
32807         (RAW_ENCODING_SHORT_NAME): Likewise.
32808         (X509_ENCODING_SORT_NAME): Likewise.
32809         (PKCS8_ENCODING_SHORT_NAME): Likewise.
32810         (ASN1_ENCODING_SHORT_NAME): Likewise.
32811         (X509_ENCODING_ID): Likewise.
32812         (PKCS8_ENCODING_ID): Likewise.
32813         (ASN1_ENCODING_ID): Likewise.
32814         (DSA_OID_STRING): Likewise.
32815         (RSA_OID_STRING): Likewise.
32816         (DH_OID_STRING): Likewise.
32817
32818 2006-02-06  Roman Kennke  <kennke@aicas.com>
32819
32820         * javax/swing/text/GlyphView.java:
32821         (DefaultGlyphPainter.paint): Store/restore Graphics color setting.
32822         Only fill background if there is a background set on the view.
32823         Call Utilities.drawTabbedText with the baseline height, rather than
32824         the upper left corner of the view rectangle.
32825         (getBackground): Return null if no background is set.
32826         * javax/swing/text/GlyphView.java:
32827         (setPropertiesFromAttributes): Use null for background when no
32828         background is set. StyleConstants.getBackground() doesn't work
32829         for this, because it returns Color.BLACK in that case.
32830   
32831 2006-02-06  Roman Kennke  <kennke@aicas.com>
32832   
32833         * java/awt/Container.java
32834         (changeSupport): Removed duplicate (from Component) field.
32835         (addPropertyChangeListener): Call super.
32836   
32837 2006-02-06  Ito Kazumitsu  <kaz@maczuka.gcd.org>
32838   
32839         * java/util/regex/Matcher.java(matches):
32840         set RE.REG_TRY_ENTIRE_MATCH as an execution flag of getMatch.
32841   
32842 2006-02-06  Ito Kazumitsu  <kaz@maczuka.gcd.org>
32843
32844         Fixes bug #25812
32845         * gnu/regexp/CharIndexed.java(lookBehind),(length): New method.
32846         * gnu/regexp/CharIndexedCharArray.java
32847         (lookBehind),(length): Implemented.
32848         * gnu/regexp/CharIndexedInputStream.java: Likewise.
32849         * gnu/regexp/CharIndexedString.java: Likewise.
32850         * gnu/regexp/CharIndexedStringBuffer.java: Likewise.
32851         * gnu/regexp/REToken.java(getMaximumLength): New method.
32852         * gnu/regexp/RE.java(internal constructor RE): Added new argument
32853         maxLength.
32854         (initialize): Parse (?<=X), (?<!X), (?>X).
32855         (getMaximumLength): Implemented.
32856         * gnu/regexp/RETokenAny.java(getMaximumLength): Implemented.
32857         * gnu/regexp/RETokenChar.java: Likewise.
32858         * gnu/regexp/RETokenEnd.java: Likewise.
32859         * gnu/regexp/RETokenEndSub.java: Likewise.
32860         * gnu/regexp/RETokenLookAhead.java: Likewise.
32861         * gnu/regexp/RETokenNamedProperty.java: Likewise.
32862         * gnu/regexp/RETokenOneOf.java: Likewise.
32863         * gnu/regexp/RETokenPOSIX.java: Likewise.
32864         * gnu/regexp/RETokenRange.java: Likewise.
32865         * gnu/regexp/RETokenRepeated.java: Likewise.
32866         * gnu/regexp/RETokenStart.java: Likewise.
32867         * gnu/regexp/RETokenWordBoundary.java: Likewise.
32868         * gnu/regexp/RETokenIndependent.java: New file.
32869         * gnu/regexp/RETokenLookBehind.java: New file.
32870   
32871 2006-02-06  Roman Kennke  <kennke@aicas.com>
32872   
32873         * java/awt/Component.java
32874         (firePropertyChange(String,byte,byte)): New method.
32875         (firePropertyChange(String,char,char)): New method.
32876         (firePropertyChange(String,short,short)): New method.
32877         (firePropertyChange(String,long,long)): New method.
32878         (firePropertyChange(String,float,float)): New method.
32879         (firePropertyChange(String,double,double)): New method.
32880
32881 2006-02-06  Roman Kennke  <kennke@aicas.com>
32882
32883         * javax/swing/JComponent.java
32884         (AccessibleJComponent.changeSupport): Changed to be a
32885         java.beans.PropertyChangeSupport rather than
32886         SwingPropertyChangeSupport.
32887         (AccessibleJComponent.AccessibleJComponent()): Change initialization
32888         of above field.
32889         (changeSupport): Removed unneeded field.
32890         (removePropertyChangeListener): Removed unneeded methods.
32891         (addPropertyChangeListener): Removed unneeded methods.
32892         (getPropertyChangeListeners): Removed unneeded methods.
32893         (firePropertyChange(String,boolean,boolean)): Changed to simply
32894         call super. Added specnote.
32895         (firePropertyChange(String,char,char)): Changed to simply
32896         call super. Added specnote.
32897         (firePropertyChange(String,int,int)): Changed to simply
32898         call super. Added specnote.
32899         (firePropertyChange(String,byte,byte)): Removed.
32900         (firePropertyChange(String,Object,Object)): Removed.
32901         (firePropertyChange(String,double,double)): Removed.
32902         (firePropertyChange(String,float,float)): Removed.
32903         (firePropertyChange(String,long,long)): Removed.
32904         (firePropertyChange(String,short,short)): Removed.
32905   
32906 2006-02-06  Roman Kennke  <kennke@aicas.com>
32907   
32908         * javax/swing/event/SwingPropertyChangeSupport.java
32909         (listeners): Removed field.
32910         (propertyListeners): Removed field.
32911         (source): Removed field.
32912         (SwingPropertyChangeSupport()): Removed initialization of removed
32913         fields.
32914         (addPropertyChangeListener): Removed methods.
32915         (removePropertyChangeListener): Removed methods.
32916         (getPropertyChangeListeners): Removed methods.
32917         (firePropertyChange): Removed methods.
32918         (hasListeners): Removed methods.
32919   
32920 2006-02-06  Jeroen Frijters  <jeroen@frijters.net>
32921   
32922         Fixes PR 25313
32923         * java/net/InetAddress.java
32924         (readResolve): Implemented.
32925   
32926 2006-02-06  Jeroen Frijters  <jeroen@frijters.net>
32927   
32928         Fixes PR 26121
32929         * java/io/ObjectInputStream.java
32930         (readNextBlock()): Handle TC_RESET.
32931   
32932 2006-02-06  Wolfgang Baer  <WBaer@gmx.de>
32933         
32934         * javax/print/attribute/standard/Compression.java,
32935         * javax/print/attribute/standard/Finishings.java, 
32936         * javax/print/attribute/standard/JobMediaSheets.java,
32937         * javax/print/attribute/standard/JobSheets.java,
32938         * javax/print/attribute/standard/JobState.java,
32939         * javax/print/attribute/standard/JobStateReason.java,
32940         * javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
32941         * javax/print/attribute/standard/PrintQuality.java,
32942         * javax/print/attribute/standard/Media.java,
32943         * javax/print/attribute/standard/MultipleDocumentHandling.java,
32944         * javax/print/attribute/standard/PrinterStateReason.java,
32945         * javax/print/attribute/standard/PDLOverrideSupported.java: 
32946         (getName): Make method final.
32947         (getCategory): Likewise.
32948         * javax/print/attribute/standard/MediaSize.java: 
32949         (getName): Make method final.
32950         (getCategory): Likewise.
32951         (ISO): Added private default constructor.
32952         (NA): Likewise.
32953         (JIS): Likewise.
32954         (Other): Likewise.
32955         (Engineering): Likewise.
32956
32957 2006-02-06  Wolfgang Baer  <WBaer@gmx.de>
32958         
32959         * native/jni/java-net/javanet.c (_javanet_connect):
32960         Throw ConnectException instead of IOException if connection failed.
32961         * native/jni/java-net/javanet.h:
32962         Add a define for java.net.ConnectException
32963   
32964 2006-02-05  Mark Wielaard  <mark@klomp.org>
32965   
32966         Fixes bug #26101
32967         reported by Egon Willighagen <egon.willighagen@gmail.com>
32968         * javax/swing/DefaultListCellRenderer.java
32969         (getListCellRendererComponent): Turn null value into empty string.
32970   
32971 2006-02-04  Ito Kazumitsu  <kaz@maczuka.gcd.org>
32972   
32973         * gnu/regexp/RETokenNamedProperty.java(getHandler): Check for
32974         a Unicode block if the name starts with "In".
32975         (UnicodeBlockHandler): New inner class.
32976   
32977 2006-02-04  Roman Kennke  <kennke@aicas.com>
32978   
32979         * java/awt/Container.java
32980         (getComponentZOrder): New method.
32981         (setComponentZOrder): New method.
32982         * javax/swing/JLayeredPane.java
32983         (setPosition): Reimplemented to use setComponentZOrder().
32984         (getIndexOf): Reimplemented to use getComponentZOrder().
32985         (addImpl): Pass layerContraint to super call. Important for possibly
32986         installed layout managers.
32987         (swapComponents): Remove unneeded method.
32988
32989 2006-02-04  Raif S. Naffah  <raif@swiftdsl.com.au>
32990
32991         * gnu/java/security/jce/sig/DSSKeyPairGeneratorSpi.java: Implement
32992         DSAKeyPairGenerator.
32993         (initialize(int,SecureRandom)): Call initialize(keysize, false, random).
32994         (initialize(AlgorithmParameterSpec,SecureRandom)): More explicit error
32995         message.
32996         Surround call to adaptee in a try/catch.
32997         (initialize((DSAParams,SecureRandom)): New method.
32998         (initialize(int,boolean,SecureRandom)): New method.
32999         * gnu/java/security/jce/sig/KeyPairGeneratorAdapter.java: Extends
33000         KeyPairGenerator rather than KeyPairGeneratorSpi.
33001         (KeyPairGeneratorAdapter): Call super with algorithm name.
33002
33003 2006-02-04  Raif S. Naffah  <raif@swiftdsl.com.au>
33004
33005         * gnu/javax/crypto/sasl/srp/SRPServer.java (prng): New field.
33006         (getDefaultPRNG): New method.
33007         (parseO): Use method above.
33008         * gnu/javax/crypto/sasl/srp/SRPClient.java (prng): New field.
33009         (getDefaultPRNG): New method.
33010         (createO): Use method above.
33011         * gnu/javax/crypto/sasl/srp/KDF.java (prng): New class field.
33012         (nextByte): Use above field.
33013         * gnu/javax/crypto/pad/PKCS1_V1_5.java (selfTest): Use PRNG instance.
33014         * gnu/java/security/sig/rsa/RSA.java: New class field.
33015         (newR): Use above field
33016         * gnu/java/security/sig/rsa/EME_PKCS1_V1_5.java (prng): New field.
33017         (encode): Use field.above.
33018         * gnu/java/security/key/dss/FIPS186.java (prng): New field.
33019         (getDefaultPRNG): new method.
33020         (nextRandomBytes): Use above method.
33021         * gnu/java/security/key/rsa/RSAKeyPairGenerator.java: Likewise.
33022         * gnu/java/security/sig/BaseSignature.java: Likewise.
33023         * gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java: Likewise.
33024         * gnu/javax/crypto/key/dh/RFC2631.java: Likewise.
33025         * gnu/javax/crypto/key/srp6/SRPKeyPairGenerator.java: Likewise.
33026         * gnu/javax/crypto/key/BaseKeyAgreementParty.java: Likewise.
33027         * gnu/java/security/key/dss/DSSKeyPairGenerator.java (prng): New field.
33028         (getDefaultPRNG): new method.
33029         (nextRandomBytes): Use above method.
33030         (STRICT_DEFAULTS): new class field.
33031         (USE_DEFAULTS): more documentation to clarify behavior.
33032         (setup): amended to handle new attribute.
33033         * gnu/java/security/util/PRNG.java: New file.
33034   
33035 2006-02-03  Lillian Angel  <langel@redhat.com>
33036   
33037         * javax/swing/plaf/basic/BasicColorChooserUI.java:
33038         chooser field should be protected, not package-private. 
33039   
33040 2006-02-03  Lillian Angel  <langel@redhat.com>
33041         
33042         * javax/swing/text/DefaultStyledDocument.java
33043         (changeUpdate): Cleaned up code.
33044         (split): Likewise.
33045         (insertUpdate): Set offset to be equal to pos after
33046         insertContentTag call.
33047         (insertContentTag): If paragraph has no children, should use
33048         replace instead of Edit.
33049         (insertFracture): Moved around code to prevent any exception. Also,
33050         left side of tree should not be recreated if it has already been 
33051         edited. In that case, we should only be creating a new right branch
33052         when fracturing.
33053         (getEditForParagraphAndIndex): No need to check index. We should
33054         use the same edit for each paragraph.
33055   
33056 2006-02-03  Mark Wielaard  <mark@klomp.org>
33057   
33058         * javax/swing/event/SwingPropertyChangeSupport.java
33059         (propertyListeners): Change type to HashMap.
33060         (SwingPropertyChangeSupport): Allocate HashMap.
33061   
33062 2006-02-03  Raif S. Naffah  <raif@swiftdsl.com.au>
33063   
33064         * java/security/KeyPairGenerator.java (getInstance): Test for
33065         instanceof KeyPairGenerator before KeyPairGeneratorSpi.
33066   
33067 2006-02-02  Roman Kennke  <kennke@aicas.com>
33068   
33069         * javax/swing/RepaintManager.java
33070         Made fields private.
33071         (RepaintWorker.run): Enclosed work stuff in try finally block in
33072         order to clean up correctly if invalidation or painting fails,
33073         otherwise we would get no more RepaintWorkers onto the EventQueue.
33074         Also, now the RepaintWorker is marked 'dead' only after it has
33075         finished its work, avoid more than one RepaintWorker on the queue.
33076         (ComponentComparator.compareTo): Compare dirty rectangle sizes
33077         instead of hierarchy depths.
33078         (workDirtyComponents): Removed unused field.
33079         (repaintOrder): Removed unused field.
33080         (workRepaintOrder): Removed unused field.
33081         (workInvalidComponents): Removed unused field.
33082         (RepaintManager()): Removed initialization of removed fields.
33083         (addInvalidComponent): Fine tuned synchronization.
33084         (removeInvalidComponent): Fine tune synchronization.
33085         (addDirtyRegion): Short circuit invalid dirty regions. Fine tuned
33086         synchronization. Don't manager repaintOrder here.
33087         (insertRepaintOrder): Removed method.
33088         (markCompletelyClean): Fine tuned synchronization.
33089         (validateInvalidComponents): Dont use a working copy of the
33090         invalidComponents list, instead fine tuned synchronization on this
33091         list. Also, don't search validateRoot, this is already done in
33092         addInvalidComponent().
33093         (paintDirtyRegions): Compute repaint order here, based on size of
33094         damaged regions. Fine tuned synchronization. Avoid use of working
33095         copies of dirtyComponent.
33096   
33097 2006-02-02  Lillian Angel  <langel@redhat.com>
33098   
33099         * javax/swing/text/DefaultStyledDocument.java
33100         (insertUpdate): JoinNextDirection should push the 
33101         'next' paragraph on the stack.
33102   
33103 2006-02-02  Lillian Angel  <langel@redhat.com>
33104   
33105         * javax/swing/text/DefaultStyledDocument.java
33106         (insertUpdate): Rewrote code for Originate. This prevents
33107         leaves being created multiple times. If it is on the last 
33108         ElementSpec, the leaves need to be created right then; 
33109         otherwise, only a branch is created.
33110         (insertContentTag): Rewrote to add new leaf directly if
33111         this is a branch with no children. Otherwise, it
33112         recreates the remainder of the tree as before.
33113   
33114 2006-02-02  Ito Kazumitsu  <kaz@maczuka.gcd.org>
33115   
33116         * gnu/regexp/REMatch.java(REMatchList): New inner utility class
33117         for making a list of REMatch instances.
33118         * gnu/regexp/RETokenOneOf.java(match): Rewritten using REMatchList.
33119         * gnu/regexp/RETokenRepeated.java(findDoables): New method.
33120         (match): Rewritten using REMatchList.
33121         (matchRest): Rewritten using REMatchList.
33122   
33123 2006-02-02  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
33124   
33125         * examples/gnu/classpath/examples/CORBA/swing/x5/PlayingDesk.java 
33126         (friendsMove):  Call repaint() only after endOfGame is assigned.
33127   
33128 2006-02-02  Mark Wielaard  <mark@klomp.org>
33129   
33130         Fixes bug #25769 reported by Artemus Harper <subanark@gmail.com>
33131         * java/util/AbstractCollection.java (toString): Only use Iterator,
33132         check whether collection contains itself.
33133   
33134 2006-02-01  Casey Marshall  <csm@gnu.org>
33135   
33136         Partial fix for PR classpath/25143.
33137         * javax/crypto/EncryptedPrivateKeyInfo.java (algName): new field.
33138         (<init>): fill in `algName,' derive `algOid' from `algName.'
33139         (getOid): new method.
33140         (encode): embed NULL value for parameters if `params' is `null.'
33141   
33142 2006-02-01  Casey Marshall  <csm@gnu.org>
33143   
33144         Tag check and OTHER_NAME fixes suggested by Rafael Teixeira
33145         <monoman@gmail.com>.    
33146         * gnu/java/security/x509/ext/GeneralNames.java (<init>): fix tag
33147         check; fix OTHER_NAME parsing; fix DIRECTORY_NAME parsing.
33148   
33149 2006-02-01  Casey Marshall  <csm@gnu.org>
33150   
33151         toString fix suggested by Rafael Teixeira <monoman@gmail.com>.
33152         * gnu/java/security/der/DERValue.java
33153         (getLength, getEncoded, getEncodedLength): throw an exception,
33154         don't initialize `encoded' to a bogus value.
33155         (toString): return a more helpful string.
33156
33157         Partial fix for PR classpath/25144.
33158         * gnu/java/security/der/DERWriter.java (write): if the value is
33159         the pseudo-value used for CONSTRUCTED, write the encoded value
33160         directly.
33161         
33162 2006-02-01  Tom Tromey  <tromey@redhat.com>
33163   
33164         * java/security/Security.java (loadProviders): Use system class
33165         loader.
33166   
33167 2006-02-01  Mark Wielaard  <mark@klomp.org>
33168   
33169         * gnu/regexp/RE.java (getRETokenNamedProperty): Chain exception.
33170         * gnu/regexp/RETokenNamedProperty.java (LETTER, MARK, SEPARATOR,
33171         SYMBOL, NUMBER, PUNCTUATION, OTHER): New final byte[] fields.
33172         (getHandler): Check for grouped properties L, M, Z, S, N, P or C.
33173         (UnicodeCategoriesHandler): New private static class.
33174         
33175 2006-02-01  Lillian Angel  <langel@redhat.com>
33176   
33177         * javax/swing/text/DefaultStyledDocument.java:
33178         Removed unneeded fields.
33179         (insertUpdate): Removed field initialization.
33180         (insertContentTag): Rewrote part of function. Still
33181         not complete.
33182   
33183 2006-02-01  Lillian Angel  <langel@redhat.com>
33184   
33185         * javax/swing/text/DefaultStyledDocument.java
33186         (insertParagraph): Cleaned up code.
33187         (insertFirstContentTag): Fixed call to recreateLeaves.
33188         (insertContentTag): Added check to code to determine where
33189         content should be inserted with respect to next element.
33190         (createFracture): Removed check, recreateLeaves is called in 
33191         other places when needed.
33192         (recreateLeaves): Added new parameter for paragraph instead
33193         of checking the stack. Removed editing for newBranch, replaced
33194         with a replace call.
33195
33196 2006-02-01  Anthony Balkissoon  <abalkiss@redhat.com>
33197
33198         * doc/unicode/Blocks-4.0.0.txt: New file.
33199         * java/lang/Character.java: Regenerated inner class UnicodeBlock from 
33200         scripts/unicode-blocks.pl and doc/unicode/Blocks-4.0.0.txt.
33201         * scripts/unicode-blocks.pl: Copied this over from the generics branch
33202         but replaced some 1.5-only features (such as enum).
33203   
33204 2006-01-31  Roman Kennke  <kennke@aicas.com>
33205   
33206         * javax/swing/text/PasswordView.java
33207         (drawSelectedText): Use drawEchoCharacter() method to draw echo
33208         character.
33209         (drawUnselectedText): Use drawEchoCharacter() method to draw echo
33210         character.
33211   
33212 2006-01-31  Roman Kennke  <kennke@aicas.com>
33213   
33214         * javax/swing/JTextField.java
33215         (getPreferredSize): Also include textfield's insets in width
33216         calculation.
33217   
33218 2006-01-31  Roman Kennke  <kennke@aicas.com>
33219   
33220         * javax/swing/plaf/basic/BasicTextUI.java
33221         (getPreferredSize): Include the textcomponent's insets in
33222         preferredSize.
33223   
33224 2006-01-31  Roman Kennke  <kennke@aicas.com>
33225   
33226         * javax/swing/table/DefaultTableCellRenderer.java
33227         (getTableCellRendererComponent): Moved setting of the value into
33228         setValue(). Removed (bogus) special handling of JTextField values.
33229         (setValue): Made ?: statement more clear by rewriting it
33230         with if .. else.
33231   
33232 2006-01-31  Roman Kennke  <kennke@aicas.com>
33233   
33234         * javax/swing/JLayeredPane.java
33235         (insertIndexForLayer): Fixed algorithm to correctly determine
33236         inser index for positions >= 0.
33237         (addImpl): Fixed API docs for the index parameter.
33238   
33239 2006-01-31  Mark Wielaard  <mark@klomp.org>
33240   
33241         * java/net/URI.java (getURIGroup): Check for null to see whether
33242         group actually exists.
33243   
33244 2006-01-31  Lillian Angel  <langel@redhat.com>
33245   
33246         * javax/swing/text/DefaultStyledDocument.java
33247         (changeUpdate): Fixed calls to split to incorporate 
33248         new parameter.
33249         (insertParagraph): Likewise. Uses 0 as editIndex
33250         because inserting into a new paragraph.
33251         (insertContentTag): Fixed check to use 
33252         recreateLeaves. Added a FIXME comment.
33253         (split): Added a new parameter for edits.
33254   
33255 2006-01-31  Roman Kennke  <kennke@aicas.com>
33256   
33257         * javax/swing/plaf/basic/BasicRootPaneUI.java
33258         (installDefaults): Don't install a background color here.
33259   
33260 2006-01-31  Lillian Angel  <langel@redhat.com>
33261   
33262         * javax/swing/text/DefaultStyledDocument.java
33263         (insert): Removed comment.
33264         (insertUpdate): Added comment.
33265         (recreateLeaves): Removed call to push newBranch onto the
33266         stack. This does not need to be done here.
33267   
33268 2006-01-31  Chris Burdess  <dog@gnu.org>
33269   
33270         * gnu/xml/stream/SAXParser.java,
33271           gnu/xml/stream/UnicodeReader.java,
33272           gnu/xml/stream/XIncludeFilter.java,
33273           gnu/xml/stream/XMLParser.java: Fix case where resolved InputSource
33274           only resolved the system ID not the stream. Make some utility methods
33275           public and static for use by other private XML APIs.
33276         * java/lang/ClassNotFoundException.java: Ensure that initCause can be
33277           called without throwing IllegalStateException.
33278         * java/util/logging/SimpleFormatter.java: Write thrown exception if
33279           provided.
33280
33281 2006-01-31  Ito Kazumitsu  <kaz@maczuka.gcd.org>
33282
33283         Fixes bug #22873
33284         * gnu/regexp/REMatch(toString(int)): Throw IndexOutOfBoundsException
33285         for an invalid index and return null for a skipped group.
33286
33287 2006-01-31  Ito Kazumitsu  <kaz@maczuka.gcd.org>
33288
33289         Fixes bug #26002
33290         * gnu/regexp/gnu/regexp/RE.java(initialize): Parse /\p{prop}/.
33291         (NamedProperty): New inner class.
33292         (getNamedProperty): New method.
33293         (getRETokenNamedProperty): New Method.
33294         * gnu/regexp/RESyntax.java(RE_NAMED_PROPERTY): New syntax falg.
33295         * gnu/regexp/RETokenNamedProperty.java: New file.
33296
33297 2006-01-31  Roman Kennke  <kennke@aicas.com>
33298
33299         * javax/swing/plaf/PlainView.java
33300         (paint): Call drawLine with baseline coordinates.
33301         (drawLine): Documented and indented this method.
33302         (drawUnselecetedText): Documented and indented this method.
33303         * javax/swing/plaf/text/Utilites.java
33304         (drawTabbedText): The coordinates denote the baseline of the text
33305         not the upper left corner.
33306   
33307 2006-01-31  Roman Kennke  <kennke@aicas.com>
33308   
33309         * javax/swing/plaf/basic/BasicTextUI.java
33310         (createKeymap): Don't store KeyBindings[] as focusInputMap in
33311         UIManager. Added FIXME regarding the implementation of this method.
33312   
33313 2006-01-30  David Gilbert  <david.gilbert@object-refinery.com>
33314   
33315         * examples/gnu/classpath/examples/swing/ButtonDemo.java
33316         (ButtonDemo): Move content initialisation to new method,
33317         (initFrameContent): New method,
33318         (main): Call initFrameContent(),
33319         * examples/gnu/classpath/examples/swing/ComboBoxDemo.java: Likewise,
33320         * examples/gnu/classpath/examples/swing/FileChooserDemo.java: Likewise,
33321         * examples/gnu/classpath/examples/swing/ScrollBarDemo.java: Likewise,
33322         * examples/gnu/classpath/examples/swing/SliderDemo.java: Likewise,
33323         * examples/gnu/classpath/examples/swing/TextFieldDemo.java: Likewise.
33324   
33325 2006-01-30  David Gilbert  <david.gilbert@object-refinery.com>
33326   
33327         * examples/gnu/classpath/examples/swing/Demo.java
33328         (Demo): Set frame size,
33329         (mkButtonBar): Removed stacked sub-panels.
33330   
33331 2006-01-30  Lillian Angel  <langel@redhat.com>
33332   
33333         * javax/swing/text/DefaultStyledDocument.java:
33334         Added new fields.
33335         (insert): Initialized fields. Removed call to addEdit, 
33336         and created ElementEdit instead.
33337         (insertUpdate): Added check for fracturing. If the
33338         fracturing was not successful, we should push the
33339         last element back on the stack.
33340         (insertParagraph): Fixed call to getEditForParagraphAndIndex.
33341         Also, changed replace calls to use Edit.
33342         (insertFirstContentTag): Removed unneeded check and fixed call
33343         to recreateLeaves.
33344         (insertContent): Fixed check to use new fields. Added code in
33345         to check if leaves overlap.
33346         (createFracture): Fixed call to recreateLeaves.
33347         (recreateLeaves): Fixed code and cleaned it up a bit.
33348         (insertFracture): Set fracNotCreated field.
33349         (addEdit): Removed, this method is not needed.
33350   
33351 2006-01-30  Roman Kennke  <kennke@aicas.com>
33352   
33353         * javax/swing/JRootPane.java
33354         (RootLayout.prefSize): Removed caching for preferredSize.
33355         (RootLayout.invalidateLayout): Likewise.
33356         (RootLayout.preferredLayoutSize): Likewise.     
33357   
33358 2006-01-30  Roman Kennke  <kennke@aicas.com>
33359   
33360         PR classpath/26035
33361         * javax/swing/JFrame.java
33362         (frameInit): Handle the defaultLookAndFeelDecorated flag.
33363         * javax/swing/plaf/metal/MetalRootPaneUI.java
33364         (MetalFrameBorder): New inner class, provides the border for
33365         top level containers with L&F decorations.
33366         (MetalTitlePane): New inner class, provides the title pane for
33367         top level containers with L&F decorations.
33368         (MetalRootLayout): New inner class. Used to layout the root pane
33369         when L&F window decorations are enabled.
33370         (installUI): New method. Handles window decorations.
33371         (uninstallUI): New method. Handles window decorations.
33372         (propertyChange): Handles window decorations.
33373         (installWindowDecorations): New method. Handles window
33374         decorations.
33375         (uninstallWindowDecorations): New method. Handles window
33376         decorations.
33377         * javax/swing/plaf/metal/MetalLookAndFeel.java
33378         (getSupportsWindowDecorations): Overridden to return true.
33379
33380 2006-01-30  Mark Wielaard  <mark@klomp.org>
33381
33382         * javax/swing/JProgressBar.java (JProgressBar(int)): Document
33383         IllegalArgumentException when orientation is illegal.
33384         (JProgressBar(int, int, int)): Likewise and throw exception.
33385         (setOrientation): Likewise.
33386   
33387 2006-01-30  Roman Kennke  <kennke@aicas.com>
33388   
33389         * javax/swing/ViewportLayout.java
33390         (minimumLayoutSize): Rewritten to unconditionally return (4,4).
33391   
33392 2006-01-30  Mark Wielaard  <mark@klomp.org>
33393   
33394         * javax/swing/JProgressBar.java (orientation): Always set by
33395         constructor.
33396         (JProgressBar(int)): Document default on 'illegal' value.
33397         (JProgressBar(int, int, int)): Likewise and set orientation to
33398         HORIZONTAL when 'illegal'.
33399         (setOrientation): Likewise.
33400   
33401 2006-01-30  Roman Kennke  <kennke@aicas.com>
33402   
33403         * javax/swing/plaf/basic/BasicListUI.java
33404         (ListDataHandler.contentsChanged): Update the
33405         updateLayoutStateNeeded flag.
33406         (ListDataHandler.intervalAdded): Update the
33407         updateLayoutStateNeeded flag.
33408         (ListDataHandler.intervalRemoved): Update the
33409         updateLayoutStateNeeded flag.
33410         (PropertyChangeHandler.propertyChange): Correctly update the
33411         listeners on new list model.
33412         (maybeUpdateLayoutState): Don't consider the validation state
33413         of the list.
33414   
33415 2006-01-30  Mark Wielaard  <mark@klomp.org>
33416   
33417         * gnu/xml/transform/ApplyTemplatesNode.java (clone): Check whether
33418         sortKeys is null.
33419   
33420 2006-01-30  Roman Kennke  <kennke@aicas.com>
33421   
33422         * javax/swing/JLayeredPane.java
33423         (insertIndexForLayer): Fixed algorithm to correctly insert
33424         components within different layers and -1 position.
33425   
33426 2006-01-30  Mark Wielaard  <mark@klomp.org>
33427   
33428         * doc/api/Makefile.am (create_html): Add -validhtml.
33429   
33430 2006-01-30  Roman Kennke  <kennke@aicas.com>
33431   
33432         * javax/swing/JLayeredPane.java
33433         (insertIndexForLayer): Fixed algorithm to correctly insert
33434         components within same layer and -1 position.
33435   
33436 2006-01-30  Ito Kazumitsu  <kaz@maczuka.gcd.org>
33437   
33438         Fixes bug #24876
33439         * gnu/regexp/gnu/regexp/RE.java(REG_TRY_ENTIRE_MATCH):
33440         New execution flag.
33441         (getMatchImpl): if REG_TRY_ENTIRE_MATCH is set, add an
33442         implicit RETokenEnd at the end of the regexp chain.
33443         Do not select the longest match, but select the first match.
33444         (match): Do not take care of REMatch.empty.
33445         * gnu/regexp/REMatch.java(empty): To be used only in RETokenRepeated.
33446         * gnu/regexp/RETokenOneOf.java: Corrected a typo in a comment.
33447         * gnu/regexp/RETokenBackRef.java: Do not take care of REMatch.empty.
33448         * gnu/regexp/RETokenRepeated.java (match): Rewrote stingy matching.
33449         Do not take care of REMatch.empty. Set and check REMatch.empty
33450         when trying to match the single token.
33451
33452 2006-01-30  Mark Wielaard  <mark@klomp.org>
33453
33454         * java/awt/Cursor.java (toString): Include name and type.
33455
33456 2006-01-30  Raif S. Naffah  <raif@swiftdsl.com.au>
33457
33458         * gnu/javax/crypto/mac/HMac.java (clone): Clone ipadHash, opadHash, and
33459         the ipad buffer.
33460         * gnu/javax/crypto/mac/BaseMac.java (clone): Clone underlyingHash.
33461   
33462 2006-01-30  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
33463         
33464         PR 26027
33465         * javax/swing/plaf/basic/BasicListUI.java  (maybeUpdateLayoutState):
33466         Consider the validation state of the list. 
33467
33468 2006-01-29  Robert Schuster  <robertschuster@fsfe.org>
33469
33470         * gnu/java/beans/DefaultExceptionListener.java: Constant public field
33471         INSTANCE added.
33472         * java/beans/XMLDecoder.java:
33473         (setExceptionListener): Use shared DefaultExceptionListener
33474         instance.
33475         * java/beans/Encoder.java:
33476         (setExceptionListener): Use shared DefaultExceptionListener
33477         instance.
33478   
33479 2006-01-29  Roman Kennke  <kennke@aicas.com>
33480   
33481         * javax/swing/ScrollPaneLayout.java
33482         (minimumLayoutSize): Rewritten to match JDKs behaviour.
33483   
33484 2006-01-29  Mark Wielaard  <mark@klomp.org>
33485   
33486         * java/net/SocketPermission.java (setActions): Trim and lower case
33487         action.
33488   
33489 2006-01-29  Raif S. Naffah  <raif@swiftdsl.com.au>
33490   
33491         * gnu/java/security/util/Prime2.java (passEulerCriterion): Was
33492         incorrectly failing primality test for some known primes. Fixed.
33493         (passFermatLittleTheorem): Removed.
33494         (passMillerRabin): Removed.
33495         (isProbablePrime): Cache primes that pass the primality tests.
33496         Use BigInteger.isProbablePrime(int) for primality tests.
33497         (debugBI): New static debugging method.
33498   
33499 2006-01-28  Roman Kennke  <kennke@aicas.com>
33500   
33501         * javax/swing/plaf/basic/BasicListUI.java
33502         (updateLayoutState): Removed unneeded special case for VERTICAL.
33503   
33504 2006-01-28  Roman Kennke  <kennke@aicas.com>
33505   
33506         * javax/swing/plaf/basic/BasicListUI.java
33507         (getCellBounds): Determine correct list width when having a
33508         layoutOrientation of VERTICAL.
33509         (maybeUpdateLayoutState): Don't consider the validation state of
33510         the list.
33511   
33512 2006-01-28  Mark Wielaard  <mark@klomp.org>
33513   
33514         Reported by Dimitri Fontaine <dimitri@dalibo.com>
33515         * java/awt/print/NoPrinterJob.java: New (fake) class.
33516         * java/awt/print/PrinterJob.java (getPrinterJob): Return NoPrinterJob.
33517   
33518 2006-01-28  Mark Wielaard  <mark@klomp.org>
33519   
33520         * gnu/javax/crypto/mac/HMac.java (clone): Cast cloned ipad to byte[].
33521   
33522 2006-01-28  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
33523   
33524         * gnu/classpath/examples/swing/Demo.java (mkTree): Make a larger tree.
33525         (addChildren): New method.
33526   
33527 2006-01-28  Raif S. Naffah  <raif@swiftdsl.com.au>
33528   
33529         * gnu/javax/crypto/jce/mac/MacAdapter.java (MacAdapter(IMac, Map)): New
33530         constructor for cloning purposes.
33531         (clone): New implementation that ensures cloning.
33532         * gnu/javax/crypto/mac/HMac.java (clone): Implement Cloneable.
33533         * gnu/java/security/Registry.java: Changed value of GNU_SECURITY to
33534           "GNU".
33535   
33536 2006-01-27  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
33537   
33538         * javax/swing/plaf/basic/BasicTreeUI.java (updateCachedPreferredSize):
33539         Call updateCurrentVisiblePath.
33540   
33541 2006-01-27  Roman Kennke  <kennke@aicas.com>
33542   
33543         * examples/gnu/classpath/examples/swing/MiniDemo.java: New file.
33544   
33545 2006-01-27  Roman Kennke  <kennke@aicas.com>
33546   
33547         * examples/gnu/classpath/examples/swing/ButtonDemo.java
33548         (createContent): Only create new content if we don't have one
33549         already.
33550         * examples/gnu/classpath/examples/swing/ComboBoxDemo.java
33551         (createContent): Only create new content if we don't have one
33552         already.
33553         * examples/gnu/classpath/examples/swing/FileChooserDemo.java
33554         (createContent): Only create new content if we don't have one
33555         already.
33556         * examples/gnu/classpath/examples/swing/ScrollBarDemo.java
33557         (createContent): Only create new content if we don't have one
33558         already.
33559         * examples/gnu/classpath/examples/swing/SliderDemo.java
33560         (createContent): Only create new content if we don't have one
33561         already.
33562         * examples/gnu/classpath/examples/swing/TableDemo.java
33563         (createContent): Only create new content if we don't have one
33564         already.
33565         * examples/gnu/classpath/examples/swing/TextFieldDemo.java
33566         (createContent): Only create new content if we don't have one
33567         already.
33568   
33569 2006-01-27  Lillian Angel  <langel@redhat.com>
33570   
33571         * javax/swing/text/DefaultStyledDocument.java
33572         (insertFirstContentTag): Removed check, not needed. This
33573         still needs to be fixed for some cases. Added call to
33574         recreateLeaves.
33575         (createFracture): Added call to recreateLeaves.
33576         (recreateLeaves): New method used to recreate all the
33577         leaves after the initial insertion. This still needs 
33578         more work.
33579         (handleInsertAfterNewline): Removed else, not needed.
33580   
33581 2006-01-27  Roman Kennke  <kennke@aicas.com>
33582   
33583         * javax/swing/JLayeredPane.java
33584         (inserIndexForLayer): Fixed direction of search.
33585   
33586 2006-01-27  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
33587   
33588         * javax/swing/JTree.java (constructor): Put EXPANDED for the root 
33589         node into nodeStates.
33590   
33591 2006-01-27  Roman Kennke  <kennke@aicas.com>
33592   
33593         * javax/swing/JLayeredPane.java
33594         (FRAME_CONTENT_LAYER): Made field final.
33595         (componentToLayer): Made field private.
33596         (rectCache): Removed field.
33597         (layers): Removed field.
33598         (JLayeredPane()): Removed initialization of removed fields.
33599         (getLayer): Rewritten to make use of client properties in
33600         JComponents and to be more straighforward.
33601         (static getLayer): Rewritten to make use of client properties in
33602         JComponents.
33603         (layerToRange): Removed method.
33604         (incrLayer): Removed method.
33605         (decrLayer): Removed method.
33606         (highestLayer): Rewritten to be more straightforward.
33607         (lowestLayer): Rewritten to be more straightforward.
33608         (getPosition): Rewritten to be more straightforward.
33609         (getComponentsInLayer): Rewritten to be more straightforward.
33610         (getComponentCountInLayer): Rewritten to be more straightforward.
33611         (getIndexOf): Rewritten to be more straightforward.
33612         (inserIndexForLayer): Rewritten to be more straightforward.
33613         (remove): Rewritten to be more straightforward.
33614         (setLayer): Rewritten to be more straightforward.
33615         (addImpl): Rewritten to be more straightforward.
33616         (putLayer): Rewritten to be more straightforward.
33617
33618 2006-01-27  Anthony Balkissoon  <abalkiss@redhat.com>
33619
33620         * java/lang/Character.java:
33621         (offsetByCodePoints(CharSequence, int, int)): New API method.
33622         (offsetByCodePoints(char[], int, int, int, int)): Likewise.
33623         (toChars): Throw the Exception that the docs say we throw.
33624         (codePointAt): Fixed an off-by-one error in the bounds of the if 
33625         statement.
33626         * java/lang/String.java:
33627         (String(int[], int, int)): New API constructor.
33628   
33629 2006-01-27  Lillian Angel  <langel@redhat.com>
33630   
33631         * javax/swing/text/DefaultStyledDocument.java
33632         (insert): Moved this loop to insertUpdate.
33633         (insertUpdate): Likewise. Fixed variable
33634         names. Incremented pos if new paragraph
33635         is inserted.
33636         (split): Changed edits to use replace instead. Prevents
33637         assertion errors.
33638         (insertFirstContentTag): Removed else.
33639         (insertContentTag): Implemented else for JoinNextDirection.
33640         (createFracture): Fixed up code, still not fully complete.
33641         (insertFracture): Fixed to use return value from 
33642         recreateAfterFracture.
33643         (recreateAfterFracture): Changed to return an array of the
33644         elements to be added. This prevents an assertion error.
33645         (contains): New function checks if an element is already in 
33646         the Vector. Vector's contain function was not enough to use.
33647         (addAddedElement): Changed to use new contains function.
33648         (addAddedElements): Likewise.
33649         (addRemovedElement): Likewise.
33650         (addRemovedElements): Likewise.        
33651         
33652 2006-01-27  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
33653
33654         PR 25520
33655         * vm/reference/java/io/VMObjectInputStream.java (loaderAction.run):
33656         If no user class loaders found on the stack, return the thread 
33657         context class loader. (currentClassLoader): Explained.
33658   
33659 2006-01-27  Roman Kennke  <kennke@aicas.com>
33660   
33661         * java/awt/Container.java
33662         (swapComponents): Removed unspecified method.
33663         * javax/swing/JLayeredPane.java
33664         (setPosition): Reimplemented correctly.
33665         (swapComponents): New helper method.
33666   
33667 2006-01-27  Mark Wielaard  <mark@klomp.org>
33668   
33669         * configure.ac: Set version to 0.21-pre.
33670   
33671 2006-01-27  Roman Kennke  <kennke@aicas.com>
33672   
33673         PR classpath/25968
33674         * javax/swing/JComponent.java
33675         (findOverlapFreeParent): Improved the algorithm to make better use
33676         of the optimizedDrawingEnabled flag.
33677         * javax/swing/JLayeredPane.java
33678         (isOptimizedDrawingEnabled): Reimplemented to match the specs.
33679         * javax/swing/JViewport.java
33680         (computeBlit): Fixed check to decide if blitting is possible or not,
33681         so that it doesn't blit if nothing was scrolled (in order to
33682         update the buffer when the view updates itself).
33683   
33684 2006-01-27  Roman Kennke  <kennke@aicas.com>
33685   
33686         * javax/swing/plaf/metal/MetalFileChooserUI.java
33687         (createList): Don't set scrollbar policy.
33688   
33689 2006-01-27  Roman Kennke  <kennke@aicas.com>
33690   
33691         * javax/swing/plaf/basic/BasicPopupMenuUI.java
33692         (PopupMenuHandler.popupMenuWillBecomeInvisible):
33693         Fixed to also handle non-Swing toplevel containers.
33694         (PopupMenuHandler.popupMenuWillBecomeVisible):
33695         Fixed to also handle non-Swing toplevel containers.
33696         * javax/swing/Popup.java
33697         (JWindowPopup.JWindowPopup()): Correctly set parent window on
33698         popup.
33699   
33700 2006-01-27  Roman Kennke  <kennke@aicas.com>
33701   
33702         * javax/swing/plaf/basic/BasicInternalFrameUI.java
33703         (InternalFramePropertyChangeListener): Don't implement
33704         VetoableChangeListener.
33705         (InternalFramePropertyChangeListener.vetoableChange): Removed.
33706         (internalFrameVetoableChangeListener): Removed unneeded field.
33707         (installListeners): Don't install vetoableChangeListener.
33708         * javax/swing/event/DocumentEvent.java
33709         (EventType): Made class final.
33710   
33711 2006-01-27  Roman Kennke  <kennke@aicas.com>
33712   
33713         * javax/swing/SwingUtilities.java
33714         (calculateInsetArea): Removed unneeded method. The method
33715         calculateInnerArea has the same purpose and is actually specified.
33716         (calculateInnerArea): Rewritten to not use calculateInsetArea.
33717         * javax/swing/plaf/basic/BasicMenuItemUI.java
33718         (paintMenuItem): Use SwingUtilities.calculateInnerArea() instead
33719         of SwingUtilities.calculateInsetArea().
33720   
33721 2006-01-27  Roman Kennke  <kennke@aicas.com>
33722   
33723         * javax/swing/plaf/basic/BasicTreeUI.java
33724         (installDefaults): Removed requestFocusInWindow() call.
33725         * javax/swing/JComponent.java
33726         (requestFocusInWindow(boolean)): Made method protected.
33727         (printComponent): Made method protected.
33728         (printChildren): Made method protected.
33729         (printComponent): Made method protected.
33730         (printBorder): Made method protected.
33731   
33732 2006-01-27  Roman Kennke  <kennke@aicas.com>
33733   
33734         * javax/swing/AbstractButton.java
33735         (ButtonChangeListener.ButtonChangeListener()): Made constructor
33736         package private.
33737         * javax/swing/ImageIcon.java
33738         (component): Made field final.
33739         (tracker): Made field final.
33740         * javax/swing/JApplet.java
33741         (AccessibleJApplet.AccessibleJApplet): Made constructor protected.
33742         * javax/swing/JCheckBox.java
33743         (AccessibleJCheckBox.AccessibleJCheckBox): Made constructor
33744         protected.
33745         * javax/swing/JDialog.java
33746         (AccessibleJDialog.AccessibleJDialog): Made constructor protected.
33747         * javax/swing/JFrame.java
33748         (AccessibleJFrame.AccessibleJFrame): Made constructor protected.
33749         * javax/swing/JLayeredPane.java
33750         (AccessibleJLayered.AccessibleJLayeredPane): Made constructor
33751         protected.
33752         (DEFAULT_LAYER): Made field final.
33753         (PALETTE_LAYER): Made field final.
33754         (MODAL_LAYER): Made field final.
33755         (POPUP_LAYER): Made field final.
33756         (DRAG_LAYER): Made field final.
33757         * javax/swing/JMenu.java
33758         (ActionChangeListener): Made class private.
33759         * javax/swing/JOptionPane.java
33760         (UNITITIALIZED_VALUE): Made field final.
33761         * javax/swing/JPanel.java
33762         (AccessibleJPanel.AccessibleJPanel): Made constructor protected.
33763         * javax/swing/JPopupMenu.java
33764         (ActionChangeListener): Made class private.
33765         * javax/swing/JTree.java
33766         (paramString): Made method protected.
33767         * javax/swing/JViewport.java
33768         (AccessibleJViewport.AccessibleJViewport): Made constructor protected.
33769         * javax/swing/JWindow.java
33770         (AccessibleJWindow.AccessibleJWindow): Made constructor protected.
33771         * javax/swing/RepaintManager.java
33772         (RepaintWorker): Made class private.
33773   
33774 2006-01-27  Roman Kennke  <kennke@aicas.com>
33775   
33776         * gnu/java/awt/peer/swing/SwingComponentPeer.java
33777         (handleEvent): Removed debug statement.
33778   
33779 2006-01-27  Roman Kennke  <kennke@aicas.com>
33780   
33781         * java/awt/Component.java
33782         (coalescePaintEvents): Don't try to optimize coalescing. This hurts
33783         more than it helps.
33784   
33785 2006-01-26  Lillian Angel  <langel@redhat.com>
33786   
33787         * javax/swing/text/DefaultStyledDocument.java
33788         (createFracture): Commented out a known problem,
33789         added FIXME tag.
33790   
33791 2006-01-26  Lillian Angel  <langel@redhat.com>
33792   
33793         * javax/swing/text/DefaultStyledDocument.java
33794         (ElementBuffer): Added fields.
33795         (remove): Initialized pos.
33796         (change): Likewise.
33797         (insert): Likewise.
33798         (insertUpdate): Incremented pos. Fixed check, createFracture should
33799         be called on first tag if it is not ContentType.
33800         (insertFirstContentTag): Reworked to use proper offsets and
33801         set offset accordingly. This might need more work in the future.
33802         (insertContentTag): Likewise. Fixed to use pos, instead of 
33803         offset.
33804         (createFracture): Fixed to recreate other leaves. Still needs
33805         more work.
33806         (insertFracture): Reimplemented.
33807         (recreateAfterFracture): New method.
33808         (getParagraphElement): Reimplemented, more efficent.
33809
33810 2006-01-26  Christian Thalinger  <twisti@complang.tuwien.ac.at>
33811
33812         * native/jni/java-lang/java_lang_VMDouble.c (doubleToLongBits)
33813         (doubleToRawLongBits, longBitsToDouble): Swap the byte
33814         ordering for little-endian arms without VFP.
33815
33816 2006-01-26  Raif S. Naffah  <raif@swiftdsl.com.au>
33817
33818         PR classpath/25981
33819         * gnu/javax/crypto/jce/GnuCrypto.java (run): Added KeyGenerator entries.
33820
33821 2006-01-26  Mark Wielaard  <mark@klomp.org>
33822
33823         Fixes bug #25970 reported by Michael Kay <mike@saxonica.com>
33824         * java/math/BigDecimal.java (compareTo): Don't strip trailing zeros.
33825         Add trailing zeros to the fraction of the decimal with the smallest
33826         scale.
33827
33828 2006-01-26  Roman Kennke  <kennke@aicas.com>
33829
33830         * javax/swing/text/html/ObjectView.java: New file.
33831
33832 2006-01-26  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
33833
33834         * javax/swing/plaf/basic/BasicTreeUI.java (MouseHandler.mousePressed): 
33835         Call startEditing when appropriate.
33836         (WAIT_TILL_EDITING, EDIT, startEditTimer): New fields.
33837         (startEditing): Always edit if directly ordered from 
33838         MouseHandler.mousePressed.
33839         * javax/swing/tree/DefaultTreeCellEditor.java (CLICK_COUNT_TO_START): 
33840         New field. (createTreeCellEditor): Set click count to start.
33841         (getTreeCellEditorComponent): Assing realEditor directly.
33842
33843 2006-01-25  Casey Marshall  <csm@gnu.org>
33844
33845         Merging GNU Crypto and Jessie.
33846
33847         * NEWS: mention the merge in the 0.21 notes.
33848         * gnu/classpath/debug/Component.java (SSL_APPLICATION): removed.
33849         (SSL_RECORD_LAYER): new constants.
33850         * gnu/java/security/provider/Gnu.java (<init>): add new algorithms
33851         to provider.
33852         * resource/java/security/classpath.security: add new providers.
33853         * gnu/javax/crypto/assembly/Assembly.java,
33854         gnu/javax/crypto/assembly/Cascade.java,
33855         gnu/javax/crypto/assembly/CascadeStage.java,
33856         gnu/javax/crypto/assembly/CascadeTransformer.java,
33857         gnu/javax/crypto/assembly/DeflateTransformer.java,
33858         gnu/javax/crypto/assembly/Direction.java,
33859         gnu/javax/crypto/assembly/LoopbackTransformer.java,
33860         gnu/javax/crypto/assembly/ModeStage.java,
33861         gnu/javax/crypto/assembly/Operation.java,
33862         gnu/javax/crypto/assembly/PaddingTransformer.java,
33863         gnu/javax/crypto/assembly/Stage.java,
33864         gnu/javax/crypto/assembly/Transformer.java,
33865         gnu/javax/crypto/assembly/TransformerException.java,
33866         gnu/javax/crypto/cipher/Anubis.java,
33867         gnu/javax/crypto/cipher/BaseCipher.java,
33868         gnu/javax/crypto/cipher/Blowfish.java,
33869         gnu/javax/crypto/cipher/Cast5.java,
33870         gnu/javax/crypto/cipher/CipherFactory.java,
33871         gnu/javax/crypto/cipher/DES.java,
33872         gnu/javax/crypto/cipher/IBlockCipher.java,
33873         gnu/javax/crypto/cipher/IBlockCipherSpi.java,
33874         gnu/javax/crypto/cipher/Khazad.java,
33875         gnu/javax/crypto/cipher/NullCipher.java,
33876         gnu/javax/crypto/cipher/Rijndael.java,
33877         gnu/javax/crypto/cipher/Serpent.java,
33878         gnu/javax/crypto/cipher/Square.java,
33879         gnu/javax/crypto/cipher/TripleDES.java,
33880         gnu/javax/crypto/cipher/Twofish.java,
33881         gnu/javax/crypto/cipher/WeakKeyException.java,
33882         gnu/javax/crypto/jce/GnuCrypto.java,
33883         gnu/javax/crypto/jce/GnuSasl.java,
33884         gnu/javax/crypto/jce/PBKDF2SecretKeyFactory.java,
33885         gnu/javax/crypto/jce/cipher/AESSpi.java,
33886         gnu/javax/crypto/jce/cipher/ARCFourSpi.java,
33887         gnu/javax/crypto/jce/cipher/AnubisSpi.java,
33888         gnu/javax/crypto/jce/cipher/BlowfishSpi.java,
33889         gnu/javax/crypto/jce/cipher/Cast5Spi.java,
33890         gnu/javax/crypto/jce/cipher/CipherAdapter.java,
33891         gnu/javax/crypto/jce/cipher/DESSpi.java,
33892         gnu/javax/crypto/jce/cipher/KhazadSpi.java,
33893         gnu/javax/crypto/jce/cipher/NullCipherSpi.java,
33894         gnu/javax/crypto/jce/cipher/PBES2.java,
33895         gnu/javax/crypto/jce/cipher/RijndaelSpi.java,
33896         gnu/javax/crypto/jce/cipher/SerpentSpi.java,
33897         gnu/javax/crypto/jce/cipher/SquareSpi.java,
33898         gnu/javax/crypto/jce/cipher/TripleDESSpi.java,
33899         gnu/javax/crypto/jce/cipher/TwofishSpi.java,
33900         gnu/javax/crypto/jce/key/AnubisKeyGeneratorImpl.java,
33901         gnu/javax/crypto/jce/key/AnubisSecretKeyFactoryImpl.java,
33902         gnu/javax/crypto/jce/key/BlowfishKeyGeneratorImpl.java,
33903         gnu/javax/crypto/jce/key/BlowfishSecretKeyFactoryImpl.java,
33904         gnu/javax/crypto/jce/key/Cast5KeyGeneratorImpl.java,
33905         gnu/javax/crypto/jce/key/Cast5SecretKeyFactoryImpl.java,
33906         gnu/javax/crypto/jce/key/DESKeyGeneratorImpl.java,
33907         gnu/javax/crypto/jce/key/DESSecretKeyFactoryImpl.java,
33908         gnu/javax/crypto/jce/key/DESedeSecretKeyFactoryImpl.java,
33909         gnu/javax/crypto/jce/key/KhazadKeyGeneratorImpl.java,
33910         gnu/javax/crypto/jce/key/KhazadSecretKeyFactoryImpl.java,
33911         gnu/javax/crypto/jce/key/RijndaelKeyGeneratorImpl.java,
33912         gnu/javax/crypto/jce/key/RijndaelSecretKeyFactoryImpl.java,
33913         gnu/javax/crypto/jce/key/SecretKeyFactoryImpl.java,
33914         gnu/javax/crypto/jce/key/SecretKeyGeneratorImpl.java,
33915         gnu/javax/crypto/jce/key/SerpentKeyGeneratorImpl.java,
33916         gnu/javax/crypto/jce/key/SerpentSecretKeyFactoryImpl.java,
33917         gnu/javax/crypto/jce/key/SquareKeyGeneratorImpl.java,
33918         gnu/javax/crypto/jce/key/SquareSecretKeyFactoryImpl.java,
33919         gnu/javax/crypto/jce/key/TripleDESKeyGeneratorImpl.java,
33920         gnu/javax/crypto/jce/key/TwofishKeyGeneratorImpl.java,
33921         gnu/javax/crypto/jce/key/TwofishSecretKeyFactoryImpl.java,
33922         gnu/javax/crypto/jce/keyring/GnuKeyring.java,
33923         gnu/javax/crypto/jce/mac/HMacHavalSpi.java,
33924         gnu/javax/crypto/jce/mac/HMacMD2Spi.java,
33925         gnu/javax/crypto/jce/mac/HMacMD4Spi.java,
33926         gnu/javax/crypto/jce/mac/HMacMD5Spi.java,
33927         gnu/javax/crypto/jce/mac/HMacRipeMD128Spi.java,
33928         gnu/javax/crypto/jce/mac/HMacRipeMD160Spi.java,
33929         gnu/javax/crypto/jce/mac/HMacSHA160Spi.java,
33930         gnu/javax/crypto/jce/mac/HMacSHA256Spi.java,
33931         gnu/javax/crypto/jce/mac/HMacSHA384Spi.java,
33932         gnu/javax/crypto/jce/mac/HMacSHA512Spi.java,
33933         gnu/javax/crypto/jce/mac/HMacTigerSpi.java,
33934         gnu/javax/crypto/jce/mac/HMacWhirlpoolSpi.java,
33935         gnu/javax/crypto/jce/mac/MacAdapter.java,
33936         gnu/javax/crypto/jce/mac/OMacAnubisImpl.java,
33937         gnu/javax/crypto/jce/mac/OMacBlowfishImpl.java,
33938         gnu/javax/crypto/jce/mac/OMacCast5Impl.java,
33939         gnu/javax/crypto/jce/mac/OMacDESImpl.java,
33940         gnu/javax/crypto/jce/mac/OMacImpl.java,
33941         gnu/javax/crypto/jce/mac/OMacKhazadImpl.java,
33942         gnu/javax/crypto/jce/mac/OMacRijndaelImpl.java,
33943         gnu/javax/crypto/jce/mac/OMacSerpentImpl.java,
33944         gnu/javax/crypto/jce/mac/OMacSquareImpl.java,
33945         gnu/javax/crypto/jce/mac/OMacTripleDESImpl.java,
33946         gnu/javax/crypto/jce/mac/OMacTwofishImpl.java,
33947         gnu/javax/crypto/jce/mac/TMMH16Spi.java,
33948         gnu/javax/crypto/jce/mac/UHash32Spi.java,
33949         gnu/javax/crypto/jce/mac/UMac32Spi.java,
33950         gnu/javax/crypto/jce/params/BlockCipherParameters.java,
33951         gnu/javax/crypto/jce/params/DEREncodingException.java,
33952         gnu/javax/crypto/jce/params/DERReader.java,
33953         gnu/javax/crypto/jce/params/DERWriter.java,
33954         gnu/javax/crypto/jce/prng/ARCFourRandomSpi.java,
33955         gnu/javax/crypto/jce/prng/CSPRNGSpi.java,
33956         gnu/javax/crypto/jce/prng/FortunaImpl.java,
33957         gnu/javax/crypto/jce/prng/ICMRandomSpi.java,
33958         gnu/javax/crypto/jce/prng/UMacRandomSpi.java,
33959         gnu/javax/crypto/jce/spec/BlockCipherParameterSpec.java,
33960         gnu/javax/crypto/jce/spec/TMMHParameterSpec.java,
33961         gnu/javax/crypto/jce/spec/UMac32ParameterSpec.java,
33962         gnu/javax/crypto/key/BaseKeyAgreementParty.java,
33963         gnu/javax/crypto/key/GnuSecretKey.java,
33964         gnu/javax/crypto/key/IKeyAgreementParty.java,
33965         gnu/javax/crypto/key/IncomingMessage.java,
33966         gnu/javax/crypto/key/KeyAgreementException.java,
33967         gnu/javax/crypto/key/KeyAgreementFactory.java,
33968         gnu/javax/crypto/key/OutgoingMessage.java,
33969         gnu/javax/crypto/key/dh/DHKeyPairRawCodec.java,
33970         gnu/javax/crypto/key/dh/DiffieHellmanKeyAgreement.java,
33971         gnu/javax/crypto/key/dh/DiffieHellmanReceiver.java,
33972         gnu/javax/crypto/key/dh/DiffieHellmanSender.java,
33973         gnu/javax/crypto/key/dh/ElGamalKeyAgreement.java,
33974         gnu/javax/crypto/key/dh/ElGamalReceiver.java,
33975         gnu/javax/crypto/key/dh/ElGamalSender.java,
33976         gnu/javax/crypto/key/dh/GnuDHKey.java,
33977         gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java,
33978         gnu/javax/crypto/key/dh/GnuDHPrivateKey.java,
33979         gnu/javax/crypto/key/dh/GnuDHPublicKey.java,
33980         gnu/javax/crypto/key/dh/RFC2631.java,
33981         gnu/javax/crypto/key/srp6/SRP6Host.java,
33982         gnu/javax/crypto/key/srp6/SRP6KeyAgreement.java,
33983         gnu/javax/crypto/key/srp6/SRP6SaslClient.java,
33984         gnu/javax/crypto/key/srp6/SRP6SaslServer.java,
33985         gnu/javax/crypto/key/srp6/SRP6TLSClient.java,
33986         gnu/javax/crypto/key/srp6/SRP6TLSServer.java,
33987         gnu/javax/crypto/key/srp6/SRP6User.java,
33988         gnu/javax/crypto/key/srp6/SRPAlgorithm.java,
33989         gnu/javax/crypto/key/srp6/SRPKey.java,
33990         gnu/javax/crypto/key/srp6/SRPKeyPairGenerator.java,
33991         gnu/javax/crypto/key/srp6/SRPKeyPairRawCodec.java,
33992         gnu/javax/crypto/key/srp6/SRPPrivateKey.java,
33993         gnu/javax/crypto/key/srp6/SRPPublicKey.java,
33994         gnu/javax/crypto/keyring/AuthenticatedEntry.java,
33995         gnu/javax/crypto/keyring/BaseKeyring.java,
33996         gnu/javax/crypto/keyring/BinaryDataEntry.java,
33997         gnu/javax/crypto/keyring/CertPathEntry.java,
33998         gnu/javax/crypto/keyring/CertificateEntry.java,
33999         gnu/javax/crypto/keyring/CompressedEntry.java,
34000         gnu/javax/crypto/keyring/EncryptedEntry.java,
34001         gnu/javax/crypto/keyring/Entry.java,
34002         gnu/javax/crypto/keyring/EnvelopeEntry.java,
34003         gnu/javax/crypto/keyring/GnuPrivateKeyring.java,
34004         gnu/javax/crypto/keyring/GnuPublicKeyring.java,
34005         gnu/javax/crypto/keyring/IKeyring.java,
34006         gnu/javax/crypto/keyring/IPrivateKeyring.java,
34007         gnu/javax/crypto/keyring/IPublicKeyring.java,
34008         gnu/javax/crypto/keyring/MalformedKeyringException.java,
34009         gnu/javax/crypto/keyring/MaskableEnvelopeEntry.java,
34010         gnu/javax/crypto/keyring/MeteredInputStream.java,
34011         gnu/javax/crypto/keyring/PasswordAuthenticatedEntry.java,
34012         gnu/javax/crypto/keyring/PasswordEncryptedEntry.java,
34013         gnu/javax/crypto/keyring/PasswordProtectedEntry.java,
34014         gnu/javax/crypto/keyring/PrimitiveEntry.java,
34015         gnu/javax/crypto/keyring/PrivateKeyEntry.java,
34016         gnu/javax/crypto/keyring/Properties.java,
34017         gnu/javax/crypto/keyring/PublicKeyEntry.java,
34018         gnu/javax/crypto/mac/BaseMac.java,
34019         gnu/javax/crypto/mac/HMac.java,
34020         gnu/javax/crypto/mac/HMacFactory.java,
34021         gnu/javax/crypto/mac/IMac.java,
34022         gnu/javax/crypto/mac/MacFactory.java,
34023         gnu/javax/crypto/mac/MacInputStream.java,
34024         gnu/javax/crypto/mac/MacOutputStream.java,
34025         gnu/javax/crypto/mac/OMAC.java,
34026         gnu/javax/crypto/mac/TMMH16.java,
34027         gnu/javax/crypto/mac/UHash32.java,
34028         gnu/javax/crypto/mac/UMac32.java,
34029         gnu/javax/crypto/mode/BaseMode.java,
34030         gnu/javax/crypto/mode/CBC.java,
34031         gnu/javax/crypto/mode/CFB.java,
34032         gnu/javax/crypto/mode/CTR.java,
34033         gnu/javax/crypto/mode/EAX.java,
34034         gnu/javax/crypto/mode/ECB.java,
34035         gnu/javax/crypto/mode/IAuthenticatedMode.java,
34036         gnu/javax/crypto/mode/ICM.java,
34037         gnu/javax/crypto/mode/IMode.java,
34038         gnu/javax/crypto/mode/ModeFactory.java,
34039         gnu/javax/crypto/mode/OFB.java,
34040         gnu/javax/crypto/pad/BasePad.java,
34041         gnu/javax/crypto/pad/IPad.java,
34042         gnu/javax/crypto/pad/PKCS1_V1_5.java,
34043         gnu/javax/crypto/pad/PKCS7.java,
34044         gnu/javax/crypto/pad/PadFactory.java,
34045         gnu/javax/crypto/pad/SSL3.java,
34046         gnu/javax/crypto/pad/TBC.java,
34047         gnu/javax/crypto/pad/TLS1.java,
34048         gnu/javax/crypto/pad/WrongPaddingException.java,
34049         gnu/javax/crypto/prng/ARCFour.java,
34050         gnu/javax/crypto/prng/CSPRNG.java,
34051         gnu/javax/crypto/prng/Fortuna.java,
34052         gnu/javax/crypto/prng/ICMGenerator.java,
34053         gnu/javax/crypto/prng/IPBE.java,
34054         gnu/javax/crypto/prng/PBKDF2.java,
34055         gnu/javax/crypto/prng/PRNGFactory.java,
34056         gnu/javax/crypto/prng/UMacGenerator.java,
34057         gnu/javax/crypto/sasl/AuthInfo.java,
34058         gnu/javax/crypto/sasl/AuthInfoProviderFactory.java,
34059         gnu/javax/crypto/sasl/ClientFactory.java,
34060         gnu/javax/crypto/sasl/ClientMechanism.java,
34061         gnu/javax/crypto/sasl/ConfidentialityException.java,
34062         gnu/javax/crypto/sasl/IAuthInfoProvider.java,
34063         gnu/javax/crypto/sasl/IAuthInfoProviderFactory.java,
34064         gnu/javax/crypto/sasl/IllegalMechanismStateException.java,
34065         gnu/javax/crypto/sasl/InputBuffer.java,
34066         gnu/javax/crypto/sasl/IntegrityException.java,
34067         gnu/javax/crypto/sasl/NoSuchMechanismException.java,
34068         gnu/javax/crypto/sasl/NoSuchUserException.java,
34069         gnu/javax/crypto/sasl/OutputBuffer.java,
34070         gnu/javax/crypto/sasl/SaslEncodingException.java,
34071         gnu/javax/crypto/sasl/SaslInputStream.java,
34072         gnu/javax/crypto/sasl/SaslOutputStream.java,
34073         gnu/javax/crypto/sasl/SaslUtil.java,
34074         gnu/javax/crypto/sasl/ServerFactory.java,
34075         gnu/javax/crypto/sasl/ServerMechanism.java,
34076         gnu/javax/crypto/sasl/UserAlreadyExistsException.java,
34077         gnu/javax/crypto/sasl/anonymous/AnonymousClient.java,
34078         gnu/javax/crypto/sasl/anonymous/AnonymousServer.java,
34079         gnu/javax/crypto/sasl/anonymous/AnonymousUtil.java,
34080         gnu/javax/crypto/sasl/crammd5/CramMD5AuthInfoProvider.java,
34081         gnu/javax/crypto/sasl/crammd5/CramMD5Client.java,
34082         gnu/javax/crypto/sasl/crammd5/CramMD5Registry.java,
34083         gnu/javax/crypto/sasl/crammd5/CramMD5Server.java,
34084         gnu/javax/crypto/sasl/crammd5/CramMD5Util.java,
34085         gnu/javax/crypto/sasl/crammd5/PasswordFile.java,
34086         gnu/javax/crypto/sasl/plain/PasswordFile.java,
34087         gnu/javax/crypto/sasl/plain/PlainAuthInfoProvider.java,
34088         gnu/javax/crypto/sasl/plain/PlainClient.java,
34089         gnu/javax/crypto/sasl/plain/PlainRegistry.java,
34090         gnu/javax/crypto/sasl/plain/PlainServer.java,
34091         gnu/javax/crypto/sasl/srp/CALG.java,
34092         gnu/javax/crypto/sasl/srp/ClientStore.java,
34093         gnu/javax/crypto/sasl/srp/IALG.java,
34094         gnu/javax/crypto/sasl/srp/KDF.java,
34095         gnu/javax/crypto/sasl/srp/PasswordFile.java,
34096         gnu/javax/crypto/sasl/srp/SRP.java,
34097         gnu/javax/crypto/sasl/srp/SRPAuthInfoProvider.java,
34098         gnu/javax/crypto/sasl/srp/SRPClient.java,
34099         gnu/javax/crypto/sasl/srp/SRPRegistry.java,
34100         gnu/javax/crypto/sasl/srp/SRPServer.java,
34101         gnu/javax/crypto/sasl/srp/SecurityContext.java,
34102         gnu/javax/crypto/sasl/srp/ServerStore.java,
34103         gnu/javax/crypto/sasl/srp/StoreEntry.java,
34104         gnu/javax/net/ssl/Base64.java,
34105         gnu/javax/net/ssl/EntropySource.java,
34106         gnu/javax/net/ssl/NullManagerParameters.java,
34107         gnu/javax/net/ssl/PrivateCredentials.java,
34108         gnu/javax/net/ssl/SRPManagerParameters.java,
34109         gnu/javax/net/ssl/SRPTrustManager.java,
34110         gnu/javax/net/ssl/StaticTrustAnchors.java,
34111         gnu/javax/net/ssl/provider/Alert.java,
34112         gnu/javax/net/ssl/provider/AlertException.java,
34113         gnu/javax/net/ssl/provider/Certificate.java,
34114         gnu/javax/net/ssl/provider/CertificateRequest.java,
34115         gnu/javax/net/ssl/provider/CertificateType.java,
34116         gnu/javax/net/ssl/provider/CertificateVerify.java,
34117         gnu/javax/net/ssl/provider/CipherSuite.java,
34118         gnu/javax/net/ssl/provider/ClientHello.java,
34119         gnu/javax/net/ssl/provider/ClientKeyExchange.java,
34120         gnu/javax/net/ssl/provider/CompressionMethod.java,
34121         gnu/javax/net/ssl/provider/Constructed.java,
34122         gnu/javax/net/ssl/provider/ContentType.java,
34123         gnu/javax/net/ssl/provider/Context.java,
34124         gnu/javax/net/ssl/provider/DiffieHellman.java,
34125         gnu/javax/net/ssl/provider/DigestInputStream.java,
34126         gnu/javax/net/ssl/provider/DigestOutputStream.java,
34127         gnu/javax/net/ssl/provider/Enumerated.java,
34128         gnu/javax/net/ssl/provider/Extension.java,
34129         gnu/javax/net/ssl/provider/Extensions.java,
34130         gnu/javax/net/ssl/provider/Finished.java,
34131         gnu/javax/net/ssl/provider/GNUSecurityParameters.java,
34132         gnu/javax/net/ssl/provider/Handshake.java,
34133         gnu/javax/net/ssl/provider/JCESecurityParameters.java,
34134         gnu/javax/net/ssl/provider/JDBCSessionContext.java,
34135         gnu/javax/net/ssl/provider/Jessie.java,
34136         gnu/javax/net/ssl/provider/JessieDHPrivateKey.java,
34137         gnu/javax/net/ssl/provider/JessieDHPublicKey.java,
34138         gnu/javax/net/ssl/provider/JessieRSAPrivateKey.java,
34139         gnu/javax/net/ssl/provider/JessieRSAPublicKey.java,
34140         gnu/javax/net/ssl/provider/KeyPool.java,
34141         gnu/javax/net/ssl/provider/MacException.java,
34142         gnu/javax/net/ssl/provider/OverflowException.java,
34143         gnu/javax/net/ssl/provider/PRNG.java,
34144         gnu/javax/net/ssl/provider/ProtocolVersion.java,
34145         gnu/javax/net/ssl/provider/Random.java,
34146         gnu/javax/net/ssl/provider/RecordInput.java,
34147         gnu/javax/net/ssl/provider/RecordInputStream.java,
34148         gnu/javax/net/ssl/provider/RecordOutputStream.java,
34149         gnu/javax/net/ssl/provider/RecordingInputStream.java,
34150         gnu/javax/net/ssl/provider/SRPTrustManagerFactory.java,
34151         gnu/javax/net/ssl/provider/SSLHMac.java,
34152         gnu/javax/net/ssl/provider/SSLRSASignature.java,
34153         gnu/javax/net/ssl/provider/SSLRandom.java,
34154         gnu/javax/net/ssl/provider/SSLServerSocket.java,
34155         gnu/javax/net/ssl/provider/SSLServerSocketFactory.java,
34156         gnu/javax/net/ssl/provider/SSLSocket.java,
34157         gnu/javax/net/ssl/provider/SSLSocketFactory.java,
34158         gnu/javax/net/ssl/provider/SSLSocketInputStream.java,
34159         gnu/javax/net/ssl/provider/SSLSocketOutputStream.java,
34160         gnu/javax/net/ssl/provider/SecurityParameters.java,
34161         gnu/javax/net/ssl/provider/ServerHello.java,
34162         gnu/javax/net/ssl/provider/ServerKeyExchange.java,
34163         gnu/javax/net/ssl/provider/Session.java,
34164         gnu/javax/net/ssl/provider/SessionContext.java,
34165         gnu/javax/net/ssl/provider/Signature.java,
34166         gnu/javax/net/ssl/provider/SynchronizedRandom.java,
34167         gnu/javax/net/ssl/provider/TLSHMac.java,
34168         gnu/javax/net/ssl/provider/TLSRandom.java,
34169         gnu/javax/net/ssl/provider/Util.java,
34170         gnu/javax/net/ssl/provider/X509KeyManagerFactory.java,
34171         gnu/javax/net/ssl/provider/X509TrustManagerFactory.java,
34172         gnu/javax/net/ssl/provider/XMLSessionContext.java,
34173         gnu/javax/security/auth/Password.java,
34174         gnu/javax/security/auth/callback/AWTCallbackHandler.java,
34175         gnu/javax/security/auth/callback/AbstractCallbackHandler.java,
34176         gnu/javax/security/auth/callback/ConsoleCallbackHandler.java,
34177         gnu/javax/security/auth/callback/DefaultCallbackHandler.java,
34178         gnu/javax/security/auth/callback/GnuCallbacks.java,
34179         gnu/javax/security/auth/callback/SwingCallbackHandler.java,
34180         gnu/java/security/Registry.java,
34181         gnu/java/security/Properties.java,
34182         gnu/java/security/hash/BaseHash.java,
34183         gnu/java/security/hash/HashFactory.java,
34184         gnu/java/security/hash/Haval.java,
34185         gnu/java/security/hash/IMessageDigest.java,
34186         gnu/java/security/hash/MD2.java,
34187         gnu/java/security/hash/MD4.java,
34188         gnu/java/security/hash/MD5.java,
34189         gnu/java/security/hash/RipeMD128.java,
34190         gnu/java/security/hash/RipeMD160.java,
34191         gnu/java/security/hash/Sha160.java,
34192         gnu/java/security/hash/Sha256.java,
34193         gnu/java/security/hash/Sha384.java,
34194         gnu/java/security/hash/Sha512.java,
34195         gnu/java/security/hash/Tiger.java,
34196         gnu/java/security/hash/Whirlpool.java,
34197         gnu/java/security/jce/hash/HavalSpi.java,
34198         gnu/java/security/jce/hash/MD2Spi.java,
34199         gnu/java/security/jce/hash/MD4Spi.java,
34200         gnu/java/security/jce/hash/MD5Spi.java,
34201         gnu/java/security/jce/hash/MessageDigestAdapter.java,
34202         gnu/java/security/jce/hash/RipeMD128Spi.java,
34203         gnu/java/security/jce/hash/RipeMD160Spi.java,
34204         gnu/java/security/jce/hash/Sha160Spi.java,
34205         gnu/java/security/jce/hash/Sha256Spi.java,
34206         gnu/java/security/jce/hash/Sha384Spi.java,
34207         gnu/java/security/jce/hash/Sha512Spi.java,
34208         gnu/java/security/jce/hash/TigerSpi.java,
34209         gnu/java/security/jce/hash/WhirlpoolSpi.java,
34210         gnu/java/security/jce/prng/HavalRandomSpi.java,
34211         gnu/java/security/jce/prng/MD2RandomSpi.java,
34212         gnu/java/security/jce/prng/MD4RandomSpi.java,
34213         gnu/java/security/jce/prng/MD5RandomSpi.java,
34214         gnu/java/security/jce/prng/RipeMD128RandomSpi.java,
34215         gnu/java/security/jce/prng/RipeMD160RandomSpi.java,
34216         gnu/java/security/jce/prng/SecureRandomAdapter.java,
34217         gnu/java/security/jce/prng/Sha160RandomSpi.java,
34218         gnu/java/security/jce/prng/Sha256RandomSpi.java,
34219         gnu/java/security/jce/prng/Sha384RandomSpi.java,
34220         gnu/java/security/jce/prng/Sha512RandomSpi.java,
34221         gnu/java/security/jce/prng/TigerRandomSpi.java,
34222         gnu/java/security/jce/prng/WhirlpoolRandomSpi.java,
34223         gnu/java/security/jce/sig/DSSKeyPairGeneratorSpi.java,
34224         gnu/java/security/jce/sig/DSSRawSignatureSpi.java,
34225         gnu/java/security/jce/sig/KeyPairGeneratorAdapter.java,
34226         gnu/java/security/jce/sig/RSAKeyPairGeneratorSpi.java,
34227         gnu/java/security/jce/sig/RSAPSSRawSignatureSpi.java,
34228         gnu/java/security/jce/sig/SignatureAdapter.java,
34229         gnu/java/security/key/IKeyPairCodec.java,
34230         gnu/java/security/key/IKeyPairGenerator.java,
34231         gnu/java/security/key/KeyPairCodecFactory.java,
34232         gnu/java/security/key/KeyPairGeneratorFactory.java,
34233         gnu/java/security/key/dss/DSSKey.java,
34234         gnu/java/security/key/dss/DSSKeyPairGenerator.java,
34235         gnu/java/security/key/dss/DSSKeyPairRawCodec.java,
34236         gnu/java/security/key/dss/DSSPrivateKey.java,
34237         gnu/java/security/key/dss/DSSPublicKey.java,
34238         gnu/java/security/key/dss/FIPS186.java,
34239         gnu/java/security/key/rsa/GnuRSAKey.java,
34240         gnu/java/security/key/rsa/GnuRSAPrivateKey.java,
34241         gnu/java/security/key/rsa/GnuRSAPublicKey.java,
34242         gnu/java/security/key/rsa/RSAKeyPairGenerator.java,
34243         gnu/java/security/key/rsa/RSAKeyPairRawCodec.java,
34244         gnu/java/security/prng/BasePRNG.java,
34245         gnu/java/security/prng/EntropySource.java,
34246         gnu/java/security/prng/IRandom.java,
34247         gnu/java/security/prng/LimitReachedException.java,
34248         gnu/java/security/prng/MDGenerator.java,
34249         gnu/java/security/prng/PRNGFactory.java,
34250         gnu/java/security/prng/RandomEvent.java,
34251         gnu/java/security/prng/RandomEventListener.java,
34252         gnu/java/security/sig/BaseSignature.java,
34253         gnu/java/security/sig/ISignature.java,
34254         gnu/java/security/sig/ISignatureCodec.java,
34255         gnu/java/security/sig/SignatureFactory.java,
34256         gnu/java/security/sig/dss/DSSSignature.java,
34257         gnu/java/security/sig/dss/DSSSignatureRawCodec.java,
34258         gnu/java/security/sig/rsa/EME_PKCS1_V1_5.java,
34259         gnu/java/security/sig/rsa/EMSA_PKCS1_V1_5.java,
34260         gnu/java/security/sig/rsa/EMSA_PSS.java,
34261         gnu/java/security/sig/rsa/RSA.java,
34262         gnu/java/security/sig/rsa/RSAPKCS1V1_5Signature.java,
34263         gnu/java/security/sig/rsa/RSAPSSSignature.java,
34264         gnu/java/security/sig/rsa/RSAPSSSignatureRawCodec.java,
34265         gnu/java/security/util/Base64.java,
34266         gnu/java/security/util/ExpirableObject.java,
34267         gnu/java/security/util/Prime2.java,
34268         gnu/java/security/util/Sequence.java,
34269         gnu/java/security/util/SimpleList.java,
34270         gnu/java/security/util/Util.java,
34271         resource/gnu/javax/security/auth/callback/MessagesBundle.properties:
34272         new files imported from GNU Crypto and Jessie.
34273
34274 2006-01-25  Tom Tromey  <tromey@redhat.com>
34275
34276         * gnu/java/net/protocol/http/ChunkedInputStream.java (read):
34277         Fixed calculation of number of bytes to read.
34278         (size, count, meta, eof): Document.
34279
34280 2006-01-25  Anthony Balkissoon  <abalkiss@redhat.com>
34281
34282         * java/lang/Character.java:
34283         (codePointCount(char[], int, int)): New API method.
34284         (codePointCount(CharSequence, int, int)): Likewise.
34285   
34286 2006-01-25  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
34287   
34288         PR 25205
34289         * javax/swing/DefaultCellEditor.java (getTreeCellEditorComponent): 
34290         Rewritten.
34291         * javax/swing/JTree.java (stopEditing, cancelEditing): Return without 
34292         action if not editing.
34293         * javax/swing/plaf/basic/BasicTreeUI.java 
34294         (CellEditorHandler.editingCancelled): Delegate to cancelEditing.
34295         (CellEditorHandler.editingStopped): Delegate to stopEditing.
34296         (EditorUpdateTimer): Removed.
34297         (TreeAction.actionPerformed): Stop and not cancel the current editing 
34298         when starting editing another node.
34299         (editorTimer, newVal): Removed.
34300         (cancelEditing): Do not send the cancel message.
34301         (completeEditing): Obtain the edited value from the editor.
34302         (finish): New method.
34303         (paintRow): Do not paint the editing component here.
34304         (startEditing, stopEditing): Rewritten.
34305         * javax/swing/tree/DefaultTreeCellEditor.java
34306         (DefaultTextField): Added SVUID.
34307         (EditorContainer): Rewritten.
34308         (RealEditorListener): New inner class.
34309         (ICON_TEXT_GAP, TREE_ICON_GAP: New constants).
34310         (constructor): Add cell editor listener. Do not instantiate timer.
34311         (actionPerformed): Return without action.
34312         (cancelCellEditing): Rewritten.
34313         (createTreeCellEditor): Add cell editor listener to the editor.
34314         (getCellEditorValue): Request the value from the realEditor.
34315         (isCellEditable): Removed timer management.
34316         (prepareForEditing): Remove all components befor adding the 
34317         editingComponent.
34318         (startEditingTimer): Start only if it is not null.
34319         (stopCellEditing): Rewritten.
34320         (stopEditingTimer): New method.
34321         (valueChanged): Do not configure editing component here.
34322   
34323 2006-01-25  Roman Kennke  <kennke@aicas.com>
34324   
34325         * javax/swing/text/html/FormView.java: New file.
34326   
34327 2006-01-25  Roman Kennke  <kennke@aicas.com>
34328   
34329         * javax/swing/JSplitPane.java
34330         (addImpl): Call resetToPreferredSizes() when no dividerLocation
34331         has been set in order to set an initial layout.
34332         * javax/swing/plaf/basic/BasicSplitPaneUI.java
34333         (BasicHorizontalLayoutManager.layoutContainer): Fixed error for
34334         layout of the right component.
34335         (BasicHorizontalLayoutManager.resetToPreferredSizes): Set the
34336         dividerLocation to the size of the left component.
34337         (createDefaultNonContinuousLayoutDivider): Fetch the color from
34338         the UIManager.
34339         (setDividerLocation): Don't validate the location here. Sometimes
34340         the divider needs to be set to an invalid location.
34341         (startDragging): Don't revalidate and repaint here.
34342         (finishDraggingTo): Don't repaint here. Also, don't call
34343         dragDividerTo() here.
34344         * javax/swing/plaf/basic/BasicLookAndFeel.java
34345         (initComponentDefaults): Added SplitPaneDivider.draggingColor
34346         default value.
34347   
34348 2006-01-25  Roman Kennke  <kennke@aicas.com>
34349   
34350         * javax/swing/JSplitPane.java
34351         (addImpl): Removed invalidate() and layout() call.
34352         * javax/swing/plaf/basic/BasicSplitPaneUI.java
34353         (PropertyHandler.propertyChange): Remove layoutContainer() and
34354         repaint() call.
34355   
34356 2006-01-25  Roman Kennke  <kennke@aicas.com>
34357   
34358         * configure.ac
34359         * native/Makefile.am
34360         * native/jni/classpath/Makefile.am
34361         * native/jni/classpath/jcl.c
34362         * native/jni/classpath/jcl.h
34363         * native/jni/classpath/native_state.c
34364         * native/jni/gtk-peer/Makefile.am
34365         * native/jni/java-io/Makefile.am
34366         * native/jni/java-io/java_io_VMFile.c
34367         * native/jni/java-io/java_io_VMObjectStreamClass.c
34368         * native/jni/java-lang/Makefile.am
34369         * native/jni/java-net/Makefile.am
34370         * native/jni/java-net/java_net_VMInetAddress.c
34371         * native/jni/java-net/javanet.c
34372         * native/jni/java-net/javanet.h
34373         * native/jni/java-nio/Makefile.am
34374         * native/jni/java-nio/gnu_java_nio_VMPipe.c
34375         * native/jni/java-nio/gnu_java_nio_VMSelector.c
34376         * native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c
34377         * native/jni/java-nio/java_nio_MappedByteBufferImpl.c
34378         * native/jni/java-nio/java_nio_VMDirectByteBuffer.c
34379         * native/jni/java-util/Makefile.am
34380         * native/jni/java-util/java_util_VMTimeZone.c
34381         * native/jni/midi-dssi/Makefile.am
34382         * native/jni/xmlj/Makefile.am
34383         * native/target/Makefile.am
34384         * native/target/Linux/target_native_math.h
34385         * native/target/Linux/target_native_memory.h
34386         * native/target/Linux/Makefile.am
34387         * native/target/Linux/target_native_io.h
34388         * native/target/Linux/target_native_math_float.h
34389         * native/target/Linux/target_native_math_int.h
34390         * native/target/generic/target_generic.c
34391         * native/target/generic/target_generic_io.c
34392         * native/target/generic/target_generic_math.h
34393         * native/target/generic/target_generic_memory.h
34394         * native/target/generic/target_generic_misc.c
34395         * native/target/generic/target_generic_network.c
34396         * native/target/generic/Makefile.am
34397         * native/target/generic/target_generic.h
34398         * native/target/generic/target_generic_file.h
34399         * native/target/generic/target_generic_io.h
34400         * native/target/generic/target_generic_math_float.h
34401         * native/target/generic/target_generic_math_int.h
34402         * native/target/generic/target_generic_misc.h
34403         * native/target/generic/target_generic_network.h:
34404         Reverted target native related changes back to the state of the
34405         0.20 release.
34406         * native/target/MinGW/.cvsignore
34407         * native/target/MinGW/Makefile.am
34408         * native/target/MinGW/target_native.h
34409         * native/target/MinGW/target_native_file.h
34410         * native/target/MinGW/target_native_io.h
34411         * native/target/MinGW/target_native_math.h
34412         * native/target/MinGW/target_native_memory.h
34413         * native/target/MinGW/target_native_misc.h
34414         * native/target/MinGW/target_native_network.h
34415         * native/target/RTEMS/.cvsignore
34416         * native/target/RTEMS/Makefile.am
34417         * native/target/RTEMS/target_native.h
34418         * native/target/RTEMS/target_native_file.h
34419         * native/target/RTEMS/target_native_io.h
34420         * native/target/RTEMS/target_native_math.h
34421         * native/target/RTEMS/target_native_memory.h
34422         * native/target/RTEMS/target_native_misc.h
34423         * native/target/RTEMS/target_native_network.h
34424         * native/target/SunOS/.cvsignore
34425         * native/target/SunOS/Makefile.am
34426         * native/target/SunOS/target_native.h
34427         * native/target/SunOS/target_native_file.h
34428         * native/target/SunOS/target_native_io.h
34429         * native/target/SunOS/target_native_math.h
34430         * native/target/SunOS/target_native_memory.h
34431         * native/target/SunOS/target_native_misc.h
34432         * native/target/SunOS/target_native_network.h
34433         * native/target/embOS/.cvsignore
34434         * native/target/embOS/Makefile.am
34435         * native/target/embOS/target_native.h
34436         * native/target/embOS/target_native_file.h
34437         * native/target/embOS/target_native_io.c
34438         * native/target/embOS/target_native_io.h
34439         * native/target/embOS/target_native_math.h
34440         * native/target/embOS/target_native_memory.h
34441         * native/target/embOS/target_native_misc.h
34442         * native/target/embOS/target_native_network.h
34443         * native/target/posix/.cvsignore
34444         * native/target/posix/Makefile.am
34445         * native/target/posix/target_posix.c
34446         * native/target/posix/target_posix.h
34447         * native/target/posix/target_posix_file.c
34448         * native/target/posix/target_posix_file.h
34449         * native/target/posix/target_posix_io.c
34450         * native/target/posix/target_posix_io.h
34451         * native/target/posix/target_posix_math.c
34452         * native/target/posix/target_posix_math.h
34453         * native/target/posix/target_posix_memory.c
34454         * native/target/posix/target_posix_memory.h
34455         * native/target/posix/target_posix_misc.c
34456         * native/target/posix/target_posix_misc.h
34457         * native/target/posix/target_posix_network.c
34458         * native/target/posix/target_posix_network.h:
34459         Removed.
34460   
34461 2006-01-24  Wolfgang Baer  <WBaer@gmx.de>
34462   
34463         * javax/print/PrintService.java,
34464         * javax/print/DocPrintJob.java,
34465         * javax/print/CancelablePrintJob.java:
34466         Added and enhanced api documentation for class and methods.             
34467
34468 2006-01-24  Wolfgang Baer  <WBaer@gmx.de>
34469
34470         * javax/print/SimpleDoc.java: Make class final.
34471         * javax/print/attribute/standard/PrinterIsAcceptingJobs.java: Likewise.
34472         * javax/print/attribute/DateTimeSyntax.java: 
34473         (toString): New overridden method.
34474         * javax/print/attribute/standard/JobStateReasons.java:
34475         (add): Use the super.add method to avoid recursion.
34476         * javax/print/attribute/standard/PrinterStateReasons.java: 
34477         (put): Use the super.put method to avoid recursion.
34478
34479 2006-01-24  Robert Schuster  <robertschuster@fsfe.org>
34480
34481         * java/beans/XMLEncoder.java:
34482         (writeExpression): Added early return (fixes PR #25941).
34483         (setExceptionListener, anonymous Class): Removed printStackTrace
34484         call.
34485         * java/beans/Encoder: Removed unused imports.
34486         (setupDefaultPersistenceDelegates): Removed unneccessary
34487         PersistenceDelegates for subclasses.
34488         * java/beans/PersistenceDelegate:
34489         (initialize): Use local variable as first argument as it was
34490         intended once.
34491         * java/beans/DefaultPersistenceDelegate:
34492         (initialize): Added call to superclass' implementation, added
34493         early return.
34494   
34495 2006-01-24  Tom Tromey  <tromey@redhat.com>
34496   
34497         * java/util/regex/PatternSyntaxException.java: Added @since.
34498         * java/util/regex/Matcher.java (Matcher): Implements MatchResult.
34499         * java/util/regex/MatchResult.java: New file.
34500   
34501 2006-01-24  David Gilbert  <david.gilbert@object-refinery.com>
34502   
34503         * javax/swing/text/StringContent.java: Added API docs all over, plus 
34504         minor reformatting.
34505   
34506 2006-01-24  Gary Benson  <gbenson@redhat.com>
34507   
34508         * java/net/SocketPermission.java: Implemented serialization.
34509   
34510 2006-01-24  David Gilbert  <david.gilbert@object-refinery.com>
34511   
34512         * javax/swing/text/StringContent.java
34513         (remove): Modified argument check to prevent removal of last character,
34514         (getChars): Removed null argument check to allow NullPointerException,
34515         added API docs,
34516         (checkLocation): Added API docs and white space.
34517   
34518 2006-01-23  Lillian Angel  <langel@redhat.com>
34519   
34520         * javax/swing/text/DefaultStyledDocument.java
34521         (insertUpdate): Should only call createFracture with 
34522         StartTagType. Added check.
34523         (insertContentTag): Should use the tags length for splitting.
34524         Also, added a check to determine if current's start and end offset are
34525         equal to the offset and endOffset. If so, only one leaf element
34526         should be added. 
34527         (createFracture): Removed FIXME. This function is complete.
34528         (split): Added calls to replace. Changed so the child is 
34529         added immediately to the paragraph. Prevents NPEs.
34530
34531 2006-01-23  Mark Wielaard  <mark@klomp.org>
34532
34533         * examples/Makefile.am (EXAMPLE_ZIP): Group cd and commands.
34534
34535 2006-01-23  Tom Tromey  <tromey@redhat.com>
34536
34537         * gnu/java/security/x509/X509Certificate.java (parse):
34538         Unconditionally read value; for version==1 case when reading
34539         algorithm ID.
34540
34541 2006-01-23  Roman Kennke  <kennke@aicas.com>
34542
34543         * javax/swing/plaf/synth/ColorType.java,
34544         * javax/swing/plaf/synth/Region.java,
34545         * javax/swing/plaf/synth/SynthConstants.java,
34546         * javax/swing/plaf/synth/SynthContext.java
34547         * javax/swing/plaf/synth/SynthGraphicsUtils.java,
34548         * javax/swing/plaf/synth/SynthLookAndFeel.java,
34549         * javax/swing/plaf/synth/SynthPainter.java,
34550         * javax/swing/plaf/synth/SynthStyle.java,
34551         * javax/swing/plaf/synth/SynthStyleFactory.java,
34552         * javax/swing/plaf/synth/package.html:
34553         New files. Added the public API and framework classes for the
34554         Synth look and feel.
34555   
34556 2006-01-23  David Gilbert  <david.gilbert@object-refinery.com>
34557   
34558         * javax/swing/text/Segment.java: API docs all over.
34559   
34560 2006-01-23  Lillian Angel  <langel@redhat.com>
34561   
34562         * javax/swing/text/DefaultStyledDocument.java
34563         (split): Should not use createLeafElement and createBranchElement here.
34564         We should just instaniate the LeafElements and BranchElements instead 
34565         to avoid the case where create*Element is overridden.
34566   
34567 2006-01-23  Lillian Angel  <langel@redhat.com>
34568   
34569         * javax/swing/text/DefaultStyledDocument.java
34570         (insertFirstContentTag): Moved check outside of if-statement.
34571         This should be checked before creating the new leaf element.
34572         (insertFracture): Fixed check to prevent an NPE. The previous
34573         leaf should only be recreated if it has been created by
34574         insertFirstContentTag. Also, fixed up code: if the endOffset is
34575         greater than the offset, then we need to create a temp leaf
34576         as a place holder. Otherwise, the leaf elements should be
34577         created normally.
34578   
34579 2006-01-23  Gary Benson  <gbenson@redhat.com>
34580   
34581         * java/net/SocketPermission.java: Almost completely rewritten.
34582   
34583 2006-01-23  Lillian Angel  <langel@redhat.com>
34584         
34585         * javax/swing/text/DefaultStyledDocument.java
34586         (insertFracture): Set temp leaf's attributes to prevent an NPE.
34587   
34588 2006-01-23  Lillian Angel  <langel@redhat.com>
34589   
34590         * javax/swing/text/DefaultStyledDocument.java:
34591         Formatted ElementBuffer and added new fields.
34592         (remove): Added check to determine if length is 0.
34593         (insertFirstContentTag): Initialized firstCreated to the element that is created 
34594         by the first tag encountered. Removed check in JoinPreviousDirection case, no
34595         longer needed. In OriginateDirection case, added a loop to remove all old leafs
34596         that have been recreated.
34597         (insertContentTag): Cleaned up code. Removed checks that did not do anything.
34598         (insertFracture): Fixed up code, removed unneeded objects and checks. Added
34599         FIXME tags to the lines that need to be rewritten.      
34600
34601 2006-01-23  Mark Wielaard  <mark@klomp.org>
34602
34603         * examples/Makefile.am: Add support for fastjar.
34604
34605 2006-01-23  Ito Kazumitsu  <kaz@maczuka.gcd.org>
34606
34607         * gnu/regexp/REToken.java(empty): Made Cloneable.
34608         * gnu/regexp/RETokenOneOf.java(match): RE.java(match):
34609         Use separate methods matchN and matchP depending on the
34610         boolean negative.
34611         (matchN): New method used when negative. Done as before.
34612         (matchP): New method used when not negative. Each token is
34613         tried not by itself but by a clone of it.
34614
34615 2006-01-23  Chris Burdess  <dog@gnu.org>
34616
34617         Fixes bug #25906
34618         * gnu/xml/dom/DomCharacterData.java: Use a separate empty node list
34619           class to avoid getLength method contention.
34620         * gnu/xml/stream/SAXParser.java: Rethrow correct exception.
34621
34622 2006-01-23  Chris Burdess  <dog@gnu.org>
34623
34624         * native/jni/java-util/Makefile.am: Include library required
34625           explicitly by BSD systems.
34626         * native/target/generic/target_generic_misc.h: Remove old commented
34627           out code.
34628         * native/target/generic/target_generic_network.h: Fallbacks (to
34629           SO_NOSIGPIPE and then 0) for non-portable glibc MSG_NOSIGNAL.
34630
34631 2006-01-22  Tom Tromey  <tromey@redhat.com>
34632
34633         * native/target/posix/.cvsignore: Added .deps.
34634
34635 2006-01-22  Mark Wielaard  <mark@klomp.org>
34636
34637         Fixes bug #25832,
34638         reported by James Damour <James.Damour@corp.request.com>
34639         * java/awt/Container.java (addImpl): Use empty string as name when
34640         null constraints for LayoutManager.addLayoutComponent().
34641
34642 2006-01-22  Chris Burdess  <dog@gnu.org>
34643
34644         Fixes bug #25903
34645         * gnu/xml/dom/DomDocumentBuilder.java: Default to using file URL
34646           representing current directory as base for relative URLs.
34647
34648 2006-01-22  Ito Kazumitsu  <kaz@maczuka.gcd.org>
34649
34650         Fixes bug #25837
34651         * gnu/regexp/REMatch.java(empty): New boolean indicating
34652         an empty string matched.
34653         * gnu/regexp/RE.java(match): Sets empty flag when an empty
34654         string matched.
34655         (initialize): Support back reference \10, \11, and so on.
34656         (parseInt): renamed from getEscapedChar and returns int.
34657         * gnu/regexp/RETokenRepeated.java(match): Sets empty flag
34658         when an empty string matched. Fixed a bug of the case where
34659         an empty string matched. Added special handling of {0}.
34660         * gnu/regexp/RETokenBackRef.java(match): Sets empty flag
34661         when an empty string matched. Fixed the case insensitive matching.
34662   
34663 2006-01-21  Roman Kennke  <kennke@aicas.com>
34664   
34665         * javax/swing/plaf/metal/MetalSplitPaneDivider.java
34666         (paint): Added painting of border if one is installed.
34667   
34668 2006-01-21  Roman Kennke  <kennke@aicas.com>
34669   
34670         PR classpath/25843:
34671         * javax/swing/plaf/basic/BasicBorders.java
34672         (getSplitPaneDividerBorder): Use new border constructor
34673         without arguments.
34674         (SplitPaneDividerBorder.highlight): Removed unneeded field.
34675         (SplitPaneDividerBorder.shadow): Removed unneeded field.
34676         (SplitPaneDividerBorder()): Changed constructor to do nothing. The
34677         colors are fetched dynamically in the paintBorder method.
34678         (SplitPaneDividerBorder.paintBorder): Fetch colors dynamically from
34679         the look and feel.
34680         (SplitPaneDividerBorder.isBorderOpaque): Returns true
34681         unconditionally.
34682         * javax/swing/plaf/basic/BasicLookAndFeel.java
34683         (initComponentDefaults): Added default for SplitPaneDivider.border.
34684         * javax/swing/plaf/basic/BasicSplitPaneDivider.java
34685         (tmpBorder): Removed unneeded inner class.
34686         (BasicSplitPaneDivider): Removed setting of border.
34687         (setSplitPaneUI): Don't add the mouse handler to the splitpane
34688         itself.
34689         * javax/swing/plaf/basic/BasicSplitPaneUI.java
34690         (BasicHorizontalLayoutManager.layoutContainer): Mostly rewritten
34691         to get behaviour right.
34692         (BasicHorizontalLayoutManager.distributeExtraSpace): Removed
34693         implementation. This must be rewritten since the layout now works
34694         slightly different (basically, it shouldn't modify the sizes[]
34695         here but instead the dividerLocation.
34696         (dividerLocation): New field.
34697         (installDefaults): Initialize border on divider.
34698         (uninstallDefaults): Only remove background color and border from
34699         splitPane if they are instances of UIDefaults (== not set by
34700         application).
34701         (setDividerLocation): Set the dividerLocation field instead of
34702         doing stunt acts here.
34703         (getDividerLocation): Return dividerLocation field.
34704         (getMinimumDividerLocation): Fixed calculation of minimum location.
34705         
34706 2006-01-21  Guilhem Lavaux  <guilhem@kaffe.org>
34707   
34708         * m4/acinclude.m4
34709         (CLASSPATH_WITH_GLIBJ): Add support for fastjar.
34710   
34711         * lib/Makefile.am: Likewise. 
34712   
34713 2006-01-21  Roman Kennke  <kennke@aicas.com>
34714   
34715         * javax/swing/PopupFactory.java
34716         (getPopup): If there is no Swing root found in any way, use a
34717         heavyweight popup. This is useful for mixed Swing/AWT GUIs, or
34718         for the Swing AWT peers.
34719   
34720 2006-01-20  Tom Tromey  <tromey@redhat.com>
34721   
34722         * gnu/java/net/protocol/http/HTTPURLConnection.java (connect):
34723         Read response body for redirect.
34724   
34725 2006-01-20  Chris Burdess  <dog@gnu.org>
34726   
34727         * gnu/java/net/protocol/http/HTTPURLConnection.java: Don't follow
34728           redirects on 304.
34729   
34730 2006-01-20  Lillian Angel  <langel@redhat.com>
34731   
34732         * javax/swing/text/DefaultStyledDocument.java
34733         (pad): Removed, not needed.
34734         (printElements): Likewise.
34735         (printEdit): Likewise.
34736   
34737 2006-01-20  Roman Kennke  <kennke@aicas.com>
34738   
34739         * javax/swing/text/DefaultFormatter.java
34740         (DefaultFormatter): Don't set a value class.
34741   
34742 2006-01-19  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
34743   
34744         * javax/swing/DefaultCellEditor.java: Commented.
34745   
34746 2006-01-19  Roman Kennke  <kennke@aicas.com>
34747   
34748         * javax/swing/JOptionPane.java
34749         Added cast to Frame for JDialog constructor.
34750   
34751 2006-01-19  Roman Kennke  <kennke@aicas.com>
34752   
34753         * javax/swing/JWindow.java
34754         (JWindow(Window)): Fixed to accept null owner argument.
34755         (JWindow(Window,GraphicsConfiguration)): Fixed to accept null
34756         owner argument.
34757         * javax/swing/SwingUtilities.java
34758         (getOwnerFrame): Owner parameter and return value are fixed to
34759         be of type Window for compatibity with the above JWindow
34760         constructor.
34761         * javax/swing/JDialog.java
34762         (JDialog): Added cast to Frame to make sure the correct constructor
34763         is called.
34764         * javax/swing/JFileChooser.java
34765         (createDialog): Added cast to Frame for JDialog constructor.
34766   
34767 2006-01-19  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
34768   
34769         * javax/swing/JTable.java (rowAtPoint): Rewritten.
34770   
34771 2006-01-19  Roman Kennke  <kennke@aicas.com>
34772   
34773         * javax/swing/JWindow.java: Added API docs to the constructors.
34774   
34775 2006-01-19  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
34776   
34777         * javax/swing/JTable.java: Commenting method headers.
34778         (EditorUpdateTimer): Removed.
34779   
34780 2006-01-19  Roman Kennke  <kennke@aicas.com>
34781   
34782         * javax/swing/JDialog.java
34783         (JDialog()): Call SwingUtilities.getOwnerFrame() with null.
34784         (JDialog(Frame,String,boolean,GraphicsConfiguration)): Call
34785         SwingUtilities.getOwnerFrame() with the owner argument.
34786         * javax/swing/JFileChooser.java
34787         (showOpenDialog(Component)): Call pack() on the dialog instead of
34788         setting a fixed height.
34789         (showSaveDialog()): Likewise.
34790         (showDialog()): Likewise.
34791         (createDialog): Call SwingUtilities.getOwnerFrame() with null.
34792         * javax/swing/JOptionPane.java: Call SwingUtilities.getOwnerFrame()
34793         with null.
34794         * javax/swing/JWindow.java
34795         (JWindow()): Call SwingUtilities.getOwnerFrame() with null.
34796         (JWindow(Frame)): Call SwingUtilities.getOwnerFrame() with owner
34797         argument.
34798         * javax/swing/SwingUtilities.java
34799         (getOwnerFrame): Changed to take a owner parameter that is returned
34800         as owner frame when not null.
34801   
34802 2006-01-19  Roman Kennke  <kennke@aicas.com>
34803   
34804         * gnu/java/awt/peer/swing/SwingFramePeer.java
34805         (handleMouseEvent): Fixed handling of mouse events.
34806         (handleMouseMotionEvent): Fixed handling of mouse events.
34807
34808 2006-01-19  Roman Kennke  <kennke@aicas.com>
34809
34810         * native/target/generic/target_generic_misc.c:
34811         (targetGenericMisc_formatString): Added missing method.
34812
34813 2006-01-19  Wolfgang Baer  <WBaer@gmx.de>
34814
34815         * m4/acinclude.m4: Test also for ecj found before exiting configure
34816         with no javac found error message. 
34817
34818 2006-01-19  Ito Kazumitsu  <kaz@maczuka.gcd.org>
34819
34820         Fixes bug #23212
34821         * gnu/regexp/RE.java(initialize): Support escaped characters such as
34822         \0123, \x1B, \u1234.
34823         (getEscapedChar): New method.
34824         (CharExpression): New inner class.
34825         (getCharExpression): New Method.
34826         * gnu/regexp/RESyntax.java(RE_OCTAL_CHAR, RE_HEX_CHAR,
34827         RE_UNICODE_CHAR): New syntax bits.
34828
34829 2006-01-19  Roman Kennke  <kennke@aicas.com>
34830
34831         * native/target/Makefile.am: Fixed so that posix stuff is really
34832         only built when requested.
34833
34834 2006-01-19  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
34835
34836         * javax/swing/JTable.java (editingStopped, editingCancelled):
34837         Repaint the edited cell.
34838         (setValueAt): Do not add the value object to this container.
34839         (editorTimer, rowBeingEdited, columnBeingEdited, oldCellValue): Removed.
34840         (editingStopped): Use editingRow, editingColumn and not
34841         rowBeingEdited, columnBeingEdited. (editValueAt): rewritten.
34842         (doLayout): Move the editor component, if present, into the new
34843         location and call repaint(). (moveToCellBeingEdited): new method.
34844         (TableTextField): new inner class.
34845         (getDefaultEditor): Instantiante TableTextField, not JTextField.
34846         (setValueAt): Repaint the changed segment.
34847         (createDefaultEditors): Implemented.
34848         (BooleanCellRenderer): Center the checkbox and use the default foreground
34849         and background colors.   
34850         * javax/swing/plaf/basic/BasicTableUI.java
34851         (paintCell): Do not paint the caret here. Do not accept unused parameters.
34852         (paint): No need to allocate rectangle for each cell.   
34853         * javax/swing/DefaultCellEditor.java: Rewritten.         
34854         * examples/gnu/classpath/examples/swing/Demo.java (mkTable):
34855         Use TableDemo.java table example.
34856         * examples/gnu/classpath/examples/swing/TableDemo.java: New file.
34857
34858 2006-01-19  Roman Kennke  <kennke@aicas.com>
34859
34860         * configure.ac: Added/fixed --enable-posix-layer option to enable
34861         build of posix layer.
34862         * native/target/Makefile.am: Added build for posix layer.
34863
34864 2006-01-19  Christian Thalinger  <twisti@complang.tuwien.ac.at>
34865
34866         * configure.ac: Set TARGET to Linux per default.
34867         * native/target/Makefile.am (libtarget_la_LIBADD): Removed
34868         libtargetos.la.
34869         * native/target/Linux/Makefile.am: Don't build a libtargetos.la.
34870         * native/target/generic/Makefile.am (INCLUDES): Renamed to
34871         AM_CPPFLAGS.
34872         
34873 2006-01-19  Raif S. Naffah  <raif@swiftdsl.com.au>
34874
34875         * java/security/interfaces/RSAMultiPrimePrivateCrtKey.java: Replaced
34876           what looked like proprietary documentation with original or new one.
34877         * java/security/spec/PSSParameterSpec.java: Likewise.
34878         * java/security/spec/RSAMultiPrimePrivateCrtKeySpec.java: Likewise.
34879         * java/security/spec/RSAOtherPrimeInfo.java: Likewise.
34880         * java/security/AlgorithmParameterGenerator.java: Likewise.
34881         * java/security/AlgorithmParameters.java: Likewise.
34882         * java/security/Identity.java: Likewise.
34883         * java/security/IdentityScope.java: Likewise.
34884         * java/security/KeyFactory.java: Likewise.
34885         * java/security/KeyPairGenerator.java: Likewise.
34886         * java/security/MessageDigest.java: Likewise.
34887         * java/security/Policy.java: Likewise.
34888         * java/security/ProtectionDomain.java: Likewise.
34889         * java/security/Security.java: Likewise.
34890         * java/security/Signature.java: Likewise.
34891         * java/security/SignatureSpi.java: Likewise.
34892         * java/security/SignedObject.java: Likewise.
34893         * java/security/Signer.java: Likewise.
34894   
34895 2006-01-18  Roman Kennke  <kennke@aicas.com>
34896   
34897         * configure.ac: Added --enable-posix-layer option to enable
34898         build of the posix target layer.
34899   
34900 2006-01-18  Roman Kennke  <kennke@aicas.com>
34901   
34902         * native/jni/java-net/java_net_VMInetAddress.c
34903         (Java_java_net_VMInetAddress_lookupInaddrAny): Use target native macro
34904         for INADDR_ANY.
34905   
34906 2006-01-18  Roman Kennke  <kennke@aicas.com>
34907   
34908         * native/jni/java-util/java_util_VMTimeZone.c:
34909         (Java_java_util_VMTimeZone_getSystemTimeZoneId): Rewritten
34910         to use target native layer.
34911         (jint_to_charbuf): Removed unneeded helper function.
34912   
34913 2006-01-18  Roman Kennke  <kennke@aicas.com>
34914   
34915         * native/jni/java-nio/gnu_java_nio_VMPipe.c:
34916         Removed unnecessary include.
34917         * native/jni/java-nio/gnu_java_nio_VMSelector.c:
34918         Reorganized includes to only include sys/* headers when available.
34919         * native/jni/java-nio/java_nio_MappedByteBufferImpl.c:
34920         (get_pagesize): Return 0 when nothing else works.
34921         (Java_java_nio_MappedByteBufferImpl_unmapImpl):
34922         Replaced munmap() and strerror() with corresponding target macros.
34923         (Java_java_nio_MappedByteBufferImpl_isLoadedImpl):
34924         Replaced strerror() with corresponding target macro.
34925         (Java_java_nio_MappedByteBufferImpl_forceImpl):
34926         Replaced strerror() with corresponding target macro.
34927         * native/jni/java-nio/java_nio_VMDirectByteBuffer.c:
34928         (Java_java_nio_VMDirectByteBuffer_allocate):
34929         Replaced malloc() with the corresponding target macro.
34930         (Java_java_nio_VMDirectByteBuffer_free):
34931         Replaced free() with the corresponding target macro.
34932         (Java_java_nio_VMDirectByteBuffer_put__Lgnu_classpath_Pointer_2IB):
34933         Add index to pointer when assigning the value.
34934         (Java_java_nio_VMDirectByteBuffer_get__Lgnu_classpath_Pointer_2I_3BII):
34935         Replaced memcpy with corresponding target macro. Add index when
34936         doing the memcpy, not when fetching the pointer.
34937         (Java_java_nio_VMDirectByteBuffer_put__Lgnu_classpath_Pointer_2I_3BII):
34938         Replaced memcpy with corresponding target macro.
34939         (Java_java_nio_VMDirectByteBuffer_shiftDown):
34940         Replaced memmove with the corresponding target macro.
34941
34942 2006-01-17  Tom Tromey  <tromey@redhat.com>
34943
34944         PR classpath/20198:
34945         * java/net/URLClassLoader.java (FileURLLoader): Added argument.
34946         (JarURLLoader): Likewise.
34947         (addURLImpl): Canonicalize file URLs.
34948
34949 2006-01-17  Christian Thalinger  <twisti@complang.tuwien.ac.at>
34950
34951         * configure.ac: Set TARGET.
34952         * native/Makefile.am, native/jni/classpath/Makefile.am,
34953         native/jni/gtk-peer/Makefile.am, native/jni/java-io/Makefile.am,
34954         native/jni/java-lang/Makefile.am, native/jni/java-net/Makefile.am,
34955         native/jni/java-nio/Makefile.am, native/jni/midi-dssi/Makefile.am,
34956         native/jni/xmlj/Makefile.am, native/target/Makefile.am,
34957         native/target/Linux/Makefile.am,
34958         native/target/generic/Makefile.am,
34959         native/target/posix/Makefile.am: Build libclasspath.so with jcl
34960         and target stuff linked in and link it against lib*.so libraries.
34961
34962 2006-01-17  Roman Kennke  <kennke@aicas.com>
34963
34964         * native/jni/java-net/javanet.c:
34965         (_javanet_connect): Changed type of some local variables to jint.
34966         Fixed error handling to throw a SocketTimeoutException if the
34967         connection attempt times out.
34968         (_javanet_bind): Changed type of some local variables to jint.
34969         (_javanet_accept): Likewise.
34970         (_javanet_recvfrom): Likewise.
34971         (_javanet_sendto): Fixed error handling to throw a
34972         PortUnreachableException when connection is refused.
34973         (_javanet_get_option): Changed type of some local variables to jint.
34974         Implemented SOCKOPT_SO_BROADCAST.
34975         (_javanet_shutdownInput): Replaced shutdown call with corresponding
34976         target native macro.
34977         (_javanet_shutdownOutput): Replaced shutdown call with corresponding
34978         target native macro.
34979         * native/jni/java-net/javanet.h:
34980         Defined SOCKET_TIMEOUT_EXCEPTION, PORT_UNREACHABLE_EXCEPTION and
34981         SOCKOPT_SO_BROADCAST.
34982   
34983 2006-01-17  Lillian Angel  <langel@redhat.com>
34984   
34985         * javax/swing/text/DefaultStyledDocument.java
34986         (insert): Cleaned up loop. No need to make so many calls
34987         to getAddedElements and getRemovedElements.
34988         (insertFracture): Removed unneeded array.
34989   
34990 2006-01-17  Lillian Angel  <langel@redhat.com>
34991         
34992         * javax/swing/text/JTextComponent.java
34993         (AccessibleJTextComponent): Implemented.
34994         (getCaretPosition): Implemented.
34995         (getSelectedText): Implemented.
34996         (getSelectionStart): Implemented.
34997         (getSelectionEnd): Implemented.
34998         (getSelectionEnd): Implemented.
34999         (getCharCount): Implemented.
35000         (insertTextAtIndex): Implemented.
35001         (getTextRange): Implemented.
35002         (delete): Implemented.
35003         (cut): Implemented.
35004         (paste): Implemented.
35005         (replaceText): Implemented.
35006         (selectText): Implemented.
35007   
35008 2006-01-17  Anthony Balkissoon  <abalkiss@redhat.com>
35009   
35010         * javax/swing/text/DefaultStyledDocument.java:
35011         (pad): New debugging method.
35012         (printElements): Likewise.
35013         (printPendingEdits): Likewise.
35014         (printElement): Likewise.
35015         (Edit): Improved docs, moved this class to be an inner class of
35016         ElementBuffer since it only applies within that scope.  Changed added 
35017         and removed to be Vectors instead of arrays because we need to be able 
35018         to add to them after construction.
35019         (ElementBuffer): Updated docs with link to article that helped in this
35020         classes implementation.
35021         (ElementBuffer.Edit.getRemovedElements): New method.
35022         (ElementBuffer.Edit.getAddedElements): Likewise.
35023         (ElementBuffer.Edit.addRemovedElement): Likewise.
35024         (ElementBuffer.Edit.addRemovedElements): Likewise.
35025         (ElementBuffer.Edit.addAddedElement): Likewise.
35026         (ElementBuffer.Edit.addAddedElements): Likewise.
35027         (ElementBuffer.Edit<init>): Improved docs, call addRemovedElements and 
35028         addAddedElements.
35029         (ElementBuffer.getEditForParagraphAndIndex): New method.
35030         (ElementBuffer.removeUpdate): Changed type of paragraph to 
35031         BranchElement.  Corrected style of adding the edit to use the new Edit
35032         facilities.
35033         (ElementBuffer.changeUpdate): Changed style of adding the edit to use
35034         the new Edit facilities.
35035         (ElementBuffer.split): Likewise.
35036         (ElementBuffer.insertParagraph): Likewise.
35037         (ElementBuffer.insertContentTag): Likewise.
35038         (ElementBuffer.insert): Push all BranchElements until the deepest one, 
35039         not just the root and the first one. Apply the structural changes to 
35040         the tree at the same time as updating the DocumentEvent.
35041         (ElementBuffer.insertUpdate): Fixed docs.  Removed the special case 
35042         handling of EndTags as the first ElementSpec.  Instead have to handle
35043         ContentTags as a special case if they are the first ElementSpec and if
35044         not have to fracture the tree.
35045         (ElementBuffer.createFracture): New method.  May not be complete yet.
35046         Added FIXME indicating what may remain to be done.
35047         (ElementBuffer.insertFirstContentTag): New method.
35048         (ElementBuffer.insertFracture): Added FIXME explaining what remains to
35049         be done.  Changed the adding of edits to use the new Edit facilities.
35050         Removed the adding of edits for Elements that weren't in the tree prior
35051         to the insertion.
35052         (insertUpdate): Removed incorrect condition for setting a StartTag's
35053         direction to JoinNextDirection.
35054         * javax/swing/text/StyleContent.java: 
35055         (SmallAttributeSet.toString): Fixed an off-by-one error in the loop 
35056         that was causing an ArrayOutOfBoundsException.
35057   
35058 2006-01-17  Roman Kennke  <kennke@aicas.com>
35059   
35060         * native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c:
35061         (Java_gnu_java_nio_channels_FileChannelImpl_init): Improved
35062         exception messages a little.
35063         (Java_gnu_java_nio_channels_FileChannelImpl_open): Provided
35064         alternative implementation for systems without filesystems.
35065         Replaced snprintf with the corresponding target native macro.
35066         (Java_gnu_java_nio_channels_FileChannelImpl_implCloseChannel):
35067         Only do something when we have a filesystem.
35068         (Java_gnu_java_nio_channels_FileChannelImpl_available): Provided
35069         alternative implementation for systems without filesystems.
35070         (Java_gnu_java_nio_channels_FileChannelImpl_size): Provided
35071         alternative implementation for systems without filesystems.
35072         (Java_gnu_java_nio_channels_FileChannelImpl_implPosition): Provided
35073         alternative implementation for systems without filesystems.
35074         (Java_gnu_java_nio_channels_FileChannelImpl_seek):
35075         Only do something when we have a filesystem.
35076         (Java_gnu_java_nio_channels_FileChannelImpl_implTruncate):
35077         Only do something when we have a filesystem.
35078         (Java_gnu_java_nio_channels_FileChannelImpl_mapImpl): Provided
35079         alternative implementation for systems without filesystems.
35080         (Java_gnu_java_nio_channels_FileChannelImpl_read__):
35081         Replaced ssize_t variables with jint. Provided
35082         alternative implementation for systems without filesystems.
35083         (Java_gnu_java_nio_channels_FileChannelImpl_read___3BII):
35084         Replaced ssize_t variables with jint. Provided
35085         alternative implementation for systems without filesystems.
35086         (Java_gnu_java_nio_channels_FileChannelImpl_write__I):
35087         Replaced ssize_t variables with jint. Provided
35088         alternative implementation for systems without filesystems.
35089         (Java_gnu_java_nio_channels_FileChannelImpl_force):
35090         Only do something when we have a filesystem.
35091         (Java_gnu_java_nio_channels_FileChannelImpl_write___3BII):
35092         Replaced ssize_t variables with jint. Provided
35093         alternative implementation for systems without filesystems.
35094         (Java_gnu_java_nio_channels_FileChannelImpl_lock): Reimplemented
35095         to use the corresponding target native macro.
35096         (Java_gnu_java_nio_channels_FileChannelImpl_unlock): Reimplemented
35097         to use the corresponding target native macro.
35098   
35099 2006-01-17  Lillian Angel  <langel@redhat.com>
35100   
35101         * javax/swing/text/DefaultTextUI.java:
35102         Added deprecated tag.
35103         * javax/swing/text/JTextComponent.java
35104         (AccessibleJTextComponent): Fixed API doc and
35105         partiall9 implemented.
35106         (getCaretPosition): Fixed API doc and implemented.
35107         (getSelectedText): Fixed API doc.
35108         (getSelectionStart): Likewise.
35109         (getSelectionEnd): Likewise.
35110         (caretUpdate): Fixed API doc and
35111         partially implemented.
35112         (getAccessibleStateSet): Likewise.
35113         (getAccessibleRole): Fixed API doc and implemented.
35114         (getAccessibleEditableText): Implemented.
35115         (getAccessibleText): Fixed API doc and implemented.
35116         (insertUpdate): Fixed API doc.
35117         (changedUpdate): Likewise.
35118         (getIndexAtPoint): Likewise.
35119         (getRootEditorRect): Removed.
35120         (getCharacterBounds): Fixed API doc.
35121         (getCharCount): Likewise.
35122         (getCharacterAttribute): Likewise.
35123         (getAtIndex): Likewise.
35124         (getAfterIndex): Likewise.
35125         (getBeforeIndex): Likewise.
35126         (getAccessibleActionCount): Added function stub.
35127         (getAccessibleActionDescription): Added function,
35128         partially implemented.
35129         (doAccessibleAction): Added function stub.
35130         (setTextContents): Likewise.
35131         (insertTextAtIndex): Likewise.
35132         (delete): Likewise.
35133         (cut): Likewise.
35134         (paste): Likewise.
35135         (replaceText): Likewise.
35136         (selectText): Likewise.
35137         (setAttributes): Likewise.
35138         (getAccessibleContext): Implemented.
35139   
35140 2006-01-17  Ito Kazumitsu  <kaz@maczuka.gcd.org>
35141   
35142         Fixes bug #25817
35143         * gnu/regexp/RETokenRange.java(constructor):
35144         Keep lo and hi as they are.
35145         (match): Changed the case insensitive comparison.
35146   
35147 2006-01-17  Ito Kazumitsu  <kaz@maczuka.gcd.org>
35148   
35149         * gnu/regexp/RETokenChar.java(chain):
35150         Do not concatenate tokens whose insens flags are diffent.
35151   
35152 2006-01-17  Roman Kennke  <kennke@aicas.com>
35153   
35154         * native/target/generic/target_generic_network.c:
35155         (targetGenericNetwork_receive): Fixed signature to match the
35156         corresponding .h file.
35157         (targetGenericNetwork_receiveWithAddressPort): Fixed signature
35158         to match the corresponding .h file.
35159   
35160 2006-01-17  Roman Kennke  <kennke@aicas.com>
35161   
35162         * native/jni/classpath/jcl.c:
35163         (JCL_malloc): Replaced calls to malloc with the corresponding
35164         target layer macro.
35165         (JCL_free): Replaced calls to free with the corresponding
35166         target layer macro.
35167         * native/jni/classpath/native_state.c:
35168         (cp_gtk_init_state_table_with_size): Replaced calls to malloc and
35169         calloc with the corresponding target layer macro.
35170         (remove_node): Replaced calls to free with the corresponding
35171         target layer macro.
35172         (add_node): Replaced calls to malloc with the corresponding
35173         target layer macro.
35174
35175 2006-01-17  Roman Kennke  <kennke@aicas.com>
35176
35177         * native/jni/java-io/java_io_VMObjectStreamClass.c:
35178         (getFieldReference): Use MALLOC/FREE macros for portability instead
35179         of direct call to malloc() and free().
35180
35181 2006-01-17  Roman Kennke  <kennke@aicas.com>
35182
35183         * native/jni/classpath/jcl.c: Added missing imports.
35184         (JCL_realloc): Fixed signature to include oldsize. This is needed
35185         for some targets. Make this function use the MEMORY_REALLOC macro
35186         for portability.
35187         * native/jni/classpath/jcl.h
35188         (JCL_realloc): Adjusted signature.
35189         * native/jni/java-io/java_io_VMFile.c:
35190         (Java_java_io_VMFile_create): Use target layer macro for handling
35191         errno, for portability.
35192         (Java_java_io_VMFile_length): Release filename string in error cases
35193         before returning.
35194         (Java_java_io_VMFile_list): Initialize filename variable. Use new
35195         version of JCL_realloc.
35196         * native/jni/java-net/java_net_VMInetAddress.c:
35197         (Java_java_net_VMInetAddress_getHostByName): Use renamed macro
35198         TARGET_NATIVE_NETWORK_GET_HOSTADDRESS_BY_NAME.
35199         * native/jni/java-net/javanet.c:
35200         (_javanet_bind): Make errorstr variable const to avoid compiler
35201         warning.
35202         (_javanet_set_option): Fixed typo.
35203         (_javanet_get_option): Fixed typo.
35204         * native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c:
35205         (Java_gnu_java_nio_channels_FileChannelImpl_open): Made
35206         error_string variable const to avoid compiler warning.
35207         * native/target/generic/target_generic_file.h:
35208         Replaced // comments with /* */ comments to avoid compiler warnings.
35209         Added some spaces to make code better readable.
35210         * native/target/generic/target_generic_memory.h:
35211         Replaced // comments with /* */ comments to avoid compiler warnings.
35212         * native/target/generic/target_generic_misc.c:
35213         Removed unused TARGET_NATIVE_MISC_FORMAT_STRING macro. This caused
35214         compiler warnings due to use of varargs.
35215         * native/target/generic/target_generic_misc.h:
35216         Removed unused TARGET_NATIVE_MISC_FORMAT_STRING macro. This caused
35217         compiler warnings due to use of varargs.
35218         * native/target/generic/target_generic_network.h:
35219         Replaced // comments with /* */ comments to avoid compiler warnings.
35220         (targetGenericNetwork_receive): Fixed signature to use signed chars
35221         for buffer parameter to avoid warning when passing a jbyte to the
35222         function.
35223   
35224 2006-01-17  David Gilbert  <david.gilbert@object-refinery.com>
35225   
35226         * javax/swing/text/StyleConstants.java
35227         (getAlignment): Removed isDefined() check, so that resolving parent is 
35228         used for lookup,
35229         (getBackground): Likewise, plus changed default value to Color.BLACK,
35230         (getBidiLevel): Removed isDefined() check,
35231         (getComponent): Likewise,
35232         (getFirstLineIndent): Likewise,
35233         (getFontFamily): Likewise,
35234         (getFontSize): Likewise,
35235         (getForeground): Likewise,
35236         (getIcon): Likewise,
35237         (getLeftIndent): Likewise,
35238         (getLineSpacing): Likewise,
35239         (getRightIndent): Likewise,
35240         (getSpaceAbove): Likewise,
35241         (getSpaceBelow): Likewise,
35242         (getTabSet): Likewise,
35243         (isBold): Likewise,
35244         (isItalic): Likewise,
35245         (isStrikeThrough): Likewise,
35246         (isSubscript): Likewise,
35247         (isSuperscript): Likewise,
35248         (isUnderline): Likewise.
35249
35250 2006-01-17  Gary Benson  <gbenson@redhat.com>
35251
35252         * java/lang/System.java (setSecurityManager): Catch
35253         ClassNotFoundException not Throwable.
35254
35255 2006-01-16  Anthony Green  <green@redhat.com>
35256
35257         PR classpath/25803
35258         * gnu/java/net/protocol/http/Request.java
35259           (createResponseBodyStream): Remove Content-Encoding for
35260           compressed streams.
35261   
35262 2006-01-16  Chris Burdess  <dog@gnu.org>
35263   
35264         * gnu/xml/stream/XMLParser.java,
35265           gnu/xml/stream/XMLStreamWriterImpl.java: Thoroughly check
35266           XMLStreamWriter arguments for conformance to the XML specifications.
35267         * gnu/xml/transform/Stylesheet.java,
35268           gnu/xml/transform/Template.java,
35269           gnu/xml/transform/TransformerImpl.java,
35270           gnu/xml/xpath/LangFunction.java,
35271           gnu/xml/xpath/Selector.java: better handling of template priorities;
35272           fix indents when pretty-printing; recursive tests for xml:lang.
35273         * gnu/xml/util/XHTMLWriter.java,
35274           gnu/xml/util/XMLWriter.java: Deprecate old serializer classes.
35275
35276 2006-01-16  Roman Kennke  <kennke@aicas.com>
35277
35278         * native/target/MinGW/.cvsignore: New file.
35279         * native/target/RTEMS/.cvsignore: New file.
35280         * native/target/SunOS/.cvsignore: New file.
35281         * native/target/embOS/.cvsignore: New file.
35282         * native/target/posix/.cvsignore: New file.
35283
35284 2006-01-16  David Gilbert  <david.gilbert@object-refinery.com>
35285
35286         * javax/swing/text/StyleConstants.java: Updated API docs all over.
35287
35288 2006-01-16  Roman Kennke  <kennke@aicas.com>
35289
35290         * configure.ac: Include new target native directories in build.
35291
35292 2006-01-16  Roman Kennke  <kennke@aicas.com>
35293
35294         * native/target/generic/target_generic_file.h: Added missing
35295         include.
35296         * native/target/generic/target_generic_network.c: Fixed several
35297         typos and includes.
35298         * native/target/generic/target_generic_network.h: Likewise.
35299
35300 2006-01-16  Roman Kennke  <kennke@aicas.com>
35301
35302         * native/target/Makefile.am: Adjusted SUBDIRS and DIST_SUBDIRS
35303         to include the new targets.
35304         * native/target/posix/Makefile.am: Fixed filenames.
35305
35306 2006-01-16  Roman Kennke  <kennke@aicas.com>
35307
35308         * native/target/Makefile.am: Include new targets.
35309         * native/target/Linux/Makefile.am: Include new memory layer.
35310         * native/target/MinGW/Makefile.am: New file. Includes MinGW in dist.
35311         * native/target/RTEMS/Makefile.am: New file. Includes RTEMS in dist.
35312         * native/target/SunOS/Makefile.am: New file. Includes SunOS in dist.
35313         * native/target/embOS/Makefile.am: New file. Includes embOS in dist.
35314         * native/target/generic/Makefile.am: Include new memory and math
35315         layer.
35316         * native/target/posix/Makefile.am: New file. Includes posix in dist.
35317   
35318 2006-01-16  Ito Kazumitsu  <kaz@maczuka.gcd.org>
35319   
35320         Fixes bug #22884
35321         * gnu/regexp/RE.java(initialize): Parse embedded flags.
35322         * gnu/regexp/RESyntax.java(RE_EMBEDDED_FLAGS): New syntax bit.
35323   
35324 2006-01-16  Roman Kennke  <kennke@aicas.com>
35325   
35326         * native/target/generic/target_generic_network.c: Fixed typo.
35327         * native/target/generic/target_generic_network.h: Fixed typo.
35328   
35329 2006-01-16  Nicolas Geoffray  <nicolas.geoffray@menlina.com>
35330   
35331         * doc/vmintegration.texinfo: Updated subsection of the
35332         java.lang.InstrumentationImpl documentation.
35333   
35334 2006-01-16  Roman Kennke  <kennke@aicas.com>
35335   
35336         * native/target/RTEMS/target_native.h,
35337         * native/target/RTEMS/target_native_file.h,
35338         * native/target/RTEMS/target_native_io.h,
35339         * native/target/RTEMS/target_native_math.h,
35340         * native/target/RTEMS/target_native_memory.h,
35341         * native/target/RTEMS/target_native_misc.h,
35342         * native/target/RTEMS/target_native_network.h:
35343         New files. Implement the target native layer for the RTEMS platform.
35344   
35345 2006-01-16  Roman Kennke  <kennke@aicas.com>
35346   
35347         * native/target/SunOS/target_native.h,
35348         * native/target/SunOS/target_native_file.h,
35349         * native/target/SunOS/target_native_io.h,
35350         * native/target/SunOS/target_native_math.h,
35351         * native/target/SunOS/target_native_memory.h,
35352         * native/target/SunOS/target_native_misc.h,
35353         * native/target/SunOS/target_native_network.h:
35354         New files. Implement the target native layer for the SunOS platform.
35355   
35356 2006-01-16  Roman Kennke  <kennke@aicas.com>
35357   
35358         * native/target/MinGW/target_native.h,
35359         * native/target/MinGW/target_native_file.h,
35360         * native/target/MinGW/target_native_io.h,
35361         * native/target/MinGW/target_native_math.h,
35362         * native/target/MinGW/target_native_memory.h,
35363         * native/target/MinGW/target_native_misc.h,
35364         * native/target/MinGW/target_native_network.h:
35365         New files. Implement the target native layer for the MinGW
35366         platform.
35367   
35368 2006-01-16  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
35369   
35370         PR 25770
35371         * javax/swing/DefaultCellEditor.java
35372         (delegate): Assign new instance immediately.
35373         (DefaultCellEditor(JTextField textfield)): Require 2 clicks.
35374         (getTableCellEditorComponent): Rewritten.
35375         (prepareAsJTextField):New method (add listener only once).
35376         * javax/swing/JTable.java
35377         (editingCanceled): Rewritten.
35378         (editingStopped ): Rewritten.
35379         (rowAtPoint): Mind row margin.
35380         (getCellRect): Mind row margin.
35381         (getDefaultEditor): Removing JTextComponent border.
35382         (editCellAt): Rewritten.
35383         * javax/swing/plaf/basic/BasicTableUI.java (MouseInputHandler):
35384         Activate editing mode by the mouse clicks.
35385         (getMaximumSize): Mind row margin.
35386         (getPreferredSize): Mind row margin.
35387         (TableAction): Added 'stop editing' command. 
35388
35389 2006-01-16  Roman Kennke  <kennke@aicas.com>
35390
35391         * jni/java-io/java_io_VMFile.c
35392         (Java_java_io_VMFile_list): Use new 4 argument version of
35393         TARGET_NATIVE_FILE_READ_DIR macro.
35394         * target/Linux/target_native_io.h: Fixed comment at #endif.
35395         * target/Linux/target_native_memory.h: New file. Contains
35396         portability macros for memory operations.
35397         * target/generic/target_generic.c: New file. Contains some functions
35398         for portability.
35399         * target/generic/target_generic.h: Use posix target and shorter macro
35400         names if CP_NEW is set. 
35401         * target/generic/target_generic_file.h: Use posix target and shorter
35402         macro names if CP_NEW is set.
35403         (TARGET_NATIVE_FILE_READ_DIR): New parameter for maxNameLength.
35404         * target/generic/target_generic_io.c: New file. Contains some
35405         functions for IO portability.
35406         * target/generic/target_generic_io.h: Use posix target and shorter
35407         macro names if CP_NEW is set.
35408         * target/generic/target_generic_misc.c: New file. Contains some
35409         functions for miscallaneaous portability issues.
35410         * target/generic/target_generic_misc.h: Use posix target and shorter
35411         macro names if CP_NEW is set.
35412         * target/generic/target_generic_network.c: New file. Contains some
35413         functions for networking portability.
35414         * target/generic/target_generic_network.h: Use posix target and
35415         shorter macro names if CP_NEW is set.
35416         * target/posix/Makefile.am,
35417         * target/posix/target_posix.c,
35418         * target/posix/target_posix.h,
35419         * target/posix/target_posix_file.c,
35420         * target/posix/target_posix_file.h,
35421         * target/posix/target_posix_io.c,
35422         * target/posix/target_posix_io.h,
35423         * target/posix/target_posix_math.c,
35424         * target/posix/target_posix_math.h,
35425         * target/posix/target_posix_memory.c,
35426         * target/posix/target_posix_memory.h,
35427         * target/posix/target_posix_misc.c,
35428         * target/posix/target_posix_misc.h,
35429         * target/posix/target_posix_network.c,
35430         * target/posix/target_posix_network.h:
35431         New files. This implements the target native layer macros for
35432         Posix-like systems.
35433
35434 2006-01-16  Gary Benson  <gbenson@redhat.com>
35435
35436         * java/net/SocketPermission.java (implies): Fix action checks.
35437
35438 2006-01-16  Roman Kennke  <kennke@aicas.com>
35439
35440         * native/target/generic/target_generic_math_float.h: Removed. This
35441         file has been replaced by target_generic_math.h.
35442         * native/target/generic/target_generic_math_int.h: Removed. This
35443         file has been replaced by target_generic_math.h.
35444         * native/target/generic/target_generic_math.h: New file. Replaces
35445         the old _int and _float versions.
35446         * native/target/Linux/target_native_math_float.h: Removed. This
35447         file has been replaced by target_native_math.h.
35448         * native/target/Linux/target_native_math_int.h: Removed. This
35449         file has been replaced by target_native_math.h.
35450         * native/target/Linux/target_native_math.h: New file. Replaces
35451         the old _int and _float versions.
35452         * native/target/Linux/Makefile.am: Adjusted for the changed
35453         filenames.
35454         * native/jni/java-io/java_io_VMFile.c: Include target_native_math.h
35455         instead of target_native_math_int.h.
35456         * native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c:
35457         Likewise.
35458         * native/target/generic/target_generic_file.h: Likewise.
35459   
35460 2006-01-16  David Gilbert  <david.gilbert@object-refinery.com>
35461   
35462         * javax/swing/text/MutableAttributeSet.java: Updated API docs all over.
35463   
35464 2006-01-16  David Gilbert  <david.gilbert@object-refinery.com>
35465   
35466         * javax/swing/text/SimpleAttributeSet.java
35467         (SimpleAttributeSet()): Initialise storage directly,
35468         (SimpleAttributeSet(AttributeSet)): Removed null check and documented
35469         NullPointerException,
35470         (containsAttribute): If key is found locally, don't check resolving
35471         parent if the value doesn't match,
35472         (getAttribute): Removed redundant instanceof and cast.
35473   
35474 2006-01-16  Gary Benson  <gbenson@redhat.com>
35475   
35476         * java/lang/System.java (setSecurityManager): Ensure policy
35477         files are loaded before a security manager is put in place.
35478   
35479 2006-01-16  David Gilbert  <david.gilbert@object-refinery.com>
35480   
35481         * javax/swing/text/SimpleAttributeSet.java: Updated API docs all over.
35482   
35483 2006-01-16  Wolfgang Baer  <WBaer@gmx.de>
35484   
35485         * javax/print/attribute/standard/MediaSize.java: 
35486         (static_initializer): Added comment.
35487         (MediaSize): Added javadoc to mention cache registration.
35488         (MediaSize): Likewise.
35489         (MediaSize): Likewise.
35490         (MediaSize): Likewise.
35491   
35492 2006-01-16  Raif S. Naffah  <raif@swiftdsl.com.au>
35493   
35494         PR classpath/25202
35495         * gnu/javax/security/auth/login/ConfigFileTokenizer.java: New class.
35496         * gnu/javax/security/auth/login/ConfigFileParser.java: New class.
35497         * gnu/javax/security/auth/login/GnuConfiguration.java: New class.
35498         * javax/security/auth/login/AppConfigurationEntry.java: Updated
35499           copyright year.
35500           (toString): Added method implementation.
35501           (LoginModuleControlFlag.toString): Removed class name from result.
35502         * javax/security/auth/login/Configuration.java: Updated copyright year.
35503           (getConfig(): replaced calls to NullConfiguration with
35504           GnuConfiguration.
35505
35506 2006-01-15  Tom Tromey  <tromey@redhat.com>
35507
35508         * javax/swing/text/html/HTMLDocument.java (parseBuffer): Genericized.
35509         * javax/swing/text/StyleContext.java (removeAttributes): Genericized.
35510         * java/beans/PersistenceDelegate.java (initialize): Genericized.
35511         * java/beans/Encoder.java (getPersistenceDelegate): Genericized.
35512         (setPersistenceDelegate): Likewise.
35513
35514 2006-01-15  Wolfgang Baer  <WBaer@gmx.de>
35515
35516         * javax/print/attribute/standard/PrinterStateReasons.java: 
35517         (printerStateReasonSet): Genericize the return type.
35518
35519 2006-01-15  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
35520
35521         * javax/swing/table/DefaultTableCellRenderer.java 
35522         (getTableCellRendererComponent): Render null as the empty cell.
35523
35524 2006-01-14  Anthony Green  <green@redhat.com>
35525
35526         * java/net/ServerSocket.java (accept): Remove bogus
35527         security check.
35528         (implAccept): Add FIXME comment.
35529
35530 2006-01-14  Wolfgang Baer  <WBaer@gmx.de>
35531
35532         Fixes bug #25387
35533         * javax/print/Doc.java: Added and enhanced documentation.
35534         * javax/print/SimpleDoc.java: New file. 
35535   
35536 2006-01-14  Wolfgang Baer  <WBaer@gmx.de>
35537   
35538         * javax/print/attribute/standard/MediaSize.java: 
35539         (Other.TABLOID): New MediaSize added in 1.5
35540   
35541 2006-01-14  Chris Burdess  <dog@gnu.org>
35542   
35543         * gnu/xml/stream/SAXParser.java: Ensure that parser is reset
35544           correctly when I/O and runtime exceptions occur during parsing.
35545   
35546 2006-01-13  Roman Kennke  <kennke@aicas.com>
35547   
35548         * gnu/java/awt/peer/swing/SwingButtonPeer.java,
35549         * gnu/java/awt/peer/swing/SwingCanvasPeer.java,
35550         * gnu/java/awt/peer/swing/SwingComponent.java,
35551         * gnu/java/awt/peer/swing/SwingComponentPeer.java,
35552         * gnu/java/awt/peer/swing/SwingContainerPeer.java,
35553         * gnu/java/awt/peer/swing/SwingFramePeer.java,
35554         * gnu/java/awt/peer/swing/SwingLabelPeer.java,
35555         * gnu/java/awt/peer/swing/SwingMenuBarPeer.java,
35556         * gnu/java/awt/peer/swing/SwingMenuItemPeer.java,
35557         * gnu/java/awt/peer/swing/SwingMenuPeer.java,
35558         * gnu/java/awt/peer/swing/SwingPanelPeer.java,
35559         * gnu/java/awt/peer/swing/SwingTextFieldPeer.java,
35560         * gnu/java/awt/peer/swing/SwingToolkit.java,
35561         * gnu/java/awt/peer/swing/SwingWindowPeer.java,
35562         * gnu/java/awt/peer/swing/package.html:
35563         New files. Implemented some basic AWT peers based on Swing.
35564   
35565 2006-01-13  Roman Kennke  <kennke@aicas.com>
35566   
35567         * java/awt/peer/ComponentPeer.java: Added API docs all over.
35568   
35569 2006-01-13  Roman Kennke  <kennke@aicas.com>
35570   
35571         * java/awt/MenuComponent.java: Reformatted to better match our
35572         coding style.
35573   
35574 2006-01-13  Roman Kennke  <kennke@aicas.com>
35575   
35576         * java/awt/Frame.java: Reformatted to better match our
35577         coding style.
35578   
35579 2006-01-13  Roman Kennke  <kennke@aicas.com>
35580   
35581         * java/awt/MenuBar.java
35582         (accessibleContext): Removed unnecessary field. This is already
35583         defined in MenuComponent.
35584         (setHelpMenu): Renamed the peer variable to myPeer because it was
35585         hiding a field of MenuComponent.
35586         (addNotify): Removed unnecessary cast.
35587   
35588 2006-01-13  Roman Kennke  <kennke@aicas.com>
35589   
35590         * java/awt/MenuBar.java: Reformatted to better match our
35591         coding style.
35592   
35593 2006-01-13  Roman Kennke  <kennke@aicas.com>
35594   
35595         * java/awt/MenuBar.java
35596         (frame): New field.
35597         (removeNotify): Clear frame field when beeing removed from the
35598         frame.
35599         * java/awt/Frame.java
35600         (setMenuBar): Store a reference of the frame in the MenuBar.
35601         * java/awt/MenuComponent.java
35602         (postEvent): Implemented to forward the call to the parent until
35603         a parent can handle the event.
35604         (dispatchEvent): Moved handling of old style events from
35605         dispatchEventImpl() to here.
35606         (dispatchEventImpl): Moved handling of old style events to
35607         dispatchEvent().
35608   
35609 2006-01-13  Roman Kennke  <kennke@aicas.com>
35610   
35611         * java/awt/Component.java
35612         (dispatchEvent): Moved handling of old style events from
35613         dispatchEventImpl() to this method.
35614         (translateEvent): Removed unnecessary cast.
35615         (dispatchEventImpl): Moved handling of old style events to
35616         dispatchEvent().
35617         
35618 2006-01-13  Lillian Angel  <langel@redhat.com>
35619   
35620         * javax/swing/text/DefaultStyledDocument.java
35621         (createDefaultRoot): Removed FIXME.
35622         (setLogicalStyle): Added fireUndoableEditUpdate call and 
35623         removed FIXME.
35624   
35625 2006-01-13  Lillian Angel  <langel@redhat.com>
35626   
35627         * javax/swing/text/DefaultStyledDocument.java
35628         (Edit): New inner class.
35629         (changeUpdate): Changed addEdit call to add a new
35630         instance of Edit to the edits Vector, so addEdits can
35631         be done later.
35632         (split): Likewise.
35633         (insertParagraph): Likewise.
35634         (insertFracture): Likewise.
35635         (insertContentTag): Likewise.
35636         (insert): Added loop to go through edits Vector and perform
35637         addEdit on each object.
35638   
35639 2006-01-13  Chris Burdess  <dog@gnu.org>
35640   
35641         * gnu/xml/transform/AbstractNumberNode.java,
35642           gnu/xml/transform/ApplyImportsNode.java,
35643           gnu/xml/transform/ApplyTemplatesNode.java,
35644           gnu/xml/transform/AttributeNode.java,
35645           gnu/xml/transform/CallTemplateNode.java,
35646           gnu/xml/transform/ChooseNode.java,
35647           gnu/xml/transform/CommentNode.java,
35648           gnu/xml/transform/CopyNode.java,
35649           gnu/xml/transform/CopyOfNode.java,
35650           gnu/xml/transform/DocumentFunction.java,
35651           gnu/xml/transform/ElementNode.java,
35652           gnu/xml/transform/ForEachNode.java,
35653           gnu/xml/transform/IfNode.java,
35654           gnu/xml/transform/LiteralNode.java,
35655           gnu/xml/transform/MessageNode.java,
35656           gnu/xml/transform/OtherwiseNode.java,
35657           gnu/xml/transform/ParameterNode.java,
35658           gnu/xml/transform/ProcessingInstructionNode.java,
35659           gnu/xml/transform/Stylesheet.java,
35660           gnu/xml/transform/Template.java,
35661           gnu/xml/transform/TemplateNode.java,
35662           gnu/xml/transform/TextNode.java,
35663           gnu/xml/transform/TransformerImpl.java,
35664           gnu/xml/transform/ValueOfNode.java,
35665           gnu/xml/transform/WhenNode.java,
35666           gnu/xml/xpath/NodeTypeTest.java,
35667           gnu/xml/xpath/Selector.java: simplified debugging output; ignore
35668           with-param parameters when template does not define parameters; apply
35669           conflict resolution for templates; strip whitespace on documents
35670           retrieved via document() function; allow node() to match document
35671           nodes.
35672
35673 2006-01-13  Mark Wielaard  <mark@klomp.org>
35674
35675         * doc/www.gnu.org/announce/20060113.wml: New file.
35676         * doc/www.gnu.org/newsitems.txt: Add 0.20 release announcement.
35677         * doc/www.gnu.org/downloads/downloads.wml: Add 0.20.
35678   
35679 2006-01-13  Lillian Angel  <langel@redhat.com>
35680   
35681         * javax/swing/text/DefaultStyledDocument.java:
35682         Removed unused fields.
35683         (insert): Removed unused fields.
35684         (endEdit): Removed, not needed.
35685         (insertUpdate): Removed call to endEdit.
35686         (prepareContentInsertion): Removed, not needed.
35687         (insertContentTag): Removed call to prepareContentInsertion.
35688         (printElements): Removed, not needed.
35689         (attributeSetsAreSame): Removed, not needed.
35690   
35691 2005-01-13  Mark Wielaard  <mark@klomp.org>
35692
35693         * java/lang/reflect/Modifier.java (toString(int, StringBuffer)):
35694         Duplicate of toString(int, StringBuilder).
35695
35696 2005-01-13  Mark Wielaard  <mark@klomp.org>
35697
35698         * configure.ac: Set version to 0.20.
35699         * NEWS: Add entries for all the new work done.
35700
35701 2005-01-13  Mark Wielaard  <mark@klomp.org>
35702
35703         * javax/swing/text/DefaultCaret.java: Chain all AssertionErrors.
35704
35705 2005-01-13  Mark Wielaard  <mark@klomp.org>
35706
35707         * java/util/regex/Pattern.java (Pattern): Chain REException.
35708
35709 2006-01-13  Chris Burdess  <dog@gnu.org>
35710
35711         * gnu/xml/xpath/NameTest.java: Removed debugging output.
35712
35713 2005-01-13  Jeroen Frijters  <jeroen@frijters.net>
35714
35715         * java/security/Security.java
35716         (getProperty): Added hack to skip security check when trusted
35717         code is direct caller.
35718
35719 2005-01-13  Jeroen Frijters  <jeroen@frijters.net>
35720
35721         * java/io/PrintStream.java
35722         (line_separator, PrintStream(OutputStream,boolean)): Use
35723         SystemProperties.
35724
35725 2005-01-13  Jeroen Frijters  <jeroen@frijters.net>
35726
35727         * gnu/java/nio/charset/Provider.java: Added comment about its
35728         special relation with CharsetProvider.
35729         (static): Removed.
35730         * gnu/java/nio/charset/iconv/IconvProvider.java: Added comment about
35731         its special relation with CharsetProvider.
35732         (static): Removed.
35733         * java/nio/charset/spi/CharsetProvider.java
35734         (CharsetProvider): Add special case to skip security check for
35735         built in providers.
35736
35737 2005-01-13  Mark Wielaard  <mark@klomp.org>
35738
35739         * javax/swing/JMenuItem.java (JMenuItem(Action)): Check whether
35740         name, accel, mnemonic and command are defined before setting.
35741
35742 2005-01-12  Mark Wielaard  <mark@klomp.org>
35743
35744         * javax/swing/plaf/metal/MetalFileChooserUI.java
35745         (FileRenderer.getListCellRendererComponent): Set empty name and null
35746         icon when File is null.
35747
35748 2006-01-13  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
35749
35750         * gnu/java/rmi/server/UnicastRef.java (newCall):
35751         Throw ConnectException after catching IOException.
35752
35753 2006-01-12  Lillian Angel  <langel@redhat.com>
35754
35755         * javax/swing/text/DefaultStyledDocument.java
35756         (insertUpdate): Removed unneeded check.
35757
35758 2006-01-12  Anthony Balkissoon  <abalkiss@redhat.com>
35759
35760         * javax/swing/text/DefaultStyledDocument.java:
35761         (ElementBuffer.insertContentTag): If the direction is JoinNextDirection
35762         and we haven't come immediately after a fracture, adjust the Element
35763         offsets.  Added comment explaining the situation.
35764         (insert): Return early if no ElementSpecs passed in.  Removed redundant
35765         call to insertUpdate.  Fired the UndoableEditUpdate.
35766
35767 2006-01-12  Ito Kazumitsu  <kaz@maczuka.gcd.org>
35768
35769         Fixes bug #22802
35770         * gnu/regexp/RE.java(initialize): Fixed the parsing of
35771         character classes within a subexpression.
35772
35773 2006-12-12  Lillian Angel  <langel@redhat.com>
35774
35775         * javax/swing/text/DefaultStyledDocument.java
35776         (insertUpdate): Added check to check if attribute set is 
35777         empty.
35778         (insertUpdate): Added check to determine if last character
35779         is a newline. If it is, we should not be fracturing.
35780         (insert): Added check to determine if attribute set is empty.
35781         If it is, insertUpdate should not be called.
35782
35783 2006-12-12  Guilhem Lavaux  <guilhem@kaffe.org>
35784
35785         * configure.ac: Check for isnan.
35786
35787         * native/fdlibm/fdlibm.h: If we have a isnan function then do not
35788         define the macro.
35789
35790 2006-01-12  Chris Burdess  <dog@gnu.org>
35791
35792         * gnu/xml/stream/XMLParser.java: Corrected the handling of some XML
35793           1.1 character ranges.
35794
35795 2006-01-12  Anthony Balkissoon  <abalkiss@redhat.com>
35796
35797         * javax/swing/TransferHandler.java:
35798         (TransferAction<init>): Call super constructor.  Fixes Mauve regression
35799         gnu/testlet/javax/swing/JTextField/CopyPaste.
35800
35801 2006-01-12  Christian Thalinger  <twisti@complang.tuwien.ac.at>
35802
35803         * resource/Makefile.am: Install 
35804         logging.properties into $(prefix)/lib.
35805         * resource/Makefile.am (securitydir): Changed to 
35806         $(prefix)/lib/security.
35807
35808 2006-01-12  Roman Kennke  <kennke@aicas.com>
35809
35810         * javax/swing/JTextField.java
35811         (createDefaultModel): Moved installation of the filterNewlines
35812         property to setDocument().
35813         (setDocument): New method. Installs the filterNewlines property
35814         on the document.
35815
35816 2006-01-12  Chris Burdess  <dog@gnu.org>
35817
35818         * gnu/xml/dom/DomNode.java,
35819           gnu/xml/transform/ElementAvailableFunction.java: Removed debugging
35820           output.
35821         * gnu/xml/xpath/NameTest.java,
35822           gnu/xml/xpath/NamespaceTest.java,
35823           gnu/xml/xpath/Selector.java: Fix regression for namespace axis
35824           navigation.
35825         * gnu/xml/transform/MessageNode.java: Use standard logging system
35826           for outputting messages.
35827
35828 2006-01-12  Tom Tromey  <tromey@redhat.com>
35829
35830         * java/net/InetAddress.java (DEFAULT_CACHE_SIZE): Removed.
35831         (DEFAULT_CACHE_PERIOD, DEFAULT_CACHE_PURGE_PCT): Likewise.
35832         (cache_size, cache_period, cache_purge_pct, cache): Likewise.
35833         (static initializer): Removed cache code.
35834         (checkCacheFor, addToCache): Removed.
35835         (getAllByName): Removed cache code.
35836         (lookup_time): Removed.
35837         (InetAddress): Updated.
35838
35839 2006-01-12  Chris Burdess  <dog@gnu.org>
35840
35841         * gnu/xml/dom/DomDocument.java,
35842           gnu/xml/dom/DomElement.java,
35843           gnu/xml/dom/DomNode.java,
35844           gnu/xml/stream/XMLParser.java,
35845           gnu/xml/transform/Bindings.java,
35846           gnu/xml/transform/ElementAvailableFunction.java,
35847           gnu/xml/transform/ElementNode.java,
35848           gnu/xml/transform/FunctionAvailableFunction.java,
35849           gnu/xml/transform/NamespaceProxy.java,
35850           gnu/xml/transform/StreamSerializer.java,
35851           gnu/xml/transform/Stylesheet.java,
35852           gnu/xml/transform/TransformerImpl.java,
35853           gnu/xml/xpath/Selector.java: Implement isEqualNode correctly for
35854           document and element nodes; correct coalescing semantics when parsing;
35855           attribute-sets can only refer to top-level variables and parameters;
35856           fix namespace retrieval during element-available and
35857           function-available functions; implement xsl:fallback for extension
35858           elements; tokenize whitespace correctly during whitespace stripping;
35859           correct following and previous node axes selectors.
35860
35861 2006-01-12  Roman Kennke  <kennke@aicas.com>
35862
35863         * java/util/Hashtable.java
35864         (KeyEnumerator.nextElement): Added null check to avoid NPE.
35865         (ValueEnumerator.nextElement): Added null check to avoid NPE.
35866
35867 2006-01-12  Lillian Angel  <langel@redhat.com>
35868
35869         * javax/swing/text/GapContent.java
35870         (UndoInsertString): Changed name of class to InsertUndo to match the JDK.
35871
35872 2006-01-12  Mark Wielaard  <mark@klomp.org>
35873
35874         * vm/reference/gnu/java/net/VMPlainSocketImpl.java (connect):
35875         Throw UnknowHostException when name could not be resolved.
35876
35877 2006-01-12  Jeroen Frijters  <jeroen@frijters.net>
35878
35879         * java/net/URL.java
35880         (static, getURLStreamHandler): Use SystemProperties.
35881
35882 2006-01-12  Mark Wielaard  <mark@klomp.org>
35883
35884         * vm/reference/gnu/java/net/VMPlainDatagramSocketImpl.java (receive):
35885         Use packet.getLength().
35886         * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c
35887         (nativeReceive): Check whether the receiver wants zero bytes.
35888
35889 2006-01-12  Mark Wielaard  <mark@klomp.org>
35890
35891         * native/jni/java-net/javanet.c (_javanet_recvfrom): Return -1 when
35892         other side orderly closed connection.
35893         * vm/reference/gnu/java/net/VMPlainSocketImpl.java
35894         (read(PlainSocketImpl)): Mask byte to return unsigned int. Return -1
35895         when end of stream reached.
35896
35897 2006-01-12  Mark Wielaard  <mark@klomp.org>
35898
35899         * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c:
35900         Remove asserts.
35901         * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c: Likewise.
35902         * native/jni/java-net/java_net_VMInetAddress.c: Likewise.
35903         * native/jni/java-net/java_net_VMNetworkInterface.c: Likewise.
35904         * native/jni/java-net/javanet.c: Likewise.
35905
35906 2006-01-12  Mark Wielaard  <mark@klomp.org>
35907
35908         * native/fdlibm/mprec.c (Balloc): Disable assert to workaround
35909         PR classpath/23863.
35910
35911 2006-01-11  Chris Burdess  <dog@gnu.org>
35912
35913         * gnu/xml/transform/AttributeNode.java,
35914           gnu/xml/transform/ElementNode.java,
35915           gnu/xml/transform/LiteralNode.java,
35916           gnu/xml/transform/StreamSerializer.java,
35917           gnu/xml/transform/StrippingInstruction.java,
35918           gnu/xml/transform/Stylesheet.java,
35919           gnu/xml/transform/TransformerImpl.java,
35920           gnu/xml/transform/ValueOfNode.java,
35921           gnu/xml/xpath/Expr.java,
35922           gnu/xml/xpath/LocalNameFunction.java,
35923           gnu/xml/xpath/NameFunction.java,
35924           gnu/xml/xpath/NameTest.java,
35925           gnu/xml/xpath/NamespaceUriFunction.java,
35926           gnu/xml/xpath/NodeTypeTest.java,
35927           gnu/xml/xpath/SubstringFunction.java,
35928           javax/xml/namespace/QName.java: don't determine element namespace
35929           from namespace aliases when specified; better namespace handling
35930           when serializing elements; don't create HTML meta element unless
35931           head element exists; correct encoding of CDATA sections containing
35932           ']]>'; encode HTML character entity references; use ISO-Latin-1 as
35933           default encoding for HTML output; rewrite of XSLT
35934           strip-space/preserve-space handling; correct doctype-public and
35935           doctype-system output attributes; insert generated doctype before
35936           document element; fixed result tree whitespace stripping
35937           algorithm; fixed semantics of XPath name, local-name, and
35938           namespace-uri functions; name tests handle XML/XMLNS namespaces
35939           correctly; fixed semantics of processing-instruction node test.
35940         * gnu/xml/transform/TransformerFactoryImpl.java: Add main method to
35941           aid debugging.
35942
35943 2006-01-11  Lillian Angel  <langel@redhat.com>
35944
35945         * javax/swing/text/DefaultStyledDocument.java
35946         (insertFracture): Added calls to addEdit for each time a structure 
35947         is changed. addEdit is called on the newBranch, previous, and parent
35948         structures.
35949
35950 2006-01-11  Anthony Balkissoon  <abalkiss@redhat.com>
35951
35952         * javax/swing/text/DefaultStyledDocument.java:
35953         (ElementBuffer.insertContentTag): Don't adjust the structure here.  
35954         This will have been taken care of in insertFracture.  Added a comment
35955         explaining that we need to add edits to the DocumentEvent and that
35956         this may be the place to do it.
35957
35958 2006-01-11  Anthony Balkissoon  <abalkiss@redhat.com>
35959
35960         * javax/swing/text/DefaultStyledDocument.java:
35961         (ElementBuffer.insertUpdate): Properly recreate Elements if the first
35962         tag is an end tag. Avoid NPE by pushing the proper Element on to the 
35963         elementStack when there is a start tag with JoinNextDirection.
35964
35965 2006-01-11  Roman Kennke  <kennke@aicas.com>
35966
35967         Reported by: Fridjof Siebert <siebert@aicas.com>
35968         * java/util/Hashtable.java
35969         (KEYS): Removed unneeded field.
35970         (VALUES): Removed unneeded field.
35971         (ENTRIES): Removed unneeded field.
35972         (keys): Return a KeyEnumerator instance.
35973         (elements): Returns a ValueEnumerator instance.
35974         (toString): Use an EntryIterator instance.
35975         (keySet): Return a KeyIterator instance.
35976         (values): Return a ValueIterator instance.
35977         (entrySet): Return an EntryIterator instance.
35978         (hashCode): Use EntryIterator instance.
35979         (rehash): Changed this loop to avoid redundant reads and make
35980         it obvious that null checking is not needed.
35981         (writeObject): Use EntryIterator instance.
35982         (HashIterator): Removed class.
35983         (Enumerator): Removed class.
35984         (EntryIterator): New class.
35985         (KeyIterator): New class.
35986         (ValueIterator): New class.
35987         (EntryEnumerator): New class.
35988         (KeyEnumerator): New class.
35989         (ValueEnumerator): New class.
35990
35991 2006-01-11  Lillian Angel  <langel@redhat.com>
35992
35993         * javax/swing/text/DefaultStyledDocument.java
35994         (toString): Shouldn't append the '>' character here.
35995         (createDefaultRoot): Should not set the resolve parent. This
35996         causes problems when comparing attribute sets.
35997
35998 2006-01-10  Anthony Balkissoon  <abalkiss@redhat.com>
35999
36000         * javax/swing/text/DefaultStyledDocument.java:
36001         (ElementBuffer.insertUpdate): Rewritten to properly handle start and
36002         end tags.
36003         (ElementBuffer.insertFracture): New method.
36004         (ElementBuffer.insertContentTag): Removed unnecessary case for 
36005         JoinFractureDirection - this only applies to start tags, not content
36006         tags.
36007         (insertUpdate): Corrected conditions for setting direction to 
36008         JoinNextDirection.
36009
36010 2006-01-10  Roman Kennke  <kennke@aicas.com>
36011
36012         * Makefile.am (EXTRA_DIST): Added ChangeLog-2004.
36013         * ChangeLog-2005: New File.
36014
36015 2006-01-10  Roman Kennke  <kennke@aicas.com>
36016
36017         * native/jni/java-nio/java_nio_VMDirectByteBuffer.c
36018         (get): Release the array with the correct pointer.
36019         (put): Release the array with the correct pointer. Copy the array
36020         around _before_ releasing it.
36021
36022 2006-01-10  Roman Kennke  <kennke@aicas.com>
36023
36024         * javax/swing/ViewportLayout.java
36025         (layoutContainer): Fixed condition, to avoid ClasscastException.
36026
36027 2006-01-10  Roman Kennke  <kennke@aicas.com>
36028
36029         * javax/swing/plaf/basic/BasicSplitPaneDivider.java
36030         (MouseHandler.mousePressed): Fixed indendation.
36031         (MouseHandler.mouseDragged): Fixed indendation.
36032
36033 2006-01-10  Roman Kennke  <kennke@aicas.com>
36034
36035         * javax/swing/plaf/basic/BasicLookAndFeel.java
36036         (playSound): Added @since 1.4 to the API docs.
36037
36038 2006-01-10  Roman Kennke  <kennke@aicas.com>
36039
36040         * javax/swing/plaf/basic/BasicListUI.java
36041         (maybeUpdateLayoutState): Also update the layout state, if the
36042         list has been invalidated since the last update.
36043
36044 2006-01-10  Roman Kennke  <kennke@aicas.com>
36045
36046         * javax/swing/plaf/ComponentUI.java
36047         (update): Fixed indendation.
36048
36049 2006-01-10  Roman Kennke  <kennke@aicas.com>
36050
36051         * javax/swing/ViewportLayout.java
36052         (layoutContainer): Fixed condition, so that Scrollable components
36053         are always forced to have to Viewport size, when they
36054         return true for getScrollableTracksViewportHeight() and ..Width().
36055
36056 2006-01-10  Roman Kennke  <kennke@aicas.com>
36057
36058         * javax/swing/RepaintManager.java
36059         (validateInvalidComponents): Fixed condition to avoid NPE.
36060
36061 2006-01-10  Roman Kennke  <kennke@aicas.com>
36062
36063         * javax/swing/JViewport.java:
36064         (static_initializer): Removed unused variable myScrollMode.
36065
36066 2006-01-10  Roman Kennke  <kennke@aicas.com>
36067
36068         * javax/swing/JTabbedPane.java:
36069         Cleared API docs a little.
36070
36071 2006-01-10  Roman Kennke  <kennke@aicas.com>
36072
36073         * java/util/StringTokenizer.java
36074         (StringTokenizer(String, String, boolean)):
36075         Don't trigger NPE here for conformance with the spec.
36076
36077 2006-01-10  Roman Kennke  <kennke@aicas.com>
36078
36079         * java/util/ArrayList.java
36080         (DEFAULT_CAPACITY): Changed default capacity to 10, as specified.
36081
36082 2006-01-10  Roman Kennke  <kennke@aicas.com>
36083
36084         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
36085         (GdkGraphics2D(GdkGraphics2D)): Added null check for the bg
36086         field to avoid NPE.
36087
36088 2006-01-10  Roman Kennke  <kennke@aicas.com>
36089
36090         * native/jni/java-net/javanet.c
36091         (_javanet_shutdownOutput): Replaced strerror() with
36092         TARGET_NATIVE_LAST_ERROR_STRING() for portability.
36093         (_javanet_shutdownInput): Replaced strerror() with
36094         TARGET_NATIVE_LAST_ERROR_STRING() for portability.
36095
36096 2006-01-10  Robert Schuster  <robertschuster@fsfe.org>
36097
36098         * java/beans/EventSetDescriptor.java: Reformatted and
36099         fixed API docs.
36100
36101 2006-01-10  Roman Kennke  <kennke@aicas.com>
36102
36103         * java/lang/SecurityManager.java
36104         Fully qualified AWT class references in API docs.
36105
36106 2006-01-10  Robert Schuster  <robertschuster@fsfe.org>
36107
36108         * java/beans/EventSetDescriptor.java:
36109         (getGetListenerMethod): New method.
36110
36111 2006-01-10  Mark Wielaard  <mark@klomp.org>
36112
36113         * lib/Makefile.am (GCJX): Add -g to get linenumber info.
36114
36115 2006-01-10  Jeroen Frijters  <jeroen@frijters.net>
36116
36117         PR classpath/25727
36118         * java/util/Hashtable.java
36119         (contains): Call equals on existing value.
36120         (containsKey, get, put, remove): Call equals on existing key.
36121         (getEntry): Call equals on existing entry.
36122
36123 2006-01-10  Jeroen Frijters  <jeroen@frijters.net>
36124
36125         PR classpath/24618
36126         * java/util/AbstractMap.java
36127         (equals(Object,Object)): Test for identity first.
36128         * java/util/WeakHashMap.java
36129         (WeakBucket.WeakEntry.equals): Use helper method to determine equality.
36130         (WeakBucket.WeakEntry.toString): Fixed string representation of
36131         null key.
36132         (internalGet): Use helper method to determine equality.
36133
36134 2006-01-09  Robert Schuster  <robertschuster@fsfe.org>
36135
36136         * java/beans/EventSetDescriptor.java: Implemented the two 1.4
36137         constructors.
36138
36139 2006-01-09  Anthony Balkissoon  <abalkiss@redhat.com>
36140
36141         * javax/swing/text/PlainDocument.java:
36142         (insertUpdate): Handle special case of an insertion immediately 
36143         following a newline character.
36144
36145 2006-01-09  Roman Kennke  <kennke@aicas.com>
36146
36147         * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c
36148         (connect): Added stream parameter to _connect() call.
36149         * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c
36150         (connect): Added stream parameter to _connect() call.
36151         * native/jni/java-net/javanet.c
36152         (_javanet_create_localfd): Added stream parameter. Look up
36153         fd field based on the stream parameter either in SocketImpl or
36154         in DatagramSocketImpl.
36155         (_javanet_connect): Added stream parameter. Call create_localfd
36156         using this stream parameter. Set localPort field either in
36157         SocketImpl or in DatagramSocketImpl, depending on the stream
36158         flag.
36159         * native/jni/java-net/javanet.c
36160         (_javanet_connect): Added stream parameter.
36161
36162 2006-01-09  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
36163
36164         * javax.management.Attribute.java: Grammar and 
36165         formatting fixes.
36166
36167 2006-01-09  Mark Wielaard  <mark@klomp.org>
36168
36169         * gnu/java/nio/channels/FileChannelImpl.java (map): Throw correct
36170         exception when channel is not readable or writable.
36171         * native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c
36172         (mapImpl): Add PROT_WRITE when mode == 'c' (MAP_PRIVATE). Make sure
36173         there is enough space to mmap().
36174
36175 2006-01-09  Robert Schuster  <robertschuster@fsfe.org>
36176
36177         * java/beans/Introspector.java:
36178         (getBeanInfo(Class, int)): New method.
36179         (getBeanInfo(Class, Class): Moved common code in a new method.
36180         (merge): New method.
36181
36182 2006-01-09  Robert Schuster  <robertschuster@fsfe.org>
36183
36184         * java/beans/XMLEncoder.java: Fix spelling mistakes.
36185
36186 2006-01-09  Anthony Balkissoon  <abalkiss@redhat.com>
36187
36188         * javax/swing/text/DefaultStyledDocument.java:
36189         (insertUpdate): Removed call to checkForInsertAfterNewline and instead
36190         inlined this method because it needs to change the value of the 
36191         finalStartTag and finalStartDirection variables.
36192         (checkForInsertAfterNewline): Removed this method.
36193         (handleInsertAfterNewline): Added case for making the start tag's 
36194         direction JoinNextDirection.
36195
36196 2006-01-09  Lillian Angel  <langel@redhat.com>
36197
36198         * javax/swing/plaf/basic/BasicTreeUI.java:
36199         Added new field.
36200         (setRowHeight): Row height is set to the max height of
36201         all the nodes, or 20 as a default value.
36202         (getPathBounds): Cleaned up code.
36203         (getMaxHeight): New helper function that gets the max 
36204         height of all the rows.
36205         (getClosestPathForLocation): Fixed to use getMaxHeight.
36206         (updateCachedPreferredSize): Likewise.
36207         (installUI): Shouldn't expand tree on startup.
36208         (getNodeDimensions): Fixed to use getMaxHeight. 
36209
36210 2006-01-09  Mark Wielaard  <mark@klomp.org>
36211
36212         * javax/swing/JList.java (setSelectedIndex): Clear selection when
36213         argument is negative.
36214
36215 2006-01-08  Mark Wielaard  <mark@klomp.org>
36216
36217         * java/net/InetAddress.java (getInaddrAny): Explicitly set hostName.
36218
36219 2006-01-09  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
36220
36221         * javax.management.Attribute.java: New file. 
36222
36223 2006-01-09  Roman Kennke  <kennke@aicas.com>
36224
36225         * java/net/DatagramSocketImpl.java
36226         (localPort): Renamed to localport for correct access from native
36227         code.
36228
36229 2006-01-09  Roman Kennke  <kennke@aicas.com>
36230
36231         * javax/swing/Popup.java
36232         (LightweightPopup.hide): Repaint the layered pane when popup is
36233         removed.
36234
36235 2006-01-09  Roman Kennke  <kennke@aicas.com>
36236
36237         * java/awt/Container.java
36238         (remove): Don't repaint the container here.
36239
36240 2006-01-08  Tom Tromey  <tromey@redhat.com>
36241
36242         * java/lang/InheritableThreadLocal.java: Organized imports.
36243
36244 2006-01-08  Ito Kazumitsu  <kaz@maczuka.gcd.org>  
36245
36246         Fixes bug #25679
36247         * gnu/regexp/RETokenRepeated.java(match): Optimized the case
36248         when an empty string matched an empty token.
36249
36250 2006-01-08  Chris Burdess  <dog@gnu.org>
36251
36252         * gnu/xml/stream/SAXParser.java: Check standalone status for mixed
36253           content models from external entities.
36254         * gnu/xml/stream/UnicodeReader.java: Report error instead of
36255           attempting to continue with unpaired surrogates.
36256         * gnu/xml/stream/XMLParser.java: Don't normalize LF equivalents when
36257           resolving entities with character entity references; better
36258           checking of valid character ranges; don't report an error for URI
36259           fragments in notation declarations; check unbound namespace
36260           prefixes for elements and attributes, including XML 1.1 unbinding
36261           syntax; namespace-aware checking of attribute duplicates.
36262
36263 2006-01-08  Robert Schuster  <robertschuster@fsfe.org>
36264
36265         * java/beans/Statement.java: Doc fixes.
36266         (doExecute): Workaround for Class.forName call.
36267         (toString): Made output look more like on the JDK.
36268         * java/beans/Expression.java: Doc fixes.
36269         (toString): Made output look more like on the JDK.
36270         * java/beans/PersistenceDelegate.java,
36271         java/beans/DefaultPersistenceDelegate.java,
36272         java/beans/Encoder.java,
36273         java/beans/XMLEncoder.java: New file.
36274         * gnu/java/beans/encoder/ArrayPersistenceDelegate.java,
36275         gnu/java/beans/encoder/ClassPersistenceDelegate.java,
36276         gnu/java/beans/encoder/CollectionPersistenceDelegate.java,
36277         gnu/java/beans/encoder/Context.java,
36278         gnu/java/beans/encoder/GenericScannerState.java,
36279         gnu/java/beans/encoder/IgnoringScannerState.java,
36280         gnu/java/beans/encoder/MapPersistenceDelegate.java,
36281         gnu/java/beans/encoder/ObjectId.java,
36282         gnu/java/beans/encoder/PrimitivePersistenceDelegate.java,
36283         gnu/java/beans/encoder/ReportingScannerState.java,
36284         gnu/java/beans/encoder/Root.java,
36285         gnu/java/beans/encoder/ScanEngine.java,
36286         gnu/java/beans/encoder/ScannerState.java,
36287         gnu/java/beans/encoder/StAXWriter.java,
36288         gnu/java/beans/encoder/Writer.java: New file.
36289         * gnu/java/beans/encoder/elements/Array_Get.java,
36290         gnu/java/beans/encoder/elements/Element.java,
36291         gnu/java/beans/encoder/elements/List_Set.java,
36292         gnu/java/beans/encoder/elements/Array_Set.java,
36293         gnu/java/beans/encoder/elements/NullObject.java,
36294         gnu/java/beans/encoder/elements/StaticMethodInvocation.java,
36295         gnu/java/beans/encoder/elements/StaticFieldAccess.java,
36296         gnu/java/beans/encoder/elements/StringReference.java,
36297         gnu/java/beans/encoder/elements/ClassResolution.java,
36298         gnu/java/beans/encoder/elements/ArrayInstantiation.java,
36299         gnu/java/beans/encoder/elements/PrimitiveInstantiation.java,
36300         gnu/java/beans/encoder/elements/ObjectReference.java,
36301         gnu/java/beans/encoder/elements/ObjectInstantiation.java,
36302         gnu/java/beans/encoder/elements/List_Get.java,
36303         gnu/java/beans/encoder/elements/MethodInvocation.java: New file.
36304
36305 2006-01-08  Chris Burdess  <dog@gnu.org>
36306
36307         * java/lang/Character.java (toChars,toCodePoint): Correct these
36308           methods to use algorithms from Unicode specification.
36309  
36310 2006-01-08  Mark Wielaard  <mark@klomp.org>
36311
36312         * native/jni/xmlj/Makefile.am (libxmlj_la_LIBADD): Add jcl.o.
36313
36314 2006-01-07  Paul Jenner  <psj@harker.dyndns.org>
36315
36316         Fixes bug #25711
36317         * examples/Makefile.am: Corrected DESTDIR install paths.
36318
36319 2006-01-07  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
36320
36321         * org/omg/CORBA/INVALID_ACTIVITY.java: Removed non - 
36322         ASCII character (line 46).
36323
36324 2006-01-07  Roman Kennke  <kennke@aicas.com>
36325
36326         * javax/swing/text/TableView.java: New file.
36327
36328 2006-01-07  Chris Burdess  <dog@gnu.org>
36329
36330         * gnu/xml/stream/BufferedReader.java: Removed commented out code.
36331         * gnu/xml/stream/XIncludeFilter.java: Correct XML Base behaviour.
36332         * gnu/xml/stream/XMLParser.java: Make additional StAX properties
36333           available; correct handling of unparsed entity references;
36334           absolutize all base URIs; remove commented out code.
36335
36336 2006-01-07  Chris Burdess  <dog@gnu.org>
36337
36338         * gnu/xml/stream/SAXParser.java,
36339           gnu/xml/stream/XMLParser.java: Add SAX property to return base
36340           URI of the current event.
36341
36342 2006-01-07  Chris Burdess  <dog@gnu.org>
36343
36344         * gnu/xml/stream/SAXParser.java: Add SAX feature to set XML Base
36345           aware processing.
36346
36347 2006-01-07  Chris Burdess  <dog@gnu.org>
36348
36349         * gnu/xml/stream/SAXParser.java,
36350           gnu/xml/stream/XIncludeFilter.java,
36351           gnu/xml/stream/XMLParser.java: Updated documentation.
36352
36353 2006-01-07  Chris Burdess  <dog@gnu.org>
36354
36355         * AUTHORS: add self.
36356
36357 2006-01-06  Casey Marshall  <csm@gnu.org>
36358
36359         * AUTHORS: add myself.
36360
36361 2006-01-06  Casey Marshall  <csm@gnu.org>
36362
36363         PR classpath/25699
36364         * javax/crypto/CipherInputStream.java (logger): new constant.
36365         (cipher): make final.
36366         (outLength, inBuffer, inLength): removed.
36367         (isStream): make final.
36368         (VIRGIN, LIVING, DYING, DEAD, state): removed.
36369         (eof): new field.
36370         (<init>): call `super,' not `this;' remove `inBuffer' and
36371         `outBuffer' initialization; init `eof;' add debug logging.
36372         (<init>): call `this' with a new null cipher.
36373         (available): fix javadoc to reflect the real semantics; if we
36374         don't have a buffer, call `nextBlock.'
36375         (close): synchronize.
36376         (read): synchronize; fix testing for buffered data.
36377         (read): synchronize; add `skip' semantics if first argument is
36378         `null;' decrypt stream cipher data only if there is any; fix tests
36379         for buffered data.
36380         (skip): stop using `available' to see how many data are buffered.
36381         (nextBlock): simplify to use cipher-allocated output buffers
36382         instead of internally allocated ones.
36383
36384 2006-01-06  Tom Tromey  <tromey@redhat.com>
36385
36386         * java/lang/String.java (codePointCount): Fixed javadoc.
36387
36388 2006-01-06  Tom Tromey  <tromey@redhat.com>
36389
36390         * java/lang/String.java (contains): Added @since.
36391
36392 2006-01-06  Ito Kazumitsu  <kaz@maczuka.gcd.org>  
36393
36394         Fixes bug #25616
36395         * gnu/regexp/RE.java(initialize): Allow repeat.empty.token.
36396         * gnu/regexp/RETokenRepeated.java(match): Break the loop
36397         when an empty string matched an empty token.
36398
36399 2006-01-06  Jeroen Frijters  <jeroen@frijters.net>
36400
36401         PR classpath/24858
36402         * gnu/java/util/WeakIdentityHashMap.java: New file.
36403         * java/lang/InheritableThreadLocal.java
36404         (newChildThread): Modified to remove key indirection.
36405         * java/lang/Thread.java
36406         (locals): Changed type to WeakIdentityHashMap.
36407         (getThreadLocals): Instantiate WeakIdentityHashMap instead of
36408         WeakHashMap.
36409         * java/lang/ThreadLocal.java
36410         (key, Key): Removed.
36411         (get, set): Changed to use "this" instead of "key".
36412
36413 2006-01-06  Dalibor Topic  <robilad@kaffe.org>
36414
36415         * native/fdlibm/Makefile.am (libfdlibm_la_SOURCES): Removed java-assert.h.
36416
36417         * native/fdlibm/java-assert.h: Removed file.
36418
36419         * native/fdlibm/mprec.c: Include assert.h. Don't include java-assert.h.
36420         Replaced use of JvAssert by assert.
36421
36422 2006-01-05  Anthony Balkissoon  <abalkiss@redhat.com>
36423
36424         * javax/swing/text/DefaultCaret.java:
36425         (setDot): Fixed paramater to Math.max to be this.dot and not the 
36426         parameter dot.
36427
36428 2006-01-05  Roman Kennke  <kennke@aicas.com>
36429
36430         * javax/swing/plaf/basic/BasicListUI.java
36431         (getCellHeight): New helper method.
36432         (getCellBounds): Use new helper method for determining the cell
36433         height.
36434         (paint): Don't call list.indexToLocation() but instead call
36435         directly into the same UI method.
36436         (locationToIndex): Fixed calculation of # visible rows and handling
36437         of cell heights.
36438         (indexToLocation): Fixed calculation of # visible rows and handling
36439         of cell heights.
36440
36441 2006-01-05  Roman Kennke  <kennke@aicas.com>
36442
36443         * javax/swing/plaf/metal/MetalFileChooserUI.java
36444         (createList): Set VERTICAL_SCROLLBAR_NEVER mode on the JScrollPane
36445         in the file chooser.
36446
36447 2006-01-05  Anthony Balkissoon  <abalkiss@redhat.com>
36448
36449         * javax/swing/JTextPane.java:
36450         (replaceSelection): If the document is an AbstractDocument, use replace
36451         rather than remove and insert.
36452         * javax/swing/event/EventListenerList.java:
36453         (getListeners): Reversed the order of the listeners to match the 
36454         reference implementation.
36455         * javax/swing/text/AbstractDocument.java:
36456         (insertString): Add the UndoableEdit from the content.insertString call
36457         to the DocumentEvent.
36458         (DefaultDocumentEvent.toString): Implemented.
36459         * javax/swing/text/DefaultCaret.java:
36460         (setDot): Make sure dot is > 0 and less than the length of the 
36461         document.
36462         * javax/swing/text/DefaultStyledDocument.java:
36463         (ElementBuffer.insertUpdate): Set the modified tag of the document 
36464         event when we get start and end tags.  This ensures that we create the
36465         proper BranchElements in endEdit().
36466         (ElementBuffer.insertUpdate): Added FIXME to handle 
36467         JoinFractureDirection case.
36468         (insertUpdate): Added code to check if we're inserting immediately 
36469         after a newline and to handle this case (create start and end tags). 
36470         Only change the direction of the first and last tags if they are of 
36471         type ContentType.
36472         (checkForInsertAfterNewline): New helper method.
36473         (handleInsertAfterNewline): Likewise.
36474         * javax/swing/text/View.java:
36475         (updateLayout): Avoid NPE by checking if shape is null.  Repaint 
36476         container.
36477
36478 2006-01-05  Mark Wielaard  <mark@klomp.org>
36479
36480         * newsitems.txt: Add fosdem meeting.
36481         * events/events.wml: Likewise.
36482         * events/fosdem06.wml: New file.
36483         
36484 2006-01-05  Lillian Angel  <langel@redhat.com>
36485         
36486         * javax/swing/text/GapContent.java
36487         (createPosition): No positions should be created inside the
36488         gap. Fixed check to ensure this does not happen.
36489
36490 2006-01-05  Roman Kennke  <kennke@aicas.com>
36491
36492         * javax/swing/RepaintManager.java
36493         (validateInvalidComponents): Search for the validate root
36494         and start validating there.
36495
36496 2006-01-05  Roman Kennke  <kennke@aicas.com>
36497
36498         * javax/swing/plaf/basic/BasicListUI.java
36499         (ComponentHandler): Removed unneeded class.
36500         (ListDataHandler.contentsChanged): Revalidate instead of calling
36501         damageLayout().
36502         (ListDataHandler.intervalAdded): Revalidate instead of calling
36503         damageLayout().
36504         (ListDataHandler.intervalRemoved): Revalidate instead of calling
36505         damageLayout().
36506         (PropertyChangeHandler.propertyChange): Or flags together instead
36507         of adding them. Don't call damageLayout().
36508         (componentListener): Removed unnecessary field.
36509         (damageLayout): Removed unnecessary method.
36510         (installListeners): Don't install unnecessary listeners.
36511         (uninstallListeners): Dito.
36512         (getPreferredSize): Don't ask for the real list height and
36513         calculate with the previously calculated list height.
36514         (locationToIndex): Renamed list parameter to l so that it doesn't
36515         shadow the field with the same name.
36516         (indexToLocation): Renamed list parameter to l so that it doesn't
36517         shadow the field with the same name.
36518
36519 2006-01-04  Tom Tromey  <tromey@redhat.com>
36520
36521         * include/.cvsignore: Ignore config-int.h.
36522
36523 2006-01-04  Roman Kennke  <kennke@aicas.com>
36524
36525         * javax/swing/plaf/basic/BasicListUI.java
36526         (getPreferredSize): Rewritten to match the specs.
36527
36528 2006-01-04  Roman Kennke  <kennke@aicas.com>
36529
36530         * javax/swing/JFileChooser.java
36531         (showOpenDialog): Set fixed width on the dialog.
36532         (showSaveDialog): Set fixed width on the dialog.
36533         (showDialog): Set fixed width on the dialog.
36534
36535 2006-01-04  Roman Kennke  <kennke@aicas.com>
36536
36537         * javax/swing/plaf/basic/BasicListUI.java
36538         (locationToIndex): Added FIXME about getVisibleRowCount() usage.
36539         Adjusted iteration to not use visibleRowCount and instead iterate
36540         over the real number of elements in cellHeights.
36541         (indexToLocation): Added FIXME about getVisibleRowCount() usage.
36542         Adjusted iteration to not use visibleRowCount and instead iterate
36543         over the real number of elements in cellHeights.
36544
36545 2006-01-04  Roman Kennke  <kennke@aicas.com>
36546
36547         * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c,
36548         * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c:
36549         Added __attribute__((__unused__)) macros to avoid gcc warnings.
36550
36551 2006-01-04  Roman Kennke  <kennke@aicas.com>
36552
36553         * vm/reference/gnu/java/net/VMPlainSocketImpl.java: New VM class.
36554         * vm/reference/gnu/java/net/VMPlainDatagramSocketImpl.java:
36555         New VM class.
36556         * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c: New file.
36557         * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c:
36558         New file.
36559         * native/jni/java-net/gnu_java_net_PlainDatagramSocketImpl.c:
36560         Removed.
36561         * native/jni/java-net/gnu_java_net_PlainSocketImpl.c: Removed.
36562         * native/jni/java-net/Makefile.am: Adjusted for new source files.
36563         * gnu/java/net/PlainDatagramSocketImpl.java: Use new VM interface.
36564         * gnu/java/net/PlainSocketImpl.java: Use new VM interface.
36565         * include/gnu_java_net_PlainDatagramSocketImpl.h: Removed.
36566         * include/gnu_java_net_PlainSocketImpl.h: Removed.
36567         * include/gnu_java_net_VMPlainDatagramSocketImpl.h: New header file.
36568         * include/gnu_java_net_VMPlainSocketImpl.h: New header file.
36569
36570 2006-01-04  Lillian Angel  <langel@redhat.com>
36571
36572         * javax/swing/plaf/metal/MetalFileChooserUI.java
36573         (propertyChange): Fixed to change the combo box label
36574         appropriately. Also, fixed to set the textfield's text
36575         correctly.
36576         (editFile): Fixed size of editing field.
36577         (installComponents): Correctly aligned all panels.
36578         (installStrings): Fixed to set the label's text
36579         appropriately depending on the dialog type.
36580
36581 2006-01-04  Lillian Angel  <langel@redhat.com>
36582
36583         PR classpath/25473 
36584         PR classpath/25479
36585         * javax/swing/JTree.java
36586         (JTree): Because some L&F defaults have been updated,
36587         the selectionMode for the tree needed to be set to SINGLE.
36588         * javax/swing/plaf/basic/BasicFileChooserUI.java:
36589         Initialized accessoryPanel.
36590         * javax/swing/plaf/metal/MetalFileChooserUI.java
36591         (installComponents): Added accessoryPanel to the filechooser.
36592
36593 2006-01-04  Dalibor Topic  <robilad@kaffe.org>
36594
36595         * configure.ac: Added AX_CREATE_STDINT_H
36596
36597         * include/Makefile.am (DISTCLEANFILES): Remove config-int.h.
36598
36599         * m4/ax_create_stdint_h.m4: New file.
36600
36601         * native/fdlibm/mprec.h: Include config-int.h. Removed C99
36602         typedefs. Removed stdint.h and inttypes.h includes.
36603  
36604 2006-01-03  Mark Wielaard  <mark@klomp.org>
36605
36606         * javax/swing/JMenuItem.java (configurePropertiesFromAction): Only
36607         register keyboard action when accelerator is not null.
36608         * javax/swing/plaf/basic/BasicMenuItemUI.java (propertyChange): Only
36609         re-register accelerator if not null.
36610         (installKeyboardActions): Only put accelerator in map when not null.
36611
36612 2006-01-04  Lillian Angel  <langel@redhat.com>
36613
36614         * javax/swing/plaf/basic/BasicLookAndFeel.java
36615         (initComponentDefaults): Removed unneeded default.
36616         * javax/swing/plaf/metal/MetalLookAndFeel.java
36617         (initComponentDefaults): Added and fixed several defaults.
36618
36619 2006-01-04  Roman Kennke  <kennke@aicas.com>
36620
36621         * javax/swing/plaf/basic/BasicHTML.java: New class.
36622
36623 2006-01-03  Tom Tromey  <tromey@redhat.com>
36624
36625         * java/io/OutputStreamWriter.java (OutputStreamWriter): Added @since.
36626         * java/io/InputStreamReader.java (InputStreamReader): Added @since.
36627
36628 2006-01-03  Mark Wielaard  <mark@klomp.org>
36629
36630         * org/omg/CORBA/INVALID_ACTIVITY.java: Remove non-ascii characters.
36631
36632 2006-01-03  Mark Wielaard  <mark@klomp.org>
36633
36634         * javax/swing/plaf/metal/MetalLookAndFeel.java (MetalLookAndFeel):
36635         Always call createDefaultTheme().
36636         (createDefaultTheme): Check whether theme is still null.
36637
36638 2006-01-03  Mark Wielaard  <mark@klomp.org>
36639
36640         * gnu/java/awt/peer/gtk/GdkGraphics2D.java (setBackground): Set to
36641         Color.WHITE if null.
36642
36643 2006-01-03  Lillian Angel  <langel@redhat.com>
36644
36645         * javax/swing/plaf/metal/MetalLookAndFeel.java
36646         (getDescription): Fixed to return the correct string.
36647         (getID): Likewise.
36648         (getName): Likewise.
36649         (getDefaults): Added check to avoid NPE.
36650         (getAcceleratorForeground): Likewise.
36651         (getAcceleratorSelectedForeground): Likewise.
36652         (getBlack): Likewise.
36653         (getControl): Likewise.
36654         (getControlDarkShadow): Likewise.
36655         (getControlDisabled): Likewise.
36656         (getControlHighlight): Likewise.
36657         (getControlInfo): Likewise.
36658         (getControlShadow): Likewise.
36659         (getControlTextColor): Likewise.
36660         (getControlTextFont): Likewise.
36661         (getDesktopColor): Likewise.
36662         (getFocusColor): Likewise.
36663         (getHighlightedTextColor): Likewise.
36664         (getInactiveControlTextColor): Likewise.
36665         (getInactiveSystemTextColor): Likewise.
36666         (getMenuBackground): Likewise.
36667         (getMenuDisabledForeground): Likewise.
36668         (getMenuForeground): Likewise.
36669         (getMenuSelectedBackground): Likewise.
36670         (getMenuSelectedForeground): Likewise.
36671         (getMenuTextFont): Likewise.
36672         (getPrimaryControl): Likewise.
36673         (getPrimaryControlDarkShadow): Likewise.
36674         (getPrimaryControlHighlight): Likewise.
36675         (getPrimaryControlInfo): Likewise.
36676         (getPrimaryControlShadow): Likewise.
36677         (getSeparatorBackground): Likewise.
36678         (getSeparatorForeground): Likewise.
36679         (getSubTextFont): Likewise.
36680         (getSystemTextColor): Likewise.
36681         (getSystemTextFont): Likewise.
36682         (getTextHighlightColor): Likewise.
36683         (getUserTextColor): Likewise.
36684         (getUserTextFont): Likewise.
36685         (getWhite): Likewise.
36686         (getWindowBackground): Likewise.
36687         (getWindowTitleBackground): Likewise.
36688         (getWindowTitleFont): Likewise.
36689         (getWindowTitleForeground): Likewise.
36690         (getWindowTitleInactiveBackground): Likewise.
36691         (getWindowTitleInactiveForeground): Likewise.
36692
36693 2006-01-03  Mark Wielaard  <mark@klomp.org>
36694
36695         * javax/swing/JTextArea.java
36696         (JTextArea(Document,text,int,int)): Only call setText() when text is
36697         not null.
36698
36699 2006-01-03  Lillian Angel  <langel@redhat.com>
36700
36701         * javax/swing/plaf/basic/BasicFileChooserUI.java
36702         (installStrings): Fixed installation of defaults that
36703         were changed in BasicLookAndFeel.
36704         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
36705         (installDefaults): Fixed installation of defaults that
36706         were changed in BasicLookAndFeel.
36707
36708 2006-01-03  Lillian Angel  <langel@redhat.com>
36709
36710         * javax/swing/plaf/basic/BasicLookAndFeel.java
36711         (initComponentDefaults): Fixed several defaults that differed
36712         from the JDK.
36713
36714 2006-01-03  Lillian Angel  <langel@redhat.com>
36715
36716         * javax/swing/tree/DefaultTreeSelectionModel.java
36717         (DefaultTreeSelectionModel): Default should be DISCONTIGUOUS_TREE_SELECTION.
36718
36719 2006-01-03  Lillian Angel  <langel@redhat.com>
36720
36721         * javax/swing/AbstractAction.java
36722         (AbstractAction): Fixed to pass in null. Should not be 
36723         an empty string. Removed TODO comment.
36724         (AbstractAction): Removed TODO comment.
36725         * javax/swing/JList.java
36726         (init): Default selection mode should be MULTIPLE_INTERVAL_SELECTION.
36727         * javax/swing/JMenuItem.java
36728         (JMenuItem): Set all defaults if the action passed in is not null.
36729         * javax/swing/JProgressBar.java
36730         (JProgressBar): Added check to prevent NPE.
36731
36732 2006-01-03  Lillian Angel  <langel@redhat.com>
36733
36734         * javax/swing/plaf/basic/BasicListUI.java
36735         (getPreferredSize): The JDK adds some extra space to 
36736         the list, so we should as well.
36737         * javax/swing/plaf/metal/MetalFileChooserUI.java
36738         (getPreferredSize): Should only take the fileListPanel's
36739         width into account when getting the size. Also, the buttonPanel's
36740         size should not be checked, since it is in the bottomPanel already.
36741         (getMinimumSize): Likewise.
36742
36743 2006-01-03  Lillian Angel  <langel@redhat.com>
36744
36745         * javax/swing/JList.java
36746         (init): visibleRowCount should be 7, like the JDK.
36747         * javax/swing/plaf/metal/MetalFileChooserUI.java
36748         (installComponents): No need to add the fileFilterCombo
36749         to a panel. It can be added to the row directly.
36750
36751 2006-01-03  Lillian Angel  <langel@redhat.com>
36752         
36753         PR classpath/25480 PR classpath/25478
36754         * javax/swing/plaf/basic/BasicScrollPaneUI.java
36755         (updateViewport): Made changes suggested by
36756         Chris Lansdown.
36757         * javax/swing/plaf/metal/MetalFileChooserUI.java:
36758         Removed unneeded import.
36759         (createList): Removed comment, JList wrapping 
36760         now works.
36761         (getPreferredSize): Made changes suggested by
36762         Chris Lansdown. Uses fileListPanel, instead
36763         of fileList.
36764         (getMinimumSize): Uses fileListPanel, instead
36765         of fileList.
36766         * javax/swing/plaf/metal/MetalRadioButtonUI.java
36767         (paintFocus): Fixed height.
36768
36769 2006-01-03  Roman Kennke  <kennke@aicas.com>
36770
36771         * javax/swing/plaf/basic/BasicListUI.java
36772         (locationToIndex): Added check to avoid ArrayOutOfBoundsException.
36773
36774 2006-01-03  Roman Kennke  <kennke@aicas.com>
36775
36776         * javax/swing/plaf/basic/BasicListUI.java
36777         (locationToIndex): Special case for when variable cell heights
36778         are possible. (cellHeights is used instead of cellHeight).
36779         (indexToLocation): Special case for when variable cell heights
36780         are possible. (cellHeights is used instead of cellHeight).
36781
36782 2006-01-03  Roman Kennke  <kennke@aicas.com>
36783
36784         * javax/swing/text/DefaultStyledDocument.java
36785         (ElementBuffer.remove): New method.
36786         (ElementBuffer.removeUpdate): New method.
36787         (removeUpdate): New method.
36788
36789 2006-01-03  Roman Kennke  <kennke@aicas.com>
36790
36791         * lib/Makefile.am:
36792         (dist-hook): Preserve attributes of Java sources when copying to
36793         dist dir.
36794
36795 2006-01-03  Raif S. Naffah  <raif@swiftdsl.com.au>
36796
36797         * AUTHORS: Added self.
36798         * java/security/Security.java (getProvider): Ensures provider's name is
36799           not null, not an empty string, and is trimmed before usage.
36800
36801 2006-01-01  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
36802
36803         * gnu/CORBA/Poa/AOM.java (add):
36804         Changed parameter Object into gnuServantObject.
36805         (Obj.object): Changed type to gnuServantObject.
36806         (findObject): Rewritten.
36807
36808 2006-01-01  Andreas Tobler  <a.tobler@schweiz.ch>
36809
36810         * native/jni/qt-peer/mainqtthread.cpp: Remove call to disable double
36811         buffering. Ability has gone in Qt-4.1.x.
36812
36813         * configure.ac (QT_CFLAGS): Check for 4.1.0 version and for QtCore
36814         to have the right include flags.
36815
36816 2006-01-01  Raif S. Naffah  <raif@swiftdsl.com.au>
36817
36818         * java/security/MessageDigest.java (getInstance(String,String)):
36819         Use trimmed copy of provider name.
36820         * gnu/java/security/Engine.java
36821         (getInstance(String,String,Provider,Object[])): Use trimmed copy of
36822         service and algorithm names.
36823
36824 2006-01-01  Raif S. Naffah  <raif@swiftdsl.com.au>
36825
36826         * java/net/InetAddress.java (getAllByName): use LOCALHOST if
36827         localhost is null or is an empty string. Trim hostname before
36828         lookup.
36829