OSDN Git Service

376c072852dfc2bacc25437cd5be6e41263190e3
[pf3gnuchains/gcc-fork.git] / libjava / classpath / ChangeLog
1 2007-03-27  Casey Marshall  <csm@gnu.org>
2
3         PR classpath/31302:
4         * gnu/javax/net/ssl/provider/SSLSocketImpl.java (SSLSocketImpl):
5         Always make a new socket.
6         (bind, connect, getInetAddress, getLocalAddress, getPort,
7         getLocalPort, getRemoteSocketAddress, getLocalSocketAddress,
8         setTcpNoDelay, getTcpNoDelay, setSoLinger, getSoLinger,
9         setOOBInline, getOOBInline, setSoTimeout, getSoTimeout,
10         setSendBufferSize, getSendBufferSize, setReceiveBufferSize,
11         getReceiveBufferSize, setKeepAlive, getKeepAlive, setTrafficClass,
12         getTrafficClass, setReuseAddress, getReuseAddress, close,
13         shutdownInput, shutdownOutput, isConnected, isBound, isClosed,
14         isInputShutdown, isOutputShutdown): Always use
15         'underlyingSocket'.
16
17 2007-03-27  Tom Tromey  <tromey@redhat.com>
18
19         PR classpath/31303:
20         * external/sax/org/xml/sax/helpers/XMLReaderFactory.java
21         (createXMLReader): Code in Classpath default.
22
23 2007-03-27  Keith Seitz  <keiths@redhat.com>
24
25         Merged from upstream:
26         2007-03-09  Kyle Galloway  <kgallowa@redhat.com>
27         * gnu/classpath/jdwp/exception/InvalidTagException.java: New file.
28         * gnu/classpath/jdwp/processor/ArrayReferenceCommandSet.java
29         (executeGetValues): Use Value type.
30         (exectureSetValues): Ditto.  
31         * gnu/classpath/jdwp/processor/ClassTypeCommandSet.java
32         (executeGetValues): Use Value type.
33         (executeSetValues): Ditto.
34         (invokeMethod): Record method return type.
35         * gnu/classpath/jdwp/processor/ObjectReferenceCommandSet.java
36         (executeGetValues): Use Value type.
37         (executeSetValues): Ditto.
38         * gnu/classpath/jdwp/processor/ReferenceTypeCommandSet.java
39         (executeGetValues): Use Value type.
40         * gnu/classpath/jdwp/processor/StackFrameCommandSet.java
41         (executeGetValues): Use Value type.
42         (executeSetValues): Ditto.
43         * gnu/classpath/jdwp/util/MethodResult.java: Add resType to store
44         return type.
45         (getResultType): New Method.
46         (setResultType): Ditto.
47         * gnu/classpath/jdwp/util/Value.java: Remove.
48         * gnu/classpath/jdwp/value: New Package.
49         * gnu/classpath/jdwp/value/Value.java: New file.
50         * gnu/classpath/jdwp/value/BooleanValue.java: New file.
51         * gnu/classpath/jdwp/value/ByteValue.java: New file.
52         * gnu/classpath/jdwp/value/CharValue.java: New file.
53         * gnu/classpath/jdwp/value/DoubleValue.java: New file.
54         * gnu/classpath/jdwp/value/FloatValue.java: New file.
55         * gnu/classpath/jdwp/value/IntValue.java: New file.
56         * gnu/classpath/jdwp/value/LongValue.java: New file.
57         * gnu/classpath/jdwp/value/ObjectValue.java: New file.
58         * gnu/classpath/jdwp/value/ShortValue.java: New file.
59         * gnu/classpath/jdwp/value/StringValue.java: New file.
60         * gnu/classpath/jdwp/value/ValueFactory.java: New file.
61         * gnu/classpath/jdwp/value/VoidValue.java: New file.
62
63         2007-02-28  Keith Seitz  <keiths@redhat.com>
64         * gnu/classpath/jdwp/processor/EventRequestCommandSet.java
65         (executeSet): Check if VM has capability for field access
66         or modification events.
67         * gnu/classpath/jdwp/processor/MethodCommandSet.java
68         (executeByteCodes): Check if VM has capability and
69         implement.
70         * gnu/classpath/jdwp/processor/ObjectReferenceCommandSet.java
71         (executeMonitorInfo): Likewise.
72         * gnu/classpath/jdwp/processor/ReferenceTypeCommandSet.java
73         (executeSourceDebugExtension): Likewise.
74         * gnu/classpath/jdwp/processor/StackFrameCommandSet.java
75         (executePopFrames): Likewise.
76         * gnu/classpath/jdwp/processor/ThreadReferenceCommandSet.java
77         (executeOwnedMonitors): Likewise.
78         (executeCurrentContendedMonitor): Likewise.
79         * gnu/classpath/jdwp/processor/VirtualMachineCommandSet.java
80         (executeCapabilities): Rewrite using new VMVirtualMachine
81         capabilities.
82         (executeRedefineClasses): Check if VM has capability and
83         implement.
84         (executeSetDefaultStratum): Likewise.
85         * gnu/classpath/jdwp/util/MonitorInfo.java; New file.
86         * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java
87         (canWatchFieldModification): New class constant.
88         (canWatchFieldAccess): Likewise.
89         (canGetBytecodes): Likewise.
90         (canGetSyntheticAttribute): Likewise.
91         (canGetOwnedMonitorInfo): Likewise.
92         (canGetCurrentContendedMonitor): Likewise.
93         (canGetMonitorInfo): Likewise.
94         (canRedefineClasses): Likewise.
95         (canAddMethod): Likewise.
96         (canUnrestrictedlyRedefineClasses): Likewise.
97         (canPopFrames): Likewise.
98         (canUseInstanceFilters): Likewise.
99         (canGetSourceDebugExtension): Likewise.
100         (canRequestVMDeathEvent): Likewise.
101         (canSetDefaultStratum): Likewise.
102         (redefineClasses): New method.
103         (setDefaultStratum): Likewise.
104         (getSourceDebugExtension): Likewise.
105         (getBytecodes): Likewise.
106         (getMonitorInfo): Likewise.
107         (getOwnedMonitors): Likewise.
108         (getCurrentContendedMonitor): Likewise.
109         (popFrames): Likewise.
110
111         2007-02-28  Keith Seitz  <keiths@redhat.com>
112         * gnu/classpath/jdwp/processor/MethodCommandSet.java
113         (executeLineTable): Use ReferenceTypeId instead of
114         ClassReferenceTypeId.
115         (executeVariableTable): Likewise.
116         (executeVariableTableWithGeneric): Fix error message.
117         * gnu/classpath/jdwp/processor/ReferenceTypeCommandSet.java
118         (executeSignatureWithGeneric): Fix error message.
119         (executeFieldWithGeneric): Likewise.
120         (executeMethodsWithGeneric): Likewise.
121         * gnu/classpath/jdwp/processor/StackFrameCommandSet.java
122         (executeGetValues): Use ThreadId instead of ObjectId.
123         (executeSetValues): Likewise.
124         (executeThisObject): Likewise.
125
126         2007-02-28  Kyle Galloway  <kgallowa@redhat.com>
127         * gnu/classpath/jdwp/id/NullObjectId.java: New class.
128         * gnu/classpath/jdwp/util/NullObject.java: New class.
129         * vm/reference/gnu/classpath/jdwp/VMIdManager.java
130         (getObjectId): Handle null object.
131         (get): Handle objectId of 0. 
132
133         2007-02-22  Keith Seitz  <keiths@redhat.ecom>
134         * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java
135         (getAllLoadedClassesCount): Remove.
136         (getAllLoadedClasses): Return a Collection.
137         * gnu/classpath/jdwp/processor/VirtualMachineCommandSet.java
138         (executeClassesBySignature): VMVirtualMachine.getAllLoadedClasses
139         now returns Collection.
140         (executeAllClasses): Likewise.
141         Get size of return from Colleciton instead of calling
142         getAllLoadedClassesCount.
143
144         2007-02-22  Kyle Galloway  <kgallowa@redhat.com>
145         * gnu/classpath/jdwp/processor/StackFrameCommandSet.java 
146         (executeGetValues): Pass a signature byte to VMFrame.getValue.
147         * vm/reference/gnu/classpath/jdwp/VMFrame.java (getValue): Add
148         signature parameter.
149
150         2007-02-02  Kyle Galloway  <kgallowa@redhat.com>
151         * gnu/classpath/jdwp/processor/StackFrameCommandSet.java
152         (executeGetValues): Changed getFrame to use a jlong to pass frameID.
153         (executeSetValues): Ditto.
154         (executeThisObject): Ditto.
155         * vm/reference/gnu/classpath/jdwp/VMFrame.java: Added thread field
156         and a constructor used to create VMFrames.
157         (getThread): New method.
158         * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java(getFrame):
159         Changed to take a long instead of a ByteBuffer to pass the frameID.
160
161         2007-01-15  Kyle Galloway  <kgallowa@redhat.com>
162         * gnu/classpath/jdwp/exception/InvalidSlotException.java: New file.
163
164 2007-03-26  Tom Tromey  <tromey@redhat.com>
165
166         * doc/cp-tools.texinfo (gcjh Tool): Added more text.
167         (rmid Tool): Likewise.
168
169 2007-03-25  Dalibor Topic  <robilad@kaffe.org>
170
171         * doc/cp-tools.texinfo: Fix node ordering.
172
173 2007-03-19  Matthias Klose  <doko@ubuntu.com>
174
175         * doc/Makefile.am: Build a gcjh(1) man page.
176         * doc/cp-tools.texinfo: Add documentation for gcjh.
177
178 2007-03-26  Stepan Kasal  <skasal@redhat.com>
179
180         * tools/gnu/classpath/tools/javah/Main.java (cniOrJniSeen): New
181         field.
182         (getParser): Use new field.
183
184 2007-03-17  Thomas Fitzsimmons  <fitzsim@redhat.com>
185
186         * resource/com/sun/tools/javac/messages.properties
187         (Main.FailedToRead, Main.MalformedURL, Main.FailedToLoad): Clarify
188         messages for when --with-ecj-jar is not specified.
189         * configure.ac (FOUND_ECJ_JAR): Remove conditional.
190         * tools/Makefile.am: Build com.sun.tools.javac package
191         unconditionally.
192         * configure, doc/api/Makefile.in, doc/Makefile.in,
193         examples/Makefile.in, external/jsr166/Makefile.in,
194         external/Makefile.in, external/relaxngDatatype/Makefile.in,
195         external/sax/Makefile.in, external/w3c_dom/Makefile.in,
196         include/Makefile.in, lib/Makefile.in, Makefile.in,
197         native/fdlibm/Makefile.in, native/jawt/Makefile.in,
198         native/jni/classpath/Makefile.in,
199         native/jni/gconf-peer/Makefile.in,
200         native/jni/gtk-peer/Makefile.in, native/jni/java-io/Makefile.in,
201         native/jni/java-lang/Makefile.in, native/jni/java-net/Makefile.in,
202         native/jni/java-nio/Makefile.in, native/jni/java-util/Makefile.in,
203         native/jni/Makefile.in, native/jni/midi-alsa/Makefile.in,
204         native/jni/midi-dssi/Makefile.in,
205         native/jni/native-lib/Makefile.in, native/jni/qt-peer/Makefile.in,
206         native/jni/xmlj/Makefile.in, native/Makefile.in,
207         native/plugin/Makefile.in, resource/Makefile.in,
208         scripts/Makefile.in, tools/Makefile.in: Regenerate.
209         * tools/classes/com/sun/tools/javac: New directory.
210         * tools/classes/com/sun/tools/javac/Main.class,
211         tools/classes/com/sun/tools/javac/Messages.class: New files.
212
213 2007-03-16  Tom Tromey  <tromey@redhat.com>
214
215         * tools/gnu/classpath/tools/javah/Main.java (run): Use class'
216         name in File case.
217
218 2007-03-16  Tom Tromey  <tromey@redhat.com>
219
220         * tools/gnu/classpath/tools/javah/JniStubPrinter.java
221         (printClass): Added filename argument.
222         * tools/gnu/classpath/tools/javah/JniIncludePrinter.java
223         (printClass): Added filename argument.
224         * tools/gnu/classpath/tools/javah/CniIncludePrinter.java
225         (printClass): Use user's file name.
226         * tools/gnu/classpath/tools/javah/CniStubPrinter.java
227         (printClass): Use user's file name.
228         * tools/gnu/classpath/tools/javah/Printer.java (printClass): Added
229         filename argument.
230         * tools/gnu/classpath/tools/javah/Main.java (getParser): Fix '-v'
231         argument order.
232         (writeHeaders): Use a HashMap.
233         (run): Put class name into HashMap for writeHeaders.
234
235 2007-03-02  Mario Torre  <neugens@limasoftware.net>
236
237         PR classpath/31017:
238         committed for Petteri Räty <betelgeuse@gentoo.org>
239         * configure.ac: fix broken build for gcj browser plugin
240
241 2007-02-20  Jakub Jelinek  <jakub@redhat.com>
242
243         * java/util/Date.java (parse): Properly parse 09:01:02 as
244         hours/minutes/seconds, not as hours/minutes/year.
245         * java/util/SimpleTimeZone.java (SimpleTimeZone): Simplify
246         {start,end}TimeMode constructor by calling shorter constructor,
247         set {start,end}TimeMode fields after it returns.
248         (setStartRule): Don't adjust startTime into WALL_TIME.  Set
249         startTimeMode to WALL_TIME.
250         (endStartRule): Similarly.
251         (getOffset): Handle properly millis + dstOffset overflowing into the
252         next day.  Adjust startTime resp. endTime based on startTimeMode
253         resp. endTimeMode.
254         * java/util/TimeZone.java (zoneinfo_dir, availableIDs, aliases0): New
255         static fields.
256         (timezones): Remove synchronized keyword.  Set zoneinfo_dir.
257         If non-null, set up aliases0 and don't put anything into
258         timezones0.
259         (defaultZone): Call getTimeZone instead of timezones().get.
260         (getDefaultTimeZone): Fix parsing of EST5 or EST5EDT6.  Use
261         getTimeZoneInternal instead of timezones().get.
262         (parseTime): Parse correctly hour:minute.
263         (getTimeZoneInternal): New private method.
264         (getTimeZone): Do the custom ID checking first, canonicalize
265         ID for custom IDs as required by documentation.  Call
266         getTimeZoneInternal to handle the rest.
267         (getAvailableIDs(int)): Add locking.  Handle zoneinfo_dir != null.
268         (getAvailableIDs(File,String,ArrayList)): New private method.
269         (getAvailableIDs()): Add locking.  Handle zoneinfo_dir != null.
270         * gnu/java/util/ZoneInfo.java: New file.
271
272 2007-02-20  Matthias Klose  <doko@ubuntu.com>
273
274         * doc/Makefile.am: Add rules to build and install man pages
275         from texinfo docs.
276         * doc/hacking.texinfo doc/tools.texinfo, doc/vmintegration.texinfo:
277         Rename, prefix files with "cp-".
278         * doc/cp-tools.texinfo: Add markup for man page generation,
279         add documentation for command line options for gjar, gjavah,
280         gnative2ascii, gorbd, grmid, grmiregistry, gserialver, gtnameserv.
281         doc/texi2pod.pl: New, taken from the GCC sources.
282
283 2006-10-14  Edwin Steiner  <edwin.steiner@gmx.net>
284
285         PR classpath/28652:
286         * javax/management/MBeanInfo.java (MBeanInfo): 
287         Use clone to duplicate the arrays in order to
288         preserve the array type.
289
290 2007-02-16  Andrew Haley  <aph@redhat.com>
291
292         * gnu/java/lang/management/MemoryMXBeanImpl.java,
293         javax/management/MBeanServerDelegate.java: Use
294         gnu.javax.management.ListenerData rather than
295         gnu.classpath.ListenerData.
296         * gnu/javax/management/ListenerData.java: Move here from
297         gnu/classpath/ListenerData.java.
298
299 2007-02-14  Jakub Jelinek  <jakub@redhat.com>
300         Andrew Haley  <aph@redhat.com>
301
302         * java/util/TimeZone.java (getDateParams): Negate dayOfWeek.
303
304 2007-02-09  Tom Tromey  <tromey@redhat.com>
305
306         PR libgcj/30647:
307         * configure: Rebuilt.
308         * configure.ac: Also check for jack/jack.h.
309
310 2007-02-09  Jakub Jelinek  <jakub@redhat.com>
311
312         * java/util/TimeZone.java: Handle default (one hour) daylight
313         savings.
314
315 2007-02-09  Jakub Jelinek  <jakub@redhat.com>
316
317         PR 23566
318         * scripts/timezones.pl: Parse each file in 2 passes, in one parse
319         just Rule lines, in the other everything else.  Pass 0 instead of
320         $savings as second argument to parseRule when parsing the start
321         rule.
322         * java/util/TimeZone.java (timezones): Regenerate from tzdata2007a.
323
324 2007-02-07  Chris Burdess  <dog@gnu.org>
325
326         Fixes PR 30718.
327         * gnu/xml/dom/ls/SAXEventSink.java: Add public accessor/mutators.
328         * gnu/xml/transform/XSLURIResolver.java: Add support for custom
329           SAXSources without a backing URL or stream.
330
331         Fixes PR 27710.
332         * gnu/xml/dom/DomDocumentBuilderFactory.java: Fall back to synchronous
333           LSParser if implementation does not support asynchronous.
334         * gnu/xml/stream/XMLParser.java,
335           gnu/xml/stream/XIncludeFilter.java: Use custom code instead of
336           java.net.URL to resolve to an an absolute URI, to avoid nonexistent
337           protocol handler problems.
338
339 2007-02-06  Tom Tromey  <tromey@redhat.com>
340
341         PR libgcj/30707:
342         * tools/gnu/classpath/tools/javah/JniIncludePrinter.java
343         (printClass): Always print a header.
344
345 2007-02-05  Andrew Haley  <aph@redhat.com>
346
347         PR cp-tools/30706
348         * tools/gnu/classpath/tools/javah/JniIncludePrinter.java:
349         (printClass): Replace '/' in filenames with '_'.
350         * tools/gnu/classpath/tools/javah/JniStubPrinter.java
351         (printClass): Likewise.
352
353 2007-02-05  Tom Tromey  <tromey@redhat.com>
354
355         * java/net/Proxy.java (equals): Handle case where address==null.
356         (hashCode): Likewise.
357         (toString): Likewise.
358
359 2007-01-31  Tom Tromey  <tromey@redhat.com>
360
361         * resource/gnu/classpath/tools/jar/messages.properties
362         (Main.Stdin): New message.
363         * tools/gnu/classpath/tools/jar/Main.java (initializeParser): Add
364         '-@' option.
365         (readNames): New method.
366         (run): Use it.
367
368 2007-01-26  Andrew Haley  <aph@redhat.com>
369
370         * java/lang/SecurityManager.java: Load and initialize
371         java.security.Security.
372
373 2007-01-26  Tom Tromey  <tromey@redhat.com>
374
375         * tools/gnu/classpath/tools/javah/FieldHelper.java (print): Print
376         'volatile' after field type.
377
378 2007-01-23  Marco Trudel  <mtrudel@gmx.ch>
379
380         * java/util/Arrays.java (binarySearch): Change comparison order.
381
382 2007-01-17  Tom Tromey  <tromey@redhat.com>
383
384         * tools/gnu/classpath/tools/javah/PathOptionGroup.java
385         (PathOptionGroup): Set default boot class path.
386
387 2006-12-14  Andrew Haley  <aph@redhat.com>
388
389         * tools/gnu/classpath/tools/jar/Creator.java: Close the
390         inputStream.
391
392 2006-10-12  Andrew Haley  <aph@redhat.com>
393
394         * java/lang/InheritableThreadLocal.java: Rename NULL to sentinel.
395         * java/lang/ThreadLocal.java: Likewise.
396
397 2006-09-13  Andrew Haley  <aph@redhat.com>
398
399         * external/jsr166/java/util/concurrent/atomic/AtomicIntegerFieldUpdater.java:
400         Revert previous gcj-specific disabling of checks.
401         * external/jsr166/java/util/concurrent/atomic/AtomicReferenceFieldUpdater.java:
402         Likewise.
403         * classpath/external/jsr166/java/util/concurrent/atomic/AtomicLongFieldUpdater.java:
404         Likewise.
405
406 2006-09-13  Andrew Haley  <aph@redhat.com>
407
408         * java/util/PriorityQueue.java: Throw IllegalArgumentException for
409         capacity < 1.
410         (Iterator.remove()): Decrement index after removing element.
411
412 2006-12-11  Jeroen Frijters  <jeroen@frijters.net>
413
414         * javax/net/ssl/SSLSocketFactory.java (getDefault):
415         Chain exception cause.
416
417 2006-12-11  Roman Kennke  <kennke@aicas.com>
418
419         * .classpath: Include ASM in Eclipse classpath.
420
421 2006-12-11  Andrew John Hughes  <gnu_andrew@member.fsf.org>
422
423         * gnu/java/lang/management/BeanImpl.java:
424         (translate(String)): Trim strings of whitespace.
425         * javax/management/MBeanAttributeInfo.java:
426         (MBeanAttributeInfo(String,String,Method,Method)):
427         Use Class.getName() for normal (non-parameterized) cases.
428         * javax/management/MBeanConstructorInfo.java:
429         (MBeanConstructorInfo(String, Constructor)):
430         Likewise.
431         * javax/management/MBeanOperationInfo.java:
432         (MBeanOperationInfo(String, Method)):
433         Likewise.
434
435 2006-12-11  Andrew John Hughes  <gnu_andrew@member.fsf.org>
436
437         * java/lang/Class.java:
438         (getClasses()): Return Class<?>[].
439         (internalGetClasses()): Likewise.
440         (getConstructor(Class<?>...)): Add type parameter
441         to parameters.
442         (getDeclaredConstructor(Class<?>...)): Likewise.
443         (getDeclaredClasses()): Return Class<?>[].
444         (getDeclaredClasses(boolean)): Likewise.
445         (getDeclaredConstructors()): Return Constructor<?>[].
446         (getDeclaredConstructors(boolean)): Likewise.
447         (getDeclaredMethod(String,Class<?>...)): Add type
448         parameter to parameters.
449         (getInterfaces()): Return Class<?>[].
450         (getMethods(String,Class<?>...)): Add type
451         parameter to parameters.
452         * java/text/CollationKey.java:
453         Make non-final.
454         * java/text/DecimalFormatSymbols.java:
455         Likewise.
456         
457 2006-12-11  Andrew John Hughes  <gnu_andrew@member.fsf.org>
458
459         * gnu/java/lang/management/BeanImpl.java:
460         (translate(String)): Handle Map and List as
461         Strings of the form "java.util.Map<K,V>" and
462         "java.util.List<E>"
463         * javax/management/MBeanAttributeInfo.java:
464         (MBeanAttributeInfo(String,String,Method,Method)):
465         Use generic parameter and return types.
466         * javax/management/MBeanConstructorInfo.java:
467         (MBeanConstructorInfo(String, Constructor)):
468         Use generic parameter types.
469         * javax/management/MBeanOperationInfo.java:
470         (MBeanOperationInfo(String, Method)):
471         Use generic parameter and return types.
472         
473 2006-12-10  Andrew John Hughes  <gnu_andrew@member.fsf.org>
474
475         * gnu/java/lang/management/BeanImpl.java:
476         (translate(String)): Comment out code for using type
477         variables for Map and List.
478         * java/lang/Thread.java:
479         (Thread(ThreadGroup,Runnable,String,long)): Fix
480         incrementation of totalThreadsCreated to be prior to use.
481         
482 2006-12-10  Andrew John Hughes  <gnu_andrew@member.fsf.org>
483
484         * javax/management/MBeanServerFactory.java:
485         (createMBeanServer(String)): Added security check.
486         (findMBeanServer(String)): Likewise.
487         (newMBeanServer(String)): Likewise.
488         (releaseMBeanServer(String)): Likewise.
489         * javax/management/MBeanServerPermission.java:
490         New file.
491         
492 2006-12-08  David Daney  <ddaney@avtrex.com>
493
494         * native/jni/java-nio/gnu_java_nio_VMChannel.c (is_non_blocking_fd):
495         Fix comment.
496
497 2006-12-08  David Daney  <ddaney@avtrex.com>
498
499         * NEWS: Mention URLConnection.[get|set]ReadTimeout.
500
501 2006-12-08  David Daney  <ddaney@avtrex.com>
502
503         * gnu/java/net/protocol/http/HTTPConnection.java (imports): Add
504         SocketException.
505         (HTTPConnection): Handle NumberFormatException in properties parsing.
506         (Pool.get): Set timeout on reused sockets.
507         * gnu/java/net/protocol/http/HTTPURLConnection.java (proxyPort):
508         Initialize.
509         (HTTPURLConnection): Cleanup properties handling.
510         (getConnection): Use both connection and read timeouts.
511         (setConnectTimeout): Removed.
512         (setReadTimeout): New method.
513         * java/net/URLConnection.java (timeout): Renamed to...
514         (connectTimeout): ... connectTimeout throughout.
515         (readTimeout): New field.
516         (getReadTimeout): New method.
517         (setReadTimeout): New method.
518
519 2006-12-08  Tania Bento  <tbento@redhat.com>
520
521         * java/awt/ScrollPane.java
522         (doLayout): Change the location of the scrollpane's child
523         to (0, 0).
524
525 2006-12-08  David Daney  <ddaney@avtrex.com>
526
527         * native/jni/java-nio/gnu_java_nio_VMChannel.c (is_non_blocking_fd):
528         New method.
529         (Java_gnu_java_nio_VMChannel_read__ILjava_nio_ByteBuffer_2): Throw
530         SocketTimeoutException if a blocking socket timesout.
531         (Java_gnu_java_nio_VMChannel_readScattering): Same.
532         (Java_gnu_java_nio_VMChannel_read__I): Same.
533         (Java_gnu_java_nio_VMChannel_connect): Initialize the fd set.
534         (Java_gnu_java_nio_VMChannel_connect6): Same.
535
536 2006-12-08  Mark Wielaard  <mark@klomp.org>
537
538         * configure.ac (VERSION): Set to 0.93-generics.
539         * NEWS: Add release date.
540
541 2006-12-08  Tania Bento  <tbento@redhat.com>
542
543         * java/awt/ScrollPane.java
544         (getScrollPosition): Throw NullPointerException if scrollpane
545         does have a child.
546         (setScrollPosition(int, int)): Throw NullPointerException if
547         scrollpane does have a child.  Check that both ints are within
548         the allowed bounds; If they are not, scroll to the closest allowed
549         bound.
550
551 2006-12-07  Roman Kennke  <kennke@aicas.com>
552
553         * javax/swing/JEditorPane.java
554         (EditorKitMapping): New inner helper class.
555         (editorKits): New static field for caching editor kit instances.
556         (static_initiazer): Initialize static mappings here.
557         (createEditorKitForContentType): Try to use cached instance.
558         Use correct classloader for loading.
559         (getEditorKitClassNameForContentType): Make use of EditorKitMapping
560         class.
561         (getEditorKitForContentType): Store the fetched editor kit.
562         Fallback to createDefaultEditorKit().
563         (init): Don't clean the static registry here.
564         (registerEditorKitForContentType(String,String,ClassLoader)):
565         Implemented.
566         (registerEditorKitForContentType(String,String)): Delegate to
567         the other version of this method with the thread's context
568         classloader.
569
570 2006-12-07  Mark Wielaard  <mark@klomp.org>
571
572         * examples/gnu/classpath/examples/swing/HtmlDemo.java
573         (setPage): Don't convert URL to String for setPage().
574
575 2006-12-07  Mark Wielaard  <mark@klomp.org>
576
577         * tools/Makefile.am (clean-local): Remove iasm and asm.lst.
578
579 2006-12-07  Mark Wielaard  <mark@klomp.org>
580
581         * tools/Makefile.am: Explicitly define  and use bootclasspath as
582         GLIBJ_BOOTCLASSPATH
583
584 2006-12-07  Mark Wielaard  <mark@klomp.org>
585
586         * javax/swing/JEditorPane.java (createEditorKitForContentType):
587         Always load from system class loader.
588
589 2006-12-07  Mark Wielaard  <mark@klomp.org>
590
591         * java/net/URL.java (URL(URL,String,URLStreamHandler,boolean)): New
592         private constructor.
593         (URL(URL,String,URLStreamHandler)): Call new constructor.
594         (URL(URL,String)): Likewise.
595         (URL(String)): Likewise.
596
597 2006-12-07  Tom Tromey  <tromey@redhat.com>
598
599         * NEWS: Mention ASM.
600         * INSTALL: Don't mention --with-asm.
601         * tools/external/README: New file.
602         * tools/toolwrapper.c (main): Don't use ASM_JAR.
603         * tools/gjavah.in: Don't use PATH_TO_ASM.
604         * tools/grmic.in: Likewise.
605         * tools/Makefile.am (GLIBJ_CLASSPATH): Removed PATH_TO_ASM, added
606         'asm'.
607         (javah, rmic): Removed variables.
608         (bin_PROGRAMS): Updated.
609         (gappletviewer_CFLAGS): Don't define ASM_JAR.
610         (gjarsigner_CFLAGS): Likewise.
611         (gkeytool_CFLAGS): Likewise.
612         (gjar_CFLAGS): Likewise.
613         (gnative2ascii_CFLAGS): Likewise.
614         (gserialver_CFLAGS): Likewise.
615         (grmiregistry_CFLAGS): Likewise.
616         (gtnameserv_CFLAGS): Likewise.
617         (gorbd_CFLAGS): Likewise.
618         (grmid_CFLAGS): Likewise.
619         (gjavah_CFLAGS): Likewise.
620         (grmic_CFLAGS): Likewise.
621         (bin_SCRIPTS): Updated.
622         (TOOLS_JAVA_FILES): Updated.
623         ($(TOOLS_ZIP)): Compile ASM sources.  Copy resource files.
624         * configure.ac: Removed --with-asm.  Always build gjavah.
625
626 2006-12-06  Roman Kennke  <kennke@aicas.com>
627
628         * examples/gnu/classpath/examples/swing/BrowserEditorKit.java:
629         New class.
630         * examples/gnu/classpath/examples/swing/HtmlDemo.java
631         (LoadActionListener): Call setPage() helper method.
632         (createContent): Register tweaked editor kit. For FormSubmitEvents
633         call submitForm(), otherwise setPage().
634         (postData): Helper method for posting form data.
635         (setPage): Helper method for navigating to a new URL.
636         (submitForm): Helper method for submitting a form.
637         * examples/gnu/classpath/examples/swing/forms.html:
638         Added text/password fields and select boxes.
639         * examples/gnu/classpath/examples/swing/welcome.html: Fixed typo.
640
641 2006-12-06  Roman Kennke  <kennke@aicas.com>
642
643         * javax/swing/text/html/FormView.java
644         (SubmitThread.postData): Implemented.
645         (SubmitThread.run): Pass data to postData().
646         (actionPerformed): Reset form when reset button is activated.
647         (createComponent): Add support for select lists and comboboxes.
648         Don't set value of text and password fields here, this is done
649         now in HTMLDocument for consistency.
650         (getElementFormData): Add support for fetching form data from
651         select lists and comboboxes as well as textareas.
652         (getSelectData): New helper method. Fetches form data from
653         select boxes.
654         (getTextAreaData): New helper method. Fetches form data from
655         textareas.
656         (resetForm): New helper method. Resets the entire form.
657         * javax/swing/text/html/HTMLDocument.java
658         (HTMLReader.FormAction.end): Handle SELECT and OPTION tags.
659         (HTMLReader.FormAction.start): Handle SELECT and OPTION tags.
660         (HTMLReader.FormAction.setModel): Initialize text and password
661         values here. Also, use the resetable special models.
662         Group radio buttons into ButtonGroup for exclusive selection.
663         (HTMLReader.FormTagAction): New class. Handles FORM tags.
664         (HTMLReader.buttonGroups): New field.
665         (HTMLReader.numOptions): New field.
666         (HTMLReader.option): New field.
667         (HTMLReader.selectModel): New field.
668         (HTMLReader.textAreaDocument): Make ResetablePlainDocument.
669         (HTMLReader.handleText): Handle OPTION text.
670         (HTMLReader.initTags): Map FORM tags to FormTagAction.
671         (HTMLReader.textAreaContent): Set initial content.
672         * javax/swing/text/html/Option.java
673         (Option): Make copy of attribute set. Initialize selected state.
674         (getValue): Fetch value from attribute set.
675         * javax/swing/text/html/ResetableModel.java: New interface.
676         * javax/swing/text/html/ResetablePlainDocument.java: New class.
677         Supports resetting the state.
678         * javax/swing/text/html/ResetableToggleButtonModel.java: Likewise.
679         * javax/swing/text/html/SelectComboBoxModel.java: Likewise.
680         * javax/swing/text/html/SelectListModel.java: Likewise.
681
682 2006-12-06  Roman Kennke  <kennke@aicas.com>
683
684         * javax/swing/text/DefaultCaret.java
685         (appear): Adjust visibility here.
686         (setDotImpl): Don't adjust visibility here.
687         (moveDotImpl): Don't adjust visibility here.
688
689 2006-12-06  Roman Kennke  <kennke@aicas.com>
690
691         * gnu/java/awt/peer/gtk/AsyncImage.java
692         (Loader.run): Synchronize on the AsyncImage to avoid threading
693         issues.
694         (addObservers): Check for obs==null outside and synchronize on
695         this inside to avoid locking issues.
696         (checkImage): New helper method.
697         (notifyObservers): Check that the correct lock is held and
698         remove actual locking.
699         * gnu/java/awt/peer/gtk/GtkToolkit.java
700         (checkImage): Added special handling for AsyncImages.
701         
702 2006-12-06  Roman Kennke  <kennke@aicas.com>
703
704         * examples/gnu/classpath/examples/swing/Demo.java
705         (getIcon): Made package private.
706         * examples/gnu/classpath/examples/swing/HtmlDemo.java
707         (hyperlinkUpdate): Convert URL to string.
708
709 2006-12-06  Mark Wielaard  <mark@klomp.org>
710
711         * gnu/java/awt/peer/gtk/AsyncImage.java (addObserver): Never notify
712         null Observer.
713
714 2006-12-06  Roman Kennke  <kennke@aicas.com>
715
716         * examples/gnu/classpath/examples/icons/back.png,
717         * examples/gnu/classpath/examples/icons/reload.png:
718         New icons for the HTML browser.
719         * examples/gnu/classpath/examples/swing/HtmlDemo.java
720         (history): New field. Manages the browsing history.
721         (HtmlDemo): Initialize history.
722         (createContent): Set location and add history. Add toolbar.
723         (createToolBar): New helper method.
724         (main): Make default size bigger.
725         * examples/gnu/classpath/examples/swing/frame1.html,
726         * examples/gnu/classpath/examples/swing/frame2.html,
727         * examples/gnu/classpath/examples/swing/frame3.html,
728         * examples/gnu/classpath/examples/swing/frame4.html,
729         * examples/gnu/classpath/examples/swing/frames.html,
730         * examples/gnu/classpath/examples/swing/tables.html:
731         New example pages.
732         * examples/gnu/classpath/examples/swing/welcome.html
733         Add a couple of links and new test pages.
734
735 2006-12-06  Roman Kennke  <kennke@aicas.com>
736
737         * javax/swing/JEditorPane.java
738         (getStream): Buffer the stream for efficiency.
739         (setPage): Don't scroll the view at this point.
740         * javax/swing/plaf/basic/BasicTextUI.java
741         (RootView.paint): Call RootView's setSize to get synchronization.
742         (RootView.setSize): Synchronize to prevent race in layout code.
743         * javax/swing/text/AbstractDocument.java
744         (notifyListeners): New field.
745         (fireChangedUpdate): Track notifyListener field.
746         (fireRemoveUpdate): Track notifyListener field.
747         (fireIndertUpdate): Track notifyListener field.
748         (writeLock): Check notifyListener and throw IllegalStateException.
749         * javax/swing/text/View.java
750         (preferenceChanged): Create local var for better thread safety and
751         more efficiency.
752
753 2006-12-06  Thomas Fitzsimmons  <fitzsim@redhat.com>
754
755         * java/awt/ScrollPane.java (addNotify): Add a parent panel for any
756         lightweight component, not just for non-Panel components.
757         (addImpl): Do not call doLayout.
758         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
759         (setNativeBounds): Ensure widget parent is a GtkFixed before
760         calling gtk_fixed_move.
761         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
762         (setNativeBounds): Likewise.
763         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
764         (setNativeBounds): Likewise.
765
766 2006-12-06  Roman Kennke  <kennke@aicas.com>
767
768         * javax/swing/text/html/TableView.java
769         (RowView.layoutMajorAxis): Check column index for invalid value.
770         (updateGrid): Check column index for invalid value.
771
772 2006-12-06  Roman Kennke  <kennke@aicas.com>
773
774         * javax/swing/text/html/BlockView.java
775         (getAlignment): Align blocks horizontally by the superclass.
776         * javax/swing/text/html/HTMLEditorKit.java
777         (HTMLFactory.create): Replace equals comparison by == for efficiency.
778         Add mapping for misplaced tr, td and th tags. Include object mapping.
779         * javax/swing/text/html/TableView.java
780         (RowView.replace): Invalidate grid early.
781         (gridValid): Initialize with false.
782         (create): Only create RowView and CellView for correctly placed
783         tags. Avoid unnecessary casts.
784         (getAlignment): Removed.
785         (replace): Invalidate grid early.
786
787 2006-12-06  Francis Kung  <fkung@redhat.com>
788
789         * java/awt/geom/RectangularShape.java
790         (getBounds): Remove empty rectangle check.
791
792 2006-12-06  Ben Konrath  <bkonrath@redhat.com>
793
794         Fixes PR 29853.
795         * gnu/xml/dom/DomAttr.java: Don't report mutation if oldValue and
796         newValue are the same.
797         * gnu/xml/dom/DomNode.java: Set parent if null during mutation.
798
799 2006-12-06  Tania Bento  <tbento@redhat.com>
800
801         * javax/swing/border/CompoundBorder.java:
802         (isBorderOpaque): If inside border is null, return true if outside
803         border is opaque, false otherwise; if outside border is null, return
804         true if inside border is opaque, false otherwise; if inside or
805         outside border are both not null, then return true only if both the
806         inside and outside border are opaque, false otherwise.
807
808 2006-12-06  Tania Bento  <tbento@redhat.com>
809
810         * javax/swing/border/CompoundBorder.java:
811         (isBorderOpaque): If inside and outside border both have a null
812         value, return true.
813
814 2006-12-06  Chris Burdess  <dog@gnu.org>
815
816         Fixes PR 29272.
817         * javax/xml/parsers/DocumentBuilderFactory.java: Fix broken Javadoc.
818         * gnu/xml/stream/SAXParser.java: Fix file descriptor leak.
819
820 2006-12-06  Chris Burdess  <dog@gnu.org>
821
822         Fixes PR 29264.
823         * gnu/xml/stream/XMLStreamWriterImpl.java: Allow arbitrary text in
824           writeDTD method.
825
826 2006-12-06  Chris Burdess  <dog@gnu.org>
827
828         Fixes PR 28816.
829         * javax/xml/validation/SchemaFactory.java: Use correct algorithm to
830           discover schema factory implementation class.
831
832 2006-12-05  Francis Kung  <fkung@redhat.com>
833
834         * java/awt/BasicStroke.java
835         (capEnd): Prevent division by zero.
836         * java/awt/geom/Arc2D.java
837         (ArcIterator.ArcIterator): Do not shift the arc to make the extent positive.
838         (ArcIterator.currentSegment): Handle a negative extent.
839
840 2006-12-05  Francis Kung  <fkung@redhat.com>
841
842         * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
843         (constructor): Handle translated subimages properly, ie, if the image's
844         0,0 position is not the data buffer's first element.
845
846 2006-12-05  Roman Kennke  <kennke@aicas.com>
847
848         * gnu/java/awt/peer/gtk/AsyncImage.java
849         (Loader.run): Nullify observers after loading.
850         (observers): Made package private.
851         (addObserver): Check for null observers field. Create local
852         variable for thread safety.
853         (getHeight): Use addObserver() for checking state of field
854         and notifying observer when necessary.
855         (getWidth): Use addObserver() for checking state of field
856         and notifying observer when necessary.
857         (getProperty): Use addObserver() for checking state of field
858         and notifying observer when necessary.
859         (notifyObservers): Check for null observers field. Create local
860         variable for thread safety.
861
862 2006-12-05  Roman Kennke  <kennke@aicas.com>
863
864         * javax/swing/text/html/HTMLEditorKit.java
865         (HTMLFactory.create): Removed debug output.
866         * javax/swing/text/html/InlineView.java
867         (getBreakWeight): Likewise.
868         * javax/swing/text/html/StyleSheet.java
869         (addRule): Likewise.
870         (ListPainter.paint): Removed debug output.
871
872 2006-12-05  Roman Kennke  <kennke@aicas.com>
873
874         * javax/swing/text/html/BlockView.java
875         (painter): Made package visible.
876         * javax/swing/text/html/StyleSheet.java
877         (translateBorder): New helper method.
878         (translateHTMLToCSS): Add mappings for border attributes.
879         * javax/swing/text/html/TableView.java
880         Made class subclass of BlockView to get CSS goodness.
881         (CellView.rowSpan): New field.
882         (CellView.setPropertiesFromAttributes): Fetch rowspan.
883         (RowView.overlap): New field.
884         (RowView.rowIndex): New field.
885         (RowView.layoutMajorAxis): Skip overlapping cells.
886         (RowView.layoutMinorAxis): Layout cells that span more than 1 row.
887         (numColumns): New field.
888         (tmpRect): New field.
889         (TableView): Initialize tmpRect.
890         (calculateColumnRequirements): Adjusted and fixed for multirows.
891         (getAlignment): Overridden to center tables.
892         (paint): Overridden to fix clipping.
893         (getStyleSheet): Made protected.
894         (layoutMajorAxis): Invalidate rows.
895         (setPropertiesFromAttributes): Made protected and call super.
896         (updateGrid): Update the overlapping information for multirows.
897
898 2006-12-05  Roman Kennke  <kennke@aicas.com>
899
900         * gnu/java/awt/peer/gtk/AsyncImage.java
901         (addObserver): Check for null and ignore null observers.
902         (getWidth): Check for null and ignore null observers.
903         (getHeight): Check for null and ignore null observers.
904         (getProperty): Check for null and ignore null observers.
905
906 2006-12-05  Francis Kung  <fkung@redhat.com>
907
908         * java/awt/BasicStroke.java
909         (capEnd): Prevent division by zero.
910         * java/awt/geom/Arc2D.java
911         (ArcIterator.ArcIterator): Do not shift the arc to make the extent positive.
912         (ArcIterator.currentSegment): Handle a negative extent.
913
914 2006-12-05  Francis Kung  <fkung@redhat.com>
915
916         * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
917         (constructor): Handle translated subimages properly, ie, if the image's
918         0,0 position is not the data buffer's first element.
919
920 2006-12-05  Roman Kennke  <kennke@aicas.com>
921
922         * javax/swing/text/html/ImageView.java
923         (imageUpdate): Use spans field to determine if the CSS width/height
924         are set. Call safePreferenceChanged to protect view structure
925         from threading issues.
926         (spans): Made package private.
927         (ImageView): Initialize loadOnDemand with false.
928         (loadImage): Call Toolkit.prepareImage() to make sure we have
929         our Observer registered.
930         (safePreferenceChanged): New helper method. Calls preferenceChanged
931         in a thread safe environment.
932
933 2006-12-05  Roman Kennke  <kennke@aicas.com>
934
935         * NEWS: Add entry about improved HTML support.
936
937 2006-12-05  Roman Kennke  <kennke@aicas.com>
938
939         * javax/swing/text/html/ImageView.java
940         (ImageView): Initialize spans array here.
941         (setPropertiesFromAttributes): Moved init of spans array to
942         constructor.
943
944 2006-12-05  Roman Kennke  <kennke@aicas.com>
945
946         * javax/swing/text/html/BlockView.java
947         (painter): Made package visible.
948         * javax/swing/text/html/StyleSheet.java
949         (translateBorder): New helper method.
950         (translateHTMLToCSS): Add mappings for border attributes.
951         * javax/swing/text/html/TableView.java
952         Made class subclass of BlockView to get CSS goodness.
953         (CellView.rowSpan): New field.
954         (CellView.setPropertiesFromAttributes): Fetch rowspan.
955         (RowView.overlap): New field.
956         (RowView.rowIndex): New field.
957         (RowView.layoutMajorAxis): Skip overlapping cells.
958         (RowView.layoutMinorAxis): Layout cells that span more than 1 row.
959         (numColumns): New field.
960         (tmpRect): New field.
961         (TableView): Initialize tmpRect.
962         (calculateColumnRequirements): Adjusted and fixed for multirows.
963         (getAlignment): Overridden to center tables.
964         (paint): Overridden to fix clipping.
965         (getStyleSheet): Made protected.
966         (layoutMajorAxis): Invalidate rows.
967         (setPropertiesFromAttributes): Made protected and call super.
968         (updateGrid): Update the overlapping information for multirows.
969
970 2006-12-05  Roman Kennke  <kennke@aicas.com>
971
972         * javax/swing/text/html/HTMLEditorKit.java
973         (HTMLFactory.create): Removed debug output.
974         * javax/swing/text/html/InlineView.java
975         (getBreakWeight): Likewise.
976         * javax/swing/text/html/StyleSheet.java
977         (addRule): Likewise.
978         (ListPainter.paint): Removed debug output.
979
980 2006-12-06  Roman Kennke  <kennke@aicas.com>
981
982         * javax/swing/text/html/BlockView.java
983         (getAlignment): Align blocks horizontally by the superclass.
984         * javax/swing/text/html/HTMLEditorKit.java
985         (HTMLFactory.create): Replace equals comparison by == for efficiency.
986         Add mapping for misplaced tr, td and th tags. Include object mapping.
987         * javax/swing/text/html/TableView.java
988         (RowView.replace): Invalidate grid early.
989         (gridValid): Initialize with false.
990         (create): Only create RowView and CellView for correctly placed
991         tags. Avoid unnecessary casts.
992         (getAlignment): Removed.
993         (replace): Invalidate grid early.
994
995
996 2006-12-06  Roman Kennke  <kennke@aicas.com>
997
998         * javax/swing/text/html/TableView.java
999         (RowView.layoutMajorAxis): Check column index for invalid value.
1000         (updateGrid): Check column index for invalid value.
1001
1002 2006-12-06  Roman Kennke  <kennke@aicas.com>
1003
1004         * javax/swing/JEditorPane.java
1005         (getStream): Buffer the stream for efficiency.
1006         (setPage): Don't scroll the view at this point.
1007         * javax/swing/plaf/basic/BasicTextUI.java
1008         (RootView.paint): Call RootView's setSize to get synchronization.
1009         (RootView.setSize): Synchronize to prevent race in layout code.
1010         * javax/swing/text/AbstractDocument.java
1011         (notifyListeners): New field.
1012         (fireChangedUpdate): Track notifyListener field.
1013         (fireRemoveUpdate): Track notifyListener field.
1014         (fireIndertUpdate): Track notifyListener field.
1015         (writeLock): Check notifyListener and throw IllegalStateException.
1016         * javax/swing/text/View.java
1017         (preferenceChanged): Create local var for better thread safety and
1018         more efficiency.
1019
1020 2006-12-06  Roman Kennke  <kennke@aicas.com>
1021
1022         * examples/gnu/classpath/examples/icons/back.png,
1023         * examples/gnu/classpath/examples/icons/reload.png:
1024         New icons for the HTML browser.
1025         * examples/gnu/classpath/examples/swing/HtmlDemo.java
1026         (history): New field. Manages the browsing history.
1027         (HtmlDemo): Initialize history.
1028         (createContent): Set location and add history. Add toolbar.
1029         (createToolBar): New helper method.
1030         (main): Make default size bigger.
1031         * examples/gnu/classpath/examples/swing/frame1.html,
1032         * examples/gnu/classpath/examples/swing/frame2.html,
1033         * examples/gnu/classpath/examples/swing/frame3.html,
1034         * examples/gnu/classpath/examples/swing/frame4.html,
1035         * examples/gnu/classpath/examples/swing/frames.html,
1036         * examples/gnu/classpath/examples/swing/tables.html:
1037         New example pages.
1038         * examples/gnu/classpath/examples/swing/welcome.html
1039         Add a couple of links and new test pages.
1040
1041 2006-12-06  Roman Kennke  <kennke@aicas.com>
1042
1043         * examples/gnu/classpath/examples/swing/Demo.java
1044         (getIcon): Made package private.
1045         * examples/gnu/classpath/examples/swing/HtmlDemo.java
1046         (hyperlinkUpdate): Convert URL to string.
1047
1048 2006-12-06  Roman Kennke  <kennke@aicas.com>
1049
1050         * javax/swing/text/DefaultCaret.java
1051         (appear): Adjust visibility here.
1052         (setDotImpl): Don't adjust visibility here.
1053         (moveDotImpl): Don't adjust visibility here.
1054
1055 2006-12-06  Roman Kennke  <kennke@aicas.com>
1056
1057         * javax/swing/text/html/FormView.java
1058         (SubmitThread.postData): Implemented.
1059         (SubmitThread.run): Pass data to postData().
1060         (actionPerformed): Reset form when reset button is activated.
1061         (createComponent): Add support for select lists and comboboxes.
1062         Don't set value of text and password fields here, this is done
1063         now in HTMLDocument for consistency.
1064         (getElementFormData): Add support for fetching form data from
1065         select lists and comboboxes as well as textareas.
1066         (getSelectData): New helper method. Fetches form data from
1067         select boxes.
1068         (getTextAreaData): New helper method. Fetches form data from
1069         textareas.
1070         (resetForm): New helper method. Resets the entire form.
1071         * javax/swing/text/html/HTMLDocument.java
1072         (HTMLReader.FormAction.end): Handle SELECT and OPTION tags.
1073         (HTMLReader.FormAction.start): Handle SELECT and OPTION tags.
1074         (HTMLReader.FormAction.setModel): Initialize text and password
1075         values here. Also, use the resetable special models.
1076         Group radio buttons into ButtonGroup for exclusive selection.
1077         (HTMLReader.FormTagAction): New class. Handles FORM tags.
1078         (HTMLReader.buttonGroups): New field.
1079         (HTMLReader.numOptions): New field.
1080         (HTMLReader.option): New field.
1081         (HTMLReader.selectModel): New field.
1082         (HTMLReader.textAreaDocument): Make ResetablePlainDocument.
1083         (HTMLReader.handleText): Handle OPTION text.
1084         (HTMLReader.initTags): Map FORM tags to FormTagAction.
1085         (HTMLReader.textAreaContent): Set initial content.
1086         * javax/swing/text/html/Option.java
1087         (Option): Make copy of attribute set. Initialize selected state.
1088         (getValue): Fetch value from attribute set.
1089         * javax/swing/text/html/ResetableModel.java: New interface.
1090         * javax/swing/text/html/ResetablePlainDocument.java: New class.
1091         Supports resetting the state.
1092         * javax/swing/text/html/ResetableToggleButtonModel.java: Likewise.
1093         * javax/swing/text/html/SelectComboBoxModel.java: Likewise.
1094         * javax/swing/text/html/SelectListModel.java: Likewise.
1095
1096 2006-12-06  Roman Kennke  <kennke@aicas.com>
1097
1098         * examples/gnu/classpath/examples/swing/BrowserEditorKit.java:
1099         New class.
1100         * examples/gnu/classpath/examples/swing/HtmlDemo.java
1101         (LoadActionListener): Call setPage() helper method.
1102         (createContent): Register tweaked editor kit. For FormSubmitEvents
1103         call submitForm(), otherwise setPage().
1104         (postData): Helper method for posting form data.
1105         (setPage): Helper method for navigating to a new URL.
1106         (submitForm): Helper method for submitting a form.
1107         * examples/gnu/classpath/examples/swing/forms.html:
1108         Added text/password fields and select boxes.
1109         * examples/gnu/classpath/examples/swing/welcome.html: Fixed typo.
1110
1111 2006-12-07  Mark Wielaard  <mark@klomp.org>
1112
1113         * java/net/URL.java (URL(URL,String,URLStreamHandler,boolean)): New
1114         private constructor.
1115         (URL(URL,String,URLStreamHandler)): Call new constructor.
1116         (URL(URL,String)): Likewise.
1117         (URL(String)): Likewise.
1118
1119 2006-12-07  Mark Wielaard  <mark@klomp.org>
1120
1121         * javax/swing/JEditorPane.java (createEditorKitForContentType):
1122         Always load from system class loader.
1123
1124 2006-12-06  Ben Konrath  <bkonrath@redhat.com>
1125
1126         Fixes PR 29853.
1127         * gnu/xml/dom/DomAttr.java: Don't report mutation if oldValue and
1128         newValue are the same.
1129         * gnu/xml/dom/DomNode.java: Set parent if null during mutation.
1130
1131 2006-12-06  Chris Burdess  <dog@gnu.org>
1132
1133         Fixes PR 29272.
1134         * javax/xml/parsers/DocumentBuilderFactory.java: Fix broken Javadoc.
1135         * gnu/xml/stream/SAXParser.java: Fix file descriptor leak.
1136
1137 2006-12-06  Chris Burdess  <dog@gnu.org>
1138
1139         Fixes PR 29264.
1140         * gnu/xml/stream/XMLStreamWriterImpl.java: Allow arbitrary text in
1141         writeDTD method.
1142
1143 2006-12-056  Chris Burdess  <dog@gnu.org>
1144
1145         Fixes PR 28816.
1146         * javax/xml/validation/SchemaFactory.java: Use correct algorithm to
1147         discover schema factory implementation class.
1148
1149 2006-12-05  Roman Kennke  <kennke@aicas.com>
1150
1151         * gnu/java/awt/peer/gtk/AsyncImage.java: New class. Supports
1152         asynchronous loading of images.
1153         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
1154         (drawImage): Fetch real image from possibly AsyncImage.
1155         * gnu/java/awt/peer/gtk/ComponentGraphics.java
1156         (drawImage): Fetch real image from possibly AsyncImage.
1157         * gnu/java/awt/peer/gtk/GtkToolkit.java
1158         (createImage(URL)): Create async image.
1159         (imageOrError): Made method static for easy access from AsyncImage.
1160         (prepareImage): For async images, register the observer to the
1161         image.
1162
1163 2006-12-05  Roman Kennke  <kennke@aicas.com>
1164
1165         (paintComponent): Include paint area from event.
1166         (updateComponent): Include paint area from event.
1167
1168 2006-12-06  Thomas Fitzsimmons  <fitzsim@redhat.com>
1169
1170         * java/awt/ScrollPane.java (addNotify): Add a parent panel for any
1171         lightweight component, not just for non-Panel components.
1172         (addImpl): Do not call doLayout.
1173         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
1174         (setNativeBounds): Ensure widget parent is a GtkFixed before
1175         calling gtk_fixed_move.
1176         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
1177         (setNativeBounds): Likewise.
1178         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
1179         (setNativeBounds): Likewise.
1180
1181 2006-12-04  Thomas Fitzsimmons  <fitzsim@redhat.com>
1182
1183         * java/awt/Component.java (getFontImpl): Return a default font if
1184         topmost parent's font is null.
1185
1186 2006-12-04  Mark Wielaard  <mark@klomp.org>
1187
1188         * javax/swing/text/html/CSS.java (parseMarginShorthand):
1189         Remove debug output.
1190
1191 2006-12-04  Roman Kennke  <kennke@aicas.com>
1192
1193         * java/awt/font/TextLayout.java
1194         (hitTestChar): Fixed conditions for inclusion of range.
1195         Use layout information in the run for more efficiency.
1196
1197 2006-12-04  Roman Kennke  <kennke@aicas.com>
1198
1199         * javax/swing/text/GlyphView.java
1200         (J2DGlyphPainter): New inner class.
1201         (checkPainter): For Java2D capable environments create
1202         a J2DGlyphPainter.
1203
1204 2006-12-04  Roman Kennke  <kennke@aicas.com>
1205
1206         * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
1207         (FreeTypeGlyphVector): Don't filter control chars here.
1208         (getGlyphs): Filter control chars and replace them by
1209         hair space char.
1210
1211 2006-12-04  Roman Kennke  <kennke@aicas.com>
1212
1213         * native/jni/java-nio/gnu_java_nio_VMChannel.c
1214         (Java_gnu_java_nio_VMChannel_connect): Retry on EINTR.
1215
1216 2006-12-04  Andrew John Hughes  <gnu_andrew@member.fsf.org>
1217
1218         * gnu/java/lang/management/BeanImpl.java:
1219         (translate(String)): Don't assume the list uses "E",
1220         just use the first and only type variable.
1221         * java/lang/management/ManagementFactory.java:
1222         (getPlatformMBeanServer()): Register logging bean.
1223         * javax/management/openmbean/OpenType.java:
1224         (OpenType(String,String,String)): Actually use
1225         the string created to handle arrays.
1226         
1227 2006-12-04  Mark Wielaard  <mark@klomp.org>
1228
1229         * native/jni/java-nio/gnu_java_nio_VMChannel.c
1230         (JCL_thread_interrupted): Use CallStaticBooleanMethod.
1231
1232 2006-12-04  Mark Wielaard  <mark@klomp.org>
1233
1234         * vm/reference/gnu/java/nio/VMChannel.java (isThreadInterrupted):
1235         Make static.
1236         * native/jni/java-nio/gnu_java_nio_VMChannel.c
1237         (JCL_thread_interrupted): Only take JNIEnv.
1238         (vm_channel_class): New static variable.
1239         (initID): Set vm_channel_class.
1240         Wrap all reads() and writes() in do-while blocks that check
1241         interrupted status.
1242
1243 2006-12-04  Andrew John Hughes  <gnu_andrew@member.fsf.org>
1244
1245         * gnu/javax/management/Server.java:
1246         Make map final and initialise it.
1247         (unregisterMBean(ObjectName)): Match against
1248         delegate's object name and not the instance.
1249         * java/lang/management/ManagementFactory.java:
1250         Added constant fields.
1251         (getPlatformMBeanServer()): Implemented.
1252         * javax/management/MBeanServerFactory.java: New file.
1253         
1254 2006-12-04  Roman Kennke  <kennke@aicas.com>
1255
1256         * javax/swing/text/BoxView.java
1257         (paint): Replaced painting algorithm with more simple and more
1258         reliable painting of the box.
1259         * javax/swing/text/html/BlockView.java
1260         (PositionInfo): New inner class. Stores additional CSS
1261         positioning information.
1262         (positionInfo): New field.
1263         (BlockView): Initialize positionInfo field.
1264         (fetchLayoutInfo): New helper method. Fetches additional
1265         CSS positioning information.
1266         (layoutMajorAxis): Perform additional CSS layout.
1267         (layoutMinorAxis): Perform additional CSS layout.
1268         (positionView): New helper method.
1269         (replace): Overridden to fetch additional layout information.
1270         * javax/swing/text/html/CSS.java
1271         (Attribute.POSITION): New field.
1272         (Attribute.LEFT): New field.
1273         (Attribute.RIGHT): New field.
1274         (Attribute.TOP): New field.
1275         (Attribute.BOTTOM): New field.
1276         (getValue): Create Length for left, right, top and bottom
1277         attributes.
1278
1279 2006-12-04  Roman Kennke  <kennke@aicas.com>
1280
1281         * gnu/javax/swing/text/html/parser/support/Parser.java
1282         (Sgml): Consume any whitespace that immediately follows
1283         and sgml insertion.
1284         (parseDocument): Consume any initial whitespace.
1285
1286 2006-12-03  Mark Wielaard  <mark@klomp.org>
1287
1288         * gnu/javax/management/Server.java (beans): Initialize.
1289         (registerMBean): Don't initialize beans.
1290
1291 2006-12-03  Mark Wielaard  <mark@klomp.org>
1292
1293         * java/util/logging/LogManager.java (getLevelProperty): Check
1294         whether value is null before passing to Level.parse().
1295
1296 2006-12-04  Robert Lougher  <rob.lougher@gmail.com>
1297
1298         * java/lang/management/ThreadInfo.java (ThreadInfo): Check
1299         whether given a null lock and lockOwner.
1300
1301 2006-12-03  Mark Wielaard  <mark@klomp.org>
1302
1303         * javax/swing/JEditorPane.java (PageLoader.in): Made a PageStream.
1304         (PageLoader.page): Made package local.
1305         (PageLoader.run): Don't reset loader.
1306         (PageLoader.cancel): New method.
1307         (loading): Renamed to loader.
1308         (getPage): Return loader.page.
1309         (setPage): Always set loader. Never reset to null.
1310
1311 2006-12-03  Mark Wielaard  <mark@klomp.org>
1312
1313         * javax/swing/plaf/basic/BasicTreeUI.java (paint): Check whether
1314         path[k] is null.
1315         (isLastChild): Return false when path is null.
1316
1317 2006-12-03  Mark Wielaard  <mark@klomp.org>
1318
1319         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (paintArea): Renamed
1320         to currentPaintArea.
1321         (paintComponent): Work with local reference to currentPaintArea.
1322         (updateComponent): Likewise.
1323         (coalescePaintEvent): Set currentPaintArea.
1324
1325 2006-12-02  Andrew John Hughes  <gnu_andrew@member.fsf.org>
1326
1327         * javax/management/MBeanServerBuilder.java: New file.
1328         
1329 2006-12-01  Mark Wielaard  <mark@klomp.org>
1330
1331         * java/text/DecimalFormat.java (parse): Always increment parsing
1332         index and adjust pos result.
1333
1334 2006-12-01  Roman Kennke  <kennke@aicas.com>
1335
1336         * javax/swing/text/html/HTML.java
1337         (Attribute.DYNAMIC_CLASS): New field.
1338         (Attribute.PSEUDO_CLASS): New field.
1339         * javax/swing/text/html/HTMLDocument.java
1340         (HTMLReader.CharacterAction.start): Initialize anchor with link
1341         pseudo attribute.
1342         (updateSpecialClass): New helper method. Updates the dynamic
1343         or pseudo class for anchor tags.
1344         * javax/swing/text/html/HTMLEditorKit.java
1345         (LinkController.lastAnchorElement): New field. For tracking
1346         enter/exit of anchors.
1347         (LinkController.activateLink): Set pseudo class to 'visited'.
1348         (LinkController.mouseMoved): Added support for tracking
1349         the 'hover' dynamic class.
1350         * javax/swing/text/html/InlineView.java
1351         (changedUpdate): Fetch new properties.
1352         * javax/swing/text/html/StyleSheet.java
1353         (attributeSetToMap): New helper method.
1354         (getRule): Also append dynamic and pseudo class to key.
1355         (resolveStyle): Resolve style based generally on all attributes.
1356         * javax/swing/text/html/TableView.java
1357         (RowView.layoutMajorAxis): Make sure the grid is valid.
1358         (updateGrid): Made package private.
1359         * gnu/javax/swing/text/html/css/Selector.java
1360         (calculateSpecificity): Added support for dynamic and pseudo classes.
1361         (matches): Changed to operate on general attributes.
1362         Added support for dynamic and pseudo classes.
1363
1364 2006-12-01  Mario Torre  <neugens@limasoftware.net>
1365
1366         * java/text/DecimalFormat.java (formatInternal): move the formatting of
1367         fractional portion in a separate method.
1368         Also fixes the handling of decimal separator and its associated field.
1369         (handleFractionalPart): new method, needed to relax a bit
1370         formatInternal.
1371         
1372 2006-12-01  Andrew John Hughes  <gnu_andrew@member.fsf.org>
1373
1374         * java/beans/beancontext/BeanContextServicesSupport.java:
1375         (BCSSProxyServiceProvider.getCurrentServiceSelectors(BeanContextServices,
1376         Class)): Implemented.
1377         (BCSSProxyServiceProvider.getService(BeanContextServices, Object,
1378         Class, Object)): Implemented.
1379         (BCSSProxyServiceProvider.releaseService(BeanContextServices,
1380         Object, Object)): Implemented.
1381         (BCSSProxyServiceProvider.serviceRevoked(BeanContextServiceRevokedEvent)):
1382         Implemented.
1383         (initialiseBeanContextResources()): Implemented.
1384         (releaseBeanContextResoures()): Implemented.
1385         
1386 2006-12-01  Mark Wielaard  <mark@klomp.org>
1387
1388         * include/gnu_java_awt_peer_gtk_GdkFontPeer.h: Regenerated.
1389
1390 2006-12-01  Roman Kennke  <kennke@aicas.com>
1391
1392         * gnu/javax/swing/text/html/css/BorderStyle.java: New class for
1393         handling border styles.
1394         * gnu/javax/swing/text/html/css/BorderWidth.java
1395         (isValid): New method.
1396         * gnu/javax/swing/text/html/css/Length.java
1397         (isValid): New method.
1398         * javax/swing/text/html/CSS.java
1399         (addInternal): Added shorthand parsing for border, padding and
1400         margin.
1401         (parseBackgroundShorthand): Added API docs.
1402         (parsePaddingShorthand): New method. Handles padding shorthand
1403         values.
1404         (parseMarginShorthand): New method. Handles margin shorthand
1405         values.
1406         (parseBorderShorthand): New method. Handles border shorthand
1407         values.
1408         * javax/swing/text/html/StyleSheet.java
1409         (translateHTMLToCSS): Set specific padding attributes.
1410         (BoxPainter.BoxPainter): Don't handle PADDING and MARGIN here.
1411         These shorthands are now handled in CSS.
1412         (BoxPainter.paint): Exclude the outer margin.
1413
1414 2006-12-01  Roman Kennke  <kennke@aicas.com>
1415
1416         * gnu/javax/swing/text/html/css/Length.java
1417         (emBase): New field.
1418         (exBase): New field.
1419         (isFontEMRelative): New field.
1420         (isFontEXRelative): New field.
1421         (Length): Recognize and setup EM and EX relative values.
1422         (getValue): Handle EM and EX relative values.
1423         (isEMRelative): New method.
1424         (isEXRelative): New method.
1425         (setEMBase): New method.
1426         (setEXBase): New method.
1427         (setFontBases): New method.
1428         * gnu/javax/swing/text/html/parser/support/Parser.java
1429         (_handleEmptyTag): Use new isBlock() helper method.
1430         (_handleEndTag_remaining): Use new isBlock() helper method.
1431         (_handleStartTag): Consume whitespace after block start tag.
1432         (Comment): Consume whitespace after a comment.
1433         (isBlock): New helper method.
1434         (readAttributes): Consider all characters in unquoted attribute
1435         values.
1436         * javax/swing/text/html/BlockView.java
1437         (layoutMinorAxis): Use cached span value.
1438         (paint): Added debug code (commented out).
1439         (setPropertiesFromAttributes): Set the EM and EX base on lengths.
1440         * javax/swing/text/html/CSSBorder.java
1441         (CSSBorder): Take StyleSheet as argument. Call getBorderWidth()
1442         with stylesheet.
1443         (getBorderWidth): Set the EM and EX base on the length values.
1444         * javax/swing/text/html/HTMLDocument.java
1445         (HTMLReader.ParagraphAction.end): Do not set the inParagraph field.
1446         (HTMLReader.ParagraphAction.start): Do not set the inParagraph field.
1447         (HTMLReader.inImpliedParagraph): Removed.
1448         (HTMLReader.inParagraph): Removed.
1449         (HTMLReader.parseStack): New field.
1450         (HTMLReader.addContent): Use new paragraph handling.
1451         (HTMLReader.addSpecialElement): Use new paragraph handling.
1452         (HTMLReader.blockClose): Use new paragraph handling.
1453         (HTMLReader.blockOpen): Use new paragraph handling.
1454         (HTMLReader.inImpliedParagraph): New helper method.
1455         (HTMLReader.inParagraph): New helper method.
1456         * javax/swing/text/html/ImageView.java
1457         (attributes): New field. Caches view attributes.
1458         (spans): New field. Caches CSS spans.
1459         (getAttributes): Correctly setup CSS view attributes.
1460         (getPreferredSpan): Use caches spans.
1461         (getStyleSheet): Use the view's getDocument() method.
1462         (setPropertiesFromAttributes): Cache spans and setup EM and EX.
1463         (updateSize): Use cached spans.
1464         * javax/swing/text/html/ParagraphView.java
1465         (setPropertiesFromAttributes): Setup EM and EX.
1466         * javax/swing/text/html/StyleSheet.java
1467         (BoxPainter.BoxPainter): Setup EM and EX correctly.
1468         (getEMBase): New helper method.
1469         (getEXBase): New helper method.
1470         * javax/swing/text/html/TableView.java
1471         (width): New field. Caches the table width.
1472         (calculateMinorAxisRequirements): Use caches span.
1473         (setPropertiesFromAttributes): Cache span and setup EM/EX.
1474         (updateGrid): Correctly setup EM/EX.
1475
1476 2006-11-30  Roman Kennke  <kennke@aicas.com>
1477
1478         * javax/swing/text/html/FormSubmitEvent.java: New class.
1479         * javax/swing/text/html/FormView.java
1480         (SubmitThread): New class for submitting data in a separate thread.
1481         (actionPerformed): Fetch the actual for data.
1482         (addData): New helper method.
1483         (getElementFormData): New helper method.
1484         (getFormData): New helper method.
1485         (getInputFormData): New helper method.
1486         (submitData): Implemented.
1487         * javax/swing/text/html/FrameView.java
1488         (createComponent): Add this as hyperlink listener.
1489         Set the target document as frame document.
1490         (getTopEditorPane): New helper method.
1491         (hyperlinkUpdate): Implementation of the HyperlinkListener interface.
1492         (handleHyperlinkEvent): New helper method.
1493         (handleFormSubmitEvent): New helper method.
1494         * javax/swing/text/html/HTMLDocument.java
1495         (HTMLReader.BaseAction.start): Track the base target.
1496         (HTMLReader.BaseAction.end): Removed.
1497         (baseTarget): New field.
1498         (frameDocument): New field.
1499         (getBaseTarget): New property accessor.
1500         (isFrameDocument): New property accessor.
1501         (processHTMLFrameHyperlinkEvent): Implemented.
1502         (setFrameDocument): New property accessor.
1503         (updateFrame): New helper method.
1504         (updateFrameSet): New helper method.
1505         * javax/swing/text/html/HTMLEditorKit.java
1506         (LinkController.createHyperlinkEvent): Handle frame documents.
1507         (autoFormSubmission): New field.
1508         (HTMLEditorKit): Set autoFormSubmission to true.
1509         (isAutoFormSubmission): New property accessor.
1510         (setAutoFormSubmission): New property accessor.
1511
1512 2006-11-30  Roman Kennke  <kennke@aicas.com>
1513
1514         * javax/swing/text/ElementIterator.java
1515         (ElementRef): New inner class.
1516         (currentDepth): Removed.
1517         (currentElement): Removed.
1518         (previousItem): Removed.
1519         (stack): New field. Holds the iteration stack.
1520         (state): Removed.
1521         (ElementIterator(Document)): Removed init of removed fields.
1522         (ElementIterator(Element)): Removed init of removed fields.
1523         (current): Changed to stack based algorithm.
1524         (deepestLeaf): New helper method.
1525         (depth): Changed to stack based algorithm.
1526         (first): Changed to stack based algorithm.
1527         (next): Changed to stack based algorithm.
1528         (previous): Changed to stack based algorithm.
1529
1530 2006-11-30  Francis Kung  <fkung@redhat.com>
1531
1532         * .settings/org.eclipse.jdt.core.prefs: Set compilar compliance to 1.4.
1533         * .externalToolBuilders/ClasspathJar.launch: Include sun.* classses.
1534
1535 2006-11-30  Francis Kung  <fkung@redhat.com>
1536
1537         * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
1538         (draw): Set transform in buffered composite.
1539         (drawComposite): Do not transform bounds; round bounds.
1540         (drawGlyphVector):  Set transform in buffered composite.
1541         (drawRenderedImage):  Set transform in buffered composite.
1542         (fill):  Set transform in buffered composite.
1543         (updateBufferedImage): Fix scanline & height calculations.
1544         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
1545         (createPath): Simplify width & height calculation.
1546         (drawImage): Also transform width & height.
1547
1548 2006-11-30  Roman Kennke  <kennke@aicas.com>
1549
1550         * javax/swing/text/html/FrameSetView.java: New class. Implements
1551         HTML framesets.
1552         * javax/swing/text/html/FrameView.java: New class. Implements
1553         HTML frames.
1554         * javax/swing/text/html/HTMLDocument.java:
1555         (HTMLReader.addSpecialElement): Only add one artificial space.
1556         * javax/swing/text/html/HTMLEditorKit.java
1557         (HTMLFactory.create): Uncomment code for FrameSetView and FrameView.
1558         * gnu/javax/swing/text/html/parser/support/Parser.java
1559         (_handleEmptyTag): Also consume whitespace after frame tags.
1560
1561 2006-11-30  Gary Benson  <gbenson@redhat.com>
1562
1563         * java/lang/Thread.java: Javadoc fixes.
1564
1565 2006-11-29  Tom Tromey  <tromey@redhat.com>
1566
1567         PR classpath/28203:
1568         * java/lang/Class.java (getAnnotations): Rewrote.
1569
1570 2006-11-29  Tania Bento  <tbento@redhat.com>
1571
1572         * tools/gnu/classpath/tools/appletviewer/TagParser.java:
1573         (parseParams): Unescape 'val' before putting it into the Map.
1574         (unescapeString): New private method.
1575
1576 2006-11-29  Tom Tromey  <tromey@redhat.com>
1577
1578         * tools/gnu/classpath/tools/getopt/package.html: New file.
1579
1580 2006-11-29  David Gilbert  <david.gilbert@object-refinery.com>
1581
1582         * javax/swing/plaf/metal/MetalIconFactory.java
1583         (HorizontalSliderThumbIcon.paintIcon()): Commented out gradient paint,
1584         (VerticalSliderThumbIcon.paintIcon()): Likewise.
1585
1586 2006-11-29  Mario Torre  <neugens@limasoftware.net>
1587
1588         * java/text/NumberFormat.java (getCurrencyInstance): Replaced dollar sign
1589         with the default international currency sign \u00A4.
1590         * java/text/DecimalFormat.java (scanFix): Fix to use the localized symbol
1591         table for string formatting.
1592         (formatInternal): likewise.
1593         (scanNegativePattern): likewise.
1594         (applyPattern): likewise.
1595         * java/text/DecimalFormatSymbols.java (clone): Revert to old version as
1596         Locale is immutable and does not need clone.
1597
1598 2006-11-29  Francis Kung  <fkung@redhat.com>
1599
1600         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
1601         (drawLine): Remove hard-coded pixel shifting.
1602
1603 2006-11-29  Roman Kennke  <kennke@aicas.com>
1604
1605         * java/awt/Component.java
1606         (isShowing): Simplified condition code and avoid unnecessary
1607         if-codepaths.
1608         (coalesceEvents): Always coalesce paint events and let the peer
1609         figure out the expanding of the repaint area.
1610         * gnu/java/awt/peer/swing/SwingComponentPeer.java
1611         (currentPaintEvents): Removed. Replaced by paintArea.
1612         (paintArea): New field. Tracks the dirty area.
1613         (SwingComponentPeer): Removed init of currentPaintEvents.
1614         (coalescePaintEvent): Simplified to only union the dirty regions.
1615         (handleEvent): Paint dirty region that was tracked in paintArea.
1616         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
1617         (paintArea): New field. Tracks the dirty region.
1618         (coalescePaintEvent): Implemented to track the dirty region.
1619         (paintComponent): Use the dirty region in paintArea. Protect
1620         state by putting the paint and dispose code in a try-finally.
1621         (updateComponent): Use the dirty region in paintArea. Protect
1622         state by putting the paint and dispose code in a try-finally.
1623
1624 2006-11-29  Roman Kennke  <kennke@aicas.com>
1625
1626         * java/awt/font/TextLayout.java
1627         (getVisualHighlightShape): Removed debug output.
1628
1629 2006-11-28  Andrew Haley  <aph@redhat.com>
1630
1631         * vm/reference/sun/reflect/misc/ReflectUtil.java
1632         (checkPackageAccess): Implement.
1633
1634 2006-11-28  Dalibor Topic  <robilad@kaffe.org>
1635
1636         * native/jni/java-lang/java_lang_VMDouble.c:
1637         (parseDoubleFromChars) New function. Factored out from ...
1638         (Java_java_lang_VMDouble_parseDouble): Factored out the parsing.
1639         (dtoa_toString): New function. Factored out from ...
1640         (Java_java_lang_VMDouble_toString) : Factored out the conversion.
1641         Changed conversion mode to 2, as modes 0 and 1 don't round
1642         as the API spec demands. Invoke conversion function as often
1643         as necessary with growing precision until a reversible
1644         representation of the double in form of a string is reached.
1645
1646 2006-11-28  Roman Kennke  <kennke@aicas.com>
1647
1648         * javax/swing/JComponent.java
1649         (putClientProperty): Do not fire event when both old and new
1650         value are == null.
1651
1652 2006-11-27  Andrew John Hughes  <gnu_andrew@member.fsf.org>
1653
1654         * java/lang/Enum.java:
1655         Make name and ordinal final.
1656         
1657 2006-11-27  Casey Marshall  <csm@gnu.org>
1658
1659         * java/util/jar/JarEntry.java (certs): removed.
1660         (jarfile): new field.
1661         (getCertificates): read the certificates from the containing JarFile.
1662         * java/util/jar/JarFile.java (JarEnumeration.nextElement): don't
1663         fill in 'certs,' fill in 'jarfile' for the entry.
1664         (getEntry): likewise.
1665         
1666 2006-11-27  Francis Kung  <fkung@redhat.com>
1667
1668         * java/awt/image/WritableRaster.java
1669         (createChild): Implemented.
1670
1671 2006-11-27  Roman Kennke  <kennke@aicas.com>
1672
1673         * java/awt/font/TextLayout.java
1674         (TextLayout(TextLayout,int,int)): Also layout the new runs.
1675         (getVisualHighlightShape): Implemented.
1676         (layoutRuns): Fixed boundary so that the last run is also laid out.
1677         (left): New helper method.
1678         (right): New helper method.
1679
1680 2006-11-27  Roman Kennke  <kennke@aicas.com>
1681
1682         * java/awt/font/TextLayout.java
1683         (getCaretShape(TextHitInfo,Rectangle2D)): Implemented.
1684         (getCaretShape(TextHitInfo)): Use natural bounds.
1685         (getCaretShapes(int,Rectangle2D,CaretPolicy)): New API method.
1686         (getCaretShapes(int,Rectangle2D)): Delegate to new method
1687         above with DEFAULT_CARET_POLICY.
1688         (getCaretShapes(int)): Use natural bounds.
1689
1690 2006-11-27  Roman Kennke  <kennke@aicas.com>
1691
1692         * java/awt/font/TextLayout.java
1693         (Run.font): New field.
1694         (Run.location): New field.
1695         (Run.Run): Initialize font.
1696         (font): Removed field. This is moved into Run as the actual font
1697         is something run-specific.
1698         (TextLayout(String,Font,FontRenderContext)): Set font on the
1699         single runs. Layout the runs here.
1700         (TextLayout(TextLayout,int,int)): Copy over the run fonts.
1701         (findRunAtIndex): New helper method.
1702         (getCaretInfo): Implemented.
1703         (layoutRuns): New helper method.
1704         (toString): Don't put font in output string.
1705
1706 2006-11-27  Raif S. Naffah  <classpath@naffah-raif.name>
1707
1708         * AUTHORS: Added Jeroen Fritjers.
1709
1710 2006-11-27  neugens  <neugens@nirvana.limasoftware.net>
1711
1712         * java/text/DecimalFormat.java (formatInternal): Add an explicit test
1713         for FieldPosition to be null.
1714         Check if the factional part is just 0 and can be omitted from the
1715         result.
1716         (scanNegativePattern): Fixed index out of bound exception when searching
1717         for international currency symbol in negative pattern.  
1718
1719 2006-11-27  Andrew John Hughes  <gnu_andrew@member.fsf.org>
1720
1721         * java/beans/beancontext/BeanContextSupport.java:
1722         (readObject(ObjectInputStream)): Implemented.
1723         (writeObject(ObjectOutputStream)): Likewise.
1724         (BCSChild.getTargetChild()): Added.
1725         (bcsPreDeserializationHook()): Implemented.
1726         (bcsPreSerializationHook()): Likewise.
1727         (childDeserializedHook(Object,BCSChild)): Likewise.
1728         (isSerializing()): Likewise.
1729         (readChildren(ObjectInputStream)): Likewise.
1730         (writeChildren(ObjectOutputStream)): Likewise.
1731         
1732 2006-11-26  Roger Sayle  <roger <at> eyesopen.com>
1733             Ian Lance Taylor  <ian <at> airs.com>
1734             Paolo Bonzini <bonzini <at> gnu.org>
1735
1736         Fixes bug #25557.
1737
1738         * lib/gen-classlist.sh.in:  Avoid using test's -ef operator for
1739         increased portability.  Likewise, use -f instead of -e.
1740
1741 2006-11-26  Mark Wielaard  <mark@klomp.org>
1742
1743         * lib/Makefile.am (propertydirs): Removed.
1744         (resources): Explicitly create all dirs.
1745
1746 2006-11-26  Mark Wielaard  <mark@klomp.org>
1747
1748         * gnu/java/net/PlainSocketImpl.java (accept): Reset timeout on Socket.
1749
1750 2006-11-26  Dalibor Topic  <robilad@kaffe.org>
1751
1752         * native/target/.cvsignore,
1753         native/target/generic/.cvsignore,
1754         native/target/Linux/.cvsignore:
1755         Removed no longer used files.
1756
1757         * native/target: Removed no longer used directory.
1758
1759 2006-11-26  Dalibor Topic  <robilad@kaffe.org>
1760
1761         Fixes bug #29133.
1762
1763         * libraries/clib/nio/gnu_java_nio_VMSelector.c
1764         (Java_gnu_java_nio_VMSelector_select):
1765         Use strerror if strerror_r is not available.
1766
1767         Reported by:  Michael Franz <mvfranz@gmail.com>,
1768                       Riccardo Mottola <zuse@libero.it>
1769
1770 2006-11-26  Dalibor Topic  <robilad@kaffe.org>
1771
1772         Fixes bug #26756.
1773         
1774         * native/jni/midi-dssi/Makefile.am (AM_CFLAGS): Removed 
1775         STRICT_WARNING_CFLAGS since it caused the build to fail 
1776         on GNU/Linux.
1777
1778 2006-11-26  Ian Rogers  <ian.rogers@manchester.ac.uk>
1779
1780         * doc/vmintegration.texinfo: Update VM Threading Model section.
1781
1782 2006-11-26  Tom Tromey  <tromey@redhat.com>
1783
1784         * native/jni/java-net/java_net_VMNetworkInterface.c: Conditionally
1785         include ifaddrs.h.
1786         (Java_java_net_VMNetworkInterface_getVMInterfaces): Updated
1787         conditional.
1788         * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c:
1789         Conditionally include ifaddrs.h.
1790         (getif_address): Updated conditional.
1791         (getif_index): Likewise.
1792         * configure.ac: Check for ifaddrs.h.
1793
1794 2006-11-25  Mark Wielaard  <mark@klomp.org>
1795
1796         * java/io/File.java (list): Return empty list for unreadable dirs.
1797
1798 2006-11-25  Mark Wielaard  <mark@klomp.org>
1799
1800         * gnu/java/awt/peer/gtk/CairoGraphics2D.java (drawGlyphVector):
1801         Synchronize on font peer.
1802         (setFont): Likewise.
1803         * gnu/java/awt/peer/gtk/GdkFontPeer.java (getFontMetrics): Mark
1804         synchronized.
1805         (getTextMetrics): Likewise.
1806
1807 2006-11-25  Roman Kennke  <kennke@aicas.com>
1808
1809         * javax/swing/text/GapContent.java
1810         (getPositionsInRange): Rewritten to use the more efficient
1811         binary search searchFirst() and avoid an NPE that was caused
1812         by GC'ed positions.
1813
1814 2006-11-25  Mark Wielaard  <mark@klomp.org>
1815
1816         * javax/swing/text/CompositeView.java (modelToView): Never return
1817         null.
1818
1819 2006-11-25  Mark Wielaard  <mark@klomp.org>
1820
1821         * javax/swing/text/html/TableView.java (calculateColumnRequirements):
1822         Check whether rowView instanceof RowView.
1823         (updateGrid): Likewise.
1824
1825 2006-11-25  Mario Torre  <neugens@nirvana.limasoftware.net>
1826
1827         PR28462
1828         * java/text/DecimalFormat.java: Almost new rewrite, and update to 1.5.
1829         * java/text/NumberFormat.java (format): all format methods, fixed
1830         FieldPosition argument should never be null.
1831         (format(Object, StringBuffer, FieldPosition)): fixed signature,
1832         method is not final.
1833         * java/text/DecimalFormatSymbols.java (clone): fixed to also clone
1834         locale.
1835         * AUTHORS: added my name to the file.
1836
1837 2006-11-25  Mark Wielaard  <mark@klomp.org>
1838
1839         * javax/swing/text/html/StyleSheet.java (paint): Guard against
1840         getChildAllocation() returning null.
1841
1842 2006-11-25  Mark Wielaard  <mark@klomp.org>
1843
1844         * gnu/javax/swing/text/html/css/Selector.java (calculateSpecificity):
1845         Use clazzIndex for id substring.
1846
1847 2006-11-25  Mark Wielaard  <mark@klomp.org>
1848
1849         * java/awt/EventQueue.java (pop): Only terminate dispatchThread when
1850         it is still running.
1851
1852 2006-11-25  Mark Wielaard  <mark@klomp.org>
1853
1854         Fixes bug #28822
1855         * doc/api/Makefile.am (create_html): Guard GJDOC invocation with
1856         CREATE_API_DOCS
1857
1858 2006-11-24  Tania Bento  <tbento@redhat.com>
1859
1860         * java/awt/font/TextHitInfo.java
1861         (equals(TextHitInfo)): If TextHitInfo parameter is null, return false.
1862         (beforeOffset): Decreased first parameter by 1.
1863
1864 2006-11-24  Francis Kung  <fkung@redhat.com>
1865
1866         * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
1867         (constructor): Check sample model when setting fastCM flag.
1868         (updateBufferedImage): Check scanline and sample model offsets before
1869         copying data directly into the image data buffer.
1870
1871 2006-11-24  Francis Kung  <fkung@redhat.com>
1872
1873         * gnu/java/awt/java2d/QuadSegment.java
1874         (offsetSubdivided): Handle special straight-line cases.
1875
1876 2006-11-24  Roman Kennke  <kennke@aicas.com>
1877
1878         * java/awt/dnd/DropTarget.java
1879         (DropTargetAutoScroller.HYSTERESIS): New constant.
1880         (DropTargetAutoScroller.DELAY): New constant.
1881         (DropTargetAutoScroller.inner): New field. A cached
1882         Rectangle instance.
1883         (DropTargetAutoScroller.outer): New field. A cached
1884         Rectangle instance.
1885         (DropTargetAutoScroller.timer): New field. The actual timer.
1886         (DropTargetAutoScroller.DropTargetAutoScroller):
1887         Initialize timer.
1888         (DropTargetAutoScroller.actionPerformed): Implemented.
1889         (DropTargetAutoScroller.stop): Implemented.
1890         (DropTargetAutoScroller.updateLocation): Implemented.
1891         (clearAutoscroll): Stop the autoscroller before nullifying it.
1892         (createDropTargetAutoScroller): Don't set the field here,
1893         only return a new instance.
1894         (dragEnter): Only do something when active. Initialize
1895         auto scrolling.
1896         (dragExit): Only do something when active. Stop auto scrolling.
1897         (dragOver): Only do something when active. Update auto scrolling.
1898         (drop): Only do something when active. Update auto scrolling.
1899         (dropActionChanged): Only do something when active. Update
1900         auto scrolling.
1901         (initializeAutoScrolling): Check if component is an instance
1902         of Autoscroll, otherwise do nothing.
1903         (setActive): Disable autoscrolling when deactivating.
1904         (setComponent): When component is set to null, disable autoscrolling.
1905
1906 2006-11-24  David Gilbert  <david.gilbert@object-refinery.com>
1907
1908         * java/beans/beancontext/BeanContextServicesSupport.java
1909         (getChildBeanContextServicesListener): Implemented.
1910
1911 2006-11-23  Roman Kennke  <kennke@aicas.com>
1912
1913         * gnu/java/awt/peer/headless/HeadlessGraphicsEnvironment.java
1914         (createGraphics): Use constructor to create new instance of
1915         BufferedImageGraphics.
1916         * java/awt/Toolkit.java
1917         (getDefaultToolkit): Really try to get a real toolkit. Only
1918         use HeadlessToolkit if no other is available.
1919         * gnu/java/awt/peer/gtk/GtkToolkit.java
1920         (checkHeadless): New helper method. Checks for headless environment
1921         and throws HeadlessException if appropriate.
1922         (createButton): Check for headless.
1923         (createCanvas): Check for headless.
1924         (createCheckbox): Check for headless.
1925         (createCheckboxMenuItem): Check for headless.
1926         (createChoice): Check for headless.
1927         (createDialog): Check for headless.
1928         (createDragGestureRecognizer): Check for headless.
1929         (createDragSourceContextPeer): Check for headless.
1930         (createEmbeddedWindow): Check for headless.
1931         (createFileDialog): Check for headless.
1932         (createFrame): Check for headless.
1933         (createCheckbox): Check for headless.
1934         (createLabel): Check for headless.
1935         (createList): Check for headless.
1936         (createMenu): Check for headless.
1937         (createMenuBar): Check for headless.
1938         (createMenuItem): Check for headless.
1939         (createPanel): Check for headless.
1940         (createPopupMenu): Check for headless.
1941         (createScrollbar): Check for headless.
1942         (createScrollPane): Check for headless.
1943         (createTextArea): Check for headless.
1944         (createTextField): Check for headless.
1945         (createWindow): Check for headless.
1946
1947 2006-11-23  David Gilbert  <david.gilbert@object-refinery.com>
1948
1949         * java/beans/beancontext/BeanContextSupport.java
1950         (deserialize): Implemented,
1951         (serialize): Implemented.
1952
1953 2006-11-23  Roman Kennke  <kennke@aicas.com>
1954
1955         * gnu/java/awt/peer/headless/HeadlessGraphicsEnvironment.java
1956         (createGraphics): Try to use Cairo graphics if available.
1957
1958 2006-11-22  David Gilbert  <david.gilbert@object-refinery.com>
1959
1960         * java/beans/beancontext/BeanContextSupport.java
1961         (toArray): Added API docs,
1962         (toArray(Object[])): Added API docs, removed NotImplementedException.
1963
1964 2006-11-22  Tania Bento  <tbento@redhat.com>
1965
1966         * javax/swing/JRootPane.java
1967         (setLayeredPane): Added documentation; throw 
1968         IllegalComponentStateException if layered pane parameter is null.
1969
1970 2006-11-22  David Gilbert  <david.gilbert@object-refinery.com>
1971
1972         * java/beans/beancontext/BeanContextSupport.java
1973         (avoidingGui): Removed NotImplementedException.
1974
1975 2006-11-22  Francis Kung  <fkung@redhat.com>
1976
1977         * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
1978         (drawGlyphVector): Clip updated area to glyph bounds.
1979         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
1980         (createPath): Eliminate distortion when pixel-shifting rectangles; separate
1981         x-coordinate and y-coordinate pixel shifting.
1982         (shifted): Removed method.
1983         (shiftX): New method, recognising scaling transforms.
1984         (shiftY): New method, recognising scaling transforms.
1985         (walkPath): Separate x-coordinate and y-coordinate pixel shifting.
1986
1987 2006-11-22  Roman Kennke  <kennke@aicas.com>
1988
1989         * java/awt/font/TextLayout.java
1990         (hash): New field. Caches the hash code.
1991         (hashCode): Implemented.
1992
1993 2006-11-22  Roman Kennke  <kennke@aicas.com>
1994
1995         * java/awt/image/ImageFilter.java
1996         Reformat whole class.
1997         (getFilterInstance): Don't touch the consumer field. Don't check
1998         consumer.
1999         (imageComplete): Don't check consumer.
2000         (setColorModel): Don't check consumer.
2001         (setDimensions): Don't check consumer.
2002         (setHints): Don't check consumer.
2003         (setPixels): Don't check consumer.
2004         (setProperties): Pass the original property too.
2005         * java/awt/image/IndexColorModel.java
2006         (IndexColorModel(int,int,byte[],byte[],byte[],int)): Set the
2007         transparent pixel by calling the new helper method.
2008         (IndexColorModel(int,int,byte[],int,boolean,int)): Set the
2009         transparent pixel by calling the new helper method.
2010         (IndexColorModel(int,int,int[],int,boolean,int,int)): Set the
2011         transparent pixel by calling the new helper method.
2012         (coerceData): Removed. This is not needed.
2013         (getAlpha): Simply return value from color map. The transparent
2014         pixel has to be there.
2015         (setTransparentPixel): New helper method. Inserts the transparent
2016         pixel.
2017         * java/awt/image/RGBImageFilter.java
2018         Reformat whole class.
2019         (convertColorModelToDefault): Removed. No longer needed.
2020         (filterIndexColorModel): Don't handle transparent pixels
2021         separately.
2022         (filterRGBPixels): Set pixels on consumer already.
2023         (makeColor): Removed. No longer needed.
2024         * java/awt/image/ReplicateScaleFilter.java
2025         (replicatePixels): Removed.
2026         (setDimension): Correctly compute destination size, avoid double
2027         calculations.
2028         (setPixels): Avoid double calculations. Fixed some boundary cases.
2029         (setupSources): New helper method.
2030         * java/awt/image/SampleModel.java
2031         (setDataElements): Also handle TYPE_SHORT, TYPE_FLOAT
2032         and TYPE_DOUBLE.
2033         * java/awt/image/SinglePixelPackedSampleModel.java
2034         (setDataElements(int,int,int,int,Object,DataBuffer)): Removed.
2035         This is not needed as the superclass already copies line
2036         by line.
2037         (setDataElements(int,int,Object,DataBuffer)): Simplified code,
2038         removed some checks that the RI also doesn't perform. Call
2039         DataBuffer.setElem().
2040
2041 2006-11-22  Roman Kennke  <kennke@aicas.com>
2042
2043         * java/awt/text/TextLayout.java
2044         (getLogicalRangesForVisualSelection): Implemented.
2045
2046 2006-11-21  Andrew John Hughes  <gnu_andrew@member.fsf.org>
2047
2048         * sun/reflect/annotation/AnnotationParser.java,
2049         * sun/reflect/annotation/AnnotationType.java,
2050         * sun/reflect/annotation/EnumConstantNotPresentExceptionProxy.java,
2051         * sun/reflect/annotation/ExceptionProxy.java:
2052         Stubbed.
2053         * sun/misc/ServiceConfigurationError.java,
2054         * sun/misc/Service.java:
2055         Implemented.
2056         
2057 2006-11-21  Roman Kennke  <kennke@aicas.com>
2058
2059         * java/awt/text/TextLayout.java
2060         (Run.isLeftToRight): New helper method.
2061         (logicalToVisual): New field. Maps logical indices to visual
2062         indices.
2063         (visualToLogical): New field. Maps visual indices to logical
2064         indices.
2065         (TextLayout): Setup mappings.
2066         (setupMappings): New method for setting up the mappings.
2067         (getCharacterLevel): Reorganized code.
2068         (getNextLeftHit(int)): Implemented.
2069         (getNextLeftHit(int,CaretPolicy)): New method.
2070         (getNextLeftHit(TextHitInfo)): Implemented.
2071         (getNextRightHit(int)): Implemented.
2072         (getNextRightHit(int,CaretPolicy)): New method.
2073         (getNextRightHit(TextHitInfo)): New method.
2074         (getVisualOtherHit): Implemented.
2075         (checkHitInfo): New helper methods for checking parameters.
2076         (hitToCaret): New helper method. Maps hit infos to caret locations.
2077         (caretToHit): New helper method. Maps caret locations to hit infos.
2078         (isCharacterLTR): New helper method.
2079         (CaretPolicy.getStrongCaret): Implemented.
2080
2081 2006-11-21  Francis Kung  <fkung@redhat.com>
2082
2083         * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
2084         (draw): Include stroke width when calculating bounds.
2085         (updateBufferedImage): Round bounds more generously, handle negative
2086         height/width values, and clip more intelligently.
2087         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
2088         (createPath): Add shortcut optimization for lines.
2089         (draw): Include stroke width when calculating bounds.
2090         (drawLine): Delegate to main draw() method.
2091         (drawRect): Likewise.
2092         (fillRect): Delegate to main fill() method.
2093         (findStrokedBounds): New method.
2094         (setCustomPaint): Round bounds more generously.
2095         * gnu/java/awt/peer/gtk/ComponentGraphics.java
2096         (drawLine): Removed.
2097         (drawRect): Removed.
2098         (fillRect): Removed.
2099
2100 2006-11-21  Francis Kung  <fkung@redhat.com>
2101
2102         * gnu/java/awt/java2d/TexturePaintContext.java
2103         (getRaster): Handle negative coordinate values.
2104         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
2105         (setPaint): Moved custom paint processing to a new method.
2106         (setPaintPixels): Added x, y parameters.
2107         (getRealBounds): Added documentation.
2108         (copy): Copy clipping information.
2109         (drawLine): Process custom paints.
2110         (setCustomPaint): New method.
2111         (fill): Process custom paints.
2112         (drawGlyphVector): Process custom paints.
2113         (drawRect): Process custom paints.
2114         (draw): Process custom paints.
2115         * gnu/java/awt/peer/gtk/CairoSurface.java
2116         (cairoCM_opaque): New constant.
2117         * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
2118         (argb32): Removed constant.
2119         (rgb32): Removed constant.
2120         (BufferedImageGraphics(BufferedImage)): Updated constant names.
2121         (BufferedImageGraphics(BufferedImageGraphics)): Copy color model flags.
2122         (updateBufferedImage): Transform to device-space before updating.
2123         * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h
2124         (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_setPaintPixels): Added x, y
2125         parameters.
2126         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
2127         (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_setPaintPixels): Set pattern
2128         source at designated x, y origin.
2129
2130 2006-11-21  Roman Kennke  <kennke@aicas.com>
2131
2132         * java/awt/text/TextLayout.java
2133         (Run): New inner helper class.
2134         (length): New field.
2135         (naturalBounds): New field.
2136         (offset): New field.
2137         (runIndices): Removed. This is now encapsulate in a Run object.
2138         (runs): Changed to Run[].
2139         (string): Changed to char[].
2140         (totalAdvance): New field. Caches advance value.
2141         (TextLayout(String,Font,FontRenderContext)): Change to store
2142         string as char[] and run layout as Run[]. Clean out empty
2143         run items.
2144         (TextLayout(TextLayout,int,int)): Change to store
2145         string as char[] and run layout as Run[].
2146         (clone): Call private constructor for maximum efficiency.
2147         (determineWhitespace): Adapted to use char[] data.
2148         (draw): Adapted to use Run objects.
2149         (getAdvance): Cache computed total advance.
2150         (getBlackBoxBounds): Adapted to use Run objects.
2151         (getCaretInfo): Use natural layout bounds.
2152         (getCharacterCount): Return length field.
2153         (getLogicalHighlightShape): Adapted to use Run objects.
2154         (getNaturalBounds): New helper method. Calculates and returns the
2155         natural bounds of this text layout.
2156         (getOutline): Adapted to use Run objects.
2157         (getStringProperties): Adapted to use char[] data.
2158         (getVisibleAdvance): Adapted to use char[] and Run data.
2159         (handleJustify): Adapted to use char[] and Run data.
2160         (hitTestChar(float,float,Rectangle2D)): Implemented.
2161         (hitTestChar(float,float)): Use natural bounds.
2162         (setCharIndices): Adapted to use char[] and Run data.
2163         (toString): Adapted to use char[] and Run data.
2164         * java/text/Bidi.java
2165         (requiresBidi): Exclude paragraph separators from bidi-triggers.
2166
2167 2006-11-21  Roman Kennke  <kennke@aicas.com>
2168
2169         * gnu/java/awt/peer/gtk/GdkFontMetrics.java:
2170         Removed. This is now an inner class in GdkFontPeer.
2171         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
2172         (drawString(float,float)): Use text layout cache from
2173         GdkFontPeer.
2174         (getFontMetrics): Delegate to GdkFontPeer.
2175         * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
2176         (getGlyphCodes): Also check array size.
2177         (getGlyphPositions): Also check array size.
2178         * gnu/java/awt/peer/gtk/GdkFontPeer.java
2179         (GdkFontLineMetrics.fm): Removed.
2180         (GdkFontLineMetrics.strikeThroughOffset): Removed.
2181         (GdkFontLineMetrics.strikeThroughThickness): Removed.
2182         (GdkFontLineMetrics.underlineOffset): Removed.
2183         (GdkFontLineMetrics.underlineThickness): Removed.
2184         (GdkFontLineMetrics.GdkFontLineMetrics): Don't take
2185         FontMetrics argument. Don't init removed fields.
2186         (GdkFontLineMetrics.getAscent): Return font peer's field.
2187         (GdkFontLineMetrics.getDescent): Return font peer's field.
2188         (GdkFontLineMetrics.getHeight): Return font peer's field.
2189         (GdkFontLineMetrics.getLeading): Return font peer's field.
2190         (GdkFontLineMetrics.getNumChars): Reformat.
2191         (GdkFontLineMetrics.getStrikeThroughOffset): Return half ascent.
2192         (GdkFontLineMetrics.getStrikeThroughThickness): Return 1.
2193         (GdkFontLineMetrics.getUnderlineOffset): Return font peer's field.
2194         (GdkFontLineMetrics.getUnderlineThickness): Return font peer's field.
2195         (GdkFontMetrics): Moved class in here as inner class. 
2196         Make it use the font peer's fields and for the char(s) width
2197         and string width method, use TextLayout to measure the actual widths.
2198         (ascent): New field.
2199         (bundle): Removed.
2200         (DEFAULT_CTX): New constant field.
2201         (descent): New field.
2202         (FONT_METRICS_ASCENT): New constant.
2203         (FONT_METRICS_DESCENT): New constant.
2204         (FONT_METRICS_HEIGHT): New constant.
2205         (FONT_METRICS_MAX_ADVANCE): New constant.
2206         (FONT_METRICS_MAX_ASCENT): New constant.
2207         (FONT_METRICS_MAX_DESCENT): New constant.
2208         (FONT_METRICS_UNDERLINE_OFFSET): New constant.
2209         (FONT_METRICS_UNDERLINE_THICKNESS): New constant.
2210         (height): New field.
2211         (maxAdvance): New field.
2212         (maxAscent): New field.
2213         (maxDescent): New field.
2214         (metrics): New field. Stores a FontMetrics for this font.
2215         (textLayoutCache): New field. Caches TextLayout instances.
2216         (underlineOffset): New field.
2217         (underlineThickness): New field.
2218         (cinit): Don't initialize resource bundle.
2219         (GdkFontPeer): Setup the metrics.
2220         (getFontMetrics): Return stored metrics if possible.
2221         (getLineMetrics): Adapt to new constructor.
2222         (initFont): New helper method.
2223         (setupMetrics): New helper method.
2224         * gnu/java/awt/peer/gtk/GtkToolkit.java
2225         (LRUCache): Made class a static class.
2226         (getFontMetrics): Delegate to GdkFontPeer.
2227         * native/jni/gtk-peer/gdkfont.h
2228         Added new constant defines.
2229         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
2230         (getFontMetrics): Rewritten to fetch the font metrics from
2231         FreeType.
2232
2233 2006-11-20  Tania Bento  <tbento@redhat.com>
2234
2235         * javax/swing/ButtonGroup.java:
2236         (setSelected): Select the ButtonModel if all conditions
2237         are met.
2238
2239 2006-11-20  Tania Bento  <tbento@redhat.com>
2240
2241         * javax/swing/JSlider.java:
2242         (updateLabelUIs): Removed casting.
2243
2244 2006-11-20  Mark Wielaard  <mark@klomp.org>
2245
2246         * gnu/java/util/regex/RE.java (messages): Don't initialize.
2247         (bundle): New static final String field.
2248         (getLocalizedMessage): Initialize messages when still null.
2249         * gnu/java/util/regex/RESyntax.java (SYNTAX_IS_FINAL): Removed.
2250         (set): Use RE.getLocalizedMessage().
2251         (clear): Likewise.
2252         (setLineSeparator): Likewise.
2253
2254 2006-11-20  Roman Kennke  <kennke@aicas.com>
2255
2256         * javax/swing/text/html/StyleSheet.java
2257         (linked): New field.
2258         (styleSheet): Replaced by linked.
2259         (addStyleSheet): Use an arraylist for simplicity.
2260         (getRule): Removed useless instantiation.
2261         (getStyleSheets): Convert array list to array.
2262         (removeStyleSheet): Use an arraylist for simplicity.
2263         (resolveStyle): Include styles from linked lists.
2264
2265 2006-11-20  Roman Kennke  <kennke@aicas.com>
2266
2267         * javax/swing/text/BoxView.java
2268         (BoxView): Initialize with invalid req's.
2269         (forwardUpdate): Trigger repaint when children changed the
2270         major axis.
2271         (getResizeWeight): Return resizable when the pref differs from
2272         the min or the pref differs from the max size.
2273         (layoutMajorAxis): Actually sum up the preferred sizes.
2274         (paint): Made binary search more robust.
2275         (replace): Let arrays shrink when needed.
2276         (replaceLayoutArray): Let arrays shrink when needed.
2277         (setAxis): Trigger preferenceChanged.
2278         * javax/swing/text/CompositeView.java
2279         (getInsideAllocation): Call insets method to take account
2280         of overriding subclasses.
2281         * javax/swing/text/DefaultStyledDocument.java
2282         (ElementBuffer.finishEdit): Clear the stack and edits buffer.
2283         (ElementBuffer.insertUpdate): Only remove the found element, not
2284         all.
2285         * javax/swing/text/GlyphView.java
2286         (insertUpdate): Pass null in preferenceChanged.
2287         (removeUpdate): Pass null in preferenceChanged.
2288         (changedUpdate): Pass null in preferenceChanged.
2289         * javax/swing/text/Utilities.java
2290         (drawTabbedText): Avoid single calls to charWidth() and instead
2291         call charsWidth() on whole chunks.
2292         * javax/swing/text/html/HTMLDocument.java
2293         (BlockElement.getName): Fall back to super when necessary.
2294         (RunElement.getName): Fall back to super when necessary.
2295         (HTMLReader.MAX_THRESHOLD): New constant field.
2296         (HTMLReader.GROW_THRESHOLD): New constant field.
2297         (HTMLReader.theshold): New field.
2298         (HTMLReader.HTMLReader): Fetch threshold from document.
2299         (HTMLReader.addContent): Sucessivly grow the threshold.
2300         (createLeafElement): Don't create two elemens and don't set
2301         attribute.
2302         * javax/swing/text/html/TableView.java
2303         (RowView.replace): Invalidate grid.
2304         (gridValid): Made package private.
2305         (layoutMinorAxis): Mark all rows as invalid.
2306         (replace): Invalidate grid.
2307
2308 2006-11-20  Roman Kennke  <kennke@aicas.com>
2309
2310         * javax/swing/text/AbstractDocument.java
2311         (DefaultDocumentEvent.changes): Changed to be a HashMap.
2312         (DefaultDocumentEvent.modified): Made private.
2313         (DefaultDocumentEvent.THRESHOLD): New constant field.
2314         (DefaultDocumentEvent.DefaultDocumentEvent): Don't initialize
2315         changes table.
2316         (DefaultDocumentEvent.addEdit): Switch to hashmap only when
2317         exceeding threshold.
2318         (DefaultDocumentEvent.getChange): Use iterative approach
2319         when we have no hashmap yet.
2320         (documentCV): Removed.
2321         (numWriters): Renamed from numWritersWaiting.
2322         (createPosition): Reformat.
2323         (getCurrentWriter): Synchronized.
2324         (readLock): Implement more straightforward.
2325         (readUnlock): Implement more straightforward.
2326         (writeLock): Implement more straightforward.
2327         (writeUnlock): Implement more straightforward.
2328         (remove): Write-lock here.
2329         (removeImpl): Don't write-lock here.
2330
2331 2006-11-20  Roman Kennke  <kennke@aicas.com>
2332
2333         * javax/swing/JEditorPane.java
2334         (setPage): Set priority on loading thread.
2335
2336 2006-11-20  Roman Kennke  <kennke@aicas.com>
2337
2338         * javax/swing/plaf/basic/BasicTextUI.java
2339         (RootView.paint): Avoid allocation.
2340         (cachedInsets): New field. Caches an Insets instance.
2341         (getNextVisualPositionFrom): Read-lock the document to avoid
2342         thread nastiness. Push allocation.
2343         (getPreferredSize): Push fake allocation when not yet laid out.
2344         (getVisibleEditorRect): Use cached insets.
2345         (viewToModel): Read-lock the document to avoid
2346         thread nastiness. Push allocation.
2347
2348 2006-11-20  Roman Kennke  <kennke@aicas.com>
2349
2350         * javax/swing/text/StyleContext.java
2351         (attributeSetPool): Synchronize this map.
2352         (addAttribute): Synchronize this method.
2353         (addAttributes: Synchronize this method.
2354         (readObject): Install synchronized map on target object.
2355         (removeAttribute): Synchronize this method.
2356         (removeAttributes): Synchronize this method.
2357         (removeAttributes): Synchronize this method.    
2358         
2359 2006-11-20  Roman Kennke  <kennke@aicas.com>
2360
2361         * javax/swing/text/GapContent.java
2362         (GapContentPosition.GapContentPosition): Removed constructor.
2363         (Mark): Made subclass of WeakReference to refer directly to
2364         the associated position.
2365         (Mark.refCount): Removed.
2366         (Mark.Mark(int,GapContentPosition,ReferenceQueue):
2367         New constructor. Used to reference a position and register the
2368         reference queue.
2369         (Mark.Mark(index)): Call super and don't adjust mark offset.
2370         (Mark.compareTo): Removed.
2371         (Mark.equals): Removed.
2372         (Mark.getOffset): Return at least null. Removed assert.
2373         (Mark.getPosition): New helper method.
2374         (garbageMarks): New field.
2375         (positions): Removed.
2376         (searchMark): New field.
2377         (GapContent): Removed init of positions map.
2378         (addImpl): New helper method.
2379         (adjustPositionsInRange): Removed.
2380         (compare): New helper method.
2381         (createPosition): Rewritten for new datastructures. This now
2382         performs a much more efficient binary search for finding
2383         a position at the requested offste.
2384         (garbageCollect): Rewritten to collect unused marks.
2385         (getPositionsInRange): Adjusted for new data structures.
2386         (removeImpl): New helper method.
2387         (replace): Use new addImpl() and removeImpl() helper method for
2388         correctly adjusting the positions and gap.
2389         (search): Rewritten. Implements a more suitable binary search.
2390         (searchFirst): New helper method.
2391         (setPositionsInRange): Removed.
2392         (shiftEnd): Update the marks here.
2393         (shiftGap): Update the marks here.
2394         (shiftGapEndUp): Update the marks here.
2395         (shiftGapStartDown): Update the marks here.
2396
2397 2006-11-20  Marco Trudel <mtrudel@gmx.ch>
2398
2399         * java/util/jar/JarFile.java (digestAlgorithms): New field used to cache
2400         digest algorithm implementations.
2401         (readSignatures): Parse the manifest once and reuse that data.
2402         Add support for line breaks.
2403         (verifyHashes): Use the parsed manifest entry.
2404         (readManifestEntry): Removed.
2405
2406 2006-11-20  Andrew John Hughes  <gnu_andrew@member.fsf.org>
2407
2408         * java/beans/beancontext/BeanContextServicesSupport.java:
2409         Added more documentation.
2410         (addService(Class,BeanContextServiceProvider,boolean)):
2411         Synchronized over global hierarchy lock.
2412         (bcsPreDeserializationHook(ObjectInputStream)): Implemented.
2413         (bcsPreSerializationHook(ObjectOutputStream)): Implemented.
2414         (childJustRemovedHook(Object,BCSChild)): Implemented.
2415         (createBCSSServiceProvider(Class,BeanContextServiceProvider)):
2416         Implemented.
2417         (fireServiceRevoked(BeanContextServiceRevokedEvent)):
2418         Added revocation-only listeners.
2419         (getBeanContextServicesPeer()): Implemented.
2420         (getCurrentServiceClasses(Class)): Synchronized over global
2421         hierarchy lock.
2422         (getCurrentServiceSelectors(Class)): Synchronized over global
2423         hierarchy lock, and fixed FIXME.
2424         (getService(BeanContextChild,Object,Class,Object,
2425         BeanContextServiceRevokedListener)): Implemented.
2426         (hasService(Class)): Synchronized over global hierarchy lock.
2427         (releaseService(BeanContextChild,Object,Object)): Implemented.
2428         (revokeService(Class,BeanContextServiceProvider,boolean)): Implemented.
2429         * java/beans/beancontext/BeanContextSupport.java:
2430         (remove(Object, boolean)): Documentation correction.
2431         
2432 2006-11-19  Roman Kennke  <kennke@aicas.com>
2433
2434         * javax/swing/JEditorPane.java
2435         (PageStream): New inner class.
2436         (PageLoader): New inner class.
2437         (loading): New field.
2438         (setPage): Implemented asynchronous loading.
2439         * javax/swing/text/DefaultStyledDocument.java
2440         (ElementBuffer.create): New helper method.
2441         (create): Use new ElementBuffer method instead of hack.
2442         * javax/swing/text/html/HTMLDocument.java
2443         (HTMLReader.flushImpl): New helper method.
2444         (HTMLReader.addContent): Use flushImpl().
2445         (HTMLReader.blockClose): Added null check.
2446         (HTMLReader.flush): Use flushImpl().
2447         * javax/swing/text/html/HTMLEditorKit.java
2448         (createDefaultDocument): Set load priority to 4 and token threshold
2449         to 100.
2450         * javax/swing/text/html/TableView.java
2451         (insertUpdate): Overridden to provide correct view factory.
2452         (removeUpdate): Overridden to provide correct view factory.
2453         (changedUpdate): Overridden to provide correct view factory.
2454
2455 2006-11-19  Roman Kennke  <kennke@aicas.com>
2456
2457         * javax/swing/text/BoxView.java
2458         (clipRect): New field.
2459         (tmpRect): New field.
2460         (layout): Reorganized code. Now uses layoutAxis() helper method.
2461         (layoutAxis): New helper method.
2462         (paint): Optimized by using cached Rectangle objects and
2463         a binary search for child views inside the clip.
2464         * javax/swing/text/CompositeView.java
2465         (insideAllocation): Made private and initialized in constructor.
2466         (getInsideAllocation): Removed initialization block for
2467         insideAllocation field. Avoid unnecessary allocations.
2468         * javax/swing/text/GlyphView.java
2469         (DefaultGlyphPainter.paint): Only paint the actual glyphs here
2470         The remaining stuff (background, underline and striking) is
2471         done in the GlpyhView itself. Avoid unnecessary allocations.
2472         (cached): A cached Segment instance.
2473         (getText): Return cached segment.
2474         (paint): Paint underline, strike and background here. Avoid
2475         unecessary allocs.
2476
2477 2006-11-19  Roman Kennke  <kennke@aicas.com>
2478
2479         * javax/swing/text/html/StyleSheet.java
2480         (getFontSize): Removed debug output.
2481         (ListPainter.tmpRect): New field.
2482         (ListPainter.paint): Align bullet vertically centered to
2483         the first line of the paragraph.
2484
2485 2006-11-17  Roman Kennke  <kennke@aicas.com>
2486
2487         * gnu/javax/swing/text/html/css/CSSParser.java
2488         (parseDeclaration): Trim string before reporting.
2489         * gnu/javax/swing/text/html/css/FontSize.java
2490         (size): New field.
2491         (isRelative): New field.
2492         (sizeIndex): New field.
2493         (FontSize): Initialize new fields.
2494         (getValue): Changed to call getValue(int).
2495         (getValue(int)): New method. Implements relative font sizes.
2496         (isRelative): New method.
2497         (mapAbsolute): Store index.
2498         (mapEM): New helper method.
2499         (mapLarger): New helper method.
2500         (mapPercent): New helper method.
2501         (mapRelative): New helper method.
2502         (mapSmaller): New helper method.
2503         (mapValue): New helper method.
2504         * javax/swing/text/html/CSS.java
2505         (parseBackgroundShorthand): Create CSSColor directly.
2506         * javax/swing/text/html/StyleSheet.java
2507         (addRule): Invalidate resolved styles.
2508         (getFont): Call new getFontSize() method to resolve relative
2509         font sizes.
2510         (getFontSize): New helper method. Resolves relative font sizes.
2511         (translateHTMLToCSS): Create CSS objects directly.
2512
2513 2006-11-13  Andrew John Hughes  <gnu_andrew@member.fsf.org>
2514
2515         * gnu/java/util/regex/RETokenNamedProperty.java:
2516         (getHandler(String)): Add support for 'all'.
2517
2518 2006-11-18  Andrew John Hughes  <gnu_andrew@member.fsf.org>
2519
2520         * gnu/javax/management/Server.java:
2521         Initial implementation of a GNU management server.
2522         * javax/management/MBeanPermission.java,
2523         * javax/management/MBeanRegistration.java,
2524         * javax/management/MBeanTrustPermission.java:
2525         Implemented.
2526         
2527 2006-11-17  Mark Wielaard  <mark@klomp.org>
2528
2529         * docs/www.gnu.org/newsitems.txt: Add Sun GPL news announcement.
2530
2531 2006-11-17  Gary Benson  <gbenson@redhat.com>
2532
2533         * java/net/DatagramSocket.java (getLocalAddress, connect,
2534         receive): Perform security check on address not hostname.
2535
2536 2006-11-16  Roman Kennke  <kennke@aicas.com>
2537
2538         * gnu/javax/swing/text/html/parser/support/Parser.java
2539         (_handleText): Fixed condition for consuming whitespace.
2540         Removed validator check, this is superfluous now.
2541
2542 2006-11-16  Roman Kennke  <kennke@aicas.com>
2543
2544         * gnu/javax/swing/text/html/css/CSSParser.java
2545         (parseRuleset): Support 'combined' selectors.
2546         (main): Adapt callback for combined selectors support.
2547         * gnu/javax/swing/text/html/css/CSSParserCallback.java
2548         (startStatement): Take selector array as argument, to
2549         support combined selectors.
2550         * javax/swing/text/html/BlockView.java
2551         (calculateMinorAxisRequirements): Fetch and apply alignment.
2552         * javax/swing/text/html/StyleSheet.java
2553         (CSSStyle): Inverted the constants for correct precedence.
2554         (CSSStyleSheetParserCallback.styles): New field. Stores the current
2555         styles.
2556         (CSSStyleSheetParserCallback.style): Removed.
2557         (CSSStyleSheetParserCallback.declaration): Update multiple styles.
2558         (CSSStyleSheetParserCallback.end): Push multiple styles.
2559         (CSSStyleSheetParserCallback.start): Initialize multiple styles.
2560
2561 2006-11-16  Roman Kennke  <kennke@aicas.com>
2562
2563         * javax/swing/text/FlowView.java
2564         (LogicalView.getPreferredSpan): Calculate maximum correctly.
2565         * javax/swing/text/GlyphView.java
2566         (tabExpander): New field.
2567         (tabX): New field.
2568         (breakView): Set tabX on broken view.
2569         (getPartialSpan): Let the painter fetch the span.
2570         (getTabbedSpan): Update the tab expander field. Maybe trigger
2571         relayout.
2572         (getTabExpander): Simply return the stored expander.
2573         * javax/swing/text/Utilities.java
2574         (getTabbedTextOffset): Made algoritm a little smarter and more
2575         efficient.
2576         (getTabbedTextWidth): Don't add single char widths, instead add
2577         chunks of characters.
2578         * javax/swing/text/html/ParagraphView.java
2579         (calculateMinorAxisRequirements): Adjust margin only when the
2580         CSS span is not fixed.
2581
2582 2006-11-16  David Gilbert  <david.gilbert@object-refinery.com>
2583
2584         * java/beans/beancontext/BeanContextSupport.java
2585         (getChildBeanContextMembershipListener): Implemented,
2586         (getChildPropertyChangeListener): Implemented,
2587         (getChildSerializable): Implemented,
2588         (getChildVetoableChangeListener): Implemented,
2589         (getChildVisibility): Implemented,
2590         (setDesignTime): Use same property name as Sun's implementation.
2591
2592 2006-11-16  David Gilbert  <david.gilbert@object-refinery.com>
2593
2594         * java/beans/DesignMode.java: Reformatted and removed a FIXME,
2595         * java/beans/Statement.java
2596         (toString): Updated to match reference implementation.
2597
2598 2006-11-15  Roman Kennke  <kennke@aicas.com>
2599
2600         * javax/swing/text/html/HTMLEditorKit.java
2601         (InsertHTMLTextAction.actionPerformed): Also try inserting
2602         the alternate tag. Adjust the selection accordingly.
2603         (InsertHTMLTextAction.adjustSelection): New helper method.
2604         Adjusts the selection after an insertion.
2605         (insertAtBoundary): Delegate to deprecated method.
2606         (insertAtBoundry): Implemented missing method.
2607         (tryInsert): New helper method.
2608         (defaultActions): Implemented to fill the array with
2609         a couple of InsertHTMLTextActions.
2610
2611 2006-11-15  Roman Kennke  <kennke@aicas.com>
2612
2613         * javax/swing/text/html/ImageView.java
2614         (Observer): New class. Observes image loading.
2615         (haveHeight): New field.
2616         (haveWidth): New field.
2617         (height): New field.
2618         (width): New field.
2619         (image): New field.
2620         (imageIcon): New field.
2621         (loading): New field.
2622         (observer): New field.
2623         (reloadImage): New field.
2624         (reloadProperties): New field.
2625         (ImageView): Initialize observer and some flags.
2626         (getImage): Update the image state and return the image.
2627         (loadImage): New helper method. Actually starts loading.
2628         (paint): Rewritten to paint the image directly, not via Icon.
2629         (reloadImage): Rewritten. Loads the image and its properties.
2630         (renderIcon): Removed. No more necessary.
2631         (setPropertiesFromAttributes): Don't nullify image here.
2632         Added comment about missing impl.
2633         (setSize): Added comment about missing impl.
2634         (updateSize): New helper method. Updates the size attributes.
2635         (updateState): New helper method. Makes sure the image
2636         and its properties are valid.
2637
2638 2006-11-15  Roman Kennke  <kennke@aicas.com>
2639
2640         * gnu/javax/swing/text/html/parser/support/Parser.java
2641         (_handleEndTag_remaining): Consume whitespace after a closing
2642         block like tag.
2643
2644 2006-11-15  Roman Kennke  <kennke@aicas.com>
2645
2646         * javax/swing/text/html/HTMLDocument.java
2647         (HTMLReader.ParagraphAction.end): Call super instead of blockClose()
2648         directly.
2649         (HTMLReader.ParagraphAction.start): Call super instead of blockOpen()
2650         directly.
2651         (HTMLReader.parseStack): Removed.
2652         (HTMLReader.blockClose): Simply call addContent() with ' '
2653         instead of doing more complicated stuff. Removed parseStack
2654         handling.
2655         (HTMLReader.blockOpen): Removed parseStack handling.
2656         (getInsertingReader): Removed parseStack init.
2657         * gnu/javax/swing/text/html/parser/htmlValidator.java
2658         (closeTag): Return true only when the tag actually should be
2659         closed.
2660         * gnu/javax/swing/text/html/parser/support/Parser.java
2661         (_handleEndTag): Only actually close the tag when the validator
2662         allows it.
2663
2664 2006-11-15  Roman Kennke  <kennke@aicas.com>
2665
2666         * javax/swing/text/html/CSS.java
2667         (Attribute.BORDER_SPACING): New field for the CSS border-spacing
2668         attribute.
2669         * javax/swing/text/html/StyleSheet.java
2670         (BoxPainter.bottomPadding): New field.
2671         (BoxPainter.leftPadding): New field.
2672         (BoxPainter.rightPadding): New field.
2673         (BoxPainter.topPadding): New field.
2674         (BoxPainter.BoxPainter): Fetch the MARGIN and PADDING* attributes
2675         too.
2676         (BoxPainter.getInset): Recognize and include the padding.
2677         (translateHTMLToCSS): Added mapping for CELLPADDING and CELLSPACING.
2678          javax/swing/text/html/TableView.java
2679         (RowView.calculateMajorAxisRequirements): Adjust req's for
2680         cellSpacing.
2681         (RowView.layoutMajorAxis): Adjust multi-column span for cellSpacing.
2682         (cellSpacing): New field.
2683         (columnRequirements): Made package private to avoid accessor method.
2684         (calculateMinorAxisRequirements): Include cellSpacing.
2685         (calculateMajorAxisRequirements): Overridden to include cellSpacing.
2686         (layoutMajorAxis): Likewise.
2687         (layoutColumns): Respect cellSpacing.
2688         (setParent): Overridden to fetch the CSS attributes when view gets
2689         connected.
2690         (setPropertiesFromAttributes): New method. Fetches the cell
2691         spacing from the CSS attributes.
2692
2693 2006-11-15  Roman Kennke  <kennke@aicas.com>
2694
2695         * gnu/javax/swing/text/html/parser/support/Parser.java
2696         (_handleText): Consume whitespace directly before a closing tag.
2697         (restOfTag): Consume whitespace directly after opening.
2698         * gnu/javax/swing/text/html/parser/support/textPreProcessor.java
2699         (preprocess): Don't perform array boundary checking by
2700         catch AIOOBE, instead check the boundary in loop condition.
2701         * gnu/javax/swing/text/html/parser/support/low/Constants.java
2702         (TAG_CLOSE): New constants. Describes the token pattern for
2703         a closing tag.
2704
2705 2006-11-14  Roman Kennke  <kennke@aicas.com>
2706
2707         * javax/swing/text/html/ImageView.java
2708         (getPreferredSpan): Use CSS length values.
2709         * javax/swing/text/html/TableView.java
2710         (CellView.calculateMajorAxisRequirements): Overridden to
2711         set the maximum reqs to maximum.
2712         (RowView.getMaximumSize): For the X_AXIS, set the maximum
2713         span to maximum.
2714         (RowView.getMinimumSpan): Overridden. For the X_AXIS, return
2715         the total column reqs.
2716         (RowView.getPreferredSpan): Overridden. For the X_AXIS, return
2717         the total column reqs.
2718         * gnu/javax/swing/text/html/css/CSSColor.java
2719         (convertValue): Catch NumberFormatExceptions for more robustness.
2720         * gnu/javax/swing/text/html/css/FontSize.java
2721         (mapPixels): Actually map px values. Catch NFE for more robustness.
2722
2723 2006-11-14  Roman Kennke  <kennke@aicas.com>
2724
2725         * gnu/java/awt/font/autofit/AxisHints.java,
2726         * gnu/java/awt/font/autofit/Constants.java,
2727         * gnu/java/awt/font/autofit/GlyphHints.java,
2728         * nu/java/awt/font/autofit/Latin.java,
2729         * nu/java/awt/font/autofit/LatinAxis.java,
2730         * gnu/java/awt/font/autofit/LatinMetrics.java,
2731         * gnu/java/awt/font/autofit/Scaler.java,
2732         * gnu/java/awt/font/autofit/Script.java,
2733         * gnu/java/awt/font/autofit/ScriptMetrics.java,
2734         * gnu/java/awt/font/autofit/Segment.java,
2735         * gnu/java/awt/font/autofit/Width.java:
2736         New classes. This is some skeleton stuff for the FreeType-alike
2737         auto-gridfitter.
2738         * gnu/java/awt/font/opentype/CharGlyphMap.java: Made class public.
2739         * gnu/java/awt/font/opentype/OpenTypeFont.java
2740         (unitsPerEm): Made field public.
2741         (getRawGlyphOutline): New method. Fetches the raw outline.
2742         * gnu/java/awt/font/opentype/Scaler.java
2743         (getRawGlyphOutline): New method. Fetches the raw outline.
2744         * gnu/java/awt/font/opentype/truetype/GlyphLoader.java
2745         (loadGlyph): New method. This is used to load raw outlines.
2746         * gnu/java/awt/font/opentype/truetype/TrueTypeScaler.java
2747         (getRawOutline): New method. Fetches the raw outline.
2748         * gnu/java/awt/font/opentype/truetype/Zone.java:
2749         Made class public.
2750
2751 2006-11-14  Roman Kennke  <kennke@aicas.com>
2752
2753         * javax/swing/RepaintManager.java
2754         (RepaintManager): Fetch the default state for the double buffering
2755         from a system property gnu.swing.doublebuffering.
2756
2757 2006-11-14  Roman Kennke  <kennke@aicas.com>
2758
2759         * javax/swing/plaf/basic/BasicLabelUI.java
2760         (cachedInsets): New field.
2761         (getFontMetrics): New helper method. Fetches the font metrics
2762         from the component or the toolkit.
2763         (getPreferredSize): Use getFontMetrics() helper method for
2764         fetching the font metrics.
2765         (paint): Use getFontMetrics() helper method for
2766         fetching the font metrics. Only paint if icon or text
2767         are != null. Use cached insets.
2768         (paintDisabledText): Don't store/restore color object. The
2769         JComponent painting mechanism takes care of this by calling
2770         create().
2771         (paintEnabledText): Don't store/restore color object. The
2772         JComponent painting mechanism takes care of this by calling
2773         create().
2774
2775 2006-11-14  Roman Kennke  <kennke@aicas.com>
2776
2777         * gnu/java/awt/peer/GLightweightPeer.java
2778         (handleEvent): Try to do something reasonable and trigger painting
2779         for the lightweight component.
2780         (getFontMetrics): Fetch and return a font metrics object from
2781         the Toolkit.
2782
2783 2006-11-13  Andrew John Hughes  <gnu_andrew@member.fsf.org>
2784
2785         * gnu/java/util/regex/RETokenNamedProperty.java:
2786         (getHandler(String)): Add support for 'all'.
2787         
2788 2006-11-13  Andreas Tobler  <a.tobler@schweiz.org>
2789
2790         * AUTHORS: Add myself.
2791
2792 2006-11-13  Thomas Fitzsimmons  <fitzsim@redhat.com>
2793
2794         * AUTHORS: Add Tania Bento, Thomas Fitzsimmons, Francis Kung and
2795         Dalibor Topic.  Re-order 'K' section.  Remove trailing space from
2796         Roman Kennke's entry.
2797
2798 2006-11-13  Roman Kennke  <kennke@aicas.com>
2799
2800         * java/awt/image/IndexColorModel.java
2801         (createCompatibleSampleModel): Implemented missing method.
2802
2803 2006-11-11  Andreas Tobler  <a.tobler@schweiz.org>
2804
2805         * gnu/java/awt/peer/gtk/GtkImageConsumer.java (setPixels): Handle data
2806         from big endian systems correctly.
2807
2808 2006-11-11  Roman Kennke  <kennke@aicas.com>
2809
2810         * gnu/javax/swing/text/html/css/CSSColor.java
2811         (isValidColor): New helper method. Checks strings if they
2812         form a valid color value.
2813         * gnu/javax/swing/text/html/css/Length.java
2814         (Length): Catch number format exceptions.
2815         * javax/swing/text/html/CSS.java
2816         (addInternal): New method. Checks for shorthand CSS attributes
2817         and parses them.
2818         (parseBackgroundShorthand): New method. Parses the background
2819         shorthand attribute.
2820         * javax/swing/text/html/HTMLDocument.java
2821         (HTMLReader.LinkAction): Made class a subclass of HiddenAction.
2822         (HTMLReader.LinkAction.start): Implemented to load the linked
2823         stylesheet.
2824         (HTMLReader.LinkAction.end): Removed. This is not needed.
2825         * javax/swing/text/html/StyleSheet.java
2826         (CSSStyleSheetParserCallback.declaration): Push declaration
2827         through CSS.addInternal() to parse shorthand attributes.
2828         (addCSSAttribute): Push declaration through CSS.addInternal()
2829         to parse shorthand attributes.
2830         (importStyleSheet): Implemented. This adds a stylesheet from
2831         an URL.
2832         * javax/swing/text/html/TableView.java
2833         (calculateColumnRequirements): Increase column index for
2834         non CellView children to avoid endless loop.
2835         * javax/swing/text/CompositeView.java
2836         (setParent): Comparen with numChildren not with real arraylength.
2837
2838 2006-11-11  David Gilbert  <david.gilbert@object-refinery.com>
2839
2840         * java/beans/beancontext/BeanContextSupport.java
2841         (getChildBeanContextChild): Implemented.
2842
2843 2006-11-10  Roman Kennke  <kennke@aicas.com>
2844
2845         * javax/swing/text/View.java
2846         (updateLayout): Only repaint when needed.
2847
2848 2006-11-10  David Gilbert  <david.gilbert@object-refinery.com>
2849
2850         * java/util/Collections.java
2851         (sort(List)): Minor API doc addition,
2852         (sort(List, Comparator)): Likewise.
2853
2854 2006-11-10  David Fu  <fchoong@netbeans.jp>
2855
2856         * javax/swing/text/html/HTMLWriter.java
2857         (traverse): Removed Classpath specific handling of implied
2858         tags.
2859         (traverseHtmlFragment): Removed Classpath specific handling of
2860         implied tags.
2861
2862 2006-11-10  Roman Kennke  <kennke@aicas.com>
2863
2864         * javax/swing/text/ParagraphView.java
2865         (Row.getMaximumSize): Removed. This method is not necessary.
2866         * javax/swing/text/html/TableView.java
2867         (CellView): Moved attribute init to setPropertiesFromAttributes().
2868         (setPropertiesFromAttributes): Fetch attributes here.
2869         (RowView.RowView): Documented.
2870         (RowView.getMaximumSpan): Overridden to restrict the max span
2871         in the Y direction.
2872         (RowView.layoutMajorAxis): Correctly layout the spans.
2873         (columnWidths): New field. Stores the width attributes of
2874         the columns.
2875         (calculateColumnRequirements): Added support for relative
2876          (== percent) width attributes.
2877         (calculateMajorAxisRequirements): Removed.
2878         (calculateMinorAxisRequirements): Removed unnecessary code.
2879         (getMaximumSpan): Overridden to restrict the table's width.
2880         (layoutColumns): Documented. Implement more clever table layout,
2881         i.e. for relative columns etc.
2882         (layoutMinorAxis): Don't mark rows invalid.
2883         (updateGrid): Added docs. Initialize column widths.
2884
2885 2006-11-09  Roman Kennke  <kennke@aicas.com>
2886
2887         * gnu/java/awt/peer/headless/HeadlessGraphicsEnvironment,
2888         * gnu/java/awt/peer/headless/HeadlessToolkit: New classes.
2889         Implement basic headless toolkit.
2890         * java/awt/Toolkit.java
2891         (getDefaultToolkit): Check headless property and create
2892         headless toolkit when true.
2893
2894 2006-11-09  Ingo Proetel  <proetel@aicas.com>
2895 2006-11-09  Roman Kennke  <kennke@aicas.com>
2896
2897         * gnu/java/awt/peer/swing/SwingButtonPeer.java
2898         (SwingButton.button): New field.
2899         (SwingButton.SwingButton): Added constructor.
2900         (SwingButton.isShowing): Access button field instead of
2901         the surrounding class.
2902         (SwingButton.getParent): Access button field instead of
2903         the surrounding class.
2904         (SwingButtonPeer): Call new SwingButton constructor.
2905         * gnu/java/awt/peer/swing/SwingComponent.java:
2906         Several documentation updates.
2907         * gnu/java/awt/peer/swing/SwingComponentPeer.java
2908         (currentPaintEvents): New field.
2909         (peerFont): New field.
2910         (SwingComponentPeer): Initialize currentPaintEvents fields.
2911         (coalescePaintEvents): Implemented.
2912         (dispose): Unregister peer from heavyweight list of its container.
2913         (getGraphics): Fetch graphics from parent component.
2914         (handleEvent): Discard paint event if its coalesced.
2915         (init): Register component with its container for proper painting.
2916         (paint): Call peerPaint().
2917         (peerPaint): Added argument that indicates if we should update.
2918         Call paint or update on the actual AWT component.
2919         (peerPaintComponent): New method. Paints the peer (Swing) component.
2920         (setFont): Set peerFont field.
2921         * gnu/java/awt/peer/swing/SwingContainerPeer.java
2922         (backbuffer): New field.
2923         (focusOwner): New field.
2924         (heavyweightDescendents): New field.
2925         (SwingContainerPeer): Take Container as argument. Don't call init
2926         yet.
2927         (addHeavyweightDescendent): New method.
2928         (getFocusOwner): New helper method.
2929         (getInsets): Delegate to insets().
2930         (handleKeyEvent): Dispatch event to focus owner.
2931         (handleMouseEvent): Dispatch to child component.
2932         (isDoubleBuffering): New helper method.
2933         (peerPaint): Overridden to implement container painting with
2934         double buffering.
2935         (peerPaintChildren): New method. Paints the descendents of this
2936         container.
2937         (removeHeavyweightDescendent): New helper method.       
2938         * gnu/java/awt/peer/swing/SwingFramePeer.java
2939         (peerPaint): Removed.
2940         (peerPaintComponent): Overridden to paint the menu bar.
2941         * gnu/java/awt/peer/swing/SwingLabelPeer.java
2942         (SwingLabel.label): New field.
2943         (SwingLabel.SwingLabel): Added constructor with Label argument.
2944         (SwingLabel.getGraphics): Implemented to fetch the graphics from
2945         the actual AWT component.
2946         (SwingLabel.getParent): Implemented to fetch the parent from
2947         the AWT component.
2948         (SwingLabel.isShowing): Access the label field.
2949         (SwingLabelPeer): Set alignment from label.
2950         * gnu/java/awt/peer/swing/SwingListPeer.java: New class.
2951         * gnu/java/awt/peer/swing/SwingMenuBarPeer.java: Documentation
2952         fixlet.
2953         * gnu/java/awt/peer/swing/SwingPanelPeer.java:
2954         Don't be a lighweight peer.
2955         (SwingPanelPeer): Call init.
2956         * gnu/java/awt/peer/swing/SwingTextAreaPeer.java: New class.
2957         * gnu/java/awt/peer/swing/SwingTextFieldPeer.java
2958         (SwingTextField.textField): New field.
2959         (SwingTextField.SwingTextField): New constructor.
2960         (SwingTextField.isShowing): Access field not enclosing class.
2961         (SwingTextField.getGraphics): New method.
2962         (SwingTextField.getParent): New method.
2963         (SwingTextFieldPeer): Call new constructor.
2964         (select): Renamed arguments.
2965         * gnu/java/awt/peer/swing/SwingWindowPeer.java
2966         (SwingWindowPeer): Call init.
2967
2968 2006-11-09  Tania Bento  <tbento@redhat.com>
2969
2970         * javax/swing/JLabel.java
2971         (JLabel(Icon)): Changed documentation; Changed text to null.
2972         (JLabel(Icon,int)): Likewise.
2973         (JLabel(text)): Changed documenation.
2974         (JLabel(text,int)): Likewise.
2975         (JLabel(text,Icon,int)): Changed documentation; Throw 
2976         IllegalArgumentException if int is not one of LEFT, RIGHT,
2977         CENTER, LEADING or TRAILING.
2978
2979 2006-11-09  David Gilbert  <david.gilbert@object-refinery.com>
2980
2981         * java/beans/beancontext/BeanContextSupport.java
2982         (BeanContextSupport): Use correct dtime default,
2983         (BeanContextSupport(BeanContext)): Likewise,
2984         (BeanContextSupport(BeanContext, Locale)): Likewise, plus renamed
2985         locale argument,
2986         (BeanContextSupport(BeanContext, Locale, boolean)): Likewise,
2987         (BeanContextSupport(BeanContext, Locale, boolean, boolean)): Likewise.
2988
2989 2006-11-09  David Gilbert  <david.gilbert@object-refinery.com>
2990
2991         * java/beans/beancontext/BeanContextSupport.java
2992         (getBeanContextPeer): Implemented.
2993
2994 2006-11-09  Roman Kennke  <kennke@aicas.com>
2995
2996         * javax/swing/text/html/BlockView.java
2997         (cssHeight): Removed.
2998         (cssWidth): Removed.
2999         (cssSpans): New field. Replaces the two fields above.
3000         (BlockView): Allocate cssSpans array.
3001         (layoutMinorAxis): Fetch and use child span, not this view's span.
3002         (setCSSSpan): Adjusted to use cssSpans array.
3003         (setPropertiesFromAttributes): Adjusted to use cssSpans array.
3004
3005 2006-11-09  Roman Kennke  <kennke@aicas.com>
3006
3007         * javax/swing/text/html/InlineView.java
3008         (nowrap): New field.
3009         (getBreakWeight): Add support for nowrap.
3010         (setPropertiesFromAttributes): Fetch the nowrap setting.
3011
3012 2006-11-09  Roman Kennke  <kennke@aicas.com>
3013
3014         * gnu/javax/swing/text/html/css/CSSParser.java
3015         (parseRuleset): Use new Selector class.
3016         (parseValue): Parse multiple anys, not only one.
3017         (main): Allow stylesheet be specified on the command line.
3018         Use new Selector class.
3019         * gnu/javax/swing/text/html/css/CSSParserCallback.java
3020         (startStatement): Use Selector class.
3021         * gnu/javax/swing/text/html/css/CSSScanner.java
3022         (readName): Actually read a character in the loop to avoid
3023         endless loop.
3024         * gnu/javax/swing/text/html/css/Length.java
3025         (getValue): Only multiply when we have a percentage value.
3026         * gnu/javax/swing/text/html/css/Selector.java:
3027         New class. Provides handling of CSS selectors.
3028         * javax/swing/text/html/StyleSheet.java
3029         (CSSStyle.PREC_AUTHOR_IMPORTANT): New constant field.
3030         (CSSStyle.PREC_AUTHOR_NORMAL): New constant field.
3031         (CSSStyle.PREC_NORM): New constant field.
3032         (CSSStyle.PREC_UA): New constant field.
3033         (CSSStyle.PREC_USER_IMPORTANT): New constant field.
3034         (CSSStyle.precedence): New field.
3035         (CSSStyle.priority): Removed.
3036         (CSSStyle.selector): New field.
3037         (CSSStyle.CSSStyle(int,Selector)): Initialize with Selector
3038         and precendence.
3039         (CSSStyle.compareTo): Adjusted to use the precedence and
3040         specificity of the selector.
3041         (CSSStyleSheetParserCallback.precedence): New field.
3042         (CSSStyleSheetParserCallback.selector): Removed.
3043         (CSSStyleSheetParserCallback.style): New field.
3044         (CSSStyleSheetParserCallback.CSSStyleSheetParserCallback):
3045         Initialize with precedence.
3046         (CSSStyleSheetParserCallback.declaration): Don't look up
3047         existing rule, simply create new one.
3048         (CSSStyleSheetParserCallback.endStatement): Append style
3049         to stylesheet.
3050         (CSSStyleSheetParserCallback.startStatement): Use new Selector
3051         class.
3052         (css): Changed to be ArrayList.
3053         (addRule): Create parser with author-normal precendence.
3054         (getRule): Fixed implementation.
3055         (loadRules): Create parser with UA precendence.
3056         (resolveStyle): Use Selector class for resolving and matching
3057         stylesheet rules.
3058         (translateHTMLToCSS): Added mappings for a couple of HTML
3059         attributes.
3060
3061 2006-11-09  David Gilbert  <david.gilbert@object-refinery.com>
3062
3063         Fixes bug #29770
3064         * java/beans/SimpleBeanInfo.java
3065         (loadImage): Check for nulls.
3066
3067 2006-11-09  Robert Schuster  <robertschuster@fsfe.org>
3068
3069         * native/jni/java-nio/gnu_java_nio_VMChannel.c:
3070         (getpeername): Added 16 byte offset to memcpy operation.
3071
3072 2006-11-09  Robert Schuster  <robertschuster@fsfe.org>
3073
3074         * native/jni/java-nio/gnu_java_nio_VMChannel.c:
3075         (getsockname): Added 16 byte offset to memcpy operation.
3076
3077 2006-11-08  Mark Wielaard  <mark@klomp.org>
3078
3079         Fixes bug #29754
3080         * java/io/OutputStreamWriter.java
3081         (OutputStreamWriter(OutputStream,Charset)): Set encodingName.
3082         (OutputStreamWriter(OutputStream,CharsetEncoder)): Likewise.
3083
3084 2006-11-08  Roman Kennke  <kennke@aicas.com>
3085
3086         * javax/swing/text/html/HTMLEditorKit.java
3087         (getParser): Use plain HTML_401F DTD.
3088         * javax/swing/text/html/HTMLDocument.java
3089         (HTMLReader.print): Removed method and all calls to it.
3090         (HTMLReader.printBuffer): Removed method and all calls to it.
3091         (HTMLReader.inImpliedParagraph): New field.
3092         (HTMLReader.inParagraph): New field.
3093         (HTMLReader.addContent): Create implied p-tag if necessary.
3094         (HTMLReader.addSpecialElement): Create implied p-tag if necessary.
3095         (HTMLReader.blockClose): Close implied p-tag if necessary.
3096         (HTMLReader.blockOpen): Close implied p-tag if necessary.
3097         * gnu/javax/swing/text/html/parser/HTML_401Swing.java: Removed.
3098
3099 2006-11-08  Roman Kennke  <kennke@aicas.com>
3100
3101         * javax/swing/text/html/HTMLEditorKit.java
3102         (HTMLFactory.create): Removed mapping for TD tag. This
3103         is done in TableView.
3104         * javax/swing/text/html/TableView.java:
3105         Implemented from scratch.
3106
3107 2006-11-07  Roman Kennke  <kennke@aicas.com>
3108
3109         * gnu/javax/swing/text/html/parser/support/Parser.java
3110         (_handleText): Check if text content is actually allowed before
3111         passing empty text fragments on to the parser callbacks.
3112
3113 2006-11-07  Mark Wielaard  <mark@klomp.org>
3114
3115         * gnu/java/net/protocol/jar/Handler.java (parseURL): Flatten jar
3116         path.
3117         (flat): New method.
3118
3119 2006-11-07  Tania Bento  <tbento@redhat.com>
3120
3121         * java/awt/FlowLayout.java
3122         (getSize): If parent does not have a component, then a 
3123         different formula is used to calcuate the width.
3124
3125 2006-11-07  Roman Kennke  <kennke@aicas.com>
3126
3127         * javax/swing/text/html/HTMLEditorKit.java
3128         (HTMLFactory.create): Include ListView.
3129         * javax/swing/text/html/ListView.java
3130         (paint): Removed comment.
3131         * javax/swing/text/html/StyleSheet.java
3132         (CSSStyle.priority): New field.
3133         (CSSStyle.CSSStyle(int)): New constructor with priority.
3134         (CSSStyle.compareTo): New method. Used for sorting the styles.
3135         (CSSStyleSheetParserCallback.declaration): Store the style
3136         with the complete selector.
3137         (ListPainter.attributes): Renamed as field.
3138         (ListPainter.styleSheet): New field.
3139         (ListPainter.type): New field.
3140         (ListPainter.ListPainter): Pass StyleSheet to constructor.
3141         (ListPainter.paint): Provide simplistic implementation.
3142         (getListPainter): Pass StyleSheet to constructor.
3143         (resolveStyle): Fixed CSS style resolving.
3144
3145 2006-11-07  Roman Kennke  <kennke@aicas.com>
3146
3147         * gnu/javax/swing/text/html/css/BorderWidth.java:
3148         New class. Handles CSS border width values.
3149         * gnu/javax/swing/text/html/css/Length.java
3150         (floatValue): Made protected so that BorderWidth can access it.
3151         * javax/swing/text/html/CSS.java
3152         (Attribute.BORDER_BOTTOM_COLOR): New static field.
3153         (Attribute.BORDER_BOTTOM_STYLE): New static field.
3154         (Attribute.BORDER_LEFT_COLOR): New static field.
3155         (Attribute.BORDER_LEFT_STYLE): New static field.
3156         (Attribute.BORDER_RIGHT_COLOR): New static field.
3157         (Attribute.BORDER_RIGHT_STYLE): New static field.
3158         (Attribute.BORDER_TOP_COLOR): New static field.
3159         (Attribute.BORDER_TOP_STYLE): New static field.
3160         (getValue): Added some mappings for the border color and
3161         border width values.
3162         * javax/swing/text/html/CSSBorder.java: New class. Implements
3163         CSS borders.
3164         * javax/swing/text/html/StyleSheet.java
3165         (BoxPainter.background): New field.
3166         (BoxPainter.border): New field.
3167         (BoxPainter.bottomInset): Documented.
3168         (BoxPainter.leftInset): Documented.
3169         (BoxPainter.rightInset): Documented.
3170         (BoxPainter.topInset): Documented.
3171         (BoxPainter.BoxPainter): Added support for borders and background.
3172         (BoxPainter.getInset): Add border insets.
3173         (BoxPainter.paint): Implemented. Paints the background and the
3174         CSS border.
3175         (addRule): Be less picky about parse and IO exceptions.
3176         (getBoxPainter): Adjust to new BoxPainter constructor.
3177
3178 2006-11-07  Andreas  <a.tobler@schweiz.org>
3179
3180         * examples/Makefile.am: Add rule to install the *.html files we use
3181         in the Swing Demo.
3182
3183 2006-11-06  Francis Kung  <fkung@redhat.com>
3184
3185         * gnu/java/awt/peer/gtk/ComponentGraphics.java
3186         (fillRect): Handle custom composites.
3187         (drawRenderedImage): Handle custom composites.
3188         (drawImage): Handle custom composites.
3189         (createBuffer): New method.
3190         (drawLine): Handle custom composites.
3191         (drawComposite): New method.
3192         (fill): Handle custom composites.
3193         (getNativeCM): New method.
3194         (drawGlyphVector): Handle custom composites.
3195         (drawRect): Handle custom composites.
3196         (draw): Handle custom composites.
3197         * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
3198         (drawComposite): Unset composite during draw call, to prevent parent
3199         from handling composite again.
3200         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
3201         (getBufferCM): Added comments.
3202         (getNativeCM): Made abstract.
3203         (setComposite): Removed comments.
3204
3205 2006-11-06  Roman Kennke  <kennke@aicas.com>
3206
3207         * examples/gnu/classpath/examples/swing/HtmlDemo.java:
3208         Fixed initial window size and start document.
3209
3210 2006-11-06  Roman Kennke  <kennke@aicas.com>
3211
3212         * javax/swing/text/html/HTMLDocument.java
3213         (HTMLReader.addSpecialElement): Removed comment about
3214         htmlAttributeSet.
3215         (HTMLReader.handleComment): Create SimpleAttributeSet instead
3216         of htmlAttributeSet.
3217         * javax/swing/text/html/parser/DocumentParser.java
3218         (gnuParser.handleStartTag): Use SimpleAttributeSet instead
3219         of htmlAttributeSet.
3220         * javax/swing/text/html/parser/ParserDelegator.java
3221         (gnuParser.handleStartTag): Use SimpleAttributeSet instead
3222         of htmlAttributeSet.
3223         * gnu/javax/swing/text/html/parser/GnuParserDelegator.java
3224         (gnuParser.handleStartTag): Use SimpleAttributeSet instead
3225         of htmlAttributeSet.
3226         * gnu/javax/swing/text/html/parser/support/Parser.java
3227         (getAttributes): Return a SimpleAttributeSet.
3228         (restOfTag): Don't set resolving parent here.
3229
3230 2006-11-06  Tania Bento  <tbento@redhat.com>
3231
3232         * java/awt/TextComponent.java
3233         (setSelectionStart): Added check.
3234
3235 2006-11-06  Tania Bento  <tbento@redhat.com>
3236
3237         * java/awt/TextField.java
3238         (minimumSize(int)): Check if minimum size has been previously
3239         set and changed values of Dimension returned if peer == null.
3240         (preferredSize(int)): Check if preferred size has been previously
3241         set and changed values of Dimension returned if peer == null.
3242
3243 2006-11-06  Roman Kennke  <kennke@aicas.com>
3244
3245         * javax/swing/JTree.java
3246         (TreeModelHandler.treeNodesRemoved): Implemented.
3247         (TreeModelHandler.treeStructureChanged): Implemented.
3248         (nodeStates): Made package private.
3249
3250 2006-11-06  Francis Kung  <fkung@redhat.com>
3251
3252         PR 29420
3253         * javax/swing/JTree.java
3254         (clearSelectionPathStates): New private method to clean up nodeStates.
3255         (removeSelectionPath): Call clearSelectionPathStates().
3256         (removeSelectionPaths): Call clearSelectionPathStates().
3257         (removeSelectionRow): Call clearSelectionPathStates().
3258         (setSelectionPath): Call clearSelectionPathStates().
3259         (setSelectionPaths): Call clearSelectionPathStates().
3260         (setSelectionRow): Call clearSelectionPathStates().
3261
3262 2006-11-06  Ito Kazumitsu  <kaz@maczuka.gcd.org>
3263
3264         Fixes bug #29703
3265         * java/util/regex/Matcher.java(reset): Reset inputCharIndexed.
3266
3267 2006-11-06  Roman Kennke  <kennke@aicas.com>
3268
3269         * examples/gnu/classpath/examples/swing/HtmlDemo.java:
3270         Changed to implement a minimalistic browser.
3271         * examples/gnu/classpath/examples/swing/forms.html,
3272         * examples/gnu/classpath/examples/swing/textstyles.html,
3273         * examples/gnu/classpath/examples/swing/welcome.html:
3274         Some example content.
3275
3276 2006-11-06  Roman Kennke  <kennke@aicas.com>
3277
3278         * javax/swing/text/ComponentView.java
3279         (setParent): Lock the document and repaint the hosting
3280         container.
3281         * javax/swing/text/FlowView.java
3282         (FlowStrategy.createView): Removed comment.
3283         (FlowView): Initialize span with Short.MAX_VALUE.
3284         (getFlowStart): Return 0 unconditionally.
3285         (layout): Moved code around to make it more readable.
3286         (loadChildren): Always set the parent.
3287         * javax/swing/text/GlyphView.java
3288         (DefaultGlyphPainter.fontMetrics): New field.
3289         (DefaultGlyphPainter.getAscent): Use new helper method to
3290         synchronize the font metrics.
3291         (DefaultGlyphPainter.getBoundedPosition): Use new helper method
3292         to synchronize the font metrics.
3293         (DefaultGlyphPainter.getDescent): Use new helper method to
3294         synchronize the font metrics.
3295         (DefaultGlyphPainter.getHeight): Use new helper method to
3296         synchronize the font metrics.
3297         (DefaultGlyphPainter.getSpan): Use new helper method to
3298         synchronize the font metrics.
3299         (DefaultGlyphPainter.modelToView): Use new helper method to
3300         synchronize the font metrics.
3301         (DefaultGlyphPainter.updateFontMetrics): New helper method for
3302         font metrics caching.
3303         (DefaultGlyphPainter.viewToModel): Use new helper method to
3304         synchronize the font metrics. Fixed view to model mapping.
3305         * javax/swing/text/View.java
3306         (removeAll): Pass null to replace().
3307         (setParent): Only reparent children that have this view as parent.
3308
3309 2006-11-05  Mark Wielaard  <mark@klomp.org>
3310
3311         * include/gnu_java_net_VMPlainDatagramSocketImpl.h: Removed.
3312         * include/gnu_java_nio_channels_FileChannelImpl.h: Removed.
3313         * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c:
3314         Removed.
3315         * native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c:
3316         Removed.
3317         * native/jni/java-nio/Makefile.am (libjavanio_la_SOURCES):
3318         Remove gnu_java_nio_channels_FileChannelImpl.c.
3319
3320 2006-11-03  Roman Kennke  <kennke@aicas.com>
3321
3322         * javax/swing/text/html/BlockView.java
3323         (attributes): New field.
3324         (cssHeight): New field.
3325         (cssWidth): New field.
3326         (painter): New field.
3327         (calculateMajorAxisRequirements): Overridden to account for
3328         CSS settings.
3329         (calculateMinorAxisRequirements): Overridden to account for
3330         CSS settings.
3331         (layoutMinorAxis): Overridden to account for CSS settings.
3332         (changedUpdate): Formatting fixlet.
3333         (constrainSize): New helper method.
3334         (getAlignment): Fix alignment.
3335         (getAttributes): Cache attributes for better performance.
3336         (getStyleSheet): Fetch stylesheet from document rather than creating
3337         a new one.
3338         (paint): Remove comment.
3339         (setCSSSpan): New helper method.
3340         (setPropertiesFromAttributes): Implemented to fetch the
3341         recognized properties.
3342         * javax/swing/text/html/CSS.java
3343         (getValue): Added mapping for width and height attributes.
3344         * javax/swing/text/html/InlineView.java
3345         (longestWord): New field.
3346         (getLongestWord): New helper method.
3347         (calculateLongestWord): New helper method.
3348         (getMinimumSpan): Overridden to constrain the minimum span by the
3349         longest word.
3350         * javax/swing/text/html/ParagraphView.java
3351         (cssHeight): New field.
3352         (cssWidth): New field.
3353         (calculateMinorAxisRequirements): Overridden to account for
3354         CSS settings.
3355         (setCSSSpan): New helper method.
3356         (setPropertiesFromAttributes): Fetch CSS width and height. Added
3357         null check.
3358         * gnu/javax/swing/text/html/css/Length.java
3359         (percentage): New field.
3360         (Length): Determine percentage values.
3361         (getValue(float)): New method for handling percentage values.
3362         (isPercentage): New method.
3363
3364 2006-11-03  Tania Bento  <tbento@redhat.com>
3365
3366         * java/awt/TextArea.java
3367         (getMinimumSize): Changed documentation.
3368         (getPreferredSize): Changed documentation.
3369         (getMinimumSize(int,int)): Changed documenation.
3370         (getPreferredSize(int,int)): Changed documenation.
3371         (minimumSize): Changed documentation.
3372         (preferredSize): Changed documenation.
3373         (minimumSize(int,int)): Changed documentation.  Checked if 
3374         minimum size had been previously set and changed values of
3375         Dimension returned if peer == null.
3376         (preferredSize(int, int)): Checked if preferred size had been
3377         previously set and changed values of Dimension returned if
3378         peer = null.
3379
3380 2006-11-03  Tania Bento  <tbento@redhat.com>
3381
3382         * java/awt/event/ComponentEvent.java
3383         (paramString): Changed format of string representation returned.
3384
3385 2006-11-03  Roman Kennke  <kennke@aicas.com>
3386
3387         * javax/swing/text/html/HTMLDocument.java
3388         (HTMLReader.FormAction.start): Added support for textarea.
3389         (HTMLReader.FormAction.end): Added support for textarea.
3390         (HTMLReader.HeadAction.end): Call super to actually close the
3391         block.
3392         (HTMLReader.inTextArea): New field.
3393         (HTMLReader.textAreaDocument): New field.
3394         (HTMLReader.handleText): Call textAreaContent when inside
3395         a textarea tag.
3396         (HTMLReader.textAreaContent): Implemented to initialize
3397         the text area's model.
3398         * javax/swing/text/html/FormView.java
3399         (createComponent): Added support for textarea tag.
3400
3401 2006-11-03  Roman Kennke  <kennke@aicas.com>
3402
3403         * javax/swing/text/html/HTMLDocument.java
3404         (HTMLReader.IsindexAction.start): Implemented.
3405
3406 2006-11-03  Roman Kennke  <kennke@aicas.com>
3407
3408         * javax/swing/text/html/StyleSheet.java
3409         (addRule): Implemented.
3410         * javax/swing/text/html/HTMLDocument.java
3411         (HTMLReader.inStyleTag): New field.
3412         (HTMLReader.styles): New field.
3413         (HTMLReader.HeadAction.end): Implemented to read all stylesheets,
3414         if any.
3415         (HTMLReader.StyleAction.start): Set inStyleTag flag.
3416         (HTMLReader.StyleAction.end): Set inStyleTag flag.
3417         (HTMLReader.handleText): When inside a style tag, add
3418         content to the styles array.
3419
3420 2006-11-02  Roman Kennke  <kennke@aicas.com>
3421
3422         * javax/swing/text/html/FormView.java
3423         (maxIsPreferred): New field.
3424         (createComponent): Initialize components correctly.
3425         (getMaximumSpan): Return the preferred span for components
3426         that need this. The maxIsPreferred flag is set accordingly
3427         in createComponent.
3428         * javax/swing/text/html/HTMLDocument.java
3429         (HTMLReader.FormAction.start): Implemented to set the
3430         correct model as attribute.
3431         (HTMLReader.FormAction.setModel): New helper method.
3432         (HTMLReader.FormAction.end): Call super to finish the element.
3433         Added TODO about things left to do.
3434         (HTMLReader.handleComment): Use SimpleAttributeSet rather
3435         than htmlAttributeSet.
3436         * javax/swing/text/html/HTMLEditorKit.java
3437         (HTMLFactory.create): Create BlockView for FORM tags.
3438         Create FormView for INPUT, TEXTAREA and SELECT tags.
3439
3440 2006-11-02  David Gilbert  <david.gilbert@object-refinery.com>
3441
3442         * java/awt/geom/GeneralPath.java: API doc fixes.
3443
3444 2006-11-02  Roman Kennke  <kennke@aicas.com>
3445
3446         * javax/swing/text/html/ImageView.java
3447         (getImageURL): Fetch attribute from element. Consider the
3448         base URL for relative image locations.
3449
3450 2006-11-02  Roman Kennke  <kennke@aicas.com>
3451
3452         * javax/swing/JEditorPane.java
3453         (setContentType): Strip off attributes.
3454         * javax/swing/text/html/HTMLEditorKit.java
3455         (LinkController.activateLink(int,JEditorPane,int,int): New
3456         method. Implements activation of a hyperlink.
3457         (LinkController.activateLinke(int,JEditorPane)): Delegate
3458         to the other activateLink() method.
3459         (LinkController.createHyperlinkEvent): New helper method.
3460         (LinkController.mouseClicked): Implemented to activate the link.
3461         (LinkController.mouseDragged): Added comment that this
3462         method does nothing.
3463         (LinkController.mouseMoved): Update cursor for hyperlinks.
3464         (mouseHandler): Renamed field to linkController.
3465         (HTMLEditorKit): Create a link controller.
3466         (clone): Give the clone a new link controller.
3467         (deinstall): De-install link controller as mouseMotionListener too.
3468         (install): Install link controller as mouseMotionListener too.
3469
3470 2006-11-02  Roman Kennke  <kennke@aicas.com>
3471
3472         PR 29644
3473         * javax/swing/text/FlowView.java
3474         (FlowStrategy.changedUpdate): Reversed condition. This caused
3475         wrong layout and bad performance.
3476         (FlowStrategy.insertUpdate): Reversed condition. This caused
3477         wrong layout and bad performance.
3478         (FlowStrategy.removeUpdate): Reversed condition. This caused
3479         wrong layout and bad performance.
3480         (LogicalView): Changed to be a subclass of CompositeView.
3481         (LogicalView()): Only take one Element argument.
3482         (LogicalView.childAllocation): New method for implementing
3483         the abstract CompositeView method.
3484         (LogicalView.forwardUpdateToView): Overridden for correct
3485         reparenting.
3486         (getMinimumSpan): Overridden to handle line breaking correctly.
3487         (getPreferredSpan): Implemented to handle line breaking correctly.
3488         (getViewAtPoint): New method for implementing
3489         the abstract CompositeView method.
3490         (getViewIndexAtPosition): Overridden to handle leaf elements
3491         correctly.
3492         (isAfter): New method for implementing
3493         the abstract CompositeView method.
3494         (isBefore): New method for implementing
3495         the abstract CompositeView method.
3496         (loadChildren): Overridden to handle leaf elements
3497         correctly.
3498         (paint): New method for implementing
3499         the abstract CompositeView method.
3500         (calculateMinorAxisRequirements): Use preferredSpan in calculation.
3501         (loadChildren): Initialize flow layout by sending a synthetic
3502         insertUpdate() to the layout strategy.
3503         * javax/swing/text/GlyphView.java
3504         (DefaultGlyphPainter.getBoundedPosition): Fall back to Toolkit's
3505         font metrics if component is not available. Add initial offset
3506         to result.
3507         (breakView): Be more clever when breaking the view.
3508         (getBreakLocation): New helper method to determine a good
3509         break location.
3510         (getBreakWeight): Be more clever when breaking the view.
3511         (getTabbedSpan): Make sure we have a painter. Use view's
3512         start and end offset rather than the element's.
3513         * javax/swing/text/Utilities.java
3514         (drawTabbedText): Avoid useless add and sub with the y offset.
3515
3516 2006-11-02  Roman Kennke  <kennke@aicas.com>
3517
3518         PR 29644
3519         * gnu/java/awt/peer/ClasspathFontPeer.java
3520         (getStringBounds): Removed abstract method. This is replaced
3521         in java.awt.Font to use a TextLayout.
3522         * gnu/java/awt/peer/gtk/GtkWindowPeer.java
3523         (GtkWindowPeer): Set a font on the window object.
3524         * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
3525         (FreetypeGlyphVector(Font,String,FontRenderContext,int)):
3526         Changed to take char,int,int instead of String. Filter
3527         control characters.
3528         (FreetypeGlyphVector(Font,String,FontRenderContext)):
3529         Create char array out of string.
3530         (getLogicalBounds): Don't translate bounds. They already are
3531         translated.
3532         * gnu/java/awt/peer/gtk/GdkFontMetrics.java
3533         (stringWidth): Filter out control characters.
3534         * gnu/java/awt/peer/gtk/GdkFontPeer.java
3535         (getStringBounds): Removed unneeded method.
3536         (layoutGlyphVector): Pass char array directly to FreetypeGlyphVector
3537         constructor.
3538         * gnu/java/awt/peer/qt/QtFontPeer.java
3539         (getStringBounds): Removed unneeded method.
3540         * gnu/java/awt/peer/x/XFontPeer.java
3541         (getStringBounds): Removed unneeded method.
3542         * gnu/java/awt/peer/x/XFontPeer2.java
3543         (getStringBounds): Removed unneeded method.
3544         * java/awt/Font.java
3545         (getStringBounds(char[],int,int,FontRenderContext)):
3546         Use TextLayout to determine the bounds.
3547         (getStringBounds(CharacterIterator,int,int,FontRenderContext)):
3548         Delegate to the char[] version of this method.
3549         (getStringBounds(String,FontRenderContext)):
3550         Delegate to the char[] version of this method.
3551         (getStringBounds(String,int,int,FontRenderContext)):
3552         Delegate to the String version of this method.
3553
3554 2006-11-01  Tania Bento  <tbento@redhat.com>
3555
3556         * java/awt/ScrollPaneAdjustable.java
3557         (paramString): Changed format of string representation returned.
3558         (paramStringHelper): New private method.
3559
3560 2006-11-01  Tania Bento  <tbento@redhat.com>
3561
3562         * java/awt/GridBagLayout.java
3563         (toString): Implemented method.
3564
3565 2006-10-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
3566
3567         * native/plugin/gcjwebplugin.cc (GCJ_New): Move GLib threading
3568         initialization to NP_Initialize.
3569         (NP_Initialize): Initialize GLib threading.
3570
3571 2006-10-31  Tania Bento  <tbento@redhat.com>
3572
3573         * javax/swing/JTextField.java
3574         (fireActionPerformed): When creating the new event, if
3575         actionCommand == null, then getText() is used.
3576
3577 2006-10-31  Francis Kung  <fkung@redhat.com>
3578
3579         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
3580         (fillArc): Corrected arc type to Arc2D.PIE.
3581
3582 2006-10-31  Roman Kennke  <kennke@aicas.com>
3583
3584         * javax/swing/text/html/HTMLDocument.java
3585         (HTMLReader.PreAction.end): Implemented.
3586         (HTMLReader.PreAction.start): Implemented.
3587         (HTMLReader.inPreTag): New field.
3588         (HTMLReader.handleTag): When inside a pre tag, call preContent().
3589         (HTMLReader.preContent): Implemented.
3590
3591 2006-10-31  Tania Bento  <tbento@redhat.com>
3592
3593         * javax/swing/JTextField.java
3594         (fireActionPerformed): When creating the new event, 
3595         actionCommand should be used as the command, not
3596         getText().
3597
3598 2006-10-31  Roman Kennke  <kennke@aicas.com>
3599
3600         * javax/swing/text/html/HTMLEditorKit.java
3601         (write): Use HTMLWriter or MinimalHTMLWriter for writing
3602         HTML or Styled documents.
3603
3604 2006-10-31  David Fu  <fchoong@netbeans.jp>
3605
3606         * javax/swing/text/html/HTMLWriter.java: New class.
3607
3608 2006-10-30  Roman Kennke  <kennke@aicas.com>
3609
3610         * java/awt/dnd/DragSourceContext.java
3611         (dragExit): Use constant fields instead of 0.
3612         (updateCurrentCursor): Completed implementation.
3613
3614 2006-10-30  Roman Kennke  <kennke@aicas.com>
3615
3616         * java/awt/dnd/DragGestureRecognizer.java
3617         (resetRecognizer): Added API docs. Do not replace the events object
3618         but rather clear() it. Removed not implemented tag.
3619
3620 2006-10-30  Roman Kennke  <kennke@aicas.com>
3621
3622         * java/awt/datatransfer/DataFlavor.java
3623         (writeExternal): Remove not implemented tag.
3624
3625 2006-10-30  Roman Kennke  <kennke@aicas.com>
3626
3627         * java/awt/datatransfer/DataFlavor.java
3628         (javaFileListFlavor): Don't explicitly specify class.
3629         (plainTextFlavor): Don't explicitly specify class.
3630         (mimeType): Changed to type MimeType. Remove final.
3631         (representationClass): Remove final.
3632         (DataFlavor): Don't do anything here.
3633         (DataFlavor(Class,String,String)): Removed.
3634         (DataFlavor(Class,String)): Initialize here.
3635         (DataFlavor(String,String,ClassLoader)): Initialize in init().
3636         (DataFlavor(String,String)): Initialize in init().
3637         (DataFlavor(String)): Initialize in init().
3638         (init): New initialization method.
3639         (getMimeType): Delegate to MimeType.toString().
3640         (getParameter(String,String)): Removed. Is now done in MimeType.
3641         (getParameter(String)): Delegate to MimeType.
3642         (getPrimaryType): Delegate to MimeType.
3643         (getRepresentationClassFromMime): Removed.
3644         (getRepresentationClassFromMimeThrows): Removed.
3645         (getSubType): Delegate to MimeType.
3646         (hashCode): Take MimeType.toString() for the hashCode.
3647         (isFlavorRemoveObjectType): Return true only when representation
3648         class is remove and serializable and the mime type is remote.
3649         (isFlavorSerializedObjectType): Return true only when representation
3650         class is serializable and the mime type is serialized.
3651         (isMimeTypeEqual): Rewritten to delegate to MimeType.matches().
3652         (isMimeTypeSerializedObject): Delegate to isMimeTypeEqual().
3653         (readExternal): Implemented stub method.
3654         (writeExternal): Implemented stub method.
3655         * java/awt/datatransfer/MimeType.java: New helper class.
3656
3657 2006-10-28  Roman Kennke  <kennke@aicas.com>
3658
3659         * javax/swing/TransferHandler.java
3660         (importData): Implemented stub method. Added API docs.
3661
3662 2006-10-26  Christian Elias Naur  <elias@oddlabs.com>
3663
3664         * native/jni/gtk-peer/gtk_jawt.c (classpath_jawt_get_depth): New
3665         function.
3666         * native/jni/classpath/classpath_jawt.h: Likewise.
3667         * native/jawt/jawt.c (_Jv_GetDrawingSurfaceInfo): Added
3668         initializer for surface_info_x11->depth.
3669
3670 2006-10-26  Tania Bento  <tbento@redhat.com>
3671         
3672         * java/awt/FileDialog.java:
3673         (setFile): Changed if-clause condition.
3674
3675 2006-10-25  Francis Kung  <fkung@redhat.com>
3676
3677         * include/gnu_java_nio_VMChannel.h,
3678         * include/java_net_VMNetworkInterface.h,
3679         * include/gnu_java_nio_EpollSelectorImpl.h,
3680         * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h,
3681         * include/gnu_java_nio_FileChannelImpl.h,
3682         * include/gnu_java_nio_KqueueSelectorImpl.h,
3683         * include/gnu_java_nio_VMPipe.h,
3684         * include/gnu_java_net_VMPlainSocketImpl.h: Regenerated.
3685
3686 2006-10-25  Tania Bento  <tbento@redhat.com>
3687
3688         * java/awt/Dialog.java: Created new private variable
3689         next_dialog_number.
3690         (Dialog(Frame, String, boolean, GraphicsConfiguration)):
3691         Set cursor to default cursor.
3692         (Dialog(Dialog, STring, boolean, GraphicsConfiguration)):
3693         Same.
3694         (generateName): New method.
3695         (getUniqueLong): New private method.
3696         * java/awt/FileDialog.java: Created new private variable
3697         next_file_dialog_number.
3698         (setFile): If file == "", set it to null.
3699         (generateName): New method.
3700         (getUniqueLong): New private method.
3701
3702 2006-10-25  Robert Schuster  <robertschuster@fsfe.org>
3703
3704         * java/net/MulticastSocket.java:
3705         (setNetworkInterface): Rewritten.
3706
3707 2006-10-25  Robert Schuster  <robertschuster@fsfe.org>
3708
3709         * native/jni/java-net/javanet.h: Added declaration for
3710         _javanet_create_inetaddress.
3711         * native/jni/java-net/javanet.c:
3712         (_javanet_create_inetaddress): Removed static keyword.
3713
3714 2006-10-25  Robert Schuster  <robertschuster@fsfe.org>
3715
3716         * gnu/java/net/PlainDatagramSocketImpl.java:
3717         (connect): Use VMChannel instance for connect call.
3718         (getTimeToLive): Call VMPlainSocketImpl.getTimeToLive.
3719         (setTimeToLive): Call VMPlainSocketImpl.setTimeToLive.
3720         (setOption): Handle multicast options.
3721         (getOption): Handle multicast options.
3722         * gnu/java/net/PlainSocketImpl.java:
3723         (getTimeToLive): Call VMPlainSocketImpl.getTimeToLive.
3724         (setTimeToLive): Call VMPlainSocketImpl.setTimeToLive.
3725         (setOption): Filter unappropriate options.
3726         (getOption): Filter unappropriate options.
3727         (connect): Use given SocketAddress.
3728         (close): Reset address and port.
3729         (getInetAddress): 
3730         * include/Makefile.am: Removed all occurences of
3731         gnu_java_net_VMPlainDatagramSocketImpl.h.
3732         * include/gnu_java_net_VMPlainDatagramSocketImpl.h: Removed.
3733         * native/jni/java-net/Makefile.am: Removed
3734         gnu_java_net_VMPlainDatagramSocketImpl.c from sources.
3735         * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c:
3736         Removed.
3737         as SocketException, declare to throw SocketException.
3738         * native/jni/java-nio/gnu_java_nio_VMChannel.c: Added definitions
3739         for SocketException and ConnectException.
3740         (Java_gnu_java_nio_VMChannel_connect): Throw SocketException instead
3741         of IOException.
3742         (Java_gnu_java_nio_VMChannel_connect6): Throw SocketException instead
3743         of IOException.
3744         (Java_gnu_java_nio_VMChannel_accept): Rewritten.
3745         (JCL_thread_interrupted): New function.
3746         (initIDs): Added initialisation for isThreadInterrupted method id.
3747         * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c: Added
3748         CPNET_IP_TTL to java_sockopt enum.
3749         (Java_gnu_java_net_VMPlainSocketImpl_setOption): Handle CPNET_IP_TTL
3750         case, handle SO_LINGER case properly.
3751         (Java_gnu_java_net_VMPlainSocketImpl_getOption): Handle CPNET_IP_TTL
3752         case, handle SO_LINGER case properly.
3753         (Java_gnu_java_net_VMPlainSocketImpl_getMulticastInterface): New
3754         function.
3755         (Java_gnu_java_net_VMPlainSocketImpl_setMulticastInterface): New
3756         function.
3757         (Java_gnu_java_net_VMPlainSocketImpl_setMulticastInterface6): New
3758         function.
3759         (Java_gnu_java_net_VMPlainSocketImpl_leave6): Fixed constant to be
3760         IPV6_LEAVE_GROUP.
3761         * vm/reference/gnu/java/net/VMPlainDatagramSocketImpl.java: Removed.
3762         * vm/reference/gnu/java/nio/VMChannel.java:
3763         (connect(int, byte[], int, int)): Declare to throw SocketException.
3764         (connect6): Declare to throw SocketException.
3765         (connect(InetSocketAddress, int)): Catch IOException and rethrow
3766         (isThreadInterrupted): New method.
3767         * vm/reference/gnu/java/net/VMPlainSocketImpl.java: Added CP_IP_TTL
3768         field.
3769         (setTimeToLive): New method.
3770         (getTimeToLive): New method.
3771         (setMulticastInterface(int, InetAddress)): New method.
3772         (setMulticastInterface(int, int, Inet4Address): New method.
3773         (setMulticastInterface6(int, int, Inet6Address): New method.
3774         (setOptions): Handle SO_LINGER case.
3775         (getOptions): Add missing SO_REUSEADDR case.
3776         * java/net/Socket.java:
3777         (Socket(InetAddress, int, InetAddress, int, boolean)): Close socket
3778         when exception was thrown out of connect().
3779         (setSoLinger): Replaced instantiations with valueOf calls, replaced
3780         Boolean.FALSE with Integer.valueOf(-1).
3781         * native/jni/native-lib/cpio.h: Added cpio_closeOnExec declaration.
3782         * native/jni/native-lib/cpio.c: Added cpio_closeOnExec implementation.
3783         * NEWS: Documented VM interface changes.
3784
3785 2006-10-25  Robert Schuster  <robertschuster@fsfe.org>
3786
3787         * java/net/Inet6Address.java:
3788         (isMulticastAddress): Fixed check.
3789
3790 2006-10-25  Robert Schuster  <robertschuster@fsfe.org>
3791
3792         Fixes PR29576
3793         * java/net/MulticastSocket.java:
3794         (getNetworkInterface): Return a special NetworkInterface instance
3795         if the socket's multicast interface is set to any.
3796
3797 2006-10-25  Robert Schuster  <robertschuster@fsfe.org>
3798
3799         Fixes PR29576
3800         * java/net/NetworkInterface.java:
3801         (createAnyInterface): New method.
3802         (equals): Added if-statement to handle case where netif.name is null.
3803         * vm/reference/java/net/VMNetworkInterface.java:
3804         (hashCode): Rewritten.
3805         (VMNetworkInterface): New constructor.
3806
3807 2006-10-24  Thomas Fitzsimmons  <fitzsim@redhat.com>
3808
3809         * tools/Makefile.am: Add ASM_JAR define to each tool's CFLAGS.
3810         * tools/toolwrapper.c (main): Set bootclasspath, not classpath.
3811         Add ASM_JAR to bootclasspath.
3812
3813 2006-10-24  Tania Bento  <tbento@redhat.com>
3814
3815         * java/awt/Scrollbar.java:
3816         (setLineIncrement): Removed unnecessary if-clause and if 
3817         lineIncrement == 0, then it should be set to 1, not 0.
3818         (setPageIncrement): Removed unnecessary if-clause and if
3819         pageIncrement == 0, then it should be set to 1, not 0.
3820         (setValues): If visibleAmount <= 0, it should be set to 1, not 0.
3821         If maximum <= minimum, maximum should be set to mininum + 1. The
3822         actual value of maximum is maximum - visibleAmount, so I made 
3823         this change to the appropriate if-check. Remove the two unneccessary
3824         if-clauses.
3825
3826 2006-10-23  Francis Kung  <fkung@redhat.com>
3827
3828         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
3829         (cairoSetFont): New method.
3830         (copy): Set font using setFont method.
3831         (setFont): Call cairoSetFont.
3832         (setup): Set font using setFont method.
3833         * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Added method.
3834         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
3835         (install_font_peer): Removed.
3836         (cairoDrawGlyphVector): Removed call to install_font_peer.
3837         (cairoSetFont): New method.
3838
3839 2006-10-23  Thomas Fitzsimmons  <fitzsim@redhat.com>
3840
3841         * gnu/java/awt/peer/NativeEventLoopRunningEvent.java: New file.
3842         * gnu/java/awt/peer/gtk/GtkMainThread.java: Post
3843         NativeEventLoopRunningEvent after GTK main loop start and stop.
3844         * java/awt/EventQueue.java (isShutdown): Check nativeLoopRunning.
3845         (getNextEvent): Set dispatchThread to null.
3846         (postEventImpl): Set nativeLoopRunning.
3847         (pop): Interrupt event dispatch thread.
3848         * java/awt/Frame.java (noteFrame): Synchronize on weakFrames.
3849
3850 2006-10-22  Christian Thalinger  <twisti@complang.tuwien.ac.at>
3851
3852         * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c (config-int.h):
3853         Added include.
3854         * native/jni/java-nio/gnu_java_nio_VMChannel.c (config-int.h):
3855         Likewise.
3856
3857 2006-10-23  Marco Trudel <mtrudel@gmx.ch>
3858
3859         * gnu/javax/crypto/pad/PKCS7.java (unpad): Removed an unnecessary test.
3860         * javax/crypto/CipherOutputStream.java: Re-implemented.
3861         * gnu/javax/crypto/jce/cipher/CipherAdapter.java
3862         (engineUpdate(byte[], int, int)): Always keep data for unpadding in padded
3863         decryption mode and check if it is a complete block.
3864         (engineUpdate(byte[], int, int, byte[], int)): Likewise.
3865         (engineDoFinal(byte[], int, int)): In padded decryption mode, take
3866         partially processed data into account.
3867
3868 2006-10-21  Tom Tromey  <tromey@redhat.com>
3869
3870         PR classpath/29086:
3871         * java/util/AbstractCollection.java (toArray): Removed cast.
3872
3873 2006-10-20  Tom Tromey  <tromey@redhat.com>
3874
3875         * tools/gnu/classpath/tools/javah/JniIncludePrinter.java (printClass):
3876         Don't use mangled class name for .h file.
3877         * tools/gnu/classpath/tools/javah/JniStubPrinter.java (printClass):
3878         Don't use mangled class name for .c file.
3879         * tools/gnu/classpath/tools/javah/CniPrintStream.java (writeClass):
3880         Handle classes from the default package.
3881
3882 2006-10-20  Francis Kung  <fkung@redhat.com>
3883
3884         * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Added missing constants.
3885
3886 2006-10-19  Francis Kung  <fkung@redhat.com>
3887
3888         PR 29510
3889         * java/awt/image/BufferedImage.java
3890         (constructor): Updated some properties of default image types.
3891         * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
3892         (argb32): Updated field to match default in BufferedImage.
3893
3894 2006-10-18  Roman Kennke  <kennke@aicas.com>
3895
3896         PR 29419
3897         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
3898         (copyArea): Changed size comparison to return when size == 0
3899         too.
3900         * javax/swing/JViewport.java
3901         (paintBackingStore): Check width and height of blitted area
3902         and only do blit if its > 0.
3903         (paintBlit): Check width and height of blitted area
3904         and only do blit if its > 0.
3905
3906 2006-10-18  Roman Kennke  <kennke@aicas.com>
3907
3908         PR 27091
3909         * gnu/java/awt/peer/gtk/GtkFramePeer.java
3910         (maximize): New native method.
3911         (unmaximize): New native method.
3912         (iconify): New native method.
3913         (deiconify): New native method.
3914         (getState): Implemented.
3915         (setState): Implemented.
3916         * gnu/java/awt/peer/gtk/GtkWindowPeer.java
3917         (oldState): Rename to windowState and made protected, so that
3918         the FramePeer can access it.
3919         (postWindowEvent): Handle state change events more gently and
3920         correctly.
3921         * java/awt/Frame.java
3922         (getState): Fetch state from getExtendedState().
3923         (setExtendedState): Update the peer. Check if the state change
3924         is actually supported.
3925         (getExtendedState): Update the state from the peer.
3926         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFramePeer.c
3927         (maximize): New method.
3928         (unmaximize): New method.
3929         (iconify): New method.
3930         (deiconify): New method.
3931         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
3932         (AWT_FRAME_NORMAL): New macro.
3933         (AWT_FRAME_ICONIFIED): New macro.
3934         (AWT_FRAME_MAXIMIZED_BOTH): New macro.
3935         (window_window_state_cb): Rewritten to handle window state changes
3936         more gently (mostly on the java side of the world).
3937         * include/gnu_java_awt_peer_gtk_GtkFramePeer.h: Regenerated.
3938
3939 2006-10-18  Tania Bento  <tbento@redhat.com>
3940
3941         * java/awt/CardLayout.java:
3942         (maximumLayoutSize): Return a new Dimension with Integer.MAX_VALUE as
3943         its height and width if Container passed as argument is null.
3944         (gotoComponent): Consider the case where the component is not visible.
3945
3946 2006-10-18  Thomas Fitzsimmons  <fitzsim@redhat.com>
3947
3948         * resource/gnu/classpath/tools/appletviewer/MessagesBundle.properties:
3949         Rename file...
3950         * resource/gnu/classpath/tools/appletviewer/messages.properties:
3951         New file.
3952         * resource/gnu/classpath/tools/appletviewer/MessagesBundle_de.properties:
3953         Remove file.
3954         * tools/gnu/classpath/tools/appletviewer/AppletWarning.java:
3955         Remove file.
3956         * tools/gnu/classpath/tools/appletviewer/ConsoleDialog.java:
3957         Likewise.
3958         * tools/gnu/classpath/tools/appletviewer/Messages.java: New file.
3959         * tools/gnu/classpath/tools/appletviewer/CommonAppletStub.java:
3960         Retrieve user-visible strings through Messages.getString.
3961         * tools/gnu/classpath/tools/appletviewer/Main.java: Likewise.
3962         * tools/gnu/classpath/tools/appletviewer/PluginAppletContext.java:
3963         Likewise.
3964         * tools/gnu/classpath/tools/appletviewer/PluginAppletViewer.java:
3965         Likewise.
3966         * tools/gnu/classpath/tools/appletviewer/PluginAppletWindow.java:
3967         Likewise.
3968         * tools/gnu/classpath/tools/appletviewer/StandaloneAppletContext.java:
3969         Likewise.
3970         * tools/gnu/classpath/tools/appletviewer/StandaloneAppletViewer.java:
3971         Likewise.
3972         * tools/gnu/classpath/tools/appletviewer/StandaloneAppletWindow.java:
3973         Likewise.
3974
3975 2006-10-18  Roman Kennke  <kennke@aicas.com>
3976
3977         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
3978         (AWT_WINDOW_OPENED): Remove unnecessary macro.
3979         (window_show_cb): Removed unnecessary function.
3980         (connect_signals): Don't connect signal for show.  *
3981         gnu/java/awt/peer/gtk/GtkWindowPeer.java
3982         (hasBeenShown): Removed. This is handled in java.awt.Window.
3983         (postWindowEvent): Removed handling of WINDOW_OPENED. This is done
3984         in java.awt.Window.  * java/awt/Window.java
3985         (dispose): Post WINDOW_CLOSED here, not WINDOW_OPENED.
3986
3987 2006-10-18  Francis Kung  <fkung@redhat.com>
3988
3989         * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java
3990         (drawRenderedImage):  New method.
3991         (drawImage): New method.
3992         (CairoSurfaceGraphics): Set clip.
3993         (createBuffer): New method.
3994         (getBufferCM): New method.
3995         (drawComposite): New method.
3996         (fill): New method.
3997         (getNativeCM): New method.
3998         (drawGlyphVector): New method.
3999         (draw): New method.
4000         * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
4001         (getNativeCM): Reflect renamed field.
4002         * gnu/java/awt/peer/gtk/CairoSurface.java
4003         (cairoCM_pre): Renamed from cairoColorModel.
4004         (cairoColorModel): Set premultiplication to false.
4005
4006 2006-10-18  Roman Kennke  <kennke@aicas.com>
4007
4008         PR 28769
4009         * javax/swing/JScrollPane.java
4010         (viewportBorder): Made field private.
4011         (wheelScrollingEnabled): Made field private.
4012         (JScrollPane): Enabled wheel scrolling by default.
4013         * javax/swing/JTree.java
4014         (TreeSelectionRedirector.valueChanged): Don't repaint anything
4015         here.
4016         (getScrollableUnitIncrement): Fixed thinko.
4017         * javax/swing/plaf/basic/BasicScrollBarUI.java
4018         (static scrollByBlock): New static method to avoid code duplication
4019         for the BasicScrollPane wheel scrolling.
4020         (static scrollByUnits): New static method to avoid code duplication
4021         for the BasicScrollPane wheel scrolling.
4022         (scrollByBlock): Delegate to static helper method.
4023         (scrollByUnit): Delegate to static helper method.
4024         * javax/swing/plaf/basic/BasicScrollPaneUI.java
4025         (MouseWheelHandler.mouseWheelMoved): Delegate to BasicScrollBarUI
4026         static helper methods to avoid code duplication.
4027         (MouseWheelHandler.bounds): Removed.
4028         (MouseWheelHandler.getValue): Removed.
4029         (MouseWheelHandler.scroll): Removed.
4030
4031 2006-10-18  Roman Kennke  <kennke@aicas.com>
4032
4033         PR 29502
4034         * gnu/java/awt/peer/gtk/GtkWindowPeer.java
4035         (updateComponent): Don't override this here.
4036         * java/awt/Window.java
4037         (addWindowListener): Ignore null listener. Set newEventsOnly flag.
4038         (addWindowFocusListener): Ignore null listener. Set newEventsOnly
4039         flag.
4040         (addWindowStateListener): Ignore null listener. Set newEventsOnly
4041         flag.
4042
4043 2006-10-18  Roman Kennke  <kennke@aicas.com>
4044
4045         * javax/swing/JEditorPane.java
4046         (getStream): Try to detect and set the content type of the
4047         connection stream.
4048
4049 2006-10-18  Roman Kennke  <kennke@aicas.com>
4050
4051         * javax/swing/RepaintManager.java
4052         (RepaintWorkerEvent): Pass full set of params to super.
4053         (RepaintWorker.dispatch): Overridden to allow apps to call this
4054         via reflection.
4055         (addDirtyRegion): Synchronize a little more to protect the
4056         dirtyComponents field and avoid NPEs.
4057         (invokeLater): Pass full set of params to RepaintWorkerEvent
4058         constructor.
4059
4060 2006-10-18  Roman Kennke  <kennke@aicas.com>
4061
4062         * javax/swing/JEditorPane.java
4063         (page): Removed field. The page is now stored in the correct
4064         document property.
4065         (getPage): Fetch page URL from document property.
4066         (read): Set the document for this JEditorPane. Use a Reader
4067         for reading in the document.
4068         (setPage): Call getStream() to get the stream from which we read.
4069         Fire property change. Store page in document property.
4070
4071 2006-10-18  Roman Kennke  <kennke@aicas.com>
4072
4073         * java/awt/datatransfer/DataFlavor.java
4074         (DataFlavor(String)): Removed check for space in mime string.
4075
4076 2006-10-18  Roman Kennke  <kennke@aicas.com>
4077
4078         * java/awt/Container.java
4079         (validateTree): Call ContainerPeer.begin|endLayout() rather than
4080         begin|endValidate().
4081         (validate): Call ContainerPeer.begin|endValidate() here.
4082         Added some local vars to avoid NPEs.
4083
4084 2006-10-18  Roman Kennke  <kennke@aicas.com>
4085
4086         * native/target/.cvsignore
4087         * native/target/Linux/.cvsignore
4088         * native/target/generic/.cvsignore:
4089         Added to let CVS ignore the generated Makefile and Makefile.in
4090         files.
4091
4092 2006-10-18  Roman Kennke  <kennke@aicas.com>
4093
4094         PR 29448
4095         * java/awt/Window.java
4096         (eventTypeEnabled): Overridden to handle WindowEvents.
4097         (processEvent): Switch between processWindowEvent(),
4098         processWindowFocusEvent() and processWindowStateEvent() here,
4099         rather than simply calling processWindowEvent().
4100         (processWindowEvent): Only dispatch event to listener, do not
4101         switch to processWindowFocusEvent() or processWindowStateEvent()
4102         here.
4103         * javax/swing/JFrame.java
4104         (frameInit): Explicitly enable window and key events here.
4105         (processWindowEvent): Throw out some unnecessary code.
4106         * javax/swing/JWindow.java
4107         (windowInit): Explicitly enable key events here.
4108         * javax/swing/JDialog.java
4109         (close_action): Renamed to closeAction.
4110         (dialogInit): Explicitly enable window events here.
4111         (getDefaultCloseOperation): Renamed close_action to closeAction.
4112         (processWindowEvent): Throw out some unnecessary code.
4113         Renamed close_action to closeAction.
4114         (setDefaultCloseOperation): Renamed close_action to closeAction.
4115
4116 2006-10-17  Thomas Fitzsimmons  <fitzsim@redhat.com>
4117
4118         * gnu/java/awt/peer/gtk/GtkMainThread.java: Introduce running flag
4119         to track native GTK event loop status.
4120         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c: Set and
4121         clear running flag when native GTK event loop starts and stops.
4122
4123 2006-10-17  Roman Kennke  <kennke@aicas.com>
4124
4125         * javax/swing/TransferHandler.java
4126         (exportToClipboard): Implemented.
4127
4128 2006-10-17  Francis Kung  <fkung@redhat.com>
4129
4130         * gnu/java/awt/peer/gtk/BufferedImageGraphics.java (draw): Extend updated
4131         region to account for pixel-shifting.
4132         * gnu/java/awt/peer/gtk/CairoGraphics2D.java (shiftDrawCalls): Made
4133         proctected.
4134
4135 2006-10-17  Francis Kung  <fkung@redhat.com>
4136
4137         PR 29450
4138         * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
4139         (getLogicalBounds): Translate individual glyphs before appending bounds.
4140         (getOutline): Translate individual glyphs before appending outline.
4141
4142 2006-10-17  Cameron McCormack  <cam@mcc.id.au>
4143
4144         PR 29014
4145         * java/awt/font/TextLayout.java
4146         (bidi): New field.
4147         (constructor): Store bidi in field.
4148         (getCharacterLevel): Implemented.
4149
4150 2006-10-17  Roman Kennke  <kennke@aicas.com>
4151
4152         * javax/swing/TransferHandler.java
4153         (PropertyTransferable): New inner class. Handles transfers
4154         from component properties.
4155         (createTransferable): Implemented.
4156
4157 2006-10-17  Francis Kung  <fkung@redhat.com>
4158
4159         * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
4160         (drawComposite): Ensure composite does not extend beyond buffer
4161         bounds.
4162         * java/awt/image/Raster.java
4163         (createChild): Ensure child does not extend beyond parent's
4164         bounds.
4165         * java/awt/image/WritableRaster.java
4166         (createWritableChild): Ensure child does not extend beyond
4167         parent's bounds.
4168
4169 2006-10-17  Jeroen Frijters  <jeroen@frijters.net>
4170
4171         * native/jni/classpath/jcl.c
4172         (JNI_OnLoad): Corrected calling convention.
4173
4174 2006-10-16  Roman Kennke  <kennke@aicas.com>
4175
4176         * javax/swing/TransferHandler.java
4177         (propertyName): New field.
4178         (TransferHandler(String)): Store property name in field.
4179         (canImport): Implemented stub method.
4180         (exportDone): This is a no-op. Removed not-implemented mark.
4181         (getPropertyDataFlavor): New helper method.
4182         (getPropertyDescriptor): New helper method.
4183
4184 2006-10-16  Roman Kennke  <kennke@aicas.com>
4185
4186         * javax/swing/AbstractButton.java
4187         (AccessibleJButton.getAfterIndex): Implemented.
4188         (AccessibleJButton.getAtIndex): Implemented.
4189         (AccessibleJButton.getBeforeIndex): Implemented.
4190         (AccessibleJButton.getCharacterAttribute): Completed incomplete
4191         method implementation.
4192
4193 2006-10-16  Roman Kennke  <kennke@aicas.com>
4194
4195         * javax/swing/JLabel.java
4196         (AccessibleJLabel.getIndexAtPoint): Implemented.
4197         (AccessibleJLabel.getCharacterBounds): Implemented.
4198         (AccessibleJLabel.getTextRectangle): New helper method.
4199
4200 2006-10-16  Roman Kennke  <kennke@aicas.com>
4201
4202         * javax/swing/filechooser/FileSystemView.java
4203         (getFileSystemView): Mark as implemented.
4204
4205 2006-10-14  Roman Kennke  <kennke@aicas.com>
4206
4207         PR 27957
4208         * javax/swing/JComponent.java
4209         (toolTipText): Removed field.
4210         (createToolTip): Don't set tooltip text here. This is done
4211         in the ToolTipManager.
4212         (setToolTipText): Set tooltip text as client property.
4213         (getToolTipText): Get tooltip text from client property.
4214         * javax/swing/ToolTipManager.java
4215         (currentComponent): Made field non-static and of type JComponent.
4216         (currentPoint): Made field non-static.
4217         (currentTip): Made field non-static.
4218         (popup): Made field non-static.
4219         (toolTipText): New field. Stores the current tooltip text.
4220         (checkTipUpdate): New helper method. Checks for updates of
4221         the tooltip text and triggers the appropriate actions.
4222         (getContentPaneDeepestComponent): Removed unneeded casts.
4223         (mouseEntered): Removed unneeded cast. Initially fetch tooltip
4224         text from component.
4225         (mouseMoved): Check for tooltip text updates.
4226         (showTip): Set tooltip text from current setting.
4227
4228 2006-10-14  Roman Kennke  <kennke@aicas.com>
4229
4230         PR 27956
4231         * javax/swing/JSlider.java
4232         (setPaintLabels): Call setLabelTable() instead of setting
4233         the field directly. This also updates the label's size.
4234
4235 2006-10-13  Tom Tromey  <tromey@redhat.com>
4236
4237         * tools/gnu/classpath/tools/javah/ClassWrapper.java (toString): New
4238         method.
4239
4240 2006-10-13  Tania Bento  <tbento@redhat.com>
4241
4242         * java/awt/ScrollPane.java
4243         (setLayout): Should throw AWTError whenever called.
4244
4245 2006-10-13  Roman Kennke  <kennke@aicas.com>
4246
4247         PR 29448
4248         * java/awt/Component.java
4249         (dispatchEventImpl): Special handle ComponentReshapeEvents to
4250         update the AWT's knowledge about a component's size.
4251         * gnu/java/awt/ComponentReshapeEvent.java: New class.
4252         * gnu/java/awt/peer/gtk/GtkWindowPeer.java
4253         (postConfigureEvent): Directly dispatch a ComponentReshapeEvent
4254         to update the AWT's knowledge about the component bounds.
4255
4256 2006-10-13  Tania Bento  <tbento@redhat.com>
4257
4258         * java/awt/ScrollPaneAdjustable.java
4259         (setMaximum): Should throw AWTError whenever called.
4260         (setMinimum): Same.
4261         (setVisibleAmount): Same.
4262
4263 2006-10-13  Tania Bento  <tbento@redhat.com>
4264
4265         * java/awt/ScrollPane.java
4266         (addImpl): When calling super, index should be value passed, 
4267         not -1.
4268         (getIsValidString): New helper method for paramString().
4269         (getScrollbarDisplayString): New helper method for paramString(). 
4270         (paramString): Changed format of outputted string.
4271
4272 2006-10-13  David Gilbert  <david.gilbert@object-refinery.com>
4273
4274         * javax/swing/tree/DefaultTreeSelectionModel.java
4275         (clone): Added cast to TreePath[].
4276
4277 2006-10-13  Roman Kennke  <kennke@aicas.com>
4278
4279         PR 27780
4280         * javax/swing/JMenuItem.java
4281         (isDragging): New field. Indicates if we are inside a mouse
4282         drag.
4283         (createMenuDragMouseEvent): Removed unneeded method.
4284         (processMenuDragMouseEvent): Track if we are dragging.
4285         (processMouseEvent): Simply forward to processMenuDragMouseEvent().
4286         * javax/swing/plaf/basic/BasicMenuItemUI.java
4287         (MenuDragMouseHandler.menuDragMouseDragged): Fetch
4288         MenuSelectionManager from event.
4289         (MenuDragMouseHandler.menuDragMouseEntered): Fetch
4290         MenuSelectionManager from event.
4291         (MenuDragMouseHandler.menuDragMouseExited): Fetch
4292         MenuSelectionManager from event.
4293         (MenuDragMouseHandler.menuDragMouseReleased): Click on mouse
4294         release inside menu item, otherwise clear selection.
4295         (MenuInputHandler.mouseReleased): Avoid multiple calls to getX()
4296         and getY(). Call doClick() rather than the doClick() of JMenuItem.
4297         (doClick): Perform an immediate click.
4298
4299 2006-10-13  Thomas Fitzsimmons  <fitzsim@redhat.com>
4300
4301         * javax/swing/DefaultComboBoxModel.java (setSelectedItem): Simply
4302         return if object is not in the list.
4303
4304 2006-10-12  Andrew Haley  <aph@redhat.com>
4305
4306         * java/lang/InheritableThreadLocal.java: Rename NULL to sentinel.
4307         * java/lang/ThreadLocal.java: Likewise.
4308
4309 2006-10-12  Roman Kennke  <kennke@aicas.com>
4310
4311         PR 27956
4312         * javax/swing/JSlider.java
4313         (LabelUIResource): New inner class. A JLabel as UIResource.
4314         (createStandardLabels): Don't set label bounds here.
4315         Create LabelUIResource instances.
4316         (setInverted): Repaint.
4317         (setLabelTable): Update the label UIs. Revalidate and repaint.
4318         (setMajorTickSpacing): Update the label table. Repaint if
4319         necessary.
4320         (setMinorTickSpacing): Repaint if necessary.
4321         (setOrientation): Revalidate.
4322         (setPaintLabels): Revalidate and repaint.
4323         (setPaintTicks): Revalidate and repaint.
4324         (setPaintTrack): Repaint.
4325         (updateLabelUIs): Set the label sizes here.
4326         (updateUI): Also update the label UIs.
4327         * javax/swing/plaf/basic/BasicSliderUI.java
4328         (ComponentHandler.componentResized): Don't revalidate.
4329         (FocusHandler.focusGained): Don't set field.
4330         (FocusHandler.focusLost): Don't set field.
4331         (PropertyChangeHandler.propertyChange): Calculate geometry
4332         and repaint for a couple more properties.
4333         (TrackListener.mouseReleased): Repaint.
4334         (hasFocus): Removed unneeded field.
4335         (calculateContentRect): No need to check for content size < 0.
4336         (calculateFocusRect): Use insets from insetCache.
4337         (calculateLabelRect): Fixed calculation of label rectangle.
4338         It is relative to the tick rectangle, rather than the content
4339         rectangle.
4340         (calculateTickRect): Small restructuring to avoid unnecessary
4341         comparisons.
4342         (calculateTrackRect): Fixed calculation of track rectangle.
4343         (getMaximumSize): Fixed. Fetch preferred size and set
4344         the height of width to Short.MAX_VALUE.
4345         (getMinimumHorizontalSize): Fixed to return UIManager value.
4346         (getMinimumVerticalSize): Fixed to return UIManager value.
4347         (getPreferredHorizontalSize): Fixed to return UIManager value.
4348         (getPreferredVerticalSize): Fixed to return UIManager value.
4349         (getMinimumSize): Fixed to return the UIManager value plus
4350         insets added.
4351         (getPreferredSize): Fixed to return the UIManager value plus
4352         insets added.
4353         (getWidthOfWidestLabel): Restructured for more cleanness and
4354         efficiency.
4355         (hitClip): New helper method.
4356         (paintHorizontalLabel): Replaced by more efficient and clean
4357         implementation.
4358         (paintVerticalLabel): Replaced by more efficient and clean
4359         implementation.
4360         (paintLabels): Replaced by more efficient and clean
4361         implementation.
4362         (paint): Check if rectangles intersect with clip for maximum
4363         efficiency.
4364         (recalculateIfInsetsChanged): Fixed. This method should
4365         recalculate only when the insets changed.
4366         (setThumbLocation): Repaint with a reasonable clip.
4367         (xPositionForValue): Made more clean and efficient.
4368         (yPositionForValue): Made more clean and efficient.
4369         * javax/swing/plaf/basic/BasicLookAndFeel.java
4370         (initComponenDefaults): Added Slider.horizontalSize,
4371         Slider.verticalSize, Slider.minimumHorizontalSize and
4372         Slider.minimumVerticalSize properties.
4373         * javax/swing/plaf/metal/MetalSliderUI.java
4374         (getTickLength): Add 1 for horizontal sliders and 3 for
4375         vertical sliders.
4376         (paintMajorTickForHorizSlider): Fix colors. Fix line locations.
4377         (paintMinorTickForHorizSlider): Fix colors. Fix line locations.
4378         (paintMajorTickForVertSlider): Fix colors. Fix line locations.
4379         (paintMinorTickForVertSlider): Fix colors. Fix line locations.
4380
4381 2006-10-12  Roman Kennke  <kennke@aicas.com>
4382
4383         PR 28696
4384         * javax/swing/text/FlowView.java
4385         (FlowStrategy.layout): Preserve logical views from getting lost.
4386         (FlowStrategy.layoutRow): Fix line breaking.
4387         (FlowStrategy.adjustRow): Fix line breaking.
4388         (FlowStrategy.changedUpdate): Mark layout invalid, or repaint.
4389         (FlowStrategy.insertUpdate): Mark layout invalid, or repaint.
4390         (FlowStrategy.removeUpdate): Mark layout invalid, or repaint.
4391         (createView): Don't check index.
4392         (contains): New helper method.
4393         (reparent): New helper method.
4394         (layoutDirty): Removed unneeded field.
4395         (FlowView): Removed layoutDirty field init.
4396         (changedUpdate): Removed layoutDirty handling.
4397         (insertUpdate): Removed layoutDirty handling.
4398         (removeUpdate): Removed layoutDirty handling.
4399         (layout): Use isLayoutValid() rather than the layoutDirty field.
4400         * javax/swing/text/GlyphView.java
4401         (startOffset): Removed.
4402         (endOffset): Removed.
4403         (offset): New field.
4404         (length): New field.
4405         (GlyphView): Initialize new fields. Removed old fields.
4406         (createFragment): Create fragment with new relative offsets.
4407         (getEndOffset): Work with new relative offsets.
4408         (getStartOffset): Work with new relative offsets.
4409         * javax/swing/text/ParagraphView.java
4410         (Row.getStartOffset): Overidden to determine the minimum start
4411         offset from the children.
4412         (Row.getEndOffset): Overidden to determine the maximum end
4413         offset from the children.
4414         * javax/swing/text/html/BRView.java
4415         Make subclass of InlineView.
4416         (getBreakWeight): Fall back to super for Y_AXIS.
4417
4418 2006-10-12  Roman Kennke  <kennke@aicas.com>
4419
4420         PR 28733
4421         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
4422         (TabPaneLayout.normalizeTabRuns): Replaced algorithm with
4423         one that avoids faulty state that could cause division by zero
4424         error.
4425
4426 2006-10-12  Roman Kennke  <kennke@aicas.com>
4427
4428         PR 28057
4429         * javax/swing/plaf/basic/BasicRadioButtonUI.java
4430         (paint): Determine correct icon. Added support for HTML label.
4431         Added small optimizations.
4432         (getPreferredSize): Only consider the buttons iconTextGap, and
4433         only when the text is not null.
4434         * javax/swing/plaf/basic/BasicLookAndFeel.java
4435         (initComponentDefaults): Fetch border for RadioButton from
4436         BasicButtons.getRadioButtonBorder().
4437         * javax/swing/plaf/metal/MetalRadioButtonUI.java
4438         (paintFocus): Paint focus rectangle one pixel smaller.
4439
4440 2006-10-12  Roman Kennke  <kennke@aicas.com>
4441
4442         PR 29418
4443         * javax/swing/tree/AbstractLayoutCache.java
4444         (getNodeDimensions): Don't throw InternalError, but instead
4445         return null.
4446         (getRowsForPaths): Check for null here.
4447         (isFixedRowHeight): Returns true when rowHeight > 0.
4448         (setSelectionModel): Set this as the row mapper for the selection
4449         model.
4450         * javax/swing/tree/VariableHeightLayoutCache.java
4451         (NodeRecord.NodeRecord): Initialize bounds field.
4452         (getBounds): Simply return the bounds field.
4453         (row2Node): Changed to be an ArrayList.
4454         (RECT_CACHE): New field. Caches a Rectangle instance.
4455         (countRows): Added y parameter and return value. The method
4456         now takes the current y position as parameter, and returns
4457         the updated y position.
4458         (getBounds): Fixed to return the correct bounds.
4459         (getPathForRow): Replaced by fixed implementation.
4460         (getPreferredHeight): Replaced by more efficient implementation.
4461         This simply fetches the last node record and returns its lower
4462         bounds.
4463         (getPreferredWidth): Added null check.
4464         (getVisibleChildCount): Added null check.
4465         (getVisiblePathsFrom): Added null check.
4466         (setExpandedState): Also expand the ancestors of the node
4467         to be expanded.
4468         (setModel): Set dirty flag rather than updating for real.
4469         (setNodeDimensions): Overridden to set the dirty flag.
4470         (setRowHeight): Overridden to set the dirty flag.
4471         (update): Don't special case the root here, this is done now
4472         in countRows().
4473
4474 2006-10-12  Roman Kennke  <kennke@aicas.com>
4475
4476         * javax/swing/JComponent.java
4477         (paintImmediately2): Added support for components which need
4478         to force themselves as paint root.
4479         (isPaintRoot): New method. This should be overridden by components
4480         which need to force themselves as paint root.
4481         * javax/swing/JViewport.java
4482         (isPaintRoot): Overridden to force the viewport as paint root
4483         when running in backingstore mode.
4484
4485 2006-10-12  Roman Kennke  <kennke@aicas.com>
4486
4487         * javax/swing/tree/DefaultTreeSelectionModel.java
4488         (PathPlaceHolder): New inner class. Wraps a path and its status
4489         wrt to its newness.
4490         (selectedPaths): New field. A supporting datastructure.
4491         (tmpPaths): New field. A supporting datastructure.
4492         (DefaultTreeSelectionModel): Initialize the list selection model,
4493         the leadIndex and the supporting datastructures.
4494         (addPropertyChangeListener): Create changeSupport object lazily.
4495         (addSelectionPaths): Mostly rewritten to handle the different
4496         selection modes correctly.
4497         (addSelectionPath): Delegate to addSelectionPaths().
4498         (arePathsContiguous): Replaced with more efficient implementation
4499         using BitSet
4500         (canPathBeAdded): Removed unneeded method.
4501         (canPathsBeAdded): Replaced with more efficient implementation.
4502         (clearSelection): Create correct event. Clear the fields correctly,
4503         including the supporting datastructures.
4504         (clone): Also clone the supporting datastructures and nullify
4505         changeSupport field.
4506         (getMaxSelectionRow): Delegate to list selection model.
4507         (getMinSelectionRow): Delegate to list selection model.
4508         (getPath): Removed unneeded method.
4509         (getPropertyChangeListeners): Handle null changeSupport field
4510         correctly.
4511         (getRow): Handle null rowMapper field correctly.
4512         (getSelectionRows): Handle invisible rows correctly.
4513         (insureRowContinuity): Replaced by more efficient and correct
4514         implementation.
4515         (isRowSelected): Delegate to list selection model.
4516         (notifyPathChange): Made more efficient by use of PathPlaceHolder
4517         class.
4518         (removePropertyChangeListener): Handle null changeSupport field.
4519         (removeSelectionPaths): Mostly rewritten to handle the different
4520         selection modes correctly.
4521         (removeSelectionPath): Delegate to removeSelectionPaths().
4522         (resetRowSelection): Handle list selection model.
4523         (selectOne): Removed unneeded field.
4524         (setRowMapper): Reset the row selection.
4525         (setSelectionMode): Check for invalid mode and set to
4526         DISCONTINUOUS_TREE_SELECTION in this case. Fire property change.
4527         (setSelectionPaths): Mostly rewritten to handle the different
4528         selection modes correctly.
4529         (setSelectionPath): Delegate to setSelectionPaths().
4530         (updateLeadIndex): Made more efficient.
4531
4532 2006-10-11  Francis Kung  <fkung@redhat.com>
4533
4534         * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
4535         (buffer, locked): New fields.
4536         (constructors): Initialize new variables.
4537         (createBuffer): New method.
4538         (draw): Implement custom composites.
4539         (drawComposite): New method.
4540         (drawGlyphVector): Implement custom composites.
4541         (drawImage): Implement custom composites.
4542         (drawRenderedImage): Implement custom composites.
4543         (fill): Implement custom composites.
4544         (getBufferCM): New method.
4545         (getNativeCM): New method.
4546         (updateBufferedImage): Fix premultiplication.
4547         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
4548         (copy): Copy composite.
4549         (drawImage): Set background properly.
4550         (getBufferCM): New method.
4551         (setComposite): Reset alpha composite when using custom composite.
4552         * gnu/java/awt/peer/gtk/CairoSurface.java
4553         (cairoColorModel): New field.
4554         (nativeColorModel): Renamed.
4555         (constructor): Use renamed createCairoSampleModel method.
4556         (createCairoSampleModel): New method.
4557         (createNativeSampleModel): Renamed.
4558         (getBufferedImage): Use renamed cairoColorModel field.
4559         * gnu/java/awt/peer/gtk/GtkVolatileImage.java
4560         (gdkColorModel): New field.
4561         (createGdkSampleModel): New method.
4562         (getPixels): Added comments.
4563         (getSnapshot): Use GDK colour and sample models.
4564         * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
4565         (createBuffer): Use GDK colour and sample models.
4566         (getNativeCM): Added comments.
4567         * java/awt/image/BufferedImage.java
4568         (constructor): Set premultiplied flag properly.
4569         
4570 2006-10-11  Edwin Steiner  <edwin.steiner@gmx.net>
4571
4572         * native/jni/java-nio/gnu_java_nio_VMChannel.c
4573         (Java_gnu_java_nio_VMChannel_lock): Special case Long.MAX_VALUE.
4574
4575 2006-10-10  Francis Kung  <fkung@redhat.com>
4576
4577         PR 29372
4578         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
4579         (createPath): Added isDraw parameter.
4580         (draw): Updated createPath call.
4581         (fill): Updated createPath call.
4582
4583 2006-10-10  Tom Tromey  <tromey@redhat.com>
4584
4585         PR classpath/29362:
4586         * gnu/xml/transform/TransformerImpl.java (transform): Only strip if
4587         there is a stylesheet.
4588
4589 2006-10-10  Roman Kennke  <kennke@aicas.com>
4590
4591         * java/awt/Toolkit.java
4592         (getDefaultTookit): Make method synchronized to avoid
4593         accidentally creating more than one toolkits from different
4594         threads.
4595
4596 2006-10-10  Roman Kennke  <kennke@aicas.com>
4597
4598         * java/awt/LightweightDispatcher.java
4599         (handleMouseEvent): Redispatch MOUSE_WHEEL events too.
4600         (redispatch): Transfer the button to the redispatched event.
4601
4602 2006-10-10  Francis Kung  <fkung@redhat.com>
4603
4604         * java/awt/image/ColorModel.java (coerceData): Implemented.
4605
4606 2006-10-09  Christian Elias Naur  <elias@oddlabs.com>
4607
4608         * vm/reference/java/lang/VMClassLoader.java:
4609         (defineClassWithTransformers): Use proper class name format.
4610
4611 2006-10-09  Gary Benson  <gbenson@redhat.com>
4612
4613         * java/net/ServerSocket.java
4614         (implAccept): Add security check.
4615         (accept): Close socket if security check fails.
4616         (setSocketFactory): Add security check and already-set check.
4617
4618 2006-10-09  Roman Kennke  <kennke@aicas.com>
4619
4620         PR 29325
4621         * javax/swing/JSplitPane.java
4622         (dividerLocation): New field. Stores the divider location.
4623         (JSplitPane): Initialize dividerLocation with -1.
4624         (addImpl): Removed unneeded local variables.
4625         (getDividerLocation): Manage dividerLocation in the JSplitPane
4626         class, not in the UI.
4627         (setDividerLocation): Manage dividerLocation in the JSplitPane
4628         class, not in the UI. Only call the UI method for notification.
4629         * javax/swing/plaf/basic/BasicSplitPaneUI.java
4630         (BasicHorizontalLayoutManager.layoutContainer): Fetch divider
4631         location from the JSplitPane. Honour the minimumSize, but only
4632         if the divider location hasn't been set explicitly.
4633         (BasicHorizontalLayoutManager.minimumLayoutSize): Removed unneeded
4634         statement.
4635         (BasicHorizontalLayoutManager.preferredLayoutSize): Removed unneeded
4636         statement.
4637         (BasicHorizontalLayoutManager.resetToPreferredSizes): Don't touch
4638         the divider location.
4639         (dividerLocationSet): New field.
4640         (dividerLocation): Removed field.
4641         (createActionMap): Fetch and set divider location on the JSplitPane.
4642         (getDividerLocation): Return the actual real divider location.
4643         (getMaximumSize): Removed unneeded cast.
4644         (getPreferredSize): Removed unneeded cast.
4645         (getMinimumSize): Removed unneeded cast.
4646         (installUI): Initialize dividerLocationSet with false.
4647         (uninstallUI): Initialize dividerLocationSet with false.
4648         (setDividerLocation): Set dividerLocationSet to true.
4649
4650 2006-10-09  Robert Schuster  <robertschuster@fsfe.org>
4651
4652         * native/jni/java-net/gnu_java_net/VMPlainSocketImpl.c:
4653         (Java_gnu_java_net_VMPlainSocketImpl_joinGroup): Properly
4654         convert jstring into char *.
4655         (Java_gnu_java_net_VMPlainSocketImpl_joinGroup6): Dito.
4656         (Java_gnu_java_net_VMPlainSocketImpl_leaveGroup): Dito.
4657         (Java_gnu_java_net_VMPlainSocketImpl_leaveGroup6): Dito.
4658         (getif_address): Added const modifier to second argument.
4659         (getif_index): Dito.
4660
4661 2006-10-09  Roman Kennke  <kennke@aicas.com>
4662
4663         * javax/swing/JTree.java
4664         (isSelected): Added API docs.
4665
4666 2006-10-09  Roman Kennke  <kennke@aicas.com>
4667
4668         * javax/swing/JTree.java
4669         (isSelected): Delegate to the selection model directly.
4670
4671 2006-10-09  Robert Schuster  <robertschuster@fsfe.org>
4672
4673         * gnu/java/nio/KqueueSelectorImpl.java: Renamed field
4674         sizeof_struct_kevent to _sizeof_struct_kevent.
4675
4676 2006-10-07  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
4677
4678         * tools/gnu/classpath/tools/rmic/RMICException.java:
4679         javadoc corrections, reformatted.
4680
4681 2006-10-07  Christian Elias Naur  <elias@oddlabs.com>
4682
4683         * gnu/java/lang/InstrumentationImpl.java:
4684         Made constructor package visible.
4685
4686 2006-10-05  Gary Benson  <gbenson@redhat.com>
4687
4688         * java/net/Socket.java
4689         (Socket): Perform security check on address not hostname.
4690
4691 2006-10-04  Roman Kennke  <kennke@aicas.com>
4692
4693         * javax/swing/tree/VariableHeightLayoutCache.java
4694         (getBounds): When rect is null, create a new Rectangle.
4695
4696 2006-10-04  Christian Thalinger  <twisti@complang.tuwien.ac.at>
4697
4698         * native/jni/java-nio/javanio.c (cpnio_read, cpnio_readv)
4699         (cpnio_write, cpnio_writev, cpnio_socket, cpnio_connect)
4700         (cpnio_accept, cpnio_sendto, cpnio_recvfrom, cpnio_fcntl)
4701         (cpnio_select): Use CPNIO_EXPORT.
4702         * native/jni/java-nio/javanio.h (CPNIO_EXPORT): Define to static
4703         inline instead of extern inline, as newer GCCs changed their
4704         behavior.
4705
4706 2006-10-04  Gary Benson  <gbenson@redhat.com>
4707
4708         * java/net/InetAddress.java: Updated javadoc.
4709         (<clinit>, getByLiteral): Throw InternalError on failures.
4710
4711 2006-10-03  Francis Kung  <fkung@redhat.com>
4712
4713         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
4714         (compCtx): New field for composite context.
4715         (copy): Copy composite.
4716         (dispose): Dispose of composite context.
4717         (getNativeCM): New method.
4718         (setComposite): Discard old composite context and set up new context.
4719         (setRenderingHints): Update composite context.
4720         * gnu/java/awt/peer/gtk/CairoSurface.java
4721         (nativeColorModel): New field, renamed from nativeModel.
4722         (nativeModel): Renamed field to nativeColorModel.
4723         (CairoSurface(int, int)): Call new method to create sample model.
4724         (createNativeSampleModel): New method.
4725         (getBufferedImage): Updated variable name.
4726         * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
4727         (buffer): New field.
4728         (createBuffer): New method.
4729         (draw): New method.
4730         (drawComposite): New method.
4731         (drawGlyphVector): New method.
4732         (drawImage(Image, AffineTransform, Color, ImageObserver)): New method.
4733         (drawImage(Image, int, int, ImageObserver)): Check composite.
4734         (drawImage(Image, int, int, int, int, ImageObserver)): Check composite.
4735         (fill): New method.
4736         (getNativeCM): New method.
4737         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c
4738         (Java_gnu_java_awt_peer_gtk_GtkVolatileImage_nativeGetPixels): Use 
4739         intermediary pixbuf to grab on-screen pixels.
4740
4741 2006-10-03  Tom Tromey  <tromey@redhat.com>
4742
4743         PR classpath/28987:
4744         * java/util/IdentityHashMap.java (tombstone): Removed.
4745         (emptyslot): Removed.
4746         (nullslot): New field.
4747         (IdentityHashMap): Don't fill array.
4748         (clear): Fill with null.
4749         (hash): Now final.  Use linear probing.
4750         (xform): New method.
4751         (unxform): Likewise.
4752         (removeAtIndex): Likewise.
4753         (clone, containsKey, containsValue, entrySet, get, hashCode,
4754         keySet, put, remove, values): Updated.
4755         (IdentityIterator, IdentityEntry): Likewise.
4756         (writeObject): Likewise.
4757
4758 2006-10-03  Tom Tromey  <tromey@redhat.com>
4759
4760         * java/util/Locale.java (hashcode): Updated javadoc.
4761         (hashcodeCache): Removed.
4762         (Locale): Updated.
4763         (hashCode): Updated.
4764         (writeObject): New method.
4765         (readObject): Updated.
4766
4767 2006-10-02  Francis Kung  <fkung@redhat.com>
4768
4769         * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
4770         (updateBufferedImage): Recognise that raw data is alpha-premultiplied.
4771         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
4772         (clearRect): Paint background colour with AlphaComposite.SRC rule.
4773         (drawImage(Image, AffineTransform, Color, ImageObserver)): Alpha
4774         pre-multiply data before drawing.
4775         (fillRect): Draw using regular fill() method.
4776         (setComposite): Handle null case with AlphaComposite.SrcOver default.
4777         * gnu/java/awt/peer/gtk/CairoSurface.java
4778         (nativeModel): Use correct value for alpha premultiplication (true).
4779         * java/awt/image/BufferedImage.java
4780         (coerceData): Update isPremultiplied field.
4781
4782 2006-10-02  Andrew John Hughes  <gnu_andrew@member.fsf.org>
4783
4784         * gnu/classpath/ListenerData.java:
4785         New class for holding listener data.
4786         * gnu/java/lang/management/MemoryMXBeanImpl.java:
4787         ListenerData class moved to its own file.
4788         * javax/management/MBeanServerDelegate.java,
4789         * javax/management/MBeanServerDelegateMBean.java,
4790         * javax/management/MBeanServerNotification.java:
4791         Implemented.
4792
4793 2006-10-02  Tania Bento  <tbento@redhat.com>
4794
4795         * java/ast/Rectangle.java:
4796         (Rectangle(Rectangle)): Do not throw NPE.
4797         (Rectangle(Point, Dimension)): Same.
4798         (Rectangle(Point)): Same.
4799         (Rectangle(Dimension)): Same.
4800
4801 2006-09-29  Casey Marshall  <csm@gnu.org>
4802
4803         PR 29190
4804         * gnu/java/nio/EpollSelectionKeyImpl.java: extend
4805         `AbstractSelectionKey.'
4806         (cancel, isValid): removed.
4807         * gnu/java/nio/EpollSelectorImpl.java (cancelledKeys): removed.
4808         (events): new field.
4809         (INITIAL_CAPACITY, MAX_DOUBLING_CAPACITY, CAPACITY_INCREMENT): new
4810         fields.
4811         (<clinit>): initialize those constants.
4812         (<init>): don't initialize `cancelledKeys;' initialize `events.'
4813         (doSelect): deregister cancelled keys; remove keys attached to
4814         closed channels; wrap `epoll_wait' in `begin' and `end' calls; use
4815         `events' buffer; reallocate `events' buffer if needed.
4816         (register): reallocate `events' buffer if needed.
4817         (reallocateBuffer): new method.
4818         (cancel): removed.
4819
4820 2006-09-29  Roman Kennke  <kennke@aicas.com>
4821
4822         PR 28929
4823         * javax/swing/JViewport.java
4824         (cinit): Renamed system property to gnu.swing.scrollmode
4825         to avoid bloat. Default to BACKINGSTORE, this is much
4826         more reliable.
4827         (repaint): Forward repaint() to parent as is specified.
4828
4829 2006-09-29  Tania Bento  <tbento@redhat.com>
4830
4831         * javax/swing/plaf/basic/BasicTableUI.java
4832         (getPreferredSize): The number of iterations for the for-loop should be
4833         the number of columns in the table's column model, not the number of
4834         columns of the table.
4835         * javax/swing/JTable.java
4836         (JTable(TableModel, TableColumnModel, ListSelectionModel): Removed 4
4837         lines that are not needed.
4838         (initializeLocalVars): dragEnabled should be set to false, not true.
4839         (getCellRenderer): Added a check to prevent an
4840         ArrayIndexOutOfBoundsException.
4841         (doLayout): The number of iterations for the for-loops should be the
4842         number of columns in the table's column model, not the number of columns
4843         of the table.
4844
4845 2006-09-29  Roman Kennke  <kennke@aicas.com>
4846
4847         * gnu/java/awt/java2d/AbstractGraphics2D.java: Updated
4848         API docs.
4849         (isOptimized): Initialize with true.
4850         (paintRaster): Removed unneeded field.
4851         (shapeCache): New static field. Caches certain shapes for reuse.
4852         (computeIntersection): Removed unneeded casts.
4853         (drawArc): Use shape cache.
4854         (drawImage): Removed unneeded statement.
4855         (drawLine): Use shape cache. Pass untranslated coordinates
4856         to rawDrawLine().
4857         (drawOval): Use shape cache.
4858         (drawPolygon): Use shape cache.
4859         (drawRect): Overridden to provide accelerated rectangle drawing
4860         if possible and to use the shape cache.
4861         (drawRoundRect): Use shape cache.
4862         (fillArc): Use shape cache.
4863         (fillOval): Use shape cache.
4864         (fillPolygon): Use shape cache.
4865         (fillRect): Pass untranslated coordinates to rawFillRect().
4866         Use shape cache.
4867         (fillRoundRect): Use shape cache.
4868         (fillScanlineAA): Removed unneeded statement.
4869         (fillScanline): Updated API docs.
4870         (fillShapeAntialias): Removed unnecessary cast.
4871         (fillShapeImpl): Update API docs. Removed unnecessary cast.
4872         (fillShape): Updated API docs.
4873         (getShapeCache): New helper method.
4874         * gnu/java/awt/java2d/ShapeCache.java: New class. Caches
4875         certain shapes for reuse in AbstractGraphics2D.
4876
4877 2006-09-28  Andrew John Hughes  <gnu_andrew@member.fsf.org>
4878
4879         * javax/management/BadBinaryOpValueExpException.java:
4880         (getExp()): Implemented.
4881         * javax/management/MBeanConnection.java:
4882         Renamed to MBeanServerConnection.
4883         * javax/management/MBeanServer.java:
4884         (setAttribute(Attribute)): Fixed...
4885         (setAttribute(ObjectName,Attribute)): to this.
4886         * javax/management/MBeanServerConnection.java:
4887         Renamed from MBeanConnection.
4888         * javax/management/QueryExp.java:
4889         Extend Serializable.
4890         * javax/management/ValueExp.java:
4891         Likewise.
4892         * javax/management/loading/ClassLoaderRepository.java:
4893         (loadClass(String)): Throw ClassNotFoundException.
4894         (loadClassBefore(ClassLoader,String)): Likewise.
4895         (loadClassWithout(String, ClassLoader): Fixed...
4896         (loadClassWithout(ClassLoader,String)): to this.
4897         
4898 2006-09-28  Roman Kennke  <kennke@aicas.com>
4899
4900         * javax/swing/tree/DefaultTreeCellRenderer.java
4901         (DefaultTreeCellRenderer): Fetch drawsFocusBorderAroundIcon
4902         property from UIManager.
4903         (paint): Rewritten to use super's implementation and only paint
4904         background and focus indicator before.
4905         (paintFocus): New helper method.
4906         (getXOffset): New helper method.
4907
4908 2006-09-28  Andrew John Hughes  <gnu_andrew@member.fsf.org>
4909         
4910         * javax/management/BadBinaryOpValueExpException.java,
4911         * javax/management/MBeanConnection.java,
4912         * javax/management/MBeanServer.java,
4913         * javax/management/ObjectInstance.java:
4914         Implemented.
4915         * javax/management/ObjectName.java:
4916         (setMBeanServer(MBeanServer)): Implemented.
4917         * javax/management/QueryExp.java,
4918         * javax/management/ValueExp.java,
4919         * javax/management/loading/ClassLoaderRepository.java:
4920         Implemented.
4921
4922 2006-09-27  Robert Schuster  <robertschuster@fsfe.org>
4923
4924         * gnu/java/nio/VMChannelOwner.java: Removed unneeded imports.
4925
4926 2006-09-27  Robert Schuster  <robertschuster@fsfe.org>
4927
4928         * vm/reference/gnu/java/nio/VMChannel.java: Removed unneeded imports.
4929         * vm/reference/gnu/java/nio/VMPipe.java: Removed unneeded imports.
4930         * gnu/java/nio/EpollSelectorImpl.java:
4931         (doSelect): Use Integer.valueOf() instead of constructor call.
4932         (register): Use Integer.valueOf() instead of constructor call.
4933
4934 2006-09-27  Roman Kennke  <kennke@aicas.com>
4935
4936         * java/awt/Container.java
4937         (addContainerListener): Activate newEventsOnly for the component.
4938         Ignore null listeners.
4939
4940 2006-09-27  Roman Kennke  <kennke@aicas.com>
4941
4942         * java/awt/EventQueue.java
4943         (Queue): New inner class. Implements the actual queue.
4944         (LOW_PRIORITY): New constant field.
4945         (NORM_PRIORITY): New constant field.
4946         (queueHead): Removed. Moved into Queue.
4947         (queueTail): Removed. Moved into Queue.
4948         (queues): New field.
4949         (EventQueue): Initialize two internal queues, one for
4950         normal events, one for low priority events.
4951         (getNextEventImpl): New helper method, fetches the next event.
4952         (getNextEvent): Use getNextEventImpl() for fetching the event.
4953         (peekEvent): Use getNextEventImpl() for fetching the event.
4954         (peekEvent(int)): Search for event in all queues.
4955         (postEventImpl(AWTEvent)): Moved actual posting into
4956         postEventImpl(AWTEvent,int). Prioritize events here.
4957         (postEventImpl(AWTEvent,int)): Take priority parameter and insert
4958         event into correct queue. Re-enable event coalescing.
4959         * gnu/java/awt/LowPriorityEvent.java: New marker interface.
4960         * javax/swing/RepaintManager.java
4961         (RepaintWorkerEvent): New internal class. This is a low priority
4962         event for the repaint worker.
4963         (addDirtyRegion): Use new internal invokeLater() for sending
4964         a low priority event.
4965         (addInvalidComponent): Use new internal invokeLater() for sending
4966         a low priority event.
4967         (commitBuffer): Added some null checks.
4968         (invokeLater): New helper method. Sends a low priority
4969         repaint worker event on the event queue.
4970
4971 2006-09-27  Roman Kennke  <kennke@aicas.com>
4972
4973         PR 29036
4974         PR 29161
4975         * javax/swing/plaf/basic/BasicButtonUI.java
4976         (cachedInsets): New field.
4977         (installListeners): Fire synthetic property change to initialize
4978         TEXT_LAYOUT_CACHE for the button because the font has been
4979         installed before.
4980         (uninstallUI): Clear the TEXT_LAYOUT_CACHE for the button.
4981         (paint): Use cached insets.
4982         (paintText): Let new method forward to old one, not vice versa.
4983         * javax/swing/plaf/basic/BasicMenuItemUI.java
4984         (defaultAcceleratorLabelGap): Removed unused field.
4985         (MenuGap): Removed unused field.
4986         (propertyChangeListener): Made private.
4987         (getAcceleratorRect): Removed unused method.
4988         (getAcceleratorText): Removed unused method.
4989         (getPath): Removed unnecessary cast.
4990         (installListeners): Fire synthetic property change to initialize
4991         TEXT_LAYOUT_CACHE for the button because the font has been
4992         installed before.
4993         (uninstallUI): Clear the TEXT_LAYOUT_CACHE for the button.
4994         (layoutMenuItem): Removed unused statements.
4995         
4996 2006-09-27  Roman Kennke  <kennke@aicas.com>
4997
4998         PR 29218
4999         * javax/swing/tree/DefaultTreeModel.java
5000         (isLeaf): Check if the node allows children when
5001         asksAllowsChildren is true, otherwise fall back
5002         to return the node's leaf property.
5003
5004 2006-09-27  Mario Torre  <neugens@limasoftware.net>
5005
5006         * scripts/check_jni_methods.sh: removed methods from the
5007         ignore list:
5008         Java_gnu_java_util_prefs_gconf_GConfNativePeer_finalize_1class
5009         Java_gnu_java_util_prefs_gconf_GConfNativePeer_init_1id_1cache
5010         Java_gnu_java_util_prefs_gconf_GConfNativePeer_init_1class
5011         Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1escape_1key
5012         Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1unescape_1key
5013         * native/jni/gconf-peer/GConfNativePeer.c: fixed coding style
5014         to better follow the GNU style.
5015         * include/gnu_java_util_prefs_gconf_GConfNativePeer.h.
5016         regenerated header file for GConfNativePeer.
5017
5018 2006-09-27  Robert Schuster  <robertschuster@fsfe.org>
5019
5020         * INSTALL: Added information about grmic being built when ASM
5021         is available, added information about gconf dependency, indented
5022         Qt4 dependency section.
5023         * configure.ac: Added information about grmic being built when ASM
5024         is available.
5025
5026 2006-09-27  Ian Rogers  <ian.rogers@manchester.ac.uk>
5027
5028         * native/jni/classpath/jcl.c (JNI_OnLoad): Don't call
5029         DeleteGlobalRef on a local ref.
5030
5031 2006-09-24  Mario Torre  <neugens@limasoftware.net>
5032
5033         * scripts/check_jni_methods.sh: added two new methods in the
5034         ignore list:
5035         Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1escape_1key
5036         and
5037         Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1unescape_1key
5038         * native/jni/gconf-peer/GConfNativePeer.c:
5039         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1all_1keys):
5040         refacored method name, renamed from
5041         Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1gconf_1client_1all_1keys.
5042         Added code to unescape escaped GConf key names.
5043         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1all_1nodes):
5044         refacored method name, renamed from
5045         Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1gconf_1client_1all_1nodes.
5046         Added code to unescape escaped GConf key names.
5047         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1escape_1key):
5048         new function.
5049         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1unescape_1key):
5050         new function.
5051         * gnu/java/util/prefs/gconf/GConfNativePeer.java: removed
5052         version javadoc tag.
5053         (escapeString): new method.
5054         (unescapeString): likewise.
5055         (gconf_escape_key): new native method.
5056         (gconf_unescape_key): likewise.
5057         (gconf_client_suggest_sync): update native method signature, now
5058         explicity throws BackingStoreException.
5059         (gconf_client_all_nodes): update native method signature, now
5060         explicity throws BackingStoreException. Refactored method name,
5061         renamed from gconf_client_gconf_client_all_nodes.
5062         (gconf_client_all_keys): update native method signature, now
5063         explicity throws BackingStoreException. Refactored method name,
5064         renamed from gconf_client_gconf_client_all_keys.
5065         (getKeys): refactored to use the new method name
5066         gconf_client_all_keys.
5067         (getChildrenNodes): refactored to use the new method name
5068         gconf_client_all_nodes.
5069         * gnu/java/util/prefs/GConfBasedPreferences.java: removed
5070         version javadoc tag.
5071         (GConfBasedPreferences): Added code to escape node names from
5072         invalid characters so that GConf now accept invalid node names.
5073         (GConfBasedPreferences): Moved code to register the current
5074         node to the list of nodes watched by GConf outside the constructor.
5075         (childSpi): Added code to register the current node to the
5076         list of nodes watched by GConf.
5077         (getGConfKey): Added code to escape key names from
5078         invalid characters so that GConf now accept invalid key names.
5079
5080 2006-09-26  Tom Tromey  <tromey@redhat.com>
5081
5082         * tools/gnu/classpath/tools/javah/Printer.java (Printer): Don't
5083         call mkdirs in output-directory case.
5084         (getPrintStream): Create output directory.
5085         * tools/gnu/classpath/tools/javah/Main.java (makeOutputDirectory):
5086         Don't call mkdirs.
5087
5088 2006-09-27  Raif S. Naffah  <raif@swiftdsl.com.au>
5089
5090         * tools/gnu/classpath/tools/javah/CniIncludePrinter.java (CniIncludePrinter):
5091         Accept three additional arguments.
5092         (writePreambleImpl): New method.
5093         (getPrintStreamImpl): Likewise.
5094         (printClass): Adapted to use new methods in Printer superclass.
5095         * tools/gnu/classpath/tools/javah/CniStubPrinter.java: Likewise.
5096         * tools/gnu/classpath/tools/javah/JniIncludePrinter.java: Likewise.
5097         * tools/gnu/classpath/tools/javah/JniStubPrinter.java: Likewise.
5098         * tools/gnu/classpath/tools/javah/Main.java (outFileName): New field.
5099         (force): Likewise.
5100         (getParser): Add support for -o option.
5101         Check that only one of -d or -o is defined.
5102         Add support for -jni option.
5103         Add support for -force option.
5104         (makeOutputFile): New method.
5105         (writeHeaders): Removed File argument from signature.
5106         (run): Take into account newly added fields.
5107         Invoke concrete PrintStream implementations with augmented constructors.
5108         * tools/gnu/classpath/tools/javah/Printer.java (outputFileObject): New field.
5109         (isDirectory): Likewise.
5110         (force): Likewise.
5111         (wrotePreamble): Likewise.
5112         (Printer): Changed ctor to accept three additional arguments.
5113         (printClass): Changed signature to accept one ClassWrapper argument.
5114         (writePreambleImpl): New abstract method.
5115         (getPrintStreamImpl): Likewise.
5116         (getPrintStream): New method.
5117         (writePreamble): Likewise.
5118
5119 2006-09-26  Tania Bento  <tbento@redhat.com>
5120
5121         * java/awt/GridLayout.java
5122         (toString): There is no common before hgap.
5123         * java/awt/Rectangle.java
5124         (Rectangle(Rectangle)): Throw NPE if Rectangle is null.
5125         (Rectangle(Point, Rectangle)): Throw NPE if either Point or 
5126         Rectangle is null.
5127         (Rectangle(Point)): Throw NPE if Point is null.
5128         (Rectangle(Dimension)): Throw NPE if Dimension is null.
5129
5130 2006-09-26  David Gilbert  <david.gilbert@object-refinery.com>
5131
5132         * javax/swing/plaf/metal/MetalIconFactory.java
5133         (FileIcon16.paintIcon): Apply vertical shift by the number of pixels
5134         returned by getShift(),
5135         (FileIcon16.getShift): Updated API docs,
5136         (FolderIcon16.paintIcon): Apply vertical shift by the number of pixels
5137         returned by getShift(),
5138         (FolderIcon16.getShift): Updated API docs,
5139         (TreeFolderIcon.getShift): Likewise,
5140         (TreeLeafIcon.getShift): Likewise.
5141
5142 2006-09-26  David Gilbert  <david.gilbert@object-refinery.com>
5143
5144         * javax/swing/plaf/metal/MetalIconFactory.java
5145         (FileIcon16.paintIcon): Fetch colors from look and feel,
5146         (FolderIcon16.paintIcon): Likewise.
5147
5148 2006-09-25  Casey Marshall  <csm@gnu.org>
5149
5150         * gnu/java/nio/FileChannelImpl.java (read): revert back to using
5151         `readScattering.'
5152         (write): revert back to using `writeGathering.'
5153         * vm/reference/gnu/java/nio/VMChannel.java (writeGathering): find
5154         the first buffer that has data remaining, and start at that one.
5155
5156 2006-09-25  Tom Tromey  <tromey@redhat.com>
5157
5158         * native/jni/gconf-peer/Makefile.am (libgconfpeer_la_LDFLAGS): New
5159         variable.
5160
5161 2006-09-25  Tom Tromey  <tromey@redhat.com>
5162
5163         * tools/.cvsignore: Updated.
5164
5165 2006-09-25  Tom Tromey  <tromey@redhat.com>
5166
5167         PR libgcj/29178:
5168         * gnu/java/nio/charset/US_ASCII.java (Encoder.canEncode): New method.
5169         (Encoder.canEncode): Likewise.
5170         (Encoder.encodeLoop): Return unmappable for all non-ASCII characters.
5171         * gnu/java/nio/charset/ByteCharset.java (Encoder.canEncode): New
5172         method.
5173         (Encoder.canEncode): Likewise.
5174         * gnu/java/nio/charset/ISO_8859_1.java (Encoder.canEncode): New
5175         method.
5176         (Encoder.canEncode): Likewise.
5177
5178 2006-09-25  Tom Tromey  <tromey@redhat.com>
5179
5180         * native/fdlibm/mprec.c (mprec_calloc): Renamed.
5181         (Balloc): Updated.
5182
5183 2006-09-25  Francis Kung  <fkung@redhat.com>
5184
5185         * java/awt/image/ColorModel.java
5186         (coerceData): Made abstract.
5187         (coerceDataWorker): New protected method.
5188         * java/awt/image/ComponentColorModel.java
5189         (coerceData): Return new instance of proper ColorModel.
5190         * java/awt/image/DirectColorModel.java
5191         (coerceData): Return new instance of proper ColorModel.
5192         * java/awt/image/IndexColorModel.java
5193         (coerceData): New method.
5194
5195 2006-09-24  Casey Marshall  <csm@gnu.org>
5196
5197         * gnu/java/nio/FileChannelImpl.java
5198         (read): call `read' in a loop, don't use `readScattering.'
5199         (write): call `write' in a loop, don't use `writeGathering.'
5200
5201 2006-09-24  Mark Wielaard  <mark@klomp.org>
5202
5203         * configure.ac: Move -pedantic from WARNING to STRICT flags.
5204
5205 2006-09-24  Jeroen Frijters  <jeroen@frijters.net>
5206
5207         * java/nio/channels/spi/AbstractSelectableChannel.java
5208         (register): Set interestOps and attachment when the key already
5209         exists.
5210
5211 2006-09-24  Jeroen Frijters  <jeroen@frijters.net>
5212
5213         * java/net/ServerSocket.java
5214         (bind(SocketAddress,int)): Added support for null address.
5215         Throw proper exception if already bound.
5216         Handle unresolved addresses correctly. Ignore exceptions that
5217         happen during close in error path (to prevent losing the original
5218         exception.)
5219
5220 2006-09-24  Mark Wielaard  <mark@klomp.org>
5221
5222         Suggested by Aaron M. Ucko <ucko@debian.org>
5223         Fixes bug #29203
5224         * native/fdlibm/mprec.c (ulp): Define L as int32_t.
5225
5226 2006-09-24  Jeroen Frijters  <jeroen@frijters.net>
5227
5228         * java/nio/channels/spi/AbstractSelectableChannel.java
5229         (implCloseChannel): Cancel all keys after closing the channel.
5230
5231 2006-09-22  Casey Marshall  <csm@gnu.org>
5232
5233         * gnu/java/nio/EpollSelectorImpl.java (doSelect): remove keys
5234         after we delete them.
5235         (selectedKeys): return an empty set if nothing's been selected.
5236         * native/jni/java-nio/gnu_java_nio_EpollSelectorImpl.c
5237         (Java_gnu_java_nio_EpollSelectorImpl_epoll_1delete): don't
5238         throw an exception on EBADF.
5239         (Java_gnu_java_nio_EpollSelectorImpl_epoll_1wait): don't
5240         throw exception on EINTR, just return 0.
5241         
5242 2006-09-22  Casey Marshall  <csm@gnu.org>
5243
5244         * native/jni/java-io/java_io_VMFile.c (Java_java_io_VMFile_list):
5245         remove `const' from `filename.'
5246         * native/jni/native-lib/cpio.c (cpio_readDir): remove `const' from
5247         `filename.'
5248         * native/jni/native-lib/cpio.h (cpio_readDir): likewise.
5249
5250 2006-09-22  Casey Marshall  <csm@gnu.org>
5251
5252         * configure.ac (AC_CHECK_FUNCS): check for `readdir_r.'
5253         * native/jni/java-io/java_io_VMFile.c (Java_java_io_VMFile_list):
5254         allocate `filename,' and handle changes to `cpio_readDir.'
5255         * native/jni/native-lib/cpio.c (cpio_readDir): use `readdir_r' if
5256         available; copy the filename into the destination buffer; return
5257         an error code if readdir returns NULL, but errno is 0.
5258         * native/jni/native-lib/cpio.h (cpio_readDir): change second
5259         parameter to `const char *.'
5260
5261 2006-09-23  Andrew John Hughes  <gnu_andrew@member.fsf.org>
5262
5263         * javax/management/ObjectName.java:
5264         Implemented.
5265         
5266 2006-09-22  Thomas Fitzsimmons  <fitzsim@redhat.com>
5267
5268         * resource/gnu/classpath/tools/orbd: New directory.
5269         * resource/gnu/classpath/tools/rmic: Likewise.
5270         * resource/gnu/classpath/tools/rmid: Likewise.
5271         * resource/gnu/classpath/tools/rmiregistry: Likewise.
5272         * resource/gnu/classpath/tools/tnameserv: Likewise.
5273         * tools/gnu/classpath/tools/giop: Move contents to...
5274         * tools/gnu/classpath/tools/orbd,
5275         tools/gnu/classpath/tools/tnameserv: New directories.
5276         * tools/gnu/classpath/tools/rmi/rmic: Move contents to...
5277         * tools/gnu/classpath/tools/rmic: New directory.
5278         * tools/gnu/classpath/tools/rmi/rmid: Move contents to...
5279         * tools/gnu/classpath/tools/rmid: New directory.
5280         * tools/gnu/classpath/tools/rmi/registry: Move contents to...
5281         * tools/gnu/classpath/tools/rmiregistry: New directory.
5282         * resource/gnu/classpath/tools/orbd/messages.properties: New file.
5283         * resource/gnu/classpath/tools/rmic/messages.properties: Likewise.
5284         * resource/gnu/classpath/tools/rmid/messages.properties: Likewise.
5285         * resource/gnu/classpath/tools/rmiregistry/messages.properties:
5286         Likewise.
5287         * resource/gnu/classpath/tools/tnameserv/messages.properties:
5288         Likewise.
5289         * tools/gnu/classpath/tools/orbd/Main.java,
5290         tools/gnu/classpath/tools/orbd/Messages.java,
5291         tools/gnu/classpath/tools/orbd/PersistentContext.java,
5292         tools/gnu/classpath/tools/orbd/PersistentContextMap.java,
5293         tools/gnu/classpath/tools/orbd/PersistentMap.java,
5294         tools/gnu/classpath/tools/rmic/AbstractMethodGenerator.java,
5295         tools/gnu/classpath/tools/rmic/CompilationError.java,
5296         tools/gnu/classpath/tools/rmic/Generator.java,
5297         tools/gnu/classpath/tools/rmic/GiopIo.java,
5298         tools/gnu/classpath/tools/rmic/HashFinder.java,
5299         tools/gnu/classpath/tools/rmic/Main.java,
5300         tools/gnu/classpath/tools/rmic/Messages.java,
5301         tools/gnu/classpath/tools/rmic/MethodGenerator.java,
5302         tools/gnu/classpath/tools/rmic/RMICException.java,
5303         tools/gnu/classpath/tools/rmic/RmiMethodGenerator.java,
5304         tools/gnu/classpath/tools/rmic/RmicBackend.java,
5305         tools/gnu/classpath/tools/rmic/SourceGiopRmicCompiler.java,
5306         tools/gnu/classpath/tools/rmic/SourceRmicCompiler.java,
5307         tools/gnu/classpath/tools/rmic/Variables.java,
5308         tools/gnu/classpath/tools/rmic/WrapUnWrapper.java,
5309         tools/gnu/classpath/tools/rmic/templates,
5310         tools/gnu/classpath/tools/rmid/ActivationSystemImpl.java,
5311         tools/gnu/classpath/tools/rmid/ActivationSystemImpl_Stub.java,
5312         tools/gnu/classpath/tools/rmid/Main.java,
5313         tools/gnu/classpath/tools/rmid/Messages.java,
5314         tools/gnu/classpath/tools/rmid/PersistentBidiHashTable.java,
5315         tools/gnu/classpath/tools/rmiregistry/Main.java,
5316         tools/gnu/classpath/tools/rmiregistry/Messages.java,
5317         tools/gnu/classpath/tools/rmiregistry/PersistentHashTable.java,
5318         tools/gnu/classpath/tools/rmiregistry/RegistryImpl.java,
5319         tools/gnu/classpath/tools/rmiregistry/RegistryImpl_Skel.java,
5320         tools/gnu/classpath/tools/rmiregistry/RegistryImpl_Stub.java,
5321         tools/gnu/classpath/tools/tnameserv/Main.java,
5322         tools/gnu/classpath/tools/tnameserv/Messages.java: New files.
5323         * tools/gnu/classpath/tools/rmic/ClassRmicCompiler.java: Import
5324         RMIC.java from cp-tools.
5325         * configure.ac (AC_CONFIG_FILES): Add tools/grmiregistry,
5326         tools/gtnameserv, tools/gorbd, tools/grmid and tools/grmic.
5327         (AC_CONFIG_COMMANDS): Add grmiregistry, gtnameserv, gorbd, grmid
5328         and grmic.
5329         * examples/Makefile.am (GLIBJ_CLASSPATH): Add tools.zip.
5330         * gnu/CORBA/NamingService/NamingServiceTransient.java (main):
5331         Rename...
5332         (start): New method.
5333         * tools/Makefile.am: Add build support for new tool wrappers.
5334         * tools/gorbd.in: New file.
5335         * tools/grmic.in: Likewise.
5336         * tools/grmid.in: Likewise.
5337         * tools/grmiregistry.in: Likewise.
5338         * tools/gtnameserv.in: Likewise.
5339         * tools/gnu/classpath/tools/AbstractMethodGenerator.java: Move to...
5340         * tools/gnu/classpath/tools/rmic/AbstractMethodGenerator.java: New
5341         file.
5342         * tools/gnu/classpath/tools/HelpPrinter.java: Remove file.
5343         * tools/gnu/classpath/tools/rmi/Persistent.java: Move to...
5344         * tools/gnu/classpath/tools/common/Persistent.java: New file.
5345
5346 2006-09-22  Ito Kazumitsu  <kaz@maczuka.gcd.org>
5347
5348         Fixes bug #29047
5349         * gnu/java/util/regex/RETokenRepeated.java
5350         (findMatch): Rewriten without using recursive calls,
5351         (FindMatchControlStack): New class,
5352         (FindMatchControl): New class,
5353         (TryAnotherResult): New class,
5354         (tryAnother): New method.
5355
5356 2006-09-22  Gary Benson  <gbenson@redhat.com>
5357
5358         * java/net/SocketPermission.java
5359         (processHostport): Cope with IPv6 addresses with a
5360         one-digit first component.
5361
5362 2006-09-22  Roman Kennke  <kennke@aicas.com>
5363
5364         * java/awt/Component.java
5365         (enableEvents): Set newEventsOnly flag.
5366         * java/awt/Container.java
5367         (dispatchEventImpl): Consume event if lightweight dispatcher
5368         dispatched the event. Don't call processEvent() here, this
5369         is already done in Component.dispatchEventImpl(). For
5370         heavyweights or when the lightweight dispatcher could
5371         not dispatch, fall back to calling super.
5372         (dispatchNoLightweight): New helper method to avoid
5373         recursivly calling the lightweight dispatcher.
5374         * java/awt/LightweightDispatcher.java
5375         (dragButton): Removed field.
5376         (dragTarget): Removed field.
5377         (mouseEventTarget): New field.
5378         (convertPointToChild): Removed method.
5379         (dispatchEvent): Don't depend on component beeing
5380         a window.
5381         (findTarget): Improved algorithm for finding a target.
5382         Before we went down to the deepest component and went
5383         up again to find a suitable target. Now we go
5384         down only once, without going up.
5385         (handleMouseEvent): Broke method down into some smaller
5386         helper methods.
5387         (isDragging): New helper method.
5388         (isMouseListening): New helper method.
5389         (redispatch): New helper method.
5390         (trackEnterExit): New helper method.
5391
5392 2006-09-22  David Gilbert  <david.gilbert@object-refinery.com>
5393
5394         * javax/swing/SizeSequence.java
5395         (getSize): Return 0 if index is out of bounds.
5396
5397 2006-09-21  Tom Tromey  <tromey@redhat.com>
5398
5399         * tools/gnu/classpath/tools/javah/PathOptionGroup.java
5400         (PathOptionGroup): Make -I a joined option.
5401         * tools/gnu/classpath/tools/keytool/CACertCmd.java: Updated.
5402         * tools/gnu/classpath/tools/keytool/CertReqCmd.java: Updated.
5403         * tools/gnu/classpath/tools/keytool/DeleteCmd.java: Updated.
5404         * tools/gnu/classpath/tools/keytool/ExportCmd.java: Updated.
5405         * tools/gnu/classpath/tools/keytool/GenKeyCmd.java: Updated.
5406         * tools/gnu/classpath/tools/keytool/IdentityDBCmd.java: Updated.
5407         * tools/gnu/classpath/tools/keytool/ImportCmd.java: Updated.
5408         * tools/gnu/classpath/tools/keytool/KeyCloneCmd.java: Updated.
5409         * tools/gnu/classpath/tools/keytool/KeyPasswdCmd.java: Updated.
5410         * tools/gnu/classpath/tools/keytool/ListCmd.java: Updated.
5411         * tools/gnu/classpath/tools/keytool/MainCmd.java: Updated.
5412         * tools/gnu/classpath/tools/keytool/PrintCertCmd.java: Updated.
5413         * tools/gnu/classpath/tools/keytool/SelfCertCmd.java: Updated.
5414         * tools/gnu/classpath/tools/keytool/StorePasswdCmd.java: Updated.
5415         * tools/gnu/classpath/tools/appletviewer/Main.java: Updated.
5416         * tools/gnu/classpath/tools/jar/Main.java: Updated.
5417         * tools/gnu/classpath/tools/jarsigner/Main.java: Updated.
5418         * tools/gnu/classpath/tools/javah/Main.java: Updated.
5419         * tools/gnu/classpath/tools/native2ascii/Main.java: Updated.
5420         * tools/gnu/classpath/tools/serialver/SerialVer.java: Updated.
5421         * resource/gnu/classpath/tools/getopt/Messages.properties: Removed
5422         unused entries.
5423         * resource/gnu/classpath/tools/common/Messages.properties: New file.
5424         * tools/gnu/classpath/tools/common/Messages.java: New file.
5425         * tools/gnu/classpath/tools/getopt/Messages.java: Now package-private.
5426         * tools/gnu/classpath/tools/common/ClasspathToolParser.java: Moved
5427         from getopt.
5428         (ClasspathToolParser): Add -J option here.
5429         (ClasspathToolParser): Call other constructor in this class.
5430         * tools/gnu/classpath/tools/getopt/Parser.java (handleLongOption):
5431         Handle joined options.
5432         (handleShortOptions): Likewise.
5433         (handleShortOption): Removed.
5434         (finalGroup): New field.
5435         (Parser): Initialize new field.  Don't add -J option.
5436         (addFinal): New method.
5437         * tools/gnu/classpath/tools/getopt/OptionGroup.java (printHelp): Use
5438         isJoined.
5439         * tools/gnu/classpath/tools/getopt/Option.java (isJoined): New method.
5440         (Option): Check short option for validity.
5441         (Option): New constructors.
5442         (joined): New field.
5443
5444 2006-09-21  csm  <csm@pollux.local>
5445
5446         * gnu/java/net/PlainDatagramSocketImpl.java (send): ignore
5447         `InterruptedIOException;' try again if it gets thrown.
5448         (receive): likewise, but re-throw `SocketTimeoutException.'
5449         * gnu/java/nio/EpollSelectorImpl.java (doSelect): just return 0
5450         if we have nothing to select.
5451
5452 2006-09-21  Francis Kung  <fkung@redhat.com>
5453
5454         * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java:
5455         (getLogicalBounds): Respect glyph transformations.
5456         (getGlyphOutline): Added null pointer check.
5457         (getGlyphTransform): Do not generate identity transform (API permits null).
5458         (setGlyphPosition): Do not invalidate transform.
5459         (setGlyphTransform): Do not modify glyph position.
5460
5461 2006-09-21  Francis Kung  <fkung@redhat.com>
5462
5463         * java/awt/image/ColorModel.java (coerceData): Set alpha premultiplied flag.
5464
5465 2006-09-21  Francis Kung  <fkung@redhat.com>
5466
5467         * java/awt/image/ColorModel.java (coerceData): Return proper colour model.
5468         * java/awt/image/ComponentColorModel.java (coerceData): Likewise.
5469         * java/awt/image/DirectColorModel.java (coerceData): Likewise.
5470
5471 2006-09-21  Tania Bento  <tbento@redhat.com>
5472
5473         * javax/swing/JTabbedPane.java:
5474         (insertTab): Notify ChangeListeners if the tab inserted is selected.
5475         (setModel): A ChangeListener should be created only if there does not 
5476         currently exist one.
5477
5478 2006-09-21  David Gilbert  <david.gilbert@object-refinery.com>
5479
5480         * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java
5481         (MaximizeAction.actionPerformed): Change icon on maxButton.
5482
5483 2006-09-21  Roman Kennke  <kennke@aicas.com>
5484
5485         * javax/swing/plaf/basic/BasicScrollPaneUI.java
5486         (syncScrollPaneWithViewport): Fixed typo (hsb vs. vsb).
5487         Use more efficient getViewPosition() and getViewSize() methods
5488         to avoid creating a rectangle.
5489         (HSBChangeListener.stateChanged): Update the view position
5490         unconditionally. Let the Viewport figure out if something
5491         changed.
5492         (VSBChangeListener.stateChanged): Update the view position
5493         unconditionally. Let the Viewport figure out if something
5494         changed.
5495         * javax/swing/JViewport.java
5496         (ViewListener.componentResized): Fire state change, because
5497         the extentSize changes.
5498         (extentSize): Removed unneeded field.
5499         (viewSize): Removed unneeded field.
5500         (getExtentSize): Return the viewport's size here.
5501         (getViewRect): Reformatted.
5502         (getViewSize): Reordered for only one return statement.
5503         (paintImmediately2): Fixed up javadoc.
5504         (paint): Removed unneeded statement.
5505         (setExtentSize): Set viewport size and check for actual change
5506         of value.
5507         (setViewPosition): Simplified condition. Set scrollUnderway
5508         true and don't set isViewSizeSet. Avoid creating one Point
5509         object.
5510         (setViewSize): Fixed != comparison with equals(). Set scrollUnderway
5511         to false.
5512         * javax/swing/JScrollBar.java
5513         (ScrollBarListener): New class. Forwards change events from
5514         the model as adjustment events.
5515         (sbChangeListener): New field.
5516         (JScrollBar): Install listener on new model.
5517         (fireAdjustmentValueChanged(int,int,int)): Delegate to new helper
5518         method.
5519         (fireAdjustmentValueChanged(int,int,int,boolean)): New helper
5520         method to allow custom isAdjusting value.
5521         (setMaximum): Only forward to model.
5522         (setMinimum): Only forward to model.
5523         (setValue): Only forward to model.
5524         (setVisibleAmount): Only forward to model.
5525         (setValues): Only forward to model.
5526         (setModel): Update the change listener.
5527
5528 2006-09-20  Christian Thalinger  <twisti@complang.tuwien.ac.at>
5529
5530         * java/util/Formatter.java (basicIntegralConversion): Removed 
5531         check for ZERO && !LEFT_JUSTIFY.
5532                 
5533 2006-09-20  Roman Kennke  <kennke@aicas.com>
5534
5535         PR 29036
5536         * javax/swing/plaf/metal/DefaultMetalTheme.java
5537         (PLAIN_CONTROL_TEXT_FONT): New constant field.
5538         (BOLD_CONTROL_TEXT_FONT): New constant field.
5539         (PLAIN_MENU_TEXT_FONT): New constant field.
5540         (BOLD_MENU_TEXT_FONT): New constant field.
5541         (controlTextFont): Removed.
5542         (menuTextFont): Removed.
5543         (CONTROL_TEXT_FONT): New constant field.
5544         (MENU_TEXT_FONT): New constant field.
5545         (getControlTextFont): Use getFont() helper method for fetching
5546         the correct font.
5547         (getMenuTextFont): Use getFont() helper method for fetching
5548         the correct font.
5549         (getFont): New helper method.
5550         (isBoldMetal): New helper method.
5551
5552 2006-09-20  Casey Marshall  <csm@gnu.org>
5553
5554         * NEWS: mention epoll selector along with the kqueue one.
5555
5556 2006-09-20  Casey Marshall  <csm@gnu.org>
5557
5558         * native/jni/java-nio/gnu_java_nio_EpollSelectorImpl.c
5559         (Java_gnu_java_nio_EpollSelectorImpl_epoll_1delete): ignore ENOENT.
5560
5561 2006-09-20  Francis Kung  <fkung@redhat.com>
5562
5563         PR 29011
5564         * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java:
5565         (getGlyphTransform): Use translation instead of scale.
5566         (performDefaultLayout): Increment position values instead of resetting, and
5567         pre-increment instead of post-increment.
5568         (setGlyphTransform): Handle null case with identity transform.
5569
5570 2006-09-20  Casey Marshall  <csm@gnu.org>
5571
5572         * configure.ac (AC_CHECK_HEADERS): check for `sys/epoll.h.'
5573         (AC_CHECK_FUNCS): check for `epoll_create.'
5574         * gnu/java/nio/EpollSelectionKeyImpl.java: new file.
5575         * gnu/java/nio/EpollSelectorImpl.java: new file.
5576         * gnu/java/nio/SelectorProviderImpl.java (epoll_failed): new class
5577         field.
5578         (openSelector): return epoll selector if requested and available.
5579         * include/Makefile.am (H_FILES): add gnu_java_nio_EpollSelectorImpl.h.
5580         (gnu_java_nio_EpollSelectorImpl.h): new target.
5581         * include/gnu_java_nio_EpollSelectorImpl.h: new file.
5582         * native/jni/java-nio/Makefile.am (libjavanio_la_SOURCES): add
5583         gnu_java_nio_EpollSelectorImpl.c.
5584         * native/jni/java-nio/gnu_java_nio_EpollSelectorImpl.c: new file.
5585
5586 2006-09-20  Casey Marshall  <csm@gnu.org>
5587
5588         * gnu/java/nio/SocketChannelImpl.java (finishConnect): don't
5589         call `isConnected.'
5590         (isConnected): return false if `connectionPending' is true.
5591
5592 2006-09-20  Francis Kung  <fkung@redhat.com>
5593
5594         PR 29011
5595         * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java:
5596         (constructor): Expanded glyphPositions array to accomodate Y-coordinates.
5597         (getGlyphOutline): Call getGylphTransform to generate transform.
5598         (getGylphPosition): Read position directly out of array.
5599         (getGlyphPositions): Read positions directly out of array.
5600         (getGlyphTransform): Generate transform based on gylphPositions array.
5601         (performDefaultLayout): Populate glyphPositions array instead of transforms.
5602         (setGlyphPosition): Set position directly into array.
5603         (setGlyphTransform): Update positions array as well.
5604
5605 2006-09-20  David Daney  <ddaney@avtrex.com>
5606
5607         PR classpath/28661
5608         * gnu/java/net/protocol/http/HTTPURLConnection.java (connect):  Add
5609         default content-type for POST method.
5610
5611 2006-09-20  David Gilbert  <david.gilbert@object-refinery.com>
5612
5613         * javax/swing/plaf/basic/BasicRadioButtonUI.java
5614         (BasicRadioButtonUI): Don't fetch icon here,
5615         (installDefaults): Initialise icon here,
5616         (getDefaultIcon): Just return icon.
5617
5618 2006-09-20  Mark Wielaard  <mark@klomp.org>
5619
5620         * native/jni/java-nio/Makefile.am (libjavanio_la_SOURCES):
5621         Add gnu_java_nio_channels_FileChannelImpl.c and javanio.h.
5622         (EXTRA_DIST): Include javanio.c.
5623
5624 2006-09-20  David Gilbert  <david.gilbert@object-refinery.com>
5625
5626         * java/awt/geom/RoundRectangle2D.java:
5627         (getPathIterator): Reimplemented,
5628         and updated various API doc comments.
5629
5630 2006-09-20  Roman Kennke  <kennke@aicas.com>
5631
5632         * java/awt/Container.java
5633         (addImpl): Set the new component's parent after it has been
5634         added to the array. Call addNotify() and invalidate()
5635         after the component has been added, so that the peer
5636         gets to know about the component structure when it is created.
5637         * java/awt/Window.java
5638         (dispatchEventImpl): Only revalidate when window is resized,
5639         let the other stuff be processed by the superclass.
5640         (dispose): Post WINDOW_CLOSED event only when some listener
5641         is registered or event is explicitly enabled.
5642         (show): Post WINDOW_OPENED event when appropriate.
5643
5644 2006-09-20  Roman Kennke  <kennke@aicas.com>
5645
5646         * java/awt/Component.java
5647         (addNotify): Invalidate here. Fetch peer font.
5648         (getFont): Delegate to helper method, to protect from
5649         overriding client code. Lock the tree while fetching the font.
5650         (getFontImpl): New helper method. Moved code from getFont() in
5651         here.
5652         (removeNotify): Nullify peerFont too.
5653         (setFont): Synchronize on tree and component to avoid threading
5654         issues. Update the peerFont correctly.
5655         (validate): Update the peer font if necessary, before validating.
5656         (getGraphics): Revert to recursive graphics fetching.
5657         Set component font on the Graphics object.
5658         (translateEvent): Removed unnecessary cast.
5659         * java/awt/Container.java
5660         (invalidateTree): Made final and private. Made implementation
5661         slightly more efficient.
5662         (setFont): Get old and new font via getFont() to account for
5663         the real font, and only invalidate the tree when they are not
5664         the same and not equal.
5665         (visitChild): Set the font of the child on the component graphics.
5666         * java/awt/Frame.java
5667         (setMenuBar): Create local reference of peer for thread safety.
5668         Only call simple invalidate, not invalidateTree().
5669
5670 2006-09-19  Cameron McCormack  <cam@mcc.id.au>
5671
5672         PR 29012
5673         * gnu/java/awt/peer/gtk/BufferedImageGraphics.java:
5674         (constructor): Copy image field.
5675
5676 2006-09-19  David Gilbert  <david.gilbert@object-refinery.com>
5677
5678         * javax/swing/JMenuBar.java
5679         (getHelpMenu): Implemented to throw an Error, and added API docs,
5680         (getMargin): Added API docs,
5681         (setMargin): Likewise.
5682
5683 2006-09-19  David Gilbert  <david.gilbert@object-refinery.com>
5684
5685         * javax/swing/AbstractButton.java
5686         (AbstractButton): Don't call updateUI(),
5687         * javax/swing/JButton.java
5688         (JButton(String, Icon)): Call setModel() before init(),
5689         * javax/swing/JMenuItem.java
5690         (JMenuItem()): Delegate to another constructor,
5691         (JMenuItem(Icon)): Likewise,
5692         (JMenuItem(Action)): Set model,
5693         (JMenuItem(String, Icon)): Likewise,
5694         * javax/swing/JToggleButton.java
5695         (init): Call setModel() before init().
5696
5697 2006-09-19  Mark Wielaard  <mark@klomp.org>
5698
5699         Fixes bug #29137
5700         * java/util/logging/LogManager.java (addLogger): Always check for
5701         existing children of a new Logger.
5702
5703 2006-09-19  Roman Kennke  <kennke@aicas.com>
5704
5705         * javax/swing/plaf/basic/BasicScrollPaneUI.java
5706         (HSBChangeListener.stateChanged): Moved handling of header to
5707         syncScrollPaneWithViewport().
5708         (VSBChangeListener.stateChanged): Moved handling of header to
5709         syncScrollPaneWithViewport().
5710         (ViewportChangedHandler.stateChanged): Removed unused statements.
5711         (syncScrollPaneWithViewport): Added null checks. Use setValues
5712         rather then the single setter methods to avoid multiple
5713         adjustments and side effects. Also snyc the headers here.
5714         (updateScrollBarDisplayPolicy): Revalidate and repaint here.
5715         (uninstallUI): Removed unnecessary cast and this qualifier as well
5716         as the call to super.
5717
5718 2006-09-19  Gary Benson  <gbenson@redhat.com>
5719
5720         * java/net/ResolverCache.java: New class (a DNS cache).
5721         * java/net/InetAddress.java
5722         (internalGetCanonicalHostName, getAllByName): Use the above.
5723
5724 2006-09-19  Jeroen Frijters  <jeroen@frijters.net>
5725
5726         * gnu/java/nio/SocketChannelImpl.java: Removed unused import.
5727         * java/net/ServerSocket.java
5728         (port): New field.
5729         (bind): Set port field.
5730         (close): Set impl to null.
5731         (isClosed): Check impl and channel instead of using VMChannel.
5732         (toString): Use port field and getLocalPort() method.
5733         * java/net/Socket.java
5734         (isClosed): Check impl and channel instead of using VMChannel.
5735
5736 2006-09-18  Tom Tromey  <tromey@redhat.com>
5737
5738         * java/util/concurrent/CopyOnWriteArrayList.java
5739         (CopyOnWriteArrayList): New constructor.
5740
5741 2006-09-18  Casey Marshall  <csm@gnu.org>
5742
5743         * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c
5744         (Java_gnu_java_net_VMPlainSocketImpl_listen): remove debug printf.
5745
5746 2006-09-18  Tom Tromey  <tromey@redhat.com>
5747
5748         * gnu/javax/net/ssl/provider/SSLSocket.java (isBound, isClosed,
5749         isConnected): Removed old comment.
5750         (getRemoteSocketAddress): Uncommented.
5751         (setOOBInline, getOOBInline, setKeepAlive, getKeepAlive,
5752         setTrafficClass, getTrafficClass, setReuseAddress,
5753         getReuseAddress, shutdownInput, shutdownOutput, isInputShutdown,
5754         isOutputShutdown): Uncommented.
5755
5756 2006-09-18  David Pirkle  <dpirkle@symyx.com>
5757
5758         Fixes PR 28589
5759         * gnu/xml/transform/XSLURIResolver.java: Test SAXSource for specific
5760           input stream during resolution.
5761
5762 2006-09-18  Roman Kennke  <kennke@aicas.com>
5763
5764         * java/awt/LightweightDispatcher.java
5765         (findTarget): Correctly translate child coordinates.
5766         Use Component.eventTypeEnabled() for checking if a component
5767         has a certain event enabled.
5768         (handleMouseEvent): Find the correct mouse event target.
5769         Use Component.eventTypeEnabled() for checking if a component
5770         has a certain event enabled.
5771
5772 2006-09-18  Roman Kennke  <kennke@aicas.com>
5773
5774         * java/awt/Component.java
5775         (show): Test for the peer beeing lightweight directly.
5776         (paintAll): Validate before painting. Don't paint when not
5777         showing. Call peer.paint() when the component is heavyweight.
5778         (repaint): Delegate to the parent when lightweight, rather
5779         than skipping to the nearest heavyweight.
5780         (createImage): Added null check to prevent NPE.
5781         (dispatchEvent): Moved old event dispatching and toolkit
5782         event dispatching to dispatchEventImpl.
5783         (addComponentListener): Don't enable event. Only add listener
5784         when not null. Switch to new event dispatching only.
5785         (addFocusListener): Likewise.
5786         (addHierarchyListener): Likewise.
5787         (addHierarchyBoundsListener): Likewise.
5788         (addKeyListener): Likewise.
5789         (addMouseListener): Likewise.
5790         (addMouseMotionListener): Likewise.
5791         (addMouseWheelListener): Likewise.
5792         (addInputMethodListener): Likewise.
5793         (coalesceEvents): For mouse events coalesce them only when
5794         their modifiers are equal. For paint events coalesce the events
5795         when one contains the other, without going through complicated
5796         heuristics.
5797         (dispatchEventImpl): Moved old event dispatching and toolkit
5798         event dispatching to dispatchEventImpl.
5799         (coalescePaintEvents): Removed.
5800         (HeavyweightInLightweightListener.componentHidden):
5801         Fixed condition.
5802         * java/awt/Container.java
5803         (addImpl): Don't enable events on lightweights.
5804         (remove): Reordered operations. Don't remove any listeners.
5805         Throw ArrayIndexOutOfBoundsException when index >= ncomponents.
5806         Only removeNotify() when peer is != null. Only invalidate if 
5807         not already invalid. Only fire ContainerEvent if there is
5808         an interested listener or the event is enabled. Dispatch this
5809         event directly without the event queue.
5810         (removeAll): Likewise.
5811         (paintComponents): Only paint when showing. Also paint heavyweights.
5812         Don't paint the container itself.
5813         (removeNotify): Create local variables for improved thread safety.
5814         (addNotifyContainerChildren): Don't enable events for lightweights.
5815
5816 2006-09-18  Roman Kennke  <kennke@aicas.com>
5817
5818         * java/awt/EventQueue.java
5819         (INITIAL_QUEUE_DEPTH): Removed obsolete field.
5820         (next_in): Removed obsolete field.
5821         (next_out): Removed obsolete field.
5822         (queueHead): New field. Markes the head of the queue.
5823         (queueTail): New field. Markes the tail of the queue.
5824         (queue): Removed obsolete field.
5825         (EventQueue): Documented empty block.
5826         (getNextEvent): Changed array based implementation to single-linked
5827         list based implementation.
5828         (invokeAndWait): Use an Object as synchronization object rather
5829         than the current thread.
5830         (peekEvent(int)): Changed array based implementation to single-linked
5831         list based implementation.
5832         (peekEvent()): Changed array based implementation to single-linked
5833         list based implementation.
5834         (pop()): Changed array based implementation to single-linked
5835         list based implementation.
5836         (postEvent): Foward to postEventImpl.
5837         (postEventImpl): Changed array based implementation to single-linked
5838         list based implementation.
5839         (push): Changed array based implementation to single-linked
5840         list based implementation.
5841         * java/awt/AWTEvent.java
5842         (queueNext): New field. Implements a single-linked list for
5843         the EventQueue.
5844
5845 2006-09-17  Mark Wielaard  <mark@klomp.org>
5846
5847         * javax/swing/text/html/HTMLEditorKit (getStyleSheet): Load
5848         resource from HTMLEditorKit.class.
5849
5850 2006-09-17  Mark Wielaard  <mark@klomp.org>
5851
5852         * javax/swing/plaf/basic/BasicToolBarUI.java
5853         (setBorderToNonRollover): Check whether border is null.
5854         (setBorderToRollover): Likewise.
5855
5856 2006-09-17  Mark Wielaard  <mark@klomp.org>
5857
5858         * javax/swing/JTree.java (setLeadSelectionPath): Handle null path.
5859
5860 2006-09-17  Mark Wielaard  <mark@klomp.org>
5861
5862         * native/jni/java-nio/javanio.c (cpnio_fcntl): Last argument is long.
5863         * native/jni/java-nio/javanio.h (cpnio_fcntl): Likewise.
5864         * native/jni/java-nio/gnu_java_nio_VMChannel.c
5865         (Java_gnu_java_nio_VMChannel_lock): Likewise.
5866         (Java_gnu_java_nio_VMChannel_unlock): Likewise.
5867
5868 2006-09-17  Casey Marshall  <csm@gnu.org>
5869
5870         * native/jni/classpath/jcl.c (JNI_OnLoad): mark `reserved' as
5871         unused.
5872
5873 2006-09-17  Chris Burdess  <dog@gnu.org>
5874
5875         Fixes PR 27610 27687.
5876         * gnu/xml/dom/ls/SAXEventSink.java: Permit limited subclassing.
5877         * gnu/xml/transform/SAXTemplatesHandler.java,
5878         * gnu/xml/transform/SAXTransformerHandler.java: New files.
5879         * gnu/xml/transform/TransformerFactoryImpl.java: Implement
5880           SAXTransformerFactory.
5881
5882 2006-09-16  Casey Marshall  <csm@gnu.org>
5883
5884         * NEWS: updated.
5885         * configure.ac (AC_CHECK_HEADERS): check for `sys/event.h'.
5886         (AC_CHECK_FUNCS): add checks for readv, writev, getifaddrs,
5887         kqueue, and kevent.
5888         (HAVE_INET6): define if IPv6 is supported.
5889         * gnu/java/net/PlainDatagramSocketImpl.java (channel): new field.
5890         (native_fd): removed.
5891         (impl): new field.
5892         (<init>): throw IOException; initialize fields.
5893         (finalize): removed.
5894         (getNativeFD): removed.
5895         (bind): use `PlainSocketImpl.bind.'
5896         (create): use `PlainSocketImpl.initSocket.'
5897         (disconnect): use `PlainSocketImpl.disconnect.'
5898         (getLocalPort): new method.
5899         (send): use `VMChannel.send.'
5900         (receive): use `VMChannel.receive.'
5901         (setOption): use `PlainSocketImpl.setOption.'
5902         (getOption): use `PlainSocketImpl.getOption.'
5903         (close): use `VMChannel.State.close.'
5904         (join): use `PlainSocketImpl.join.'
5905         (leave): use `PlainSocketImpl.leave.'
5906         (joinGroup, leaveGroup): implemented.
5907         * gnu/java/net/PlainSocketImpl.java: make non-final.
5908         (native_fd): removed.
5909         (impl): new field.
5910         (channel): new field.
5911         (<init>): initialize `impl.'
5912         (finalize, getNativeFD): removed.
5913         (setOption): use `PlainSocketImpl.setOption.'
5914         (getOption): use `PlainSocketImpl.getOption.'
5915         (shutdownInput): use `PlainSocketImpl.shutdownInput.'
5916         (shutdownOutput): use `PlainSocketImpl.shutdownOutput.'
5917         (create): create `channel,' initialize `impl's native state.
5918         (connect): use `connect(SocketAddress, int).'
5919         (connect): use `SocketChannelImpl.connect;' initialize `address'
5920         and `port.'
5921         (bind): use `VMPlainSocketImpl.bind.'
5922         (listen): use `VMPlainSocketImpl.listen.'
5923         (accept): use `SocketChannelImpl.accept.'
5924         (available): use `VMChannel.available.'
5925         (close): use `PlainSocketImpl.close.'
5926         (sendUrgentData): use `PlainSocketImpl.sendUrgentData.'
5927         (getVMChannel, getInetAddress, getLocalPort, getLocalAddress,
5928         getPort): new methods.
5929         (SocketInputStream.read): use `VMChannel.read.'
5930         (SocketInputStream.read): use `SocketChannel.read.'
5931         (SocketOutputStream.write): use `VMChannel.write.'
5932         (SocketOutputStream.write): use `SocketChannel.write.'
5933         * gnu/java/nio/DatagramChannelImpl.java: implement VMChannel.
5934         (channel): new field.
5935         (<init>): initialize `channel.'
5936         (implCloseSelectableChannel): use `VMChannel.close.'
5937         (implConfigureBlocking): use `VMChannel.setBlocking.'
5938         (connect): use `VMChannel.connect.'
5939         (disconnect): use `VMChannel.disconnect.'
5940         (isConnected): use `VMChannel.getPeerAddress.'
5941         (write): use `VMChannel.write.'
5942         (write): use `VMChannel.writeGathering.'
5943         (read): use `VMChannel.read.'
5944         (read): use `VMChannel.readScattering.'
5945         (receive): use `VMChannel.receive.'
5946         (send): use `VMChannel.send.'
5947         (getVMChannel): new method.
5948         * gnu/java/nio/DatagramChannelSelectionKey.java (getNativeFD):
5949         access native FD through VMChannel.State.
5950         * gnu/java/nio/FileChannelImpl.java: moved from
5951         gnu/java/nio/channels/FileChannelImpl.java.
5952         * gnu/java/nio/FileLockImpl.java: fix imports.
5953         * gnu/java/nio/KqueueSelectionKeyImpl.java: new file.
5954         * gnu/java/nio/KqueueSelectorImpl.java: new file.
5955         * gnu/java/nio/NIOSocket.java (impl): removed.
5956         (channel): new field.
5957         (<init>): init superclass with a `NIOSocketImpl;' init `channel.'
5958         (getPlainSocketImpl, setChannel): removed.
5959         (isConnected): new method.
5960         * gnu/java/nio/NIOSocketImpl.java: new file.
5961         * gnu/java/nio/PipeImpl.java (SourceChannelImpl): implement
5962         `VMChannelOwner.'
5963         (SourceChannelImpl.native_fd): removed.
5964         (SourceChannelImpl.<init>): init with a `VMChannel.'
5965         (SourceChannelImpl.getNativeFD): removed.
5966         (SourceChannelImpl.getVMChannel): new method.
5967         (SourceChannelImpl.implCloseSelectableChannel): implement.
5968         (SinkChannelImpl): implement `VMChannelOwner.'
5969         (SinkChannelImpl.native_fd): removed.
5970         (SinkChannelImpl.<init>): init with a `VMChannel.'
5971         (SinkChannelImpl.implCloseSelectableChannel): implement.
5972         (SinkChannelImpl.getNativeFD): removed.
5973         (SinkChannelImpl.getVMChannel): new method.
5974         * gnu/java/nio/SelectionKeyImpl.java (getNativeFD): mark
5975         deprecated.
5976         * gnu/java/nio/SelectorProviderImpl.java (SELECTOR_IMPL_KQUEUE,
5977         SELECTOR_IMPL_EPOLL, SELECTOR_IMPL): new constants.
5978         (openSelector): return kqueue selector if available.
5979         * gnu/java/nio/ServerSocketChannelImpl.java: implement
5980         `VMChannelOwner.'
5981         (channel): new field.
5982         (<init>): init `channel.'
5983         (finalizer): check if the `VMChannel.State' is valid.
5984         (implCloseSelectableChannel): use `VMChannel.close.'
5985         (implConfigureBlocking): use `VMChannel.setBlocking.'
5986         (accept): use `VMChannel.accept.'
5987         (getVMChannel): new method.
5988         * gnu/java/nio/ServerSocketChannelSelectionKey.java (getNativeFD):
5989         access native FD through `VMChannel.State.'
5990         * gnu/java/nio/SocketChannelImpl.java: implement `VMChannelOwner.'
5991         (impl): removed.
5992         (channel, connected, connectAddress): new field.
5993         (<init>): new constructors.
5994         (getPlainSocketImpl): removed.
5995         (implCloseSelectableChannel): use `VMChannel.close.'
5996         (implConfigureBlocking): use `VMChannel.setBlocking.'
5997         (connect): use `connect(SocketAddress,int).'
5998         (connect): use `VMChannel.connect.'
5999         (finishConnect): don't use a selector.
6000         (isConnected): use `VMChannel.getPeerAddress.'
6001         (read): use `VMChannel.read.'
6002         (read): use `VMChannel.readScattering.'
6003         (write): use `VMChannel.write.'
6004         (write): use `VMChannel.writeGathering.'
6005         (getVMChannel): new method.
6006         * gnu/java/nio/SocketChannelSelectionKey.java (getNativeFD): get
6007         native FD from `VMChannel.State.'
6008         * gnu/java/nio/SocketChannelSelectionKeyImpl.java (getNativeFD):
6009         get native FD from `VMChannel.State.'
6010         * gnu/java/nio/VMChannelOwner.java: new file.
6011         * gnu/java/nio/channels/FileChannelImpl.java: removed.
6012         * include/Makefile.am: generate `gnu_java_nio_FileChannelImpl.h'
6013         and `gnu_java_nio_KqueueSelectorImpl.h;' don't generate
6014         `gnu_java_nio_channels_FileChannelImpl.h.'
6015         * include/gnu_java_net_VMPlainSocketImpl.h: regenerated.
6016         * include/gnu_java_nio_FileChannelImpl.h: new file.
6017         * include/gnu_java_nio_KqueueSelectorImpl.h: new file.
6018         * include/gnu_java_nio_VMChannel.h: regenerated.
6019         * include/gnu_java_nio_VMPipe.h: regenerated.
6020         * include/java_net_VMNetworkInterface.h: regenerated.
6021         * java/io/FileDescriptor.java: fix imports.
6022         * java/io/FileInputStream.java (<init>): handle exceptions.
6023         (read): wrap the destination arary.
6024         * java/io/FileOutputStream.java (<init>): handle exceptions.
6025         (write): wrap the source array.
6026         * java/io/RandomAccessFile.java (<init>): handle exceptions.
6027         * java/net/DatagramSocket.java (<init>): handle exceptions.
6028         (receive): handle length/port setting.
6029         (connect): bind to any address/port if the argument is null.
6030         * java/net/NetworkInterface.java (name, inetAddress): removed.
6031         (netif): new field.
6032         (<init>): make private.
6033         (getName): return `netif.name.'
6034         (getInetAddresses): access `netif.addresses.'
6035         (getDisplayName): return `netif.name.'
6036         (getByName, getByAddress): handle changes to `VMNetworkInterface.'
6037         (condense): removed.
6038         (getNetworkInterfaces): handle changes to `VMNetworkInterface.'
6039         (equals): compare `netif' fields.
6040         (hashCode): get hash codes from `netif.'
6041         (toString): use a StringBuffer.
6042         * java/net/ServerSocket.java (close): don't set `impl' to null.
6043         (isClosed): use `VMChannel.State.isClosed.'
6044         * java/net/Socket.java (getLocalAddress): don't use `getOption' if
6045         the `SocketImpl' is a `PlainSocketImpl.'
6046         (close): just close the `impl.'
6047         (toString): use `super.toString' in the value we return.
6048         (isConnected): just access `impl,' not `getImpl.'
6049         (isBound): use `PlainSocketImpl' methods if we can.
6050         (isClosed): look at `VMChannel.State.'
6051         * native/jni/classpath/jcl.c (JNI_OnLoad): new function.
6052         (JCL_NewRawDataObject): don't initialize cached fields here; throw
6053         an exception if they were not.
6054         (JCL_GetRawData): throw an exception if cached fields weren't
6055         created.
6056         * native/jni/java-lang/java_lang_VMProcess.c: handle
6057         FileChannelImpl move.
6058         * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c
6059         (IO_EXCEPTION, SOCKET_EXCEPTION, BIND_EXCEPTION,
6060         THROW_NO_NETWORK): new macros.
6061         (Java_gnu_java_net_VMPlainSocketImpl_bind): reipmlemented.
6062         (Java_gnu_java_net_VMPlainSocketImpl_bind6): new function.
6063         (Java_gnu_java_net_VMPlainSocketImpl_listen): reimplemented.
6064         (java_sockopt): new enum.
6065         (Java_gnu_java_net_VMPlainSocketImpl_setOption): reimplemented.
6066         (Java_gnu_java_net_VMPlainSocketImpl_getOption): reimplemented.
6067         (Java_gnu_java_net_VMPlainSocketImpl_shutdownInput):
6068         reimplemented.
6069         (Java_gnu_java_net_VMPlainSocketImpl_shutdownOutput):
6070         reimplemented.
6071         (Java_gnu_java_net_VMPlainSocketImpl_sendUrgentData): new
6072         function.
6073         (Java_gnu_java_net_VMPlainSocketImpl_join): new function.
6074         (Java_gnu_java_net_VMPlainSocketImpl_join6): new function.
6075         (Java_gnu_java_net_VMPlainSocketImpl_read): removed.
6076         (Java_gnu_java_net_VMPlainSocketImpl_leave): new function.
6077         (Java_gnu_java_net_VMPlainSocketImpl_leave6): new function.
6078         (Java_gnu_java_net_VMPlainSocketImpl_joinGroup): new function.
6079         (Java_gnu_java_net_VMPlainSocketImpl_write): removed.
6080         (Java_gnu_java_net_VMPlainSocketImpl_joinGroup6): new function.
6081         (Java_gnu_java_net_VMPlainSocketImpl_leaveGroup): new function.
6082         (Java_gnu_java_net_VMPlainSocketImpl_leaveGroup6): new function.
6083         (getif_address): new function.
6084         (getif_index): new function.
6085         * native/jni/java-net/java_net_VMNetworkInterface.c
6086         (java_net_VMNetworkInterface_init,
6087         java_net_VMNetworkInterface_addAddress): new file-scope globals.
6088         (Java_java_net_VMNetworkInterface_initIds): new function.
6089         (struct netif_entry): new struct.
6090         (free_netif_list): new function.
6091         (Java_java_net_VMNetworkInterface_getInterfaces): removed.
6092         (Java_java_net_VMNetworkInterface_getVMInterfaces): new function.
6093         * native/jni/java-nio/Makefile.am (libjavanio_la_SOURCES): remove
6094         gnu_java_nio_channels_FileChannelImpl.c, add
6095         gnu_java_nio_KqueueSelectorImpl.c.
6096         * native/jni/java-nio/gnu_java_nio_KqueueSelectorImpl.c: new file.
6097         * native/jni/java-nio/gnu_java_nio_VMChannel.c
6098         (INTERRUPTED_IO_EXCEPTION, SOCKET_TIMEOUT_EXCEPTION, ALIGN_UP,
6099         ALIGN_DOWN): new macros.
6100         (JCL_init_buffer): get the address through GetDirectBufferAddress
6101         if possible.
6102         (Java_gnu_java_nio_VMChannel_stdin_1fd,
6103         Java_gnu_java_nio_VMChannel_stdout_1fd,
6104         Java_gnu_java_nio_VMChannel_stderr_1fd): new functions.
6105         (Java_gnu_java_nio_VMChannel_setBlocking): fix setting blocking
6106         value.
6107         (Java_gnu_java_nio_VMChannel_read): renamed...
6108         (Java_gnu_java_nio_VMChannel_read__ILjava_nio_ByteBuffer_2): to
6109         this; handle interrupted IO; add HAVE_READ check.
6110         (Java_gnu_java_nio_VMChannel_write): renamed...
6111         (Java_gnu_java_nio_VMChannel_write__ILjava_nio_ByteBuffer_2): to
6112         this; handle zero-length write; add HAVE_WRITE check.
6113         (Java_gnu_java_nio_VMChannel_receive): new function.
6114         (Java_gnu_java_nio_VMChannel_send): new function.
6115         (Java_gnu_java_nio_VMChannel_send6): new function.
6116         (Java_gnu_java_nio_VMChannel_read__I): new function.
6117         (Java_gnu_java_nio_VMChannel_write__II): new function.
6118         (Java_gnu_java_nio_VMChannel_socket): new function.
6119         (Java_gnu_java_nio_VMChannel_connect): new function.
6120         (Java_gnu_java_nio_VMChannel_connect6): new function.
6121         (Java_gnu_java_nio_VMChannel_getsockname): new function.
6122         (Java_gnu_java_nio_VMChannel_getpeername): new function.
6123         (Java_gnu_java_nio_VMChannel_accept): new function.
6124         (Java_gnu_java_nio_VMChannel_disconnect): new function.
6125         (Java_gnu_java_nio_VMChannel_close): new function.
6126         (Java_gnu_java_nio_VMChannel_available): new function.
6127         (FileChannel_mode): new enum.
6128         (Java_gnu_java_nio_VMChannel_open): new function.
6129         (Java_gnu_java_nio_VMChannel_position): new function.
6130         (Java_gnu_java_nio_VMChannel_seek): new function.
6131         (Java_gnu_java_nio_VMChannel_truncate): new funciton.
6132         (Java_gnu_java_nio_VMChannel_lock): new function.
6133         (Java_gnu_java_nio_VMChannel_unlock): new function.
6134         (Java_gnu_java_nio_VMChannel_size): new function.
6135         (Java_gnu_java_nio_VMChannel_map): new function.
6136         (Java_gnu_java_nio_VMChannel_flush): new function.
6137         * native/jni/java-nio/gnu_java_nio_VMPipe.c
6138         (Java_gnu_java_nio_VMPipe_init): removed.
6139         (Java_gnu_java_nio_VMPipe_pipe0): new function.
6140         * native/jni/java-nio/javanio.c: new file.
6141         * native/jni/java-nio/javanio.h: new file.
6142         * native/jni/native-lib/cpnet.c (cpnet_getHostByName): fix for
6143         systems without `gethostbyname_r.'
6144         * vm/reference/gnu/java/net/VMPlainSocketImpl.java (nfd): new
6145         field.
6146         (<init>, <init>): new constructors.
6147         (setOption, getOption): make instance methods; defer to native
6148         implementation.
6149         (connect): removed.
6150         (bind): make an instance method; defer to native methods.
6151         (accept): removed.
6152         (available): removed.
6153         (listen): make an instance method; defer to native method.
6154         (read): removed.
6155         (join, leave): new methods.
6156         (write): removed.
6157         (joinGroup, leaveGroup): new methods.
6158         (shutdownInput, shutdownOutput): make instance methods.
6159         (sendUrgentData): removed.
6160         (State): new class.
6161         * vm/reference/gnu/java/nio/VMChannel.java: make final.
6162         (fd): removed.
6163         (nfd): new field.
6164         (<init>): new, public constructors.
6165         (getVMChannel): methods removed.
6166         (getState, getStdin, getStdout, getStderr, stdin_fd, stdout_fd,
6167         stderr_fd): new methods.
6168         (setBlocking): make an instance method.
6169         (available): new method.
6170         (read): get native fd from `nfd.'
6171         (read): new single-byte read method.
6172         (readScattering): get native fd from `nfd.'
6173         (receive): new method.
6174         (write, writeGathering): get native fd from `nfd.'
6175         (send): new method.
6176         (write): new single-byte write method.
6177         (initSocket): new method.
6178         (connect): new method.
6179         (disconnect): new method.
6180         (getLocalAddress): new method.
6181         (getPeerAddress): new method.
6182         (accept): new method.
6183         (openFile): new method.
6184         (position): new method.
6185         (seek): new method.
6186         (truncate): new method.
6187         (lock): new method.
6188         (unlock): new method.
6189         (size): new method.
6190         (map): new method.
6191         (flush): new method.
6192         (close): new method.
6193         (State): new class.
6194         (Kind): new class.
6195         * vm/reference/gnu/java/nio/VMPipe.java (init): removed.
6196         (pipe, pipe0): new method.
6197         * vm/reference/java/net/VMNetworkInterface.java (name, addresses):
6198         new fields.
6199         (<clinit>): call `initIds.'
6200         (initIds): new method.
6201         (getInterfaces): removed.
6202         (getVMInterfaces): new method.
6203         (addAddress): new method.
6204         * vm/reference/java/nio/channels/VMChannels.java: fix imports.
6205
6206 2006-09-16  Chris Burdess  <dog@gnu.org>
6207
6208         Fixes PR 28572.
6209         * gnu/xml/transform/StreamSerializer.java: Don't escape XML entities
6210           when in text output mode.
6211
6212 2006-09-16  Chris Burdess  <dog@gnu.org>
6213
6214         Fixes PR 27293.
6215         * gnu/xml/dom/DomNode.java: Increment length of node during insert.
6216
6217 2006-09-14  Michael Koch  <konqueror@gmx.de>
6218
6219         * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Recreated.
6220
6221 2006-09-15  Chistian Elias Naur  <elias@oddlabs.com>
6222
6223         * java/io/ObjectStreamClass.java (setClass(Class, ObjectStreamClass)):
6224         Added !cl.isArray() to serialVersionUID mismatch check.
6225
6226 2006-09-14  Francis Kung  <fkung@redhat.com>
6227
6228         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
6229         (gnu_java_awt_peer_gtk_CairoGraphics2D_setGradient): Updated constants to
6230         be compatibe with Cairo 1.2.x.
6231
6232 2006-09-14  Francis Kung  <fkung@redhat.com>
6233
6234         * gnu/java/awt/peer/gtk/CairoGraphics2D.java: Added interpolation constants.
6235         (cairoSurfaceSetFilter): Removed method.
6236         (drawImage): Pass interpolation type as argument to drawing methods.
6237         (drawPixels): Added interpolation parameter.
6238         (drawRaster): Pass interpolation type as argument to drawing method.
6239         (getInterpolation): New method.
6240         (setRenderingHint): Store hints, but do not set interpolation in cairo.
6241         (setRenderingHints): Store hints, but do not set interpolation in cairo.
6242         * gnu/java/awt/peer/gtk/CairoSurface.java
6243         (drawSurface): Added interpolation parameter.
6244         (nativeDrawSurface): Added interpolation parameter.
6245         * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h
6246         (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_drawPixels): Added interpolation
6247         parameter.
6248         (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoSurfaceSetFilter): Removed.
6249         * native/jni/gtk-peer/cairographics2d.h
6250         (java_awt_rendering_hints_filter): Added bicubic interpolation constant.
6251         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
6252         (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_drawPixels): Added interpolation
6253         parameter.
6254         (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoSurfaceSetFilter): Removed.
6255         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
6256         (Java_gnu_java_awt_peer_gtk_CairoSurface_nativeDrawSurface): Added
6257         interpolation parameter.
6258
6259 2006-09-14  Gary Benson  <gbenson@redhat.com>
6260
6261         * java/net/InetAddress.java
6262         (internalGetCanonicalHostName): New method.
6263         (getCanonicalHostName): Use internalGetCanonicalHostName.
6264         (getByLiteral): New method.
6265         (getAllByName): Use getByLiteral.
6266         * java/net/SocketPermission.java
6267         (host): Replaced with...
6268         (hostname, address): New fields.
6269         (equals, hashcode): Reflect the above.
6270         (setHostPort): Parse host into hostname or address.
6271         (implies): Rewrite host checks.
6272
6273 2006-09-14  David Gilbert  <david.gilbert@object-refinery.com>
6274
6275         Fixes PR28699
6276         * java/awt/Menu.java
6277         (insert(MenuItem, int)): Fixed loop range,
6278         (insert(String, int)): Updated API docs.
6279
6280 2006-09-14  Christian Thalinger  <twisti@complang.tuwien.ac.at>
6281
6282         Fixes PR22800
6283         * native/fdlibm/mprec.h (Storeinc): Define correctly for LE
6284         architectures (like Arm).
6285         * native/jni/java-lang/java_lang_VMDouble.c (doubleToLongBits):
6286         Reverted SWAP_DOUBLE patch.
6287         (doubleToRawLongBits): Likewise.
6288         (longBitsToDouble): Likewise.
6289
6290 2006-09-14  David Gilbert  <david.gilbert@object-refinery.com>
6291
6292         * java/awt/Menu.java: Reformatted source file.
6293
6294 2006-09-14  Jeroen Frijters  <jeroen@frijters.net>
6295
6296         * gnu/java/rmi/server/ActivatableRef.java
6297         (readExternal, writeExternal): Partial fix for serialization format.
6298
6299 2006-09-14  Jeroen Frijters  <jeroen@frijters.net>
6300
6301         PR classpath/28984
6302         * java/io/InputStreamReader.java
6303         (read(char[],int,int)): Fixed bug.
6304
6305 2006-09-13  Francis Kung  <fkung@redhat.com>
6306
6307         * java/awt/image/BandCombineOp.java: Updated documentation.
6308         (filter(Raster, WritableRaster)): Use int arrays, and added simple cache.
6309
6310 2006-09-13  Tom Tromey  <tromey@redhat.com>
6311
6312         PR classpath/29034:
6313         * java/io/PipedReader.java (read): Return early if len==0.
6314         * java/io/PipedInputStream.java (read): Return early if len==0.
6315
6316 2006-09-13  Francis Kung  <fkung@redhat.com>
6317
6318         * java/awt/image/ConvolveOp.java (filter(Raster, WritableRaster)):
6319         Removed hard-coded max sample value.
6320         * java/awt/image/RescaleOp.java (filter(Raster, WritableRaster)): 
6321         Fixed finding of max sample value.
6322
6323 2006-09-12  David Gilbert  <david.gilbert@object-refinery.com>
6324
6325         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
6326         (setPaint): Check null argument ('p').
6327
6328 2006-09-12  Francis Kung  <fkung@redhat.com>
6329
6330         PR 27940
6331         * gnu/java/awt/java2d/TexturePaintContext.java
6332         (constructor): Fixed typo, getMinY instead of getMaxX.
6333         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
6334         (setPaint): Implemented support for custom Paint classes.
6335         (setPaintPixels): Renamed from setTexturePixels, added repeat parameter.
6336         (setTexturePixels): Renamed to setPaintPixels, added repeat parameter.
6337         * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Renamed setTexturePixels
6338         to setPaintPixels, and added repeat parameter.
6339         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c:
6340          Renamed setTexturePixels to setPaintPixels, and added repeat parameter.
6341
6342 2006-09-12  Gary Benson  <gbenson@redhat.com>
6343
6344         * java/net/NetworkInterface.java (getInetAddresses):
6345         Fix port used in security check.
6346
6347 2006-09-12  David Gilbert  <david.gilbert@object-refinery.com>
6348
6349         * javax/swing/plaf/metal/DefaultMetalTheme.java
6350         (CONTROL_TEXT_FONT): Renamed 'controlTextFont',
6351         (MENU_TEXT_FONT): Renamed 'menuTextFont',
6352         (getControlTextFont): Check 'swing.boldMetal' setting before 
6353         initialising font,
6354         (getMenuTextFont): Likewise.
6355
6356 2006-09-12  David Gilbert  <david.gilbert@object-refinery.com>
6357
6358         * javax/swing/plaf/metal/OceanTheme.java
6359         (addCustomEntriesToTable): Added 'List.focusCellHighlightBorder' entry.
6360
6361 2006-09-12  David Gilbert  <david.gilbert@object-refinery.com>
6362
6363         * javax/swing/plaf/metal/MetalIconFactory.java
6364         (InternalFrameDefaultMenuIcon.paintIcon): Use theme colors.
6365
6366 2006-09-12  David Gilbert  <david.gilbert@object-refinery.com>
6367
6368         * javax/swing/AbstractSpinnerModel.java: API doc updates.
6369
6370 2006-09-12  David Gilbert  <david.gilbert@object-refinery.com>
6371
6372         * javax/swing/AbstractButton.java
6373         (AbstractButton): Initialise textIconGap field.
6374
6375 2006-09-11  Tom Tromey  <tromey@redhat.com>
6376
6377         * tools/gnu/classpath/tools/javah/FieldHelper.java (print): Print
6378         "volatile" when needed.
6379
6380 2006-09-11  David Gilbert  <david.gilbert@object-refinery.com>
6381
6382         * java/text/AttributedCharacterIterator.java
6383         (LANGUAGE): Initialise with lower case string,
6384         (INPUT_METHOD_SEGMENT): Likewise,
6385         (READING): Likewise,
6386         * java/text/AttributedStringIterator.java
6387         (getRunLimit): Check all attributes for changes.
6388
6389 2006-09-11  David Gilbert  <david.gilbert@object-refinery.com>
6390
6391         * java/text/AttributedCharacterIterator.java: Added @since tag, 
6392         renamed some variables (no underscores) and removed some spaces to
6393         match the common style,
6394         * java/text/AttributedString.java: Likewise,
6395         * java/text/AttributedStringIterator.java: Likewise.
6396
6397 2006-09-11  Gary Benson  <gbenson@redhat.com>
6398
6399         * java/net/Inet4Address.java
6400         (FAMILY): Renamed back to AF_INET.
6401         (<init>, writeReplace): Reflect the above.
6402         * java/net/Inet6Address.java
6403         (FAMILY): Renamed back to AF_INET6.
6404         (<init>): Reflect the above.
6405
6406 2006-09-11  Cameron McCormack  <cam-gcc-bugzilla@aka.mcc.id.au>
6407
6408         Fixes PR29010
6409         * java/text/AttributedString.java
6410         (AttributedString(AttributedCharacterIterator, int, int, 
6411         AttributedCharacterIterator.Attribute[])): Fixed check for defined 
6412         attribute.
6413
6414 2006-09-11  Gary Benson  <gbenson@redhat.com>
6415
6416         * java/net/Inet4Address.java
6417         (AF_INET): Renamed to FAMILY.
6418         (<init>, writeReplace): Reflect the above.
6419         * java/net/Inet6Address.java
6420         (AF_INET6): Renamed to FAMILY.
6421         (<init>): Reflect the above.
6422
6423 2006-09-10  Ito Kazumitsu  <kaz@maczuka.gcd.org>
6424
6425         Fixes bug #28867
6426         Originally in Kaffe: 2004-04-16  Helmer Kraemer <hkraemer@freenet.de>
6427         * java/net/ServerSocket.java(implAccept): Deleted socket.implCreated.
6428         * java/net/Socket.java: Avoid creating a redundant file descriptor.
6429         (implCreated): Deleted, (getImpl): Don't check impleCreated,
6430         (bind): Call getImpl().create(true).
6431
6432 2006-09-09  Chris Burdess  <dog@gnu.org>
6433
6434         * gnu/xml/xpath/Expr.java: Ensure that node-set evaluation returns
6435           an instance of org.w3c.dom.NodeList.
6436
6437 2006-09-08  Thomas Fitzsimmons  <fitzsim@redhat.com>
6438
6439         * tools/gnu/classpath/tools/appletviewer/Main.java: Warn about
6440         missing security manager when run in standalone mode.
6441
6442 2006-09-08  Francis Kung  <fkung@redhat.com>
6443
6444         * java/awt/image/AffineTransformOp.java: Updated documentation.
6445         (createCompatibleDestRaster): Updated formatting.
6446         (filter(BufferedImage, BufferedImage)): Updated formatting.
6447         (filter(Raster, WritableRaster)): Delegated processing to native peers for
6448         if colour model is compatible.
6449         (filterBicubic): Get entire pixel at once, and use appropriate array type.
6450         (filterBilinear): Get entire pixel at once, and use appropriate array type.
6451
6452 2006-09-08  Gary Benson  <gbenson@redhat.com>
6453
6454         * java/net/InetAddress.java
6455         (family): Updated javadoc and made private.
6456         (<init>): Add an address family argument.
6457         (readObject): Don't overwrite family.
6458         * java/net/Inet4Address.java
6459         (AF_INET): New constant.
6460         (<init>): Use AF_INET as the family.
6461         (writeReplace): Likewise.
6462         * java/net/Inet6Address.java
6463         (AF_INET6): New constant.
6464         (<init>): Use AF_INET6 as the family.
6465
6466 2006-09-08  Gary Benson  <gbenson@redhat.com>
6467
6468         * java/net/InetAddress.java
6469         (getHostName): Move lookup into getCanonicalHostName.
6470         (getCanonicalHostName): Move lookup from getHostName,
6471         Perform security check on canonical name (ie after lookup).
6472
6473 2006-09-08  Gary Benson  <gbenson@redhat.com>
6474
6475         * java/net/Inet4Address.java (isMulticastAddress,
6476         isLoopbackAddress, isAnyLocalAddress, isLinkLocalAddress,
6477         isSiteLocalAddress, isMCGlobal, isMCNodeLocal, isMCLinkLocal,
6478         isMCSiteLocal, isMCOrgLocal, getHostAddress): Moved
6479         implementations from InetAddress.
6480         * java/net/InetAddress.java (isMulticastAddress,
6481         isLoopbackAddress, isAnyLocalAddress, isLinkLocalAddress,
6482         isSiteLocalAddress, isMCGlobal, isMCNodeLocal, isMCLinkLocal,
6483         isMCSiteLocal, isMCOrgLocal, getHostAddress): Replace
6484         implementations with UnsupportedOperationExceptions.
6485         
6486 2006-09-08  Gary Benson  <gbenson@redhat.com>
6487
6488         * java/net/InetAddress.java
6489         (inaddr_any): Removed.
6490         (ANY_IF, LOCALHOST): Create using getByAddress.
6491         (<init>): Updated javadoc.
6492         (getHostName): Cache hostname even if the lookup failed.
6493         (getByAddress): Create Inet4Address objects when passed
6494         IPv4-mapped IPv6 addresses.
6495         (aton): Removed.
6496         (getAllByName): Create address objects using getByAddress.
6497         Do not perform security checks unless actually required.
6498         Do not strip whitespace from the hostname.
6499         (getInaddrAny): Removed.
6500         (getLocalHost): Return the loopback address if getByName
6501         throws a SecurityException.
6502         (readResolve): Updated javadoc.
6503         * vm/reference/java/net/VMInetAddress.java (aton): Declared.
6504         * include/java_net_VMInetAddress.h
6505         (Java_java_net_VMInetAddress_aton): Likewise.
6506         * native/jni/java-net/java_net_VMInetAddress.c
6507         (Java_java_net_VMInetAddress_aton): New method.
6508         * native/jni/native-lib/cpnet.h (cpnet_aton): Declared.
6509         * native/jni/native-lib/cpnet.c (cpnet_aton): New method.
6510         * configure.ac (AC_CHECK_FUNCS): Checks for cpnet_aton.
6511         * java/net/Inet4Address.java (writeReplace): Updated javadoc.
6512         * NEWS: Added note about updated VM interface.
6513
6514 2006-09-07  David Gilbert  <david.gilbert@object-refinery.com>
6515
6516         * javax/swing/plaf/basic/BasicInternalFrameUI.java
6517         (setNorthPane): Assign component to titlePane.
6518
6519 2006-09-07  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
6520
6521         * gnu/CORBA/NamingService/NameParser.java (corbaloc):
6522         Remove unused variable alt_addr.
6523         * gnu/CORBA/NamingService/NameTransformer.java (toName):
6524         Remove unused variables.
6525
6526 2006-09-07  David Gilbert  <david.gilbert@object-refinery.com>
6527
6528         * javax/swing/plaf/metal/MetalScrollBarUI.java
6529         (installDefaults): Initialise scrollBarWidth from UI defaults here,
6530         (createDecreaseButton): Don't fetch scrollBarWidth here, 
6531         (createIncreaseButton): Likewise.
6532
6533 2006-09-07  David Gilbert  <david.gilbert@object-refinery.com>
6534
6535         * java/awt/image/MemoryImageSource.java: Added API docs.
6536
6537 2006-09-06  David Gilbert  <david.gilbert@object-refinery.com>
6538
6539         * javax/swing/plaf/basic/BasicScrollBarUI.java
6540         (installDefaults): Call configureScrollBarColors().
6541
6542 2006-09-06  Francis Kung  <fkung@redhat.com>
6543
6544         * java/awt/image/RescaleOp.java: Updated documentation and formatting.
6545         (constructor): Make copy of arrays.
6546         (createCompatibleDestImage): Changed treatment of null ColorModel.
6547         (filter(BufferedImage, BufferedImage)): Re-implemented.
6548         (filter(Raster, WritableRaster, boolean[])): New method.
6549         (filter(Raster, WritableRaster)): Re-implemented.
6550         (getOffsets): Prevent ArrayIndexOutOfBoundsException.
6551         (getPoint2D): Cleaned up formatting.
6552         (getScaleFactors): Prevent ArrayIndexOutOfBoundsException.
6553
6554 2006-09-06  David Gilbert  <david.gilbert@object-refinery.com>
6555
6556         * javax/swing/UIManager.java
6557         (getBoolean(Object)): Reimplemented,
6558         (getBoolean(Object, Locale)): Likewise,
6559         (getBorder(Object)): Likewise,
6560         (getBorder(Object, Locale)): Likewise,
6561         (getColor(Object)): Likewise,
6562         (getColor(Object, Locale)): Likewise,
6563         (getDimension(Object)): Likewise,
6564         (getDimension(Object, Locale)): Likewise,
6565         (getFont(Object)): Likewise,
6566         (getFont(Object, Locale)): Likewise,
6567         (getIcon(Object)): Likewise,
6568         (getIcon(Object, Locale)): Likewise,
6569         (getInsets(Object)): Updated API docs,
6570         (getInsets(Object, Locale)): Likewise,
6571         (getInt(Object)): Reimplemented,
6572         (getInt(Object, Locale)): Likewise,
6573         (getString(Object)): Likewise,
6574         (getString(Object, Locale)): Likewise.
6575
6576 2006-09-06  David Gilbert  <david.gilbert@object-refinery.com>
6577
6578         * javax/swing/UIManager.java
6579         (MultiplexUIDefaults.MultiplexUIDefaults()): Don't allow null fallback,
6580         (getDefaults): Initialise MultiplexUIDefaults with empty fallback.
6581
6582 2006-09-06  David Gilbert  <david.gilbert@object-refinery.com>
6583
6584         * javax/swing/plaf/metal/MetalLookAndFeel.java
6585         (initComponentDefaults): Corrected various font defaults.
6586
6587 2006-09-05  David Gilbert  <david.gilbert@object-refinery.com>
6588
6589         * java/awt/List.java: Added @since to various methods.
6590
6591 2006-09-05  Andrew John Hughes  <gnu_andrew@member.fsf.org>
6592
6593         * native/jni/native-lib/cpprocess.c:
6594         (forkAndExec(char*,char*,int,int,pid_t,char*)):
6595         Add redirection of stdout to stderr.
6596         * native/jni/native-lib/cpprocess.h:
6597         Added redirect argument.
6598         * native/jni/java-lang/java_lang_VMProcess.c
6599         (Java_java_lang_VMProcess_nativeSpawn): Readd redirect argument.
6600         * vm/reference/java/lang/VMProcess.java: Likewise.
6601         * include/java_lang_VMProcess.h: Regenerated.
6602         
6603 2006-09-05  Andreas Tobler  <a.tobler@schweiz.ch>
6604
6605         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c: Adjust
6606         __attribute to __attribute__.
6607
6608         * native/jni/java-nio/java_nio_MappedByteBufferImpl.c: Remove duplicate
6609         header include.
6610
6611 2006-09-05  David Gilbert  <david.gilbert@object-refinery.com>
6612
6613         * java/awt/List.java: Source code reformatted.
6614
6615 2006-09-05  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
6616
6617         * gnu/CORBA/CollocatedOrbs.java,
6618         gnu/CORBA/SafeForDirectCalls.java: New files.
6619         * gnu/CORBA/NamingService/Binding_iterator_impl.java:
6620         Implement gnu.CORBA.SafeForDirectCalls.
6621         * gnu/CORBA/NamingService/Ext.java: Likewise.
6622         * gnu/CORBA/NamingService/TransientContext.java: Likewise.
6623         * gnu/CORBA/OrbFunctional.java (createIor):Cache the address
6624         of the local host. (ior_to_object): Return the local object
6625         where possible. (run): Register/unregister this ORB.
6626         * gnu/CORBA/Poa/LocalRequest.java (v_invoke): Call gnuPOA.checkDiscarding.      
6627         * gnu/CORBA/Poa/gnuPOA.java (checkDiscarding): Made package private.
6628         * gnu/CORBA/Poa/gnuServantObject.java (noRetain): New field.
6629         (constructors): Initialize noRetain. (_invoke): Drop servant
6630         if noRetain is true. (getHandler): Always seach for the new servant
6631         if noRetain is true.
6632         * gnu/CORBA/SimpleDelegate.java (create_request): Implemented.
6633         * NEWS: Added note about the new feature.
6634
6635 2006-09-05  David Gilbert  <david.gilbert@object-refinery.com>
6636
6637         * java/awt/Choice.java
6638         (addItem): Fixed API doc glitch.
6639
6640 2006-09-05  Francis Kung  <fkung@redhat.com>
6641
6642         * java/awt/image/LookupOp.java: Updated documentation & formatting.
6643         (createCompatibleDestImage): Re-implemented.
6644         (filter(BufferedImage, BufferedImage)): Added check for src/dest image
6645         compatibility, and use ColorConvertOp for color conversion if needed.
6646         (filter(Raster, WritableRaster)): Made exceptions more descriptive.
6647
6648 2006-09-05  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
6649
6650         gnu/CORBA/CDR/Vio.java,
6651         org/omg/CORBA_2_3/ORB.java,
6652         org/omg/CORBA_2_3/portable/InputStream.java,
6653         org/omg/CORBA_2_3/portable/OutputStream.java,
6654         org/omg/CosNaming/BindingIteratorHelper.java,
6655         org/omg/CosNaming/BindingTypeHelper.java,
6656         org/omg/CosNaming/NameComponentHelper.java,
6657         org/omg/CosNaming/NameHelper.java,
6658         org/omg/CosNaming/NamingContextExtHelper.java,
6659         org/omg/CosNaming/NamingContextExtPackage/AddressHelper.java,
6660         org/omg/CosNaming/NamingContextExtPackage/InvalidAddressHelper.java,
6661         org/omg/CosNaming/NamingContextExtPackage/InvalidAddressHolder.java,
6662         org/omg/CosNaming/NamingContextExtPackage/StringNameHelper.java,
6663         org/omg/CosNaming/NamingContextExtPackage/URLStringHelper.java,
6664         org/omg/CosNaming/NamingContextHelper.java,
6665         org/omg/CosNaming/NamingContextPackage/AlreadyBoundHelper.java,
6666         org/omg/CosNaming/NamingContextPackage/InvalidName.java,
6667         org/omg/CosNaming/NamingContextPackage/InvalidNameHelper.java,
6668         org/omg/CosNaming/NamingContextPackage/NotEmptyHelper.java,
6669         org/omg/CosNaming/NamingContextPackage/NotFoundReasonHelper.java,
6670         org/omg/CosNaming/NamingContextPackage/NotFoundReasonHolder.java,
6671         org/omg/DynamicAny/AnySeqHelper.java,
6672         org/omg/DynamicAny/DynAnyFactoryHelper.java,
6673         org/omg/DynamicAny/DynAnyFactoryOperations.java,
6674         org/omg/DynamicAny/DynAnyFactoryPackage/InconsistentTypeCodeHelper.java,
6675         org/omg/DynamicAny/DynAnyHelper.java,
6676         org/omg/DynamicAny/DynAnyOperations.java,
6677         org/omg/DynamicAny/DynAnyPackage/InvalidValueHelper.java,
6678         org/omg/DynamicAny/DynAnyPackage/TypeMismatchHelper.java,
6679         org/omg/DynamicAny/DynAnySeqHelper.java,
6680         org/omg/DynamicAny/DynArrayHelper.java,
6681         org/omg/DynamicAny/DynEnumHelper.java,
6682         org/omg/DynamicAny/DynFixedHelper.java,
6683         org/omg/DynamicAny/DynSequenceHelper.java,
6684         org/omg/DynamicAny/DynStructHelper.java,
6685         org/omg/DynamicAny/DynStructOperations.java,
6686         org/omg/DynamicAny/DynUnionHelper.java,
6687         org/omg/DynamicAny/DynValueHelper.java,
6688         org/omg/DynamicAny/NameDynAnyPairHelper.java,
6689         org/omg/DynamicAny/NameDynAnyPairSeqHelper.java,
6690         org/omg/IOP/CodecFactoryHelper.java,
6691         org/omg/IOP/CodecFactoryPackage/UnknownEncodingHelper.java,
6692         org/omg/IOP/CodecOperations.java,
6693         org/omg/IOP/CodecPackage/FormatMismatchHelper.java,
6694         org/omg/IOP/CodecPackage/InvalidTypeForEncodingHelper.java,
6695         org/omg/IOP/CodecPackage/TypeMismatchHelper.java,
6696         org/omg/IOP/ComponentIdHelper.java,
6697         org/omg/IOP/ExceptionDetailMessage.java,
6698         org/omg/IOP/MultipleComponentProfileHelper.java,
6699         org/omg/IOP/ProfileIdHelper.java,
6700         org/omg/IOP/ServiceContextListHelper.java,
6701         org/omg/IOP/ServiceIdHelper.java,
6702         org/omg/IOP/TAG_CODE_SETS.java,
6703         org/omg/PortableInterceptor/ClientRequestInfoOperations.java,
6704         org/omg/PortableInterceptor/ClientRequestInterceptorOperations.java,
6705         org/omg/PortableInterceptor/CurrentHelper.java,
6706         org/omg/PortableInterceptor/IORInfo.java,
6707         org/omg/PortableInterceptor/IORInterceptor_3_0Helper.java,
6708         org/omg/PortableInterceptor/ORBIdHelper.java,
6709         org/omg/PortableInterceptor/ORBInitInfoOperations.java,
6710         org/omg/PortableInterceptor/ORBInitInfoPackage/InvalidNameHelper.java,
6711         org/omg/PortableInterceptor/ORBInitializerOperations.java,
6712         org/omg/PortableInterceptor/ObjectReferenceFactoryHelper.java,
6713         org/omg/PortableInterceptor/ObjectReferenceTemplateHelper.java,
6714         org/omg/PortableInterceptor/RequestInfoOperations.java,
6715         org/omg/PortableInterceptor/ServerIdHelper.java,
6716         org/omg/PortableInterceptor/ServerRequestInfoOperations.java,
6717         org/omg/PortableInterceptor/ServerRequestInterceptorOperations.java,
6718         org/omg/PortableServer/AdapterActivatorOperations.java,
6719         org/omg/PortableServer/CurrentHelper.java,
6720         org/omg/PortableServer/CurrentPackage/NoContextHelper.java,
6721         org/omg/PortableServer/ForwardRequestHelper.java,
6722         org/omg/PortableServer/IdAssignmentPolicyValue.java,
6723         org/omg/PortableServer/IdUniquenessPolicyValue.java,
6724         org/omg/PortableServer/ImplicitActivationPolicyValue.java,
6725         org/omg/PortableServer/LifespanPolicyValue.java,
6726         org/omg/PortableServer/POA.java,
6727         org/omg/PortableServer/POAHelper.java,
6728         org/omg/PortableServer/POAManagerPackage/AdapterInactiveHelper.java,
6729         org/omg/PortableServer/POAManagerPackage/State.java,
6730         org/omg/PortableServer/POAOperations.java,
6731         org/omg/PortableServer/POAPackage/AdapterAlreadyExistsHelper.java,
6732         org/omg/PortableServer/POAPackage/AdapterNonExistentHelper.java,
6733         org/omg/PortableServer/POAPackage/InvalidPolicy.java,
6734         org/omg/PortableServer/POAPackage/NoServantHelper.java,
6735         org/omg/PortableServer/POAPackage/ObjectAlreadyActiveHelper.java,
6736         org/omg/PortableServer/POAPackage/ObjectNotActiveHelper.java,
6737         org/omg/PortableServer/POAPackage/ServantAlreadyActiveHelper.java,
6738         org/omg/PortableServer/POAPackage/ServantNotActiveHelper.java,
6739         org/omg/PortableServer/POAPackage/WrongAdapterHelper.java,
6740         org/omg/PortableServer/POAPackage/WrongPolicyHelper.java,
6741         org/omg/PortableServer/RequestProcessingPolicyValue.java,
6742         org/omg/PortableServer/ServantActivatorHelper.java,
6743         org/omg/PortableServer/ServantLocatorHelper.java,
6744         org/omg/PortableServer/ServantLocatorOperations.java,
6745         org/omg/PortableServer/ServantRetentionPolicyValue.java,
6746         org/omg/PortableServer/ThreadPolicyValue.java,
6747         org/omg/PortableServer/_ServantActivatorStub.java,
6748         org/omg/PortableServer/_ServantLocatorStub.java,
6749         org/omg/PortableServer/portable/Delegate.java: Documentation fixes.
6750
6751 2006-09-05  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
6752
6753         * javax/rmi/CORBA/Tie.java,
6754         org/omg/CORBA/AnyHolder.java,
6755         org/omg/CORBA/AnySeqHelper.java,
6756         org/omg/CORBA/AnySeqHolder.java,
6757         org/omg/CORBA/BooleanHolder.java,
6758         org/omg/CORBA/BooleanSeqHelper.java,
6759         org/omg/CORBA/BooleanSeqHolder.java,
6760         org/omg/CORBA/ByteHolder.java,
6761         org/omg/CORBA/CharHolder.java,
6762         org/omg/CORBA/CharSeqHelper.java,
6763         org/omg/CORBA/CharSeqHolder.java,
6764         org/omg/CORBA/Context.java,
6765         org/omg/CORBA/CurrentHelper.java,
6766         org/omg/CORBA/CustomValue.java,
6767         org/omg/CORBA/DataOutputStream.java,
6768         org/omg/CORBA/DefinitionKindHelper.java,
6769         org/omg/CORBA/DomainManagerOperations.java,
6770         org/omg/CORBA/DoubleHolder.java,
6771         org/omg/CORBA/DoubleSeqHelper.java,
6772         org/omg/CORBA/DoubleSeqHolder.java,
6773         org/omg/CORBA/DynAny.java,
6774         org/omg/CORBA/DynSequence.java,
6775         org/omg/CORBA/DynValue.java,
6776         org/omg/CORBA/DynamicImplementation.java,
6777         org/omg/CORBA/FieldNameHelper.java,
6778         org/omg/CORBA/FixedHolder.java,
6779         org/omg/CORBA/FloatHolder.java,
6780         org/omg/CORBA/FloatSeqHelper.java,
6781         org/omg/CORBA/FloatSeqHolder.java,
6782         org/omg/CORBA/IdentifierHelper.java,
6783         org/omg/CORBA/IntHolder.java,
6784         org/omg/CORBA/LocalObject.java,
6785         org/omg/CORBA/LongHolder.java,
6786         org/omg/CORBA/LongLongSeqHelper.java,
6787         org/omg/CORBA/LongLongSeqHolder.java,
6788         org/omg/CORBA/LongSeqHelper.java,
6789         org/omg/CORBA/LongSeqHolder.java,
6790         org/omg/CORBA/ORB.java,
6791         org/omg/CORBA/ObjectHelper.java,
6792         org/omg/CORBA/ObjectHolder.java,
6793         org/omg/CORBA/OctetSeqHelper.java,
6794         org/omg/CORBA/OctetSeqHolder.java,
6795         org/omg/CORBA/PolicyErrorCodeHelper.java,
6796         org/omg/CORBA/PolicyErrorHelper.java,
6797         org/omg/CORBA/PolicyHelper.java,
6798         org/omg/CORBA/PolicyListHelper.java,
6799         org/omg/CORBA/PolicyTypeHelper.java,
6800         org/omg/CORBA/PrincipalHolder.java,
6801         org/omg/CORBA/RepositoryIdHelper.java,
6802         org/omg/CORBA/Request.java,
6803         org/omg/CORBA/ShortHolder.java,
6804         org/omg/CORBA/ShortSeqHelper.java,
6805         org/omg/CORBA/ShortSeqHolder.java,
6806         org/omg/CORBA/StringSeqHelper.java,
6807         org/omg/CORBA/StringSeqHolder.java,
6808         org/omg/CORBA/ULongLongSeqHelper.java,
6809         org/omg/CORBA/ULongLongSeqHolder.java,
6810         org/omg/CORBA/ULongSeqHelper.java,
6811         org/omg/CORBA/ULongSeqHolder.java,
6812         org/omg/CORBA/UShortSeqHelper.java,
6813         org/omg/CORBA/UShortSeqHolder.java,
6814         org/omg/CORBA/ValueBaseHelper.java,
6815         org/omg/CORBA/ValueBaseHolder.java,
6816         org/omg/CORBA/VersionSpecHelper.java,
6817         org/omg/CORBA/WCharSeqHelper.java,
6818         org/omg/CORBA/WCharSeqHolder.java,
6819         org/omg/CORBA/WStringSeqHelper.java,
6820         org/omg/CORBA/WStringSeqHolder.java,
6821         org/omg/CORBA/WrongTransactionHelper.java,
6822         org/omg/CORBA/_IDLTypeStub.java,
6823         org/omg/CORBA/_PolicyStub.java,
6824         org/omg/CORBA/portable/BoxedValueHelper.java,
6825         org/omg/CORBA/portable/Delegate.java,
6826         org/omg/CORBA/portable/ObjectImpl.java,
6827         org/omg/CORBA/portable/ServantObject.java,
6828         org/omg/CORBA/portable/StreamableValue.java,
6829         org/omg/CosNaming/BindingType.java,
6830         org/omg/CosNaming/IstringHelper.java,
6831         org/omg/DynamicAny/FieldNameHelper.java,
6832         org/omg/PortableServer/Servant.java: Documentation fixes.
6833
6834 2006-09-04  David Gilbert  <david.gilbert@object-refinery.com>
6835
6836         * java/awt/Rectangle.java
6837         (setRect(double, double, double, double)): Modified rounding of input
6838         values.
6839
6840 2006-09-03  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
6841
6842         * gnu/javax/swing/text/html/parser/HTML_401F.java (defineElements):
6843         Disallow H1 - H6 in the paragraphs.
6844         * gnu/javax/swing/text/html/parser/support/textPreProcessor.java
6845         (preprocess): Leave at most one leading and/or trailing space.
6846         * javax/swing/text/html/HTMLDocument.java (HTMLReader.handleText):
6847         Do not add any text after closing the HTML tag.
6848
6849 2006-09-02  Roman Kennke  <kennke@aicas.com>
6850
6851         PR 28928
6852         * javax/swing/plaf/basic/BasicTextUI.java
6853         (RootView.getPreferredSpan): Default to 10 when there is no
6854         real view.
6855         (RootView.getMinimumSpan): Forward to view and default to 10
6856         when there is no real view.
6857         (RootView.getMaximumSpan): Return Integer.MAX_VALUE.
6858         (getMaximumSize): Check for overflow.
6859         * javax/swing/text/FieldView.java
6860         (getResizeWeight): Removed unneeded assignment.
6861
6862 2006-09-01  Francis Kung  <fkung@redhat.com>
6863         * java/awt/image/ColorConvertOp.java
6864         (copyImage): Updated javadoc and comments.
6865         (copyRaster): Add javadoc.
6866         (createCompatibleColorModel): Add javadocs and comments.
6867         (createCompatibleDestImage): Use correct transfer type.
6868         (createCompatibleDestRaster): Add new parameter for transfer type.
6869         (filter): Use correct transfer type.
6870         * java/awt/image/ConvolveOp.java: Updated javadocs.
6871         (createCompatibleDestImage): Set new image properties correctly.
6872         (filter(BufferedImage, BufferedImage): Correct handling of premultiplication.
6873         (filter(WritableRaster, Raster): Clip sample values to [0-255].
6874
6875 2006-09-01  Robert Schuster  <robertschuster@fsfe.org>
6876
6877         * javax/swing/table/DefaultTableModel.java:
6878         (checkSize): Added null check for dataVector.
6879
6880 2006-09-01  Robert Schuster  <robertschuster@fsfe.org>
6881
6882         * javax/swing/plaf/basic/BasicSplitPaneUI.java:
6883         (BasicHorizontalLayout.getAlignmentX): Return fixed value.
6884         (BasicHorizontalLayout.getAlignmentY): Return fixed value.
6885
6886 2006-09-01  Robert Schuster  <robertschuster@fsfe.org>
6887
6888         * javax/swing/plaf/metal/MetalCheckBoxIcon.java:
6889         (paintIcon): Removed unused import statements, lowered cast requirement
6890         from JCheckBox to AbstractButton.
6891
6892 2006-09-01  Robert Schuster  <robertschuster@fsfe.org>
6893
6894         * javax/swing/plaf/basic/BasicLookAndFeel.java:
6895         (initComponentDefaults): Added, changed and removed some
6896         tabbed pane properties.
6897
6898 2006-09-01  Robert Schuster  <robertschuster@fsfe.org>
6899
6900         * examples/gnu/classpath/examples/swing/TabbedPaneDemo.java:
6901         (createContent): Changed menu item name and tab naming.
6902
6903 2006-09-01  Roman Kennke  <kennke@aicas.com>
6904
6905         PR 28922
6906         * javax/swing/plaf/basic/BasicHTML.java
6907         (HTMLRootView.getAttributes): Overridden to return null.
6908         (HTMLRootView.getElement): Overridden to return the view's
6909         element.
6910
6911 2006-09-01  Robert Schuster  <robertschuster@fsfe.org>
6912
6913         * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
6914         (calculateTabAreaHeight): Use getTabRunOverlay method instead
6915         of accessing variable directly.
6916         (calculateTabAreaWidth): Dito.
6917
6918 2006-08-31  Keith Seitz  <keiths@redhat.com>
6919
6920         * include/jvmti.h: Include jvmti_md.h.
6921
6922 2006-08-31  Keith Seitz  <keiths@redhat.com>
6923
6924         From Martin Platter  <motse@complang.tuwien.ac.at>:
6925         * Makefile.am (include_HEADERS): Include jvmti.h.
6926         * include/jvmti.h (jvmtiEnv) [!__cplusplus]: Add missing '*'.
6927         (jvmtiError): Remove superfluous comma after last entry.
6928         (jvmtiEvent): It's "BREAKPOINT" not "BERAKPOINT".
6929         (_Jv_jvmtiEnv.StopThread): Add missing exception parameter.
6930         (_Jv_jvmtiEnv.RawMonitorWait): Add missing millis parameter.
6931         (_Jv_jvmtiEnv.GetSourceFileName): source_name_ptr is pointer to
6932         character pointer.
6933         (_Jv_JVMTIEnv::StopThread): Add missing exception parameter.
6934         (_Jv_JVMTIEnv::RawMonitorWait): Add missing millis parameter.
6935         (_Jv_JVMTIEnv::GetSourceFileName): source_name_ptr is pointer to
6936         character pointer.
6937
6938 2006-08-31  Roman Kennke  <kennke@aicas.com>
6939
6940         * javax/swing/text/BoxView.java
6941         (getWidth): Return the width with insets added, not with one
6942         added and one removed.
6943         (getHeight): Return the height with insets added, not with one
6944         added and one removed.
6945         * javax/swing/text/GlyphView.java
6946         (DefaultGlyphPainter.viewToModel): Need to add the start offset.
6947         * javax/swing/text/ParagraphView.java
6948         (Row.getAlignment): Adjust alignment with respect to
6949         the justification attribute.
6950         (Row.getLeftInset): Overridden to adjust for firstLineIndent
6951         attribute.
6952         * javax/swing/text/html/CSS.java
6953         (getValue): Convert length values.
6954         * javax/swing/text/html/Paragraph.java
6955         (painter): New field.
6956         (paint): Implemented to delegate painting to the BoxPainter too.
6957         (setPropertiesFromAttributes): Implemented to load attributes
6958         from CSS.
6959         * javax/swing/text/html/StyleSheet.java
6960         (BoxPainter.as): Removed field.
6961         (BoxPainter.leftInset): New field.
6962         (BoxPainter.bottomInset): New field.
6963         (BoxPainter.rightInset): New field.
6964         (BoxPainter.topInset): New field.
6965         (BoxPainter.BoxPainter): Implemented to load the insets from
6966         CSS.
6967         (BoxPainter.getInset): Implemented.
6968         * gnu/javax/swing/text/html/Length.java: New class.
6969         Converts CSS length units to usable values.
6970
6971 2006-08-31  Andreas Tobler  <a.tobler@schweiz.ch>
6972
6973         * configure.ac: Add check for gethostbyname_r.
6974         Add check for MSG_NOSIGNAL and SO_NOSIGPIPE.
6975         * native/jni/native-lib/cpnet.c (SOCKET_NOSIGNAL): Define
6976         SOCKET_NOSIGNAL according to the configure check.
6977         (cpnet_send): Use SOCKET_NOSIGNAL.
6978         (cpnet_sendTo): Likewise.
6979         (cpnet_getHostByName): Use gethostbyname in case gethostbyname_r is not
6980         defined.
6981         * native/jni/native-lib/cpio.c: Define O_SYNC and O_DSYNC in case they
6982         are not available.
6983
6984         * lib/Makefile.am (cssfiles): Add new rule to install css files.
6985
6986 2006-08-31  Roman Kennke  <kennke@aicas.com>
6987
6988         * javax/swing/JEditorPane.java
6989         (getPreferredSize): Replace preferred size with minimum
6990         UI size only if the scrollable does _not_ track the viewport
6991         size and only if the viewport's size is smaller than the
6992         scrollable's size.
6993         (getScrollableTracksViewportWidth): Avoid unnecessary multiple
6994         method calls.
6995         * javax/swing/plaf/basic/BasicTextUI.java
6996         (getPreferredSize): Read-lock the document to avoid
6997         concurrency problems.
6998         (getMaximumSize): Return maximum size of the view.
6999         Read-lock the document to avoid concurrency problems.
7000         (getMinimumSize): Return minimum size of the view.
7001         Read-lock the document to avoid concurrency problems.
7002
7003 2006-08-31  Gary Benson  <gbenson@redhat.com>
7004
7005         * java/net/SocketPermission.java
7006         (maybeBracketIPv6Address): Renamed to processHostport.
7007         (processHostport): Also translate "" to "localhost".
7008         (setHostPort): Remove special cases for empty hostport and for
7009         extra colons in hostport (processHostport handles these now).
7010
7011 2006-08-31  Mark Wielaard  <mark@klomp.org>
7012
7013         * javax/swing/text/ZoneView.java (Zone): Make static class.
7014         Constructor takes axis parameter.
7015         (createZone): Create Zone with getAxis() as major axis.
7016
7017 2006-08-30  Roman Kennke  <kennke@aicas.com>
7018
7019         * javax/swing/text/ZoneView.java
7020         (loadChildren): Implemented.
7021         (getViewIndexAtPosition): Implemented.
7022         (checkZoneAt): New helper method.
7023         (splitZone): New helper method.
7024         (getPreferredZoneEnd): New helper method.
7025
7026 2006-08-30  Roman Kennke  <kennke@aicas.com>
7027
7028         * javax/swing/text/ZoneView.java: New class.
7029
7030 2006-08-30  Roman Kennke  <kennke@aicas.com>
7031
7032         * javax/swing/JMenu.java
7033         (getMenu): Removed unneeded cast.
7034         (getPopupMenuOrigin): Made positioning algorithm better respect
7035         the screen bounds.
7036         (setMenuLocation): Also set the location on the popup if it's
7037         not null.
7038         (setModel): Use menuChangeListener so that we don't override
7039         the changeListener field from AbstractButton.
7040         (setPopupMenuVisible): Use custom location if set, otherwise
7041         fallback to getPopupMenuOrigin().
7042
7043 2006-08-29  Roman Kennke  <kennke@aicas.com>
7044
7045         * javax/swing/text/InternationalFormatter.java
7046         (stringToValue): Fixed bounds check.
7047         * javax/swing/text/MaskFormatter.java
7048         (MaskFormatter): Don't explicitly set allosInvalid property.
7049         (convertStringToValue): New helper method.
7050         (convertValueToString): New helper method.
7051         (convertValue): Removed. Replaced by the 2 convert* methods
7052         above.
7053         (getPadCharAt): Removed.
7054         (isCharValid): Removed.
7055         (pad): Removed.
7056         (stringToValue): Fixed stringToValue conversion.
7057         (stripLiterals): Removed.
7058         (valueToString): Fixed valueToString conversion.
7059         * javax/swing/text/DefaultFormatter.java
7060         (DefaultFormatter): Default to commitsOnValidEdit = false.
7061
7062 2006-08-29  Roman Kennke  <kennke@aicas.com>
7063
7064         * javax/swing/text/TextAction.java
7065         (getTextComponent): Check event for null and return null in
7066         this case.
7067         (augmentList): Augment Actions based on their names.
7068         * javax/swing/text/DefaultEditorKit.java
7069         (BeginAction.actionPerformed): Check target for null.
7070         (BeginLineAction.actionPerformed): Check target for null.
7071         (CopyAction.actionPerformed): Check target for null.
7072         (CutAction.actionPerformed): Check target for null.
7073         (EndAction.actionPerformed): Check target for null.
7074         (EndLineAction.actionPerformed): Check target for null.
7075         (InsertBreakAction.actionPerformed): Check target for null.
7076         (InsertTabAction.actionPerformed): Check target for null.
7077         (PasteAction.actionPerformed): Check target for null.
7078         (SelectAllAction.actionPerformed): Check target for null.
7079         (SelectionBeginAction.actionPerformed): Check target for null.
7080         (SelectionBeginLineAction.actionPerformed): Check target for null.
7081         (SelectionEndAction.actionPerformed): Check target for null.
7082         (SelectionEndLineAction.actionPerformed): Check target for null.
7083         (SelectLineAction.actionPerformed): Check target for null.
7084         (SelectWordAction.actionPerformed): Check target for null.
7085
7086 2006-08-29  Roman Kennke  <kennke@aicas.com>
7087
7088         * javax/swing/plaf/basic/BasicTextUI.java
7089         (FocusHandler): New class. This is moved from the anonymous
7090         inner focus listener class to a static member class, and
7091         is now shared between components.
7092         (DocumentHandler): This class is combined with the PropertyHandler
7093         into the Handler class.
7094         (PropertyChangeHandler): This class is combined with the
7095         DocumentHandler into the Handler class.
7096         (Handler): New class. This combines the Property and Document
7097         handler into one class.
7098         (RootView.changedUpdate): Only forward if real view != null.
7099         (RootView.insertUpdate): Only forward if real view != null.
7100         (RootView.removeUpdate): Only forward if real view != null.
7101         (documentHandler): Removed field and replaced by handler.
7102         (focuslistener): Made field static and renamed to focusListener.
7103         (handler): New field.
7104         (kit): Lazily initialize field.
7105         (rootView): Lazily initialize field.
7106         (updateHandler): Removed and replaced by handler.
7107         (getEditorKit): Lazily instantiate field.
7108         (installDefaults): Don't set margin twice. Install correct
7109         property for disabledTextColor. Moved caret and highlighter
7110         initialization to installFixedDefaults.
7111         (installFixedDefaults): New method. Installs defaults that
7112         can't be overridden by subclasses.
7113         (installListeners): Only install focus handler when new
7114         system property gnu.swing.text.no-xlike-clipboard is not set.
7115         Lazily initialize focus handler.
7116         (installUI): Lazily initialize rootView. Install handler
7117         both for property and document changes.
7118         (uninstallDefaults): Uninstall the UI defaults.
7119         (uninstallFixedDefaults): New method. Uninstalls the fixed
7120         defaults.
7121         (installListeners): Only uninstall focus handler when not null.
7122         (uninstallUI): Uninstall property and document listener here.
7123
7124 2006-08-29  Gary Benson  <gbenson@redhat.com>
7125
7126         * java/net/SocketPermission.java
7127         (maybeBracketIPv6Address): New method.
7128         (<init>): Pass the hostport argument through the above.
7129
7130         * java/net/NetworkInterface.java (getInetAddresses):
7131         Don't bracket IPv6 addresses.
7132
7133 2006-08-28  Roman Kennke  <kennke@aicas.com>
7134
7135         * javax/swing/text/BoxView.java
7136         (calculateMinorAxisRequirements): Initialize max size
7137         with Integer.MAX_VALUE.
7138         * javax/swing/text/Utilities.java
7139         (getBreakLocation): For simple chars, scan the text directly.
7140         * javax/swing/text/WrappedPlainView.java
7141         (tabBase): New field.
7142         (tabSize): New field.
7143         (calculateBreakPosition): Use Utilities. Fixed for correct
7144         break calculation.
7145         (changedUpdate): Update children directly.
7146         (insertUpdate): Update children directly. Notify children.
7147         (removeUpdate): Update children directly. Notify children.
7148         (updateChildren): New helper method.
7149         (nextTabStop): Fixed to return correct results.
7150         (paint): Update tabBase.
7151         (updateMetrics): Update tab size.
7152
7153 2006-08-28  Roman Kennke  <kennke@aicas.com>
7154
7155         * javax/swing/text/Position.java
7156         (Bias.Forward): Initialize with 'Forward' rather then 'forward'.
7157         (Bias.Backward): Initialize with 'Backward' rather then 'backward'.
7158
7159 2006-08-28  Roman Kennke  <kennke@aicas.com>
7160
7161         * javax/swing/text/View.java
7162         (height): Removed unneeded field.
7163         (width): Removed unneeded field.
7164         (getBreakWeight): Return GoodBreakWeight when pos is after
7165         the view's span.
7166         (getToolTipText): Check view index more carefully. Avoid
7167         Rectangle creation.
7168         (insertUpdate): Only execute method body if view count > 0.
7169         When updateChildren returns false, clear the ec variable.
7170         (updateChildren): Added null checks.
7171         (viewToModel): Initialize bias array correctly.
7172         * javax/swing/text/CompositeView.java
7173         (children): Made private.
7174         (numChildren): New field.
7175         (loadChildren): Check factory for null. Don't load children
7176         when factory is null.
7177         (replace): Removed null check. Nullify removed children. Made
7178         growing the array more efficient.
7179         (getViewCount): Return numChildren rather then the real array
7180         size.
7181         * javax/swing/text/BoxView.java
7182         (getViewAtPoint): Fixed algorithm for finding the view.
7183         (replace): Made array growing more efficient.
7184         (replaceLayoutArray): New helper method for growing/patching
7185         the layout arrays.
7186         (viewToModel): Make sure we have a valid layout.
7187
7188 2006-08-28  Tania Bento  <tbento@redhat.com>
7189
7190         * java/awt/MenuShortcut.java
7191         (MenuShortcut (int, boolean)): Set keyName.
7192         (toString): Modified string output.
7193         (setKeyName): New private method.
7194
7195 2006-08-28  Roman Kennke  <kennke@aicas.com>
7196
7197         * javax/swing/text/GapContent.java
7198         (Mark.getOffset): Made assert less strict, include boundary.
7199         (search): Made package private to avoid accessor method.
7200
7201 2006-08-28  Roman Kennke  <kennke@aicas.com>
7202
7203         * javax/swing/text/StringContent.java
7204         (InsertUndo.positions): New field.
7205         (InsertUndo.redo): Update the undo positions.
7206         (InsertUndo.undo): Fetch the undo positions.
7207         (Mark): New class. Layer of indirection to allow Positions
7208         to be GC'ed while we still hold references to the Mark.
7209         (RemoveUndo.len): New field.
7210         (RemoveUndo.positions): New field.
7211         (RemoveUndo.RemoveUndo): Fetch undo positions.
7212         (RemoveUndo.redo): Re-fetch positions and string.
7213         (RemoveUndo.undo): Update undo positions.
7214         (StickyPosition.mark): New field.
7215         (StickyPosition.offset): Removed field.
7216         (StickyPosition.StickyPosition): Create new Mark. Register
7217         Position in queueOfDeath. Update reference count on mark.
7218         (StickyPosition.getOffset): Return offset stored in mark.
7219         (StickyPosition.setOffset): Removed unneeded method.
7220         (UndoPosRef): New class. Handles undo/redo on positions/marks.
7221         (EMPTY): New field.
7222         (marks): New field. Stores the marks.
7223         (positions): Removed field.
7224         (queueOfDeath): New field. Used for GCing the positions.
7225         (StringContent): Initialize queueOfDeath.
7226         (createPosition): Lazily create marks vector.
7227         (garbageCollect): New helper method. Collects positions
7228         to be GCed and updates their marks.
7229         (getChars): Fixed bounds check.
7230         (getPositionsInRange): When v == null, create new Vector,
7231         otherwise use v. Store UndoPosRefs in vector.
7232         (getString): Added comment about bug in RI.
7233         (insertString): Use new helper method for replacing the array.
7234         Correctly update positions.
7235         (length): Removed this qualifier.
7236         (remove): Use new helper method for replacing the array.
7237         Correctly update positions.
7238         (replace): New helper method for growing or patching the array.
7239         (updateUndoPositions): Implemented. Updates the positions
7240         for undo/redo operations.
7241
7242 2006-08-27  Roman Kennke  <kennke@aicas.com>
7243
7244         * javax/swing/text/StyleContext.java
7245         (NamedStyle.attributes): Made field transient.
7246         (NamedStyle.changeEvent): Made field transient.
7247         (NamedStyle.name): Removed field. The name is stored as
7248         attribute.
7249         (NamedStyle.NamedStyle(String,Style)): Call setName() for
7250         storing the name and check for null name and resolveParent.
7251         Don't initialize changeEvent.
7252         (NamedStyle.copyAttributes): Return a new NamedStyle,
7253         rather than a plain copy of the attributes field.
7254         (NamedStyle.fireStateChange): Lazily create changeEvent
7255         field.
7256         (NamedStyle.getName): Fetch name from attributes.
7257         (NamedStyle.setName): Store name from attributes.
7258         (NamedStyle.readObject): Implemented for correct
7259         deserialization.
7260         (NamedStyle.writeObject): Implemented for correct
7261         serialization.
7262         (NamedStyle.setResolveParent): When new parent is null,
7263         remove resolveParent attribute. Use addAttribute() method
7264         rather than StyleContext addAttribute().
7265         (NamedStyle.toString): Fixed to produce output equal to the
7266         RI.
7267         (SmallAttributeSet.resolveParent): New field.
7268         (SmallAttributeSet.SmallAttributeSet(AttributeSet)): Update
7269         the resolveParent field correctly.
7270         (SmallAttributeSet.SmallAttributeSet(Object[])): Don't copy
7271         array but store it directly. Update
7272         the resolveParent field correctly.
7273         (SmallAttributeSet.clone): Return this as the object is
7274         immutable.
7275         (SmallAttributeSet.containsAttributes): Make sure that keys
7276         and values are the same.
7277         (SmallAttributeSet.containsAttribute):  Make sure that keys
7278         and values are the same.
7279         (SmallAttributeSet.copyAttributes): Return this as the object is
7280         immutable.
7281         (SmallAttributeSet.equals): Fixed comparison. Two AttributeSet
7282         are equal if they have the same number of attributes and
7283         one contains the other.
7284         (SmallAttributeSet.getAttribute): Improved lookup of
7285         resolveParent.
7286         (SmallAttributeSet.getResolveParent): Improved lookup of
7287         resolveParent.
7288         (SmallAttributeSet.isEqual): When comparing object is a
7289         SmallAttributeSet, consider them equal only if they are the
7290         same object.
7291         (SmallAttributeSet.toString): Fixed to produce output equal to the
7292         RI.
7293         (attributeSetPool): New field.
7294         (defaultStyleContext): Initialize lazily.
7295         (defaultStyle): Removed field. This is stored in the style context
7296         as attribute.
7297         (listenerList): Removed field. The NamedStyle stores the
7298         listeners.
7299         (readAttributeKeys): New static field. Used for looking up
7300         the serialization mappings when reading.
7301         (search): New field. Used as search key.
7302         (staticAttributeKeys): Replaced by read/writeAttributeKeys.
7303         (styles): New field. Stores the styles and listeners.
7304         (styleTable): Removed field. Replaced by styles field.
7305         (writeAttributeKeys): New static field. Used for looking up
7306         the serialization mappings when writing.
7307         (static_initializer): Register mappings for all keys in
7308         StyleConstants.
7309         (StyleContext): Initialize styles correctly.
7310         (addAttributes): Fixed caching of immutable attributes.
7311         (addAttribute): Fixed caching of immutable attributes.
7312         (removeAttributes): Fixed caching of immutable attributes.
7313         (removeAttribute): Fixed caching of immutable attributes.
7314         (addChangeListener): Add listener to styles field.
7315         (removeChangeListener): Remove listener from styles field.
7316         (getChangeListeners): Fetch listeners from styles field.
7317         (addStyle): Add style to styles field.
7318         (cleanupPool): New method.
7319         (getDefaultStyleContext): Lazily create context.
7320         (getEmptySet): Simply return SimpleAttributeSet.EMPTY.
7321         (getMutableAttributeSet): New helper method. Used for
7322         caching.
7323         (getStaticAttribute): Fetch key from readAttributeKeys.
7324         (getStyleNames): Return names from styles field.
7325         (getStyle): Lookup style in styles field.
7326         (removeStyle): Remove style from styles field.
7327         (readAttributeSet): Fixed deserialization.
7328         (writeAttributeSet): Fixed serialization.
7329         (readObject): Fixed deserialization.
7330         (writeObject): Fixed serialization.
7331         (reclaim): Simply cleanup the pool.
7332         (registerStaticAttributeKey): Store mapping in both ways.
7333         (searchImmutableSet): New helper method for caching.
7334         (toString): Fixed for output like the RI.
7335         * javax/swing/text/StyleConstants.java
7336         (keys): New field. Stores all known keys.
7337         (StyleConstants): Store created key in keys list.
7338         * javax/swing/event/EventListenerList.java
7339         (readObject): Fixed deserialization.
7340         (writeObject): Fixed serialization.
7341
7342 2006-08-25  Roman Kennke  <kennke@aicas.com>
7343
7344         * javax/swing/text/CompositeView.java
7345         (insets): Removed. Replaced by single short fields.
7346         (top): New field. Replaces insets.
7347         (bottom): New field. Replaces insets.
7348         (left): New field. Replaces insets.
7349         (right): New field. Replaces insets.
7350         (CompositeView): Initialize insets fields.
7351         (createDefaultLocation): Removed unneeded method.
7352         (getBottomInset): Return field directly.
7353         (getTopInset): Return field directly.
7354         (getLeftInset): Return field directly.
7355         (getRightInset): Return field directly.
7356         (getInsideAllocation): Adjusted to work on new insets fields.
7357         (getViewIndex): Fixed check.
7358         (loadChildren): Don't replace the old children.
7359         (replace): Make sure that there is an array to operate on.
7360         Only set parent to null, when it is this View.
7361         (setInsets): Adjusted to work with new insets fields.
7362         (setParagraphInsets): Fixed to pull insets directly from
7363         StyleConstants.
7364
7365 2006-08-25  Roman Kennke  <kennke@aicas.com>
7366
7367         * javax/swing/text/ComponentView.java
7368         (Interceptor): New inner helper class. Used to propagate
7369         invalidate requests and cache component layout sizes.
7370         (interceptor): New field.
7371         (getAlignment): Fetch alignment from interceptor container.
7372         (getComponent): Don't create component here. This is done
7373         in setParent().
7374         (getMaximumSpan): Fetch layout info from interceptor. Check
7375         for illegal axis.
7376         (getMinimumSpan): Fetch layout info from interceptor. Check
7377         for illegal axis.
7378         (getPreferredSpan): Fetch layout info from interceptor. Check
7379         for illegal axis.
7380         (modelToView): Fixed model to view mapping.
7381         (viewToModel): Fixed view to model mapping.
7382         (paint): Check for null. Set bounds on interceptor rather
7383         then component.
7384         (setParentImpl): Install interceptor between component
7385         and hosting container.
7386         (setParent): Call super.setParent() immediately.
7387
7388 2006-08-25  Roman Kennke  <kennke@aicas.com>
7389
7390         * javax/swing/text/LabelView.java
7391         (setPropertiesFromAttributes): Only set background when
7392         the corresponding attribute is actually defined, otherwise
7393         set to null, as the StyleConstants would return black.
7394         * javax/swing/text/DefaultStyledDocument.java
7395         (ElementBuffer.documentEvent): Removed obsolete field.
7396         (ElementBuffer.change): Do prepareEdits() and finishEdits()
7397         to correctly update the element structure.
7398         (ElementBuffer.insertContentTag): Removed unused statement.
7399         (ElementBuffer.recreateAfterFracture): Removed
7400         unused obsolete method.
7401         (setCharacterAttributes): Removed unused statement.
7402
7403 2006-08-25  Roman Kennke  <kennke@aicas.com>
7404
7405         * examples/gnu/classpath/examples/swing/Demo.java
7406         (LaterMain.run): Removed unused local variable.
7407         (Demo): Don't put desktop in scrollpane.
7408         (addChildren): Removed unused method.
7409         (mkButtonBar): Added HTML demo.
7410         (mkMenuBar): Added HTML demo.
7411         (mkPanel): Removed unused method.
7412         (mkScrollPane): Removed unused method.
7413         (mkTree): Removed unused method.
7414         (valign2str): Removed unused method.
7415         * examples/gnu/classpath/examples/swing/HtmlDemo.java:
7416         Initialize text field with some HTML that already works.
7417         (DEBUG): New field. Set to true for debugging output.
7418         (createContent): Dump element tree after parsing.
7419
7420 2006-08-25  Roman Kennke  <kennke@aicas.com>
7421
7422         * javax/swing/text/html/CSS.java
7423         (getValue): Added color value conversion.
7424         * javax/swing/text/html/HTMLDocument.java
7425         (HTMLReader.ConvertAction): New class, converts HTML style tags
7426         to CSS attributes.
7427         (HTMLReader.initTags): Register ConvertAction for <font> tag.
7428         * javax/swing/text/html/InlineView.java
7429         (setPropertiesFromAttributes): Implemented to fetch
7430         CSS character attributes.
7431         * javax/swing/text/html/StyleSheet.java
7432         (addCSSAttribute): Convert value.
7433         (getBackground): Implemented to fetch CSS background color
7434         attribute.
7435         (getForeground): Implemented to fetch CSS color
7436         attribute.
7437         (getFont): Adjust font size for superscript and subscript.
7438         (translateHTMLToCSS): Rudimentary implementation that
7439         copies the original attributes, so that any CSS attributes in
7440         there are preserved.
7441         (stringToColor): Use CSSColor for conversion.
7442         * gnu/javax/swing/text/html/css/CSSColor.java:
7443         New class. Converts CSS color values to RGB color values.
7444         * gnu/javax/swing/text/html/CharacterAttributeTranslator.java:
7445         Removed. This is more or less replaced by CSSColor and the
7446         ConvertAction in HTMLReader.
7447
7448 2006-08-25  Roman Kennke  <kennke@aicas.com>
7449
7450         * javax/swing/text/BoxView.java
7451         (childReqs): Removed obsolete field.
7452         (baselineLayout): Reimplemented for correct baseline layout.
7453         (baselineRequirements): Reimplemented for correct baseline
7454         layout.
7455         (updateChildRequirements): Removed obsolete method.
7456         * javax/swing/text/GlyphView.java
7457         (DefaultGlyphPainter.getSpan): Removed unused statement.
7458         (DefaultGlyphPainter.paint): Dont paint subscript/superscript
7459         specially. The subscript/superscript layout is performed
7460         via the alignment, the font is supplied by the StyleContext.
7461         (breakView): Removed unused statements.
7462         (getAlignment): Adjust alignment according to the
7463         superscript/subscript setting.
7464         (getFont): Reimplemented to fetch the font from the style
7465         context, or from the document if the stylecontext is not
7466         available.
7467         (getPreferredSpan): Adjust span for superscript. Use switch
7468         instead of if-else.
7469         * javax/swing/text/LabelView.java
7470         (setPropertiesFromAttributes): Fetch background and foreground
7471         from document / style context.
7472         (isSubscript): Resync properties if needed.
7473         * javax/swing/text/ParagraphView.java
7474         (Row.calculateMinorAxisRequirements): Overridden to perform
7475         a baseline layout.
7476         (Row.layoutMinorAxis): Overridden to perform a baseline layout.
7477
7478 2006-08-24  Roman Kennke  <kennke@aicas.com>
7479
7480         * javax/swing/text/Utilities.java
7481         (BUF_LENGTH): Removed unused field.
7482         (drawTabbedText): Removed unneeded cast.
7483         (getBreakLocation): Removed unneeded cast.
7484         Fixed offset to account for Segments not starting at 0.
7485
7486 2006-08-24  Roman Kennke  <kennke@aicas.com>
7487
7488         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
7489         (TabbedPaneLayout.normalizeTabRuns): Removed unused statement.
7490         (TabbedPaneScrollLayout.layoutContainer): Likewise.
7491         (ScrollingPane.updateUI): Likewise.
7492         (calculateTabWidth): Rewritten to correctly and efficiently
7493         layout the tab width.
7494         (layoutLabel): Call SwingUtilities method with the tabPane
7495         as argument.
7496         (paintContentBorderLeftEdge): Removed unused statement.
7497         (paintContentBorderRightEdge): Removed unused statement.
7498         (paintContentBorder): Removed unused statement.
7499
7500 2006-08-24  Roman Kennke  <kennke@aicas.com>
7501
7502         * javax/swing/plaf/basic/BasicTextUI.java
7503         (RootView.getAttributes): Overridden to return null,
7504         as the RootView has no parent.
7505
7506 2006-08-24  Roman Kennke  <kennke@aicas.com>
7507
7508         * javax/swing/text/html/CSSParser.java: Removed.
7509         * javax/swing/text/html/CSS.java
7510         (getValue): New helper method. Returns special converter
7511         instances for certain kinds of property values.
7512         * javax/swing/text/html/HTMLDocument.java
7513         (HTMLReader.CharacterAction.start): Don't translate tags
7514         here. Instead, store the attributes directly with the tag
7515         as key.
7516         (content): Removed field. The Content object is handled
7517         by AbstractDocument.
7518         (styleSheet): Removed field. The styleSheet is the styleContext
7519         of this document and handled by the DefaultStyledDocument already.
7520         (HTMLDocument(Content,StyleSheet): Simply call super here.
7521         The super classes already handle the content and styleContext.
7522         (HTMLDocument()): Call this() with a default GapContent and
7523         StyleSheet.
7524         (getStyleSheet): Return the styleContext here.
7525         (insertUpdate): New method. Overridden to add the
7526         CONTENT dummy tag to the element's attributes.
7527         (setBase): Set the base on the styleContext.
7528         * javax/swing/text/html/HTMLEditorKit.java
7529         (styleContext): Removed unneeded field.
7530         (styleSheet): Made field private.
7531         (HTMLEditorKit): Do nothing here. The StyleSheet is
7532         created lazily in getStyleSheet(). A styleContext is not
7533         needed here.
7534         (getStyleSheet): Create StyleSheet correctly.
7535         (insertHTML): Removed unneeded cast.
7536         * javax/swing/text/html/InlineView.java
7537         (attributes): New field.
7538         (changedUpdate): Reload attributes. Trigger preferenceChanged.
7539         (getAttributes): Implemented to fetch the attributes from
7540         the stylesheet.
7541         * javax/swing/text/html/MultiAttributeSet.java: New class.
7542         Multiplexes between several AttributeSets.
7543         * javax/swing/text/html/MultiStyle.java: New class.
7544         Multiplexes between several Styles.
7545         * javax/swing/text/html/ParagraphView.java
7546         (attributes): New field.
7547         (getAttributes): Implemented to fetch the attributes from
7548         the stylesheet.
7549         * javax/swing/text/html/StyleSheet.java
7550         (CssParser): Removed inner class.
7551         (CSSStyle): New inner class. Represents a style defined
7552         by a CSS rule.
7553         (CSSStyleSheetParserCallback): New class, for parsing
7554         CSS stylesheets.
7555         (css): New field. Stores the CSS rules.
7556         (resolvedStyles): New field. Stores resolved styles.
7557         (StyleSheet): Initialize resolvedStyles map.
7558         (addRule): Removed bogus impl.
7559         (getFont): Implemented to fetch font, based on CSS rules.
7560         (getResolvedStyle): New helper method. Looks up resolved
7561         styles, and resolves a style if necessary.
7562         (resolveStyle): New pair of helper methods. Resolves
7563         CSS style rules.
7564         (getRule(String)): Provide rudimentary implementation.
7565         (getRule(Tag,Element)): Implemented.
7566         (getViewAttributes): Implemented.
7567         (loadRules): Implemented.
7568         (translateHTMLToCSS): Tagged as not implemented.
7569         * javax/swing/text/html/ViewAttributeSet.java: New class.
7570
7571 2006-08-24  Roman Kennke  <kennke@aicas.com>
7572
7573         * javax/swing/text/FlowView.java:
7574         (LogicalView.getAttributes): New method. Overrides super
7575         impl to return the attributes of the FlowView instance.
7576         * javax/swing/text/LabelView.java:
7577         (setPropertiesFromAttributes): Fetch attributes from
7578         View, rather then from the Element. (In the HTML
7579         package the getAttributes() method is overridden to
7580         return different attributes). Fetch font from the StyledDocument.
7581
7582 2006-08-24  Roman Kennke  <kennke@aicas.com>
7583
7584         * javax/swing/text/DefaultEditorKit.java:
7585         (DefaultKeyTypedAction.actionPerform): Also filter
7586         ALT and CTRL modifiers.
7587
7588 2006-08-24  Roman Kennke  <kennke@aicas.com>
7589
7590         * gnu/javax/swing/text/html/css/FontSize.java,
7591         * gnu/javax/swing/text/html/css/FontStyle.java,
7592         * gnu/javax/swing/text/html/css/FontWeight.java:
7593         New classes. Used to convert CSS font attributes to AWT/Swing
7594         Font constants.
7595
7596 2006-08-24  Francis Kung  <fkung@redhat.com>
7597         * gnu/java/awt/color/PyccConverter.java: Throw UnsupportedOperationExceptions.
7598         * java/awt/image/ColorConvertOp.java: Updated javadocs.
7599         (srccs, dstcs, rasterValid): Variables removed.
7600         (ColorConvertOp(RenderingHints)): Initialize spaces to empty array.
7601         (copyRaster): Check for null rendering hints
7602         (createCompatibleColorModel): New private method.
7603         (createCompatibleDestImage): Re-implemented.
7604         (createCompatibleDestRaster(Raster, ColorSpace, boolean)): New private method.
7605         (createCompatibleDestRaster(Raster)): Re-implemented.
7606         (filter(BufferedImage, BufferedImage)): Add checks; fix temp image creation.
7607         (filter(Raster, WritableRaster)): Add checks; fix temp raster creation.
7608         (getPoint2D): Clean up formatting.
7609         * java/awt/image/ComponentColorModel.java
7610         (constructor): use findBits method instead of passing null.
7611         (findBits): New method.
7612
7613 2006-08-24  Gary Benson  <gbenson@redhat.com>
7614
7615         * java/net/NetworkInterface.java (getInetAddresses): Bracket IPv6
7616         addresses.
7617
7618 2006-08-24  Jeroen Frijters  <jeroen@frijters.net>
7619
7620         * java/lang/ref/Reference.java
7621         (queue, nextOnQueue): Made volatile.
7622         (enqueue): Made thread safe.
7623         * java/lang/ref/ReferenceQueue.java
7624         (lock): New field.
7625         (poll): Removed synchronized.
7626         (enqueue): Changed to synchronize on lock object, to update Reference
7627         state and return success status.
7628         (dequeue, remove): Synchronize on lock object.
7629
7630 2006-08-24  Jeroen Frijters  <jeroen@frijters.net>
7631
7632         * java/security/SecureClassLoader.java
7633         (protectionDomainCache): Changed to HashMap.
7634         (SecureClassLoader): Removed redundant security check.
7635         (defineClass(String,byte[],int,int,CodeSource): Moved
7636         protection domain lookup/construction to new method.
7637         (defineClass(String,ByteBuffer,CodeSource): New method.
7638         (getProtectionDomain): New method.
7639
7640 2006-08-23  Roman Kennke  <kennke@aicas.com>
7641
7642         * javax/swing/JComponent.java
7643         (isRepainting): Made package private.
7644         (paintChild): New field.
7645         (findOpaqueParent): Removed method. This is now in
7646         paintImmediately().
7647         (findOverlapFreeParent): Removed method. This is now
7648         in paintImmediately2().
7649         (findPaintRoot): Removed method. This is now
7650         in paintImmediately2().
7651         (isCompletelyObscured): Changed to take rectangle as single
7652         ints as argument.
7653         (isPaintingDoubleBuffered): Removed method. This is now
7654         in paintImmediately2().
7655         (isPartiallyObscured): New helper method.
7656         (onTop): New helper method for optimization.
7657         (paintChildren): Paint only to specific child when
7658         requested like this from paintImmediately2().
7659         (paintDoubleBuffered): Changed to take rectangle as single int
7660         arguments.
7661         (paintImmediately2): Changed to take rectangle as single int
7662         arguments. Optimized determination of paint root.
7663         (paintImmediately(Rectangle)): Change to delegate to
7664         paintImmediately(int,int,int,int).
7665         (paintImmediately(int,int,int,int)): Look for opaque ancestor
7666         and start painting there.
7667         (paint): Call paintDoubleBuffered() with int arguments. Only
7668         paint component, when not completely occupied by opaque child.
7669         (processKeyBinding): Removed unnecessary cast.
7670         (isOccupiedByChild): New helper method.
7671         * javax/swing/RepaintManager.java
7672         (repaintUnderway): Removed obsolete field.
7673         (commitRequests): Removed obsolete field.
7674         (RepaintManager): Removed initialization of obsolete fields.
7675         (addDirtyRegion): Removed unused statement.
7676         (commitBuffer): Changed to take plain ints as argument.
7677         (compileRepaintRoots): Optimized to avoid use of Rectangle.
7678         Compute offsets in place, rather than using SwingUtilities.
7679         (paintDirtyRegions): Removed unused field.
7680         * javax/swing/JMenuItem.java
7681         (onTop): Return true when not descendant of JInternalFrame.
7682         * javax/swing/JPopupMenu.java
7683         (onTop): Return true.
7684         * javax/swing/JToolTip.java
7685         (onTop): Return true.
7686         * javax/swing/JViewport.java
7687         (paintImmediately2): Change signature to match the
7688         corresponding JComponent method.
7689
7690 2006-08-23  Tania Bento  <tbento@redhat.com>
7691
7692         * java/awt/Color.java
7693         (brighter): Modified algorithm to correctly determine the
7694         new brighter colour.
7695
7696 2006-08-23  Roman Kennke  <kennke@aicas.com>
7697
7698         * java/awt/Container.java
7699         (maxSize): Removed field. This is already declared in Component.
7700         (validateTree): Check for ContainerPeer. Don't addNotify here.
7701         Only validate Component instances if they are invalid.
7702
7703 2006-08-22  Roman Kennke  <kennke@aicas.com>
7704
7705         * javax/swing/JComponent.java
7706         (preferredSize): Removed field.
7707         (maximumSize): Removed field.
7708         (minimumSize): Removed field.
7709         (getMaximumSize): Adjusted to delegate to Component, rather
7710         then managing the size in JComponent.
7711         (getMinimumSize): Adjusted to delegate to Component, rather
7712         then managing the size in JComponent.
7713         (getPreferredSize): Adjusted to delegate to Component, rather
7714         then managing the size in JComponent.
7715         (isMaximumSizeSet): Removed.
7716         (isMinimumSizeSet): Removed.
7717         (isPreferredSizeSet): Removed.
7718         (setMaximumSize): Removed.
7719         (setMinimumSize): Removed
7720         (setPreferredSize): Removed.
7721
7722 2006-08-22  Roman Kennke  <kennke@aicas.com>
7723
7724         * javax/swing/AbstractButton.java
7725         (ButtonChangeListener.stateChanged): Delegate to combined
7726         handler.
7727         (EventHandler): New inner class. Handles all three types
7728         of events on the model.
7729         (eventHandler): New field. Stores the combined event
7730         handler.
7731         (AbstractButton): Moved listener initialization to
7732         setModel().
7733         (createActionListener): Return combined handler.
7734         (createChangeListener): Return combined handler.
7735         (createItemListener): Return combined handler.
7736         (getEventHandler): New helper method for creating the combined
7737         handler.
7738         (setModel): Initialize listeners here.
7739         * javax/swing/plaf/basic/BasicButtonListener.java
7740         (ButtonAction): New class. Implements the keyboard action
7741         for buttons.
7742         (checkOpacity): Implemented.
7743         (createDefaultActionMap): New helper method.
7744         (installKeyboardActions): Rewritten to install InputMap
7745         and ActionMap according to 'new' keyboard input method.
7746         (mouseClicked): Commented as no-op.
7747         (mouseDragged): Commented as no-op.
7748         (mouseMoved): Commented as no-op.
7749         (propertyChange): Check for contentAreaFilled change and
7750         update opacity. Pull handling of HTLM in font and text handler.
7751         (stateChanged): Repaint button.
7752         (uninstallKeyboardActions): Properly uninstall keyboard actions.
7753         * javax/swing/plaf/basic/BasicButtonUI.java
7754         (listener): Removed.
7755         (sharedListener): New static field. Stores the shared listener.
7756         (sharedUI): New static field. Stores the shared UI.
7757         (createButtonListener): Return shared instance here.
7758         (createUI): Return shared instance here.
7759         (getButtonListener): New helper method. Looks for the
7760         BasicButtonListener installed on a button and returns it.
7761         (installDefaults): Correctly install rollover property here.
7762         Fetch defaultTextShiftOffset. Initialize opaqueness correctly.
7763         (installKeyboardActions): Fetch listener with new helper method.
7764         (installListeners): Don't use removed field. Check for null.
7765         (installUI): Added comment about order of method invocations.
7766         (uninstallDefaults): Don't uninstall non-uninstallable properties.
7767         (uninstallKeyboardActions): Fetch listener with new helper method.
7768         (uninstallListeners): Fetch listener with new helper method.
7769         (paintIcon): Paint icon offset when pressed and armed.
7770         * javax/swing/plaf/metal/MetalButtonListener.java: Removed.
7771         * javax/swing/plaf/metal/MetalButtonUI.java
7772         (sharedUI): New field. Stores the shared UI.
7773         (MetalButtonUI): Don't initialize fields here.
7774         (createButtonListener): Removed method. Use super impl.
7775         (createUI): Return shared instance.
7776         (getDisabledTextColor): Update field here.
7777         (getFocusColor): Update field here.
7778         (getSelectColor): Update field here.
7779         (installDefaults): Don't handle rollover property here.
7780         (uninstallDefaults): Don't handle rollover property here.
7781         (paintButtonPressed): Use accessor method to update the
7782         field value.
7783
7784 2006-08-21  Mark Wielaard  <mark@klomp.org>
7785
7786         Merge NATIVE_LAYER branch.
7787
7788         2006-08-20  Mark Wielaard  <mark@klomp.org>
7789
7790         * doc/tools.texinfo: Add file from trunk.
7791         * native/jni/Makefile.am (DIST_SUBDIRS): Add native-lib.
7792         * native/jni/java-io/java_io_VMFile.c: Include lstat and readlink
7793         headers.
7794         * native/jni/java-lang/java_lang_VMProcess.c
7795         (Java_java_lang_VMProcess_nativeSpawn): Remove redirect argument.
7796         * native/jni/java-net/java_net_VMInetAddress.c
7797         (Java_java_net_VMInetAddress_getHostByName): Remove unused variable.
7798         * native/jni/native-lib/Makefile.am: Remove empty and nonexisting
7799         files.
7800         * native/jni/native-lib/cpio.c (cpio_setFileReadonly): Use correct
7801         mask.
7802         * native/jni/native-lib/cpnet.c (cpnet_connect): Removed unused
7803         theaddr.
7804         * native/jni/native-lib/cpnet.h (cpnet_freeAddresses): Moved from
7805         cpnet.h.
7806         * native/jni/native-lib/cpnet.h (cpnet_freeAddresses): Declare,
7807         don't implement.
7808         * vm/reference/java/lang/VMProcess.java: Removed unused redirect
7809         argument.
7810         * include/java_lang_VMProcess.h: Regenerated.
7811
7812         2006-07-09  Guilhem Lavaux  <guilhem@kaffe.org>
7813
7814         * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c
7815         (nativeReceive): Fixed the type of the arrays (use java types).
7816         (nativeSendTo): Force throwing an exception if port is 0.
7817
7818         * native/jni/java-net/javanet.c:
7819         (_javanet_accept): Throw SocketTimeoutException if ETIMEDOUT is
7820         returned.
7821         (_javanet_recvfrom): Likewise.
7822         (_javanet_sendto): Throw a NullPointerException if the socket is
7823         not connected and no address is given.
7824         
7825         * native/jni/java-net/javanet.h
7826         (NULL_EXCEPTION): Defined.
7827
7828         2006-06-16  Guilhem Lavaux  <guilhem@kaffe.org>
7829
7830         * native/jni/java-net/java_net_VMInetAddress.c
7831         (Java_java_net_VMInetAddress_getHostByName): Fix detection of
7832         error.
7833
7834         * native/jni/java-net/javanet.c
7835         (_javanet_accept): Fixed bogus call to TARGET.
7836         (_javanet_create_inetaddress): Fixed address generation. Fixed
7837         bogus memory free.
7838         (_javanet_bind): set "Reuse address" flag.
7839
7840         * native/jni/native-lib/cpio.c
7841         (cpio_getModificationTime): Fixed type.
7842         (cpio_removeFile): Use rmdir too.
7843
7844         * native/jni/native-lib/cpnet.c
7845         (cpnet_getHostByName): Fixed error detection.
7846
7847         * native/jni/native-lib/cpnet.h
7848         (cpnet_newIPV4address, cpnet_newIPV6address): Put zero in the
7849         memory.
7850         (cpnet_IPV4AddressToBytes): Fixed types.
7851         
7852         2006-06-10  Guilhem Lavaux  <guilhem@kaffe.org>
7853
7854         * native/jni/native-lib/cpio.c
7855         (cpio_openDir, cpio_closeDir, cpio_readDir): Implemented.
7856
7857         * native/jni/native-lib/cpnet.h:
7858         (cpnet_bytesToIPV4Address): Fixed type casting to avoid being
7859         messed by signs in jbyte.
7860         
7861         * native/jni/native-lib/cpproc.h
7862         (CPIO_EXEC_NUM_PIPES): Compilation fix.
7863
7864         2006-05-09  Guilhem Lavaux  <guilhem@kaffe.org>
7865
7866         * native/jni/native-lib/cpnet.c
7867         (cpnet_getSocketTimeout, cpnet_setSocketTimeout): Reimplemented.
7868         (waitForWritable, waitForReadable): New functions.
7869         (socketTimeouts): New static global table to hold timeouts for all
7870         socket fds.
7871         (cpnet_accept,cpnet_bind,cpnet_sendTo,cpnet_recv,cpnet_recvFrom):
7872         Added waitForXXXX safeguards to handle socket timeouts.
7873
7874         * native/jni/java-net/javanet.c
7875         (_javanet_accept): Check for the right error value when a timeout
7876         occurs.
7877         
7878         2006-03-25  Guilhem Lavaux  <guilhem@kaffe.org>
7879
7880         * native/jni/java-io/Makefile.am,
7881         native/jni/java-lang/Makefile.am,
7882         native/jni/java-net/Makefile.am,
7883         native/jni/java-nio/Makefile.am: Link to libclasspathnative.la now.
7884
7885         * native/jni/native-lib/Makefile.am: Added cpproc.c
7886
7887         * native/jni/native-lib/cpio.c: Implemented missing functions for
7888         CPIO.
7889
7890         * native/jni/native-lib/cpnet.c
7891         (cpnet_getHostByName): Fixed address array initialization.
7892         
7893         * native/jni/native-lib/cpproc.c: Implemented.
7894         
7895         2006-02-19  Guilhem Lavaux  <guilhem@kaffe.org>
7896
7897         * configure.ac: Invoke GCC_ATTRIBUTE_UNUSED.
7898
7899         * m4/gcc_attribute.m4: New file from ac_archive.
7900         
7901         * native/jni/java-net/javanet.c: Adapted to cpnet API
7902         modification.
7903
7904         * native/jni/native-lib/cpnet.c: Implemented.
7905
7906         * native/jni/native-lib/cpnet.h
7907         (cpnet_openSocketDatagram,
7908         cpnet_openSocketStream): These calls need an address family now.
7909         (cpnet_IPV4AddressToBytes,
7910         cpnet_bytesToIPV4Address): Convert the address to network order.
7911         
7912         2006-02-19  Guilhem Lavaux  <guilhem@kaffe.org>
7913
7914         * native/jni/java-io/java_io_VMFile.c,
7915         native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c,
7916         native/jni/midi-dssi/dssi_data.h,
7917         native/jni/native-lib/cpio.c,
7918         native/jni/native-lib/cpmath.h: Removed cpmath
7919         dependency. Fixed coding style.
7920
7921         2006-02-18  Guilhem Lavaux  <guilhem@kaffe.org>
7922
7923         * native/jni/java-lang/java_lang_VMProcess.c: Removed TARGET
7924         dependency. Simplified the JNI code by moving some part into the
7925         native layer.
7926
7927         * native/jni/native-lib/cpproc.h: New interface to handle processes.
7928
7929         2006-02-18  Guilhem Lavaux  <guilhem@kaffe.org>
7930
7931         * native/jni/java-net/java_net_VMInetAddress.c: Fixed compilation
7932         errors. Removed any remaining TARGET invocations.
7933
7934         * native/jni/java-net/javanet.c
7935         (_javanet_create_inetaddress): Removed spurious arr and
7936         octets. Fixed compilation errors.
7937
7938         * native/jni/native-lib/cpnet.h
7939         (cpnet_getHostname, cpnet_getHostByName, cpnet_getHostByAddr,
7940         cpnet_setIPV4Any, cpnet_freeAddresses, cpnet_isIPV6Address,
7941         cpnet_isIPV4Address): New functions.
7942         (cpnet_bytesToIPV4Address): Fixed interface to be consistent with
7943         the rest.
7944         
7945         2006-01-28  Guilhem Lavaux  <guilhem@kaffe.org>
7946
7947         * native/jni/java-io/java_io_VMFile.c,
7948         native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c,
7949         native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c,
7950         native/jni/java-net/javanet.c,
7951         native/jni/java-net/javanet.h: Adapted the VM layer code
7952         to the new native layer.
7953
7954         * native/jni/native-lib/cpnet.h
7955         (cpnet_addMembership,
7956         cpnet_dropMembership,
7957         cpnet_getAvailableBytes): Added the declarations of
7958         some new functions.
7959         (cpnet_newIPV6Address,
7960         cpnet_IPV6AddressToBytes,
7961         cpnet_bytesToIPV6Address): Implemented.
7962         (cpnet_newIPV4Address): Initialize the sin_family field.
7963
7964         2006-01-28  Guilhem Lavaux  <guilhem@kaffe.org>
7965
7966         * native/target: Removed.
7967
7968         * configure.ac: Removed target from CLASSPATH_INCLUDES and
7969         Makefile generation.
7970
7971         * native/jni/native-lib/Makefile.am,
7972         native/jni/native-lib/cpnet.h,
7973         native/jni/native-lib/cpnet.c
7974         native/jni/native-lib/cpio.h,
7975         native/jni/native-lib/cpio.c,
7976         native/jni/native-lib/cpmath.h: Imported new native compatibility
7977         layer.
7978
7979 2006-08-21  Roman Kennke  <kennke@aicas.com>
7980
7981         * gnu/javax/swing/text/html/css/CSSParser.java:
7982         New class.
7983         * gnu/javax/swing/text/html/css/CSSParserCallback.java:
7984         New interface.
7985         * gnu/javax/swing/text/html/css/CSSParserException.java:
7986         New exception.
7987         * gnu/javax/swing/text/html/css/CSSScanner.java:
7988         Adjusted API comments. Made all constants package private.
7989         (EOF): New constant field.
7990         (parseBuffer): Made package private.
7991         (tokenEnd): Made package private.
7992         (CSSScanner): Initialize lookahead buffer with -1.
7993         (main): Print out to System.out rather then System.err.
7994         (nextToken): Push back character after IDENT.
7995
7996 2006-08-21  Jeroen Frijters  <jeroen@frijters.net>
7997
7998         * java/io/File.java (normalizePath): Fixed handling of "//" and "\\".
7999
8000 2006-08-21  Roman Kennke  <kennke@aicas.com>
8001
8002         * gnu/javax/swing/text/html/css/CSSScanner.java
8003         (main): Use buffered input stream.
8004         (nextToken): Removed 65536 workaround. Use int value directly
8005         without cast to char.
8006         (readComment): Use int value directly without cast to char.
8007         Cast to char only when putting the character into the buffer.
8008         (readEscape): Likewise.
8009         (readIdent): Likewise.
8010         (readName): Likewise.
8011         (readNum): Likewise.
8012         (readString): Likewise.
8013         (readWhitespace): Likewise.
8014
8015 2006-08-21  Ingo Proetel  <proetel@aicas.com>
8016
8017         * java/io/InputStreamReader.java
8018         (bytesCache): New field.
8019         (cacheLock): New field.
8020         (read(byte[],int,int): Avoid allocations of new byte
8021         array on every call and reuse cached byte array if possible.
8022
8023 2006-08-21  Roman Kennke  <kennke@aicas.com>
8024
8025         * gnu/java/net/local/LocalSocketImpl.java
8026         Only load native lib if this is supported by runtime.
8027         * native/jni/java-net/local.c
8028         Include config.h unconditionally.
8029         * native/jni/java-net/gnu_java_net_local_LocalSocketImpl.c
8030         Include config.h unconditionally.
8031
8032 2006-08-21  Friedjof Siebert  <siebert@aicas.com>
8033
8034         * java/io/ObjectInputStream.java
8035         (objectLookupTable): Changed to be a Vector.
8036         (ObjectInputStream): Initialize objectLookupTable as Vector.
8037         (assignNewHandle): Store Object using handle index rather than
8038         Hashtable, using the new rememberHandle() method.
8039         (hierarchy): New method. This replaces inputGetObjectStreamClasses()
8040         with a caching in ObjectStreamClass.
8041         (inputGetObjectStreamClass): Replaced by hierarchy().
8042         (lookupHandle): New method. Looks up an object by it's handle
8043         index.
8044         (parseContent): Avoid creating of Integer objects. Use
8045         hierarchy() method for looking up the class hierarchy.
8046         (processResolution): Use rememberHandle() to store
8047         handle per index, rather than Hashtabling the object.
8048         (readFields): 
8049         (rememberHandle): New method.
8050         * java/io/ObjectOutputStream.java
8051         (OIDLookupTable): Use ObjectIdentityMap2Int instead of
8052         Hashtable for improved lookup performance.
8053         (ObjectOutputStream): Initialize OIDLookupTable as
8054         ObjectIdentityMap2Int.
8055         (assignNewHandle): Change to use ObjectIdentityMap2Int.
8056         (findHandle): Change to use ObjectIdentityMap2Int.
8057         (getBooleanField): Removed.
8058         (getByteField): Removed.
8059         (getCharField): Removed.
8060         (getDoubleField): Removed.
8061         (getField): Removed.
8062         (getFloatField): Removed.
8063         (getIntField): Removed.
8064         (getLongField): Removed.
8065         (getObjectField): Removed.
8066         (writeFields(Object,ObjectStreamClass)): Use new helper method.
8067         (writeFields(Object,ObjectStreamField)): New helper method.
8068         Use switch rather then if-else cascade.
8069         (writeObject): Use int handle, rather then Integer.
8070         * java/io/ObjectStreamClass.java
8071         (hierarchy): New field. Caches the class hierarchy.
8072         (methodCache): New field. Caches methods.
8073         (readObjectSignature): New field. Stores the read signature.
8074         (uidCache): New field. Caches UIDs.
8075         (writeObjectSignature): New field. Stores the write signature.
8076         (cacheMethods): Cache methods in methodCache.
8077         (calculateClassID): Outsourced from getClassUID()
8078         for computing the UIDs.
8079         (getClassUIDFromField): Outsourced from getClassUID() for
8080         fetching the UID from the class field.
8081         (getClassUID): Use cached uid if possible. Use new helper
8082         methods for fetching the UID from the field or computing
8083         from scratch.
8084         (getObjectStreamClasses): Removed. Replaced by more
8085         efficient hierarchy() method, that also caches the result.
8086         (hierarchy): Replaces getObjectStreamClasses() for caching
8087         the result.
8088         (loadedByBootOrApplicationClassLoader): New helper method.
8089         (setClass): Invalidate hierarchy cache.
8090         (setSuperclass): Invalidate hierarchy cache.
8091         * java/io/ObjectStreamField.java
8092         (field): Made field package private for access from other
8093         classes.
8094         * gnu/java/io/ObjectIdentityWrapper.java: Removed.
8095         * gnu/java/io/ObjectIdentityMap2Int.java: Efficient
8096         hashtable for mapping objects to ints.
8097
8098 2006-08-21  Roman Kennke  <kennke@aicas.com>
8099
8100         * java/io/File.java
8101         (getAbsolutePath): Fetch absolute path from
8102         VMFile.getAbsolutePath(). Moved actual impl to there.
8103         (isAbsolute): Let VMFile determine the absoluteness.
8104         (toURL): Let VMFile convert the filename.
8105         * vm/reference/java/io/VMFile.java
8106         (getAbsolutePath): New method.
8107         (isAbsolute): New method.
8108         (toURL): New method.
8109
8110 2006-08-21  Jeroen Frijters  <jeroen@frijters.net>
8111
8112         * NEWS: Added note about updated VM interface.
8113
8114 2006-08-20  Andrew John Hughes  <gnu_andrew@member.fsf.org>
8115
8116         * java/lang/management/ManagementFactory.java:
8117         Updated documentation.
8118         
8119 2006-08-20  Ito Kazumitsu  <kaz@maczuka.gcd.org>
8120
8121         Fixes bug #28412
8122         * gnu/java/util/regex/CharIndexed.java(move1, setHitEnd, hitEnd):
8123         New methods.
8124         * gnu/java/util/regex/CharIndexedCharSequence.java,
8125         gnu/java/util/regex/CharIndexedInputStream.java: Implemented the
8126         new methods above.
8127         * gnu/java/util/regex/RE.java(REG_FIX_STARTING_POSITION): New flag,
8128         (match): call the new method setHitEnd of the input,
8129         (getMatchImpl): Handle the new flag REG_FIX_STARTING_POSITION,
8130         Some optimization commented out, Use CharIndexed#move1 instead of move.
8131         * gnu/java/util/regex/REMatch.java: Made some debugging methods public.
8132         * gnu/java/util/regex/REToken.java(match): The method body has been
8133         moved to an internal private method, (matchFake): New method,
8134         (setHitEnd): New method.
8135         * gnu/java/util/regex/RETokenChar.java(matchThis): Call setHitEnd
8136         if the match is not complete, (matchOneString): Count the number of
8137         characters which matched the pattern.
8138         * gnu/java/util/regex/RETokenEnd.java(fake): New field,
8139         (setFake): New method, (match): Call super.match or super.matchFake.
8140         * gnu/java/util/regex/RETokenEndSub.java(setHitEnd): New method.
8141         * gnu/java/util/regex/RETokenOneOf.java(match): call the new method
8142         setHitEnd of the input,
8143         * gnu/java/util/regex/RETokenRepeated.java(match): Likewise.
8144         * java/util/regex/Matcher.java(lookingAt, match): Use the new flag
8145         RE.REG_FIX_STARTING_POSITION, (hitEnd, toString): New methods.
8146
8147 2006-08-18  Tom Tromey  <tromey@redhat.com>
8148
8149         * gnu/javax/swing/text/html/css/CSSScanner.java (readWhitespace): Push
8150         the 'int', not the cast char.
8151
8152 2006-08-18  Roger Sayle  <roger@eyesopen.com>
8153
8154         * scripts/check_jni_methods.sh: Don't use the "set -C" command
8155         which isn't available in all shells.
8156
8157 2006-08-18  Roger Sayle  <roger@eyesopen.com>
8158
8159         * lib/Makefile.am (resources): Fix some shell portability issues.
8160
8161 2006-08-18  Thomas Fitzsimmons  <fitzsim@redhat.com>
8162
8163         * configure.ac (tool-wrappers): Check for ltdl support when tool
8164         wrapper binaries are enabled.
8165         * tools/Makefile.am (LIBJVM): Remove variable.
8166         (AM_CPPFLAGS): Add LIBJVM define.
8167         (gappletviewer_LDFLAGS, gjarsigner_LDFLAGS, gkeytool_LDFLAGS,
8168         gjar_LDFLAGS, gnative2ascii_LDFLAGS, gserialver_LDFLAGS,
8169         gjavah_LDFLAGS): Remove variables.
8170         * tools/toolwrapper.c (main): Use dlopen to load libjvm library.
8171
8172 2006-08-18  Tom Tromey  <tromey@redhat.com>
8173
8174         * gnu/java/util/prefs/NodeWriter.java (writeParents): Removed
8175         debugging prints.
8176         * gnu/java/util/prefs/NodeReader.java (readNodes): Removed debugging
8177         print.
8178         (readEntries): Likewise.
8179
8180 2006-08-17  Roman Kennke  <kennke@aicas.com>
8181
8182         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
8183         (layoutLabel): Reset the text and icon rectangles.
8184
8185 2006-08-17  Thomas Fitzsimmons  <fitzsim@redhat.com>
8186
8187         PR classpath/28537
8188         * native/plugin/Makefile.am (libgcjwebplugin_la_CXXFLAGS):
8189         Transform gappletviewer name using program_transform_name.
8190
8191 2006-08-17  Jeroen Frijters  <jeroen@frijters.net>
8192
8193         * javax/swing/filechooser/FileSystemView.java
8194         (getFileSystemView): Always return UnixFileSystemView, since
8195         that's the only one we got. Marked with NotImplementedException.
8196         * javax/swing/plaf/basic/BasicFileChooserUI.java
8197         (mouseClicked, installUI): Don't parse path by hand.
8198
8199 2006-08-17  Roman Kennke  <kennke@aicas.com>
8200
8201         * javax/swing/JComponent.java
8202         (scrollRectToVisible): Handle intermediate non-JComponents
8203         more gracefully.
8204
8205 2006-08-17  Roman Kennke  <kennke@aicas.com>
8206
8207         * javax/swing/RepaintManager.java
8208         (blitBuffer): Removed. This is now done in commitBuffer().
8209         (commitBuffer): Always paint on the root window or applet.
8210         No need to look for intermediate heavyweights. Optimized
8211         rectangle translation.
8212         (commitRemainingBuffers): Removed. Not needed anymore.
8213         (getHeavyweightParent): Removed. Not needed anymore.
8214         (getOffscreenBuffer): Fetch offscreen image from the
8215         actual root component.
8216         (paintDirtyRegions): Don't call commitRemainingBuffers().
8217
8218 2006-08-17  Roman Kennke  <kennke@aicas.com>
8219
8220         * javax/swing/SwingUtilities.java
8221         (clipString): New helper method for trimming strings.
8222         (layoutCompoundLabelImpl): Fixed algorithm to conform
8223         testsuites. Trim text if it's too long. Avoid creating
8224         new Rectangles. Optimized for performance.
8225         (layoutCompoundLabel): Use switch rather then if-else-chain.
8226         * javax/swing/plaf/basic/BasicButtonUI.java
8227         (viewR): New field.
8228         (iconR): New field.
8229         (textR): New field.
8230         (paint): Reset and use cached rectangles. Only call paintIcon()
8231         if icon is not null. Don't call paintButtonPressed() when
8232         button is selected, only when it is both armed and pressed.
8233         * javax/swing/plaf/basic/BasicGraphicsUtils.java
8234         (getPreferredButtonSize): Reused cached rectangles rather
8235         then creating new ones. Don't create new Rectangle via
8236         Rectangle.union().
8237         * javax/swing/plaf/basic/BasicLabelUI.java
8238         (getPreferredSize): Correctly reset cached rectangles. Especially
8239         the view rect must have a big size to give it room for layouting.
8240         Short cut layout when text == null.
8241         (paint): Correctly reset cached rectangles.
8242         * javax/swing/plaf/basic/BasicMenuItemUI.java
8243         (resetRectangles): New helper method.
8244         (getPreferredMenuItemSize): Correctly reset the cached rectangles.
8245         (paintMenuItem): Correctly reset the cached rectangles.
8246         * javax/swing/plaf/basic/BasicRadioButtonUI.java
8247         (getPreferredSize): Use cached Rectangle objects and initialize
8248         them correctly.
8249         (paint): Use cached Rectangle objects and initialize
8250         them correctly.
8251
8252 2006-08-17  David Gilbert  <david.gilbert@object-refinery.com>
8253
8254         * java/util/Calendar.java: API doc additions.
8255
8256 2006-08-17  Robert Schuster  <robertschuster@fsfe.org>
8257
8258         * javax/swing/DefaultButtonModel.java:
8259         (setRollover): Simplified statement.
8260
8261 2006-08-17  Jeroen Frijters  <jeroen@frijters.net>
8262
8263         * gnu/java/rmi/server/RMIClassLoaderImpl.java
8264         (loadClass): Rewritten to use getClassLoader.
8265         (loadProxyClass): Implemented.
8266         (getClassLoader): Fixed support for null or empty codebase.
8267         * gnu/java/rmi/server/RMIObjectInputStream.java
8268         (resolveClass): Use user class loader as default class loader.
8269         (resolveProxyClass): Delegate to RMIClassLoader.loadProxyClass.
8270         * gnu/javax/rmi/CORBA/UtilDelegateImpl.java
8271         (loadClass): Simplified and use user class loader instead of
8272         context class loader as default.
8273         * java/io/ObjectInputStream.java
8274         (currentLoader): Use VMStackWalker.firstNonNullClassLoader().
8275         * vm/reference/gnu/classpath/VMStackWalker.java
8276         (firstNonNullClassLoader): New method.
8277         * vm/reference/java/io/VMObjectInputStream.java
8278         (loaderAction, currentClassLoader): Removed.
8279
8280 2006-08-17  Robert Schuster  <robertschuster@fsfe.org>
8281
8282         * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
8283         (getTabBounds(JTabbedPane, int)): Added code to shift rectangle
8284         by current scroll offset, added method documention.
8285         (getTabBounds(int, Rectangle)): Added method documentation.
8286         * javax/swing/plaf/metal/MetalTabbedPaneUI.java:
8287         (paintContentBorderLeftEdge): Changed y to 1.
8288
8289 2006-08-17  Robert Schuster  <robertschuster@fsfe.org>
8290
8291         * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
8292         (MouseHandler.mouseReleased): Implemented.
8293         (MouseHandler.mousePressed): Added delegation to tabbed pane.
8294         (MouseHandler.mouseEntered): Dito.
8295         (MouseHandler.mouseExited): Dito.
8296         (MouseHandler.mouseMoved): Dito.
8297         (MouseHandler.redispatchEvent): New method.
8298         (PropertyChangeHandler.propertyChange): Added extra block level,
8299         added code to handle tab placement changes, added comment.
8300         (updateViewPosition): Set unneeded coordinate to 0, added comment.
8301
8302 2006-08-16  Roman Kennke  <kennke@aicas.com>
8303
8304         * gnu/javax/swing/text/html/css/CSSScanner.java: New file.
8305         * gnu/javax/swing/text/html/css/CSSLexicalException.java:
8306         New file.
8307
8308 2006-08-16  Mark Wielaard  <mark@klomp.org>
8309
8310         * java/awt/Component.java (orientation): Renamed to
8311         componentOrientation.
8312         (setComponentOrientation): Use new field name.
8313         (getComponentOrientation): Likewise.
8314
8315 2006-08-16  Roman Kennke  <kennke@aicas.com>
8316
8317         PR 28750
8318         * javax/swing/plaf/basic/BasicTreeUI.java
8319         (CellEditorHandler.editingCancelled): Call completeEditing
8320         directly.
8321         (CellEditorHandler.editingStopped): Call completeEditing
8322         directly.
8323         (NodeDimensionHandler.getNodeDimensions): Rewritten
8324         to use the preferred sizes of the renderer and editor.
8325         (TreeExpansionHandler.treeCollapsed): Complete editing
8326         here.
8327         (TreeSelectionHandler.valueChanged): Complete editing
8328         here.
8329         (cancelEditing): Call completeEditing with false, false and
8330         false. Don't call finish (removed method).
8331         (completeEditing(boolean,boolean,boolean): Only do something when
8332         stopEditingInCompleteEditing is true. Nullify editingComponent
8333         and editingPath. Remove editingComponent from tree. Update
8334         the layout when necessary and repaint.
8335         (completeEditing): Stop editing when necessary.
8336         (editorRequestFocus): New helper method. Request focus
8337         on the actual editor.
8338         (finish) Removed. This is now done in completeEditing().
8339         (prepareForUIInstall): Set stopEditingInCompleteEditing to true.
8340         (setLargeModel): Complete editing here.
8341         (setRootVisible): Complete editing here.
8342         (setRowHeight): Complete editing here.
8343         (setSelectionModel): Complete editing here.
8344         (startEditing): Correctly initialize and start editing.
8345         (updateExpandedDescendants): Complete editing here.
8346         * javax/swing/tree/DefaultTreeCellEditor.java
8347         (DefaultTextField): Fetch size from super and use renderer's height
8348         if appropriate.
8349         (EditorContainer.EditorContainer): Set layout to null, just
8350         to make sure.
8351         (EditorContainer.doLayout): Layout so that the editor
8352         is offset to the right of the icon.
8353         (EditorContainer.getPreferredSize): Implemented to
8354         provide a reasonable preferred size.
8355         (EditorContainer.paint): Position icon in the middle.
8356         Also paint border if appropriate.
8357         (EditorContainer.setBounds): Removed.
8358         (RealEditorListener): Removed.
8359         (DefaultTreeCellEditor): Set correct border.
8360         (cancelCellEditing): Message real editor. Call finish().
8361         (createCellEditor): Don't add listener.
8362         (determineOffset): Correctly determine offset, and update
8363         the icon.
8364         (finish): New helper method.
8365         (getTreeCellEditorComponent): Set correct font. Call
8366         prepareForEditing() and determineOffset() to correctly initialize
8367         the state.
8368         (stopCellEditing): Messsage realEditor to stop editing. Call
8369         finish to clean up.
8370         (stopEditingTimer): Removed.
8371         (valueChanged): Correctly reset lastPath.
8372         * javax/swing/tree/DefaultTreeCellRenderer.java
8373         (getPreferredSize): Return super plus some extra space for
8374         better readability.
8375
8376 2006-08-16  Roman Kennke  <kennke@aicas.com>
8377
8378         * javax/swing/plaf/metal/MetalTreeUI.java
8379         (LineStyleListener): New property listener, that updates
8380         the line style setting if the corresponding property
8381         changes.
8382         (lineStyleListener): New field.
8383         (lineStyle): New field.
8384         (LINE_STYLE_ANGLED): New constant field.
8385         (LINE_STYLE_HORIZONTAL): New constant field.
8386         (LINE_STYLE_NONE): New constant field.
8387         (LINE_STYLE_VALUE_ANGLED): New constant field.
8388         (LINE_STYLE_VALUE_HORIZONTAL): New constant field.
8389         (LINE_STYLE_VALUE_NONE): New constant field.
8390         (LINE_STYLE_PROPERTY): New constant field.
8391         (decodeLineStyle): Implemented.
8392         (installUI): Install line style listener. Set initial
8393         lineStyle.
8394         (uninstallUI): Uninstall line style listener.
8395         (paintHorizontalPartOfLeg): Only call super for angled
8396         lineStyle.
8397         (paintVerticalPartOfLeg): Only call super for angled
8398         lineStyle.
8399         (paintHorizontalSeparators): Implemented.
8400         (paint): If lineStyle==HORIZONTAL, call
8401         paintHorizontalSeparators().
8402         * examples/gnu/classpath/examples/swing/TreeDemo.java
8403         (createContent): Add panel for selecting line styles.   
8404
8405 2006-08-16  Robert Schuster  <robertschuster@fsfe.org>
8406         
8407         * examples/gnu/classpath/demo/swing/TabbedPaneDemo.java:
8408         (createContent): Rewritten.
8409         (createPlacementChangingMenuItem): New method.
8410         (createLayoutPolicyChangingMenuItem): New method.
8411         (createTabbedPane): New method.
8412         (createTabContent): New method.
8413
8414 2006-08-16  Robert Schuster  <robertschuster@fsfe.org>
8415
8416         * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
8417         (MouseHandler.mousePressed): Fixed indentation, intercept clicks on
8418         disabled tabs, do proper revalidation in WRAP_TAB_LAYOUT mode.
8419
8420 2006-08-16  Robert Schuster  <robertschuster@fsfe.org>
8421
8422         * javax/swing/text/WrappedPlainView.java:
8423         (WrappedLine.modelToView): Provide variable pos as argument and not a fixed value.
8424         (calculateBreakPosition): Add p0 to return value.
8425
8426 2006-08-15  Roman Kennke  <kennke@aicas.com>
8427
8428         * javax/swing/plaf/basic/BasicTreeUI.java
8429         (MouseHandler.selectedOnPress): New field.
8430         (MouseHandler.handleEvent): New helper method for handling
8431         selection and start/stop editing for mouse events.
8432         (MouseHandler.mouseDragged): Commented as no-op method.
8433         (MouseHandler.mouseMoved): Commented as no-op method.
8434         (MouseHandler.mousePressed): Use handleEvent() to handle
8435         selection and editing handling.
8436         (MouseHandler.mouseReleased): Use handleEvent() to handle
8437         selection and editing handling.
8438         (MouseInputHandler.MouseInputHandler): Register itself
8439         as mouse listener on source. Redispatch event to
8440         destination.
8441         (MouseInputHandler.dispatch): New helper method.
8442         (MouseInputHandler.mouseClicked): Dispatch event.
8443         (MouseInputHandler.mouseDragged): Dispatch event.
8444         (MouseInputHandler.mouseEntered): Stop dispatching
8445         if dragging stopped.
8446         (MouseInputHandler.mouseExited): Stop dispatching
8447         if dragging stopped.
8448         (MouseInputHandler.mouseMoved): Stop dispatching.
8449         (MouseInputHandler.mousePressed): Marked as no-op.
8450         (MouseInputHandler.mouseReleased): Dispatch and stop
8451         dispatching afterwards.
8452         (MouseInputHandler.removeFromSource): Implemented.
8453         (PropertyChangeHandler.propertyChange): Also handle
8454         editable property changes by calling setEditable().
8455         (SelectionModelPropertyChangeHandler.propertyChange):
8456         Reset row selection.
8457         (startEditTimer): Removed.
8458         (setCellEditor): Call updateEditor().
8459         (setEditable): Call updateEditor().
8460         (startEditingAtPath): Make path fully visible before starting
8461         editing.
8462         (startEditing): Maybe cancel previous edit session. Add
8463         editing component itself, not its parent container.
8464         Register MouseInputHandler for correctly redispatching
8465         initial events.
8466         (stopEditing): Message cellEditor and only completeEditing()
8467         when approved by cell editor.
8468         (updateCellEditor): Complete editing before updating
8469         the cell editor. Get cell editor from JTree if possible,
8470         otherwise create default editor. Update the listeners
8471         on the editor.
8472         * javax/swing/tree/DefaultTreeCellEditor.java
8473         (CLICK_COUNT_TO_START): Removed.
8474         (DefaultTreeCellEditor): Install correct border. Let setTree()
8475         update the listeners. Don't initialize lastPath and font yet.
8476         (actionPerformed): Implemented to start editing.
8477         (createTreeCellEditor): Set click count to start to 1, rather than
8478         3.
8479         (isCellEditable): Prepare editor here. Determine if we can
8480         start immediately, or if we trigger a timer to do so.
8481         (prepareForEditing): Don't removeAll() (not necessary),
8482         check editingComponent to be non-null.
8483         (setTree): Update listeners.
8484         (shouldStartEditingTimer): Check for left mouse button.
8485         (startEditingTimer): Lazily create timer.
8486
8487 2006-08-15  Lillian Angel  <langel@redhat.com>
8488
8489         * java/awt/dnd/DropTargetDragEvent.java
8490         (getTransferable): Implemented.
8491
8492 2006-08-15  Roman Kennke  <kennke@aicas.com>
8493
8494         * java/util/Vector.java
8495         (removeAll): Added comment about NPE.
8496         (retainAll): Added comment about NPE.
8497
8498 2006-08-15  Roman Kennke  <kennke@aicas.com>
8499
8500         * java/util/zip/ZipFile.java
8501         (UTF8DECODER): Removed.
8502         (UTF8CHARSET): New constant field. Stores the UTF8 charset.
8503         (utf8Decoder): New instance field.
8504         (decodeChars): Lazily create UTF8 decoder. Use instance
8505         field rather than a static field to avoid corruption.
8506
8507 2006-08-15  Roman Kennke  <kennke@aicas.com>
8508
8509         * java/io/PrintStream.java
8510         (line_separator): Provide default for system property.
8511         * java/io/FileDescriptor.java
8512         (valid): Create local copy of channel field for better
8513         threading safetly.
8514
8515 2006-08-15  Ingo Proetel  <proetel@aicas.com>
8516
8517         * java/util/zip/ZipFile.java
8518         (PartialInputStream.UTF8DECODER): New constant field, used
8519         for decoding UTF8 strings.
8520         (readLeShort): Access buffer directly if it has enough bytes
8521         available.
8522         (readLeInt): Access buffer directly if it has enough bytes
8523         available.
8524         (decodeChars): New helper method for decoding UTF8 strings.
8525         (readString): Avoid NIO charset decoder if possible.
8526
8527 2006-08-15  Roman Kennke  <kennke@aicas.com>
8528
8529         * java/util/Vector.java
8530         (removeAll): Don't explicitly null-check here. The RI allows
8531         null arguments when Vector is empty. In other cases we
8532         implicitly throw an NPE.
8533         (retainAll): Don't explicitly null-check here. The RI allows
8534         null arguments when Vector is empty. In other cases we
8535         implicitly throw an NPE.
8536
8537 2006-08-14  Casey Marshall  <csm@gnu.org>
8538
8539         Merge in ssl-nio-branch work. See `ChangeLog-ssl-nio' for a record
8540         of changes made on this branch.
8541         Files modified:
8542         * gnu/classpath/debug/Component.java
8543         * gnu/classpath/debug/SystemLogger.java
8544         * gnu/java/security/action/GetPropertyAction.java
8545         * gnu/java/security/action/GetSecurityPropertyAction.java
8546         * gnu/javax/crypto/RSACipherImpl.java
8547         * gnu/javax/net/ssl/PrivateCredentials.java
8548         * gnu/javax/net/ssl/provider/Alert.java
8549         * gnu/javax/net/ssl/provider/AlertException.java
8550         * gnu/javax/net/ssl/provider/Certificate.java
8551         * gnu/javax/net/ssl/provider/CertificateRequest.java
8552         * gnu/javax/net/ssl/provider/CertificateType.java
8553         * gnu/javax/net/ssl/provider/CertificateVerify.java
8554         * gnu/javax/net/ssl/provider/CipherSuite.java
8555         * gnu/javax/net/ssl/provider/ClientHello.java
8556         * gnu/javax/net/ssl/provider/ClientKeyExchange.java
8557         * gnu/javax/net/ssl/provider/CompressionMethod.java
8558         * gnu/javax/net/ssl/provider/Constructed.java
8559         * gnu/javax/net/ssl/provider/ContentType.java
8560         * gnu/javax/net/ssl/provider/DiffieHellman.java
8561         * gnu/javax/net/ssl/provider/Extension.java
8562         * gnu/javax/net/ssl/provider/Finished.java
8563         * gnu/javax/net/ssl/provider/Handshake.java
8564         * gnu/javax/net/ssl/provider/Jessie.java
8565         * gnu/javax/net/ssl/provider/ProtocolVersion.java
8566         * gnu/javax/net/ssl/provider/Random.java
8567         * gnu/javax/net/ssl/provider/ServerHello.java
8568         * gnu/javax/net/ssl/provider/ServerKeyExchange.java
8569         * gnu/javax/net/ssl/provider/Signature.java
8570         * gnu/javax/net/ssl/provider/Util.java
8571         * gnu/javax/net/ssl/provider/X509KeyManagerFactory.java
8572         * gnu/javax/net/ssl/provider/X509TrustManagerFactory.java
8573         * java/security/MessageDigest.java
8574         * java/security/MessageDigestSpi.java
8575         * java/security/Signature.java
8576         * java/security/SignatureSpi.java
8577         * javax/crypto/Mac.java
8578         * javax/crypto/MacSpi.java
8579         * javax/net/ssl/HandshakeCompletedEvent.java
8580         * javax/net/ssl/HttpsURLConnection.java
8581         * javax/net/ssl/SSLContext.java
8582         * javax/net/ssl/SSLContextSpi.java
8583         * javax/net/ssl/SSLSession.java
8584         Files added:
8585         * gnu/javax/net/ssl/provider/ServerKeyExchangeBuilder.java 
8586         * gnu/javax/net/ssl/provider/SSLv3HMacSHAImpl.java 
8587         * gnu/javax/net/ssl/provider/SimpleSessionContext.java 
8588         * gnu/javax/net/ssl/provider/ServerRSAParams.java 
8589         * gnu/javax/net/ssl/provider/SSLContextImpl.java 
8590         * gnu/javax/net/ssl/provider/ServerDHParams.java 
8591         * gnu/javax/net/ssl/provider/ClientHelloBuilder.java 
8592         * gnu/javax/net/ssl/provider/ClientDHE_PSKParameters.java 
8593         * gnu/javax/net/ssl/provider/SignatureAlgorithm.java 
8594         * gnu/javax/net/ssl/provider/CipherSuiteList.java 
8595         * gnu/javax/net/ssl/provider/ServerNameList.java 
8596         * gnu/javax/net/ssl/provider/SSLServerSocketImpl.java 
8597         * gnu/javax/net/ssl/provider/CompressionMethodList.java 
8598         * gnu/javax/net/ssl/provider/ServerRSA_PSKParameters.java 
8599         * gnu/javax/net/ssl/provider/ClientKeyExchangeBuilder.java 
8600         * gnu/javax/net/ssl/provider/TrustedAuthorities.java 
8601         * gnu/javax/net/ssl/provider/CertificateStatusRequest.java 
8602         * gnu/javax/net/ssl/provider/ServerHelloDone.java 
8603         * gnu/javax/net/ssl/provider/ServerDHE_PSKParameters.java 
8604         * gnu/javax/net/ssl/provider/SSLSocketImpl.java 
8605         * gnu/javax/net/ssl/provider/ServerHelloBuilder.java 
8606         * gnu/javax/net/ssl/provider/Record.java 
8607         * gnu/javax/net/ssl/provider/SSLRSASignatureImpl.java 
8608         * gnu/javax/net/ssl/provider/EncryptedPreMasterSecret.java 
8609         * gnu/javax/net/ssl/provider/PreSharedKeyManagerFactoryImpl.java 
8610         * gnu/javax/net/ssl/provider/KeyExchangeAlgorithm.java 
8611         * gnu/javax/net/ssl/provider/SSLServerSocketFactoryImpl.java 
8612         * gnu/javax/net/ssl/provider/CertificateBuilder.java 
8613         * gnu/javax/net/ssl/provider/ClientRSA_PSKParameters.java 
8614         * gnu/javax/net/ssl/provider/CertificateStatusType.java 
8615         * gnu/javax/net/ssl/provider/ExtensionList.java 
8616         * gnu/javax/net/ssl/provider/ClientCertificateTypeList.java 
8617         * gnu/javax/net/ssl/provider/ClientPSKParameters.java 
8618         * gnu/javax/net/ssl/provider/X500PrincipalList.java 
8619         * gnu/javax/net/ssl/provider/ServerHandshake.java 
8620         * gnu/javax/net/ssl/provider/ClientDiffieHellmanPublic.java 
8621         * gnu/javax/net/ssl/provider/SessionImpl.java 
8622         * gnu/javax/net/ssl/provider/SSLSocketFactoryImpl.java 
8623         * gnu/javax/net/ssl/provider/ServerPSKParameters.java 
8624         * gnu/javax/net/ssl/provider/TruncatedHMAC.java 
8625         * gnu/javax/net/ssl/provider/MaxFragmentLength.java 
8626         * gnu/javax/net/ssl/provider/HelloRequest.java 
8627         * gnu/javax/net/ssl/provider/ServerKeyExchangeParams.java 
8628         * gnu/javax/net/ssl/provider/UnresolvedExtensionValue.java 
8629         * gnu/javax/net/ssl/provider/CipherAlgorithm.java 
8630         * gnu/javax/net/ssl/provider/ClientHandshake.java 
8631         * gnu/javax/net/ssl/provider/ExchangeKeys.java 
8632         * gnu/javax/net/ssl/provider/CertificateURL.java 
8633         * gnu/javax/net/ssl/provider/EmptyExchangeKeys.java 
8634         * gnu/javax/net/ssl/provider/CertificateRequestBuilder.java 
8635         * gnu/javax/net/ssl/provider/SSLv3HMacMD5Impl.java 
8636         * gnu/javax/net/ssl/provider/Builder.java 
8637         * gnu/javax/net/ssl/provider/Debug.java 
8638         * gnu/javax/net/ssl/provider/SSLEngineImpl.java 
8639         * gnu/javax/net/ssl/provider/MacAlgorithm.java 
8640         * gnu/javax/net/ssl/provider/DelegatedTask.java 
8641         * gnu/javax/net/ssl/provider/InputSecurityParameters.java 
8642         * gnu/javax/net/ssl/provider/ClientHelloV2.java 
8643         * gnu/javax/net/ssl/provider/OutputSecurityParameters.java 
8644         * gnu/javax/net/ssl/provider/AbstractHandshake.java 
8645         * javax/net/ssl/SSLEngine.java 
8646         * javax/net/ssl/CertPathTrustManagerParameters.java 
8647         * javax/net/ssl/KeyStoreBuilderParameters.java 
8648         * javax/net/ssl/X509ExtendedKeyManager.java 
8649         * javax/net/ssl/SSLEngineResult.java 
8650         * gnu/javax/net/ssl/PreSharedKeyManager.java 
8651         * gnu/javax/net/ssl/Session.java 
8652         * gnu/javax/net/ssl/PreSharedKeyManagerParameters.java 
8653         * gnu/javax/net/ssl/SSLCipherSuite.java 
8654         * gnu/javax/net/ssl/AbstractSessionContext.java 
8655         * gnu/javax/net/ssl/SessionStoreException.java 
8656         * gnu/javax/net/ssl/SSLRecordHandler.java 
8657         * gnu/javax/net/ssl/SSLProtocolVersion.java 
8658         * gnu/javax/crypto/key/GnuPBEKey.java 
8659         * gnu/java/security/util/ByteBufferOutputStream.java 
8660         * gnu/java/security/Requires.java 
8661         * gnu/javax/security/auth/callback/CertificateCallback.java 
8662         Files removed:
8663         * gnu/javax/net/ssl/provider/Context.java
8664         * gnu/javax/net/ssl/provider/DigestInputStream.java
8665         * gnu/javax/net/ssl/provider/DigestOutputStream.java
8666         * gnu/javax/net/ssl/provider/Enumerated.java
8667         * gnu/javax/net/ssl/provider/Extensions.java
8668         * gnu/javax/net/ssl/provider/GNUSecurityParameters.java
8669         * gnu/javax/net/ssl/provider/JCESecurityParameters.java
8670         * gnu/javax/net/ssl/provider/JDBCSessionContext.java
8671         * gnu/javax/net/ssl/provider/JessieDHPrivateKey.java
8672         * gnu/javax/net/ssl/provider/JessieDHPublicKey.java
8673         * gnu/javax/net/ssl/provider/JessieRSAPrivateKey.java
8674         * gnu/javax/net/ssl/provider/JessieRSAPublicKey.java
8675         * gnu/javax/net/ssl/provider/KeyPool.java
8676         * gnu/javax/net/ssl/provider/OverflowException.java
8677         * gnu/javax/net/ssl/provider/RecordInput.java
8678         * gnu/javax/net/ssl/provider/RecordInputStream.java
8679         * gnu/javax/net/ssl/provider/RecordOutputStream.java
8680         * gnu/javax/net/ssl/provider/RecordingInputStream.java
8681         * gnu/javax/net/ssl/provider/SSLRSASignature.java
8682         * gnu/javax/net/ssl/provider/SSLServerSocket.java
8683         * gnu/javax/net/ssl/provider/SSLServerSocketFactory.java
8684         * gnu/javax/net/ssl/provider/SSLSocket.java
8685         * gnu/javax/net/ssl/provider/SSLSocketFactory.java
8686         * gnu/javax/net/ssl/provider/SSLSocketInputStream.java
8687         * gnu/javax/net/ssl/provider/SSLSocketOutputStream.java
8688         * gnu/javax/net/ssl/provider/SecurityParameters.java
8689         * gnu/javax/net/ssl/provider/Session.java
8690         * gnu/javax/net/ssl/provider/SessionContext.java
8691         * gnu/javax/net/ssl/provider/SynchronizedRandom.java
8692         * gnu/javax/net/ssl/provider/XMLSessionContext.java
8693
8694 2006-08-14  Roman Kennke  <kennke@aicas.com>
8695
8696         * javax/swing/plaf/basic/BasicSplitPaneDivider.java
8697         (DividerLayout.layoutContainer): Removed debug output.
8698         * javax/swing/plaf/basic/BasicSplitPaneUI.java
8699         (BasicHorizontalLayoutManager.axis): New field.
8700         (BasicHorizontalLayoutManager.BasicHorizontalLayoutManager(int)):
8701         New constructor.
8702         (BasicHorizontalLayoutManager.BasicHorizontalLayoutManager()):
8703         Call new axis constructor.
8704         (BasicHorizontalLayoutManager.getAvailableSize): Refactored to
8705         handle direction.
8706         (BasicHorizontalLayoutManager.getInitialLocation): Refactored to
8707         handle direction.
8708         (BasicHorizontalLayoutManager.getPreferredSizeOfComponent):
8709         Refactored to handle direction.
8710         (BasicHorizontalLayoutManager.getSizeOfComponent): Refactored
8711         to handle direction.
8712         (BasicHorizontalLayoutManager.minimumLayoutSize): Refactored to
8713         handle direction.
8714         (BasicHorizontalLayoutManager.preferredLayoutSize): Refactored
8715         to handle direction.
8716         (BasicHorizontalLayoutManager.minimumSizeOfComponent): Refactored
8717         to handle direction.
8718         (BasicHorizontalLayoutManager.setComponentToSize): Refactored
8719         to handle direction.
8720         (BasicHorizontalLayoutManager.updateComponents): Don't reset
8721         divider size.
8722         (BasicVerticalLayoutManager.BasicVerticalLayoutManager):
8723         New explicit constructor. Calls super with vertical axis.
8724         (BasicVerticalLayoutManager.getAvailableSize): Functionality moved
8725         to BasicHorizontalLayoutManager.
8726         (BasicVerticalLayoutManager.getInitialLocation): Functionality
8727         moved to BasicHorizontalLayoutManager.
8728         (BasicVerticalLayoutManager.getPreferredSizeOfComponent):
8729         Functionality moved to BasicHorizontalLayoutManager.
8730         (BasicVerticalLayoutManager.getSizeOfComponent): Functionality
8731         moved to BasicHorizontalLayoutManager.
8732         (BasicVerticalLayoutManager.minimumLayoutSize): Functionality
8733         moved to BasicHorizontalLayoutManager.
8734         (BasicVerticalLayoutManager.minimumSizeOfComponent):
8735         Functionality moved to BasicHorizontalLayoutManager.
8736         (BasicVerticalLayoutManager.preferredLayoutSize): Functionality
8737         moved to BasicHorizontalLayoutManager.
8738         (BasicVerticalLayoutManager.setComponentToSize): Functionality
8739         moved to BasicHorizontalLayoutManager.
8740         * javax/swing/plaf/metal/MetalSplitPaneDivider.java
8741         (BUTTON_SPRITE): Renamed to BUTTON_SPRITE_L.
8742         (BUTTON_SPRITE_R): New constant field.
8743         (MetalOneTouchButton.paint): Paint R sprite for right buttons,
8744         L sprite for left buttons.
8745         
8746 2006-08-14  Andreas Tobler  <a.tobler@schweiz.ch>
8747
8748         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
8749         (query_formats): g_free 'name' after usage.
8750         g_strfreev 'ch', the gdk_pixbuf_format_get_extensions instance.
8751         g_strfreev 'ch', the gdk_pixbuf_format_get_mime_types instance.
8752
8753 2006-08-14  Thomas Fitzsimmons  <fitzsim@redhat.com>
8754
8755         PR classpath/27723
8756         * configure.ac (MOZILLA_FOUND): Add pkg-config check for
8757         seamonkey-plugin.
8758
8759 2006-08-14  Francis Kung  <fkung@redhat.com>
8760
8761         PR 28694
8762         * java/awt/image/ColorModel.java
8763         (coerceData): Added check for non-transparent images.
8764
8765 2006-08-14  Francis Kung  <fkung@redhat.com>
8766
8767         * java/awt/image/BandCombineOp.java
8768         (BandCombineOp): Perform checks on validity of matrix.
8769         (createCompatibleDestRaster): Add checks and choose raster type dynamically.
8770         (filter): Updated to work with new matrix storage.
8771         (getMatrix): Updated javadoc.
8772         (getPoint2D): Formatting change.
8773
8774 2006-08-14  Francis Kung  <fkung@redhat.com>
8775
8776         * java/awt/image/AffineTransformOp.java
8777         (AffineTransformOp): Updated javadoc.
8778         (createCompatibleDestImage): Match behaviour of reference implementation.
8779         (createCompatibleDestRaster): Formatting changes.
8780         (filter(BufferedImage, BufferedImage)): Create compatible destination image.
8781         (filter(Raster, WritableRaster)): Re-implemented.
8782         (filterBicubic): New private method.
8783         (filterBilinear): New private method.
8784         (filterNearest): New private method.
8785         (getBounds2D): No longer fixed around one point for rotations.
8786         (getInterpolationType): Add support for bicubic interpolation.
8787
8788 2006-08-14  Roman Kennke  <kennke@aicas.com>
8789
8790         * javax/swing/plaf/metal/MetalLookAndFeel.java
8791         (MetalLookAndFeel): Moved theme initialization to
8792         getDefaults().
8793         (createDefaultTheme): Forward to getCurrentTheme().
8794         (getDefaults): Initialize theme before doing anything else.
8795         (getCurrentTheme): Recognize swing.metalTheme property.
8796
8797 2006-08-14  Roman Kennke  <kennke@aicas.com>
8798
8799         * javax/swing/JTable
8800         (getScrollableUnitIncrement): Expose partially exposed
8801         row in scrolling direction.
8802
8803 2006-08-14  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
8804
8805         * javax/swing/JTable (getScrollableUnitIncrement): 
8806         Removing my name as the whole method body have been
8807         recently completely replaced.
8808
8809 2006-08-14  Roman Kennke  <kennke@aicas.com>
8810
8811         PR 28028
8812         * javax/swing/text/Utilities.java
8813         (getTabbedTextOffset): Don't add p0 here.
8814
8815 2006-08-14  Roman Kennke  <kennke@aicas.com>
8816
8817         PR 28719
8818         * javax/swing/plaf/basic/BasicScrollPaneUI.java
8819         (MouseWheelHandler.mouseWheelMoved): Scroll negative delta
8820         when wheel is going up.
8821
8822 2006-08-14  Roman Kennke  <kennke@aicas.com>
8823
8824         PR 28693
8825         * javax/swing/plaf/basic/BasicSplitPaneDivider.java
8826         (BasicOneTouchButton): New inner class.
8827         (DividerLayout.changeButtonOrientation): Removed.
8828         (DividerLayout.positionButtons): Moved into layoutContainer.
8829         (DividerLayout.layoutContainer): Reworked for correct layout.
8830         (OneTouchAction): New inner class.
8831         (centerOneTouchButtons): New field.
8832         (BasicSplitPaneDivider): Initialize centerOneTouchButton from
8833         UIManager.
8834         (createLeftOneTouchButton): Reimplemented to return
8835         BasicOneTouchButton.
8836         (createRightOneTouchButton): Reimplemented to return
8837         BasicOneTouchButton.
8838         (getPreferredSize): Reimplemented to return fixed preferredSize.
8839         (oneTouchExpandableChanged): Add OneTouchAction action to
8840         buttons. Don't install mouse listeners.
8841         (MouseHandler.mousePressed): Removed handling of one touch buttons.
8842         (paint): Don't trigger extra paint for buttons.
8843         (propertyChange): Revalidate splitPane when orientation is changed.
8844         (setBasicSplitPaneUI): Call oneTouchExpandableChanged only when
8845         oneTouchExpandable is true.
8846         * javax/swing/plaf/basic/BasicSplitPaneUI.java
8847         (installDefaults): Install dividerSize on the divider too.
8848         * javax/swing/plaf/metal/MetalSplitPaneDivider.java
8849         (MetalDividerLayout): Removed. Functionality is already
8850         in BasicSplitPaneDivider.DividerLayout.
8851         (MetalOneTouchButton): New inner class.
8852         (BUTTON_SPRITE): New constant field.
8853         (MetalSplitPaneDivider): Don't change layout.
8854         (createLeftOneTouchButton): Overridden to return custom button
8855         for Metal.
8856         (createRightOneTouchButton): Overridden to return custom button
8857         for Metal.
8858         (paint): Don't trigger button painting. Call super instead.
8859
8860 2006-08-13  Roman Kennke  <kennke@aicas.com>
8861
8862         * javax/swing/plaf/basic/BasicTableHeaderUI.java
8863         (installKeyboardAction): Unmarked as stub. Added comment
8864         explaining that the RI seems to do nothing here.
8865         (uninstallKeyboardAction): Unmarked as stub. Added comment
8866         explaining that the RI seems to do nothing here.
8867
8868 2006-08-13  Roman Kennke  <kennke@aicas.com>
8869
8870         PR 28135
8871         * javax/swing/ScrollPaneLayout.java
8872         (layoutContainer): Consider the viewportBorder of the
8873         JScrollPane.
8874         (minimumLayoutSize): Consider the viewportBorder of the
8875         JScrollPane.
8876         (preferredLayoutSize): Consider the viewportBorder of the
8877         JScrollPane.
8878         * javax/swing/plaf/basic/BasicScrollPaneUI.java
8879         (installDefaults): Also install viewportBorder if specified.
8880         (paint): Paint viewportBorder if present.
8881         (uninstallDefaults): Uninstall viewportBorder if appropriate.
8882         Don't nullify foreground, background and font. Uninstall
8883         border via LookAndFeel helper method to avoid uninstall
8884         user set border.
8885
8886 2006-08-13  Roman Kennke  <kennke@aicas.com>
8887
8888         PR 28696
8889         * javax/swing/plaf/basic/BasicHTML.java
8890         (HTMLRootView.HTMLRootView): Trigger initial layout.
8891         (HTMLRootView.setSize): Overridden to forward to real view.
8892         * javax/swing/plaf/basic/BasicToolTipUI.java
8893         (PropertyChangeHandler): New inner class. Updates the HTML
8894         renderer.
8895         (propertyChangeHandler): New field.
8896         (getMaximumSize): Add HTML width delta.
8897         (getMinimumSize): Add HTML width delta.
8898         (getPreferredSize): Reimplemented to use HTML view for size
8899         calculation if appropriate, otherwise use simple stringWidth()
8900         measurement.
8901         (installListeners): Install propertyChangeHandler.
8902         (uninstallListeners): Uninstall propertyChangeHandler.
8903         (installUI): Update HTML renderer.
8904         (uninstallUI): Update HTML renderer.
8905         (paint): Reimplemented to use HTML view for rendering if
8906         appropriate, simple drawString otherwise.
8907         * javax/swing/plaf/metal/MetalToolTipUI.java
8908         (getPreferredSize): Call super and add accelerator delta.
8909         (paint): Simply call super.
8910
8911 2006-08-13  Roman Kennke  <kennke@aicas.com>
8912
8913         * javax/swing/JMenu.java
8914         (changeListener): Renamed to menuChangeListener to avoid
8915         shadowing changeListener field from AbstractButton.
8916
8917 2006-08-13  Roman Kennke  <kennke@aicas.com>
8918
8919         * javax/swing/JTree.java
8920         (getScrollableUnitIncrement): Fixed direction.
8921         (getScrollableBlockIncrement): Implemented to scroll one
8922         page.
8923         * javax/swing/tree/VariableHeightLayoutCache.java
8924         (distance): Consider y + height already outside the node.
8925
8926 2006-08-13  Roman Kennke  <kennke@aicas.com>
8927
8928         * javax/swing/JTable.java
8929         (getScrollableUnitIncrement): Fixed direction. Make it behave
8930         like the RI.
8931         (getScrollableBlockIncrement): Fixed direction. Make it behave
8932         like the RI.
8933
8934 2006-08-13  Roman Kennke  <kennke@aicas.com>
8935
8936         * javax/swing/JList.java
8937         (getScrollableUnitIncrement): Fixed direction. Implemented
8938         horizontal scrolling. Improved usability.
8939         (getScrollableBlockIncrement): Fixed direction. Improved usability.
8940
8941 2006-08-13  Roman Kennke  <kennke@aicas.com>
8942
8943         * javax/swing/plaf/basic/BasicScrollBarUI.java
8944         (scrollByUnit): Scroll by -unit when direction is not positive
8945         and +unit otherwise.
8946         (scrollByBlock): Scroll by -unit when direction is not positive
8947         and +unit otherwise.
8948
8949 2006-08-13  Roman Kennke  <kennke@aicas.com>
8950
8951         PR 28028
8952         * javax/swing/text/PlainView.java
8953         (paint): Limit painted area to the lines inside the clip
8954         and allocation.
8955
8956 2006-08-13  Roman Kennke  <kennke@aicas.com>
8957
8958         * javax/swing/plaf/basic/BasicTextUI.java
8959         (uninstallListeners): Unregister document listener.
8960
8961 2006-08-13  Sven de Marothy  <sven@physto.se>
8962
8963         * java/util/Locale.java
8964         (hashcodeCache): New field.
8965         (hashCode): use the above field instead of the serialized one
8966         (writeObject): Removed method.
8967         (readObject): Intern strings.
8968         (equals): Revert to previous method.
8969
8970 2006-08-13  Roman Kennke  <kennke@aicas.com>
8971
8972         * javax/swing/JTabbedPane.java
8973         (JTabbedPane): Call setModel() here and let this install the
8974         change listener correctly.
8975         (setModel): Correctly uninstall and reinstall ChangeListener when
8976         model changes.
8977
8978 2006-08-13  Raif S. Naffah  <raif@swiftdsl.com.au>
8979
8980         PR Classpath/23952
8981         * java/util/ResourceBundle.java (CACHE_SIZE): New constant.
8982         (bundleCache): Replaced with an LRU of CACHE_SIZE elements.
8983         (lastDefaultLocale): Removed.
8984         (emptyLocale): Likewise.
8985         (BundleKey.defaultLocale): New field.
8986         (BundleKey.BundleKey): Add a Locale (as a 1st positional) argument.
8987         (BundleKey.set): Likewise.
8988         (BundleKey.equals): Take defaultLocal field into consideration.
8989         (getBundle(String, Locale, ClassLoader)): Use updated BundleKey and LRU.
8990
8991 2006-08-13  Roman Kennke  <kennke@aicas.com>
8992
8993         * javax/swing/JMenu.java
8994         (MenuChangeListener): New inner class, helps firing menu events.
8995         (changeListener): New field.
8996         (add(text)): Create new JMenuItem here and call add(JMenuItem).
8997         (add(Action)): Create Action using createActionComponent()
8998         and add via add(Component).
8999         (setModel): Install and uninstall MenuChangeListener here.
9000
9001 2006-08-13  Raif S. Naffah  <raif@swiftdsl.com.au>
9002
9003         PR Classpath/27372
9004         * java/math/BigInteger.java: Updated copyright year.
9005         (init): Consume as little bytes as possible.
9006         (BigInteger(int, int, Random)): Ensure bitLength bits are used.
9007         (valueOf(String, int)): Throw NumberFormatException for malformed strings
9008         as per RI's documentation.
9009
9010 2006-08-13  Sven de Marothy  <sven@physto.se>
9011
9012         * java/util/Locale.java
9013         (hashcode): Is a serialized field, not transient.
9014         (equals): Should NOT compare strings by reference.
9015         (readObject/writeObject): Use the default methods and handle the hash
9016         seperately.
9017
9018 2006-08-13  Raif S. Naffah  <raif@swiftdsl.com.au>
9019
9020         PR Classpath/28678
9021         * gnu/java/security/Engine.java (getInstance(String, String, Provider)):
9022         Updated documentation.
9023         Formatting.
9024         (getInstance(String, String, Provider, Object[])): Likewise.
9025         Separate checks for null and empty string arguments.
9026         Include as much information as possible in the exception's message.
9027         Do not swallow original exception; instead use it as the cause of the
9028         resulting exception.
9029         * gnu/javax/security/auth/callback/AbstractCallbackHandler.java
9030         (getInstance(String)): Updated documentation.
9031         Formatting.
9032         Store last exception caught when iterating through all providers.
9033         If no implementation found, raise last exception if one was caught.
9034         (getInstance(String, String)): Updated documentation.
9035         Formatting.
9036         Check for null or empty provider as per RI-5's documentation.
9037         (getInstance(String, Provider)): Updated documentation.
9038         Formatting.
9039         Use as much information as possible in the exception message.
9040         Do not swallow original exception; instead use it as the cause for the
9041         ultimate raised exception(s).
9042         * java/security/cert/CertificateFactory.java: Likewise.
9043         * java/security/cert/CertPathBuilder.java: Likewise.
9044         * java/security/cert/CertPathValidator.java: Likewise.
9045         * java/security/cert/CertStore.java: Likewise.
9046         * java/security/AlgorithmParameterGenerator.java: Likewise.
9047         * java/security/AlgorithmParameters.java: Likewise.
9048         * java/security/KeyFactory.java: Likewise.
9049         * java/security/KeyPairGenerator.java: Likewise.
9050         * java/security/KeyStore.java: Likewise.
9051         * java/security/MessageDigest.java: Likewise.
9052         * java/security/SecureRandom.java: Likewise.
9053         * java/security/Signature.java: Likewise.
9054         * javax/crypto/Cipher.java: Likewise.
9055         * javax/crypto/ExemptionMechanism.java: Likewise.
9056         * javax/crypto/KeyAgreement.java: Likewise.
9057         * javax/crypto/KeyGenerator.java: Likewise.
9058         * javax/crypto/Mac.java: Likewise.
9059         * javax/crypto/SecretKeyFactory.java: Likewise.
9060         * javax/net/ssl/KeyManagerFactory.java: Likewise.
9061         * javax/net/ssl/SSLContext.java: Likewise.
9062         * javax/net/ssl/TrustManagerFactory.java: Likewise.
9063
9064 2006-08-13  Roman Kennke  <kennke@aicas.com>
9065
9066         * javax/swing/JEditorPane.java
9067         (getScrollableTracksViewportHeight): Also check maximum size.
9068         * javax/swing/JTextPane.java
9069         (insertIcon): Use input attributes for adding the icon
9070         attribute.
9071         * javax/swing/plaf/basic/BasicTextUI.java
9072         (RootView.setSize): Overridden to forward to real view.
9073         (getPreferredSize): Trigger setSize() on the view.
9074         (viewToModel(JTextComponent,Point)): Pass Position.Bias array
9075         to viewToModel() call, rather then null.
9076         * javax/swing/text/ParagraphView.java
9077         (changedUpdate): Invalide layout. Call super.
9078         * javax/swing/text/SimpleAttributeSet.java
9079         (clone): Use super's clone method to create clone.
9080         * javax/swing/text/StyleConstants.java
9081         (setIcon): Also set element name attribute.
9082         * javax/swing/text/StyledEditorKit.java
9083         (BoldAction.actionPerformed): Actually set the bold attribute,
9084         not italic.
9085         (setCharacterAttributes): Replaced with more straightforward
9086         impl.
9087         * javax/swing/text/TextAction.java
9088         (getFocusedComponent): Implemented.
9089         * javax/swing/text/Utilities.java
9090         (getNextVisualPositionFrom): Pass Position.Bias arrays instead
9091         of null.
9092         * javax/swing/text/View.java
9093         (changedUpdate): Nullify element change when updateChildren
9094         says so.
9095
9096 2006-08-11  Andrew John Hughes  <gnu_andrew@member.fsf.org>
9097
9098         * vm/reference/gnu/java/lang/management/VMMemoryMXBeanImpl.java:
9099         Fix documentation typos.
9100
9101 2006-08-11  David Daney  <ddaney@avtrex.com>
9102
9103         PR classpath/28580
9104         * gnu/java/net/protocol/http/Request.java (readResponse):  Call
9105         createResponseBodyStream in more cases and with new parameter.
9106         (createResponseBodyStream):  Added new parameter mayHaveBody.  Handle
9107         HEAD and !mayHaveBody responses specially.
9108         
9109 2006-08-11  Roman Kennke  <kennke@aicas.com>
9110
9111         * javax/swing/text/GlyphView.java
9112         (DefaultGlyphPainter.modelToView): Fixed model->view mapping.
9113         * javax/swing/text/LabelView.java
9114         (valid): New flag indicating if the text attributes are valid.
9115         (LabelView): Initialize valid field with false.
9116         (setPropertiesFromAttributes): Call setter methods instead
9117         of setting properties directly. Set valid to true.
9118         (changedUpdate): Invalidate attributes. Call super.
9119         (getBackground): Sync attributes if necessary.
9120         (getForeground): Sync attributes if necessary.
9121         (getFont): Sync attributes if necessary.
9122         (isUnderline): Sync attributes if necessary.
9123         (isSuperscript): Sync attributes if necessary.
9124         (isStrikeThrough): Sync attributes if necessary.
9125         (getFontMetrics): Sync attributes if necessary. Fetch font metrics
9126         from toolkit if Container is not available yet.
9127
9128 2006-08-11  Roman Kennke  <kennke@aicas.com>
9129
9130         * javax/swing/text/PlainView.java
9131         (tabBase): New field.
9132         (tabSize): New field.
9133         (updateMetrics): Update tabSize.
9134         (lineToRect): Only allocate when really necessary.
9135         (modelToView): Use tabBase for offset calculations.
9136         (paint): Only allocate when really necessary. Update tabBase.
9137         (nextTabStop): Fixed tab calculation.
9138         (viewToModel): Correctly handle multiline text and locations
9139         outside the view's bounds. Set bias.
9140         (getLineLength): Use tabBase.
9141         * javax/swing/text/Utilities.java
9142         (drawTabbedText): Don't special case newlines. The views
9143         must take care of this.
9144
9145 2006-08-11  Roman Kennke  <kennke@aicas.com>
9146
9147         * javax/swing/text/GapContent.java
9148         (UndoPosRef): New inner class. Used for resetting positions
9149         after undo/redo operations.
9150         (InsertUndo.positions): New field.
9151         (InsertUndo.undo): Store positions in removed range.
9152         (InsertUndo.redo): Restore positions in re-inserted range.
9153         (UndoRemove.positions): New field.
9154         (UndoRemove.UndoRemove): Store positions in removed range.
9155         (UndoRemove.undo): Restore positions in re-inserted range.
9156         (UndoRemove.redo): Store positions in removed range.
9157         (insertString): Create InsertUndo instance before actually
9158         inserting the string.
9159         (remove): Create UndoRemove instance before actually
9160         removing.
9161         (getPositionsInRange): Don't clear the Vector. Return Vector
9162         of UndoPosRefs.
9163         (updateUndoPositions): Implemented to reset all UndoPosRefs
9164         in the vector.
9165
9166 2006-08-11  Jeroen Frijters  <jeroen@frijters.net>
9167
9168         * java/io/ObjectInputStream.java (readClassDescriptor):
9169         Use class's class loader to resolve field types.
9170         * java/io/ObjectStreamField.java
9171         (ObjectStreamField(String,String,ClassLoader)): Removed.
9172         (ObjectStreamField(String,String)): Don't try to resolve typename.
9173         (resolveType): New method.
9174
9175 2006-08-10  Roman Kennke  <kennke@aicas.com>
9176
9177         * javax/swing/text/BoxView.java
9178         (calculateMajorAxisRequirements): Sum up the preferred and
9179         maximum sizes.
9180         (isAfter): Also add in the rectangle's with/height.
9181         (childAllocation): Don't trigger layout here.
9182         (layoutMinorAxis): Removed debug output.
9183         (getWidth): Consider the insets.
9184         (getHeight): Consider the insets.
9185         (setSize): Consider the insets.
9186         (updateRequirements): Check axis and throw
9187         IllegalArgumentException.
9188
9189 2006-08-10  Roman Kennke  <kennke@aicas.com>
9190
9191         * javax/swing/text/AbstractDocument.java
9192         (BidiRootName): New constant field, denotes the element name
9193         for bidi root elements.
9194         (AsyncLoadPriority): New constant field, denotes the property
9195         to store the asynchronousLoadPriority.
9196         (I18N): New constant field, denotes the property for
9197         I18N support.
9198         (bidiRoot): Made field type BidiRootElement.
9199         (AbstractDocument): Build initial element structure for
9200         bidi.
9201         (getAsynchronousLoadPriority): Implemented. Returns the
9202         value stored in the document properties.
9203         (setAsynchronousLoadPriority): Implemented. Sets the
9204         value stored in the document properties.
9205         (getEndPosition): Implemented to use a Position from the
9206         content.
9207         (getStartPosition): Implemented to use a Position from the
9208         content.
9209         (insertStringImpl): Update the I18N setting if necessary.
9210         (insertUpdate): Update the bidi structure if necessary.
9211         (postRemoveUpdate): Update the bidi structure if necessary.
9212         (putProperty): Update the I18N setting and bidi structure
9213         if necessary.
9214         (updateBidi): New helper method for updating the bidi
9215         structure.
9216         (getBidis): New helper method. Fetches the Bidi analysers
9217         for the paragraphs of the range to check.
9218         (dump): Also dump the bidi structure.
9219         (AbstractElement.dump): Indent the '>' correctly.
9220         (AbstractElement.children): Check numChildren rather then
9221         children.length.
9222         (BidiRootElement): New inner class.
9223         (BidiElement): New inner class.
9224
9225 2006-08-10  Roman Kennke  <kennke@aicas.com>
9226
9227         * javax/swing/text/GapContent.java
9228         (getChars): Optimized to only copy array when really necessary.
9229         Respect the partialReturn property.
9230
9231 2006-08-10  Lillian Angel  <langel@redhat.com>
9232
9233         * gnu/java/awt/dnd/peer/gtk/GtkDragSourceContextPeer.java
9234         (getComponentPeer): Added check to prevent NPE.
9235
9236 2006-08-10  Gary Benson  <gbenson@redhat.com>
9237
9238         * java/security/AccessControlContext.java (<init>):
9239         Avoid a duplicated AccessController.getContext() call.
9240
9241 2006-08-09  Mark Wielaard  <mark@klomp.org>
9242   
9243         * doc/www.gnu.org/newsitems.txt: Add 0.92.
9244         * doc/www.gnu.org/downloads/downloads.wml: Likewise.
9245         * doc/www.gnu.org/announce/20060809.wml: New file.
9246
9247 2006-08-09  Mark Wielaard  <mark@klomp.org>
9248
9249         * configure.ac (VERSION): Set to 0.92-generics.
9250         * NEWS: Add updates for 0.92 release.
9251
9252 2006-08-09  Tom Tromey  <tromey@redhat.com>
9253
9254         PR classpath/28658:
9255         * java/text/SimpleDateFormat.java (parse): Let an unquoted space in
9256         the pattern match any number of spaces in the text.
9257
9258 2006-08-09  Sven de Marothy  <sven@physto.se>
9259
9260         * java/awt/image/BufferedImage.java
9261         (BufferedImage): Reimplement predefined-type constructor.
9262         (observers/tileObservers): Field renamed to tileObservers.
9263         (createDefaultIndexedColorModel): New method.
9264
9265 2006-08-09  Tom Tromey  <tromey@redhat.com>
9266
9267         PR classpath/28666:
9268         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice.c
9269         (Java_gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice_nativeGetDisplayModes):
9270         Create a 'short' array.
9271
9272 2006-08-09  Tom Tromey  <tromey@redhat.com>
9273
9274         * tools/gnu/classpath/tools/javah/JniHelper.java (getName): Properly
9275         handle arrays.
9276         * tools/gnu/classpath/tools/javah/JniIncludePrinter.java
9277         (writeFields): Print "L" after int constant.  Don't mangle the field
9278         name.  Only print int/long fields.
9279
9280 2006-08-09  Tom Tromey  <tromey@redhat.com>
9281
9282         * tools/gnu/classpath/tools/javah/Main.java (getParser): Name program
9283         "javah".
9284
9285 2006-08-09  Sven de Marothy  <sven@physto.se>
9286
9287         * javax/swing/JTree.java
9288         (JTree): Default SelectionModel should be DefaultTreeSelectionModel.
9289         (setSelectionModel): Null parameter should create an EmptySelectionM.
9290
9291 2006-08-09  Roman Kennke  <kennke@aicas.com>
9292
9293         * javax/swing/text/AbstractDocument.java
9294         (insertString): Perform modifications inside a write lock.
9295         (insertStringImpl): Don't lock here. This is already done
9296         in insertString().
9297         (replace): Perform modifications inside a write lock.
9298         (AbstractElement.AbstractElement): Call addAttributes() to
9299         add the attributes.
9300         (AbstractElement.getName): Fetch name from the ElementNameAttibute.
9301         (BranchElement.lastIndex): New field. Optimizes getElementIndex().
9302         (BranchElement.BranchElement): Set lastIndex to -1.
9303         (BranchElement.getElementIndex): Implemented more efficient
9304         search.
9305
9306 2006-08-09  Roman Kennke  <kennke@aicas.com>
9307
9308         * javax/swing/text/DefaultStyledDocument.java
9309         (Edit): Moved this inner class into ElementBuffer where it
9310         is actually needed.
9311         (edits): Moved this field into ElementBuffer.
9312         (getEditForParagraphAndIndex): Removed obsolete method.
9313         (insertUpdate): Added some optimizations and fixes. Split
9314         out handling insertion after newlines.
9315         (insertAfterNewline): New helper method. Handles insertions
9316         after a newline.
9317         (ElementBuffer.Edit): New inner class. Moved here from
9318         DefaultStyledDocument.
9319         (ElementBuffer.createdFracture): New field.
9320         (ElementBuffer.documentEvent): Made private.
9321         (ElementBuffer.edits): New field. Moved here from
9322         DefaultStyledDocument.
9323         (ElementBuffer.fracNotCreated): Replaced by createdFracture.
9324         (ElementBuffer.fracturedChild): New field.
9325         (ElementBuffer.fracturedParent): New field.
9326         (ElementBuffer.insertPath): New field.
9327         (ElementBuffer.lastFractured): Removed. Replaced by fracturedChild and
9328         fracturedParent.
9329         (ElementBuffer.offsetLastIndex): New field.
9330         (ElementBuffer.offsetLastIndexReplace): New field.
9331         (ElementBuffer.recreateLeafs): New field.
9332         (ElementBuffer.ElementBuffer): Don't initialize stack here.
9333         (ElementBuffer.canJoin): New helper method.
9334         (ElementBuffer.changeUpdate): Changed to use elementStack with
9335         Edits rather than Elements. Let the split method do the work.
9336         (ElementBuffer.cloneAsNecessary): New helper method.
9337         (ElementBuffer.createFracture): Changed to fracture the bottommost
9338         child in the stack.
9339         (ElementBuffer.finishEdit): New helper method. Moved out
9340         from insertUpdate to perform the actual changes and update
9341         the event.
9342         (fracture): New helper method.
9343         (insertContentTag): Fixed some bugs and changed to use Edit
9344         instances in the stack, rather then Elements.
9345         (insertElement): New helper method. Moved out from insertUpdate()
9346         to process the ElementSpecs.
9347         (insertFirstContentTag): Fixed some problems and changed to use Edit
9348         instances in the stack, rather then Elements.
9349         (insertFracture): Removed. Basically moved into createFracture()
9350         and fracture().
9351         (insertParagraph): Removed.
9352         (insertUpdate): Split out the ElementSpec processing into
9353         insertElement(). Use Edit instances in the stack. Fixed some
9354         problems.
9355         (insert): Split out the preparation and finishing code into
9356         prepareEdit() and finishEdit().
9357         (join): New helper method.
9358         (pop): New helper method.
9359         (prepareEdit): New helper method.
9360         (recreateFracturedElement): New helper method.
9361         (recreateLeaves): Removed.
9362         (recreate): New helper method.
9363         (removeElements): New helper method. Split out from removeUpdate().
9364         (removeUpdate): Split out the actual removal. Use the
9365         Edit stack to perform removal and perform the remove actions
9366         and event updates afterwards, just like in insertImpl().
9367         (remove): Use prepareEdit() and finishEdit().
9368         (split): Replaced with more flexible impl.
9369
9370 2006-08-09  Sven de Marothy  <sven@physto.se>
9371
9372         * gnu/java/awt/peer/gtk/CairoSurface.java
9373         Change class to extend WritableRaster and not DataBuffer.
9374         (CairoDataBuffer): New inner class.
9375         * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
9376         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
9377         * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java
9378         Accomodate the above change.
9379
9380 2006-08-09  Sven de Marothy  <sven@physto.se>
9381
9382         * gnu/java/awt/peer/gtk/GtkMainThread.java
9383         New file.
9384         * gnu/java/awt/peer/gtk/GtkChoicePeer.java
9385         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
9386         Replace GtkToolkit.mainThread with GtkMainThread.mainThread.
9387         * gnu/java/awt/peer/gtk/GtkToolkit.java
9388         Minor style fixes; removed unused fields, 
9389         set fields to private where possible.
9390         (createDialog, createFrame, createWindow, createEmbeddedWindow): 
9391         Call GtkMainThread.createWindow().
9392         * gnu/java/awt/peer/gtk/GtkWindowPeer.java
9393         (dispose): New method.
9394         * include/gnu_java_awt_peer_gtk_GtkToolkit.h
9395         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
9396         (gtkQuit): New native method.
9397
9398 2006-08-08  Lillian Angel  <langel@redhat.com>
9399
9400         * java/awt/Component.java
9401         (setDropTarget): Added check.
9402
9403 2006-08-08  Lillian Angel  <langel@redhat.com>
9404
9405         * gnu/java/awt/dnd/peer/gtk/GtkDragSourceContextPeer.java
9406         (GtkDragSourceContextPeer): Added FIXME. Changed call
9407         to setTarget. 
9408         * gnu/java/awt/dnd/peer/gtk/GtkDropTargetContextPeer.java
9409         (GtkDropTargetContextPeer): Removed target initialization.
9410         * java/awt/Component.java
9411         (setTarget): Removed commented out code.
9412
9413 2006-08-08  Mark Wielaard  <mark@klomp.org>
9414
9415         * javax/swing/text/DefaultHighlighter.java: Qualify
9416         Highlighter.HighlightPainter class name for gcj.
9417
9418 2006-08-05  Roman Kennke  <kennke@aicas.com>
9419
9420         * javax/swing/plaf/basic/BasicTableUI.java
9421         (MouseInputHandler.mousePressed): Request focus on list
9422         component.
9423
9424 2006-08-05  Roman Kennke  <kennke@aicas.com>
9425
9426         * javax/swing/plaf/basic/BasicListUI.java
9427         (MouseInputHandler.mousePressed): Request focus on list
9428         component.
9429
9430 2006-08-05  Roman Kennke  <kennke@aicas.com>
9431
9432         PR 28650
9433         * javax/swing/plaf/basic/BasicMenuBarUI.java
9434         (getActionMap): Store ActionMap in MenuBar.actionMap, rather
9435         than Tree.actionMap.
9436         * javax/swing/plaf/basic/BasicTreeUI.java
9437         (action): Removed obsolete field.
9438         (uninstallKeyboardActions): Removed action field handling.
9439         (installKeyboardActions): Removed action field handling.
9440         (createDefaultActions): Don't install removed TreeAction.
9441         (TreeAction): Removed obsolete inner class.
9442         (ActionListenerProxy): Removed obsolete inner class.
9443         (MouseHandler.mousePressed): Request focus on JTree component
9444         on mouse press.
9445
9446 2006-08-08  Roman Kennke  <kennke@aicas.com>
9447
9448         * javax/swing/plaf/basic/BasicListUI.java
9449         (MouseInputHandler.mousePressed): Request focus on list
9450         component.
9451
9452 2006-08-08  Roman Kennke  <kennke@aicas.com>
9453
9454         * javax/swing/plaf/basic/BasicTableUI.java
9455         (MouseInputHandler.mousePressed): Request focus on list
9456         component.
9457
9458 2006-08-08  Roman Kennke  <kennke@aicas.com>
9459
9460         * javax/swing/plaf/basic/BasicTextUI.java
9461         (damageRange(JTextComponent,int,int)): Call damageRange() with
9462         correct biases, rather than null.
9463         (damageRange(JTextComponent,int,int,Bias,Bias)): Rewritten
9464         to use simpler modelToView() approach without much special
9465         casing. This seems not worth the effort and actually
9466         caused problems. Added locking of the document.
9467         * javax/swing/text/BoxView.java
9468         (requirementsValid): New field.
9469         (calculateMajorAxisRequirements): Rewritten without using
9470         SizeRequirements. The SizeRequirements algorithms are slightly
9471         different and too inefficient.
9472         (calculateMinorAxisRequirements): Rewritten without using
9473         SizeRequirements. The SizeRequirements algorithms are slightly
9474         different and too inefficient.
9475         (getAlignment): Simply return the alignment of the cached
9476         requirements.
9477         (getMaximumSpan): Add insets.
9478         (getMinimumSpan): Add insets.
9479         (getPreferredSpan): Add insets.
9480         (layoutMajorAxis): Rewritten without using
9481         SizeRequirements. The SizeRequirements algorithms are slightly
9482         different and too inefficient.
9483         (layoutMinorAxis): Rewritten without using
9484         SizeRequirements. The SizeRequirements algorithms are slightly
9485         different and too inefficient.
9486         (modelToView): Call setSize() rather than layout().
9487         (paint): Check clip for more efficient painting.
9488         (preferenceChanged): Invalidate requirements here.
9489         (replace): Invalidate requirements here.
9490         (updateRequirements): Update requirements only when requirements
9491         are marked invalid.
9492         * javax/swing/text/CompositeView.java
9493         (modelToView): Added some more checks and handling of corner cases.
9494         * javax/swing/text/FlowView.java
9495         (calculateMinorAxisRequirements): Set aligment to 0.5 and maximum
9496         span to Integer.MAX_VALUE. Limit preferredSize to minimumSize.
9497         * javax/swing/text/IconView.java
9498         (getAlignment): Implemented to return 1.0 for vertical alignment.
9499         * javax/swing/text/ParagraphView.java
9500         (Row.getMaximumSpan): Implemented to let Rows span the whole
9501         ParagraphView.
9502         (getAlignment): Fixed horizontal alignment and vertical alignment
9503         for empty paragraphs to be 0.5.
9504
9505 2006-08-08  Roman Kennke  <kennke@aicas.com>
9506
9507         * javax/swing/text/View.java
9508         (modelToView): Added special handling for corner case at the end
9509         of the view and for multiline views.
9510
9511 2006-08-08  Roman Kennke  <kennke@aicas.com>
9512
9513         * javax/swing/plaf/basic/BasicTextUI.java
9514         (modelToView): Read-lock the document. Set size of the
9515         root view before fetching the model-to-view mapping.
9516         (getViewIndex): Check of the position is inside the range and
9517         return -1 if this is not the case.
9518         (getViewAtPosition(int,Rectangle): Update child allocation for valid
9519         view index.
9520         (getViewIndexAtPosition(int)): Delegate the index search to
9521         the element since we have a 1:1 mapping between elements and
9522         views here.
9523         * javax/swing/text/DefaultCaret.java
9524         (appear): Ignore BadLocationException.
9525         (paint): Ignore BadLocationException.
9526         * javax/swing/text/FlowView.java
9527         (changedUpdate): Also notify the layoutPool view.
9528         (removeUpdate): Also notify the layoutPool view.
9529         * javax/swing/text/ParagraphView.java
9530         (Row.getViewIndexAtPosition): Overridden to search linearily
9531         through the view instead of relying on a 1:1 model to view
9532         mapping.
9533         * javax/swing/text/View.java
9534         (removeUpdate): Clear ElementChange object if updateChildren
9535         returns false.
9536         (forwardUpdate): Special handle some boundary cases.
9537
9538 2006-08-07  Raif S. Naffah  <raif@swiftdsl.com.au>
9539
9540         * gnu/java/security/key/dss/DSSKey.java: Updated documentation.
9541         (hasInheritedParameters): New method.
9542         (equals): Updated documentation.
9543         Take into consideration the outcome of hasInheritedParameters invocation.
9544         (toString): Call hasInheritedParameters and adjust the result accordingly.
9545         * gnu/java/security/key/dss/DSSKeyPairX509Codec.java (encodePublicKey):
9546         Updated documentation.
9547         Handle case of public keys with null p, q, and g MPIs.
9548         (decodePublicKey): Handle case of absent or NULL p, q and g MPIs.
9549
9550 2006-08-07  Tom Tromey  <tromey@redhat.com>
9551
9552         PR libgcj/23682:
9553         * java/nio/channels/SelectionKey.java (attach): Now synchronized.
9554         (attachment): Likewise.
9555         * java/nio/channels/spi/AbstractSelectionKey.java (cancel): Now
9556         synchronized.
9557         (isValid): Likewise.
9558         * gnu/java/nio/SelectionKeyImpl.java (impl): Now final
9559         (ch): Likewise.
9560         (interestOps): Synchronize.
9561         (readyOps): Likewise.
9562         * gnu/java/nio/SelectorImpl.java (register): Synchronize around
9563         interestOps call.
9564
9565 2006-08-07  C. Scott Marshall  <csm@gnu.org>
9566
9567         Fixes PR 28608.
9568         * java/nio/DirectByteBufferImpl.java (duplicate): only reset if
9569         the mark has been set.
9570         * native/jni/java-nio/java_nio_VMDirectByteBuffer.c
9571         (Java_java_nio_VMDirectByteBuffer_allocate): zero out the
9572         allocated data.
9573
9574 2006-08-07  Sven de Marothy  <sven@physto.se>
9575
9576         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
9577         (drawGlyphVector): Synchronize against font object when drawing.
9578         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
9579         (nativeDrawGlyphVector): Use pango locking when drawing.
9580         (install_font_peer): Use pango locking when creating the cairo face.
9581
9582 2006-08-06  Roman Kennke  <kennke@aicas.com>
9583
9584         PR 28571
9585         * gnu/java/awt/peer/gtk/GtkCanvasPeer.java
9586         (getPreferredSize): Renamed method to preferredSize(). That's
9587         the one that gets called from java.awt.*.
9588         * java/awt/peer/ComponentPeer.java
9589         (getPreferredSize): Added specnote about this method never
9590         beeing called in the RI.
9591         (getMinimumSize): Added specnote about this method never
9592         beeing called in the RI.
9593
9594 2006-08-03  Sven de Marothy  <sven@physto.se>
9595
9596         * gnu/java/awt/peer/gtk/ComponentGraphics.java
9597         (grab, nativeGrab): New methods.
9598         * include/gnu_java_awt_peer_gtk_ComponentGraphics.h
9599         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
9600         (nativeGrab): New method.
9601         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
9602         (print): Implement.
9603         * java/awt/Component.java
9604         (printAll): Should call peer print method.
9605
9606 2006-08-06  Thomas Minor  <1nocentrabidlamb@sexMagnet.com>
9607
9608         * java/net/URL.java (getContent(Class[])): Implement.
9609
9610 2006-08-06  Mark Wielaard  <mark@klomp.org>
9611
9612         PR 28555
9613         Suggested by Matthew Burgess <matthew@linuxfromscratch.org>
9614         * gnu/xml/transform/ApplyTemplatesNode.java (clone): Check whether
9615         withParams is null.
9616         * gnu/xml/transform/ForEachNode.java (clone): Check whether
9617         sortKeys is null.
9618
9619 2006-08-06  Roman Kennke  <kennke@aicas.com>
9620
9621         * NEWS: Added note about the X peers.
9622         * INSTALL: Added install notes about the X peers. 
9623
9624 2006-08-06  Raif S. Naffah  <raif@swiftdsl.com.au>
9625             Paul Jenner  <psj@harker.dyndns.org>
9626
9627         * README: Update bug, patches and cvs instructions plus new URLs of
9628         various external projects.
9629
9630 2006-08-06  Thomas Fitzsimmons  <fitzsim@redhat.com>
9631
9632         * configure.ac (MOZILLA_FOUND): Fall back to
9633         mozilla-firefox-plugin.
9634
9635 2006-08-06  Mario Torre  <neugens@limasoftware.net>
9636
9637         Reported by Raif S. Naffah <raif@swiftdsl.com.au>
9638         * native/jni/gconf-peer/GConfNativePeer.c (init_gconf_client):
9639         g_type_init earlier in function to correctly initialize the
9640         type system used by the backend.
9641
9642 2006-08-05  Roman Kennke  <kennke@aicas.com>
9643   
9644         * javax/swing/text/DefaultHighlight.java
9645         (DefaultHighlightPainter.paintHighlight): Removed method.
9646         (DefaultHighlightPainter.paintLayer): Implemented.
9647         (DefaultHighlightPainter.paint): Implemented more efficient
9648         painting for multiline-highlights.
9649         (HighlightEntry.p0): Changed to be a Position.
9650         (HighlightEntry.p1): Changed to be a Position.
9651         (HighlightEntry.HighlightEntry): Changed to take Position
9652         arfuments.
9653         (HighlightEntry.getStartOffset): Changed to return p0.getOffset();
9654         (HighlightEntry.getEndOffset): Changed to return p1.getOffset();
9655         (LayerHighlightEntry): New inner class. Extends HighlightEntry
9656         and tracks the painted rectangle for efficient repainting.
9657         (addHighlight): Handle layered highlight.
9658         (changeHighlight): Handle layered highlight.
9659         (paintLayeredHighlights): Implemented.
9660         (paint): Paint only non-layered highlights here.
9661         (removeAllHighlights): Trigger correct repaint.
9662         (removeHighlight): Handle layered highlight here for
9663         more efficient repainting.
9664         * javax/swing/text/GlyphView.java
9665         (paint): Handle layered highlights.
9666         * javax/swing/text/PlainView.java
9667         (paint): Handle layered highlights.
9668         * javax/swing/text/WrappedPlainView.java
9669         (WrappedLine.paint): Handle layered highlights.
9670
9671 2006-08-07  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
9672   
9673         PR 26972
9674         * NEWS: As suggested by Paul Jennier, added note about the fix of
9675         the InitialContext.
9676
9677 2006-08-07  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
9678
9679         * NEWS: Added entry about the context factories for JNDI.
9680
9681 2006-08-07  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
9682
9683         PR 27383
9684         * gnu/CORBA/Connected_objects.java (size): New method.
9685         * gnu/CORBA/OrbFunctional.java (countConnectedObjects):
9686         New method.
9687         * javax/naming/spi/NamingManager.java (getURLContext):
9688         Also search for the URL context factories in 
9689         gnu/javax/naming/jndi/url.
9690         * gnu/javax/naming/giop/ContextContinuation.java,
9691         gnu/javax/naming/giop/CorbalocParser.java,
9692         gnu/javax/naming/giop/GiopNamingEnumeration.java,
9693         gnu/javax/naming/giop/GiopNamingServiceFactory.java,
9694         gnu/javax/naming/giop/GiopNamingServiceURLContext.java,
9695         gnu/javax/naming/giop/ListBindingsEnumeration.java,
9696         gnu/javax/naming/giop/ListEnumeration.java,
9697         gnu/javax/naming/jndi/url/corbaname/corbanameURLContextFactory.java,
9698         gnu/javax/naming/jndi/url/rmi/ContextContinuation.java,
9699         gnu/javax/naming/jndi/url/rmi/ListBindingsEnumeration.java,
9700         gnu/javax/naming/jndi/url/rmi/ListEnumeration.java,
9701         gnu/javax/naming/jndi/url/rmi/RmiContinuation.java,
9702         gnu/javax/naming/jndi/url/rmi/RmiNamingEnumeration.java,
9703         gnu/javax/naming/jndi/url/rmi/rmiURLContext.java,
9704         gnu/javax/naming/jndi/url/rmi/rmiURLContextFactory.java: New files.
9705
9706 2006-08-06  Sven de Marothy  <sven@physto.se>
9707
9708         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
9709         (drawGlyphVector): Synchronize against font object when drawing.
9710         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
9711         (nativeDrawGlyphVector): Use pango locking when drawing.
9712         (install_font_peer): Use pango locking when creating the cairo face.
9713
9714 2006-08-06  C. Scott Marshall  <csm@gnu.org>
9715
9716         Fixes PR 28608.
9717         * java/nio/DirectByteBufferImpl.java (duplicate): only reset if
9718         the mark has been set.
9719         * native/jni/java-nio/java_nio_VMDirectByteBuffer.c
9720         (Java_java_nio_VMDirectByteBuffer_allocate): zero out the
9721         allocated data.
9722
9723 2006-08-06  Mark Wielaard  <mark@klomp.org>
9724
9725         PR 28555
9726         Suggested by Matthew Burgess <matthew@linuxfromscratch.org>
9727         * gnu/xml/transform/ApplyTemplatesNode.java (clone): Check whether
9728         withParams is null.
9729         * gnu/xml/transform/ForEachNode.java (clone): Check whether
9730         sortKeys is null.
9731
9732 2006-08-06  Raif S. Naffah  <raif@swiftdsl.com.au>
9733             Paul Jenner  <psj@harker.dyndns.org>
9734
9735         * README: Update bug, patches and cvs instructions plus new URLs of
9736         various external projects.
9737   
9738 2006-08-05  Andrew John Hughes  <gnu_andrew@member.fsf.org>
9739
9740         * gnu/java/lang/management/BeanImpl.java:
9741         (cacheMBeanInfo(MBeanInfo)): Override given MBeanInfo
9742         with open variant.
9743         (getCachedMBeanInfo()): Return open variant.
9744         (getMBeanInfo()): Likewise.
9745         (getTypeFromClass(Class)): Implemented.
9746         (translateSignature(MBeanParameterInfo)): Likewise.
9747         (translate(String)): Likewise.
9748         * javax/management/StandardMBean.java:
9749         (getMBeanInfo()): Return attribute names with capital letters,
9750         as in docs for java.lang.management.ManagementFactory, and
9751         ensure descriptions are not "".
9752         * javax/management/openmbean/OpenMBeanConstructorInfoSupport.java,
9753         * javax/management/openmbean/OpenMBeanInfoSupport.java,
9754         * javax/management/openmbean/OpenMBeanOperationInfoSupport.java:
9755         (toString()): Use Arrays.toString().
9756         * javax/management/openmbean/OpenMBeanParameterInfoSupport.java:
9757         (OpenMBeanParameterInfoSupport(String, String, OpenType)):
9758         Set open type here rather than in other constructors.
9759
9760 2006-08-05  Andrew John Hughes  <gnu_andrew@member.fsf.org>
9761
9762         * javax/management/MBeanFeatureInfo.java:
9763         Make string variable package-private.
9764         * javax/management/StandardMBean.java:
9765         (getMBeanInterface()): Made final.
9766         * javax/management/openmbean/SimpleType.java:
9767         Made final.
9768
9769 2006-08-05  Jeroen Frijters  <jeroen@frijters.net>
9770
9771         * java/awt/Component.java (setDropTarget): Commented out GTK specific
9772         code.
9773   
9774 2006-08-05  Andrew John Hughes  <gnu_andrew@member.fsf.org>
9775
9776         * examples/gnu/classpath/examples/swing/FillRect.java,
9777         * gnu/CORBA/Focused_ORB.java,
9778         * gnu/CORBA/interfaces/gnuSocketFactory.java,
9779         * gnu/classpath/ByteArray.java,
9780         * gnu/classpath/ObjectPool.java,
9781         * gnu/java/awt/peer/ClasspathTextLayoutPeer.java,
9782         * gnu/java/awt/peer/x/fonts.properties,
9783         * gnu/java/security/util/Prime2.java,
9784         * gnu/javax/imageio/gif/GIFStream.java,
9785         * javax/swing/text/html/HTMLTableView.java,
9786         * native/cni/Makefile.am,
9787         * org/omg/CORBA/SendingContext/RunTimeOperations.java,
9788         * org/omg/CORBA/SendingContext/Runtime.java,
9789         * resource/gnu/regexp/MessagesBundle.properties,
9790         * resource/gnu/regexp/MessagesBundle_fr.properties,
9791         * resource/gnu/regexp/MessagesBundle_it.properties,
9792         * tools/appletviewer.in,
9793         * tools/jarsigner.in,
9794         * tools/keytool.in,
9795         * vm/reference/java/lang/management/VMThreadInfo.java:
9796         Removed.
9797         * examples/gnu/classpath/examples/awt/aicas.png,
9798         * examples/gnu/classpath/examples/awt/palme.gif,
9799         * examples/gnu/classpath/examples/java2d/aicas.png,
9800         * examples/gnu/classpath/examples/java2d/palme.gif,
9801         * gnu/java/awt/font/opentype/truetype/doc-files/ZonePathIterator-1.dia,
9802         * gnu/java/awt/font/opentype/truetype/doc-files/ZonePathIterator-1.png,
9803         * java/awt/doc-files/capjoin.png,
9804         * java/awt/geom/doc-files/Area-1.png,
9805         * java/awt/geom/doc-files/Ellipse-1.png,
9806         * java/awt/geom/doc-files/GeneralPath-1.png:
9807         Added.
9808         
9809 2006-08-05  Andrew John Hughes  <gnu_andrew@member.fsf.org>
9810
9811         * configdiag.jnlp:
9812         Removed.
9813         
9814 2006-08-05  Andrew John Hughes  <gnu_andrew@member.fsf.org>
9815
9816         * gnu/java/lang/management/BeanImpl.java:
9817         (getAttribute(String)): Implemented.
9818
9819 2006-08-05  Roman Kennke  <kennke@aicas.com>
9820
9821         * javax/swing/text/JTextComponent.java
9822         (AccessibleJTextComponent.dot): Renamed field into caretDot.
9823         (AccessibleJTextComponent.textComp): Removed field
9824         and replace with JTextComponent.this construct.
9825         (AccessibleJTextComponent.AccessibleJTextComponent):
9826         Fetch caret position.
9827         (caretUpdate): Implemented. Fires property change events and
9828         updates the caretDot field.
9829         (changedUpdate): Implemented. Fires property change events.
9830         (insertUpdate): Implemented. Fires property change events.
9831         (removeUpdate): Implemented. Fires property change events.
9832         (cut): Replaced textComp with JTextComponent.this construct.
9833         (paste): Replaced textComp with JTextComponent.this construct.
9834         (replaceText): Replaced textComp with JTextComponent.this construct.
9835         (selectText): Replaced textComp with JTextComponent.this construct.
9836         (getCaretPosition): Replaced textComp with JTextComponent.this
9837         construct.
9838         (getCharCount): Replaced textComp with JTextComponent.this construct.
9839         (getSelectedText): Replaced textComp with JTextComponent.this
9840         construct.
9841         (getSelectionEnd): Replaced textComp with JTextComponent.this
9842         construct.
9843         (getSelectionStart): Replaced textComp with JTextComponent.this
9844         construct.
9845         (getTextRange): Replaced textComp with JTextComponent.this
9846         construct.
9847         (doAccessibleAction): Implemented.
9848         (getAccessibleActionCount): Implemented.
9849         (getAccessibleActionDescription): Implemented.
9850         (getAccessibleStateSet): Implemented.
9851         (getAfterIndex): Implemented.
9852         (getBeforeIndex): Implemented.
9853         (getAtIndex): Implemented.
9854         (getAtIndexImpl): New helper method.
9855         (getCharacterAttribute): Implemented.
9856         (getCharacterBounds): Implemented.
9857         (getIndexAtPoint): Implemented. 
9858         (insertTextAtIndex): Implemented.
9859         (setAttributes): Implemented.
9860         (setTextContents): Implemented.
9861
9862 2006-08-05  Raif S. Naffah  <raif@swiftdsl.com.au>
9863   
9864         * configure.ac: Better handling of default-preferences-peer option.
9865
9866 2006-08-04  Andreas Tobler  <a.tobler@schweiz.ch>
9867
9868         * java/awt/BasicStroke.java (dashedStroke): Cast coords.clone to
9869         double[].
9870
9871 2006-08-04  Andrew John Hughes  <gnu_andrew@member.fsf.org>
9872
9873         * javax/management/openmbean/TabularData.java:
9874         Documentation corrections.
9875         * javax/management/openmbean/TabularDataSupport.java:
9876         New file.
9877
9878 2006-08-04  Francis Kung  <fkung@redhat.com>
9879
9880         * java/awt/BasicStroke.java
9881         (dashedStroke): Implemented.
9882
9883 2006-08-04  Andrew John Hughes  <gnu_andrew@member.fsf.org>
9884
9885         * javax/management/BadAttributeValueExpException.java,
9886         * javax/management/BadStringOperationException.java,
9887         * javax/management/InstanceAlreadyExistsException.java,
9888         * javax/management/InstanceNotFoundException.java,
9889         * javax/management/InvalidApplicationException.java,
9890         * javax/management/MBeanRegistrationException.java,
9891         * javax/management/MalformedObjectNameException.java,
9892         * javax/management/RuntimeErrorException.java,
9893         * javax/management/RuntimeMBeanException.java,
9894         * javax/management/ServiceNotFoundException.java:
9895         New files.
9896         
9897 2006-08-04  Roman Kennke  <kennke@aicas.com>
9898
9899         * javax/swing/SwingUtilities.java
9900         (layoutCompoundLabel(JComponent,FontMetrics,String,Icon,int,int,int,
9901          int,Rectangle,Rectangle,Rectangle,int)): Delegate to new
9902         layoutCompoundLabelImpl().
9903         (layoutCompoundLabel(FontMetrics,String,Icon,int,int,int,int,
9904          Rectangle,Rectangle,Rectangle,int)): Delegate to new
9905         layoutCompoundLabelImpl().
9906         (layoutCompoundLabelImpl): New helper method. Moved impl from
9907         layoutCompoundLabel() to here and added handling of HTML.
9908         * javax/swing/plaf/basic/BasicButtonUI.java
9909         (installUI): Update HTML view if appropriate.
9910         (uninstallUI): New method. Do the usual uninstallUI things
9911         and uninstall HTML view.
9912         (getMinimumSize): New method. Adjusts the minimum size
9913         by the HTML view minimum size.
9914         (getMaximumSize): New method. Adjusts the maximum size
9915         by the HTML view maximum size.
9916         (getPreferredSize): Pass the button's iconTextGap to the
9917         BasicGraphicsUtils method.
9918         (paint): Let HTML view paint the text, if present.
9919         * javax/swing/plaf/basic/BasicButtonListener.java
9920         (propertyChange): Update the HTML view when the button's
9921         text is changed.
9922         
9923 2006-08-04  Mario Torre  <neugens@limasoftware.net>
9924
9925         Reported by Raif S. Naffah <raif@swiftdsl.com.au>
9926         * native/jni/gconf-peer/GConfNativePeer.c (init_gconf_client):
9927         g_type_init earlier in function to correctly initialize the
9928         type system used by the backend.
9929
9930 2006-08-04  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
9931
9932         PR 26972
9933         * javax/naming/Name.java (addAll, getPrefix, getSuffix):
9934         Documented.
9935         * gnu/javax/naming/ictxImpl/trans/GnuName.java: New file.
9936
9937 2006-08-04  Robert Schuster  <robertschuster@fsfe.org>
9938
9939         Reported by Henrik Gulbrandsen <henrik@gulbra.net>
9940         Fixes PR27864.
9941         * gnu/xml/dom/DomIterator.java:
9942         (successor): Added if-statement.
9943
9944 2006-08-04  Mark Wielaard  <mark@klomp.org>
9945
9946         * scripts/Makefile.am (EXTRA_DIST): Add import-cacerts.sh.
9947
9948 2006-08-04  Robert Schuster  <robertschuster@fsfe.org>
9949
9950         * javax/swing/plaf/metal/MetalMenuBarUI.java:
9951         (update): Check size and paint smaller gradient.
9952         * javax/swing/plaf/metal/MetalBorders.java:
9953         (MenuBarBorder): Removed borderColor field.
9954         (MenuBarBorder.paintBorder): Added note, fetch color from UIManager or
9955         MetalLookAndFeel.
9956
9957 2006-08-03  Roman Kennke  <kennke@aicas.com>
9958
9959         PR 27637
9960         * javax/swing/plaf/basic/BasicInternalFrameUI.java
9961         (ComponentHandler.componentResized): Reimplemented to handle
9962         arbitrary parents.
9963         (InternalFramePropertyChangeHandler.propertyChange): (Un)install
9964         component listener on changed ancestor.
9965         (installListeners): Install componentListener.
9966         (uninstallListeners): Uninstall componentListener.
9967
9968 2006-08-03  Carsten Neumann  <cn-develop@gmx.net>
9969
9970         * StrictMath.java (cbrt): Return argument if it is a NaN.
9971         (cosh): Likewise.
9972         (expm1): Likewise.
9973         (sinh): Likewise.
9974   
9975 2006-08-03  Carsten Neumann  <cn-develop@gmx.net>
9976   
9977         * java/lang/StrictMath.java (tanh): New method.
9978   
9979 2006-08-03  Raif S. Naffah  <raif@swiftdsl.com.au>
9980   
9981         * scripts/import-cacerts.sh: Batch CA certificates import script.
9982   
9983 2006-08-03  Roman Kennke  <kennke@aicas.com>
9984
9985         PR 27606
9986         * javax/swing/plaf/basic/BasicListUI.java
9987         (paintCell): Pass row index to cell renderer.
9988         * javax/swing/plaf/basic/MetalFileChooserUI.java
9989         (DirectoryComboBoxRenderer.indentIcon): New field.
9990         (DirectoryComboBoxRenderer.DirectoryComboBoxRenderer):
9991         Initialize indentIcon.
9992         (DirectoryComboBoxRenderer.getListCellRendererComponent):
9993         Fall back to super and removed standard functionality.
9994         Handle indentation.
9995         (IndentIcon): New class. Wraps and indents another icon.
9996
9997 2006-08-02  Andrew John Hughes  <gnu_andrew@member.fsf.org>
9998
9999         * javax/management/MBeanConstructorInfo.java:
10000         (MBeanConstructorInfo(String,String,MBeanParameterInfo[]):
10001         Copy array rather than directly assigning.
10002         * javax/management/MBeanInfo.java:
10003         (MBeanInfo(String,String,MBeanAttributeInfo[],
10004         MBeanConstructorInfo[], MBeanOperationInfo[],
10005         MBeanNotificationInfo[])): Likewise.
10006         * javax/management/MBeanOperationInfo.java:
10007         (MBeanOperationInfo(String,String,MBeanParameterInfo[],String,int)):
10008         Likewise.
10009         * javax/management/openmbean/OpenMBeanAttributeInfoSupport.java,
10010         * javax/management/openmbean/OpenMBeanConstructorInfoSupport.java:
10011         New files.
10012         * javax/management/openmbean/OpenMBeanInfo.java:
10013         Corrected documentation.
10014         * javax/management/openmbean/OpenMBeanInfoSupport.java:
10015         New file.
10016         * javax/management/openmbean/OpenMBeanOperationInfo.java:
10017         Corrected documentation.
10018         * javax/management/openmbean/OpenMBeanOperationInfoSupport.java:
10019         New file.
10020         * javax/management/openmbean/OpenMBeanParameterInfoSupport.java:
10021         (MBeanParameterInfo(String,String,OpenType,Object,Object[])):
10022         Call other constructor rather than reimplementing.
10023
10024 2006-08-02  Lillian Angel  <langel@redhat.com>
10025
10026         * java/awt/dnd/DragSource.java
10027         (isDragImageSupported): Implemented.
10028         (getDragThreshold): Changed default value.
10029         * java/awt/dnd/DropTarget.java
10030         (DropTarget): Default action is changed to ACTION_COPY_OR_MOVE.
10031         (DropTarget): Likewise.
10032         (DropTarget): If FlavorMap passed in is null, we should use the system default.
10033         (addDropTargetListener): Added check to determine if new DropTargetListener
10034         is this class. If so, an IllegalArgumentException is thrown. If the 
10035         new listener is null, nothing happens.
10036
10037 2006-08-02  Thomas Fitzsimmons  <fitzsim@redhat.com>
10038
10039         * configure.ac (MOZILLA_FOUND): Fall back to
10040         mozilla-firefox-plugin.
10041
10042 2006-08-02  Sven de Marothy  <sven@physto.se>
10043
10044         * java/awt/geom/AffineTransform.java
10045         (hashCode): Tweak impl. 
10046         * java/awt/font/FontRenderContext.java
10047         (hashCode): Implement. 
10048
10049 2006-08-02  Carsten Neumann  <cn-develop@gmx.net>
10050
10051         * java/lang/StrictMath.java (sinh): New method.
10052
10053 2006-08-02  Roman Kennke  <kennke@aicas.com>
10054
10055         PR 27605
10056         * javax/swing/JComboBox.java
10057         (setSelectedItem): Fire ActionEvent here.
10058         * javax/swing/plaf/basic/BasicDirectoryModel.java
10059         (directories): Changed to type Vector.
10060         (files): New field.
10061         (loadThread): New field.
10062         (DirectoryLoadThread): New inner class. This loads the contents
10063         of directories asynchronously.
10064         (getDirectories): Return cached Vector.
10065         (getFiles): Return cached Vector.
10066         (getSize): Return plain size of contents Vector.
10067         (propertyChange): Reread directory also for DIRECTORY_CHANGED,
10068         FILE_FILTER_CHANGED, FILE_HIDING_CHANGED and FILE_VIEW_CHANGED.
10069         (sort): Don't store sorted list in contents. This must be done
10070         asynchronously from the EventThread.
10071         (validateFileCache): Rewritten for asynchronous reading
10072         of directory contents.
10073         * javax/swing/plaf/basic/BasicFileChooserUI.java
10074         (installListeners): Install model as PropertyChangeListener.
10075         (uninstallListeners): Uninstall model as PropertyChangeListener.
10076         (createPropertyChangeListener): Return null just like the
10077         RI.
10078
10079 2006-08-02  Sven de Marothy  <sven@physto.se>
10080   
10081         * gnu/java/awt/peer/gtk/GtkChoicePeer.java
10082         (remove): Force event on removing item 0 when it's selected.
10083         (handleEvent): Always call Choice.selected().
10084         * java/awt/Choice.java:
10085         (remove): Simplify and correct.
10086   
10087 2006-08-02  Mark Wielaard  <mark@klomp.org>
10088   
10089         PR 28535
10090         * configure.ac (gconf-peer): Check for gdk-2.0.
10091         * native/jni/gconf-peer/Makefile.am
10092         (AM_LDFLAGS): Use GDK_LIBS.
10093         (AM_CFLAGS): Use GDK_CFLAGS.
10094   
10095 2006-08-02  Thomas Minor  <1nocentrabidlamb@sexMagnet.com>
10096   
10097         * java/net/URL.java (getContent(Class[])): Implement.
10098   
10099 2006-08-02  Roman Kennke  <kennke@aicas.com>
10100   
10101         PR 27624
10102         * javax/swing/JMenu.java
10103         (JMenu()): Removed setting of delay.
10104         (JMenu(String)): Removed setting of delay.
10105         (JMenu(Action)): Removed setting of delay.
10106         (JMenu(String,boolean)): Removed setting of delay.
10107         (setSelectedHelper): Removed unneeded method.
10108         (setSelected): Simply set the model state.
10109         (setPopupMenuVisible): Recognize the popup location
10110         determined by getPopupMenuOrigin().
10111         (getPopupMenuOrigin): Recognize the UI properties for
10112         X and Y offset.
10113         (menuSelectionChanged): Call setSelected() directly.
10114         * javax/swing/JPopupMenu.java
10115         (menuSelectionChanged): If invoker is a JMenu, then delegate
10116         to that to get the position right.
10117         * javax/swing/Popup.java
10118         (LightweightPopup.show): Insert the popup as first component
10119         in the layer, so that it overlaps it's caller.
10120         * javax/swing/plaf/basic/BasicMenuItemUI.java
10121         (getPath): Don't include the popup.
10122         * javax/swing/plaf/basic/BasicMenuUI.java
10123         (SelectMenuAction): New class. This invokes the popup when
10124         a menu is selected.
10125         (installDefaults): Install delay of 200 ms.
10126         (setupPostTimer): Implemented.
10127         (MouseInputHandler.mouseClicked): Do nothing here.
10128         (MouseInputHandler.mouseEntered): Use MenuSelectionManager
10129         magic to handle the selection. Open the menu via a timer.
10130         (MouseInputHandler.mousePressed): Use MenuSelectionManager
10131         magic to handle the selection. Open the menu via a timer.
10132         (MenuDragMouseHandler.menuMouseDragged): Probably use
10133         timer.
10134         (menuDragMouseEntered): Do nothing here.
10135   
10136 2006-08-02  Andrew John Hughes  <gnu_andrew@member.fsf.org>
10137         
10138         * javax/management/openmbean/InvalidOpenTypeException.java,
10139         * javax/management/openmbean/KeyAlreadyExistsException.java:
10140         New files.
10141
10142 2006-08-02  Roman Kennke  <kennke@aicas.com>
10143
10144         PR 27604
10145         * javax/swing/plaf/basic/BasicChooserUI.java
10146         (BasicFileView.getName): Fetch the real name from the
10147         file chooser's FileSystemView.
10148         * javax/swing/plaf/metal/MetalChooserUI.java
10149         (DirectoryComboBoxRenderer.getListCellRendererComponent):
10150         Set the text fetched from the JFileChooser.getName().
10151         * javax/swing/FileSystemView.java
10152         (createFileObject): When file is a filesystem root,
10153         create a filesystem root object first.
10154         (getSystemDisplayName): Return the filename. Added specnote
10155         about ShellFolder class that is mentioned in the spec.
10156         * javax/swing/UnixFileSystemView.java
10157         (getSystemDisplayName): Implemented to return the real name
10158         of a file, special handling files like '.' or '..'.
10159
10160 2006-08-03  Mark Wielaard  <mark@klomp.org>
10161
10162         * examples/gnu/classpath/examples/icons/badge.png: Add file.
10163
10164 2006-08-03  Roman Kennke  <kennke@aicas.com>
10165
10166         PR 28562
10167         * javax/swing/plaf/basic/BasicOptionPaneUI.java
10168         (PropertyChangeHandler.propertyChange): Cleanly reinstall
10169         components when visual property chanegs.
10170
10171 2006-08-03  Roman Kennke  <kennke@aicas.com>
10172
10173         PR 28562
10174         * javax/swing/plaf/basic/BasicOptionPaneUI.java
10175         (PropertyChangeHandler.propertyChange): Uninstall and reinstall
10176         component when visual properties change.
10177
10178 2006-08-03  Roman Kennke  <kennke@aicas.com>
10179
10180         PR 28534
10181         * javax/swing/JTree.java
10182         (JTree(TreeModel)): Set cell renderer to null.
10183         * javax/swing/plaf/basic/BasicTreeUI.java
10184         (setCellRenderer): Finish editing before setting the
10185         cell renderer. Refresh the layout. Don't set the
10186         currentCellRenderer field here (that's done in updateRenderer).
10187         (updateRenderer): Handle createdRenderer field here too.
10188         Set renderer to a default handler when the current renderer
10189         in the JTree is null.
10190
10191 2006-08-02  Raif S. Naffah  <raif@swiftdsl.com.au>
10192
10193         PR Classpath/23899
10194         * java/security/SecureRandom.java (next): Call nextBytes as per specs.
10195
10196 2006-08-02  Raif S. Naffah  <raif@swiftdsl.com.au>
10197
10198         PR Classpath/28556
10199         * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java (encodePrivateKey):
10200         Updated documentation to clarify that RFC-2459 states that the parameters
10201         field of the AlgorithmIdentifier element MUST be NULL if present.
10202         Amended the code to reflect the specs.
10203         (decodePrivateKey): Handle case of NULL AlgorithmIdentifier.parameters.
10204
10205 2006-08-01  Andrew John Hughes  <gnu_andrew@member.fsf.org>
10206
10207         * javax/management/openmbean/OpenMBeanParameterInfoSupport.java:
10208         Call parameter 'defaultValue' not 'defValue'.
10209
10210 2006-08-01  Andrew John Hughes  <gnu_andrew@member.fsf.org>
10211
10212         * javax/management/openmbean/OpenMBeanParameterInfoSupport.java:
10213         New file.
10214
10215 2006-08-01  Roman Kennke  <kennke@aicas.com>
10216   
10217         PR 28562
10218         * javax/swing/plaf/basic/BasicOptionPaneUI.java
10219         (PropertyChangeHandler.propertyChange): Cleanly reinstall
10220         components when visual property chanegs.
10221   
10222 2006-08-01  Andrew John Hughes  <gnu_andrew@member.fsf.org>
10223
10224         * javax/management/openmbean/OpenMBeanAttributeInfo.java:
10225         (toString()): Corrected documentation.
10226         * javax/management/openmbean/OpenMBeanConstructorInfo.java,
10227         * javax/management/openmbean/OpenMBeanInfo.java,
10228         * javax/management/openmbean/OpenMBeanOperationInfo.java:
10229         New files.
10230         * javax/management/openmbean/OpenMBeanParameterInfo.java:
10231         (toString()): Corrected documentation.
10232         
10233 2006-08-01  Tania Bento  <tbento@redhat.com>
10234
10235         * java/awt/Choice.java
10236         (remove(int)): Added documentation.
10237
10238 2006-08-01  Tania Bento  <tbento@redhat.com>
10239         
10240         * java/awt/Choice.java
10241         (remove(int)): An IllegalArgumentException should not be thrown
10242         if int is invalid.  Update selectedIndex and peer selection.
10243
10244 2006-08-01  Tania Bento  <tbento@redhat.com>
10245
10246         * java/awt/CardLayout.java
10247         (toString): Changed format of string outputted.
10248         (goToComponent): Changed the order of the if-clause.
10249
10250 2006-07-31  Tom Tromey  <tromey@redhat.com>
10251
10252         * INSTALL: Updated for ASM.
10253
10254 2006-07-31  Tom Tromey  <tromey@redhat.com>
10255
10256         PR libgcj/23682:
10257         * java/nio/channels/SelectionKey.java (attach): Now synchronized.
10258         (attachment): Likewise.
10259         * java/nio/channels/spi/AbstractSelectionKey.java (cancel): Now
10260         synchronized.
10261         (isValid): Likewise.
10262         * gnu/java/nio/SelectionKeyImpl.java (impl): Now final
10263         (ch): Likewise.
10264         (interestOps): Synchronize.
10265         (readyOps): Likewise.
10266         * gnu/java/nio/SelectorImpl.java (register): Synchronize around
10267         interestOps call.
10268
10269 2006-07-31  Roman Kennke  <kennke@aicas.com>
10270
10271         * NEWS: Added note about the X peers.
10272         * INSTALL: Added install notes about the X peers.
10273
10274 2006-07-31  Carsten Neumann  <cn-develop@gmx.net>
10275
10276         * StrictMath.java (getLowDWord): Return long instead of int.
10277         (getHighDWord): Likewise.
10278         (buildDouble): Take two long arguments.
10279         (cbrt): Adapted to int -> long change.
10280         (expm1): Likewise.
10281         (cosh): Likewise.
10282
10283 2006-07-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
10284
10285         * native/jni/qt-peer/Makefile.am (libqtpeer_la_LDFLAGS): Add
10286         -avoid-version.
10287
10288 2006-07-31  Raif S. Naffah  <raif@swiftdsl.com.au>
10289
10290         * java/security/Provider.java: Updated copyright year.
10291         Updated documentation.
10292         Formatting.
10293         (put): Updated documentation.
10294         Added security manager check.
10295         Canonicalize the key before adding its mapping.
10296         (get): Override superclass implementation to use canonicalized keys.
10297         (remove): Updated documentation.
10298         Added security manager check.
10299         Canonicalize the key before removing its mapping.
10300         (clear): Updated documentation.
10301         Added security manager check.
10302         (toCanonicalKey): New method.
10303
10304 2006-07-30  Matt Wringe  <mwringe@redhat.com>
10305
10306         * gnu/java/security/Engine.java
10307         (getInstance): Ignore self referencing aliases.
10308
10309 2006-07-30  Mark Wielaard  <mark@klomp.org>
10310
10311         * javax/swing/JComponent.java (getListeners): Revert
10312         un-genericization.
10313
10314 2006-07-30  Mark Wielaard  <mark@klomp.org>
10315
10316         * resource/java/security/classpath.security: Add /dev/urandom as
10317         default securerandom.source.
10318
10319 2006-07-30  Mark Wielaard  <mark@klomp.org>
10320
10321         * java/util/GregorianCalendar.java (maximums): Months can have up to
10322         6 weeks.
10323         (nonLeniencyCheck): weeks is either 5 or 6.
10324
10325 2006-07-30  Andrew John Hughes  <gnu_andrew@member.fsf.org>
10326         
10327         * javax/management/openmbean/OpenMBeanAttributeInfo.java,
10328         * javax/management/openmbean/OpenMBeanParameterInfo.java:
10329         New files.
10330
10331 2006-07-30  Matt Wringe  <mwringe@redhat.com>
10332
10333         * gnu/java/security/Engine.java 
10334         (getInstance): Ignore self referencing aliases.
10335
10336 2006-07-30  Sven de Marothy  <sven@physto.se>
10337
10338         * java/awt/Choice.java:
10339         (accessibleAction): Call select() directly.
10340         (add, insert, remove): Reimplement.
10341         (dispatchEventImpl): Always call super.
10342         (processItemEvent): Does not set the index.
10343         * include/gnu_java_awt_peer_gtk_GtkChoicePeer.h
10344         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
10345         (append): removed.
10346         (nativeAdd): Name changed to add.
10347         (selection_changed_cb): Simplify callback.
10348         * gnu/java/awt/peer/gtk/GtkChoicePeer.java
10349         (selected): New field.
10350         (add): Replaced with native impl.
10351         (handleEvent): New method.      
10352         
10353 2006-07-30  Sven de Marothy  <sven@physto.se>
10354
10355         * java/awt/Choice.java:
10356         Reformat, fix copyright year.
10357
10358 2006-07-29  Mark Wielaard  <mark@klomp.org>
10359
10360         * javax/swing/JComponent.java (paintingDoubleBuffered): Renamed
10361         static field isPaintingDoubleBuffered to not have the same name
10362         as a method.
10363
10364 2006-07-29  Andrew John Hughes  <gnu_andrew@member.fsf.org>
10365   
10366         * examples/gnu/classpath/examples/management/TestBeans.java:
10367         New file.
10368         * javax/management/MBeanAttributeInfo.java:
10369         (toString()): Implemented.
10370         * javax/management/MBeanConstructorInfo.java:
10371         (toString()): Implemented.
10372         * javax/management/MBeanFeatureInfo.java:
10373         (toString()): Implemented.
10374         * javax/management/MBeanInfo.java:
10375         (toString()): Implemented.
10376         * javax/management/MBeanNotificationInfo.java:
10377         (toString()): Implemented.
10378         * javax/management/MBeanOperationInfo.java:
10379         (toString()): Implemented.
10380         * javax/management/MBeanParameterInfo.java:
10381         (toString()): Implemented.
10382         * javax/management/StandardMBean.java:
10383         (getMBeanInfo()): Fix attribute naming.
10384
10385 2006-07-29  Andrew John Hughes  <gnu_andrew@member.fsf.org>
10386
10387         * gnu/java/lang/management/BeanImpl.java:
10388         Extended javax.management.StandardMBean.
10389         * gnu/java/lang/management/ClassLoadingMXBeanImpl.java,
10390         * gnu/java/lang/management/CompilationMXBeanImpl.java,
10391         * gnu/java/lang/management/GarbageCollectorMXBeanImpl.java,
10392         * gnu/java/lang/management/MemoryMXBeanImpl.java,
10393         * gnu/java/lang/management/MemoryManagerMXBeanImpl.java,
10394         * gnu/java/lang/management/MemoryPoolMXBeanImpl.java,
10395         * gnu/java/lang/management/OperatingSystemMXBeanImpl.java,
10396         * gnu/java/lang/management/RuntimeMXBeanImpl.java,
10397         * gnu/java/lang/management/ThreadMXBeanImpl.java:
10398         Call the superclass with the appropriate class.
10399         * java/lang/management/ManagementFactory.java:
10400         (getOperatingSystemMXBean()): Catch exception from
10401         StandardMBean.
10402         (getRuntimeMXBean()): Likewise.
10403         (getClassLoadingMXBean()): Likewise.
10404         (getThreadMXBean()): Likewise.
10405         (getMemoryMXBean()): Likewise.
10406         (getCompilationMXBean()): Likewise.
10407         (getMemoryPoolMXBeans()): Likewise.
10408         (getMemoryManagerMXBeans()): Likewise.
10409         (getGarbageCollectorMXBeans()): Likewise.
10410         * javax/management/MBeanFeatureInfo.java:
10411         hashCode()): Fixed to check for null values.
10412
10413 2006-07-29  Matt Wringe  <mwringe@redhat.com>
10414
10415         * gnu/java/security/Engine.java
10416         (getInstance): Add case insentivity to algorithm names
10417         * java/security/Provider.java
10418         (put): Stop using canonical key naming
10419         (remove): Likewise
10420         (toCanonicalKey): Method removed
10421         (get): Method removed, no longer needs to overwrite
10422         parent implementation
10423
10424 2006-07-29  Mark Wielaard  <mark@klomp.org>
10425
10426         * gnu/java/awt/peer/gtk/GdkTextLayout.java: Removed.
10427         * gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java: Removed.
10428         * include/gnu_java_awt_peer_gtk_GdkTextLayout.h: Removed.
10429         * include/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.h: Removed.
10430         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c: Removed.
10431         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c:
10432         Removed.
10433
10434 2006-07-29  Sven de Marothy  <sven@physto.se>
10435
10436         * java/math/BigDecimal.java
10437         Adjust copyright date.
10438         (divide(BigDecimal): Implement.
10439         (precision): Reimplement.
10440         (numDigitsInBigInteger, numDigitsInLong): Removed.
10441         (toString): Get exponent from string length,
10442         fix negative values with exponential form.
10443         (toEngineeringString): Same as for toString.
10444         (setScale): Throw ArithmeticException if scale < 0.
10445
10446 2006-07-27  Francis Kung  <fkung@redhat.com>
10447
10448         * gnu/java/awt/java2d/CubicSegment.java: Added import.
10449         (cp1): Renamed from first().
10450         (c2): Renamed from last().
10451         (first): Renamed to cp1().
10452         (getDisplacedSegments): Implemented.
10453         (last): Renamed to cp2().
10454         * gnu/java/awt/java2d/LineSegment.java
10455         (cp1): Renamed from first().
10456         (c2): Renamed from last().
10457         (first): Renamed to cp1().
10458         (last): Renamed to cp2().
10459         * gnu/java/awt/java2d/QuadSegment.java
10460         (cp1): Renamed from first().
10461         (c2): Renamed from last().
10462         (first): Renamed to cp1().
10463         (last): Renamed to cp2().
10464         * gnu/java/awt/java2d/Segment.java: Added comments.
10465         (first): New field.
10466         (Segment): Keep track of first element in list.
10467         (add): Update first & last element variables.
10468         (cp1): Renamed from first().
10469         (c2): Renamed from last().
10470         (first()): Renamed to cp1() to reduce ambiguity.
10471         (last()): Renamed to cp2() to reduce ambiguity.
10472         (reverseAll): Update first element variable..
10473         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
10474         (draw): Remove flattening path iterator.
10475         * java/awt/BasicStroke.java: Clarified comments.
10476         (addSegments): Refactored some code into joinSegments and
10477         joinInnerSegments.
10478         (capEnd): Rename of Segment.first() and Segment.end().
10479         (joinInnerSegments): New method.
10480         (joinOuterSegments): New method.
10481         (joinSegments): Refactored some code into joinOuterSegments.
10482         (solidStroke): Connect segments together properly.
10483
10484 2006-07-28  Thomas Fitzsimmons  <fitzsim@redhat.com>
10485
10486         * native/jawt/Makefile.am (libjawt_la_LDFLAGS): Add
10487         -avoid-version.
10488         * native/jni/gtk-peer/Makefile.am (libgtkpeer_la_LDFLAGS):
10489         Likewise.
10490         * native/jni/midi-alsa/Makefile.am (libgjsmalsa_la_LDFLAGS):
10491         Likewise.
10492         * native/jni/midi-dssi/Makefile.am (libgjsmdssi_la_LDFLAGS):
10493         Likewise.
10494
10495 2006-07-28  Tom Tromey  <tromey@redhat.com>
10496
10497         * configure.ac: Enable -Werror by default on Linux-with-gcc.
10498
10499 2006-07-28  Lillian Angel  <langel@redhat.com>
10500
10501         * native/jni/gtk-peer/GtkDragSourceContextPeer.c:
10502         Removed function declarations.
10503         (connect_signals_for_widget): Removed implementation because
10504         stub functions have been removed.
10505         (drag_begin_cb): Removed function.
10506         (drag_motion_cb): Likewise.
10507         (drag_data_get_cb): Likewise.
10508         (drag_data_delete_cb): Likewise.
10509         (drag_drop_cb): Likewise.
10510         (drag_end_cb): Likewise.
10511         (drag_data_received_cb): Likewise.      
10512
10513 2006-07-28  Mark Wielaard  <mark@klomp.org>
10514
10515         * configure.ac: Set version to 0.93-pre.
10516
10517 2006-07-29  Raif S. Naffah  <raif@swiftdsl.com.au>
10518
10519         * tools/Makefile.am: Added source 1.4 compliance option when ECJ is used.
10520
10521 2006-07-29  Raif S. Naffah  <raif@swiftdsl.com.au>
10522
10523         * tools/gnu/classpath/tools/keytool/Command.java: Removed unused import.
10524         (getCallbackHandler): Fully qualify linked class in javadoc.
10525         * tools/gnu/classpath/tools/keytool/GenKeyCmd.java (cmdOptionsParser): Removed.
10526         * tools/gnu/classpath/tools/keytool/ImportCmd.java (imported): Likewise.
10527         * tools/gnu/classpath/tools/keytool/Main.java (printHelp): Likewise.
10528
10529 2006-07-27  Tom Tromey  <tromey@redhat.com>
10530
10531         PR classpath/28486:
10532         * java/net/URLStreamHandler.java (equals): Properly handle default
10533         port.  Rewrote javadoc.  Don't compare 'authority' parts of URLs.
10534
10535 2006-07-27  Roman Kennke  <kennke@aicas.com>
10536
10537         * javax/swing/text/AbstractDocument.java
10538         (documentCV): Made field private.
10539         (bypass): Made field private.
10540         (bidiRoot): New field.
10541         (AbstractDocument): Initialize bidiRoot.
10542         (getBidiRootElement): Return bidiRoot.
10543         (getRootElements): Adjusted to also return the bidiRoot element.
10544         (BranchElement.startOffset): Removed unneeded field.
10545         (BranchElement.endOffset): Removed unneeded field.
10546         (BranchElement.BranchElement): Removed unneeded fields.
10547         (BranchElement.getEndOffset): Don't explicitly throw NPE here. This is
10548         done automatically when there's no element left in the array.
10549         (BranchElement.getStartOffset): Likewise.
10550         (BranchElement.replace): Reordered calculations to avoid double
10551         calculations.
10552         (removeImpl): Silently ignore requests with length <= 0.
10553         * javax/swing/text/GapContent.java
10554         (createPosition): Removed explicit check for correct offset.
10555         This class can deal with offsets outside the document.
10556         (shiftEnd): Update all positions, even those outside the
10557         document.
10558         (adjustPositionsInRange): Fixed to also adjust positions outside
10559         the document boundary.
10560
10561 2006-07-18  Kyle Galloway  <kgallowa@redhat.com>
10562
10563     * gnu/classpath/jdwp/event/ExceptionEvent.java: Added _klass field to hold
10564     defining class.
10565     (getParameter): Returns _klass field instead of determining
10566     class from _instance.
10567     (setCatchLoc): New method.
10568     (writeData): Now assumes Location deals with empty locations instead of
10569     using null.
10570     * gnu/classpath/jdwp/util/Location.java (write): Check for empty
10571     locations and write out accordingly.
10572     (getEmptyLocation): New method. 
10573
10574 2006-07-27  Roman Kennke  <kennke@aicas.com>
10575
10576         * javax/swing/text/SimpleAttributeSet.java
10577         (EMPTY): Use EmptyAttributeSet for this field rather than
10578         SimpleAttributeSet.
10579         * javax/swing/text/EmptyAttributeSet.java: New class. Implements
10580         an empty and immutable AttributeSet.
10581
10582 2006-07-27  Roman Kennke  <kennke@aicas.com>
10583
10584         * java/awt/Component.java
10585         (reshape): Invalidate the component itself only when the
10586         size has changed. Invalidate the parent always. Fixed
10587         repainting. Pulled out the notification into
10588         notifyReshape().
10589         (notifyReshape): New helper method. Notify interested listeners
10590         about a reshape.
10591         (update): Simply call paint() without clearing the background.
10592         This is done in Container.update() if appropriate.
10593         (repaint): Delagate the repaint to the nearest heavyweight
10594         parent (for lightweights) and send an UPDATE event, rather than
10595         calling ComponentPeer.repaint().
10596         * java/awt/Container.java
10597         (backCleared): Removed field.
10598         (paint): Removed handling of backCleared flag.
10599         (update): Only paint if the container is actually
10600         showing. Removed handling of backCleared flag.
10601
10602 2006-07-27  Robert Schuster <robertschuster@fsfe.org>
10603
10604         * javax/swing/plaf/basic/BasicTabbedPaneUI.java: Fixed copyright and
10605         authorship.
10606         (NavigateAction): New inner class.
10607         (NavigatePageDownAction): New inner class.
10608         (NavigatePageUpAction): New inner class.
10609         (RequestFocusAction): New inner class.
10610         (RequestFocusForVisibleComponentAction): New inner class.
10611         (FocusHandler.focusGained): Implemented.
10612         (FocusHandler.focusLost): Implemented.
10613         (MouseHandler.mouseReleased): Implemented.
10614         (MouseHandler.mousePressed): Rewritten.
10615         (PropertyChangeHandler.propertyChange): Reset currentScrollOffset and
10616         currentScrollLocation to 0.
10617         (TabbedPaneLayout.calculateSize): Stored tab count in local variable,
10618         removed local variables, fixed indentation to stay under 80 column
10619         limit.
10620         (TabbedPaneLayout.calculateTabRects): Decrease tab area position by
10621         one, set selectedIndex to 0 if its negative, corrected start values
10622         for normalization, suppressed padding when only one tab run,
10623         (TabbedPaneLayout.minimumLayoutSize): Toggled argument value.
10624         (TabbedPaneLayout.normalizeTabRuns): Fixed indentation to stay under
10625         80 column limit, corrected the starting value for the bounds fixing
10626         phase.
10627         (TabbedPaneLayout.preferredTabAreaWidth): Fixed indentation.
10628         (TabbedPaneLayout.rotateTabInRuns): Corrected comparison value for
10629         selectedRun, set start index for loop to 0.
10630         (TabbedPaneScrollLayout.preferredLayoutSize): Toggled argument value.
10631         (TabbedPaneScrollLayout.calculateTabRects): Rewritten.
10632         (TabbedPaneScrollLayout.layoutContainer): Added scrolling button
10633         alignment and visibility handling.
10634         (TabSelectionHandler.stateChanged): Do revalidation only in wrap tab
10635         layout mode.
10636         (ScrollingPanel.ScrollingPanelUI.paint): Rewritten.
10637         (currentScrollOffset): New field.
10638         (tabRuns): Rewritten documentation.
10639         (selectedColor): New field.
10640         (tempTextRect): New field.
10641         (tempIconRect): New field.
10642         (scrollTab): New method.
10643         (updateButtons): New method.
10644         (updateViewPosition): New method.
10645         (createLayoutManager): Reordered method calls, predefine new fields,
10646         register proper listeners.
10647         (uninstallComponents): Implemented.
10648         (installDefaults): Corrected property names, fixed indentation,.
10649         (uninstallDefaults): Set new fields to null.
10650         (uninstallListeners): Remove listeners from components neccessary for
10651         scrolling tab layout.
10652         (installKeyboardActions): Implemented.
10653         (uninstallKeyboardActions): Implemented.
10654         (paint): Paint tab area background.
10655         (paintTabArea): Fixed indentation, removed usage of local Rectangle
10656         objects.
10657         (getTabLabelShiftX): Rewritten.
10658         (getTabLabelShiftY): Rewritten.
10659         (paintFocusIndicator): Reindented.
10660         (paintTabBorder): Rewritten.
10661         (paintTabBackground): Corrected color usage, rewritten background
10662         rectangle painting.
10663         (paintContentBorderTopEdge): Rewritten.
10664         (paintContentBorderBottomEdge): Rewritten.
10665         (paintContentBorderLeftEdge): Rewritten.
10666         (paintContentBorderRightEdge): Rewritten.
10667         (tabForCoordinate): Return selected index when no tab could be
10668         found, removed FIXME note.
10669         (getRunForTab): Changed return value for first if-statement.
10670         (navigateSelectedTab): Fixed last argument for both
10671         getTabRunOffset() calls.
10672         (selectedNextTabInRun): Added scrolling code.
10673         (selectedPreviousTabInRun): Added scrolling code.
10674         (selectedNextTab): Added scrolling code.
10675         (selectedPreviousTab): Added scrolling code.
10676         (selectAdjacentRunTab): Added scrolling code.
10677         (getTextViewForTab): Added FIXME note.
10678         (calculateTabHeight): Changed FIXME note.
10679         (getTabRunOffset): Fixed indentation.
10680         (getNextTabIndexInRun): Corrected return value.
10681         (rotateInsets): Make TOP case the default in switch-statement.
10682         (getActionMap): New method.
10683         (createActionMap): New method.
10684         * javax/swing/plaf/metal/MetalTabbedPaneUI.java:
10685         (createLayoutManager): Rewritten.
10686         (paintLeftTabBorder): Do not paint left line when previous tab
10687         is selected but current tab is the first in its run, do not paint
10688         left line when current tab is selected and is first in its run.
10689         (paintRightTabBorder): Added missing setColor() call, fixed color
10690         usage, do not paint right line if previous tab is selected but
10691         current tab is the first in its run.
10692         (paintBottomTabBorder): Do not paint left line if tab is selected
10693         and is the first tab in the last run.
10694         (paintFocusIndicator): New method.
10695         (getLabelShiftX): New method.
10696         (getLabelShiftY): New method.
10697
10698 2006-07-27  Andreas Tobler  <a.tobler@schweiz.ch>
10699
10700         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
10701         (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoSetMatrix): Remove
10702         g_assert from unused obj.
10703         (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoDrawGlyphVector): Mark
10704         obj as unused and remove g_assert on it.
10705
10706 2006-07-26  Roman Kennke  <kennke@aicas.com>
10707
10708         * javax/swing/RepaintManager.java
10709         (markCompletelyDirty): Add dirty region with Integer.MAX_VALUE
10710         for the component.
10711         (isCompletelyDirty): Consider a component completely dirty
10712         when it has a dirty region with Integer.MAX_VALUE.
10713
10714 2006-07-26  Roman Kennke  <kennke@aicas.com>
10715
10716         * java/awt/KeyboardFocusManager.java
10717         (getGlobalFocusOwner): Explicitly check for thread security.
10718         (getGlobalPermanentFocusOwner): Explicitly check for thread security.
10719         (getGlobalFocusedWindow): Explicitly check for thread security.
10720         (getGlobalActiveWindow): Explicitly check for thread security.
10721         (getGlobalCurrentFocusCycleRoot): Explicitly check for thread security.
10722         (getGlobalObject): Added new argument for specifying if
10723         a security check should be performed or not.
10724         (setGlobalObject): Don't check for thread security when
10725         calling getGlobalObject.
10726
10727 2006-07-26  Andrew John Hughes  <gnu_andrew@member.fsf.org>
10728
10729         * javax/management/MBeanConstructorInfo.java:
10730         Documentation fix.
10731         * javax/management/MBeanInfo.java:
10732         (MBeanInfo(String,String,MBeanAttributeInfo[],
10733         MBeanConstructorInfo[], MBeanOperationInfo[],
10734         MBeanNotificationInfo[])): Implemented.
10735         (equals(Object)): Likewise.
10736         (getAttributes()): Likewise.
10737         (getConstructors()): Likewise.
10738         (getOperations()): Likewise.
10739         (hashCode()): Likewise.
10740         * javax/management/MBeanOperationInfo.java,
10741         * javax/management/NotCompliantMBeanException.java,
10742         * javax/management/StandardMBean.java:
10743         New files.
10744
10745 2006-07-26  Sven de Marothy  <sven@physto.se>
10746
10747         * java/awt/geom/GeneralPath.java: Fix severe typo.
10748         
10749 2006-07-26  Sven de Marothy  <sven@physto.se>
10750
10751         * include/java_lang_VMSystem.h
10752         * vm/reference/java/lang/VMSystem.java
10753         * native/jni/java-lang/java_lang_VMSystem.c
10754         (nanoTime, currentTimeMillis): Switch the former to native code and
10755         the latter to java.
10756         
10757 2006-07-26  Andreas Tobler  <a.tobler@schweiz.ch>
10758
10759         * gnu/java/awt/peer/qt/QtCheckboxPeer.java: Removed unneeded imports.
10760         * gnu/java/awt/peer/qt/QtComponentGraphics.java: Likewise.
10761         * gnu/java/awt/peer/qt/QtComponentPeer.java: Likewise.
10762         * gnu/java/awt/peer/qt/QtContainerPeer.java: Likewise.
10763         * gnu/java/awt/peer/qt/QtDialogPeer.java: Likewise.
10764         * gnu/java/awt/peer/qt/QtEmbeddedWindowPeer.java: Likewise.
10765         * gnu/java/awt/peer/qt/QtFontMetrics.java: Likewise.
10766         * gnu/java/awt/peer/qt/QtFontPeer.java: Likewise.
10767         * gnu/java/awt/peer/qt/QtGraphics.java: Likewise.
10768         * gnu/java/awt/peer/qt/QtGraphicsEnvironment.java: Likewise.
10769         * gnu/java/awt/peer/qt/QtImage.java: Likewise.
10770         * gnu/java/awt/peer/qt/QtImageConsumer.java: Likewise.
10771         * gnu/java/awt/peer/qt/QtImageDirectGraphics.java: Likewise.
10772         * gnu/java/awt/peer/qt/QtImageGraphics.java: Likewise.
10773         * gnu/java/awt/peer/qt/QtMenuBarPeer.java: Likewise.
10774         * gnu/java/awt/peer/qt/QtMenuItemPeer.java: Likewise.
10775         * gnu/java/awt/peer/qt/QtPopupMenuPeer.java: Likewise.
10776         * gnu/java/awt/peer/qt/QtScreenDeviceConfiguration.java: Likewise.
10777         * gnu/java/awt/peer/qt/QtScrollPanePeer.java: Likewise.
10778         * gnu/java/awt/peer/qt/QtToolkit.java: Likewise.
10779         * gnu/java/awt/peer/qt/QtVolatileImage.java: Likewise.
10780
10781 2006-07-26  Roman Kennke  <kennke@aicas.com>
10782
10783         * java/awt/KeyboardFocusManager.java
10784         (getFocusOwner): Don't check permanent owner.
10785         (getGlobalFocusOwner): Don't check permanent owner.
10786
10787 2006-07-26  Carsten Neumann  <cn-develop@gmx.net>
10788
10789         * StrictMath.java (cosh): New method.
10790         (expm1): New method.
10791         (EXPM1_Q1): New field.
10792         (EXPM1_Q2): Likewise.
10793         (EXPM1_Q3): Likewise.
10794         (EXPM1_Q4): Likewise.
10795         (EXPM1_Q6): Likewise.
10796
10797 2006-07-26  Roman Kennke  <kennke@aicas.com>
10798
10799         * javax/swing/plaf/basic/BasicButtonListener.java
10800         (mousePressed): Request focus if appropriate.
10801         * javax/swing/text/DefaultCaret.java
10802         (mousePressed): Also handle the focus of the text component
10803         as specified. Don't consume events.
10804
10805 2006-07-26  Roman Kennke  <kennke@aicas.com>
10806
10807         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
10808         (focusRequest): Removed field.
10809         (postFocusEvent(int,boolean,Component)): Removed.
10810         (postFocusEvent(int,boolean)): Reverted to post event using
10811         the heavyweight component.
10812         (requestFocus): Post focus event using the heavyweight
10813         component.
10814         * gnu/java/awt/peer/gtk/GtkWindowPeer.java
10815         (requestFocus): Post focus event using the heavyweight
10816         component.
10817         * java/awt/AWTEvent.java
10818         (isFocusManagerEvent): New field, indicating if this is
10819         an event that is redispatched by the KeyboardFocusManager.
10820         * java/awt/Component.java
10821         (requestFocusImpl): Register component for
10822         heavyweight->lightweight mapping.
10823         (dispatchEventImpl): Retarget focus events before dispatching
10824         to the KeyboardFocusManager. Use new AWTEvent flag instead
10825         of locking hack. Dispatch all events through the
10826         KeyboardFocusManager. Don't request focus on lightweight
10827         components.
10828         * java/awt/DefaultKeyboardFocusManager.java
10829         (dispatchEvent): Pulled out handling of FOCUS_GAINED and
10830         FOCUS_LOST.
10831         (handleFocusGained): Fixed handling of temporary vs permanent
10832         focus changes. Added some checks.
10833         (handleFocusLost): Fixed handling of temporary vs permanent
10834         focus changes. Added some checks.
10835         * java/awt/EventDispatchThread.java
10836         (run): Don't dispatch to KeyboardFocusManager here. This
10837         is done in Component.dispatchEventImpl().
10838         * java/awt/KeyboardFocusManager.java
10839         (redispatchEvent): Use new AWTEvent flag instead of locking hack.
10840         (focusRequests): New field.
10841         (retargetFocusEvent): New method. Retargets focus events
10842         that come from heavyweights to the correct lightweight component.
10843         (addLightweightFocusRequest): New method. Stores a mapping
10844         for later retargetting of heavyweight focus events.
10845         * java/awt/Window.java
10846         (addFocusListener): Removed bogus method. If at all, this
10847         should be performed in the KeyboardFocusManager.
10848         (Window): Don't install a focus listener on the Window.
10849
10850 2006-07-26  Robert Schuster <robertschuster@fsfe.org>
10851
10852         * gnu/java/awt/peer/gtk/CairoGraphics2D.java:
10853         (drawLine): Apply shift to line coordinates.
10854
10855 2006-07-26  Robert Schuster <robertschuster@fsfe.org>
10856
10857         * java/awt/image/ColorConvertOp.java: Fixed copyright header.
10858         (copyimage): Do not call setRenderingHints() when the respective map
10859         does not exist.
10860         (filter): Removed code to clone the ColorModel instance.
10861         * java/awt/image/ColorModel.java:
10862         (cloneColorModel): Removed.
10863
10864 2006-07-26  Robert Schuster <robertschuster@fsfe.org>
10865
10866         * javax/swing/JTabbedPane.java:
10867         (setSelectedIndex): Removed updating of component visibility status,
10868         added note.
10869         (remove(Component)): Use indexOfComponent() to find whether we have
10870         to use super.remove(int) or removeTabAt().
10871
10872 2006-07-26  Roman Kennke  <kennke@aicas.com>
10873
10874         * javax/swing/JOptionPane.java
10875         (createDialog): Add property change handler for closing
10876         the dialog when the value property changes.
10877         (ValuePropertyHandler): New inner helper class.
10878         * javax/swing/plaf/basic/BasicOptionPaneUI.java
10879         (OptionPaneCloseAction): New class.
10880         (messageForeground): Removed field.
10881         (messageBorder): Removed field.
10882         (buttonBorder): Removed field.
10883         (addIcon): Configure the new label.
10884         (addMessageComponents): Configure newly created labels.
10885         (burstStringInto): Likewise.
10886         (createButtonArea): Install border here.
10887         (createMessageArea): Install border and foreground here.
10888         (createSeparator): Added comment and removed
10889         NotImplementedException.
10890         (installComponents): Don't install the UI defaults for the
10891         message and button area here. This is moved to the
10892         corresponding create* methods. Adjusted comment about
10893         separator.
10894         (installDefaults): Removed initialization of removed fields.
10895         (installKeyboardActions): Implemented.
10896         (getActionMap): New helper method.
10897         (createDefaultActions): New helper method.
10898         (uninstallDefaults): Removed de-initialization of removed fields.
10899         (uninstallKeyboardActions): Implemented.
10900         (configureLabel): New helper method.
10901         * javax/swing/plaf/basic/BasicTableUI.java
10902         (getActionMap): Fixed the UI property names.
10903         * javax/swing/plaf/basic/BasicToolBarUI.java
10904         (getActionMap): Fixed the UI property names.
10905
10906 2006-07-26  David Gilbert  <david.gilbert@object-refinery.com>
10907
10908         * java/awt/image/BandedSampleModel.java
10909         (getDataElements): Check for negative x or y,
10910         (getPixels): Likewise,
10911         (getSamples): Likewise,
10912         (setSamples): Likewise.
10913
10914 2006-07-26  Roman Kennke  <kennke@aicas.com>
10915
10916         * javax/swing/plaf/basic/BasicToolBarUI.java
10917         (ToolBarAction): New inner class for handling keyboard
10918         actions.
10919         (installKeyboardActions): Implemented.
10920         (getActionMap): New helper method.
10921         (createDefaultActions): New helper method.
10922         (installListeners): Install focus listener on toolbar's
10923         children, rather than the toolbar itself.
10924         (navigateFocusedComp): Implemented.
10925         (uninstallKeyboardActions): Implemented.
10926         (uninstallListeners): Uninstall focus listener from
10927         toolbar's children, rather than the toolbar itself.
10928         (ToolBarContListener.componentAdded): Install focus
10929         listener on added child.
10930         (ToolBarContListener.componentRemoved): Uninstall focus
10931         listener from removed child.
10932         (ToolBarFocusListener.ToolBarFocusListener): Nothing to do here.
10933         (ToolBarFocusListener.focusGained): Implemented.
10934         (ToolBarFocusListener.focusLost): Implemented.
10935
10936 2006-07-26  Roman Kennke  <kennke@aicas.com>
10937
10938         * java/awt/DefaultKeyboardFocusManager.java
10939         (dispatchEvent): Notify old focus owner when it has lost
10940         focus.
10941
10942 2006-07-26  Roman Kennke  <kennke@aicas.com>
10943
10944         * javax/swing/plaf/basic/BasicTableUI.java
10945         (FocusHandler.focusGained): Implemented to refresh the
10946         lead cell.
10947         (FocusHandler.focusLost): Implemented to refresh the
10948         lead cell.
10949         (FocusHandler.repaintLeadCell): New helper method.
10950         (MouseInputHandler.mouseEntered): Do nothing here.
10951         (MouseInputHandler.mouseExited): Do nothing here.
10952         (MouseInputHandler.mouseMoved): Do nothing here.
10953         (installKeyboardActions): Rewritten to use a shared InputMap
10954         and ActionMap and correctly install the maps via SwingUtilities
10955         methods.
10956         (getActionMap): New helper method.
10957         (createDefaultActions): New helper method.
10958         (ActionListenerProxy): Removed unneeded class.
10959         (TableAction): Made class static.
10960         (TableAction.actionPerformed): Determine table by fetching
10961         the event source. Pass the table to helper methods.
10962         Use __command__ hack to determine the action command.
10963         (TableAction.getFirstVisibleColumnIndex): Get table as argument.
10964         (TableAction.getLastVisibleColumnIndex): Get table as argument.
10965         (TableAction.getFirstVisibleRowIndex): Get table as argument.
10966         (TableAction.getLastVisibleRowIndex): Get table as argument.
10967         (TableAction.advanceMultipleSelection): Get table as argument.
10968         (uninstallDefaults): Do nothing here.
10969         (uninstallKeyboardActions): Uninstall the keyboard actions.
10970
10971 2006-07-26  Roman Kennke  <kennke@aicas.com>
10972
10973         * javax/swing/JComponent.java
10974         (processKeyBinding): Store the action command as property
10975         in the Action instance that we call. This allows for
10976         improvement on the side of the Action.
10977
10978 2006-07-26  Roman Kennke  <kennke@aicas.com>
10979
10980         * javax/swing/plaf/metal/MetalUtils.java
10981         (fillMetalPattern): Use fillRect() instead of drawLine() to
10982         fill single pixels.
10983
10984 2006-07-26  Roman Kennke  <kennke@aicas.com>
10985
10986         * javax/swing/text/GapContent.java
10987         (getChars): Check for negative length and throw
10988         BadLocationException.
10989
10990 2006-07-26  Roman Kennke  <kennke@aicas.com>
10991
10992         * javax/swing/plaf/basic/BasicMenuBarUI.java
10993         (FocusAction): Made class static.
10994
10995 2006-07-26  Roman Kennke  <kennke@aicas.com>
10996
10997         * javax/swing/plaf/basic/BasicLookAndFeel.java
10998         (initComponentDefaults): Add keyboard bindings for
10999         PopupMenu.
11000
11001 2006-07-26  Roman Kennke  <kennke@aicas.com>
11002
11003         * javax/swing/UIManager.java
11004         (getLookAndFeelDefaults): Return the look and feel defaults.
11005         (setLookAndFeel): Improved exception messsage.
11006
11007 2006-07-26  David Gilbert  <david.gilbert@object-refinery.com>
11008
11009         * javax/swing/text/StringContent.java
11010         (StringContent): Changed initialLength to 10.
11011
11012 2006-07-26  David Gilbert  <david.gilbert@object-refinery.com>
11013
11014         * java/util/Vector.java: Fixed API doc typo.
11015
11016 2006-07-26  David Gilbert  <david.gilbert@object-refinery.com>
11017
11018         * java/awt/image/BandedSampleModel.java
11019         (createCompatibleSampleModel): Fixed typo in loop increment, set
11020         correct scanlineStride, and updated API docs.
11021
11022 2006-07-25  Roman Kennke  <kennke@aicas.com>
11023
11024         * javax/swing/plaf/basic/BasicPopupMenuUI.java
11025         (NavigateAction): New inner class. This is responsible for
11026         keyboard navigation through menus.
11027         (KeyboardHelper): New inner class. This manages the
11028         keyboard mappings and focus when a popup opens or closes.
11029         (keyboardHelper): New static field.
11030         (numPopups): New static field.
11031         (installUI): Create KeyboardHelper for first popup.
11032         Call installKeyboardActions().
11033         (installKeyboardActions): Removed NotImplementedException.
11034         This method is a no-op.
11035         (installKeyboardActionsImpl): New method. Installs keyboard
11036         mapping when a popup is opened.
11037         (getActionMap): New helper method.
11038         (createDefaultActions): New helper method.
11039         (uninstallUI): Uninstall KeyboardHelper when last Popup is
11040         uninstalled. Call uninstallKeyboardActions().
11041         (uninstallKeyboardActions): Removed NotImplementedException.
11042         This method is a no-op.
11043         (uninstallKeyboardActionsImpl): New method. Uninstalls keyboard
11044         mapping when a popup is closed.
11045         
11046 2006-07-25  Roman Kennke  <kennke@aicas.com>
11047
11048         * java/awt/Component.java
11049         (requestFocus()): Reimplemented to use requestFocusImpl().
11050         (requestFocus(boolean)): Reimplemented to use requestFocusImpl().
11051         (requestFocusInWindow()): Reimplemented to use requestFocusImpl().
11052         (requestFocusInWindow(boolean)): Reimplemented to use
11053         requestFocusImpl().
11054         (requestFocusImpl): Reimplemented focus request to use
11055         new peer method. Also added some obvious additional checks
11056         for rejecting focus requests early.
11057         * java/awt/ComponentPeer.java
11058         (requestFocus(Component,boolean,boolean,long)): Documented
11059         this method.
11060         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
11061         (requestFocus): New field.
11062         (gtkWidgetHasFocus): New native method.
11063         (gtkWidgetCanFocus): New native method.
11064         (requestFocus): Replaced with assert false to prevent
11065         usage of obsolete method.
11066         (postFocusEvent(int,boolean,Component)): New overloaded method
11067         for posting the focus event to a specific target.
11068         (postFocusEvent(int,boolean)): Post event to requestFocus
11069         component.
11070         (requestFocus(Component,boolean,boolean,long)): Implemented.
11071         (getWindowFor): New helper method.
11072         (isLightweightDescendant): New helper method.
11073         * gnu/java/awt/peer/gtk/GtkWindowPeer.java
11074         (gtkWindowHasFocus): New native method.
11075         (requestFocus(Component,boolean,boolean,long)): New method.
11076         Overrides GtkComponentPeer method to specially handly the
11077         case when a Window receives a focus request for a lightweight
11078         child.
11079         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
11080         (gtkWidgetHasFocus): New native method.
11081         (gtkWidgetCanFocus): New native method.
11082         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11083         (gtkWindowHasFocus): New native method.
11084         * include/gnu_java_awt_peer_gtk_GtkComponentPeer.h,
11085         * include/gnu_java_awt_peer_gtk_GtkWindowPeer.h:
11086         Regenerated.
11087
11088 2006-07-25  Francis Kung  <fkung@redhat.com>
11089
11090         * java/awt/DefaultKeyboardFocusManager.java
11091         (dispatchEvent): Add check for valid component.
11092
11093 2006-07-25  Andrew John Hughes  <gnu_andrew@member.fsf.org>
11094
11095         * javax/management/MBeanConstructorInfo.java:
11096         New file.
11097         * javax/management/MBeanNotificationInfo.java:
11098         Documentation fix.
11099         * javax/management/MBeanParameterInfo.java:
11100         New file.
11101
11102 2006-07-25  Robert Schuster <robertschuster@fsfe.org>
11103
11104         * java/awt/peer/gtk/CairoGraphics.java:
11105         (drawLine): Added special case for 1 pixel lines.
11106
11107 2006-07-25  Robert Schuster <robertschuster@fsfe.org>
11108
11109         Fixes PR27844.
11110         * java/awt/peer/gtk/CairoGraphics.java:
11111         (drawLine): Removed calls to shifted().
11112
11113 2006-07-25  Robert Schuster <robertschuster@fsfe.org>
11114
11115         * javax/swing/JTabbedPane.java:
11116         (remove(Component)): Rewritten.
11117         (setSelectedIndex): Implemented updating of component visibility state.
11118
11119 2006-07-25  Sven de Marothy  <sven@physto.se>
11120
11121         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c
11122         (init): Default to the actual depth in the worst case.
11123         
11124         * java/awt/Font.java
11125         (createFont(int, File)): New method.
11126         
11127 2006-07-25  Ito Kazumitsu  <kaz@maczuka.gcd.org>
11128
11129         Fixes bug #28413
11130         * gnu/java/util/regex/RETokenEnd.java(check_java_line_terminators):
11131         New field.
11132         (RETokenEnd): New constructer to set check_java_line_terminators.
11133         (matchThis): Checck line terminators if check_java_line_terminators.
11134         * gnu/java/util/regex/RETokenStart.java: Likewise.
11135         * gnu/regexp/RE.java(initialize): Use the new constructors for
11136         RETokenEnd and RETokenStart if REG_MULTILINE is set.
11137         * java/util/regex/Pattern.java(Patteren): Changed so that
11138         gnu/regexp/RE.java may use the new the new constructors.
11139
11140 2006-07-25  Roman Kennke  <kennke@aicas.com>
11141
11142         * java/awt/Container.java
11143         (focusTraversalPolicyProvider): New field.
11144         (isFocusTraversalPolicyProvider): New method.
11145         (setFocusTraversalPolicyProvider): New method.
11146         * java/awt/ContainerOrderFocusTraversalPolicy.java
11147         (getFirstComponent): Use accept() instead of lengthy checks.
11148         Don't fetch getComponents() to avoid copying of array.
11149         Traverse down the hierarchy to find the first focused component.
11150         * java/awt/DefaultKeyboardFocusManager.java
11151         (dispatchEvent): Let the initial component request focus.
11152
11153 2006-07-25  David Gilbert  <david.gilbert@object-refinery.com>
11154
11155         * javax/swing/text/Segment.java
11156         (last): Update current index before returning DONE for zero count.
11157         
11158 2006-07-24  Mark Wielaard  <mark@klomp.org>
11159
11160         * javax/swing/tree/TreePath.java (equals): Swap path equals call.
11161
11162 2006-07-25  Roman Kennke  <kennke@aicas.com>
11163
11164         * javax/swing/plaf/basic/BasicMenuBarUI.java
11165         (FocusAction): New inner class. Used to grab focus.
11166         (installKeyboardActions): Implemented.
11167         (uninstallKeyboardActions): Implemented.
11168         (getActionMap): New helper method.
11169         (createDefaultActions): New helper method.
11170
11171 2006-07-25  Robert Schuster <robertschuster@fsfe.org>
11172
11173         * examples/gnu/classpath/examples/swing/Demo.java:
11174         (mkMenuBar): Install instantiable basic look and feel.
11175         (InstantiableBasicLookAndFeel): New inner class.
11176
11177 2006-07-25  Roman Kennke  <kennke@aicas.com>
11178
11179         * javax/swing/plaf/basic/BasicInternalFrameUI.java
11180         (GlassPaneDispatcher.dragTarget): New field.
11181         (GlassPaneDispatcher.isDragging): New field.
11182         (GlassPaneDispatcher.pressedComponent): Removed field.
11183         (GlassPaneDispatcher.tempComponent): Removed field.
11184         (GlassPaneDispatcher.pressCount): Removed field.
11185         (GlassPaneDispatcher.mousePressed): Call
11186         borderListener.mousePressed() to activate the frame.
11187         (acquireComponentForMouseEvent): Removed method.
11188         (handleEvent): Rewritten.
11189         (redispatch): New method.
11190         (InternalFramePropertyChangeListener.propertyChange):
11191         Make glasspane invisible when frame is selected, and visible
11192         if it gets deselected.
11193         
11194 2006-07-25  Roman Kennke  <kennke@aicas.com>
11195
11196         * java/awt/LightweightDispatcher.java
11197         (handleMouseEvent): Dispatch event to real target if
11198         the dragTarget has become invisible in the meantime.
11199
11200 2006-07-25  David Gilbert  <david.gilbert@object-refinery.com>
11201
11202         * javax/swing/text/TabSet.java
11203         (equals): New method override for 1.5,
11204         (hashCode): Likewise,
11205         (toString): Added spaces to match reference implementation.
11206
11207 2006-07-24  Andrew John Hughes  <gnu_andrew@member.fsf.org>
11208
11209         * javax/management/IntrospectionException.java,
11210         * javax/management/MBeanAttributeInfo.java:
11211         New files.
11212         * javax/management/MBeanNotificationInfo.java:
11213         Documentation cleanups.
11214         
11215 2006-07-24  David Gilbert  <david.gilbert@object-refinery.com>
11216
11217         * javax/swing/text/TabSet.java
11218         (TabSet): Check for null argument,
11219         (getTab): Throw IllegalArgumentException for index out of bounds,
11220         (getTabIndexAfter): Changed test to '<=',
11221         and updated API docs all over,
11222         * javax/swing/text/TabStop.java: Updated API docs.
11223
11224 2006-07-24  David Gilbert  <david.gilbert@object-refinery.com>
11225
11226         * javax/swing/text/TabStop.java
11227         (toString): Don't use 'left ' prefix, and added space between tab
11228         location and '(w/leader)' suffix.
11229
11230 2006-07-24  Francis Kung  <fkung@redhat.com>
11231
11232         * javax/swing/JComboBox.java
11233         (DefaultKeySelectionManager): Implemented.
11234         (createDefaultKeySelectionManager): Implemented.
11235         (getKeySelectionManager): Implemented.
11236         (processKeyEvent): Removed duplicate code.
11237         * javax/swing/JPopupMenu.java
11238         (selectionModel): Changed visibility.
11239         * javax/swing/plaf/basic/BasicComboBoxUI.java
11240         (KeyHandler.keyPressed): Added navigation keys.
11241         (configureEditor): Add key listener.
11242         (installListeners): Install focus listener to combo box.
11243         (isNavigationKey): Added enter, escape, and tab.
11244         (selectPreviousPossibleValue): Added out of bounds check.
11245         (unconfigureEditor): Remove key listener.
11246         * javax/swing/plaf/metal/MetalComboBoxButton.java
11247         (paintComponent): Highlight combo box when in focus.
11248
11249 2006-07-24  Roman Kennke  <kennke@aicas.com>
11250
11251         * javax/swing/SwingUtilities.java
11252         (isLeftMouseButton): Fixed condition.
11253         * java/awt/LightweightDispatcher.java
11254         (handleMouseEvent): Dispatch MOUSE_ENTERED even when mouse
11255         is dragged.
11256
11257 2006-07-24  Roman Kennke  <kennke@aicas.com>
11258
11259         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
11260         (setPaint): Fixed scaleX and scaleY.
11261
11262 2006-07-24  Roman Kennke  <kennke@aicas.com>
11263
11264         * javax/swing/JTable.java
11265         (handleInsert): Repaint the whole table for variable row
11266         height tables and an optimized region otherwise.
11267         (handleDelete): Likewise.
11268         (handleUpdate): Likewise.
11269
11270 2006-07-24  Mario Torre  <neugens@limasoftware.net>
11271
11272         * gnu/java/awt/peer/gtk/GtkToolkit.java (createDragGestureRecognizer):
11273         now explicity registerListeners on GtkMouseDragGestureRecognizer
11274         instance.
11275         * gnu/java/awt/dnd/GtkMouseDragGestureRecognizer.java
11276         (unregisterListeners): new method, overrided from base class
11277         to rise visibility (from protected to public).
11278         (registerListeners): Likewise.
11279         (GtkMouseDragGestureRecognizer): fixed potential threading issue:
11280         removed call to registerListeners from the constructor.
11281
11282 2006-07-23  Andrew John Hughes  <gnu_andrew@member.fsf.org>
11283
11284         * gnu/java/lang/management/MemoryPoolMXBeanImpl.java,
11285         * java/lang/management/MemoryPoolMXBean.java:
11286         (getType()): Changed return type to MemoryType.
11287         * java/lang/management/MemoryType.java:
11288         New file.
11289
11290 2006-07-23  Mark Wielaard  <mark@klomp.org>
11291
11292         * configure.ac: Check for moc and moc-qt4.
11293
11294 2006-07-23  David Gilbert  <david.gilbert@object-refinery.com>
11295
11296         * java/awt/image/Kernel.java: API doc updates.
11297
11298 2006-07-22  Andreas Tobler  <a.tobler@schweiz.ch>
11299
11300         * gnu/java/awt/peer/gtk/CairoSurface.java: Optimize pixel swap code a
11301         bit more.
11302
11303 2006-07-22  Mark Wielaard  <mark@klomp.org>
11304
11305         * java/lang/Iterable.java: Import all of java.util.
11306         * lib/mkcollections.pl.in (javautilclasses): Add Iterable.
11307         * lib/Makefile.am: Only search for .java files in COLLECTIONS_PREFIX.
11308
11309 2006-07-22  Andrew John Hughes  <gnu_andrew@member.fsf.org>
11310
11311         * doc/vmintegration.texinfo:
11312         Document getType(String).
11313         * gnu/java/lang/management/MemoryPoolMXBeanImpl.java,
11314         * java/lang/management/MemoryPoolMXBean.java:
11315         (getType()): Implemented.
11316         * vm/reference/gnu/java/lang/management/VMMemoryPoolMXBeanImpl.java
11317         (getType(String)): Implemented.
11318         
11319 2006-07-22  Andrew John Hughes  <gnu_andrew@member.fsf.org>
11320
11321         * doc/vmintegration.texinfo:
11322         Move end of itemization block.
11323
11324 2006-07-22  Robert Schuster  <robertschuster@fsfe.org>
11325
11326         * javax/swing/plaf/metal/MetalLookAndFeel.java:
11327         (initComponentDefaults): Added new properties, added comments.
11328         
11329 2006-07-22  Andrew John Hughes  <gnu_andrew@member.fsf.org>
11330
11331         * doc/vmintegration.texinfo:
11332         Mention callback methods.
11333         * gnu/java/lang/management/MemoryMXBeanImpl.java:
11334         (fireNotification(String,String,long,long,long,long,long)):
11335         Made package-private.
11336         (fireThresholdExceededNotification(String,long,long,long,
11337         long,long)): Likewise.
11338         (fireCollectionThresholdExceededNotification(String,long,
11339         long,long,long,long)): Likewise.
11340         * java/lang/management/MemoryMXBean.java:
11341         Document notifications.
11342
11343 2006-07-22  Andrew John Hughes  <gnu_andrew@member.fsf.org>
11344
11345         * gnu/java/lang/management/MemoryMXBeanImpl.java:
11346         (fireNotification(String,String,long,long,long,long,long)):
11347         Implemented.
11348         (fireThresholdExceededNotification(String,long,long,long,
11349         long,long)): Likewise.
11350         (fireCollectionThresholdExceededNotification(String,long,
11351         long,long,long,long)): Likewise.
11352         * java/lang/management/MemoryNotificationInfo.java:
11353         Use composite type from MemoryMXBeanImpl.
11354         * javax/management/openmbean/CompositeData.java:
11355         Correct documentation.
11356         * javax/management/openmbean/CompositeDataSupport.java,
11357         * javax/management/openmbean/InvalidKeyException.java:
11358         New files.
11359
11360 2006-07-22  Raif S. Naffah  <raif@swiftdsl.com.au>
11361
11362         * gnu/java/security/util/IntegerUtil.java: New file.
11363
11364 2006-07-22  Raif S. Naffah  <raif@swiftdsl.com.au>
11365
11366         PR Classpath/28100
11367         * gnu/javax/crypto/cipher/TripleDES.java: Updated documentation.
11368         (KEY_SIZE): Likewise.
11369         (adjustParity(int,byte[],int): New method.
11370         (adjustParity(byte[],int): Call above method with 3 as 1st argument.
11371         (isParityAdjusted(int,byte[],int)): New method.
11372         (isParityAdjusted): Call above method with 3 as 1st argument.
11373         (keySizes): Add 8 and 16 as other valid key sizes.
11374         (makeKey): Amended to cater for 1, 2 and 3 independent DES keys.
11375
11376 2006-07-22  Andreas Tobler  <a.tobler@schweiz.ch>
11377
11378         * gnu/java/awt/peer/gtk/CairoSurface.java (CairoSurface): Rearrange
11379         code for the pixel swap routine to be more efficient.
11380
11381 2006-07-21  Carsten Neumann  <cn-develop@gmx.net>
11382
11383         * java/util/CopyOnWriteArrayList.java (indexOf(E, int)): New method.
11384         (lastIndexOf(E, int)): Likewise.
11385         (add(E)): Increase the size of newData array by one.
11386         (add(int, E)): Likewise.
11387
11388 2006-07-20  Lillian Angel  <langel@redhat.com>
11389
11390         * gnu/java/awt/dnd/GtkMouseDragGestureRecognizer.java:
11391         Removed unused fields.
11392         (GtkMouseDragGestureRecognizer): Removed initializations.
11393
11394 2006-07-20  Lillian Angel  <langel@redhat.com>
11395
11396         * gnu/java/awt/dnd/GtkMouseDragGestureRecognizer.java
11397         (GtkMouseDragGestureRecognizer): New constructor.
11398         (GtkMouseDragGestureRecognizer): New constructor.
11399         (GtkMouseDragGestureRecognizer): New constructor.
11400         (mouseClicked): Removed FIXME.
11401         (mousePressed): Implemented.
11402         (mouseReleased): Implemented.
11403         (mouseEntered): Implemented.
11404         (mouseDragged): Implemented to check mouse point and trigger origin.
11405         (mouseMoved): Removed FIXME.
11406         (getDropActionFromEvent): New helper function used to convert mouse event
11407         modifiers to a drop action.
11408         * java/awt/dnd/DragSource.java
11409         (getDragThreshold): Changed to return some arbitrary value for testing
11410         purposes.
11411
11412 2006-07-20  Roman Kennke  <kennke@aicas.com>
11413
11414         * java/awt/LightweightDispatcher.java
11415         (findTarget): Also consider components that have their eventMask
11416         set, for compatibility with stonage AWT. Optimized check
11417         for MouseListener.
11418         (handleMouseEvent): Likewise.
11419
11420 2006-07-20  Roman Kennke  <kennke@aicas.com>
11421
11422         * javax/swing/JTable.java
11423         (tableChanged): Split out handling of the event into multiple
11424         subroutines.
11425         (handleCompleteChange): New method. Clear the selection and
11426         check the lead/anchor indices.
11427         (handleInsert): New method. Check the lead/anchor indices.
11428         Optimized repainting.
11429         (handleDelete): New method. Check the lead/anchor indices.
11430         Optimized repainting.
11431         (handleUpdate): New method. Optimized repainting.
11432         (checkSelection): New helper method.
11433         (setSelectionModel): Update lead/anchor indices.
11434
11435 2006-07-20  Lillian Angel  <langel@redhat.com>
11436
11437         PR 28440
11438         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
11439         (dispose): Reset all fields.
11440
11441 2006-07-20  Roman Kennke  <kennke@aicas.com>
11442
11443         * gnu/java/awt/peer/x/XToolkit.java
11444         (createImage(InputStream)): Only copy image to Pixmap if
11445         it's actually opaque. Transparent images are left as
11446         BufferedImage and composited later onto the screen.
11447         * gnu/java/awt/peer/x/XGraphics.java
11448         (XGraphics): Fetch some parameters for image rendering.
11449         (drawImage): Added special handling of transparent images.
11450         (getRGB): New helper method.
11451         (setRGB): New helper method.
11452
11453 2006-07-20  Roman Kennke  <kennke@aicas.com>
11454
11455         * gnu/javax/imageio/IIOInputStream.java: New class. Wraps
11456         ImageInputStreams as normal InputStreams.
11457         * gnu/javax/imageio/gif/GIFStream.java:
11458         Moved to gnu/javax/imageio/IIOInputStream.java.
11459         * gnu/javax/imageio/gif/GIFImageReader.java
11460         (readImage): Use IIOInputStream.
11461         * gnu/javax/imageio/gif/GIFImageReaderSpi.java
11462         (canDecodeInput): Use IIOInputStream.
11463         * gnu/javax/imageio/png/PNGException.java: Make subclass
11464         of IOException.
11465         * gnu/javax/imageio/png/PNGImageReader.java: New class.
11466         Implements the ImageIO ImageReader for PNG.
11467         * gnu/javax/imageio/png/PNGImageReaderSpi.java: New class.
11468         Implements the ImageIO ImageReaderSpi for PNG.
11469         * javax/imageio/spi/IIORegistry.java:
11470         (IIORegistry): Add PNGImageReaderSpi.
11471
11472 2006-07-20  David Gilbert  <david.gilbert@object-refinery.com>
11473
11474         * java/awt/image/ComponentSampleModel.java
11475         (getPixel): Added argument check,
11476         (getSample): Modified exception message.
11477
11478 2006-07-20  David Gilbert  <david.gilbert@object-refinery.com>
11479
11480         PR Classpath/28422
11481         * java/awt/image/ConvolveOp.java
11482         (filter(Raster, WritableRaster)): Reimplemented,
11483         (fillEdge): New private method.
11484
11485 2006-07-19  Keith Seitz  <keiths@redhat.com>
11486
11487         * include/jvmti.h (JVMTI_VERSION_1_0): Define.
11488         (JVMTI_VERSION): Define.
11489
11490 2006-07-19  Roman Kennke  <kennke@aicas.com>
11491
11492         * resource/gnu/regexp/MessagesBundle.properties,
11493         * resource/gnu/regexp/MessagesBundle_fr.properties,
11494         * resource/gnu/regexp/MessagesBundle_it.properties:
11495         Moved to resource/gnu/java/util/regex.
11496         * resource/gnu/java/util/regex/MessagesBundle.properties,
11497         * resource/gnu/java/util/regex/MessagesBundle_fr.properties,
11498         * resource/gnu/java/util/regex/MessagesBundle_it.properties:
11499         New files.
11500         * gnu/java/util/regex/RE.java
11501         Use new resource bundle location.
11502
11503 2006-07-19  Roman Kennke  <kennke@aicas.com>
11504
11505         * javax/swing/JComponent.java
11506         (paintChildren): Refactored. The paintChildrenOptimized method
11507         has been moved back in here. Added locking of the tree and
11508         only check for completely obscured child components
11509         when not optimized drawing enabled. Use Graphics.create() to
11510         protect from irreversible changes.
11511         (isCompletelyObscured): New helper method.
11512         (paintComponent): Also use Graphics.create() for Graphics2D,
11513         to protect from irreverible changes.
11514         (clipAndTranslateGraphics): Refactored to use more efficient
11515         iterative (vs recursive) approach.
11516         * javax/swing/RepaintManager.java
11517         (getOffscreenBuffer): Create image from root component.
11518         
11519 2006-07-19  Roman Kennke  <kennke@aicas.com>
11520
11521         * gnu/java/awt/peer/x/XGraphics.java
11522         (translate): Don't set the clip on the X server.
11523         (clipRect): Use setXClip() to set the clip on the X server.
11524         (hitClip): More efficient and correct implementation.
11525         (setClip): Use setXClip() to set the clip on the X server.
11526         (setClip(Shape)): Use setXClip() to set the clip on the X server.
11527         (copyArea): Translate and clip the source rectangle correctly.
11528         (dispose): Only flush when object is not yet disposed.
11529         (clone): Use setXClip() to set the clip on the X server.
11530
11531 2006-07-19  Sven de Marothy  <sven@physto.se>
11532
11533         * gnu/javax/imageio/png/PNGChunk.java,
11534         * gnu/javax/imageio/png/PNGData.java,
11535         * gnu/javax/imageio/png/PNGDecoder.java,
11536         * gnu/javax/imageio/png/PNGEncoder.java,
11537         * gnu/javax/imageio/png/PNGException.java,
11538         * gnu/javax/imageio/png/PNGFile.java,
11539         * gnu/javax/imageio/png/PNGFilter.java,
11540         * gnu/javax/imageio/png/PNGGamma.java,
11541         * gnu/javax/imageio/png/PNGHeader.java,
11542         * gnu/javax/imageio/png/PNGICCProfile.java,
11543         * gnu/javax/imageio/png/PNGPalette.java,
11544         * gnu/javax/imageio/png/PNGPhys.java,
11545         * gnu/javax/imageio/png/PNGTime.java:
11546         New files.
11547
11548 2006-07-19  Sven de Marothy  <sven@physto.se>
11549
11550         * java/net/Inet6Address.java:
11551         (getScopedId, getScopedInterface): New methods.
11552         
11553 2006-07-19  Lillian Angel  <langel@redhat.com>
11554
11555         * examples/gnu/classpath/examples/awt/Demo.java
11556         (DragDropWindow): Fixed typo in Label text.
11557         * gnu/java/awt/dnd/peer/gtk/GtkDragSourceContextPeer.java
11558         (GtkDragSourceContextPeer): Removed unneeded initialization for field.
11559         (startDrag): Initialized context field.
11560         (transferablesFlavorsChanged): Removed FIXME. Nothing is done in this
11561         function.
11562         (dragEnter): New function.
11563         (dragExit): Likewise.
11564         (dragDropEnd): Likewise.
11565         (dragMouseMoved): Likewise.
11566         (dragOver): Likewise.
11567         (dragActionChanged): Likewise.
11568
11569 2006-07-19  Raif S. Naffah  <raif@swiftdsl.com.au>
11570
11571         PR Classpath/26302
11572         * resource/java/security/classpath.security: Updated copyright year.
11573         (auth.login.defaultCallbackHandler): New property; set to our default
11574         callback handler. This is needed by the LoginContext when no callback
11575         handler was specified.
11576         * javax/security/auth/login/LoginContext.java: Updated copyright year.
11577         (LoginContext(4)): Assign passed parameters to local fields before invoking
11578         lookup method.
11579
11580 2006-07-19  Roman Kennke  <kennke@aicas.com>
11581
11582         * gnu/java/awt/peer/x/XGraphics.java
11583         (drawImage(Image,int,int,int,int,int,int,int,int,ImageObserver)):
11584         Fixed ordering of parameters.
11585
11586 2006-07-18  Andrew John Hughes  <gnu_andrew@member.fsf.org>
11587
11588         * gnu/java/lang/management/MemoryMXBeanImpl.java:
11589         (MemoryMXBeanImpl()): Implemented.
11590         (ListenerData): New private class.
11591         (addNotificationListener(NotificationListener,
11592         NotificationFilter, Object)): Implemented.
11593         (getNotificationInfo()): Likewise.
11594         (removeNotificationListener(NotificationListener)):
11595         Likewise.
11596         (removeNotificationListener(NotificationListener,
11597         NotificationFilter, Object)): Likewise.
11598         
11599 2006-07-18  Roman Kennke  <kennke@aicas.com>
11600
11601         * gnu/java/awt/peer/x/XFontPeer.java
11602         (encodeFont): Be more flexible with font sizes.
11603         (validSize): New helper method.
11604         * gnu/java/awt/peer/x/XGraphics.java
11605         (drawImage(Image,int,int,int,int,int,int,int,int,ImageObserver)):
11606         Implemented.
11607         (drawImage(Image,int,int,int,int,int,int,int,int,Color,ImageObserver)):
11608         Implemented.
11609         * gnu/java/awt/peer/x/XImage.java
11610         (properties): New field.
11611         (getProperty): Implemented.
11612         * resource/gnu/java/awt/peer/x/fonts.properties:
11613         Added copyright header. Fixed font size field.
11614
11615 2006-07-18  David Gilbert  <david.gilbert@object-refinery.com>
11616
11617         * java/awt/image/BandedSampleModel.java
11618         (createDataBuffer): New method override,
11619         * java/awt/image/ByteLookupTable.java
11620         (ByteLookupTable(int, byte[][])): Create new array to hold references,
11621         (ByteLookuptable(int, byte[])): Check for null array,
11622         * java/awt/image/ComponentSampleModel.java
11623         (createDataBuffer): Removed unnecessary braces,
11624         (getSample): Check (x, y) is within bounds,
11625         * java/awt/image/ShortLookupTable.java
11626         (ShortLookupTable(int, short[][])): Create new array to hold references,
11627         (ShortLookupTable(int, short[])): Check for null array,
11628         (getTable): Added API docs,
11629         (lookupPixel): Source reformatting.
11630
11631 2006-07-18  Tania Bento  <tbento@redhat.com>
11632         
11633         * java/awt/GridLayout.java
11634         (setHgap): Illegal Argument Exception should not be thrown if 
11635         hgap < 0.
11636         (setVgap): Illegal Argument Exception should not be thrown if 
11637         vgap < 0.
11638         (toString): Opening square braket ([) should appear before hgap
11639         value, not the name of the class.
11640
11641 2006-07-18  Roman Kennke  <kennke@aicas.com>
11642
11643         * lib/copy-vmresources.sh.in: Reverted.
11644         * gnu/java/awt/peer/x/fonts.properties: Moved to resource/
11645         * resource/gnu/java/awt/peer/x/fonts.properties: New file.
11646
11647 2006-07-18  Roman Kennke  <kennke@aicas.com>
11648
11649         * lib/copy-vmresources.sh.in: Include properties from X peers.
11650
11651 2006-07-18  Raif S. Naffah  <raif@swiftdsl.com.au>
11652
11653         PR Classpath/27205
11654         * tools/gnu/classpath/tools/jarsigner/SFHelper.java (writeDSA): Check
11655         certificate validity.
11656         (getIssuerName): New method.
11657         (getSubjectName): Likewise.
11658         (getNotAfterDate): Likewise.
11659         (getNotBeforeDate): Likewise.
11660         * resource/gnu/classpath/tools/jarsigner/messages.properties: Added
11661         messages for newly added messages in SFHelper.
11662
11663 2006-07-18  Roman Kennke  <kennke@aicas.com>
11664
11665         * gnu/java/awt/peer/x/XDialogPeer.java: New class.
11666         * gnu/java/awt/peer/x/XEventPump.java
11667         (handleEvent): Cast to XWindowPeer rather than XFramePeer.
11668         * gnu/java/awt/peer/x/XFramePeer.java
11669         Made a subclass of XWindowPeer, rather than SwingFramePeer.
11670         * gnu/java/awt/peer/x/XGraphics.java
11671         Made subclass of Graphics rather than Graphics2D. Removed
11672         all Graphics2D specific method stubs.
11673         (setColor): Map colors using the X color map that is
11674         stored in XToolkit.
11675         * gnu/java/awt/peer/x/XToolkit.java
11676         (colorMap): New field.
11677         (getLocalGraphicsEnvironment): Return new XGraphicsEnvironment
11678         instance.
11679         (createDialog): Implemented.
11680         (createImage(ImageProducer)): Implemented.
11681         (createImage(InputStream)): Use createImage(ImageProducer)
11682         to convert the BufferedImage to an XImage.
11683         * gnu/java/awt/peer/x/XWindowPeer.java
11684         (XWindowPeer): Removed debug output.
11685
11686 2006-07-18  David Gilbert  <david.gilbert@object-refinery.com>
11687
11688         * java/awt/image/BufferedImageOp.java: API docs added,
11689         * java/awt/image/RasterOp.java: Likewise.
11690
11691 2006-07-18  David Gilbert  <david.gilbert@object-refinery.com>
11692
11693         * java/awt/Graphics2D.java: API docs updated.
11694
11695 2006-07-18  David Gilbert  <david.gilbert@object-refinery.com>
11696
11697         * java/awt/image/WritableRaster.java: Added API docs and reformatted 
11698         source code.
11699
11700 2006-07-18  Sven de Marothy  <sven@physto.se>
11701
11702         * java/net/Inet6Address.java:
11703         Add 1.5 serialized fields.
11704         (getByAddress): New methods.
11705         (readObject, writeObject): New methods. 
11706         (equals): Reimplement.
11707
11708 2006-07-18  David Gilbert  <david.gilbert@object-refinery.com>
11709
11710         * java/awt/image/Raster.java: Added API docs and reformatted source
11711         code.
11712
11713 2006-07-18  Andreas Tobler  <a.tobler@schweiz.ch>
11714
11715         * gnu/java/awt/peer/gtk/BufferedImageGraphics.java: Remove unneeded
11716         imports.
11717         * gnu/java/awt/peer/gtk/CairoSurface.java: Likewise.
11718         * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java: Likewise.
11719         * gnu/java/awt/peer/gtk/ComponentGraphicsCopy.java: Likewise.
11720         * gnu/java/awt/peer/gtk/GdkFontPeer.java: Likewise.
11721         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java: Likewise.
11722         * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Likewise.
11723         * gnu/java/awt/peer/gtk/GtkClipboardNotifier.java: Likewise.
11724         * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Likewise.
11725         * gnu/java/awt/peer/gtk/GtkContainerPeer.java: Likewise.
11726         * gnu/java/awt/peer/gtk/GtkDialogPeer.java: Likewise.
11727         * gnu/java/awt/peer/gtk/GtkFramePeer.java: Likewise.
11728         * gnu/java/awt/peer/gtk/GtkImage.java: Likewise.
11729         * gnu/java/awt/peer/gtk/GtkImageConsumer.java: Likewise.
11730         * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java: Likewise.
11731         * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java: Likewise.
11732         * gnu/java/awt/peer/gtk/GtkMouseInfoPeer.java: Likewise.
11733         * gnu/java/awt/peer/gtk/GtkPanelPeer.java: Likewise.
11734         * gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java: Likewise.
11735         * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java: Likewise.
11736         * gnu/java/awt/peer/gtk/GtkWindowPeer.java: Likewise.
11737         * gnu/java/awt/peer/gtk/VolatileImageGraphics.java: Likewise.
11738
11739 2006-07-17  Andreas Tobler  <a.tobler@schweiz.ch>
11740
11741         * javax/swing/text/html/HTMLEditorKit.java: Rearrange import statements
11742         to make it compile again under jikes. Note added.
11743
11744 2006-07-17  Lillian Angel  <langel@redhat.com>
11745
11746         * examples/gnu/classpath/examples/awt/Demo.java
11747         (Demo): Added new window for DnD demo.
11748         (DragDropWindow): New class.
11749         * gnu/java/awt/dnd/peer/gtk/GtkDragSourceContextPeer.java:
11750         Added new fields and declarations for native functions.
11751         (GtkDragSourceContextPeer): Implemented.
11752         (getComponentPeer): New function.
11753         (startDrag): Partially implemented.
11754         (getCursor): Implemented.
11755         (setCursor): Implemented.
11756         * include/GtkDragSourceContextPeer.h: New file.
11757         * include/Makefile.am: Added new header file.
11758         * java/awt/Component.java
11759         (addNotify): Added call to the dropTarget's addNotify.
11760         * java/awt/dnd/DragSource.java
11761         (startDrag): Fixed code to use shared instances of peer and
11762         context.
11763         (getDragThreshold): Added stub.
11764         * java/awt/dnd/DropTarget.java
11765         (DropTarget): Implemented fully.
11766         (addNotify): Added code to get the peer of the parent that is
11767         not lightweight.
11768         * java/awt/dnd/DropTargetDragEvent.java
11769         (getTransferable): Added stub.
11770         * native/jni/gtk-peer/GtkDragSourceContextPeer.c: New file.
11771         * native/jni/gtk-peer/Makefile.am: Added new c file.
11772         * gnu/java/awt/dnd/peer/gtk/GtkDropTargetContextPeer.java:
11773         Changed to extend GtkGenericPeer.
11774         (GtkDropTargetContextPeer): New constructor.
11775         * gnu/java/awt/dnd/peer/gtk/GtkDropTargetPeer.java:
11776         Changed to extend GtkGenericPeer.
11777         (GtkDropTargetContextPeer): New constructor.
11778
11779 2006-07-17  David Gilbert  <david.gilbert@object-refinery.com>
11780
11781         * java/awt/image/SinglePixelPackedSampleModel.java
11782         (createSubsetSampleModel): Added argument check and API docs.
11783
11784 2006-07-17  Roman Kennke  <kennke@aicas.com>
11785
11786         * gnu/java/awt/peer/x/XGraphics.java
11787         (copyArea): Implemented.
11788
11789 2006-07-17  David Gilbert  <david.gilbert@object-refinery.com>
11790
11791         * java/awt/image/SinglePixelPackedSampleModel.java
11792         (getSampleSize): Return copy of array,
11793         (getOffset): Added API docs,
11794         (getScanlineStride): Likewise,
11795         (hashCode): Implemented.
11796
11797 2006-07-17  David Gilbert  <david.gilbert@object-refinery.com>
11798
11799         * java/awt/image/MultiPixelPackedSampleModel.java
11800         (getOffset): Updated API docs and source reformatting,
11801         (getBitOffset): Source reformatting only,
11802         (getDataElements): Likewise,
11803         (getPixel): Likewise,
11804         (getPixels): Removed method override,
11805         (setDataElements): Reimplemented.
11806
11807 2006-07-17  Gary Benson  <gbenson@redhat.com>
11808
11809         * resource/META-INF/services/.cvsignore: New file.
11810         * lib/.cvsignore: Updated.      
11811
11812 2006-07-17  Roman Kennke  <kennke@aicas.com>
11813
11814         * javax/swing/plaf/basic/BasicButtonListener.java
11815         (propertyChange): Only do the text layout caching as long
11816         as the noGraphics2D property isn't set.
11817         * javax/swing/plaf/basic/BasicMenuItemUI.java
11818         (PropertyChangeHandler.propertyChange): Only do the text layout
11819         caching as long as the noGraphics2D property isn't set.
11820
11821 2006-07-17  Roman Kennke  <kennke@aicas.com>
11822
11823         * gnu/java/awt/peer/x/XGraphicsEnvironment.java
11824         (XGraphicsEnvironment): Make constructor public so that it
11825         can be called via Class.forName().newInstance().
11826         * gnu/java/awt/peer/x/XImage.java
11827         (XImage): Fetch GraphicsEnvironment via
11828         GraphicsEnvironment.getLocalGraphicsEnvironment() rather
11829         than the XToolkit method, to avoid double instantiation
11830         of the XGraphicsEnvironment.
11831         * gnu/java/awt/peer/x/XToolkit.java
11832         (env): Removed field.
11833         (getLocalGraphicsEnvironment): Removed impl. This method
11834         should not be called since we set the graphicsenv property
11835         in the constructor.
11836
11837 2006-07-16  Andrew John Hughes  <gnu_andrew@member.fsf.org>
11838
11839         * java/util/UUID.java:
11840         (compareTo(Object)): Call compareTo(UUID).
11841         (compareTo(UUID)): Implemented.
11842         
11843 2006-07-16  Tom Tromey  <tromey@redhat.com>
11844
11845         * java/lang/StrictMath.java (cbrt): Added '@since'.
11846
11847 2006-07-16  Carsten Neumann  <cn-develop@gmx.net>
11848
11849         * java/lang/StrictMath.java (cbrt): New method.
11850         (getLowDWord): New helper method.
11851         (getHighDWord): Likewise.
11852         (buildDouble): Likewise.
11853         (CBRT_B1): New field.
11854         (CBRT_B2): Likewise.
11855         (CBRT_C): Likewise.
11856         (CBRT_D): Likewise.
11857         (CBRT_E): Likewise.
11858         (CBRT_F): Likewise.
11859         (CBRT_G): Likewise.
11860
11861 2006-07-16  Andrew John Hughes  <gnu_andrew@member.fsf.org>
11862
11863         * javax/management/MBeanInfo.java:
11864         (getNotifications()): Implemented.
11865         * javax/management/NotificationBroadcaster.java:
11866         (removeNotificationListener(NotificationListener)):
11867         Renamed from removeListener.
11868         * javax/management/NotificationEmitter.java:
11869         (removeNotificationListener(NotificationListener,
11870         NotificationFilter, Object)): Likewise.
11871         * javax/management/NotificationFilter.java:
11872         Implement Serializable.
11873         * javax/management/NotificationListener.java:
11874         Implement java.util.EventListener.
11875         * javax/rmi/ssl/SslRMIClientSocketFactory.java:
11876         Implement Serializable.
11877
11878 2006-07-16  Andrew John Hughes  <gnu_andrew@member.fsf.org>
11879
11880         * java/lang/management/MemoryNotificationInfo.java:
11881         New file.
11882         
11883 2006-07-16  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
11884
11885         PR 28392
11886         * gnu/javax/swing/text/html/parser/htmlValidator.java 
11887         (tagIsValidForContext): If it is not possible to insert any tag, but 
11888         is possible to insert a P, insert a P.
11889         * gnu/javax/swing/text/html/parser/HTML_401Swing.java
11890         (newInstance): Removed print statement. (getBodyElements):
11891         Removed ABBR, ACRONYM, BDO, Q, S, SUB, SUP and ADDRESS from the
11892         valid body level tags (will be enclosed into P's).
11893
11894 2006-07-17  Raif S. Naffah  <raif@swiftdsl.com.au>
11895
11896         * tools/gnu/classpath/tools/keytool/Command.java (setKeystoreURLParam):
11897         Condition the creation of .keystore (a default keystore) based on the
11898         createIfNotFound argument as well.
11899
11900 2006-07-16  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
11901
11902         PR 28392
11903         * examples/gnu/classpath/examples/swing/HtmlDemo.java:
11904         Removed heading p tag from the parsing example.
11905         * gnu/javax/swing/text/html/parser/HTML_401F.java:
11906         (createHtmlContentModel): Explained.
11907         (defineElements): Call getBodyElements to get the body
11908         elements. (getBodyElements): New method. (model):
11909         Made protected from private.
11910         * gnu/javax/swing/text/html/parser/htmlValidator.java
11911         (openTag): Mind that current content model may be null.
11912         (tagIsValidForContext): If the tag is PCDATA, and it is not
11913         valid for context, but the paragraph (P) is valid for context,
11914         suggest to insert the P tag here.
11915         * javax/swing/text/html/HTMLDocument.java (HTMLReader.addContent,
11916         HTMLReader.blockOpen, HTMLReader.blockClose): Do not handle
11917         implied P tags here.
11918         * javax/swing/text/html/HTMLEditorKit.java (getParser):
11919         Get the custom parser, using HTML_401Swing.java DTD.
11920         * javax/swing/text/html/parser/ParserDelegator.java:
11921         Removed the obsolete note that HTMLEditorKit does not exist.
11922         * gnu/javax/swing/text/html/parser/GnuParserDelegator.java,
11923         gnu/javax/swing/text/html/parser/HTML_401Swing.java: New files.
11924
11925 2006-07-16  Andrew John Hughes  <gnu_andrew@member.fsf.org>
11926
11927         * javax/management/ListenerNotFoundException.java:
11928         New file.
11929         * javax/management/MBeanFeatureInfo.java:
11930         (hashCode()): Use summation instead of multiplication
11931         for consistency with other classes.
11932         * javax/management/MBeanNotificationInfo.java,
11933         * javax/management/Notification.java,
11934         * javax/management/NotificationBroadcaster.java,
11935         * javax/management/NotificationEmitter.java,
11936         * javax/management/NotificationFilter.java,
11937         * javax/management/NotificationListener.java:
11938         New files.
11939         * javax/management/OperationsException.java:
11940         (serialVersionUID): Added.
11941         
11942 2006-07-16  Thomas Minor  <1nocentrabidlamb@sexMagnet.com>
11943             Mark Wielaard  <mark@klomp.org>
11944
11945         * java/io/PrintStream.java: Added four constructors, for File and
11946         String describing a filename with or without explicit encoding.
11947
11948 2006-07-16  Sven de Marothy  <sven@physto.se>
11949
11950         * javax/rmi/ssl/SslRMIServerSocketFactory.java,
11951         * javax/rmi/ssl/SslRMIClientSocketFactory.java:
11952         New files.
11953
11954 2006-07-16  Raif S. Naffah  <raif@swiftdsl.com.au>
11955
11956         PR Classpath/28391
11957         * tools/gnu/classpath/tools/keytool/Command.java (setKeyStoreParams(5)): 
11958         New method.
11959         (setKeyStoreParams(4)): Call the above method with false as its 1st arg.
11960         (setProviderClassNameParam): Made private.
11961         (setKeystoreTypeParam): Likewise.
11962         (setKeyPasswordParam): Likewise
11963         (setKeystorePasswordParam): Likewise.
11964         (setKeystoreURLParam): Now accepts 2 more arguments; the first a boolean to
11965         create or not the keystore if it's not there, and the second is the store's
11966         password to process before loading the keystore. Amended the code
11967         accordingly.
11968         * tools/gnu/classpath/tools/keytool/GenKeyCmd.java (setup): Call super's
11969         setKeyStoreParams(5) with true as its first argument.
11970         * tools/gnu/classpath/tools/keytool/IdentityDBCmd.java (setup): Likewise.
11971         * tools/gnu/classpath/tools/keytool/ImportCmd.java (setup): Likewise.
11972
11973 2006-07-16  Sven de Marothy  <sven@physto.se>
11974
11975         * java/util/UUID.java: New file.
11976
11977 2006-07-16  Raif S. Naffah  <raif@swiftdsl.com.au>
11978
11979         * gnu/javax/crypto/jce/cipher/KeyWrappingAlgorithmAdapter.java: New file.
11980         * gnu/javax/crypto/jce/cipher/AESKeyWrapSpi.java: New file.
11981         * gnu/javax/crypto/jce/cipher/AES128KeyWrapSpi.java: Likewise.
11982         * gnu/javax/crypto/jce/cipher/AES192KeyWrapSpi.java: Likewise.
11983         * gnu/javax/crypto/jce/cipher/AES256KeyWrapSpi.java: Likewise.
11984         * gnu/javax/crypto/jce/cipher/TripleDESKeyWrapSpi.java: Likewise.
11985         * gnu/javax/crypto/jce/GnuCrypto.java (.run): Added mappings for newly
11986         added Key Wrapping Algorithm SPIs.
11987
11988 2006-07-16  Raif S. Naffah  <raif@swiftdsl.com.au>
11989
11990         * javax/crypto/Cipher.java (getOutputSize): Allow SPIs initialised for key
11991         wrapping/unwrapping to invoke their engineGetOutputSize.
11992
11993 2006-07-16  Raif S. Naffah  <raif@swiftdsl.com.au>
11994
11995         * gnu/javax/crypto/kwa/TripleDESKeyWrap.java (rnd): New field.
11996         (engineInit): If a SecureRandom was specified then use it.
11997         (nextRandomBytes): New method.
11998         (engineWrap): Use above method.
11999         * gnu/javax/crypto/kwa/BaseKeyWrappingAlgorithm.java (prng): New field.
12000         (getDefaultPRNG): New method.
12001         * gnu/javax/crypto/kwa/AESKeyWrap.java (engineInit): Reset underlying AES.
12002         * gnu/javax/crypto/kwa/IKeyWrappingAlgorithm.java (SOURCE_OF_RANDOMNESS):
12003         New constant.
12004
12005 2006-07-16  Raif S. Naffah  <raif@swiftdsl.com.au>
12006
12007         * gnu/javax/crypto/jce/params/BlockCipherParameters.java
12008         (engineGetParameterSpec): Should be able to return an IvParameterSpec.
12009
12010 2006-07-16  Raif S. Naffah  <raif@swiftdsl.com.au>
12011
12012         * gnu/javax/crypto/cipher/DES.java (adjustParity): Index limit now takes
12013         offset into consideration.
12014
12015 2006-07-16  Mario Torre  <neugens@limasoftware.net>
12016
12017         * native/jni/gconf-peer/GConfNativePeer.c (init_gconf_client):
12018         Fixed comment. This functions now requires to be called
12019         with gdk lock held, the comment states that.
12020         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_init_1id_1cache):
12021         Introduces gdk locks around critical regions of code.
12022         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1gconf_1client_1all_1keys):
12023         Likewise.
12024         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1gconf_1client_1all_1nodes):
12025         Likewise.
12026         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1suggest_1sync):
12027         Likewise.
12028         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1unset):
12029         Likewise.
12030         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1get_1string):
12031         Likewise.
12032         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1set_1string):
12033         Likewise.
12034         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1remove_1dir):
12035         Likewise.
12036         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1add_1dir):
12037         Likewise.
12038         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1dir_1exists):
12039         Likewise.
12040         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_finalize_1class):
12041         * native/jni/gconf-peer/Makefile.am: The GConf peer now depends on GTK.
12042
12043 2006-07-15  Sven de Marothy  <sven@physto.se>
12044
12045         * javax/swing/JFileChooser.java
12046         Change default selection mode to FILES_ONLY.
12047         * javax/swing/plaf/basic/BasicDirectoryModel.java
12048         Document, fix selection mode filtering.
12049         (renameFile): Implement
12050         * javax/swing/plaf/basic/BasicFileChooserUI.java
12051         (selectedDir): New field to handle selected directories,
12052         disallow selecting of directories in FILES_ONLY mode.
12053         * javax/swing/plaf/metal/MetalFileChooserUI.java:
12054         (EditingActionListener.actionPerformed):
12055         Stop editing on all actions (e.g. return-key press)
12056
12057 2006-07-15  Mark Wielaard  <mark@klomp.org>
12058
12059         * doc/vmintegration.texinfo (gnu.java.lang.management): Change xref
12060         to code.
12061         (JNI Implementation): Mark JVMTI Implementation as next.
12062         (JVMTI Implementation): Mark JNI Implementation as prev.
12063
12064 2006-07-15  Mark Wielaard  <mark@klomp.org>
12065
12066         * include/Makefile.am: Remove
12067         include/gnu_java_awt_peer_gtk_GdkTextLayout.h.
12068         * include/gnu_java_awt_peer_gtk_GdkTextLayout.h: Removed.
12069         * native/jni/gtk-peer/Makefile.am: Remove
12070         gnu_java_awt_peer_gtk_GdkTextLayout.c
12071         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c:
12072         Removed.
12073
12074         * include/gnu_java_awt_peer_gtk_GtkWindowPeer.h: Regenerated.
12075
12076 2006-07-15  Mark Wielaard  <mark@klomp.org>
12077
12078         * autogen.sh: Recognize autoconf 2.60.
12079
12080 2006-07-15  Keith Seitz  <keiths@redhat.com>
12081
12082         * NEWS: Update for JVMTI and jvmti.h.
12083         * doc/vmintegration.texinfo: Likewise.
12084         * include/jvmti.h: New file.
12085
12086 2006-07-15  Mark Wielaard  <mark@klomp.org>
12087
12088         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c:
12089         Removed C++ style comment.
12090
12091 2006-07-15  Sven de Marothy  <sven@physto.se>
12092
12093         * gnu/java/awt/peer/gtk/GtkMouseInfoPeer.java,
12094         * java/awt/MouseInfo.java,
12095         * java/awt/PointerInfo.java,
12096         * java/awt/peer/MouseInfoPeer.java:
12097         New files.
12098
12099         * java/awt/Image.java
12100         (accelerationPriority): New field.
12101         (setAccelerationPriority, getAccelerationPriority): New methods..
12102
12103         * include/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.h,
12104         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.c,
12105         * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java:
12106         (getMouseCoordinates): New method.
12107
12108         * gnu/java/awt/peer/gtk/GtkFramePeer.java
12109         (updateAlwaysOnTop): Remove stub overload.
12110
12111         * gnu/java/awt/ClasspathToolkit.java,
12112         * gnu/java/awt/peer/gtk/GtkToolkit.java,
12113         * include/gnu_java_awt_peer_gtk_GtkToolkit.h,
12114         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c:
12115         (getMouseInfoPeer): New method.
12116         (getMouseNumberOfButtons): New method.
12117         
12118         * gnu/java/awt/peer/gtk/GtkWindowPeer.java
12119         * include/gnu_java_awt_peer_gtk_GtkWindowPeer.h
12120         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
12121         (gtkWindowSetAlwaysOnTop): New method.
12122         (updateAlwaysOnTop): Implement.
12123
12124         * java/awt/Toolkit.java,
12125         (getMouseInfoPeer): New method.
12126
12127         * java/awt/Window.java
12128         (alwaysOnTop): New field.
12129         (isAlwaysOnTop, setAlwaysOnTop): New methods.
12130
12131         * java/awt/peer/WindowPeer.java: Doc fix.
12132
12133 2006-07-14  Sven de Marothy  <sven@physto.se>
12134
12135         * java/awt/font/TextLayout.java:
12136         (hitTestChar): Stub method.
12137         * java/awt/font/TextMeasurer.java:
12138         (getLayout): Throw exception on invalid argument.
12139         
12140 2006-07-14  Sven de Marothy  <sven@physto.se>
12141
12142         * java/awt/image/DataBuffer.java
12143         (DataBuffer): Call constructors in the correct order,
12144         
12145 2006-07-14  Mark Wielaard  <mark@klomp.org>
12146
12147         Revert to previous implementation.
12148         * java/awt/GridBagLayout.java (AdjustForGravity): Only adjust for
12149         constraints insets.
12150
12151 2006-07-14  Roman Kennke  <kennke@aicas.com>
12152
12153         * gnu/java/awt/peer/x/XToolkit.java
12154         (XToolkit): Install properties to SystemProperties
12155         rather than System, to avoid SecurityManager.
12156         (getImage(String)): Return error image when string is invalid.
12157         (createImage(URL)): Moved image loading to helper method.
12158         (createImage(ImageProducer)): Implemented.
12159         (createImage(byte[],int,int)): Implemented.
12160         (createImage(InputStream)): New helper method.
12161
12162 2006-07-14  Tania Bento  <tbento@redhat.com>
12163
12164         * java/awt/FlowLayout.java
12165         (setHgap): No Excpetion should be thrown if hgap has
12166         a negative value.
12167         (setVgap): No Exception should be thrown if vgap has
12168         a negative value.
12169
12170 2006-07-14  David Gilbert  <david.gilbert@object-refinery.com>
12171
12172         * java/awt/image/MultiPixelPackedSampleModel.java: 
12173         Added API docs all over.
12174
12175 2006-07-14  Matt Wringe  <mwringe@redhat.com>
12176
12177         * gnu/javax/crypto/jce/cipher/CipherAdapter.java 
12178         (engineInit): Throw InvalidAlgorithmParameterException
12179         for invalid IVParameterSpec IV length.
12180
12181 2006-07-14  David Gilbert  <david.gilbert@object-refinery.com>
12182
12183         * java/awt/image/MultiPixelPackedSampleModel.java
12184         (createDataBuffer): Include dataBitOffset in calculating the size for
12185         the data buffer.
12186
12187 2006-07-14  David Gilbert  <david.gilbert@object-refinery.com>
12188
12189         * java/awt/image/MultiPixelPackedSampleModel.java
12190         (getSampleSize()): Return a copy of the array,
12191         (getTransferType()): New method override.
12192
12193 2006-07-14  Roman Kennke  <kennke@aicas.com>
12194
12195         * java/awt/CardLayout.java
12196         (show): Validate parent to make sure that the layout is
12197         valid.
12198
12199 2006-07-14  Roman Kennke  <kennke@aicas.com>
12200
12201         * java/awt/Component.java
12202         (enable): Added tree locking.
12203         (disable): Added tree locking.
12204         (show): Added tree locking.
12205         (hide): Added tree locking.
12206         (getLocationOnScreen): Added tree locking.
12207         (reshape): Added tree locking.
12208         (addHierarchyListener): Added tree locking.
12209         (removeHierarchyListener): Added tree locking.
12210         (addHierarchyBoundsListener): Added tree locking.
12211         (removeHierarchyBoundsListener): Added tree locking.
12212         (addNotify): Added tree locking.
12213         (removeNotify): Added tree locking.
12214         * java/awt/Container.java
12215         (invalidateTree): Added tree locking.
12216         (getAlignmentX): Added tree locking.
12217         (getAlignmentY): Added tree locking.
12218         (addNotify): Added tree locking.
12219         (setComponentZOrder): Added tree locking.
12220         (getComponentZOrder): Added tree locking.
12221
12222 2006-07-14  David Gilbert  <david.gilbert@object-refinery.com>
12223
12224         * java/awt/image/MultiPixelPackedSampleModel.java
12225         (createSubsetSampleModel): Restored argument check, but let null
12226         through.
12227
12228 2006-07-14  David Gilbert  <david.gilbert@object-refinery.com>
12229
12230         * java/awt/image/MultiPixelPackedSampleModel.java
12231         (createSubsetSampleModel): Removed argument check.
12232
12233 2006-07-14  Roman Kennke  <kennke@aicas.com>
12234
12235         * java/awt/Component.java
12236         (numHierarchyListeners): New field.
12237         (numHierarchyBoundsListeners): New field.
12238         (show): Fire hierarchy events here. Only fire component event
12239         if there is actually a listener for it.
12240         (hide): Fire hierarchy events here. Only fire component event
12241         if there is actually a listener for it.
12242         (reshape): Fire hierarchy events here. Only fire component event
12243         if there is actually a listener for it.
12244         (addHierarchyListeners): Update listener counters.
12245         (removeHierarchyListeners): Update listener counters.
12246         (addHierarchyBoundsListeners): Update listener counters.
12247         (removeHierarchyBoundsListeners): Update listener counters.
12248         (fireHierarchyEvent): New helper method for firing hierarchy
12249         events.
12250         * java/awt/Container.java
12251         (addImpl): Update listener counters. Fire hierarchy event.
12252         (remove): Update listener counters. Fire hierarchy event.
12253         (fireHierarchyEvent): New helper method for firing hierarchy
12254         events.
12255         (updateHierarchyListenerCount): New helper method for
12256         updating the listener counters.
12257
12258 2006-07-14  David Gilbert  <david.gilbert@object-refinery.com>
12259
12260         * java/awt/image/MultiPixelPackedSampleModel.java
12261         (equals): New method override,
12262         (hashCode): Likewise.
12263
12264 2006-07-14  David Gilbert  <david.gilbert@object-refinery.com>
12265
12266         * java/awt/image/MultiPixelPackedSampleModel.java
12267         (MultiPixelPackedSampleModel(int, int, int, int, int, int)): 
12268         Corrected scanlineStride calculation.
12269
12270 2006-07-14  Raif S. Naffah  <raif@swiftdsl.com.au>
12271
12272         * gnu/java/security/Registry.java (KWA_PREFIX): New constant.
12273         (AES_KWA): Likewise.
12274         (AES128_KWA): Likewise.
12275         (AES192_KWA): Likewise.
12276         (AES256_KWA): Likewise.
12277         (RIJNDAEL_KWA): Likewise.
12278         (TRIPLEDES_KWA): Likewise.
12279         (DESEDE_KWA): Likewise.
12280         * gnu/javax/crypto/kwa/AESKeyWrap.java: New file
12281         * gnu/javax/crypto/kwa/BaseKeyWrappingAlgorithm.java: Likewise.
12282         * gnu/javax/crypto/kwa/IKeyWrappingAlgorithm.java: Likewise.
12283         * gnu/javax/crypto/kwa/KeyUnwrappingException.java: Likewise.
12284         * gnu/javax/crypto/kwa/KeyWrappingAlgorithmFactory.java: Likewise.
12285         * gnu/javax/crypto/kwa/TripleDESKeyWrap.java: Likewise.
12286
12287 2006-07-14  Raif S. Naffah  <raif@swiftdsl.com.au>
12288
12289         * gnu/javax/crypto/pad/IPad.java: Updated class documentation.
12290         (PADDING_BLOCK_SIZE): New constant.
12291         (init(Map attributes)): New method.
12292         * gnu/javax/crypto/pad/BasePad.java (init): New method.
12293
12294 2006-07-14  Mario Torre  <neugens@limasoftware.net>
12295
12296         * gnu/java/security/OID.java (OID): Private Constructor removed as
12297         it is not needed anymore.
12298         (clone): Fixed. Now uses super.clone instead of the private
12299         constructor as per specification of clone method.
12300         (serialVersionUID): added new field to allow serialization.
12301
12302 2006-07-13  Sven de Marothy  <sven@physto.se>
12303
12304         * gnu/javax/imageio/gif/GIFImageReader.java
12305         (read): Remove old debugging trace.
12306
12307 2006-07-13  Andreas Tobler  <a.tobler@schweiz.ch>
12308
12309         PR awt/28369:
12310         * gnu/java/awt/peer/gtk/CairoSurface.java (ColorModel): Swap red and
12311         blue mask.
12312
12313 2006-07-13  Roman Kennke  <kennke@aicas.com>
12314
12315         * java/awt/Component.java
12316         (DEFAULT_MAX_SIZE): New static constant.
12317         (preferredSize): Return copy of the actual value computed
12318         by new helper method.
12319         (preferredSizeImpl): New helper method. Adds locking and
12320         correct handling of cached value.
12321         (minimumSize): Return copy of the actual value computed
12322         by new helper method.
12323         (minimumSizeImpl): New helper method. Adds locking and
12324         correct handling of cached value.
12325         (getMaximumSize):  Return copy of the actual value computed
12326         by new helper method.
12327         (maximumSizeImpl): New helper method. Adds locking and
12328         correct handling of cached value.
12329         (invalidate): Correct handling of cached layout information.
12330         Added locking.
12331         * java/awt/Container.java
12332         (preferredSize): Minimized locking. Corrected handling of cached
12333         values. Return copy of real value.
12334         (minimumSize): Minimized locking. Corrected handling of cached
12335         values. Return copy of real value.
12336         (getMaximumSize): Minimized locking. Corrected handling of cached
12337         values. Return copy of real value.
12338         
12339 2006-07-13  Tania Bento  <tbento@redhat.com>
12340
12341         * gnu/java/awt/peer/ClasspathFontPeer.java
12342         (isLogicalFontName): Return true if name == default.
12343         (logicalFontNameToFaceName): Check if name == default,
12344         and if so, return "Dialog.plain".
12345         (setStandardAttributes(String, Map)): If name == null, 
12346         it should be set to "Default", not "SansSerif".
12347         * java/awt/Canvas.java
12348         (generateName): Fixed documentation.
12349         * java/awt/CheckboxMenuItem.java
12350         Added static variable "next_chkmenuitem_number".
12351         (generateName): Added and implemented method.
12352         (getUniqueLong): Likewise.
12353         * java/awt/Choice.java
12354         Added static variable "next_choice_number".
12355         (generateName): Added and implemented method.
12356         (getUniqueLong): Likewise.
12357         * java/awt/Cursor.java
12358         (Cursor(int)): Set name depending on the type passed.
12359         * java/awt/List.java
12360         Added static variable "next_list_number".
12361         (generateName): Added and implemented method.
12362         (getUniqueLong): Likewise.
12363         * java/awt/Menu.java
12364         Added static variable "next_menu_number".
12365         (generateName): Added and implemented method.
12366         (getUniqueLong): Likewise.
12367         * java/awt/MenuBar.java
12368         Added static variable "next_menubar_number".
12369         (generateName): Added and implemented method.   
12370         (getUniqueLong): Likewise.
12371         * java/awt/MenuComponent.java
12372         (getName): Before returning name, check if name == null
12373         and name is not explicity set.  If this is the case,    
12374         name will be generated.
12375         (generateName): Added and implemented method.   
12376         * java/awt/MenuItem.java
12377         Added static variable "next_menuitem_number".
12378         (generateName): Added and implemented method.   
12379         (getUniqueLong): Likewise.
12380         * java/awt/PopupMenu.java
12381         Added static variable "next_popup_number".
12382         (generateName): Added and implemented method.
12383         (getUniqueLong): Likewise.
12384         * java/awt/ScrollPane.java
12385         Added static variable "next_scrollpane_number".
12386         (generateName): Added and implemented method.
12387         (getUniqueLong): Likewise.
12388         * java/awt/TextField.java
12389         Added static variable "next_textfield_number".
12390         (generateName): Added and implemented method.
12391         (getUniqueLong): Likewise.
12392
12393
12394 2006-07-13  David Gilbert  <david.gilbert@object-refinery.com>
12395
12396         * java/awt/image/SinglePixelPackedSampleModel.java
12397         (SinglePixelPackageSampleModel(int, int, int, int, int[])): Convert
12398         mask correctly as an unsigned integer,
12399         (equals): New method override.
12400
12401 2006-07-13  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
12402
12403         * javax/swing/text/html/HTMLDocument.java (insertAfterEnd,
12404         insertAfterStart, insertBeforeEnd):  Removed stub markings.
12405
12406 2006-07-13  David Gilbert  <david.gilbert@object-refinery.com>
12407
12408         * java/awt/image/BandedSampleModel.java: API doc updates and source 
12409         code reformatting,
12410         * java/awt/image/SinglePixelPackageSampleModel.java: Likewise.
12411
12412 2006-07-13  David Gilbert  <david.gilbert@object-refinery.com>
12413
12414         * java/awt/image/BandedSampleModel.java: API doc updates.
12415
12416 2006-07-13  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
12417
12418         * javax/swing/text/html/HTMLDocument.java (HTMLReader.parseStack): 
12419         Made package private. (HTMLReader.charAttr, HTMLReader.charAttrStack,
12420         HTMLReader.insertTag, HTMLReader.insertTagEncountered, 
12421         HTMLReader.pushDepth, HTMLReader.popDepth): Documented. 
12422         (HRMLReader.blockClose): Mind that parser stack may be empty. 
12423         (HTMLReader.handeComment, HTMLReader.handleStartTag,
12424         HTMLReader.handleEndTag, HTMLReader.handleSimpleTag): Rewritten. 
12425         (HTMLReader.shouldInsert): New method. (getElement(String)): 
12426         Pass HTML.Atrribute.ID. (insertAfterEnd, insertBeforeEnd, 
12427         insertAfterStart, insertBeforeStart, setInnerHTML, setOuterHTML):
12428         Implemented. (getInsertingReader): New method. 
12429         * examples/gnu/classpath/examples/swing/HtmlDemo.java:
12430         Added buttons to demonstrate the work of the insert actions.
12431
12432 2006-07-13  David Gilbert  <david.gilbert@object-refinery.com>
12433
12434         * java/awt/image/SampleModel.java: API doc updates and additions,
12435         * java/awt/image/SinglePixelPackedSampleModel.java: Likewise.
12436
12437 2006-07-12  Sven de Marothy  <sven@physto.se>
12438
12439         * javax/swing/JFileChooser.java:
12440         (createDialog): Close operation should cause a cancel.
12441
12442 2006-07-12  Francis Kung  <fkung@redhat.com>
12443
12444         * gnu/java/awt/peer/gtk/CairoGraphics2D.java: Organized imports.
12445         (cairoArc): New native method.
12446         (cairoRestore): New native method.
12447         (cairoSave): New native method.
12448         (cairoScale): New native method.
12449         (createPath): New method to centralize code from draw and fill.
12450         (draw): Modified to use createPath method.
12451         (fill): Modified to use createPath method.
12452         * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Added 
12453         function declarations.
12454         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
12455         (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoScale): New 
12456         method.
12457         (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoSave): New 
12458         method.
12459         (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoArc): New 
12460         method.
12461         
12462 2006-07-12  Tom Tromey  <tromey@redhat.com>
12463
12464         PR libgcj/27271:
12465         * java/util/zip/ZipFile.java (getInputStream): Call addDummyByte
12466         on PartialInputStream.
12467         (PartialInputStream.dummyByteCount): New field.
12468         (PartialInputStream.fillBuffer): Handle dummy byte.
12469         (PartialInputStream.read): Likewise.
12470         (PartialInputStream.addDummyByte): New method.
12471
12472 2006-07-12  Mario Torre  <neugens@limasoftware.net>
12473
12474         * native/jni/gconf-peer/GConfNativePeer.c
12475         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1get_1string):
12476         Fixed C++ style comment.
12477
12478 2006-07-12  David Gilbert  <david.gilbert@object-refinery.com>
12479
12480         * java/util/Arrays.java
12481         (asList): Updated API docs.
12482
12483 2006-07-11  Robert Schuster  <robertschuster@fsfe.org>
12484
12485         Fixes PR28350.
12486         * native/jni/gconf-peer/GConfNativePeer.c:
12487         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1set_1string):
12488         Changed if-expression.
12489         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1get_1string):
12490         Added check for _value not being NULL.
12491         
12492 2006-07-11  Roman Kennke  <kennke@aicas.com>
12493
12494         * native/jni/java-net/gnu_java_net_local_LocalSocketImpl.c
12495         (read): Use fd when local sockets are disabled to make the
12496         compiler quite.
12497         (write): Likewise.
12498
12499 2006-07-11  Roman Kennke  <kennke@aicas.com>
12500
12501         * java/awt/image/MultiPixelPackedSampleModel.java
12502         (MultiPixelPackedSampleModel): Substract -1 so that the integer
12503         division gets rounded up.
12504
12505 2006-07-11  Andrew John Hughes  <gnu_andrew@member.fsf.org>
12506
12507         * java/lang/management/ManageFactory.java:
12508         (getMemoryManagerMXBeans()): Use addAll, not add.
12509         
12510 2006-07-11  Vivek Lakshmanan  <vivekl@redhat.com>
12511
12512         PR 27649:
12513         * gnu/classpath/ByteArray.java: Removed (moved).
12514         * gnu/java/security/util/ByteArray.java: New File.
12515         * gnu/javax/crypto/RSACipherImpl.java: Reference 
12516         gnu.java.security.util.ByteArray instead of gnu.classpath.ByteArray.
12517
12518 2006-07-11  Roman Kennke  <kennke@aicas.com>
12519
12520         * native/jni/java-net/gnu_java_net_local_LocalSocketImpl.c
12521         (available): Pass fd as argument and avoid JNI class/field
12522         lookup.
12523         (read): Likewise.
12524         (write): Likewise.
12525         * include/gnu_java_net_local_LocalSocketImpl.h:
12526         Regenerated.
12527         * gnu/java/net/local/LocalSocketImpl.h
12528         (available): Pass fd as argument and avoid JNI class/field
12529         lookup.
12530         (read): Likewise.
12531         (write): Likewise.      
12532
12533 2006-07-11  Sven de Marothy  <sven@physto.se>
12534
12535         * gnu/javax/sound/sampled/AU/AUReader.java:
12536         Correct file extension from .as to .au.
12537
12538 2006-07-11  Sven de Marothy  <sven@physto.se>
12539
12540         * gnu/javax/sound/sampled/AU/AUReader.java:
12541         New file.
12542         * resource/META-INF/services/javax.sound.sampled.spi.AudioFileReader: 
12543         Added new provider.
12544
12545 2006-07-11  David Gilbert  <david.gilbert@object-refinery.com>
12546
12547         * javax/swing/JTable.java
12548         (setRowSelectionAllowed): Fire required PropertyChangeEvent,
12549         (setColumnSelectionAllowed): Likewise.
12550
12551 2006-07-10  Vivek Lakshmanan  <vivekl@redhat.com>
12552
12553         PR 27649:
12554         * gnu/classpath/debug/Simple1LineFormatter.java: Use
12555         AccessController.doPrivileged instead of SystemProperties.getProperty.
12556         * gnu/classpath/debug/SystemLogger.java: Likewise.
12557         * gnu/java/security/PolicyFile.java: Likewise and cut unnecessary
12558         repeated getProperty calls for "file.seperator".
12559         (refresh): Since already in privileged block, call System.getProperty
12560         instead of SystemProperties.getProperty.
12561         * gnu/java/security/key/dss/DSSKey.java
12562         (toString): Use AccessController.doPrivileged instead of
12563         SystemProperties.getProperty.
12564         * gnu/java/security/key/dss/DSSPrivateKey.java
12565         (toString): Likewise.
12566         * gnu/java/security/key/dss/DSSPublicKey.java
12567         (toString): Likewise.
12568         * gnu/java/security/key/rsa/GnuRSAKey.java
12569         (toString): Likewise.
12570         * gnu/java/security/key/rsa/GnuRSAPrivateKey.java
12571         (toString): Likewise.
12572         * gnu/java/security/key/rsa/GnuRSAPublicKey.java
12573         (toString): Likewise.
12574         * gnu/javax/crypto/sasl/plain/PasswordFile.java: Likewise.
12575         * gnu/javax/crypto/key/dh/GnuDHKey.java 
12576         (toString): Likewise.
12577         * gnu/javax/crypto/key/dh/GnuDHPrivateKey.java 
12578         (toString): Likewise.
12579         * gnu/javax/crypto/key/dh/GnuDHPublicKey.java 
12580         (toString): Likewise.
12581
12582 2006-07-11  David Gilbert  <david.gilbert@object-refinery.com>
12583
12584         * javax/swing/AbstractButton.java
12585         (disabledIcon): Fixed name (was 'disabeldIcon'),
12586         (getDisabledIcon): Updated for corrected field name,
12587         (setDisabledIcon): Fire a PropertyChangeEvent.
12588
12589 2006-07-11  David Gilbert  <david.gilbert@object-refinery.com>
12590
12591         * javax/swing/DefaultBoundedRangeModel.java
12592         (readObject): New private method,
12593         (writeObject): Likewise.
12594
12595 2006-07-11  David Gilbert  <david.gilbert@object-refinery.com>
12596
12597         * javax/swing/ButtonGroup.java
12598         (add): Ignore null argument,
12599         (remove): Ignore null argument.  If removing selected button, clear the
12600         sel field,
12601         (findButton): Changed case for method name, and documented,
12602         (setSelected): Updated for modification to findButton() method name,
12603         (isSelected): Updated API docs.
12604
12605 2006-07-11  David Gilbert  <david.gilbert@object-refinery.com>
12606
12607         * java/awt/image/BufferedImage.java
12608         (BufferedImage(int, int, int)): Use correct color space for 
12609         TYPE_BYTE_GRAY and TYPE_USHORT_GRAY, and throw an 
12610         IllegalArgumentException for an unrecognised type.
12611
12612 2006-07-10  Andrew John Hughes  <gnu_andrew@member.fsf.org>
12613
12614         * java/lang/management/ManagementFactory.java:
12615         (getMemoryPoolMXBeans): Genericized fully.
12616         (getMemoryManagerMXBeans): Likewise.
12617         (getGarbageCollectorMXBeans): Likewise.
12618         
12619 2006-07-10  Tom Tromey  <tromey@redhat.com>
12620
12621         * java/lang/management/ManagementFactory.java (getMemoryPoolMXBeans):
12622         Genericized.
12623         (getMemoryManagerMXBeans): Likewise.
12624         (getGarbageCollectorMXBeans): Likewise.
12625
12626 2006-07-10  Mario Torre  <neugens@limasoftware.net>
12627
12628         * java/awt/BasicStroke.java: Removed unused import.
12629         * gnu/java/awt/java2d/CubicSegment.java (clone): Fixed. 
12630         * gnu/java/awt/java2d/LineSegment.java (clone): Fixed. 
12631         * gnu/java/awt/java2d/QuadSegment.java (clone): Fixed.
12632
12633 2006-07-10  Matt Wringe  <mwringe@redhat.com>
12634
12635         PR classpath/28212:
12636         * javax/crypto/spec/SecretKeySpec.java 
12637         (equals): Check object type. 
12638
12639 2006-07-10  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
12640
12641         * examples/gnu/classpath/examples/CORBA/SimpleCommunication/
12642         communication/StructureToPassHelper.java,
12643         examples/gnu/classpath/examples/CORBA/SimpleCommunication/
12644         communication/StructureToReturnHelper.java,
12645         examples/gnu/classpath/examples/CORBA/SimpleCommunication/
12646         communication/TreeNodeHelper.java,
12647         examples/gnu/classpath/examples/CORBA/SimpleCommunication/
12648         communication/WeThrowThisExceptionHelper.java,
12649         gnu/CORBA/ForwardRequestHelper.java,
12650         org/omg/CORBA/CompletionStatusHelper.java,
12651         org/omg/CORBA/CurrentHelper.java,
12652         org/omg/CORBA/DefinitionKindHelper.java,
12653         org/omg/CORBA/IDLTypeHelper.java,
12654         org/omg/CORBA/NameValuePairHelper.java,
12655         org/omg/CORBA/ObjectHelper.java,
12656         org/omg/CORBA/ParameterModeHelper.java,
12657         org/omg/CORBA/PolicyErrorCodeHelper.java,
12658         org/omg/CORBA/PolicyErrorHelper.java,
12659         org/omg/CORBA/PolicyHelper.java,
12660         org/omg/CORBA/PolicyListHelper.java,
12661         org/omg/CORBA/PolicyTypeHelper.java,
12662         org/omg/CORBA/ServiceDetailHelper.java,
12663         org/omg/CORBA/ServiceInformationHelper.java,
12664         org/omg/CORBA/SetOverrideTypeHelper.java,
12665         org/omg/CORBA/StringValueHelper.java,
12666         org/omg/CORBA/UnionMemberHelper.java,
12667         org/omg/CORBA/UnknownUserExceptionHelper.java,
12668         org/omg/CORBA/VisibilityHelper.java,
12669         org/omg/CORBA/WStringValueHelper.java,
12670         org/omg/CORBA/WrongTransactionHelper.java,
12671         org/omg/CosNaming/BindingHelper.java,
12672         org/omg/CosNaming/BindingIteratorHelper.java,
12673         org/omg/CosNaming/BindingListHelper.java,
12674         org/omg/CosNaming/BindingTypeHelper.java,
12675         org/omg/CosNaming/NameComponentHelper.java,
12676         org/omg/CosNaming/NameHelper.java,
12677         org/omg/CosNaming/NamingContextExtHelper.java,
12678         org/omg/CosNaming/NamingContextExtPackage/AddressHelper.java,
12679         org/omg/CosNaming/NamingContextExtPackage/InvalidAddressHelper.java,
12680         org/omg/CosNaming/NamingContextExtPackage/StringNameHelper.java,
12681         org/omg/CosNaming/NamingContextExtPackage/URLStringHelper.java,
12682         org/omg/CosNaming/NamingContextHelper.java,
12683         org/omg/CosNaming/NamingContextPackage/AlreadyBoundHelper.java,
12684         org/omg/CosNaming/NamingContextPackage/CannotProceedHelper.java,
12685         org/omg/CosNaming/NamingContextPackage/InvalidNameHelper.java,
12686         org/omg/CosNaming/NamingContextPackage/NotEmptyHelper.java,
12687         org/omg/CosNaming/NamingContextPackage/NotFoundHelper.java,
12688         org/omg/CosNaming/NamingContextPackage/NotFoundReasonHelper.java,
12689         org/omg/DynamicAny/AnySeqHelper.java,
12690         org/omg/DynamicAny/DynAnyFactoryHelper.java,
12691         org/omg/DynamicAny/DynAnyFactoryPackage/InconsistentTypeCodeHelper.java,
12692         org/omg/DynamicAny/DynAnyHelper.java,
12693         org/omg/DynamicAny/DynAnyPackage/InvalidValueHelper.java,
12694         org/omg/DynamicAny/DynAnyPackage/TypeMismatchHelper.java,
12695         org/omg/DynamicAny/DynAnySeqHelper.java,
12696         org/omg/DynamicAny/DynArrayHelper.java,
12697         org/omg/DynamicAny/DynEnumHelper.java,
12698         org/omg/DynamicAny/DynFixedHelper.java,
12699         org/omg/DynamicAny/DynSequenceHelper.java,
12700         org/omg/DynamicAny/DynStructHelper.java,
12701         org/omg/DynamicAny/DynUnionHelper.java,
12702         org/omg/DynamicAny/DynValueHelper.java,
12703         org/omg/DynamicAny/NameDynAnyPairHelper.java,
12704         org/omg/DynamicAny/NameDynAnyPairSeqHelper.java,
12705         org/omg/DynamicAny/NameValuePairHelper.java,
12706         org/omg/DynamicAny/NameValuePairSeqHelper.java,
12707         org/omg/IOP/CodecFactoryHelper.java,
12708         org/omg/IOP/CodecFactoryPackage/UnknownEncodingHelper.java,
12709         org/omg/IOP/CodecPackage/FormatMismatchHelper.java,
12710         org/omg/IOP/CodecPackage/InvalidTypeForEncodingHelper.java,
12711         org/omg/IOP/CodecPackage/TypeMismatchHelper.java,
12712         org/omg/IOP/ComponentIdHelper.java,
12713         org/omg/IOP/IORHelper.java,
12714         org/omg/IOP/MultipleComponentProfileHelper.java,
12715         org/omg/IOP/ProfileIdHelper.java,
12716         org/omg/IOP/ServiceContextHelper.java,
12717         org/omg/IOP/ServiceContextListHelper.java,
12718         org/omg/IOP/ServiceIdHelper.java,
12719         org/omg/IOP/TaggedComponentHelper.java,
12720         org/omg/IOP/TaggedProfileHelper.java,
12721         org/omg/PortableInterceptor/AdapterManagerIdHelper.java,
12722         org/omg/PortableInterceptor/AdapterNameHelper.java,
12723         org/omg/PortableInterceptor/AdapterStateHelper.java,
12724         org/omg/PortableInterceptor/CurrentHelper.java,
12725         org/omg/PortableInterceptor/ForwardRequestHelper.java,
12726         org/omg/PortableInterceptor/IORInterceptor_3_0Helper.java,
12727         org/omg/PortableInterceptor/InvalidSlotHelper.java,
12728         org/omg/PortableInterceptor/ORBInitInfoPackage/DuplicateNameHelper.java,
12729         org/omg/PortableInterceptor/ORBInitInfoPackage/InvalidNameHelper.java,
12730         org/omg/PortableInterceptor/ObjectReferenceFactoryHelper.java,
12731         org/omg/PortableInterceptor/ObjectReferenceTemplateHelper.java,
12732         org/omg/PortableInterceptor/ObjectReferenceTemplateSeqHelper.java,
12733         org/omg/PortableServer/CurrentHelper.java,
12734         org/omg/PortableServer/CurrentPackage/NoContextHelper.java,
12735         org/omg/PortableServer/ForwardRequestHelper.java,
12736         org/omg/PortableServer/POAHelper.java,
12737         org/omg/PortableServer/POAManagerPackage/AdapterInactiveHelper.java,
12738         org/omg/PortableServer/POAPackage/AdapterAlreadyExistsHelper.java,
12739         org/omg/PortableServer/POAPackage/AdapterNonExistentHelper.java,
12740         org/omg/PortableServer/POAPackage/InvalidPolicyHelper.java,
12741         org/omg/PortableServer/POAPackage/NoServantHelper.java,
12742         org/omg/PortableServer/POAPackage/ObjectAlreadyActiveHelper.java,
12743         org/omg/PortableServer/POAPackage/ObjectNotActiveHelper.java,
12744         org/omg/PortableServer/POAPackage/ServantAlreadyActiveHelper.java,
12745         org/omg/PortableServer/POAPackage/ServantNotActiveHelper.java,
12746         org/omg/PortableServer/POAPackage/WrongAdapterHelper.java,
12747         org/omg/PortableServer/POAPackage/WrongPolicyHelper.java,
12748         org/omg/PortableServer/ServantActivatorHelper.java,
12749         org/omg/PortableServer/ServantLocatorHelper.java: Remove the 
12750         typecode caching and always use OrbRestricted.Singleton.
12751
12752 2006-07-09  Tom Tromey  <tromey@redhat.com>
12753
12754         * java/util/logging/LoggingMXBean.java (getLoggerNames): Genericized.
12755
12756 2006-07-09  Mark Wielaard  <mark@klomp.org>
12757
12758         * gnu/java/awt/peer/gtk/ComponentGraphics.java (hasXRenderExtension):
12759         New static final boolean field.
12760         (getComponentGraphics): Use hasXRenderExtension.
12761         (setClip): Override method for locking.
12762
12763 2006-07-09  David Gilbert  <david.gilbert@object-refinery.com>
12764
12765         * javax/swing/AbstractButton.java
12766         (setHorizontalTextPosition): Added check for illegal argument,
12767         (setVerticalTextPosition): Likewise.
12768
12769 2006-07-09  David Gilbert  <david.gilbert@object-refinery.com>
12770
12771         * javax/swing/Timer.java
12772         (setDelay): Throw IllegalArgumentException for negative delay,
12773         (setInitialDelay): Likewise,
12774         * javax/swing/ToolTipManager.java
12775         (setInitialDelay): Document IllegalArgumentException,
12776         (setDismissDelay): Likewise,
12777         (setReshowDelay): Likewise.
12778
12779 2006-07-09  Andrew John Hughes  <gnu_andrew@member.fsf.org>
12780
12781         * java/lang/management/MemoryUsage.java:
12782         (from(javax.management.openmbean.CompositeData)):
12783         Implemented.
12784         * java/lang/management/ThreadInfo.java:
12785         Changed to use open types throughout for the state.
12786         (ThreadInfo(long,String,String,long,long,String,
12787         long,String,long,long,boolean,StackTraceElement[])):
12788         New constructor.
12789         (checkAttribute(javax.management.openmbean.CompositeType,
12790         String, javax.management.openmbean.OpenType)): New method.
12791         (from(javax.management.openmbean.CompositeData)):
12792         Implemented.
12793         (getLockName()): Fixed to use new variable.
12794         (getLockOwnerId()): Likewise.
12795         (getLockOwnerName()): Likewise.
12796         (getThreadId()): Likewise.
12797         (getThreadName()): Likewise.
12798         (getThreadState()): Likewise.
12799         (toString()): Refactored to use new variables.
12800         * javax/management/openmbean/ArrayType.java:
12801         New file.
12802         * javax/management/openmbean/CompositeType.java:
12803         Variables should be transient, not volatile.
12804         * javax/management/openmbean/OpenDataException.java:
12805         (serialVersionUID): Added.
12806         * javax/management/openmbean/SimpleType.java:
12807         New file.
12808         * javax/management/openmbean/TabularType.java
12809         Variables should be transient, not volatile.
12810
12811 2006-07-09  Tom Tromey  <tromey@redhat.com>
12812
12813         * tools/.cvsignore: Updated for new tools.
12814
12815 2006-07-09  Andrew John Hughes  <gnu_andrew@member.fsf.org>
12816
12817         * javax/management/openmbean/CompositeData.java,
12818         * javax/management/openmbean/CompositeType.java,
12819         * javax/management/openmbean/OpenDataException.java,
12820         * javax/management/openmbean/OpenType.java,
12821         * javax/management/openmbean/TabularData.java,
12822         * javax/management/openmbean/TabularType.java,
12823         * javax/management/openmbean/package.html:
12824         New files.
12825
12826 2006-07-09  Mark Wielaard  <mark@klomp.org>
12827
12828         * gnu/javax/print/ipp/IppRequest.java: Remove double assignment.
12829         * gnu/java/rmi/server/UnicastServerRef.java: Likewise.
12830         * gnu/java/rmi/server/ActivatableServerRef.java: Likewise.
12831
12832 2006-07-08  Anthony Green  <green@redhat.com>
12833
12834         * gnu/javax/sound/sampled/WAV/WAVReader.java,
12835         resource/META-INF/services/javax.sound.sampled.spi.AudioFileReader: 
12836         New files.
12837
12838 2006-07-09  Mario Torre  <neugens@limasoftware.net>
12839
12840         * native/jni/gconf-peer/GConfNativePeer.c:
12841         Fixed indentation to be more compliant to the GNU coding
12842         guidelines.
12843         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1unset):
12844         Added explicit test for errors in the GConf backend.
12845         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1get_1string):
12846         Added explicit test for errors in the GConf backend.
12847         Fixed Segmentation Fault when non valid key names are given as input.
12848         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1set_1string):
12849         likewise.
12850         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1dir_1exists):
12851         Added explicit test for errors in the GConf backend.
12852         * gnu/java/util/prefs/gconf/GConfNativePeer.java:
12853         Added javadoc comments for all native methods.
12854         (nodeExist): removed test to check for valid absolute path name
12855         for nodes.
12856         (startWatchingNode): likewise.
12857         (stopWatchingNode): likewise.
12858         (setString): likewise, plus fixed javadoc comments.
12859         (unset): likekwise.
12860         (getKey): likewise.
12861         (getKeys): likewise, also fixed javadoc comments.
12862         (getChildrenNodes): likewise.
12863         * gnu/java/util/prefs/GConfBasedPreferences.java:
12864         changed DEFAULT_USER_ROOT to /apps/classpath.
12865         (constructor): Test to check for a valid absolute path for nodes
12866         is now in the contructor for that node, instead of being on
12867         each method of the backend.
12868         (getGConfKey): removed empty new line.
12869
12870 2006-07-08  Mark Wielaard  <mark@klomp.org>
12871
12872         * .classpath: Add gnu/java/awt/peer/x/ to excludes.
12873
12874 2006-07-08  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
12875
12876         * javax/swing/text/FlowView.java (FlowStrategy.layoutRow):
12877         Handle the forced break in the same way as exceeding the
12878         available row space.
12879         * javax/swing/text/html/HRuleView.java: Rewritten.
12880         * javax/swing/text/html/HTMLDocument.java 
12881         (HTMLReader.addSpecialElement):Reserve two characters for
12882         the special elements.
12883         * examples/gnu/classpath/examples/swing/HtmlDemo.java
12884         (text): Extended the HTML example to parse.
12885
12886 2006-07-07  David Gilbert  <david.gilbert@object-refinery.com>
12887
12888         * javax/swing/AbstractButton.java
12889         (setHorizontalAlignment): Check for illegal argument,
12890         (setVerticalAlignment): Likewise.
12891
12892 2006-07-07  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
12893
12894         * javax/swing/text/html/TableView.java
12895         (getStyleSheet): New method. (RowView.getStyleSheet):
12896         New method.
12897
12898 2006-07-07  David Gilbert  <david.gilbert@object-refinery.com>
12899
12900         * javax/swing/AbstractButton.java
12901         (setRolloverIcon): Call setRolloverEnabled(true),
12902         (setRolloverSelectedIcon): Likewise.
12903
12904 2006-07-07  David Gilbert  <david.gilbert@object-refinery.com>
12905
12906         * javax/swing/border/TitledBorder.java
12907         (setTitlePosition): Added message to exception,
12908         (setTitleJustification): Likewise.
12909
12910 2006-07-07  David Gilbert  <david.gilbert@object-refinery.com>
12911
12912         * javax/swing/plaf/metal/MetalLookAndFeel.java
12913         (createDefaultTheme): Corrected API docs,
12914         (initComponentDefaults): Added entry for 'TitledBorder.border',
12915         (getCurrentTheme): Initialise theme if it is null.
12916
12917 2006-07-07  Roman Kennke  <kennke@aicas.com>
12918
12919         * java/awt/Component.java
12920         (isValid): Return false when component has no peer,
12921         don't query the showing state.
12922
12923 2006-07-07  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
12924
12925         * javax/swing/text/FlowView.java (FlowStrategy.layoutRow):
12926         Advance the offset also in the case of the enforced break.
12927
12928 2006-07-07  David Gilbert  <david.gilbert@object-refinery.com>
12929
12930         * javax/swing/plaf/basic/BasicArrowButton.java
12931         (MAXIMUM_SIZE): Removed field,
12932         (MINIMUM_SIZE): Likewise,
12933         (PREFERRED_SIZE): Likewise,
12934         (getMaximumSize): Return new instance every time,
12935         (getMinimumSize): Likewise,
12936         (getPreferredSize): Likewise.
12937
12938 2006-07-07  Roman Kennke  <kennke@aicas.com>
12939
12940         * java/awt/LightweightDispatcher.java
12941         (findTarget):  Avoid array copying in
12942         Container.getComponents().
12943
12944 2006-07-07  Roman Kennke  <kennke@aicas.com>
12945
12946         * javax/swing/JComponent.java
12947         (paintChildrenWithOverlap): Avoid array copying in
12948         Container.getComponents().
12949         (paintChildrenOptimized): Avoid array copying in
12950         Container.getComponents().
12951         (fireAncestorEvent):  Avoid array copying in
12952         Container.getComponents().
12953         (findOverlapFreeParent): Avoid array copying in
12954         Container.getComponents().
12955
12956 2006-07-07  Matt Wringe <mwringe@redhat.com>
12957
12958         * javax/crypto/spec/PBEKeySpec.java: Updated copyright year.
12959         (passwordValid): New field.
12960         (setPassword): New method.
12961         (setSalt): Likewise.
12962         (setIterationCount): Likewise.
12963         (setKeyLength): Likewise.
12964         (PBEKeySpec(char[])): Use new setter methods.
12965         (PBEKeySpec(char[], byte[], int)): Likewise.
12966         (PBEKeySpec(char[], byte[], int, int)): Likewise.
12967         (clearPassword): Set passwordValid to false.
12968         (getPassword): Check that clearPassword() was not called earlier.
12969         Return a clone of the password.
12970         (getSalt): Return a clone of the salt if it was not null.
12971
12972 2006-07-07  Roman Kennke  <kennke@aicas.com>
12973
12974         * java/awt/Component.java
12975         (isValid): Always return false when component is
12976         not showing.
12977         (setFont): Always set font, even when setting
12978         the same or equal font again.
12979
12980 2006-07-07  David Gilbert  <david.gilbert@object-refinery.com>
12981
12982         * javax/swing/plaf/metal/MetalIconFactory.java
12983         (CheckBoxMenuItemIcon): Implement UIResource,
12984         (FileChooserDetailViewIcon): Likewise,
12985         (FileChooserHomeFolderIcon): Likewise,
12986         (FileChooserListViewIcon): Likewise,
12987         (FileChooserNewFolderIcon): Likewise,
12988         (FileChooserUpFolderIcon): Removed redundant 'implements',
12989         (RadioButtonMenuItemIcon): Implement UIResource,
12990         (HorizontalSliderThumbIcon): Likewise,
12991         (InternalFrameCloseIcon): Likewise,
12992         (InternalFrameDefaultMenuIcon): Likewise,
12993         (InternalFrameAltMaximizeIcon): Likewise,
12994         (InternalFrameMaximizeIcon): Likewise,
12995         (InternalFrameMinimizeIcon): Likewise,
12996         (VerticalSliderThumbIcon): Likewise,
12997         (TreeHardDriveIcon): Likewise,
12998         (TreeFloppyDriveIcon): Likewise,
12999         (TreeComputerIcon): Likewise,
13000         (horizontalSliderThumbIcon): New field,
13001         (verticalSliderThumbIcon): New field,
13002         (getHorizontalSliderThumbIcon): Cache icon,
13003         (getVerticalSliderThumbIcon): Likewise.
13004
13005 2006-07-06  Mark Wielaard  <mark@klomp.org>
13006
13007         * lib/Makefile.am (CLEANFILES): Add Makefile.deps.
13008         (DISTCLEANFILES): Add standard.omit.
13009         (clean-local): Remove Makefile.deps, only remove dirs.
13010
13011 2006-07-06  Roman Kennke  <kennke@aicas.com>
13012
13013         * java/awt/Component.java
13014         (setFont): Only invalidate when component is valid.
13015         * java/awt/Container.java
13016         (setLayout): Only invalidate when component is valid.
13017
13018 2006-07-06  Lillian Angel  <langel@redhat.com>
13019
13020         * gnu/java/awt/dnd/GtkMouseDragGestureRecognizer.java:
13021         New class not fully implemented.
13022         * gnu/java/awt/dnd/peer/gtk/GtkDragSourceContextPeer.java:
13023         New class not fully implemented.
13024         * gnu/java/awt/dnd/peer/gtk/GtkDropTargetPeer.java:
13025         New class not fully implemented.
13026         * gnu/java/awt/dnd/peer/gtk/GtkDropTargetContextPeer.java:
13027         New class not fully implemented.
13028         * nu/java/awt/peer/gtk/GtkToolkit.java:
13029         Fixed Imports.
13030         (createDragSourceContextPeer): Implemented.
13031         (createDragGestureRecognizer): New function to override
13032         java.awt.Toolkit.createDragGestureRecognizer.
13033         * java/awt/dnd/DragSource.java
13034         (NoDragGestureRecognizer): Removed inner class.
13035         (createDragGestureRecognizer): Re-Implemented to 
13036         call Toolkit's createDragGestureRecognizer.
13037         (createDefaultDragGestureRecognizer): Re-Implemented to
13038         call Toolkit's createDragGestureRecognizer.
13039         * java/awt/dnd/DropTarget.java
13040         (addNotify): Added check to determine type of peer and call
13041         addDropTarget.
13042         (removeNotify): Added call to removeDropTarget.
13043
13044 2006-07-06  Tom Tromey  <tromey@redhat.com>
13045
13046         * gnu/java/util/prefs/EventDispatcher.java (dispatch): Notify
13047         'queue'.
13048         (run): Wait on queue, not 'this'.
13049
13050 2006-07-06  Lillian Angel  <langel@redhat.com>
13051
13052         * java/awt/dnd/DragSource.java
13053         (startDrag): Implemented. Added comments describing
13054         what the function should do. Removed FIXME.
13055
13056 2006-07-06  Tania Bento  <tbento@redhat.com>
13057         
13058         * gnu/java/awt/Canvas.java
13059         Added new private variable 'next_canvas_number'.
13060         (generateName): Added.
13061         (getUniqueLong): Added.
13062
13063 2006-07-06  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
13064
13065         * gnu/javax/swing/text/html/CharacterAttributeTranslator.java
13066         (getColor): Made public.
13067         * javax/swing/text/html/StyleSheet.java (stringToColor):
13068         Use CharacterAttributeTranslator.getColor(String)
13069
13070 2006-07-06  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
13071
13072         * javax/swing/text/html/HTMLEditorKit.java:
13073         (HTMLFactory.createElement): Update reference to the html table view.
13074         * javax/swing/text/html/HTMLTableView.java: Removed (renamed).
13075         * javax/swing/text/html/TableView.java: New file.
13076
13077 2006-07-06  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
13078
13079         * javax/swing/text/html/HTMLEditorKit.java: 
13080         (HTMLFactory.createElement): Uncomment
13081         code for BRView and HRuleView.
13082         * javax/swing/text/html/BRView.java,
13083         javax/swing/text/html/HRuleView.java: New files.
13084
13085 2006-07-05  Andrew John Hughes  <gnu_andrew@member.fsf.org>
13086
13087         * java/lang/Thread.java:
13088         (getAllStackTraces(Map<Thread,StackTraceElement[]>)):
13089         Added generic type signature.
13090
13091 2006-07-05  Andrew John Hughes  <gnu_andrew@member.fsf.org>
13092
13093         * NEWS: Updated.
13094         * doc/vmintegration.texinfo: Likewise.
13095         * examples/gnu/classpath/examples/management/TestGarbageCollector.java,
13096         * examples/gnu/classpath/examples/management/TestMemoryManager.java,
13097         * gnu/java/lang/management/GarbageCollectorMXBeanImpl.java,
13098         * gnu/java/lang/management/MemoryManagerMXBeanImpl.java,
13099         * java/lang/management/GarbageCollectorMXBean.java:
13100         New files.
13101         * java/lang/management/ManagementFactory.java:
13102         (getGarbageCollectorMXBeans()): Implemented.
13103         (getMemoryManagerMXBeans()): Likewise.
13104         * vm/reference/gnu/java/lang/management/VMGarbageCollectorMXBeanImpl.java,
13105         * vm/reference/gnu/java/lang/management/VMMemoryManagerMXBeanImpl.java:
13106         New files.
13107         * vm/reference/java/lang/management/VMManagementFactory.java:
13108         (getMemoryManagerNames()): Added.
13109         (getGarbageCollectorNames()): Added.
13110         
13111 2006-07-05  Thomas Fitzsimmons  <fitzsim@redhat.com>
13112
13113         * native/plugin/Makefile.am (nativeexeclib_LTLIBRARIES): Rename
13114         from lib_LTLIBRARIES.
13115         (install-plugin): Depend on nativeexeclib_LTLIBRARIES.
13116
13117 2006-07-05  Lillian Angel  <langel@redhat.com>
13118
13119         * java/awt/dnd/DragGestureEvent.java:
13120         Added new fields.
13121         (DragGestureEvent): Initialized new fields, added to check and 
13122         added documentation.
13123         (getSourceAsDragGestureRecognizer): Added documentation and 
13124         changed to use getSource.
13125         (getComponent): Added documentation and fixed to return the proper
13126         value.
13127         (getDragSource): Likewise.
13128         (getDragOrigin): Added documentation.
13129         (iterator): Implemented and added documentation.
13130         (toArray): Likewise.
13131         (toArray): Likewise.
13132         (getDragAction): Likewise.
13133         (getTriggerEvent): Likewise.
13134         (startDrag): Likewise.
13135         * java/awt/dnd/DragGestureRecognizer.java
13136         (resetRecognizer): Added FIXME.
13137         * java/awt/dnd/DragSource.java:
13138         Added new field.
13139         (DragSource): Set ds to be null if headless.
13140         (getDefaultDragSource): Added documentation and implemented.
13141         (isDragImageSupported): Marked as unimplemented.
13142         (startDrag): Likewise.
13143         (createDragSourceContext): Implemented.
13144         (NoDragGestureRecognizer): Formatted inner class.
13145         * java/awt/dnd/DropTarget.java
13146         (stop): Marked as unimplemented.
13147         (actionPerformed): Likewise.
13148         (addDropTargetListener): Added code to throw exception.
13149         (removeDropTargetListener): Added check, removed FIXME.
13150         (dragEnter): Implemented.
13151         (dragOver): Implemented.
13152         (dropActionChanged): Implemented.
13153         (dragExit): Implemented.
13154         (drop): Implemented.
13155         (addNotify): Implemented.
13156         (removeNotify): Implemented.
13157         (createDropTargetContext): Implemented.
13158         (createDropTargetAutoScroller): Implemented.
13159         (initializeAutoscrolling): Implemented.
13160         (updateAutoscroll): Implemented.
13161         (clearAutoscroll): Implemented.
13162         * java/awt/dnd/DropTargetContext.java
13163         (dropComplete): Implemented.
13164         (acceptDrag): Implemented.
13165         (rejectDrag): Implemented.
13166         (acceptDrop): Implemented.
13167         (rejectDrop): Implemented.
13168         (getCurrentDataFlavors): Implemented.
13169         (getTransferable): Partially implemented.
13170         * java/awt/dnd/DropTargetDragEvent.java
13171         (getDropAction): Uncommented correct code.
13172         * java/awt/dnd/DropTargetDropEvent.java
13173         (dropComplete) :Implemented.
13174         * java/awt/dnd/InvalidDnDOperationException.java
13175         (InvalidDnDOperationException): Added call to super.
13176
13177 2006-07-05  Robert Schuster  <robertschuster@fsfe.org>
13178
13179         * javax/swing/plaf/basic/BasicArrowButton.java:
13180         (paint): Removed getBounds() call, changed center point
13181         calculation.
13182
13183 2006-07-05  David Gilbert  <david.gilbert@object-refinery.com>
13184
13185         * javax/swing/InputMap.java
13186         (inputMap): Don't initialize yet,
13187         (InputMap): Removed TODO,
13188         (get): Check for null inputMap,
13189         (put): Return immediately for null keyStroke, check for null inputMap
13190         and initialize if necessary,
13191         (remove): Check for null inputMap,
13192         (size): Likewise,
13193         (clear): Likewise,
13194         (keys): Likewise,
13195         (allKeys): Likewise,
13196         (writeObject): Removed,
13197         (readObject): Removed.
13198
13199 2006-07-05  David Gilbert  <david.gilbert@object-refinery.com>
13200
13201         * gnu/classpath/examples/swing/TabbedPaneDemo.java
13202         (createContent): Use different labels for buttons.
13203
13204 2006-07-04  Andrew John Hughes  <gnu_andrew@member.fsf.org>
13205
13206         * NEWS: Updated.
13207         * doc/vmintegration.texinfo: Likewise.
13208         * examples/gnu/classpath/examples/management/TestMemoryPool.java,
13209         * gnu/java/lang/management/MemoryPoolMXBeanImpl.java:
13210         New files.
13211         * java/lang/management/ManagementFactory.java:
13212         (getMemoryPoolMXBeans()): Implemented.
13213         * vm/reference/gnu/java/lang/management/VMMemoryPoolMXBeanImpl.java,
13214         * vm/reference/java/lang/management/VMManagementFactory.java:
13215         New files.
13216         
13217 2006-07-04  Lillian Angel  <langel@redhat.com>
13218
13219         * java/awt/dnd/DragSourceContext.java:
13220         Removed FIXMEs from fields.
13221         (DragSourceContext): Added code to initialize cursor and sourceActions.
13222         (getDragSource): Added documentation.
13223         (getComponent): Likewise.
13224         (getTrigger): Likewise.
13225         (getSourceActions): Added documentation and implemented.
13226         (setCursor): Implemented. Added documentation.
13227         (getCursor): Implemented. Added documentation.
13228         (dragEnter): Added code to notify DragSource's listeners.
13229         (dragOver): Likewise.
13230         (dragExit): Likewise.
13231         (dropActionChanged): Likewise.
13232         (dragDropEnd): Likewise.
13233         (dragMouseMoved): Implemented.
13234         (getTransferable): Added API documentation.
13235         (updateCurrentCursor): Added API documentation and partially implemented.
13236
13237 2006-07-04  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
13238
13239         * javax/swing/plaf/basic/BasicTreeUI.java (KeyHandler): Implemented.
13240
13241 2006-07-04  Lillian Angel  <langel@redhat.com>
13242
13243         * java/awt/dnd/DragSourceContext.java
13244         (DragSourceContext): Implemented fully. Fixed API docs.
13245         (transferablesFlavorsChanged): Implemented.
13246         (dragEnter): Implemented.
13247         (dragOver): Implemented.
13248         (dragExit): Implemented.
13249         (dropActionChanged): Implemented.
13250         (dragDropEnd): Implemented.
13251
13252 2006-07-04  Lillian Angel  <langel@redhat.com>
13253
13254         * javax/swing/plaf/basic/BasicOptionPaneUI.java:
13255         Fixed name of constant.
13256         (getIconWidth): Changed name of constant returned.
13257         (getIconHeight): Likewise.
13258         (paint): Likewise.
13259         (createSeparator): Marked as unimplemented.
13260         * javax/swing/plaf/basic/BasicTableUI.java
13261         (focusGained): Marked as unimplemented.
13262         (focusLost): Marked as unimplemented.
13263         (mouseEntered): Likewise.
13264         (mouseMoved): Likewise.
13265         (uninstallDefaults): Likewise.
13266         * javax/swing/plaf/basic/BasicToolBarUI.java
13267         (mouseClicked): Changed comment.
13268         (mouseEntered): Likewise.
13269         (mouseExited): Likewise.
13270         (mouseMoved): Likewise.
13271         (setOrientation): Implemented.
13272         (ToolBarFocusListener): Marked as unimplemented.
13273         (focusGained): Marked as unimplemented.
13274         (focusLost): Marked as unimplemented.
13275
13276 2006-07-04  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
13277
13278         PR 28061
13279         * javax/swing/plaf/basic/BasicTreeUI.java (isLocationInExpandControl):
13280         Mind the effect of the root visibility on the position of the control.
13281         Quess icon width 18. (paintVerticalPartOfLeg): Do no paint the 
13282         vertical line over first level nodes.
13283
13284 2006-07-04  Lillian Angel  <langel@redhat.com>
13285
13286         * javax/swing/plaf/basic/BasicMenuUI.java
13287         (installKeyboardActions): Implemented to call super. Nothing else
13288         needs to be done here.
13289         (setupPostTimer): Marked as unimplemented.
13290         (uninstallKeyboardActions): Implemented to call super. Nothing else
13291         needs to be done here.
13292         (mouseMoved): Removed TODO. Nothing to be done here.
13293         (ChangeHandler): Implemented.
13294         (menuDragMouseExited): Removed TODO. Nothing to be done here.
13295         (menuDragMouseReleased): Removed TODO. Nothing to be done here.
13296         (menuKeyReleased): Removed TODO. Nothing to be done here.
13297         (menuKeyTyped): Marked as unimplemented.
13298
13299 2006-07-04  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
13300
13301         PR 28061
13302         * gnu/javax/swing/plaf/gnu/GNULookAndFeel.java
13303         (getDefaults): Set hash color to black.
13304         * javax/swing/plaf/basic/BasicLookAndFeel.java
13305         (initComponentDefaults): Set hash color to grey blue.
13306         * javax/swing/plaf/basic/BasicTreeUI.java
13307         (instellDefaults): Set hash color.
13308         * javax/swing/plaf/metal/MetalIconFactory.java
13309         (TreeControlIcon.paint): Rewritten.
13310
13311 2006-07-04  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
13312
13313         PR 28061
13314         * javax/swing/plaf/basic/BasicTreeUI.java (MouseHandler.mousePressed):
13315         Always cancel the current editing session before doing anything else,
13316         return immediately if this fails.
13317         (TreeHomeAction): Ensure that the lead selection path is visible after
13318         the action is performed. TreeIncrementAction: Likewise. TreeToggleAction:
13319         Likewise. TreeTraverseAction: Likewise.
13320
13321 2006-07-04  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
13322
13323         PR 28061
13324         * javax/swing/plaf/basic/BasicTreeUI.java (MouseHandler.mousePressed):
13325         Returned back the code to handle the start of the click-pause-click
13326         editing initiation, explained about this code. 
13327         (TreeStartEditingAction): New inner class.
13328         (stopEditingInCompleteEditing): Explained about this field.
13329         (completeEditing(boolean, boolean, boolean): Only return early
13330         if there is no current editing session.
13331         (createDefaultActions): Install TreeStartEditingAction and
13332         TreeCancelEditingAction.
13333
13334 2006-07-04  Mario Torre  <neugens@limasoftware.net>
13335
13336         * configure.ac: Added new option --enable-default-preferences-peer
13337         to pass user specified default preference backend.
13338         If the GConf peer is built, GConf become the default backend.
13339         * resource/META-INF/services/java.util.prefs.PreferencesFactory.in:
13340         new file. 
13341         * lib/Makefile.am: excludes files terminating in 'in' from
13342         the metafiles list.
13343         * lib/copy-vmresources.sh.in: excludes files terminating in 'in'
13344         from copy into META-INF.
13345         * java/util/prefs/Preferences.java: added two new import
13346         classes gnu.classpath.ServiceFactory and java.util.Iterator.
13347         (getFactory): Now try to check for
13348         a system defined default preference backend before to fall back on
13349         FileBasedPreference.
13350
13351 2006-07-04  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
13352
13353         PR 28061
13354         * javax/swing/JTree.java (COLLAPSED): Initialise to Boolean.FALSE.
13355         (EXPANDED): Initialise to Boolean.TRUE.
13356         * javax/swing/plaf/basic/BasicTreeUI.java (completeUIInstall):
13357         First configure layout cache and then set the assigned value 
13358         as row mapper. Set the root visibility property.
13359         (toggleExpandState): Obtains expansion state from the layout cache.
13360
13361 2006-07-03  Andrew John Hughes  <gnu_andrew@member.fsf.org>
13362
13363         * java/lang/management/MemoryPoolMXBean.java:
13364         New file.
13365         
13366 2006-07-03  Raif S. Naffah  <raif@swiftdsl.com.au>
13367
13368         * gnu/javax/crypto/RSACipherImpl.java: Source formatting.
13369
13370 2006-07-03  Raif S. Naffah  <raif@swiftdsl.com.au>
13371
13372         * gnu/javax/crypto/sasl/anonymous/AnonymousClient.java: Source formatting.
13373         * gnu/javax/crypto/sasl/anonymous/AnonymousServer.java: Likewise.
13374         * gnu/javax/crypto/sasl/anonymous/AnonymousUtil.java: Likewise.
13375         * gnu/javax/crypto/sasl/crammd5/CramMD5AuthInfoProvider.java: Likewise.
13376         * gnu/javax/crypto/sasl/crammd5/CramMD5Client.java: Likewise.
13377         * gnu/javax/crypto/sasl/crammd5/CramMD5Registry.java: Likewise.
13378         * gnu/javax/crypto/sasl/crammd5/CramMD5Server.java: Likewise.
13379         * gnu/javax/crypto/sasl/crammd5/CramMD5Util.java: Likewise.
13380         * gnu/javax/crypto/sasl/crammd5/PasswordFile.java: Likewise.
13381         * gnu/javax/crypto/sasl/plain/PasswordFile.java: Likewise.
13382         * gnu/javax/crypto/sasl/plain/PlainAuthInfoProvider.java: Likewise.
13383         * gnu/javax/crypto/sasl/plain/PlainClient.java: Likewise.
13384         * gnu/javax/crypto/sasl/plain/PlainRegistry.java: Likewise.
13385         * gnu/javax/crypto/sasl/plain/PlainServer.java: Likewise.
13386         * gnu/javax/crypto/sasl/srp/CALG.java: Likewise.
13387         * gnu/javax/crypto/sasl/srp/ClientStore.java: Likewise.
13388         * gnu/javax/crypto/sasl/srp/IALG.java: Likewise.
13389         * gnu/javax/crypto/sasl/srp/KDF.java: Likewise.
13390         * gnu/javax/crypto/sasl/srp/PasswordFile.java: Likewise.
13391         * gnu/javax/crypto/sasl/srp/SecurityContext.java: Likewise.
13392         * gnu/javax/crypto/sasl/srp/ServerStore.java: Likewise.
13393         * gnu/javax/crypto/sasl/srp/SRP.java: Likewise.
13394         * gnu/javax/crypto/sasl/srp/SRPAuthInfoProvider.java: Likewise.
13395         * gnu/javax/crypto/sasl/srp/SRPClient.java: Likewise.
13396         * gnu/javax/crypto/sasl/srp/SRPRegistry.java: Likewise.
13397         * gnu/javax/crypto/sasl/srp/SRPServer.java: Likewise.
13398         * gnu/javax/crypto/sasl/srp/StoreEntry.java: Likewise.
13399         * gnu/javax/crypto/sasl/AuthInfo.java: Likewise.
13400         * gnu/javax/crypto/sasl/AuthInfoProviderFactory.java: Likewise.
13401         * gnu/javax/crypto/sasl/ClientFactory.java: Likewise.
13402         * gnu/javax/crypto/sasl/ClientMechanism.java: Likewise.
13403         * gnu/javax/crypto/sasl/ConfidentialityException.java: Likewise.
13404         * gnu/javax/crypto/sasl/IAuthInfoProvider.java: Likewise.
13405         * gnu/javax/crypto/sasl/IAuthInfoProviderFactory.java: Likewise.
13406         * gnu/javax/crypto/sasl/IllegalMechanismStateException.java: Likewise.
13407         * gnu/javax/crypto/sasl/InputBuffer.java: Likewise.
13408         * gnu/javax/crypto/sasl/IntegrityException.java: Likewise.
13409         * gnu/javax/crypto/sasl/NoSuchMechanismException.java: Likewise.
13410         * gnu/javax/crypto/sasl/NoSuchUserException.java: Likewise.
13411         * gnu/javax/crypto/sasl/OutputBuffer.java: Likewise.
13412         * gnu/javax/crypto/sasl/SaslEncodingException.java: Likewise.
13413         * gnu/javax/crypto/sasl/SaslInputStream.java: Likewise.
13414         * gnu/javax/crypto/sasl/SaslOutputStream.java: Likewise.
13415         * gnu/javax/crypto/sasl/SaslUtil.java: Likewise.
13416         * gnu/javax/crypto/sasl/ServerFactory.java: Likewise.
13417         * gnu/javax/crypto/sasl/ServerMechanism.java: Likewise.
13418         * gnu/javax/crypto/sasl/UserAlreadyExistsException.java: Likewise.
13419
13420 2006-07-02  Anthony Green  <green@redhat.com>
13421
13422         * gnu/javax/sound/midi/file/MidiFileWriter.java (writeTrack): Make
13423         sure that every track written ends with an End Of Track meta
13424         message.
13425
13426 2006-07-02  Andrew John Hughes  <gnu_andrew@member.fsf.org>
13427
13428         * java/lang/management/MemoryUsage.java:
13429         (toString()): Fix missing MB for maximum memory usage.
13430         
13431 2006-07-02  Andrew John Hughes  <gnu_andrew@member.fsf.org>
13432
13433         * NEWS:
13434         Updated to include VMCompilationMXBeanImpl.
13435         * doc/vmintegration.texinfo:
13436         Likewise, along with update to VMMemoryMXBeanImpl
13437         as below.
13438         * examples/gnu/classpath/examples/management/TestCompilation.java,
13439         * gnu/java/lang/management/CompilationMXBeanImpl.java,
13440         * java/lang/management/CompilationMXBeanImpl.java:
13441         New files.
13442         * java/lang/management/ManagementFactory.java:
13443         (getCompilationMXBean()): Implemented.
13444         * vm/reference/gnu/java/lang/management/VMCompilationMXBeanImpl.java:
13445         New file.
13446         * vm/reference/gnu/java/lang/management/VMMemoryMXBeanImpl.java:
13447         (getHeapMemoryUsage()): Added default implementation.   
13448         
13449 2006-07-02  Anthony Green  <green@redhat.com>
13450
13451         * NEWS: Mention MIDI file reader/writer providers.
13452
13453 2006-07-02  Anthony Green  <green@redhat.com>
13454
13455         * resource/META-INF/services/javax.sound.midi.spi.MidiFileWriter,
13456         gnu/javax/sound/midi/file/MidiFileWriter.java,
13457         gnu/javax/sound/midi/file/MidiDataOutputStream.java: New files.
13458
13459 2006-07-01  Andrew John Hughes  <gnu_andrew@member.fsf.org>
13460
13461         * NEWS:
13462         Updated to include VMMemoryMXBeanImpl.
13463         * doc/vmintegration.texinfo: Likewise.
13464         * examples/gnu/classpath/examples/management/TestMemory.java:
13465         New file.
13466         * gnu/java/lang/management/ClassLoadingMXBeanImpl.java:
13467         Remove redundant import.
13468         * gnu/java/lang/management/MemoryMXBeanImpl.java:
13469         New file.
13470         * gnu/java/lang/management/ThreadMXBeanImpl.java:
13471         Remove redundant import.
13472         * java/lang/management/ManagementFactory.java:
13473         (getMemoryMXBean()): Implemented.
13474         * java/lang/management/MemoryMXBean.java,
13475         * java/lang/management/MemoryUsage.java:
13476         New files.
13477         * java/lang/management/ThreadInfo.java:
13478         (toString()): Updated documentation.
13479         * vm/reference/gnu/java/lang/management/VMMemoryMXBeanImpl.java:
13480         New file.
13481         
13482 2006-07-01  Anthony Green  <green@redhat.com>
13483
13484         * resource/META-INF/services/javax.sound.midi.spi.MidiFileReader,
13485         gnu/javax/sound/midi/file/MidiFileReader.java,
13486         gnu/javax/sound/midi/file/ExtendedMidiFileFormat.java,
13487         gnu/javax/sound/midi/file/MidiDataInputStream.java: New files.
13488
13489 2006-07-02  Raif S. Naffah  <raif@swiftdsl.com.au>
13490
13491         * gnu/javax/crypto/prng/ARCFour.java: Source formatting.
13492         * gnu/javax/crypto/prng/CSPRNG.java: Likewise.
13493         * gnu/javax/crypto/prng/Fortuna.java: Likewise.
13494         * gnu/javax/crypto/prng/ICMGenerator.java: Likewise.
13495         * gnu/javax/crypto/prng/PBKDF2.java: Likewise.
13496         * gnu/javax/crypto/prng/PRNGFactory.java: Likewise.
13497         * gnu/javax/crypto/prng/UMacGenerator.java: Likewise.
13498
13499 2006-07-02  Raif S. Naffah  <raif@swiftdsl.com.au>
13500
13501         * gnu/javax/crypto/pad/BasePad.java: Source formatting.
13502         * gnu/javax/crypto/pad/IPad.java: Likewise.
13503         * gnu/javax/crypto/pad/PadFactory.java: Likewise.
13504         * gnu/javax/crypto/pad/PKCS1_V1_5.java: Likewise.
13505         * gnu/javax/crypto/pad/PKCS7.java: Likewise.
13506         * gnu/javax/crypto/pad/SSL3.java: Likewise.
13507         * gnu/javax/crypto/pad/TBC.java: Likewise.
13508         * gnu/javax/crypto/pad/TLS1.java: Likewise.
13509         * gnu/javax/crypto/pad/WrongPaddingException.java: Likewise.
13510
13511 2006-07-01  Anthony Green  <green@redhat.com>
13512
13513         * javax/sound/midi/SysexMessage.java (setMessage): Fix sysex
13514         status byte test.
13515         (setMessage): Fix it again, in a different setMessage method.
13516
13517 2006-07-02  Raif S. Naffah  <raif@swiftdsl.com.au>
13518
13519         * gnu/javax/crypto/mode/BaseMode.java: Source formatting.
13520         * gnu/javax/crypto/mode/CBC.java: Likewise.
13521         * gnu/javax/crypto/mode/CFB.java: Likewise.
13522         * gnu/javax/crypto/mode/CTR.java: Likewise.
13523         * gnu/javax/crypto/mode/EAX.java: Likewise.
13524         * gnu/javax/crypto/mode/ECB.java: Likewise.
13525         * gnu/javax/crypto/mode/IAuthenticatedMode.java: Likewise.
13526         * gnu/javax/crypto/mode/ICM.java: Likewise.
13527         * gnu/javax/crypto/mode/IMode.java: Likewise.
13528         * gnu/javax/crypto/mode/ModeFactory.java: Likewise.
13529         * gnu/javax/crypto/mode/OFB.java: Likewise.
13530
13531 2006-07-02  Raif S. Naffah  <raif@swiftdsl.com.au>
13532
13533         * gnu/javax/crypto/mac/BaseMac.java: Source formatting.
13534         * gnu/javax/crypto/mac/HMac.java: Likewise.
13535         * gnu/javax/crypto/mac/HMacFactory.java: Likewise.
13536         * gnu/javax/crypto/mac/IMac.java: Likewise.
13537         * gnu/javax/crypto/mac/MacFactory.java: Likewise.
13538         * gnu/javax/crypto/mac/MacInputStream.java: Likewise.
13539         * gnu/javax/crypto/mac/MacOutputStream.java: Likewise.
13540         * gnu/javax/crypto/mac/OMAC.java: Likewise.
13541         * gnu/javax/crypto/mac/TMMH16.java: Likewise.
13542         * gnu/javax/crypto/mac/UHash32.java: Likewise.
13543         * gnu/javax/crypto/mac/UMac32.java: Likewise.
13544
13545 2006-07-01  Anthony Green  <green@redhat.com>
13546
13547         * javax/sound/midi/Track.java (vector, eventSet): Initialize. 
13548
13549 2006-07-02  Raif S. Naffah  <raif@swiftdsl.com.au>
13550
13551         * gnu/javax/crypto/keyring/AuthenticatedEntry.java: Source formatting.
13552         * gnu/javax/crypto/keyring/BaseKeyring.java: Likewise.
13553         * gnu/javax/crypto/keyring/BinaryDataEntry.java: Likewise.
13554         * gnu/javax/crypto/keyring/CertificateEntry.java: Likewise.
13555         * gnu/javax/crypto/keyring/CertPathEntry.java: Likewise.
13556         * gnu/javax/crypto/keyring/CompressedEntry.java: Likewise.
13557         * gnu/javax/crypto/keyring/EncryptedEntry.java: Likewise.
13558         * gnu/javax/crypto/keyring/Entry.java: Likewise.
13559         * gnu/javax/crypto/keyring/EnvelopeEntry.java: Likewise.
13560         * gnu/javax/crypto/keyring/GnuPrivateKeyring.java: Likewise.
13561         * gnu/javax/crypto/keyring/GnuPublicKeyring.java: Likewise.
13562         * gnu/javax/crypto/keyring/IKeyring.java: Likewise.
13563         * gnu/javax/crypto/keyring/IPrivateKeyring.java: Likewise.
13564         * gnu/javax/crypto/keyring/IPublicKeyring.java: Likewise.
13565         * gnu/javax/crypto/keyring/MalformedKeyringException.java: Likewise.
13566         * gnu/javax/crypto/keyring/MaskableEnvelopeEntry.java: Likewise.
13567         * gnu/javax/crypto/keyring/MeteredInputStream.java: Likewise.
13568         * gnu/javax/crypto/keyring/PasswordAuthenticatedEntry.java: Likewise.
13569         * gnu/javax/crypto/keyring/PasswordEncryptedEntry.java: Likewise.
13570         * gnu/javax/crypto/keyring/PasswordProtectedEntry.java: Likewise.
13571         * gnu/javax/crypto/keyring/PrimitiveEntry.java: Likewise.
13572         * gnu/javax/crypto/keyring/PrivateKeyEntry.java: Likewise.
13573         * gnu/javax/crypto/keyring/Properties.java: Likewise.
13574         * gnu/javax/crypto/keyring/PublicKeyEntry.java: Likewise.
13575
13576 2006-07-01  David Gilbert  <david.gilbert@object-refinery.com>
13577
13578         * javax/swing/AbstractCellEditor.java: Source code formatting,
13579         * javax/swing/AbstractSpinnerModel.java: Likewise,
13580         * javax/swing/Box.java: Likewise,
13581         * javax/swing/BoxLayout.java: Likewise,
13582         * javax/swing/DefaultListModel.java: Likewise,
13583         * javax/swing/GrayFilter.java: Likewise,
13584         * javax/swing/LookAndFeel.java: Likewise,
13585         * javax/swing/ProgressMonitor.java: Likewise,
13586         * javax/swing/ProgressMonitorInputStream.java: Likewise,
13587         * javax/swing/ScrollPaneLayout.java: Likewise,
13588         * javax/swing/SpringLayout.java: Likewise,
13589         * javax/swing/event/EventListenerList.java: Likewise,
13590         * javax/swing/event/MenuEvent.java: Likewise,
13591         * javax/swing/event/TreeExpansionListener.java: Likewise.
13592
13593 2006-07-01  Andrew John Hughes  <gnu_andrew@member.fsf.org>
13594
13595         * NEWS:
13596         Mention threading bean and getState().
13597         * doc/vmintegration.texinfo:
13598         Update documentation for threading bean and new
13599         method of VMThread.
13600         
13601 2006-07-01  Andrew John Hughes  <gnu_andrew@member.fsf.org>
13602         
13603         * examples/gnu/classpath/examples/management/TestClassLoading.java,
13604         * examples/gnu/classpath/examples/management/TestOS.java,
13605         * examples/gnu/classpath/examples/management/TestRuntime.java,
13606         * examples/gnu/classpath/examples/management/TestThread.java:
13607         New files.
13608         
13609 2006-07-01  Jeroen Frijters  <jeroen@frijters.net>
13610
13611         * java/lang/ThreadGroup.java
13612         (getThreadFromId, getThreadFromIdImpl): New methods.
13613
13614 2006-07-01  Jeroen Frijters  <jeroen@frijters.net>
13615
13616         * java/lang/Thread.java:
13617         Make thread IDs start from 1 in a more efficient way.
13618
13619 2006-07-01  Andrew John Hughes  <gnu_andrew@member.fsf.org>
13620
13621         * java/lang/Thread.java:
13622         Make thread IDs start from 1.
13623         
13624 2006-07-01  Andrew John Hughes  <gnu_andrew@member.fsf.org>
13625
13626         * gnu/java/lang/management/BeanImpl.java:
13627         New superclass for all bean implementations.
13628         * gnu/java/lang/management/ClassLoadingMXBeanImpl.java:
13629         Extend BeanImpl and call permission code there.
13630         * gnu/java/lang/management/OperatingSystemMXBeanImpl.java:
13631         Extend BeanImpl.
13632         * gnu/java/lang/management/RuntimeMXBeanImpl.java:
13633         Extend BeanImpl and call permission code there.
13634         * gnu/java/lang/management/ThreadMXBeanImpl.java:
13635         New file.
13636         * java/lang/management/ManagementFactory.java:
13637         (getThreadMXBean()): Implemented.
13638         * java/lang/management/ThreadInfo.java:
13639         (ThreadInfo(Thread,int)): Replaced...
13640         (ThreadInfo(Thread,long,long,Object,Thread,long,long,
13641         boolean, boolean, StackTraceElement[])): with this.
13642         (getBlockedCount()): Refactored to use local variables.
13643         (getBlockedTime()): Likewise.
13644         (getLockName()): Likewise.
13645         (getLockOwnerId()): Likewise.
13646         (getLockOwnerName()): Likewise.
13647         (getStackTrace()): Likewise.
13648         (getWaitedCount()): Likewise.
13649         (getWaitedTime()): Likewise.
13650         (isInNative()): Likewise.
13651         (isSuspended()): Likewise.
13652         (toString()): Changed to use new local variables.
13653         * java/lang/management/ThreadMXBean.java:
13654         (getThreadInfo(long, int)): Corrected documentation.
13655         (getThreadInfo(long[], int)): Likewise.
13656         * vm/reference/gnu/java/lang/management/VMThreadMXBeanImpl.java:
13657         New file.
13658         * vm/reference/java/lang/management/VMThreadInfo.java:
13659         Removed.
13660
13661 2006-07-01  Raif S. Naffah  <raif@swiftdsl.com.au>
13662
13663         * gnu/javax/crypto/key/dh/DHKeyPairRawCodec.java: Source formatting.
13664         * gnu/javax/crypto/key/dh/DiffieHellmanKeyAgreement.java: Likewise.
13665         * gnu/javax/crypto/key/dh/DiffieHellmanReceiver.java: Likewise.
13666         * gnu/javax/crypto/key/dh/DiffieHellmanSender.java: Likewise.
13667         * gnu/javax/crypto/key/dh/ElGamalKeyAgreement.java: Likewise.
13668         * gnu/javax/crypto/key/dh/ElGamalReceiver.java: Likewise.
13669         * gnu/javax/crypto/key/dh/ElGamalSender.java: Likewise.
13670         * gnu/javax/crypto/key/dh/GnuDHKey.java: Likewise.
13671         * gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java: Likewise.
13672         * gnu/javax/crypto/key/dh/GnuDHPrivateKey.java: Likewise.
13673         * gnu/javax/crypto/key/dh/GnuDHPublicKey.java: Likewise.
13674         * gnu/javax/crypto/key/dh/RFC2631.java: Likewise.
13675         * gnu/javax/crypto/key/srp6/SRP6Host.java: Likewise.
13676         * gnu/javax/crypto/key/srp6/SRP6KeyAgreement.java: Likewise.
13677         * gnu/javax/crypto/key/srp6/SRP6SaslClient.java: Likewise.
13678         * gnu/javax/crypto/key/srp6/SRP6SaslServer.java: Likewise.
13679         * gnu/javax/crypto/key/srp6/SRP6TLSClient.java: Likewise.
13680         * gnu/javax/crypto/key/srp6/SRP6TLSServer.java: Likewise.
13681         * gnu/javax/crypto/key/srp6/SRP6User.java: Likewise.
13682         * gnu/javax/crypto/key/srp6/SRPAlgorithm.java: Likewise.
13683         * gnu/javax/crypto/key/srp6/SRPKey.java: Likewise.
13684         * gnu/javax/crypto/key/srp6/SRPKeyPairGenerator.java: Likewise.
13685         * gnu/javax/crypto/key/srp6/SRPKeyPairRawCodec.java: Likewise.
13686         * gnu/javax/crypto/key/srp6/SRPPrivateKey.java: Likewise.
13687         * gnu/javax/crypto/key/srp6/SRPPublicKey.java: Likewise.
13688         * gnu/javax/crypto/key/BaseKeyAgreementParty.java: Likewise.
13689         * gnu/javax/crypto/key/GnuSecretKey.java: Likewise.
13690         * gnu/javax/crypto/key/IKeyAgreementParty.java: Likewise.
13691         * gnu/javax/crypto/key/IncomingMessage.java: Likewise.
13692         * gnu/javax/crypto/key/KeyAgreementException.java: Likewise.
13693         * gnu/javax/crypto/key/KeyAgreementFactory.java: Likewise.
13694         * gnu/javax/crypto/key/OutgoingMessage.java: Likewise.
13695
13696 2006-07-01  Roman Kennke  <kennke@aicas.com>
13697
13698         * gnu/java/awt/java2d/AbstractGraphics2D.java
13699         (transform): Make field protected.
13700         (getDestinationRaster): Provide default implementation for
13701         previously abstract method.
13702
13703 2006-06-30  Tania Bento  <tbento@redhat.com>
13704
13705         * java/awt/TextArea.java
13706         (TextArea(String, int, int, int)): No longer throws
13707         IllegalArgumentException if rows, columns, or scrollbarVisibility 
13708         values are invalid.  
13709         (TextArea(String, int, int, int)): If rows or columns are < 0, 
13710         they get set to 0.  If scrollbarVisibility is < 0 or > 4, it 
13711         gets set to the default value of 0 (SCROLLBARS_BOTH).
13712          (appendText): Added case when peer = null.
13713         (insertText): Added case when peer == null.
13714         (replaceText): Added case when peer == null.
13715         * java/awt/TextComponent.java
13716         (TextComponent(String)): If text == null, set it to "".
13717
13718 2006-06-30  Lillian Angel  <langel@redhat.com>
13719
13720         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
13721         (create): Added synchronized block around groupMap.get calls.
13722         (setCheckboxGroup): Likewise.
13723
13724 2006-06-30  Lillian Angel  <langel@redhat.com>
13725
13726         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
13727         (create): Changed to be non-synchronized.
13728         (setLabel): Likewise.
13729         (setCheckboxGroup): Likewise.
13730         (addToGroupMap): Likewise. Added synchronized block around
13731         code.
13732         (dispose): Changed to be non-synchronized.
13733
13734 2006-06-30  Lillian Angel  <langel@redhat.com>
13735
13736         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java:
13737         Changed all return values of native functions to void.
13738         (create): Changed function to be synchronized. Removed
13739         call to put value in groupMap, this is now done from 
13740         the native code.
13741         (setState): Changed function to be synchronized.
13742         (setLabel): Changed function to be synchronized.
13743         (setCheckboxGroup): Changed function to be synchronized. Removed
13744         call to put value in groupMap, this is now done from
13745         the native code.
13746         (postItemEvent): Changed function to be synchronized.
13747         (addToGroupMap): New function. Called by native code to add
13748         new value to the group.
13749         (dispose): Changed function to be synchronized.
13750         * include/gnu_java_awt_peer_gtk_GtkCheckboxPeer.h: Updated
13751         all functions.
13752         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
13753         (cp_gtk_checkbox_init_jni): Added code to link to 
13754         java function.
13755         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_createRadioButton): 
13756         Changed return value to void. Added call
13757         to java function to set pointer in groupMap.
13758         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_addtoGroup): Likewise. Also,
13759         changed check to an assert. Also, removed call to set/del pointer.
13760         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_removeFromGroup): 
13761         Likewise. Also, added check to determine if native_group should be 
13762         set to NULL.
13763         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_switchToGroup): Likewise.
13764
13765 2006-06-30  Sven de Marothy  <sven@physto.se>
13766
13767         * gnu/java/awt/ClasspathToolkit.java,
13768         * gnu/java/awt/peer/x/XToolkit.java,
13769         * gnu/java/awt/peer/qt/QtToolkit.java,
13770         * gnu/java/awt/peer/gtk/GtkToolkit.java,
13771         Remove ClasspathTextLayoutPeer.
13772         * gnu/java/awt/peer/gtk/GdkTextLayout.java,
13773         * gnu/java/awt/peer/ClasspathTextLayoutPeer:
13774         Files removed.
13775         
13776 2006-06-30  Sven de Marothy  <sven@physto.se>
13777
13778         * gnu/java/awt/peer/gtk/CairoGraphics2D.java:
13779         (drawGlyphVector): Don't draw empty vectors.
13780
13781 2006-06-30  Lillian Angel  <langel@redhat.com>
13782             Tom Fitzsimmons <fitzsim@redhat.com>
13783
13784         * gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java: Removed class.
13785         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java:
13786         Added current_group, groupMap fields. Added definitions for
13787         new native functions.
13788         (create): Removed FIXME. Added code to create the check button or
13789         radio button when appropriate. Updated groupMap to contain
13790         pointer to the newly created group.
13791         (setCheckboxGroup): Added code to handle all cases. Removing
13792         a button from a group, adding a button to a group, or changing the
13793         group of a button.
13794         (dispose): Changed to call super.
13795         * include/Makefile.am: Removed reference to 
13796         gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.h.
13797         * include/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.h: Removed file.
13798         * include/gnu_java_awt_peer_gtk_GtkCheckboxPeer.h: Added definitions
13799         for new functions.
13800         * native/jni/gtk-peer/Makefile.am: Removed reference to 
13801         gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c.
13802         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c:
13803         Removed file.
13804         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
13805         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_combobox_get_widget): 
13806         Renamed to checkbox_get_widget.
13807         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_connectSignals): 
13808         Changed to use checkbox_get_widget.
13809         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_nativeSetCheckboxGroup): 
13810         Removed.
13811         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_gtkWidgetModifyFont):
13812         Changed to use checkbox_get_widget.
13813         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_gtkButtonSetLabel):
13814         Likewise.
13815         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_createCheckButton):
13816         New function. Creates checkbutton without a group.
13817         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_createRadioButton):
13818         Creates a radio button in a group, using groupPointer. If groupPointer
13819         is 0, then a new group is created.
13820         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_addToGroup): Adds the
13821         check button to a group, using groupPointer. A radio button is created
13822         in its place. If groupPointer is 0, then a new group is created.
13823         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_removeFromGroup): The
13824         radio button is removed from the group. A check button is created in 
13825         its place.
13826         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_switchToGroup): The
13827         radio button is moved to a new group.
13828
13829 2006-06-30  Mark Wielaard  <mark@klomp.org>
13830
13831         * configure.ac: Move standard.omit creation after dirs are created.
13832         Cat standard.omit.in from srcdir. Make exclude regex more explicit.
13833         * lib/Makefile.am (EXTRA_DIST): Add standard.omit.in.
13834         (clean-local): Remove standard.omit.
13835         * lib/gen-classlist.sh.in: Use omit file in build dir.
13836         * lib/standard.omit.in: Make exclude regex more explicit.
13837
13838 2006-06-30  Roman Kennke  <kennke@aicas.com>
13839
13840         * lib/Makefile.am: Added Escher dir/jar to classpath when
13841         requested.
13842         * configure.ac: Moved handling of standard.omit to a place
13843         where it actually gets executed.
13844
13845 2006-06-30  David Gilbert  <david.gilbert@object-refinery.com>
13846
13847         * java/awt/TextComponent.java: Reformatted source code,
13848         * java/awt/TextField.java: Likewise.
13849
13850 2006-06-29  Jeroen Frijters <jeroen@sumatra.nl>
13851
13852         * java/lang/Thread.java:
13853         (getState()): Handle case of no VMThread
13854         correctly.
13855
13856 2006-06-29  Andrew John Hughes  <gnu_andrew@member.fsf.org>
13857
13858         * java/lang/Thread.java,
13859         * java/lang/VMThread.java:
13860         Reverted patch from 2006-06-28.
13861         
13862 2006-06-29  Roman Kennke  <kennke@aicas.com>
13863
13864         * gnu/java/awt/peer/x/GLGraphics.java,
13865         * gnu/java/awt/peer/x/ImageConverter.java,
13866         * gnu/java/awt/peer/x/KeyboardMapping.java,
13867         * gnu/java/awt/peer/x/XEventPump.java,
13868         * gnu/java/awt/peer/x/XFontPeer.java,
13869         * gnu/java/awt/peer/x/XFontPeer2.java,
13870         * gnu/java/awt/peer/x/XFramePeer.java,
13871         * gnu/java/awt/peer/x/XGraphics.java,
13872         * gnu/java/awt/peer/x/XGraphics2D.java,
13873         * gnu/java/awt/peer/x/XGraphicsConfiguration.java,
13874         * gnu/java/awt/peer/x/XGraphicsDevice.java,
13875         * gnu/java/awt/peer/x/XGraphicsEnvironment.java,
13876         * gnu/java/awt/peer/x/XImage.java,
13877         * gnu/java/awt/peer/x/XLightweightPeer.java,
13878         * gnu/java/awt/peer/x/XToolkit.java,
13879         * gnu/java/awt/peer/x/XWindowPeer.java,
13880         * gnu/java/awt/peer/x/fonts.properties: New files.
13881         * lib/standard.omit: Removed.
13882         * lib/standard.omit.in: Added.
13883         * configure.ac: Added configure option --with-escher. Added some
13884         configury for omitting gnu.java.awt.peer.x package when
13885         this option is not specified.
13886
13887 2006-06-29  David Gilbert  <david.gilbert@object-refinery.com>
13888
13889         * javax/swing/JComponent.java
13890         (JComponent()): Initialize the locale here, not the default locale,
13891         (getDefaultLocale): If null, return Locale.getDefault(),
13892         (setDefaultLocale): Added API docs.
13893
13894 2006-06-29  Tania Bento  <tbento@redhat.com>
13895
13896         * java/awt/Container.java
13897         (applyComponentOrientation): Implemented method.
13898
13899 2006-06-29  Gary Benson  <gbenson@redhat.com>
13900
13901         * java/io/File.java (listRoots): Merge security checks from libgcj.
13902
13903 2006-06-29  Gary Benson  <gbenson@redhat.com>
13904
13905         * java/io/FilePermission.java (implies): Work when path is "/".
13906
13907 2006-06-28  Andrew John Hughes  <gnu_andrew@member.fsf.org>
13908
13909         * java/lang/Thread.java:
13910         (Thread(ThreadGroup,Runnable,String,long)): Update
13911         state.
13912         (Thread(VMThread,String,int,boolean)): Likewise.
13913         (join(long,int)): Likewise.
13914         (resume()): Likewise.
13915         (sleep(long,int)): Likewise.
13916         (start()): Likewise.
13917         (stop()): Likewise.
13918         (suspend()): Likewise.
13919         (die()): Likewise.
13920         (getState()): Return either state or use VMThread.
13921         * java/lang/VMThread.java:
13922         (getState()): Added default implementation to return
13923         thread.state
13924         
13925 2006-06-28  Andreas Tobler  <a.tobler@schweiz.ch>
13926
13927         * gnu/java/awt/peer/gtk/CairoSurface.java: Swap the data from the
13928         GdkPixbuf correctly on big endian systems. Fix a typo in the little
13929         endian swapping code.
13930
13931         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c
13932         (Java_gnu_java_awt_peer_gtk_GtkImage_getPixels): Swap the pixeldata
13933         without alpha information correctly on big endian systems.
13934
13935 2006-06-28  Roman Kennke  <kennke@aicas.com>
13936
13937         * gnu/java/net/local/LocalSocket.java
13938         (setSoTimeout): Don't throw exception and ignore request.
13939         (getSoTimeout): Don't throw exception and always return 0.
13940
13941 2006-06-28  David Gilbert  <david.gilbert@object-refinery.com>
13942
13943         * javax/swing/JComponent.java
13944         (getRegisteredKeyStrokes): Implemented.
13945
13946 2006-06-28  David Gilbert  <david.gilbert@object-refinery.com>
13947
13948         * javax/swing/JComponent.java
13949         (verifyInputWhenFocusTarget): Initialise to true.
13950
13951 2006-06-28  David Gilbert  <david.gilbert@object-refinery.com>
13952
13953         * java/beans/VetoableChangeSupport.java
13954         (addVetoableChangeListener(VetoableChangeListener)): Do nothing for
13955         null listener,
13956         (addVetoableChangeListener(String, VetoableChangeListener)): Do nothing
13957         for null property name and/or listener,
13958         * javax/swing/JComponent.java
13959         (getListeners): Handle VetoableChangeListener.class as a special case,
13960         (getVetoableChangeListeners): Fetch these from the 
13961         vetoableChangeSupport object.
13962
13963 2006-06-28  David Gilbert  <david.gilbert@object-refinery.com>
13964
13965         * javax/swing/JComponent.java
13966         (componentPopupMenu): New field,
13967         (inheritsPopupMenu): New field,
13968         (getInheritsPopupMenu): Implemented,
13969         (setInheritsPopupMenu): Likewise,
13970         (getComponentPopupMenu): Likewise,
13971         (setComponentPopupMenu): Likewise,
13972         * javax/swing/JLabel.java
13973         (JLabel(String, Icon, int)): Set inheritsPopupMenu to true.
13974
13975 2006-06-28  Raif S. Naffah  <raif@swiftdsl.com.au>
13976
13977         * gnu/javax/crypto/key/dh/GnuDHPublicKey.java (str): New field.
13978         (toString): New method.
13979         * gnu/javax/crypto/key/dh/GnuDHPrivateKey.java (str): New field.
13980         (toString): New method.
13981         * gnu/javax/crypto/key/dh/GnuDHKey.java (str): New field.
13982         (toString): New method.
13983         * gnu/javax/crypto/key/dh/DHKeyPairPKCS8Codec.java (encodePrivateKey):
13984         Handle case when Q is null.
13985         (decodePrivateKey): Likewise.
13986         * gnu/javax/crypto/key/dh/DHKeyPairX509Codec.java (encodePublicKey):
13987         Likewise.
13988         (decodePublicKey): Likewise.
13989         * gnu/javax/crypto/jce/GnuCrypto.java (run): Added AlgorithmParameters
13990         aliases for all block ciphers.
13991         * gnu/javax/crypto/jce/DiffieHellmanImpl.java (result): Changed to byte[].
13992         (engineDoPhase): Compute fully the shared secret.
13993         (checkState): New method.
13994         (reset): Likewise.
13995         (engineGenerateSecret()): Reset key-agreement before returning.
13996         (engineGenerateSecret(byte[],int)): Check for short-buffer.
13997         Reset key-agreement before returning.
13998         (engineGenerateSecret(String)): Reset key-agreement before returning.
13999         (engineInit(Key,SecureRandom)): Call reset() before returning.
14000         * gnu/javax/crypto/jce/params/BlockCipherParameters.java (log): New field.
14001         (engineInit): Replace printing to System.out with conditional logging.
14002         * gnu/javax/crypto/jce/cipher/CipherAdapter.java (engineInitHandler):
14003         When the key-size is not specified, attempt best effort to find a suitable
14004         value among those advertised by the cipher before setting it to the length
14005         of provided key material.
14006
14007 2006-06-28  David Gilbert  <david.gilbert@object-refinery.com>
14008
14009         * javax/swing/table/DefaultTableColumnModel.java
14010         (changeEvent): Don't initialize yet, removed FIXME,
14011         (fireColumnModelChanged): Initialize changeEvent if necessary.
14012
14013 2006-06-27  Andrew John Hughes  <gnu_andrew@member.fsf.org>
14014
14015         * java/lang/Thread.java:
14016         (getAllStackTraces()): Implemented.
14017         (getStackTrace()): Likewise.
14018         
14019 2006-06-27  Tania Bento  <tbento@redhat.com>
14020
14021         * java/awt/Component.java
14022         (setComponentOrientation): NPE should not be thrown.
14023
14024 2006-06-27  Tom Tromey  <tromey@redhat.com>
14025
14026         * configure.ac: Create gjar, gnative2ascii, gserialver.
14027         * tools/gappletviewer.in: Quote $@.
14028         * tools/gkeytool.in: Likewise.
14029         * tools/gjarsigner.in: Likewise.
14030         * tools/gjar.in: New file.
14031         * tools/gnative2ascii.in: Likewise.
14032         * tools/gserialver.in: Likewise.
14033         * tools/Makefile.am (bin_PROGRAMS): Added gjar, gnative2ascii,
14034         gserialver.
14035         (bin_SCRIPTS): Likewise.
14036
14037 2006-06-27  Andrew John Hughes  <gnu_andrew@member.fsf.org>
14038
14039         * java/lang/management/ThreadMXBean.java:
14040         (getThreadInfo(long[])): Corrected return type.
14041         (getThreadInfo(long[], int)): Likewise.
14042
14043 2006-06-27  Mark Wielaard  <mark@klomp.org>
14044
14045         * java/awt/datatransfer/Clipboard.java (addFlavorListener): Do
14046         nothing when listener is null.
14047         (removeFlavorListener): Likewise.
14048
14049         * java/awt/datatransfer/DataFlavor.java
14050         (getRepresentationClassFromMime): Renamed to
14051         getRepresentationClassFromMimeThrows.
14052         (isRepresentationClassInputStream): Use Class.isAssignableFrom().
14053         (isRepresentationClassSerializable): Likewise.
14054         (isFlavorJavaFileListType): Likewise and check primary and
14055         subtype.
14056         (getParameter): Parameters are separated by semi-colons.
14057         (DataFlavor(Class,String,String)): Do some sanity checks.
14058         (DataFlavor(String,String,ClassLoader)): Call
14059         getRepresentationClassFromMimeThrows.
14060         (DataFlavor(String)): Likewise.
14061         (equals(DataFlavor)): Special case primary type text and charset
14062         parameter.
14063         
14064 2006-06-27  David Gilbert  <david.gilbert@object-refinery.com>
14065
14066         * java/awt/Component.java
14067         (setName): Fire required PropertyChangeEvent,
14068         * java/awt/Label.java
14069         (getText): Removed redundant brackets,
14070         (generateName): New method (override),
14071         (nextLabelNumber): New field,
14072         (getUniqueLong): New method.
14073
14074 2006-06-27  Roman Kennke  <kennke@aicas.com>
14075
14076         * gnu/java/awt/peer/swing/SwingComponentPeer.java
14077         (createImage): Delegate this to the parent.
14078         (handleEvent): Only handle PAINT/UPDATE events when the
14079         component is actually showing.
14080         (hide): Repaint the parent after hiding a component.
14081         (prepareImage): Have only one return point.
14082         (setVisible): Delegate to show() and hide().
14083         (createVolatileImage): Added null check to avoid NPE.
14084
14085 2006-06-27  David Gilbert  <david.gilbert@object-refinery.com>
14086
14087         * java/awt/Label.java: Reformatted source code.
14088
14089 2006-06-27  Roman Kennke  <kennke@aicas.com>
14090
14091         * java/awt/image/BufferedImage.java
14092         (getSource): Use a fixed DirectColorModel to deliver the
14093         RGB pixels to the ImageConsumer.
14094
14095 2006-06-27  David Gilbert  <david.gilbert@object-refinery.com>
14096
14097         * java/awt/Point.java
14098         (setLocation(double, double)): Round to nearest integer coordinates.
14099
14100 2006-06-27  David Gilbert  <david.gilbert@object-refinery.com>
14101
14102         * java/awt/Component.java
14103         (minSizeSet): New field,
14104         (maxSize): Likewise,
14105         (maxSizeSet): Likewise,
14106         (isMaximumSizeSet): Implemented,
14107         (isMinimumSizeSet): Likewise,
14108         (isPreferredSizeSet): Likewise,
14109         (setMaximumSize): Likewise,
14110         (setMinimumSize): Likewise,
14111         (setPreferredSize): Likewise. 
14112
14113 2006-06-27  Roman Kennke  <kennke@aicas.com>
14114
14115         * javax/imageio/spi/IIORegistry.java
14116         (IIORegistry): Added BMP codec.
14117
14118 2006-06-27  Mark Wielaard  <mark@klomp.org>
14119
14120         * javax/swing/JComponent.java
14121         (firePropertyChange(String,char,char)): New override method.
14122
14123 2006-06-26  Andrew John Hughes  <gnu_andrew@member.fsf.org>
14124
14125         * java/lang/Thread.java:
14126         (getState()): New method.
14127         * java/lang/management/ClassLoadingMXBean.java:
14128         Corrected class documentation.
14129         * java/lang/management/ManagementFactory.java:
14130         Added new temporary marked stub to get thread bean.
14131         * java/lang/management/OperatingSystemMXBean.java:
14132         Corrected class documentation.
14133         * java/lang/management/RuntimeMXBean.java:
14134         Corrected class documentation.
14135         * java/lang/management/ThreadInfo.java,
14136         * java/lang/management/ThreadMXBean.java:
14137         New classes.
14138         * vm/reference/java/lang/VMThread.java:
14139         (getState()): New method.
14140         * vm/reference/java/lang/management/VMThreadInfo.java:
14141         New VM class.
14142
14143 2006-06-26  Sven de Marothy  <sven@physto.se>
14144
14145         * gnu/javax/imageio/gif/GIFFile.java
14146         * gnu/javax/imageio/gif/GIFImageReader.java
14147         * gnu/javax/imageio/gif/GIFImageSpi.java
14148         * gnu/javax/imageio/gif/GIFStream.java
14149         New files.
14150         * javax/imageio/spi/IIORegistry.java: Load new GIF decoder plugin.
14151
14152 2006-06-26  Tania Bento  <tbento@redhat.com>
14153
14154         * java/awt/List.java
14155         (List): A list should have at least 4 visible rows.     
14156         (replaceItem): Should throw an ArrayIndexOutOfBoundsException,
14157         not an IllegalArgumentException.
14158         (makeVisible): Should not throw an IllegalArgumentException if
14159         the specified index is out of range.
14160
14161 2006-06-26  David Gilbert  <david.gilbert@object-refinery.com>
14162
14163         * javax/swing/JList.java
14164         (getNextMatch): Reimplemented to perform a circular search for the 
14165         matching item.
14166
14167 2006-06-26  David Gilbert  <david.gilbert@object-refinery.com>
14168
14169         * javax/swing/JList.java
14170         (init): Set default value for visibleRowCount to 8,
14171         (setVisibleRowCount): Fire PropertyChangeEvent when value changes.
14172
14173 2006-06-26  David Gilbert  <david.gilbert@object-refinery.com>
14174
14175         * javax/swing/JList.java
14176         (valueIsAdjusting): Removed,
14177         (init): Removed initialization of valueIsAdjusting field,
14178         (getValueIsAdjusting): Fetch value from selection model,
14179         (setValueIsAdjusting): Store value in selection model.
14180
14181 2006-06-26  Roman Kennke  <kennke@aicas.com>
14182
14183         * javax/swing/plaf/basic/BasicListUI.java
14184         (installKeyboardActions): Rewritten to fit with the
14185         ActionMap/InputMap architecture.
14186         (uninstallKeyboardActions): Implemented.
14187         (ListAction): Made private. Added TODO for splitting
14188         up this bulk Action.
14189         (ListAction.ListAction): New constructor. This one
14190         takes a cmd parameter to be installed as actionCommand.
14191
14192 2006-06-26  Raif S. Naffah  <raif@swiftdsl.com.au>
14193
14194         * gnu/java/security/key/rsa/RSAKeyPairRawCodec.java: Remove RCS Revision.
14195         * gnu/javax/crypto/assembly/DeflateTransformer.java: Likewise.
14196
14197 2006-06-26  Raif S. Naffah  <raif@swiftdsl.com.au>
14198
14199         * gnu/javax/crypto/jce/PBKDF2SecretKeyFactory.java: Source formatting.
14200         * gnu/javax/crypto/jce/GnuSasl.java: Likewise.
14201         * gnu/javax/crypto/jce/GnuCrypto.java: Likewise.
14202         * gnu/javax/crypto/jce/DiffieHellmanImpl.java: Likewise.
14203         * gnu/javax/crypto/jce/spec/UMac32ParameterSpec.java: Likewise.
14204         * gnu/javax/crypto/jce/spec/TMMHParameterSpec.java: Likewise.
14205         * gnu/javax/crypto/jce/spec/BlockCipherParameterSpec.java: Likewise.
14206         * gnu/javax/crypto/jce/sig/DHKeyFactory.java: Likewise.
14207         * gnu/javax/crypto/jce/prng/UMacRandomSpi.java: Likewise.
14208         * gnu/javax/crypto/jce/prng/ICMRandomSpi.java: Likewise.
14209         * gnu/javax/crypto/jce/prng/FortunaImpl.java: Likewise.
14210         * gnu/javax/crypto/jce/prng/CSPRNGSpi.java: Likewise.
14211         * gnu/javax/crypto/jce/prng/ARCFourRandomSpi.java: Likewise.
14212         * gnu/javax/crypto/jce/params/DERWriter.java: Likewise.
14213         * gnu/javax/crypto/jce/params/DERReader.java: Likewise.
14214         * gnu/javax/crypto/jce/params/DEREncodingException.java: Likewise.
14215         * gnu/javax/crypto/jce/params/BlockCipherParameters.java: Likewise.
14216         * gnu/javax/crypto/jce/mac/UMac32Spi.java: Likewise.
14217         * gnu/javax/crypto/jce/mac/UHash32Spi.java: Likewise.
14218         * gnu/javax/crypto/jce/mac/TMMH16Spi.java: Likewise.
14219         * gnu/javax/crypto/jce/mac/OMacTwofishImpl.java: Likewise.
14220         * gnu/javax/crypto/jce/mac/OMacTripleDESImpl.java: Likewise.
14221         * gnu/javax/crypto/jce/mac/OMacSquareImpl.java: Likewise.
14222         * gnu/javax/crypto/jce/mac/OMacSerpentImpl.java: Likewise.
14223         * gnu/javax/crypto/jce/mac/OMacRijndaelImpl.java: Likewise.
14224         * gnu/javax/crypto/jce/mac/OMacKhazadImpl.java: Likewise.
14225         * gnu/javax/crypto/jce/mac/OMacImpl.java: Likewise.
14226         * gnu/javax/crypto/jce/mac/OMacDESImpl.java: Likewise.
14227         * gnu/javax/crypto/jce/mac/OMacCast5Impl.java: Likewise.
14228         * gnu/javax/crypto/jce/mac/OMacBlowfishImpl.java: Likewise.
14229         * gnu/javax/crypto/jce/mac/OMacAnubisImpl.java: Likewise.
14230         * gnu/javax/crypto/jce/mac/MacAdapter.java: Likewise.
14231         * gnu/javax/crypto/jce/mac/HMacWhirlpoolSpi.java: Likewise.
14232         * gnu/javax/crypto/jce/mac/HMacTigerSpi.java: Likewise.
14233         * gnu/javax/crypto/jce/mac/HMacSHA512Spi.java: Likewise.
14234         * gnu/javax/crypto/jce/mac/HMacSHA384Spi.java: Likewise.
14235         * gnu/javax/crypto/jce/mac/HMacSHA256Spi.java: Likewise.
14236         * gnu/javax/crypto/jce/mac/HMacSHA160Spi.java: Likewise.
14237         * gnu/javax/crypto/jce/mac/HMacRipeMD160Spi.java: Likewise.
14238         * gnu/javax/crypto/jce/mac/HMacRipeMD128Spi.java: Likewise.
14239         * gnu/javax/crypto/jce/mac/HMacMD5Spi.java: Likewise.
14240         * gnu/javax/crypto/jce/mac/HMacMD4Spi.java: Likewise.
14241         * gnu/javax/crypto/jce/mac/HMacMD2Spi.java: Likewise.
14242         * gnu/javax/crypto/jce/mac/HMacHavalSpi.java: Likewise.
14243         * gnu/javax/crypto/jce/keyring/GnuKeyring.java: Likewise.
14244         * gnu/javax/crypto/jce/key/TwofishSecretKeyFactoryImpl.java: Likewise.
14245         * gnu/javax/crypto/jce/key/TwofishKeyGeneratorImpl.java: Likewise.
14246         * gnu/javax/crypto/jce/key/TripleDESKeyGeneratorImpl.java: Likewise.
14247         * gnu/javax/crypto/jce/key/SquareSecretKeyFactoryImpl.java: Likewise.
14248         * gnu/javax/crypto/jce/key/SquareKeyGeneratorImpl.java: Likewise.
14249         * gnu/javax/crypto/jce/key/SerpentSecretKeyFactoryImpl.java: Likewise.
14250         * gnu/javax/crypto/jce/key/SerpentKeyGeneratorImpl.java: Likewise.
14251         * gnu/javax/crypto/jce/key/SecretKeyGeneratorImpl.java: Likewise.
14252         * gnu/javax/crypto/jce/key/SecretKeyFactoryImpl.java: Likewise.
14253         * gnu/javax/crypto/jce/key/RijndaelSecretKeyFactoryImpl.java: Likewise.
14254         * gnu/javax/crypto/jce/key/RijndaelKeyGeneratorImpl.java: Likewise.
14255         * gnu/javax/crypto/jce/key/KhazadSecretKeyFactoryImpl.java: Likewise.
14256         * gnu/javax/crypto/jce/key/KhazadKeyGeneratorImpl.java: Likewise.
14257         * gnu/javax/crypto/jce/key/DESSecretKeyFactoryImpl.java: Likewise.
14258         * gnu/javax/crypto/jce/key/DESKeyGeneratorImpl.java: Likewise.
14259         * gnu/javax/crypto/jce/key/DESedeSecretKeyFactoryImpl.java: Likewise.
14260         * gnu/javax/crypto/jce/key/Cast5SecretKeyFactoryImpl.java: Likewise.
14261         * gnu/javax/crypto/jce/key/Cast5KeyGeneratorImpl.java: Likewise.
14262         * gnu/javax/crypto/jce/key/BlowfishSecretKeyFactoryImpl.java: Likewise.
14263         * gnu/javax/crypto/jce/key/BlowfishKeyGeneratorImpl.java: Likewise.
14264         * gnu/javax/crypto/jce/key/AnubisSecretKeyFactoryImpl.java: Likewise.
14265         * gnu/javax/crypto/jce/key/AnubisKeyGeneratorImpl.java: Likewise.
14266         * gnu/javax/crypto/jce/cipher/TwofishSpi.java: Likewise.
14267         * gnu/javax/crypto/jce/cipher/TripleDESSpi.java: Likewise.
14268         * gnu/javax/crypto/jce/cipher/SquareSpi.java: Likewise.
14269         * gnu/javax/crypto/jce/cipher/SerpentSpi.java: Likewise.
14270         * gnu/javax/crypto/jce/cipher/RijndaelSpi.java: Likewise.
14271         * gnu/javax/crypto/jce/cipher/PBES2.java: Likewise.
14272         * gnu/javax/crypto/jce/cipher/NullCipherSpi.java: Likewise.
14273         * gnu/javax/crypto/jce/cipher/KhazadSpi.java: Likewise.
14274         * gnu/javax/crypto/jce/cipher/DESSpi.java: Likewise.
14275         * gnu/javax/crypto/jce/cipher/CipherAdapter.java: Likewise.
14276         * gnu/javax/crypto/jce/cipher/Cast5Spi.java: Likewise.
14277         * gnu/javax/crypto/jce/cipher/BlowfishSpi.java: Likewise.
14278         * gnu/javax/crypto/jce/cipher/ARCFourSpi.java: Likewise.
14279         * gnu/javax/crypto/jce/cipher/AnubisSpi.java: Likewise.
14280         * gnu/javax/crypto/jce/cipher/AESSpi.java: Likewise.
14281
14282 2006-06-26  David Gilbert  <david.gilbert@object-refinery.com>
14283
14284         * javax/swing/JList.java
14285         (setLayoutOrientation): Check for valid argument.
14286
14287 2006-06-26  Roman Kennke  <kennke@aicas.com>
14288
14289         * javax/swing/JComponent.java
14290         (firePropertyChange(String,int,int)): New method. Overrides
14291         Component method and makes it public.
14292         (firePropertyChange(String,boolean,boolean)): Likewise.
14293
14294 2006-06-25  Vivek Lakshmanan  <vivekl@redhat.com>
14295         
14296         * gnu/java/security/.cvsignore: New File.
14297         * gnu/java/security/Configuration.java.in: New File.
14298         * gnu/java/security/Properties.java: Change import from 
14299         gnu.classpath.Configuration to gnu.java.security.Configuration.
14300         * gnu/java/security/hash/Whirlpool.java: Likewise.
14301         * gnu/java/security/jce/sig/EncodedKeyFactory.java: Likewise.
14302         * gnu/java/security/jce/sig/SignatureAdapter.java: Likewise.
14303         * gnu/java/security/key/dss/DSSKeyPairGenerator.java: Likewise.
14304         * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java: Likewise.
14305         * gnu/java/security/key/dss/DSSPrivateKey.java: Likewise.
14306         * gnu/java/security/key/rsa/GnuRSAPrivateKey.java: Likewise.
14307         * gnu/java/security/key/rsa/RSAKeyPairGenerator.java: Likewise.
14308         * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java: Likewise.
14309         * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java: Likewise.
14310         * gnu/java/security/pkcs/PKCS7SignedData.java: Likewise.
14311         * gnu/java/security/pkcs/SignerInfo.java: Likewise.
14312         * gnu/java/security/provider/PKIXCertPathValidatorImpl.java: Likewise.
14313         * gnu/java/security/sig/rsa/EMSA_PSS.java: Likewise.
14314         * gnu/java/security/sig/rsa/RSAPSSSignature.java: Likewise.
14315         * gnu/java/security/util/Base64.java: Likewise.
14316         * gnu/java/security/x509/X509CRL.java: Likewise.
14317         * gnu/java/security/x509/X509CRLEntry.java: Likewise.
14318         * gnu/java/security/x509/ext/Extension.java: Likewise.
14319         * gnu/javax/crypto/cipher/Anubis.java: Likewise.
14320         * gnu/javax/crypto/cipher/BaseCipher.java: Likewise.
14321         * gnu/javax/crypto/cipher/Khazad.java: Likewise.
14322         * gnu/javax/crypto/cipher/Rijndael.java: Likewise.
14323         * gnu/javax/crypto/cipher/Twofish.java: Likewise.
14324         * gnu/javax/crypto/jce/keyring/GnuKeyring.java: Likewise.
14325         * gnu/javax/crypto/jce/prng/ICMRandomSpi.java: Likewise.
14326         * gnu/javax/crypto/jce/prng/UMacRandomSpi.java: Likewise.
14327         * gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java: Likewise.
14328         * gnu/javax/crypto/key/srp6/SRPKeyPairGenerator.java: Likewise.
14329         * gnu/javax/crypto/keyring/Entry.java: Likewise.
14330         * gnu/javax/crypto/keyring/EnvelopeEntry.java: Likewise.
14331         * gnu/javax/crypto/keyring/GnuPrivateKeyring.java: Likewise.
14332         * gnu/javax/crypto/keyring/GnuPublicKeyring.java: Likewise.
14333         * gnu/javax/crypto/keyring/PasswordAuthenticatedEntry.java: Likewise.
14334         * gnu/javax/crypto/keyring/PasswordEncryptedEntry.java: Likewise.
14335         * gnu/javax/crypto/mac/OMAC.java: Likewise.
14336         * gnu/javax/crypto/pad/BasePad.java: Likewise.
14337         * gnu/javax/crypto/pad/PKCS1_V1_5.java: Likewise.
14338         * gnu/javax/crypto/pad/PKCS7.java: Likewise.
14339         * gnu/javax/crypto/pad/TBC.java: Likewise.
14340         * gnu/javax/crypto/prng/CSPRNG.java: Likewise.
14341         * gnu/javax/crypto/sasl/SaslInputStream.java: Likewise.
14342         * gnu/javax/crypto/sasl/SaslOutputStream.java: Likewise.
14343         * gnu/javax/crypto/sasl/srp/SRPClient.java: Likewise.
14344         * gnu/javax/crypto/sasl/srp/SRPServer.java: Likewise.
14345         * gnu/javax/security/auth/login/ConfigFileParser.java: Likewise.
14346         * gnu/javax/security/auth/login/ConfigFileTokenizer.java: Likewise.
14347         * gnu/javax/security/auth/login/GnuConfiguration.java 
14348         (getAppConfigurationEntry): Change reference to 
14349         gnu.classpath.Configuration.DEBUG to gnu.java.security.Configuration.DEBUG.
14350         (getConfigFromUserHome): Likewise.
14351         (getInputStreamFromURL): Likewise.
14352         (getUserHome): Likewise.
14353         (init): Likewise.
14354         (processSecurityProperties): Likewise.
14355         (processSystemProperty): Likewise.
14356         (processUserHome): Likewise.
14357         * configure.ac: Add gnu/java/security/Configuration.java to AC_CONFIG_FILES list.
14358         * lib/Makefile.am: Remove gnu/java/security/Configuration.java when required.
14359         
14360
14361 2006-06-25  Carsten Neumann  <cn-develop@gmx.net>
14362
14363         * javax/swing/text/DefaultCaret.java (isActive): New method.
14364
14365 2006-06-26  Andrew John Hughes  <gnu_andrew@member.fsf.org>
14366
14367         * gnu/java/lang/management/ClassLoadingMXBeanImpl.java,
14368         * java/lang/management/ClassLoadingMXBean.java:
14369         (getTotalLoadedClassCount()): Corrected return type.
14370         (getUnloadedClassCount()): Likewise.
14371         * vm/reference/gnu/java/lang/management/VMClassLoadingMXBeanImpl.java:
14372         (getUnloadedClassCount()): Likewise.
14373         
14374 2006-06-25  Raif S. Naffah  <raif@swiftdsl.com.au>
14375
14376         * gnu/javax/crypto/cipher/WeakKeyException.java: Source formatting.
14377         * gnu/javax/crypto/cipher/Twofish.java: Likewise.
14378         * gnu/javax/crypto/cipher/TripleDES.java: Likewise.
14379         * gnu/javax/crypto/cipher/Square.java: Likewise.
14380         * gnu/javax/crypto/cipher/Serpent.java: Likewise.
14381         * gnu/javax/crypto/cipher/Rijndael.java: Likewise.
14382         * gnu/javax/crypto/cipher/NullCipher.java: Likewise.
14383         * gnu/javax/crypto/cipher/Khazad.java: Likewise.
14384         * gnu/javax/crypto/cipher/IBlockCipherSpi.java: Likewise.
14385         * gnu/javax/crypto/cipher/IBlockCipher.java: Likewise.
14386         * gnu/javax/crypto/cipher/DES.java: Likewise.
14387         * gnu/javax/crypto/cipher/CipherFactory.java: Likewise.
14388         * gnu/javax/crypto/cipher/Cast5.java: Likewise.
14389         * gnu/javax/crypto/cipher/Blowfish.java: Likewise.
14390         * gnu/javax/crypto/cipher/BaseCipher.java: Likewise.
14391         * gnu/javax/crypto/cipher/Anubis.java: Likewise.
14392
14393 2006-06-25  Raif S. Naffah  <raif@swiftdsl.com.au>
14394
14395         * gnu/javax/crypto/assembly/TransformerException.java: Source formatting.
14396         * gnu/javax/crypto/assembly/Transformer.java: Likewise.
14397         * gnu/javax/crypto/assembly/Stage.java: Likewise.
14398         * gnu/javax/crypto/assembly/PaddingTransformer.java: Likewise.
14399         * gnu/javax/crypto/assembly/Operation.java: Likewise.
14400         * gnu/javax/crypto/assembly/ModeStage.java: Likewise.
14401         * gnu/javax/crypto/assembly/LoopbackTransformer.java: Likewise.
14402         * gnu/javax/crypto/assembly/Direction.java: Likewise.
14403         * gnu/javax/crypto/assembly/DeflateTransformer.java: Likewise.
14404         * gnu/javax/crypto/assembly/CascadeTransformer.java: Likewise.
14405         * gnu/javax/crypto/assembly/CascadeStage.java: Likewise.
14406         * gnu/javax/crypto/assembly/Cascade.java: Likewise.
14407         * gnu/javax/crypto/assembly/Assembly.java: Likewise.
14408
14409 2006-06-24  Andrew John Hughes  <gnu_andrew@member.fsf.org>
14410
14411         * NEWS,
14412         * doc/vmintegration.texinfo:
14413         Updated with information on new VM interface.
14414         * gnu/java/lang/management/ClassLoadingMXBeanImpl.java,
14415         * java/lang/management/ClassLoadingMXBean.java:
14416         New files implementing the class loading bean.
14417         * java/lang/management/ManagementFactory.java:
14418         (getClassLoadingMXBean()): Implemented.
14419         * vm/reference/gnu/java/lang/management/VMClassLoadingMXBeanImpl.java:
14420         New VM interface file.
14421
14422 2006-06-24  Andrew John Hughes  <gnu_andrew@member.fsf.org>
14423
14424         * gnu/java/lang/management/RuntimeMXBeanImpl.java:
14425         (isBootClassPathSupported()): Use SystemProperties
14426         rather than System.getProperty.
14427         
14428 2006-06-24  Raif S. Naffah  <raif@swiftdsl.com.au>
14429
14430         * gnu/java/security/Properties.java: Source formatting.
14431         * gnu/java/security/Registry.java: Likewise.
14432
14433 2006-06-24  Raif S. Naffah  <raif@swiftdsl.com.au>
14434
14435         * gnu/java/security/util/Util.java: Source formatting.
14436         * gnu/java/security/util/SimpleList.java: Likewise.
14437         * gnu/java/security/util/Sequence.java: Likewise.
14438         * gnu/java/security/util/PRNG.java: Likewise.
14439         * gnu/java/security/util/ExpirableObject.java: Likewise.
14440         * gnu/java/security/util/Base64.java: Likewise.
14441         * gnu/java/security/sig/SignatureFactory.java: Likewise.
14442         * gnu/java/security/sig/ISignatureCodec.java: Likewise.
14443         * gnu/java/security/sig/ISignature.java: Likewise.
14444         * gnu/java/security/sig/BaseSignature.java: Likewise.
14445         * gnu/java/security/sig/rsa/RSAPSSSignatureRawCodec.java: Likewise.
14446         * gnu/java/security/sig/rsa/RSAPSSSignature.java: Likewise.
14447         * gnu/java/security/sig/rsa/RSAPKCS1V1_5Signature.java: Likewise.
14448         * gnu/java/security/sig/rsa/RSA.java: Likewise.
14449         * gnu/java/security/sig/rsa/EMSA_PSS.java: Likewise.
14450         * gnu/java/security/sig/rsa/EMSA_PKCS1_V1_5.java: Likewise.
14451         * gnu/java/security/sig/rsa/EME_PKCS1_V1_5.java: Likewise.
14452         * gnu/java/security/sig/dss/DSSSignatureRawCodec.java: Likewise.
14453         * gnu/java/security/sig/dss/DSSSignature.java: Likewise.
14454         * gnu/java/security/provider/X509CertificateFactory.java: Likewise.
14455         * gnu/java/security/provider/PKIXCertPathValidatorImpl.java: Likewise.
14456         * gnu/java/security/provider/Gnu.java: Likewise.
14457         * gnu/java/security/prng/RandomEventListener.java: Likewise.
14458         * gnu/java/security/prng/RandomEvent.java: Likewise.
14459         * gnu/java/security/prng/PRNGFactory.java: Likewise.
14460         * gnu/java/security/prng/MDGenerator.java: Likewise.
14461         * gnu/java/security/prng/LimitReachedException.java: Likewise.
14462         * gnu/java/security/prng/IRandom.java: Likewise.
14463         * gnu/java/security/prng/EntropySource.java: Likewise.
14464         * gnu/java/security/prng/BasePRNG.java: Likewise.
14465
14466 2006-06-23  Francis Kung  <fkung@redhat.com>
14467
14468         * examples/gnu/classpath/examples/java2d/J2dBenchmarkGUI.java
14469         (Harness.actionPerformed): Process additional options.
14470         (J2dBenchmarkWrapper): Defer init call until after options are processed.
14471         (J2dBenchmarkWrapper.setAlias): New method.
14472         (J2dBenchmarkWrapper.setComposite): New method.
14473         (J2dBenchmarkWrapper.setFill): New method.
14474         (J2dBenchmarkWrapper.setRotation): New method.
14475         (J2dBenchmarkWrapper.setShear): New method.
14476         (J2dBenchmarkWrapper.setStroke): New method.
14477         (J2dBenchmarkWrapper.setTranslation): New method.
14478         (run): Add additional options to GUI.
14479         * examples/gnu/classpath/examples/java2d/J2dBenchmark.java:
14480         Added protected fields for various options.
14481         (GraphicsTest.runSet_noClipping): Reset graphics settings between tests.
14482         (GraphicsTest.runSet_withClipping): Reset graphics settings between tests.
14483         (GraphicsTest.runSet_zeroClipping): Reset graphics settings between tests.
14484         (getNextColor): Renamed to setRandom.
14485         (init): Load additional image for texturing if needed.
14486         (loadBufferedImage): New method.
14487         (main): Accept additional command-line switches.
14488         (prepareGraphics): New method.
14489         (resetGraphics): New method.
14490         (runTestSuite): Accept additional image-processing options.
14491         (setRandom): Renamed from getNextColor; generate various random options
14492         (test_drawArc): Rename getNextColor to setRandom.
14493         (test_drawCubic): Likewise.
14494         (test_drawEllipse): Likewise.
14495         (test_drawGeneralPath): Likewise.
14496         (test_drawImage): Likewise.
14497         (test_drawLine): Likewise.
14498         (test_drawQuadCurve): Likewise.
14499         (test_drawRectangle): Likewise.
14500         (test_drawRoundRectangle): Likewise.
14501         (test_drawTransparentImage): Likewise.
14502         (test_fillArc): Rename getNextColor to setRandom.
14503         (test_fillEllipse): Likewise.
14504         (test_fillGeneralPath): Likewise.
14505         (test_fillRectangle): Likewise.
14506         (test_fillRoundRectangle): Likewise.
14507         (TestRecorder.getAverage): Round the average time.
14508
14509 2006-06-23  Tom Tromey  <tromey@redhat.com>
14510
14511         * java/util/logging/LoggingMXBean.java: New file.
14512         * java/util/logging/LogManager.java (LOGGING_MXBEAN_NAME): New field.
14513         (loggingBean): New field.
14514         (getLoggingMXBean): New method.
14515
14516 2006-06-23  Tania Bento  <tbento@redhat.com>
14517
14518         * java/awt/TextField.java
14519         (TextField): Default number of columns should be 0, not 1.
14520         (TextField): Check if number of columns given as argument
14521         is valid (>= 0) and set the number of columns accordingly.
14522         (TextField): Check if the string passed is null. If it is, 
14523         set columns to 0, else columns is set to the length of
14524         the string.
14525
14526 2006-06-23  Roman Kennke  <kennke@aicas.com>
14527
14528         * javax/swing/plaf/basic/BasicInternalFrameUI.java
14529         (InternalFramePropertyChangeListener.propertyChange):
14530         Don't call getPropertyName() repeatedly. Added null checks
14531         to avoid NPEs. Call closeFrame() if the closed property
14532         changes.
14533
14534 2006-06-23  Roman Kennke  <kennke@aicas.com>
14535
14536         * javax/swing/JInternalFrame.java
14537         (maxTransition): Removed.
14538         (JInternalFrame): Set maxium=false. Initialize desktopIcon here.
14539         Don't initialize storedBounds here.
14540         (dipose): Rewritten to correctly dispose the JInternalFrame.
14541         (getDesktopIcon): Don't initialize desktopIcon here.
14542         (getLayer): Delegate to JLayeredPane.getLayer().
14543         (getNormalBounds): Return bounds when storedBounds == null,
14544         otherwise storedBounds.
14545         (hide): Don't change selection. Also hide the desktopIcon.
14546         (moveToBack): Call getParent() only once.
14547         (moveToFront): Call getParent() only once.
14548         (pack): Call validate() to make sure that the layout is
14549         propagated to the children.
14550         (setClosed): Fire InternalFrameEvent first, before the
14551         PropertyVetoEvent.
14552         (setJMenuBar): Fire PropertyChangeEvent for this property.
14553         (setLayer): Delegate to JLayeredPane.
14554         (setLayeredPane): Check for null and throw IllegalArgumenException.
14555         (setMaximum): Remove handling of maxTransition and normalBounds.
14556         Should probably be done in the UI.
14557         (setNormalBounds): Store Rectangle object directly, not a copy.
14558         (setRootPane): Go into rootPaneCheckingEnabled mode so that
14559         adding the RootPane doesn't add it to the contentPane.
14560         Fire PropertyChangeEvent.
14561         (setSelected): Added condition for when this property must not
14562         be changed.
14563         (show): Don't ask the DesktopPane to select the frame. Moved
14564         code around to fire InternalFrameEvent before actually calling
14565         super.show(). Also make the desktopIcon visible.
14566         (setTitle): Fire PropertyChangeEvent unconditionally.
14567
14568 2006-06-23  Roman Kennke  <kennke@aicas.com>
14569
14570         * javax/swing/JLayeredPane.java
14571         (getPosition): Moved code around to avoid unnecessary method calls.
14572         (setPosition): Delegate to setLayer().
14573         (insertIndexForLayer(int,int)): Delegate to new private helper method.
14574         (insertIndexForLayer(Component,int,int)): New helper method
14575         to support the use of setComponentZOrder() which doesn't remove
14576         the component and thus the insertIndexForLayer must ignore
14577         the component to be moved to get the index right.
14578         (setLayer): Added check to prevent unnecessary execution of
14579         method body. Changed to update the component order here.
14580         Added repaint() to make sure that the update becomes visible.
14581         (addImpl): Call setLayer() only when a constraint has been specified.
14582         Validate and repaint the JLayeredPane.
14583
14584 2006-06-23  Roman Kennke  <kennke@aicas.com>
14585
14586         * java/awt/Container.java
14587         (getComponentZOrder): Use ncomponents instead of
14588         component.length so that we don't consider the empty space
14589         after the last component.
14590
14591 2006-06-22  Roman Kennke  <kennke@aicas.com>
14592
14593         * javax/swing/JComponent.java
14594         (vetoableChangeSupport): New field.
14595         (removeVetoableChangeListener): Rewritten to use
14596         vetoableChangeSupport.
14597         (addVetoableChangeListener): Rewritten to use
14598         vetoableChangeSupport.
14599         (fireVetoableChange): Rewritten to use
14600         vetoableChangeSupport.
14601         (addPropertyChangeListener): Removed. This is handled in
14602         Component already.
14603         (firePropertyChange(String,boolean,boolean)): Likewise.
14604         (firePropertyChange(String,char,char)): Likewise.
14605         (firePropertyChange(String,int,int)): Likewise.
14606         (revalidate): Don't do anything when the commponent has no
14607         parent.
14608
14609 2006-06-22  David Gilbert  <david.gilbert@object-refinery.com>
14610
14611         * javax/swing/JLabel.java: Updated API docs.
14612
14613 2006-06-22  Robert Schuster  <robertschuster@fsfe.org>
14614
14615         * java/awt/Insets.java: Updated copyright year.
14616         (toString): Changed string, removed a line from the 
14617         documentation.
14618
14619 2006-06-22  Roman Kennke  <kennke@aicas.com>
14620
14621         * javax/swing/text/AbstractDocument.java
14622         (AbstractDocument): Set the i18n document property.
14623         (removeImpl): Added checks for correct boundaries.
14624
14625 2006-06-22  Roman Kennke  <kennke@aicas.com>
14626
14627         * javax/swing/text/PlainDocument.java
14628         (rootElement): Changed type to Element.
14629         (tabSize): Removed field. This is stored in the document properties
14630         instead.
14631         (PlainDocument): Set tabSize property. Init rootElement without
14632         cast.
14633         (insertUpdate): Rewritten. The previous implementation did not
14634         handle some corner cases properly and was a mess.
14635         (removeUpdate): Cast rootElement to BranchElement.
14636
14637 2006-06-22  David Gilbert  <david.gilbert@object-refinery.com>
14638
14639         * javax/swing/plaf/basic/BasicLabelUI.java
14640         (installKeyboardActions): Implemented,
14641         (uninstallKeyboardActions): Implemented,
14642         (propertyChange): Add handling for 'displayedMnemonic' and 'labelFor'
14643         properties.
14644
14645 2006-06-22  Robert Schuster  <robertschuster@fsfe.org>
14646
14647         * javax/swing/JMenu.java:
14648         (removeAll): Added check for popupMenu not being null.
14649
14650 2006-06-22  David Gilbert  <david.gilbert@object-refinery.com>
14651
14652         * javax/swing/JLabel.java
14653         (getText): Updated API docs,
14654         (setText): Corrected the check for an unchanged value, and the update 
14655         of the displayedMnemonicIndex.
14656
14657 2006-06-22  David Gilbert  <david.gilbert@object-refinery.com>
14658
14659         * javax/swing/JLabel.java
14660         (setDisplayedMnemonic(int)): Fire property change event AFTER updating 
14661         field,
14662         (setDisplayedMnemonicIndex): Modified argument checking to handle case
14663         where label text is null.
14664
14665 2006-06-22  David Gilbert  <david.gilbert@object-refinery.com>
14666
14667         * javax/swing/JLabel.java
14668         (setDisplayedMnemonic): Updated API docs,
14669         (getDisplayedMnemonic): Removed unnecessary type-cast,
14670         (setDisplayedMnemonicIndex): Removed unnecessary validation, 
14671         (getDisplayedMnemonicIndex): Updated API docs.
14672
14673 2006-06-21  Jeroen Frijters  <jeroen@frijters.net>
14674
14675         * java/util/Collections (entrySet): Fixed compile error.
14676
14677 2006-06-21  David Gilbert  <david.gilbert@object-refinery.com>
14678
14679         * javax/swing/DefaultListSelectionModel.java
14680         (getSelectionMode): Updated API docs,
14681         (setAnchorSelectionIndex): Added ListSelectionEvent generation,
14682         (addSelectionInterval): If mode is SINGLE_SELECTION, just call 
14683         setSelectionInterval(),
14684         (setSelectionInterval): Reimplemented SINGLE_SELECTION and 
14685         SINGLE_INTERVAL_SELECTION cases.
14686
14687 2006-06-21  Roman Kennke  <kennke@aicas.com>
14688
14689         * javax/swing/text/AbstractDocument.java
14690         (BranchElement.numChildren): New field.
14691         (BranchElement.BranchElement): Initialize children array with
14692         one element (that's the least number of elements that makes sense).
14693         Initialize numChildren.
14694         (BranchElement.children): Use numChildren as boundary.
14695         (BranchElement.getElement): Use numChildren as boundary.
14696         (BranchElement.getElementCount): Use numChildren as boundary.
14697         (BranchElement.getElementIndex): Use numChildren as boundary.
14698         (BranchElement.getEndOffset): Use numChildren as boundary.
14699         (BranchElement.getStartOffset): Use numChildren as boundary.
14700         (BranchElement.positionToElement): Use numChildren as boundary.
14701         (BranchElement.replace): Handle the children array more efficiently
14702         by growing in blocks > 1, and reusing space from removed elements.
14703         (LeafElement.startDelta): Removed.
14704         (LeafElement.endDelta): Removed.
14705         (LeafElement.LeafElement): Removed handling of deltas.
14706         (LeafElement.getEndOffset): Likewise.
14707         (LeafElement.getStartOffset): Likewise.
14708         * javax/swing/text/JTextComponent.java
14709         (setDocument): Added locking of the old document to avoid dangling
14710         notification beeing delivered while the document is beeing
14711         disconnected.
14712         (getScrollableTracksViewportWidth): Fixed condition.
14713         * javax/swing/text/PlainDocument.java
14714         (createDefaultRoot): Create elements without AttributeSet.
14715         * javax/swing/text/rtf/RTFParser.java
14716         (parseFile): Handle slightly incorrect RTF gracefully.
14717         * javax/swing/text/rtf/RTFScanner.java
14718         (lastToken): New field.
14719         (readTokenImpl): New method.
14720         (peekToken): New method.
14721         (readToken): Changed to call readTokenImpl or return the lastToken
14722         if there's one present.
14723
14724 2006-06-21  Tania Bento  <tbento@redhat.com>
14725
14726         * javax/swing/JMenu.java
14727         (remove): An IllegalArgumentException should be thrown if
14728         either index < 0 or if index > 0 and there are no menu
14729         components. Also, a check was added that ensures there are
14730         menu components before removing the desired the component.
14731
14732 2006-06-21  Lillian Angel  <langel@redhat.com>
14733
14734         * javax/swing/text/DefaultCaret.java
14735         (install): Added check to prevent NPE.
14736         (propertyChange): Added checks to prevent NPEs.
14737
14738 2006-06-21  Tania Bento  <tbento@redhat.com>
14739
14740         * javax/swing/JMenu.java
14741         Changed instantiation of popupMenu to null.
14742         (JMenu): Instantiated popupMenu to new JPopupMenu.
14743         (JMenu): Instantiated popupMenu to new JPopupMenu.      
14744         (add): Changed popupMenu to getPopupMenu().
14745         (add): Changed popupMenu to getPopupMenu().
14746         (add): Changed popupMenu to getPopupMenu().
14747         (add): Changed popupMenu to getPopupMenu().
14748         (remove): Changed popupMenu to getPopupMenu().
14749         (remove): Changed popupMenu to getPopupMenu().
14750         (insert): Changed popupMenu to getPopupMenu().
14751         (setSelectedHelper): Changed popupMenu to getPopupMenu().
14752         (isPopupMenuVisible): Changed popupMenu to getPopupMenu().
14753         (setPopupMenuVisible): Changed popupMenu to getPopupMenu().
14754         (getMenuComponentCount): Changed popupMenu to getPopupMenu().
14755         (getMenuComponents): Changed popupMenu to getPopupMenu().
14756         (getPopupMenu): Check first if popupMenu is null and if so,
14757         instantiate it to a new JPopupMenu and set the invoker.
14758         * javax/swing/plaf/basic/BasicPopupMenuUI.java
14759         (popupMenuWillBecomeVisible): Component Listener should only
14760         be added to the root container if the root container is not 
14761         null. This avoids a null pointer exception.
14762
14763 2006-06-21  Tania Bento  <tbento@redhat.com>
14764
14765         * javax/swing/JMenu.java
14766         (JMenu): Delay should be set to 200, not default of 0.
14767         (JMenu): Delay should be set to 200, not default of 0.
14768         (JMenu): Delay should be set to 200, not default of 0.
14769         (JMenu): Delay should be set to 200, not default of 0.  
14770         (remove): Added check that index >= 0 before removing
14771         the component.
14772         (getItem): Return null if item count equals 0.
14773         (isTearOff): Should throw new error and not return false.
14774         (getMenuComponent): Return null if popupMenu is null or
14775         if there are no menu components.
14776
14777 2006-06-21  Roman Kennke  <kennke@aicas.com>
14778
14779         * java/awt/font/FontRenderContext.java:
14780         (equals): Added special conditions for affineTransform beeing
14781         null.
14782
14783 2006-06-21  Roman Kennke  <kennke@aicas.com>
14784
14785         * javax/swing/UIManager.java
14786         (MultiplexUIDefaults.clear): Removed method. The fallback UIDefaults
14787         must not be cleared.
14788
14789 2006-06-21  Roman Kennke  <kennke@aicas.com>
14790
14791         * javax/swing/plaf/metal/MetalUtils.java
14792         (paintHorizontalGradient): Use paintHorizontalGradient2D when
14793         Graphics2D is available. Use fillRect instead of drawLine, this
14794         is much faster.
14795         (paintVerticalGradient): Use paintHorizontalGradient2D when
14796         Graphics2D is available. Use fillRect instead of drawLine, this
14797         is much faster.
14798         (paintHorizontalGradient2D): New method. Paints gradient
14799         using Graphics2D functions.
14800         (paintVerticalGradient2D): New method. Paints gradient
14801         using Graphics2D functions.
14802
14803 2006-06-21  Roman Kennke  <kennke@aicas.com>
14804
14805         * javax/swing/plaf/basic/BasicButtonListener.java
14806         (propertyChange): Create a TextLayout and store it in the button
14807         when the 'text' property changes.
14808         * javax/swing/plaf/basic/BasicButtonUI.java
14809         (paintText): Call BasicGraphicsUtils utility method for
14810         drawing strings, instead of Graphics.drawString().
14811         * javax/swing/plaf/basic/BasicGraphicsUtils.java
14812         (CACHE_TEXT_LAYOUT): New constant field. Used as a key for storing
14813         cached text layouts as client properties in JComponents.
14814         (drawString(JComponent,Graphics,String,int,int)): New helper method.
14815         (drawStringUnderlineCharAt): New helper method.
14816         * javax/swing/plaf/basic/BasicMenuItemUI.java
14817         (PropertyChangeHandler.propertyChange): Update cached text layout
14818         when 'text' property changes. Use equals() instead of == for
14819         string comparison.
14820         (paintText): Use new BasicGraphicsUtils methods for painting
14821         the cached text layout.
14822         (installListeners): Call super.installListeners() and remove
14823         the unneeded listener installs.
14824         (uninstallListeners): Call super.uninstallListeners() and remove
14825         the unneeded listener uninstalls.
14826
14827 2006-06-21  Roman Kennke  <kennke@aicas.com>
14828
14829         * javax/swing/plaf/basic/BasicTextUI.java
14830         (PropertyChangeHandler.propertyChange): Handle document listener
14831         update here.
14832         (background): Removed unneeded fields.
14833         (inactiveBackground): Remove unneeded fields.
14834         (installUI): Install the document listener. Slightly changed
14835         order of operations. Don't trigger modelChanged().
14836         (installDefaults): Only install properties when the
14837         current properties are null or instances of UIResource.
14838         (installListeners): Removed unnecessary listener installs.
14839         (installDocumentListeners): Removed unneeded method.
14840         (uninstallListeners): Removed unnecessary listener uninstalls.
14841         (modelChanged): Removed call to installDocumentListeners().     
14842         * javax/swing/plaf/basic/BasicTextFieldUI.java
14843         (propertyChange): Update the colors by fetching them from
14844         SharedUIDefaults. Fixed conditions.
14845         * javax/swing/plaf/basic/SharedUIDefaults.java
14846         (getColor): New method.
14847
14848 2006-06-21  Roman Kennke  <kennke@aicas.com>
14849
14850         * javax/swing/SizeSequence.java
14851         (SizeSequence): Initialize array with correct number of entries.
14852
14853 2006-06-21  Roman Kennke  <kennke@aicas.com>
14854
14855         * javax/swing/JSplitPane.java
14856         (setDividerLocation): Substract divider size when computing
14857         the absolute size.
14858
14859 2006-06-21  Roman Kennke  <kennke@aicas.com>
14860
14861         * javax/swing/JComponent.java
14862         (paintChildrenWithOverlap): Determine opaque property by
14863         calling the corresponding Component method, without requiring
14864         a JComponent.
14865         (paintChildrenOptimized): Removed old unneeded code.
14866         (paintImmediately): Use JComponent's convertRectangleToAncestor()
14867         method instead of SwingUtilities.convertRectangle(). This is
14868         more efficient.
14869
14870 2006-06-21  Roman Kennke  <kennke@aicas.com>
14871
14872         * javax/swing/AbstractButton.java
14873         (init): Call setText() instead of setting the property directly,
14874         so that listeners (especially in the UI) get notified.
14875
14876 2006-06-21  Roman Kennke  <kennke@aicas.com>
14877
14878         * javax/swing/UIManager.java
14879         (MultiplexUIDefaults): New inner class.
14880         (currentUIDefaults): Changed type to be MultiplexUIDefaults.
14881         (userUIDefaults): Changed name to be lookAndFeelDefaults.
14882         (<cinit>): Call setLookAndFeel(String) instead of trying to load
14883         directly. Print stacktrace if something goes wrong.
14884         (get): Delegate call to currentUIDefaults.
14885         (getDefaults): If currentUIDefaults is null, then lazily instantiate
14886         it.
14887         (getUI): Delegate call to currentUIDefaults.
14888         (put): Delegate call to currentUIDefaults.
14889         (setLookAndFeel): Initialize currentUIDefaults with
14890         MultiplexUIDefaults. Set lookAndFeelDefaults.
14891         (setLookAndFeel): Use current thread's context classloader for
14892         loading the L&F.
14893
14894 2006-06-21  Roman Kennke  <kennke@aicas.com>
14895
14896         * javax/swing/text/GapContent.java
14897         (GapContentPosition.GapContentPosition): Replace
14898         Collections.binarySearch with call to local search() to make
14899         sure we find the first object that equals the searched object.
14900         (setPositionsInRange): Likewise.
14901         (adjustPositionsInRange): Likewise.
14902         (search): New helper method.
14903
14904 2006-06-21  Gary Benson  <gbenson@redhat.com>
14905
14906         * gnu/java/awt/peer/gtk/CairoGraphics2D.java: Add security check.
14907         * gnu/java/awt/peer/qt/QtGraphics.java: Likewise.
14908         * gnu/java/awt/java2d/AbstractGraphics2D.java: Likewise.
14909
14910 2006-06-20  Thomas Fitzsimmons  <fitzsim@redhat.com>
14911
14912         * native/plugin/Makefile.am (libgcjwebplugin_la_CXXFLAGS): Define
14913         APPLETVIEWER_EXECUTABLE to gappletviewer.
14914
14915 2006-06-20  Tom Tromey  <tromey@redhat.com>
14916
14917         PR classpath/28095:
14918         * java/net/URL.java (URL): Throw MalformedURLException if a
14919         RuntimeException is caught.  Chain exceptions.
14920
14921 2006-06-20  Lillian Angel  <langel@redhat.com>
14922
14923         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
14924         (create): Added check to prevent Seg Fault. Should not
14925         set the label if it is null.
14926         * gnu/java/awt/peer/gtk/GtkLabelPeer.java
14927         (setText): Changed to be a non-native function. Calls
14928         setNativeText if the String parameter is non-null.
14929         (setNativeText): Replaces old native setText function.
14930         * include/gnu_java_awt_peer_gtk_GtkLabelPeer.h: Regenerated.
14931         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
14932         (Java_gnu_java_awt_peer_gtk_GtkLabelPeer_setText): Removed.
14933         Replaced by Java_gnu_java_awt_peer_gtk_GtkLabelPeer_setNativeText.
14934         (Java_gnu_java_awt_peer_gtk_GtkLabelPeer_setNativeText): Replaced
14935         Java_gnu_java_awt_peer_gtk_GtkLabelPeer_setText.
14936
14937 2006-06-20  Lillian Angel  <langel@redhat.com>
14938
14939         * javax/swing/text/JTextComponent.java
14940         (AccessibleJTextComponent): Rewrote all javadocs
14941         for this inner class.
14942
14943 2006-06-20  Francis Kung  <fkung@redhat.com>
14944
14945         * examples/gnu/classpath/examples/java2d/J2dBenchmark.java:
14946         Changed many members to be protected.
14947         (J2dBenchmark): moved to init() instead.
14948         (init): New method.
14949         (main): Call init() after creating object
14950         (testComplete): New method.
14951         (test_drawArc): Use maxTests varialbe instead of constant.
14952         (test_drawCubicCurve): Likewise.
14953         (test_drawEllipse): Likewise.
14954         (test_drawGeneralPath): Likewise.
14955         (test_drawImage): Likewise.
14956         (test_drawLine): Likewise.
14957         (test_drawQuadCurve): Likewise.
14958         (test_drawRectangle): Likewise.
14959         (test_drawRoundRectangle): Likewise.
14960         (test_drawTransparentImage): Likewise.
14961         (test_fillArc): Likewise.
14962         (test_fillEllipse): Likewise.
14963         (test_fillGeneralPath): Likewise.
14964         (test_fillRectangle): Likewise.
14965         (test_fillRoundRectangle): Likewise.
14966         (GraphicsTest.runSetNoClipping): Added runCount parameter.
14967         (GraphicsTest.runSetWithClipping): Likewise.
14968         (GraphicsTest.runSetZeroClipping): Likewise.
14969         (GraphicsTest.run): Added checks for more option flags.
14970         * examples/gnu/classpath/examples/java2d/J2dBenchmarkGUI.java:
14971         New file.
14972
14973 2006-06-20  Roman Kennke  <kennke@aicas.com>
14974
14975         * javax/swing/text/GapContent.java
14976         (GapContentPosition.mark): New field.
14977         (GapContentPosition.index): Removed.
14978         (GapContentPosition.GapContentPosition): Changed to take the
14979         real offset as parameter. Added handling of reference counter.
14980         Try to cleanup before creating new instances.
14981         (getOffset): Delegate to the Mark method with same name.
14982         (Mark): New class, encapsulating a mark.
14983         (positionMarks): Removed field.
14984         (numMarks): Removed field.
14985         (marks): New field.
14986         (queueOfDeath): New field.
14987         (GapContent): Removed init of old fields, added init of new fields.
14988         (createPosition): Added check for validity of arguments.
14989         Create GapContentPosition directly with offset.
14990         (shiftEnd): Pass end of buffer directly to adjustPositionsInRange.
14991         (shiftGap): Pass end of buffer directly to adjustPositionsInRange.
14992         (shiftGapStartDown): Call resetMarksAtZero().
14993         (shiftGapEndUp): Call resetMarksAtZero().
14994         (replace): Don't call resetMarksAtZero().
14995         (setPositionInRange): Replaced by simpler algorithm, similar to
14996         adjustPositionsInRange.
14997         (adjustPositionsInRange): Adapted to use of Mark objects.
14998         (resetMarksAtZero): Reset all marks that point to zero instead
14999         of only the first one.
15000         (dumpMarks): Adjusted to dump Mark objects.
15001         (insertMark): Removed.
15002         (garbageCollect): New method. Cleans up the marks list.
15003         (binarySearch): Removed.
15004
15005 2006-06-20  Lillian Angel  <langel@redhat.com>
15006
15007         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
15008         (drawImage): Added call to updateColor because
15009         Cairo seems to lose the current color.
15010
15011 2006-06-20  Gary Benson  <gbenson@redhat.com>
15012
15013         * java/awt/Toolkit.java: Add security check.
15014         * gnu/java/awt/peer/gtk/GtkToolkit.java: Likewise.
15015         * gnu/java/awt/peer/qt/QtToolkit.java: Likewise.
15016
15017 2006-06-20  Raif S. Naffah  <raif@swiftdsl.com.au>
15018
15019         * gnu/java/security/key/dss/DSSKey.java: Source formatting.
15020         * gnu/java/security/key/dss/DSSKeyPairGenerator.java: Likewise.
15021         * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java: Likewise.
15022         * gnu/java/security/key/dss/DSSKeyPairRawCodec.java: Likewise.
15023         * gnu/java/security/key/dss/DSSKeyPairX509Codec.java: Likewise.
15024         * gnu/java/security/key/dss/DSSPrivateKey.java: Likewise.
15025         * gnu/java/security/key/dss/DSSPublicKey.java: Likewise.
15026         * gnu/java/security/key/dss/FIPS186.java: Likewise.
15027         * gnu/java/security/key/rsa/GnuRSAKey.java: Likewise.
15028         * gnu/java/security/key/rsa/GnuRSAPrivateKey.java: Likewise.
15029         * gnu/java/security/key/rsa/GnuRSAPublicKey.java: Likewise.
15030         * gnu/java/security/key/rsa/RSAKeyPairGenerator.java: Likewise.
15031         * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java: Likewise.
15032         * gnu/java/security/key/rsa/RSAKeyPairRawCodec.java: Likewise.
15033         * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java: Likewise.
15034         * gnu/java/security/key/IKeyPairCodec.java: Likewise.
15035         * gnu/java/security/key/IKeyPairGenerator.java: Likewise.
15036         * gnu/java/security/key/KeyPairCodecFactory.java: Likewise.
15037         * gnu/java/security/key/KeyPairGeneratorFactory.java: Likewise.
15038
15039 2006-06-19  Lillian Angel  <langel@redhat.com>
15040
15041         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
15042         (drawImage): Should always use getRGB to get the pixels.
15043         getData returns an incorrect array of pixels.
15044
15045 2006-06-19  Raif S. Naffah  <raif@swiftdsl.com.au>
15046
15047         * gnu/java/security/jce/hash/HavalSpi.java: Source formatting.
15048         * gnu/java/security/jce/hash/MD2Spi.java: Likewise.
15049         * gnu/java/security/jce/hash/MD4Spi.java: Likewise.
15050         * gnu/java/security/jce/hash/MD5Spi.java: Likewise.
15051         * gnu/java/security/jce/hash/MessageDigestAdapter.java: Likewise.
15052         * gnu/java/security/jce/hash/RipeMD128Spi.java: Likewise.
15053         * gnu/java/security/jce/hash/RipeMD160Spi.java: Likewise.
15054         * gnu/java/security/jce/hash/Sha160Spi.java: Likewise.
15055         * gnu/java/security/jce/hash/Sha256Spi.java: Likewise.
15056         * gnu/java/security/jce/hash/Sha384Spi.java: Likewise.
15057         * gnu/java/security/jce/hash/Sha512Spi.java: Likewise.
15058         * gnu/java/security/jce/hash/TigerSpi.java: Likewise.
15059         * gnu/java/security/jce/hash/WhirlpoolSpi.java: Likewise.
15060         * gnu/java/security/jce/prng/HavalRandomSpi.java: Likewise.
15061         * gnu/java/security/jce/prng/MD2RandomSpi.java: Likewise.
15062         * gnu/java/security/jce/prng/MD4RandomSpi.java: Likewise.
15063         * gnu/java/security/jce/prng/MD5RandomSpi.java: Likewise.
15064         * gnu/java/security/jce/prng/RipeMD128RandomSpi.java: Likewise.
15065         * gnu/java/security/jce/prng/RipeMD160RandomSpi.java: Likewise.
15066         * gnu/java/security/jce/prng/SecureRandomAdapter.java: Likewise.
15067         * gnu/java/security/jce/prng/Sha160RandomSpi.java: Likewise.
15068         * gnu/java/security/jce/prng/Sha256RandomSpi.java: Likewise.
15069         * gnu/java/security/jce/prng/Sha384RandomSpi.java: Likewise.
15070         * gnu/java/security/jce/prng/Sha512RandomSpi.java: Likewise.
15071         * gnu/java/security/jce/prng/TigerRandomSpi.java: Likewise.
15072         * gnu/java/security/jce/prng/WhirlpoolRandomSpi.java: Likewise.
15073         * gnu/java/security/jce/sig/DSSKeyFactory.java: Likewise.
15074         * gnu/java/security/jce/sig/DSSKeyPairGeneratorSpi.java: Likewise.
15075         * gnu/java/security/jce/sig/DSSParameters.java: Likewise.
15076         * gnu/java/security/jce/sig/DSSRawSignatureSpi.java: Likewise.
15077         * gnu/java/security/jce/sig/EncodedKeyFactory.java: Likewise.
15078         * gnu/java/security/jce/sig/KeyPairGeneratorAdapter.java: Likewise.
15079         * gnu/java/security/jce/sig/RSAKeyFactory.java: Likewise.
15080         * gnu/java/security/jce/sig/RSAKeyPairGeneratorSpi.java: Likewise.
15081         * gnu/java/security/jce/sig/RSAPSSRawSignatureSpi.java: Likewise.
15082         * gnu/java/security/jce/sig/SignatureAdapter.java: Likewise.
15083
15084 2006-06-19  Raif S. Naffah  <raif@swiftdsl.com.au>
15085
15086         * NEWS: Updated (delayed) for security tools and tools.texinfo.
15087
15088 2006-06-19  Roman Kennke  <kennke@aicas.com>
15089
15090         * gnu/java/awt/peer/gtk/ComponentGraphics.java
15091         (drawImage): Clip volatile image correctly.
15092         (drawVolatileImage): Added arguments for clipping.
15093         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
15094         (drawVolatileImage): Added arguments for clipping. Clip image
15095         correctly.
15096         * include/gnu_java_awt_peer_gtk_ComponentGraphics.h: Regenerated.
15097
15098 2006-06-19  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
15099
15100         PR 28035
15101         * java/rmi/server/UID.java (constructor): Synchronized
15102         the whole constructor on the UID class.
15103
15104 2006-06-19  Roman Kennke  <kennke@aicas.com>
15105
15106         * javax/swing/RepaintManager.java
15107         (addInvalidComponent): Only add component that are displayable,
15108         that have displayable parents and that have a validateRoot.
15109         Also, don't validate components that have a CellRendererPane
15110         ancestor.
15111
15112 2006-06-19  David Gilbert  <david.gilbert@object-refinery.com>
15113
15114         * javax/swing/plaf/IconUIResource.java
15115         (IconUIResource): Throw IllegalArgumentException for null icon.
15116
15117 2006-06-18  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
15118
15119         PR 28035
15120         * java/rmi/server/UID.java (constructor): First increment
15121         uidCounter, and then use the value.
15122
15123 2006-06-18  Thomas Fitzsimmons  <fitzsim@redhat.com>
15124
15125         * java/awt/GridBagLayout.java (AdjustForGravity): Implement.
15126         * java/awt/GridBagConstraints.java: Indent.
15127
15128 2006-06-18  Tom Tromey  <tromey@redhat.com>
15129
15130         * native/jni/gconf-peer/.cvsignore: New file.
15131
15132 2006-06-18  Tom Tromey  <tromey@redhat.com>
15133
15134         * tools/gnu/classpath/tools/getopt/Parser.java (handleLongOption):
15135         Also handle short options.
15136
15137 2006-06-18  Jim Huang  <jserv@kaffe.org>
15138
15139         PR classpath/28076:
15140         * native/jni/gconf-peer/Makefile.am (libgconfpeer_la_LIBADD):
15141         Fixed typo.
15142
15143 2006-06-19  Mark Wielaard  <mark@klomp.org>
15144
15145         * include/Makefile.am: gnu_java_util_prefs_gconf_%.h should depend
15146         on gnu/java/util/prefs/gconf/%.class.
15147         * Java_gnu_java_util_prefs_gconf_GConfNativePeer_init_1class: Fix
15148         chache typo, should be cache.
15149         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1gconf_1client_1all_1keys):
15150         Declare tmp early.
15151         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1gconf_1client_1all_1nodes):
15152         Likewise.
15153         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1remove_1dir):
15154         Don't return a value for void function.
15155         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1add_1dir)
15156         Likewise.
15157         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1dir_1exists):
15158         Mark clazz as unused.  Return JNI_FALSE, not NULL for jboolean
15159         function.
15160         (Java_gnu_java_util_prefs_gconf_GConfNativePeer_finalize_1class):
15161         Mark clazz ad unused.
15162
15163 2006-06-18  Raif S. Naffah  <raif@swiftdsl.com.au>
15164
15165         * gnu/java/security/hash/Whirlpool.java: Source formatting.
15166         * gnu/java/security/hash/Tiger.java: Likewise.
15167         * gnu/java/security/hash/Sha512.java: Likewise.
15168         * gnu/java/security/hash/Sha384.java: Likewise.
15169         * gnu/java/security/hash/Sha256.java: Likewise.
15170         * gnu/java/security/hash/Sha160.java: Likewise.
15171         * gnu/java/security/hash/RipeMD160.java: Likewise.
15172         * gnu/java/security/hash/RipeMD128.java: Likewise.
15173         * gnu/java/security/hash/MD5.java: Likewise.
15174         * gnu/java/security/hash/MD4.java: Likewise.
15175         * gnu/java/security/hash/MD2.java: Likewise.
15176         * gnu/java/security/hash/IMessageDigest.java: Likewise.
15177         * gnu/java/security/hash/Haval.java: Likewise.
15178         * gnu/java/security/hash/HashFactory.java: Likewise.
15179         * gnu/java/security/hash/BaseHash.java: Likewise.
15180
15181 2006-06-18  Sven de Marothy  <sven@physto.se>
15182
15183         * java/awt/event/KeyEvent.java:
15184         (VK_WINDOWS, VK_CONTEXT_MENU, VK_BEGIN): Add new keysym fields.
15185         *  natve/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
15186         Implement WINDOWS, ALT_GR and CONTEXT_MENU keysyms.
15187
15188 2006-06-18  Raif S. Naffah  <raif@swiftdsl.com.au>
15189
15190         * gnu/java/security/util/Prime2.java: Removed.
15191         * gnu/java/security/key/dss/FIPS186.java: Remove unused imports.
15192         (generateParameters): Use isProbablePrime() in BigInteger instead of Prime2.
15193         * gnu/java/security/key/rsa/RSAKeyPairGenerator.java: Remove unused imports.
15194         (generate): Use isProbablePrime() in BigInteger instead of Prime2.
15195         * gnu/javax/crypto/key/dh/RFC2631.java: Remove unused imports.
15196         (generateParameters): Use isProbablePrime() in BigInteger instead of Prime2.
15197         * gnu/javax/crypto/key/srp6/SRPAlgorithm.java: Remove unused imports.
15198         (checkParams): Use isProbablePrime() in BigInteger instead of Prime2.
15199         * gnu/javax/crypto/key/srp6/SRPKeyPairGenerator.java: Remove unused imports.
15200         (generateParameters): Use isProbablePrime() in BigInteger instead of Prime2.
15201         * gnu/javax/net/ssl/provider/KeyPool.java: Remove unused imports.
15202         (generateRSAKeyPair): Use isProbablePrime() in BigInteger instead of Prime2.
15203
15204 2006-06-18  Sven de Marothy  <sven@physto.se>
15205
15206         * java/awt/GridBagLayout.java (AdjustForGravity): Implement.
15207         * java/awt/font/TextMeasurer.java: Fix copyright date, 
15208         remove commented-out code.
15209
15210 2006-06-18  Sven de Marothy  <sven@physto.se>
15211
15212         * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
15213         (FreetypeGlyphVector, clone): Implement cloning.
15214         (getGlyphLogicalBounds): Bounds should be offset to the glyph position.
15215         * java/awt/font/TextMeasurer.java: Implement.
15216         * java/awt/font/LineBreakMeasurer.java: 
15217         Reimplement to use TextMeasurer.
15218         * java/awt/font/TextLayout.java
15219         New constructors.
15220         (getBlackboxBounds, getLogicalHighlightShape): Reimplement.
15221         (getText, getFont): New private static methods.
15222         (setCharIndices): New method.
15223         * java/text/AttributedString.java
15224         (AttributedString): Fix constructor to stop at end point.
15225         
15226 2006-06-17  Tom Tromey  <tromey@redhat.com>
15227
15228         * lib/gen-classlist.sh.in: Search all top-level directories, not
15229         just 'org', in external.
15230
15231 2006-06-12  Mario torre  <neugens at limasoftware.net>
15232
15233         * gnu/java/util/prefs/GConfBasedPreferences.java: new class.
15234         * gnu/java/util/prefs/GConfBasedFactory.java: new class.
15235         * gnu/java/util/prefs/gconf/GConfNativePeer.java: new class.
15236         * gnu_java_util_prefs_gconf_GConfNativePeer.h: generated
15237         header file.
15238         * classpath/native/jni/gconf-peer/GConfNativePeer.c: new C file.
15239         * configure.ac: update to introduce new files. Added options
15240         to build gconf native peer used by the GConf preference backend.
15241         * include/Makefile.am: update to introduce new files.
15242         * native/jni/Makefile.am update to introduce new files.
15243         * scripts/check_jni_methods.sh: added three new ignored file
15244         from check.
15245         * native/jni/gconf-peer/Makefile.am: new Makefile needed to
15246         build gconf-peer shared library.
15247
15248 2006-06-17  Raif S. Naffah  <raif@swiftdsl.com.au>
15249
15250         * gnu/java/security/jce/sig/DSSKeyPairGeneratorSpi.java:
15251         Use Integer.valueOf() instead of new Integer().
15252         * gnu/java/security/jce/sig/EncodedKeyFactory.java: Likewise.
15253         * gnu/java/security/jce/sig/RSAKeyPairGeneratorSpi.java: Likewise.
15254         * gnu/java/security/util/Sequence.java: Likewise.
15255         * gnu/java/security/x509/ext/GeneralNames.java: Likewise.
15256         * gnu/java/security/x509/X509Certificate.java: Likewise.
15257         * gnu/javax/crypto/assembly/ModeStage.java: Likewise.
15258         * gnu/javax/crypto/cipher/Anubis.java: Likewise.
15259         * gnu/javax/crypto/cipher/Blowfish.java: Likewise.
15260         * gnu/javax/crypto/cipher/Cast5.java: Likewise.
15261         * gnu/javax/crypto/cipher/DES.java: Likewise.
15262         * gnu/javax/crypto/cipher/Khazad.java: Likewise.
15263         * gnu/javax/crypto/cipher/NullCipher.java: Likewise.
15264         * gnu/javax/crypto/cipher/Rijndael.java: Likewise.
15265         * gnu/javax/crypto/cipher/Serpent.java: Likewise.
15266         * gnu/javax/crypto/cipher/Square.java: Likewise.
15267         * gnu/javax/crypto/cipher/TripleDES.java: Likewise.
15268         * gnu/javax/crypto/cipher/Twofish.java: Likewise.
15269         * gnu/javax/crypto/jce/cipher/CipherAdapter.java: Likewise.
15270         * gnu/javax/crypto/jce/cipher/PBES2.java: Likewise.
15271         * gnu/javax/crypto/jce/key/SecretKeyGeneratorImpl.java: Likewise.
15272         * gnu/javax/crypto/jce/PBKDF2SecretKeyFactory.java: Likewise.
15273         * gnu/javax/crypto/jce/prng/ICMRandomSpi.java: Likewise.
15274         * gnu/javax/crypto/jce/prng/UMacRandomSpi.java: Likewise.
15275         * gnu/javax/crypto/jce/sig/DHKeyPairGeneratorSpi.java: Likewise.
15276         * gnu/javax/crypto/keyring/AuthenticatedEntry.java: Likewise.
15277         * gnu/javax/crypto/keyring/EncryptedEntry.java: Likewise.
15278         * gnu/javax/crypto/keyring/PasswordAuthenticatedEntry.java: Likewise.
15279         * gnu/javax/crypto/keyring/PasswordEncryptedEntry.java: Likewise.
15280         * gnu/javax/crypto/keyring/PasswordProtectedEntry.java: Likewise.
15281         * gnu/javax/crypto/mac/UHash32.java: Likewise.
15282         * gnu/javax/crypto/mac/UMac32.java: Likewise.
15283         * gnu/javax/crypto/mode/BaseMode.java: Likewise.
15284         * gnu/javax/crypto/mode/EAX.java: Likewise.
15285         * gnu/javax/crypto/prng/ICMGenerator.java: Likewise.
15286         * gnu/javax/crypto/prng/UMacGenerator.java: Likewise.
15287         * gnu/javax/crypto/sasl/srp/KDF.java: Likewise.
15288         * gnu/javax/security/auth/callback/ConsoleCallbackHandler.java: Likewise.
15289         * java/security/cert/X509CertSelector.java: Likewise.
15290
15291 2006-06-17  Andrew John Hughes  <gnu_andrew@member.fsf.org>
15292
15293         * javax/management/DynamicMBean.java:
15294         (setAttribute): Fixed to return void.
15295         * javax/management/MBeanFeatureInfo.java:
15296         New file.
15297         
15298 2006-06-17  Raif S. Naffah  <raif@swiftdsl.com.au>
15299
15300         On behalf of Vivek Lakshmanan <vivekl@redhat.com>
15301         * gnu/javax/crypto/jce/cipher/CipherAdapter.java
15302         (engineInit(int, Key, SecureRandom)): Seperate common initialization logic
15303         into engineInitHandler and reuse the code in
15304         engineInit(int, Key, AlgorithmSpec, SecureRandom).
15305         (engineInitHandler): New method.
15306         (engineInit(int, Key, AlgorithmParameterSpec, SecureRandom)): When param is
15307         null, use random or default information when possible.
15308
15309 2006-06-16  Francis Kung  <fkung@redhat.com>
15310
15311         * examples/gnu/classpath/examples/swing/Demo.java:
15312         (mkButtonBar): Rename FillRect to JNIOverhead.
15313         (mkMenuBar): Rename FillRect to JNIOverhead.
15314         * examples/gnu/classpath/examples/swing/FillRect.java: Removed.
15315         * examples/gnu/classpath/examples/java2d/J2dBenchmark.java: New file.
15316         * examples/gnu/classpath/examples/java2d/JNIOverhead.java:
15317         Moved from old FillRect.
15318
15319 2006-06-16  Tom Tromey  <tromey@redhat.com>
15320
15321         * tools/.cvsignore: Added new tool names.
15322
15323 2006-06-16  Keith Seitz  <keiths@redhat.com>
15324
15325         * gnu/classpath/jdwp/event/EventManager.java (getDefault): Redo
15326         instantiation so that EventManager is created when getDefault
15327         is first called.
15328         * gnu/classpath/jdwp/Jdwp.java (Thread): Force creation
15329         of EventManager.
15330
15331 2006-06-16  Keith Seitz  <keiths@redhat.com>
15332
15333         * gnu/classpath/jdwp/Jdwp.java (_initLock): New field.
15334         (_initCount): New field.
15335         (Jdwp): Don't set isDebugging until fully initialized.
15336         (subcomponentInitialized): New method.
15337         (run): Wait for PacketProcessor and JdwpConnection to
15338         startup, then set isDebugging, and then let this thread
15339         die.
15340         * gnu/classpath/jdwp/transport/JdwpConnection.java
15341         (run): Add synchronization notification.
15342         * gnu/classpath/jdwp/processor/PacketProcessor.java
15343         (run): Likewise.
15344
15345 2006-06-16  Tom Tromey  <tromey@redhat.com>
15346
15347         * NEWS: Updated for JSR 166.
15348
15349 2006-06-16  Tom Tromey  <tromey@redhat.com>
15350
15351         * lib/Makefile.am (compile_classpath): Added jsr166.
15352         * configure.ac: Added external/jsr166/Makefile.
15353         * external/Makefile.am (SUBDIRS): Added jsr166.
15354         * external/jsr166/Makefile.am: New file.
15355         * lib/gen-classlist.sh.in: Look in external/jsr166.
15356
15357 2006-06-16  Kyle Galloway  <kgallowa@redhat.com>
15358
15359         * gnu/classpath/jdwp/event/ExceptionEvent:
15360         Added Object instance to javadoc in constructor
15361         * gnu/classpath/jdwp/event/MethodEntryEvent:
15362         Ditto.
15363         * gnu/classpath/jdwp/event/MethodExitEvent:
15364         Ditto,
15365         * gnu/classpath/jdwp/event/SingleStepEvent:
15366         Ditto. 
15367
15368 2006-06-16  Tom Tromey  <tromey@redhat.com>
15369
15370         Imported JSR 166 reference implementation:
15371         * .classpath: Added external/jsr166.
15372         * java/util/concurrent/CopyOnWriteArrayList.java: New file.
15373         * java/util/AbstractQueue.java: Removed.
15374         * java/util/Queue.java: Removed.
15375         * external/jsr166/java/util/concurrent/ScheduledThreadPoolExecutor.java
15376         (runPeriodic): Added explicit cast.
15377         * external/jsr166/java/util/ArrayDeque.java (clone): Use
15378         elements.clone.
15379
15380 2006-06-16  Tom Tromey  <tromey@redhat.com>
15381
15382         * vm/reference/sun/reflect/Reflection.java (verifyMemberAccess):
15383         Removed.
15384         (getCallerClass): Now static.
15385         * vm/reference/sun/reflect/misc/ReflectUtil.java: New file.
15386
15387 2006-06-16  Lillian Angel  <langel@redhat.com>
15388
15389         * java/awt/FileDialog.java
15390         (FileDialog): Added @since tag to API docs.
15391         (FileDialog): Likewise.
15392         (FileDialog): Likewise.
15393         * java/awt/Font.java:
15394         Added @since tag to TYPE1_FONT field docs.
15395         * javax/swing/plaf/basic/BasicScrollBarUI.java:
15396         (isThumbRollover): Likewise.
15397         (setThumbRollover): Likewise.
15398         (getSupportsAbsolutePositioning): Likewise.
15399         * javax/swing/plaf/basic/BasicSliderUI.java:
15400         (isDragging): Likewise.
15401
15402 2006-06-16  Lillian Angel  <langel@redhat.com>
15403
15404         * java/awt/FileDialog.java
15405         (FileDialog): Implemented.
15406         (FileDialog): Implemented.
15407         (FileDialog): Implemented.
15408         * java/awt/Font.java:
15409         Added TYPE1_FONT constant field.
15410
15411 2006-06-16  Lillian Angel  <langel@redhat.com>
15412
15413         * java/awt/font/TextLayout.java:
15414         Removed unneeded imports.
15415         * javax/swing/plaf/basic/BasicScrollBarUI.java:
15416         Added new thumbRollover field.
15417         (mouseMoved): Added code to set thumbRollover field.
15418         (isThumbRollover): New function.
15419         (setThumbRollover): New function.
15420         (getSupportsAbsolutePositioning): Implemented. This
15421         needs to be changed once the feature has been 
15422         implemented.
15423         * javax/swing/plaf/basic/BasicSliderUI.java:
15424         Added new dragging field.
15425         (mouseDragged): Initialized dragging field.
15426         (isDragging): New function.
15427         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
15428         (focusGained): Marked as not implemented.
15429         (focusLost): Likewise.
15430
15431 2006-06-16  Kyle Galloway  <kgallowa@redhat.com>
15432
15433         * gnu/classpath/jdwp/event/filters/ThreadOnlyFilter.java:
15434         Added check for null ThreadId to avoid null pointer
15435         exception.
15436
15437 2006-06-16  David Gilbert  <david.gilbert@object-refinery.com>
15438
15439         * javax/swing/DefaultComboBoxModel.java
15440         (removeElementAt): Set new selected item by calling setSelectedItem().
15441
15442 2006-06-16  David Gilbert  <david.gilbert@object-refinery.com>
15443
15444         * javax/swing/DefaultButtonModel.java
15445         (setSelected): Use 'this', not null, for the item in the ItemEvent.
15446
15447 2006-06-16  David Gilbert  <david.gilbert@object-refinery.com>
15448
15449         * javax/swing/event/ListDataEvent.java: updated API docs, plus
15450         (ListDataEvent): Handle case where index0 > index1,
15451         (toString): Implemented.
15452
15453 2006-06-16  Robert Schuster  <robertschuster@fsfe.org>
15454
15455         * javax/swing/plaf/metal/MetalMenuBarUI.java:
15456         (update): Added subexpression to if-statement.
15457
15458 2006-06-16  Robert Schuster  <robertschuster@fsfe.org>
15459
15460         * javax/swing/plaf/basic/BasicRadioButtonUI.java:
15461         (installDefaults): Removed unneccessary code.
15462         (paint): Removed complex if-cascade, revert to default icon if
15463         icon property is not set.
15464         (getPreferredSize): New method.
15465
15466 2006-06-16  Roman Kennke  <kennke@aicas.com>
15467
15468         PR 28027
15469         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
15470         (drawImage): Don't use setClip() but instead clipRect() to
15471         intersect the current clip with a new one.
15472
15473 2006-06-15  Tom Tromey  <tromey@redhat.com>
15474
15475         * scripts/sanitize-jsr166: New file.
15476         * external/jsr166/IMPORTING: New file.
15477         * vm/reference/sun/reflect/Reflection.java: New file.
15478         * vm/reference/gnu/classpath/Unsafe.java: Moved...
15479         * vm/reference/sun/misc/Unsafe.java: ...here.
15480
15481 2006-06-15  Thomas Fitzsimmons  <fitzsim@redhat.com>
15482
15483         * configure.ac: Rename appletviewer to gappletviewer, jarsigner to
15484         gjarsigner and keytool to gkeytool.
15485         * doc/tools.texinfo: Add note about tool exectable names.
15486         * tools/Makefile.am: Rename appletviewer to gappletviewer,
15487         jarsigner to gjarsigner and keytool to gkeytool.
15488         * tools/appletviewer.in: Rename ...
15489         * tools/gappletviewer.in: New file.
15490         * tools/jarsigner.in: Rename ...
15491         * tools/gjarsigner.in: New file.
15492         * tools/keytool.in: Rename ...
15493         * tools/gkeytool.in: New file.
15494         * tools/toolwrapper.c: Simplify TOOLS_ZIP macro.
15495
15496 2006-06-15  Andrew John Hughes  <gnu_andrew@member.fsf.org>
15497
15498         * javax/management/AttributeList.java:
15499         Add serialization UID.
15500         * javax/management/DynamicMBean.java:
15501         New file.
15502         * javax/management/JMRuntimeException.java:
15503         Add serialization UID and correct name
15504         of serialized field.
15505         * javax/management/MBeanInfo.java: New file.
15506         
15507 2006-06-15  Andrew John Hughes  <gnu_andrew@member.fsf.org>
15508
15509         * javax/management/AttributeList.java,
15510         * javax/management/JMRuntimeException.java,
15511         * javax/management/RuntimeOperationsException.java:
15512         New files.
15513         
15514 2006-06-15  Lillian Angel  <langel@redhat.com>
15515
15516         * java/awt/font/TextLayout.java:
15517         DEFAULT_CARET_POLICY changed to be public static final.
15518
15519 2006-06-15  Tania Bento  <tbento@redhat.com>
15520
15521         * javax/swing/plaf/metal/MetalScrollButton.java
15522         (MetalScrollButton): Should set 'focusable' to false.
15523
15524 2006-06-15  Tania Bento  <tbento@redhat.com>
15525
15526         * javax/swing/plaf/basic/BasicArrowButton.java
15527         (BasicArrowButton): Should set 'focusable' to false.
15528         (BasicArrowButton): Should set 'focusable' to false.
15529
15530 2006-06-15  Mark Wielaard  <mark@klomp.org>
15531
15532         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
15533         (getGraphicsConfiguration): Return default screen device.
15534         * gnu/java/awt/peer/gtk/GtkVolatileImage.java (component):
15535         New field.
15536         (GtkVolatileImage): Record initiating component.
15537         * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
15538         (getDeviceConfiguration): Return configuration of image component.
15539
15540 2006-06-15  Mark Wielaard  <mark@klomp.org>
15541
15542         * java/awt/geom/GeneralPath.java (closePath): Return if path already
15543         closed.
15544
15545 2006-06-15  Mark Wielaard  <mark@klomp.org>
15546
15547         * java/awt/BasicStroke.java (createStrokedShape): Call getPathIterator
15548         with null argument.
15549
15550 2006-06-15  Kyle Galloway  <kgallowa@redhat.com>
15551
15552         * gnu/classpath/jdwp/event/filters/ExceptionOnlyFilter.java
15553         (matches): Added explicit brackets to return statement.
15554
15555 2006-06-15  Tania Bento  <tbento@redhat.com>
15556
15557         * javax/swing/JRadioButtonMenuItem.java
15558         (JRadioButtonMenuItem): Should set 'focusable' to false.
15559
15560 2006-06-15  Tania Bento  <tbento@redhat.com>
15561
15562         * javax/swing/JCheckBoxMenuItem.java
15563         (JCheckBoxMenuItem): Should set 'focusable' to false.
15564
15565 2006-06-15  Tania Bento  <tbento@redhat.com>
15566
15567         * javax/swing/AbstractButton.java:
15568         (AbstractButton): 'Focusable' should be set to true and not false.
15569
15570 2006-06-15  Andrew John Hughes  <gnu_andrew@member.fsf.org>
15571
15572         * java/lang/management/ManagementFactory.java:
15573         Add private constructor to prevent instance creation.
15574         * java/lang/management/ManagementPermission.java:
15575         Make final.
15576         
15577 2006-06-15  Francis Kung  <fkung@redhat.com>
15578
15579         * javax/swing/plaf/basic/BasicArrowButton.java:
15580         (BasicArrowButton): move client property for not triggering out 
15581         of consturctor
15582         * javax/swing/plaf/basic/BasicComboBoxUI.java:
15583         (configureArrowButton): set client property for not triggering
15584         (installUI): set client property for not triggering
15585         * javax/swing/plaf/basic/BasicLookAndFeel.java:
15586         (PopupHelper.mousePressed): check client property for triggering
15587
15588 2006-06-15  Roman Kennke  <kennke@aicas.com>
15589
15590         PR 28037
15591         * javax/swing/RepaintManager.java
15592         (blitBuffer): Substract coordinates the other way around.
15593
15594 2006-06-15  Roman Kennke  <kennke@aicas.com>
15595
15596         PR 28027
15597         * javax/swing/JComponent.java
15598         (paintImmediately2): Only paint component without double buffering
15599         when all of it's parents have also double buffering disabled.
15600         (isPaintingDoubleBuffered): New helper method.
15601
15602 2006-06-15  David Gilbert  <david.gilbert@object-refinery.com>
15603
15604         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
15605         (draw(Shape)): Pass null transform to getPathIterator(),
15606         (getClip): Likewise,
15607         * gnu/java/print/PostscriptGraphics2D.java
15608         (drawStringShape): Pass null transform to getPathIterator(),
15609         (writeShape): Likewise,
15610         * java/awt/Shape.java: Small updates to API docs.
15611
15612 2006-06-14  Andrew John Hughes  <gnu_andrew@member.fsf.org>
15613
15614         * javax/naming/InitialContext.java:
15615         (list(javax.naming.Name)): Fixed generic type.
15616         (list(String)): Likewise.
15617         (listBindings(javax.naming.Name)): Likewise.
15618         (listBindings(String)): Likewise.
15619         
15620 2006-06-14  Roman Kennke  <kennke@aicas.com>
15621
15622         * javax/swing/plaf/basic/BasicComboBoxUI.java
15623         (getAccessibleChildrenCount): Implemented.
15624         (getAccessibleChild): Implemented.
15625         (isNavigationKey): Implemented.
15626         (KeyHandler.keyPressed): Implemented.
15627
15628 2006-06-14  Andrew John Hughes  <gnu_andrew@member.fsf.org>
15629
15630         * java/lang/management/ManagementPermission.java:
15631         Added serialization UID.
15632         * javax/management/Attribute.java: Likewise.
15633         * javax/management/MBeanException.java,
15634         * javax/management/ReflectionException.java:
15635         Added serialization UID and changed to extend
15636         javax.management.JMException.
15637         
15638 2006-06-14  Lillian Angel  <langel@redhat.com>
15639
15640         * java/awt/Component.java
15641         (ignoreOldMouseEvents): Made static.
15642         (translateEvent): Made static.
15643         * java/awt/TextComponent.java
15644         (ignoreOldMouseEvents): Made static.
15645
15646 2006-06-14  Mark Wielaard  <mark@klomp.org>
15647
15648         * gnu/java/awt/peer/gtk/ComponentGraphics.java (drawLine): Lock and
15649         call super.
15650         (drawRect): Likewise.
15651         (fillRect): Likewise.
15652
15653 2006-06-14  Lillian Angel  <langel@redhat.com>
15654
15655         * java/awt/Component.java
15656         (ignoreOldMouseEvents): New helper function.
15657         (translateEvent): Changed to be non-static and use new helper.
15658         * java/awt/TextComponent.java
15659         (ignoreOldMouseEvents): New helper function.
15660
15661 2006-06-14  Roman Kennke  <kennke@aicas.com>
15662
15663         * javax/swing/RepaintManager.java
15664         (MERGE_REGIONS): New constant flag.
15665         (commitBuffer): Exclude the merging of regions by default. This
15666         was causing painting artifacts in some applications, especially
15667         when different areas of the GUI are updated synchronously.
15668
15669 2006-06-14  Roman Kennke  <kennke@aicas.com>
15670
15671         * examples/gnu/classpath/examples/awt/AicasGraphicsBenchmark.java:
15672         New file. This is a benchmark for AWT 1.1 style graphics operations.
15673         * examples/gnu/classpath/examples/awt/palme.gif: New file.
15674         * examples/gnu/classpath/examples/awt/aicas.gif: New file.
15675
15676 2006-06-14  Tom Tromey  <tromey@redhat.com>
15677
15678         * java/io/File.java (getParent): Javadoc fix.
15679
15680 2006-06-14  Tom Tromey  <tromey@redhat.com>
15681
15682         * gnu/java/net/loader/JarURLLoader.java (initialize): Skip our own
15683         jar.
15684         * gnu/java/net/IndexListParser.java (IndexListParser): Call clearAll
15685         when index entry does not exist.
15686
15687 2006-06-14  Tania Bento  <tbento@redhat.com>
15688
15689         * javax/swing/AbstractButton.java
15690         (AbstractButton): Set focusable to false, not true.
15691
15692 2006-06-14  Tania Bento  <tbento@redhat.com>
15693
15694         * javax/swing/JMenuItem.java
15695         (init): Changed horizontalAlignment from JButton.LEFT to JButton.LEADING.
15696
15697 2006-06-14  Tania Bento  <tbento@redhat.com>
15698
15699         * javax/swing/JCheckBoxMenuItem.java
15700         (JCheckBoxMenuItem): Added check to set the selected state.
15701
15702 2006-06-14  Roman Kennke  <kennke@aicas.com>
15703
15704         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
15705         (cairoDrawLine): New native method.
15706         (cairoDrawRect): New native method.
15707         (cairoFillRect): New native method.
15708         (drawLine): Use special native method.
15709         (drawRect): Use special native method.
15710         (fillRect): Use special native method.
15711         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
15712         (cairoDrawLine): New native method.
15713         (cairoDrawRect): New native method.
15714         (cairoFillRect): New native method.
15715         * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Regenerated.
15716
15717 2006-06-14  Mark Wielaard  <mark@klomp.org>
15718
15719         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c
15720         (Java_gnu_java_awt_peer_gtk_GtkImage_getPixels): Return when array
15721         cannot be allocated.
15722
15723 2006-06-14  Tom Tromey  <tromey@redhat.com>
15724
15725         PR java/28024:
15726         * m4/acinclude.m4 (REGEN_WITH_JAY): Use backquote, not $(...).
15727         * configure.ac (QT_INCLUDE_DIR): Use backquote, not $(...).
15728
15729 2006-06-14  Roman Kennke  <kennke@aicas.com>
15730
15731         * javax/swing/JComponent.java
15732         (isRepainting): New flag.
15733         (paintImmediately2): Set isRepainting flag.
15734         (getRoot): Removed obsolete method.
15735         (paintDoubleBuffered): Differenciate between paint calls from
15736         RepaintManager and from AWT refresh. Call
15737         RepaintManager.commitBuffer with this and local coordinates.
15738         (findOpaqueParent): Stop searching at heavyweight component. These
15739         are always opaque.
15740         (paintChildrenOptimized): Don't paint heavyweight children. These
15741         should care for themselves.
15742         (paintChildrenWithOverlap): Don't paint heavyweight children. These
15743         should care for themselves.
15744         * javax/swing/RepaintManager.java
15745         (getOffscreenBuffer): Associate offscreen buffer with toplevel
15746         windows only.
15747         (getVolatileOffscreenBuffer): Associate offscreen buffer with
15748         toplevel windows only.
15749         (getRoot): Removed obsolete method.
15750         (commitBuffer): Blit buffer on nearest heavyweight.
15751         (blitBuffer): New helper method.
15752         (getHeavyweightParent): New helper method.
15753         (commitRemainingBuffers): Call blitBuffer instead of commitBuffer.
15754         * javax/swing/SwingUtilities.java
15755         (convertRectangleToAncestor): New helper method.
15756
15757 2006-06-14  Raif S. Naffah  <raif@swiftdsl.com.au>
15758
15759         * gnu/javax/security/auth/login/ConfigFileTokenizer.java: Fixed a typo.
15760         Condition all trace/debug code based on Configuration.DEBUG.
15761         Use logger instead of STDOUT and ot STDERR.
15762
15763 2006-06-13  Lillian Angel  <langel@redhat.com>
15764
15765         * native/plugin/gcjwebplugin.cc
15766         (NP_Initialize): Removed code to create whitelist file.
15767         (GCJ_New): Added code to create whitelist file.
15768         (plugin_user_trusts_documentbase): Fixed error message.
15769
15770 2006-06-13  David Gilbert  <david.gilbert@object-refinery.com>
15771
15772         * javax/swing/plaf/metal/MetalIconFactory.java
15773         (HorizontalSliderThumbIcon.gradientMask): Modified by 1 pixel to 
15774         prevent overwriting border,
15775         (VerticalSliderThumbIcon.gradientMask): Likewise.
15776
15777 2006-06-13  Andrew John Hughes  <gnu_andrew@member.fsf.org>
15778
15779         * javax/management/AttributeNotFoundException.java,
15780         * javax/management/InvalidAttributeValueException.java,
15781         * javax/management/JMException.java,
15782         * javax/management/MBeanException.java,
15783         * javax/management/OperationsException.java,
15784         * javax/management/ReflectionException.java:
15785         New files.
15786         
15787 2006-06-13  Roman Kennke  <kennke@aicas.com>
15788
15789         * java/awt/Component.java
15790         (dispatchEvent): Handle events even when consumed (this might be
15791         picked up later in the dispatching chain).
15792         * javax/swing/plaf/basic/BasicLookAndFeel.java
15793         (PopupHelper.mousePressed): Don't consume event. Only close popup
15794         when target component isn't flagged as DONT_CANCEL_POPUP.
15795         (DONT_CANCEL_POPUP): New package private constant for flagging
15796         special components that don't trigger popup closing.
15797         * javax/swing/plaf/basic/BasicArrowButton.java
15798         (BasicArrowButton): Set client property for not triggering closing
15799         of popups.
15800
15801 2006-06-13  Lillian Angel  <langel@redhat.com>
15802
15803         * java/awt/image/PixelGrabber.java
15804         (PixelGrabber): Added to API documentation.
15805
15806 2006-06-13  Keith Seitz  <keiths@redhat.com>
15807
15808         From Kyle Galloway  <kgallowa@redhat.com>:
15809         * gnu/classpath/jdwp/event/filters/ExceptionOnlyFilter.java
15810         (ExceptionOnlyFilter): Allow null refId.
15811
15812         * gnu/classpath/jdwp/event/BreakpointEvent.java: Added _instance for
15813         compatibility with filters.
15814         (getParameter): Modified to allow access to above. 
15815
15816 2006-06-13  Sven de Marothy  <sven@physto.se>
15817
15818         * gnu/java/awt/peer/gtk/CairoSurface.java
15819         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
15820         (create): Use stride in ints.
15821
15822 2006-06-13  Keith Seitz  <keiths@redhat.com>
15823
15824         From Kyle Galloway  <kgallowa@redhat.com>:
15825         * gnu/classpath/jdwp/event/ClassUnloadEvent.java: New file.
15826
15827 2006-06-13  David Gilbert  <david.gilbert@object-refinery.com>
15828
15829         * javax/swing/plaf/basic/BasicSliderUI.java
15830         (calculateThumbSize): Removed unnecessary code,
15831         (calculateThumbLocation): Shift position by one,
15832         (calculateTickRect): Shift position by one when ticks are displayed,
15833         (calculateLabelRect): Calculate rect differently according to whether
15834         or not the labels are visible,
15835         (paintTrack): Shift track down one pixel.
15836
15837 2006-06-13  Lillian Angel  <langel@redhat.com>
15838
15839         * java/awt/image/PixelGrabber.java
15840         (PixelGrabber): Removed check to throw exception. JDK does
15841         not do this.
15842         (startGrabbing): Removed line to print stacktrace. 
15843
15844 2006-06-13  Mark Wielaard  <mark@klomp.org>
15845
15846         * gnu/java/awt/peer/gtk/CairoGraphics2D.java (drawImage): Don't
15847         allocate unused AffineTransform. Add comment about conversion to
15848         BufferedImage.
15849         * gnu/java/awt/peer/gtk/ComponentGraphics.java (drawImage):
15850         Recognize identity transform as "easy". Always convert to
15851         BufferedImage before calling super.
15852
15853 2006-06-13  Roman Kennke  <kennke@aicas.com>
15854
15855         * java/awt/Component.java
15856         (getGraphics): Translate child graphics correctly.
15857         (dispatchEvent): Only dispatch event if it hasn't been consumed
15858         yet by the global dispatcher.
15859         * javax/swing/plaf/basic/BasicLookAndFeel.java
15860         Added some API docs.
15861         (PopupHelper.mousePressed): Consume the event after closing
15862         opened menus.
15863
15864 2006-06-13  David Gilbert  <david.gilbert@object-refinery.com>
15865
15866         * javax/swing/plaf/basic/BasicCheckBoxUI.java: Source code formatting 
15867         changes only,
15868         * javax/swing/plaf/basic/BasicComboBoxUI.java: Likewise,
15869         * javax/swing/plaf/basic/BasicComboPopup.java: Likewise,
15870         * javax/swing/plaf/basic/BasicFileChooserUI.java: Likewise,
15871         * javax/swing/plaf/basic/BasicInternalFrameUI.java: Likewise,
15872         * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise,
15873         * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise,
15874         * javax/swing/plaf/basic/BasicOptionPaneUI.java: Likewise,
15875         * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise,
15876         * javax/swing/plaf/basic/BasicRadioButtonUI.java: Likewise,
15877         * javax/swing/plaf/basic/BasicScrollBarUI.java: Likewise,
15878         * javax/swing/plaf/basic/BasicSliderUI.java: Likewise,
15879         * javax/swing/plaf/basic/BasicTableHeaderUI.java: Likewise,
15880         * javax/swing/plaf/basic/BasicTableUI.java: Likewise,
15881         * javax/swing/plaf/basic/BasicTextUI.java: Likewise,
15882         * javax/swing/plaf/basic/BasicToolBarUI.java: Likewise,
15883         * javax/swing/plaf/basic/BasicTreeUI.java: Likewise.
15884
15885 2006-06-12  Sven de Marothy  <sven@physto.se>
15886
15887         * java/awt/font/LineBreakMeasurer.java): Implement.
15888
15889 2006-06-12  Keith Seitz  <keiths@redhat.com>
15890
15891         From Kyle Galloway  <kgallowa@redhat.com>:
15892         * gnu/classpath/jdwp/event/SingleStepEvent.java: New file.
15893
15894 2006-06-12  Keith Seitz  <keiths@redhat.com>
15895
15896         From Kyle Galloway  <kgallowa@redhat.com>:
15897         * gnu/classpath/jdwp/event/MethodEntryEvent.java: New file.
15898
15899         * gnu/classpath/jdwp/event/MethodExitEvent.java: New file.
15900
15901 2006-06-12  Roman Kennke  <kennke@aicas.com>
15902
15903         * javax/swing/JComponent.java
15904         (paintDoubleBuffered): Correctly translate and clip the Graphics
15905         instance.
15906         (clipAndTranslateGraphics): New helper method.
15907
15908 2006-06-12  Roman Kennke  <kennke@aicas.com>
15909
15910         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
15911         (copy): Use getClip() to copy the clip. Make copied transform
15912         null when original transform is null. Set clip here.
15913         (setTransform): Correctly update the clip.
15914         (setTransformImpl): New method. Updates the actual transform for
15915         Cairo.
15916         (transform): Correctly update the clip.
15917         (translate): Correctly update the clip.
15918         (clip): Handle null clip and argument correctly.
15919         (clipRect): Avoid creating new Rectangle objects.
15920         (getClip): Get the correct copy of the clip.
15921         (setClip): Correctly handle null argument.
15922         * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java
15923         (CairoSurfaceGraphics): Don't set the clip here. The clip can either
15924         be null or whatever has been set in copy().
15925         * gnu/java/awt/peer/gtk/ComponentGraphics.java
15926         (drawImage): Add translation to the image coordinates.
15927         * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
15928         (VolatileImageGraphics): Don't set clip here. The clip can either
15929         be null or whatever has been set in copy().
15930
15931 2006-06-12  Keith Seitz  <keiths@redhat.com>
15932
15933         From Kyle Galloway  <kgallowa@redhat.com>:
15934         * gnu/classpath/jdwp/event/filters/ExceptionOnlyFilter.java
15935         (forCaught): Removed unused/unnecessary method.
15936         (forUncaught): Likewise.
15937         (matches): Implement.
15938
15939 2006-06-12  Keith Seitz  <keiths@redhat.com>
15940
15941         From Kyle Galloway  <kgallowa@redhat.com>:
15942         * gnu/classpath/jdwp/event/ExceptionEvent.java: New file.
15943
15944 2006-06-12  Keith Seitz  <keiths@redhat.com>
15945
15946         From Kyle Galloway  <kgallowa@redhat.com>:
15947         * gnu/classpath/jdwp/event/Event.java: Added constants for
15948         type.
15949         (getParameter): Changed parameter type from Class to int.
15950         * gnu/classpath/jdwp/event/BreakpointEvent.java (getParameter):
15951         Changed from Class type to constants.
15952         * gnu/classpath/jdwp/event/ClassPrepareEventEvent.java (getParameter):
15953         Likewise.
15954         * gnu/classpath/jdwp/event/ThreadEndEvent.java (getParameter):
15955         Likewise.
15956         * gnu/classpath/jdwp/event/ThreadStartEvent.java (getParameter):
15957         Likewise.
15958         * gnu/classpath/jdwp/event/VmDeathEvent.java (getParameter):
15959         Likewise.
15960         * gnu/classpath/jdwp/event/VmInitEvent.java (getParameter):
15961         Likewise.
15962         * gnu/classpath/jdwp/event/ClassMatchFilter.java (matches):
15963         Likewise.
15964         * gnu/classpath/jdwp/event/ClassOnlyFilter.java (matches):
15965         Likewise.
15966         * gnu/classpath/jdwp/event/InstanceOnlyFilter.java (matches):
15967         Likewise.
15968         * gnu/classpath/jdwp/event/ThreadOnlyFilter.java (matches):
15969         Likewise.
15970
15971 2006-06-12  Lillian Angel  <langel@redhat.com>
15972
15973         * tools/gnu/classpath/tools/appletviewer/StandaloneAppletWindow.java
15974         (StandaloneAppletWindow): Changed title of standalone window.
15975
15976 2006-06-12  Lillian Angel  <langel@redhat.com>
15977
15978         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
15979         (layoutContainer): Added missing selectedComponent assignment.
15980
15981 2006-06-12  Lillian Angel  <langel@redhat.com>
15982
15983         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
15984         (layoutContainer): Added check to prevent exception.
15985
15986 2006-06-12  Tom Tromey  <tromey@redhat.com>
15987
15988         * java/lang/Thread.java (uncaughtException): Javadoc fix.
15989
15990 2006-06-12  Mark Wielaard  <mark@klomp.org>
15991
15992         * gnu/java/awt/peer/gtk/ComponentGraphics.java (hasLock):
15993         New static field.
15994         (ONE): Likewise.
15995         (lock): New method.
15996         (unlock): Likewise.
15997         (draw): Use lock() and unlock().
15998         (fill): Likewise.
15999         (drawRenderedImage): Likewise.
16000         (drawImage): Likewise.
16001         (drawGlyphVector): Likewise.
16002
16003 2006-06-12  Roman Kennke  <kennke@aicas.com>
16004
16005         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
16006         (drawPixels): Include alpha in parameter list.
16007         (cairoFill): Include alpha in parameter list.
16008         (setComposite): Don't modify the color.
16009         (draw(Shape))): Use fill when the current composite has an alpha
16010         of != 1.0, so that the stroked shaped will be composited.
16011         (fill(Shape)): Call cairoFill() with alpha.
16012         (drawImage): Call drawPixels or drawSurface with alpha.
16013         (drawGlyphVector): When composite alpha is != 1.0, render the
16014         outline using fill() to enable compositing for text.
16015         (drawRaster): Call drawPixels with alpha.
16016         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
16017         (nativeDrawSurface): Include alpha in parameter list.
16018         (drawSurface): Include alpha in parameter list. Pass it to
16019         nativeDrawSurface().
16020         * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h
16021         * include/gnu_java_awt_peer_gtk_CairoSurface.h:
16022         Regenerated.
16023         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
16024         (drawPixels): Handle possible alpha for compositing.
16025         (cairoFill): Likewise.
16026         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
16027         (nativeDrawSurface): Handle possible alpha for compositing.
16028
16029 2006-06-12  Mark Wielaard  <mark@klomp.org>
16030
16031         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java (streamImage):
16032         Notify data when completely done. Wait for worker thread to finish.
16033         Rethrow any pending exceptions.
16034         (exception): New field.
16035         (run): Store pending exception.
16036
16037 2006-06-12  Andrew John Hughes  <gnu_andrew@member.fsf.org>
16038
16039         * java/lang/management/ManagementPermission.java:
16040         New file.
16041         
16042 2006-06-12  Raif S. Naffah  <raif@swiftdsl.com.au>
16043
16044         * doc/tools.texinfo: Replaced original author with "The GNU Classpath Team".
16045
16046 2006-06-12  Raif S. Naffah  <raif@swiftdsl.com.au>
16047
16048         * gnu/javax/security/auth/login/ConfigFileParser.java (validateClassName):
16049         Use String.charAt().
16050
16051 2006-06-11  Thomas Fitzsimmons  <fitzsim@redhat.com>
16052
16053         * doc/tools.texinfo
16054         (Applet Tools): New chapter.
16055         (appletviewer Tool): New section.
16056         (gcjwebplugin): New section.
16057
16058 2006-06-11  Mark Wielaard  <mark@klomp.org>
16059
16060         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java (streamImage):
16061         Takes GdkPixbufWriter.
16062         (GdkPixbufWriter): Implements Runnable.
16063         (write(IIOMetadata,IIOImage,ImageWriteParam)): Start Thread for
16064         data processing.
16065         (DATADONE): New static final field.
16066         (data): New field.
16067         (write(byte[])): New method.
16068         (run): Likewise.
16069         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
16070         (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_initStaticState):
16071         Get dataOutputWriteID from writeClass.
16072         (stream_save_request): Change stream field to writer.
16073         (save_to_stream): Remove FIXME, call writer.
16074         (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_streamImage):
16075         Store writer.
16076
16077 2006-06-11  Andrew John Hughes  <gnu_andrew@member.fsf.org>
16078
16079         * NEWS:
16080         Mention new VM interface and use of properties.
16081         * doc/vmintegration.texinfo:
16082         Update with new gnu.java.lang.management section.
16083         * gnu/java/lang/management/RuntimeMXBeanImpl.java:
16084         New file.
16085         * java/lang/management/ManagementFactory.java:
16086         (getRuntimeMXBean()): Implemented.
16087         * vm/reference/gnu/java/lang/management/RuntimeMXBeanImpl.java:
16088         New VM interface file.
16089         
16090 2006-06-11  Raif S. Naffah  <raif@swiftdsl.com.au>
16091
16092         PR Classpath/26065
16093         * gnu/javax/security/auth/login/GnuConfiguration.java: Condition all trace/
16094         debug code based on Configuration.DEBUG.
16095         Use logger instead of STDOUT and ot STDERR.
16096         * gnu/javax/security/auth/login/ConfigFileParser.java: Likewise.
16097         * gnu/javax/crypto/sasl/SaslOutputStream.java: Likewise.
16098         * gnu/javax/crypto/sasl/SaslInputStream.java: Likewise.
16099         * gnu/javax/crypto/sasl/srp/SRPServer.java: Likewise.
16100         * gnu/javax/crypto/sasl/srp/SRPClient.java: Likewise.
16101         * gnu/javax/crypto/prng/CSPRNG.java: Likewise.
16102         * gnu/javax/crypto/pad/TBC.java: Likewise.
16103         * gnu/javax/crypto/pad/PKCS7.java: Likewise.
16104         * gnu/javax/crypto/pad/PKCS1_V1_5.java: Likewise.
16105         * gnu/javax/crypto/pad/BasePad.java: Likewise.
16106         * gnu/javax/crypto/mac/OMAC.java: Likewise.
16107         * gnu/javax/crypto/keyring/PasswordEncryptedEntry.java: Likewise.
16108         * gnu/javax/crypto/keyring/PasswordAuthenticatedEntry.java: Likewise.
16109         * gnu/javax/crypto/keyring/GnuPublicKeyring.java: Likewise.
16110         * gnu/javax/crypto/keyring/GnuPrivateKeyring.java: Likewise.
16111         * gnu/javax/crypto/keyring/EnvelopeEntry.java: Likewise.
16112         * gnu/javax/crypto/keyring/Entry.java: Likewise.
16113         * gnu/javax/crypto/key/srp6/SRPKeyPairGenerator.java: Likewise.
16114         * gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java: Likewise.
16115         * gnu/javax/crypto/jce/prng/UMacRandomSpi.java: Likewise.
16116         * gnu/javax/crypto/jce/prng/ICMRandomSpi.java: Likewise.
16117         * gnu/javax/crypto/jce/keyring/GnuKeyring.java: Likewise.
16118         * gnu/javax/crypto/cipher/Twofish.java: Likewise.
16119         * gnu/javax/crypto/cipher/Khazad.java: Likewise.
16120         * gnu/javax/crypto/cipher/Rijndael.java: Likewise.
16121         * gnu/javax/crypto/cipher/BaseCipher.java: Likewise.
16122         * gnu/javax/crypto/cipher/Anubis.java: Likewise.
16123         * gnu/java/security/Properties.java: Likewise.
16124         * gnu/java/security/x509/X509CRLEntry.java: Likewise.
16125         * gnu/java/security/x509/X509CRL.java: Likewise.
16126         * gnu/java/security/x509/ext/Extension.java: Likewise.
16127         * gnu/java/security/util/Prime2.java: Likewise.
16128         * gnu/java/security/util/Base64.java: Likewise.
16129         * gnu/java/security/sig/rsa/RSAPSSSignature.java: Likewise.
16130         * gnu/java/security/sig/rsa/EMSA_PSS.java: Likewise.
16131         * gnu/java/security/provider/PKIXCertPathValidatorImpl.java: Likewise.
16132         * gnu/java/security/pkcs/SignerInfo.java: Likewise.
16133         * gnu/java/security/pkcs/PKCS7SignedData.java: Likewise.
16134         * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java: Likewise.
16135         * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java: Likewise.
16136         * gnu/java/security/key/rsa/RSAKeyPairGenerator.java: Likewise.
16137         * gnu/java/security/key/rsa/GnuRSAPrivateKey.java: Likewise.
16138         * gnu/java/security/key/dss/DSSPrivateKey.java: Likewise.
16139         * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java: Likewise.
16140         * gnu/java/security/key/dss/DSSKeyPairGenerator.java: Likewise.
16141         * gnu/java/security/jce/sig/SignatureAdapter.java: Likewise.
16142         * gnu/java/security/jce/sig/EncodedKeyFactory.java: Likewise.
16143         * gnu/java/security/hash/Whirlpool.java: Likewise.
16144
16145 2006-06-11  Mark Wielaard  <mark@klomp.org>
16146
16147         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_FreetypeGlyphVector.c
16148         (Java_gnu_java_awt_peer_gtk_FreetypeGlyphVector_getGlyphs):
16149         Remove unused variable glyph_index.
16150
16151 2006-06-11  Mark Wielaard  <mark@klomp.org>
16152
16153         * gnu/java/awt/peer/gtk/CairoGraphics2D.java (drawImage):
16154         Don't recurse, return false if not an BufferedImage and no image
16155         source available.
16156         * gnu/java/awt/peer/gtk/ComponentGraphics.java (draw): Add
16157         end_gdk_drawing() to finally block.
16158         (fill): Likewise.
16159         (drawRenderedImage): Likewise.
16160         (drawImage): Likewise.
16161         (drawGlyphVector): Likewise.
16162
16163 2006-06-11  Raif S. Naffah  <raif@swiftdsl.com.au>
16164
16165         * doc/tools.texinfo: Added text for new -cacert command.
16166         Re-structured sections.
16167         * resource/gnu/classpath/tools/keytool/messages.properties: Added messages
16168         for -cacert command.
16169         * tools/gnu/classpath/tools/keytool/Main.java (CACERT_CMD): New constant.
16170         (_CACERT): Likewise.
16171         (shutdownThread): New field.
16172         (Main): Install shutdown thread.
16173         (main): Uninstall shutdown thread.
16174         (start): Handle new -cacert command.
16175         (getParser): Likewise.
16176         (teardown): Increased visibility.
16177         (ShutdownHook): New inner class.
16178         * tools/gnu/classpath/tools/keytool/CACertCmd.java: New file.
16179
16180 2006-06-11  Sven de Marothy  <sven@physto.se>
16181
16182         * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
16183         (setupGlyphMetrics): New method. Add glyphmetrics caching.
16184         (getOutline): Operate on the shape directly.
16185         * gnu/java/awt/peer/gtk/GdkFontPeer.java
16186         (getGlyphMetrics,putGlyphMetrics): Add GlyphMetrics caching.
16187         * include/gnu_java_awt_peer_gtk_FreetypeGlyphVector.h
16188         (getGlyph renamed getGlyphs)
16189         * java/awt/geom/AffineTransform.java
16190         (getTranslateInstance): Set fields directly.
16191         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_FreetypeGlyphVector.c
16192         (getGlyphs): Get all glyph codes at once.
16193         
16194 2006-06-11  Raif S. Naffah  <raif@swiftdsl.com.au>
16195
16196         PR Classpath/27853
16197         * gnu/javax/crypto/RSACipherImpl.java (engineDoFinal): Was short by 1 byte.
16198
16199 2006-06-11  Sven de Marothy  <sven@physto.se>
16200
16201         * java/awt/font/TextLayout.java
16202         (getLogicalHighlightShape): Add check.
16203         * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
16204         (getLogicalBounds, getGlyphPositions): Cache bounds, positions.
16205
16206 2006-06-11  Raif S. Naffah  <raif@swiftdsl.com.au>
16207
16208         * gnu/javax/security/auth/login/ConfigFileParser.java (validateClassName):
16209         Check that every component of 'cn' starts with a valid Java identifier char.
16210
16211 2006-06-10  Tom Tromey  <tromey@redhat.com>
16212
16213         * java/io/File.java (pathSeparator): Typo fix.
16214
16215 2006-06-10  Mark Wielaard  <mark@klomp.org>
16216
16217         * native/jni/gtk-peer/cairographics2d.h (cp_gtk_get_cairo_t):
16218         Removed.
16219         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
16220         Mark all unused parameters.
16221         (cp_gtk_get_cairo_t): Removed.
16222         (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoSetMatrix):
16223         Don't mix declerations and statements.
16224         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c:
16225         Mark all unused parameters.
16226         (Java_gnu_java_awt_peer_gtk_CairoSurface_nativeDrawSurface):
16227         Get cairographics2d pointer directly.
16228         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c
16229         (Java_gnu_java_awt_peer_gtk_GdkTextLayout_cairoDrawGdkTextLayout):
16230         Use jlong to pass pointer.
16231         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c:
16232         Mark all unused parameters.
16233         * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Regenerated.
16234         * include/gnu_java_awt_peer_gtk_CairoSurface.h: Regenerated.
16235         * include/gnu_java_awt_peer_gtk_ComponentGraphics.h: Regenerated.
16236         * include/gnu_java_awt_peer_gtk_GdkTextLayout.h: Regenerated.
16237         * include/gnu_java_awt_peer_gtk_GtkVolatileImage.h: Regenerated.
16238         * include/java_io_VMFile.h: Regenerated.
16239
16240 2006-06-10  Roman Kennke  <kennke@aicas.com>
16241
16242         * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
16243         (VolatileImageGraphics(VolatileImageGraphics)): Use clipRect()
16244         instead of setClip(), so that an already present clip is intersected
16245         and not resetted.
16246
16247 2006-06-10  Mark Wielaard  <mark@klomp.org>
16248
16249         * gnu/java/awt/peer/gtk/GdkFontPeer.java (GdkFontLineMetrics):
16250         Call getSize() to avoid accessor method.
16251
16252 2006-06-10  Mark Wielaard  <mark@klomp.org>
16253
16254         * javax/swing/text/html/HTMLDocument.java (addSpecialElement):
16255         Qualify ElementSpec.
16256
16257 2006-06-10  Mark Wielaard  <mark@klomp.org>
16258
16259         * lib/.cvsignore: Add sun.
16260         * lib/Makefile.am (dist-hook): Likewise.
16261
16262 2006-06-10  Roman Kennke  <kennke@aicas.com>
16263
16264         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
16265         * gnu/java/awt/peer/gtk/CairoSurface.java
16266         * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java
16267         * gnu/java/awt/peer/gtk/ComponentGraphics.java
16268         * gnu/java/awt/peer/gtk/GtkVolatileImage.java
16269         * native/jni/gtk-peer/cairographics2d.h
16270         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
16271         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
16272         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
16273         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c:
16274         Changed method signatures and calls to pass native pointers directly
16275         into the JNI code, in order to avoid costly lookups on each
16276         JNI call.
16277         * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h,
16278         * include/gnu_java_awt_peer_gtk_CairoSurface.h,
16279         * include/gnu_java_awt_peer_gtk_ComponentGraphics.h,
16280         * include/gnu_java_awt_peer_gtk_GtkVolatileImage.h:
16281         Regenerated
16282
16283 2006-06-10  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
16284
16285         PR 27973
16286         * javax/swing/text/DefaultStyledDocument.java 
16287         (ElementBuffer.insertContentTag):
16288         Do not recreate leaves and do not remove elements here. 
16289
16290 2006-06-10  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
16291
16292         * javax/swing/text/html/HTMLDocument.java
16293         (HTMLReader.HiddenAction): Implemented.
16294
16295 2006-06-10  Roman Kennke  <kennke@aicas.com>
16296
16297         * javax/swing/RepaintManager.java
16298         (getVolatileOffscreenBuffer): Store the created buffer.
16299         * javax/swing/JComponent.java
16300         (paintDoubleBuffered): Try to use a volatile offscreen buffer
16301         for better performance.
16302
16303 2006-06-10  Roman Kennke  <kennke@aicas.com>
16304
16305         * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
16306         (VolatileImageGraphics(VolatileImageGraphics)): Initialize native
16307         context correctly.
16308         (getRealBounds): Overridden to return the correct bounds.
16309
16310 2006-06-10  Roman Kennke  <kennke@aicas.com>
16311
16312         * javax/swing/plaf/metal/MetalButtonUI.java
16313         (update): Fixed to paint the gradient under the correct conditions.
16314         (updateWidthGradient): Removed.
16315         (isToolbarButton): New helper method.
16316         (isDrawingGradient): New helper method.
16317
16318 2006-06-09  Roman Kennke  <kennke@aicas.com>
16319
16320         * javax/swing/JTabbedPane.java
16321         (setSelectedIndex): Don't change the visibility of the components,
16322         this is done by the UI class.
16323         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
16324         (TabbedPaneLayout.layoutContainer): Change visibility of component
16325         here, depending on the selected index. Only do this if the new
16326         selected component is not null. Some programs seem to expect
16327         this.
16328         (visibleComponent): New field.
16329         (getVisibleComponent): Changed to return visibleComponent field.
16330         (setVisibleComponent): Changed to set the visibility of
16331         the old and new visible component.
16332
16333 2006-06-09  Roman Kennke  <kennke@aicas.com>
16334
16335         * javax/swing/JComponent.java
16336         (paintChildrenOptimized): Paint component with a new Graphics
16337         object to protect the other painting code from modifications
16338         done in that object, and avoid cleanup ops on possibly dispose()ed
16339         Graphics object.
16340
16341 2006-06-09  Sven de Marothy  <sven@physto.se>
16342
16343         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
16344         (Java_gnu_java_awt_peer_gtk_ComponentGraphics_disposeSurface):
16345         Use GTK locks while disposing (Xlib) surface.
16346
16347 2006-06-09  Tom Tromey  <tromey@redhat.com>
16348
16349         * lib/Makefile.am (install-data-local): Copy 'sun' files.
16350         (uninstall-local): Delete 'sun' directory.
16351         (glibj.zip): Include 'sun' classes.
16352         (clean-local): Delete 'sun' directory.
16353         * lib/gen-classlist.sh.in: Search 'sun' subdirectories.
16354
16355 2006-06-09  Roman Kennke  <kennke@aicas.com>
16356
16357         * gnu/java/awt/java2d/AbstractGraphics2D.java
16358         (drawImage): Fixed scaling.
16359         (fillShape): Removed offset handling.
16360         (fillShapeImpl): Limit scanlining to device bounds.
16361         (getSegments): Removed offset handling.
16362         * gnu/java/awt/java2d/PolyEdge.java
16363         (toString): Include isClip flag in output.
16364
16365 2006-06-08  Sven de Marothy  <sven@physto.se>
16366
16367         * java/awt/font/TextLayout.java
16368         (getOutline): Allow null transform.
16369
16370 2006-06-08  Sven de Marothy  <sven@physto.se>
16371
16372         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
16373         (drawString): Use TextLayout instead of GlyphVector.
16374
16375 2006-06-08  Sven de Marothy  <sven@physto.se>
16376
16377         * java/text/Bidi.java: Treat WS as neutral for rules N1 & N2.
16378         * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
16379         New constructor for bidirectionality.
16380         (getGlyphMetrics): Return whitespace glyphs.
16381         (getLogicalBounds): Offset rectangles to correct positions.
16382         * gnu/java/awt/peer/gtk/GdkFontPeer.java
16383         (getBaselineFor): Default to ROMAN_BASELINE.
16384         (GdkFontLineMetrics): Guess some values for underline and 
16385         strikethrough.
16386         (layoutGlyphVector): Use bidirectionality.
16387         * java/awt/font/TextLayout.java: Implement, mostly.
16388         
16389 2006-06-09  Anthony Green  <green@redhat.com>
16390
16391         PR classpath/27888:
16392         * javax/swing/text/GapContent.java (binarySearch): Use unsigned shift.
16393         * java/util/Collections.java (binarySearch): Use unsigned shift.
16394         * java/util/Arrays.java (binarySearch): Use unsigned shift.
16395
16396 2006-06-09  Tom Tromey  <tromey@redhat.com>
16397
16398         * tools/.cvsignore: Added .deps.
16399
16400 2006-06-09  Kazuya Ujihara  <ujihara@aurora.dti.ne.jp>
16401
16402         PR classpath/27966:
16403         * gnu/javax/security/auth/login/ConfigFileParser.java
16404         (validateClassName): Quote '.' in regexp.
16405
16406 2006-06-09  Tom Tromey  <tromey@redhat.com>
16407
16408         PR classpath/23863:
16409         * native/fdlibm/dtoa.c (_dtoa): Free contents of _Jv_reent when
16410         finished.
16411         * native/fdlibm/mprec.c: New version from newlib.  Commented out
16412         some includes.  Added <assert.h>.
16413         (_reent, _Bigint): New defines.
16414         (_REENT_CHECK_MP, _REENT_MP_FREELIST, _REENT_MP_P5S): Likewise.
16415         (__ULong, __Long): New types.
16416         (_calloc_r): New function.
16417         (Balloc): Dynamically add new _freelist entries as needed.
16418         * native/fdlibm/mprec.h (struct _Jv_Bigint): Don't use
16419         MAX_BIGNUMS to size _x[].
16420         (struct _Jv_reent): _freelist now a _Jv_Bigint**.  Removed
16421         _allocation_map, num.  Added _max_k.
16422
16423 2006-06-09  Roman Kennke  <kennke@aicas.com>
16424
16425         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
16426         (drawGlyphVector): Added fallback for non-FreetypeGlyphVector
16427         implementations.
16428
16429 2006-06-09  David Gilbert  <david.gilbert@object-refinery.com>
16430
16431         * java/awt/image/BufferedImage.java
16432         (BufferedImage(int, int, int)): Added API docs,
16433         (getProperty(String)): Return correct value for undefined properties,
16434         (getPropertyNames()): Added comments and removed FIXME.
16435
16436 2006-06-09  Thomas Fitzsimmons  <fitzsim@redhat.com>
16437
16438         * native/plugin/gcjwebplugin.cc (PLUGIN_ERROR_THREE): New macro.
16439         (NP_Initialize): Use PLUGIN_ERROR_THREE in place of g_strconcat.
16440
16441 2006-06-09  Francis Kung  <fkung@redhat.com>
16442
16443         * javax/swing/plaf/basic/BasicComboBoxRenderer.java:
16444         (getPreferredSize): Return correct height for null or empty 
16445         items.
16446
16447 2006-06-09  David Gilbert  <david.gilbert@object-refinery.com>
16448
16449         * java/awt/datatransfer/DataFlavor.java
16450         (readExternal): Mark as stub,
16451         (writeExternal): Likewise,
16452         * java/awt/dnd/DropTargetContext.java
16453         (dropComplete): Mark as stub,
16454         (acceptDrag): Likewise,
16455         (rejectDrag): Likewise,
16456         (acceptDrop): Likewise,
16457         (rejectDrop): Likewise,
16458         (getCurrentDataFlavors): Likewise,
16459         (getTransferable): Likewise,
16460         * java/awt/dnd/DropTargetDropEvent.java
16461         (dropComplete): Mark as stub.
16462
16463 2006-06-09  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
16464
16465         * gnu/javax/swing/text/html/parser/SmallHtmlAttributeSet.java
16466         (constructor): Do not lowercase the values.
16467         * javax/swing/text/html/HTMLDocument.java
16468         (HTMLReader.addSpecialElement): Implemented.
16469         * examples/gnu/classpath/examples/swing/HtmlDemo.java: New file.
16470
16471 2006-06-09  Raif S. Naffah  <raif@swiftdsl.com.au>
16472
16473         On behalf of Matthew Wringe <mwringe@redhat.com>
16474         * gnu/java/security/Registry.java (ISO10126_PAD): New constant.
16475         * gnu/javax/crypto/pad/ISO10126.java: New class.
16476         * gnu/javax/crypto/pad/PadFactory.java (names): New field.
16477         (getInstance): Added support for ISO-10126 scheme.
16478         (getNames): Likewise.
16479         Cache result for speed.
16480
16481 2006-06-09  Raif S. Naffah  <raif@swiftdsl.com.au>
16482
16483         * gnu/javax/crypto/pad/BasePad.java (selfTest): Re-factored to allow more
16484         flexible self-test by sub-classes.
16485         (test1BlockSize): New method.
16486
16487 2006-06-09  David Gilbert  <david.gilbert@object-refinery.com>
16488
16489         * javax/swing/plaf/basic/BasicLookAndFeel.java
16490         (initComponentDefaults): Corrected 'ScrollBar.focusInputMap' entry,
16491         * javax/swing/plaf/basic/BasicScrollBarUI.java
16492         (installKeyboardActions): Implemented,
16493         (uninstallKeyboardActions): Implemented,
16494         (getInputMap): New method,
16495         (getActionMap): New method,
16496         (createActionMap): New method,
16497         (installUI): Call installKeyboardActions(),
16498         (uninstallUI): Call uninstallKeyboardActions().
16499         
16500 2006-06-09  David Gilbert  <david.gilbert@object-refinery.com>
16501
16502         * javax/swing/plaf/basic/BasicScrollPaneUI.java
16503         (getActionMap): Use correct key to store action map.
16504
16505 2006-06-09  Jeroen Frijters  <jeroen@frijters.net>
16506
16507         * gnu/java/awt/font/opentype/truetype/VirtualMachine.java
16508         (executeInstruction): Added NOT support.
16509
16510 2006-06-09  Jeroen Frijters  <jeroen@frijters.net>
16511
16512         * sun/reflect/annotation/AnnotationInvocationHandler.java:
16513         New file.
16514
16515 2006-06-08  Tom Tromey  <tromey@redhat.com>
16516
16517         * java/text/Bidi.java (resolveNeutralTypes): Set j'th slot
16518         of 'types'.
16519
16520 2006-06-09  Andrew John Hughes  <gnu_andrew@member.fsf.org>
16521
16522         * java/lang/management/RuntimeMXBean.java:
16523         New file.
16524         
16525 2006-06-08  Lillian Angel  <langel@redhat.com>
16526
16527         * native/plugin/gcjwebplugin.cc:
16528         (NP_Shutdown): Freed whitelist_filename.
16529
16530 2006-06-08  Lillian Angel  <langel@redhat.com>
16531
16532         * native/plugin/Makefile.am:
16533         Removed DATA_DIRECTORY.
16534         * native/plugin/gcjwebplugin.cc:
16535         Added new global fields for whitelist_file
16536         and data_directory. Removed WHITELIST_FILE.
16537         (NP_Initialize): Initialized new fields. Also,
16538         Changed to use new fields.
16539         (NP_Shutdown): Freed data_directory.
16540         (GCJ_New): Changed to use new fields.
16541         (plugin_ask_user_about_documentbase): Likewise.
16542
16543 2006-06-08  Lillian Angel  <langel@redhat.com>
16544
16545         * native/plugin/Makefile.am:
16546         Changed DATA_DIRECTORY to be ~/.gcjwebplugin.
16547         * native/plugin/gcjwebplugin.cc:
16548         Changed all instances of PLUGIN_DATA_DIRECTORY
16549         to DATA_DIRECTORY.
16550
16551 2006-06-08  Roman Kennke  <kennke@aicas.com>
16552
16553         * java/awt/LightweightDispatcher.java
16554         (handleMouseEvent): Replaced calls to AWTUtilities.convertPoint()
16555         with convertPointToChild(). This is more efficient and avoids
16556         problems with getLocationOnScreen().
16557         (findTarget): Check for component beeing showing() early.
16558         Simplified AWTUtilities.convertPoint() to a simple substraction
16559         operation.
16560         (convertPointToChild): New helper method.
16561
16562 2006-06-08  Thomas Fitzsimmons  <fitzsim@redhat.com>
16563
16564         * native/plugin/gcjwebplugin.cc (SECURITY_DESCRIPTION): Update
16565         message.
16566
16567 2006-06-08  Tom Fitzsimmons  <fitzsim@redhat.com>
16568             Lillian Angel  <langel@redhat.com>
16569
16570         * native/plugin/gcjwebplugin.cc
16571         (NP_Shutdown): Added code to free plugin mutex and whitelist file.
16572         Also, reset initialized field.
16573
16574 2006-06-08  Lillian Angel  <langel@redhat.com>
16575
16576         * javax/swing/plaf/basic/BasicProgressBarUI.java
16577         (paintString): Fixed to paint string at the correct location.
16578
16579 2006-06-08  Roman Kennke  <kennke@aicas.com>
16580
16581         * javax/swing/plaf/basic/BasicTreeUI.java
16582         (createDefaultActions): Added new actions.
16583         (TreePageAction.TreePageAction): Set action name.
16584         (TreePageAction.actionPerformed): Implemented.
16585         (TreePageAction.isEnabled): Implemented.
16586         (TreeToggleAction.TreePageAction): Set action name.
16587         (TreeToggleAction.actionPerformed): Implemented.
16588         (TreeToggleAction.isEnabled): Implemented.
16589         (TreeTraverseAction.TreeTraverseAction): Set action name.
16590         (TreeTraverseAction.actionPerformed): Use action name as command.
16591         (TreeTraverseAction.isEnabled): Implemented.
16592
16593 2006-06-08  Roman Kennke  <kennke@aicas.com>
16594
16595         * javax/swing/plaf/basic/BasicTreeUI.java
16596         (installKeyboardActions): Rewritten to correctly install the UI
16597         input and action maps.
16598         (getActionMap): New helper method.
16599         (createDefaultActionMap): New helper method.
16600         (TreeHomeAction.TreeHomeAction()): Implemented.
16601         (TreeHomeAction.actionPerformed): Implemented.
16602         (TreeHomeAction.isEnabled): Implemented.
16603         (TreeIncrementAction.TreeIncrementAction()): Implemented.
16604         (TreeIncrementAction.actionPerformed): Use action name as command.
16605         (TreeIncrementAction.isEnabled): Implemented.
16606
16607 2006-06-08  Mark Wielaard  <mark@klomp.org>
16608
16609         PR 27917
16610         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c
16611         (Java_gnu_java_awt_peer_gtk_GtkImage_loadImageFromData): Ref pixbuf
16612         and unref loader.
16613
16614 2006-06-08  Mark Wielaard  <mark@klomp.org>
16615
16616         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
16617         (attrs): Removed unused static.
16618
16619 2006-06-08  David Gilbert  <david.gilbert@object-refinery.com>
16620
16621         * javax/swing/plaf/basic/BasicScrollPaneUI.java
16622         (getInputMap): New method,
16623         (getActionMap): New method,
16624         (createActionMap): New method,
16625         (installKeyboardActions): Implemented,
16626         (uninstallKeyboardActions): Implemented.
16627
16628 2006-06-08  Robert Schuster  <robertschuster@fsfe.org>
16629
16630         * javax/swing/border/MatteBorder.java:
16631         (MatteBorder(int,int,int,int,Icon)): Removed if-statement and exception
16632         throwing.
16633         (paintBorder): Added if-statement to abort painting early.
16634
16635 2006-06-08  Robert Schuster  <robertschuster@fsfe.org>
16636
16637         Fixes PR27864.
16638         * gnu/xml/dom/DomIterator.java:
16639         (successor): Changed expression.
16640
16641 2006-06-08  Sven de Marothy  <sven@physto.se>
16642
16643         * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
16644         (defaultLayout): Do kerning.
16645         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_FreetypeGlyphVector.c
16646         (getKerning): Correct class name, removed unused variable.
16647
16648 2006-06-07  Thomas Fitzsimmons  <fitzsim@redhat.com>
16649
16650         * gnu/java/awt/peer/qt/QtToolkit.java (initToolkit): Load
16651         libqtpeer.so unconditionally.
16652
16653 2006-06-07  Andrew John Hughes  <gnu_andrew@member.fsf.org>
16654
16655         * java/util/InputMismatchException.java:
16656         Documented.
16657         
16658 2006-06-07  Andreas Tobler  <a.tobler@schweiz.ch>
16659
16660         * native/jawt/Makefile.am (AM_LDFLAGS): Add XTEST_LIBS.
16661
16662 2006-06-07  Roman Kennke  <kennke@aicas.com>
16663
16664         * javax/swing/plaf/basic/BasicTreeUI.java
16665         (completeUIUninstall): Implemented.
16666         (uninstallUI): Moved some bits to completeUIUninstall(). Complete
16667         editing before uninstalling anything.
16668         (isToggleEvent): Implemented.
16669         (selectPathForEvent): Make use of isToggleEvent().
16670         (ComponentHandler.componentMoved): Implemented.
16671         (ComponentHandler.startTimer): Implemented.
16672         (ComponentHandler.getScrollPane): Implemented.
16673         (ComponentHandler.actionPerformed): Implemented.
16674
16675 2006-06-07  Francis Kung  <fkung@redhat.com>
16676
16677         * javax/swing/JMenuBar.java:
16678         (getSubElements): Do not return null values.
16679
16680 2006-06-07  Roman Kennke  <kennke@aicas.com>
16681
16682         PR 27902
16683         * gnu/regexp/BacktrackStack.java
16684         * gnu/regexp/CharIndexed.java
16685         * gnu/regexp/CharIndexedCharArray.java
16686         * gnu/regexp/CharIndexedCharSequence.java
16687         * gnu/regexp/CharIndexedInputStream.java
16688         * gnu/regexp/CharIndexedString.java
16689         * gnu/regexp/CharIndexedStringBuffer.java
16690         * gnu/regexp/RE.java
16691         * gnu/regexp/REException.java
16692         * gnu/regexp/REFilterInputStream.java
16693         * gnu/regexp/REMatch.java
16694         * gnu/regexp/REMatchEnumeration.java
16695         * gnu/regexp/RESyntax.java
16696         * gnu/regexp/REToken.java
16697         * gnu/regexp/RETokenAny.java
16698         * gnu/regexp/RETokenBackRef.java
16699         * gnu/regexp/RETokenChar.java
16700         * gnu/regexp/RETokenEnd.java
16701         * gnu/regexp/RETokenEndOfPreviousMatch.java
16702         * gnu/regexp/RETokenEndSub.java
16703         * gnu/regexp/RETokenIndependent.java
16704         * gnu/regexp/RETokenLookAhead.java
16705         * gnu/regexp/RETokenLookBehind.java
16706         * gnu/regexp/RETokenNamedProperty.java
16707         * gnu/regexp/RETokenOneOf.java
16708         * gnu/regexp/RETokenPOSIX.java
16709         * gnu/regexp/RETokenRange.java
16710         * gnu/regexp/RETokenRepeated.java
16711         * gnu/regexp/RETokenStart.java
16712         * gnu/regexp/RETokenWordBoundary.java
16713         * gnu/regexp/UncheckedRE.java
16714         * gnu/java/util/regex/BacktrackStack.java
16715         * gnu/java/util/regex/CharIndexed.java
16716         * gnu/java/util/regex/CharIndexedCharArray.java
16717         * gnu/java/util/regex/CharIndexedCharSequence.java
16718         * gnu/java/util/regex/CharIndexedInputStream.java
16719         * gnu/java/util/regex/CharIndexedString.java
16720         * gnu/java/util/regex/CharIndexedStringBuffer.java
16721         * gnu/java/util/regex/RE.java
16722         * gnu/java/util/regex/REException.java
16723         * gnu/java/util/regex/REFilterInputStream.java
16724         * gnu/java/util/regex/REMatch.java
16725         * gnu/java/util/regex/REMatchEnumeration.java
16726         * gnu/java/util/regex/RESyntax.java
16727         * gnu/java/util/regex/REToken.java
16728         * gnu/java/util/regex/RETokenAny.java
16729         * gnu/java/util/regex/RETokenBackRef.java
16730         * gnu/java/util/regex/RETokenChar.java
16731         * gnu/java/util/regex/RETokenEnd.java
16732         * gnu/java/util/regex/RETokenEndOfPreviousMatch.java
16733         * gnu/java/util/regex/RETokenEndSub.java
16734         * gnu/java/util/regex/RETokenIndependent.java
16735         * gnu/java/util/regex/RETokenLookAhead.java
16736         * gnu/java/util/regex/RETokenLookBehind.java
16737         * gnu/java/util/regex/RETokenNamedProperty.java
16738         * gnu/java/util/regex/RETokenOneOf.java
16739         * gnu/java/util/regex/RETokenPOSIX.java
16740         * gnu/java/util/regex/RETokenRange.java
16741         * gnu/java/util/regex/RETokenRepeated.java
16742         * gnu/java/util/regex/RETokenStart.java
16743         * gnu/java/util/regex/RETokenWordBoundary.java
16744         * gnu/java/util/regex/UncheckedRE.java
16745         Moved gnu.regexp classes to gnu.java.util.regex package.
16746         * java/util/regex/Matcher.java
16747         * java/util/regex/Pattern.java
16748         Adjusted import statements for new package name for gnu regexp.
16749
16750 2006-06-07  Tom Tromey  <tromey@redhat.com>
16751
16752         PR classpath/27905:
16753         * gnu/java/nio/charset/Provider.java (loadExtended): Now synchronized.
16754         Added missing charsets.
16755         (charsetForName): Don't check 'extendedLoaded'.
16756
16757 2006-06-07  Roman Kennke  <kennke@aicas.com>
16758
16759         PR 27833
16760         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
16761         (clip(Shape)): Implemented correctly, so that the current shape
16762         gets intersected by the parameter shape.
16763
16764 2006-06-07  Lillian Angel  <langel@redhat.com>
16765
16766         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
16767         (getTabBounds): If this method is called with a tab index
16768         that is not in the rects array, we need to re-layout the container
16769         so it is created.
16770
16771 2006-06-07  Lillian Angel  <langel@redhat.com>
16772
16773         * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
16774         (FreetypeGlyphVector): Removed assignment. Caused compilation error.
16775         * java/lang/String.java
16776         (codePointCount): Fixed check to match API. Shouldn't throw exception
16777         if end == count. end is 1 more than the endIndex, so end == count is 
16778         possible.
16779
16780 2006-06-07  Gary Benson  <gbenson@redhat.com>
16781
16782         PR 24895
16783         * native/jni/java-io/java_io_VMFile.c
16784         (Java_java_io_VMFile_toCanonicalForm): New method.
16785         * configure.ac: Added checks for lstat and readlink.
16786         * include/java_io_VMFile.h: Added new method.
16787         * vm/reference/java/io/VMFile.java: Use new method.
16788         * gnu/java/io/PlatformHelper.java (toCanonicalForm): Removed.
16789         * NEWS: Documented the above.
16790         * java/io/File.java: Javadoc fix.
16791
16792 2006-06-07  Roman Kennke  <kennke@aicas.com>
16793
16794         PR 27920
16795         * javax/swing/JTree.java
16796         (JTree()): Initialize with default model.
16797         (JTree(TreeModel)): Clear expanded state hashtable. Added comment
16798         on the updateUI() / setModel() order.
16799         (setModel): Correctly (un-)setup the listeners. Clear the expanded
16800         paths.
16801         * javax/swing/plaf/basic/BasicTreeUI.java
16802         (BasicTreeUI()): Initialize listeners in installListeners().
16803         (setModel): Complete editing on model change. Correctly resetup
16804         the listeners. Update the layout cache accordingly.
16805         (setShowRootHandles): Complete editing and update layout. Do not
16806         call back into the JTree, this could cause cycles.
16807         (prepareForUIInstall): Implemented. Moved some init code from
16808         installUI() to this method.
16809         (completeUIInstall): Implemented. Moved some init code from
16810         installUI() to this method.
16811         (createDefaultCellEditor): Check for type of renderer, and install
16812         with null renderer when not DefaultTreeCellRenderer.
16813         (updateLayoutCacheExpandedNodes): Added null check for tree root
16814         to avoid NPE.
16815         (updateRenderer): Call updateEditor().
16816         (installListeners): Initialize the listeners here. Added some null
16817         checks to avoid NPEs.
16818         (installUI): Moved some init code to prepareForUIInstall() and
16819         completeUIInstall().
16820         (completeEditing): Return immediately if editing component is null
16821         or if the setting is to not stop editing on complete editing.
16822         (checkForClickInExpandControl): Call handleExpandControlClick()
16823         instead of toggleExpandState() directly.
16824         (isLocationInExpandControl): Rewritten to correctly determine the
16825         expand click location.
16826         (MouseHandler.mousePressed): Rewritten to make better use of the
16827         instance methods of BasicTreeUI to handle the click.
16828         (PropertyHandler.propertyChange): Handle model and cell renderer
16829         updates.
16830         * javax/swing/tree/DefaultTreeCellEditor.java
16831         (DefaultTreeCellEditor): Removed initialization of the icon. This
16832         is done so that the constructor can deal with null renderer as the
16833         RI does. Maybe this needs more fixing.
16834         * javax/swing/tree/TreePath.java
16835         (isDescendant): Fixed this method. The previous version did too
16836         much and compared the wrong things, which lead to a ClassCastException
16837         in equals().
16838         * javax/swing/tree/VariableHeightLayoutCache.java
16839         (update): Do nothing when model is null.
16840         (setModel): Clear the tables and update the layout. Added null
16841         check to prevent NPE.
16842
16843 2006-06-07  Sven de Marothy  <sven@physto.se>
16844
16845         * gnu/java/awt/peer/gtk/GdkGlyphVector: Removed file.
16846
16847 2006-06-07  Sven de Marothy  <sven@physto.se>
16848
16849         * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
16850         * include/gnu_java_awt_peer_gtk_FreetypeGlyphVector.h
16851         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_FreetypeGlyphVector.c
16852         New files.
16853
16854         * gnu/java/awt/peer/gtk/GdkFontPeer.java
16855         (getGlyphVector): Removed native method.
16856         (createGlyphVector, getStringBounds): Use new GV class.
16857
16858         * include/Makefile.am
16859         * native/jni/gtk-peer/Makefile.am
16860         Add new files.
16861
16862         * include/gnu_java_awt_peer_gtk_GdkFontPeer.h
16863         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
16864         (getGlyphVector): Removed native method.
16865         
16866 2006-06-07  Chris Burdess  <dog@gnu.org>
16867
16868         * gnu/classpath/debug/TeeInputStream.java,
16869           gnu/classpath/debug/TeeOutputStream.java,
16870           gnu/classpath/debug/TeeReader.java,
16871           gnu/classpath/debug/TeeWriter.java: New classes for debugging streams.
16872         * gnu/xml/stream/XMLParser.java: Use tee streams for debugging. Don't
16873           read more characters than absolutely necessary in tryRead method.
16874
16875 2006-06-07  Robert Schuster  <robertschuster@fsfe.org>
16876
16877         * examples/gnu/classpath/examples/swing/Demo.java:
16878         (mkMenuBar): Put look and feel radio buttons into 
16879         appropriate button group.
16880
16881 2006-06-07  Chris Burdess  <dog@gnu.org>
16882
16883         * gnu/xml/stream/SAXParser.java,
16884           gnu/xml/stream/XMLParser.java: Add command line options for setting
16885           parsing parameters (for simpler debugging).
16886         * gnu/xml/transform/TransformerImpl.java: Try to ensure that I/O error
16887           closing output stream is propagated to application.
16888
16889 2006-06-06  Mark Wielaard  <mark@klomp.org>
16890
16891         PR 27917
16892         * gnu/java/awt/peer/gtk/CairoSurface.java (finalize): Call dispose.
16893         * gnu/java/awt/peer/gtk/ComponentGraphics.java: Override dispose to
16894         call disposeSurface.
16895         (disposeSurface): New native method.
16896         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
16897         (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_disposeNative): Free
16898         pattern_pixels.
16899         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
16900         (Java_gnu_java_awt_peer_gtk_CairoSurface_drawSurface): Call
16901         cairo_pattern_destroy.
16902         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
16903         (Java_gnu_java_awt_peer_gtk_ComponentGraphics_disposeSurface):
16904         New function to destroy the surface.
16905         * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Regenerated.
16906         * include/gnu_java_awt_peer_gtk_CairoSurface.h: Likewise.
16907         * include/gnu_java_awt_peer_gtk_ComponentGraphics.h: Likewise.
16908
16909 2006-06-06  Mark Wielaard  <mark@klomp.org>
16910
16911         * include/jni.h (JDK1_1InitArgs): Mark pointer-to-function types
16912         with JNICALL.
16913
16914 2006-06-06  David Gilbert  <david.gilbert@object-refinery.com>
16915
16916         * javax/swing/plaf/metal/MetalSplitPaneDivider.java
16917         (paint): If has focus, paint special background color,
16918         * javax/swing/plaf/basic/BasicSplitPaneUI.java
16919         (FocusHandler.focusGained): Implemented,
16920         (FocusHandler.focusLost): Implemented.
16921
16922 2006-06-06  Tom Tromey  <tromey@redhat.com>
16923
16924         * javax/swing/text/StyleContext.java (registerStaticAttributeKey):
16925         Javadoc fix.
16926         (writeAttributeSet): Implemented.
16927
16928 2006-06-06  Tom Tromey  <tromey@redhat.com>
16929
16930         * javax/swing/text/html/HTMLDocument.java (SpecialAction.start):
16931         Implement.
16932         (SpecialAction.end): Removed.
16933         (IsindexAction.end): Likewise.
16934
16935 2006-06-06  Tom Tromey  <tromey@redhat.com>
16936
16937         * include/jni.h (JDK1_1InitArgs): New struct.
16938         (JDK1_1AttachArgs): Likewise.
16939
16940 2006-06-06  Tom Tromey  <tromey@redhat.com>
16941
16942         * java/security/UnresolvedPermission.java (getUnresolvedType): New
16943         method.
16944         (getUnresolvedName): New method.
16945         (getUnresolvedActions): New method.
16946         (getUnresolvedCerts): New method.
16947
16948 2006-06-06  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
16949
16950         * gnu/javax/swing/text/html/CharacterAttributeTranslator.java
16951         (getColor): Removed debugging code.
16952
16953 2006-06-06  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
16954
16955         * gnu/javax/swing/text/html/CharacterAttributeTranslator.java
16956         (getColor): Added support for "rgb(red, green, blue)" notation.
16957         (translateTag): Use Boolean.TRUE, not new Boolean().
16958
16959 2006-06-06  Roman Kennke  <kennke@aicas.com>
16960
16961         PR 27651
16962         * javax/swing/JTree.java
16963         (JTree(TreeModel)): Call updateUI() before setModel().
16964         (setModel): Don't call updateUI here.
16965
16966 2006-06-06  Lillian Angel  <langel@redhat.com>
16967         
16968         * native/plugin/gcjwebplugin.cc:
16969         Fixed failure message and commenting.
16970         (NP_Initialize): Added more comments.
16971
16972 2006-06-06  David Gilbert  <david.gilbert@object-refinery.com>
16973
16974         * javax/swing/JSplitPane.java
16975         (AccessibleJSplitPane): API doc fixes,
16976         (setDividerLocation): Likewise,
16977         * javax/swing/plaf/basic/BasicLookAndFeel.java
16978         (initComponentDefaults): Additions to SplitPane.ancestorInputMap,
16979         * javax/swing/plaf/basic/BasicSplitPaneUI.java
16980         (getInputMap): New method,
16981         (getActionMap): New method,
16982         (createActionMap): New method,
16983         (installKeyboardActions): Implemented,
16984         (uninstallKeyboardActions): Implemented.
16985
16986 2006-06-06  Roman Kennke  <kennke@aicas.com>
16987
16988         PR 27523
16989         * javax/swing/MenuSelectionManager.java
16990         (processKeyEvent): Added check to avoid
16991         ArrayIndexOutOfBoundsException.
16992
16993 2006-06-06  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
16994
16995         * gnu/javax/swing/text/html/htmlAttributeSet.java
16996         (getAttributeNames): Rewritten
16997
16998 2006-06-06  Chris Burdess  <dog@gnu.org>
16999
17000         * gnu/xml/transform/TransformerImpl.java: Check type of created
17001           document (more cases).
17002
17003 2006-06-06  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
17004
17005         * gnu/javax/swing/text/html/htmlAttributeSet.java
17006         (clone): New method. (copyAttributes): New method.
17007         (getResolveParent): Comment fix. (getAttribute):
17008         Rewritten. (addAttribute): Rewritten.
17009         * gnu/javax/swing/text/html/SmallHtmlAttributeSet.java:
17010         New file.
17011
17012 2006-06-06  Roman Kennke  <kennke@aicas.com>
17013
17014         PR 27522
17015         * javax/swing/JMenuBar.java
17016         (processKeyBindingHelper): Added null check to prevent NPE.
17017
17018 2006-06-06  Roman Kennke  <kennke@aicas.com>
17019
17020         * javax/swing/plaf/basic/BasicInternalFrameUI.java
17021         (ShowSystemMenuAction): New class.
17022         (installKeyboardActions): Implemented.
17023         (uninstallKeyboardActions): Implemented.
17024         * javax/swing/plaf/metal/MetalInternalFrameUI.java
17025         (installKeyboardActions): Overridden to remove showSystemMenu action.
17026
17027 2006-06-06  Chris Burdess  <dog@gnu.org>
17028
17029         * gnu/xml/transform/TransformerImpl.java: Check type of created
17030           document.
17031
17032 2006-06-06  Robert Schuster  <robertschuster@fsfe.org>
17033
17034         * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java:
17035         (getScreenDevices): Added explicit cast.
17036
17037 2006-06-06  Roman Kennke  <kennke@aicas.com>
17038
17039         * javax/swing/plaf/basic/BasicTextUI.java
17040         (installKeyboardActions): Use shared input map. Correctly
17041         install the input/action maps in the component's input/action
17042         map hierarchies.
17043         (getActionMap): New helper method for fetching an ActionMap from
17044         the UIManager or creating a default one if there is none supplied
17045         by the UIManager.
17046         (createActionMap): Add the TransferHandler's actions here. Made
17047         method private.
17048         (getInputMap): Leave out unnecessary method parameter. Load
17049         shared input map.
17050         * javax/swing/plaf/basic/SharedUIDefaults.java: New file.
17051
17052 2006-06-06  Robert Schuster  <robertschuster@fsfe.org>
17053
17054         * configure.ac: Added missing [ to expression.
17055
17056 2006-06-06  Robert Schuster  <robertschuster@fsfe.org>
17057
17058         * configure.ac: Added missing { to expression.
17059
17060 2006-06-06  Robert Schuster  <robertschuster@fsfe.org>
17061
17062         * include/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.h: Regenerated.
17063         * include/gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice.h: New file.
17064         * include/Makefile.am: Added
17065         gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice.
17066         * gnu/java/awt/peer/gtk/GdkGraphicsConfiguration.java:
17067         (GdkGraphicsConfiguration): Rewritten.
17068         (getColorModel): Rewritten.
17069         (getColorModel(int)): Rewritten.
17070         (getBounds): Rewritten.
17071         (createCompatibleVolatileImage): Implemented.
17072         * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java: Added static
17073         initializer.
17074         (getDefaultScreenDevice): Rewritten.
17075         (nativeGetDefaultScreenDevice): New method.
17076         (getScreenDevices): Rewritten.
17077         (nativeGetScreenDevices): New method.
17078         (nativeInitState): New method.
17079         * gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java: Entirely
17080         rewritten.
17081         (X11DisplayMode): New inner class.
17082         * native/jni/gtk-peer/Makefile.am: Added gdkdisplay.h and
17083         gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice.c
17084         * native/jni/gtk-peer/gdkdisplay.h: New file.
17085         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.c:
17086         (Java_gnu_java_awt_peer_gtk_GdkGraphicsEnvironment_initStaticState):
17087         New function.
17088         (Java_gnu_java_awt_peer_gtk_GdkGraphicsEnvironment_nativeInitState):
17089         New function.
17090         (Java_gnu_java_awt_peer_gtk_GdkGraphicsEnvironment
17091         _nativeGetScreenDevices):
17092         New function.
17093         (Java_gnu_java_awt_peer_gtk_GdkGraphicsEnvironment
17094         _nativeGetDefaultScreenDevice):
17095         New function.
17096         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice.c:
17097         New file.
17098         * configure.ac: Added check for Xrandr library.
17099
17100 2006-06-06  Roman Kennke  <kennke@aicas.com>
17101
17102         * javax/swing/plaf/basic/BasicTableUI.java
17103         (getMaximumSize): Don't return null. Fixed calculation of
17104         table height.
17105         (getMinimumSize): Don't return null. Fixed calculation of
17106         table height.
17107         (getPreferredSize): Fixed calculation of with and height. Added
17108         API docs.
17109         (getHeight): New helper method.
17110
17111 2006-06-06  David Gilbert  <david.gilbert@object-refinery.com>
17112
17113         * javax/swing/JComponent.java
17114         (getInputMap(int)): Throw IllegalArgumentException for unknown 
17115         condition argument, and added API docs,
17116         (getInputMap()): Added API docs.
17117
17118 2006-06-06  Robert Schuster  <robertschuster@fsfe.org>
17119
17120         * java/awt/BufferedImage.java: Added fourth 8 to bits4 field.
17121
17122 2006-06-06  David Gilbert  <david.gilbert@object-refinery.com>
17123
17124         * javax/swing/JTable.java
17125         (AccessibleJTableHeaderCell.header): New field,
17126         (AccessibleJTableHeaderCell.columnIndex): Likewise,
17127         (AccessibleJTableHeaderCell.AccessibleJTableHeaderCell()): Initialise,
17128         (AccessibleJTableHeaderCell.getColumnHeaderRenderer): New method,
17129         (AccessibleJTableHeaderCell.getAccessibleContext): Implemented,
17130         (AccessibleJTableHeaderCell.getAccessibleRole): Implemented,
17131         (AccessibleJTable.getAccessibleChild(int)): Overridden,
17132         (AccessibleJTable.getAccessibleAt): Reimplemented.
17133
17134 2006-06-05  Sven de Marothy  <sven@physto.se>
17135
17136         * include/gnu_java_awt_peer_gtk_ComponentGraphics.h
17137         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
17138         * gnu/java/awt/peer/gtk/ComponentGraphics.java
17139         (initFromVolatile): New method.
17140         * gnu/java/awt/peer/gtk/GtkVolatileImage.java
17141         * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
17142         Reimplement.
17143         * include/gnu_java_awt_peer_gtk_GtkVolatileImage.h
17144         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c
17145         (copyArea, drawVolatileImage): New methods.
17146         
17147 2006-06-05  Tania Bento  <tbento@redhat.com>
17148
17149         * javax/swing/JFrame.java
17150         (frameInit): Set background color and fixed layout parameters.
17151
17152 2006-06-05  Tom Tromey  <tromey@redhat.com>
17153
17154         * NEWS: Mention VMURLConnection.
17155
17156 2006-06-05  Lillian Angel  <langel@redhat.com>
17157
17158         * native/plugin/gcjwebplugin.cc:
17159         Added new field to keep track of initialization.
17160         (plugin_start_appletviewer): Fixed to return an error value, if
17161         an error was encountered when loading the appletviewer.
17162         (GCJ_NEW): Added call to plugin_failed if the loading of the appletviewer
17163         has failed.
17164         (plugin_failed): New helper function. Shows a warning if the appletviewer
17165         has not been installed.
17166         (NP_Initialize): Added code to make sure this function is only called
17167         once.
17168
17169 2006-06-05  Lillian Angel  <langel@redhat.com>
17170
17171         * native/plugin/Makefile.am:
17172         Fixed to use a set plugin directory in the .mozilla directory.
17173         All applet logs are now stored here, instead of /tmp.
17174         * native/plugin/gcjwebplugin.cc:
17175         Added new fields for security warning.
17176         (GCJ_NEW): Added code to generate a security warning for all pages
17177         that spawn an appletviewer. This warning asks the user if they trust
17178         the applet and if they would like to add it to a 'whitelist'. This
17179         whitelist keeps track of all the addresses the user would like
17180         to trust indefinitely.
17181         (plugin_user_trusts_documentbase): New helper function.
17182         (plugin_add_documentbase_to_whitelist): New helper function.
17183         (plugin_ask_user_about_documentbase): New helper function.
17184         (plugin_in_pipe_callback): Fixed check to determine if channel_error 
17185         has been set.
17186         (plugin_start_appletviewer): Likewise.
17187         (plugin_create_applet_tag):  Reset all fields to null after they have been
17188         freed.
17189         (plugin_send_message_to_appletviewer): Fixed all error checks to determine 
17190         if channel_error has been set.
17191         (plugin_stop_appletviewer): Likewise.
17192         (NP_Initialize): Likewise. Also, added code to determine if directory and file
17193         should be created.      
17194
17195 2006-06-05  Francis Kung  <fkung@redhat.com>
17196         
17197         PR 27507
17198         * gnu/java/awt/peer/gtk/GtkImage.java
17199         (getSource): Added check to determine if in
17200         errorLoading state.
17201         * gnu/java/awt/peer/gtk/GtkToolkit.java
17202         (createImage): Added check to prevent NPE.
17203
17204 2006-06-05  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
17205
17206         * javax/swing/text/html/HTMLEditorKit.java (HTMLFactory.create):
17207         Create the ImageView, when applicable.
17208         * gnu/javax/swing/text/html/CombinedAttributes.java,
17209         javax/swing/text/html/ImageView.java: New files.
17210
17211 2006-06-05  Roman Kennke  <kennke@aicas.com>
17212
17213         PR 27834
17214         * javax/swing/text/GapContent.java
17215         (setPositionsInRange): Compare with startIndex and endIndex
17216         rather than start and end.
17217         (dumpMarks): Only dump real marks.
17218
17219 2006-06-05  Sven de Marothy  <sven@physto.se>
17220
17221         *  gnu/java/awt/peer/gtk/ComponentGraphics.java
17222         (ComponentGraphics): Use 0,0 as clip origin.
17223         
17224 2006-06-04  Andrew John Hughes  <gnu_andrew@member.fsf.org>
17225
17226         * java/util/Formattable.java,
17227         * java/util/FormattableFlags.java,
17228         * java/util/Formatter.java:
17229         Documented.
17230
17231 2006-06-04  Tom Tromey  <tromey@redhat.com>
17232
17233         * javax/naming/Context.java (list): Genericized.
17234         (listBindings): Likewise.
17235         * javax/naming/Reference.java (addrs): Genericized.
17236         * javax/naming/InitialContext.java (myProps): Fixed type.
17237         (init): Genericized.
17238         
17239 2006-06-04  Andrew John Hughes  <gnu_andrew@member.fsf.org>
17240
17241         * java/util/DuplicateFormatFlagsException.java,
17242         * java/util/FormatFlagsConversionMismatchException.java,
17243         * java/util/FormatterClosedException.java,
17244         * java/util/IllegalFormatCodePointException.java,
17245         * java/util/IllegalFormatConversionException.java,
17246         * java/util/IllegalFormatException.java,
17247         * java/util/IllegalFormatFlagsException.java,
17248         * java/util/IllegalFormatPrecisionException.java,
17249         * java/util/IllegalFormatWidthException.java,
17250         * java/util/MissingFormatArgumentException.java,
17251         * java/util/MissingFormatWidthException.java,
17252         * java/util/UnknownFormatConversionException.java,
17253         * java/util/UnknownFormatFlagsException.java:
17254         Documented.
17255
17256 2006-06-04  Andrew John Hughes  <gnu_andrew@member.fsf.org>
17257
17258         * java/lang/System.java:
17259         (getenv()): Handle cases where split only
17260         returns an array of size 1.
17261         
17262 2006-06-04  Sven de Marothy  <sven@physto.se>
17263
17264         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
17265         (createVolatileImage): Pass peer to VolatileImage constructor.
17266         * java/awt/Component.java
17267         (createVolatileImage): Call peer method directly.
17268         
17269 2006-06-04  Sven de Marothy  <sven@physto.se>
17270
17271         * gnu/java/awt/peer/gtk/CairoSurface.java
17272         (getFlippedBuffer): New method.
17273         (getGtkImage): Renamed method.
17274         * gnu/java/awt/peer/gtk/ComponentGraphicsCopy.java
17275         * gnu/java/awt/peer/gtk/GtkVolatileImage.java
17276         Renamed getSharedImage to getGtkImage.
17277         * include/gnu_java_awt_peer_gtk_CairoSurface.h
17278         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17279         (getFlippedBuffer): New method
17280         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
17281         Avoid window casts.
17282 2006-06-04  Andrew John Hughes  <gnu_andrew@member.fsf.org>
17283
17284         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c:
17285         (drawVolatile): Add casts.
17286         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c:
17287         (getOutline): Add casts.
17288         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c:
17289         Comment out unused prototype.
17290         (getPixels): Add appropriate cast and comment out unused variable.
17291         
17292 2006-06-04  Raif S. Naffah  <raif@swiftdsl.com.au>
17293
17294         * gnu/javax/crypto/sasl/SaslUtil.java: Remove unused import.
17295         * gnu/javax/crypto/sasl/srp/SRPRegistry.java (PASSWORD_DB): Fix javadoc @link.
17296         * gnu/javax/crypto/sasl/srp/PasswordFile.java: Removed unused import.
17297         * gnu/javax/crypto/prng/CSPRNG.java (FILE_SOURCES): Fix javadoc @see.
17298         (getSystemInstance): Fix javadoc @link.
17299         (counter): Increased visibility.
17300         * gnu/javax/crypto/pad/TLS1.java: Remove unused import.
17301         * gnu/javax/crypto/pad/IPad.java: Fix javadoc @link.
17302         * gnu/javax/crypto/pad/PKCS1_V1_5.java (PKCS1_V1_5): Likewise.
17303         * gnu/javax/crypto/pad/PKCS7.java (PKCS7): Likewise.
17304         * gnu/javax/crypto/pad/TBC.java (TBC): Likewise.
17305         * gnu/javax/crypto/mode/CTR.java: Remove unused import.
17306         * gnu/javax/crypto/mode/BaseMode.java (defaultBlockSize): Fix javadoc @see.
17307         * gnu/javax/crypto/key/dh/GnuDHPrivateKey.java (getEncoded): Fix javadoc @see.
17308         * gnu/javax/crypto/jce/spec/TMMHParameterSpec.java: Fix javadoc @link.
17309         * gnu/javax/crypto/keyring/AuthenticatedEntry.java: Remove unused imports.
17310         * gnu/javax/crypto/keyring/CertificateEntry.java: Likewise.
17311         * gnu/javax/crypto/keyring/CertPathEntry.java: Likewise.
17312         * gnu/javax/crypto/keyring/EncryptedEntry.java: Likewise.
17313         * gnu/javax/crypto/keyring/PublicKeyEntry.java: Likewise.
17314         * gnu/javax/crypto/mac/OMAC.java: Likewise.
17315         * gnu/javax/crypto/jce/key/AnubisSecretKeyFactoryImpl.java: Likewise.
17316         * gnu/javax/crypto/jce/key/BlowfishSecretKeyFactoryImpl.java: Likewise.
17317         * gnu/javax/crypto/jce/key/Cast5SecretKeyFactoryImpl.java: Likewise.
17318         * gnu/javax/crypto/jce/key/KhazadSecretKeyFactoryImpl.java: Likewise.
17319         * gnu/javax/crypto/jce/key/RijndaelSecretKeyFactoryImpl.java: Likewise.
17320         * gnu/javax/crypto/jce/key/SerpentSecretKeyFactoryImpl.java: Likewise.
17321         * gnu/javax/crypto/jce/key/SquareSecretKeyFactoryImpl.java: Likewise.
17322         * gnu/javax/crypto/jce/key/TwofishSecretKeyFactoryImpl.java: Likewise.
17323         * gnu/javax/crypto/jce/mac/OMacImpl.java: Likewise.
17324         * gnu/javax/crypto/jce/prng/CSPRNGSpi.java: Likewise.
17325         * gnu/javax/crypto/cipher/IBlockCipherSpi.java: Fix javadoc @link.
17326         * gnu/javax/crypto/jce/cipher/CipherAdapter.java (CipherAdapter): Likewise.
17327         * gnu/javax/crypto/cipher/BaseCipher.java: Remove unused import.
17328         * gnu/javax/crypto/assembly/Cascade.java: Fix javadoc @link.
17329         * gnu/javax/crypto/assembly/Direction.java: Likewise.
17330         * gnu/javax/crypto/assembly/Transformer.java: Likewise.
17331
17332 2006-06-04  Raif S. Naffah  <raif@swiftdsl.com.au>
17333
17334         * gnu/java/security/PolicyFile.java: Updated copyright year.
17335         (logger): Increased visibility.
17336         * gnu/java/security/x509/Util.java: Updated copyright year.
17337         (hexDump): Fix javadoc @link.
17338         * gnu/java/security/x509/ext/GeneralNames.java: Updated copyright year.
17339         Removed unused import.
17340         * gnu/java/security/sig/rsa/RSAPSSSignatureRawCodec.java: Fix javadoc @link.
17341         * gnu/java/security/sig/ISignature.java (SOURCE_OF_RANDOMNESS): Likewise.
17342         * gnu/java/security/util/ExpirableObject.java: Likewise.
17343         (destroy): Likewise.
17344         * gnu/java/security/util/SimpleList.java (SimpleList): Likewise.
17345         * gnu/java/security/provider/PKIXCertPathValidatorImpl.java:
17346         Updated copyright year.
17347         (checkCRL): Fix javadoc @param.
17348
17349 2006-06-03  Andrew John Hughes  <gnu_andrew@member.fsf.org>
17350
17351         * java/lang/annotation/IncompleteAnnotationException.java:
17352         Documented.
17353
17354 2006-06-03  Andrew John Hughes  <gnu_andrew@member.fsf.org>
17355
17356         * java/lang/ProcessBuilder.java:
17357         Documented.
17358         (environment): Create as a copy.
17359         * java/lang/System.java:
17360         (EnvironmentMap.EnvironmentMap(Map<String,String>)):
17361         New constructor.
17362         (EnvironmentMap.put(String,String)): Override superclass
17363         method with checks for nulls and non-Strings.
17364         
17365 2006-06-02  Sven de Marothy  <sven@physto.se>
17366
17367         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
17368         (cairoPreserveClip, cairoResetClip): New methods.
17369         (setClip, clip): Reimplement.
17370         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
17371         * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h
17372         (cairoPreserveClip, cairoResetClip): New methods.
17373         
17374 2006-06-02  Sven de Marothy  <sven@physto.se>
17375
17376         * gnu/java/awt/peer/gtk/VolatileImageGraphics.java
17377         * include/gnu_java_awt_peer_gtk_GtkVolatileImage.h
17378         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c
17379         New files.
17380         * gnu/java/awt/peer/gtk/ComponentGraphics.java
17381         (drawImage): Overloads for VolatileImage drawing.
17382         (drawVolatile): New method.
17383         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
17384         * include/gnu_java_awt_peer_gtk_ComponentGraphics.h
17385         (drawVolatile): New method.
17386         * gnu/java/awt/peer/gtk/GtkVolatileImage.java
17387         Unstub implementation.
17388         * include/Makefile.am
17389         * native/jni/gtk-peer/Makefile.am
17390         Add new files.
17391         * native/jni/gtk-peer/gtkpeer.h
17392         New prototype.
17393         
17394 2006-06-03  Roman Kennke  <kennke@aicas.com>
17395
17396         PR 27418
17397         * javax/swing/plaf/basic/BasicTextUI.java
17398         (damageRange): Added null check to avoid NPE.
17399
17400 2006-06-03  Roman Kennke  <kennke@aicas.com>
17401
17402         * javax/swing/text/PlainView.java
17403         (updateDamage): Check for valid longestLine and initialize if
17404         necessary.
17405
17406 2006-06-03  Mark Wielaard  <mark@klomp.org>
17407
17408         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c: Use C
17409         comments, not C++.
17410
17411 2006-06-02  Sven de Marothy  <sven@physto.se>
17412
17413         PR 27879 
17414         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
17415         (copyArea): Implement.
17416         (copyAreaImpl, getRealBounds): New methods.
17417         * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java
17418         * gnu/java/awt/peer/gtk/ComponentGraphics.java
17419         * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
17420         (copyAreaImpl, getRealBounds): Implement.
17421         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17422         (nativeCopyArea): Reimplement.  
17423         
17424 2006-06-02  Andreas Tobler  <a.tobler@schweiz.ch>
17425
17426         * configure.ac: Add -lX11 and -lXtst to XTEST_LIBS.
17427         (XTEST_LIBS): New, substitute.
17428         * native/jni/gtk-peer/Makefile.am (AM_LDFLAGS): Add XTEST_LIBS.
17429
17430 2006-06-02  Roman Kennke <kennke@aicas.com>
17431
17432         PR 26738
17433         * javax/swing/text/PlainView.java
17434         (updateDamage): Rewritten for correct repainting and revalidating.
17435         (findLongestLine): New helper method.
17436         (getLineLength): New helper method.
17437
17438 2006-06-02  Sven de Marothy  <sven@physto.se>
17439
17440         * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
17441         * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java
17442         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17443         (nativeCopyArea): Change stride parameter to use # of ints.
17444         (setPixels): Add checks.
17445         * gnu/java/awt/peer/gtk/ComponentGraphics.java
17446         (ComponentGraphics): Set background, clip.
17447         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
17448         (Cairographics2D): Don't set clip.
17449         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
17450         Add flush.
17451
17452 2006-06-02  Lillian Angel  <langel@redhat.com>
17453
17454         PR 24458
17455         * java/awt/DefaultKeyboardFocusManager.java
17456         (dispatchEvent): Fixed to getFocusOwner, if that fails it tries
17457         to get the focused window.
17458
17459 2006-06-01  Miriam Schuster  <schmir11@web.de>
17460
17461         * Makefile.am: Add fallback if "mozilla-plugin" is not available.
17462         Fallbacks used: "firefox-plugin" and "xulrunner-plugin".
17463
17464 2006-06-02  Roman Kennke <kennke@aicas.com>
17465
17466         * javax/swing/JTable.java
17467         (columnSelectionChanged): Don't return when there's only one
17468         column (might still need repainting). Correctly calculate
17469         repaint rectangle.
17470         (valueChanged): Use return value of SwingUtilities.computeUnion
17471         as dirty region.
17472
17473 2006-06-01  Keith Seitz  <keiths@redhat.com>
17474
17475         From Martin Platter  <motse@complang.tuwien.ac.at>:
17476         * gnu/classpath/jdwp/processor/EventRequestCommandSet.java
17477         (executeSet): Fix buffer underflow reading reference ID.
17478         * gnu/classpath/jdwp/processor/ThreadGroupReferenceCommandSet.java
17479         (executeParent): Fix  NPE if ThreadGroup is top-level ThreadGroup. 
17480         * gnu/classpath/jdwp/processor/ClassTypeCommandSet.java
17481         (executeSuperclass): Handle case of Object with ID zero.
17482
17483 2006-06-02  Raif S. Naffah  <raif@swiftdsl.com.au>
17484
17485         * tools/gnu/classpath/tools/keytool/StorePasswdCmd.java: Fixed typo.
17486         * tools/gnu/classpath/tools/keytool/CertReqCmd.java: Likewise.
17487         * tools/gnu/classpath/tools/keytool/DeleteCmd.java: Likewise.
17488         * tools/gnu/classpath/tools/keytool/ExportCmd.java: Likewise.
17489         * tools/gnu/classpath/tools/keytool/GenKeyCmd.java: Likewise.
17490         * tools/gnu/classpath/tools/keytool/IdentityDBCmd.java: Likewise.
17491         * tools/gnu/classpath/tools/keytool/ImportCmd.java: Likewise.
17492         * tools/gnu/classpath/tools/keytool/KeyCloneCmd.java: Likewise.
17493         * tools/gnu/classpath/tools/keytool/KeyPasswdCmd.java: Likewise.
17494         * tools/gnu/classpath/tools/keytool/ListCmd.java: Likewise.
17495         * tools/gnu/classpath/tools/keytool/SelfCertCmd.java: Likewise.
17496
17497 2006-06-02  Raif S. Naffah  <raif@swiftdsl.com.au>
17498
17499         * tools/gnu/classpath/tools/keytool/Command.java (shutdownThread): New field.
17500         (Command): Add the shutdown hook.
17501         (doCommand): Remove the shutdown hook.
17502         (ShutdownHook): New class.
17503
17504 2006-06-02  Raif S. Naffah  <raif@swiftdsl.com.au>
17505
17506         * tools/jarsigner.in: Use @VM_BINARY@.
17507         * tools/keytool.in: Likewise.
17508
17509 2006-06-01  Sven de Marothy  <sven@physto.se>
17510
17511         * gnu/java/awt/peer/gtk/CairoGraphics2D.java:
17512         (setColor): Update the cairo paint.
17513
17514 2006-06-01  Mark Wielaard  <mark@klomp.org>
17515
17516         * java/util/logging/LogManager.java (createInstance): Always add
17517         original exception on warning.
17518
17519 2006-06-01  Lillian Angel  <langel@redhat.com>
17520
17521         * tools/gnu/classpath/tools/appletviewer/AppletTag.java
17522         (prependCodebase): Fixed check. No dirname was ever considered to 
17523         be a file, so every applet fell into the if-statement causing a lot
17524         of classloading problems with the applets.
17525
17526 2006-06-01  Sven de Marothy  <sven@physto.se>
17527
17528         Patch submitted by Boris Dusek.
17529         * native/jni/qt-peer/qtmenupeer.cpp
17530         Fix segfault
17531
17532 2006-06-01  Roman Kennke <kennke@aicas.com>
17533
17534         * javax/swing/JTable.java
17535         (AccessibleJTableCell.getAccessibleRow): Added comment explaining
17536         why the behaviour is like it is.
17537         (AccessibleJTableCell.getAccessibleStateSet): Implemented.
17538         (AccessibleJTableHeader): New inner class.
17539         (AccessibleJTableHeaderCell): New inner class.
17540         (AccessibleJTable.lastSelectedRow): New field.
17541         (AccessibleJTable.lastSelectedColumn): New field.
17542         (AccessibleJTable.caption): New field.
17543         (AccessibleJTable.summary): New field.
17544         (AccessibleJTable.rowDescriptions): New field.
17545         (AccessibleJTable.columnDescriptions): New field.
17546         (AccessibleJTable): Initialize lastSelectedRow and lastSelectedColumn.
17547         (AccessibleJTable.getAccessibleSelection(int)): Implemented.
17548         (AccessibleJTable.isAccessibleChildSelected): Implemented.
17549         (AccessibleJTable.addAccessibleSelection): Implemented.
17550         (AccessibleJTable.removeAccessibleSelection): Implemented.
17551         (AccessibleJTable.clearAccessibleSelection): Implemented.
17552         (AccessibleJTable.selectAllAccessibleSelection): Implemented.
17553         (AccessibleJTable.valueChange): Implemented.
17554         (AccessibleJTable.tableRowsInserted): Implemented.
17555         (AccessibleJTable.tableRowsDeleted): Implemented.
17556         (AccessibleJTable.handleRowChange): New helper method.
17557         (AccessibleJTable.columnAdded): Implemented.
17558         (AccessibleJTable.columnMarginChanged): Implemented.
17559         (AccessibleJTable.columnMoved): Implemented.
17560         (AccessibleJTable.columnRemoved): Implemented.
17561         (AccessibleJTable.columnSelectionChanged): Implemented.
17562         (AccessibleJTable.handleColumnChange): New helper method.
17563         (AccessibleJTable.editingCanceled): Implemented.
17564         (AccessibleJTable.editingStopped): Implemented.
17565         (AccessibleJTable.getAccessibleRow): Implemented.
17566         (AccessibleJTable.getAccessibleColumn): Implemented.
17567         (AccessibleJTable.getAccessibleIndex): Implemented.
17568         (AccessibleJTable.getAccessibleCaption): Implemented.
17569         (AccessibleJTable.setAccessibleCaption): Implemented.
17570         (AccessibleJTable.getAccessibleSummary): Implemented.
17571         (AccessibleJTable.setAccessibleSummary): Implemented.
17572         (AccessibleJTable.getAccessibleRowCount): Implemented.
17573         (AccessibleJTable.getAccessibleColumnCount): Implemented.
17574         (AccessibleJTable.getAccessibleAt): Implemented.
17575         (AccessibleJTable.getAccessibleRowExtentAt): Implemented.
17576         (AccessibleJTable.getAccessibleColumnExtentAt): Implemented.
17577         (AccessibleJTable.getAccessibleRowHeader): Implemented.
17578         (AccessibleJTable.setAccessibleRowHeader): Implemented.
17579         (AccessibleJTable.getAccessibleColumnHeader): Implemented.
17580         (AccessibleJTable.setAccessibleColumnHeader): Implemented.
17581         (AccessibleJTable.getAccessibleRowDescription): Implemented.
17582         (AccessibleJTable.setAccessibleRowDescription): Implemented.
17583         (AccessibleJTable.getAccessibleColumnDescription): Implemented.
17584         (AccessibleJTable.setAccessibleColumnDescription): Implemented.
17585         (AccessibleJTable.isAccessibleSelected): Implemented.
17586         (AccessibleJTable.isAccessibleRowSelected): Implemented.
17587         (AccessibleJTable.isAccessibleColumnSelected): Implemented.
17588         (AccessibleJTable.getSelectedAccessibleRows): Implemented.
17589         (AccessibleJTable.getSelectedAccessibleColumns): Implemented.
17590         (getAccessibleContext): Register listeners for the accessibility
17591         class on the JTable.
17592
17593 2006-06-01  Sven de Marothy  <sven@physto.se>
17594
17595         * gnu/java/awt/peer/gtk/CairoGraphics2D.java:
17596         (setPaint): Scale +1 pixel larger.
17597
17598 2006-06-01  Sven de Marothy  <sven@physto.se>
17599
17600         PR 27854
17601         * gnu/java/awt/Buffers.java (getData): Reimplement.
17602         * gnu/java/awt/peer/gtk/CairoSurface.java
17603         (getElem, setElem): Call native methods.
17604
17605 2006-06-01  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
17606
17607         * gnu/javax/swing/text/html/ImageViewIconFactory.java: New file.
17608
17609 2006-06-01  Sven de Marothy  <sven@physto.se>
17610
17611         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
17612         (drawImage): Check for zero size.
17613         * gnu/java/awt/peer/gtk/GdkTextLayout.java:
17614         (setFont): Declare new native method.
17615         (GdkTextLayout): Read some attributes.
17616         * include/gnu_java_awt_peer_gtk_GdkTextLayout.h
17617         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c
17618         (setFont): New native method.
17619         
17620 2006-06-01  Sven de Marothy  <sven@physto.se>
17621
17622         * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
17623         (updateBufferedImage): Fix some errors.
17624
17625 2006-06-01  David Gilbert  <david.gilbert@object-refinery.com>
17626
17627         * javax/swing/plaf/basic/BasicButtonUI.java: Minor source code style 
17628         fixes,
17629         * javax/swing/plaf/basic/BasicDirectoryModel.java: Likewise,
17630         * javax/swing/plaf/basic/BasicFileChooserUI.java: Likewise,
17631         * javax/swing/plaf/basic/BasicIconFactory.java: Likewise,
17632         * javax/swing/plaf/basic/BasicListUI.java: Likewise,
17633         * javax/swing/plaf/basic/BasicOptionPaneUI.java: Likewise,
17634         * javax/swing/plaf/basic/BasicRootPaneUI.java: Likewise,
17635         * javax/swing/plaf/basic/BasicScrollPaneUI.java: Likewise,
17636         * javax/swing/plaf/basic/BasicSpinnerUI.java: Likewise,
17637         * javax/swing/plaf/basic/BasicTabbedPaneUI.java: Likewise,
17638         * javax/swing/plaf/basic/BasicTextAreaUI.java: Likewise.
17639         
17640 2006-06-01  David Gilbert  <david.gilbert@object-refinery.com>
17641
17642         * javax/swing/JComboBox.java: Minor source code formatting fixes,
17643         * javax/swing/JEditorPane.java: Likewise,
17644         * javax/swing/JFormattedTextField.java: Likewise,
17645         * javax/swing/JLayeredPane.java: Likewise,
17646         * javax/swing/JScrollPane.java: Likewise,
17647         * javax/swing/JSlider.java: Likewise,
17648         * javax/swing/JSpinner.java: Likewise,
17649         * javax/swing/JTree.java: Likewise,
17650         * javax/swing/JViewport.java: Likewise,
17651         * javax/swing/UIDefaults.java: Likewise,
17652         * javax/swing/UIManager.java: Likewise.
17653         
17654 2006-06-01  Sven de Marothy  <sven@physto.se>
17655
17656         * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
17657         (BufferedImageGraphics): Cache surfaces.
17658         (updateBufferedImage): Copy directly for certain color models.
17659         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
17660         (drawImage): Reimplement.
17661
17662 2006-06-01  Sven de Marothy  <sven@physto.se>
17663
17664         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17665         (setPixels): Don't swap, correct size.
17666
17667 2006-05-31  Anthony Green  <green@redhat.com>
17668
17669         PR 27828
17670         * java/net/InetSocketAddress.java: Defer getting the host
17671         name until somebody calls InetSocketAddress.getHostName().
17672         Fix "represenation" typo.
17673
17674 2006-06-01  Sven de Marothy  <sven@physto.se>
17675
17676         * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
17677         (updateBufferedImage): Simplify.
17678         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17679         (getPixels): Don't swap.
17680
17681 2006-06-01  Sven de Marothy  <sven@physto.se>
17682
17683         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
17684         (setGradient): Reimplement.
17685         
17686 2006-06-01  Andreas Tobler  <a.tobler@schweiz.ch>
17687
17688         * native/jni/gtk-peer/cairographics2d.h: Rename/prefix function
17689         CairoGraphics2D_getCairoT to cp_gtk_get_cairo_t correctly.
17690         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17691         (Java_gnu_java_awt_peer_gtk_CairoSurface_drawSurface): Rename function
17692         CairoGraphics2D_getCairoT to cp_gtk_get_cairo_t.
17693         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c
17694         (Java_gnu_java_awt_peer_gtk_GdkTextLayout_cairoDrawGdkTextLayout):
17695         Likewise.
17696
17697 2006-05-31  David Gilbert  <david.gilbert@object-refinery.com>
17698
17699         * javax/swing/table/JTableHeader.java
17700         (getColumnHeaderRenderer): New method,
17701         (getAccessibleColumnHeaderRenderer): Delegate part to new
17702         getColumnHeaderRenderer() method,
17703         (getLocale): Implemented.
17704
17705 2006-05-31  Andreas Tobler  <a.tobler@schweiz.ch>
17706
17707         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
17708         (cp_gtk_grab_current_drawable): Rename
17709         cp_java_awt_peer_gtk_ComponentGraphics_grab_current_drawable to
17710         cp_gtk_grab_current_drawable, remove static declaration.
17711         (Java_gnu_java_awt_peer_gtk_ComponentGraphics_initState): Renamed above
17712         function.
17713         (Java_gnu_java_awt_peer_gtk_ComponentGraphics_copyAreaNative): Likewise.
17714         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphicsCopy.c:
17715         Remove prototype of
17716         cp_java_awt_peer_gtk_ComponentGraphics_grab_current_drawable.
17717         (Java_gnu_java_awt_peer_gtk_ComponentGraphicsCopy_getPixbuf): Rename
17718         function.
17719         (Java_gnu_java_awt_peer_gtk_ComponentGraphicsCopy_copyPixbuf): Likewise.
17720         * native/jni/gtk-peer/gtkpeer.h: Add prototype for
17721         cp_gtk_grab_current_drawable here.
17722
17723 2006-05-31  Sven de Marothy  <sven@physto.se>
17724
17725         Should fix PR 27835
17726         * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
17727         (updateBufferedImage): Keep within image bounds.
17728
17729 2006-05-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
17730             Andreas Tobler  <a.tobler@schweiz.ch>
17731
17732         * configure.ac: Check for libXrender when the GTK peers are
17733         enabled, and set HAVE_XRENDER accordingly. Add -lXrender to
17734         X_EXTRA_LIBS.
17735         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
17736         (Java_gnu_java_awt_peer_gtk_ComponentGraphics_hasXRender)
17737         [HAVE_XRENDER]: Call XRenderQueryExtension conditionally.
17738
17739 2006-05-31  Lillian Angel  <langel@redhat.com>
17740
17741         * javax/swing/plaf/basic/BasicProgressBarUI.java
17742         (paintString): Implemented to paint the string vertically.
17743
17744 2006-05-31  David Gilbert  <david.gilbert@object-refinery.com>
17745
17746         * javax/swing/JTable.java
17747         (AccessibleJTable.AccessibleJTable()): Check for null editor,
17748         (AccessibleJTable.getAccessibleRole()): Overridden to return correct 
17749         value,
17750         (AccessibleJTable.getAccessibleTable()): Likewise,
17751         (getAccessibleContext): Create new context if required.
17752
17753 2006-05-31  Roman Kennke <kennke@aicas.com>
17754
17755         * javax/swing/JTabbedPane.java
17756         (AccessibleJTabbedPane.stateChanged): Implemented.
17757         (Page.getAccessibleStateSet): Implemented.
17758         (Page.getAccessibleIndexInParent): Implemented.
17759         (getAccessibleContext): Add AccessibleJTabbedPane object
17760         as ChangeListener to the JTabbedPane.
17761
17762 2006-05-31  Roman Kennke <kennke@aicas.com>
17763
17764         * javax/swing/JMenuItem.java
17765         (getAccessibleContext): Register accessible object as ChangeListener
17766         to the JMenuItem.
17767         (AccessibleJMenuItem.armed): New field.
17768         (AccessibleJMenuItem.focusOwner): New field.
17769         (AccessibleJMenuItem.pressed): New field.
17770         (AccessibleJMenuItem.selected): New field.
17771         (stateChanged): Implemented.
17772
17773 2006-05-31  David Gilbert  <david.gilbert@object-refinery.com>
17774
17775         * javax/swing/ListSelectionModel.java: Added API docs all over.
17776
17777 2006-05-31  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
17778
17779         * examples/gnu/classpath/examples/swing/FillRect.java 
17780         (paintComponent): Optionally paint lines rather than rectangles.
17781         (createContent): Added option to test line painting.
17782
17783 2006-05-31  David Gilbert  <david.gilbert@object-refinery.com>
17784
17785         * javax/swing/event/EventListenerList.java
17786         (getListenerList): Updated API docs.
17787
17788 2006-05-30  Sven de Marothy  <sven@physto.se>
17789
17790         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
17791         (drawImage): Clip scaled image to dest rectangle.
17792
17793 2006-05-30  Sven de Marothy  <sven@physto.se>
17794
17795         * gnu/java/awt/peer/gtk/CairoSurface.java:
17796         (CairoSurface): Convert pixels properly.
17797         * gnu/java/awt/peer/gtk/ComponentGraphics.java
17798         Remove commented-out lines.
17799
17800 2006-05-30  Sven de Marothy  <sven@physto.se>
17801
17802         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
17803         (drawImage): Use Toolkit to convert to BufferedImage.
17804         * gnu/java/awt/peer/gtk/CairoSurface.java
17805         (CairoSurface(GtkImage)): New Constructor.
17806         (getBufferedImage): New method.
17807         * gnu/java/awt/peer/gtk/ComponentGraphics.java
17808         Don't fill background - FIXME.
17809         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
17810         Remove unused methods.
17811         * gnu/java/awt/peer/gtk/GtkImage.java:
17812         (pixbuflock): New field. Methods change to use this lock.
17813         * gnu/java/awt/peer/gtk/GtkToolkit.java
17814         (createImage): Use Cairo-backed surfaces via GtkImage instead of 
17815         GtkPixbufDecoder.
17816         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17817         (setPixels): Correct length in bytes.
17818
17819 2006-05-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
17820
17821         * gnu/java/awt/peer/gtk/CairoGraphics2D.java (static): Call
17822         System.loadLibrary unconditionally.
17823         * gnu/java/awt/peer/gtk/GdkFontPeer.java: Likewise.
17824         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java: Likewise.
17825         * gnu/java/awt/peer/gtk/GdkTextLayout.java: Likewise.
17826         * gnu/java/awt/peer/gtk/GtkToolkit.java: Likewise.
17827
17828 2006-05-30  Mark Wielaard  <mark@klomp.org>
17829
17830         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
17831         (Java_gnu_java_awt_peer_gtk_ComponentGraphics_copyAreaNative):
17832         Mark unused parameters, remove unused variables.
17833
17834 2006-05-30  Sven de Marothy  <sven@physto.se>
17835
17836         * gnu/java/awt/peer/gtk/ComponentGraphics.java
17837         (copyArea): Implemented.
17838         * include/gnu_java_awt_peer_gtk_ComponentGraphics.h
17839         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c:
17840         (copyAreaNative): New method.
17841
17842 2006-05-30  Andreas Tobler  <a.tobler@schweiz.ch>
17843
17844         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17845         (Java_gnu_java_awt_peer_gtk_CairoSurface_getPixels): Define i only
17846         for non big endian systems.
17847         (Java_gnu_java_awt_peer_gtk_CairoSurface_setPixels): Likewise.
17848
17849 2006-05-30  Roman Kennke <kennke@aicas.com>
17850
17851         * gnu/java/awt/java2d/TexturePaintContext.java: New file.
17852         * java/awt/TexturePaint.java
17853         (createContext): Implemented.
17854
17855 2006-05-30  Robert Schuster  <robertschuster@fsfe.org>
17856
17857         * javax/swing/table/DefaultTableMode.java: Initialize dataVector
17858         field early.
17859
17860 2006-05-30  Robert Schuster  <robertschuster@fsfe.org>
17861
17862         * java/awt/Container.java:
17863         (removeAll): Reimplemented, added note.
17864
17865 2006-05-30  Robert Schuster  <robertschuster@fsfe.org>
17866
17867         * java/awt/Container.java:
17868         (removeAll): Implemented different removal mechanism, added note.
17869
17870 2006-05-30  Lillian Angel  <langel@redhat.com>
17871
17872         PR 27785
17873         * java/awt/Component.java:
17874         (translateEvent): Added handling to translate WindowEvents
17875         * java/awt/Window.java:
17876         Removed unneeded imports.
17877
17878 2006-05-30  Mark Wielaard  <mark@klomp.org>
17879
17880         * native/jni/gtk-peer/Makefile.am (libgtkpeer_la_SOURCES): Add
17881         cairographics2d.h.
17882
17883 2006-05-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
17884
17885         * gnu/java/awt/peer/gtk/GtkImage.java: Fix constructor javadoc.
17886
17887 2006-05-29  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
17888
17889         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
17890         (clearRect): Do not reuse the fg field, call updateColor.
17891         (drawRaster): Likewise.
17892         (setColor): Call updateColor.
17893         (updateColor): New method.
17894
17895 2006-05-30  Mark Wielaard  <mark@klomp.org>
17896
17897         * native/jni/classpath/jcl.h (JLONG_TO_PTR): New macro.
17898         (PTR_TO_JLONG): Likewise.
17899         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
17900         (getPointer): Use new conversion macros.
17901         (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_init): Likewise.
17902         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17903         (Java_gnu_java_awt_peer_gtk_CairoSurface_newCairoContext):
17904         Likewise.
17905         (setNativeObject): Likewise.
17906         (getNativeObject): Likewise.
17907         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
17908         (cp_java_awt_peer_gtk_ComponentGraphics_grab_current_drawable):
17909         Mark static.
17910         (Java_gnu_java_awt_peer_gtk_ComponentGraphics_initState):
17911         Correctly cast XID and pointer values.
17912         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphicsCopy.c
17913         (Java_gnu_java_awt_peer_gtk_ComponentGraphicsCopy_getPixbuf):
17914         Mark unused variables.
17915         (Java_gnu_java_awt_peer_gtk_ComponentGraphicsCopy_copyPixbuf):
17916         Likewise.
17917         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c
17918         (Java_gnu_java_awt_peer_gtk_GdkTextLayout_cairoDrawGdkTextLayout):
17919         Remove unused cairographics2d struct.
17920         (_moveTo, _lineTo, _quadTo, _curveTo): Mark arguments const.
17921         (Java_gnu_java_awt_peer_gtk_GtkImage_initFromBuffer):
17922         Use new conversion macros.
17923         * native/jni/midi-dssi/dssi_data.h: Move conversion macros to jcl.h.
17924
17925 2006-05-30  Mark Wielaard  <mark@klomp.org>
17926
17927         * include/Makefile.am (gnu_java_nio_VMChannel.h): Added.
17928
17929 2006-05-29  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
17930
17931         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
17932         (copy): Do not reuse the fd field.
17933         (setColor): Do not set the color if the parameter
17934         matches fd field.
17935         (translate(double, double): Rewritten to use
17936         AffineTransform.translate. 
17937
17938 2006-05-30  Sven de Marothy  <sven@physto.se>
17939
17940         * gnu/java/awt/peer/gtk/ComponentGraphicsCopy.java
17941         * include/gnu_java_awt_peer_gtk_ComponentGraphicsCopy.h
17942         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphicsCopy.c
17943         New files.
17944         * include/Makefile.am
17945         * native/jni/gtk-peer/Makefile.am
17946         Add new files.
17947         * gnu/java/awt/peer/gtk/CairoSurface.java
17948         (getSharedGtkImage): New method.
17949         * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java
17950         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17951         Fix copyArea.
17952         * gnu/java/awt/peer/gtk/ComponentGraphics.java
17953         Support a non-xrender context.
17954         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
17955         Plug memory leak.
17956         * gnu/java/awt/peer/gtk/GtkImage.java
17957         * include/gnu_java_awt_peer_gtk_GtkImage.h
17958         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c
17959         (initFromBuffer): New method.   
17960         * native/jni/gtk-peer/gtkpeer.h: 
17961         Remove declarations of previouslyremoved methods.
17962
17963 2006-05-29  Thomas Fitzsimmons  <fitzsim@redhat.com>
17964
17965         * tools/Makefile.am [FOUND_CACAO] (LIBJVM): Define to -ljvm.
17966
17967 2006-05-29  Mark Wielaard  <mark@klomp.org>
17968
17969         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
17970         (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_init): Mark unused
17971         arguments.
17972         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17973         (Java_gnu_java_awt_peer_gtk_CairoSurface_setPixels): Declare size
17974         early. Remove unused return statement in void function.
17975         (Java_gnu_java_awt_peer_gtk_CairoSurface_newCairoContext): Declare
17976         ptr early.
17977         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
17978         (Java_gnu_java_awt_peer_gtk_ComponentGraphics_hasXRender): Mark
17979         unused arguments.
17980         (Java_gnu_java_awt_peer_gtk_ComponentGraphics_initState): Likewise.
17981         (Java_gnu_java_awt_peer_gtk_ComponentGraphics_start_1gdk_1drawing):
17982         Likewise.
17983         (Java_gnu_java_awt_peer_gtk_ComponentGraphics_end_1gdk_1drawing):
17984         Likewise.
17985
17986 2006-05-29  Sven de Marothy  <sven@physto.se>
17987
17988         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
17989         (setPixels): Remove superfluous return statement.       
17990
17991 2006-05-29  Sven de Marothy  <sven@physto.se>
17992
17993         * gnu/java/awt/peer/gtk/BufferedImageGraphics.java
17994         * gnu/java/awt/peer/gtk/CairoGraphics2D.java
17995         * gnu/java/awt/peer/gtk/CairoSurface.java
17996         * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java
17997         * gnu/java/awt/peer/gtk/ComponentGraphics.java
17998         * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h
17999         * include/gnu_java_awt_peer_gtk_CairoSurface.h
18000         * include/gnu_java_awt_peer_gtk_ComponentGraphics.h
18001         * native/jni/gtk-peer/cairographics2d.h
18002         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
18003         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
18004         New files.
18005
18006         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
18007         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
18008         * include/gnu_java_awt_peer_gtk_GdkGraphics2D.h
18009         Removed
18010
18011         * include/gnu_java_awt_peer_gtk_GdkFontPeer.h
18012         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
18013         * gnu/java/awt/peer/gtk/GdkFontPeer.java
18014         (releasePeerGraphicsResource): Moved to Font peer class.
18015
18016         * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java
18017         (createGraphics): Use new context classes.
18018
18019         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
18020         Use native BufferedImages where possible.
18021
18022         * gnu/java/awt/peer/gtk/GdkTextLayout.java
18023         * include/gnu_java_awt_peer_gtk_GdkTextLayout.h
18024         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c
18025         Move GdkGraphics2D.drawGdkTextLayout to the GdkTextLayout class,
18026         renamed to cairoDrawGdkTextLayout.
18027         
18028         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
18029         (getGraphics): Use ComponentGraphics context.
18030         (createImage): Use native BufferedImage.
18031         
18032         * gnu/java/awt/peer/gtk/GtkImage.java:
18033         * include/gnu_java_awt_peer_gtk_GtkImage.h
18034         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c
18035         Remove pixmap support. (GtkImage(int, int) constructor, getGraphics)
18036         Remove drawing methods.
18037                 
18038         * gnu/java/awt/print/JavaPrinterGraphics.java:
18039         Use CairoSurface instead of GtkImage.
18040         
18041         * include/Makefile.am
18042         * native/jni/gtk-peer/Makefile.am
18043         Update for new files.
18044
18045         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c
18046         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFramePeer.c
18047         Remove superfluous GtkImage code for GdkPixmaps. 
18048
18049         * native/jni/gtk-peer/gtkpeer.h
18050         Remove graphics2d structure.
18051         
18052 2006-05-29  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
18053
18054         * gnu/java/awt/peer/gtk/GdkGraphics2D.java (copying constructor):
18055         Do not reuse fg in the constructor.
18056
18057 2006-05-29  Carsten Neumann  <cn-develop@gmx.net>
18058
18059         * java/io/ObjectStreamConstants.java: Added API docs.
18060
18061 2006-05-29  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
18062
18063         * gnu/java/awt/peer/gtk/GdkGraphics2D.java (setColor):
18064         Take no action if this color is already set.
18065
18066 2006-05-29  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
18067
18068         * gnu/java/awt/peer/gtk/GdkGraphics2D.java (translate):
18069         Rewritten. 
18070         * examples/gnu/classpath/examples/swing/FillRect.java (paintComponent):
18071         Optionally paint with translation. (createContent): Added option
18072         to test painting with translation
18073
18074 2006-05-29  Raif S. Naffah  <raif@swiftdsl.com.au>
18075
18076         * java/util/logging/FileHandler.java (FileHandler): Set the instance field
18077         pattern to the default value when null.
18078         Pass field pattern, and not parameter with same name to createFileStream.
18079
18080 2006-05-28  Andrew John Hughes  <gnu_andrew@member.fsf.org>
18081
18082         * gnu/java/lang/management/OperatingSystemMXBeanImpl.java:
18083         New class implementing the OS bean.
18084         * gnu/java/lang/management/package.html:
18085         New file to document the gnu.java.lang.management package.
18086         * java/lang/management/ManagementFactory.java:
18087         New class to provide access to the OS bean.
18088         * java/lang/management/OperatingSystemMXBean.java:
18089         New interface.
18090         * java/lang/management/package.html:
18091         New file to document the java.lang.management package.
18092         
18093 2006-05-28  Raif S. Naffah  <raif@swiftdsl.com.au>
18094
18095         * tools/gnu/classpath/tools/keytool/ImportCmd.java (GKR): New constant.
18096         (JKS): Likewise.
18097         (LIB): Likewise.
18098         (SECURITY): Likewise.
18099         (CACERTS): Likewise.
18100         (CACERTS_GKR): Likewise.
18101         (gkrCaCertsPathName): New field.
18102         (jksCaCertsPathName): Likewise.
18103         (selfSignedCertificate): Likewise.
18104         (start): Initialize trusted certificate key stores if -trustcacerts is
18105         specified.
18106         (ensureReplyIsOurs): Initialize selfSignedCertificate.
18107         (orderChain): Implemented.
18108         (findTrustAndUpdate): Check a cacerts.gkr (GKR) and a cacert (JKS) trusted
18109         certificate key stores if -trustcacerts option is specified.
18110         (findTrustInCACerts): Removed.
18111         (getCertPathParameters): New method.
18112         (validate): New method.
18113         * resource/gnu/classpath/tools/keytool/messages.properties: Added message.
18114
18115 2006-05-28  Raif S. Naffah  <raif@swiftdsl.com.au>
18116
18117         * java/util/logging/FileHandler.java (PROPERTY_PREFIX): New constant.
18118         (PATTERN_KEY): Likewise.
18119         (DEFAULT_PATTERN): Likewise.
18120         (LIMIT_KEY): Likewise.
18121         (DEFAULT_LIMIT): Likewise.
18122         (COUNT_KEY): Likewise.
18123         (DEFAULT_COUNT): Likewise.
18124         (APPEND_KEY): Likewise.
18125         (DEFAULT_APPEND): Likewise.
18126         (FileHandler()): Use pattern value as set in logging.properties.
18127         Use constants defined above.
18128         (FileHandler(1)): Use constants defined above.
18129         (FileHandler(2)): Likewise.
18130         (FileHandler(3)): Likewise.
18131         (FileHandler(4)): Likewise.
18132         (createFileStream): Likewise.
18133
18134 2006-05-28  Raif S. Naffah  <raif@swiftdsl.com.au>
18135
18136         * java/util/logging/FileHandler.java: Reverted previous patch.
18137         * java/util/logging/LogManager.java: Likewise.
18138
18139 2006-05-28  Raif S. Naffah  <raif@swiftdsl.com.au>
18140
18141         * java/util/logging/FileHandler.java (PATTERN_KEY): New constant.
18142         (DEFAULT_PATTERN): Likewise.
18143         (FileHandler()): Use configured pattern property if any; otherwise use a
18144         default value as per RI documentation.
18145         * java/util/logging/LogManager.java (getStringProperty): New method.
18146
18147 2006-05-27  Thomas Fitzsimmons  <fitzsim@redhat.com>
18148
18149         * NEWS: Announce libjawtgnu.so-to-libjawt.so rename.
18150
18151 2006-05-27  Thomas Fitzsimmons  <fitzsim@redhat.com>
18152
18153         * configure.ac (FOUND_CACAO): New automake conditional.
18154         Add --enable-tool-wrappers.
18155         * NEWS: Introduce the --enable-tool-wrappers option.
18156         * tools/Makefile.am[CREATE_WRAPPERS]: Build wrapper binaries.
18157         * tools/appletviewer.c: Remove file.  Make tool-indepedent and
18158         rename ...
18159         * tools/toolwrapper.c: New file.
18160
18161 2006-05-27  Dalibor Topic  <robilad@kaffe.org>
18162
18163         * java/awt/Graphics2D.java: Use full class name for 
18164         PrinterJob in javadoc.
18165
18166 2006-05-27  Andreas Tobler  <a.tobler@schweiz.ch>
18167
18168         * native/jni/qt-peer/eventmethods.h (callVoidMethod): Silence warning.
18169         (callMouseMethod): Likewise.
18170
18171 2006-05-26  Andrew John Hughes  <gnu_andrew@member.fsf.org>
18172
18173         * native/jni/java-net/java_net_VMURLConnection.c:
18174         Fix function declarations to specify unused parameters.
18175         * scripts/check_jni_methods.sh:
18176         Remove copies of the same function using uniq.
18177         
18178 2006-05-26  Andrew John Hughes  <gnu_andrew@member.fsf.org>
18179
18180         * vm/reference/java/net/VMURLConnection.java:
18181         Make package-private and final.
18182         
18183 2006-05-27  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
18184
18185         * examples/gnu/classpath/examples/swing/TableDemo.java
18186         (TModed): Added editor for the icons column.
18187         (createContent): Increase the row height by 2 px.
18188
18189 2006-05-26  Tom Tromey  <tromey@redhat.com>
18190
18191         PR classpath/27685:
18192         * java/math/BigInteger.java (modPow): Correctly handle negative
18193         exponent.
18194
18195 2006-05-26  Tom Tromey  <tromey@redhat.com>
18196
18197         * configure.ac: Check for magic.h and -lmagic.
18198         * vm/reference/java/net/VMURLConnection.java: New file.
18199         * include/java_net_VMURLConnection.h: New file.
18200         * include/Makefile.am (H_FILES): Add VMURLConnection.h.
18201         ($(top_srcdir)/include/java_net_VMURLConnection.h): New target.
18202         * native/jni/java-net/Makefile.am (libjavanet_la_SOURCES):
18203         Mention new file.
18204         (libjavanet_la_LIBADD): Add $(LIBMAGIC).
18205         * native/jni/java-net/java_net_VMURLConnection.c: New file.
18206
18207 2006-05-26  Thomas Fitzsimmons  <fitzsim@redhat.com>
18208
18209         * tools/Makefile.am (installcheck-binSCRIPTS): Do nothing.
18210
18211 2006-05-26  Thomas Fitzsimmons  <fitzsim@redhat.com>
18212
18213         * native/jawt/Makefile.am (nativeexeclib_LTLIBRARIES): Rename
18214         libjawtgnu.la libjawt.la.
18215
18216 2006-05-26  Thomas Fitzsimmons  <fitzsim@redhat.com>
18217
18218         * native/jni/gtk-peer/Makefile.am (libgtkpeer_la_SOURCES): Remove
18219         gtkcairopeer.h.
18220
18221 2006-05-25  Lillian Angel  <langel@redhat.com>
18222         
18223         PR 26174
18224         * java/awt/Window.java
18225         (Window): Moved code to helper.
18226         (addWindowFocusListener): New function. Handles focus
18227         listener code. Added code to handle focus lost/gained
18228         from the window.
18229
18230 2006-05-25  Andrew John Hughes  <gnu_andrew@member.fsf.org>
18231
18232         * configure.ac:
18233         Make pkg-config check for GTK+ >= 2.8.
18234         
18235 2006-05-25  Thomas Fitzsimmons  <fitzsim@redhat.com>
18236
18237         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
18238         (flush): Remove debugging printfs.
18239
18240 2006-05-25  Thomas Fitzsimmons  <fitzsim@redhat.com>
18241
18242         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
18243         (schedule_flush): New function.
18244         (end_drawing_operation): Call schedule_flush.
18245
18246 2006-05-25  Thomas Fitzsimmons  <fitzsim@redhat.com>
18247
18248         * examples/gnu/classpath/examples/swing/Demo.java: Add FillRect
18249         paint performance demo.
18250         * examples/gnu/classpath/examples/swing/FillRect.java: New file.
18251
18252 2006-05-25  Thomas Fitzsimmons  <fitzsim@redhat.com>
18253
18254         * INSTALL: Bump GTK requirement to 2.8 or higher.  Do not mention
18255         Cairo version requirement.  Do not mention --enable-gtk-cairo
18256         configure option.
18257         * NEWS: Add entry for GdkGraphics2D.
18258         * configure.ac: Remove --enable-gtk-cairo and explicit checks for
18259         Cairo library and headers.
18260         * .externalToolBuilders/Configure.launch: Remove
18261         --enable-gtk-cairo from configure line.
18262         * gnu/classpath/Configuration.java.in (GTK_CAIRO_ENABLED): Remove
18263         field.
18264         * gnu/java/awt/BitwiseXORComposite.java: Fix javadoc typo.
18265         * gnu/java/awt/peer/gtk/GdkFontPeer.java,
18266         native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c : Remove
18267         useGraphics2D references.  Always assume Graphics2D is enabled.
18268         * gnu/java/awt/peer/gtk/GdkGraphics.java,
18269         native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c: Remove.
18270         * gnu/java/awt/peer/gtk/GdkGraphics2D.java,
18271         native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c: Remove
18272         Unlocked method variants.  Remove GTK_CAIRO_ENABLED and
18273         useGraphics2D references.  Always assume Graphics2D is enabled.
18274         * gnu/java/awt/peer/gtk/GdkTextLayout.java: Remove instanceof
18275         Graphics2D check.  Always assume Graphics2D is enabled.
18276         * gnu/java/awt/peer/gtk/GtkCanvasPeer.java,
18277         native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c
18278         (realize): Remove method.
18279         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
18280         native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
18281         (isRealized): Remove method.
18282         (realize): Implement as a native method.  Remove useGraphics2D
18283         references.  Always assume Graphics2D is enabled.
18284         * gnu/java/awt/peer/gtk/GtkImage.java,
18285         native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c: Replace
18286         GdkGraphics references with GdkGraphics2D references.
18287         * gnu/java/awt/peer/gtk/GtkToolkit.java,
18288         native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c: Remove
18289         useGraphics2D references.  Always assume Graphics2D is enabled.
18290         * include/Makefile.am (GTKPEER_H_FILES): Remove
18291         gnu_java_awt_peer_gtk_GdkGraphics.h.
18292         * include/gnu_java_awt_peer_gtk_GdkFontPeer.h: Regenerate.
18293         * include/gnu_java_awt_peer_gtk_GdkGraphics.h: Remove.
18294         * include/gnu_java_awt_peer_gtk_GdkGraphics2D.h: Regenerate.
18295         * include/gnu_java_awt_peer_gtk_GtkCanvasPeer.h: Likewise.
18296         * include/gnu_java_awt_peer_gtk_GtkComponentPeer.h: Likewise.
18297         * native/jawt/Makefile.am (AM_LDFLAGS): Remove CAIRO_LIBS.
18298         * native/jni/gtk-peer/Makefile.am (libgtkpeer_la_SOURCES): Remove
18299         gnu_java_awt_peer_gtk_GdkGraphics.c.  Include
18300         gnu_java_awt_peer_gtk_GdkGraphics2D.c unconditionally.
18301         (AM_LDFLAGS): Remove CAIRO_LIBS.
18302         (AM_CFLAGS): Remove CAIRO_CFLAGS.
18303         * native/jni/gtk-peer/gtkcairopeer.h: Remove.  Move declarations
18304         to ...
18305         * native/jni/gtk-peer/gtkpeer.h: Add Graphics2D declarations.
18306
18307 2006-05-25  Lillian Angel  <langel@redhat.com>
18308
18309         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
18310         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkWidgetSetCursorUnlocked):
18311         Added check to prevent assertion error. If widget->window is null, then
18312         use the parent widget's window to set the cursor on.
18313
18314 2006-05-25  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
18315
18316         * javax/swing/plaf/basic/BasicTreeUI.java (TreeCancelEditingAction):
18317         Implemented.
18318
18319 2006-05-24  Lillian Angel  <langel@redhat.com>
18320
18321         * tools/gnu/classpath/tools/appletviewer/AppletTag.java
18322         (prependCodeBase): Added check to determine if the documentbase
18323         points to a directory or a file.
18324
18325 2006-05-24  Sven de Marothy  <sven@physto.se>
18326
18327         * java/awt/dnd/DragGestureRecognizer.java
18328         (resetRecognizer): Implement.
18329         (fireDragGestureRecognized): Implement.
18330
18331 2006-05-24  David Gilbert  <david.gilbert@object-refinery.com>
18332
18333         * javax/swing/plaf/basic/BasicComboBoxUI.java: Marked stub methods and
18334         fixed source code formatting.
18335
18336 2006-05-24  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
18337
18338         * javax/swing/JTable.java (valueChanged): If is editing, stop editing.
18339
18340 2006-05-24  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
18341
18342         Reported by Antony Balkisson.
18343         * javax/swing/JTable.java (selectAll): Return without action 
18344         if the table is empty.
18345
18346 2006-05-23  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
18347
18348         * examples/gnu/classpath/examples/swing/TableDemo.java:
18349         (SliderCell): New inner class. (setCustomEditors,
18350         setInformativeHeaders): New fields. (createContent):
18351         Rewritten.
18352         * javax/swing/DefaultCellEditor.java 
18353         (JComboBoxDelegate.shouldSelectCell): New method.
18354         * javax/swing/JTable.java (editCellAt): Call shouldSelectCell.
18355         * javax/swing/plaf/basic/BasicTableUI.java
18356         (MouseInputHandler.mouseClicked): Start editing on a single
18357         click if the cell editor is not a default cell editor.
18358
18359 2006-05-23  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
18360
18361         * javax/swing/naming/CompositeName.java,
18362         javax/swing/naming/CompoundName.java:
18363         Documented.
18364
18365 2006-05-23  Archie Cobbs  <archie@dellroad.org>
18366
18367         * vm/reference/java/lang/VMClassLoader.java: fix static initializer
18368         ordering problem.
18369
18370 2006-05-23  David Gilbert  <david.gilbert@object-refinery.com>
18371
18372         * javax/swing/tree/AbstractLayoutCache.java: Coding style fixes,
18373         * javax/swing/tree/DefaultMutableTreeNode.java: Likewise,
18374         * javax/swing/tree/DefaultTreeCellRenderer.java: Likewise,
18375         * javax/swing/tree/DefaultTreeModel.java: Likewise,
18376         * javax/swing/tree/DefaultTreeSelectionModel.java: Likewise,
18377         * javax/swing/tree/ExpandVetoException.java: Likewise,
18378         * javax/swing/tree/FixedHeightLayoutCache.java: Likewise,
18379         * javax/swing/tree/RowMapper.java: Likewise,
18380         * javax/swing/tree/TreeNode.java: Likewise,
18381         * javax/swing/tree/TreeSelectionModel.java: Likewise,
18382         * javax/swing/tree/VariableHeightLayoutCache.java: Likewise.
18383
18384 2006-05-23  David Gilbert  <david.gilbert@object-refinery.com>
18385
18386         * javax/swing/tree/DefaultTreeCellRenderer.java
18387         (DefaultTreeCellRenderer): Changed key for 
18388         setBackgroundNonSelectionColor(),
18389         plus API docs all over.
18390
18391 2006-05-23  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
18392         
18393         PR 27680
18394         * javax/swing/JTable.java (booleanInvertingEditor): New field.
18395         (defaultEditorsByColumnClass, defaultRenderersByColumnClass):
18396         Initialise in constructor. (columnMoved): Cancel editing.
18397         (createDefaultEditors): Rewritten. (editCellAt):
18398         Just invert the value if this is a boolean cell. 
18399         (initialiseLocalVars): Do not initialise renderer and editor tables.
18400         (setUI): Create editors and renderers here.
18401
18402 2006-05-23  Robert Schuster  <robertschuster@fsfe.org>
18403
18404         * examples/gnu/classpath/examples/awt/Demo.java:
18405         (MainWindow.MainWindow): Added ResolutionWindow and FullscreenWindow
18406         instance as subframe.
18407         (ResolutionWindow): New inner class.
18408         (FullscreenWindow): New inner class.
18409
18410 2006-05-23  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
18411         
18412         PR 27680
18413         * javax/swing/JTable.java (BooleanCellRenderer, IconCellRenderer):
18414         Set horizontal alignment to centered.
18415
18416 2006-05-22  David Gilbert  <david.gilbert@object-refinery.com>
18417
18418         * javax/accessibility/AccessibleContext.java
18419         (getAccessibleComponent): Fixed typo in docs,
18420         * javax/swing/JLabel.java:
18421         (AccessibleJLabel.getAccessibleName): Check for explicit 
18422         accessibleName,
18423         * javax/swing/JTableHeader.java
18424         (AccessibleJTableHeaderEntry.columnIndex): New field,
18425         (AccessibleJTableHeaderEntry.parent): New field,
18426         (AccessibleJTableHeaderEntry.table): New field,
18427         (AccessibleJTableHeaderEntry.AccessibleJTableHeaderEntry()): 
18428         Implemented,
18429         (AccessibleJTableHeaderEntry.getAccessibleColumnHeaderRenderer): New 
18430         utility method,
18431         (AccessibleJTableHeaderEntry.addFocusListener): Implemented,
18432         (AccessibleJTableHeaderEntry.addPropertyChangeListener): Implemented,
18433         (AccessibleJTableHeaderEntry.contains): Implemented,
18434         (AccessibleJTableHeaderEntry.getAccessibleAction): Implemented,
18435         (AccessibleJTableHeaderEntry.getAccessibleAt): Implemented,
18436         (AccessibleJTableHeaderEntry.getAccessibleChild): Implemented,
18437         (AccessibleJTableHeaderEntry.getAccessibleChildrenCount): Implemented,
18438         (AccessibleJTableHeaderEntry.getAccessibleComponent): Implemented,
18439         (AccessibleJTableHeaderEntry.getAccessibleContext): Implemented,
18440         (AccessibleJTableHeaderEntry.getAccessibleDescription): Implemented,
18441         (AccessibleJTableHeaderEntry.getAccessibleIndexInParent): Implemented,
18442         (AccessibleJTableHeaderEntry.getAccessibleName): Implemented,
18443         (AccessibleJTableHeaderEntry.getAccessibleRole): Implemented,
18444         (AccessibleJTableHeaderEntry.getAccessibleSelection): Implemented,
18445         (AccessibleJTableHeaderEntry.getAccessibleStateSet): Implemented,
18446         (AccessibleJTableHeaderEntry.getAccessibleText): Implemented,
18447         (AccessibleJTableHeaderEntry.getAccessibleValue): Implemented,
18448         (AccessibleJTableHeaderEntry.getBackground): Implemented,
18449         (AccessibleJTableHeaderEntry.getBounds): Implemented,
18450         (AccessibleJTableHeaderEntry.getCursor): Implemented,
18451         (AccessibleJTableHeaderEntry.getFont): Implemented,
18452         (AccessibleJTableHeaderEntry.getFontMetrics): Implemented,
18453         (AccessibleJTableHeaderEntry.getForeground): Implemented,
18454         (AccessibleJTableHeaderEntry.getLocation): Implemented,
18455         (AccessibleJTableHeaderEntry.getLocationOnScreen): Implemented,
18456         (AccessibleJTableHeaderEntry.getSize): Implemented,
18457         (AccessibleJTableHeaderEntry.isEnabled): Implemented,
18458         (AccessibleJTableHeaderEntry.isFocusTraversable): Implemented,
18459         (AccessibleJTableHeaderEntry.isShowing): Implemented,
18460         (AccessibleJTableHeaderEntry.isVisible): Implemented,
18461         (AccessibleJTableHeaderEntry.removeFocusListener): Implemented,
18462         (AccessibleJTableHeaderEntry.removePropertyChangeListener): 
18463         Implemented,
18464         (AccessibleJTableHeaderEntry.requestFocus): Implemented,
18465         (AccessibleJTableHeaderEntry.setAccessibleDescription): Implemented,
18466         (AccessibleJTableHeaderEntry.setAccessibleName): Implemented,
18467         (AccessibleJTableHeaderEntry.setBackground): Implemented,
18468         (AccessibleJTableHeaderEntry.setBounds): Implemented,
18469         (AccessibleJTableHeaderEntry.setCursor): Implemented,
18470         (AccessibleJTableHeaderEntry.setEnabled): Implemented,
18471         (AccessibleJTableHeaderEntry.setFont): Implemented,
18472         (AccessibleJTableHeaderEntry.setForeground): Implemented,
18473         (AccessibleJTableHeaderEntry.setLocation): Implemented,
18474         (AccessibleJTableHeaderEntry.setSize): Implemented,
18475         (AccessibleJTableHeaderEntry.setVisible): Implemented,
18476         (AccessibleJTableHeader.getAccessibleRole): Implemented,
18477         (AccessibleJTableHeader.getAccessibleChildrenCount): Implemented,
18478         (AccessibleJTableHeader.getAccessibleChild): Implemented,
18479         (AccessibleJTableHeader.getAccessibleAt): Implemented.
18480
18481 2006-05-22  Tom Tromey  <tromey@redhat.com>
18482
18483         * NEWS: Updated.
18484
18485 2006-05-22  David Gilbert  <david.gilbert@object-refinery.com>
18486
18487         * javax/swing/JLabel.java
18488         (AccessibleJLabel.getAccessibleName): New method (override),
18489         (setLabelFor): Fire 'labelFor' property change event before other
18490         events.
18491
18492 2006-05-22  David Gilbert  <david.gilbert@object-refinery.com>
18493
18494         * javax/swing/JLabel.java
18495         (AccessibleJLabel.getAccessibleRole): New method (override).
18496
18497 2006-05-22  Tom Tromey  <tromey@redhat.com>
18498
18499         * resource/gnu/classpath/tools/serialver/messages.properties: New
18500         file.
18501         * tools/gnu/classpath/tools/serialver/Messages.java: New file.
18502         * tools/gnu/classpath/tools/serialver/SerialVer.java (classes): New
18503         field.
18504         (classpath): Likewise.
18505         (run): New method.
18506         (main): Use it.
18507         (addFileURL): New method.
18508         (getClassLoader): Likewise.
18509         (printMessage): Likewise.
18510
18511 2006-05-22  Tom Tromey  <tromey@redhat.com>
18512
18513         * tools/gnu/classpath/tools/serialver/SerialVer.java: New file.
18514
18515 2006-05-22  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
18516
18517         * javax/swing/JTable.java (doLayout): In the column
18518         resize mode, only repaing the changed part of the table.
18519         (getLeftResizingBoundary): New method.
18520
18521 2006-05-22  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
18522
18523         * javax/naming/spi/InitialContextFactory.java,
18524         javax/naming/spi/InitialContextFactoryBuilder.java,
18525         javax/naming/spi/NamingManager.java,
18526         javax/naming/spi/ObjectFactory.java,
18527         javax/naming/spi/ResolveResult.java,
18528         javax/naming/spi/Resolver.java,
18529         javax/naming/spi/StateFactory.java: Documented.
18530
18531 2006-05-21  Tom Tromey  <tromey@redhat.com>
18532
18533         PR classpath/27688:
18534         * tools/gnu/classpath/tools/jar/Extractor.java (allItems): Now
18535         a WorkSet.
18536         (initSet): Removed.
18537         (shouldExtract): Removed.
18538         (run): Updated.
18539         * tools/gnu/classpath/tools/jar/WorkSet.java: New file.
18540         * tools/gnu/classpath/tools/jar/Lister.java (readUntilEnd): New
18541         method.
18542         (listJar): Use it.
18543         (allItems): New field.
18544         (run): Initialize it.
18545         (listJar): Use it.
18546
18547 2006-05-22  Sven de Marothy  <sven@physto.se>
18548
18549         * java/nio/CharBuffer.java
18550         (wrap): Fix bounds checking.
18551
18552 2004-08-26  Tom Tromey  <tromey@redhat.com>
18553
18554         * java/io/OutputStream.java 
18555         (OutputStream): Implements Closeable, Flushable.
18556
18557 2006-04-02  Andrew John Hughes  <gnu_andrew@member.fsf.org>
18558
18559         * java/io/ObjectOutputStream.java:
18560         (writeObject(Object)): Added enum support.
18561         (writeClassDescriptor(ObjectStreamClass)): Likewise.
18562         * java/io/ObjectStreamClass.java:
18563         (isEnum()): New package-private method.
18564         (setFlags(Class)): Added enum support.
18565         * java/io/ObjectStreamConstants.java:
18566         (SC_ENUM): Added.
18567
18568 2006-03-29  Andrew John Hughes  <gnu_andrew@member.fsf.org>
18569
18570         * java/io/ObjectInputStream.java:
18571         (parseContent(byte)): Added enum support.
18572         * java/io/ObjectStreamConstants.java:
18573         (TC_ENUM): Added.
18574         (TC_MAX): Changed to new maximum, TC_ENUM.
18575
18576 2006-05-21  Andrew John Hughes  <gnu_andrew@member.fsf.org>
18577
18578         * java/beans/beancontext/BeanContextSupport.java:
18579         (instantiateChild(String)): Implemented.
18580         
18581 2006-05-21  Andrew John Hughes  <gnu_andrew@member.fsf.org>
18582
18583         * java/beans/beancontext/BeanContextSupport.java:
18584         (add(Object)): Add further documentation.
18585         (isEmpty()): Documented.
18586         (propertyChange(PropertyChangeEvent)): Implemented.
18587         (remove(Object)): Documented.
18588         (remove(Object,boolean)): Documented and implemented.
18589         (vetoableChange(PropertyChangeEvent)): Marked as
18590         implemented (only subclasses appear to need this).
18591         
18592 2006-05-21  Andrew John Hughes  <gnu_andrew@member.fsf.org>
18593
18594         * java/beans/beancontext/BeanContextSupport.java:
18595         (add(Object)): Implement support for the child being
18596         a BeanContextChild.
18597         (avoidingGui()): Implemented.
18598         (dontUseGui()): Likewise.
18599         (needsGui()): Likewise.
18600         (okToUseGui()): Likewise.
18601         
18602 2006-05-21  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
18603
18604         * javax/naming/Context.java,
18605         javax/naming/ContextNotEmptyException.java,
18606         javax/naming/Reference.java: Documented.
18607
18608 2006-05-21  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
18609
18610         * javax/swing/text/html/MinimalHTMLWriter.java
18611         (writeComponent, writeImage): Declare that the method
18612         may throw the IOException.
18613
18614 2006-05-21  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
18615         
18616         PR 26972
18617         * javax/naming/InitialContext.java (colon_list): Changed type to
18618         hashset. (use_properties): New field. (init(Hashtable)): Rewritten.
18619         (merge): Rewritten.
18620
18621 2006-05-21  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
18622
18623         * javax/naming/InitialContext.java: Documented.
18624
18625 2006-05-21  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
18626
18627         * javax/naming/NameParser.java,
18628         javax/naming/NamingEnumeration.java,
18629         javax/naming/PartialResultException.java,
18630         javax/naming/SizeLimitExceededException.java,
18631         javax/naming/spi/ObjectFactory.java,
18632         javax/naming/spi/ObjectFactoryBuilder.java: Documented.
18633
18634 2006-05-21  Andrew John Hughes  <gnu_andrew@member.fsf.org>
18635
18636         * gnu/java/net/loader/JarURLLoader.java:
18637         Use Map.Entry instead of LinkedHashMap.Entry
18638         
18639 2006-05-21  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
18640
18641         * javax/naming/Context.java: Documented.
18642
18643 2006-05-21  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
18644
18645         * javax/naming/Referenceable.java: Documented.
18646         * javax/naming/spi/NamingManager.java: Documented.
18647
18648 2006-05-21  Raif S. Naffah  <raif@swiftdsl.com.au>
18649
18650         * doc/tools.texinfo: Replaced references to MessageBundle.properties
18651         to messages.properties.
18652         * resource/gnu/classpath/tools/jarsigner/MessageBundle.properties:
18653         Renamed to messages.properties.
18654         * resource/gnu/classpath/tools/keytool/MessageBundle.properties:
18655         Likewise.
18656         * resource/gnu/classpath/tools/jarsigner/messages.properties:
18657         Renamed from MessageBundle.properties.
18658         Added copyright notice.
18659         * resource/gnu/classpath/tools/keytool/messages.properties:
18660         Likewise.
18661         * tools/gnu/classpath/tools/jarsigner/Messages.java
18662         (BUNDLE_NAME): Use messages instead of MessageBundle properties file.
18663         (getFormattedString): Fixed a spelling mistake.
18664         * tools/gnu/classpath/tools/keytool/Messages.java: Likewise.
18665
18666 2006-05-20  Sven de Marothy  <sven@physto.se>
18667
18668         * gnu/java/awt/font/opentype/NameDecoder.java
18669         Made class public.
18670         (getName): Use getShort instead of getChar(), fix PS name.
18671         (decodeName): New method.
18672         * gnu/java/awt/peer/gtk/GdkFontPeer.java
18673         (getSubFamilyName): Implement.
18674         (getPostScriptName): Use the NameDecoder class instead.
18675         (parsePSName): Removed.
18676         (getName): Added
18677
18678 2006-05-20  Sven de Marothy  <sven@physto.se>
18679
18680         * gnu/java/awt/peer/gtk/GdkFontPeer.java
18681         (getTrueTypeTable): New native method.
18682         (getPostScriptName): Reimplement.
18683         (parsePSName): New method.
18684         (getNumGlyphs): Implement.
18685         * include/gnu_java_awt_peer_gtk_GdkFontPeer.h: New native method.
18686         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
18687         (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getTrueTypeTable):
18688         New function. File is now explicitly dependent on FT2.
18689         
18690 2006-05-20  Tom Tromey  <tromey@redhat.com>
18691
18692         * tools/gnu/classpath/tools/native2ascii/Messages.java: New file.
18693         * resource/gnu/classpath/tools/native2ascii/messages.properties: New
18694         file.
18695         * tools/gnu/classpath/tools/native2ascii/Native2ASCII.java
18696         (HandleFile): New class.
18697         (input, output, encoding, reversed): New fields.
18698         (createParser): New method.
18699         (run): Likewise.
18700         (main): Use 'run'.
18701         * tools/gnu/classpath/tools/getopt/FileArgumentCallback.java
18702         (notifyFile): Throws OptionException.
18703
18704 2006-05-20  Tom Tromey  <tromey@redhat.com>
18705
18706         * tools/gnu/classpath/tools/native2ascii/Native2ASCII.java: New file,
18707         from cp-tools.
18708
18709 2006-05-20  Andrew John Hughes  <gnu_andrew@member.fsf.org>
18710
18711         * native/jni/java-nio/gnu_java_nio_VMChannel.c:
18712         (JCL_print_buffer): Fix to work with -Werror on 64-bit
18713         platforms.
18714         
18715 2006-05-20  Sven de Marothy  <sven@physto.se>
18716
18717         * java/awt/Font.java (getNumGlyphs): Call correct peer method.
18718         
18719 2006-05-20  Sven de Marothy  <sven@physto.se>
18720
18721         * gnu/java/awt/print/JavaPrinterJob.java 
18722         (print): Use PostScriptGraphics2D.
18723         * gnu/java/awt/print/PostScriptGraphics2D.java: New file.
18724         
18725 2006-05-20  Sven de Marothy  <sven@physto.se>
18726
18727         * javax/swing/text/html/MinimalHTMLWriter.java: New file
18728         
18729 2006-05-20  Raif S. Naffah  <raif@swiftdsl.com.au>
18730
18731         * gnu/java/security/OID.java: Updated copyright year.
18732         (OID): Removed unused Javadoc param tag.
18733         * gnu/java/security/prng/PRNGFactory.java: Removed unused import.
18734         * gnu/java/security/hash/MD4.java: Fixed a Javadoc link.
18735
18736 2006-05-20  Raif S. Naffah  <raif@swiftdsl.com.au>
18737
18738         * gnu/javax/crypto/jce/keyring/GnuKeyring.java (engineAliases):
18739         Formatting.
18740         Added trace/debug statements.
18741         (engineSetCertificateEntry): Ensure alias is not already used for a Key
18742         Entry.  Also ensure that any previous entry for this alias is removed
18743         before a new one is added.
18744         (engineGetKey): Do not trace/log passwords.
18745         Trace key's class name only.
18746         (engineSetKeyEntry): Ensure alias is not alredy used for a Trusted
18747         Certificate Entry. Also ensure that previous entry for this alias is
18748         removed before a new one is added.
18749         (engineLoad): Do not trace/log passwords.
18750         (engineStore): Likewise.
18751         (engineSize): Use size of enumeration instead of collection size.
18752
18753 2006-05-20  Raif S. Naffah  <raif@swiftdsl.com.au>
18754
18755         * gnu/javax/crypto/keyring/PrivateKeyEntry.java: Formatting.
18756         (toString): New method.
18757         * gnu/javax/crypto/keyring/PasswordEncryptedEntry.java (decrypt):
18758         Do not trace/log passwords.
18759         Set masked to false before decoding envelope.
18760         Do not set payload to null.
18761         (encrypt): Set masked to true.
18762         * gnu/javax/crypto/keyring/PasswordAuthenticatedEntry.java (verify):
18763         Do not trace/log passwords.
18764         Set masked to false before decoding envelope.
18765         Do not set payload to null.
18766         Added trace/debug statements.
18767         (authenticate): Do not trace/log passwords.
18768         Set masked to true.
18769         Added trace/debug statements.
18770         (getMac): Added trace/debug statements.
18771         * gnu/javax/crypto/keyring/MaskableEnvelopeEntry.java
18772         (remove(String)): Changed the signature to return a boolean.
18773         (toString): New method.
18774         * gnu/javax/crypto/keyring/GnuPublicKeyring.java (containsCertificate):
18775         Formatting
18776         (getCertificate): Likewise.
18777         (putCertificate): Likewise.
18778         (load): Likewise.
18779         Do not trace/log passwords.
18780         (store): Likewise.
18781         * gnu/javax/crypto/keyring/GnuPrivateKeyring.java (getPrivateKey):
18782         Do not trace/log passwords.
18783         Added more trace/logging statements.
18784         (putPrivateKey): Do not trace/log passwords.
18785         Trace only key's class name.
18786         Formatting.
18787         (containsPublicKey): Formatting.
18788         (getPublicKey): Likewise.
18789         Trace only key's class name.
18790         (putPublicKey): Trace only key's class name.
18791         (containsCertPath): Formatting.
18792         (getCertPath): Likewise.
18793         (putCertPath): Likewise.
18794         (load): Do not trace/log passwords.
18795         Formatting.
18796         (store): Likewise.
18797         * gnu/javax/crypto/keyring/EnvelopeEntry.java (log): New field.
18798         (add): Do not set payload to null.
18799         Added trace/debug statements.
18800         (containsAlias): Added trace/debug statements.
18801         (get): Likewise.
18802         (remove(Entry)): Likewise.
18803         (remove(String)): Likewise.
18804         Changed the signature to return a boolean.
18805         Do not set payload to null unless really removed.
18806         (toString): New method.
18807         (decodeEnvelope): Clear entries before proceeding.
18808         (makeAliasList): Added trace/debug statements.
18809         Ensure only non-null aliases and alias-lists are added.
18810         * gnu/javax/crypto/keyring/Entry.java (log): New field.
18811         (TYPES): New constant.
18812         (toString): New method.
18813         (defaultDecode): Add trace/debug statement.
18814
18815 2006-05-20  Raif S. Naffah  <raif@swiftdsl.com.au>
18816
18817         * tools/gnu/classpath/tools/keytool/ListCmd.java (rfc):
18818         Increased visibility.
18819         (setup): Do not trace/log passwords.
18820         (parsed): Was not setting correct (rfc) field; fixed.
18821         (print1Chain): Formatting.
18822         * tools/gnu/classpath/tools/keytool/DeleteCmd.java (setup):
18823         Do not trace/log passwords.
18824         * tools/gnu/classpath/tools/keytool/ExportCmd.java (setup): Likewise.
18825         * tools/gnu/classpath/tools/keytool/GenKeyCmd.java (setup): Likewise.
18826         * tools/gnu/classpath/tools/keytool/IdentityDBCmd.java (setup): Likewise.
18827         * tools/gnu/classpath/tools/keytool/KeyCloneCmd.java (setup): Likewise.
18828         * tools/gnu/classpath/tools/keytool/StorePasswdCmd.java (setup): Likewise.
18829         * tools/gnu/classpath/tools/keytool/ImportCmd.java (setup): Likewise.
18830         (orderChain): Added FIXME.
18831         * tools/gnu/classpath/tools/keytool/CertReqCmd.java (setup):
18832         Do not trace/log passwords.
18833         Removed commented out code.
18834         * tools/gnu/classpath/tools/keytool/KeyPasswdCmd.java (setup): Likewise.
18835         * tools/gnu/classpath/tools/keytool/SelfCertCmd.java (setup): Likewise.
18836         * tools/gnu/classpath/tools/keytool/Command.java (doCommand): Formatting.
18837         (setKeystoreURLParam): Likewise.
18838         (setKeystorePasswordParam): Do not trace/log passwords.
18839         (saveKeyStore): Likewise.
18840
18841 2006-05-19  Roman Kennke <kennke@aicas.com>
18842
18843         * gnu/java/awt/java2d/AbstractGraphics2D.java
18844         Added class docs.
18845         (pixel): Removed obsolete field.
18846         (draw(Shape)): Removed commented out code.
18847         (drawImage): Formatting.
18848         (drawString): Added optimization hook.
18849         (setPaint): Removed rawSetForeground().
18850         (getFontRenderContext): Return context with correct transform.
18851         (drawGlyphVector): Draw complete outline in one go.
18852         (copyArea): Added optimization hook.
18853         (clearRect): Added optimization hook.
18854         (drawImage): Added optimization hook.
18855         (fillShape): (Temporarily) Set antialiasing off by default for
18856         font rendering. Adjust the shape by some bits to improve rendering.
18857         Pass clip bounds to the render methods.
18858         (drawPixel): Removed.
18859         (rawSetPixel): Removed.
18860         (rawSetForeground): Removed.
18861         (rawDrawLine): Default impl calls standard pipeline.
18862         (rawDrawString): New method, calls standard pipeline for rendering.
18863         (rawClearRect): New method, calls standard pipeline for rendering.
18864         (rawFillRect): New method, calls standard pipeline for rendering.
18865         (rawDrawImage): New method, calls standard pipeline for rendering.
18866         (rawCopyArea): New method.
18867         (copyAreaImpl): New method.
18868         (rawFillShape): Renamed to fillShapeImpl(). Small optimization
18869         for rendering.
18870         (fillShapeAntialias): Fixed AA rendering.
18871         (fillScanlineAA): Fixed AA rendering.
18872         (getSegments): Take offset into account.
18873
18874 2006-05-19  Sven de Marothy  <sven@physto.se>
18875
18876         * javax/swing/text/AbstractWriter.java
18877         (getText): Fix parameters (start, length) not (start, end).
18878         
18879 2006-05-19  Tom Tromey  <tromey@redhat.com>
18880
18881         PR classpath/27444:
18882         * gnu/java/net/loader/URLLoader.java (getClassPath): Documented.
18883         Changed return type.
18884         * java/net/URLClassLoader.java (urlloaders): Removed.
18885         (addURLImpl): Updated.
18886         * gnu/java/net/loader/JarURLLoader.java (initialized): New field.
18887         (indexSet): Likewise.
18888         (classPath): Changed type.
18889         (JarURLLoader): New constructor.
18890         (initialize): New method.
18891         (getResource): Use index set if it exists.
18892         (getClassPath): Updated.
18893         * gnu/java/net/IndexListParser.java (IndexListParser): Avoid NPE.
18894         (prefixes): New field.
18895         (headers): Removed.
18896         (IndexListParser): Fill in prefixes.
18897         (clearAll): Clear prefixes.
18898         (getHeaders): Changed return type.
18899
18900 2006-05-19  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
18901
18902         * javax/swing/plaf/basic/BasicTableHeaderUI.java 
18903         (MouseInputHandler.mouseExitted): No nothing there.
18904         (MouseInputHandler.endDragging): Move column to the
18905         first/last position if released outside the horizontal
18906         table range.
18907
18908 2006-05-19  Lillian Angel  <langel@redhat.com>
18909
18910         * java/awt/font/GlyphVector.java
18911         (getGlyphCharIndex): Implemented.
18912         (getGlyphCharIndices): Implemented.
18913         (getGlyphOutline): Implemented.
18914         (getGlyphVisualBounds): Implemented.
18915         (getGlyphVisualBounds): Implemented.
18916         (getPixelBounds): Implemented.
18917         (getLayoutFlags): Implemented.
18918
18919 2006-05-19  Robert Schuster  <robertschuster@fsfe.org>
18920
18921         * java/awt/LightweightDispatcher.java: Added field dragButton and
18922         documentation for it.
18923         (handleMouseEvent): Rewritten MOUSE_PRESSED case in switch-statement,
18924         added subexpression to if-clause in MOUSE_RELEASED case.
18925
18926 2006-05-19  Robert Schuster  <robertschuster@fsfe.org>
18927
18928         * javax/swing/metal/MetalButtonUI.java:
18929         (update): Removed some subexpression from if-clause and call
18930         updateWithGradient.
18931         (updateWithGradient): New method.
18932
18933 2006-05-19  Roman Kennke <kennke@aicas.com>
18934
18935         * javax/swing/JComponent.java
18936         (findOverlapFreeParent): Implemented algorithm for finding
18937         overlapping in component hierarchy.
18938
18939 2006-05-19  Jeroen Frijters  <jeroen@frijters.net>
18940
18941         * java/lang/Thread.java
18942         (contextClassLoaderIsSystemClassLoader): New field.
18943         (Thread(ThreadGroup,Runnable)): Call createAnonymousThreadName.
18944         (Thread(VMThread,String,int,boolean)): Call createAnonymousThreadName
18945         and set contextClassLoaderIsSystemClassLoader.
18946         (Thread(ThreadGroup,Runnable,String,long)):
18947         Set contextClassLoaderIsSystemClassLoader.
18948         (createAnonymousThreadName): New method.
18949         (getContextClassLoader): Check contextClassLoaderIsSystemClassLoader
18950         and fixed security check.
18951         (setContextClassLoader): Clear contextClassLoaderIsSystemClassLoader.
18952
18953 2006-05-19  Robert Schuster  <robertschuster@fsfe.org>
18954
18955         * javax/swing/plaf/basic/BasicToolBarUI.java:
18956         (createNonRolloverBorder): Rewritten.
18957         (createRolloverBorder): Rewritten.
18958         (setToNonRolloverBorder): Store old border instance in hashtable.
18959         (setToRolloverBorder): Store old border instance in hashtable, use
18960         AbstractButton instead of JButton in statements.
18961         (setBorderToNormal): Rewritten.
18962         * javax/swing/plaf/metal/MetalLookAndFeel.java:
18963         (initComponentDefaults): Added values for ToolBar.rolloverBorder and
18964         ToolBar.nonrolloverBorder.
18965
18966 2006-05-18  Thomas Fitzsimmons  <fitzsim@redhat.com>
18967
18968         * javax/imageio/stream/ImageInputStreamImpl.java: Complete.
18969         * javax/imageio/stream/MemoryCacheImageInputStream.java: Likewise.
18970
18971 2006-05-18  Lillian Angel  <langel@redhat.com>
18972
18973         * java/awt/font/GlyphMetrics.java
18974         (getLSB): Implemented.
18975         (getRSB): Implemented.
18976
18977 2006-05-18  Lillian Angel  <langel@redhat.com>
18978
18979         * java/awt/font/GraphicAttribute.java:
18980         Documented entire class.
18981         (GraphicAttribute): Added check for alignment.
18982         (getBounds): Implemented.
18983         (getJustificationInfo): Implemented.
18984
18985 2006-05-18  Robert Schuster  <robertschuster@fsfe.org>
18986
18987         * java/awt/LightweightDispatcher.java:
18988         (handleMouseEvent): Added note, added subexpression to if-statement.
18989
18990 2006-05-18  Robert Schuster  <robertschuster@fsfe.org>
18991
18992         * javax/swing/plaf/basic/BasicToolBarUI.java:
18993         (navigateFocusedComp): Marked as stub.
18994         (createRolloverBorder): Create a different Border instance, added note.
18995         * javax/swing/plaf/metal/MetalBorders.java:
18996         (ButtonBorder): Added documentation.
18997         (ButtonBorder.paintDefaultButtonBorder): Added else-block.
18998         (ButtonBorder.paintOceanButtonBorder): Added else-block, added
18999         subexpression into if-else cascade, added note.
19000
19001 2006-05-18  Lillian Angel  <langel@redhat.com>
19002
19003         * java/awt/font/ShapeGraphicAttribute.java:
19004         Documented entire class.
19005         (ShapeGraphicAttribute): Initialized bounds field.
19006         (draw): Implemented.
19007         (equals): Implemented.
19008         (getAdvance): Implemented.
19009         (getAscent): Implemented.
19010         (getBounds): Implemented.
19011         (getDescent): Implemented.
19012         (hashCode): Implemented.
19013
19014 2006-05-18  Roman Kennke <kennke@aicas.com>
19015
19016         * javax/swing/CellRendererPane.java
19017         (CellRendererPane): Set CellRendererPane to invisible.
19018
19019 2006-05-18  Roman Kennke <kennke@aicas.com>
19020
19021         * gnu/java/awt/peer/gtk/GdkGraphics.java
19022         (clipRect): Removed old intersection statement.
19023
19024 2006-05-18  Roman Kennke <kennke@aicas.com>
19025
19026         * gnu/java/awt/peer/gtk/GdkGraphics.java
19027         (clipRect): Don't use Rectangle.intersection() to avoid creating
19028         2 unnecessary Rectangle instances and fix a clipping problem.
19029         (computeIntersection): New helper method, adapted from SwingUtilities.
19030
19031 2006-05-18  Roman Kennke <kennke@aicas.com>
19032
19033         * javax/swing/JComponent.java
19034         (isCompletelyDirty): Removed.
19035         (paint): Don't mark children as clean, this is no longer necessary.
19036         (findOverlapFreeParent): Don't stop at Viewports, this breaks
19037         painting when something overlaps the viewport (like a popup/menu).
19038         * javax/swing/RepaintManager.java
19039         (currentRepaintManagers): Made package private to avoid accessor
19040         methods.
19041         (dirtyComponents): Made private.
19042         (dirtyComponentsWork): Made private.
19043         (markCompletelyDirty): Fixed bounds of dirtyrect to be
19044         component-local not parent-local. Do not set flag in JComponent.
19045         (markCompletelyClean): Don't set JComponent flag.
19046         (isCompletelyDirty): Rewritten to return true when the complete
19047         component is marked dirty.
19048         (paintDirtyRegions): Improved parent-merging so that the merged-in
19049         components don't get painted too. 'Outsourced' the compilation
19050         of the repaint root components.
19051         (compileRepaintRoots): New helper method.
19052
19053 2006-05-18  Roman Kennke <kennke@aicas.com>
19054
19055         PR 26368
19056         * javax/swing/text/GapContent.java
19057         (GapContentPosition(int)): Use adapted binarySearch method to
19058         allow for having a greater array than number of entries.
19059         (numMarks): New field, holds the end of the marks list.
19060         (GapContent): Initialize positionMarks with size of 10 instead of 0.
19061         (shiftGapStartDown): Adjusted for new setPositionsInRange signature.
19062         (shiftGapEndUp): Adjusted for new setPositionsInRange signature.
19063         (setPositionsInRange): Changed signature to narrow the purpose and
19064         special cases inside. Reimplemented to crunch together equal marks.
19065         (adjustPositionsInRange): Added assertion to make sure we do
19066         not accidentally change the order of the mark. Added some debug
19067         output for a special case of which I don't know if it even exists.
19068         (resetMarksAtZero): Made impl simpler.
19069         (dumpMarks): New debug helper method.
19070         (insertMark): Grow array in bigger chunks to avoid excessive copying.
19071         (binarySearch): New method. An adaption of Arrays.binarySearch()
19072         that allows for an maxIndex parameter.
19073
19074 2006-05-18  Roman Kennke <kennke@aicas.com>
19075
19076         * javax/swing/KeyboardManager.java
19077         (topLevelLookup): Use WeakHashMap to avoid memory leak.
19078
19079 2006-05-18  Jeroen Frijters  <jeroen@frijters.net>
19080
19081         * gnu/java/net/loader/JarURLLoader.java
19082         (JarURLLoader): Use a slightly more efficient URL constructor.
19083
19084 2006-05-18  David Gilbert  <david.gilbert@object-refinery.com>
19085
19086         * gnu/java/awt/print/JavaPrinterGraphics.java
19087         (drawImage(Image, int, int, Color, ImageObserver)): Fix endless loop,
19088         (drawImage(Image, int, int, ImageObserver)): Likewise,
19089         (drawImage(Image, int, int, int, int, Color, ImageObserver)): Likewise,
19090         (drawImage(Image, int, int, int, int, ImageObserver)): Likewise,
19091         (drawImage(Image, int, int, int, int, int, int, int, int, Color, 
19092         ImageObserver)): Likewise,
19093         (drawImage(Image, int, int, int, int, int, int, int, int, 
19094         ImageObserver)): Likewise.
19095
19096 2006-05-17  Tom Tromey  <tromey@redhat.com>
19097
19098         * tools/gnu/classpath/tools/jar/Indexer.java (indexJarFile): Use a
19099         LinkedHashSet.
19100
19101 2006-05-17  David Gilbert  <david.gilbert@object-refinery.com>
19102
19103         * javax/swing/border/AbstractBorder.java: Source code formatting fixes,
19104         * javax/swing/border/BevelBorder.java: Likewise,
19105         * javax/swing/border/CompoundBorder.java: Likewise,
19106         * javax/swing/border/TitledBorder.java: Likewise.
19107
19108 2006-05-17  David Gilbert  <david.gilbert@object-refinery.com>
19109
19110         * javax/swing/table/AbstractTableModel.java: Formatting fixes,
19111         * javax/swing/table/DefaultTableModel.java: Likewise,
19112         * javax/swing/table/TableCellEditor.java: Likewise,
19113         * javax/swing/table/TableCellRenderer.java: Likewise.
19114
19115 2006-05-17  Lillian Angel  <langel@redhat.com>
19116
19117         * java/awt/font/ImageGraphicAttribute.java:
19118         Documented entire class.
19119         (ImageGraphicAttribute): Changed to call this.
19120         (ImageGraphicAttribute): Implemented.
19121         (draw): Implemented.
19122         (equals): Implemented.
19123         (getAdvance): Implemented.
19124         (getAscent): Implemented.
19125         (getBounds): Implemented.
19126         (getDescent): Implemented.
19127         (hashCode): Implemented.
19128         * javax/swing/text/html/HTMLDocument.java
19129         (create): Removed. Sufficent enough for
19130         super to be called.
19131         (insert): Likewise.
19132         (insertUpdate): Likewise.
19133         (processHTMLFrameHyperlinkEvent): Marked as stub.
19134         (start): Removed FIXME.
19135         (end): Likewise.
19136         (start): Called super. 
19137         (end): Called super.
19138         (getElement): removed unneeded code.
19139         (setParagraphAttribute): Removed. Sufficent enough
19140         for super to be called.
19141         (fireChangedUpdate): Likewise.
19142         (fireUndoableEditUpdate): Likewise.     
19143
19144 2006-05-17  Lillian Angel  <langel@redhat.com>
19145
19146         * java/awt/TexturePaint.java:
19147         Added documentation for class and all functions.
19148         (getTransparency): Implemented.
19149
19150 2006-05-17  Roman Kennke <kennke@aicas.com>
19151
19152         * java/awt/LightweightDispatcher.java
19153         (findTarget): Translate point to child components.
19154
19155 2006-05-17  Roman Kennke <kennke@aicas.com>
19156
19157         PR 26368
19158         * javax/swing/text/GapContent.java
19159         (GapContentPosition): Do no more implement Comparable.
19160         (GapContentPosition.mark): Removed field.
19161         (GapContentPosition.index): New field to hold the index into
19162         the positions array.
19163         (GapContentPosition(int)): Rewritten to use the new indirection
19164         to the positions array.
19165         (GapContentPosition.compareTo): Removed.
19166         (GapContentPosition.getOffset): Synchronized. Fetch mark from
19167         positionMarks array.
19168         (WeakPositionComparator): Removed obsolete class.
19169         (positions): Changed type to WeakHashMap.
19170         (positionMarks): New field, holds the marks of the positions.
19171         (GapContent): Initialize new fields.
19172         (createPosition): Rewritten to use the new indirection
19173         to the positions array.
19174         (getPositionsInRange): Rewritten to use the new indirection
19175         to the positions array.
19176         (setPositionsInRange): Rewritten to use the new indirection
19177         to the positions array.
19178         (adjustPositionsInRange): Rewritten to use the new indirection
19179         to the positions array.
19180         (insertMark): New helper method.
19181         (clearPositionReferences): Removed obsolete methods.
19182
19183 2006-05-17  Lillian Angel  <langel@redhat.com>
19184
19185         * java/awt/GraphicsConfiguration.java
19186         (getImageCapabilities): Implemented.
19187         (getBufferCapabilities): Implemented.
19188
19189 2006-05-17  Lillian Angel  <langel@redhat.com>
19190
19191         * javax/swing/plaf/basic/BasicSliderUI.java
19192         (focusGained): Implemented.
19193         (focusLost): Implemented.
19194         (paint): Added code to paint the focus.
19195         * javax/swing/plaf/metal/MetalSliderUI.java
19196         (paintThumb): Added code to set the thumbColor.
19197         (paintFocus): Implemented properly.
19198
19199 2006-05-17  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
19200
19201         PR 27383
19202         * javax/naming/spi/NamingManager.java (getURLContext):
19203         Always search for the factory class in all possible places
19204         and use VMStackWalker.
19205         (forName): New method.
19206
19207 2006-05-17  Roman Kennke <kennke@aicas.com>
19208
19209         * java/awt/LightweightDispatcher.java
19210         (handleMouseEvent): Fixed search algorithm for finding the
19211         mouse event target.
19212         (findTarget): Fixed search algorithm for finding the
19213         mouse event target.
19214
19215 2006-05-17  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
19216
19217         * javax/naming/spi/NamingManager.java: Documented.
19218
19219 2006-05-17  Mark Wielaard  <mark@klomp.org>
19220
19221         * THANKYOU: Add Trevor Linton <tlinton@xmission.com>.
19222         * gnu/javax/imageio/jpeg/DCT.java: Cleanup Todo copyright.
19223         * gnu/javax/imageio/jpeg/YCbCr_ColorSpace.java: Likewise.
19224         * gnu/javax/imageio/jpeg/ZigZag.java: Likewise.
19225
19226 2006-05-17  Robert Schuster  <robertschuster@fsfe.org>
19227
19228         Fixes PR 26947.
19229         * javax/swing/plaf/basic/BasicInternalFrameUI.java: Updated copyright
19230         year.
19231         (BorderListener.mouseClicked): Detect double-clicks in title pane,
19232         copied code from
19233         BasicInternalFrameTitlePaneUI.MaximizeAction.actionPerformed().
19234
19235 2006-05-17  Robert Schuster  <robertschuster@fsfe.org>
19236
19237         Fixes PR 27626.
19238         * java/awt/LightweightDispatcher.java:
19239         (handleMouseEvent): Moved assignment into switch-block, added notes.
19240
19241 2006-05-16  Lillian Angel  <langel@redhat.com>
19242
19243         * javax/swing/text/StyleContext.java:
19244         Changed staticAttributeKeys  to be a Hashtable.
19245         (getStaticAttribute): Implemented.
19246         (getStaticAttributeKey): Implemented.
19247         (readAttributeSet): Implemented.
19248         (writeAttributeSet): Added FIXME. Not sure how
19249         to implement this.
19250         (readAttributes): Implemented.
19251         (writeAttributes): Implemented.
19252         (registerStaticAttibuteKey): Fixed to add key to 
19253         the hash table.
19254
19255 2006-05-16  David Gilbert  <david.gilbert@object-refinery.com>
19256
19257         * javax/swing/DefaultButtonModel.java
19258         (setGroup): Removed event notification.
19259
19260 2006-05-16  Lillian Angel  <langel@redhat.com>
19261
19262         * javax/swing/plaf/basic/BasicComboBoxUI.java
19263         (installKeyboardActions): Implemented.
19264         (uninstallKeyboardActions): Implemented.
19265         * javax/swing/plaf/basic/BasicComboPopup.java
19266         (uninstallKeyboardActions): Removed FIXME. Nothing
19267         to be done here.
19268         (installKeyboardActions): Likewise.
19269         * javax/swing/plaf/basic/BasicTextUI.java
19270         (uninstallKeyboardActions): Implemented.
19271         * javax/swing/plaf/basic/BasicTreeUI.java:
19272         Added field for hashColor.
19273         Marked stub methods.
19274         (getHashColor): Implemented to use field.
19275         (setHashColor): Likewise.
19276         (getRowX): Implemented.
19277         (NodeDimensions.getRowX): Changed to use BasicTreeUI.getRowX.   
19278
19279 2006-05-16  Roman Kennke <kennke@aicas.com>
19280
19281         PR 26521
19282         * javax/swing/JTable.java
19283         (rowHeights): New field.
19284         (initializeLocalVars): Call setRowHeigt instead of rowHeight=,
19285         in order to initialize rowHeights correctly.
19286         (tableChanged): Nullify rowHeights when model changes. Only
19287         create default columns from model when corresponding property
19288         is set. Sync table model with rowHeights as appropriate.
19289         (valueChanged): Call repaint with the correct rectangle.
19290         (rowAtPoint): Handle rowHeights.
19291         (getCellRect): Mostly rewritten. Check for boundaries
19292         of model and return (0,0,0,0) or (0,0,width,height) when outside.
19293         Handle component orientation. Round correctly.
19294         (getRowHeight(int)): Implemented for variable row height.
19295         (setRowHeight(int,int)): Implemented for variable row height.
19296         (setRowHeight(int)): Nullify rowHeights.
19297         (setModel): Notify tableChanged().
19298         * javax/swing/plaf/basic/BasicTableUI.java
19299         (installDefaults): Create rendererPane in installUI.
19300         (installUI): Create and install rendererPane.
19301         (uninstallUI): Uninstall rendererPane and nullify rendererPane
19302         and table.
19303         (paint): Correctly handle rowMargin.
19304
19305 2006-05-16  Tom Tromey  <tromey@redhat.com>
19306
19307         PR classpath/27563:
19308         * java/text/NumberFormat.java (getIntegerInstance): Use
19309         "integerFormat", not "numberFormat".
19310
19311 2006-05-16  Lillian Angel  <langel@redhat.com>
19312
19313         * javax/swing/JPopupMenu.java
19314         (addMenuKeyListener): Implemented.
19315         (removeMenuKeyListener): Implemented.
19316         (getMenuKeyListeners): Implemented.
19317         * javax/swing/ProgressMonitor.java:
19318         Added new protected field.
19319         (getAccessibleContext): Implemented.
19320
19321 2006-05-16  Lillian Angel  <langel@redhat.com>
19322
19323         * javax/swing/JFileChooser.java:
19324         Added new private field.
19325         (setDragEnabled): Implemented.
19326         (getDragEnabled): Implemented.
19327
19328 2006-05-16  Lillian Angel  <langel@redhat.com>
19329
19330         * java/awt/Window.java
19331         (applyResourceBundle): Implemented.
19332
19333 2006-05-16  David Gilbert  <david.gilbert@object-refinery.com>
19334
19335         * javax/swing/DefaultButtonModel.java
19336         (setSelected): If new SELECTED state is false, clear ARMED and PRESSED
19337         states also.
19338
19339 2006-05-16  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
19340
19341         * javax/swing/JList.java (getSelectedValues):
19342         Ask the value for the indexed array element.
19343
19344 2006-05-16  Roman Kennke <kennke@aicas.com>
19345
19346         * javax/swing/JTable.java
19347         (valueChanged): Also repaint when table has only 1 row. Fixed
19348         repaint rectangle to span the entire changed rows.
19349
19350 2006-05-16  Roman Kennke <kennke@aicas.com>
19351
19352         PR 24031
19353         * javax/swing/JOptionPane.java
19354         (startModal): Rewritten. The events are now dispatched, even
19355         when the event dispatch thread gets blocked by the call
19356         to this method. Also, mouse events get intercepted outside the
19357         internal frame.
19358
19359 2006-05-16  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
19360
19361         * javax/swing/plaf/basic/BasicInternalFrameUI.java
19362         (BorderListener.mouseDragged):Do not set cursor 
19363         if the frame is being dragged.
19364
19365 2006-05-16  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
19366
19367         * javax/swing/plaf/basic/BasicInternalFrameUI.java
19368         (BorderListener): Rewritten. (InternalFrameBorder):
19369         Made package private.
19370         (InternalFrameBorder.offset):
19371         Renamed to cornerSize, made package private.
19372         (bSize): Made package private.
19373
19374 2006-05-16  Roman Kennke <kennke@aicas.com>
19375
19376         * javax/swing/JMenu.java
19377         (AccessibleJMenu.getAccessibleChildrenCount): Implemented.
19378         (AccessibleJMenu.getAccessibleChild): Implemented.
19379         (AccessibleJMenu.getAccessibleSelection): Implemented.
19380         (AccessibleJMenu.getAccessibleSelection(int)): Implemented.
19381         (AccessibleJMenu.isAccessibleChildSelected): Implemented.
19382         (AccessibleJMenu.getAccessibleRole): Documented.
19383         (AccessibleJMenu.getAccessibleSelectionCount): Implemented.
19384         (AccessibleJMenu.addAccessibleSelection): Implemented.
19385         (AccessibleJMenu.removeAccessibleSelection): Implemented.
19386         (AccessibleJMenu.clearAccessibleSelection): Implemented.
19387         (AccessibleJMenu.selectAllAccessibleSelection): Implemented.
19388         (createPath): New helper method.
19389
19390 2006-05-15  Tom Tromey  <tromey@redhat.com>
19391
19392         * java/text/MessageFormat.java (format): Now varargs.
19393
19394 2006-05-15  Tom Tromey  <tromey@redhat.com>
19395
19396         * java/lang/Thread.java (State): Fixed typo.
19397
19398 2006-05-15  Tom Tromey  <tromey@redhat.com>
19399
19400         * java/net/URLClassLoader.java: Moved inner classes to
19401         gnu.java.net.loader.
19402         (factoryCache): Changed type.
19403         (URL_LOADER_PREFIX): New constant.
19404         (URLClassLoader): Updated for new factoryCache.
19405         (addURLImpl): Use reflection to search for a loader.
19406         (findClass): Use getClass method on URLLoader.
19407         (getURLStreamHandler): Removed.
19408         * gnu/java/net/loader/URLLoader.java: New file, extracted
19409         from URLClassLoader.
19410         * gnu/java/net/loader/Resource.java: Likewise.
19411         * gnu/java/net/loader/FileResource.java: Likewise.
19412         * gnu/java/net/loader/FileURLLoaderjava: Likewise.
19413         * gnu/java/net/loader/JarURLLoader.java: Likewise.
19414         * gnu/java/net/loader/JarURLResource.java: Likewise.
19415         * gnu/java/net/loader/RemoteURLLoader.java: Likewise.
19416         * gnu/java/net/loader/RemoteResource.java: Likewise.
19417         * gnu/java/net/loader/ULRStreamHandlerCache.java: New file.
19418
19419 2006-05-15  Sven de Marothy  <sven@physto.se>
19420
19421         * native/target/generic/target_generic_network.h: 
19422         Add a pair of parenthesis.
19423
19424 2006-05-15  Mark Wielaard  <mark@klomp.org>
19425
19426         * java/awt/Graphics2D.java: Remove PrinterJob import.
19427
19428 2006-05-15  Mark Wielaard  <mark@klomp.org>
19429
19430         * doc/www.gnu.org/announce/20060515.wml: New file.
19431         * doc/www.gnu.org/newsitems.txt: Add 0.91 release announcement.
19432         * doc/www.gnu.org/downloads/downloads.wml: Add 0.91.
19433
19434 2006-05-15  Thomas Fitzsimmons  <fitzsim@redhat.com>
19435
19436         * NEWS: Announce inclusion of gcjwebplugin.
19437         Announce inclusion of appletviewer.
19438         * INSTALL: Note gcjwebplugin dependencies.
19439
19440 2006-05-15  Mark Wielaard  <mark@klomp.org>
19441
19442         * configure.ac (VERSION): Set to 0.91-generics.
19443
19444 2006-05-15  Mark Wielaard  <mark@klomp.org>
19445
19446         * NEWS: Add release date and VMClassLoader.getBootPackages()
19447         changes.
19448
19449 2006-05-15  Christian Thalinger  <twisti@complang.tuwien.ac.at>
19450
19451         * README: Added CACAO to list of VMs.
19452
19453 2006-05-15  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
19454
19455         * javax/swing/RepaintManager.java (paintDirtyRegions):
19456         Break loop as soon as the component repaint is merged
19457         with some parent. (ComponentComparator): Removed.
19458         (comparator): Removed.
19459
19460 2006-05-15  Roman Kennke <kennke@aicas.com>
19461
19462         * javax/swing/border/TitledBorder.java
19463         (paintBorderWithTitle): Fixed indentation.
19464
19465 2006-05-15  Roman Kennke <kennke@aicas.com>
19466
19467         * javax/swing/border/TitledBorder.java
19468         (layoutBorderWithTitle): Fetch border using getBorder() instead
19469         of using the border field directly. Allows for the use of
19470         an UI supplied border in the case when a null border was set.
19471         Fixed component orientation.
19472         (paintBorderWithTitle): Fetch border using getBorder() instead
19473         of using the border field directly. Allows for the use of
19474         an UI supplied border in the case when a null border was set.
19475
19476 2006-05-15  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
19477
19478         * javax/swing/RepaintManager.java (paintDirtyRegions): Rewritten.
19479         (contains): New method.
19480
19481 2006-05-15  Tom Tromey  <tromey@redhat.com>
19482
19483         * resource/gnu/classpath/tools/jar/messages.properties: Fixed
19484         argument indices.
19485         * resource/gnu/classpath/tools/getopt/Messages.properties: Fixed
19486         argument indices.
19487
19488 2006-05-15  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
19489
19490         * javax/swing/JComponent.java (findOverlapParent): Stop loop at
19491          JViewport's.
19492         * javax/swing/RepaintManager.java (addDirtyRegion): Always add the given
19493         region. (paintDirtyRegions): Rewritten.
19494
19495 2006-05-15  Tom Tromey  <tromey@redhat.com>
19496
19497         * tools/gnu/classpath/tools/jar/Main.java (setArchiveFile): Use
19498         MessageFormat.
19499         * tools/gnu/classpath/tools/jar/Indexer.java (indexJarFile): Use
19500         MessageFormat.
19501         * tools/gnu/classpath/tools/jar/Extractor.java: Externalized strings.
19502         (run): Use MessageFormat.
19503         * resource/gnu/classpath/tools/jar/messages.properties: New file.
19504         * tools/gnu/classpath/tools/jar/Creator.java: Externalized strings.
19505         (writeFile): Use MessageFormat.
19506
19507 2006-05-15  Jeroen Frijters  <jeroen@frijters.net>
19508
19509         * java/awt/Toolkit.java (getDefaultToolkit): Use Class.forName()
19510         instead of directly calling the class loader.
19511
19512 2006-05-15  Tom Tromey  <tromey@redhat.com>
19513
19514         * tools/gnu/classpath/tools/getopt/Option.java (getDescription):
19515         Removed old comment.
19516         * tools/gnu/classpath/tools/getopt/ClasspathToolParser.java:
19517         Externalized strings.
19518         (getVersionString): Use MessageFormat.
19519         * tools/gnu/classpath/tools/getopt/Messages.java: New file.
19520         * resource/gnu/classpath/tools/getopt/Messages.properties: New file.
19521         * tools/gnu/classpath/tools/getopt/Parser.java: Externalized strings.
19522         (getArgument): Use a MessageFormat.
19523         (handleLongOption): Likewise.
19524         (parse): Likewise.
19525
19526 2006-05-15  Robert Schuster  <robertschuster@fsfe.org>
19527
19528         Fixes PR 27197.
19529         * javax/swing/text/FieldView.java:
19530         (paint): Calculate intersection between clip and allocation area and
19531         set that as new clip.
19532
19533 2006-05-15  David Gilbert  <david.gilbert@object-refinery.com>
19534
19535         * javax/swing/text/JTextComponent.java: Marked stub methods.
19536
19537 2006-05-15  David Gilbert  <david.gilbert@object-refinery.com>
19538
19539         * javax/swing/JTable.java: Marked stub methods.
19540
19541 2006-05-15  Raif S. Naffah  <raif@swiftdsl.com.au>
19542
19543         * tools/gnu/classpath/tools/jarsigner/Main.java:
19544         Increased visibility of fields used by parser anonymous classes.
19545         (KEYTOOL_TOOL): New constant.
19546         (cmdLineParser): Changed type to ToolParser.
19547         (fileAndAlias): new field.
19548         (main): Don't catch OptionException.
19549         (processArgs): Removed validation checks; now handled by ToolParser.
19550         (getParser): Removed.
19551         (ToolParserCallback): New inner class.
19552         (ToolParser): Likewise.
19553
19554 2006-05-15  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
19555
19556         * javax/swing/JTable.java (TableTextArea.scrollRectToVisible):
19557         Removed.
19558
19559 2006-05-15  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
19560
19561         * javax/swing/DefaultDesktopManager.java (endDraggingFrame, 
19562         endResizingFrame): Do not repaint, unless in the outline mode.
19563
19564 2006-05-15  David Gilbert  <david.gilbert@object-refinery.com>
19565
19566         * javax/swing/JTabbedPane.java
19567         (AccessibleJTabbedPane.getAccessibleRole): Implemented,
19568         (AccessibleJTabbedPane.getAccessibleChildrenCount): Implemented,
19569         (AccessibleJTabbedPane.getAccessibleSelection()): Implemented,
19570         (AccessibleJTabbedPane.getAccessibleAt): Implemented,
19571         (AccessibleJTabbedPane.getAccessibleSelectionCount): Implemented,
19572         (AccessibleJTabbedPane.getAccessibleSelection(int)): Implemented,
19573         (AccessibleJTabbedPane.isAccessibleChildSelected): Implemented,
19574         (AccessibleJTabbedPane.addAccessibleSelection): Implemented,
19575         (AccessibleJTabbedPane.removeAccessibleSelection): Implemented,
19576         (AccessibleJTabbedPane.clearAccessibleSelection): Implemented,
19577         (AccessibleJTabbedPane.selectAllAccessibleSelection): Implemented,
19578         (Page.getAccessibleName): Implemented.
19579
19580 2006-05-15  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
19581
19582         * javax/swing/DefaultDesktopManager.java (setBoundsForFrame):
19583         Do not repaint nor revalidate here.
19584
19585 2006-05-15  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
19586
19587         * javax/swing/RepaintManager.java (addDirtyRegion):
19588         If there is a lightweight parent, recursively add the corresponding
19589         region of the parent instead.
19590
19591 2006-05-15  David Gilbert  <david.gilbert@object-refinery.com>
19592
19593         * java/awt/Graphics2D.java: Added some API doc comments.
19594
19595 2006-05-15  David Gilbert  <david.gilbert@object-refinery.com>
19596
19597         * javax/swing/JTabbedPane.java
19598         (paramString): Reimplemented,
19599         (getAccessibleContext): Added API docs.
19600
19601 2006-05-15  David Gilbert  <david.gilbert@object-refinery.com>
19602
19603         * javax/swing/JFileChooser.java
19604         (paramString): Reimplemented,
19605         (getAccessibleContext): Updated API docs,
19606         (AccessibleJFileChooser): Added API docs.
19607
19608 2006-05-14  Tom Tromey  <tromey@redhat.com>
19609
19610         * tools/gnu/classpath/tools/jar/Updater.java (run): No longer throws
19611         OptionException.
19612         * tools/gnu/classpath/tools/jar/Creator.java (run): No longer throws
19613         OptionException.
19614         * tools/gnu/classpath/tools/jar/Action.java (run): No longer throws
19615         OptionException.
19616         * tools/gnu/classpath/tools/jar/Indexer.java (run): Removed.  Moved
19617         validation to JarParser.
19618         * tools/gnu/classpath/tools/jar/Main.java (JarParser): New class.
19619         (run): Moved validation to JarParser.  Don't throw OptionException.
19620         (initializeParser): Create a JarParser.
19621         (main): Don't catch OptionException.
19622         * tools/gnu/classpath/tools/getopt/Parser.java (printHelp): No longer
19623         public.
19624         (validate): New method.
19625         (parse): Call it.  Print '-help' in error message when long-only.
19626
19627 2006-05-14  Tom Tromey  <tromey@redhat.com>
19628
19629         * gnu/java/awt/print/JavaPrinterJob.java (setPrintable): Fixed
19630         assignment.
19631
19632 2006-05-15  Sven de Marothy  <sven@physto.se>
19633
19634         * gnu/java/awt/print/JavaPrinterGraphics.java:
19635         Sweeping changes I can't be bothered to document in detail.
19636         * gnu/java/awt/print/JavaPrinterJob.java
19637         (getPageAttributes): New method.
19638         (setPageable,cancel,isCancelled): Implement.
19639
19640 2006-05-14  David Gilbert  <david.gilbert@object-refinery.com>
19641
19642         * javax/swing/JCheckBoxMenuItem.java
19643         (requestFocus): Fixed typo in API docs,
19644         (paramString): Just call super.paramString(),
19645         (getAccessibleContext): Added API docs,
19646         (AccessibleJCheckBoxMenuItem): Likewise.
19647
19648 2006-05-14  Tom Tromey  <tromey@redhat.com>
19649
19650         * tools/gnu/classpath/tools/jar/Indexer.java
19651         (writeCommandLineEntries): Simplify insertion.
19652         * tools/gnu/classpath/tools/jar/Main.java (run): Don't allow both
19653         -m and -M.
19654
19655 2006-05-14  Tom Tromey  <tromey@redhat.com>
19656
19657         PR classpath/27514:
19658         * gnu/java/net/IndexListParser.java (JAR_INDEX_FILE): Renamed.  Now
19659         constant.
19660         (JAR_INDEX_VERSION_KEY): Likewise.
19661         (IndexListParser): Updated.
19662         (getVersionInfo): Likewise.
19663         * tools/gnu/classpath/tools/jar/Indexer.java: New file.
19664         * tools/gnu/classpath/tools/jar/Action.java (run): Now throws
19665         OptionException.
19666         * tools/gnu/classpath/tools/jar/Main.java (initializeParser): Handle
19667         -i.
19668         (ModeOption): New constructor.
19669         (parsed): Updated.  Use setArchiveFile.
19670         (setArchiveFile): New method.
19671         (run): Handle no-argument case.
19672         (main): Emit --help message on option error.
19673         * tools/gnu/classpath/tools/jar/Updater.java (inputJar): New field.
19674         (createManifest): New method.
19675         (run): Updated.  Throws OptionException.  Correctly copy zip entry.
19676         * tools/gnu/classpath/tools/jar/Creator.java (createManifest): New
19677         method.
19678         (writeManifest): Removed.
19679         (outputStream): Now a JarOutputStream.
19680         (writeCommandLineEntries): Changed parameters.  Updated callers.
19681         (run): Throws OptionException.
19682         * java/util/jar/JarOutputStream.java (putNextEntry): Typo fix.
19683         * java/util/jar/Manifest.java (read): Typo fix.
19684
19685 2006-05-14  David Gilbert  <david.gilbert@object-refinery.com>
19686
19687         * javax/swing/JMenuItem.java
19688         (paramString): Fixed class name in API doc comment.
19689
19690 2006-05-14  Tom Tromey  <tromey@redhat.com>
19691
19692         * native/plugin/.cvsignore: Updated.
19693
19694 2006-05-14  Mark Wielaard  <mark@klomp.org>
19695
19696         * native/jni/java-net/javanet.c (_javanet_accept): Don't use C++
19697         comments.
19698
19699 2006-05-14  Chris Burdess  <dog@gnu.org>
19700
19701         * gnu/xml/dom/DomNode.java: Permit comments and PIs in doctype
19702         nodes to be preserved during cloneNode.
19703
19704 2006-05-14  Mark Wielaard  <mark@klomp.org>
19705
19706         PR 27459
19707         * native/jni/java-net/javanet.c (_javanet_accept): Reset the
19708         inherited timeout on socket.
19709
19710 2006-05-14  Lillian Angel  <langel@redhat.com>
19711
19712         * java/util/SimpleTimeZone.java: Reverted patch.
19713         (SimpleTimeZone): Throw exception if startMonth ==
19714         endMonth.
19715         (SimpleTimeZone): Likewise.
19716         (checkRule): Rewritten to properly check all values (more
19717         efficently).
19718         This code is now more stable, at least less buggy than before.
19719         Fixed API documentation.
19720         (setStartRule): Moved checkRule call to end.
19721         (setStartRule): Likewise.
19722         (setEndRule): Likewise.
19723         (setEndRule): Likewise.
19724
19725 2006-05-14  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
19726
19727         * javax/swing/tree/DefaultTreeSelectionModel.java (leadRow):
19728         Initialise to -1.
19729
19730 2006-05-14  Robert Schuster  <robertschuster@fsfe.org>
19731
19732         PR classpath/27595
19733         * javax/swing/text/AbstractDocument.java:
19734         (insertString): Flipped if-expression and its blocks.
19735         (remove): Dito.
19736         (replace): Flipped if-expression and its blocks, added note, invoke
19737         insertString and remove instead of insertStringImpl and removeImpl.
19738
19739 2006-05-14  Raif S. Naffah  <raif@swiftdsl.com.au>
19740
19741         * tools/gnu/classpath/tools/jarsigner/Main.java (main): Formatting.
19742
19743 2006-05-14  Raif S. Naffah  <raif@swiftdsl.com.au>
19744
19745         * resource/gnu/classpath/tools/keytool/MessageBundle.properties:
19746         Added help text.
19747         * tools/gnu/classpath/tools/keytool/keytool.txt: Removed
19748         * tools/gnu/classpath/tools/keytool/StorePasswdCmd.java: 
19749         Increased visibility of fields used by parser anonymous classes.
19750         (processArgs): Removed.
19751         (getParser): New method.
19752         * tools/gnu/classpath/tools/keytool/SelfCertCmd.java: Likewise.
19753         (setup): Mark (Eclipse) strings that need not be externalised.
19754         (start): Likewise.
19755         * tools/gnu/classpath/tools/keytool/PrintCertCmd.java: Likewise.
19756         * tools/gnu/classpath/tools/keytool/Main.java: Amended to use getopt
19757         command line option parsing.
19758         * tools/gnu/classpath/tools/keytool/ListCmd.java: 
19759         Increased visibility of fields used by parser anonymous classes.
19760         (processArgs): Removed.
19761         (setup): set 'all' local field.
19762         (getParser): New method.
19763         * tools/gnu/classpath/tools/keytool/KeyPasswdCmd.java: 
19764         Increased visibility of fields used by parser anonymous classes.
19765         (processArgs): Removed.
19766         (getParser): New method.
19767         * tools/gnu/classpath/tools/keytool/KeyCloneCmd.java: Likewise.
19768         (setNewKeyPassword): Fixed comments.
19769         * tools/gnu/classpath/tools/keytool/ImportCmd.java: 
19770         Increased visibility of fields used by parser anonymous classes.
19771         (processArgs): Removed.
19772         (getParser): New method.
19773         (findTrustInCACerts): Mark (Eclipse) strings that need not be
19774         externalised.
19775         * tools/gnu/classpath/tools/keytool/GenKeyCmd.java: 
19776         Increased visibility of fields used by parser anonymous classes.
19777         (processArgs): Removed.
19778         (setup): Mark (Eclipse) strings that need not be externalised.
19779         (getParser): New method.
19780         * tools/gnu/classpath/tools/keytool/IdentityDBCmd.java: Likewise.
19781         * tools/gnu/classpath/tools/keytool/DeleteCmd.java: 
19782         Increased visibility of fields used by parser anonymous classes.
19783         (processArgs): Removed.
19784         (getParser): New method.
19785         * tools/gnu/classpath/tools/keytool/CertReqCmd.java: Likewise.
19786         (ATTRIBUTES_OPT): New constant.
19787         * tools/gnu/classpath/tools/keytool/ExportCmd.java: 
19788         Increased visibility of fields used by parser anonymous classes.
19789         (processArgs): Removed.
19790         (setup): Mark (Eclipse) strings that need not be externalised.
19791         (start): Likewise.
19792         Reduced logging level.
19793         (getParser): New method.
19794         * tools/gnu/classpath/tools/keytool/Command.java
19795         (processArgs): Made it concrete.
19796         (getParser): New abstract method.
19797         * tools/Makefile.am (KEYTOOL_HELPS): Removed.
19798
19799 2006-05-13  Casey Marshall  <csm@gnu.org>
19800
19801         Patch by Michael Barker <mike@middlesoft.co.uk>.
19802         * gnu/java/nio/PipeImpl.java: Retrofitted to use VMChannel.
19803         * gnu/java/nio/SelectorImpl.java (register): Added condition for
19804         gnu.java.nio.SocketChannelSelectionKeyImpl.
19805         * gnu/java/nio/SocketChannelSelectionKeyImpl.java: new file.
19806         * gnu/java/nio/channels/FileChannelImpl.java: retrofitted to use
19807         VMChannel.
19808         * include/gnu_java_nio_VMChannel.h: new file.
19809         * java/nio/FileChannel.java (read,write): changed to call abstract
19810         method.
19811         * native/jni/java-nio/gnu_java_nio_VMChannel.c: new file.
19812         * native/jni/java-nio/Makefile.am (libjavanio_SOURCES): add
19813         `gnu_java_nio_VMChannel.c.'
19814         * vm/reference/gnu/java/nio/VMChannel.java: new file.
19815
19816 2006-05-14  Robert Schuster  <robertschuster@fsfe.org>
19817
19818         * javax/swing/text/AbstractDocument.java:
19819         (insertString): Flipped if-expression and its blocks.
19820         (remove): Dito.
19821         (replace): Flipped if-expression and its blocks, added note, invoke
19822         insertString and remove instead of insertStringImpl and removeImpl.
19823
19824 2006-05-13  Tom Tromey  <tromey@redhat.com>
19825
19826         * java/nio/ByteBufferImpl.java (compact): Always set position.
19827
19828 2006-05-13  Sven de Marothy  <sven@physto.se>
19829
19830         * gnu/java/awt/print/JavaPrinterGraphics.java
19831         (spoolPostScript): Use a faster writer.
19832
19833 2006-05-13  Sven de Marothy  <sven@physto.se>
19834
19835         * gnu/java/awt/print/JavaPrinterGraphics.java
19836         (colorTripleHex): Reimplement better.
19837
19838 2006-05-13  Sven de Marothy  <sven@physto.se>
19839
19840         * javax/swing/text/html/HTMLDocument.java
19841         (CharacterAction.start): Translate tag to StyleAttribute.
19842         (pushCharacterStyle): Push copy of attributes onto stack.
19843         * gnu/javax/swing/text/html/CharacterAttributeTranslator.java:
19844         New file
19845
19846 2006-05-13  Sven de Marothy  <sven@physto.se>
19847
19848         * gnu/javax/print/ipp/IppRequest.java (send): Set a timeout.
19849         * java/awt/print/PrinterJob.java 
19850         (getPrinterJob): Return a JavaPrinterJob
19851         (setPrintService,getPrintService): Implement.
19852         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c:
19853         (getPixels): Gtk_threads_enter required.
19854         * gnu/java/awt/print/JavaPrinterGraphics.java
19855         * gnu/java/awt/print/JavaPrinterJob.java
19856         * gnu/java/awt/print/SpooledDocumet.java: 
19857         New files.
19858         
19859 2006-05-13  Robert Schuster  <robertschuster@fsfe.org>
19860
19861         * javax/swing/text/TextAction.java:
19862         (HorizontalMovementAction): New inner class.
19863         (VerticalMovementAction): New inner class.
19864         * javax/swing/text/DefaultEditorKit.java: Added assigning instances of
19865         new inner classes to array 'defaultActions'.
19866         (SelectionBeginWordAction): New inner class.
19867         (SelectionEndWordAction): New inner class.
19868         (BeginWordAction): New inner class.
19869         (EndWordAction): New inner class.
19870         (PreviousWordAction.actionPerformed): Rewritten.
19871         (SelectLineAction): New inner class.
19872         (SelectWordAction): New inner class.
19873         (SelectionDownAction): Rewritten.
19874         (SelectionUpAction): Rewritten.
19875         (DownAction): Rewritten.
19876         (UpAction): Rewritten.
19877         (SelectionForwardAction): Rewritten.
19878         (SelectionBackwardAction): Rewritten.
19879         (ForwardAction): Rewritten.
19880         (BackwardAction): Rewritten.
19881         (BeginAction): New inner class.
19882         (EndAction): New inner class.
19883         (DefaultKeyTypedAction.actionPerformed): Use int variant of
19884         Character.isISOControl.
19885
19886 2006-05-13  Robert Schuster  <robertschuster@fsfe.org>
19887
19888         * examples/gnu/classpath/examples/swing/NavigationFilterDemo.java:
19889         (WordFilter.getNextVisualPositionFrom): Added statement to check
19890         for variable pt not being null.
19891
19892 2006-05-13  Robert Schuster  <robertschuster@fsfe.org>
19893
19894         * javax/swing/text/Utilities.java:
19895         (getNextWord): Fixed grammar in exception message.
19896         (getPreviousWord): Changed expression in first if-clause, added sub-
19897         expression to if-clause in while-loop.
19898         (getWordStart): Changed expression in if-clause.
19899         getNextVisualPositionFrom): Added package-private helper method.
19900
19901 2006-05-13  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
19902  
19903         * javax/swing/tree/DefaultTreeSelectionModel.java (leadRow):
19904         Initialise to -1.
19905
19906 2006-05-13  Raif S. Naffah  <raif@swiftdsl.com.au>
19907
19908         * resource/gnu/classpath/tools/jarsigner/MessageBundle.properties:
19909         Added help text.
19910         * tools/Makefile.am (JARSIGNER_HELPS): Removed.
19911         * tools/gnu/classpath/tools/jarsigner/jarsigner.txt: Removed.
19912         * tools/gnu/classpath/tools/jarsigner/Main.java:
19913         Increased visibility of fields used by parser anonymous classes.
19914         (HELP_PATH): Removed.
19915         (cmdLineParser): New field.
19916         (main): Handle JVM exit status.
19917         Handle command line parsing exceptions.
19918         (processArgs): Use getopt command line parser.
19919         (getParser): New method.
19920         (setupCommonParams): Removed checks now handled by processArgs().
19921         (setupSigningParams): Likewise.
19922         * tools/gnu/classpath/tools/jarsigner/JarSigner.java (start):
19923         Reuse an existing message-bundle constant.
19924
19925 2006-05-12  Tom Tromey  <tromey@redhat.com>
19926
19927         * gnu/java/net/protocol/jar/Connection.java (getHeaderField):
19928         Explicitly specify class for synchronization.
19929
19930 2006-05-12  Tom Tromey  <tromey@redhat.com>
19931
19932         * java/util/logging/Logger.java (resetLogger): Fixed typo.
19933
19934 2006-05-12  Sven de Marothy  <sven@physto.se>
19935
19936         * gnu/java/net/protocol/http/HTTPConnection.java (get): Add timeout parameter.
19937         * gnu/java/net/protocol/http/HTTPURLConnection.java
19938         (setConnectTimeout): New method.
19939         (getConnection): Add timeout parameter.
19940         *  java/net/URLConnection.java  
19941         (getConnectTimeout, setConnectTimeout): Implement.
19942         * native/target/generic/target_generic_network.h: 
19943         Set correct socket parameters SO_SNDTIMEO and SO_RCVTIMEO.
19944         
19945 2006-05-12  Sven de Marothy  <sven@physto.se>
19946   
19947         * gnu/javax/print/CupsServer.java
19948         (CupsServer): Make the Cups host configurable.
19949         * java/lang/System.java: Document the system property.
19950         
19951 2006-05-12  Roman Kennke <kennke@aicas.com>
19952   
19953         * javax/swing/border/TitledBorder.java
19954         (paintBorder): Rewritten for simplicity and correctness.
19955         (layoutBorderWithTitle): New helper method.
19956         (paintBorderWithTitle): New helper method.
19957         (getBorderInsets): Rewritten.
19958         (getMinimumSize): Rewritten.
19959         (getRealJustification): Removed.
19960         (getMeasurements): Removed.
19961         (Measurements): Removed.
19962   
19963 2006-05-12  David Gilbert  <david.gilbert@object-refinery.com>
19964   
19965         * javax/swing/plaf/basic/BasicPanelUI.java
19966         (sharedUI): New field,
19967         (createUI): Return a shared instance rather than a new instance,
19968         (installUI): Reformatted and added API docs,
19969         (installDefaults): Install border if one is defined,
19970         (uninstallDefaults): Uninstall border.
19971
19972 2006-05-12  David Gilbert  <david.gilbert@object-refinery.com>
19973
19974         * javax/swing/JProgressBar.java: Updated API docs all over.
19975
19976 2006-05-11  Lillian Angel  <langel@redhat.com>
19977
19978         * java/awt/ContainerOrderFocusTraversalPolicy.java
19979         (getComponentAfter): Should not throw exception if
19980         the ancestor is null. Added a check for this.
19981         Also, changed to use new helper function, we should
19982         iterate through all the components at least once.
19983         (getNextAvailableComponent): New helper function.
19984         (getPrevAvailableComponent): New helper function.
19985         (getComponentBefore): Should not throw exception if
19986         the ancestor is null. Added a check for this.
19987         Also, changed to use new helper function, we should
19988         iterate through all the components at least once.
19989         (getFirstComponent): Changed check to manually check
19990         fields. Calling accept() casts the object to a Component,
19991         so different values may be returned.
19992         (getLastComponent): Likewise.
19993
19994 2006-05-11  David Gilbert  <david.gilbert@object-refinery.com>
19995
19996         * javax/swing/plaf/metal/MetalBorders.java: Clean up formatting/style,
19997         * javax/swing/plaf/metal/MetalButtonUI.java: Likewise,
19998         * javax/swing/plaf/metal/MetalCheckBoxUI.java: Likewise,
19999         * javax/swing/plaf/metal/MetalComboBoxButton.java: Likewise,
20000         * javax/swing/plaf/metal/MetalComboBoxIcon.java: Likewise,
20001         * javax/swing/plaf/metal/MetalFileChooserUI.java: Likewise,
20002         * javax/swing/plaf/metal/MetalIconFactory.java: Likewise,
20003         * javax/swing/plaf/metal/MetalInternalFrameTitlePane.java: Likewise,
20004         * javax/swing/plaf/metal/MetalLookAndFeel.java: Likewise,
20005         * javax/swing/plaf/metal/MetalPopupMenuSeparatorUI.java: Likewise,
20006         * javax/swing/plaf/metal/MetalRootPaneUI.java: Likewise,
20007         * javax/swing/plaf/metal/MetalScrollBarUI.java: Likewise,
20008         * javax/swing/plaf/metal/MetalSeparatorUI.java: Likewise,
20009         * javax/swing/plaf/metal/MetalSliderUI.java: Likewise,
20010         * javax/swing/plaf/metal/MetalSplitPaneDivider.java: Likewise,
20011         * javax/swing/plaf/metal/MetalTabbedPaneUI.java: Likewise,
20012         * javax/swing/plaf/metal/MetalToolTipUI.java: Likewise,
20013         * javax/swing/plaf/metal/MetalUtils.java: Likewise.
20014
20015 2006-05-11  Robert Schuster  <robertschuster@fsfe.org>
20016
20017         * javax/swing/text/DefaultCaret.java: Made field 'textComponent'
20018         package-private, added field 'active'.
20019         (PropertyChangeHandler.propertyChange): Added variable 'name', added
20020         cases to update field 'active'.
20021         (mouseDragged): Added documentation, added if-clause to update
20022         selection or caret position.
20023         (mouseClicked): Added early return when text component is disabled.
20024         (focusGained): Moved statements into an if-clause.
20025         (focusLost): Added subexpression to if-clause.
20026         (install): Preset value of 'active'.
20027         (paint): Added subexpression to if-clause.
20028         (isVisible): Extended return expression.
20029         * javax/swing/text/JTextComponent.java:
20030         (copy): Copy only if component is enabled.
20031         (cut): Cut only if component is enabled and editable.
20032         (paste): Dito.
20033
20034 2006-05-11  David Gilbert  <david.gilbert@object-refinery.com>
20035
20036         * javax/swing/plaf/multi/MultiComboBoxUI.java: Minor formatting change,
20037         * javax/swing/plaf/multi/MultiFileChooserUI.java: Likewise,
20038         * javax/swing/plaf/multi/MultiListUI.java: Likewise,
20039         * javax/swing/plaf/multi/MultiLookAndFeel.java: Likewise,
20040         * javax/swing/plaf/multi/MultiOptionPaneUI.java: Likewise,
20041         * javax/swing/plaf/multi/MultiSplitPaneUI.java: Likewise,
20042         * javax/swing/plaf/multi/MultiTabbedPaneUI.java: Likewise.      
20043
20044 2006-05-11  Roman Kennke <kennke@aicas.com>
20045
20046         * gnu/java/awt/font/GNUGlyphVector.java
20047         (GNUGlyphVector): Don't apply the font renderer context's
20048         transform.
20049   
20050 2006-05-11  Mark Wielaard  <mark@klomp.org>
20051
20052         * java/util/logging/Logger.java (global): Initialize inside static
20053         PrivilegedAction.
20054
20055 2006-05-11  David Gilbert  <david.gilbert@object-refinery.com>
20056   
20057         * javax/swing/JFrame.java
20058         (EXIT_ON_CLOSE): Added note to API docs,
20059         (close_action): Renamed closeAction,
20060         (JFrame()): Change title to "",
20061         (JFrame(String)): Added API docs,
20062         (getAccessibleContext): Likewise,
20063         (getDefaultCloseOperation): Updated for renamed field, added API docs,
20064         (processWindowEvent): Updated for renamed field,
20065         (setDefaultCloseOperation): Likewise, and updated API docs.
20066   
20067 2006-05-11  David Gilbert  <david.gilbert@object-refinery.com>
20068   
20069         * javax/swing/JFrame.java
20070         (paramString): Reimplemented,
20071         * javax/swing/SwingUtilities.java
20072         (convertWindowConstantToString): New method.
20073   
20074 2006-05-11  David Gilbert  <david.gilbert@object-refinery.com>
20075   
20076         * javax/swing/WindowConstants.java: Updated API docs.
20077   
20078 2006-05-11  David Gilbert  <david.gilbert@object-refinery.com>
20079   
20080         * javax/swing/plaf/basic/BasicToggleButtonUI.java: Updated API docs,
20081         (createUI): Removed 'final' qualifier for parameter,
20082         (paint): Reformatted.
20083   
20084 2006-05-11  David Gilbert  <david.gilbert@object-refinery.com>
20085   
20086         * javax/swing/plaf/basic/BasicCheckBoxUI.java: Added API docs plus,
20087         (createUI): Removed 'final' qualifier on method argument.
20088   
20089 2006-05-11  David Gilbert  <david.gilbert@object-refinery.com>
20090   
20091         * javax/swing/plaf/basic/BasicCheckBoxUI.java
20092         (getDefaultIcon): Removed this redundant method.
20093
20094 2006-05-11  David Gilbert  <david.gilbert@object-refinery.com>
20095
20096         * javax/swing/plaf/basic/BasicRadioButtonUI.java
20097         (paint): Pass component size to paintFocus().
20098
20099 2006-05-11  Robert Schuster  <robertschuster@fsfe.org>
20100
20101         * java/awt/Component.java:
20102         (dispatchEventImpl): Added comment.
20103   
20104   2006-05-11  Mark Wielaard  <mark@klomp.org>
20105   
20106         * tools/gnu/classpath/tools/appletviewer/Main.java (main): Cast
20107         Option constructor null argument to String.
20108   
20109 2006-05-11  Mark Wielaard  <mark@klomp.org>
20110
20111         * java/awt/geom/GeneralPath.java (WIND_EVEN_ODD, WIND_NON_ZERO):
20112         Fully qualify PathIterator constants
20113
20114 2006-05-11  Robert Schuster  <robertschuster@fsfe.org>
20115
20116         * java/awt/Component.java:
20117         (dispatchEventImpl): Added subexpression to if-clause.  
20118
20119 2006-05-11  Mark Wielaard  <mark@klomp.org>
20120
20121         * java/util/Collections.java (UnmodifiableMapEntry): Qualify
20122         Map.Entry.
20123
20124 2006-05-10  David Gilbert  <david.gilbert@object-refinery.com>
20125
20126         * javax/swing/TransferHandler.java: Marked stub methods.
20127
20128 2006-05-10  Roman Kennke <kennke@aicas.com>
20129
20130         PR classpath/27481
20131         * javax/swing/plaf/basic/BasicInternalFrameUI.java
20132         (installDefaults): Set background of content pane to null, if
20133         no custom color has been installed by the application yet.
20134
20135 2006-05-10  Roman Kennke <kennke@aicas.com>
20136
20137         PR classpath/27481
20138         * javax/swing/JRootPane.java
20139         (createContentPane): Don't set background to null.
20140
20141 2006-05-10  Sven de Marothy <sven@physto.se>
20142
20143         * java/awt/print/PrinterJob.java:
20144         (lookupPrintServices): Un-comment-out.
20145
20146 2006-05-11  Raif S. Naffah  <raif@swiftdsl.com.au>
20147
20148         * tools/gnu/classpath/tools/getopt/OptionGroup.java
20149         (FILLER): New constant.
20150         (formatText(PrintStream,String,int)): New method.
20151         (formatText(PrintStream,String,int,Locale)): Likewise.
20152         (printHelp): Use formatText method.
20153         * tools/gnu/classpath/tools/getopt/Parser.java
20154         (MAX_LINE_LENGTH): New constant.
20155         (formatText(PrintStream,String)): New method.
20156         (formatText(PrintStream,String,Locale)): Likewise.
20157         (printHelp): New method.
20158         (printHelp(PrintStream)): Increased visibility to protected.
20159         Use formatText method.
20160
20161 2006-05-10  David Gilbert  <david.gilbert@object-refinery.com>
20162
20163         * javax/swing/plaf/metal/MetalRadioButtonUI.java
20164         (installDefaults): Use getPropertyPrefix() to allow subclasses to 
20165         modify the lookup key.
20166
20167 2006-05-10  Lillian Angel  <langel@redhat.com>
20168
20169         * java/util/SimpleTimeZone.java: Reverted patch.
20170         (SimpleTimeZone): Throw exception if startMonth == 
20171         endMonth.
20172         (SimpleTimeZone): Likewise.
20173         (checkRule): Rewritten to properly check all values (more 
20174         efficently).
20175         This code is now more stable, at least less buggy than before. 
20176         Fixed API documentation.
20177         (setStartRule): Moved checkRule call to end.
20178         (setStartRule): Likewise.
20179         (setEndRule): Likewise.
20180         (setEndRule): Likewise.
20181
20182 2006-05-10  Roman Kennke <kennke@aicas.com>
20183
20184         * gnu/java/awt/peer/swing/SwingComponent.java:
20185         Some API comment fixlets.
20186         * gnu/java/awt/peer/swing/SwingComponentPeer.java:
20187         (createImage): Create a BufferedImage, not a Toolkit image.
20188         (paint): Removed bogus API comment.
20189         (prepareImage): Added checks to avoid NPE.
20190         * gnu/java/awt/peer/swing/SwingContainerPeer.java:
20191         (getInsets): Added check to avoid NPE.
20192         (handleMouseEvent): Added check to avoid NPE.
20193         * gnu/java/awt/peer/swing/SwingFramePeer.java:
20194         Some API comment fixlets.
20195         * gnu/java/awt/peer/swing/SwingMenuBarPeer.java:
20196         Some API comment fixlets.
20197         * gnu/java/awt/peer/swing/SwingTextFieldPeer.java:
20198         Changed start_pos name to startPos.
20199         * gnu/java/awt/peer/swing/SwingWindowPeer.java:
20200         Some API comment fixlets.
20201
20202 2006-05-10  David Gilbert  <david.gilbert@object-refinery.com>
20203
20204         * java/awt/BasicStroke.java
20205         (equals): Fixed typo in HTML tag for API doc comment.
20206
20207 2006-05-10  Gary Benson  <gbenson@redhat.com>
20208
20209         * java/lang/ThreadGroup.java (parent): Make package-private.
20210         * java/lang/SecurityManager.java (checkAccess(Thread)):
20211         Reference ThreadGroup.parent directly to avoid extra checks.
20212         * java/lang/SecurityManager.java (checkAccess(ThreadGroup)):
20213         Likewise.
20214
20215 2006-05-10  Roman Kennke <kennke@aicas.com>
20216
20217         Reported by Ingo Proetel (proetel@aicas.com)
20218         * java/awt/EventDispatchThread.java
20219         (DEFAULT_PRIORITY): New constant field.
20220         (EventDispatchThread()): Added gnu.awt.dispatchthread.priority
20221         system property for adjusting the priority of the event
20222         dispatch thread.
20223
20224 2006-05-10  Roman Kennke <kennke@aicas.com>
20225
20226         Reported by Ingo Proetel (proetel@aicas.com)
20227         * java/awt/image/ColorModel.java
20228         (S_RGB_MODEL): New constant field.
20229         (getRGBDefault): Return constant SRGBColorModel.
20230         (SRGBColorModel): Specialized color model for sRGB.
20231
20232 2006-05-10  Roman Kennke <kennke@aicas.com>
20233
20234         * java/awt/ColorPaintContext.java
20235         (getRaster): Create Raster with (0,0) as source location.
20236
20237 2006-05-10  Roman Kennke <kennke@aicas.com>
20238
20239         * gnu/java/awt/java2d/AlphaCompositeContext.java
20240         (compose): Don't premultiply alpha to alpha itself.
20241
20242 2006-05-10  Roman Kennke <kennke@aicas.com>
20243
20244         * gnu/java/awt/java2d/AbstractGraphics2D.java
20245         (drawImage(Image,AffineTransform,ImageObserver)): Implemented.
20246         (drawImageImpl(Image,AffineTransform,ImageObserver,Rectangle)):
20247         New method.
20248         (drawImage(BufferedImage,BufferedImageOp,int,int)): Implemented.
20249         (drawRenderedImage(RenderedImage,AffineTransform)): Implemented.
20250         (drawRenderedImageImpl(RenderedImage,AffineTransform,Rectangle)):
20251         New method.
20252         (drawRenderableImage(RenderableImage,AffineTransform)): Implemented.
20253         (drawRenderableImageImpl(RenderableImage,AffineTransform,Rectangle)):
20254         New method.
20255         (scale): Inverse transform by doing 1/scale instead of -scale.
20256         (drawImage(Image,int,int,ImageObserver)): Implemented.
20257         (drawImage(Image,int,int,int,int,ImageObserver)): Implemented.
20258         (drawImage(Image,int,int,Color,ImageObserver)): Implemented.
20259         (drawImage(Image,int,int,int,int,Color,ImageObserver)): Implemented.
20260         (drawImage(Image,int,int,int,int,int,int,int,int,ImageObserver)):
20261         Implemented.
20262         (drawImage(Image,int,int,int,int,int,int,int,int,Color,ImageObserver)):
20263         Implemented.
20264         (fillScanline): Work on translated destination raster for
20265         correct compositin.
20266         (init): Fetch the clip after the destination raster is initialized.
20267         * gnu/java/awt/java2d/ImagePaint.java: New file.
20268         * gnu/java/awt/java2d/RasterGraphics
20269         (drawImage): Removed.
20270
20271 2006-05-09  Thomas Fitzsimmons  <fitzsim@redhat.com>
20272
20273         * resource/gnu/classpath/tools/appletviewer/MessagesBundle.properties:
20274         Clarify option descriptions.
20275         * tools/gnu/classpath/tools/appletviewer/Main.java: Use all
20276         uppercase for metasyntactic variables.
20277
20278 2006-05-09  Robert Schuster  <robertschuster@fsfe.org>
20279
20280         PR classpath/24216
20281         * javax/swing/text/AbstractDocument.java:
20282         (insertString): Added more documentation, added argument check.
20283         (remove): Added more documentation.
20284         (removeImpl): Added argument check.
20285         (replace): Added more documentation, added argument check.
20286
20287 2006-05-09  Tom Tromey  <tromey@redhat.com>
20288
20289         * tools/.cvsignore: Added appletviewer.
20290
20291 2006-05-09  Tom Tromey  <tromey@redhat.com>
20292
20293         * tools/gnu/classpath/tools/getopt/Parser.java (printHelp): Skip
20294         empty groups.
20295
20296 2006-05-09  Tom Tromey  <tromey@redhat.com>
20297
20298         * tools/gnu/classpath/tools/getopt/OptionGroup.java (printHelp): 
20299         Special case for '-J'.  Use space instead of '='.
20300         * tools/gnu/classpath/tools/getopt/Parser.java (setHeader): Added
20301         comment.
20302
20303 2006-05-09  Thomas Fitzsimmons  <fitzsim@redhat.com>
20304
20305         * configure.ac: Add --disable-plugin and --with-vm options.  Check
20306         for plugin support headers and libraries.
20307         * native/Makefile.am: Recurse into plugin directory.
20308         * native/plugin/.cvsignore: New file.
20309         * native/plugin/Makefile.am: New file.
20310         * native/plugin/gcjwebplugin.cc: New file.
20311         * tools/Makefile.am: Install appletviewer wrapper script.
20312         * tools/appletviewer.in: Replace VM location heuristic with
20313         VM_BINARY configure substitution.
20314
20315 2006-05-09  Tom Tromey  <tromey@redhat.com>
20316
20317         * tools/gnu/classpath/tools/getopt/OptionGroup.java (printHelp): Added
20318         an initial pass to look for short options.  Added 'longOnly' option.
20319         * tools/gnu/classpath/tools/appletviewer/Main.java (main): Removed -J
20320         option.
20321         * tools/gnu/classpath/tools/getopt/Parser.java (parsed): Put stadnard
20322         options into final group.  Added -J.
20323         (add): Insert new groups before final group.
20324         (printHelp): Updated.
20325
20326 2006-05-09  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
20327
20328         PR 27518
20329         * tools/gnu/classpath/tools/giop/GRMIC.java (main),
20330         tools/gnu/classpath/tools/rmi/RMIC.java (main):
20331         Expect -classpath option.
20332         * tools/gnu/classpath/tools/rmi/RMIC.txt,
20333         tools/gnu/classpath/tools/giop/GRMIC.txt: Documenting
20334         -classpath option.
20335         tools/gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java
20336         (classLoader): New field. (loadClass, setClassPath):
20337         New methods.
20338
20339 2006-05-09  Roman Kennke <kennke@aicas.com>
20340
20341         * gnu/java/awt/java2d/RasterGraphics.java
20342         (RasterGraphics): Call init() and super().
20343         (drawImage): Temporary drawImage impl until AbstractGraphics2D has
20344         this.
20345
20346 2006-05-09  Gary Benson  <gbenson@redhat.com>
20347
20348         * java/lang/Thread.java (Thread): Always perform threadgroup
20349         access checks on thread creation.
20350
20351 2006-05-09  Chris Burdess  <dog@gnu.org>
20352
20353         * gnu/xml/dom/DomNode.java: Permit comments and PIs in doctype nodes to
20354           be preserved during cloneNode.
20355
20356 2006-05-09  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
20357
20358         PR 27517
20359         * tools/gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java (compile): 
20360         Do not demand all thrown exceptions to be an instance of RemoteException.
20361
20362 2006-05-09  Thomas Fitzsimmons  <fitzsim@redhat.com>
20363
20364         * resource/gnu/classpath/tools/appletviewer/MessagesBundle.properties:
20365         Use hash-style comments.
20366         * resource/gnu/classpath/tools/appletviewer/MessagesBundle_de.properties:
20367         Likewise.
20368
20369 2006-05-09  David Gilbert  <david.gilbert@object-refinery.com>
20370
20371         * javax/swing/JLabel.java
20372         (paramString): Added more attribute details,
20373         * javax/swing/SwingUtilities.java
20374         (convertHorizontalAlignmentCodeToString): New method,
20375         (convertVerticalAlignmentCodeToString): New method.
20376
20377 2006-05-08  Tom Tromey  <tromey@redhat.com>
20378
20379         * tools/gnu/classpath/tools/jar/Updater.java (run): Updated.
20380         * tools/gnu/classpath/tools/jar/Main.java: Use javadoc for fields.
20381         * tools/gnu/classpath/tools/jar/Lister.java (listJar): Use
20382         ZipInputStream.
20383         (run): Updated.
20384         * tools/gnu/classpath/tools/jar/Extractor.java (run): Use System.err
20385         for verbose.
20386         (run): Use ZipInputStream.
20387         (initSet): New method.
20388         (shouldExtract): Likewise.
20389         (run): Use new methods.
20390         * tools/gnu/classpath/tools/jar/Creator.java
20391         (writeCommandLineEntries): New overload.
20392         (writeFile): Use System.err for verbose.
20393         (writeManifest): New method.
20394         (writtenItems): New field.
20395         (writeFile): Update it.
20396         (writeCommandLineEntries): Return void.  Call writeManifest.
20397         (addEntries): Don't add extra '/'.
20398         * NEWS: Mention jar.
20399
20400 2006-05-08  Lillian Angel  <langel@redhat.com>
20401
20402         * gnu/java/net/IndexListParser.java: New class.
20403         * java/net/URLClassLoader.java
20404         (JarURLLoader): Fixed code to use new class.
20405
20406 2006-05-08  Roman Kennke <kennke@aicas.com>
20407
20408         * javax/swing/JComboBox.java
20409         (AccessibleJComboBox.getAccessibleChildrenCount): Implemented.
20410         (AccessibleJComboBox.getAccessibleChild): Implemented.
20411         (AccessibleJComboBox.getAccessibleSelection()): Implemented.
20412         (AccessibleJComboBox.getAccessibleSelection(int)): Implemented.
20413         (AccessibleJComboBox.isAccessibleChildSelected): Implemented.
20414         (AccessibleJComboBox.getAccessibleAction): Implemented.
20415         (AccessibleJComboBox.getAccessibleActionDescription): Implemented.
20416         (AccessibleJComboBox.getAccessibleActionCount): Implemented.
20417         (AccessibleJComboBox.doAccessibleAction): Implemented.
20418         (AccessibleJComboBox.getAccessibleSelectionCount): Implemented.
20419         (AccessibleJComboBox.addAccessibleSelection): Implemented.
20420         (AccessibleJComboBox.removeAccessibleSelection): Implemented.
20421         (AccessibleJComboBox.clearAccessibleSelection): Implemented.
20422         (AccessibleJComboBox.selectAllAccessibleSelection): Implemented.
20423
20424 2006-05-08  Thomas Fitzsimmons  <fitzsim@redhat.com>
20425
20426         * configure.ac: Add support for building appletviewer.
20427         * resource/gnu/classpath/tools/appletviewer/MessagesBundle.properties:
20428         New file.
20429         * resource/gnu/classpath/tools/appletviewer/MessagesBundle_de.properties:
20430         New file.
20431         * tools/appletviewer.c: New file.
20432         * tools/appletviewer.in: New file.
20433         * tools/gnu/classpath/tools/appletviewer/AppletClassLoader.java:
20434         New file.
20435         * tools/gnu/classpath/tools/appletviewer/AppletSecurityManager.java:
20436         New file.
20437         * tools/gnu/classpath/tools/appletviewer/AppletTag.java: New file.
20438         * tools/gnu/classpath/tools/appletviewer/AppletWarning.java: New
20439         file.
20440         * tools/gnu/classpath/tools/appletviewer/CommonAppletContext.java:
20441         New file.
20442         * tools/gnu/classpath/tools/appletviewer/CommonAppletStub.java:
20443         New file.
20444         * tools/gnu/classpath/tools/appletviewer/ConsoleDialog.java: New
20445         file.
20446         * tools/gnu/classpath/tools/appletviewer/ErrorApplet.java: New
20447         file.
20448         * tools/gnu/classpath/tools/appletviewer/Main.java: New file.
20449         * tools/gnu/classpath/tools/appletviewer/PluginAppletContext.java:
20450         New file.
20451         * tools/gnu/classpath/tools/appletviewer/PluginAppletViewer.java:
20452         New file.
20453         * tools/gnu/classpath/tools/appletviewer/PluginAppletWindow.java:
20454         New file.
20455         * tools/gnu/classpath/tools/appletviewer/StandaloneAppletContext.java:
20456         New file.
20457         * tools/gnu/classpath/tools/appletviewer/StandaloneAppletViewer.java:
20458         New file.
20459         * tools/gnu/classpath/tools/appletviewer/StandaloneAppletWindow.java:
20460         New file.
20461         * tools/gnu/classpath/tools/appletviewer/TagParser.java: New
20462         file.
20463
20464 2006-05-08  Tom Tromey  <tromey@redhat.com>
20465
20466         * tools/gnu/classpath/tools/getopt/ClasspathToolParser.java: New file.
20467         * tools/gnu/classpath/tools/jar/Action.java: New file.
20468         * tools/gnu/classpath/tools/jar/Creator.java: New file.
20469         * tools/gnu/classpath/tools/jar/Entry.java: New file.
20470         * tools/gnu/classpath/tools/jar/Extractor.java: New file.
20471         * tools/gnu/classpath/tools/jar/Lister.java: New file.
20472         * tools/gnu/classpath/tools/jar/Main.java: New file.
20473         * tools/gnu/classpath/tools/jar/Updater.java: New file.
20474         * tools/gnu/classpath/tools/getopt/Option.java: New file.
20475         * tools/gnu/classpath/tools/getopt/OptionException.java: New file.
20476         * tools/gnu/classpath/tools/getopt/OptionGroup.java: New file.
20477         * tools/gnu/classpath/tools/getopt/Parser.java: New file.
20478         * tools/gnu/classpath/tools/getopt/FileArgumentCallback.java: New
20479         file.
20480
20481 2006-05-08  Lillian Angel  <langel@redhat.com>
20482
20483         * java/net/URLClassLoader.java
20484         (JarURLLoader): Added check to make sure the INDEX.LIST file
20485         exists.
20486
20487 2006-05-08  Roman Kennke <kennke@aicas.com>
20488
20489         * gnu/java/awt/java2d/AbstractGraphics2D.java
20490         (fill): Removed commented out code.
20491         (fillShape): Also determine the outline of the clip and feed
20492         it into the rendering method. Use new helper method for
20493         converting the shapes into lists of segments.
20494         (getUserBounds): Removed obsolete method.
20495         (rawFillShape): Respect the clip when rendering shapes.
20496         (fillShapeAntialias): Adjusted signature for new clipped rendering.
20497         However, the implementation can't clip still.
20498         (getSegments): New helper method for converting a shape into
20499         a list of segments.
20500         (clipShape): Removed obsolete method.
20501         * gnu/java/awt/java2d/PolyEdge.java
20502         (isClip): New field.
20503         (PolyEdge): Added isField argument to constructor.
20504
20505 2006-05-08  Roman Kennke <kennke@aicas.com>
20506
20507         PR 27481
20508         * javax/swing/JRootPane.java
20509         (createContentPane): Set background of the content pane to null,
20510         so that the content pane inherits its background from the
20511         root pane.
20512
20513 2006-05-08  Roman Kennke <kennke@aicas.com>
20514
20515         PR 27480
20516         * javax/swing/ButtonGroup.java
20517         (add): Check if new button is selected and if so, deselect other
20518         buttons in the group.
20519
20520 2006-05-08  Lillian Angel  <langel@redhat.com>
20521
20522         PR 27444
20523         * java/net/URLClassLoader.java
20524         (JarURLLoader): Added code to go through 
20525         META-INF/INDEX.LIST file to load all jars listed.
20526
20527 2006-05-08  Roman Kennke <kennke@aicas.com>
20528
20529         PR 27461
20530         * javax/swing/ImageIcon.java
20531         (ImageIcon(URL)): Set description to URL.toString().
20532
20533 2006-05-08  Roman Kennke <kennke@aicas.com>
20534
20535         PR 27482
20536         * javax/swing/JTable.java
20537         (IconCellRenderer.getTableCellRendererComponent): Set icon to
20538         null when cell value is null.
20539
20540 2006-05-08  Roman Kennke <kennke@aicas.com>
20541
20542         PR 27484
20543         * javax/swing/DefaultDesktopManager.java
20544         (closeFrame): Don't perform default close action on the frame
20545         to prevent endless loop.
20546
20547 2006-05-08  Roman Kennke <kennke@aicas.com>
20548
20549         PR 27485
20550         * javax/swing/table/DefaultTableModel.java
20551         (addExtraRows): New helper method.
20552         (checkSize): New helper method.
20553         (setRowCount): Use addExtraRows helper method.
20554         (addColumn): Use addExtraRows helper method.
20555         (getColumnName): Check and adjust size if necessary using
20556         checkSize().
20557
20558 2006-05-08  Roman Kennke <kennke@aicas.com>
20559
20560         PR 27486
20561         * javax/swing/JTable.java
20562         (setValueAt): Allow setting values even when table is editable.
20563
20564 2006-05-08  Tom Tromey  <tromey@redhat.com>
20565
20566         * java/text/SimpleDateFormat.java (compileFormat): Added missing
20567         space to error message.
20568
20569 2006-05-08  David Gilbert  <david.gilbert@object-refinery.com>
20570
20571         * javax/swing/AbstractButton.java: Fixed comment typos.
20572
20573 2006-05-07  Andrew John Hughes  <gnu_andrew@member.fsf.org>
20574
20575         PR classpath/27435:
20576         * java/util/zip/DeflaterEngine.java:
20577         (deflateFast(boolean,boolean)): Empty buffer when full.
20578         
20579 2006-05-07  Sven de Marothy <sven@physto.se>
20580
20581         Fixed PR27343
20582         * java/util/Calendar.java (setTimeZone): Force recalculation.
20583         
20584 2006-05-07  Sven de Marothy <sven@physto.se>
20585
20586         Fixed PR27463
20587         * javax/swing/plaf/metal/MetalInternalFrameTitlePane.java
20588         (propertyChange): Handle FRAME_ICON_PROPERTY property.
20589         
20590 2006-05-07  Andrew John Hughes  <gnu_andrew@member.fsf.org>
20591
20592         PR classpath/27311:
20593         * gnu/java/text/StringFormatBuffer.java:
20594         (toString()): Implemented so we can see the contents.
20595         * java/text/DecimalFormat.java:
20596         (formatInternal(double,StringFormatBuffer,FieldPosition)):
20597         Don't calculate the exponent when the number is 0 or less.
20598         Also, use log10 instead of log now it's available.
20599         
20600 2006-05-07  Raif S. Naffah  <raif@swiftdsl.com.au>
20601
20602         * gnu/javax/crypto/keyring/PrimitiveEntry.java (PrimitiveEntry):
20603         Use instance's field creationDate not the constructor's argument.
20604         * gnu/javax/crypto/keyring/PasswordEncryptedEntry.java:
20605         Removed unused imports.
20606         Sorted imports.
20607         (log): New field.
20608         (decrypt): Added trace/debug/timing statements.
20609         (encrypt): Likewise.
20610         Use PRNG instead of instantiating every time a new SecureRandom.
20611         * gnu/javax/crypto/keyring/PasswordAuthenticatedEntry.java:
20612         Removed unused imports.
20613         Sorted imports.
20614         (log): New field.
20615         (verify): Added trace/debug/timing statements.
20616         (authenticate): Likewise.
20617         Use PRNG instead of instantiating every time a new SecureRandom.
20618
20619 2006-05-07  Raif S. Naffah  <raif@swiftdsl.com.au>
20620
20621         * gnu/classpath/debug/Simple1LineFormatter.java (DAT_FORMAT): Removed.
20622         (THREAD_FORMAT): Likewise.
20623         (dateFormat): Added field.
20624         (threadFormat): Added field.
20625         (format): Initialize instance fields if null.
20626         Use StringBuilder instead of StringBuffer.
20627
20628 2006-05-07  Roman Kennke <kennke@aicas.com>
20629
20630         * gnu/java/awt/java2d/RasterGraphics.java: New file.
20631
20632 2006-05-07  Roman Kennke <kennke@aicas.com>
20633
20634         * gnu/java/awt/java2d/AbstractGraphics2D.java
20635         (fillShape): Determine user space bounds of shape and feed them
20636         into the actual rendering pipeline.
20637         (rawSetPixel): Made non-abstract for now. Maybe remove later.
20638         (rawSetForeground): Likewise.
20639         (getDestinationColorModel): Removed.
20640         (getDeviceBounds): Made non-abstract. Provide useful default impl.
20641         (rawFillShape): Handle paint context.
20642         (fillScanline): Implement painting and compositing.
20643         (fillShapeAntialias): Handle paint context.
20644         (fillScanlineAA): Implemented preliminary antialiasing based on
20645         composite context. Not working yet.
20646         (fillScanlineAlpha): Removed.
20647         (init): Fetch destination raster.
20648         (getDestinationRaster): New abstract method.
20649         (updateRaster): New backend method.
20650
20651 2006-05-07  Roman Kennke <kennke@aicas.com>
20652
20653         * gnu/java/awt/java2d/AlphaCompositeContext.java
20654         (compose): Fixed loops, conditions and logic to make compositing
20655         work correctly.
20656
20657 2006-05-07  Roman Kennke <kennke@aicas.com>
20658
20659         * java/awt/ColorPaintContext.java
20660         (ColorPaintContext): Fixed filling of the raster.
20661
20662 2006-05-07  Sven de Marothy <sven@physto.se>
20663
20664         Fixed PR27455
20665         * gnu/java/awt/peer/GLightweightPeer.java (mouseEntered): Remove.
20666         * java/awt/Component.java (processMouseEvent): 
20667         Do lightweight cursor handling.
20668         * javax/swing/plaf/basic/BasicTableHeaderUI.java 
20669         (endResizing,mouseMoved): Save and reset original cursor, not the 
20670         default one.
20671
20672 2006-05-07  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
20673
20674         PR 27298
20675         * javax/swing/plaf/basic/BasicTreeUI.java (NodeDimensionsHandler.
20676         getNodeDimensions): Mind the size of the node icon. (getRowX):
20677         use totalChildIndent. (TreeExpansionHandler): Set maximal height
20678         to zero on events. (nullIcon): New field. (getCurrentControlIcon):
20679         Return nullIcon if there is no other icon. (getNodeIcon): New method.
20680         (installDefaults): assign totalChildIndent. (installUI): Call
20681         updateExpandedDescendants. (paintHorizontalPartOfLeg): Rewritten.
20682         (paintRow): Rewritten. (updateRenderer): Do not set the renderer for
20683         the tree.
20684
20685 2006-05-06  Sven de Marothy <sven@physto.se>
20686
20687         Fixed PR27454
20688         * gnu/java/awt/peer/gtk/GtkImage: (drawPixels,drawPixelsScaled): 
20689         Check for zero image sizes.
20690         
20691 2006-05-06  Olivier Jolly  <olivier.jolly@pcedev.com>
20692
20693         Fixed PR27362
20694         * java/util/Calendar.java (clear(int)): Forced internal state
20695         completion before performing a field clearing.
20696
20697 2006-05-06  Olivier Jolly  <olivier.jolly@pcedev.com>
20698
20699         * java/util/Collections.java(UnmodifiableMap.UnmodifiableEntrySet.
20700         UnmodifiableMapEntry): New Map.Entry implementation which is immutable.
20701         (UnmodifiableMap.UnmodifiableEntrySet.iterator,
20702         UnmodifiableMap.UnmodifiableEntrySet.toArray,
20703         UnmodifiableMap.UnmodifiableEntrySet.toArray(Object[])): Used
20704         UnmodifiableMapEntry as part of their return value. 
20705
20706 2006-05-06  Raif S. Naffah  <raif@swiftdsl.com.au>
20707
20708         * tools/keytool.sh.in: Removed (renamed to keytool.in).
20709         * tools/jarsigner.in: Removed (renamed to jarsigner.in).
20710         * tools/Makefile.am: Include jarsigner and keytool classes in tools.zip.
20711         Generate jarsigner and keytool scripts.
20712         * tools/keytool.in: New file (renamed from keytool.sh.in).
20713         * tools/jarsigner.in: New file (renamed from jarsigner.sh.in).
20714         * tools/.cvsignore: Replaced *.sh with *
20715         * configure.ac: Replaced tools/*.sh with tools/*.
20716
20717 2006-05-05  Roman Kennke <kennke@aicas.com>
20718
20719         * java/awt/image/ColorModel.java
20720         (getNormalizedComponents): Implemented.
20721
20722 2006-05-05  Roman Kennke <kennke@aicas.com>
20723
20724         * javax/swing/plaf/basic/BasicRadioButtonUI.java
20725         (paint): Query the button model for it's state, not the
20726         button itself.
20727
20728 2006-05-05  Roman Kennke <kennke@aicas.com>
20729
20730         * javax/swing/JTable.java
20731         (tableChanged): Sync selection model with table model changes.
20732
20733 2006-05-05  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
20734
20735         * javax/swing/plaf/basic/BasicTreeUI.java (paint): Return early
20736         if there are no visible nodes to paint.
20737
20738 2006-05-05  David Gilbert  <david.gilbert@object-refinery.com>
20739
20740         * javax/swing/JOptionPane.java: API doc updates.
20741
20742 2006-05-05  David Gilbert  <david.gilbert@object-refinery.com>
20743
20744         * javax/swing/JToolBar.java
20745         (paramString): Reimplemented.
20746
20747 2006-05-05  David Gilbert  <david.gilbert@object-refinery.com>
20748
20749         * javax/swing/JScrollBar.java
20750         (paramString): Reimplemented.
20751
20752 2006-05-04  Tom Tromey  <tromey@redhat.com>
20753
20754         PR classpath/27375:
20755         * java/util/zip/ZipFile.java (entries): Now a LinkedHashMap.
20756         (readEntries): Updated.
20757         (getEntries): Likewise.
20758         (getEntry): Likewise.
20759         (getInputStream): Likewise.
20760
20761 2006-05-04  Thomas Fitzsimmons  <fitzsim@redhat.com>
20762
20763         * gnu/javax/imageio/jpeg/DCT.java,
20764         gnu/javax/imageio/jpeg/HuffmanTable.java,
20765         gnu/javax/imageio/jpeg/JPEGComponent.java,
20766         gnu/javax/imageio/jpeg/JPEGDecoder.java,
20767         gnu/javax/imageio/jpeg/JPEGException.java,
20768         gnu/javax/imageio/jpeg/JPEGFrame.java,
20769         gnu/javax/imageio/jpeg/JPEGImageInputStream.java,
20770         gnu/javax/imageio/jpeg/JPEGImageReader.java,
20771         gnu/javax/imageio/jpeg/JPEGImageReaderSpi.java,
20772         gnu/javax/imageio/jpeg/JPEGMarker.java,
20773         gnu/javax/imageio/jpeg/JPEGMarkerFoundException.java,
20774         gnu/javax/imageio/jpeg/JPEGScan.java,
20775         gnu/javax/imageio/jpeg/YCbCr_ColorSpace.java,
20776         gnu/javax/imageio/jpeg/ZigZag.java: New files.
20777
20778 2006-05-04  Lillian Angel  <langel@redhat.com>
20779
20780         * javax/swing/JLabel.java
20781         (JLabel): Pass in an empty string for the text parameter.
20782         (JLabel): Likewise.
20783         (JLabel): Likewise.
20784
20785 2006-05-04  Roman Kennke <kennke@aicas.com>
20786
20787         * javax/swing/plaf/basic/BasicButtonListener.java
20788         (mouseEntered): Fixed conditions for changing states.
20789
20790 2006-05-04  Roman Kennke <kennke@aicas.com>
20791
20792         * javax/swing/JOptionPane.java
20793         (AccessibleJOptionPane.getAccessibleRole): Implemented method.
20794
20795 2006-05-04  Roman Kennke <kennke@aicas.com>
20796
20797         * javax/swing/JLabel.java
20798         (AccessibleJLabel.getSelectedText): Return null instead of "".
20799         (AccessibleJLabel.getSelectionStart): Added comment why
20800         return -1 is correct here.
20801         (AccessibleJLabel.getSelectionEnd): Added comment why
20802         return -1 is correct here.
20803         (AccessibleJLabel.getCharacterAttribute): Added comment about what
20804         to do here.
20805         (AccessibleJLabel.getCharCount): Added comment about what
20806         to do here.
20807         (AccessibleJLabel.getCharacterBounds): Tagged as not implemented.
20808         (AccessibleJLabel.getIndexAtPoint): Tagged as not implemented.
20809         (paramString): Return super.paramString() here, this provides
20810         a more meaningful output.
20811
20812 2006-05-04  Roman Kennke <kennke@aicas.com>
20813
20814         * javax/swing/JComponent.java
20815         (paint): Added null check to avoid NPE when clip == null.
20816
20817 2006-05-04  Roman Kennke <kennke@aicas.com>
20818
20819         * javax/swing/AbstractButton.java
20820         (addImpl): New method. Installs an OverlayLayout if no
20821         other layout has been installed before.
20822         (setLayout): New method. Detect if a client app installs a custom
20823         layout.
20824
20825 2006-05-04  Roman Kennke <kennke@aicas.com>
20826
20827         * javax/swing/table/DefaultTableCellRenderer.java
20828         (noFocusBorder): Fixed width of empty border to 1.
20829         (getTableCellRendererComponent): Don't change the colors for
20830         focuses cells. Fixed border for focused cells.
20831
20832 2006-05-04  Roman Kennke <kennke@aicas.com>
20833
20834         * javax/swing/JTable.java
20835         (moveToCellBeingEdited): Adjust bounding box of editing component
20836         to exactly cover the grid.
20837         * javax/swing/plaf/basic/BasicTableUI.java
20838         (paint): Paint grid to the bottom and right of the cells instead
20839         of left and top. Adjust bounding box of cells accordingly.
20840         * javax/swing/plaf/metal/MetalLookAndFeel.java
20841         (initComponentDefaults): Fixed color of JTable selection border.
20842         * javax/swing/plaf/metal/OceanTheme.java
20843         (addCustomEntriesToTable): Fixed color of JTable selection border.
20844
20845 2006-05-04  Raif S. Naffah  <raif@swiftdsl.com.au>
20846
20847         * tools/gnu/classpath/tools/keytool/ExportCmd.java (setup):
20848         Use _alias instead of alias.
20849
20850 2006-05-03  Andrew John Hughes  <gnu_andrew@member.fsf.org>
20851
20852         * configure.ac:
20853         Set version to 0.92-pre.
20854         * NEWS:
20855         Add space for 0.92 entries.
20856
20857 2006-05-03  Andrew John Hughes  <gnu_andrew@member.fsf.org>
20858
20859         * include/Makefile.am:
20860         Added rules for gnu.java.net.local.LocalSocketImpl.h
20861         * include/java_lang_VMSystem.h:
20862         Regenerated correctly.
20863         
20864 2006-05-03  Sven de Marothy <sven@physto.se>
20865        
20866         PR 24023, 24701
20867         * java/awt/Image.java:
20868         (getScaledInstance): Default to AreaAveraging for "smooth", 
20869         don't thrown an error on illegal flag values.
20870         * java/awt/image/AreaAveragingScaleFilter.java: Implement.
20871
20872 2006-05-03  Robert Schuster  <robertschuster@fsfe.org>
20873
20874         * javax/swing/text/FieldView.java:
20875         (adjustAllocation): Added if-block to return null when shape argument
20876         is null.
20877         * javax/swing/text/PlainView.java:
20878         (updateDamage): Added if-block to return early if a is null.
20879
20880 2006-05-03  Robert Schuster  <robertschuster@fsfe.org>
20881
20882         * javax/swing/plaf/basic/BasicTextUI.java:
20883         (changeUpdate): Added note.
20884         (removeUpdate): Dito.
20885         (insertUpdate): Dito.
20886         (damageRange): Added if-block to return early.
20887         (modelToView): Added check of getVisibleEditorRect's return value.
20888         (getVisibleEditorRect): Return null instead of empty rectangle.
20889         * javax/swing/text/DefaultCaret.java:
20890         (clearHighlight): Removed if-clause to create a highlight entry if it
20891         did not exist before.
20892         * javax/swing/text/WrappedPlainView.java:
20893         (WrappedLine.modelToView): Throw exception if allocation area is empty,
20894         removed 2nd part of if-expression.
20895         (WrappedLine.updateDamage): Added more documentation, added check
20896         whether allocation area rectangle is null.
20897
20898 2006-05-03  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
20899
20900         * javax/swing/JSplitPane.java (setDividerLocation(int)):
20901         Reset to preferred sizes if the argument is negative.
20902
20903 2006-05-03  David Gilbert  <david.gilbert@object-refinery.com>
20904
20905         * javax/swing/JList.java: Added/updated API docs.
20906
20907 2006-05-03  Lillian Angel  <langel@redhat.com>
20908
20909         * javax/swing/JComponent.java
20910         (getRoot): New private function. Gets the root appropriate
20911         for painting. If an applet exists as a parent, then it is returned.
20912         (paintDoubleBuffered): Changed to use new function.
20913         * javax/swing/RepaintManager.java
20914         (getRoot): New private function. Gets the root appropriate
20915         for painting. If an applet exists as a parent, then it is returned.
20916         (getOffscreenBuffer): Changed to use new function.
20917         * javax/swing/SwingUtilties.java
20918         (getRoot): Reverted last patch to return Window, even if 
20919         an Applet exists.
20920
20921 2006-05-03  Raif S. Naffah  <raif@swiftdsl.com.au>
20922
20923         * gnu/javax/crypto/jce/keyring/GnuKeyring.java: Re-implemented using
20924         a pair of one public keyring and one private keyring.
20925         * gnu/javax/crypto/keyring/GnuPublicKeyring.java (log): New field.
20926         (containsCertificate): Added logging.
20927         (getCertificate): Likewise.
20928         (putCertificate): Likewsie.
20929         (load): Likewise.
20930         (store): Likewise.
20931         * gnu/javax/crypto/keyring/GnuPrivateKeyring.java (log): New field.
20932         (containsPrivateKey): Added logging.
20933         (getPrivateKey): Likewise.
20934         (putPrivateKey): Likewise.
20935         (containsPublicKey): Likewise.
20936         (getPublicKey): Likewise.
20937         (putPublicKey): Likewise.
20938         (containsCertPath): Likewise.
20939         (getCertPath): Likewise.
20940         (putCertPath): Likewise.
20941         (load): Likewise.
20942         (store): Likewise.
20943
20944 2006-05-03  Roman Kennke <kennke@aicas.com>
20945
20946         * gnu/java/awt/java2d/AlphaCompositeContext.java: New class.
20947         * java/awt/AlphaComposite.java
20948         (createContext): Implemented.
20949
20950 2006-05-03  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
20951
20952         * gnu/java/awt/peer/gtk/GdkGraphics2D.java (drawRaster):
20953         Set the current color again after drawing the raster.
20954
20955 2006-05-03  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
20956
20957         * javax/swing/text/WrappedPlainView.java (WrappedLine.modelToView):
20958         Do not check pos < currLineEnd if currLineStart == currLineEnd.
20959
20960 2006-05-03  Raif S. Naffah  <raif@swiftdsl.com.au>
20961
20962         * tools/gnu/classpath/tools/keytool/Command.java (getCallbackHandler):
20963         Assign returned value to field handler.
20964         * tools/gnu/classpath/tools/jarsigner/Main.java (getCallbackHandler):
20965         Likewise.
20966
20967 2006-05-02  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
20968
20969         * javax/swing/ScrollPaneLayout.java (layoutContainer):
20970         Return without action if there is no view in the viewport.
20971         * javax/swing/text/WrappedPlainView.java 
20972         (WrappedLine.getPreferredSpan): If metrics == null, update
20973         metrics.
20974         * javax/swing/tree/DefaultTreeModel.java (constructors):
20975         Do not call setRoot, assign the root node directly.
20976
20977 2006-05-02  Lillian Angel  <langel@redhat.com>
20978
20979         * javax/swing/SwingUtilities.java
20980         (getRoot): Should return the Applet if it exists.
20981         Only return the Window if an Applet has not been
20982         encountered.
20983
20984 2006-05-02  Lillian Angel  <langel@redhat.com>
20985
20986         * gnu/javax/swing/text/html/parser/support/Parser.java
20987         (readAttributes): Reverted Audrius' last patch. There is 
20988         a slight difference in code between the NUMTOKEN and SLASH case. 
20989
20990 2006-05-02  Robert Schuster  <robertschuster@fsfe.org>
20991
20992         * javax/swing/text/JTextComponent.java:
20993         (setText): Throw InternalError from catch-block.
20994         * javax/swing/text/GapContent.java:
20995         (removed): Removed if-expression, changed '>' to '>='.
20996
20997 2006-05-02  Roman Kennke <kennke@aicas.com>
20998
20999         * gnu/java/awt/java2d/AbstractGraphics2D.java
21000         (AA_SAMPLING): New constant.
21001         (alpha): New field. Used in the antialiasing renderer.
21002         (edgeTable): New field. Used in the antialiasing renderer.
21003         (AbstractGraphics2D): Initialize rendering hints wrt
21004         anti-aliasing.
21005         (draw): Clip after stroking. Commented out clipping for now,
21006         it seems to be buggy.
21007         (fill): Commented out clipping for now, it seems to be buggy.
21008         (setComposite): Don't create composite context.
21009         (setPaint): Only change paint when parameter is not null.
21010         (translate): Call setClip() so subclasses can update their clip
21011         too.
21012         (clip): Call setClip() so subclasses can update their clip
21013         too.
21014         (drawGlyphVector): Added clipping, but left it commented out
21015         because it's buggy.
21016         (getClipBounds): Returns null when clip is null.
21017         (drawLine): Call rawDrawLine with translation applied.
21018         (filLRect): Call rawFillRect with translation applied.
21019         (fillShape): Added support for anti-aliasing.
21020         (rawSetForeground(int,int,int)): New method.
21021         (rawFillShape): A couple of painting fixes.
21022         (fillScanline): Implemented to call rawDrawLine.
21023         (fillShapeAntialias): New method. Implements an anti-aliasing
21024         shape filler.
21025         (fillScanlineAA): New method. Used for the anti-aliasing
21026         shape filler.
21027         (fillScanlineAlpha): New method. Used for the anti-aliasing
21028         shape filler.
21029         (init): Initialize clip with the device bounds.
21030         (updateOptimization): Fixed the optimization condition.
21031
21032 2006-05-02  Robert Schuster  <robertschuster@fsfe.org>
21033
21034         * javax/swing/text/GapContent.java:
21035         (GapContent): Restrict size argument by 2.
21036         (insertString): Changed expression from >= to >.
21037         (remove): Changed right side of expression to 'length - 1', changed
21038         exception message.
21039         (getChars): Throw exception if where below 0.
21040         (replace): Replaced call to setPositionsInRange() with
21041         resetMarksAtZero(), removed note.
21042
21043 2006-05-02  Roman Kennke <kennke@aicas.com>
21044
21045         PR 27326
21046         * javax/swing/MenuSelectionManager.java
21047         (setSelectedPath): Rewritten.
21048
21049 2006-05-02  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
21050
21051         * gnu/javax/swing/text/html/parser/support/Parser.java
21052         (readAttributes): Merge case NUMTOKEN: and case SLASH:
21053         sections.
21054
21055 2006-05-02  Raif S. Naffah  <raif@swiftdsl.com.au>
21056
21057         * tools/.cvsignore: Added keytool.sh.
21058         * configure.ac: Added tools/keytool.sh to AC_CONFIG_FILES.
21059
21060 2006-05-02  Raif S. Naffah  <raif@swiftdsl.com.au>
21061
21062         * doc/tools.texinfo: New file.
21063         * doc/Makefile.am: Generate tools documentation.
21064
21065 2006-05-02  Raif S. Naffah  <raif@swiftdsl.com.au>
21066
21067         * tools/keytool.sh.in: New file.
21068         * tools/gnu/classpath/tools/keytool/CertReqCmd.java: Likewise.
21069         * tools/gnu/classpath/tools/keytool/Command.java: Likewise.
21070         * tools/gnu/classpath/tools/keytool/DeleteCmd.java: Likewise.
21071         * tools/gnu/classpath/tools/keytool/ExportCmd.java: Likewise.
21072         * tools/gnu/classpath/tools/keytool/GenKeyCmd.java: Likewise.
21073         * tools/gnu/classpath/tools/keytool/IdentityDBCmd.java: Likewise.
21074         * tools/gnu/classpath/tools/keytool/ImportCmd.java: Likewise.
21075         * tools/gnu/classpath/tools/keytool/KeyCloneCmd.java: Likewise.
21076         * tools/gnu/classpath/tools/keytool/KeyPasswdCmd.java: Likewise.
21077         * tools/gnu/classpath/tools/keytool/ListCmd.java: Likewise.
21078         * tools/gnu/classpath/tools/keytool/Main.java: Likewise.
21079         * tools/gnu/classpath/tools/keytool/Messages.java: Likewise.
21080         * tools/gnu/classpath/tools/keytool/PrintCertCmd.java: Likewise.
21081         * tools/gnu/classpath/tools/keytool/SelfCertCmd.java: Likewise.
21082         * tools/gnu/classpath/tools/keytool/StorePasswdCmd.java: Likewise.
21083         * tools/gnu/classpath/tools/keytool/keytool.txt: Likewise.
21084         * tools/gnu/classpath/tools/keytool/package.html: Likewise.
21085         * resource/gnu/classpath/tools/keytool/MessageBundle.properties: Likewise.
21086
21087 2006-05-02  Raif S. Naffah  <raif@swiftdsl.com.au>
21088
21089         * tools/gnu/classpath/tools/jarsigner/jarsigner.txt: Re-arranged to
21090         resemble more closely man-page style text.
21091         * tools/gnu/classpath/tools/jarsigner/SFHelper.java:
21092         Mark (Eclipse) strings that need not be externalised.
21093         (writeSF): Likewise.
21094         (writeDSA): Likewise.
21095         Use package-private Messages class to provide i18n-ready strings.
21096         (startSigning):
21097         Use package-private Messages class to provide i18n-ready strings.
21098         (updateEntry): Likewise.
21099         Mark (Eclipse) strings that need not be externalised.
21100         (finishSigning): Likewise.
21101         * tools/gnu/classpath/tools/jarsigner/Main.java:
21102         Mark (Eclipse) strings that need not be externalised.
21103         (main): Do not use constant strings as class name.
21104         Use package-private Messages class to provide i18n-ready strings.
21105         Reduced logging level so INFO becomes FINER, and WARNING becomes FINE.
21106         (processArgs): Do not use constant strings as class name.
21107         Mark (Eclipse) strings that need not be externalised.
21108         Reduced logging level so INFO becomes FINER, and WARNING becomes FINE.
21109         (start): Do not use constant strings as class name.
21110         (teardown): Likewise.
21111         Use ProviderUtil.
21112         (setupCommonParams): Do not use constant strings as class name.
21113         Use package-private Messages class to provide i18n-ready strings.
21114         Reduced logging level so INFO becomes FINER, and WARNING becomes FINE.
21115         (installNewProvider): Do not use constant strings as class name.
21116         Use ProviderUtil.
21117         (setupSigningParams): Do not use constant strings as class name.
21118         Use package-private Messages class to provide i18n-ready strings.
21119         Mark (Eclipse) strings that need not be externalised.
21120         (getCallbackHandler): Use CallbackUtil.
21121         * tools/gnu/classpath/tools/jarsigner/JarSigner.java (start):
21122         Use package-private Messages class to provide i18n-ready strings.
21123         Reduced logging level so INFO becomes FINER, and WARNING becomes FINE.
21124         * tools/gnu/classpath/tools/jarsigner/JarVerifier.java (start): Likewise.
21125         (verifySF): Likewise.
21126         (verifySFEntries): Do not use constant strings as class name.
21127         Use Boolean.valueOf instead of new Boolean().
21128         (verifySFEntry): Mark (Eclipse) strings that need not be externalised.
21129         * resource/gnu/classpath/tools/jarsigner/MessageBundle.properties:
21130         New file.
21131         * tools/gnu/classpath/tools/jarsigner/package.html: Likewise.
21132         * tools/gnu/classpath/tools/jarsigner/Messages.java: Likewise.
21133
21134 2006-05-02  Raif S. Naffah  <raif@swiftdsl.com.au>
21135
21136         * tools/gnu/classpath/tools/common/CallbackUtil.java: New file.
21137         * tools/gnu/classpath/tools/common/ProviderUtil.java: Likewise.
21138         * tools/gnu/classpath/tools/common/SecurityProviderInfo.java: Likewise.
21139
21140 2006-05-01  Tom Tromey  <tromey@redhat.com>
21141
21142         * java/nio/ByteBufferImpl.java (compact): Don't reset position
21143         in empty case.
21144         * gnu/java/nio/ChannelReader.java (read): Synchronize.
21145         (close): Synchronize.
21146         * java/nio/ShortBufferImpl.java (compact): Rewrote.
21147         * java/nio/LongBufferImpl.java (compact): Rewrote.
21148         * java/nio/IntBufferImpl.java (compact): Rewrote.
21149         * java/nio/FloatBufferImpl.java (compact): Rewrote.
21150         * java/nio/DoubleBufferImpl.java (compact): Rewrote.
21151         * java/nio/CharBufferImpl.java (compact): Rewrote.
21152         * gnu/java/nio/ChannelWriter.java: New file.
21153         * java/nio/channels/Channels.java (newWriter): Implemented.
21154
21155 2006-05-01  Lillian Angel  <langel@redhat.com>
21156
21157         * java/util/SimpleTimeZone.java
21158         (SimpleTimeZone): Do not throw exception if startMonth == endMonth.
21159         (SimpleTimeZone): Likewise.
21160         (checkRule): Rewritten to properly check all values (more efficently). 
21161         This code is now more stable, at least less buggy than before. Fixed
21162         API documentation.
21163         (setStartRule): Moved checkRule call to end.
21164         (setStartRule): Likewise.
21165         (setEndRule): Likewise.
21166         (setEndRule): Likewise.
21167
21168 2006-05-01  Tom Tromey  <tromey@redhat.com>
21169
21170         * lib/.cvsignore: Added classes.2.
21171
21172 2006-05-01  Tom Tromey  <tromey@redhat.com>
21173
21174         * java/util/jar/JarFile.java (provider): Now package-private.
21175         * java/lang/Enum.java (compareTo): Javadoc fix.
21176         * java/lang/Boolean.java (compareTo): Javadoc fix.
21177
21178 2006-05-01  Lillian Angel  <langel@redhat.com>
21179
21180         * gnu/javax/swing/text/html/parser/support/Parser.java
21181         (readAttributes): Formatted function. Added handling for 
21182         SLASH token. The value of an attribute may start with a slash
21183         (i.e. a path). I added handling similar to to the NUMTOKEN code.
21184         We should not be skipping over these type of attributes.
21185
21186 2006-04-30  Andrew John Hughes  <gnu_andrew@member.fsf.org>
21187
21188         * include/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.h,
21189         * include/gnu_java_awt_peer_gtk_GdkFontPeer.h,
21190         * include/gnu_java_awt_peer_gtk_GdkGraphics.h,
21191         * include/gnu_java_awt_peer_gtk_GdkGraphics2D.h,
21192         * include/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.h,
21193         * include/gnu_java_awt_peer_gtk_GdkPixbufDecoder.h,
21194         * include/gnu_java_awt_peer_gtk_GdkRobotPeer.h,
21195         * include/gnu_java_awt_peer_gtk_GdkTextLayout.h,
21196         * include/gnu_java_awt_peer_gtk_GtkButtonPeer.h,
21197         * include/gnu_java_awt_peer_gtk_GtkCanvasPeer.h,
21198         * include/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.h,
21199         * include/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.h,
21200         * include/gnu_java_awt_peer_gtk_GtkCheckboxPeer.h,
21201         * include/gnu_java_awt_peer_gtk_GtkChoicePeer.h,
21202         * include/gnu_java_awt_peer_gtk_GtkClipboard.h,
21203         * include/gnu_java_awt_peer_gtk_GtkComponentPeer.h,
21204         * include/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.h,
21205         * include/gnu_java_awt_peer_gtk_GtkFileDialogPeer.h,
21206         * include/gnu_java_awt_peer_gtk_GtkFramePeer.h,
21207         * include/gnu_java_awt_peer_gtk_GtkGenericPeer.h,
21208         * include/gnu_java_awt_peer_gtk_GtkImage.h,
21209         * include/gnu_java_awt_peer_gtk_GtkLabelPeer.h,
21210         * include/gnu_java_awt_peer_gtk_GtkListPeer.h,
21211         * include/gnu_java_awt_peer_gtk_GtkMenuBarPeer.h,
21212         * include/gnu_java_awt_peer_gtk_GtkMenuComponentPeer.h,
21213         * include/gnu_java_awt_peer_gtk_GtkMenuItemPeer.h,
21214         * include/gnu_java_awt_peer_gtk_GtkMenuPeer.h,
21215         * include/gnu_java_awt_peer_gtk_GtkPanelPeer.h,
21216         * include/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.h,
21217         * include/gnu_java_awt_peer_gtk_GtkScrollPanePeer.h,
21218         * include/gnu_java_awt_peer_gtk_GtkScrollbarPeer.h,
21219         * include/gnu_java_awt_peer_gtk_GtkSelection.h,
21220         * include/gnu_java_awt_peer_gtk_GtkTextAreaPeer.h,
21221         * include/gnu_java_awt_peer_gtk_GtkTextFieldPeer.h,
21222         * include/gnu_java_awt_peer_gtk_GtkToolkit.h,
21223         * include/gnu_java_awt_peer_gtk_GtkWindowPeer.h,
21224         * include/gnu_java_awt_peer_qt_MainQtThread.h,
21225         * include/gnu_java_awt_peer_qt_QMatrix.h,
21226         * include/gnu_java_awt_peer_qt_QPainterPath.h,
21227         * include/gnu_java_awt_peer_qt_QPen.h,
21228         * include/gnu_java_awt_peer_qt_QtAudioClip.h,
21229         * include/gnu_java_awt_peer_qt_QtButtonPeer.h,
21230         * include/gnu_java_awt_peer_qt_QtCanvasPeer.h,
21231         * include/gnu_java_awt_peer_qt_QtCheckboxPeer.h,
21232         * include/gnu_java_awt_peer_qt_QtChoicePeer.h,
21233         * include/gnu_java_awt_peer_qt_QtComponentPeer.h,
21234         * include/gnu_java_awt_peer_qt_QtContainerPeer.h,
21235         * include/gnu_java_awt_peer_qt_QtDialogPeer.h,
21236         * include/gnu_java_awt_peer_qt_QtEmbeddedWindowPeer.h,
21237         * include/gnu_java_awt_peer_qt_QtFileDialogPeer.h,
21238         * include/gnu_java_awt_peer_qt_QtFontMetrics.h,
21239         * include/gnu_java_awt_peer_qt_QtFontPeer.h,
21240         * include/gnu_java_awt_peer_qt_QtFramePeer.h,
21241         * include/gnu_java_awt_peer_qt_QtGraphics.h,
21242         * include/gnu_java_awt_peer_qt_QtGraphicsEnvironment.h,
21243         * include/gnu_java_awt_peer_qt_QtImage.h,
21244         * include/gnu_java_awt_peer_qt_QtLabelPeer.h,
21245         * include/gnu_java_awt_peer_qt_QtListPeer.h,
21246         * include/gnu_java_awt_peer_qt_QtMenuBarPeer.h,
21247         * include/gnu_java_awt_peer_qt_QtMenuComponentPeer.h,
21248         * include/gnu_java_awt_peer_qt_QtMenuItemPeer.h,
21249         * include/gnu_java_awt_peer_qt_QtMenuPeer.h,
21250         * include/gnu_java_awt_peer_qt_QtPanelPeer.h,
21251         * include/gnu_java_awt_peer_qt_QtPopupMenuPeer.h,
21252         * include/gnu_java_awt_peer_qt_QtScreenDevice.h,
21253         * include/gnu_java_awt_peer_qt_QtScrollPanePeer.h,
21254         * include/gnu_java_awt_peer_qt_QtScrollbarPeer.h,
21255         * include/gnu_java_awt_peer_qt_QtTextAreaPeer.h,
21256         * include/gnu_java_awt_peer_qt_QtTextFieldPeer.h,
21257         * include/gnu_java_awt_peer_qt_QtToolkit.h,
21258         * include/gnu_java_awt_peer_qt_QtVolatileImage.h,
21259         * include/gnu_java_awt_peer_qt_QtWindowPeer.h,
21260         * include/gnu_javax_sound_midi_alsa_AlsaMidiDeviceProvider.h,
21261         * include/gnu_javax_sound_midi_alsa_AlsaMidiSequencerDevice.h,
21262         * include/gnu_javax_sound_midi_alsa_AlsaPortDevice.h,
21263         * include/gnu_javax_sound_midi_dssi_DSSIMidiDeviceProvider.h,
21264         * include/gnu_javax_sound_midi_dssi_DSSISynthesizer.h,
21265         * include/gnu_xml_libxmlj_dom_GnomeAttr.h,
21266         * include/gnu_xml_libxmlj_dom_GnomeDocument.h,
21267         * include/gnu_xml_libxmlj_dom_GnomeDocumentBuilder.h,
21268         * include/gnu_xml_libxmlj_dom_GnomeDocumentType.h,
21269         * include/gnu_xml_libxmlj_dom_GnomeElement.h,
21270         * include/gnu_xml_libxmlj_dom_GnomeEntity.h,
21271         * include/gnu_xml_libxmlj_dom_GnomeNamedNodeMap.h,
21272         * include/gnu_xml_libxmlj_dom_GnomeNode.h,
21273         * include/gnu_xml_libxmlj_dom_GnomeNodeList.h,
21274         * include/gnu_xml_libxmlj_dom_GnomeNotation.h,
21275         * include/gnu_xml_libxmlj_dom_GnomeProcessingInstruction.h,
21276         * include/gnu_xml_libxmlj_dom_GnomeTypeInfo.h,
21277         * include/gnu_xml_libxmlj_dom_GnomeXPathExpression.h,
21278         * include/gnu_xml_libxmlj_dom_GnomeXPathNSResolver.h,
21279         * include/gnu_xml_libxmlj_dom_GnomeXPathNodeList.h,
21280         * include/gnu_xml_libxmlj_dom_GnomeXPathResult.h,
21281         * include/gnu_xml_libxmlj_sax_GnomeLocator.h,
21282         * include/gnu_xml_libxmlj_sax_GnomeXMLReader.h,
21283         * include/gnu_xml_libxmlj_transform_GnomeTransformer.h,
21284         * include/gnu_xml_libxmlj_transform_GnomeTransformerFactory.h,
21285         * include/java_lang_VMProcess.h:
21286         Regenerated.
21287         * native/jni/java-lang/java_lang_VMProcess.c:
21288         Redirect when pipe_count is 2 not 3.    
21289
21290 2006-04-30  Sascha Brawer <sascha@brawer.ch>
21291
21292         * gnu/java/awt/font/FontDelegate.java,
21293         * gnu/java/awt/font/FontFactory.java,
21294         * gnu/java/awt/font/GNUGlyphVector.java,
21295         * gnu/java/awt/font/opentype/CharGlyphMap.java,
21296         * gnu/java/awt/font/opentype/GlyphNamer.java,
21297         * gnu/java/awt/font/opentype/MacResourceFork.java,
21298         * gnu/java/awt/font/opentype/NameDecoder.java,
21299         * gnu/java/awt/font/opentype/OpenTypeFont.java,
21300         * gnu/java/awt/font/opentype/OpenTypeFontFactory.java,
21301         * gnu/java/awt/font/opentype/Scaler.java,
21302         * gnu/java/awt/font/opentype/truetype/Fixed.java,
21303         * gnu/java/awt/font/opentype/truetype/GlyphLoader.java,
21304         * gnu/java/awt/font/opentype/truetype/GlyphLocator.java,
21305         * gnu/java/awt/font/opentype/truetype/GlyphMeasurer.java,
21306         * gnu/java/awt/font/opentype/truetype/TrueTypeScaler.java,
21307         * gnu/java/awt/font/opentype/truetype/VirtualMachine.java,
21308         * gnu/java/awt/font/opentype/truetype/Zone.java,
21309         * gnu/java/awt/font/opentype/truetype/ZonePathIterator.java,
21310         * gnu/java/awt/font/opentype/truetype/doc-files/ZonePathIterator-1.dia,
21311         * gnu/java/awt/font/opentype/truetype/doc-files/ZonePathIterator-1.png:
21312         New files. Imported font framework from:
21313         http://www.brawer.ch/software/fonts/
21314
21315 2006-04-30  Roman Kennke <kennke@aicas.com>
21316
21317         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
21318         (lastTabInRun): Fix calculation of the last tab in a run. This
21319         has caused painting problems sometimes, making the
21320         last tab painted incorrectly.
21321
21322 2006-04-30  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
21323
21324         PR 27297
21325         * javax/swing/JComponent.java (paintChildrenWithOverlap):
21326         Use for and not while to prevent the endless loop.
21327
21328 2006-04-29  David Gilbert  <david.gilbert@object-refinery.com>
21329
21330         * javax/swing/JList.java
21331         (paramString): Changed from public to protected.
21332
21333 2006-04-29  Raif S. Naffah  <raif@swiftdsl.com.au>
21334
21335         * tools/gnu/classpath/tools/HelpPrinter.java (printHelp): New method.
21336         (printHelpAndExit): Re-factored to use the above method.
21337
21338 2006-04-29  Raif S. Naffah  <raif@swiftdsl.com.au>
21339
21340         * tools/jarsigner.sh.in: Changed license to GPL + Exception.
21341         Use -Xbootclasspath/p instead of -cp when invoking the main class.
21342         * tools/gnu/classpath/tools/jarsigner/Main.java:
21343         Changed license to GPL + Exception.
21344         (handler): New field.
21345         (getCallbackHandler): New method.
21346         (setupSigningParams): Use above method.
21347         * tools/gnu/classpath/tools/jarsigner/HashUtils.java:
21348         Changed license to GPL + Exception.
21349         * tools/gnu/classpath/tools/jarsigner/SFHelper.java: Likewise.
21350         * tools/gnu/classpath/tools/jarsigner/JarVerifier.java: Likewise.
21351         * tools/gnu/classpath/tools/jarsigner/JarSigner.java: Likewise.
21352         * tools/gnu/classpath/tools/jarsigner/jarsigner.txt: Updated copyright.
21353
21354 2006-04-29  Raif S. Naffah  <raif@swiftdsl.com.au>
21355
21356         * gnu/javax/security/auth/callback/ConsoleCallbackHandler.java
21357         (handleConfirmation): Use print instead of println.
21358         (handleConfirmation): When case is YES_NO_OPTION, print default option
21359         if one was set.
21360         (handleLanguage): Use print instead of println.
21361
21362 2006-04-29  Raif S. Naffah  <raif@swiftdsl.com.au>
21363
21364         * gnu/java/security/x509/X500DistinguishedName.java: Updated copyright.
21365         (putComponent): Handle O and OU components.
21366         (getDer): Use correct (it2) iterator.
21367         (readAttributeValue): Read next character and break if end-of-stream.
21368
21369 2006-04-29  Raif S. Naffah  <raif@swiftdsl.com.au>
21370
21371         * gnu/java/security/provider/Gnu.java (run):
21372         Add "RSA" as an alias to MD5withRSA.
21373         * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java (encodePublicKey):
21374         Always encode a NULL as the value of an algorithm parameters field.
21375         * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java (log): New field.
21376         (encodePrivateKey): Added trace/log statements.
21377         (decodePrivateKey): Likewise.
21378         * gnu/java/security/key/rsa/RSAKeyPairGenerator.java (log): New field.
21379         (setup): Added trace/log statements.
21380         (generate): Likewise.
21381         * gnu/java/security/key/rsa/GnuRSAPublicKey.java (str): New field.
21382         (toString): New method.
21383         * gnu/java/security/key/rsa/GnuRSAPrivateKey.java (DEBUG): New constant.
21384         (str): New field.
21385         (toString): New method.
21386         * gnu/java/security/key/rsa/GnuRSAKey.java (str): New field.
21387         (getEncoded): Use defaultFormat.
21388         (toString): New method.
21389         * gnu/java/security/key/dss/DSSKey.java (toString):
21390         Include defaultFormat in string.
21391         * gnu/java/security/jce/sig/RSAKeyFactory.java (engineGeneratePublic):
21392         Break if successfully decoded public key.
21393         (engineGeneratePrivate): Break if successfully decoded private key.
21394
21395 2006-04-29  Raif S. Naffah  <raif@swiftdsl.com.au>
21396
21397         * java/security/Security.java <clinit>: Add our Callback provider.
21398         * resource/java/security/classpath.security: Likewise
21399
21400 2006-04-28  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
21401
21402         PR 27296
21403         * javax/swing/ScrollPaneLayout.java (layoutContainer):
21404         Decide about scroll bars from the preferred view size, not
21405         the current size.
21406         * javax/swing/ViewportLayout.java (layoutContainer):
21407         Do not change returned preferred size. Do not treat JScrollPane
21408         specially.
21409
21410 2006-04-28  Sven de Marothy <sven@physto.se>
21411
21412         * java/awt/image/ReplicateScaleFilter.java: Fix comment. 
21413         * javax/swing/ProgressMonitor.java (actionPerformed): 
21414         Avoid divide-by-zero.
21415
21416 2006-04-28  Sven de Marothy <sven@physto.se>
21417
21418         * javax/swing/JSpinner.java: Fix default text justification.
21419         * javax/swing/plaf/basic/BasicSpinnerUI.java: Fix spinner layout size.
21420
21421 2006-04-28  David Gilbert  <david.gilbert@object-refinery.com>
21422
21423         * javax/swing/JList.java
21424         (getMinSelectionIndex): Return correct value, added API docs,
21425         (getMaxSelectionIndex): Added API docs.
21426
21427 2006-04-28  David Gilbert  <david.gilbert@object-refinery.com>
21428
21429         * javax/swing/JList.java
21430         (JList(Object[])): Pass new model directly to init(),
21431         (JList(Vector)): Likewise,
21432         (JList(ListModel)): Renamed argument and updated API docs,
21433         (init): Throw IllegalArgumentException for null argument,
21434         (setListData(Object[])): Delegate model creation,
21435         (setListData(Vector)): Likewise,
21436         (createListModel(Object[])): New private method,
21437         (createListModel(Vector)): New private method,
21438         (paramString): Implemented.
21439
21440 2006-04-28  Tom Tromey  <tromey@redhat.com>
21441
21442         * java/lang/Class.java (SYNTHETIC, ENUM, ANNOTATION): New fields.
21443         (isEnum): Rewrote.
21444         (isSynthetic): Likewise.
21445         (isAnnotation): Likewise.
21446         * vm/reference/java/lang/VMClass.java (isSynthetic): Removed.
21447         (isAnnotation): Likewise.
21448         (isEnum): Likewise.
21449
21450 2006-04-28  Robert Schuster  <robertschuster@fsfe.org>
21451
21452         * javax/swing/text/View.java:
21453         (getNextVisualPositionFrom): Call modelToView and viewToModel on parent
21454         view.
21455
21456 2006-04-28  Robert Schuster  <robertschuster@fsfe.org>
21457
21458         * javax/swing/text/View.java:
21459         (getNextVisualPositionFrom): Rewritten.
21460         * javax/swing/text/CompositeView.java:
21461         (getNextEastWestVisualPositionFrom): Partly implemented.
21462         (getNextNorthSouthVisualPositionFrom): Partly implemented.
21463
21464 2006-04-28  David Gilbert  <david.gilbert@object-refinery.com>
21465
21466         * javax/swing/JList.java
21467         (setFixedCellHeight): Use correct property name for event.
21468
21469 2006-04-28  Robert Schuster  <robertschuster@fsfe.org>
21470
21471         * javax/swing/text/Utilities.java:
21472         (getNextWord): Use codePointAt instead of charAt, added note, changed
21473         if-expression, added throwing of exception.
21474         (getPreviousWord): Use codePointAt instead of charAt.
21475
21476 2006-04-28  Jeroen Frijters  <jeroen@frijters.net>
21477
21478         * java/lang/StringBuilder.java
21479         (ensureCapacity, getChars, append(StringBuffer),
21480         append(char[],int,int), delete, replace, insert(int,char[],int,int),
21481         insert(int,String), insert(int,char), trimToSize): Replaced
21482         System.arraycopy calls with VMSystem.arraycopy.
21483
21484 2006-04-27  Tom Tromey  <tromey@redhat.com>
21485
21486         * java/awt/image/renderable/RenderableImageProducer.java
21487         (requestTopDownLeftRightResend): Implemented.
21488         (run): Likewise.
21489         (startProduction): Add new consumer.
21490
21491 2006-04-27  Sven de Marothy  <sven@physto.se>
21492
21493         * javax/swing/JLabel.java (setIcon): Repaint on setting the icon.
21494
21495 2006-04-27  Roman Kennke <kennke@aicas.com>
21496
21497         * java/awt/LightweightDispatcher.java
21498         Dispatch events only to targets that have a mouselistener
21499         attached. Changed to also handle null targets.
21500
21501 2006-04-27  Roman Kennke <kennke@aicas.com>
21502
21503         * NEWS: Added entries about accessibility support and L&F
21504         window decorations.
21505
21506 2006-04-27  Robert Schuster  <robertschuster@fsfe.org>
21507         
21508         * javax/swing/text/Utilities.java:
21509         (getTabbedTextOffset): Introduced width variable, rewritten the check
21510         which ends the loop.
21511         (getBreakLocation): Call getTabbedTextOffset with rounding argument set
21512         to false.
21513               
21514 2006-04-27  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
21515
21516         * examples/gnu/classpath/examples/swing/TreeDemo.java
21517         (createContent): Added root visibility and selection listener demos.
21518         * javax/swing/JTree.java (setRootVisible): If false, unselect
21519         the root node, if it is selected.
21520         * javax/swing/plaf/basic/BasicTreeUI.java 
21521         (TreeTraverseAction.actionPerformed): Do not select the root if it
21522         is not visible.
21523         * javax/swing/tree/DefaultTreeSelectionModel.java (removeSelectionPath,
21524         removeSelectionPaths): Reset lead to null if the current lead path is
21525         removed from selection.
21526         * javax/swing/tree/TreePath.java (getParentPath): Cache the parent path.
21527         * javax/swing/tree/FixedHeightLayoutCache.java (NodeRecord.getPath):
21528         Return the same path regardless is root visible or not. (update):
21529         Reduce the identation if the root is not visible.
21530         * javax/swing/tree/VariableHeightLayoutCache.java (NodeRecord.getPath):
21531         Return the same path regardless is root visible or not. (update):
21532         Reduce the identation if the root is not visible.
21533
21534 2006-04-26  Audrius Meskauskas  <AudriusA@Bioinformatics.org
21535
21536         * javax/swing/plaf/basic/BasicTreeUI.java
21537         (TreeAction.actionPerformed):Newly obtain the current lead
21538         path that must stay visible.
21539         (TreeTraverseAction.actionPerformed):Rewritten.
21540         * javax/swing/tree/FixedHeightLayoutCache.java (countRows):
21541         Do not treat root specially. (setModel): Assume the root node
21542         initially expanded.
21543         * javax/swing/tree/VariableHeightLayoutCache.java:(countRows):
21544         Do not treat root specially. (setModel): Assume the root node
21545         initially expanded.
21546
21547 2006-04-26  Chris Burdess  <dog@gnu.org>
21548
21549         Fixes PR 27290
21550         * javax/xml/datatype/DatatypeFactory.java: Use complete
21551           implementation resolution mechanism.
21552
21553 2006-04-26  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
21554
21555         * javax/swing/tree/DefaultTreeModel.java (nodeStructureChanged): 
21556         Implemented.
21557         * javax/swing/tree/DefaultTreeSelectionModel.java (toString):
21558         Removed NoImplementException form the implemented method.
21559
21560 2006-04-26  Tom Tromey  <tromey@redhat.com>
21561
21562         * javax/net/ssl/HttpsURLConnection.java (HttpsURLConnection): Doesn't
21563         throw IOException.
21564
21565 2006-04-26  David Gilbert  <david.gilbert@object-refinery.com>
21566
21567         * javax/swing/DefaultListSelectionModel.java
21568         (clone): Initialise empty listener list,
21569         (setSelectionMode): Throw IllegalArgumentException for bad input.
21570
21571 2006-04-26  David Gilbert  <david.gilbert@object-refinery.com>
21572
21573         * javax/swing/DefaultListSelectionModel.java
21574         (clearSelection): Clear the Bitset.
21575
21576 2006-04-26  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
21577
21578         * javax/swing/JTree.java (setLeadSelectionPath):
21579         Repaint the new and old lead pathes.
21580         * javax/swing/plaf/basic/BasicTreeUI.java
21581         (FocusHandler): Repaint the lead row when focus changes.
21582         (PropertyChangeHandler): Use existing constants, not the
21583         string literals for the property names.
21584         (TreeIncrementAction): Shrink the selection when moving
21585         from the selection edge to the selection anchor.
21586         (TreeSelectionHandler.valueChanged): Repaint the 
21587         new and old lead pathes.
21588         (paintRow): Treat row as focused only if it is the lead row.
21589         * javax/swing/tree/DefaultTreeCellRenderer.java
21590         (getTreeCellRendererComponent): Set the vertical alignment to CENTER.
21591         (paint): Rewritten.
21592         * javax/swing/tree/DefaultTreeSelectionModel.java
21593         (addSelectionPath): Event construction fix (old and new lead were
21594         always the same).
21595         (addSelectionPaths): Likewise.
21596         * javax/swing/JComponent.java (setOpaque): Explained.
21597         * javax/swing/tree/FixedHeightLayoutCache.java (getBounds):
21598         Accept null.
21599         * javax/swing/tree/VariableHeightLayoutCache.java (getBounds):
21600         Accept null.
21601
21602 2006-04-26  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
21603
21604         * examples/gnu/classpath/examples/swing/TreeDemo.java
21605         (createContent): Call DefaultTreeModel.reload(), not the
21606         tree.repaint(). Expand the parent of the added node.
21607         * javax/swing/JTree.java (constructor): Do not call
21608         UpdateUI (and documented why). (treeDidChange):
21609         Added comment, excluding the misinterpretation of this method.
21610         * javax/swing/plaf/basic/BasicTreeUI.java (componentListener,
21611         focusListener, keyListener, mouseListener, propertyListener,
21612         selectionModelPropertyChangeListener, treeModelListener,
21613         treeSelectionListener): Made package private.
21614         (PropertyChangeHandler): If the model changes, install the
21615         listener on it. (installUI): Assign treeModel.
21616         * javax/swing/tree/DefaultMutableTreeNode.java (add): Added
21617         comment, excluding misinterpretation.
21618         * javax/swing/tree/DefaultTreeModel.java (reload): Implemented.
21619         (reload(TreeNode)): Implemented.
21620
21621 2006-04-25  Tom Tromey  <tromey@redhat.com>
21622
21623         * javax/swing/JComboBox.java (AccessibleJComboBox): Now public.
21624         * javax/swing/tree/VariableHeightLayoutCache.java
21625         (getVisiblePathsFrom): Genericized.
21626         * javax/swing/tree/FixedHeightLayoutCache.java (getVisiblePathsFrom):
21627         Genericized.
21628
21629 2006-04-25  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
21630
21631         * javax/swing/plaf/basic/BasicTreeUI.java (MouseHandler.mousePressed):
21632         If clicked on the other row, cancel the current editing session.
21633
21634 2006-04-25  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
21635
21636         * javax/swing/plaf/basic/BasicTreeUI.java
21637         (NodeDimensionsHandler.getRowX): Add half of the icon width.
21638         (paintExpandControl): Always paint in one gap distance from the left
21639         border of the path bounds.
21640         (paintHorizontalPartOfLeg): Rewritted, taking the icon width
21641         into consideration.
21642         (paintVerticalPartOfLeg): Paint two gaps from the parent's bounds
21643         left edge.
21644
21645 2006-04-25  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
21646
21647         * javax/swing/plaf/basic/BasicTreeUI.java (paint): Rewritten.
21648
21649 2006-04-25  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
21650
21651         * gnu/javax/swing/text/html/parser/support/Parser.java (readAttributes):
21652         Allow slashes (/) in the unquoted parameter value. 
21653
21654 2006-04-25  Roman Kennke <kennke@aicas.com>
21655
21656         * gnu/java/awt/java2d/AbstractGraphics2D.java
21657         (drawString(String,int,int)): Implemented.
21658         (drawString(String,float,float)): Implemented.
21659         (drawString(AttributedCharacterIterator,int,int)): Implemented.
21660         (drawString(AttributedCharacterIterator,float,float)): Implemented.
21661         (getFontRenderContext): Implemented.
21662         (drawGlyphVector): Implemented.
21663         (getFont): Implemented.
21664         (setFont): Don't change font setting when null.
21665         (getFontMetrics): Implemented.
21666         (fillShape): Re-written to fill call rawFillShape() with a list
21667         of the edges instead of double arrays.
21668         (rawFillShape): Implemented using a polygon scanline conversion.
21669         (fillScanline): New helper method.
21670         (init): Initialize foreground black. Set font.
21671         * gnu/java/awt/java2d/PolyEdge.java: New file.
21672         * gnu/java/awt/java2d/PolyEdgeComparator.java: New file.
21673
21674 2006-04-25  David Gilbert  <david.gilbert@object-refinery.com>
21675
21676         * javax/swing/table/DefaultTableColumnModel.java: More API doc updates.
21677
21678 2006-04-25  David Gilbert  <david.gilbert@object-refinery.com>
21679
21680         * javax/swing/JTable.java: Fixed API doc tags,
21681         * javax/swing/text/AsyncBoxView.java: Likewise,
21682         * javax/swing/text/FlowView.java: Likewise.
21683
21684 2006-04-25  David Gilbert  <david.gilbert@object-refinery.com>
21685
21686         * javax/swing/table/DefaultTableColumnModel.java
21687         (moveColumn): Call fireColumnMoved() not fireColumnAdded.
21688
21689 2006-04-24  David Gilbert  <david.gilbert@object-refinery.com>
21690
21691         * javax/swing/table/DefaultTableColumnModel.java
21692         (DefaultTableColumnModel): Set selection model field and add 'this' as
21693         listener directly,
21694         (addColumn): Add 'this' as a PropertyChangeListener,
21695         (removeColumn): Remove column before firing event, and remove 'this' as
21696         a PropertyChangeListener,
21697         (setSelectionModel): Remove 'this' as a listener from old model, 
21698         (propertyChange): Check for 'width' property rather than
21699         TableColumn.COLUMN_WIDTH_PROPERTY.
21700
21701 2006-04-24  Chris Burdess  <dog@gnu.org>
21702
21703         Fixes PR 27262
21704         * gnu/xml/dom/DomDocument.java: getElementById returns user-defined ID
21705           attributes when no doctype exists.
21706
21707 2006-04-24  David Gilbert  <david.gilbert@object-refinery.com>
21708
21709         * javax/swing/event/ChangeEvent.java: Updated API docs,
21710         * javax/swing/event/ChangeListener.java: Likewise,
21711         * javax/swing/event/TableColumnModelEventListener.java: Likewise,
21712         * javax/swing/table/DefaultTableColumnModel.java: Likewise,
21713         * javax/swing/table/TableColumnModel.java: Likewise.
21714
21715 2006-04-24  Robert Schuster  <robertschuster@fsfe.org>
21716
21717         * javax/swing/text/Utilities.java:
21718         (getBreakLocation): Introduced shift variable, added notes.
21719         * javax/swing/text/WrappedPlainView.java:
21720         (calculateBreakPosition): Decrease allocation area bounds by insets,
21721         added early return when allocation area is empty, provide start offset
21722         as argument.
21723         (WrappedPlainView.WrappedLine): Change default value for numLines to 1.
21724         (WrappedPlainView.WrappedLine.paint): Added count variable, update
21725         numLines after loop.
21726         (WrappedPlainView.WrappedLine.determineNumLines): Added early return.
21727         (WrappedPlainView.WrappedLine.getPreferredSpan): Removed if-statement.
21728         (WrappedPlainView.WrappedLine.viewToModel): Changed note, removed
21729         decreasing variable end by one, changed break condition in while-loop,
21730         added check for return value.
21731         (WrappedPlainView.WrappedLine.updateDamage): Set numLines to one if
21732         allocation area is empty.
21733
21734 2006-04-24  Sven de Marothy  <sven@physto.se>
21735
21736         * gnu/java/awt/java2d/Segment.java: New file.
21737         * gnu/java/awt/java2d/CubicSegment.java: New file.
21738         * gnu/java/awt/java2d/QuadSegment.java: New file.
21739         * gnu/java/awt/java2d/LineSegment.java: New file.
21740         * java/awt/BasicStroke.java
21741         (start): New field.
21742         (end): New field.
21743         (createStrokedShape): Implemented.
21744         (solidStroke): New method.
21745         (dashedStroke): New method.
21746         (capEnds): New method.
21747         (convertPath): New method.
21748         (addSegments): New method.
21749         (capEnd): New method.
21750         (lineIntersection): New method.
21751         (joinSegments): New method.
21752
21753 2006-04-24  Roman Kennke <kennke@aicas.com>
21754
21755         * gnu/java/awt/java2d/AbstractGraphics2D.java: Made implements
21756         Cloneable.
21757         (font): New field.
21758         (clip): Changed clip to be in user space not in target space.
21759         (isOptimized): Added flag to allow optimized drawing for
21760         primitive operations (e.g. for Swing).
21761         (AbstractGraphics2D()): Set foreground in init() to avoid trouble
21762         with the paint context etc.
21763         (draw): Clip the shape before drawing it.
21764         (fill): Clip the shape before drawing it.
21765         (setComposite): Update isOptimized flag.
21766         (setPaint): Likewise.
21767         (setStroke): Likewise.
21768         (translate): Update the clip.
21769         (rotate): Likewise.
21770         (scale): Likewise.
21771         (shear): Likewise.
21772         (transform): Likewise.
21773         (setTransform): Likewise.
21774         (clip): Added optimization for rectangle clips.
21775         (create): Implemented.
21776         (clone): New method.
21777         (setFont): Basic implementation.
21778         (setClip): Update opimization flag.
21779         (drawLine): Added possible optimization.
21780         (fillRect): Added possible optimization.
21781         (fillShape): Implemented shape-filling by filling the flattended
21782         shape using polygon fill.
21783         (drawPixel): Added basic painting.
21784         (rawSetPixel): Changed signature to only take coordinates.
21785         (rawSetForeground): New abstract method.
21786         (getUserBounds): Implemented default for this method.
21787         (rawDrawLine): New method.
21788         (rawFillRect): New method.
21789         (rawFillPolygon): New method.
21790         (init): New method.
21791         (updateOptimization): New method.
21792         (computeIntersection): New method.
21793         (updateClip): New method.
21794         (clipShape): New method.
21795
21796 2006-04-23  Jeroen Frijters  <jeroen@frijters.net>
21797
21798         * java/lang/Package.java: Added compatibility constructor to ease
21799         VM interface migration.
21800
21801 2006-04-23  Jeroen Frijters  <jeroen@frijters.net>
21802
21803         * java/lang/Class.java (getEnumConstants): Implemented without
21804         delegating to VMClass.
21805         * vm/reference/java/lang/VMClass.java (getEnumConstants): Removed.
21806
21807 2006-04-23  Jeroen Frijters  <jeroen@frijters.net>
21808
21809         * java/lang/ClassLoader.java (definePackage): Added argument to
21810         Package constructor.
21811         * java/lang/Package.java (Package): Added ClassLoader argument.
21812         (loader): New field.
21813         (getDeclaredAnnotations): Implemented without help from VMPackage.
21814         * vm/reference/java/lang/VMClassLoader.java (static): Added argument
21815         to Package constructor.
21816         * vm/reference/java/lang/VMPackage.java: Removed.
21817
21818 2006-04-23  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
21819
21820         * examples/gnu/classpath/examples/swing/TreeDemo.java:
21821         (createContent): Added check box to swith between single and 
21822         multiple selection.
21823         * javax/swing/JTree.java (leadSelectionPath): Removed.
21824         (addSelectionInterval): Explained. (getLeadSelectionPath):
21825         Request the path from model. (getPathsBetweenRows): Explained.
21826         (setLeadSelectionPath): Set the path in model.
21827         * javax/swing/plaf/basic/BasicTreeUI.java 
21828         (TreeIncrementAction.actionPerformed, isMultiSelectionEvent, 
21829         isToggleSelectionEvent, selectPath, selectPathForEvent): Rewritten.
21830         (MouseHandler.mousePressed): Call selectPathForEvent.
21831
21832 2006-04-23  Roman Kennke <kennke@aicas.com>
21833
21834         * gnu/java/awt/java2d/AbstractGraphics2D.java: New file.
21835
21836 2006-04-22  Andrew John Hughes  <gnu_andrew@member.fsf.org>
21837
21838         * NEWS:
21839         Mention changes to VMProcess and VMSystem.
21840         * doc/vmintegration.texinfo:
21841         Change documentation on VMProcess and VMSystem.
21842         * include/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.h,
21843         * include/gnu_java_awt_peer_gtk_GdkFontPeer.h,
21844         * include/gnu_java_awt_peer_gtk_GdkGraphics.h,
21845         * include/gnu_java_awt_peer_gtk_GdkGraphics2D.h,
21846         * include/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.h,
21847         * include/gnu_java_awt_peer_gtk_GdkPixbufDecoder.h,
21848         * include/gnu_java_awt_peer_gtk_GdkRobotPeer.h,
21849         * include/gnu_java_awt_peer_gtk_GdkTextLayout.h,
21850         * include/gnu_java_awt_peer_gtk_GtkButtonPeer.h,
21851         * include/gnu_java_awt_peer_gtk_GtkCanvasPeer.h,
21852         * include/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.h,
21853         * include/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.h,
21854         * include/gnu_java_awt_peer_gtk_GtkCheckboxPeer.h,
21855         * include/gnu_java_awt_peer_gtk_GtkChoicePeer.h,
21856         * include/gnu_java_awt_peer_gtk_GtkClipboard.h,
21857         * include/gnu_java_awt_peer_gtk_GtkComponentPeer.h,
21858         * include/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.h,
21859         * include/gnu_java_awt_peer_gtk_GtkFileDialogPeer.h,
21860         * include/gnu_java_awt_peer_gtk_GtkFramePeer.h,
21861         * include/gnu_java_awt_peer_gtk_GtkGenericPeer.h,
21862         * include/gnu_java_awt_peer_gtk_GtkImage.h,
21863         * include/gnu_java_awt_peer_gtk_GtkLabelPeer.h,
21864         * include/gnu_java_awt_peer_gtk_GtkListPeer.h,
21865         * include/gnu_java_awt_peer_gtk_GtkMenuBarPeer.h,
21866         * include/gnu_java_awt_peer_gtk_GtkMenuComponentPeer.h,
21867         * include/gnu_java_awt_peer_gtk_GtkMenuItemPeer.h,
21868         * include/gnu_java_awt_peer_gtk_GtkMenuPeer.h,
21869         * include/gnu_java_awt_peer_gtk_GtkPanelPeer.h,
21870         * include/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.h,
21871         * include/gnu_java_awt_peer_gtk_GtkScrollPanePeer.h,
21872         * include/gnu_java_awt_peer_gtk_GtkScrollbarPeer.h,
21873         * include/gnu_java_awt_peer_gtk_GtkSelection.h,
21874         * include/gnu_java_awt_peer_gtk_GtkTextAreaPeer.h,
21875         * include/gnu_java_awt_peer_gtk_GtkTextFieldPeer.h,
21876         * include/gnu_java_awt_peer_gtk_GtkToolkit.h,
21877         * include/gnu_java_awt_peer_gtk_GtkWindowPeer.h,
21878         * include/gnu_java_awt_peer_qt_MainQtThread.h,
21879         * include/gnu_java_awt_peer_qt_QMatrix.h,
21880         * include/gnu_java_awt_peer_qt_QPainterPath.h,
21881         * include/gnu_java_awt_peer_qt_QPen.h,
21882         * include/gnu_java_awt_peer_qt_QtAudioClip.h,
21883         * include/gnu_java_awt_peer_qt_QtButtonPeer.h,
21884         * include/gnu_java_awt_peer_qt_QtCanvasPeer.h,
21885         * include/gnu_java_awt_peer_qt_QtCheckboxPeer.h,
21886         * include/gnu_java_awt_peer_qt_QtChoicePeer.h,
21887         * include/gnu_java_awt_peer_qt_QtComponentPeer.h,
21888         * include/gnu_java_awt_peer_qt_QtContainerPeer.h,
21889         * include/gnu_java_awt_peer_qt_QtDialogPeer.h,
21890         * include/gnu_java_awt_peer_qt_QtEmbeddedWindowPeer.h,
21891         * include/gnu_java_awt_peer_qt_QtFileDialogPeer.h,
21892         * include/gnu_java_awt_peer_qt_QtFontMetrics.h,
21893         * include/gnu_java_awt_peer_qt_QtFontPeer.h,
21894         * include/gnu_java_awt_peer_qt_QtFramePeer.h,
21895         * include/gnu_java_awt_peer_qt_QtGraphics.h,
21896         * include/gnu_java_awt_peer_qt_QtGraphicsEnvironment.h,
21897         * include/gnu_java_awt_peer_qt_QtImage.h,
21898         * include/gnu_java_awt_peer_qt_QtLabelPeer.h,
21899         * include/gnu_java_awt_peer_qt_QtListPeer.h,
21900         * include/gnu_java_awt_peer_qt_QtMenuBarPeer.h,
21901         * include/gnu_java_awt_peer_qt_QtMenuComponentPeer.h,
21902         * include/gnu_java_awt_peer_qt_QtMenuItemPeer.h,
21903         * include/gnu_java_awt_peer_qt_QtMenuPeer.h,
21904         * include/gnu_java_awt_peer_qt_QtPanelPeer.h,
21905         * include/gnu_java_awt_peer_qt_QtPopupMenuPeer.h,
21906         * include/gnu_java_awt_peer_qt_QtScreenDevice.h,
21907         * include/gnu_java_awt_peer_qt_QtScrollPanePeer.h,
21908         * include/gnu_java_awt_peer_qt_QtScrollbarPeer.h,
21909         * include/gnu_java_awt_peer_qt_QtTextAreaPeer.h,
21910         * include/gnu_java_awt_peer_qt_QtTextFieldPeer.h,
21911         * include/gnu_java_awt_peer_qt_QtToolkit.h,
21912         * include/gnu_java_awt_peer_qt_QtVolatileImage.h,
21913         * include/gnu_java_awt_peer_qt_QtWindowPeer.h,
21914         * include/gnu_javax_sound_midi_alsa_AlsaMidiDeviceProvider.h,
21915         * include/gnu_javax_sound_midi_alsa_AlsaMidiSequencerDevice.h,
21916         * include/gnu_javax_sound_midi_alsa_AlsaPortDevice.h,
21917         * include/gnu_javax_sound_midi_dssi_DSSIMidiDeviceProvider.h,
21918         * include/gnu_javax_sound_midi_dssi_DSSISynthesizer.h,
21919         * include/gnu_xml_libxmlj_dom_GnomeAttr.h,
21920         * include/gnu_xml_libxmlj_dom_GnomeDocument.h,
21921         * include/gnu_xml_libxmlj_dom_GnomeDocumentBuilder.h,
21922         * include/gnu_xml_libxmlj_dom_GnomeDocumentType.h,
21923         * include/gnu_xml_libxmlj_dom_GnomeElement.h,
21924         * include/gnu_xml_libxmlj_dom_GnomeEntity.h,
21925         * include/gnu_xml_libxmlj_dom_GnomeNamedNodeMap.h,
21926         * include/gnu_xml_libxmlj_dom_GnomeNode.h,
21927         * include/gnu_xml_libxmlj_dom_GnomeNodeList.h,
21928         * include/gnu_xml_libxmlj_dom_GnomeNotation.h,
21929         * include/gnu_xml_libxmlj_dom_GnomeProcessingInstruction.h,
21930         * include/gnu_xml_libxmlj_dom_GnomeTypeInfo.h,
21931         * include/gnu_xml_libxmlj_dom_GnomeXPathExpression.h,
21932         * include/gnu_xml_libxmlj_dom_GnomeXPathNSResolver.h,
21933         * include/gnu_xml_libxmlj_dom_GnomeXPathNodeList.h,
21934         * include/gnu_xml_libxmlj_dom_GnomeXPathResult.h,
21935         * include/gnu_xml_libxmlj_sax_GnomeLocator.h,
21936         * include/gnu_xml_libxmlj_sax_GnomeXMLReader.h,
21937         * include/gnu_xml_libxmlj_transform_GnomeTransformer.h,
21938         * include/gnu_xml_libxmlj_transform_GnomeTransformerFactory.h,
21939         * include/java_lang_VMProcess.h,
21940         * include/java_lang_VMSystem.h:
21941         Regenerated with GCJ 4.1.
21942
21943 2006-04-22  Casey Marshall  <csm@gnu.org>
21944
21945         Fixes PR classpath/27228.
21946         * gnu/javax/crypto/jce/sig/DHKeyPairGeneratorSpi.java
21947         (initialize): also accept `DHParameterSpec.'
21948         * gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java (setup):
21949         handle a passed-in `DHParameterSpec' properly.
21950         (generate): don't check if the random exponent is less than `q -
21951         1' if no `q' was specified.
21952
21953 2006-04-22  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
21954
21955         * javax/swing/JTree.java (TreeSelectionRedirector.valueChanged):
21956         Only repaint the patches, speficied in the passed event.
21957         (expandPath): Do nothing if the path is already expanded.
21958         (scrollPathToVisible): Only scroll to visible, do nothing else.
21959         * javax/swing/plaf/basic/BasicTreeUI.java 
21960         (TreeExpansionHandler.treeColapsed): Revalidate and repaint.
21961         (TreeExpansionHandler.treeExpanded): Revalidate and repaint.
21962         (TreeTraverseAction.actionPerformed): Collapse the node on the
21963         action "selectParent". (selectPath): Rewritten.
21964         * javax/swing/tree/DefaultTreeSelectionModel.java (clearSelection):
21965         Fire change event. (notifyPathChange): Implemented. (setSelectionPath):
21966         Do not reuse selection array.
21967         * javax/swing/tree/FixedHeightLayoutCache.java (getRowForPath):
21968         Accept null.
21969         * javax/swing/tree/VariableHeightLayoutCache.java (getRowForPath):
21970         Accept null.
21971
21972 2006-04-22  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
21973
21974         * javax/swing/tree/DefaultTreeSelectionModel.java
21975         (addSelectionPath): If the path cannot be added, set it.
21976         (addSelectionPaths): Call insureRowContinuity.
21977         (arePathsContiguous): Implemented.
21978         (canPathBeAdded): New private method.
21979         (canPathsBeAdded): Implemented.
21980         (canPathsBeRemoved): Implemented.
21981         (getPath): New private method.
21982         (insureRowContinuity): Implemented.
21983         (removeSelectionPath): Call insureRowContinuity.
21984         (removeSelectionPaths): Call insureRowContinuity.
21985         (resetRowSelection): Removed stub marking, not used in implementation 
21986         (nothing to do there).
21987         (selectOne): New private method.
21988         (setSelectionMode) Call insureRowContinuity.
21989         (setSelectionPaths) Remove the current selection by clearing it.
21990
21991 2006-04-22  Carsten Neumann  <cn-develop@gmx.net>
21992
21993         * javax/sql/Array.java: Fixed eclipse API doc warnings, named method
21994         parameters consistendly, documented some methods.
21995         * java/sql/Blob.java: Likewise.
21996         * java/sql/CallableStatement.java: Likewise.
21997         * java/sql/Clob.java: Likewise.
21998         * java/sql/Connection.java: Likewise.
21999         * java/sql/DatabaseMetaData.java: Likewise.
22000         * java/sql/Date.java: Likewise.
22001         * java/sql/Driver.java: Likewise.
22002         * java/sql/PreparedStatement.java: Likewise.
22003         * java/sql/ResultSet.java: Likewise.
22004         * java/sql/ResultSetMetaData.java: Likewise.
22005         * java/sql/SQLData.java: Likewise.
22006         * java/sql/SQLOutput.java: Likewise.
22007         * java/sql/SQLWarning.java: Likewise.
22008         * java/sql/Statement.java: Likewise.
22009         * java/sql/Time.java: Likewise.
22010         * java/sql/Timestamp.java: Likewise.
22011
22012 2006-04-21  Jeroen Frijters  <jeroen@frijters.net>
22013
22014         * java/lang/reflect/AccessibleObject.java:
22015         Implemented AnnotatedElement.
22016         (getAnnotation, getAnnotations, getDeclaredAnnotations,
22017         isAnnotationPresent): New methods.
22018
22019 2006-04-21  Tom Tromey  <tromey@redhat.com>
22020
22021         PR classpath/27163:
22022         * gnu/java/net/protocol/ftp/FTPConnection.java
22023         (changeWorkingDirectory): Do nothing if path is empty.
22024
22025 2006-04-21  Tom Tromey  <tromey@redhat.com>
22026
22027         PR libgcj/27231:
22028         * gnu/java/net/protocol/http/HTTPURLConnection.java (connect): Handle
22029         case where no '/' appears in 'location'.
22030
22031 2006-04-21  Tom Tromey  <tromey@redhat.com>
22032
22033         * java/security/Security.java (<clinit>): Add all default providers.
22034         * resource/java/security/classpath.security: Added comment.
22035
22036 2006-04-21  David Gilbert  <david.gilbert@object-refinery.com>
22037
22038         * javax/swing/SpinnerDateModel.java: Updated API docs all over,
22039         * javax/swing/SpinnerNumberModel.java: Likewise.
22040
22041 2006-04-21  David Gilbert  <david.gilbert@object-refinery.com>
22042
22043         * javax/swing/SpinnerDateModel.java
22044         (SpinnerDateModel(Date, Comparable, Comparable, int)): Fix argument
22045         checking to call compareTo() on start and end.
22046
22047 2006-04-21  David Gilbert  <david.gilbert@object-refinery.com>
22048
22049         * javax/swing/border/AbstractBorder.java: API doc updates,
22050         * javax/swing/border/BevelBorder.java: Likewise,
22051         * javax/swing/border/CompoundBorder.java: Likewise,
22052         * javax/swing/border/EtchedBorder.java: Likewise,
22053         * javax/swing/border/LineBorder.java: Likewise,
22054         * javax/swing/border/MatteBorder.java: Likewise,
22055         * javax/swing/border/TitledBorder.java: Likewise.
22056
22057 2006-04-21  David Gilbert  <david.gilbert@object-refinery.com>
22058
22059         * gnu/javax/crypto/cipher/Anubis.java:
22060         (selfTest): Use Boolean.valueOf() to avoid creating a new Boolean
22061         instance,
22062         * gnu/javax/crypto/cipher/Blowfish.java:
22063         (selfTest): Likewise,
22064         * gnu/javax/crypto/cipher/Cast5.java:
22065         (selfTest): Likewise,
22066         * gnu/javax/crypto/cipher/Khazad.java:
22067         (selfTest): Likewise,
22068         * gnu/javax/crypto/cipher/Rijndael.java:
22069         (selfTest): Likewise,
22070         * gnu/javax/crypto/cipher/Serpent.java:
22071         (selfTest): Likewise,
22072         * gnu/javax/crypto/cipher/Square.java:
22073         (selfTest): Likewise,
22074         * gnu/javax/crypto/cipher/Twofish.java:
22075         (selfTest): Likewise,
22076         * gnu/javax/crypto/mac/UMac32.java:
22077         (selfTest): Likewise,
22078         * gnu/javax/crypto/prng/CSPRNG.java:
22079         (getSystemInstance): Likewise.
22080
22081 2006-04-21  David Gilbert  <david.gilbert@object-refinery.com>
22082
22083         * gnu/java/security/hash/Haval.java:
22084         (selfTest): Use Boolean.valueOf() to avoid creating new Boolean 
22085         instance,
22086         * gnu/java/security/hash/MD2.java:
22087         (selfTest): Likewise,
22088         * gnu/java/security/hash/MD4.java:
22089         (selfTest): Likewise,
22090         * gnu/java/security/hash/MD5.java:
22091         (selfTest): Likewise,
22092         * gnu/java/security/hash/RipeMD128.java:
22093         (selfTest): Likewise,
22094         * gnu/java/security/hash/RipeMD160.java:
22095         (selfTest): Likewise,
22096         * gnu/java/security/hash/Sha160.java:
22097         (selfTest): Likewise,
22098         * gnu/java/security/hash/Sha256.java:
22099         (selfTest): Likewise,
22100         * gnu/java/security/hash/Sha384.java:
22101         (selfTest): Likewise,
22102         * gnu/java/security/hash/Sha512.java:
22103         (selfTest): Likewise,
22104         * gnu/java/security/hash/Tiger.java:
22105         (selfTest): Likewise,
22106         * gnu/java/security/hash/Whirlpool.java:
22107         (selfTest): Likewise.
22108
22109 2006-04-21  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
22110
22111         * javax/swing/plaf/basic/BasicTreeUI.java 
22112         (PropertyChangeHandler.propertyChange): Set the row mapper
22113         for the selection model.
22114         * javax/swing/tree/AbstractLayoutCache.java 
22115         (NodeDimensions.getNodeDimensions): Explained.
22116         (getPreferredHeight, getPreferredWidth, isFixedRowHeight):
22117         Implemented. (setRowHeight): Invalidate sizes. 
22118         * javax/swing/tree/DefaultTreeSelectionModel.java
22119         (addSelectionPath, addSelectionPaths): Update lead row.
22120         (removeSelectionPath, removeSelectionPaths): Do nothing if
22121         selection is empty.
22122         (clone): Only clone list selection model if it is not null.
22123         (getRow): New method. (isRowSelected, getLeadSelectionRow, 
22124         setSelectionPath, setSelectionPaths, toString): Implemented.
22125         * javax/swing/tree/FixedHeightLayoutCache.java (NodeRecord.getBounds):
22126         Pass the empty rectangle. (isFixedRowHeight): New method.
22127         * javax/swing/tree/VariableHeightLayoutCache.java
22128         (NodeRecord.getBounds): Pass the empty rectangle.
22129         
22130 2006-04-21  David Gilbert  <david.gilbert@object-refinery.com>
22131
22132         * gnu/java/security/Properties.java
22133         (init): Use Boolean.valueOf() to avoid creating new Boolean instances.
22134
22135 2006-04-21  David Gilbert  <david.gilbert@object-refinery.com>
22136
22137         * gnu/classpath/jdwp/util/Value.java
22138         (getUntaggedObj(ByteBuffer, Class)): Use Boolean.valueOf() to avoid 
22139         creating new Boolean instances.
22140
22141 2006-04-20  Mark Wielaard  <mark@klomp.org>
22142
22143         * java/awt/Toolkit.java (getDefaultToolkit): Get classloader in
22144         PrivilegedAction. Access awt.toolkit through SystemProperties.
22145
22146 2006-04-20  David Gilbert  <david.gilbert@object-refinery.com>
22147
22148         * javax/swing/ActionMap.java: Removed unused imports,
22149         * javax/swing/DefaultListSelectionModel.java
22150         (clearSelection): Removed unused label,
22151         * javax/swing/JScrollPane.java: Removed unused imports,
22152         * javax/swing/UIManager.java: Likewise,
22153         * javax/swing/table/DefaultTableCellRenderer.java: Likewise.
22154
22155 2006-04-20  David Gilbert  <david.gilbert@object-refinery.com>
22156
22157         * javax/swing/plaf/basic/BasicSpinnerUI.java: Removed unused imports,
22158         * javax/swing/plaf/basic/BasicTextAreaUI.java: Likewise,
22159         * javax/swing/plaf/basic/BasicTextFieldUI.java: Likewise,
22160         * javax/swing/plaf/basic/BasicTextUI.java: Likewise,
22161         * javax/swing/plaf/basic/BasicTreeUI.java: Likewise.
22162
22163 2006-04-20  David Gilbert  <david.gilbert@object-refinery.com>
22164
22165         * java/sql/Array.java: Fixed Eclipse API doc warnings,
22166         * java/sql/Blob.java: Likewise,
22167         * java/sql/CallableStatement.java: Likewise,
22168         * java/sql/Clob.java: Likewise,
22169         * java/sql/Connection.java: Likewise,
22170         * java/sql/DatabaseMetaData.java: Likewise,
22171         * java/sql/Date.java: Likewise,
22172         * java/sql/Driver.java: Likewise,
22173         * java/sql/PreparedStatement.java: Likewise,
22174         * java/sql/ResultSet.java: Likewise,
22175         * java/sql/ResultSetMetaData.java: Likewise,
22176         * java/sql/SQLData.java: Likewise,
22177         * java/sql/SQLOutput.java: Likewise,
22178         * java/sql/SQLWarning.java: Likewise,
22179         * java/sql/Statement.java: Likewise,
22180         * java/sql/Time.java: Likewise,
22181         * java/sql/Timestamp.java: Likewise.
22182
22183 2006-04-20  David Gilbert  <david.gilbert@object-refinery.com>
22184
22185         * java/sql/DriverManager.java
22186         (setLoginTimeout): Use incoming argument,
22187         (setLogStream): Likewise,
22188         (println): Fix API doc comment.
22189
22190 2006-04-20  David Gilbert  <david.gilbert@object-refinery.com>
22191
22192         * javax/swing/JMenuItem.java
22193         (paramString): Updated API docs,
22194         (getAccessibleContext): Added API docs,
22195         (AccessibleJMenuItem.stateChanged): Marked as stub,
22196         (AccessibleJMenuItem.getAccessibleRole): Added API docs,
22197         * javax/swing/JSlider.java
22198         (paramString): Fix for API docs,
22199         * javax/swing/JToolTip.java
22200         (getAccessibleContext): Fix for API docs.
22201
22202 2006-04-20  David Gilbert  <david.gilbert@object-refinery.com>
22203
22204         * javax/swing/JRadioButtonMenuItem.java
22205         (paramString): Reimplemented,
22206         (getAccessibleContext): API docs added,
22207         (AccessibleJRadioButtonMenuItem.AccessibleJRadioButtonMenuItem()): 
22208         Likewise,
22209         (AccessibleJRadioButtonMenuItem.getAccessibleRole): Likewise.
22210
22211 2006-04-20  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
22212
22213         * javax/swing/plaf/basic/BasicTreeUI.java
22214         (finish): Invalidate path bounds.
22215         (getMaxHeight): Set the row height to the layout cache.
22216         (startEditing): Do not request to recalculated 
22217         row height and preferred size.
22218         * javax/swing/tree/DefaultTreeCellEditor.java
22219         (ICON_TEXT_GAP, ICON_TREE_GAP): Removed, replacing
22220         with 0.
22221         * javax/swing/tree/FixedHeightLayoutCache.java:
22222         Rewritten.
22223
22224 2006-04-20  David Gilbert  <david.gilbert@object-refinery.com>
22225
22226         * javax/swing/JDesktopPane.java
22227         (paramString): Reimplemented,
22228         plus API doc updates in AccessibleJDesktopPane.
22229
22230 2006-04-20  David Gilbert  <david.gilbert@object-refinery.com>
22231
22232         * javax/swing/ImageIcon.java:
22233         (AccessibleImageIcon.getAccessibleStateSet): Return null always,
22234         (AccessibleImageIcon.getLocale): Declared exception and always return 
22235         null,
22236         (getAccessibleContext): Updated API docs,
22237         plus updated API docs all over AccessibleImageIcon.
22238
22239 2006-04-20  Roman Kennke  <kennke@aicas.com>
22240
22241         PR 27196
22242         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
22243         (paintText): Fetch the ascent only once. Add the ascent to
22244         the text rect also when tabs are disabled.
22245
22246 2006-04-20  Christian Thalinger  <twisti@complang.tuwien.ac.at>
22247
22248         * java/util/Locale.java (defaultLocale): Set to en_US per
22249         default and use user.country but prioritize user.region if
22250         defined.
22251         (getLocale(String language, String country)): Renamed region to
22252         country.
22253         (getLocale(String language, String region, String variant)):
22254         Likewise.
22255         (getAvailableLocales): Likewise.
22256
22257 2006-04-20  Roman Kennke  <kennke@aicas.com>
22258
22259         PR 27222
22260         * javax/swing/JList.java
22261         (JList()): Call init() with DefaultListModel instance.
22262         (JList(Object[])): Call init() with null.
22263         (JList(Vector)): Call init() with null.
22264         (JList(ListModel)): Call init() with model.
22265         (init): Changed to take the model as argument. Don't call
22266         setter methods and initialize stuff directly instead.
22267         (getCellBounds): Check if UI is null.
22268
22269 2006-04-20  Robert Schuster  <robertschuster@fsfe.org>
22270
22271         * javax/swing/text/WrappedPlainView.java: Initialize
22272         WrappedLine.numLines with -1.
22273         (WrappedPlainView.WrappedLine.getPreferredSpan): Check whether
22274         numLines is -1 and reculcalate the value appropriately.
22275         (WrappedPlainView.WrappedLine.updateDamage): Set numLines to -1 if
22276         allocation area is empty.
22277
22278 2006-04-20  David Gilbert  <david.gilbert@object-refinery.com>
22279
22280         * javax/swing/JTabbedPane.java
22281         (AccessibleJTabbedPane.stateChanged): Marked as stub,
22282         (AccessibleJTabbedPane.getAccessibleRole): Likewise,
22283         (AccessibleJTabbedPane.getAccessibleChildrenCount): Likewise,
22284         (AccessibleJTabbedPane.getAccessibleSelection): Likewise,
22285         (AccessibleJTabbedPane.getAccessibleAt): Likewise,
22286         (AccessibleJTabbedPane.getAccessibleSelectionCount): Likewise,
22287         (AccessibleJTabbedPane.getAccessibleSelection(int)): Likewise,
22288         (AccessibleJTabbedPane.isAccessibleChildSelected): Likewise,
22289         (AccessibleJTabbedPane.addAccessibleSelection): Likewise,
22290         (AccessibleJTabbedPane.removeAccessibleSelection): Likewise,
22291         (AccessibleJTabbedPane.clearAccessibleSelection): Likewise,
22292         (AccessibleJTabbedPane.selectAllAccessibleSelection): Likewise,
22293         (Page.getAccessibleStateSet): Likewise,
22294         (Page.getAccessibleIndexInParent): Likewise.
22295
22296 2006-04-19  David Gilbert  <david.gilbert@object-refinery.com>
22297
22298         * javax/swing/JProgressBar.java
22299         (paramString): Reimplemented.
22300
22301 2006-04-19  David Gilbert  <david.gilbert@object-refinery.com>
22302
22303         * javax/swing/JButton.java: Updated API docs all over.
22304
22305 2006-04-19  Roman Kennke  <kennke@aicas.com>
22306
22307         * java/awt/Toolkit.java
22308         (getDefaultToolkit): Use system classloader to load the
22309         toolkit.
22310
22311 2006-04-19  Robert Schuster  <robertschuster@fsfe.org>
22312
22313         * javax/swing/text/DefaultCaret.java:
22314         (DefaultCaret.Bypass.setDot): Call DefaultCaret.setDotImpl
22315         instead of DefaultCaret.setDot.
22316
22317 2006-04-19  Roman Kennke  <kennke@aicas.com>
22318
22319         * native/jni/java-net/local.c
22320         (local_read): Handle EINTR correctly.
22321         (local_write): Likewise.
22322
22323 2006-04-19  Riccardo Mottola  <multix@gmail.com>
22324
22325         PR classpath/27062, PR classpath/25650:
22326         * native/fdlibm/ieeefp.h: Check for _POWER and _IBMR2.
22327
22328 2006-04-19  Tom Tromey  <tromey@redhat.com>
22329
22330         * java/text/SimpleDateFormat.java (formatWithAttribute): Take absolute
22331         value of 'pureMinutes'.  PR classpath/27189.
22332
22333 2006-04-19  Olivier Jolly  <olivier.jolly@pcedev.com>
22334
22335    * vm/reference/java/lang/VMClassLoader.java (getBootPackages): Loads
22336    boot packages list from the META-INF/INDEX.LIST file if it exists. 
22337
22338 2006-04-19  Raif S. Naffah  <raif@swiftdsl.com.au>
22339
22340         Suggested by Stephen White <stephen-gnu-crypto@randomstuff.org.uk>
22341         * gnu/javax/crypto/prng/IPBE.java: Updated documentation.
22342         (ITERATION_COUNT): Removed modifiers.
22343         (PASSWORD): Likewise.
22344         (SALT): Likewise.
22345         (PASSWORD_ENCODING): New property.
22346         (DEFAULT_PASSWORD_ENCODING): New constant.
22347         * gnu/javax/crypto/prng/PBKDF2.java (setup): Check for MAC's raw key
22348         material (bytes) before a password (chars).
22349
22350 2006-04-19  David Gilbert  <david.gilbert@object-refinery.com>
22351
22352         * javax/swing/JMenu.java
22353         (getAccessibleChildrenCount): Marked as stub,
22354         (getAccessibleChild): Likewise,
22355         (getAccessibleSelection): Likewise,
22356         (getAccessibleSelection(int)): Likewise,
22357         (isAccessibleChildSelected): Likewise,
22358         (getAccessibleSelectionCount): Likewise,
22359         (addAccessibleSelection): Likewise,
22360         (removeAccessibleSelection): Likewise,
22361         (clearAccessibleSelection): Likewise,
22362         (selectAllAccessibleSelection): Likewise.
22363
22364 2006-04-19  David Gilbert  <david.gilbert@object-refinery.com>
22365
22366         * javax/swing/JSplitPane.java
22367         (getAccessibleContext): Added API docs,
22368         (paramString): Reimplemented,
22369         (setOrientation): Updated API docs,
22370         (setResizeWeight): Added argument checking and event notification.
22371
22372 2006-04-18  Casey Marshall  <csm@gnu.org>
22373
22374         Fixes PR classpath/25673        
22375         * java/security/KeyStore.java (getDefaultType): return "gkr" if no
22376         property is set. Update JavaDoc to reflect this.
22377
22378 2006-04-18  Lillian Angel  <langel@redhat.com>
22379
22380         * gnu/xml/dom/DomDocument.java
22381         (setCheckingCharacters): New function used to set
22382         checkingCharacters flag.
22383         * gnu/xml/dom/html2/DomHTMLParser.java
22384         (parseDocument): Added call to set checkingCharacters flag
22385         to false.
22386
22387 2006-04-18  Lillian Angel  <langel@redhat.com>
22388
22389         * gnu/xml/dom/DomDocument.java
22390         (checkNCName): Reverted last patch. Added check for colon at
22391         last position back in.
22392
22393 2006-04-18  Robert Schuster  <robertschuster@fsfe.org>
22394
22395         * examples/gnu/classpath/examples/swing/NavigationFilterDemo.java:
22396         New file.
22397         * examples/gnu/classpath/examples/swing/Demo.java:
22398         (mkMenuBar): Added NavigationFilter demo.
22399
22400 2006-04-18  David Gilbert  <david.gilbert@object-refinery.com>
22401
22402         * javax/swing/JSeparator.java: Updated API docs all over, plus
22403         (setOrientation): Fire PropertyChangeEvent,
22404         (paramString): Reimplemented.
22405
22406 2006-04-18  Robert Schuster  <robertschuster@fsfe.org>
22407
22408         * javax/swing/plaf/basic/BasicTextUI.java:
22409         (getNextVisualPositionFrom): Implemented.
22410
22411 2006-04-18  David Gilbert  <david.gilbert@object-refinery.com>
22412
22413         * javax/swing/JPanel.java: Updated API docs all over, plus
22414         (JPanel(LayoutManager, boolean)): Pass on null layout, set 
22415         double-buffer flag.
22416
22417 2006-04-18  Robert Schuster  <robertschuster@fsfe.org>
22418
22419         * examples/gnu/classpath/examples/swing/DocumentFilterDemo.java:
22420         New file.
22421         * examples/gnu/classpath/examples/swing/Demo.java:
22422         (mkMenuBar): Added DocumenFilter demo.
22423
22424 2006-04-18  Tom Tromey  <tromey@redhat.com>
22425
22426         * doc/www.gnu.org/include/layout.wml: Add FMJ.
22427
22428 2006-04-18  Mark Wielaard  <mark@klomp.org>
22429
22430         Reported by John Sullivan (johns@fsf.org)
22431         * doc/www.gnu.org/stories.wml: Update JikesRVM location.
22432
22433 2006-04-18  David Gilbert  <david.gilbert@object-refinery.com>
22434
22435         * javax/swing/JInternalFrame.java
22436         (JDesktopIcon.getAccessibleContext): Added API docs,
22437         (getDefaultCloseOperation): Likewise,
22438         (paramString): Added 'title' attribute,
22439         (setDefaultCloseOperation): Added API docs.
22440
22441 2006-04-18  David Gilbert  <david.gilbert@object-refinery.com>
22442
22443         * javax/swing/JSlider.java
22444         (paramString): Reimplemented.
22445
22446 2006-04-18  David Gilbert  <david.gilbert@object-refinery.com>
22447
22448         * javax/swing/JComboBox.java
22449         (paramString): Reimplemented,
22450         (getAccessibleContext): Added API docs,
22451         (AccessibleJComboBox.getAccessibleRole): Likewise.
22452
22453 2006-04-18  Roman Kennke  <kennke@aicas.com>
22454
22455         * javax/swing/RepaintManager.java
22456         (dirtyComponentsWork): New field.
22457         (ComponentComparator): Use dirtyComponentsWork instead of
22458         dirtyComponents.
22459         (RepaintManager): Initialize new field.
22460         (paintDirtyRegions): Swap dirtyComponents with dirtyComponentsWork
22461         and work on the copy.
22462
22463 2006-04-18  Roman Kennke  <kennke@aicas.com>
22464
22465         * gnu/java/awt/peer/swing/SwingComponentPeer.java
22466         (setBounds): Call reshape().
22467         * gnu/java/awt/peer/swing/SwingContainerPeer.java
22468         (SwingContainerPeer): Changed argument to be a Component
22469         instead a Container.
22470         (getInsets): Call insets().
22471         (handleMouseEvent): Added null check to avoid NPE.
22472         (handleMouseMotionEvent): Added null check to avoid NPE.
22473         
22474 2006-04-18  Roman Kennke  <kennke@aicas.com>
22475
22476         PR 27185
22477         * javax/swing/JComponent.java
22478         (paintChildrenWithOverlap): When one child is not opaque, propagate
22479         the dirty rectangles to the next child.
22480         (paintChildrenOptimized): Removed unnecessary 'optimization'.
22481         This actually didn't work right and probably gained nothing.
22482
22483 2006-04-18  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
22484
22485         * javax/swing/JTable.java (getCallRect): Do not cache rectangles.
22486         (moveToCellBeingEdited): Do not clone the rectangle here.
22487
22488 2006-04-18  David Gilbert  <david.gilbert@object-refinery.com>
22489
22490         * javax/swing/plaf/basic/BasicSliderUI.java
22491         (getActionMap): Fixed lookup key,
22492         (createActionMap): Modified actions to fetch slider/ui from the event
22493         source.
22494
22495 2006-04-17  Andrew John Hughes  <gnu_andrew@member.fsf.org>
22496
22497         * java/lang/Enum.java: Documented.
22498
22499 2006-04-17  Andrew John Hughes  <gnu_andrew@member.fsf.org>
22500
22501         * gnu/java/lang/InstrumentationImpl.java:
22502         Moved from java.lang.
22503         * java/lang/InstrumentationImpl.java:
22504         Removed.
22505         * vm/reference/gnu/java/lang/VMInstrumentationImpl.java:
22506         Moved from java.lang.
22507         * vm/reference/java/lang/VMClassLoader.java:
22508         Corrected reference to InstrumentationImpl.
22509         * vm/reference/java/lang/VMInstrumentationImpl.java:
22510         Removed.
22511         
22512 2006-04-17  Andrew John Hughes  <gnu_andrew@member.fsf.org>
22513
22514         * java/lang/annotation/Annotation.java:
22515         Documented.
22516         
22517 2006-04-17  David Gilbert  <david.gilbert@object-refinery.com>
22518
22519         * javax/swing/JToolBar.java
22520         (AccessibleJToolBar.AccessibleJToolBar()): Updated API docs,
22521         (AccessibleJToolBar.getAccessibleStateSet): Implemented,
22522         (AccessibleJToolBar.getAccessibleRole): Updated API docs,
22523         (getAccessibleContext): Likewise.
22524
22525 2006-04-17  Dalibor Topic  <robilad@kaffe.org>
22526
22527         * configure.ac:
22528         Added CLASSPATH_CONVENIENCE substitution for convenience library LDFLAGS.
22529
22530         * native/fdlibm/Makefile.am,
22531         native/jni/classpath/Makefile.am:
22532         Don't use -module and -version-info for convenience libraries LDFLAGS.
22533         Fixes libtool warnings.
22534
22535 2006-04-17  David Gilbert  <david.gilbert@object-refinery.com>
22536
22537         * javax/swing/plaf/basic/BasicComboBoxUI.java:
22538         (installKeyboardActions): Marked as stub,
22539         (uninstallKeyboardActions): Likewise,
22540         * javax/swing/plaf/basic/BasicComboPopup.java:
22541         (installKeyboardActions): Marked as stub,
22542         (uninstallKeyboardActions): Likewise,
22543         * javax/swing/plaf/basic/BasicInternalFrameUI.java:
22544         (installKeyboardActions): Marked as stub,
22545         (uninstallKeyboardActions): Likewise,
22546         * javax/swing/plaf/basic/BasicLabelUI.java:
22547         (installKeyboardActions): Marked as stub,
22548         (uninstallKeyboardActions): Likewise,
22549         * javax/swing/plaf/basic/BasicListUI.java:
22550         (installKeyboardActions): Marked as stub,
22551         (uninstallKeyboardActions): Likewise,
22552         * javax/swing/plaf/basic/BasicMenuBarUI.java:
22553         (installKeyboardActions): Marked as stub,
22554         (uninstallKeyboardActions): Likewise,
22555         * javax/swing/plaf/basic/BasicMenuUI.java:
22556         (installKeyboardActions): Marked as stub,
22557         (uninstallKeyboardActions): Likewise,
22558         * javax/swing/plaf/basic/BasicOptionPaneUI.java:
22559         (installKeyboardActions): Marked as stub,
22560         (uninstallKeyboardActions): Likewise,
22561         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
22562         (installKeyboardActions): Marked as stub,
22563         (uninstallKeyboardActions): Likewise,
22564         * javax/swing/plaf/basic/BasicScrollBarUI.java:
22565         (installKeyboardActions): Marked as stub,
22566         (uninstallKeyboardActions): Likewise,
22567         * javax/swing/plaf/basic/BasicScrollPaneUI.java:
22568         (installKeyboardActions): Marked as stub,
22569         (uninstallKeyboardActions): Likewise,
22570         * javax/swing/plaf/basic/BasicSplitPaneUI.java:
22571         (installKeyboardActions): Marked as stub,
22572         (uninstallKeyboardActions): Likewise,
22573         * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
22574         (installKeyboardActions): Marked as stub,
22575         (uninstallKeyboardActions): Likewise,
22576         * javax/swing/plaf/basic/BasicTableHeaderUI.java:
22577         (installKeyboardActions): Marked as stub,
22578         (uninstallKeyboardActions): Likewise,
22579         * javax/swing/plaf/basic/BasicTableUI.java:
22580         (installKeyboardActions): Marked as stub,
22581         (uninstallKeyboardActions): Likewise,
22582         * javax/swing/plaf/basic/BasicTextUI.java:
22583         (installKeyboardActions): Marked as stub,
22584         (uninstallKeyboardActions): Likewise,
22585         * javax/swing/plaf/basic/BasicToolBarUI.java:
22586         (installKeyboardActions): Marked as stub,
22587         (uninstallKeyboardActions): Likewise.   
22588
22589 2006-04-17  David Gilbert  <david.gilbert@object-refinery.com>
22590
22591         * javax/swing/plaf/basic/BasicSliderUI.java
22592         (installKeyboardActions): Implemented,
22593         (uninstallKeyboardActions): Implemented,
22594         (scrollByBlock): Accept any value for direction,
22595         (scrollByUnit): Likewise,
22596         (getInputMap): New method,
22597         (getActionMap): New method,
22598         (createActionMap): New method.
22599
22600
22601 2006-04-16  Andrew John Hughes  <gnu_andrew@member.fsf.org>
22602         
22603         * doc/vmintegration.texinfo:
22604         Fix sectioning.
22605
22606 2006-04-16  Tom Tromey  <tromey@redhat.com>
22607
22608         * native/jni/java-net/Makefile.am (AM_CFLAGS): Removed --save-temps.
22609
22610 2006-04-16  Andrew John Hughes  <gnu_andrew@member.fsf.org>
22611
22612         * NEWS:
22613         Mention generics additions to the VM interface.
22614         * doc/vmintegration.texinfo:
22615         Added information on VMClass 1.5 additions and
22616         VMSecureRandom.
22617         
22618 2006-04-16  Casey Marshall  <csm@gnu.org>
22619
22620         * NEWS: add an entry mentioning local socket support.
22621
22622 2006-04-16  Casey Marshall  <csm@gnu.org>
22623
22624         * configure.ac (--enable-local-sockets): new enable argument.
22625         (ENABLE_LOCAL_SOCKETS): new define.
22626         * native/jni/java-net/Makefile.am (local_sources): new variable.
22627         (lib_javanet_la_SOURCES): append `local_sources.'
22628         * native/jni/java-net/gnu_java_net_local_LocalSocketImpl.c,
22629         * native/jni/java-net/local.c,
22630         * native/jni/java-net/local.h,
22631         * include/gnu_java_net_local_LocalSocketImpl.h,
22632         * gnu/java/net/local/LocalServerSocket.java,
22633         * gnu/java/net/local/LocalSocket.java,
22634         * gnu/java/net/local/LocalSocketAddress.java,
22635         * gnu/java/net/local/LocalSocketImpl.java: new files.
22636
22637 2006-04-15  Andrew John Hughes  <gnu_andrew@member.fsf.org>
22638
22639         * javax/accessibility/AccessibleAction.java:
22640         (DECREMENT): Added field.
22641         (INCREMENT): Likewise.
22642         (TOGGLE_EXPAND): Likewise.
22643         * javax/accessibility/AccessibleRole.java:
22644         (EDITBAR): Added field.
22645         (FOOTER): Likewise.
22646         (HEADER): Likewise.
22647         (PARAGRAPH): Likewise.
22648         (PROGRESS_MONITOR): Likewise.
22649         (RULER): Likewise.
22650         * javax/accessibility/AccessibleState.java:
22651         (INDETERMINATE): Added field.
22652         (MANAGES_DESCENDANTS): Likewise.
22653         (TRUNCATED): Likewise.
22654
22655 2006-04-14  Tom Tromey  <tromey@redhat.com>
22656
22657         * javax/swing/tree/DefaultTreeSelectionModel.java (getListeners):
22658         Genericized.
22659         * javax/swing/tree/AbstractLayoutCache.java (getVisiblePathsFrom):
22660         Genericized.
22661
22662 2006-04-14  Robert Schuster  <robertschuster@fsfe.org>
22663
22664         * javax/swing/text/DefaultCaret.java:
22665         (getBypass): New method.
22666         (moveDot): Rewritten.
22667         (moveDotImpl): New method.
22668         (setDot): Rewritten.
22669         (setDotImpl): New method.
22670         (DefaultCaret.Bypass): New class.
22671
22672 2006-04-14  Robert Schuster  <robertschuster@fsfe.org>
22673
22674         * javax/swing/text/AbstractDocument.java:
22675         (getBypass): New method.
22676         (insertString): Rewritten.
22677         (remove): Rewritten.
22678         (replace): Rewritten.
22679         (insertStringImpl): New method.
22680         (removeImpl): New method.
22681         (replaceImpl): New method.
22682         (AbstractDocument.Bypass): New class.
22683
22684 2006-04-14  Casey Marshall  <csm@gnu.org>
22685
22686         Fixes PR classpath/24642
22687         * NEWS: add note about SecureRandom changes, and addition of
22688         VMSecureRandom.
22689         * java/security/SecureRandom.java (isSeeded): new field.
22690         (setSeed, setSeed): set `isSeeded' to `true.'
22691         (nextBytes): seed this instance if `isSeeded' is false.
22692         (getSeed): call `generateSeed.'
22693         (SECURERANDOM_SOURCE, JAVA_SECURITY_EGD, logger): new constants.
22694         (generateSeed, generateSeed): new methods.
22695         * vm/reference/java/security/VMSecureRandom.java: new file.
22696
22697 2006-04-14  Robert Schuster  <robertschuster@fsfe.org>
22698
22699         * javax/swing/text/FieldView.java:
22700         (paint): Apply clipping rectangle of the allocation area
22701         before painting the text.
22702         * javax/swing/text/DefaultHighlighter.java:
22703         (DefaultHighlighter.DefaultHighlightPainter): Use SwingUtilities to
22704         compute union and intersection, calculate intersection with allocation
22705         area before painting, adjust x and width when painting multiple lines
22706         by the range of the allocation area.
22707
22708 2006-04-14  Robert Schuster  <robertschuster@fsfe.org>
22709
22710         * javax/swing/text/DefaultHighlighter.java:
22711         (paintLayeredHighlights): Marked as stub.
22712
22713 2006-04-14  Robert Schuster  <robertschuster@fsfe.org>
22714
22715         * javax/swing/plaf/basic/BasicTextFieldUI.java:
22716         (propertyChanged): Added note, change color only if current background
22717         is a ColorUIResource instance.
22718
22719 2006-04-14  Tom Tromey  <tromey@redhat.com>
22720
22721         * java/beans/beancontext/BeanContextSupport.java (hasNext): No longer
22722         a stub.
22723         (next): Likewise.
22724
22725 2006-04-14  Tom Tromey  <tromey@redhat.com>
22726
22727         * javax/swing/JComboBox.java (AccessibleJComboBox): Now public.
22728
22729 2006-04-14  Mark Wielaard  <mark@klomp.org>
22730
22731         * java/lang/Thread.java (getUncaughtExceptionHandler): Return
22732         thread group when exceptionHandler isn't set.
22733         * vm/reference/java/lang/VMThread.java (run): Use result of
22734         thread.getUncaughtExceptionHandler directly.
22735
22736 2006-04-14  David Gilbert  <david.gilbert@object-refinery.com>
22737
22738         * javax/swing/JSplitPane.java
22739         (AccessibleJSplitPane.getAccessibleStateSet): Implemented,
22740         (AccessibleJSplitPane.getAccessibleRole): Implemented,
22741         (AccessibleJSplitPane.getAccessibleValue): Implemented,
22742         (AccessibleJSplitPane.getCurrentAccessibleValue): Implemented,
22743         (AccessibleJSplitPane.setCurrentAccessibleValue): Implemented,
22744         (AccessibleJSplitPane.getMinimumAccessibleValue): Implemented,
22745         (AccessibleJSplitPane.getMaximumAccessibleValue): Implemented.
22746
22747 2006-04-10  Tom Tromey  <tromey@redhat.com>
22748
22749         * javax/imageio/metadata/IIOMetadataFormatImpl.java (addObjectValue):
22750         Fixed parameter bounds.
22751
22752 2006-04-13  Andrew John Hughes  <gnu_andrew@member.fsf.org>
22753         
22754         * gnu/javax/crypto/assembly/Assembly.java,
22755         * gnu/javax/crypto/assembly/Cascade.java,
22756         * gnu/javax/crypto/assembly/CascadeStage.java,
22757         * gnu/javax/crypto/assembly/CascadeTransformer.java,
22758         * gnu/javax/crypto/assembly/Direction.java,
22759         * gnu/javax/crypto/assembly/LoopbackTransformer.java,
22760         * gnu/javax/crypto/assembly/ModeStage.java,
22761         * gnu/javax/crypto/assembly/Operation.java,
22762         * gnu/javax/crypto/assembly/PaddingTransformer.java,
22763         * gnu/javax/crypto/assembly/Stage.java,
22764         * gnu/javax/crypto/assembly/Transformer.java,
22765         * gnu/javax/crypto/cipher/Square.java,
22766         * gnu/javax/crypto/jce/cipher/AESSpi.java,
22767         * gnu/javax/crypto/jce/cipher/ARCFourSpi.java,
22768         * gnu/javax/crypto/jce/cipher/AnubisSpi.java,
22769         * gnu/javax/crypto/jce/cipher/BlowfishSpi.java,
22770         * gnu/javax/crypto/jce/cipher/CipherAdapter.java,
22771         * gnu/javax/crypto/jce/cipher/DESSpi.java,
22772         * gnu/javax/crypto/jce/cipher/KhazadSpi.java,
22773         * gnu/javax/crypto/jce/cipher/NullCipherSpi.java,
22774         * gnu/javax/crypto/jce/cipher/PBES2.java,
22775         * gnu/javax/crypto/jce/cipher/RijndaelSpi.java,
22776         * gnu/javax/crypto/jce/cipher/SerpentSpi.java,
22777         * gnu/javax/crypto/jce/cipher/SquareSpi.java,
22778         * gnu/javax/crypto/jce/cipher/TripleDESSpi.java,
22779         * gnu/javax/crypto/jce/cipher/TwofishSpi.java,
22780         * gnu/javax/crypto/jce/mac/HMacMD2Spi.java,
22781         * gnu/javax/crypto/jce/mac/HMacMD4Spi.java,
22782         * gnu/javax/crypto/jce/mac/HMacMD5Spi.java,
22783         * gnu/javax/crypto/jce/mac/HMacRipeMD128Spi.java,
22784         * gnu/javax/crypto/jce/mac/HMacRipeMD160Spi.java,
22785         * gnu/javax/crypto/jce/mac/HMacSHA160Spi.java,
22786         * gnu/javax/crypto/jce/mac/HMacSHA256Spi.java,
22787         * gnu/javax/crypto/jce/mac/HMacSHA384Spi.java,
22788         * gnu/javax/crypto/jce/mac/HMacSHA512Spi.java,
22789         * gnu/javax/crypto/jce/mac/HMacTigerSpi.java,
22790         * gnu/javax/crypto/jce/mac/HMacWhirlpoolSpi.java,
22791         * gnu/javax/crypto/jce/mac/MacAdapter.java,
22792         * gnu/javax/crypto/jce/mac/TMMH16Spi.java,
22793         * gnu/javax/crypto/jce/mac/UHash32Spi.java,
22794         * gnu/javax/crypto/jce/mac/UMac32Spi.java,
22795         * gnu/javax/crypto/key/dh/DiffieHellmanSender.java,
22796         * gnu/javax/crypto/key/srp6/SRP6TLSServer.java,
22797         * gnu/javax/crypto/keyring/PrivateKeyEntry.java,
22798         * gnu/javax/crypto/mode/IAuthenticatedMode.java,
22799         * gnu/javax/crypto/pad/WrongPaddingException.java,
22800         * gnu/javax/crypto/prng/ICMGenerator.java,
22801         * gnu/javax/crypto/prng/IPBE.java,
22802         * gnu/javax/crypto/prng/PBKDF2.java,
22803         * gnu/javax/crypto/sasl/ConfidentialityException.java,
22804         * gnu/javax/crypto/sasl/IllegalMechanismStateException.java,
22805         * gnu/javax/crypto/sasl/srp/IALG.java,
22806         * gnu/javax/crypto/sasl/srp/SRPServer.java:
22807         Remove CVS revision tags.
22808
22809 2006-04-13  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
22810
22811         * javax/swing/plaf/basic/BasicTreeUI.java (getPreferredSize): 
22812         Removed debugging code.
22813
22814 2006-04-13  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
22815  
22816         * javax/swing/JTree.java (getPreferredSize): Return the
22817         cloned instance.
22818         * javax/swing/ViewportLayout.java (layoutContainer):
22819         Do not manage the view size and location if the view is
22820         in the scroll pane. Also manage size and location for
22821         Scrollable, if it is not in the scroll pane.
22822         * javax/swing/plaf/basic/BasicTreeUI.java,
22823         * javax/swing/tree/FixedHeightLayoutCache.java,
22824         * javax/swing/tree/VariableHeightLayoutCache.java: Rewritten.
22825         * gnu/javax/swing/tree/GnuPath.java: New file.
22826
22827 2006-04-13  David Gilbert  <david.gilbert@object-refinery.com>
22828
22829         * javax/swing/JToolBar.java
22830         (AccessibleJToolBar.getAccessibleStateSet): Marked as stub.
22831
22832 2006-04-13  Robert Schuster  <robertschuster@fsfe.org>
22833
22834         * examples/gnu/classpath/examples/swing/TextAreaDemo.java:
22835         (createCustomColoredPanel): Set background color as demo intends,
22836         changed custom selection color to red.
22837         * examples/gnu/classpath/examples/swing/TextFieldDemo.java:
22838         Replaced various single variables with a Compound instance, added
22839         custom highlighter demo.
22840         (TextFieldDemo.DemoHighlightPainter): New class (taken from
22841         TextAreaDemo).
22842         (TextFieldDemo.Compound): New class.
22843         (createTextFieldCompound): New method.
22844         (createLeftAlignedPanel): Rewritten.
22845         (createRightAlignedPanel): Rewritten.
22846         (createCenteredPanel): Rewritten.
22847         (createCustomColoredPanel): Removed.
22848         (createCustomColoredPanel1): New method.
22849         (createCustomColoredPanel2): New method.
22850         (createCustomBordersPanel): New method.
22851         (createMiscPanel): Rewritten.
22852         (actionPerformed): Rewritten.
22853         (createContent): Add panels of new compounds to main panel, put
22854         main panel in a JScrollPane.
22855         * examples/gnu/classpath/examples/swing/Demo.java:
22856         (Demo): Put desktop in a scrollpane.
22857         (mkMenuBar): Check availability of MetalLookAndFeel.getCurrentTheme()
22858         method via reflection.
22859
22860 2006-04-13  David Gilbert  <david.gilbert@object-refinery.com>
22861
22862         * javax/swing/plaf/metal/MetalDesktopIconUI.java
22863         (createUI): Return new instance rather than shared instance.
22864
22865 2006-04-13  Robert Schuster  <robertschuster@fsfe.org>
22866
22867         * javax/swing/text/FieldView.java:
22868         (checkContainer): Call updateVisibility() at the end.
22869
22870 2006-04-13  Robert Schuster  <robertschuster@fsfe.org>
22871
22872         * java/awt/event/MouseEvent.java:
22873         (paramString): Add value of 'consumed' variable in string.
22874
22875 2006-04-13  Robert Schuster  <robertschuster@fsfe.org>
22876
22877         PR 26967
22878         * javax/swing/JTextField.java: Removed scrollOffset variable.
22879         (JTextField): Moved up initialization of horizontalVisibility field.
22880         (getScrollOffset): Implemented.
22881         (setScrollOffset): Implemented.
22882         (getHorizonztalVisibility): Removed note.
22883         (scrollRectToVisible): New method.
22884         * javax/swing/text/FieldView.java: Added cachedSpan variable.
22885         (checkContainer): New method.
22886         (updateVisibility): New method.
22887         (calculateHorizontalSpan): New method.
22888         (adjustAllocation): Removed unneeded local variables, added code
22889         to handle scrolling.
22890         (getPreferredSpan): Use new method calculateHorizontalSpan,
22891         avoid calculation by returning cached value cachedSpan.
22892         (paint): Added check whether the hosted component is a JTextField.
22893         (insertUpdate): Invalidate cached span value, update visibility
22894         if neccessary.
22895         (removeUpdate): Dito.
22896         (changeUpdate): Dito.
22897
22898 2006-04-13  David Gilbert  <david.gilbert@object-refinery.com>
22899
22900         * javax/swing/JInternalFrame.java
22901         (setTitle): Set old value to 'this.title', not 'title'.
22902
22903 2006-04-13  David Gilbert  <david.gilbert@object-refinery.com>
22904
22905         * javax/swing/JInternalFrame.java
22906         (AccessibleJInternalFrame.getAccessibleName): Implemented,
22907         (AccessibleJInternalFrame.getAccessibleRole): Implemented,
22908         (AccessibleJInternalFrame.getAccessibleValue): Implemented,
22909         (AccessibleJInternalFrame.getCurrentAccessibleValue): Implemented,
22910         (AccessibleJInternalFrame.getMaximumAccessibleValue): Implemented,
22911         (AccessibleJInternalFrame.getMinimumAccessibleValue): Implemented,
22912         (AccessibleJInternalFrame.setCurrentAccessibleValue): Implemented,
22913         (JDesktopIcon.AccessibleJDesktopIcon.getAccessibleRole): Implemented,
22914         (JDesktopIcon.AccessibleJDesktopIcon.getAccessibleValue): Implemented,
22915         (JDesktopIcon.AccessibleJDesktopIcon.getCurrentAccessibleValue): 
22916         Implemented,
22917         (JDesktopIcon.AccessibleJDesktopIcon.getMaximumAccessibleValue): 
22918         Implemented,
22919         (JDesktopIcon.AccessibleJDesktopIcon.getMinimumAccessibleValue): 
22920         Implemented,
22921         (JDesktopIcon.AccessibleJDesktopIcon.setCurrentAccessibleValue): 
22922         Implemented,
22923         (JInternalFrame()): Use "" for default title,
22924         (getAccessibleContext): Updated API docs,
22925         (getDesktopIcon): Likewise,
22926         (getLayer): Check for layer in client properties, and return 
22927         DEFAULT_LAYER if no setting is found,
22928         (getTitle): Updated API docs,
22929         (setDesktopIcon): Fire property change event.
22930
22931 2006-04-13  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
22932
22933         * javax/swing/ScrollPaneLayout.java (layoutContainer):
22934         Mind that the presence of one scroll bar may cause the
22935         need for another.
22936
22937 2006-04-12  Ito Kazumitsu  <kaz@maczuka.gcd.org>
22938
22939         * gnu/regexp/REToken.java(unicodeAware): New field,
22940         (toLowerCase, toUpperCase): New methods.
22941         * gnu/regexp/RETokenBackRef.java, gnu/regexp/RETokenChar.java,
22942         gnu/regexp/RETokenNamedProperty.java, gnu/regexp/RETokenRange.java:
22943         Use toLowerCase and toUpperCase defined in REToken instead of
22944         those defined in java.lang.Character.
22945         * gnu/regexp/gnu/regexp/RE.java(REG_ICASE_USASCII): New flag.
22946         (initialize): Sets unicodeAware of the generated REToken to false if
22947         REG_ICASE_USASCII is set.
22948         * gnu/regexp/RETokenChar.java(constructor): Don't convert the character
22949         to lower case and keep the original value.
22950         (matchOneString): Use the new method charEquals to compare characters.
22951         (charEquals): New method to compare characters.
22952         * java/util/regex/Pattern.java: Sets the flag REG_ICASE_USASCII to true.
22953
22954 2006-04-12  David Gilbert  <david.gilbert@object-refinery.com>
22955
22956         * javax/swing/event/InternalFrameEvent.java:
22957         (paramString): Implemented,
22958         updated API docs all over.
22959         
22960 2006-04-12  Casey Marshall  <csm@gnu.org>
22961
22962         * gnu/javax/crypto/prng/Fortuna.java (setup): call `fillBlock.'
22963         (Generator.setup): call `fillBlock.'
22964
22965 2006-04-12  Casey Marshall  <csm@gnu.org>
22966
22967         Fixes PR classpath/24481.
22968         * gnu/java/security/jce/prng/SecureRandomAdapter.java (<init>):
22969         initialize the adaptee.
22970         (setSeed): call `addRandomBytes;' don't re-initialize the adaptee.
22971         * gnu/java/security/prng/MDGenerator.java (addRandomByte,
22972         addRandomBytes): new methods.
22973
22974 2006-04-12  Tom Tromey  <tromey@redhat.com>
22975
22976         * java/io/DataOutputStream.java (writeUTF): Correctly handle zero
22977         length strings.
22978
22979 2006-04-12  Lillian Angel  <langel@redhat.com>
22980
22981         * gnu/xml/dom/DomDocument.java
22982         (checkNCName): Removed unneeded part of check.
22983         * gnu/xml/dom/DomNode.java
22984         (dispatchEvent): Added code to grow ancestors array
22985         if needed. Changed checks to use depth of node instead.
22986         Fixes an infinite loop and segmentation fault.
22987         * gnu/xml/dom/html2/DomHTMLParser.java
22988         (handleEndTag): No need to use/make a copy of the node.
22989         Causes an infinite loop.
22990
22991 2006-04-12  Tom Tromey  <tromey@redhat.com>
22992
22993         PR classpath/27131:
22994         * java/util/BitSet.java (get): Early return if to==from.
22995
22996 2006-04-12  Mark Wielaard  <mark@klomp.org>
22997
22998         * java/security/SecureRandom.java (algorithm): New private field.
22999         (SecureRandom): Initialize algorithm.
23000         (SecureRandom(SecureRandomSpi,Provider,String)): New private
23001         constructor.
23002         (getInstance): Call 3 argument constructor.
23003         (getAlgorithm): New method.
23004
23005 2006-04-12  Mark Wielaard  <mark@klomp.org>
23006
23007         Port UncaughtExceptionHandler support from generics branch.
23008         * NEWS: Document Thread.UncaughtExceptionHandler VMThread change.
23009
23010 2006-04-12  Andrew John Hughes  <gnu_andrew@member.fsf.org>
23011
23012         * java/lang/Thread.java:
23013         (setUncaughtExceptionHandler(UncaughtExceptionHandler):
23014         Added docs and security check.
23015         (getUncaughtExceptionHandler()): Documented.
23016         (setDefaultUncaughtExceptionHandler(UncaughtExceptionHandler):
23017         Added docs and security check.
23018         (getDefaultUncaughtExceptionHandler()): Documented.
23019         (getId()): Documented.
23020
23021 2006-04-12  Tom Tromey  <tromey@redhat.com>
23022
23023         * vm/reference/java/lang/VMThread.java (run): Use thread's
23024         uncaught handler.
23025         * java/lang/Thread.java (defaultHandler): New field.
23026         (setDefaultUncaughtExceptionHandler,
23027         getDefaultUncaughtExceptionHandler, setUncaughtExceptionHandler,
23028         getUncaughtExceptionHandler): New methods.
23029         * java/lang/ThreadGroup.java (ThreadGroup): Implements
23030         UncaughtExceptionHandler.
23031         (uncaughtException): Use getDefaultUncaughtExceptionHandler.
23032
23033 2006-04-11  Bryce McKinlay  <mckinlay@redhat.com>
23034
23035         * java/io/DataOutputStream.java (writeUTF): Re-use fixed length byte
23036         buffer. Loop only once to determine Utf8 length when possible. Make
23037         the inner loop bounded by buf.length.
23038         (getUTFlength): New private method.
23039         (buf): New private field.
23040
23041 2006-04-11  Lillian Angel  <langel@redhat.com>
23042
23043         * gnu/xml/dom/DomNodeIterator.java
23044         (nextNode): Moved line of code to avoid an infinite loop.
23045         * gnu/xml/dom/html2/DomHTMLAppletElement.java
23046         (getCls): New function.
23047         (setCls): Likewise.
23048         (getSrc): Likewise.
23049         (setSrc): Likewise.
23050         * gnu/xml/dom/html2/DomHTMLDocument.java:
23051         Added DomHTMLEmbedElement to map.
23052         (getApplets): Added node name, 'embed'.
23053         * gnu/xml/dom/html2/DomHTMLEmbedElement.java:
23054         New class.
23055         * gnu/xml/dom/html2/DomHTMLObjectElement.java
23056         (getJavaCode): New function.
23057         (setJavaCode): Likewise.
23058         (getObject): Likewise.
23059         (setObject): Likewise.
23060         (getJavaObject): Likewise.
23061         (setJavaObject): Likewise.
23062         (getJavaArchive): Likewise.
23063         (setJavaArchive): Likewise.
23064         (getJavaCodeBase): Likewise.
23065         (setJavaCodeBase): Likewise.
23066         (getJavaType): Likewise.
23067         (setJavaType): Likewise.
23068         (setMayscript): Likewise.
23069         (getMayscript): Likewise.
23070         (setScriptable): Likewise.
23071         (getScriptable): Likewise.
23072         * gnu/xml/dom/html2/DomHTMLParser.java
23073         (parseDocument): Should not check for well formedness
23074         when parsing an html document.
23075         * java/awt/Window.java
23076         (dispatchEvent): Added check to avoid NPE.
23077
23078 2006-04-10  Tom Tromey  <tromey@redhat.com>
23079
23080         * javax/accessibility/AccessibleStreamable.java (getStream): Fixed
23081         name.
23082         * javax/accessibility/AccessibleRelation.java (EMBEDS): Fixed value.
23083         (SUBWINDOW_OF, SUBWINDOW_OF_PROPERTY): Likewise.
23084
23085 2006-04-10  Robert Schuster  <robertschuster@fsfe.org>
23086
23087         * javax/swing/plaf/basic/BasicTextUI.java:
23088         (getNextVisualPositionFrom): Marked as stub.
23089
23090 2006-04-10  Roman Kennke  <kennke@aicas.com>
23091
23092         * javax/swing/plaf/basic/BasicLookAndFeel.java
23093         (initSystemColorDefaults): Changed to use loadSystemColorDefaults
23094         and create the defaults as strings constants.
23095         (loadSystemColors): Implemented stubbed method.
23096
23097 2006-04-10  Tom Tromey  <tromey@redhat.com>
23098
23099         * .settings/org.eclipse.core.resources.prefs: Set encoding for
23100         ChangeLog.
23101
23102 2006-04-10  Tom Tromey  <tromey@redhat.com>
23103
23104         * java/io/CharArrayWriter.java (append): Javadoc fix.
23105         (append): Likewise.
23106
23107 2006-04-10  Tom Tromey  <tromey@redhat.com>
23108
23109         * javax/accessibility/AccessibleTextSequence.java: New file.
23110         * javax/accessibility/AccessibleRelation.java (CHILD_NODE_OF): New
23111         field.
23112         (CHILD_NODE_OF_PROPERTY, EMBEDDED_BY, EMBEDDED_BY_PROPERTY, EMBEDS,
23113         EMBEDS_PROPERTY, FLOWS_FROM, FLOWS_FROM_PROPERTY, FLOWS_TO,
23114         FLOWS_TO_PROPERTY, PARENT_WINDOW_OF, PARENT_WINDOW_OF_PROPERTY,
23115         SUBWINDOW_OF, SUBWINDOW_OF_PROPERTY): Likewise.
23116         * javax/accessibility/AccessibleExtendedText.java: New file.
23117         * javax/accessibility/AccessibleContext.java
23118         (ACCESSIBLE_COMPONENT_BOUNDS_CHANGED): New field.
23119         (ACCESSIBLE_INVALIDATE_CHILDREN): Likewise.
23120         (ACCESSIBLE_TEXT_ATTRIBUTES_CHANGED): Likewise.
23121         * javax/accessibility/AccessibleAttributeSequence.java: New file.
23122         * javax/accessibility/AccessibleStreamable.java: New file.
23123         * javax/accessibility/AccessibleText.java (getIndexAtPoint): Javadoc
23124         fix.
23125
23126 2006-04-10  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
23127
23128         * javax/swing/tree/AbstractLayoutCache.java 
23129         (getNodeDimensions, getRowsForPath): Implemented.
23130         * javax/swing/tree/FixedHeightLayoutCache.java: Rewritten.
23131         * javax/swing/tree/VariableHeightLayoutCache.java: Rewritten.
23132
23133 2006-04-10  Roman Kennke  <kennke@aicas.com>
23134
23135         * javax/swing/tree/AbstractLayoutCache.java: Reformatted.
23136
23137 2006-04-10  Roman Kennke  <kennke@aicas.com>
23138
23139         * javax/swing/JInternalFrame.java
23140         (AccessibleJInternalFrame): Marked all stubbed methods as such
23141         by adding throws NotImplementedException.
23142
23143 2006-04-10  Roman Kennke  <kennke@aicas.com>
23144
23145         * javax/swing/JFileChooser.java
23146         (getAccessibleContext): Don't create a new instance on each
23147         call, instead store the accessible context in the
23148         accessibleContext field.
23149
23150 2006-04-10  Roman Kennke  <kennke@aicas.com>
23151
23152         * javax/swing/JComboBox.java
23153         (AccessibleJComboBox): Marked all stubbed methods as such
23154         by adding throws NotImplementedException.
23155
23156 2006-04-10  Roman Kennke  <kennke@aicas.com>
23157
23158         * javax/swing/ActionMap.java
23159         (readObject): Removed.
23160         (writeObject): Removed.
23161
23162 2006-04-10  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
23163
23164         * javax/swing/tree/DefaultTreeSelectionModel.java
23165         (addSelectionPaths, setSelectionPaths): Call 
23166         insureUniqueness. (clone, setRowMapper): Implemented.
23167         * TreePath (path): Marked final.
23168
23169 2006-04-10  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
23170
23171         * javax/swing/tree/DefaultTreeSelectionModel.java:
23172         Documented and autoformatted. (insureUniqueness):
23173         Removed stub marking.
23174
23175 2006-04-09  David Gilbert  <david.gilbert@object-refinery.com>
23176
23177         * javax/swing/SizeSequence.java
23178         (sizes): Don't initialise here,
23179         (SizeSequence(int, int)): Initialise sizes field,
23180         (SizeSequence(int[])): Clone argument instead of calling setSizes(),
23181         (setSize): Do nothing when index is out of bounds,
23182         (getIndex): Implemented,
23183         (setSizes): Reimplemented,
23184         (getSizes): Likewise,
23185         (insertEntries): Likewise,
23186         (removeEntries): Likewise,
23187         plus added API docs all over.
23188
23189 2006-04-09  Audrius Meskauskas  <AudriusA@Bioinformatics.org
23190
23191         * gnu/CORBA/gnuRequest.java (submit): Do not read any response after
23192         one way message and retry after any IOException.
23193
23194 2006-04-09  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
23195
23196         * gnu/CORBA/CDR/EncapsulationStream.java (constructor):
23197         Set the byte order.
23198
23199 2006-04-09  Wolfgang Baer  <WBaer@gmx.de>
23200
23201         * org/omg/PortableServer/ServantLocatorPOA.java: 
23202         (preinvoke, postinvoke): Remove default implementation.
23203         * org/omg/PortableServer/ServantActivatorPOA.java: 
23204         (incarnate, etherealize): Remove default implementation.        
23205         * org/omg/PortableInterceptor/ObjectReferenceFactory.java: 
23206         Extends from ValueBase and not from ObjectReferenceFactoryOperations.
23207         (make_object): Moved method from ObjectReferenceFactoryOperations.
23208         * org/omg/PortableInterceptor/ObjectReferenceFactoryOperations.java: 
23209         Removed unspecified interface.  
23210         * org/omg/DynamicAny/_DynAnyStub.java:
23211         (_DynAnyStub(Delegate)): Removed constructor.
23212         * org/omg/DynamicAny/_DynArrayStub.java,
23213         * org/omg/DynamicAny/_DynAnyFactoryStub.java,
23214         * org/omg/DynamicAny/_DynEnumStub.java,
23215         * org/omg/DynamicAny/_DynFixedStub.java,
23216         * org/omg/DynamicAny/_DynSequenceStub.java,
23217         * org/omg/DynamicAny/_DynStructStub.java,
23218         * org/omg/DynamicAny/_DynUnionStub.java,
23219         * org/omg/DynamicAny/_DynValueStub.java: 
23220         Extend from ObjectImpl and not from _DynAnyStub.
23221         (type, next, destroy, copy, rewind, assign, component_count, 
23222         current_component, equal, from_any, get_any, get_boolean, get_char, 
23223         get_double, get_dyn_any, get_float, get_long, get_longlong, get_octet, 
23224         get_reference, get_short, get_string, get_typecode, get_ulong, 
23225         get_ulonglong, get_ushort, get_val, get_wchar, get_wstring, insert_any,
23226         insert_boolean, insert_char, insert_double, insert_dyn_any, insert_float,
23227         insert_long, insert_longlong, insert_octet, insert_reference, 
23228         insert_short, insert_string, insert_typecode, insert_ulong, 
23229         insert_ulonglong, insert_ushort, insert_val, insert_wchar, 
23230         insert_wstring, seek, to_any): New methods copied from _DynAnyStub.             
23231         * org/omg/CosNaming/_BindingIteratorStub.java:
23232         (_BindingIteratorStub(Delegate)): Made package private.
23233         * org/omg/CosNaming/_NamingContextExtStub.java:
23234         (_NamingContextExtStub(Delegate)): Made package private.
23235         * org/omg/CosNaming/_NamingContextStub.java:
23236         (_NamingContextStub(Delegate)): Made package private.
23237         (throw4, throw5): Likewise.
23238         * gnu/CORBA/NamingService/NameParser.java (resolve): 
23239         Adapt to package private constructor. Use _set_delegate instead.        
23240         * org/omg/CosNaming/NamingContextOperations.java: Do not extend IDLEntity.
23241         * org/omg/CORBA/ORB.java: 
23242         (create_recursive_sequence_tc): Made abstract.
23243         (get_default_context): Likewise.
23244         * gnu/CORBA/OrbRestricted.java: 
23245         (create_recursive_sequence_tc): New moved method.
23246         (get_default_context): Likewise.        
23247         * org/omg/CORBA/ParameterMode.java: 
23248         (PARAM_IN, PARAM_OUT, PARAM_INOUT): Made final. 
23249
23250 2006-04-09  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
23251
23252         * gnu/CORBA/GIOP/MessageHeader.java (write): 
23253         More informative exception.
23254         * gnu/CORBA/IorDelegate.java (release): Do not close the socket.
23255         * gnu/CORBA/SocketRepository.java (get_socket):
23256         Removed debugging code.
23257
23258 2006-04-09  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
23259
23260         * gnu/CORBA/gnuRequest.java (submit): Try to read the response for the
23261         one way message, but ignore if EOF was received.
23262         * gnu/CORBA/GIOP/MessageHeader.java (read): Set the minor code to
23263         Minor.EOF if the end of file is received instead of the header.
23264
23265 2006-04-09  Roman Kennke  <kennke@aicas.com>
23266
23267         * javax/swing/plaf/metal/MetalRootPaneUI.java
23268         (MetalTitlePane.IconifyAction): New inner class.
23269         (MetalTitlePane.MaximizeAction): New inner class.
23270         (MetalTitlePane.createActions): Create iconifyAction and
23271         maximizeAction.
23272         (MetalRootLayout.titlePane): New field.
23273         (MetalRootLayout.MetalRootLayout): Take titlePane parameter in
23274         constructor.
23275         (MetalRootLayout.preferredLayoutSize): Changed to not make
23276         assumptions about the actual component order.
23277         (MetalRootLayout.layoutContainer): Changed to not make
23278         assumptions about the actual component order.
23279         (installWindowDecorations): Pass the titlePane as parameter to
23280         the MetalRootLayout constructor.
23281         (uninstallWindowDecorations): Changed to not make
23282         assumptions about the actual component order.
23283
23284 2006-04-08  Roman Kennke  <kennke@aicas.com>
23285
23286         * javax/swing/plaf/metal/MetalRootPaneUI.java
23287         (MetalTitlePane.MouseHandler): New inner class to handle dragging
23288         of frames.
23289         (MetalTitlePane.installListeners): Don't register a focus listener
23290         on the window. This is a potential memory leak and must be
23291         implemented on a different way. Install mouse listener here.
23292         (installWindowDecorations): Fixed assertion condition. Always
23293         insert the window decoration at index#1 in the layered 
23294         pane.
23295
23296 2006-04-08  Roman Kennke  <kennke@aicas.com>
23297
23298         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
23299         (Java_gnu_java_awt_peer_gtk_GtkWindowPeer_nativeSetBoundsUnlocked):
23300         Only resize window if actual width or height value changes.
23301         Avoids nasty flicker when only setLocation() is beeing called
23302         on a window.
23303
23304 2006-04-08  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
23305
23306         * gnu/CORBA/GIOP/MessageHeader.java (read): Throw more informative
23307         exception if the magic sequence does not match.
23308
23309 2006-04-08  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
23310
23311         * gnu/CORBA/gnuRequest.java (p_invoke, submit): Do not try to read
23312         response for the one way messages.
23313
23314 2006-04-08  Roman Kennke  <kennke@aicas.com>
23315
23316         * javax/swing/MenuSelectionManager.java
23317         (processKeyEvent): Implemented stub method.
23318         * javax/swing/JMenu.java
23319         (processKeyEvent): Implemented stub method.
23320         * javax/swing/JMenu.java
23321         (processKeyEvent): Implemented stub method.
23322         (processMenuKeyEvent): Implemented stub method.
23323
23324 2006-04-08  Roman Kennke  <kennke@aicas.com>
23325
23326         * javax/swing/AbstractAction.java
23327         (readObject): Removed unneeded method.
23328         (writeObject): Removed unneeded method.
23329
23330 2006-04-08  Wolfgang Baer  <WBaer@gmx.de>
23331
23332         * javax/swing/plaf/synth/SynthPainter.java: 
23333         (paintSplitPaneDividerBorder): Removed.
23334
23335 2006-04-08  Wolfgang Baer  <WBaer@gmx.de>
23336
23337         * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java: 
23338         (CLOSE_CMD, ICONIFY_CMD, MAXIMIZE_CMD, MOVE_CMD, RESTORE_CMD, SIZE_CMD):
23339         No longer constants.
23340         (static_initializer): Added to initialize above fields.
23341         * javax/accessibility/AccessibleRelation.java (LABEL_FOR, LABELED_BY, 
23342         MEMBER_OF, CONTROLLER_FOR, CONTROLLED_BY): No longer constants.
23343         (static_initializer): Added to initialize above fields.
23344
23345 2006-04-08  Wolfgang Baer  <WBaer@gmx.de>
23346
23347         * java/awt/Dialog.java: Improved documentation all over.
23348         (Dialog(Frame)): If gc is null use the owners GraphicsConfiguration.
23349         (Dialog(Dialog)): Likewise.
23350
23351 2006-04-08  Mark Wielaard  <mark@klomp.org>
23352
23353         * java/util/jar/JarFile.java (provider): New static field.
23354         (verify, verifyHashes, EntryInputStream.<init>): Pass provider
23355         to `getInstance.'
23356
23357 2006-04-08  Mark Wielaard  <mark@klomp.org>
23358
23359         PR 27081
23360         * java/lang/StackTraceElement.java (toString): Don't add space
23361         between type and source indicator.
23362
23363 2006-04-07  Casey Marshall  <csm@gnu.org>
23364
23365         Fixes PR classpath/24464        
23366         * java/util/jar/JarFile.java (verify, verifyHashes,
23367         EntryInputStream.<init>): pass the Gnu provider directly to
23368         `getInstance.'
23369
23370 2006-04-08  Raif S. Naffah  <raif@swiftdsl.com.au>
23371
23372         PR classpath/27071
23373         * gnu/java/security/hash/Whirlpool.java: Updated documentation.
23374         (DIGEST0): Use version 3 test vector.
23375         (Sd): Removed.
23376         (S_box): New field: Version 3 S-box values.
23377         (<clinit>): Use Version 3 circulant matrix to construct lookup tables.
23378         (transform): Formating.
23379         (padBuffer): Likewise.
23380         (getResult): Likewise.
23381         (selfTest): Likewise.
23382
23383 2006-04-07  Tom Tromey  <tromey@redhat.com>
23384
23385         * java/util/InvalidPropertiesFormatException.java
23386         (serialVersionUID): New field.
23387         (readObject, writeObject): New methods.
23388         * java/util/Arrays.java (toString): Javadoc fixes.
23389         * java/net/URLConnection.java: Cleaned up imports.
23390         * java/lang/reflect/ParameterizedType.java: Javadoc fix.
23391         * java/lang/reflect/MalformedParameterizedTypeException.java
23392         (serialVersionUID): New field.
23393         * java/lang/reflect/GenericSignatureFormatError.java
23394         (serialVersionUID): New field.
23395         * java/lang/Class.java (Class): Javado fixes.
23396         (getComponentType): Likewise.
23397         (getGenericInterfaces): Likewise.
23398         (getTypeParameters): Likewise.
23399         * java/io/CharArrayWriter.java (append): Javadoc fixes.
23400         * java/lang/annotation/AnnotationFormatError.java (serialVersionUID):
23401         New field.
23402         * java/lang/TypeNotPresentException.java (serialVersionUID): New
23403         field.
23404         * java/lang/EnumConstantNotPresentException.java (serialVersionUID):
23405         New field.
23406
23407 2006-04-07  Wolfgang Baer  <WBaer@gmx.de>
23408
23409         * java/awt/Dialog.java 
23410         (AccessibleAWTDialog): Added api docs
23411         (AccessibleAWTDialog.getAccessibleStateSet):
23412          Renamed from getAccessibleState.
23413         * java/awt/Frame.java 
23414         (AccessibleAWTFrame): Added api docs
23415         (AccessibleAWTFrame.getAccessibleStateSet):
23416          Renamed from getAccessibleState.
23417
23418 2006-04-07  Wolfgang Baer  <WBaer@gmx.de>
23419
23420         * java/awt/Dialog.java: Reformatted.
23421
23422 2006-04-07  Lillian Angel  <langel@redhat.com>
23423
23424         * java/awt/Component.java
23425         (eventTypeEnabled): Added code for HierarchyEvent.HIERARCHY_CHANGED,
23426         HierarchyEvent.ANCESTOR_MOVED and HierarchyEvent.ANCESTOR_RESIZED.
23427
23428 2006-04-07  Tom Tromey  <tromey@redhat.com>
23429
23430         * java/beans/beancontext/BeanContextMembershipEvent.java
23431         (serialVersionUID): New field.
23432         * java/beans/beancontext/BeanContextServicesSupport.java
23433         (addBeanContextServicesListener): Synchronize.
23434         (addService): Implemented.
23435         (createBCSChild): Implemented.
23436         (BCSSChild): Added arguments.
23437         (fireServiceAdded): Implemented.
23438         (fireServiceRevoked): Implemented.
23439         (getCurrentServiceSelectors): Implemented.
23440         (hasService): Implemented.
23441         (removeBeanContextServicesListener): Implemented.
23442         (serviceAvailable): Implemented.
23443         (serviceRevoked): Implemented.
23444         * java/beans/beancontext/BeanContextSupport.java (BCSChild): Added
23445         arguments.
23446         (createBCSChild): Implemented.
23447         (BeanContextSupport): 
23448         (addBeanContextMembershipListener): Synchronize.
23449         (fireChildrenAdded): Implemented.
23450         (fireChildrenRemoved): Implemented.
23451         (BeanContextSupport): Use default locale.
23452         (isEmpty): Implemented.
23453         (isDesignTime): Implemented.
23454         (size): Implemented.
23455         (toArray): Synchronized.
23456         (toArray): Likewise.
23457         (iterator): Likewise.
23458         (BCSIterator): Implemented.
23459         (bcsChildren): Implemented.
23460         (validatePendingAdd): Implemented.
23461         (validatePendingRemove): Likewise.
23462         (childJustAddedHook): Implemented.
23463         (childJustRemovedHook): Likewise.
23464         (classEquals): Likewise.
23465         (toArray): Mark as stub.
23466         (setDesignTime): Implemented.
23467         (copyChildren): Implemented.
23468         (containsKey): Implemented.
23469         (contains): Likewise.
23470         (containsAll): Likewise.
23471         (getResource): Implemented.
23472         (getResourceAsStream): Likewise.
23473         (removeBeanContextMembershipListener): Likewise.
23474         * java/beans/beancontext/BeanContextServiceRevokedEvent.java
23475         (serialVersionUID): New field.
23476         * java/beans/beancontext/BeanContextServiceAvailableEvent.java
23477         (serialVersionUID): New field.
23478         * java/beans/beancontext/BeanContext.java (instantiateChild): Javadoc
23479         fix.
23480
23481 2006-04-06  Roman Kennke  <kennke@aicas.com>
23482
23483         PR 26937
23484         * javax/swing/MenuSelectionManager.java
23485         (setSelectedPath): Search one more item in the loop.
23486         
23487 2006-04-06  Tom Tromey  <tromey@redhat.com>
23488
23489         * java/awt/image/renderable/RenderableImageProducer.java
23490         (image, context, consumers): New fields.
23491         (RenderableImageProducer): Implemented.
23492         (setRenderContext): Likewise.
23493         (addConsumer): Likewise.
23494         (isConsumer): Likewise.
23495         (removeConsumer): Likewise.
23496         (startProduction): Likewise.
23497
23498 2006-04-06  Roman Kennke  <kennke@aicas.com>
23499
23500         * java/awt/Component.java
23501         (AccessibleAWTComponent.getBounds): Return the component
23502         bounds regardless of its showing state.
23503         (AccessibleAWTComponent.getLocation): Return the component
23504         location regardless of its showing state.
23505         (AccessibleAWTComponent.getSize): Return the component
23506         size regardless of its showing state.
23507
23508 2006-04-06  Roman Kennke  <kennke@aicas.com>
23509
23510         * javax/swing/JRootPane.java
23511         (getAccessibleContext): New method. Provides an accessibleContext
23512         for JRootPanes.
23513
23514 2006-04-06  Roman Kennke  <kennke@aicas.com>
23515
23516         * java/awt/Toolkit.java
23517         (initAccessibility): Use the 'gnu.classpath.home.url' property
23518         to determine the system confiuration directory.
23519         * java/awt/Component.java
23520         (dispatchEvent): Trigger Toolkit dispatching here.
23521         (dispatchEventImpl): Moved Toolkit dispatching to dispatchEvent,
23522         so it can't be overridden by subclasses and is performed in
23523         any case.
23524
23525 2006-04-06  Wolfgang Baer  <WBaer@gmx.de>
23526         
23527         * javax/naming/Binding.java: Added API docs.
23528         * javax/naming/NameClassPair.java: Added API docs.
23529         (fullName): New field.
23530         (setNameInNamespace): New 1.5 method.
23531         (getNameInNamespace): Likewise.
23532
23533 2006-04-06  Wolfgang Baer  <WBaer@gmx.de>
23534
23535         * javax/naming/CompositeName.java: 
23536         (readObject): New deserialization method.
23537         (writeObject): New serialization method.
23538
23539 2006-03-29  Nektarios K. Papadopoulos  <npapadop at inaccessnetworks.com>
23540
23541         * javax/security/auth/x500/X500Principal.java
23542         (readAttributeValue) Check for separator after quoted value was
23543         failing in all cases.
23544
23545 2006-04-06  Mark Wielaard  <mark@klomp.org>
23546
23547         * java/lang/Class.java (getClassLoader): Don't do security check
23548         when loader is null.
23549
23550 2006-04-06  Roman Kennke  <kennke@aicas.com>
23551
23552         * java/awt/Toolkit.java
23553         (getDefaultToolkit): Initialize accessibility after setting
23554         up the toolkit.
23555         (initAccessibility): New helper method to setup accessibility.
23556
23557 2006-04-06  Roman Kennke  <kennke@aicas.com>
23558
23559         * javax/swing/AbstractButton.java
23560         (AccessibleAbstractButton.getAccessibleIcon): Implemented stub.
23561         (AccessibleAbstractButton.getAccessibleRelationSet): Implemented
23562         stub.
23563         (AccessibleAbstractButton.getIndexAtPoint): Implemented stub.
23564         (AccessibleAbstractButton.getAccessibleIcon): Implemented stub.
23565         (AccessibleAbstractButton.getCharacterBounds): Implemented stub.
23566         (AccessibleAbstractButton.getCharCount): Implemented stub.
23567         (AccessibleAbstractButton.getCaretPosition): Implemented stub.
23568         (AccessibleAbstractButton.getCharacterAttribute): Implemented stub.
23569         (AccessibleAbstractButton.getSelectionStart): Implemented stub.
23570         (AccessibleAbstractButton.getSelectionEnd): Implemented stub.
23571         (AccessibleAbstractButton.getSelectedText): Implemented stub.
23572         (AccessibleAbstractButton.getTextRectangle): Removed unneeded
23573         private method.
23574
23575 2006-04-06  Roman Kennke  <kennke@aicas.com>
23576
23577         * java/awt/Component.java
23578         (AccessibleAWTComponent.getAccessibleStateSet): Don't handle opaque
23579         state here. This is only done in JComponent.
23580         * javax/swing/JComponent.java
23581         (AccessibleJComponent.getAccessibleStateSet): Handle opaque flag
23582         here.
23583         (getNextFocusableComponent): Implemented stub method.
23584         (grabFocus): Implemented stub method.
23585         (unregisterKeyboardAction): Implemented stub method.
23586         (setNextFocusableComponent): Implemented stub method.
23587         * javax/swing/CompatibilityFocusTraversalPolicy.java: New file.
23588         This is a helper class for providing compatibility with the older
23589         Swing focus API.
23590
23591 2006-04-06  Wolfgang Baer  <WBaer@gmx.de>
23592
23593         Fixes bug #26995
23594         * javax/naming/directory/BasicAttribute.java,
23595         * javax/naming/directory/BasicAttributes.java: 
23596         (readObject): New deserialization method.
23597         (writeObject): New serialization method.
23598
23599 2006-04-06  Wolfgang Baer  <WBaer@gmx.de>
23600
23601         * javax/xml/validation/SchemaFactory.java: Corrected since tag.
23602         (getErrorHandler): Made method abstract.
23603         (setErrorHanlder): Likewise.
23604         * gnu/xml/validation/relaxng/RELAXNGSchemaFactory.java
23605         (getErrorHandler): Implement abstract method from superclass.
23606         (setErrorHandler): Likewise.
23607         (errorHandler): New field.
23608         * gnu/xml/validation/xmlschema/XMLSchemaSchemaFactory.java:     
23609         (getErrorHandler): Implement abstract method from superclass.
23610         (setErrorHandler): Likewise.
23611         (errorHandler): New field.      
23612         * javax/xml/XMLConstants.java: Corrected since tag.
23613         (XMLConstants): Added private constructor.
23614         * javax/xml/datatype/Duration.java: Corrected since tag.
23615         (multiply): Made method abstract.
23616         * javax/xml/datatype/DatatypeConstants.java: Corrected since tag.
23617         (DatatypeConstants): Added private constructor.
23618         * javax/xml/xpath/XPathConstants.java: Corrected since tag.
23619         (XPathConstants): Added private constructor.
23620
23621 2006-04-05  Tom Tromey  <tromey@redhat.com>
23622
23623         * javax/security/auth/kerberos/ServicePermission.java: Now final.
23624
23625 2006-04-05  Tom Tromey  <tromey@redhat.com>
23626
23627         PR libgcj/26625:
23628         * lib/Makefile.am (compile-classes): Touch the output file.
23629
23630 2006-04-05  Roman Kennke  <kennke@aicas.com>
23631
23632         * javax/swing/AbstractButton.java
23633         (AccessibleAbstractButton.getAccessibleStateSet): Removed handling
23634         of the focused state. This is already done in AccessibleAWTComponent.
23635
23636 2006-04-05  Roman Kennke  <kennke@aicas.com>
23637
23638         * javax/swing/JComponent.java
23639         (accessibleContext): Fixed API doc for this field.
23640         (AccessibleJComponent.AccessibleFocusHandler): Fixed API docs.
23641         (AccessibleJComponent.AccessibleFocusHandler.focusGained):
23642         Implemented and added API docs.
23643         (AccessibleJComponent.AccessibleFocusHandler.focusLost):
23644         Implemented and added API docs.
23645         (AccessibleJComponent.AccessibleContainerHandler): Fixed API docs.
23646         (AccessibleJComponent.AccessibleContainerHandler.componentAdded):
23647         Implemented and added API docs.
23648         (AccessibleJComponent.AccessibleContainerHandler.componentRemoved):
23649         Implemented and added API docs.
23650         (AccessibleJComponent.accessibleContainerHandler): Added API docs.
23651         (AccessibleJComponent.accessibleFocusHandler): Added API docs.
23652         (AccessibleJComponent.addPropertyChangeListener): Added API docs.
23653         (AccessibleJComponent.removePropertyChangeListener): Added API docs.
23654         (AccessibleJComponent.getAccessibleStateSet): Simply return
23655         super here. Added comment about this.
23656
23657 2006-04-05  Roman Kennke  <kennke@aicas.com>
23658
23659         * javax/swing/JComponent.java
23660         (AccessibleJComponent.addPropertyChangeListener): Install
23661         ContainerHandler and FocusHandler here.
23662         (AccessibleJComponent.removePropertyChangeListener): Uninstall
23663         ContainerHandler and FocusHandler here.
23664         (AccessibleJComponent.getAccessibleChildrenCount): Replaced
23665         by super.getAccessibleChildrenCount().
23666         (AccessibleJComponent.getAccessibleChild): Replaced
23667         by super.getAccessibleChild().
23668         (AccessibleJComponent.getAccessibleStateSet): Implemented by
23669         adding OPAQUE to the supported states.
23670         (AccessibleJComponent.getAccessibleName): Added titled border
23671         and label fallbacks.
23672         (AccessibleJComponent.getAccessibleDescription): Added tooltip
23673         and label fallbacks.
23674         (AccessibleJComponent.getAccessibleRole): Removed TODO.
23675         (AccessibleJComponent.getAccessibleKeyBinding): Added comment
23676         explaining why return null seems correct here.
23677         * javax/swing/JLabel.java
23678         (LABEL_PROPERTY): New constant.
23679         (setLabelFor): Store label in labeled component's client properties
23680         for the AccessibleJComponent to read.
23681
23682 2006-04-05  Tom Tromey  <tromey@redhat.com>
23683
23684         * java/util/zip/ZipFile.java (available): Defer to super if
23685         entry's size is unknown.
23686
23687 2006-04-05  Tom Tromey  <tromey@redhat.com>
23688
23689         * java/net/MimeTypeMapper.java (MimeTypeMapper): Look for system
23690         property with mime.types name.
23691         * gnu/classpath/SystemProperties.java: Set
23692         gnu.classpath.mime.types.file if not already set.
23693         * java/net/URLConnection.java (defaultFactory): New field.
23694         (guessContentTypeFromStream): Mark as unimplemented.
23695         (getContentHandler): Updated with libgcj's implementation.
23696         * gnu/java/net/DefaultContentHandlerFactory.java: New file,
23697         from libgcj.
23698
23699 2006-04-05  Bryce McKinlay  <mckinlay@redhat.com>
23700
23701         PR classpath/27028
23702         PR classpath/24752
23703         * java/util/AbstractList.java (hasNext): Don't throw
23704         ConcurrentModificationException. Update Javadoc.
23705         (hasPrevious): Likewise.
23706         (nextIndex): Likewise.
23707         (previousIndex): Likewise.
23708         * java/util/HashMap.java (hasNext): Likewise.
23709         * java/util/Hashtable.java (hasNext): Likewise.
23710         * java/util/IdentityHashMap.java (hasNext): Likewise.
23711         * java/util/LinkedHashMap.java (hasNext): Likewise.
23712         * java/util/LinkedList.java (nextIndex): Likewise.
23713         (previousIndex): Likewise.
23714         (hasNext): Likewise.
23715         (hasPrevious): Likewise.
23716         * java/util/TreeMap.java (hasNext): Likewise.
23717         * java/util/WeakHashMap.java (hasNext): Likewise.
23718
23719 2006-04-05  Roman Kennke  <kennke@aicas.com>
23720
23721         * javax/swing/AbstractButton.java
23722         (AccessibleAbstractButton.getAccessibleStateSet): Implemented stub.
23723         (AccessibleAbstractButton.doAccessibleAction): Implemented stub.
23724         (AccessibleAbstractButton.getAccessibleAction): Implemented stub.
23725         (AccessibleAbstractButton.getAccessibleActionCount): Implemented stub.
23726         (AccessibleAbstractButton.getAccessibleActionDescription):
23727         Implemented stub.
23728         (AccessibleAbstractButton.getAccessibleText): Implemented stub.
23729         (AccessibleAbstractButton.getAccessibleAction): Implemented stub.
23730         (AccessibleAbstractButton.getCurrentAccessibleValue): Implemented stub.
23731         (AccessibleAbstractButton.setCurrentAccessibleValue): Implemented stub.
23732         (AccessibleAbstractButton.getMinimumAccessibleValue): Implemented stub.
23733         (AccessibleAbstractButton.getMaximumAccessibleValue): Implemented stub.
23734
23735 2006-04-05  Roman Kennke  <kennke@aicas.com>
23736
23737         * javax/swing/JComboBox.java
23738         (selectWithKeyChar): Implemented stubbed method.
23739
23740 2006-04-05  Roman Kennke  <kennke@aicas.com>
23741
23742         * javax/swing/LookAndFeel.java
23743         (installProperty): New method. Allows primitive typed properties
23744         to be handled like UIResources.
23745         * javax/swing/AbstractButton.java
23746         (clientBorderPaintedSet): New field.
23747         (clientRolloverEnabledSet): New field.
23748         (clientIconTextGapSet): New field.
23749         (clientContentAreaFilledSet): New field.
23750         (setRolloverEnabled): Set the client field to true.
23751         (setBorderPainted): Likewise.
23752         (setIconTextGap): Likewise.
23753         (setContentAreaFilled): Likewise.
23754         (setUIProperty): New helper method.
23755         * javax/swing/JComponent.java
23756         (clientOpaqueSet): New field.
23757         (clientAutoscrollsSet): New field.
23758         (setAutoscrolls): Set the client field to true.
23759         (setOpaque): Likewise.
23760         (setUIProperty): New helper method.
23761         * javax/swing/JDesktopPane.java
23762         (clientDragModeSet): New field.
23763         (setDragMode): Set the client field to true.
23764         (setUIProperty): New helper method.
23765         * javax/swing/JSplitPane.java
23766         (clientDividerSizeSet): New field.
23767         (clientOneTouchExpandableSet): New field.
23768         (setDividerSize): Set the client field to true.
23769         (setOneTouchExpandable): Likewise.
23770         (setUIProperty): New helper method.
23771         * javax/swing/JTable.java
23772         (clientRowHeightSet): New field.
23773         (setRowHeight): Set the client field to true.
23774         (setUIProperty): New helper method.
23775         * javax/swing/JTree.java
23776         (clientRowHeightSet): New field.
23777         (clientScrollsOnExpandSet): New field.
23778         (clientShowsRootHandlesSet): New field.
23779         (setRowHeight): Set the client field to true.
23780         (setShowsRootHandles): Likewise.
23781         (setScrollsOnExpand): Likewise.
23782         (setUIProperty): New helper method.
23783
23784 2006-04-05  Roman Kennke  <kennke@aicas.com>
23785
23786         * java/awt/Component.java
23787         (getFont): Don't request the font from the peer's graphics. The
23788         graphics should instead get the font from the Component, which might
23789         result in a loop.
23790         (getFocusCycleAncestor): Don't special case Window.
23791         (nextFocus): Moved implementation from the DefaultKeyboardFocusManager
23792         to here. Correctly determine the focus cycle root.
23793         (transferFocusBackward): Likewise.
23794         (transferFocusUpCycle): Likewise.
23795         * java/awt/Container.java
23796         (transferFocusDownCycle): Moved implementation from
23797         DefaultKeyboardFocusManager to here.
23798         * java/awt/DefaultKeyboardFocusManager.java
23799         (focusPreviousComponent): Moved implementation to
23800         Component.transferFocusBackward().
23801         (focusNextComponent): Moved implementation to
23802         Component.nextFocus().
23803         (upFocusCycle): Moved implementation to
23804         Component.transferFocusUpCycle().
23805         (downFocusCycle): Moved implementation to
23806         Container.transferFocusDownCycle().
23807
23808 2006-04-05  David Gilbert  <david.gilbert@object-refinery.com>
23809
23810         * java/awt/image/ComponentSampleModel.java
23811         (equals): Implemented,
23812         (hashCode): Likewise.
23813
23814 2006-04-05  Jeroen Frijters  <jeroen@frijters.net>
23815
23816         * java/lang/Class.java
23817         (cast): New method.
23818
23819 2006-04-05  David Gilbert  <david.gilbert@object-refinery.com>
23820
23821         * java/awt/image/ComponentSampleModel.java
23822         (getBankIndices): Return a copy of the array, not a reference to the
23823         original,
23824         (getBandOffsets): Likewise.
23825
23826 2006-04-05  David Gilbert  <david.gilbert@object-refinery.com>
23827
23828         * java/awt/image/ComponentSampleModel.java: Added API docs all over.
23829
23830 2006-04-04  Tom Tromey  <tromey@redhat.com>
23831
23832         * java/net/MimeTypeMapper.java (MimeTypeMapper): Fixed indices.
23833
23834 2006-04-04  Tom Tromey  <tromey@redhat.com>
23835
23836         * java/net/MimeTypeMapper.java (mime_types): No longer static.
23837         (MimeTypeMapper): Initialize.
23838         (fillFromFile): New method.
23839         (main): New method.
23840         (mime_strings): Updated.
23841
23842 2006-04-04  Tom Tromey  <tromey@redhat.com>
23843
23844         * lib/gen-classlist.sh.in: Correct handle generated files.
23845
23846 2006-04-04  Ito Kazumitsu  <kaz@maczuka.gcd.org>
23847
23848         * gnu/regexp/CharIndexed.java(setAnchor): New method.
23849         * gnu/regexp/CharIndexedInputStream.java(setAnchor): New method.
23850         * gnu/regexp/CharIndexedCharSequence.java: New file.
23851         * gnu/regexp/CharIndexedCharArray.java: Rewritten as an extention of
23852         gnu.regexp.CharIndexedCharSequence.
23853         * gnu/regexp/CharIndexedString.java: Likewise.
23854         * gnu/regexp/CharIndexedStringBuffer.java: Likewise.
23855         * gnu/regexp/RE.java(makeCharIndexed): Make a new CharIndexed
23856         using CharIndexedCharSequence. Use setAnchor when the input
23857         object is already a CharIndexed.
23858         * java/util/regex/Matcher.java(inputCharIndexed): New field
23859         to be used as a parameter of the RE#getMatch.
23860
23861 2006-04-04  David Gilbert  <david.gilbert@object-refinery.com>
23862
23863         * java/awt/image/SampleModel.java: Reformatted.
23864
23865 2006-04-04  David Gilbert  <david.gilbert@object-refinery.com>
23866
23867         * java/awt/image/ComponentSampleModel.java
23868         (ComponentSampleModel(int, int, int, int, int[])): Added API 
23869         documentation,
23870         (ComponentSampleModel(int, int, int, int, int[], int[]): Throw 
23871         IllegalArgumentException for DataBuffer.TYPE_UNDEFINED, take copies
23872         of the bandOffsets and bankIndices arguments, added API documentation,
23873         * java/awt/image/SampleModel.java
23874         (SampleModel(int, int, int, int): Throw IllegalArgumentException for
23875         unrecognised dataTypes, w * h exceeds Integer.MAX_VALUE, and numBands
23876         less than or equal to zero, added API documentation.
23877
23878 2006-04-04  Lillian Angel  <langel@redhat.com>
23879
23880         * java/util/zip/ZipFile.java
23881         (getInputStream): Fixed to return size of ZipEntry
23882         minus the total bytes read. This guarantees that the 
23883         right value is returned even if some bytes have already
23884         been read.
23885
23886 2006-04-04  Thomas Fitzsimmons  <fitzsim@redhat.com>
23887
23888         * javax/imageio/plugins/jpeg/JPEGImageWriteParam.java (messages):
23889         Remove static modifier.
23890
23891 2006-04-04  David Gilbert  <david.gilbert@object-refinery.com>
23892
23893         * java/awt/image/ComponentSampleModel.java: Reformatted.
23894
23895 2006-04-03  Thomas Fitzsimmons  <fitzsim@redhat.com>
23896
23897         * javax/imageio/plugins/jpeg/JPEGImageWriteParam.java: New file.
23898         * javax/imageio/plugins/jpeg/JPEGImageReadParam.java: Add
23899         retrieval instructions to javadoc header.
23900         * javax/imageio/ImageWriteParam.java: Fix javadoc for
23901         compressionType field.
23902         * lib/Makefile.am (propertydirs): Add javax directory.
23903         (propertyfiles): Likewise.
23904         * resource/javax/imageio/plugins/jpeg/MessagesBundle.properties:
23905         New file.
23906
23907 2006-04-03  Tom Tromey  <tromey@redhat.com>
23908
23909         PR classpath/26971:
23910         * javax/naming/directory/BasicAttribute.java: Added missing @since.
23911         (BasicAttributeEnumeration.where): Initialize to 0.
23912         (BasicAttributeEnumeration.nextElement): Post-increment 'where'.
23913
23914 2006-04-03  Lillian Angel  <langel@redhat.com>
23915
23916         PR classpath/24596 and PR classpath/26930
23917         * java/util/zip/ZipFile.java
23918         (getInputStream): Override available function for 
23919         InflaterInputStream instance.
23920
23921 2006-04-03  Thomas Fitzsimmons  <fitzsim@redhat.com>
23922
23923         * javax/imageio/plugins/jpeg/JPEGImageReadParam.java: New file.
23924
23925 2006-04-03  Tom Tromey  <tromey@redhat.com>
23926
23927         * javax/security/auth/kerberos/ServicePermission.java: New file.
23928         * javax/security/auth/kerberos/DelegationPermission.java: New file.
23929         * javax/security/auth/kerberos/KerberosKey.java: New file.
23930         * javax/security/auth/kerberos/KeyImpl.java: New file.
23931         * javax/security/auth/kerberos/KerberosTicket.java: New file.
23932         * javax/security/auth/kerberos/KerberosPrincipal.java: New file.
23933
23934 2006-04-03  Sven de Marothy  <sven@physto.se>
23935
23936         * gnu/java/awt/peer/gtk/GtkClipboard.java: Add support for
23937         non-GtkImage images.
23938
23939 2006-04-03  Mark Wielaard  <mark@klomp.org>
23940
23941         * lib/gen-classlist.sh.in: Use classes.tmp, not classes.2
23942         as temporary file name.
23943
23944 2006-04-03  Dalibor Topic  <robilad@kaffe.org>
23945
23946         * INSTALL: Documented --with-glibj-zip option.
23947
23948 2006-04-03  Dalibor Topic  <robilad@kaffe.org>
23949
23950         Fixed all pscan warnings.
23951
23952         * native/jni/classpath/jcl.c (JCL_ThrowException),
23953         native/jni/classpath/jcl.h (DBG),
23954         native/target/generic/target_generic.h (TARGET_NATIVE_LAST_ERROR_STRING_FORMAT),
23955         native/target/generic/target_generic_misc.h (TARGET_NATIVE_MISC_FORMAT_STRING0):
23956         Use "%s" format in fprintf and snprintf explicitely when printing a single 
23957         string to prevent format string exploits.
23958         
23959         * native/jni/java-net/javanet.h (DBG): Removed duplicate
23960         definition. Included jcl.h instead.
23961  
23962 2006-04-03  Raif S. Naffah  <raif@swiftdsl.com.au>
23963
23964         * tools/gnu/classpath/tools/jarsigner/Main.java: Removed unused imports.
23965         (provider): Made it protected.
23966         (providerInstalled): New field.
23967         (Main): Made it a 0-arguments constructor.
23968         Removed throws clasue.
23969         (main): Removed throws clause.
23970         Call processArgs(args) after constructing instance.
23971         Call teardown() before existing.
23972         (processArgs): Added javadoc.
23973         Reduced to throws Exception.
23974         (start): Likewise.
23975         (teardown): New method.
23976         (setupCommonParams): Added javadoc.
23977         Install designated provider if not already installed.
23978         (installNewProvider): New method.
23979         (setupSigningParams): Added javadoc.
23980         Instantiate the KeyStore using type only.
23981         * tools/gnu/classpath/tools/jarsigner/JarSigner.java:
23982         Removed unused imports.
23983         (start): Reduced to throws Exception.
23984         * tools/gnu/classpath/tools/jarsigner/JarVerifier.java (start): Likewise.
23985         * tools/gnu/classpath/tools/jarsigner/HashUtils.java:
23986         Re-organized imports.
23987         * gnu/java/security/key/KeyPairGeneratorFactory.java (getInstance):
23988         Test ignoring case.
23989         (getNames): Add "dsa" as an algorithm provided by this Factory.
23990         (makeInstance): Construct IllegalArgumentException with 2 arguments.
23991
23992 2006-04-03  Roman Kennke  <kennke@aicas.com>
23993
23994         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
23995         (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getGlyphVector):
23996         Replaced g_free() with pango_item_free() to avoid problems
23997         with the allocator.
23998
23999 2006-04-03  Rafael H. Schloming  <rafaels@redhat.com>
24000
24001         Fixes bug #26668
24002         * java/util/logging/Level.java (parse): Document.
24003         * java/util/logging/LogManager.java (rootLogger): Removed.
24004         (LogManager): Just set loggers to new HashMap.
24005         (getLogManager): Make synchronized. Create and init LogManager if it
24006         doesn't exist yet.
24007         (static): Removed block.
24008         (MANAGER_PROPERTY): New private final string.
24009         (makeLogManager): Use new property string, move warning to
24010         createInstance() method.
24011         (CONFIG_PROPERTY): New private final string.
24012         (initLogManager): New method.
24013         (addLogger): Use Logger.root, not rootLogger.
24014         (findAncestor): Likewise.
24015         (readConfiguration): Move warning to createInstance() method.
24016         Add handlers directly to Logger.root. Warn about bad level values.
24017         (getClassProperty): Use new locateClass() method.
24018         (getInstanceProperty): Only catch specific newInstance Errors.
24019         (createInstance): Make private and takes a string to use in warning
24020         messages. Use new locateClass() method and generate appropriate
24021         warning message.
24022         (warn): New methods.
24023         (locateClass): Locates a class through the context class loader and
24024         system class loader as backup.
24025         * java/util/logging/Logger.java (root): New static final field.
24026         (Logger): Set parent to root.
24027         (setParent): Directly check root field.
24028
24029 2006-04-02  Andrew John Hughes  <gnu_andrew@member.fsf.org>
24030
24031         * java/util/Collections.java:
24032         (binarySearch(List, T)): Fixed signature.
24033         (unmodifiableList(List)): Likewise.
24034         (UnmodifiableList(List)): Fixed constructor.
24035         (UnmodifiableRandomAccessList(List)): Likewise.
24036         (unmodifiableMap(Map)): Fixed signature.
24037         (UnmodifiableMap(Map)): Fixed constructor.
24038         (unmodifiableSortedMap(Map)): Fixed signature.
24039         (UnmodifiableSortedMap(Map)): Fixed constructor.
24040         
24041 2006-04-02  Andrew John Hughes  <gnu_andrew@member.fsf.org>
24042
24043         * java/io/ObjectOutputStream.java:
24044         (writeObject(Object)): Added enum support.
24045         (writeClassDescriptor(ObjectStreamClass)): Likewise.
24046         * java/io/ObjectStreamClass.java:
24047         (isEnum()): New package-private method.
24048         (setFlags(Class)): Added enum support.
24049         * java/io/ObjectStreamConstants.java:
24050         (SC_ENUM): Added.
24051         
24052 2006-04-02  Robert Schuster  <robertschuster@fsfe.org>
24053
24054         * javax/swing/text/Segment.java:
24055         (setPosition): Make exception message more verbose.
24056         * javax/swing/text/WrappedPlainView.java:
24057         (insertUpdate): Removed unneeded repaint call.
24058         (changeUpdate): Dito.
24059         (removeUpdate): Dito.
24060         (WrappedLine.determineNumLines): Do not return numLines, break
24061         from loop if no new break point has been calculated.
24062         (WrappedLine.updateDamage): Rewritten.
24063         (WrappedLine.insertUpdate): Removed unneeded update code.
24064         (WrappedLine.removeUpdate): Removed unneeded update code, added
24065         comment.        
24066
24067 2006-04-02  Dalibor Topic  <robilad@kaffe.org>
24068
24069         * configure.ac (with-glibj-zip): Added new option.
24070
24071         * examples/Makefile.am,
24072         lib/Makefile.am,
24073         tools/Makefile.am: Adapted build classpath to use glibj.zip,
24074         in addition to classes in lib directory.
24075
24076 2006-04-02  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
24077
24078         * tools/gnu/classpath/tools/giop/GRMIC.java,
24079         tools/gnu/classpath/tools/giop/IorParser.java,
24080         tools/gnu/classpath/tools/giop/grmic/CompilationError.java,
24081         tools/gnu/classpath/tools/giop/grmic/Generator.java,
24082         tools/gnu/classpath/tools/giop/grmic/GiopIo.java,
24083         tools/gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java,
24084         tools/gnu/classpath/tools/giop/grmic/HashFinder.java,
24085         tools/gnu/classpath/tools/giop/grmic/MethodGenerator.java,
24086         tools/gnu/classpath/tools/rmi/RMIC.java,
24087         tools/gnu/classpath/tools/rmi/rmic/RmiMethodGenerator.java,
24088         tools/gnu/classpath/tools/rmi/rmic/RmicCompiler.java,
24089         tools/gnu/classpath/tools/rmi/rmic/WrapUnWrapper.java: Removed
24090         linking exception from the licensing header.
24091         * tools/gnu/classpath/tools/rmi/rmid/ActivationSystemImpl_Stub.java:
24092         Added licensing header.
24093
24094 2006-04-02  Mark Wielaard  <mark@klomp.org>
24095
24096         * tools/Makefile.am (bin_SCRIPTS): Renamed to jarsigner.sh.
24097         (jarsigner): Removed.
24098
24099 2006-04-02  Dalibor Topic  <robilad@kaffe.org>
24100
24101         * configure.ac: don't check for isnan function.
24102         * native/fdlibm/fdlibm.h: Always use the isnan macro.
24103
24104 2006-04-02  Raif S. Naffah  <raif@swiftdsl.com.au>
24105
24106         * configure.ac: Added tools/jarsigner.sh to AC_CONFIG_FILES.
24107         * tools/Makefile.am: Generate jarsigner shell script.
24108         * tools/jarsigner.sh.in: New template.
24109         * tools/.cvsignore: Added jarsigner.sh.
24110
24111 2006-04-02  Raif S. Naffah  <raif@swiftdsl.com.au>
24112
24113         * tools/gnu/classpath/tools/jarsigner/HashUtils.java: Use GPL.
24114         * tools/gnu/classpath/tools/jarsigner/SFHelper.java: Likewise.
24115         * tools/gnu/classpath/tools/jarsigner/JarVerifier.java: Likewise.
24116         * tools/gnu/classpath/tools/jarsigner/JarSigner.java: Likewise.
24117         * tools/gnu/classpath/tools/jarsigner/Main.java: Likewise.
24118         Re-organised imports.
24119
24120 2006-04-01  Bernhard Rosenkraenzer  <bero@arklinux.org>
24121
24122         PR classpath/25924:
24123         * java/awt/image/DirectColorModel.java (extractAndNormalizeSample):
24124         Handle case where alpha==0.
24125
24126 2006-04-02  Robert Schuster  <robertschuster@fsfe.org>
24127
24128         PR #26676
24129         * javax/swing/text/Utilities.java:
24130         (getTabbedTextOffset): Added check to decrement pos not below zero,
24131         changed '>' comparison to '>='.
24132         * javax/swing/text/WrappedPlainView.java:
24133         (lineHeight): New field.
24134         (calculateBreakPosition): Throw InternalError in catch block, removed
24135         unneeded brackets, use specific version of
24136         Utilities.getTabbedTextOffset.
24137         (paint): Set various properties neccessary for drawing.
24138         (WrappedLine.paint): Removed code to set field of outer class.
24139         (WrappedLine.modelToView): Removed unneeded expression from
24140         if-statement.
24141         (WrappedLine.viewToModel): Initialize end with endOffset - 1, removed
24142         -1 from return statement, copy only a subset into the Segment, removed
24143         special handling of mark value - just return it, simplified
24144         incrementation of currLineStart.
24145         (WrappedLine.insertUpdate): Recalculate numLines, report preference
24146         change to parent view.
24147         (WrappedLine.removeUpdate): Dito.
24148
24149 2006-04-02  Robert Schuster  <robertschuster@fsfe.org>
24150
24151         * javax/swing/text/Segment.java:
24152         (toString): Return empty string when array is null.
24153
24154 2006-04-02  Robert Schuster  <robertschuster@fsfe.org>
24155
24156         * javax/swing/plaf/basic/BasicTextUI.java:
24157         (damageRange): Use SwingUtilities.computeUnion to avoid
24158         unneccessary Rectangle instantiation.
24159
24160 2006-04-01  Tom Tromey  <tromey@redhat.com>
24161
24162         * java/security/cert/Certificate.java (serialVersionUID): Fixed.
24163
24164 2006-04-01  Robert Schuster  <robertschuster@fsfe.org>
24165
24166         * javax/swing/text/CompositeView.java: Fixed copyright header.
24167         * javax/swing/text/BoxView.java: Fixed copyright header.
24168         * javax/swing/text/WrappedPlainView.java: Fixed copyright header.
24169         * javax/swing/text/Utilities.java: Fixed copyright header.
24170
24171 2006-04-01  Robert Schuster  <robertschuster@fsfe.org>
24172
24173         * javax/swing/text/CompositeView.java:
24174         (modelToView): Throw BadLocationException when no child
24175         view can be found, restructed to throw exception as early
24176         as possible.
24177         (viewToModel): Use mutable allocation as argument for viewToModel
24178         call on child view.
24179         * javax/swing/text/BoxView.java:
24180         (getViewAtPoint): Call setBounds() r before method returns with
24181         suitable child view.
24182         * javax/swing/text/Utilities.java:
24183         (getPositionBelow): Added try-catch-block around modelToView call,
24184         added method return when BadLocationException was thrown.
24185         * javax/swing/text/WrappedPlainView.java:
24186         (WrappedLine.viewToModel): Changed '<=' to '<' in if-expression,
24187         added note about meaning of rect.x and rect.width, removed unneeded
24188         checks, added code to not return the last possible document offset.
24189
24190 2006-04-01  Robert Schuster  <robertschuster@fsfe.org>
24191
24192         * javax/swing/text/WrappedPlainView.java:
24193         (WrappedLine.viewToModel): Change < to <= in if-statement,
24194         removed addition of currLineStart to return value.
24195         * javax/swing/text/BoxView.java:
24196         (getViewAtPoint): Use copy instead of r for method call
24197         which modifies the second argument.
24198
24199 2006-04-01  Mark Wielaard  <mark@klomp.org>
24200
24201         Fixes PR26973
24202         * java/util/jar/Attributes.java: Fully qualify java.util.Map.
24203
24204 2006-03-31  Tom Tromey  <tromey@redhat.com>
24205
24206         * lib/split-for-gcj.sh: Updated for multi-field format.
24207         * lib/Makefile.am (CLEANFILES): Added classes.2.
24208         * lib/gen-classlist.sh.in (GCJ): Removed.  Create classes.1 and
24209         classes.2 using multiple fields.
24210
24211 2006-03-31  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
24212
24213         * javax/swing/JTable.java (columnSelectionChanged):
24214         Removed print statement.
24215         * javax/swing/DefaultListSelectionModel.java
24216         (addSelectionInterval, removeSelectionInterval):
24217         Fire the difference between selection. (setLeadSelectionIndex):
24218         Fire the difference and mark current and previous lead
24219         selection indexes for repaint.
24220
24221 2006-03-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
24222
24223         * javax/imageio/plugins/jpeg/JPEGHuffmanTable.java: Eliminate
24224         unnecessary copying.
24225         * javax/imageio/plugins/jpeg/JPEGQTable.java: Likewise.
24226
24227 2006-03-31  Lillian Angel  <langel@redhat.com>
24228
24229         * java/awt/Component.java
24230         (translateEvent): oldKey should be the value of the
24231         key char.
24232
24233 2006-03-31  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
24234
24235         * javax/swing/JTable.java (columnSelectionChanged):
24236         Treat second repaint parameter as width.
24237
24238 2006-03-31  Lillian Angel  <langel@redhat.com>
24239         
24240         PR classpath/26924
24241         * gnu/java/awt/peer/gtk/GtkCanvasPeer.java
24242         (realize): New native function.
24243         * include/gnu_java_awt_peer_gtk_GtkCanvasPeer.h:
24244         Added new function declaration.
24245         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c
24246         (realize): New function.
24247
24248 2006-03-31  Robert Schuster  <robertschuster@fsfe.org>
24249         
24250         * javax/swing/text/GapContent.java:
24251         (replace): Move all Position instances from gap's end to
24252         it's start before increasing the gap start.
24253         * javax/swing/plaf/basic/BasicTextAreaUI.java:
24254         (propertyChanged): Update the view only instead of
24255         indicating a document change.
24256
24257 2006-03-31  Roman Kennke  <kennke@aicas.com>
24258
24259         * javax/swing/JTextField.java
24260         (fireActionPerformed): Put the textfields text in the action
24261         instead of the action name.
24262
24263 2006-04-01  Raif S. Naffah  <raif@swiftdsl.com.au>
24264
24265         * tools/gnu/classpath/tools/jarsigner/Main.java (setupCommonParams):
24266         Check for null jar-file argument.
24267         (setupSigningParams): Check for null alias argument.
24268
24269 2006-03-31  Roman Kennke  <kennke@aicas.com>
24270
24271         * javax/swing/JComponent.java
24272         (paintChildren): Split up in two cases, depending on the
24273         optimizedDrawingEnabled flag.
24274         (paintChildrenWithOverlap): New method. Paints children when
24275         not optimizedDrawingEnabled. This implements better painting
24276         algorithm for overlapping components, so that the painted
24277         regions are minimized.
24278         (paintChildrenOptimized): New method. Paints children when
24279         when optimizedDrawingEnabled. This implements a painting
24280         algorithm that is optimized for the case when all children
24281         are guaranteed to be tiled.
24282
24283 2006-03-31  Raif S. Naffah  <raif@swiftdsl.com.au>
24284
24285         * tools/gnu/classpath/tools/jarsigner/SFHelper.java (updateEntry): Use
24286         Attributes.putValue(String,String).
24287         (finishSigning): Likewise.
24288         * gnu/java/util/jar/JarUtils.java (MANIFEST_VERSION): New constant.
24289         (SIGNATURE_VERSION): Likewise.
24290         (readSFManifest): Use local string constant.
24291         (readMainSection): Likewise.
24292         (readVersionInfo): Likewise.
24293         * java/util/jar/Attributes.java (MANIFEST_VERSION):
24294         Redefined using JarUtils constant.
24295         (SIGNATURE_VERSION): Likewise.
24296         (putValue(Name,String)): Made it private.
24297
24298 2006-03-31  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
24299
24300         * javax/swing/DefaultListSelectionModel.java (fireDifference):
24301         New method. (clearSelection): Rewritten. (setSelectionInterval):
24302         Fire the difference between current and new selection.
24303         * javax/swing/JTable.java (columnSelectionChanged, valueChanged):
24304         Only repaint the region, where selection has been changed.
24305         * javax/swing/plaf/basic/BasicTableUI.java 
24306         (TableAction.actionPerformed): Do not change the column selection
24307         when only row selection change is wanted (and in reverse) and 
24308         do not call the repaint() here.
24309
24310 2006-03-31  David Gilbert  <david.gilbert@object-refinery.com>
24311
24312         Fixes bug #26951
24313         * javax/swing/DefaultComboBoxModel.java
24314         (DefaultComboBoxModel(Vector)): Call getSize() instead of 
24315         vector.size(),
24316         (addElement): Call list.addElement() rather than list.add(), and only
24317         update selected item if it is currently null,
24318         (removeElementAt): Update selected item, then remove the element.
24319
24320 2006-03-31  David Gilbert  <david.gilbert@object-refinery.com>
24321
24322         Fixes bug #26955
24323         * java/awt/geom/Point2D.java
24324         (distanceSq(double, double)): Fixed order of arguments,
24325         (distanceSq(Point2D)): Likewise,
24326         (distance(double, double)): Likewise,
24327         (distance(Point2D)): Likewise.
24328
24329 2006-03-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
24330
24331         * javax/imageio/plugins/jpeg/JPEGQTable.java: New file.
24332         * javax/imageio/plugins/jpeg/JPEGHuffmanTable.java
24333         (ACChrominanceLengths, ACChrominanceValues, ACLuminanceLengths,
24334         ACLuminanceValues, DCChrominanceLengths, DCChrominanceValues,
24335         DCLuminanceLengths, DCLuminanceValues): Remove fields.
24336
24337 2006-03-30  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
24338
24339         * javax.swing.JTable (constructor): Initialize column
24340         model column margin and table row margin before setting the
24341         table column model. (initialiseLocalVars): Do not call 
24342         setIntercellSpacing.
24343
24344 2006-03-30  Chris Burdess  <dog@gnu.org>
24345
24346         * javax/xml/datatype/DatatypeFactory.java (newDurationDayTime): Fix
24347           method signature.
24348         * javax/xml/validation/SchemaFactoryLoader.java: New file.
24349
24350 2006-03-30  Mark Wielaard  <mark@klomp.org>
24351
24352         PR 26848
24353         * java/awt/Window.java (dispatchEventImpl): On ComponentEvents
24354         adjust bounds. On resize invalidate and validate container.
24355         Always pass on ComponentEvents to Container super class.
24356         * gnu/java/awt/peer/gtk/GtkFramePeer.java (setBounds): Adjust for
24357         menuBar and pass to GtkWindowPeer super class.
24358         (postConfigureEvent): Adjust menu bar width. Adjust y and height
24359         bounds and pass to GtkWindowPeer super class.
24360         * gnu/java/awt/peer/gtk/GtkWindowPeer.java (x, y, width, height):
24361         New fields for local bounds.
24362         (getX, getY): New methods.
24363         (getWidth): Don't call into awtComponent.
24364         (getHeight): Likewise.
24365         (create): Cache local bounds.
24366         (setLocation): Documented, made protected and just call
24367         nativeSetLocation.
24368         (setLocationUnlocked): Removed unused method.
24369         (setBoundsUnlocked): Likewise.
24370         (setBounds): Check whether bounds actually changed and cache local
24371         bounds.
24372         (setSize): Documented and made protected.
24373         (setResizable): Documented and cache local bounds.
24374         (postConfigureEvent): Update local bounds. Don't call awtComponent
24375         directly but post ComponentEvents.
24376         (show): Cache local bounds.
24377         (getBounds): Override to return cached bounds.
24378
24379 2006-03-30  Lillian Angel  <langel@redhat.com>
24380
24381         * gnu/java/awt/peer/gtk/GdkGraphics.java
24382         (drawImage): Added check to prevent NPE.
24383         (drawImage): Likewise.
24384         (drawImage): Likewise.
24385         * java/awt/Choice.java
24386         (dispatchEventImpl): New function. selectedIndex was
24387         not being updated properly otherwise.
24388
24389 2006-03-30  Roman Kennke  <kennke@aicas.com>
24390
24391         * javax/swing/JTabbedPane.java
24392         (removeTabAt): Removed debug code.
24393
24394 2006-03-30  Roman Kennke  <kennke@aicas.com>
24395
24396         PR 26045
24397         * javax/swing/plaf/basic/BasicTextUI.java
24398         (installKeyboardActions): Simply call getKeymap() and install this.
24399         (createKeymap): Reimplemented to fetch a keymap from the UIManager.
24400
24401 2006-03-30  Roman Kennke  <kennke@aicas.com>
24402
24403         * javax/swing/JTabbedPane.java
24404         (removeTabAt): Adjust selection correctly when removing a tab
24405         before the selected tab. Also remove the component from the
24406         container, not only the tab object. Repaint and revalidate the
24407         component after the removal.
24408         (removeAll): Set selection to -1 before removing the tabs.
24409
24410 2006-03-29  Andrew John Hughes  <gnu_andrew@member.fsf.org>
24411
24412         * java/io/ObjectInputStream.java:
24413         (parseContent(byte)): Added enum support.
24414         * java/io/ObjectStreamConstants.java:
24415         (TC_ENUM): Added.
24416         (TC_MAX): Changed to new maximum, TC_ENUM.
24417         
24418 2006-03-29  Lillian Angel  <langel@redhat.com>
24419
24420         Partial fix for bug #26929
24421         * gnu/java/awt/peer/gtk/GtkPanelPeer.java
24422         (updateComponent): Removed. We want to clear the panel
24423         before painting.
24424         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
24425         (Java_gnu_java_awt_peer_gtk_GdkGraphics_clearRect): Fixed typo.
24426         Should set the background to the saved background color.
24427
24428 2006-03-29  Mark Wielaard  <mark@klomp.org>
24429
24430         Partial fix for bug #26848 (pack).
24431         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (setVisible):
24432         Always show instances of Window.
24433
24434 2006-03-29  David Gilbert  <david.gilbert@object-refinery.com>
24435
24436         * javax/swing/JSlider.java
24437         (setPaintLabels): Only create standard labels if labelTable is null,
24438         * javax/swing/plaf/basic/BasicSliderUI.java
24439         (PropertyChangeHandler.propertyChange): Recalculate geometry for 
24440         "paintTicks" property change,
24441         (calculateThumbSize): Updated API docs,
24442         (calculateContentRect): Likewise,
24443         (calculateTrackBuffer): Take into account the lowest and highest 
24444         labels when calculating buffer space,
24445         (calculateTrackRect): Include labels, if visible, in the calculation of
24446         the trackRect position,
24447         (calculateTickRect): Height is zero if ticks are not painted,
24448         (calculateLabelRect): Use max dimensions of actual labels,
24449         (getWidthOfHighValueLabel): Use preferred size,
24450         (getWidthOfLowValueLabel): Likewise,
24451         (getHeightOfHighValueLabel): Likewise,
24452         (getHeightOfLowValueLabel): Likewise,
24453         (drawInverted): Just return slider setting,
24454         (getHighestValueLabel): Updated API docs,
24455         (paintTicks): Removed redundant (and buggy) code, replaced with calls 
24456         to xPositionForValue() and yPositionForValue(),
24457         (paintHorizontalLabel): Removed full qualification of class name,
24458         (paintVerticalLabel): Likewise,
24459         (xPositionForValue): Reimplemented,
24460         (yPositionForValue): Reimplemented,
24461         * javax/swing/plaf/metal/MetalSliderUI.java
24462         (paintTrack): Made track one pixel longer.
24463
24464 2006-03-29  Tom Tromey  <tromey@redhat.com>
24465
24466         PR gcc/26901:
24467         * tools/Makefile.am (JCOMPILER): Added encoding options.
24468         * examples/Makefile.am (JCOMPILER): Added encoding options.
24469
24470 2006-03-29  Gary Benson  <gbenson@redhat.com>
24471
24472         Partial fix for PR classpath/24895
24473         * java/io/FilePermission.java (implies): Canonicalize paths.
24474
24475 2006-03-29  Robert Schuster  <robertschuster@fsfe.org>
24476
24477         PR 26888
24478         * javax/swing/text/GapContent.java:
24479         (replace): Added call to resetMarksAtZero.
24480
24481 2006-03-29  Roman Kennke  <kennke@aicas.com>
24482
24483         PR 23527
24484         * javax/swing/plaf/basic/BasicMenuItemUI.java
24485         (cachedRect): New field.
24486         (BasicMenuItemUI): Initialize cachedRect field.
24487         (getPreferredMenuItemSize): Use layoutMenuItem() helper method
24488         to determine layout. Store maximum accelerator and text width
24489         in client properties of parent to allow correct alignment
24490         of accelerators among menu items of one menu.
24491         (paintMenuItem): Outsourced menu item layout into layoutMenuItem
24492         method. Align accelerators according to the values calculated
24493         in getPreferredMenuItemSize.
24494         (getAcceleratorString) New helper method.
24495         (layoutMenuItem): New helper method.
24496
24497 2006-03-29  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
24498
24499         * gnu/java/rmi/activation/ActivationSystemTransient.java: Rewritten.
24500         * gnu/java/rmi/activation/BidiTable.java: Rewritten.
24501         * gnu/java/rmi/dgc/LeaseRenewingTask.java (constructor, sheduleLeases):
24502         Avoid NPEs.
24503         * gnu/java/rmi/server/ActivatableServerRef.java (getRefClass, 
24504         readExternal, writeExternal): New methods.
24505         * gnu/java/rmi/server/UnicastRef.java (invokeCommon): Splitten into
24506         two stages, invokeCommon(Remote, ...) and 
24507         invokeCommen(UnicastConnection, ...).
24508         * java/rmi/server/RemoteObject.java (readObject, writeObject): Expect
24509         also the ActivatableRef. toString(): Documented.
24510         * gnu/java/rmi/server/ActivatableRef.java,
24511         tools/gnu/classpath/tools/rmi/Persistent.java,
24512         tools/gnu/classpath/tools/rmi/PersistentBidiHashTable.java,
24513         tools/gnu/classpath/tools/rmi/PersistentHashTable.java,
24514         tools/gnu/classpath/tools/rmi/REGISTRY.java,
24515         tools/gnu/classpath/tools/rmi/REGISTRY.txt,
24516         tools/gnu/classpath/tools/rmi/RMID.java,
24517         tools/gnu/classpath/tools/rmi/RMID.txt,
24518         tools/gnu/classpath/tools/rmi/registry/RegistryImpl.java,
24519         tools/gnu/classpath/tools/rmi/registry/RegistryImpl_Skel.java,
24520         tools/gnu/classpath/tools/rmi/registry/RegistryImpl_Stub.java,
24521         tools/gnu/classpath/tools/rmi/registry/package.html,
24522         tools/gnu/classpath/tools/rmi/rmid/ActivationSystemImpl.java,
24523         tools/gnu/classpath/tools/rmi/rmid/ActivationSystemImpl_Stub.java: 
24524         New files.
24525         * tools/README: Documented.
24526         * NEWS: Added entry about the activation.
24527
24528 2006-03-29  Roman Kennke  <kennke@aicas.com>
24529
24530         PR 23527
24531         * javax/swing/plaf/basic/BasicMenuItemUI.java
24532         (viewRect): New field.
24533         (textRect): New field.
24534         (accelRect): New field.
24535         (iconRect): New field.
24536         (arrowIconRect): New field.
24537         (checkIconRect): New field.
24538         (BasicMenuItemUI): Initialize new fields.
24539         (paintMenuItem): Rewritten to correctly layout and paint
24540         the menu item in a more straightforward way. Use cached rectangle
24541         objects for layout.
24542         (paintAccelerator): Pulled inside the paintMenuItem method.
24543
24544 2006-03-29  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
24545
24546         * tools/gnu/classpath/tools/rmi/rmic/templates/Stub_12Method.jav:
24547         Do not use initCause with UnexpectedException.
24548         * tools/gnu/classpath/tools/rmi/rmic/templates/Stub_12MethodVoid.jav:
24549         Likewise. 
24550
24551 2006-03-29  Mark Wielaard  <mark@klomp.org>
24552
24553         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
24554         (setCursorID): Removed unused static variable.
24555
24556 2006-03-29  David Gilbert  <david.gilbert@object-refinery.com>
24557
24558         * javax/swing/plaf/basic/BasicSliderUI.java: Reformatted.
24559
24560 2006-03-29  Mark Wielaard  <mark@klomp.org>
24561
24562         Fixes bug #26527
24563         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
24564         (gtkWidgetSetCursorUnlocked): Call gdk_flush().
24565
24566 2006-03-28  Roman Kennke  <kennke@aicas.com>
24567
24568         * javax/swing/UIManager.java
24569         (installLookAndFeel): Implemented.
24570         (setInstalledLookAndFeels): Implemented.
24571
24572 2006-03-28  Roman Kennke  <kennke@aicas.com>
24573
24574         * javax/swing/plaf/metal/MetalButtonUI.java
24575         (update): Paint gradient only when the background color
24576         is not a UIResource and if the button is neither armed nor
24577         pressed and if the button is contentAreaFilled.
24578
24579 2006-03-28  Roman Kennke  <kennke@aicas.com>
24580
24581         * javax/swing/JLayeredPane.java
24582         (addImpl): Repaint added component.
24583
24584 2006-03-28  Ito Kazumitsu  <kaz@maczuka.gcd.org>
24585
24586         * java/util/regex/Matcher.java: Reverted.
24587
24588 2006-03-28  Roman Kennke  <kennke@aicas.com>
24589
24590         * javax/swing/text/AsyncBoxView.java
24591         (setEstimatedMajorSpan): Made method protected.
24592         (getEstimatedMajorSpan): Made method protected.
24593         * javax/swing/text/BoxView.java
24594         (flipEastAndWestAtEnds): Fixed typo.
24595         * javax/swing/text/InternationalFormatter.java
24596         (getActions): Made method protected.
24597         * javax/swing/text/Position.java
24598         (Bias): Made class final.
24599         * javax/swing/text/html/HTML.java
24600         (MEDIA): Made field package private. Not specified.
24601         (NOBR): Made field package private. Not specified.
24602         * javax/swing/text/html/NullView.java
24603         Made class package private.
24604         * javax/swing/text/html/parser/Entity.java
24605         Made class non-serializable as specified.
24606
24607 2006-03-28  Roman Kennke  <kennke@aicas.com>
24608
24609         * javax/swing/plaf/metal/MetalButtonUI.java
24610         (update): Don't paint gradient if the background color is
24611         no UIResource. Removed double getModel() call. Don't check for
24612         OceanTheme.
24613
24614 2006-03-28  Roman Kennke  <kennke@aicas.com>
24615
24616         * javax/swing/plaf/basic/BasicMenuItemUI.java
24617         (paint): Call paintMenuItem with the selectionBackground as
24618         parameter.
24619         (paintBackground): Fixed the condition and color for the background
24620         painting.
24621
24622 2006-03-28  Roman Kennke  <kennke@aicas.com>
24623
24624         * javax/swing/plaf/metal/MetalTabbedPaneUI.java
24625         (tabsOpaque): New field.
24626         (paintLeftTabBorder): Paint some parts only when the tabs are
24627         opaque. Determine the tab background using the paintLeftTabBorder()
24628         helper method.
24629         (paintRightTabBorder): Likewise.
24630         (installDefaults): Fetch tabsOpaque property from the UIDefaults.
24631
24632 2006-03-27  Tom Tromey  <tromey@redhat.com>
24633
24634         PR classpath/25189:
24635         * java/lang/Enum.java (valueOf): Ensure that the named field
24636         is an enum constant.
24637         (compareTo): Check class of enum.
24638
24639 2006-03-27  Tom Tromey  <tromey@redhat.com>
24640
24641         * java/lang/reflect/ParameterizedType.java: Javadoc fix.
24642
24643 2006-03-27  Tom Tromey  <tromey@redhat.com>
24644
24645         * vm/reference/java/lang/reflect/Method.java (METHOD_MODIFIERS):
24646         New constant.
24647         (getModifiersInternal): Renamed from getModifiers.
24648         (getModifiers): New method.
24649         (isBridge): Likewise.
24650         (isSynthetic): Likewise.
24651         (isVarArgs): Likewise.
24652         * vm/reference/java/lang/reflect/Field.java (FIELD_MODIFIERS):
24653         New constant.
24654         (getModifiersInternal): Renamed from getModifiers.
24655         (getModifiers): New method.
24656         (isSynthetic): Likewise.
24657         (isEnumConstant): Likewise.
24658         * vm/reference/java/lang/reflect/Constructor.java
24659         (getModifiersInternal): Renamed from getModifiers.
24660         (getModifiers): New method
24661         (CONSTRUCTOR_MODIFIERS): New constant.
24662         (isSynthetic): New method.
24663         (isVarArgs): Likewise.
24664         * java/lang/reflect/Member.java (isSynthetic): New method.
24665
24666 2006-03-28  Tom Tromey  <tromey@redhat.com>
24667
24668         * java/net/Proxy.java (TYPE): Added missing ";".
24669
24670 2006-03-27  Andrew John Hughes  <gnu_andrew@member.fsf.org>
24671
24672         * java/math/RoundingMode.java:
24673         Fixed serialization UID.
24674         * java/net/Proxy.java:
24675         (Type): Likewise.
24676         
24677 2006-03-27  Andrew John Hughes  <gnu_andrew@member.fsf.org>
24678
24679         * java/io/CharArrayWriter.java:
24680         (append(char)): Documented.
24681         (append(CharSequence)): Likewise.
24682         (append(CharSequence,int,int)): Likewise.
24683         
24684 2006-03-27  Jeroen Frijters  <jeroen@frijters.net>
24685
24686         * vm/reference/java/lang/reflect/Constructor.java
24687         (getTypeParameters): Check return value of getSignature for null.
24688         * vm/reference/java/lang/reflect/Method.java
24689         (getTypeParameters): Check return value of getSignature for null.
24690
24691 2006-03-27  Andrew John Hughes  <gnu_andrew@member.fsf.org>
24692
24693         * java/rmi/activation/ActivationGroup_Stub.java:
24694         Made final.
24695         
24696 2006-03-27  Tom Tromey  <tromey@redhat.com>
24697        
24698         * java/io/CharArrayWriter.java (append): New overloads.
24699         
24700 2006-03-27  Lillian Angel  <langel@redhat.com>
24701
24702         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
24703         (Java_gnu_java_awt_peer_gtk_GdkGraphics_nativeDispose):
24704         Added check for colormap. Prevents assertion error.
24705         (Java_gnu_java_awt_peer_gtk_GdkGraphics_setFGColor):
24706         Likewise.
24707         (Java_gnu_java_awt_peer_gtk_GdkGraphics_nativeCopyState):
24708         Likewise.
24709         (Java_gnu_java_awt_peer_gtk_GdkGraphics_initState__II):
24710         Likewise.
24711         (Java_gnu_java_awt_peer_gtk_GdkGraphics_initFromImage):
24712         Likewise.
24713         (Java_gnu_java_awt_peer_gtk_GdkGraphics_initStateUnlocked):
24714         Likewise.
24715
24716 2006-03-27  Dalibor Topic  <robilad@kaffe.org>
24717
24718         * m4/acinclude.m4 (CLASSPATH_FIND_JAVAC): Use 
24719         AC_MSG_ERROR instead of echoing the error message 
24720         that no compiler has been found manually.
24721
24722 2006-03-27  Roman Kennke  <kennke@aicas.com>
24723
24724         * javax/swing/RepaintManager.java
24725         (commitBuffer): Use simple drawImage() method instead of the
24726         scaling version.
24727
24728 2006-03-27  Robert Schuster  <robertschuster@fsfe.org>
24729
24730         * javax/swing/text/PlainView.java:
24731         (drawLine): Use 'endOffset' instead of 'selectionEnd'
24732         for painting the selected line.
24733
24734 2006-03-27  David Gilbert  <david.gilbert@object-refinery.com>
24735
24736         * javax/swing/plaf/basic/BasicSliderUI.java
24737         (getThumbSize): Removed TODO and updated API docs.
24738
24739 2006-03-27  Robert Schuster  <robertschuster@fsfe.org>
24740
24741         * javax/swing/text/DefaultCaret.java:
24742         (mouseClicked): Word selection rewritten.
24743         (paint): Draw line inside the bounding rectangle.
24744         (damage): Retrieve caret height from line height.
24745
24746 2006-03-28  Raif S. Naffah  <raif@swiftdsl.com.au>
24747
24748         * tools/gnu/classpath/tools/jarsigner/Main.java (processArgs): Check
24749         for null args.
24750         Check for -help option.
24751         * tools/gnu/classpath/tools/jarsigner/jarsigner.txt: Added -help option.
24752
24753 2006-03-27  Roman Kennke  <kennke@aicas.com>
24754
24755         * javax/swing/text/FieldView.java
24756         (getPreferredSpan): Don't include trailing newline in
24757         calculations.
24758         * javax/swing/text/PlainView.java
24759         (drawLine): Don't include trailing newline.
24760         (determineMaxLineLength): Don't include trailing newline.
24761         (getLineBuffer): Made method final.
24762
24763 2006-03-27  David Gilbert  <david.gilbert@object-refinery.com>
24764
24765         * javax/swing/JSlider.java
24766         (AccessibleJSlider.AccessibleJSlider): Minor API doc edit,
24767         (AccessibleJSlider.getAccessibleRole): Removed declaration of 
24768         NotImplementedException,
24769         (AccessibleJSlider.getAccessibleValue): Updated API docs.
24770
24771 2006-03-26  Andrew John Hughes  <gnu_andrew@member.fsf.org>
24772
24773         * java/lang/ProcessBuilder.java:
24774         Made final.
24775
24776 2006-03-26  Andrew John Hughes  <gnu_andrew@member.fsf.org>
24777
24778         * gnu/java/net/protocol/http/Headers.java:
24779         Match layout of file on HEAD.
24780         * gnu/javax/swing/text/html/parser/htmlValidator.java:
24781         Likewise.
24782         * java/awt/datatransfer/DataFlavor.java
24783         Likewise.
24784
24785 2006-03-26  Andrew John Hughes  <gnu_andrew@member.fsf.org>
24786
24787         * gnu/java/security/jce/hash/HavalSpi.java,
24788         * gnu/java/security/jce/hash/MD2Spi.java,
24789         * gnu/java/security/jce/hash/MD4Spi.java,
24790         * gnu/java/security/jce/hash/MD5Spi.java,
24791         * gnu/java/security/jce/hash/MessageDigestAdapter.java,
24792         * gnu/java/security/jce/hash/RipeMD128Spi.java,
24793         * gnu/java/security/jce/hash/RipeMD160Spi.java,
24794         * gnu/java/security/jce/hash/Sha160Spi.java,
24795         * gnu/java/security/jce/hash/Sha256Spi.java,
24796         * gnu/java/security/jce/hash/Sha384Spi.java,
24797         * gnu/java/security/jce/hash/Sha512Spi.java,
24798         * gnu/java/security/jce/hash/TigerSpi.java,
24799         * gnu/java/security/jce/hash/WhirlpoolSpi.java,
24800         * gnu/java/security/jce/sig/DSSKeyPairGeneratorSpi.java,
24801         * gnu/java/security/jce/sig/DSSRawSignatureSpi.java,
24802         * gnu/java/security/jce/sig/KeyPairGeneratorAdapter.java,
24803         * gnu/java/security/jce/sig/RSAPSSRawSignatureSpi.java,
24804         * gnu/java/security/jce/sig/SignatureAdapter.java,
24805         * gnu/java/security/key/IKeyPairCodec.java,
24806         * gnu/java/security/key/IKeyPairGenerator.java,
24807         * gnu/java/security/key/KeyPairGeneratorFactory.java,
24808         * gnu/java/security/key/dss/DSSKey.java,
24809         * gnu/java/security/key/dss/DSSKeyPairRawCodec.java,
24810         * gnu/java/security/key/dss/DSSPrivateKey.java,
24811         * gnu/java/security/key/dss/DSSPublicKey.java,
24812         * gnu/java/security/key/dss/FIPS186.java,
24813         * gnu/java/security/key/rsa/GnuRSAKey.java,
24814         * gnu/java/security/key/rsa/GnuRSAPrivateKey.java,
24815         * gnu/java/security/key/rsa/GnuRSAPublicKey.java,
24816         * gnu/java/security/sig/ISignature.java,
24817         * gnu/java/security/sig/ISignatureCodec.java,
24818         * gnu/java/security/sig/dss/DSSSignature.java,
24819         * gnu/java/security/sig/dss/DSSSignatureRawCodec.java,
24820         * gnu/java/security/sig/rsa/RSAPSSSignature.java,
24821         * gnu/java/security/sig/rsa/RSAPSSSignatureRawCodec.java,
24822         * gnu/java/security/util/Util.java:
24823         Remove CVS revision tags.
24824
24825 2006-03-26  Tom Tromey  <tromey@redhat.com>
24826
24827         * java/io/InputStream.java (InputStream): Implements Closeable.
24828         
24829 2006-03-26  Ito Kazumitsu  <kaz@maczuka.gcd.org>
24830
24831         * gnu/regexp/CharIndexed.java(setLastMatch, getLastMatch, getAnchor):
24832         New methods.
24833         * gnu/regexp/CharIndexedCharArray.java(setLastMatch, getLastMatch,
24834         getAnchor): New methods.
24835         * gnu/regexp/CharIndexedInputStream.java(setLastMatch, getLastMatch,
24836         getAnchor): New methods.
24837         * gnu/regexp/CharIndexedString.java(setLastMatch, getLastMatch,
24838         getAnchor): New methods.
24839         * gnu/regexp/CharIndexedStringBuffer.java(setLastMatch, getLastMatch,
24840         getAnchor): New methods.
24841         * gnu/regexp/REMatch.java(start1): New field.
24842         * gnu/regexp/RE.java(initialize): Added support for \z and \G,
24843         (match): set the starting position to start1[] instead of start[],
24844         (getMatchImpl): Set the found REMatch to the input,
24845         (makeCharIndexed): Made public.
24846         * gnu/regexp/RETokenEndOfPreviousMatch.java: New file.
24847         * gnu/regexp/RETokenEndSub.java(matchThis, findMatch):
24848         set the value of start[] copying from start1[].
24849         * gnu/regexp/RETokenLookBehind.java(matchThis): Added the settings of
24850         offset.
24851         * java/util/regex/Matcher.java(inputCharIndexed): New field
24852         to be used as a parameter of the RE#getMatch.
24853
24854 2006-03-26  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
24855
24856         * gnu/java/rmi/activation/DefaultActivationGroup.java: 
24857         Documented the default jre spawning strategy (none).
24858         * java/rmi/activation/ActivationGroup.java (currentGroupId,
24859         getSystem): Obtain the acticivation system from the 
24860         DefaultActivationSystem.
24861
24862 2006-03-26  Raif S. Naffah  <raif@swiftdsl.com.au>
24863
24864         * tools/gnu/classpath/tools/jarsigner/Main.java (setupSigningParams):
24865         Ask user for keystore password if one was not provided.
24866
24867 2006-03-26  Raif S. Naffah  <raif@swiftdsl.com.au>
24868
24869         * tools/README: Added Security tools section.
24870         Documented the jarsigner tool.
24871
24872 2006-03-25  David Gilbert  <david.gilbert@object-refinery.com>
24873
24874         * javax/swing/JScrollBar.java
24875         (AccessibleJScrollBar.getAccessibleStateSet): Implemented,
24876         (AccessibleJScrollBar.getAccessibleRole): Likewise,
24877         (AccessibleJScrollBar.getAccessibleValue): Likewise,
24878         (AccessibleJScrollBar.getCurrentAccessibleValue): Likewise,
24879         (AccessibleJScrollBar.setCurrentAccessibleValue): Likewise,
24880         (AccessibleJScrollBar.getMinimumAccessibleValue): Likewise,
24881         (AccessibleJScrollBar.getMaximumAccessibleValue): Likewise,
24882         (getAccessibleContext): Updated API docs.
24883
24884 2006-03-25  Tom Tromey  <tromey@redhat.com>
24885
24886         * .externalToolBuilders/CreateLocaleData.launch: Run if resource files
24887         change or if generator script changes.
24888
24889 2006-03-25  Tom Tromey  <tromey@redhat.com>
24890
24891         * javax/naming/ldap/StartTlsRequest.java: New file.
24892         * javax/naming/ldap/StartTlsResponse.java: New file.
24893
24894 2006-03-25  Olivier Jolly  <olivier.jolly@pcedev.com>
24895
24896     * java/net/URLClassLoader.java (FileURLLoader.getResource): Added test
24897     to validate all components of a resource path.
24898     (FileURLLoader.walkPathComponents): Helper which ensures that we are
24899     allowed to walk through every component of a resource path.
24900     
24901 2006-03-25  Michael Koch  <konqueror@gmx.de>
24902
24903         * NEWS: Added item for CLDR 1.3 update.
24904
24905 2006-03-25  Michael Koch  <konqueror@gmx.de>
24906
24907         * resource/gnu/java/locale/LocaleInformation_ar_IN.properties,
24908         resource/gnu/java/locale/LocaleInformation_ar_IQ.properties,
24909         resource/gnu/java/locale/LocaleInformation_ar_KW.properties,
24910         resource/gnu/java/locale/LocaleInformation_ar_LY.properties,
24911         resource/gnu/java/locale/LocaleInformation_mn_MN.properties,
24912         resource/gnu/java/locale/LocaleInformation_uz_AF.properties:
24913         Removed locales.
24914
24915 2006-03-25  Michael Koch  <konqueror@gmx.de>
24916
24917         * resource/gnu/java/locale/LocaleInformation_az.properties,
24918         resource/gnu/java/locale/LocaleInformation_bs.properties,
24919         resource/gnu/java/locale/LocaleInformation_byn.properties,
24920         resource/gnu/java/locale/LocaleInformation_byn_ER.properties,
24921         resource/gnu/java/locale/LocaleInformation_el_CY.properties,
24922         resource/gnu/java/locale/LocaleInformation_gez.properties,
24923         resource/gnu/java/locale/LocaleInformation_gez_ER.properties,
24924         resource/gnu/java/locale/LocaleInformation_gez_ET.properties,
24925         resource/gnu/java/locale/LocaleInformation_haw.properties,
24926         resource/gnu/java/locale/LocaleInformation_haw_US.properties,
24927         resource/gnu/java/locale/LocaleInformation_kok.properties,
24928         resource/gnu/java/locale/LocaleInformation_kok_IN.properties,
24929         resource/gnu/java/locale/LocaleInformation_sid.properties,
24930         resource/gnu/java/locale/LocaleInformation_sid_ET.properties,
24931         resource/gnu/java/locale/LocaleInformation_sl_SI.properties,
24932         resource/gnu/java/locale/LocaleInformation_sr_BA_Cyrl.properties,
24933         resource/gnu/java/locale/LocaleInformation_sr_BA_Latn.properties,
24934         resource/gnu/java/locale/LocaleInformation_sr_Cyrl.properties,
24935         resource/gnu/java/locale/LocaleInformation_syr.properties,
24936         resource/gnu/java/locale/LocaleInformation_syr_SY.properties,
24937         resource/gnu/java/locale/LocaleInformation_tig.properties,
24938         resource/gnu/java/locale/LocaleInformation_tig_ER.properties,
24939         resource/gnu/java/locale/LocaleInformation_uz_AF_Arab.properties,
24940         resource/gnu/java/locale/LocaleInformation_uz_Arab.properties,
24941         resource/gnu/java/locale/LocaleInformation_uz_Latn.properties,
24942         resource/gnu/java/locale/LocaleInformation_wal.properties,
24943         resource/gnu/java/locale/LocaleInformation_wal_ET.properties:
24944         New locales.
24945
24946 2006-03-25  Michael Koch  <konqueror@gmx.de>
24947
24948         * resource/gnu/java/locale/LocaleInformation_fa.properties,
24949         resource/gnu/java/locale/LocaleInformation_kn.properties,
24950         resource/gnu/java/locale/LocaleInformation_kn_IN.properties,
24951         resource/gnu/java/locale/LocaleInformation_ko.properties,
24952         resource/gnu/java/locale/LocaleInformation_sl.properties,
24953         resource/gnu/java/locale/LocaleInformation_so.properties,
24954         resource/gnu/java/locale/LocaleInformation_so_DJ.properties,
24955         resource/gnu/java/locale/LocaleInformation_so_ET.properties,
24956         resource/gnu/java/locale/LocaleInformation_so_SO.properties,
24957         resource/gnu/java/locale/LocaleInformation_sr.properties:
24958         Random fixes I forgot to commit before.
24959
24960 2006-03-25  Michael Koch  <konqueror@gmx.de>
24961
24962         * resource/gnu/java/locale/LocaleInformation_ar_JO.properties,
24963         resource/gnu/java/locale/LocaleInformation_ar_QA.properties,
24964         resource/gnu/java/locale/LocaleInformation_ar_SA.properties,
24965         resource/gnu/java/locale/LocaleInformation_ar_SY.properties,
24966         resource/gnu/java/locale/LocaleInformation_ar_TN.properties,
24967         resource/gnu/java/locale/LocaleInformation_ar_YE.properties,
24968         resource/gnu/java/locale/LocaleInformation_as_IN.properties,
24969         resource/gnu/java/locale/LocaleInformation_be_BY.properties,
24970         resource/gnu/java/locale/LocaleInformation_bn_IN.properties,
24971         resource/gnu/java/locale/LocaleInformation_en.properties,
24972         resource/gnu/java/locale/LocaleInformation_en_IN.properties,
24973         resource/gnu/java/locale/LocaleInformation_en_PK.properties,
24974         resource/gnu/java/locale/LocaleInformation_en_US_POSIX.properties,
24975         resource/gnu/java/locale/LocaleInformation_es_PY.properties,
24976         resource/gnu/java/locale/LocaleInformation_fa.properties,
24977         resource/gnu/java/locale/LocaleInformation_fa_AF.properties,
24978         resource/gnu/java/locale/LocaleInformation_fa_IR.properties,
24979         resource/gnu/java/locale/LocaleInformation_gu_IN.properties,
24980         resource/gnu/java/locale/LocaleInformation_hi_IN.properties,
24981         resource/gnu/java/locale/LocaleInformation_ja_JP.properties,
24982         resource/gnu/java/locale/LocaleInformation_kn_IN.properties,
24983         resource/gnu/java/locale/LocaleInformation_mr_IN.properties,
24984         resource/gnu/java/locale/LocaleInformation_or_IN.properties,
24985         resource/gnu/java/locale/LocaleInformation_pa.properties,
24986         resource/gnu/java/locale/LocaleInformation_pa_IN.properties,
24987         resource/gnu/java/locale/LocaleInformation_ps_AF.properties,
24988         resource/gnu/java/locale/LocaleInformation_ru_RU.properties,
24989         resource/gnu/java/locale/LocaleInformation_sa.properties,
24990         resource/gnu/java/locale/LocaleInformation_sa_IN.properties,
24991         resource/gnu/java/locale/LocaleInformation_ta_IN.properties,
24992         resource/gnu/java/locale/LocaleInformation_te_IN.properties:
24993         Updated currency formats.
24994
24995 2006-03-25  Roman Kennke  <kennke@aicas.com>
24996
24997         * javax/swing/text/AbstractDocument.java
24998         (getAttributeContext): Made method final.
24999         (getCurrentWriter): Likewise.
25000         (getEndPosition): Likewise.
25001         (getProperty): Likewise.
25002         (getStartPosition): Likewise.
25003         (putProperty): Likewise.
25004         (readLock): Likewise.
25005         (readUnlock): Likewise.
25006         (writeLock): Likewise.
25007         (writeUnlock): Likewise.
25008
25009 2006-03-25  Roman Kennke  <kennke@aicas.com>
25010
25011         * javax/swing/InputMap.java
25012         (allKeys): Check if parent keys is null.
25013         * javax/swing/KeyboardManager.java
25014         (registerEntireMap): Also register map's parent keys.
25015         * javax/swing/plaf/metal/MetalRootPaneUI.java
25016         (propertyChange): Also call super.propertyChange().
25017
25018 2006-03-25  Raif S. Naffah  <raif@swiftdsl.com.au>
25019
25020         * tools/gnu/classpath/tools/jarsigner/HashUtils.java: New file.
25021         * tools/gnu/classpath/tools/jarsigner/JarSigner.java: Likewise.
25022         * tools/gnu/classpath/tools/jarsigner/JarVerifier.java: Likewise.
25023         * tools/gnu/classpath/tools/jarsigner/Main.java (Main): Likewise.
25024         * tools/gnu/classpath/tools/jarsigner/SFHelper.java: Likewise.
25025         * tools/gnu/classpath/tools/jarsigner/jarsigner.txt: Likewise.
25026
25027 2006-03-25  Raif S. Naffah  <raif@swiftdsl.com.au>
25028
25029         * gnu/java/util/jar/JarUtils.java: New file.
25030         * java/util/jar/Manifest.java (CRLF): Removed.
25031         (read_main_section): Likewise.
25032         (read_version_info): Likewise.
25033         (expect_header(String,BufferedReader)): Likewise.
25034         (expect_header(String,BufferedReader,String)): Likewise.
25035         (read_header_value): Likewise.
25036         (read_attributes): Likewise.
25037         (read_attribute): Likewise.
25038         (read_individual_sections): Likewise.
25039         (read_section_name): Likewise.
25040         (write_main_section): Likewise.
25041         (write_version_info): Likewise.
25042         (write_header): Likewise.
25043         (write_main_attributes): Likewise.
25044         (write_attribute_entry): Likewise.
25045         (write_individual_sections): Likewise.
25046         (write_entry_attributes): Likewise.
25047         (read): use JarUtils.
25048         (write): Likewise.
25049
25050 2006-03-25  Raif S. Naffah  <raif@swiftdsl.com.au>
25051
25052         * gnu/java/security/pkcs/SignerInfo.java (log): New field.
25053         (DEBUG): Removed.
25054         (debug): Likewise.
25055         (SignerInfo(BERReader)): Updated javadoc.
25056         Use JDK logging.
25057         (SignerInfo(X500Principal,BigInteger,OID,byte[],OID,byte[],byte[])):
25058         New constructor.
25059         (encode): New method.
25060         * gnu/java/security/pkcs/PKCS7SignedData.java (log): New field.
25061         (PKCS7_DATA): Removed.
25062         (DEBUG): Likewise.
25063         (debug): Likewise.
25064         (PKCS7SignedData(BERReader)): Updated javadoc.
25065         Use JDK logging.
25066         (PKCS7SignedData(Set,PKCS7Data,Certificate[],X509CRL[],Set)): New
25067         constructor.
25068         (encode): New method.
25069         * gnu/java/security/pkcs/PKCS7Data.java: New file.
25070         * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java (log): New field.
25071         (encodePrivateKey): Encode x (private MPN) as an OCTET STRING.
25072         (decodePrivateKey): Decode x from an OCTET STRING.
25073         * gnu/java/security/key/dss/DSSPublicKey.java (str): New field.
25074         (toString): New method.
25075         * gnu/java/security/key/dss/DSSPrivateKey.java (DEBUG): New field.
25076         (str): Likewise.
25077         (toString): New method.
25078         * gnu/java/security/key/dss/DSSKey.java (str): New Field.
25079         (toString): New method.
25080         * gnu/java/security/provider/DSAParameterGenerator.java: Removed.
25081
25082 2006-03-25  Roman Kennke  <kennke@aicas.com>
25083
25084         * java/util/GregorianCalender.java
25085         (computeTime): Fix comparison to correctly calculate the
25086         calendar.
25087
25088 2006-03-25  Wolfgang Baer  <WBaer@gmx.de>
25089
25090         Fixes bug #26837
25091         * java/awt/Window.java:         
25092         (setFocusCycleRoot): New overriden method.
25093         (isFocusCycleRoot): Likewise.
25094         (getFocusCycleRootAncestor): Likewise.
25095         * java/awt/Container.java:
25096         (getFocusTraversalPolicy): Check also for anchestor == null.
25097
25098 2006-03-25  Mark Wielaard  <mark@klomp.org>
25099
25100         Fixes bug #26863 reported by John K Peterson <johnandtina@byu.net>
25101         * gnu/java/util/prefs/NodeWriter.java (writeRoot): Don't immediately
25102         close root tag.
25103
25104 2006-03-24  Tom Tromey  <tromey@redhat.com>
25105
25106         * javax/imageio/stream/ImageOutputStreamImpl.java (writeBytes):
25107         Rewrote.
25108         (writeChar): Removed useless cast.
25109         (writeChars(String)): Implemented.
25110         (writeDouble): Rewrote.
25111         (writeFloat): Likewise.
25112         (writeUTF): Implemented.
25113         * javax/imageio/stream/ImageInputStreamImpl.java (byteOrder): Default
25114         to big endian.
25115
25116 2006-03-24  Roman Kennke  <kennke@aicas.com>
25117
25118         * javax/swing/JButton.java
25119         (def): Replaced field with defaultCapable field.
25120         (is_def): Removed field.
25121         (JButton): Initialize defaultCapable with true.
25122         (isDefaultButton): Documented and implemented method by querying
25123         the button's root pane if present.
25124         (isDefaultCapable): Changed def field to defaultCapable.
25125         Added documentation.
25126         (paramString): Call isDefaultButton() instead of accessing field,
25127         which got removed.
25128         (setDefaultCapable): Changed def field to defaultCapable.
25129         Added documentation.
25130         * javax/swing/JRootPane.java
25131         (setDefaultButton): Only change the default button if the
25132         new button is defaultCapable.
25133         * javax/swing/plaf/basic/BasicRootPaneUI.java
25134         (DefaultPressAction): New class.
25135         (DefaultReleaseAction): New class.
25136         (installKeyboardActions): Implemented.
25137         (uninstallKeyboardActions): Implemented.
25138         (propertyChange): Implemented.
25139         * javax/swing/plaf/metal/MetalBorders.java
25140         (ButtonBorder.paintBorder): 'Outsourced' default theme
25141         painting to paintDefaultButtonBorder().
25142         (ButtonBorder.paintDefaultButtonBorder): New helper method
25143         to paint the border in the default theme. This also fixes
25144         painting of the border for default buttons.
25145         (ButtonBorder.paintOceanButtonBorder): Added support for
25146         default button painting. Fixed border for pressed/default state.
25147         * javax/swing/plaf/metal/MetalButtonUI.java
25148         (update): Only paint gradient when in OceanTheme and when the
25149         button is not armed.
25150
25151 2006-03-24  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
25152
25153         * gnu/java/rmi/activation/ActivationSystemTransient.java:
25154         Inherit from Activator.
25155
25156 2006-03-24  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
25157
25158         * gnu/java/rmi/activation/DefaultActivationGroup.java (newInstance):
25159         Print debug message if debug flag is set.
25160         * gnu/java/rmi/activation/DefaultActivationSystem.java: Rewritten.
25161         * gnu/java/rmi/server/ActivatableServerRef.java (activate): assign
25162         detail, do not call iniCause(). (exportClass): New method.
25163         * gnu/java/rmi/server/CombinedClassLoader.java (constructor):
25164         Ignore null (bootstrap) class loader.
25165         * gnu/java/rmi/server/UnicastServerRef.java (methods, skel, stub,
25166         buildMethodHash, findStubSkelClass, getHelperClass): Changed 
25167         visibility to protected.
25168         * java/rmi/activation/Activatable.java (export, register): Rewritten.
25169         (toStub): New method.
25170         * java/rmi/activation/ActivationGroup.java (getSystem): Rewritten.
25171         * java/rmi/activation/ActivationSystem.java (SYSTEM_PORT): 
25172         Explained property java.rmi.activation.port.
25173
25174 2006-03-24  Tom Tromey  <tromey@redhat.com>
25175
25176         * .externalToolBuilders/CreateLocaleData.launch: Updated.
25177         * gnu/java/locale/.cvsignore: New file.
25178         * lib/Makefile.am (LocaleData.java): Put in gnu/java/locale.
25179         * java/util/Locale.java (getAvailableLocales): Clone result.
25180         (getISOCountries): Likewise.
25181         (getISOLanguages): Likewise.
25182         * scripts/generate-locale-list.sh: Make class public.  Added new
25183         array.
25184         * gnu/java/locale/LocaleHelper.java (getCollatorLocales): New method.
25185         (getLocaleCount): Likewise.
25186         * java/text/Collator.java (getInstance): Javadoc typo fix.
25187         (getAvailableLocales): Wrote.
25188
25189 2006-03-24  Roman Kennke  <kennke@aicas.com>
25190
25191         * javax/swing/JTabbedPane.java
25192         (getSelectedComponent): Return null when no component is
25193         selected.
25194
25195 2006-03-24  Mark Wielaard  <mark@klomp.org>
25196
25197         * NEWS: Add cursor and selection improvements.
25198
25199 2006-03-23  David Gilbert  <david.gilbert@object-refinery.com>
25200
25201         * java/awt/Component.java
25202         (getAccessibleName): Just return accessibleName,
25203         * javax/swing/AbstractButton.java
25204         (getAccessibleStateSet): Mark as stub,
25205         (getAccessibleName): Implemented,
25206         (getAcessibleIcon): Mark as stub,
25207         (getAccessibleRelationSet): Likewise,
25208         (getAccessibleAction): Likewise,
25209         (getAccessibleValue): Likewise,
25210         (getAccessibleActionCount): Likewise,
25211         (getAccessibleActionDescription): Likewise,
25212         (doAccessibleAction): Likewise,
25213         (getCurrentAccessibleValue): Likewise,
25214         (setCurrentAccessibleValue): Likewise,
25215         (getMinimumAccessibleValue): Likewise,
25216         (getMaximumAccessibleValue): Likewise,
25217         (getAccessibleText): Likewise,
25218         (getIndexAtPoint): Likewise,
25219         (getCharacterBounds): Likewise,
25220         (getCharCount): Likewise,
25221         (getCaretPosition): Likewise,
25222         (getAtIndex): Likewise,
25223         (getAfterIndex): Likewise,
25224         (getBeforeIndex): Likewise,
25225         (getCharacterAttribute): Likewise,
25226         (getSelectionStart): Likewise,
25227         (getSelectionEnd): Likewise,
25228         (getSelectedText): Likewise,
25229         (getTextRectangle): Likewise,
25230         (setIconTextGap): Fire PropertyChangeEvent, not state changed,
25231         (getIconTextGap): Added @since 1.4,
25232         (setContentAreaFilled): Reordered code to make event sequence match
25233         reference implementation,
25234         * javax/swing/JButton.java
25235         (getSelectedObjects): Removed,
25236         *javax/swing/JComponent.java
25237         (getAccessibleName): Call super.
25238
25239 2006-03-23  David Gilbert  <david.gilbert@object-refinery.com>
25240
25241         * javax/swing/JProgressBar.java
25242         (AccessibleJProgressBar.getAccessibleStateSet): Implemented,
25243         (AccessibleJProgressBar.getAccessibleRole): Added API docs,
25244         (AccessibleJProgressBar.getAccessibleValue): Implemented,
25245         (AccessibleJProgressBar.getCurrentAccessibleValue): Likewise,
25246         (AccessibleJProgressBar.setCurrentAccessibleValue): Likewise,
25247         (AccessibleJProgressBar.getMinimumAccessibleValue): Likewise,
25248         (AccessibleJProgressBar.getMaximumAccessibleValue): Likewise,
25249         (getAccessibleContext): Added API docs.
25250
25251 2006-03-23  Robert Schuster  <robertschuster@fsfe.org>
25252
25253         * javax/swing/plaf/basic/BasicTextUI.java:
25254         (FocusListener.focusLost): Put current selection into the system
25255         clipboard.
25256
25257 2006-03-23  Robert Schuster  <robertschuster@fsfe.org>
25258
25259         * java/awt/Component.java:
25260         (processMouseEvent): Remove call to consume event.
25261         (dispatchEventImpl): Handle specific events first, do focus request
25262         only when mouse event was not yet consumed.
25263         * javax/swing/text/DefaultCaret.java:
25264         (mousePressed): Rewritten.
25265         (setDot): Changed order of operations.
25266         (moveDot): Dito.
25267
25268 2006-03-23  David Gilbert  <david.gilbert@object-refinery.com>
25269
25270         * javax/swing/JComponent.java
25271         (AccessibleJComponent.changeSupport): Removed field,
25272         (AccessibleJComponent.AccessibleJComponent): Updated for removed field,
25273         (AccessibleJComponent.addPropertyChangeListener): Call super,
25274         (AccessibleJComponent.removePropertyChangeListener): Likewise,
25275         * javax/swing/JSlider.java
25276         (AccessibleJSlider.getAccessibleStateSet): Implemented,
25277         (AccessibleJSlider.getAccessibleRole): Likewise,
25278         (AccessibleJSlider.getAccessibleValue): Likewise,
25279         (AccessibleJSlider.getCurrentAccessibleValue): Likewise,
25280         (AccessibleJSlider.setCurrentAccessibleValue): Likewise,
25281         (AccessibleJSlider.getMinimumAccessibleValue): Likewise,
25282         (AccessibleJSlider.getMaximumAccessibleValue): Likewise,
25283         (getAccessibleContext): Added API docs.
25284
25285 2006-03-23  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
25286
25287         * gnu/java/rmi/activation/ActivationSystemTransient.java
25288         (debug): Made public. (constructor): Made protected.
25289         (activate, getActivationDesc): Throw more informative exceptions.
25290         * gnu/java/rmi/server/UnicastConnectionManager.java (toString):
25291         New method.
25292         * gnu/java/rmi/server/UnicastRef.java (remoteToString): 
25293         Stub, implemented.
25294         * gnu/java/rmi/server/UnicastServer.java (incomingMessageCall):
25295         Documented.
25296         * gnu/java/rmi/server/UnicastServerRef.java (incomingMessageCall):
25297         Better exception.
25298         * java/rmi/activation/Activatable.java (obtainId): Use the activation
25299         system, passed in the activation descriptor field.
25300         * java/rmi/activation/ActivationGroup.java (createGroup): Likewise.
25301         * java/rmi/activation/ActivationGroupID.java (system, uid): Changed
25302         to package private final. (equals): Compare uid, not the system. 
25303         (hashCode): Forward to uid.hashCode(). toString(): New method.
25304         * java/rmi/activation/ActivationID.java (readObject, writeObject):
25305         Rewritten. (equals): Compare UID only. toString(): New method.
25306         * java/rmi/server/ObjID.java (eq): New method. (equals): Compare also
25307         UID (space). (hashCode, toString): Rewritten.
25308         * java/rmi/server/RemoteObjectInvocationHandler.java (noArgs): 
25309         New method. (invoke): Treat null as an empty array for parameters.
25310         * java/rmi/server/UID.java (toString): Rewritten. (hashCode):
25311         Include count, do not include the static machineId.
25312
25313 2006-03-23  Tom Tromey  <tromey@redhat.com>
25314
25315         * java/net/URLConnection.java (getContent(Class[])): Implemented.
25316
25317 2006-03-23  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
25318
25319         * tools/gnu/classpath/tools/giop/GRMIC.java (main): Accept -force.
25320         * tools/gnu/classpath/tools/giop/GRMIC.txt: Explain -force.
25321         * tools/gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java
25322         (force): New field. (setForce): New method. (compile): Handle -force.
25323         * tools/gnu/classpath/tools/rmi/RMIC.java (main): Accept -force.
25324         * tools/gnu/classpath/tools/rmi/RMIC.txt: Explain -force.
25325
25326 2006-03-23  Roman Kennke  <kennke@aicas.com>
25327
25328         * javax/swing/JTabbedPane.java
25329         (Page.getBackground): Return the JTabbedPane's background,
25330         rather than the page's component background.
25331         (Page.getForeground): Return the JTabbedPane's foreground,
25332         rather than the page's component foreground.
25333         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
25334         (uninstallUI): Don't set colors to null.
25335         * javax/swing/plaf/metal/MetalTabbedPaneUI.java
25336         (paintTabBackground): Correctly determine the tab background.
25337         (getUnselectedBackground): New helper method to
25338         handle the UI property 'TabbedPane.unselectedBackground'
25339         correctly.
25340
25341 2006-03-23  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
25342
25343         * javax/swing/plaf/basic/BasicInternalFrameUI.java
25344         (BorderListener.showingResizeCursor): New field.
25345         (BorderListener.mouseMoved, BorderListner.mouseExited):
25346         Implemented.
25347
25348 2006-03-23  David Gilbert  <david.gilbert@object-refinery.com>
25349
25350         * javax/swing/JComboBox.java
25351         (selectWithKeyChar): Mark as stub,
25352         * javax/swing/JFileChooser.java
25353         (setDragEnabled): Mark as stub,
25354         (getDragEnabled): Likewise,
25355         * javax/swing/JSlider.java
25356         (AccessibleJSlider.getAccessibleStateSet): Mark as stub,
25357         (AccessibleJSlider.getAccessibleRole): Likewise,
25358         (AccessibleJSlider.getAccessibleValue): Likewise,
25359         (AccessibleJSlider.getCurrentAccessibleValue): Likewise,
25360         (AccessibleJSlider.setCurrentAccessibleValue): Likewise,
25361         (AccessibleJSlider.getMinimumAccessibleValue): Likewise,
25362         (AccessibleJSlider.getMaximumAccessibleValue): Likewise,
25363         * javax/swing/UIManager.java
25364         (installLookAndFeel): Mark as stub,
25365         (setInstalledLookAndFeels): Likewise.
25366
25367 2006-03-23  David Gilbert  <david.gilbert@object-refinery.com>
25368
25369         * javax/swing/filechooser/UnixFileSystemView.java
25370         (getSystemDisplayName): Mark as stub,
25371         (getSystemIcon): Likewise,
25372         (getSystemTypeDescription): Likewise.
25373
25374 2006-03-23  David Gilbert  <david.gilbert@object-refinery.com>
25375
25376         * javax/swing/tree/AbstractLayoutCache.java
25377         (getNodeDimensions): Mark as stub,
25378         (getPreferredHeight): Likewise,
25379         (getPreferredWidth): Likewise,
25380         (getRowsForPaths): Likewise,
25381         (isFixedRowHeight): Likewise,
25382         * javax/swing/tree/DefaultTreeModel.java
25383         (reload()): Mark as stub,
25384         (reload(TreeNode)): Likewise,
25385         (nodeStructureChanged): Likewise,
25386         * javax/swing/tree/DefaultTreeSelectionModel.java
25387         (clone): Mark as stub,
25388         (setRowMapper): Likewise,
25389         (setSelectionPaths): Likewise,
25390         (isRowSelected): Likewise,
25391         (resetRowSelection): Likewise,
25392         (insureRowContinuity): Likewise,
25393         (arePathsContiguous): Likewise,
25394         (canPathsBeAdded): Likewise,
25395         (canPathsBeRemoved): Likewise,
25396         (notifyPathChange): Likewise,
25397         (updateLeadIndex): Likewise,
25398         (insureUniqueness): Likewise,
25399         * javax/swing/tree/FixedHeightLayoutCache.java: Marked all methods as
25400         stubs,
25401         * javax/swing/tree/VariableHeightLayoutCache.java: Likewise.
25402
25403 2006-03-22  Tom Tromey  <tromey@redhat.com>
25404
25405         * javax/swing/text/StyleContext.java (getStaticAttribute): Mark as
25406         stub.
25407         (getStaticAttributeKey): Likewise.
25408         (readAttributeSet): Likewise.
25409         (writeAttributeSet): Likewise.
25410         (readAttributes): Likewise.
25411         (writeAttributes): Likewise.
25412         * javax/swing/text/html/HTMLEditorKit.java (insertAtBoundary): Mark
25413         as stub.
25414         * javax/swing/text/html/HTMLDocument.java (setParagraphAttributes):
25415         Mark as stub.
25416         (fireChangedUpdate): Likewise.
25417         (start): Likewise.
25418         (end): Likewise.
25419         (handleEndOfLineString): Likewise.
25420         (textAreaContent): Likewise.
25421         (preContent): Likewise.
25422         (addSpecialElement): Likewise.
25423         (setInnerHTML): Likewise.
25424         (setOuterHTML): Likewise.
25425         (insertBeforeStart): Likewise.
25426         (insertBeforeEnd): Likewise.
25427         (insertAfterEnd): Likewise.
25428         (insertAfterStart): Likewise.
25429         * javax/swing/table/JTableHeader.java (AccessibleJTableHeaderEntry):
25430         Mark all methods as stub.s
25431         * javax/swing/plaf/metal/MetalTreeUI.java (decodeLineStyle): Mark
25432         as stub.
25433         (paintHorizontalSeparators): Likewise.
25434         * javax/swing/plaf/basic/BasicLookAndFeel.java (loadSystemColors):
25435         Mark as stub.
25436         * javax/swing/MenuSelectionManager.java (processKeyEvent): Mark as
25437         stub.
25438         * java/beans/beancontext/BeanContextSupport.java: Mark most methods
25439         as stubs.
25440         * java/beans/beancontext/BeanContextServicesSupport.java: Mark most
25441         methods as stubs.
25442
25443 2006-03-22  Mark Wielaard  <mark@klomp.org>
25444
25445         * gnu/java/awt/peer/gtk/GtkCursor.java: New class.
25446
25447 2006-03-22  Mark Wielaard  <mark@klomp.org>
25448
25449         Fixes bug #26527
25450         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (gtkWidgetSetCursor):
25451         Takes GtkImage, x and y coordinates.
25452         (gtkWidgetSetCursorUnlocked): Likewise.
25453         (GtkComponentPeer): Set cursor when set.
25454         (setCursor): Handle GtkCursor.
25455         * gnu/java/awt/peer/gtk/GtkToolkit.java (createCustomCursor):
25456         New method.
25457         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
25458         (gtkWidgetSetCursor): Takes GtkImage, x and y coordinates.
25459         (gtkWidgetSetCursorUnlocked): Likewise. Handle custom image.
25460         * include/gnu_java_awt_peer_gtk_GtkComponentPeer.h: Regenerated.
25461
25462 2006-03-23  Roman Kennke  <kennke@aicas.com>
25463
25464         PR 26805
25465         * gnu/java/security/Registry.java
25466         (PKCS5_PAD): Added pad PKCS#5 algorithm.
25467         * gnu/javax/crypto/pad/PadFactory.java
25468         (getInstance): For PKCS#5, also return PKCS#7 pad
25469         algorithm.
25470         (getNames): Added PKCS#5.
25471         * javax/crypto/KeyGenerator.java
25472         (getInstance): Initialize key generator before returning
25473         it.
25474
25475 2006-03-23  Ito Kazumitsu  <kaz@maczuka.gcd.org>
25476
25477         * gnu/regexp/RE.java(REG_X_COMMENTS): New copilation flag,
25478         (initialize): Ignore whiltespaces and comments if REG_X_COMMENTS is set.
25479         * java/util/regex/Pattern.java(constructor): Set RE.REG_X_COMMENTS
25480         if COMMENTS is set.
25481
25482 2006-03-22  Tom Tromey  <tromey@redhat.com>
25483
25484         * javax/swing/plaf/synth/SynthStyle.java (getInt): Implemented.
25485         (getBoolean): Likewise.
25486         (getString): Likewise.
25487         (getIcon): Likewise.
25488
25489 2006-03-22  Mark Wielaard  <mark@klomp.org>
25490
25491         Fixes bug #26301
25492         * gnu/java/awt/peer/GLightweightPeer.java: Extend MouseAdapter.
25493         (GLightweightPeer(Component)): Install MouseListener.
25494         (setCursor): Implement.
25495         (mouseEntered): New method.
25496
25497 2006-03-22  Tom Tromey  <tromey@redhat.com>
25498
25499         * javax/swing/plaf/synth/ColorType.java (MAX_COUNT): No longer
25500         constant.
25501         * javax/swing/plaf/synth/SynthStyle.java (getColorForState): Now
25502         protected.
25503         (getFontForState): Likewise.
25504         (getInsets): Added 'result' argument.
25505         (getPainter): Renamed.
25506
25507 2006-03-22  Tom Tromey  <tromey@redhat.com>
25508
25509         * javax/swing/plaf/synth/SynthPainter.java
25510         (paintScrollBarThumbBackground): Added 'orientation' argument.
25511         (paintScrollBarThumbBorder): Likewise.
25512         (paintSliderThumbBackground): Likewise.
25513         (paintSliderThumbBorder): Likewise.
25514         (paintTabbedPaneTabBackground): Added 'index' argument.
25515         (paintTabbedPaneTabBorder): Likewise.
25516
25517 2006-03-22  Tom Tromey  <tromey@redhat.com>
25518
25519         * java/awt/ScrollPaneAdjustable.java (paramString): Implemented.
25520         (toString): New method.
25521
25522 2006-03-22  Tom Tromey  <tromey@redhat.com>
25523
25524         * doc/hacking.texinfo (Source Code Style Guide): Mention
25525         NotImplementedException.
25526         * javax/imageio/stream/MemoryCacheImageOutputStream.java
25527         (flushBefore): Mark as stub.
25528         (read): Likewise.
25529         * javax/imageio/stream/MemoryCacheImageInputStream.java (flushBefore):
25530         Mark as stub.
25531         * javax/imageio/stream/ImageOutputStreamImpl.java (flushBits): Mark
25532         as stub.
25533         (write): Likewise.
25534         (writeBit): Likewise.
25535         (writeChars): Likewise.
25536         (writeUTF): Likewise.
25537         * javax/imageio/stream/FileCacheImageOutputStream.java (read): Mark
25538         as stub.
25539         (read): Likewise.
25540         * java/net/URLConnection.java (getContent): Mark as stub.
25541         * java/awt/Window.java (applyResourceBundle): Mark as stub.
25542         * java/awt/TexturePaint.java (createContext): Mark as stub.
25543         (getTransparency): Mark as stub.
25544         * java/awt/ScrollPaneAdjustable.java (paramString): Mark as stub.
25545         * java/awt/GridBagLayout.java (AdjustForGravity): Mark as stub.
25546         * java/awt/GraphicsConfiguration.java (getBufferCapabilities): Mark as
25547         stub.
25548         (getImageCapabilities): Likewise.
25549         * java/awt/BasicStroke.java (createStrokedShape): Mark as stub.
25550         * java/awt/AlphaComposite.java (createContext): Mark as stub.
25551         * java/awt/image/renderable/RenderableImageProducer.java: Mark all
25552         methods as stubs.
25553         * java/awt/font/TextMeasurer.java (deleteChar): Mark as stub.
25554         (getAdvanceBetween): Likewise.
25555         (getLayout): Likewise.
25556         (insertChar): Likewise.
25557         (getLineBreakIndex): Likewise.
25558         * java/awt/font/ShapeGraphicAttribute.java (draw): Mark as stub.
25559         (getAdvance): Likewise.
25560         (getAscent): Likewise.
25561         (getDescent): Likewise.
25562         * java/awt/font/LineBreakMeasurer.java (deleteChar): Mark as stub.
25563         (insertChar): Likewise.
25564         (nextLayout): Likewise.
25565         (nextLayout): Likewise.
25566         (nextOffset): Likewise.
25567         (nextOffset): Likewise.
25568         * java/awt/font/ImageGraphicAttribute.java (draw): Mark as stub.
25569         (equals): Likewise.
25570         (getAdvance): Likewise.
25571         (getAscent): Likewise.
25572         (getBounds): Likewise.
25573         (getDescent): Likewise.
25574         (hashCode): Likewise.
25575         (ImageGraphicAttribute): Likewise.
25576         * java/awt/font/GraphicAttribute.java (getBounds): Mark as stub.
25577         (getJustificationInfo): Likewise.
25578         * java/awt/font/GlyphVector.java (getGlyphCharIndex): Mark as stub.
25579         (getGlyphCharIndices): Likewise.
25580         (getGlyphOutline): Likewise.
25581         (getGlyphPixelBounds): Likewise.
25582         (getLayoutFlags): Likewise.
25583         (getPixelBounds): Likewise.
25584         * java/awt/font/GlyphMetrics.java (getLSB): Mark as stub.
25585         (getRSB): Likewise.
25586         * java/nio/channels/Channels.java (newWriter): Mark as stub.
25587         * java/awt/dnd/DragSourceContext.java: Marked most methods as stubs.
25588         * java/awt/dnd/DragGestureRecognizer.java (fireDragGestureRecognized):
25589         Mark as stub.
25590         (resetRecognizer): Likewise.
25591         * java/awt/datatransfer/SystemFlavorMap.java (getFlavorsForNative):
25592         Mark as stub.
25593         (getNativesForFlavor): Likewise.
25594         * javax/swing/plaf/synth/SynthStyle.java: Mark all methods as stub.s
25595         * javax/swing/plaf/synth/SynthLookAndFeel.java (updateStyles): Mark
25596         as stub.
25597         (getRegion): Likewise.
25598         (createUI): Likewise.
25599         (initialize): Likewise.
25600         (uninitialize): Likewise.
25601         (getDefaults): Likewise.
25602         (load): Likewise.
25603         (shouldUpdateStyleOnAncestorChanged): Likewise.
25604         * javax/swing/plaf/synth/SynthGraphicsUtils.java (getMinimumSize):
25605         Mark as stub.
25606         (getPreferredSize): Likewise.
25607         (getMaximumSize): Likewise.
25608         (paintText): Likewise.
25609         * java/text/RuleBasedCollator.java (getCollationElementIterator): Mark
25610         as stub.
25611         * java/text/Collator.java (getAvailableLocales): Mark as stub.
25612
25613 2006-03-22  Wolfgang Baer  <WBaer@gmx.de>
25614
25615         * java/io/ObjectStreamConstants.java: Added since tag.
25616         (PROTOCOL_VERSION_1): Added javadoc.
25617         (PROTOCOL_VERSION_2): Likewise.
25618         * java/io/ObjectOutputStream.java: 
25619         (setDefaultProtocolVersion): Removed.
25620         (useProtocolVersion): Fixed parameter tests. Updated javadoc.
25621         
25622 2006-03-21  Lillian Angel  <langel@redhat.com>
25623
25624         * gnu/javax/imageio/bmp/BMPInfoHeader.java
25625         (BMPInfoHeader): Removed debug lines.
25626         * gnu/javax/imageio/bmp/EncodeRLE4.java
25627         (encode): Implemented.
25628         (uncompress): New function implemented to
25629         uncompress the image before encoding.
25630         * gnu/javax/imageio/bmp/EncodeRLE8.java
25631         (encode): Implemented.
25632         (uncompress): New function implemented to
25633         uncompress the image before encoding.
25634
25635 2006-03-21  Roman Kennke  <kennke@aicas.com>
25636
25637         * javax/swing/text/html/FormView.java
25638         (getImageData): New helper method.
25639
25640 2006-03-21  Tom Tromey  <tromey@redhat.com>
25641
25642         * vm/reference/gnu/classpath/Unsafe.java (arrayBaseOffset): Javadoc
25643         fix.
25644         (Unsafe): Now final.
25645
25646 2006-03-21  Roman Kennke  <kennke@aicas.com>
25647
25648         * javax/swing/text/html/FormView.java
25649         (MouseEventListener): New inner class.
25650
25651 2006-03-21  Roman Kennke  <kennke@aicas.com>
25652
25653         * javax/swing/text/html/ListView.java: New file.
25654
25655 2006-03-21  Tom Tromey  <tromey@redhat.com>
25656
25657         * java/text/Bidi.java: Completed.
25658
25659 2006-03-21  Anthony Balkissoon  <abalkiss@redhat.com>
25660
25661         * javax/swing/JTable.java:
25662         (columnAtPoint): Removed the null check, this method should throw a NPE
25663         if the argument is null.
25664
25665 2006-03-21  Robert Schuster  <robertschuster@fsfe.org>
25666
25667         * javax/swing/text/DefaultHighlighter.java:
25668         (DefaultHighlighter.DefaultHighlightPainter.paint): Rewritten.
25669
25670 2006-03-21  Robert Schuster  <robertschuster@fsfe.org>
25671
25672         * javax/swing/text/DefaultCaret.java: Added class variable denoting
25673         the textcomponent having a selection.
25674         (clearSelection): Clear 'componentWithSelection' variable.
25675         (handleSelection): Clear selection of current component having a
25676         selection before setting a new selection in another component.
25677         (mouseDragged): Only react on left mouse button.
25678         (mouseClicked): Only react on left mouse button.
25679
25680 2006-03-21  Roman Kennke  <kennke@aicas.com>
25681
25682         * javax/swing/plaf/metal/MetalTabbedPaneUI.java
25683         (paintContentBorderTopEdge): Implemented.
25684         (paintContentBorderBottomEdge): Implemented.
25685         (paintContentBorderLeftEdge): Implemented.
25686         (paintContentBorderRightEdge): Implemented.
25687         (isLastTabInRun): New helper method.
25688
25689 2006-03-21  Roman Kennke  <kennke@aicas.com>
25690
25691         * javax/swing/JTabbedPane.java
25692         (Page.getForeground): Fall back to returning the tabbed pane's
25693         foreground if no foreground has been exclicitly set.
25694
25695 2006-03-21  Roman Kennke  <kennke@aicas.com>
25696
25697         * javax/swing/plaf/metal/MetalComboBoxButton.java
25698         (setEnabled): Update colors of button correctly.
25699         * javax/swing/plaf/metal/MetalComboBoxUI.java
25700         (MetalPropertyChangeListener.propertyChange): Update the colors
25701         of the list and the button when any of the color properties
25702         of the ComboBox change.
25703
25704 2006-03-21  Roman Kennke  <kennke@aicas.com>
25705
25706         * javax/swing/plaf/basic/BasicButtonUI.java
25707         (uninstallDefaults): Only nullify button colors if they are
25708         not UIResource instances.
25709
25710 2006-03-21  David Gilbert  <david.gilbert@object-refinery.com>
25711
25712         * javax/swing/JComponent.java
25713         (AccessibleJComponent.getAccessibleDescription): Call super,
25714         * javax/swing/JToolTip.java: API doc updates all over, plus
25715         (AccessibleJToolTip.getAccessibleDescription): Implemented,
25716         (AccessibleJToolTip.getAccessibleRole): Implemented,
25717         (getAccessibleContext): Implemented,
25718         (paramString): Reimplemented,
25719         (setComponent): Fire PropertyChangeEvent,
25720         (setTipText): Likewise.
25721
25722 2006-03-20  Andrew John Hughes  <gnu_andrew@member.fsf.org>
25723
25724         * java/util/Formatter.java:
25725         Make the class final.
25726         
25727 2006-03-20  Andrew John Hughes  <gnu_andrew@member.fsf.org>
25728
25729         * java/lang/System.java:
25730         (nanoTime()): Documented.
25731         * java/lang/Thread.java:
25732         (setUncaughtExceptionHandler(UncaughtExceptionHandler):
25733         Added docs and security check.
25734         (getUncaughtExceptionHandler()): Documented.
25735         (setDefaultUncaughtExceptionHandler(UncaughtExceptionHandler):
25736         Added docs and security check.
25737         (getDefaultUncaughtExceptionHandler()): Documented.
25738         (getId()): Documented.
25739         (Thread.State): Documented.
25740         * vm/reference/gnu/classpath/Unsafe.java:
25741         Documented.
25742         (getUnsafe()): Updated to handle security.
25743         
25744 2006-03-20  Tom Tromey  <tromey@redhat.com>
25745
25746         * java/lang/System.java:
25747         (nanoTime()): Implemented.
25748         * java/lang/Thread.java:
25749         (getId()): Implemented.
25750         * java/util/AbstractMap.java:
25751         (SimpleImmutableEntry): New 1.6 class.
25752         (BasicMapEntry): Modified to be SimpleEntry.
25753         * java/util/Collections.java:
25754         Modified to use SimpleEntry.
25755         * java/util/EnumMap.java: Likewise.
25756         * java/util/HashMap.java: Likewise.
25757         * java/util/Hashtable.java: Likewise.
25758         * java/util/TreeMap.java: Likewise.
25759         * vm/reference/gnu/classpath/Unsafe.java:
25760         New class to handle low-level facilities for concurrency.
25761         * vm/reference/java/lang/VMSystem.java:
25762         (nanoTime()): Implemented.
25763         
25764 2006-03-20  Tom Tromey  <tromey@redhat.com>
25765
25766         * java/security/cert/PKIXCertPathChecker.java: Javadoc fix.
25767         * java/security/cert/CertStoreSpi.java: Added import for javadoc.
25768         (CertStoreSpi): Updated throws clause.
25769         * java/security/cert/CertPathValidatorSpi.java: Added import for
25770         javadoc.
25771         (engineValidate): Updated 'throws' clause.
25772         * java/security/cert/PKIXParameters.java: Javadoc fix.
25773         * java/security/cert/X509CertSelector.java
25774         (setAuthorityKeyIdentifier): Javadoc fix.
25775
25776 2006-03-20  Tom Tromey  <tromey@redhat.com>
25777
25778         * .classpath: Build gnu.javax.swing.plaf.
25779
25780 2006-03-20  Lillian Angel  <langel@redhat.com>
25781
25782         * gnu/javax/imageio/bmp/BMPDecoder.java:
25783         Removed unneeded import.
25784         * gnu/javax/imageio/bmp/BMPEncoder.java:
25785         New class.
25786         * gnu/javax/imageio/bmp/BMPFileHeader.java
25787         (BMPFileHeader): New constructor used to create info header
25788         for an output stream.
25789         (write): Fixed indexes.
25790         * gnu/javax/imageio/bmp/BMPImageReaderSpi.java:
25791         Initialized writerSpiNames field.
25792         * gnu/javax/imageio/bmp/BMPImageWriter.java:
25793         New class.
25794         * gnu/javax/imageio/bmp/BMPImageWriterSpi.java:
25795         New class.
25796         * gnu/javax/imageio/bmp/BMPInfoHeader.java:
25797         Change visibility for fields.
25798         (BMPInfoHeader): New constructor used to create
25799         file header for an output stream.
25800         (intToDWord): New method. Converts an int to a
25801         double word.
25802         (intToWord): New method. Converts an int to a word.
25803         * gnu/javax/imageio/bmp/DecodeBF32.java:
25804         Removed unneeded imports.
25805         * gnu/javax/imageio/bmp/EncodeRGB1.java:
25806         New class.
25807         * gnu/javax/imageio/bmp/EncodeRGB16.java:
25808         New class.
25809         * gnu/javax/imageio/bmp/EncodeRGB24.java:
25810         New class.
25811         * gnu/javax/imageio/bmp/EncodeRGB32.java:
25812         New class.
25813         * gnu/javax/imageio/bmp/EncodeRGB4.java:
25814         New class.
25815         * gnu/javax/imageio/bmp/EncodeRGB8.java:
25816         New class.
25817         * gnu/javax/imageio/bmp/EncodeRLE4.java:
25818         New class.
25819         * gnu/javax/imageio/bmp/EncodeRLE8.java:
25820         New class.
25821         * javax/imageio/ImageIO.java:
25822         Fixed comment.
25823
25824 2006-03-20  Roman Kennke  <kennke@aicas.com>
25825
25826         * javax/swing/plaf/metal/MetalTabbedPaneUI.java
25827         (TabbedPaneLayout.normalizeTabRuns): New method.
25828         (createLayoutManager): Return the Metal TabbedPaneLayout, not super.
25829         (paintTabBorder): Replaced if-else chain with switch.
25830         (paintTopTabBorder): Rewritten to correctly paint tab. Also support
25831         Ocean theme.
25832         (paintBottomTabBorder): Rewritten to correctly paint tab. Also support
25833         Ocean theme.
25834         (paintLeftTabBorder): Rewritten to correctly paint tab. Also support
25835         Ocean theme.
25836         (paintRightTabBorder): Rewritten to correctly paint tab. Also support
25837         Ocean theme.
25838         (paintTabBackground): Fetch background color from the TabbedPane.
25839         Fixed painting and improved by not using fillPolygon, and instead
25840         using fillRectangle. Replaced if-else chain with switch.
25841         (calculateMaxTabHeight): Added overridden method with FIXME.
25842         (getTabRunOverlay): Overridden to provide overlay for LEFT or RIGHT
25843         placement.
25844         (paintContentBorderTopEdge): Added stub with FIXME.
25845         (paintContentBorderBottomEdge): Added stub with FIXME.
25846         (paintContentBorderLeftEdge): Added stub with FIXME.
25847         (paintContentBorderRightEdge): Added stub with FIXME.
25848
25849 2006-03-20  Roman Kennke  <kennke@aicas.com>
25850
25851         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
25852         (tabsOpaque): New field.
25853         (installDefaults): Fetch tabsOpaque property from UIManager.
25854         (paintTab): Fill tab background when tabsOpaque property is true.
25855         * javax/swing/plaf/basic/BasicLookAndFeel.java
25856         (initComponentDefaults): Added TabbedPane.tabsOpaque property.
25857
25858 2006-03-20  Roman Kennke  <kennke@aicas.com>
25859
25860         * javax/swing/JTabbedPane.java
25861         (Pane.getBackground): When no background was explicitly set, return
25862         the JTabbedPane's background.
25863
25864 2006-03-20  Wolfgang Baer  <WBaer@gmx.de>
25865
25866         * org/omg/CORBA/ACTIVITY_COMPLETED.java,
25867         * org/omg/CORBA/ACTIVITY_REQUIRED.java,
25868         * org/omg/CORBA/BAD_INV_ORDER.java,
25869         * org/omg/CORBA/BAD_CONTEXT.java,
25870         * org/omg/CORBA/BAD_OPERATION.java,
25871         * org/omg/CORBA/BAD_PARAM.java,
25872         * org/omg/CORBA/BAD_QOS.java,
25873         * org/omg/CORBA/BAD_TYPECODE.java,
25874         * org/omg/CORBA/CODESET_INCOMPATIBLE.java,
25875         * org/omg/CORBA/COMM_FAILURE.java,
25876         * org/omg/CORBA/CurrentHolder.java,
25877         * org/omg/CORBA/DATA_CONVERSION.java,
25878         * org/omg/CORBA/FREE_MEM.java,
25879         * org/omg/CORBA/IMP_LIMIT.java,
25880         * org/omg/CORBA/INITIALIZE.java,
25881         * org/omg/CORBA/INTERNAL.java,
25882         * org/omg/CORBA/INTF_REPOS.java,
25883         * org/omg/CORBA/INVALID_ACTIVITY.java,
25884         * org/omg/CORBA/INVALID_TRANSACTION.java,
25885         * org/omg/CORBA/INV_FLAG.java,
25886         * org/omg/CORBA/INV_IDENT.java,
25887         * org/omg/CORBA/INV_OBJREF.java,
25888         * org/omg/CORBA/INV_POLICY.java,
25889         * org/omg/CORBA/MARSHAL.java,
25890         * org/omg/CORBA/NO_RESOURCES.java,
25891         * org/omg/CORBA/NO_MEMORY.java,
25892         * org/omg/CORBA/NO_IMPLEMENT.java,
25893         * org/omg/CORBA/NO_PERMISSION.java,
25894         * org/omg/CORBA/NO_RESPONSE.java,
25895         * org/omg/CORBA/OBJECT_NOT_EXIST.java,
25896         * org/omg/CORBA/OBJ_ADAPTER.java,
25897         * org/omg/CORBA/ParameterModeHolder.java,
25898         * org/omg/CORBA/PolicyError.java,
25899         * org/omg/CORBA/PolicyErrorHolder.java,
25900         * org/omg/CORBA/PolicyHolder.java,
25901         * org/omg/CORBA/PolicyListHolder.java,
25902         * org/omg/CORBA/REBIND.java,
25903         * org/omg/CORBA/TIMEOUT.java,
25904         * org/omg/CORBA/TRANSACTION_MODE.java,
25905         * org/omg/CORBA/TRANSACTION_REQUIRED.java,
25906         * org/omg/CORBA/TRANSACTION_ROLLEDBACK.java,
25907         * org/omg/CORBA/TRANSACTION_UNAVAILABLE.java,
25908         * org/omg/CORBA/TRANSIENT.java,
25909         * org/omg/CORBA/TypeCodeHolder.java,
25910         * org/omg/CORBA/UNKNOWN.java,
25911         * org/omg/CORBA/UnionMember.java,
25912         * org/omg/CORBA/UnknownUserException.java,
25913         * org/omg/CORBA/UnknownUserExceptionHolder.java,
25914         * org/omg/CORBA/WrongTransactionHolder.java,
25915         * org/omg/IOP/IOR.java,
25916         * org/omg/IOP/IORHolder.java,
25917         * org/omg/IOP/MultipleComponentProfileHolder.java,
25918         * org/omg/IOP/ServiceContextHolder.java,
25919         * org/omg/IOP/ServiceContextListHolder.java,
25920         * org/omg/IOP/TaggedComponentHolder.java,
25921         * org/omg/IOP/TaggedProfileHolder.java,
25922         * org/omg/PortableInterceptor/ObjectReferenceTemplateSeqHolder.java,
25923         * org/omg/PortableInterceptor/ObjectReferenceTemplateHolder.java,
25924         * org/omg/PortableInterceptor/IORInterceptor_3_0Holder.java,
25925         * org/omg/PortableInterceptor/ObjectReferenceFactoryHolder.java:
25926         Made class final, various javadoc fixlets.      
25927         * org/omg/CORBA/CompletionStatus.java, 
25928         * org/omg/CORBA/PERSIST_STORE.java,
25929         * org/omg/CORBA/ValueMember.java,
25930         * org/omg/PortableInterceptor/ForwardRequest.java,
25931         * org/omg/PortableInterceptor/InvalidSlot.java,
25932         * org/omg/IOP/CodecPackage/TypeMismatch.java,
25933         * org/omg/IOP/CodecPackage/InvalidTypeForEncoding.java,
25934         * org/omg/IOP/CodecPackage/FormatMismatch.java,
25935         * org/omg/IOP/CodecFactoryPackage/UnknownEncoding.java,
25936         * org/omg/IOP/Encoding.java,
25937         * org/omg/IOP/TaggedComponent.java,
25938         * org/omg/IOP/TaggedProfile.java: Made class final.
25939         * org/omg/CORBA/SystemException.java: Made class abstract.      
25940         * org/omg/CORBA/UserException.java: Made class abstract.
25941         (UserException): Now protected.
25942         (UserException(String)): Likewise.
25943         * org/omg/Messaging/SyncScopeHelper.java: Now abstract, javadoc fixes.
25944         (typecode): Removed unused private variable.
25945
25946 2006-03-20  Chris Burdess  <dog@gnu.org>
25947
25948         Fixes PR 26761
25949         * gnu/xml/stream/XMLParser.java: Permit U+fffd as XML Char.
25950
25951 2006-03-20  Roman Kennke  <kennke@aicas.com>
25952
25953         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
25954         (paintTabArea): Look up tab run indices in tabRuns array instead
25955         of using the index directly.
25956
25957 2006-03-20  Roman Kennke  <kennke@aicas.com>
25958
25959         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
25960         (paintTab): Fixed painting.
25961         (paintText): Fixed text painting.
25962         (paintFocusIndicator): Fixed painting of the focus rectangle.
25963         (paintContentBorder): Fixed painting of the content area.
25964
25965 2006-03-20  Mark Wielaard  <mark@klomp.org>
25966
25967         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java (pixbufLock): New
25968         static lock Object field.
25969         (produce): Synchronize on pixbufLock when calling initState(),
25970         pumpBytes() and pumpDone().
25971         (finalize): Likewise when calling finish().
25972         (GdkPixbufWriter.write): Likewise when calling streamImage().
25973         * gnu/java/awt/peer/gtk/GtkImage.java (GtkImage(String)): Likewise
25974         when calling loadPixbuf. Chain exception.
25975         (GtkImage(byte[])): Likewise when calling loadImageFromData.
25976         (GtkImage(URL)): Likewise.
25977         (GtkImage(int,int)): Likewise when calling createPixmap().
25978         (GtkImage(GtkImage,int,int,int)): Likewise when calling
25979         createScaledPixmap().
25980         (GtkImage(Pointer)): Likewise when calling createFromPixbuf().
25981         (setImage): Likewise when calling createPixmap() and setPixels().
25982         (getSource): Likewise when calling getPixels().
25983         (flush): Likewise when calling freePixmap().
25984         (finalize): Likewise.
25985         (drawImage): Likewise when calling drawPixelsScaledFlipped() and
25986         drawPixelsScaledFlipped().
25987         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
25988         (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_initState): Remove
25989         gdk_threads_enter/leave().
25990         (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_finish): Likewise.
25991         (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_pumpDone): Likewise.
25992         (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_streamImage): Likewise.
25993         (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_pumpBytes): Likewise.
25994         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c
25995         (Java_gnu_java_awt_peer_gtk_GtkImage_loadPixbuf): Likewise.
25996         (Java_gnu_java_awt_peer_gtk_GtkImage_loadImageFromData): Likewise.
25997         (Java_gnu_java_awt_peer_gtk_GtkImage_createFromPixbuf): Likewise.
25998         (Java_gnu_java_awt_peer_gtk_GtkImage_getPixels): Likewise.
25999         (Java_gnu_java_awt_peer_gtk_GtkImage_setPixels): Likewise.
26000         (Java_gnu_java_awt_peer_gtk_GtkImage_createPixmap): Likewise.
26001         (Java_gnu_java_awt_peer_gtk_GtkImage_freePixmap): Likewise.
26002         (Java_gnu_java_awt_peer_gtk_GtkImage_createScaledPixmap): Likewise.
26003
26004 2006-03-20  Roman Kennke  <kennke@aicas.com>
26005
26006         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
26007         (calculateTabHeight): Not need to use SwingUtilities here.
26008         (getTabInsets): Do not rotate insets.
26009
26010 2006-03-20  Roman Kennke  <kennke@aicas.com>
26011
26012         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
26013         (paint): Make sure the layout is valid before painting.
26014         (paintTabArea): Made tab painting more straightforward and efficient.
26015
26016 2006-03-20  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
26017
26018         * javax/swing/JTable.java (ROWS_PER_WHEEL_CLICK): Removed.
26019         (getScrollableUnitIncrement): Rewritten.
26020         * javax/swing/JTree.java (ROWS_PER_WHEEL_CLICK): Removed.
26021         (getScrollableUnitIncrement): Rewritten.
26022         * javax/swing/plaf/basic/BasicScrollPaneUI.java
26023         (ROWS_PER_WHEEL_CLICK): New field. 
26024         (MouseWheelHandler.mouseWheelMoved): Rewritten.
26025
26026 2006-03-20  Roman Kennke  <kennke@aicas.com>
26027
26028         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
26029         (paint): Make sure the layout is valid before painting.
26030         (paintTabArea): Made tab painting more straightforward and efficient.
26031
26032 2006-03-20  Roman Kennke  <kennke@aicas.com>
26033
26034         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
26035         (MouseHandler.mousePressed): Rewritten for clearer and simpler
26036         code.
26037         (MouseHandler.mouseEntered): Implemented to set the rollover tab.
26038         (MouseHandler.mouseMoved): Implemented to set the rollover tab.
26039         (MouseHandler.mouseExited): Implemented to unset the rollover tab.
26040         (TabbedPaneLayout.calculateLayoutInfo): Don't set the component's
26041         bounds here. That is moved into layoutContainer().
26042         (calculateSize): Correctly respect insets. Made code slightly more
26043         clear and efficient.
26044         (calculateTabRects): Rewritten completely. The old code was
26045         not quite right and unstable in some situations.
26046         (layoutContainer): Moved layout of tabbed pane's subcomponents
26047         here.
26048         (tabRunsDirty): New field.
26049         (rolloverTab): New field.
26050         (tabForCoordinate): Rewritten for simplicity and correctness.
26051         (setRolloverTab): New method.
26052         (getRolloverTab): New method.
26053
26054 2006-03-20  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
26055
26056         * javax/swing/JTable.java (getScrollableUnitIncrement): Rewritten.
26057         * javax/swing/JTree.java (getScrollableUnitIncrement): Rewritten.
26058         (getScrollableUnitIncrement
26059         * javax/swing/Scrollable.java: Documented.
26060         * javax/swing/plaf/basic/BasicScrollPaneUI.java 
26061         (MouseWheelHandler):Rewritten.
26062
26063 2006-03-20  Andrew John Hughes  <gnu_andrew@member.fsf.org>
26064
26065         * doc/vmintegration.texinfo:
26066         Updated with gnu.classpath.Unsafe
26067         
26068 2006-03-20  Andrew John Hughes  <gnu_andrew@member.fsf.org>
26069
26070         * NEWS:
26071         Updated with VMArray and Unsafe changes.
26072         
26073 2006-03-20  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
26074
26075         * javax/swing/JTable.java (ROWS_PER_WHEEL_CLICK): New field.
26076         (getScrollableUnitIncrement): Rewritten.
26077         * javax/swing/JTree.java (ROWS_PER_WHEEL_CLICK): New field.
26078         (getScrollableUnitIncrement): Rewritten. 
26079         (getScrollableBlockIncrement): Rewritten.
26080         * javax/swing/plaf/basic/BasicScrollPaneUI.java 
26081         (MouseWheelHandler): Implemented. (ViewportContainerListener): 
26082         New class. (containerListener): New field. (SCROLL_NON_SCROLABLES): 
26083         New field. (installListeners): Install wheel listeners. 
26084         (uninstallListeners): Uninstall wheel listeners.
26085         * javax/swing/plaf/basic/BasicTableUI.java: Remove the implementation
26086         of the MouseWheelListener. (installListeners): Do not install wheel
26087         listener. (ROWS_PER_WHEEL_CLICK): Removed.
26088
26089 2006-03-19  Andrew John Hughes  <gnu_andrew@member.fsf.org>
26090
26091         * vm/reference/gnu/classpath/Unsafe.java:
26092         Documented.
26093         (getUnsafe()): Updated to handle security.
26094
26095 2006-03-19  Tom Tromey  <tromey@redhat.com>
26096
26097         * vm/reference/gnu/classpath/Unsafe.java:
26098         New class to handle low-level facilities for concurrency.
26099
26100 2006-03-19  Mark Wielaard  <mark@klomp.org>
26101
26102         * include/Makefile.am: Rename PlainDatagramSocketImpl to
26103         VMPlainDatagramSocketImpl and PlainSocketImpl to VMPlainSocketImpl.
26104         * include/gnu_java_net_VMPlainDatagramSocketImpl.h: Regenerated.
26105         * include/gnu_java_net_VMPlainSocketImpl.h: Likewise.
26106
26107 2006-03-19  Mark Wielaard  <mark@klomp.org>
26108
26109         * gnu/java/awt/peer/gtk/GdkFontPeer.java (getPostScriptName): Return
26110         familyName.
26111         * gnu/java/awt/peer/gtk/GtkFontPeer.java: Removed unused file.
26112
26113 2006-03-19  Michael Koch  <konqueror@gmx.de>
26114
26115         * resource/gnu/java/locale/LocaleInformation_aa_ET.properties,
26116         resource/gnu/java/locale/LocaleInformation_am.properties,
26117         resource/gnu/java/locale/LocaleInformation_am_ET.properties,
26118         resource/gnu/java/locale/LocaleInformation_as_IN.properties,
26119         resource/gnu/java/locale/LocaleInformation_az_Cyrl.properties,
26120         resource/gnu/java/locale/LocaleInformation_bg.properties,
26121         resource/gnu/java/locale/LocaleInformation_bn_IN.properties,
26122         resource/gnu/java/locale/LocaleInformation_ca.properties,
26123         resource/gnu/java/locale/LocaleInformation_cs.properties,
26124         resource/gnu/java/locale/LocaleInformation_cy.properties,
26125         resource/gnu/java/locale/LocaleInformation_da.properties,
26126         resource/gnu/java/locale/LocaleInformation_de.properties,
26127         resource/gnu/java/locale/LocaleInformation_dv.properties,
26128         resource/gnu/java/locale/LocaleInformation_el.properties,
26129         resource/gnu/java/locale/LocaleInformation_en.properties,
26130         resource/gnu/java/locale/LocaleInformation_en_GB.properties,
26131         resource/gnu/java/locale/LocaleInformation_en_IN.properties,
26132         resource/gnu/java/locale/LocaleInformation_en_PK.properties,
26133         resource/gnu/java/locale/LocaleInformation_en_SG.properties,
26134         resource/gnu/java/locale/LocaleInformation_en_US_POSIX.properties,
26135         resource/gnu/java/locale/LocaleInformation_es.properties,
26136         resource/gnu/java/locale/LocaleInformation_es_AR.properties,
26137         resource/gnu/java/locale/LocaleInformation_es_BO.properties,
26138         resource/gnu/java/locale/LocaleInformation_es_CL.properties,
26139         resource/gnu/java/locale/LocaleInformation_es_CO.properties,
26140         resource/gnu/java/locale/LocaleInformation_es_CR.properties,
26141         resource/gnu/java/locale/LocaleInformation_es_DO.properties,
26142         resource/gnu/java/locale/LocaleInformation_es_EC.properties,
26143         resource/gnu/java/locale/LocaleInformation_es_ES.properties,
26144         resource/gnu/java/locale/LocaleInformation_es_GT.properties,
26145         resource/gnu/java/locale/LocaleInformation_es_HN.properties,
26146         resource/gnu/java/locale/LocaleInformation_es_MX.properties,
26147         resource/gnu/java/locale/LocaleInformation_es_NI.properties,
26148         resource/gnu/java/locale/LocaleInformation_es_PA.properties,
26149         resource/gnu/java/locale/LocaleInformation_es_PE.properties,
26150         resource/gnu/java/locale/LocaleInformation_es_PR.properties,
26151         resource/gnu/java/locale/LocaleInformation_es_PY.properties,
26152         resource/gnu/java/locale/LocaleInformation_es_SV.properties,
26153         resource/gnu/java/locale/LocaleInformation_es_US.properties,
26154         resource/gnu/java/locale/LocaleInformation_es_UY.properties,
26155         resource/gnu/java/locale/LocaleInformation_es_VE.properties,
26156         resource/gnu/java/locale/LocaleInformation_fa.properties,
26157         resource/gnu/java/locale/LocaleInformation_fa_AF.properties,
26158         resource/gnu/java/locale/LocaleInformation_fa_IR.properties,
26159         resource/gnu/java/locale/LocaleInformation_fi.properties,
26160         resource/gnu/java/locale/LocaleInformation_fr.properties,
26161         resource/gnu/java/locale/LocaleInformation_fr_CA.properties,
26162         resource/gnu/java/locale/LocaleInformation_ga.properties,
26163         resource/gnu/java/locale/LocaleInformation_gu_IN.properties,
26164         resource/gnu/java/locale/LocaleInformation_hi_IN.properties,
26165         resource/gnu/java/locale/LocaleInformation_hr.properties,
26166         resource/gnu/java/locale/LocaleInformation_hu.properties,
26167         resource/gnu/java/locale/LocaleInformation_id.properties,
26168         resource/gnu/java/locale/LocaleInformation_is.properties,
26169         resource/gnu/java/locale/LocaleInformation_it.properties,
26170         resource/gnu/java/locale/LocaleInformation_ja.properties,
26171         resource/gnu/java/locale/LocaleInformation_kk.properties,
26172         resource/gnu/java/locale/LocaleInformation_kl.properties,
26173         resource/gnu/java/locale/LocaleInformation_km.properties,
26174         resource/gnu/java/locale/LocaleInformation_ky.properties,
26175         resource/gnu/java/locale/LocaleInformation_lo.properties,
26176         resource/gnu/java/locale/LocaleInformation_lo_LA.properties,
26177         resource/gnu/java/locale/LocaleInformation_lt.properties,
26178         resource/gnu/java/locale/LocaleInformation_lt_LT.properties,
26179         resource/gnu/java/locale/LocaleInformation_lv.properties,
26180         resource/gnu/java/locale/LocaleInformation_mk.properties,
26181         resource/gnu/java/locale/LocaleInformation_mn.properties,
26182         resource/gnu/java/locale/LocaleInformation_mr.properties,
26183         resource/gnu/java/locale/LocaleInformation_mr_IN.properties,
26184         resource/gnu/java/locale/LocaleInformation_ms.properties,
26185         resource/gnu/java/locale/LocaleInformation_ms_BN.properties,
26186         resource/gnu/java/locale/LocaleInformation_mt.properties,
26187         resource/gnu/java/locale/LocaleInformation_nb.properties,
26188         resource/gnu/java/locale/LocaleInformation_nl.properties,
26189         resource/gnu/java/locale/LocaleInformation_nn.properties,
26190         resource/gnu/java/locale/LocaleInformation_om_ET.properties,
26191         resource/gnu/java/locale/LocaleInformation_or_IN.properties,
26192         resource/gnu/java/locale/LocaleInformation_pa.properties,
26193         resource/gnu/java/locale/LocaleInformation_pl.properties,
26194         resource/gnu/java/locale/LocaleInformation_pt.properties,
26195         resource/gnu/java/locale/LocaleInformation_ru.properties,
26196         resource/gnu/java/locale/LocaleInformation_ru_RU.properties,
26197         resource/gnu/java/locale/LocaleInformation_ru_UA.properties,
26198         resource/gnu/java/locale/LocaleInformation_sa.properties,
26199         resource/gnu/java/locale/LocaleInformation_sa_IN.properties,
26200         resource/gnu/java/locale/LocaleInformation_sk.properties,
26201         resource/gnu/java/locale/LocaleInformation_sr_Latn.properties,
26202         resource/gnu/java/locale/LocaleInformation_sv.properties,
26203         resource/gnu/java/locale/LocaleInformation_sw.properties,
26204         resource/gnu/java/locale/LocaleInformation_sw_TZ.properties,
26205         resource/gnu/java/locale/LocaleInformation_ta_IN.properties,
26206         resource/gnu/java/locale/LocaleInformation_te.properties,
26207         resource/gnu/java/locale/LocaleInformation_te_IN.properties,
26208         resource/gnu/java/locale/LocaleInformation_th.properties,
26209         resource/gnu/java/locale/LocaleInformation_ti.properties,
26210         resource/gnu/java/locale/LocaleInformation_ti_ER.properties,
26211         resource/gnu/java/locale/LocaleInformation_ti_ET.properties,
26212         resource/gnu/java/locale/LocaleInformation_tr.properties,
26213         resource/gnu/java/locale/LocaleInformation_tt.properties,
26214         resource/gnu/java/locale/LocaleInformation_uk.properties,
26215         resource/gnu/java/locale/LocaleInformation_ur.properties,
26216         resource/gnu/java/locale/LocaleInformation_uz.properties,
26217         resource/gnu/java/locale/LocaleInformation_zh.properties,
26218         resource/gnu/java/locale/LocaleInformation_zh_Hant.properties:
26219         More updates for CLDR 1.3.
26220         
26221 2006-03-19  Andrew John Hughes  <gnu_andrew@member.fsf.org>
26222
26223         * doc/vmintegration.texinfo:
26224         Updated to include VMArray.
26225         * include/Makefile.am:
26226         Replace java_lang_reflect_Array.h with
26227         java_lang_reflect_VMArray.h
26228         * include/java_lang_reflect_VMArray.h:
26229         New autogenerated header.
26230         * include/java_lang_reflect_Array.h:
26231         Removed.
26232         * java/lang/reflect/Array.java:
26233         (newInstance(Class,int)): Calls VMArray.
26234         (createMultiArray(Class,int[],int)): Likewise.
26235         (createObjectArray(Class,int)): Removed.
26236         * native/jni/java-lang/Makefile.am:
26237         Replaced java_lang_reflect_Array.c with
26238         java_lang_reflect_VMArray.c
26239         * native/jni/java-lang/java_lang_reflect_VMArray.c:
26240         Renamed from java_lang_reflect_Array.c.
26241         * vm/reference/java/lang/reflect/VMArray.java:
26242         (createObjectArray(Class,int)): Native method moved
26243         from java.lang.reflect.Array.
26244
26245 2006-03-19  Roman Kennke  <kennke@aicas.com>
26246
26247         * gnu/javax/swing/plaf/metal/CustomizableTheme.java: New class.
26248         * examples/gnu/classpath/examples/swing/MetalThemeEditor.java:
26249         New class.
26250         * examples/gnu/classpath/examples/swing/Demo.java
26251         (mkButtonBar): Hook up theme editor.
26252         (mkMenuBar): Hook up theme editor.
26253
26254 2006-03-19  Roman Kennke  <kennke@aicas.com>
26255
26256         * javax/swing/plaf/basic/BasicFileChooserUI.java
26257         (ApproveSelectionAction.actionPerformed): Added case for when
26258         nothing has been selected but the user has typed a filename
26259         into the textfield.
26260         (getFileName): Return the value of the text field.
26261
26262 2006-03-19  Roman Kennke  <kennke@aicas.com>
26263
26264         * javax/swing/JColorChooser.java
26265         (createDialog): Create JDialog instead of ModalDialog. Make this
26266         dialog modal by calling setModal(true).
26267         (ModalDialog): Removed unnecessary inner class.
26268
26269 2006-03-19  Tom Tromey  <tromey@redhat.com>
26270
26271         * java/awt/font/NumericShaper.java: Rewrote.
26272
26273 2006-03-19  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
26274
26275         * javax/swing/plaf/basic/BasicTableUI.java:
26276         Implement MouseWheelListener. (ROWS_PER_WHEEL_CLICK):
26277         New field. MouseInputHandler.mouseWheelMoved): New method.
26278         (installListeners): Register MouseInputHandler as
26279         wheel listener also.
26280         
26281 2006-03-19  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
26282
26283         PR 26746
26284         * javax/swing/ViewportLayout.java (layoutContainer):
26285         If Scrollable tracks dimension, set view size to the port size. 
26286         If port is larger than the view, move the view to the top/left.
26287
26288 2006-03-19  Roman Kennke  <kennke@aicas.com>
26289
26290         * javax/swing/MenuSelectionManager.java
26291         (isComponentPartOfCurrentMenu): Also consider the first element
26292         in a menu selection list. Make a isDescendentFrom check instead
26293         of simple equals to also catch sub components.
26294
26295 2006-03-19  Roman Kennke  <kennke@aicas.com>
26296
26297         * javax/swing/JComboBox.java
26298         (actionPerformed): Fetch selected item directly from the editor
26299         instead of trying to get it from the event.
26300
26301 2006-03-19  Roman Kennke  <kennke@aicas.com>
26302
26303         * javax/swing/plaf/basic/BasicComboBoxEditor.java
26304         (listener): Removed field.
26305         (BasicComboBoxEditor): Removed initialization of listener field.
26306         (addActionListener): Add listener directly to editor.
26307         (removeActionListener): Remove listener directly from editor.
26308         (ComboBoxEditorListener): Removed class.
26309         * javax/swing/plaf/basic/BasicComboBoxUI.java
26310         (getPreferredSize): Fixed to return the minimumSize.
26311         (getMinimumSize): Improved code for more clearness.
26312         (getMaximumSize): Return (32767,32767) as requested by the mauve test.
26313         (rectangleForCurrentValue): Correctly respect insets.
26314         (getDefaultSize): Return preferredSize here. Dont override height
26315         with 100.
26316         (getDisplaySize): Moved around code for more clearness. Added
26317         handling of prototype renderer.
26318         (ComboBoxLayoutManager.layoutContainer): Set editor bounds after
26319         arrowButton bounds since the former depends on the latter.
26320         * javax/swing/plaf/metal/MetalComboBoxButton.java:
26321         (MetalComboBoxButton): Make button rollover disabled.
26322         (isFocusTraversable): Return false unconditionally.
26323         * javax/swing/plaf/metal/MetalComboBoxEditor.java:
26324         (EditorTextField): New class. Fixes the size properties.
26325         (MetalComboBoxEditor): Create instance of EditorTextField.
26326         * javax/swing/plaf/metal/MetalComboBoxUI.java:
26327         (getMinimumSize): Fixed editable size.
26328
26329 2006-03-18  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
26330
26331         * javax/swing/JTable.java (BooleanCellRenderer): Rewritten.
26332
26333 2006-03-18  Roman Kennke  <kennke@aicas.com>
26334
26335         * javax/swing/plaf/metal/MetalToolBarUI.java
26336         (update): Added overridden method to support OceanTheme.
26337
26338 2006-03-18  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
26339
26340         * javax/swing/plaf/basic/BasicTableUI.java (KeyHandler.keyTyped): 
26341         Activate the cell editing on character keystroke.
26342
26343 2006-03-18  Mark Wielaard  <mark@klomp.org>
26344
26345         * java/awt/Component.java (eventTypeEnabled): Handle
26346         MouseEvent.MOUSE_WHEEL.
26347         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (postMouseWheelEvent):
26348         New callback method.
26349         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
26350         (AWT_MOUSE_WHEEL): New constant.
26351         (AWT_WHEEL_UNIT_SCROLL): Likewise.
26352         (postMouseWheelEventID): New static variable.
26353         (cp_gtk_component_init_jni): Record postMouseWheelEventID.
26354         (cp_gtk_component_connect_mouse_signals): Connect scroll-event.
26355         (button_number): Renamed to ...
26356         (button_number_direction): variable to hold button number or scroll
26357         direction.
26358         (component_button_press_cb): Use button_number_direction.
26359         (component_scroll_cb): New static callback function.
26360
26361 2006-03-18  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
26362
26363         * javax.swing.JTable.java (TableTextField.scrollRectToVisible):
26364         Return without action.
26365
26366 2006-03-18  Mark Wielaard  <mark@klomp.org>
26367
26368         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (paintComponent):
26369         Don't cast graphics object to GdkGraphics.
26370         (updateComponent): Likewise.
26371
26372 2006-03-18  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
26373
26374         * examples/gnu/classpath/examples/swing/TableDemo.java
26375         (TModel.getColumnClass): Set second column to Icon.
26376         (TModel.isCellEditable): Say icons are not editable.
26377         (createContent): Fill the in second column with some icons from 
26378         MetalIconFactory.
26379
26380 2006-03-18  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
26381
26382         * examples/gnu/classpath/examples/swing/Demo.java
26383         (mkButtonBar): Set maximal button bar height to the preferred height.
26384
26385 2006-03-18  Roman Kennke  <kennke@aicas.com>
26386
26387         * javax/swing/plaf/basic/BasicComboPopup.java
26388         (show): Substract insets from scroller width.
26389         (getPopupHeightForRowCount): If height==0, return a default of 100
26390         instead for empty ComboBoxes.
26391
26392 2006-03-18  Roman Kennke  <kennke@aicas.com>
26393
26394         * javax/swing/plaf/basic/BasicLookAndFeel.java
26395         (PopupHelper.autoClosePopups): Removed field.
26396         (PopupHelper.mousePressed): Removed processing of registered
26397         autoclose popups.
26398         (registerForAutoClose): Removed unneeded method.
26399         (autoClosePopups): Removed unneeded method.
26400         (registerForAutoClose): Removed unneeded method.
26401
26402 2006-03-18  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
26403
26404         * javax.swing.JTable.java (TableTextField): Set border.
26405         (moveToCellBeingEdited): Do not adjust the editor boundaries
26406
26407 2006-03-18  Michael Koch  <konqueror@gmx.de>
26408
26409         * resource/gnu/java/locale/LocaleInformation_aa.properties,
26410         resource/gnu/java/locale/LocaleInformation_af.properties,
26411         resource/gnu/java/locale/LocaleInformation_am.properties,
26412         resource/gnu/java/locale/LocaleInformation_ar.properties,
26413         resource/gnu/java/locale/LocaleInformation_az_Cyrl.properties,
26414         resource/gnu/java/locale/LocaleInformation_be.properties,
26415         resource/gnu/java/locale/LocaleInformation_bg.properties,
26416         resource/gnu/java/locale/LocaleInformation_bn.properties,
26417         resource/gnu/java/locale/LocaleInformation_ca.properties,
26418         resource/gnu/java/locale/LocaleInformation_cs.properties,
26419         resource/gnu/java/locale/LocaleInformation_cy.properties,
26420         resource/gnu/java/locale/LocaleInformation_da.properties,
26421         resource/gnu/java/locale/LocaleInformation_de.properties,
26422         resource/gnu/java/locale/LocaleInformation_de_CH.properties,
26423         resource/gnu/java/locale/LocaleInformation_dz.properties,
26424         resource/gnu/java/locale/LocaleInformation_en.properties,
26425         resource/gnu/java/locale/LocaleInformation_eo.properties,
26426         resource/gnu/java/locale/LocaleInformation_es.properties,
26427         resource/gnu/java/locale/LocaleInformation_et.properties,
26428         resource/gnu/java/locale/LocaleInformation_eu.properties,
26429         resource/gnu/java/locale/LocaleInformation_fa.properties,
26430         resource/gnu/java/locale/LocaleInformation_fa_AF.properties,
26431         resource/gnu/java/locale/LocaleInformation_fi.properties,
26432         resource/gnu/java/locale/LocaleInformation_fo.properties,
26433         resource/gnu/java/locale/LocaleInformation_fr.properties,
26434         resource/gnu/java/locale/LocaleInformation_ga.properties,
26435         resource/gnu/java/locale/LocaleInformation_gl.properties,
26436         resource/gnu/java/locale/LocaleInformation_gu.properties,
26437         resource/gnu/java/locale/LocaleInformation_he.properties,
26438         resource/gnu/java/locale/LocaleInformation_hi.properties,
26439         resource/gnu/java/locale/LocaleInformation_hr.properties,
26440         resource/gnu/java/locale/LocaleInformation_hu.properties,
26441         resource/gnu/java/locale/LocaleInformation_hy.properties,
26442         resource/gnu/java/locale/LocaleInformation_id.properties,
26443         resource/gnu/java/locale/LocaleInformation_is.properties,
26444         resource/gnu/java/locale/LocaleInformation_it.properties,
26445         resource/gnu/java/locale/LocaleInformation_ja.properties,
26446         resource/gnu/java/locale/LocaleInformation_ka.properties,
26447         resource/gnu/java/locale/LocaleInformation_km.properties,
26448         resource/gnu/java/locale/LocaleInformation_ko.properties,
26449         resource/gnu/java/locale/LocaleInformation_lo.properties,
26450         resource/gnu/java/locale/LocaleInformation_lt.properties,
26451         resource/gnu/java/locale/LocaleInformation_lv.properties,
26452         resource/gnu/java/locale/LocaleInformation_mk.properties,
26453         resource/gnu/java/locale/LocaleInformation_mr.properties,
26454         resource/gnu/java/locale/LocaleInformation_ms.properties,
26455         resource/gnu/java/locale/LocaleInformation_mt.properties,
26456         resource/gnu/java/locale/LocaleInformation_nb.properties,
26457         resource/gnu/java/locale/LocaleInformation_nl.properties,
26458         resource/gnu/java/locale/LocaleInformation_nn.properties,
26459         resource/gnu/java/locale/LocaleInformation_om.properties,
26460         resource/gnu/java/locale/LocaleInformation_pl.properties,
26461         resource/gnu/java/locale/LocaleInformation_ps.properties,
26462         resource/gnu/java/locale/LocaleInformation_pt.properties,
26463         resource/gnu/java/locale/LocaleInformation_pt_PT.properties,
26464         resource/gnu/java/locale/LocaleInformation_ro.properties,
26465         resource/gnu/java/locale/LocaleInformation_ru.properties,
26466         resource/gnu/java/locale/LocaleInformation_sk.properties,
26467         resource/gnu/java/locale/LocaleInformation_sl.properties,
26468         resource/gnu/java/locale/LocaleInformation_so.properties,
26469         resource/gnu/java/locale/LocaleInformation_sq.properties,
26470         resource/gnu/java/locale/LocaleInformation_sr.properties,
26471         resource/gnu/java/locale/LocaleInformation_sr_Latn.properties,
26472         resource/gnu/java/locale/LocaleInformation_sv.properties,
26473         resource/gnu/java/locale/LocaleInformation_sw.properties,
26474         resource/gnu/java/locale/LocaleInformation_ta.properties,
26475         resource/gnu/java/locale/LocaleInformation_te.properties,
26476         resource/gnu/java/locale/LocaleInformation_th.properties,
26477         resource/gnu/java/locale/LocaleInformation_tr.properties,
26478         resource/gnu/java/locale/LocaleInformation_uk.properties,
26479         resource/gnu/java/locale/LocaleInformation_uz.properties,
26480         resource/gnu/java/locale/LocaleInformation_vi.properties,
26481         resource/gnu/java/locale/LocaleInformation_zh.properties,
26482         resource/gnu/java/locale/LocaleInformation_zh_Hant.properties:
26483         Updated to use the new localized strings for currencies, languages,
26484         variants, territories, etc.
26485
26486 2006-03-18  Ito Kazumitsu  <kaz@maczuka.gcd.org>
26487
26488         * gnu/regexp/REMatch.java(matchedCharIndexed): New field,
26489         (start, end): Added comment about the negative values of them,
26490         (finish): Saves the input text in matchedCharIndexed,
26491         (toString): If the start or end index is out of bounds of the
26492         matched text, get the substring from matchedCharIndexed.
26493         Added special handlings in case start/end index < -1,
26494         (getSubStartIndex, getStartIndex, getSubEndIndex, getEndIndex):
26495         Added special handlings in case start/end index < -1,
26496         * gnu/regexp/RETokenLookAhead.java(matchThis): Return the newly
26497         found match, but keep the index as the original match.
26498         * gnu/regexp/RETokenLookBehind.java(matchThis): Return the newly
26499         found match, but keep the index as the original match.
26500         * gnu/regexp/RETokenBackRef.java(matchThis): Added special handlings
26501         in case start/end index < -1.
26502         
26503 2006-03-17  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
26504
26505         * gnu/java/rmi/activation/ActivationSystemTransient.java (debug):
26506         Set to false.   
26507
26508 2006-03-17  Robert Schuster  <robertschuster@fsfe.org>
26509          
26510         * javax/swing/text/DefaultCaret.java:
26511         (mouseClicked) Use setDot() and moveDot() instead of
26512         JTextComponent.select().
26513
26514 2006-03-17  Roman Kennke  <kennke@aicas.com>
26515
26516         * javax/swing/plaf/metal/MetalComboBoxEditor.java
26517         (MetalComboBoxEditorBorder.paintBorder): Implemented special
26518         border painting for the Ocean theme.
26519         (MetalComboBoxEditor): Create editor directly instead of going
26520         to super.
26521         
26522 2006-03-17  Roman Kennke  <kennke@aicas.com>
26523
26524         * javax/swing/text/JTextComponent.java
26525         (JTextComponent): Make text components opaque.
26526
26527 2006-03-17  Roman Kennke  <kennke@aicas.com>
26528
26529         * javax/swing/plaf/metal/MetalComboBoxUI.java
26530         (MetalComboBoxLayoutManager.layoutContainer): Forward to
26531         layoutComboBox().
26532         (MetalPropertyChangeListener.propertyChange): Update focusable
26533         flag according to the enable and editable state.
26534         (editablePropertyChanged): Removed unnecessary code.
26535         (getMinimumSize): Rewritten to correctly compute the
26536         size, respecting the insets of the components and the icon,
26537         the visual properties of the combobox, etc.
26538         (configureEditor): Update listeners correctly.
26539         (unconfigureEditor): Update listeners correctly.
26540         (layoutComboBox): Implemented.
26541
26542 2006-03-17  Roman Kennke  <kennke@aicas.com>
26543
26544         * javax/swing/plaf/metal/MetalComboBoxEditor.java
26545         (MetalComboBoxEditorBorder): Made this a subclass of AbstractBorder
26546         instead of Flush3DBorder.
26547         (paintBorder): Fixed border painting.
26548         (editorBorderInsets): Fixed border's insets.
26549
26550 2006-03-17  Roman Kennke  <kennke@aicas.com>
26551
26552         * javax/swing/plaf/metal/MetalComboBoxButton.java
26553         (rendererPane): Documented.
26554         (MetalComboBoxButton): Set enabled flag from ComboBox.
26555         Set focusable flag from ComboBox's enabled flag.
26556         (isFocusTraversable): Make button focus traversable if
26557         ComboBox is not editable but enable.
26558         (paintComponent): Fixed painting to correctly adjust
26559         the boxes of the renderer and button.
26560
26561 2006-03-17  Roman Kennke  <kennke@aicas.com>
26562
26563         * javax/swing/plaf/basic/BasicButtonUI.java
26564         (installDefaults): Only install UI margin if installed margin.
26565         is null or a UIResource.         
26566         (uninstallDefaults): Only uninstall margin if it's       
26567         a UIResource.    
26568          
26569  2006-03-17  Robert Schuster  <robertschuster@fsfe.org>          
26570          
26571          * javax/swing/text/DefaultCaret.java:   
26572          (mouseClicked) Use setDot() and moveDot() instead of    
26573          JTextComponent.select().        
26574  
26575 2006-03-17  Robert Schuster  <robertschuster@fsfe.org>
26576
26577         * javax/swing/text/DefaultEditorKit.java: Refactored anonymous
26578         inner classes into package-private inner classes, added actions
26579         for caret movement and selection to the next and previous word
26580         and an action which selects the whole text.
26581
26582 2006-03-17  Thomas Fitzsimmons  <fitzsim@redhat.com>
26583
26584         * javax/swing/Spring.java: Uncomment springdebug methods and
26585         rename them toString.
26586         * javax/swing/SpringLayout.java: Likewise.
26587
26588 2006-03-17  Robert Schuster  <robertschuster@fsfe.org>
26589
26590         * javax/swing/text/FieldView.java:
26591         (viewToModel): Added call to adjust allocation area.
26592
26593 2006-03-17  Roman Kennke  <kennke@aicas.com>
26594
26595         * javax/swing/plaf/basic/BasicComboBoxUI.java
26596         (mouseListener): Removed field.
26597         (buttonBackground): Removed field.
26598         (buttonShadow): Removed field.
26599         (buttonDarkShadow): Removed field.
26600         (buttonHighlight): Removed field.
26601         (BasicComboBoxUI): Initialize currentValuePane and cachedMinimumSize.
26602         (installUI): Initialize and configure renderer and editor here.
26603         (uninstallUI): Close popup before uninitializing.
26604         Message popup that we are uninitializing. Clear layout.
26605         (installDefaults): Install UI border. Don't install colors.
26606         (installListeners): Install listeners fetched from the popup.
26607         Remove handling of mouseListener.
26608         (uninstallDefaults): Uninstall border. Don't handle colors.
26609         (uninstallListeners): Don't handle mouseListener. Uninstall
26610         listener from the popup.
26611         (createMouseListener): Removed method.
26612         (createRenderer): Create UIResource.
26613         (installComponents): Cleaned up.
26614         (uninstallComponents): Only remove renderer when it is
26615         a UIResource.
26616         (addEditor): Remove editor before adding new one.
26617         Fetch editor from comboBox.
26618         (removeEditor): Only do something when editor != null. Unconfigure
26619         editor before removing.
26620         (configureEditor): Add key listener. Call comboBox.configureEditor.
26621         (unconfigureEditor): Removed key listener.
26622         (configureArrowButton): Only handle when arrowButton != null.
26623         Add mouse listeners to arrow button.
26624         (unconfigureArrowButton): Remove listeners.
26625         (createArrowButton): Don't handle colors here.
26626         (setPopupVisible): Don't handle focus here.
26627         (paint): Only paint when comboBox is not editable. Update
26628         hasFocus flag.
26629         (getPreferredSize): Implemented to be minimumSize + 4 pixels width.
26630         (getMinimumSize): Respect insets here.
26631         (getMaximumSize): Return preferredSize with width of 32767.
26632         (getInsets): Return ComboBox insets.
26633         (paintCurrentValue): Paint using currentValuePane.
26634         Install correct colors. Don't revalidate.
26635         (paintCurrentValueBackground): Implemented.
26636         (getDefaultSize): Reimplemented using a default renderer.
26637         (getDisplaySize): Reimplemented to use renderer.
26638         (ComboBoxLayoutManager.preferredLayoutSize): Forward to component.
26639         (ComboBoxLayoutManager.minimumLayoutSize): Forward to component.
26640         (ComboBoxLayoutManager.layoutContainer): Fixed layout.
26641         (FocusHandler.focusGained): Don't invalidate minimumSize.
26642         (FocusHandler.focusLost): Don't invalidate minimumSize.
26643         Only close popup if focus change is not temporary.
26644         (ItemHandler.itemStateChanged): Don't invalidate minimumSize.
26645         Reconfigure editor if not null.
26646         (ListDataHandler.contentsChanged): Revalidate and reconfigure
26647         editor if necessary.
26648         (ListDataHandler.intervalAdded): Fixed updating of the display size.
26649         (ListDataHandler.intervalRemoved): Forward to contentsChanged.
26650         (MouseHandler): Removed unnecessary class.
26651
26652 2006-03-17  Robert Schuster  <robertschuster@fsfe.org>
26653
26654         * examples/gnu/classpath/examples/swing/Demo.java:
26655         (Demo): Set default closing operation to shutdown the runtime.
26656
26657 2006-03-17  Roman Kennke  <kennke@aicas.com>
26658
26659         * javax/swing/plaf/basic/BasicComboPopup.java
26660         (BasicComboPopup): Create listeners here.
26661         Configure components here.
26662         (show): Correctly calculate bounds using computePopupBounds().
26663         Make scroller fixed-size. Removed special autocloser handling.
26664         (hide): Rewritten to use MenuSelectionHandler.
26665         (createList): Don't set selection mode here.
26666         (configureList): Correctly install colors and fonts and selectionMode.
26667         (createScroller): Set scrollpane policies.
26668         (configureScroller): Make scroller and scrollbar not-focusable.
26669         (configurePopup): Make popup opaque and borderPainted.
26670         (installComboBoxListeners): Don't install mouse listener on ComboBox.
26671         (delegateFocus): Implemented.
26672         (convertMouseEvent): Implemented.
26673         (updateListBoxSelectionForEvent): Implemented to also handle
26674         autoscrolling.
26675         (InvocationMouseHandler.mousePressed): Delegate focus correctly.
26676         Only open popup on left mouse-click.
26677         (InvocationMouseHandler.mouseReleased): Rewritten.
26678         (InvocationMouseMotionHandler.mouseDragged): Rewritten to better
26679         support autoscrolling.
26680         (ItemHandler.itemStateChanged): Implemented to sync selection with
26681         the comboBox.
26682         (ListMouseHandler.mouseReleased): Fetch selected index directly
26683         from list.
26684         (ListMouseMotionHandler.mouseMoved): Only update when mouse is inside
26685         the list box.
26686         (PropertyChangeHandler.propertyChange): Don't revalidate/repaint here.
26687         When model changes, then update listeners correctly.
26688         (uninstallListeners): Don't uninstall list listeners.
26689         (uninstallComboBoxListeners): Don't uninstall mouse listeners
26690         from comboBox.
26691         (syncSelection): New helper method.
26692
26693 2006-03-17  Robert Schuster  <robertschuster@fsfe.org>
26694
26695         * javax/swing/text/PlainView.java:
26696         (drawLine): Rewritten.
26697         (drawSelectedText): Corrected last argument for
26698         Utilities.drawTabbedText() call.
26699         (paint): Store start and end of selection in object variables,
26700         store constant values of for-loop in local variables.
26701         * javax/swing/text/Utilities.java:
26702         (drawTabbedText): Add 'pixelWidth' to the return value, store
26703         constant value of for-loop in local variable.
26704
26705 2006-03-17  Roman Kennke  <kennke@aicas.com>
26706
26707         * javax/swing/plaf/basic/BasicComboPopup.java
26708         (BasicComboPopup): Create listeners here.
26709         Configure components here.
26710         (show): Correctly calculate bounds using computePopupBounds().
26711         Make scroller fixed-size. Removed special autocloser handling.
26712         (hide): Rewritten to use MenuSelectionHandler.
26713         (createList): Don't set selection mode here.
26714         (configureList): Correctly install colors and fonts and selectionMode.
26715         (createScroller): Set scrollpane policies.
26716         (configureScroller): Make scroller and scrollbar not-focusable.
26717         (configurePopup): Make popup opaque and borderPainted.
26718         (installComboBoxListeners): Don't install mouse listener on ComboBox.
26719         (delegateFocus): Implemented.
26720         (convertMouseEvent): Implemented.
26721         (updateListBoxSelectionForEvent): Implemented to also handle
26722         autoscrolling.
26723         (InvocationMouseHandler.mousePressed): Delegate focus correctly.
26724         Only open popup on left mouse-click.
26725         (InvocationMouseHandler.mouseReleased): Rewritten.
26726         (InvocationMouseMotionHandler.mouseDragged): Rewritten to better
26727         support autoscrolling.
26728         (ItemHandler.itemStateChanged): Implemented to sync selection with
26729         the comboBox.
26730         (ListMouseHandler.mouseReleased): Fetch selected index directly
26731         from list.
26732         (ListMouseMotionHandler.mouseMoved): Only update when mouse is inside
26733         the list box.
26734         (PropertyChangeHandler.propertyChange): Don't revalidate/repaint here.
26735         When model changes, then update listeners correctly.
26736         (uninstallListeners): Don't uninstall list listeners.
26737         (uninstallComboBoxListeners): Don't uninstall mouse listeners
26738         from comboBox.
26739         (syncSelection): New helper method.
26740
26741 2006-03-17  Roman Kennke  <kennke@aicas.com>
26742
26743         * javax/swing/plaf/basic/BasicComboBoxRenderer.java
26744         (noFocusBorder): Make border with insets of (1,1,1,1).
26745         (BasicComboBoxRenderer): Make renderer opaque.
26746         No need to explicitly set alignment.
26747         (getListCellRendererComponent): Rewritten to correctly initialize
26748         color and font.
26749
26750 2006-03-17  Roman Kennke  <kennke@aicas.com>
26751
26752         * javax/swing/JPopupMenu.java
26753         (setVisible): Handle JPopupMenu opening and closing via
26754         the MenuSelectionHandler.
26755
26756 2006-03-17  Wolfgang Baer  <WBaer@gmx.de>
26757
26758         * org/omg/DynamicAny/DynAnyPackage/InvalidValue.java: Now final.
26759         * org/omg/DynamicAny/DynAnyPackage/TypeMismatch.java: Likewise.
26760         * org/omg/DynamicAny/DynAnyFactoryPackage/InconsistentTypeCode.java: 
26761         Likewise.       
26762         * org/omg/CORBA/portable/RemarshalException.java: Likewise
26763         * org/omg/CORBA/TypeCodePackage/BadKind.java: Likewise.
26764         * org/omg/CORBA/TypeCodePackage/Bounds.java: Likewise.
26765         * org/omg/CORBA/ORBPackage/InvalidName.java: Likewise.
26766         * org/omg/CORBA/ORBPackage/InconsistentTypeCode.java: Likewise.
26767         * org/omg/CORBA/DynAnyPackage/TypeMismatch.java: Likewise.
26768         * org/omg/CORBA/DynAnyPackage/InvalidValue.java: Likewise.
26769         * org/omg/CORBA/DynAnyPackage/InvalidSeq.java: Likewise.
26770         * org/omg/CORBA/DynAnyPackage/Invalid.java: Likewise.
26771         * org/omg/Dynamic/Parameter.java: Now final, javadoc fixes.
26772
26773 2006-03-17  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
26774
26775         * java/rmi/activation/Activatable.java: Implemented.
26776         java/rmi/activation/ActivationDesc.java: Implemented.
26777         java/rmi/activation/ActivationGroup.java: Implemented.
26778         java/rmi/activation/ActivationGroupDesc.java: Implemented.
26779         java/rmi/activation/ActivationID.java: Implemented.
26780         java/rmi/activation/ActivationSystem.java: Implemented.
26781         * gnu/java/rmi/server/UnicastServerRef.java 
26782         (exportObject, incommingMessageCall): Documented.
26783         * java/rmi/activation/package.html: Documented.
26784         * java/rmi/server/ObjID.java (objNum, space): Made package
26785         protected.
26786         * gnu/java/rmi/server/UnicastServer.java: Rewritten.
26787         * gnu/java/rmi/server/CombinedClassLoader.java (constructor):
26788         Iteration bug fix.
26789         * gnu/java/rmi/activation/ActivationSystemTransient.java: New file.
26790         gnu/java/rmi/activation/BidiTable.java: New file.
26791         gnu/java/rmi/activation/DefaultActivationGroup.java: New file.
26792         gnu/java/rmi/activation/DefaultActivationSystem.java: New file.
26793         gnu/java/rmi/server/ActivatableServerRef.java: New file.
26794
26795 2006-03-17  Mark Wielaard  <mark@klomp.org>
26796
26797         * java/security/BasicPermission.java (BasicPermission): Check
26798         name equals empty string to force NullPointerException.
26799
26800 2006-03-16  Thomas Fitzsimmons  <fitzsim@redhat.com>
26801
26802         PR classpath/26606
26803         Commit patch by Caolan McNamara  <caolanm@redhat.com>
26804         * javax/swing/Spring.java: Complete implementation
26805         * javax/swing/SpringLayout.java: Likewise.
26806
26807 2006-03-16  Keith Seitz  <keiths@redhat.com>
26808
26809         * gnu/classpath/jdwp/Jdwp.java (_mainThread): Not needed. Removed
26810         all references.
26811         (run): Remove catch clause for InterruptedException. It is no
26812         longer necessary.
26813
26814 2006-03-16  Thomas Fitzsimmons  <fitzsim@redhat.com>
26815
26816         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
26817         (getFontMetrics): Handle monospaced fonts specially.
26818
26819 2006-03-16  Keith Seitz  <keiths@redhat.com>
26820
26821         * gnu/classpath/jdwp/Jdwp.java (getJdwpThreadGroup): New method.
26822         * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java
26823         (suspendAllThreads): Use Jdwp.getJdwpThreadGroup.
26824         Don't suspend the current thread unless it is not part of the JDWP
26825         thread group.
26826
26827 2006-03-16  Thomas Fitzsimmons  <fitzsim@redhat.com>
26828
26829         * gnu/java/awt/peer/gtk/GdkFontMetrics.java (getLeading): Always
26830         return 0.
26831         * gnu/java/awt/peer/gtk/GdkFontPeer.java (getFontMetrics): Get
26832         font metrics through toolkit.
26833         * gnu/java/awt/peer/gtk/GdkGraphics.java (getFontMetrics):
26834         Likewise.
26835         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
26836         (getFontMetrics): To calculate Java logical ascent and descent
26837         values, average Pango ink and logical values.
26838
26839 2006-03-16  Anthony Balkissoon  <abalkiss@redhat.com>
26840
26841         * java/lang/Character.java: Updated header comment.
26842
26843 2006-03-16  Tom Tromey  <tromey@redhat.com>
26844
26845         * javax/sound/sampled/AudioSystem.java (getAudioFileFormat): New
26846         constructor.
26847         * javax/sound/sampled/FloatControl.java: Now abstract.
26848         * javax/sound/sampled/EnumControl.java: Now abstract.
26849         * javax/sound/sampled/CompoundControl.java: Now abstract.
26850         * javax/sound/sampled/BooleanControl.java: Now abstract.
26851
26852 2006-03-16  Tom Tromey  <tromey@redhat.com>
26853
26854         * java/awt/image/ConvolveOp.java (getBounds2D): Now final.
26855
26856 2006-03-16  Roman Kennke  <kennke@aicas.com>
26857
26858         * java/util/zip/ZipFile.java
26859         (openFile): New helper method.
26860         (ZipFile): Use new openFile method to ensure the proper
26861         exception is thrown. This applies for all overloaded constructors.
26862
26863 2006-03-16  Roman Kennke  <kennke@aicas.com>
26864
26865         * java/text/DateFormatSymbols.java
26866         (setAmPmStrings): Added null check and throw NPE.
26867         (setEras): Likewise.
26868         (setLocalPatternChars): Likewise.
26869         (setMonths): Likewise.
26870         (setShortMonths): Likewise.
26871         (setShortWeekdays): Likewise.
26872         (setWeekdays): Likewise.
26873         (setZoneStrings): Likewise.
26874
26875 2006-03-16  Roman Kennke  <kennke@aicas.com>
26876
26877         * javax/swing/DefaultDesktopManager.java
26878         (iconifyFrame): Repaint after removing the frame.
26879         (removeIconFor): Repaint after removing the icon.
26880
26881 2006-03-16  Roman Kennke  <kennke@aicas.com>
26882
26883         * javax/swing/JInternalFrame.java
26884         (remove): Respect the rootPaneCheckingEnabled flag here.
26885
26886 2006-03-16  Roman Kennke  <kennke@aicas.com>
26887
26888         * gnu/javax/swing/plaf/gnu/GNULookAndFeel.java
26889         Moved from examples into gnu.javax.swing.. namespace.
26890         * examples/gnu/classpath/examples/swing/GNULookAndFeel.java
26891         Moved to gnu.javax.swing.. namespace.
26892         * examples/gnu/classpath/examples/swing/Demo.java:
26893         (themesMenu): New field. Used to disable theme switch in
26894         non-Metal-L&Fs.
26895         (mkMenuBar): Added L&F menu.
26896         (ChangeThemeAction.actionPerformed): Only switch theme when
26897         in Metal L&F.
26898         (ChangeLAFAction): New class used for changing themes.
26899         * javax/swing/UIManager.java
26900         (installed): Added GNU L&F as installed L&F.
26901
26902 2006-03-16  Mark Wielaard  <mark@klomp.org>
26903
26904         * examples/gnu/classpath/examples/swing/badge.png: Removed.
26905         * examples/gnu/classpath/examples/icons/badge.png: Added.
26906         * examples/gnu/classpath/examples/swing/DemoDesktop.java: Use badge
26907         from icon directory.
26908
26909 2006-03-15  Thomas Fitzsimmons  <fitzsim@redhat.com>
26910
26911         * examples/gnu/classpath/examples/awt/AnimationApplet.java: New
26912         example.
26913         * examples/gnu/classpath/examples/swing/FillRect.java: Likewise.
26914         * examples/gnu/classpath/examples/awt/Demo.java: Add
26915         AnimationApplet demo.
26916         * examples/gnu/classpath/examples/swing/Demo.java: Add FillRect
26917         demo.
26918
26919 2006-03-15  Thomas Fitzsimmons  <fitzsim@redhat.com>
26920
26921         PR classpath/26486
26922         * gnu/java/awt/peer/gtk/GtkCanvasPeer.java (getGraphics): Remove
26923         method.
26924         (handleEvent): Likewise.
26925         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (isInRepaint):
26926         Remove field.
26927         (beginNativeRepaint): Remove method.
26928         (endNativeRepaint): Likewise.
26929         (handleEvent): Call paintComponent and updateComponent.
26930         (paintComponent): New method.
26931         (updateComponent): Likewise.
26932         (repaint): Return early if width or height is less than one.
26933         (postExposeEvent): Remove isInRepaint reference.
26934         * gnu/java/awt/peer/gtk/GtkContainerPeer.java: (getGraphics):
26935         Remove method.
26936         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (getGraphics): Inherit
26937         from GtkWindowPeer.
26938         (postMouseEvent): Likewise.
26939         (postExposeEvent): Likewise.
26940         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java (updateComponent):
26941         Override to do nothing.
26942         * gnu/java/awt/peer/gtk/GtkFramePeer.java (getGraphics): Inherit
26943         from GtkWindowPeer.
26944         (postMouseEvent): Likewise.
26945         (postExposeEvent): Likewise.
26946         * gnu/java/awt/peer/gtk/GtkPanelPeer.java (handleEvent): Inherit
26947         paint and update handling from GtkComponentPeer.
26948         (updateComponent): Override to call paintComponent.
26949         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c: Replace
26950         gdk_flush calls with schedule_flush calls.
26951         (flush): New function.
26952         (schedule_flush): Likewise.
26953
26954 2006-03-15  Tom Tromey  <tromey@redhat.com>
26955
26956         * java/beans/beancontext/BeanContextSupport.java (BCSChild): New
26957         constructor.
26958         (BCSIterator): Likewise.
26959         * java/beans/beancontext/BeanContextServicesSupport.java (BCSSChild):
26960         New constructor.
26961         (BCSSProxyServiceProvider): Likewise.
26962         (BCSSServiceProvider): Likewise.
26963
26964 2006-03-15  Tom Tromey  <tromey@redhat.com>
26965
26966         * javax/sound/midi/Track.java (Track): New constructor.
26967         (events): Now package-private.
26968         * javax/sound/midi/MidiUnavailableException.java
26969         (MidiUnavailableException): Removed invalid constructors.
26970         * javax/sound/midi/MidiSystem.java (MidiSystem): New constructor.
26971         * javax/sound/midi/InvalidMidiDataException.java
26972         (InvalidMidiDataException): Removed invalid constructors.
26973         * javax/sound/midi/Sequencer.java (hashCode): Now final.
26974         * javax/sound/midi/SysexMessage.java (SysexMessage): Now protected.
26975         * javax/sound/midi/ShortMessage.java (ShortMessage): Now protected.
26976         (SYSTEM_EXCLUSIVE): Removed.
26977         (getDataLength): Updated.
26978         * javax/sound/midi/MidiDevice.java (Info): Now protected.
26979         (equals): Now final
26980         (getName): Now final.
26981         (getVendor): Now final.
26982         (getDescription): Likewise.
26983         (hashCode): Likewise.
26984         (getVersion): Likewise.
26985         (toString): Likewise.
26986         * javax/sound/midi/MetaMessage.java (MetaMessage): Now protected.
26987         * javax/sound/sampled/ReverbType.java (getDecayTime): Now final.
26988         (getEarlyReflectionDelay): Likewise.
26989         (getEarlyReflectionIntensity): Likewise.
26990         (getLateReflectionDelay): Likewise.
26991         (getLateReflectionIntensity): Likewise.
26992         (toString): Likewise.
26993         * javax/sound/sampled/Port.java (toString): Now final.
26994         * javax/sound/sampled/LineEvent.java (getFramePosition): Now final.
26995         (getLine): Likewise.
26996         (getType): Likewise.
26997         * javax/sound/sampled/Mixer.java (Info): Now protected.
26998         (getDescription): Now final.
26999         (getName): Likewise.
27000         (getVendor): Likewise.
27001         (getVersion): Likewise.
27002         (toString): Likewise.
27003         * javax/sound/sampled/Control.java: Now abstract.
27004         (Type.toString): Now final.
27005
27006 2006-03-15  Keith Seitz  <keiths@redhat.com>
27007
27008         * gnu/classpath/jdwp/util/LineTable.java (lines): Remove all occurances
27009         of this redundant variable.
27010         (LineTable): Assert that the number of line numbers and the number of
27011         code indicies is the same.
27012
27013 2006-03-15  Tom Tromey  <tromey@redhat.com>
27014
27015         * javax/imageio/stream/ImageOutputStreamImpl.java (flushBits): Now
27016         final.
27017         * javax/imageio/stream/ImageOutputStream.java (flushBefore): Javadoc
27018         fix.
27019         * java/util/zip/ZipFile.java (ENDNRD): New constant.
27020         * java/util/zip/ZipConstants.java (ENDNRD, ENDDCD): Removed.
27021         * java/util/zip/Inflater.java (end): Not deprecated.
27022         * java/util/zip/Deflater.java (end): Not deprecated.
27023         * java/text/Bidi.java (Bidi): Now final.
27024         * java/nio/MappedByteBuffer.java (finalize): Now protected.
27025
27026 2006-03-15  Keith Seitz  <keiths@redhat.com>
27027
27028         * gnu/classpath/jdwp/util/Location.java: Rewrite using VMMethod.
27029         (Location): Index is a long, not an int.
27030         (getMethod): New method.
27031         (getIndex): New method.
27032         (toString): New method.
27033
27034 2006-03-15  Tom Tromey  <tromey@redhat.com>
27035
27036         * java/awt/image/RescaleOp.java (getRenderingHints): Now final.
27037         * java/awt/image/LookupOp.java (filter): Now final.
27038         (getBounds2D): Likewise.
27039         (getPoint2D): Likewise.
27040         (getTable): Likewise.
27041         (getRenderingHints): Likewise.
27042         * java/awt/image/ConvolveOp.java (filter): Now final.
27043         (getBounds2D): Likewise.
27044         (getKernel): Likewise.
27045         (getPoint2D): Likewise.
27046         (getRenderingHints): Likewise.
27047         * java/awt/image/BandCombineOp.java (getPoint2D): Now final.
27048         (getMatrix): Likewise.
27049         (getBounds2D): Likewise.
27050         (getRenderingHints): Likewise.
27051         * java/awt/image/AffineTransformOp.java (getPoint2D): Now final.
27052         * java/awt/Button.java (AccessibleAWTButton.serialVersionUID): Now
27053         private.
27054         * java/awt/dnd/DropTargetContext.java (TransferableProxy): Now
27055         protected.
27056         * java/awt/dnd/DropTarget.java (DropTargetAutoScroller): Now
27057         protected.
27058         * java/awt/MenuItem.java (AccessibleAWTMenuItem): Now protected.
27059
27060 2006-03-15  Keith Seitz  <keiths@redhat.com>
27061
27062         * gnu/classpath/jdwp/event/filters/LocationOnlyFilter.java:
27063         Update javadoc.
27064         (matches): Implement.
27065
27066 2006-03-15  Keith Seitz  <keiths@redhat.com>
27067
27068         * gnu/classpath/jdwp/event/BreakpointEvent.java: New file.
27069         
27070         * gnu/classpath/jdwp/exception/NativeMethodException.java: New file.
27071
27072 2006-03-15  Tom Tromey  <tromey@redhat.com>
27073
27074         * java/lang/StrictMath.java (signum): New methods.
27075
27076 2006-03-15  Tom Tromey  <tromey@redhat.com>
27077
27078         * .settings/org.eclipse.jdt.core.prefs: Set tabs to 8 spaces.
27079
27080 2006-03-15  Lillian Angel  <langel@redhat.com>
27081
27082         PR classpath/24211
27083         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
27084         (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_cairoSurfaceSetFilterUnlocked):
27085         Added check to avoid segmentation fault.
27086
27087 2006-03-15  Lillian Angel  <langel@redhat.com>
27088
27089         * java/awt/Container.java
27090         (getComponentAt): Fixed documentation.
27091         (getComponentAt): Likewise.
27092
27093 2006-03-15  Roman Kennke  <kennke@aicas.com>
27094
27095         * javax/swing/JComponent.java
27096         (dragBuffer): New field.
27097         (dragBufferInitialized): New field.
27098         (paint): Added facility for buffered dragging of components.
27099         (initializeDragBuffer): New method.
27100         (getConditionForKeyStroke): Removed deprecated flag. Adjusted
27101         API docs.
27102         * javax/swing/plaf/basic/BasicInternalFrameUI.java
27103         (BorderListener.mouseDragged): Turn on buffered dragging.
27104         (BorderListener.mouseReleased): Turn off buffered dragging.
27105
27106 2006-03-15  Lillian Angel  <langel@redhat.com>
27107
27108         * java/awt/Container.java
27109         (getComponentAt): Fixed documentation.
27110         (getComponentAt): Likewise.
27111         (findComponentAt): Likewise.
27112         (findComponentAt): Likewise.
27113
27114 2006-03-15  Roman Kennke  <kennke@aicas.com>
27115
27116         * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java
27117         (PropertyChangeHandler.propertyChange): Call enableActions().
27118         Fixed 'iconable' property name.
27119
27120 2006-03-15  Chris Burdess  <dog@gnu.org>
27121
27122         Fixes PR 26700
27123         * gnu/xml/stream/XMLParser.java: Fix for detectEncoding false positive.
27124
27125 2006-03-15  Roman Kennke  <kennke@aicas.com>
27126
27127         * examples/gnu/classpath/examples/swing/Demo.java:
27128         (desktop): New field.
27129         (mkMenuBar): Added new subdemos.
27130         (mkButtonWorld): Removed.
27131         (CheckCellRenderer): Moved to ListDemo.
27132         (LabelCellRenderer): Moved to ListDemo.
27133         (mkTreeWorld): Moved to TreeDemo.
27134         (mkDesktopWorld): Removed.
27135         (mkTabWorld): Moved to TabbedPaneDemo.
27136         (mkTabbedPane): Removed.
27137         (Demo): Replaced 'worlds' tabbed pane with desktop.
27138         (PopupAction): Made class non-static.
27139         (PopupAction.actionPerformed): Bring up subdemos in internal
27140         frame.
27141         (mkButtonBar): Added new demos.
27142         (createDesktop): New method.
27143         * examples/gnu/classpath/examples/swing/DemoDesktop.java: New class.
27144         * examples/gnu/classpath/examples/swing/ListDemo.java: New demo.
27145         * examples/gnu/classpath/examples/swing/TreeDemo.java: New demo.
27146         * examples/gnu/classpath/examples/swing/TabbedPaneDemo.java: New demo.
27147         * examples/gnu/classpath/examples/swing/badge.png: New image file.
27148
27149 2006-03-15  Lillian Angel  <langel@redhat.com>
27150         
27151         * java/awt/Container.java
27152         (getComponentAt): Fixed mistake in comments.
27153         (getComponentAt): Likewise.
27154         (locate): Likewise. Also, handled lightweight components.
27155         Heavyweights take precedence over lightweights, so we should
27156         iterate through the heavyweights first.
27157
27158 2006-03-15  Lillian Angel  <langel@redhat.com>
27159
27160         * java/awt/Container.java
27161         (getComponentAt): Added API documentation.
27162         (getComponentAt): Likewise.
27163         (locate): Likewise. Also, removed lines to ignore
27164         invisible components.
27165         (findComponentAt): Added API documentation.
27166         (findComponentAt): Added API documentation.
27167         (findComponentForMouseEvent): Removed, never used.
27168
27169 2006-03-15  Roman Kennke  <kennke@aicas.com>
27170
27171         * javax/swing/Popup.java
27172         (LightweightPopup.show): Repaint the panel after showing it.
27173
27174 2006-03-15  Lillian Angel  <langel@redhat.com>
27175
27176         * java/awt/Component.java
27177         (show): repaint should only be called if the component
27178         isShowing and isLightweight.
27179
27180 2006-03-15  Roman Kennke  <kennke@aicas.com>
27181
27182         * javax/swing/JInternalFrame.java
27183         (setClosable): Made this property bound.
27184         (setResizable): Made this property bound.
27185         (setIconifiable): Made this property bound.
27186         (setMaximizable): Made this property bound.
27187
27188 2006-03-15  David Gilbert  <david.gilbert@object-refinery.com>
27189
27190         * javax/swing/table/TableColumn.java
27191         (sizeWidthToFit): Implemented.
27192
27193 2006-03-15  David Gilbert  <david.gilbert@object-refinery.com>
27194
27195         * javax/swing/table/TableColumn.java: API docs updated all over, plus
27196         (setIdentifier): Fire required PropertyChangeEvent,
27197         (setCellEditor): Likewise.
27198
27199 2006-03-15  Roman Kennke  <kennke@aicas.com>
27200
27201         * examples/gnu/classpath/examples/swing/ButtonDemo.java,
27202         * examples/gnu/classpath/examples/swing/ComboBoxDemo.java,
27203         * examples/gnu/classpath/examples/swing/FileChooserDemo.java,
27204         * examples/gnu/classpath/examples/swing/ProgressBarDemo.java,
27205         * examples/gnu/classpath/examples/swing/ScrollBarDemo.java,
27206         * examples/gnu/classpath/examples/swing/SliderDemo.java,
27207         * examples/gnu/classpath/examples/swing/SpinnerDemo.java,
27208         * examples/gnu/classpath/examples/swing/TableDemo.java,
27209         * examples/gnu/classpath/examples/swing/TextAreaDemo.java,
27210         * examples/gnu/classpath/examples/swing/TextFieldDemo.java:
27211         Reworked to implemented DemoFactory and lazy loading of Sub-demos.
27212         * examples/gnu/classpath/examples/swing/Demo.java:
27213         Cleaned up. Reworked handling of Sub-demos to load lazily.
27214         * examples/gnu/classpath/examples/swing/DemoFactory.java:
27215         New interface. Used for loading the subdemos lazily.
27216
27217 2006-03-15  Roman Kennke  <kennke@aicas.com>
27218
27219         * javax/swing/plaf/basic/BasicToolBarUI.java
27220         (PropertyListener.propertyChange): Added null check to avoid NPE.
27221
27222 2006-03-14  David Gilbert  <david.gilbert@object-refinery.com>
27223
27224         * javax/swing/table/TableColumn.java
27225         (COLUMN_WIDTH_PROPERTY): Updated API docs,
27226         (width): Likewise.
27227         (minWidth): Likewise,
27228         (preferredWidth): Likewise,
27229         (maxWidth): Likewise,
27230         (headerRenderer): Likewise,
27231         (cellRenderer): Likewise,
27232         (cellEditor): Likewise,
27233         (changeSupport): Likewise,
27234         (firePropertyChange(String, Object, Object)): Removed,
27235         (firePropertyChange(String, int. int)): Likewise,
27236         (firePropertyChange(String, boolean, boolean)): Likewise,
27237         (setModelIndex): Fire property change,
27238         (setHeaderValue): Call changeSupport directly to generate event,
27239         (setHeaderRenderer): Likewise,
27240         (setCellRenderer): Likewise,
27241         (setWidth): Likewise,
27242         (setPreferredWidth): Likewise,
27243         (setMinWidth): Likewise,
27244         (setMaxWidth): Likewise,
27245         (createDefaultHeaderRenderer): Added API docs.
27246
27247 2006-03-14  Roman Kennke  <kennke@aicas.com>
27248
27249         * examples/gnu/classpath/examples/swing/Demo.java
27250         Removed static initializer.
27251         (mkMenuBar): Made method non-static. Added themes menu.
27252         (ChangeThemeAction): New inner class, used to change themes.
27253
27254 2006-03-14  David Gilbert  <david.gilbert@object-refinery.com>
27255
27256         * javax/swing/table/TableColumn.java
27257         (setMaxWidth): Updated width and preferredWidth if necessary,
27258         (getMaxWidth): Updated API docs.
27259
27260 2006-03-14  Roman Kennke  <kennke@aicas.com>
27261
27262         * javax/swing/plaf/basic/BasicSliderUI.java
27263         (TrackListener.mouseDragged): Only process event when slider is
27264         enabled.
27265         (TrackListener.mouseReleased): Only process event when slider is
27266         enabled.
27267         (TrackListener.mousePressed): Only process event when slider is
27268         enabled.
27269
27270 2006-03-14  Roman Kennke  <kennke@aicas.com>
27271
27272         * NEWS: Added note about OceanTheme support.
27273
27274 2006-03-14  Roman Kennke  <kennke@aicas.com>
27275
27276         * javax/swing/plaf/metal/MetalIconFactory.java
27277         (HorizontalSliderThumbIcon.gradientMask): New field
27278         (HorizontalSliderThumbIcon.paintIcon): Added support for the
27279         OceanTheme.
27280         (VerticalSliderThumbIcon.gradientMask): New field
27281         (VerticalSliderThumbIcon.paintIcon): Added support for the
27282         OceanTheme.
27283         * javax/swing/plaf/metal/MetalUtils.java
27284         (paintHorizontalGradient): Fixed painting of 'masked' gradients.
27285         (paintVerticalGradient): Fixed painting of 'masked' gradients.
27286
27287 2006-03-14  Mark Wielaard  <mark@klomp.org>
27288
27289         Fixes bug #26641
27290         * java/awt/LightweightDispatcher.java (dispatchEvent): Return result
27291         of handleMouseEvent.
27292         (handleMouseEvent): Return boolean to indicate whether we handled the
27293         event by passing it to a lightweight.
27294
27295 2006-03-14  Wolfgang Baer  <WBaer@gmx.de>
27296
27297         * org/omg/PortableInterceptor/ORBInitInfoPackage/ObjectIdHelper.java,
27298         * org/omg/PortableServer/ServantActivatorPOA.java,
27299         * org/omg/PortableServer/ServantLocatorPOA.java: 
27300         Make class abstract and minor api docs fixlets.
27301         * org/omg/PortableServer/ForwardRequest.java, 
27302         * org/omg/PortableServer/ServantLocatorPackage/CookieHolder.java, 
27303         * org/omg/PortableServer/POAPackage/AdapterAlreadyExists.java, 
27304         * org/omg/PortableServer/POAPackage/AdapterNonExistent.java, 
27305         * org/omg/PortableServer/POAPackage/InvalidPolicy.java, 
27306         * org/omg/PortableServer/POAPackage/NoServant.java, 
27307         * org/omg/PortableServer/POAPackage/ObjectAlreadyActive.java, 
27308         * org/omg/PortableServer/POAPackage/ObjectNotActive.java, 
27309         * org/omg/PortableServer/POAPackage/ServantAlreadyActive.java, 
27310         * org/omg/PortableServer/POAPackage/ServantNotActive.java, 
27311         * org/omg/PortableServer/POAPackage/WrongAdapter.java, 
27312         * org/omg/PortableServer/POAPackage/WrongPolicy.java, 
27313         * org/omg/PortableServer/POAManagerPackage/AdapterInactive.java, 
27314         * org/omg/PortableInterceptor/ORBInitInfoPackage/InvalidName.java,
27315         * org/omg/PortableInterceptor/ORBInitInfoPackage/DuplicateName.java,
27316         * org/omg/PortableServer/CurrentPackage/NoContext.java: Make class final.
27317
27318 2006-03-14  Wolfgang Baer  <WBaer@gmx.de>
27319
27320         * NEWS: Added entry about printing support.
27321
27322 2006-03-14  David Gilbert  <david.gilbert@object-refinery.com>
27323
27324         * javax/swing/table/TableColumn.java
27325         (COLUMN_WIDTH_PROPERTY): Updated API docs,
27326         (isResizable): Likewise,
27327         (setWidth): Likewise,
27328         (getWidth): Likewise,
27329         (setPreferredWidth): Likewise,
27330         (getPreferredWidth): Likewise,
27331         (setMinWidth): Check for negative argument and update width and 
27332         preferredWidth if necessary,
27333         (getMinWidth): Updated API docs.
27334
27335 2006-03-14  Lillian Angel  <langel@redhat.com>
27336         
27337         * java/awt/Container.java
27338         (addImpl): Removed call to repaint. No need to repaint here.
27339
27340 2006-03-14  Roman Kennke  <kennke@aicas.com>
27341
27342         * javax/swing/plaf/metal/MetalSliderUI.java
27343         (paintTrack): Added OceanTheme support.
27344
27345 2006-03-14  David Gilbert  <david.gilbert@object-refinery.com>
27346
27347         * javax/swing/table/TableColumn.java
27348         (setResizable): Fire PropertyChangeEvent if the flag value changes,
27349         (isResizable): Updated API docs.
27350
27351 2006-03-14  David Gilbert  <david.gilbert@object-refinery.com>
27352
27353         * javax/swing/LookAndFeel.java: Updated API docs.
27354
27355 2006-03-14  Roman Kennke  <kennke@aicas.com>
27356
27357         * javax/swing/plaf/metal/MetalUtils.java
27358         (paintGradient): Added support for 'masked' gradients.
27359         (paintHorizontalGradient): Likewise.
27360         (paintVerticalGradient): Likewise.
27361         * javax/swing/plaf/metal/MetalIconFactory.java
27362         (RadioButtonIcon.gradientMask): New field.
27363         (RadioButtonIcon.paintIcon): Added mask for gradient painting.
27364
27365 2006-03-14  Mark Wielaard  <mark@klomp.org>
27366
27367         Fixes bug #26645.
27368         * javax/swing/plaf/basic/BasicComboBoxEditor.java (listener):
27369         New field.
27370         (removeActionListener): Add listener to ComboBoxEditorListener.
27371         (removeActionListener): Remove listener from ComboBoxEditorListener.
27372         (ComboBoxEditorListener): New static helper class.
27373
27374 2006-03-14  Roman Kennke  <kennke@aicas.com>
27375
27376         * javax/swing/plaf/metal/MetalBorders.java
27377         (getToolBarButtonBorder): Don't create a UIResource border
27378         here.
27379         * javax/swing/plaf/metal/MetalToolBarUI.java
27380         (installUI): New overridden method. Installs the rollover property.
27381         (uninstallUI): New overridden method. Resets the rollover property.
27382         * javax/swing/plaf/metal/MetalUtils.java
27383         (paintGradient): Fetch Float values from the UIManager. Adjusted
27384         method signatures accordingly.
27385         (paintHorizontalGradient): Adjusted signature to accept float
27386         instead of double.
27387         (paintVerticalGradient): Adjusted signature to accept float
27388         instead of double.
27389         * javax/swing/plaf/metal/OceanTheme.java
27390         (addCustomEntriesToTable): Added missing UIDefaults entries,
27391         except of Icons. Fixed gradient entries to use Float instead
27392         of Double.
27393
27394 2006-03-14  Roman Kennke  <kennke@aicas.com>
27395
27396         * javax/swing/JInternalFrame.java
27397         (JInternalFrame): Make JInternalFrame opaque.
27398         * javax/swing/JToolBarFrame.java
27399         (JToolBar): Make JToolBar opaque.
27400
27401 2006-03-14  David Gilbert  <david.gilbert@object-refinery.com>
27402
27403         * javax/swing/tree/TreeNode.java: Fixed bad API doc tags,
27404         * javax/swing/tree/TreePath.java: Likewise.
27405
27406 2006-03-13  Tom Tromey  <tromey@redhat.com>
27407
27408         * javax/swing/text/html/StyleSheet.java (removeAttributes):
27409         Genericized.
27410         * javax/swing/plaf/synth/SynthLookAndFeel.java (load): Genericized.
27411         * java/rmi/server/RMIClassLoader.java (loadProxyClass): Genericized.
27412
27413 2006-03-13  Keith Seitz  <keiths@redhat.com>
27414
27415         * gnu/classpath/jdwp/processor/ReferenceTypeCommandSet.java
27416         (executeMethods): Output number of methods.
27417
27418 2006-03-13  Roman Kennke  <kennke@aicas.com>
27419
27420         * javax/swing/plaf/basic/BasicButtonUI.java
27421         (uninstallDefaults): Only uninstall border if it's a UIResource.
27422         * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java
27423         (SystemMenuBar.isFocusTraversable): Fixed typo in signature.
27424         * javax/swing/plaf/basic/BasicInternalFrameUI.java
27425         (installUI): Don't touch the opaque flag of the glassPane and
27426         the frame. Don't invalidate.
27427         * javax/swing/plaf/basic/BasicInternalFrameUI.java
27428         (installUI): Don't touch the opaque flag of the glassPane.
27429         * javax/swing/plaf/basic/BasicMenuBarUI.java
27430         (properyChangeListener): Made field private.
27431         (ChangeHandler): Made class private.
27432         (ContainerHandler): Made class private.
27433         (PropertyChangeHandler): Made class private.
27434         * javax/swing/plaf/basic/BasicMenuUI.java
27435         (MenuHandler): Made class private.
27436         (PropertyChangeHandler): Removed unneeded class.
27437         (MenuDragMouseHandler): Made class private.
27438         (MenuKeyHandler): Made class private.
27439         * javax/swing/plaf/basic/BasicPanelUI.java
27440         (installDefaults): Made method protected. Don't set opaque
27441         flag.
27442         * javax/swing/plaf/basic/BasicScrollBarUI.java
27443         (TrackListener.shouldScroll): Made method private.
27444         * javax/swing/plaf/basic/BasicSplitPaneUI.java
27445         (BasicHorizontalLayoutManager.BasicHorizontalLayoutManager):
27446         Made constructor package private.
27447         * javax/swing/plaf/basic/BasicTableHeaderUI.java
27448         (cellBorder): Made field private.
27449         * javax/swing/plaf/basic/BasicTextUI.java
27450         (installDefaults): Don't make component opaque.
27451         * javax/swing/plaf/basic/BasicToolBarUI.java
27452         (createNonRollOverBorder): Don't create UIResource border.
27453         (createRollOverBorder): Don't create UIResource border.
27454         (installComponents): Moved setRolloverBorders call here.
27455         (installDefaults): Moved setRolloverBorders call from here.
27456         (installUI): Don't make toolbar opaque.
27457         (setBorderToNonRollover): Handle AbstractButton instead of
27458         JButton here.
27459         (uninstallComponents): Don't nullify class fields here.
27460
27461 2006-03-13  David Gilbert  <david.gilbert@object-refinery.com>
27462
27463         * javax/swing/SwingUtilities.java
27464         (calculateInnerArea): handle null component, and replace 
27465         getLocalBounds() with getBounds(Rectangle) to avoid unnecessary object
27466         creation.
27467
27468 2006-03-13  Roman Kennke  <kennke@aicas.com>
27469
27470         * javax/swing/JColorChooser.java
27471         (updateUI): Don't call revalidate().
27472         * javax/swing/JComboBox.java
27473         (updateUI): Don't call invalidate().
27474         * javax/swing/JDesktopPane.java
27475         (updateUI): Don't call invalidate().
27476         * javax/swing/JFileChooser.java
27477         (updateUI): Don't call revalidate().
27478         * javax/swing/JMenu.java
27479         (updateUI): Don't call invalidate().
27480         * javax/swing/JMenuBar.java
27481         (updateUI): Don't call invalidate().
27482         * javax/swing/JMenuItem.java
27483         (updateUI): Don't call invalidate().
27484         * javax/swing/JOptionPane.java
27485         (updateUI): Don't call invalidate().
27486         * javax/swing/JPopupMenu.java
27487         (updateUI): Don't call invalidate().
27488         * javax/swing/JProgressBar.java
27489         (updateUI): Don't call invalidate().
27490         * javax/swing/JScrollBar.java
27491         (updateUI): Don't call invalidate() and repaint().
27492         * javax/swing/JScrollPane.java
27493         (updateUI): Rewritten to be like the other updateUI()
27494         methods.
27495         * javax/swing/JSlider.java
27496         (updateUI): Don't call invalidate() and repaint().
27497         * javax/swing/JSplitPane.java
27498         (updateUI): Don't call invalidate() and repaint().
27499         * javax/swing/JTabbedPane.java
27500         (updateUI): Don't call invalidate().
27501         * javax/swing/JTable.java
27502         (updateUI): Don't call revalidate() and repaint().
27503         * javax/swing/JToolBar.java
27504         (updateUI): Don't call revalidate() and repaint().
27505         * javax/swing/JToolTip.java
27506         (updateUI): Don't call revalidate() and repaint().
27507
27508 2006-03-13  Roman Kennke  <kennke@aicas.com>
27509
27510         * javax/swing/SwingUtilities.java
27511         (updateComponentTreeUI): Rewritten to be more robust. Handling of
27512         menus and non-Swing components is improved.
27513         (updateComponentTreeUIImpl): New helper method.
27514         (replaceUIActionMap): Added check for uiActionMap==parent to
27515         avoid loop.
27516         (replaceUIInputMap): Added check for uiInputMap==parent to
27517         avoid loop.
27518
27519 2006-03-13  Wolfgang Baer  <WBaer@gmx.de>
27520
27521         * gnu/classpath/debug/Component.java: 
27522         (IPP) New component for IPP debugging. 
27523         (EVERYTHING): Adapted to include IPP.
27524         * javax/print/PrintServiceLookup.java: 
27525         (registerServiceProvider): New method.
27526         (registerService): Likewise.
27527         (lookupPrintServices): Likewise.
27528         (lookupMultiDocPrintServices): Likewise.
27529         (lookupDefaultPrintService): Likewise.
27530         (static_initializer): Likewise.
27531         (printServiceLookups): New field for found service providers.
27532         (printServices): New field for application registered providers.
27533         (systemProvider): New field for the system provider.    
27534         * javax/print/ServiceUI.java: New file. 
27535         * javax/print/package.html: Added more usage content.
27536         * javax/print/event/package.html: Likewise.
27537         * javax/print/attribute/package.html: Likewise.
27538         * javax/print/attribute/standard/package.html: Likewise.
27539         * gnu/javax/print/PrintUriException.java,
27540         gnu/javax/print/PrintFlavorException.java,
27541         gnu/javax/print/PrinterDialog.java,
27542         gnu/javax/print/PrintAttributeException.java,
27543         gnu/javax/print/CupsPrintServiceLookup.java,
27544         gnu/javax/print/CupsServer.java,
27545         gnu/javax/print/CupsPrintService.java,
27546         gnu/javax/print/CupsMediaMapping.java,
27547         gnu/javax/print/CupsIppOperation.java:
27548         New implementation files of the Java Print Service API.
27549         * gnu/javax/print/ipp/IppValueTag.java,
27550         gnu/javax/print/ipp/MultiDocPrintJobImpl.java,
27551         gnu/javax/print/ipp/IppStatusCode.java,
27552         gnu/javax/print/ipp/IppUtilities.java,
27553         gnu/javax/print/ipp/IppResponse.java,
27554         gnu/javax/print/ipp/IppException.java,
27555         gnu/javax/print/ipp/IppPrintService.java,
27556         gnu/javax/print/ipp/IppRequest.java,
27557         gnu/javax/print/ipp/IppMultiDocPrintService.java,
27558         gnu/javax/print/ipp/IppDelimiterTag.java,
27559         gnu/javax/print/ipp/DocPrintJobImpl.java:
27560         New files of the IPP client implementation.
27561         * gnu/javax/print/ipp/attribute/UnknownAttribute.java,
27562         gnu/javax/print/ipp/attribute/StatusMessage.java,
27563         gnu/javax/print/ipp/attribute/RequestedAttributes.java,
27564         gnu/javax/print/ipp/attribute/NaturalLanguageSyntax.java,
27565         gnu/javax/print/ipp/attribute/DocumentAccessError.java,
27566         gnu/javax/print/ipp/attribute/DetailedStatusMessage.java,
27567         gnu/javax/print/ipp/attribute/DefaultValueAttribute.java,
27568         gnu/javax/print/ipp/attribute/CharsetSyntax.java: 
27569         New attribute syntax/role files of the printing implementation.
27570         * gnu/javax/print/ipp/attribute/supported/UriSecuritySupported.java,
27571         gnu/javax/print/ipp/attribute/supported/UriAuthenticationSupported.java,
27572         gnu/javax/print/ipp/attribute/supported/SidesSupported.java,
27573         gnu/javax/print/ipp/attribute/supported/PrintQualitySupported.java,
27574         gnu/javax/print/ipp/attribute/supported/PrinterUriSupported.java,
27575         gnu/javax/print/ipp/attribute/supported/PrinterResolutionSupported.java,
27576         gnu/javax/print/ipp/attribute/supported/PageRangesSupported.java,
27577         gnu/javax/print/ipp/attribute/supported/
27578         OrientationRequestedSupported.java, 
27579         gnu/javax/print/ipp/attribute/supported/OperationsSupported.java,
27580         gnu/javax/print/ipp/attribute/supported/
27581         MultipleDocumentHandlingSupported.java, 
27582         gnu/javax/print/ipp/attribute/supported/
27583         MultipleDocumentJobsSupported.java, 
27584         gnu/javax/print/ipp/attribute/supported/MediaSupported.java,
27585         gnu/javax/print/ipp/attribute/supported/JobSheetsSupported.java,
27586         gnu/javax/print/ipp/attribute/supported/JobHoldUntilSupported.java,
27587         gnu/javax/print/ipp/attribute/supported/IppVersionsSupported.java,
27588         gnu/javax/print/ipp/attribute/supported/
27589         GeneratedNaturalLanguageSupported.java,
27590         gnu/javax/print/ipp/attribute/supported/FinishingsSupported.java,
27591         gnu/javax/print/ipp/attribute/supported/DocumentFormatSupported.java,
27592         gnu/javax/print/ipp/attribute/supported/CompressionSupported.java,
27593         gnu/javax/print/ipp/attribute/supported/CharsetSupported.java:
27594         New supported attribute files.
27595         * gnu/javax/print/ipp/attribute/printer/CharsetConfigured.java,
27596         gnu/javax/print/ipp/attribute/printer/DocumentFormat.java,
27597         gnu/javax/print/ipp/attribute/printer/MultipleOperationTimeOut.java,
27598         gnu/javax/print/ipp/attribute/printer/NaturalLanguageConfigured.java,
27599         gnu/javax/print/ipp/attribute/printer/PrinterCurrentTime.java,
27600         gnu/javax/print/ipp/attribute/printer/PrinterDriverInstaller.java,
27601         gnu/javax/print/ipp/attribute/printer/PrinterStateMessage.java,
27602         gnu/javax/print/ipp/attribute/printer/PrinterUpTime.java:
27603         New printer description attribute files.
27604         * gnu/javax/print/ipp/attribute/job/AttributesCharset.java,
27605         gnu/javax/print/ipp/attribute/job/AttributesNaturalLanguage.java,
27606         gnu/javax/print/ipp/attribute/job/JobDetailedStatusMessages.java,
27607         gnu/javax/print/ipp/attribute/job/JobDocumentAccessErrors.java,
27608         gnu/javax/print/ipp/attribute/job/JobPrinterUri.java,
27609         gnu/javax/print/ipp/attribute/job/JobId.java,
27610         gnu/javax/print/ipp/attribute/job/JobMoreInfo.java,
27611         gnu/javax/print/ipp/attribute/job/JobUri.java,
27612         gnu/javax/print/ipp/attribute/job/JobStateMessage.java:
27613         New job description attribute files.
27614         * gnu/javax/print/ipp/attribute/defaults/CopiesDefault.java,
27615         gnu/javax/print/ipp/attribute/defaults/DocumentFormatDefault.java,
27616         gnu/javax/print/ipp/attribute/defaults/FinishingsDefault.java,
27617         gnu/javax/print/ipp/attribute/defaults/JobHoldUntilDefault.java,
27618         gnu/javax/print/ipp/attribute/defaults/JobPriorityDefault.java,
27619         gnu/javax/print/ipp/attribute/defaults/JobSheetsDefault.java,
27620         gnu/javax/print/ipp/attribute/defaults/MediaDefault.java,
27621         gnu/javax/print/ipp/attribute/defaults/
27622         MultipleDocumentHandlingDefault.java,
27623         gnu/javax/print/ipp/attribute/defaults/NumberUpDefault.java,
27624         gnu/javax/print/ipp/attribute/defaults/OrientationRequestedDefault.java,
27625         gnu/javax/print/ipp/attribute/defaults/PrinterResolutionDefault.java,
27626         gnu/javax/print/ipp/attribute/defaults/PrintQualityDefault.java,
27627         gnu/javax/print/ipp/attribute/defaults/SidesDefault.java:
27628         New default printing attribute files.
27629         * resource/gnu/javax/print/PrinterDialog.properties: New file.
27630         * resource/gnu/javax/print/PrinterDialog_de.properties: Likewise.
27631         * examples/gnu/classpath/examples/print/Demo.java: 
27632         New demo application of the current implemented functionality.
27633
27634 2006-03-13  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
27635
27636         * java/rmi/activation/ActivationGroupDesc.java: Implemented.
27637         java/rmi/activation/ActivationDesc.java.java,
27638         java/rmi/activation/ActivationGroup.java,
27639         java/rmi/activation/ActivationID.java,
27640         java/rmi/activation/ActivationMonitor.java,
27641         java/rmi/activation/ActivationSystem.java,
27642         java/rmi/activation/package.html: Documenting.
27643
27644 2006-03-13  Roman Kennke  <kennke@aicas.com>
27645
27646         * javax/swing/JInternalFrame.java
27647         (setSelected): Repaint frame when it is showing and the selection
27648         state changes.
27649
27650 2006-03-13  Roman Kennke  <kennke@aicas.com>
27651
27652         * javax/swing/AbstractButton.java
27653         (AbstractAccessibleButton.getAccessibleRelationSet): Return super....()
27654         instead of null.
27655
27656 2006-03-13  Roman Kennke  <kennke@aicas.com>
27657
27658         * javax/accessibility/AccessibleContext.java
27659         (getAccessibleRelationSet): Return empty set instead of null.
27660
27661 2006-03-13  Roman Kennke  <kennke@aicas.com>
27662
27663         * javax/swing/ImageIcon.java
27664         (loadImage): Remove completed images from the MediaTracker. This
27665         avoids a potential memory leak.
27666
27667 2006-03-12  Wolfgang Baer  <WBaer@gmx.de>
27668
27669         * javax/print/MultiDocPrintService.java, 
27670         * javax/print/MultiDocPrintJob.java, 
27671         * javax/print/MultiDoc.java: Added and enhanced documentation.
27672
27673 2006-03-12  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
27674
27675         * java/rmi/activation/ActivationID.java (uid): New field.
27676         (writeExternal, readExternal): New methods. 
27677         (equals, hashCode): Rewritten.
27678         * java/rmi/activation/ActivationInstantiator.java,
27679         * java/rmi/activation/ActivationSystem.java,
27680         * java/rmi/activation/Activator.java,
27681         * java/rmi/activation/Activatable.java,
27682         * java/rmi/activation/ActivationGroup.java,
27683         * java/rmi/activation/ActivationGroupDesc.java: 
27684         Documented and autoformatted.
27685         * java/rmi/activation/package.html: Added content.
27686         
27687 2006-03-12  Chris Burdess  <dog@gnu.org>
27688
27689         Fixes PR 26652
27690         * gnu/xml/stream/XMLParser.java: Fix for case when both reader and
27691           encoding are specified.
27692
27693 2006-03-11  David Gilbert  <david.gilbert@object-refinery.com>
27694
27695         * javax/swing/DefaultSingleSelectionModel.java: API docs all over, plus
27696         (changeEvent): Initialise in fireStateChange(),
27697         (setSelectedIndex): Check if change is made before firing event,
27698         (clearSelection): Delegate to setSelectedIndex(),
27699         (fireStateChanged): Initialise changeEvent if necessary,
27700         * javax/swing/SingleSelectionModel.java: API docs all over.
27701
27702 2006-03-11  Tom Tromey  <tromey@redhat.com>
27703
27704         * java/util/zip/InflaterInputStream.java: Reverted previous
27705         patch.
27706
27707 2006-03-11  Mark Wielaard  <mark@klomp.org>
27708
27709         * java/text/AttributedCharacterIterator.java (Attribute.readResolve):
27710         Compare name.
27711
27712 2006-03-11  David Gilbert  <david.gilbert@object-refinery.com>
27713
27714         * javax/swing/event/TreeSelectionEvent.java
27715         (isAddedPath(TreePath)): Throw IllegalArgumentException if path is
27716         not one of the added/removed paths,
27717         (cloneWithSource): Reformatted.
27718
27719 2006-03-11  David Gilbert  <david.gilbert@object-refinery.com>
27720
27721         * javax/swing/tree/TreeCellEditor.java: Added API docs,
27722         * javax/swing/tree/TreeCellRenderer.java: Likewise.
27723
27724 2006-03-10  Casey Marshall  <csm@gnu.org>
27725
27726         Fixes PR 23768.
27727         * javax/crypto/Cipher.java (doFinal, doFinal, doFinal): don't
27728         reset `state.'
27729         (doFinal, update): new methods.
27730         (init, init, init, init): initialize `state' after trying the
27731         implementation, which can throw an exception.
27732         * javax/crypto/CipherSpi.java (engineDoFinal, engineUpdate): new
27733         methods.
27734
27735 2006-03-11  Ito Kazumitsu  <kaz@maczuka.gcd.org>
27736
27737         * gnu/regexp/BacktrackStack.java: New file.
27738         * gnu/regexp/RE.java(findMatch): New method.
27739         * gnu/regexp/REMatch.java(next,matchFlags,MF_FIND_ALL,
27740         REMatchList): Removed. (backtrackStack): New field.
27741         * gnu/regexp/REToken.java(match): Changed from an abstract
27742         method to an ordinary method defined with the new method
27743         matchThis. (matchThis, getNext, findMatch, returnsFixedLengthMatches,
27744         findFixedLengthMatches, backtrack, toString): New methods.
27745         * gnu/regexp/RETokenAny.java: Inplemented new methods of REToken.
27746         * gnu/regexp/RETokenBackRef.java: Likewise.
27747         * gnu/regexp/RETokenChar.java: Likewise.
27748         * gnu/regexp/RETokenEnd.java: Likewise.
27749         * gnu/regexp/RETokenEndSub.java: Likewise.
27750         * gnu/regexp/RETokenIndependent.java: Likewise.
27751         * gnu/regexp/RETokenLookAhead.java: Likewise.
27752         * gnu/regexp/RETokenLookBehind.java: Likewise.
27753         * gnu/regexp/RETokenNamedProperty.java: Likewise.
27754         * gnu/regexp/RETokenPOSIX.java: Likewise.
27755         * gnu/regexp/RETokenRange.java: Likewise.
27756         * gnu/regexp/RETokenStart.java: Likewise.
27757         * gnu/regexp/RETokenWordBoundary.java: Likewise
27758         * gnu/regexp/RETokenOneOf.java: Rewriten.
27759         * gnu/regexp/RETokenRepeated.java: Rewriten.
27760
27761 2006-03-10  Roman Kennke  <kennke@aicas.com>
27762
27763         * javax/swing/plaf/metal/MetalBorders.java
27764         (RolloverButtonBorder.paintBorder): Only call super here.
27765         * javax/swing/plaf/metal/MetalButtonListener.java
27766         (propertyChange): Only call super here.
27767         * javax/swing/plaf/metal/MetalButtonUI.java
27768         (update): Changed condition from isOpaque() to isContentAreaFilled()
27769         for the gradient fill.
27770         * javax/swing/plaf/metal/MetalToggleButtonUI.java
27771         (paintText): API doc fix. Makes paintText not deprecated as specified
27772         but adds comment that this is obsolete.
27773         * javax/swing/plaf/metal/MetalUtils.java
27774         (fillMetalPattern): Fixed condition so that the Java2D is not
27775         used when the noGraphics2D property is set.
27776
27777 2006-03-10  Roman Kennke  <kennke@aicas.com>
27778
27779         * javax/swing/plaf/metal/MetalLookAndFeel.java
27780         (createDefaultTheme): Set OceanTheme as default metal theme.
27781
27782 2006-03-10  Roman Kennke  <kennke@aicas.com>
27783
27784         * javax/swing/text/WrappedPlainView.java
27785         (metrics): Made field package private to avoid accessor method.
27786         (WrappedLine.paint): Call drawLine with y offset of the font ascent.
27787         The drawLine (righly) interprets the y parameter as the baseline.
27788         * javax/swing/text/Utilities.java
27789         (getBreakLocation): Don't consider the offset. The returned value
27790         for getTabbedTextOffset is already relative to the offset.
27791
27792 2006-03-10  Wolfgang Baer  <WBaer@gmx.de>
27793
27794         * gnu/java/net/protocol/http/Headers.java: Added documentation all over.
27795         (dateFormat): Made private.
27796         (put): Replace only the last occurance and the value.
27797         (putAll): Save one iteration. Clarified documentation.
27798
27799 2006-03-10  Tom Tromey  <tromey@redhat.com>
27800
27801         * java/util/zip/InflaterInputStream.java (read): Replace with libgcj
27802         implementation.
27803         * java/util/zip/GZIPInputStream.java (readHeader): Use DEFLATED,
27804         not '8'.
27805
27806 2006-03-10  Lillian Angel  <langel@redhat.com>
27807
27808         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c
27809         (comboboxgroup_get_widget): New function.
27810         (removed): Fixed to use new function to get the correct widget.
27811         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
27812         (nativeSetCheckboxGroup): Reverted last patch to use get_widget
27813         function.
27814
27815 2006-03-10  Lillian Angel  <langel@redhat.com>
27816
27817         * java/awt/GridBagLayout.java
27818         (ArrangeGrid): Added checks to determine if component
27819         is placed last in a row or column. If so, the location
27820         of the last component should be used to get the location
27821         of the current component.
27822
27823 2006-03-10  Lillian Angel  <langel@redhat.com>
27824
27825         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
27826         (nativeSetCheckboxGroup): No need to use new function here.
27827         Should just pass in pointer.
27828
27829 2006-03-10  Lillian Angel  <langel@redhat.com>
27830
27831         * java/awt/GridBagLayout.java
27832         (distributeSizeAndWeight): Change else if to else. This
27833         allows for components to be added to a new row when 
27834         their gridheight is REMAINDER.
27835
27836 2006-03-10  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
27837
27838         * java/rmi/activation/ActivationDesc.java,
27839         java/rmi/activation/ActivationGroupID.java,
27840         java/rmi/activation/Activator.java,
27841         java/rmi/server/Operation.java,
27842         java/rmi/server/RemoteServer.java: Documented and formatted.
27843
27844 2006-03-10  David Gilbert  <david.gilbert@object-refinery.com>
27845
27846         * javax/swing/JToggleButton.java: Fixed API doc tags,
27847         * javax/swing/OverlayLayout.java: Likewise.
27848
27849 2006-03-10  David Gilbert  <david.gilbert@object-refinery.com>
27850
27851         * javax/swing/DefaultCellEditor.java
27852         (cancelCellEditing): Removed spurious API doc tag.
27853
27854 2006-03-10  Lillian Angel  <langel@redhat.com>
27855
27856         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
27857         (create): Put checkbox widget into an event box so it paints properly.
27858         (connectSignals): Fixed to use new function.
27859         (nativeSetCheckboxGroup): Likewise.
27860         (gtkToggleButtonSetActive): Likewise.
27861         (gtkWidgetModifyFont): Likewise.
27862         (gtkButtonSetLabel): Likewise.
27863         (combobox_get_widget): New function.
27864
27865 2006-03-10  David Gilbert  <david.gilbert@object-refinery.com>
27866
27867         * javax/swing/text/rtf/package.html: New file.
27868         
27869 2006-03-10  Roman Kennke  <kennke@aicas.com>
27870
27871         * javax/swing/plaf/metal/OceanTheme.java
27872         (addCustomEntriesToTable): Fixed ScrollBar.gradient value.
27873         * javax/swing/plaf/metal/MetalScrollBarUI.java
27874         (paintThumb): Only draw Metal pattern if theme is not OceanTheme.
27875         (paintThumbHorizontal): Added handling of OceanTheme.
27876         (paintThumbVertical): Added handling of OceanTheme.
27877
27878 2006-03-10  Roman Kennke  <kennke@aicas.com>
27879
27880         Reported by Fridjof Siebert <siebert@aicas.com>
27881         * java/awt/MediaTracker.java
27882         (removeImage): Only set prev to e when the the images of the
27883         entries are not the same. This avoids a potentially corrupt list.
27884
27885 2006-03-10  Chris Burdess  <dog@gnu.org>
27886
27887         PR 26620:
27888         * gnu/xml/transform/TransformerImpl.java: Suspend wellformedness
27889           checking while reindenting.
27890
27891 2006-03-10  Thomas Fitzsimmons  <fitzsim@redhat.com>
27892
27893         * javax/imageio/plugins/jpeg/JPEGHuffmanTable.java: New file.
27894
27895 2006-03-09  Tom Tromey  <tromey@redhat.com>
27896
27897         PR classpath/26585:
27898         * tools/Makefile.am (TOOLSdir): Don't put tools.zip in tools
27899         subdir.  Added README.
27900         (install-data-local): Removed.
27901         (uninstall-local): Likewise.
27902         (EXTRA_DIST): Removed.
27903
27904 2006-03-09  Tom Tromey  <tromey@redhat.com>
27905
27906         PR classpath/26623:
27907         * native/jni/qt-peer/Makefile.am (nativeexeclib_LTLIBRARIES):
27908         Renamed.
27909         * native/jni/midi-alsa/Makefile.am (nativeexeclib_LTLIBRARIES):
27910         Renamed.
27911         * native/jni/java-net/Makefile.am (nativeexeclib_LTLIBRARIES):
27912         Renamed.
27913         * native/jni/java-lang/Makefile.am (nativeexeclib_LTLIBRARIES):
27914         Renamed.
27915         * native/jni/xmlj/Makefile.am (nativeexeclib_LTLIBRARIES):
27916         Renamed.
27917         * native/jni/gtk-peer/Makefile.am (nativeexeclib_LTLIBRARIES):
27918         Renamed.
27919         * native/jni/midi-dssi/Makefile.am (nativeexeclib_LTLIBRARIES):
27920         Renamed.
27921         * native/jni/java-io/Makefile.am (nativeexeclib_LTLIBRARIES):
27922         Renamed.
27923         * native/jni/java-nio/Makefile.am (nativeexeclib_LTLIBRARIES):
27924         Renamed.
27925         * native/jni/java-util/Makefile.am (nativeexeclib_LTLIBRARIES):
27926         Renamed.
27927         * native/jawt/Makefile.am (nativeexeclib_LTLIBRARIES): Renamed.
27928         * configure.ac (nativeexeclibdir): Renamed from nativelibdir.
27929
27930 2006-03-09  Keith Seitz  <keiths@redhat.com>
27931
27932         * gnu/classpath/jdwp/processor/MethodCommandSet.java
27933         (executeVariableTable): Use VMMethod instead of reflection.
27934         (executeLineTable): Likewise.
27935         * gnu/classpath/jdwp/processor/ReferenceTypeCommandSet.java
27936         (executeMethods): Rewrite to use new VMVirtualMachine.getAllClassMethods.
27937         * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java
27938         (getLineTable): Removed. Now resides in VMMethod.
27939         (getVarTable): Likewise.
27940         (getAllClassMethods): New method.
27941         
27942 2006-03-09  Keith Seitz  <keiths@redhat.com>
27943
27944         * gnu/classpath/jdwp/event/EventManager.java: Update javadoc.
27945         * gnu/classpath/jdwp/event/ThreadStartEvent.java
27946         (ThreadStartEvent): Likewise.
27947         * gnu/classpath/jdwp/event/VmDeathEvent.java (VmDeathEvent): Likewise.
27948         * gnu/classpath/jdwp/event/filters/ConditionalFilter.java
27949         (ConditionalFilter): Likewise.
27950         * gnu/classpath/jdwp/event/filters/ExceptionOnlyFilter.java
27951         (ExceptionOnlyFilter): Likewise.
27952         * gnu/classpath/jdwp/event/filters/FieldOnlyFilter.java
27953         (FieldOnlyFilter): Likewise.
27954         * gnu/classpath/jdwp/event/filters/StepFilter.java (getDepth): Likewise.
27955         (getSize): Likewise.
27956         (StepFilter): Likewise.
27957         * gnu/classpath/jdwp/id/JdwpId.java: Likewise (for _tag).
27958         * gnu/classpath/jdwp/transport/JdwpPacket.java
27959         (JdwpPacket): Likewise.
27960         (fromBytes): Likewise.
27961         * gnu/classpath/jdwp/transport/JdwpReplyPacket.java
27962         (JdwpReplyPacket): Likewise.
27963         * gnu/classpath/jdwp/util/Value.java (getUntaggedObj): Likewise.
27964         * vm/reference/gnu/classpath/jdwp/VMIdManager.java
27965         (getReferenceType): Likewise.
27966         (newObjectId): Likewise.
27967         * vm/reference/gnu/classpath/jdwp/VMMethod.java (readId): Likewise.
27968         * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java
27969         (getFrames): Fix typo in parameter name and update javadoc.
27970         (getClassMethod): Update javadoc.
27971
27972 2006-03-09  David Gilbert  <david.gilbert@object-refinery.com>
27973
27974         * javax/swing/event/TreeSelectionEvent.java: Updated API docs,
27975         * javax/swing/event/TreeSelectionListener.java: Likewise.
27976
27977 2006-03-09  Lillian Angel  <langel@redhat.com>
27978
27979         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c
27980         (getHScrollbarHeight): Fixed property name.
27981         (getVScrollbarHeight): Likewise.
27982
27983 2006-03-09  Lillian Angel  <langel@redhat.com>
27984
27985         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
27986         (get_widget): New function.
27987         (gtkWidgetSetParent): Changed to use new function.
27988         (gtkWidgetSetCursorUnlocked): Likewise.
27989         (gtkWidgetSetSensitive): Likewise.
27990         (gtkWidgetRequestFocus): Likewise.
27991         (gtkWindowGetLocationOnScreen): Likewise.
27992         (gtkWidgetGetDimensions): Likewise.
27993         (gtkWidgetGetPreferredDimensions): Likewise.
27994         (setNativeBounds): Likewise.
27995         (gtkWidgetGetBackground): Likewise.
27996         (gtkWidgetGetForeground): Likewise.
27997         (gtkWidgetSetBackground): Likewise.
27998         (gtkWidgetSetForeground): Likewise.
27999         (setVisibleNativeUnlocked): Likewise.
28000         (isEnabled): Likewise.
28001         (isRealized): Likewise.
28002         (setNativeEventMask): Likewise.
28003
28004 2006-03-09  Lillian Angel  <langel@redhat.com>
28005
28006         PR Classpath\22163
28007         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
28008         (create): Added combobox widget to an event box.
28009         (connectSignals): Added call to choice_get_widget to get the
28010         combobox out of the event box.
28011         (append): Likewise.
28012         (nativeRemoveAll): Likewise.
28013         (nativeRemove): Likwise.
28014         (nativeAdd): Likewise.
28015         (selectNative): Likewise.
28016         (choice_get_widget): New function.
28017         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
28018         (create): Added list scroll window widget to an event box.
28019         (connectSignals): Changed call to use new function to get the
28020         correct widget out of the event box.
28021         (getWidgetModifyFont): Likewise.
28022         (getWidgetRequestFocus): Likewise.
28023         (append): Likewise.
28024         (add): Likewise.
28025         (delItems): Likewise.
28026         (select): Likewise.
28027         (deselect): Likewise.
28028         (getSize): Likewise.
28029         (getSelectedIndexes): Likewise.
28030         (makeVisible): Likewise.
28031         (setMultipleMode): Likewise.
28032         (list_get_widget): New function.
28033         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c
28034         (create): Added scrollpane to an eventbox.
28035         (setScrollPosition): Changed call to use new function to get the
28036         correct widget out of the event box.
28037         (gtkScrolledWindowSetHScrollIncrement): Likewise.
28038         (gtkScrolledWindowSetVScrollIncrement): Likewise.
28039         (getHScrollbarHeight): Likewise.
28040         (getVScrollbarWidth): Likewise.
28041         (setPolicy): Likewise.
28042         (scrollpane_get_widget): New function.
28043         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollbarPeer.c
28044         (connectSignals): Changed call to use new function to get the
28045         correct widget out of the event box.
28046         (create): Added scrollbar to an eventbox.
28047         (setLineIncrement): Changed call to use new function to get the
28048         correct widget out of the event box.
28049         (setPageIncrement): Likewise.
28050         (setBarValues): Likewise.
28051         (scrollbar_get_widget): New function.
28052         * native/jni/gtk-peer/gnu_java_gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
28053         (create): Added text area scroll window widget to an event box.
28054         (connectSignals): Changed call to use new function to get the
28055         correct widget out of the event box.
28056         (insert): Likewise.
28057         (replaceRange): Likewise.
28058         (gtkWidgetModifyFont): Likewise.
28059         (gtkWidgetRequestFocus): Likewise.
28060         (getHScrollbarHeight): Likewise.
28061         (getVScrollbarWidth): Likewise.
28062         (getCaretPosition): Likewise.
28063         (setCaretPosition):Likewise.
28064         (getSelectionStart): Likewise.
28065         (getSelectionEnd): Likewise.
28066         (select): Likewise.
28067         (setEditable): Likewise.
28068         (getText): Likewise.
28069         (setText): Likewise.
28070         (textarea_get_widget): New function.
28071
28072 2006-03-09  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
28073
28074         * java/rmi/dgc/VMID.java: 
28075         (equals, hashCode, static initializer): Rewritten.
28076         * java/rmi/dgc/package.html: Documented.
28077         
28078 2006-03-09  Mark Wielaard  <mark@klomp.org>
28079
28080         * gnu/java/awt/peer/gtk/GtkClipboard.java (clipboard, selection):
28081         New static field.
28082         (stringMimeType, imageMimeType, filesMimeType): Initialize directly.
28083         (canCache): Likewise.
28084         (GtkClipboard): Take String argument.
28085         (getInstance): Removed.
28086         (getClipboardInstance, getSelectionInstance): New static methods.
28087         (setSystemContents): Make synchronized. Takes boolean argument.
28088         (initNativeState): Add clipboard and selection.
28089         * gnu/java/awt/peer/gtk/GtkClipboardNotifier.java
28090         (announceClipboardChange, announcePrimaryChange): New static field.
28091         (announce): Take GtkClipboard as argument.
28092         (run): Check which clipboard to announce change for.
28093         * gnu/java/awt/peer/gtk/GtkSelection.java (clipboard): New final
28094         boolean field.
28095         (GtkSelection): Take GtkClipboard as argument.
28096         (requestText, requestImage, requestURIs, requestBytes): Add boolean
28097         clipboard argument.
28098         (requestMimeTypes): Likewise.
28099         * gnu/java/awt/peer/gtk/GtkToolkit.java (getSystemSelection):
28100         New method.
28101         * java/awt/Toolkit.java (getSystemSelection): Document.
28102         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c
28103         (cp_gtk_selection_instance): New var.
28104         (current_selection, owner): Removed.
28105         (clipboard_owner_change_cb): Use clipboard argument.
28106         (initNativeState): Store clipboard and selection instances. Cache
28107         setSystemContentsID, provideContentID, provideTextID, provideImageID,
28108         and provideURIsID.
28109         (clipboard_get_func): Use clipboard argument.
28110         (clipboard_clear_func): Likewise. Always call method.
28111         (advertiseContent): Don't cache method ids here. Check whether to
28112         use clpboard or selection. Don't set owner or current_selection.
28113         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkSelection.c
28114         (requestText, requestImage, requestURIs, requestBytes): Use extra
28115         boolean argument to select clipboard.
28116         * native/jni/gtk-peer/gtkpeer.h (cp_gtk_selection): New extern.
28117         (cp_gtk_clipboard_instance, cp_gtk_selection_instance): Likewise.
28118         * include/gnu_java_awt_peer_gtk_GtkClipboard.h: Regenerate.
28119         * include/gnu_java_awt_peer_gtk_GtkSelection.h: Likewise.
28120
28121 2006-03-09  Keith Seitz  <keiths@redhat.com>
28122
28123         * gnu/classpath/jdwp/Jdwp.java: Remove unused imports.
28124         * gnu/classpath/jdwp/event/EventRequest.java: Likewise.
28125         * gnu/classpath/jdwp/event/filters/ClassMatchFilter.java: Likewise.
28126         * gnu/classpath/jdwp/event/filters/ThreadOnlyFilter.java: Likewise.
28127         * gnu/classpath/jdwp/processor/ThreadReferenceCommandSet.java: Likewise.
28128         * gnu/classpath/jdwp/transport/ITransport.java: Likewise.
28129         * vm/reference/gnu/classpath/jdwp/VMIdManager.java: Likewise.
28130         * vm/reference/gnu/classpath/jdwp/VMMethod.java: Likewise.
28131         * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java: Likewise.
28132
28133 2006-03-09  Mark Wielaard  <mark@klomp.org>
28134
28135         * javax/swing/JList.java (ensureIndexIsVisible): Check whether cell
28136         bounds for index is valid.
28137         * javax/swing/plaf/basic/BasicListUI.java (valueChanged): Likewise.
28138         (paint): Likewise.
28139         (getCellBounds): Update documentation.
28140
28141 2006-03-09  Arnaud Vandyck  <avdyk@gnu.org>
28142
28143         * .classpath: added exclude pattern on source folders
28144         (Makefiles, README and .cvsignore)
28145
28146 2006-03-08  Michael Koch  <konqueror@gmx.de>
28147
28148         * java/net/Proxy.java (NO_PROXY): Made final.
28149         (equals): Likewise.
28150         (hashCode): Likewise.
28151
28152 2006-03-08  Keith Seitz  <keiths@redhat.com>
28153
28154         * vm/reference/gnu/classpath/jdwp/VMMethod.java: New file.
28155         * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java
28156         (getClassMethod): New method.
28157
28158 2006-03-08  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
28159
28160         * java/rmi/server/UID.java (getMachineId): Include the host IP address.
28161     
28162 2006-03-08  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
28163
28164         * java/rmi/server/ObjID.java: Documented and autoformatted.
28165
28166 2006-03-08  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
28167
28168         PR 26584
28169         * tools/Makefile.am (install-data-local,
28170         uninstall-local): Install/uninstall the tools/README only.
28171         * tools/gnu/classpath/tools/giop/README: Updated.
28172         * tools/README: New file.
28173
28174 2006-03-08  Lillian Angel  <langel@redhat.com>
28175
28176         * java/awt/GridBagLayout.java
28177         (GetLayoutInfo): If the last component added had gridwidth == REMAINDER,
28178         then the next item should be set to current_y (not 0).
28179
28180 2006-03-08  Lillian Angel  <langel@redhat.com>
28181
28182         * java/awt/GridBagLayout.java
28183         (GetLayoutInfo): If gridy is RELATIVE and there is no component
28184         in the bottom-most spot of the column, we need to place that component
28185         at the y-location of the other components in that row. If there are
28186         no other components in that row, then place it at y = 0.
28187
28188 2006-03-08  David Gilbert  <david.gilbert@object-refinery.com>
28189
28190         * javax/swing/ProgressMonitor.java: Updated API docs,
28191         * javax/swing/ProgressMonitorInputStream.java: Likewise.
28192
28193 2006-03-08  Michael Koch  <konqueror@gmx.de>
28194
28195         * java/net/InetSocketAddress.java
28196         (InetSocketAddress(String,int,resolve)): New private contructor.
28197         (InetSocketAddress(String,int)): Use new private constructor.
28198         (createUnresolved): New method.
28199
28200 2006-03-07  Michael Koch  <konqueror@gmx.de>
28201
28202         * gnu/java/net/DefaultProxySelector.java,
28203         java/net/Proxy.java, java/net/ProxySelector.java:
28204         New files.
28205
28206 2006-03-07  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
28207
28208         * java/rmi/server/UID.java (constructor): Assign last and time fields
28209         after pause.
28210
28211 2006-03-07  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
28212
28213         * java/rmi/server/UID.java: New file (replacing). 
28214
28215 2006-03-08  Raif S. Naffah  <raif@swiftdsl.com.au>
28216
28217         * java/util/jar/Manifest.java: Removed unused imports.
28218         (CRLF): New constant.
28219         (read): Added method documentation.
28220         Use UTF-8 encoding instead of 8859_1.
28221         (write): Added method documentation.
28222         Use BufferedOutputStream (w/ 4K buffer) instead of PrintWriter.
28223         (write_main_section): Replace PrintWriter arg with OutputStream.
28224         Replace JarException with IOException.
28225         (write_version_info): Likewise.
28226         (write_main_attributes): Likewise.
28227         (write_attribute_entry): Likewise.
28228         (write_individual_sections): Likewise.
28229         (write_entry_attributes): Likewise.
28230         (write_header): Replace PrintWriter arg with OutputStream.
28231         Re-implemented.
28232
28233 2006-03-07  David Gilbert  <david.gilbert@object-refinery.com>
28234
28235         * javax/swing/tree/DefaultMutableTreeNode.java
28236         (getFirstChild): Updated API docs,
28237         (getLastChild): Likewise,
28238         (getChildAfter): Likewise,
28239         (getChildBefore): Likewise,
28240         (isNodeSibling): Return true if node == this,
28241         (getSiblingCount): Updated API docs,
28242         (getNextSibling): Likewise,
28243         (getPreviousSibling): Likewise,
28244         (isLeaf): Likewise,
28245         (getFirstLeaf): Likewise,
28246         (getLastLeaf): Likewise,
28247         (getNextLeaf): Implemented,
28248         (getPreviousLeaf): Implemented.
28249
28250 2006-03-07  Tom Tromey  <tromey@redhat.com>
28251
28252         * java/awt/image/ColorModel.java (getComponents): Javadoc fix.
28253         * java/awt/datatransfer/FlavorEvent.java: Added missing @since.
28254         * java/awt/dnd/DropTargetEvent.java (serialVersionUID): New field.
28255         * java/awt/DefaultFocusTraversalPolicy.java (serialVersionUID): New
28256         field.
28257
28258 2006-03-07  David Gilbert  <david.gilbert@object-refinery.com>
28259
28260         * javax/swing/tree/DefaultMutableTreeNode.java: API docs all over plus
28261         (clone): Reimplemented,
28262         (add): Throw IllegalArgumentException if child is an ancestor,
28263         (remove(int)): Set child's parent to null,
28264         (remove(MutableTreeNode)): Check arguments and set child's parent to 
28265         null,
28266         (insert): Check allowsChildren flag, check for null argument, and
28267         check for a node that is an ancestor,
28268         (getIndex): Throw IllegalArgumentException for null argument,
28269         (setAllowsChildren): If setting to false, remove existing children,
28270         (removeAllChildren): Set parent to null for removed children.
28271
28272 2006-03-07  David Gilbert  <david.gilbert@object-refinery.com>
28273
28274         * javax/swing/tree/TreeNode.java: Reformatted and added API docs all
28275         over.
28276
28277 2006-03-06  Tom Tromey  <tromey@redhat.com>
28278
28279         * java/lang/StrictMath.java (ulp): New methods.
28280         * java/lang/Math.java (ulp): New methods.
28281
28282 2006-03-07  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
28283
28284         * gnu/java/rmi/server/UnicastRef.java,
28285         * gnu/java/rmi/server/UnicastServer.java: Formatted.
28286         
28287 2006-03-07  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
28288
28289         * gnu/java/rmi/server/CombinedClassLoader.java 
28290         (findClass, findLibrary, findResouce, findResources): check
28291         all loaders in array.
28292         
28293 2006-03-07  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
28294
28295         PR 25526
28296         * gnu/java/rmi/dgc/DGCImpl.java (LeaseRecord, leaseCache): Removed.
28297         (RefProtector):    new inner class. (dirty): Rewritten.
28298         * gnu/java/rmi/server/UnicastRef.java (dgcId, dgcInterfaceHash,
28299         dgcSequence, DIRTY, this_id): New fields. (equals, hashCode, notifyDGC):
28300         new methods. (readExternal): Create LeaseRenewingTask if non local.
28301         * gnu/java/rmi/server/UnicastServer.java (objects):
28302         Use WeakHashMap. (refcache): Use WeakIdentityHashMap.
28303         (getExported): New method.
28304         * gnu/java/rmi/dgc/LeaseRenewingTask.java: New file.
28305         
28306 2006-03-06  Mark Wielaard  <mark@klomp.org>
28307
28308         * doc/www.gnu.org/announce/20060306.wml: New file.
28309         * doc/www.gnu.org/newsitems.txt: Add 0.90 release announcement.
28310         * doc/www.gnu.org/downloads/downloads.wml: Add 0.90.
28311         
28312 2006-03-06  David Gilbert  <david.gilbert@object-refinery.com>
28313
28314         * javax/swing/plaf/metal/MetalLookAndFeel.java
28315         (initComponentDefaults): Use Boolean.TRUE for
28316         'CheckBoxMenuItem.borderPainted'.
28317         
28318 2006-03-06  Wolfgang Baer  <WBaer@gmx.de>
28319
28320         * gnu/java/net/protocol/http/Headers.java: Added documentation all over.
28321         (dateFormat): Made private.
28322         (put): Replace only the last occurance and the value.
28323         (putAll): Reimplemented with the put method.
28324         
28325 2006-03-06  Lillian Angel  <langel@redhat.com>
28326
28327         PR classpath/26569
28328         * java/awt/List.java
28329         (preferredSize): Return the size of the list if the peer is 
28330         null.
28331         * gnu/java/awt/peer/gtk/GtkListPeer.java
28332         (preferredSize): Code was returning the minimum size of the 
28333         list. Added adjustment to the width of the list so it is a 
28334         proper size.
28335         
28336 2006-03-06  Wolfgang Baer  <WBaer@gmx.de>
28337
28338         * gnu/java/net/protocol/http/HTTPURLConnection.java: Organized imports.
28339         (getRequestProperty): Remove duplicated null check.
28340         * java/net/URLConnection.java:
28341         (URLConnection): Javadoc fix.
28342         (addRequestProperty): Likewise.
28343         (getDefaultRequestProperty): Likewise.
28344         (getHeaderField): Likewise.
28345         (getHeaderFieldDate): Likewise.
28346         (getHeaderFieldKey): Likewise.
28347         (getHeaderFields): Likewise.
28348         (getRequestProperties): Likewise.
28349         (getRequestProperty): Likewise.
28350         (setDefaultRequestProperty): Likewise.
28351         (setRequestProperty): Likewise.
28352         
28353 2006-03-06  Robert Schuster  <robertschuster@fsfe.org>
28354       
28355         * examples/gnu/classpath/examples/swing/TextArea.java: New file.
28356         * examples/gnu/classpath/examples/swing/Demo.java:
28357         (mkButtonBar): Changed layout manager to GridLayout, added entry for
28358         textarea example.
28359         (mkMenuBar): Added entry for text area example.
28360         
28361 2006-03-06  Tom Tromey  <tromey@redhat.com>
28362
28363         * javax/swing/plaf/synth/Region.java (FILE_CHOOSER): Renamed.
28364         (FORMATTED_TEXT_FIELD): Likewise.
28365         
28366 2006-03-06  Tom Tromey  <tromey@redhat.com>
28367
28368         * javax/swing/plaf/synth/SynthPainter.java: Finished.
28369         
28370 2006-03-06  Robert Schuster  <robertschuster@fsfe.org>
28371
28372         * examples/gnu/classpath/examples/swing/Demo.java:
28373         (mkMenuBar): Added menu entry that will display the VM's name,
28374         version and distributor.
28375         
28376 2006-03-06  Tom Tromey  <tromey@redhat.com>
28377          
28378         * javax/swing/plaf/synth/SynthLookAndFeel.java (getDescription): 
28379         Javadoc fix.
28380         (getName): Likewise.
28381         
28382 2006-03-06  Raif S. Naffah  <raif@swiftdsl.com.au>
28383
28384         * java/util/jar/Manifest.java: Removed unused imports.
28385         (CRLF): New constant.
28386         (read): Added method documentation.
28387         Use UTF-8 encoding instead of 8859_1.
28388         (write): Added method documentation.
28389         Use BufferedOutputStream (w/ 4K buffer) instead of PrintWriter.
28390         (write_main_section): Replace PrintWriter arg with OutputStream.
28391         Replace JarException with IOException.
28392         (write_version_info): Likewise.
28393         (write_main_attributes): Likewise.
28394         (write_attribute_entry): Likewise.
28395         (write_individual_sections): Likewise.
28396         (write_entry_attributes): Likewise.
28397         (write_header): Replace PrintWriter arg with OutputStream.
28398         Re-implemented.
28399         
28400 2006-03-06  David Gilbert  <david.gilbert@object-refinery.com>
28401
28402         
28403         * javax/swing/tree/FixedHeightLayoutCache.java: Reformatted and fixed
28404         API doc tag warnings,
28405         * javax/swing/tree/VariableHeightLayoutCache.java: Likewise.
28406         
28407 2006-03-06  Dalibor Topic  <robilad@kaffe.org>
28408
28409         * gnu/java/net/protocol/file/Connection.java (unquote):
28410         Update position in buffer after decoding a unicode character
28411         outside of the basic plane.
28412         
28413 2006-03-06  Dalibor Topic  <robilad@kaffe.org>
28414
28415         * java/net/URI.java
28416         (quote): Pass Unicode characters outside the basic plane through.
28417         
28418 2006-03-06  Robert Schuster  <robertschuster@fsfe.org>
28419        
28420         * javax/swing/plaf/basic/BasicTextUI.java:
28421         (damageRange): Rewritten if-expressions to correctly identify the
28422         break condition.
28423
28424 2006-03-06  Mark Wielaard  <mark@klomp.org>
28425
28426         * configure.ac: Set version to 0.90-generics.
28427         * NEWS: Fix typos.
28428
28429 2006-03-06  Mark Wielaard  <mark@klomp.org>
28430
28431         Fixes bug #26568 reported by Paul Jenner <psj@harker.dyndns.org>
28432         * native/fdlibm/fdlibm.h (__ieee754_rem_pio2): Return an int32_t.
28433         (isnan): Define explicitly isnan if it is not a macro.
28434
28435 2006-03-06  Robert Schuster  <robertschuster@fsfe.org>
28436
28437         * javax/swing/text/GapContent.java:
28438         (insertString): Throw exception when argument is below
28439         zero.
28440
28441 2006-03-06  Robert Schuster  <robertschuster@fsfe.org>
28442
28443         * javax/swing/text/PlainDocument.java:
28444         (insertUpdate): Extended if-expression, added
28445         code to generate another Element when newly inserted characters
28446         and old ones will be on the same line.
28447
28448 2006-03-06  Robert Schuster  <robertschuster@fsfe.org>
28449
28450         * javax/swing/text/DefaultCaret.java:
28451         (mouseDragged): Do selection when shift is pressed.
28452         (mouseClicked): Implemented.
28453
28454 2006-03-06  Robert Schuster  <robertschuster@fsfe.org>
28455
28456         * javax/swing/text/PlainDocument.java: Fix copyright header,
28457         added author tags.
28458         (insertUpdate): Do not copy the whole document any more, added some
28459         more variables to prevent needless method calls.
28460
28461 2006-03-06  Christian Thalinger <twisti@complang.tuwien.ac.at>
28462
28463         * configure.ac: Check for FREETYPE2.  This is a reverted patch and
28464         is required on Darwin.
28465         * native/jni/gtk-peer/Makefile.am (AM_LDFLAGS): Added FREETYPE2.
28466         (AM_CFLAGS): Likewise.
28467
28468 2006-03-06  Mark Wielaard  <mark@klomp.org>
28469
28470         * NEWS: Add updates for 0.90 release.
28471
28472 2006-03-05  Robert Schuster  <robertschuster@fsfe.org>
28473
28474         * javax/swing/text/GapContent.java:
28475         (insertString): Throw exception when argument is below
28476         zero.
28477
28478 2006-03-05  David Gilbert  <david.gilbert@object-refinery.com>
28479
28480         
28481         * javax/swing/filechooser/FileFilter.java:
28482         (accept): Fixed API doc tag,
28483        (getDescription): Likewise,
28484         * javax/swing/filechooser/FileView.java:       
28485         (isTraversable): Fixed API doc tag.
28486
28487 2006-03-05  David Gilbert  <david.gilbert@object-refinery.com>
28488
28489         * javax/swing/colorchooser/ColorSelectionModel.java: Reformatted and
28490         added API docs all over.
28491
28492 2006-03-05  David Gilbert  <david.gilbert@object-refinery.com>
28493
28494         * javax/swing/plaf/ComboBoxUI.java: Fixed typo in class description,
28495         and corrected a bad API doc tag.
28496
28497 2006-03-05  David Gilbert  <david.gilbert@object-refinery.com>
28498
28499         * javax/swing/undo/StateEditable.java
28500         (restoreState): Fixed bad API doc tag,
28501         * javax/swing/undo/UndoableEdit.java: Copied API doc comments from
28502         AbstractUndoableEdit.java,
28503         * javax/swing/undo/UndoableEditSupport.java
28504         (createCompoundEdit): Fixed bad API doc tag,
28505         * javax/swing/undo/UndoManager.java
28506         (editToBeUndone): Fixed bad API doc tag,
28507         (editToBeRedone): Likewise.
28508
28509 2006-03-05  David Gilbert  <david.gilbert@object-refinery.com>
28510
28511         * javax/swing/DefaultFocusManager.java: Fixed bad API doc tags,
28512         * javax/swing/FocusManager.java: Likewise.
28513
28514
28515 2006-03-05  David Gilbert  <david.gilbert@object-refinery.com>
28516
28517         
28518         * javax/swing/plaf/metal/MetalComboBoxButton.java
28519         (MetalComboBoxButton(JComboBox, Icon, boolean, CellRendererPane,
28520         JList)): Fixed API doc tag,
28521         * javax/swing/plaf/metal/MetalInternalFrameTitlePane
28522         (createLayout): Fixed API doc warning.
28523         
28524 2006-03-05  Tom Tromey  <tromey@redhat.com>
28525
28526         * vm/reference/java/lang/reflect/Constructor.java (toString): Use
28527         ClassHelper.getUserName.
28528         * vm/reference/java/lang/reflect/Method.java (toString): Use
28529         ClassHelper.getUserName.
28530         (getUserTypeName): Removed.
28531         * gnu/java/lang/ClassHelper.java (getUserName): New method.
28532         * vm/reference/java/lang/reflect/Field.java (toString): Use
28533         ClassHelper.getUserName.
28534
28535 2006-03-05  Olivier Jolly  <olivier.jolly@pcedev.com>
28536
28537         Fixes PR 22813
28538         * java/net/URLClassLoader.java (FileURLLoader.getResource):   
28539         Allows directories as valid resources.
28540
28541 2006-03-05  Mark Wielaard  <mark@klomp.org>
28542
28543         * configure.ac (VERSION): Set to 0.90-pre-generics.
28544         * Merge with CVS trunk from classpath-0_90-branch-point.
28545
28546 2006-03-04  Tom Tromey  <tromey@redhat.com>
28547
28548         * javax/swing/SpringLayout.java (Constraints): New constructor.
28549         * javax/swing/Spring.java (width): New method.
28550         (height): Likewise.
28551         (scale): Likewise.
28552
28553 2006-03-04  Mark Wielaard  <mark@klomp.org>
28554
28555         * gnu/java/net/protocol/http/HTTPConnection.java (Pool.get): Remove
28556         existing connection from pool before returning.
28557
28558 2006-03-04  Mark Wielaard  <mark@klomp.org>
28559
28560         * gnu/xml/stream/SAXParser.java (parse(InputSource)): Ignore
28561         exceptions thrown by handlers while cleaning up and rethrow original
28562         exception.
28563
28564 2006-03-04  Tom Tromey  <tromey@redhat.com>
28565
28566         * java/beans/PropertyDescriptor.java (createPropertyEditor): New
28567         method.
28568         (findConstructor): Likewise.
28569         (instantiateClass): Likewise.
28570
28571 2006-03-04  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
28572
28573         * gnu/java/rmi/dgc/DGCImpl.java:  More comments, boilerplate fix.
28574         (dirty): Do not synchronize on Hashtable. Use the passed (requested) 
28575         lease value and not always the default one.
28576         (LeaseRecord): Remember the array of objects, marked as dirty.
28577         java/rmi/dgc/Lease.java: Boilerplate fix.
28578
28579 2006-03-05  Raif S. Naffah  <raif@swiftdsl.com.au>
28580
28581         * java/util/jar/Attributes.java (putValue): Made it public and updated
28582         method documentation.
28583
28584 2006-03-04  Mark Wielaard  <mark@klomp.org>
28585
28586         * java/awt/Container.java (remove(int)): Always call removeNotify()
28587         on removed Component.
28588
28589 2006-03-04  Mark Wielaard  <mark@klomp.org>
28590
28591         Fixes bug #26460 reported by Beat Wolf <asraniel@fryx.ch>.
28592         * javax/swing/JEditorPane.java (setText): Check for empty String
28593         with equals(), not equality (==).
28594
28595 2006-03-04  Mark Wielaard  <mark@klomp.org>
28596
28597         * javax/swing/text/html/HTMLDocument.java: Qualify ElementSpec as
28598         DefaultStyledDocument.ElementSpec for gcj 4.0.x.
28599
28600 2006-03-04  David Gilbert  <david.gilbert@object-refinery.com>
28601
28602         * javax/swing/text/GapContent.java
28603         (getArray): Mark as final.
28604
28605 2006-03-04  David Gilbert  <david.gilbert@object-refinery.com>
28606
28607         * javax/swing/text/StyleConstants.java
28608         (CharacterConstants.Background): Marked final,
28609         (CharacterConstants.BidiLevel): Likewise,
28610         (CharacterConstants.Bold): Likewise,
28611         (CharacterConstants.ComponentAttribute): Likewise,
28612         (CharacterConstants.Family): Likewise,
28613         (CharacterConstants.Size): Likewise,
28614         (CharacterConstants.Foreground): Likewise,
28615         (CharacterConstants.IconAttribute): Likewise,
28616         (CharacterConstants.Italic): Likewise,
28617         (CharacterConstants.StrikeThrough): Likewise,
28618         (CharacterConstants.Subscript): Likewise,
28619         (CharacterConstants.Superscript): Likewise,
28620         (CharacterConstants.Underline): Likewise,
28621         (ColorConstants.Foreground): Likewise,
28622         (ColorConstants.Background): Likewise,
28623         (FontConstants.Bold): Likewise,
28624         (FontConstants.Family): Likewise,
28625         (FontConstants.Italic): Likewise,
28626         (FontConstants.Size): Likewise,
28627         (ParagraphConstants.Alignment): Likewise,
28628         (ParagraphConstants.FirstLineIndent): Likewise,
28629         (ParagraphConstants.LeftIndent): Likewise,
28630         (ParagraphConstants.LineSpacing): Likewise,
28631         (ParagraphConstants.Orientation): Likewise,
28632         (ParagraphConstants.RightIndent): Likewise,
28633         (ParagraphConstants.SpaceAbove): Likewise,
28634         (ParagraphConstants.SpaceBelow): Likewise,
28635         (ParagraphConstants.TabSet): Likewise.  
28636
28637 2006-03-03  Tom Tromey  <tromey@redhat.com>
28638
28639         * javax/net/ssl/SSLException.java: Added missing @since.
28640         Wrote javadoc.
28641
28642 2006-03-03  Tom Tromey  <tromey@redhat.com>
28643
28644         * javax/net/ssl/SSLException.java (SSLException): New constructors.
28645         (serialVersionUID): New field.
28646
28647 2006-03-03  Tom Tromey  <tromey@redhat.com>
28648
28649         * java/security/spec/InvalidKeySpecException.java
28650         (InvalidKeySpecException): New constructors.
28651         * java/security/cert/CertificateParsingException.java
28652         (CertificateParsingException): New constructors.
28653         * java/security/cert/CertificateEncodingException.java
28654         (CertificateEncodingException): New constructors.
28655         * java/security/cert/CertificateException.java (CertificateException):
28656         New constructors.
28657         * java/security/cert/CRLException.java (CRLException): New
28658         constructors.
28659
28660 2006-03-03  Tom Tromey  <tromey@redhat.com>
28661
28662         * java/security/SignatureException.java (SignatureException): New
28663         constructors.
28664         * java/security/ProviderException.java (ProviderException): New
28665         constructors.
28666         * java/security/NoSuchAlgorithmException.java
28667         (NoSuchAlgorithmException): New constructors.
28668         * java/security/KeyStoreException.java (KeyStoreException): New
28669         constructors.
28670         * java/security/KeyManagementException.java (KeyManagementException):
28671         New constructors.
28672         * java/security/InvalidKeyException.java (InvalidKeyException): New
28673         constructors.
28674         * java/security/KeyException.java (KeyException): New constructors.
28675         * java/security/InvalidAlgorithmParameterException.java
28676         (InvalidAlgorithmParameterException): New constructors.
28677         * java/security/DigestException.java (DigestException): New
28678         constructors.
28679         * java/security/GeneralSecurityException.java
28680         (GeneralSecurityException): New constructors.
28681
28682 2006-03-03  David Gilbert  <david.gilbert@object-refinery.com>
28683
28684         * javax/swing/event/CaretEvent.java: Reformatting and fixed API doc 
28685         warnings,
28686         * javax/swing/event/DocumentEvent.java: Likewise,
28687         * javax/swing/event/EventListenerList.java: Likewise,
28688         * javax/swing/event/MenuDragMouseEvent.java: Likewise,
28689         * javax/swing/event/MenuKeyEvent.java: Likewise,
28690         * javax/swing/event/TableColumnModelEvent.java: Likewise,
28691         * javax/swing/event/TreeExpansionEvent.java: Likewise,
28692         * javax/swing/event/TreeModelEvent.java: Likewise,
28693         * javax/swing/event/TreeSelectionEvent.java: Likewise,
28694         * javax/swing/event/UndoableEditEvent.java: Likewise.
28695
28696 2006-03-03  Tom Tromey  <tromey@redhat.com>
28697
28698         * java/awt/Insets.java (set): New method.
28699         (equals): Added @since.
28700
28701 2006-03-03  David Daney  <ddaney@avtrex.com>
28702
28703         * gnu/java/net/protocol/http/HTTPURLConnection.java
28704         (getRequestProperties): Rewrote.
28705         (addRequestProperty): Rewrote.
28706         (getHeaderFields): Rewrote.
28707         (getHeaderField): Rewrote.
28708         (getHeaderFieldKey): Rewrote.
28709         (getHeaderField): Removed useless cast.
28710         * gnu/java/net/protocol/http/Headers.java: Entire class rewritten.
28711         * gnu/java/net/protocol/http/Request.java (dispatch): Use new Headers
28712         interface.
28713         (notifyHeaderHandlers): Use new Headers interface.
28714
28715 2006-03-03  Tom Tromey  <tromey@redhat.com>
28716
28717         * javax/naming/NamingException.java (getExplanation): Javadoc fix.
28718         * javax/naming/spi/ResolveResult.java,
28719         javax/naming/event/NamingExceptionEvent.java,
28720         javax/naming/event/NamingEvent.java,
28721         javax/naming/directory/SearchResult.java,
28722         javax/naming/directory/SearchControls.java,
28723         javax/naming/directory/SchemaViolationException.java,
28724         javax/naming/directory/NoSuchAttributeException.java,
28725         javax/naming/directory/ModificationItem.java,
28726         javax/naming/directory/InvalidSearchFilterException.java,
28727         javax/naming/directory/InvalidSearchControlsException.java,
28728         javax/naming/directory/InvalidAttributesException.java,
28729         javax/naming/directory/InvalidAttributeIdentifierException.java,
28730         javax/naming/directory/AttributeModificationException.java,
28731         javax/naming/directory/AttributeInUseException.java,
28732         javax/naming/TimeLimitExceededException.java,
28733         javax/naming/SizeLimitExceededException.java,
28734         javax/naming/PartialResultException.java,
28735         javax/naming/Reference.java,
28736         javax/naming/ServiceUnavailableException.java,
28737         javax/naming/OperationNotSupportedException.java,
28738         javax/naming/NotContextException.java,
28739         javax/naming/NoPermissionException.java,
28740         javax/naming/NoInitialContextException.java,
28741         javax/naming/NameNotFoundException.java,
28742         javax/naming/NameAlreadyBoundException.java,
28743         javax/naming/NameClassPair.java,
28744         javax/naming/MalformedLinkException.java,
28745         javax/naming/LinkLoopException.java,
28746         javax/naming/LinkException.java,
28747         javax/naming/LimitExceededException.java,
28748         javax/naming/InvalidNameException.java,
28749         javax/naming/InterruptedNamingException.java,
28750         javax/naming/InsufficientResourcesException.java,
28751         javax/naming/ContextNotEmptyException.java,
28752         javax/naming/ConfigurationException.java,
28753         javax/naming/CannotProceedException.java,
28754         javax/naming/CommunicationException.java,
28755         javax/naming/Binding.java,
28756         javax/naming/AuthenticationNotSupportedException.java,
28757         javax/naming/AuthenticationException.java: Added serialVersionUID.
28758
28759 2006-03-03  David Gilbert  <david.gilbert@object-refinery.com>
28760
28761         * javax/swing/event/TableColumnModelEvent.java: Reformatted.
28762
28763 2006-03-03  David Gilbert  <david.gilbert@object-refinery.com>
28764
28765         * javax/swing/event/TableModelListener.java: Updated API docs.
28766
28767 2006-03-03  Mark Wielaard  <mark@klomp.org>
28768
28769         * java/awt/Component.java (addNotify): Expand documentation.
28770
28771 2006-03-03  Mark Wielaard  <mark@klomp.org>
28772
28773         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (GtkComponentPeer):
28774         Always call setParentAndBounds().
28775         (setComponentBounds): Always call setBounds().
28776         (setBounds): Call setVisible().
28777         (setVisible): If no pixels are showing then don't make it visible.
28778         * gnu/java/awt/peer/gtk/GtkContainerPeer.java (endValidate): No need
28779         to call setParentAndBounds() anymore.
28780
28781 2006-03-03  Roman Kennke  <kennke@aicas.com>
28782
28783         * javax/swing/JInternalFrame.java
28784         (JInternalFrame): Set frame invisible.
28785         (show): Reformatted.
28786         * javax/swing/plaf/basic/BasicInternalFrameUI.java
28787         (installDefaults): Do not set invisible here.
28788
28789 2006-03-03  Roman Kennke  <kennke@aicas.com>
28790
28791         * java/awt/Toolkit.java
28792         (getScreenInsets): Return (0,0,0,0) here.
28793
28794 2006-03-03  Roman Kennke  <kennke@aicas.com>
28795
28796         * javax/swing/text/FlowView.java
28797         (FlowStrategy.layoutRow): Added check for rowCount == 0.
28798         (FlowStrategy.getLogicalView): Made method protected.
28799
28800 2006-03-03  Chris Burdess  <dog@gnu.org>
28801
28802         * gnu/xml/validation/relaxng/AnyNameNameClass.java,
28803           gnu/xml/validation/relaxng/AttributePattern.java,
28804           gnu/xml/validation/relaxng/ChoiceNameClass.java,
28805           gnu/xml/validation/relaxng/ChoicePattern.java,
28806           gnu/xml/validation/relaxng/DataPattern.java,
28807           gnu/xml/validation/relaxng/Define.java,
28808           gnu/xml/validation/relaxng/ElementPattern.java,
28809           gnu/xml/validation/relaxng/EmptyPattern.java,
28810           gnu/xml/validation/relaxng/FullSyntaxBuilder.java,
28811           gnu/xml/validation/relaxng/Grammar.java,
28812           gnu/xml/validation/relaxng/GrammarException.java,
28813           gnu/xml/validation/relaxng/GrammarValidator.java,
28814           gnu/xml/validation/relaxng/GroupPattern.java,
28815           gnu/xml/validation/relaxng/InterleavePattern.java,
28816           gnu/xml/validation/relaxng/ListPattern.java,
28817           gnu/xml/validation/relaxng/NSNameNameClass.java,
28818           gnu/xml/validation/relaxng/NameClass.java,
28819           gnu/xml/validation/relaxng/NameNameClass.java,
28820           gnu/xml/validation/relaxng/NotAllowedPattern.java,
28821           gnu/xml/validation/relaxng/OneOrMorePattern.java,
28822           gnu/xml/validation/relaxng/Param.java,
28823           gnu/xml/validation/relaxng/Pattern.java,
28824           gnu/xml/validation/relaxng/RELAXNGSchemaFactory.java,
28825           gnu/xml/validation/relaxng/RefPattern.java,
28826           gnu/xml/validation/relaxng/TextPattern.java,
28827           gnu/xml/validation/relaxng/ValuePattern.java: New RELAX NG grammar
28828           builder and data model.
28829         * gnu/xml/validation/xmlschema/AnyAttribute.java,
28830           gnu/xml/validation/xmlschema/AttributeDeclaration.java,
28831           gnu/xml/validation/xmlschema/AttributeUse.java,
28832           gnu/xml/validation/xmlschema/ComplexType.java,
28833           gnu/xml/validation/xmlschema/ElementDeclaration.java,
28834           gnu/xml/validation/xmlschema/Particle.java,
28835           gnu/xml/validation/xmlschema/ValidationException.java,
28836           gnu/xml/validation/xmlschema/XMLSchema.java,
28837           gnu/xml/validation/xmlschema/XMLSchemaAttributeTypeInfo.java,
28838           gnu/xml/validation/xmlschema/XMLSchemaBuilder.java,
28839           gnu/xml/validation/xmlschema/XMLSchemaElementTypeInfo.java,
28840           gnu/xml/validation/xmlschema/XMLSchemaSchemaFactory.java,
28841           gnu/xml/validation/xmlschema/XMLSchemaTypeInfo.java,
28842           gnu/xml/validation/xmlschema/XMLSchemaTypeInfoProvider.java,
28843           gnu/xml/validation/xmlschema/XMLSchemaValidator.java,
28844           gnu/xml/validation/xmlschema/XMLSchemaValidatorHandler.java: New
28845           W3C XML Schema builder and schema components.
28846         * javax/xml/validation/SchemaFactory.java: Recognise RELAX NG and W3C
28847           XML Schema namespace URIs.
28848
28849 2006-03-03  Thomas Fitzsimmons  <fitzsim@redhat.com>
28850
28851         * NEWS: Add entry for --enable-collections.
28852         * configure.ac: Add --enable-collections option.
28853         * lib/Makefile.am (collections.jar): New target.
28854         (glibj_DATA): Add $(COLLECTIONS).
28855         * lib/mkcollections.pl.in (destpath): Set from COLLECTION_PREFIX
28856         configure substitution.
28857         (classpath): Read from command line.
28858         (javautilclasses): Remove BasicMapEntry.  Add RandomAccess.
28859
28860 2006-03-03  David Gilbert  <david.gilbert@object-refinery.com>
28861
28862         * javax/swing/SpringLayout.java: Fixed API doc warnings.
28863
28864 2006-03-03  David Gilbert  <david.gilbert@object-refinery.com>
28865
28866         * javax/swing/event/ListSelectionEvent.java
28867         (toString): Implemented,
28868         plus updated API docs all over.
28869
28870 2006-03-03  David Gilbert  <david.gilbert@object-refinery.com>
28871
28872         * javax/swing/event/ListSelectionEvent.java: Reformatted and fixed
28873         API doc warnings,
28874         * javax/swing/event/ListSelectionListener.java: Updated API docs.
28875
28876 2006-03-03  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
28877
28878         * gnu/java/rmi/dgc/DGCImpl.java,
28879         java/rmi/dgc/DGC.java,
28880         java/rmi/dgc/Lease.java: Formatted and commented.
28881
28882 2006-03-03  Roman Kennke  <kennke@aicas.com>
28883
28884         * NEWS: Added comment about text highlighting and copy+paste
28885         in Swing.
28886
28887 2006-03-03  Roman Kennke  <kennke@aicas.com>
28888
28889         * javax/swing/JTabbedPane.java
28890         (remove(int)): Call super.remove(int) instead of remove(Component).
28891         Avoids a stack overflow.
28892
28893 2006-03-03  Roman Kennke  <kennke@aicas.com>
28894
28895         * javax/swing/JTable.java
28896         (distributeSpillResizing): Avoid ArithmeticException by checking
28897         divisor.
28898
28899 2006-03-03  David Gilbert  <david.gilbert@object-refinery.com>
28900
28901         * javax/swing/text/package.html: Added package description.
28902
28903 2006-03-03  David Gilbert  <david.gilbert@object-refinery.com>
28904
28905         * javax/swing/CellRendererPane.java: Minor API doc fix,
28906         * javax/swing/ComboBoxModel.java: Updated API docs.
28907
28908 2006-03-03  Chris Burdess  <dog@gnu.org>
28909
28910         Fixes PR 26503
28911         * gnu/xml/stream/EntityReferenceImpl.java,
28912           gnu/xml/stream/FilteredEventReader.java,
28913           gnu/xml/stream/SAXParser.java,
28914           gnu/xml/stream/XIncludeFilter.java,
28915           gnu/xml/stream/XMLEventAllocatorImpl.java,
28916           gnu/xml/stream/XMLEventFactoryImpl.java,
28917           gnu/xml/stream/XMLEventImpl.java,
28918           gnu/xml/stream/XMLEventReaderImpl.java,
28919           gnu/xml/stream/XMLEventWriterImpl.java,
28920           gnu/xml/stream/XMLInputFactoryImpl.java,
28921           gnu/xml/stream/XMLOutputFactoryImpl.java,
28922           gnu/xml/stream/XMLParser.java,
28923           javax/xml/stream/EventFilter.java,
28924           javax/xml/stream/Location.java,
28925           javax/xml/stream/StreamFilter.java,
28926           javax/xml/stream/XMLEventFactory.java,
28927           javax/xml/stream/XMLEventReader.java,
28928           javax/xml/stream/XMLEventWriter.java,
28929           javax/xml/stream/XMLInputFactory.java,
28930           javax/xml/stream/XMLOutputFactory.java,
28931           javax/xml/stream/XMLReporter.java,
28932           javax/xml/stream/XMLResolver.java,
28933           javax/xml/stream/XMLStreamConstants.java,
28934           javax/xml/stream/XMLStreamReader.java,
28935           javax/xml/stream/events/EntityDeclaration.java,
28936           javax/xml/stream/events/EntityReference.java,
28937           javax/xml/stream/events/XMLEvent.java,
28938           javax/xml/stream/util/EventReaderDelegate.java,
28939           javax/xml/stream/util/ReaderDelegate.java: Updated to final version of
28940           StAX API as specified in JWSDP 2.0.
28941         * gnu/xml/stream/EndEntityImpl.java,
28942           gnu/xml/stream/LocationImpl.java,
28943           gnu/xml/stream/StartEntityImpl.java,
28944           gnu/xml/stream/XMLStreamReaderImpl.java,
28945           javax/xml/stream/XMLFilter.java,
28946           javax/xml/stream/XMLIterator.java,
28947           javax/xml/stream/events/EndEntity.java,
28948           javax/xml/stream/events/StartEntity.java: Removed legacy files.
28949
28950 2006-03-03  David Gilbert  <david.gilbert@object-refinery.com>
28951
28952         * javax/swing/CellEditor.java: API doc updates,
28953         * javax/swing/DefaultCellEditor.java: Likewise.
28954
28955 2006-03-03  David Gilbert  <david.gilbert@object-refinery.com>
28956
28957         * javax/swing/AbstractListModel.java:
28958         (AbstractListModel): Added API docs,
28959         (fireContentsChanged): Minor API doc correction,
28960         (fireIntervalAdded): Likewise,
28961         (fireIntervalRemoved): Likewise.
28962
28963 2006-03-03  Roman Kennke  <kennke@aicas.com>
28964
28965         * NEWS: Added paragraph about Swing improvements.
28966
28967 2006-03-03  David Gilbert  <david.gilbert@object-refinery.com>
28968
28969         * javax/swing/AbstractAction.java: Updated API docs all over,
28970         * javax/swing/AbstractCellRenderer.java: Minor reformatting, plus
28971         (stopCellEditing): Minor API doc correction,
28972         * javax/swing/UnsupportedLookAndFeelException.java
28973         (UnsupportedLookAndFeelException): Changed argument name, updated API
28974         docs.
28975
28976 2006-03-03  Roman Kennke  <kennke@aicas.com>
28977
28978         * javax/swing/plaf/metal/MetalUtils.java
28979         (fillMetalPattern): Added switch to not use Graphics2D methods,
28980         even if they are available.
28981
28982 2006-03-03  Roman Kennke  <kennke@aicas.com>
28983
28984         * javax/swing/plaf/basic/BasicHTML.java
28985         (isHTMLString): Check for string beeing null.
28986         * javax/swing/plaf/basic/BasicInternalFrameUI.java
28987         (BasicInternalFrameListener.internalFrameActivated): Implemented.
28988         (BasicInternalFrameListener.internalFrameDeactivated): Implemented.
28989         (InternalFrameLayout): Don't touch the glass pane here.
28990         (installUI): Fix handling of glass pane.
28991         * javax/swing/plaf/basic/BasicLabelUI.java
28992         (vr): New field.
28993         (ir): New field.
28994         (tr): New field.
28995         (BasicLabelUI): Initialize new fields.
28996         (getPreferredSize): Avoid creating new Rectangles by using
28997         SwingUtilities method.
28998         (paint): Avoid creating new Rectangles by reusing
28999         new fields. Added some preliminary handling of HTML inside the
29000         label.
29001         (installComponents): Handle HTML by calling BasicHTML.updateRenderer.
29002         (uninstallComponents): Clear HTML renderer.
29003         (propertyChange): Check for HTML text and install renderer if
29004         appropriate.
29005         * javax/swing/plaf/basic/BasicListUI.java
29006         (getCellBounds): Avoid creating new Rectangle by using SwingUtilities
29007         method.
29008         * javax/swing/plaf/basic/BasicTextUI.java
29009         (RootView.getStartOffset): Implemented.
29010         (RootView.getEndOffset): Implemented.
29011         (RootView.getDocument): Implemented.
29012
29013 2006-03-03  Roman Kennke  <kennke@aicas.com>
29014
29015         * javax/swing/text/DefaultStyledDocument.java
29016         (ElementBuffer.inserUpdate): Added check for zero-length
29017         element.
29018         * javax/swing/text/DefaultStyledDocument.java
29019         (setIndex): Improved exception message.
29020         * javax/swing/text/TableView.java
29021         Made class abstract.
29022         (TableRow.replace): Probably extend columnRequirements
29023         arrays.
29024         (TableRow.layoutMinorAxis): Call super.layoutMinorAxis instead
29025         of super.layoutMajorAxis.
29026         (columnRequirements): Made field package private.
29027         (TableView): Do not load any child views here.
29028         (layoutColumns): Implemented this method.
29029         (updateColumnRequirements): New helper method.
29030         * javax/swing/text/Utilities.java
29031         (getBreakLocation): Also take offset into account when
29032         finding end location.
29033         * javax/swing/text/html/HTMLDocument.java
29034         (HTMLReader.parseStack): New field.
29035         (HTMLReader.blockOpen): Properly handle p-implied tags.
29036         (HTMLReader.blockClose): Properly handle p-implied and empty tags.
29037         (HTMLReader.addContent): Insert p-implied when adding content to
29038         a block element.
29039         * javax/swing/text/html/HTMLEditorKit.java
29040         (HTMLFactory.create): Create HTMLTableView for <table> tags and
29041         ParagraphView for TD tags. Print out warning for tags that don't have
29042         matching view yet and create NullView for them.
29043         (read): Only set document base when document != null.
29044         * javax/swing/text/html/HTMLTableView.java:
29045         New class
29046
29047 2006-03-03  Roman Kennke  <kennke@aicas.com>
29048
29049         * javax/swing/plaf/basic/BasicHTML.java
29050         (HTMLRootView): New inner class.
29051         (createHTMLView): Embed view inside a HTMLRootView.
29052
29053 2006-03-03  Wolfgang Baer  <WBaer@gmx.de>
29054
29055         * gnu/java/net/protocol/jar/Connection.java: 
29056         (connect): Throw FileNotFoundException.
29057         (getInputStream): Remove duplicated code.
29058
29059 2006-03-03  Roman Kennke  <kennke@aicas.com>
29060
29061         * javax/swing/RepaintManager.java
29062         (commitBuffer): Added null check for clip.
29063
29064 2006-03-02  Lillian Angel <langel@redhat.com>
29065
29066         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
29067         (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_delItem): Fixed
29068         to use GtkWidget instead of GTKMenu.
29069
29070 2006-03-02  Lillian Angel <langel@redhat.com>
29071
29072         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
29073         (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_delItem): Changed to 
29074         use the submenu to get the list of children. This now works
29075         in the same way as addItem.
29076
29077 2006-03-02  Anthony Balkissoon  <abalkiss@redhat.com>
29078
29079         * java/lang/StringBuilder.java:
29080         (codePointAt): New method.
29081         (codePointBefore): Likewise.
29082         (codePointCount): Likewise.
29083         (trimToSize): Likewise.
29084
29085 2006-03-02  Tom Tromey  <tromey@redhat.com>
29086
29087         * java/rmi/server/RMIClassLoader.java (getProviderInstance): Wrote.
29088
29089 2006-03-02  Tom Tromey  <tromey@redhat.com>
29090
29091         * java/rmi/server/RMIClassLoader.java (loadProxyClass): New method.
29092         (getProviderInstance): 
29093
29094 2006-03-02  Andrew John Hughes  <gnu_andrew@member.fsf.org>
29095
29096         * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c:
29097         Fix regression caused by move to VM variant.
29098         PR classpath/22926.
29099         
29100 2006-03-01  Tom Tromey  <tromey@redhat.com>
29101
29102         * vm/reference/java/net/VMNetworkInterface.java: Organized imports.
29103         * vm/reference/java/net/VMInetAddress.java: Organized imports.
29104         * vm/reference/java/lang/reflect/VMProxy.java (getProxyClass): Added
29105         imports for javadoc.
29106         (getProxyClass): Javadoc fixes.
29107         (getProxyData): Likewise.
29108         (generateProxyClass): Likewise.
29109         * vm/reference/java/lang/VMSystem.java (setIn): Javadoc fix.
29110         (setOut): Likewise.
29111         (setErr): Likewise.
29112         * vm/reference/java/lang/VMProcess.java: Javadoc fixes.
29113         * vm/reference/java/lang/VMClassLoader.java (getResources): Javadoc
29114         fix.
29115         * vm/reference/java/lang/VMClass.java (getComponentType): Import for
29116         javadoc.
29117         (getModifiers): Likewise.
29118         (getDeclaredClasses): Javadoc fix.
29119         (getDeclaredFields): Likewise.
29120         (getDeclaredMethods): Likewise.
29121         (getDeclaredConstructors): Likewise.
29122         * vm/reference/gnu/classpath/VMSystemProperties.java (preInit):
29123         Javadoc fix.
29124
29125 2006-03-01  Tom Tromey  <tromey@redhat.com>
29126
29127         * gnu/java/net/protocol/http/ResponseHeaderHandler.java: Javadoc fix.
29128         * gnu/java/net/protocol/http/HTTPConnection.java: Organized imports.
29129         (getVersion): Javadoc fix.
29130         (get): Likewise.
29131         * gnu/java/net/protocol/http/Headers.java: Organized imports.
29132         * gnu/java/net/protocol/ftp/FTPURLConnection.java: Organized imports.
29133
29134 2006-03-01  David Daney  <ddaney@avtrex.com>
29135
29136         * java/net/URL.java (URL(URL, String, URLStreamHandler)): Treat spec
29137         as relative if it contains a colon but no protocol handler can be
29138         found.
29139
29140 2006-03-01  Roman Kennke  <kennke@aicas.com>
29141
29142         * javax/swing/text/AbstractDocument.java
29143         (LeafElement.LeafElement): Handle delta with respect to content
29144         length not document length.
29145         * javax/swing/text/CompositeView.java
29146         (getViewIndex): Handle bias correctly.
29147         * javax/swing/text/DefaultCaret.java
29148         (paint): Align caret position to document bounds to avoid trouble
29149         when removing large portions of content.
29150         * javax/swing/text/DefaultStyledDocument.java
29151         (ElementBuffer.insertFirstContentTag): Use pos instead of offset.
29152         (ElementBuffer.createFracture): Copy old childs attribute. The
29153         ElementSpec usually doesn't carry attribute information.
29154         Use pos instead of offset.
29155         (ElementBuffer.insertFracture): Use pos instead of offset.
29156         (createDefaultRootElement): Don't use create* and instead directly
29157         instantiate the elements.
29158         (handleInsertAfterNewline): Compare the paragraphs startOffset
29159         rather than previous paragraphs endOffset.
29160         * javax/swing/text/JTextComponent.java
29161         (getScrollableTracksViewportWidth): Remove unnecessary cast to
29162         JViewport.
29163         (getScrollableTracksViewportHeight): Remove unnecessary cast to
29164         JViewport.
29165         * javax/swing/text/PlainView.java
29166         (damageLineRange): Avoid creating new Rectangle by using
29167         SwingUtilities.
29168         * javax/swing/text/View.java
29169         (forwardUpdate): Correct the use of bias.
29170         (modelToView): Avoid new Rectangles by using SwingUtilities.
29171         (dump): Made (temprorarily) protected for use in BasicTextUI.
29172         (dump(int)): Dump out the element of the view.
29173
29174 2006-03-01  Lillian Angel  <langel@redhat.com>
29175
29176         * NEWS: javax.imageio.plugins.bmp implementation.
29177
29178 2006-03-01  Lillian Angel  <langel@redhat.com>
29179
29180         * javax/imageio/ImageWriteParam.java: 
29181         Added documentation for fields.
29182         * javax/imageio/plugins/bmp/BMPImageWriteParam.java:
29183         New class implemented.
29184
29185 2006-03-01  Tom Tromey  <tromey@redhat.com>
29186
29187         * NEWS: Mention java.util.prefs update.
29188
29189 2006-03-01  Tom Tromey  <tromey@redhat.com>
29190
29191         * gnu/java/nio/channels/FileChannelImpl.java (position): Fixed typo.
29192         * java/nio/charset/UnmappableCharacterException.java:
29193         (serialVersionUID): New field.
29194         * java/nio/charset/MalformedInputException.java:
29195         (serialVersionUID): New field.
29196         * java/nio/charset/CoderMalfunctionError.java:
29197         (serialVersionUID): New field.
29198         * java/nio/charset/CharacterCodingException.java:
29199         (serialVersionUID): New field.
29200         * java/nio/channels/UnsupportedAddressTypeException.java:
29201         (serialVersionUID): New field.
29202         * java/nio/channels/UnresolvedAddressException.java:
29203         (serialVersionUID): New field.
29204         * java/nio/channels/OverlappingFileLockException.java:
29205         (serialVersionUID): New field.
29206         * java/nio/channels/NotYetConnectedException.java:
29207         (serialVersionUID): New field.
29208         * java/nio/channels/NotYetBoundException.java
29209         (serialVersionUID): New field.
29210         * java/nio/channels/NonWritableChannelException.java
29211         (serialVersionUID): New field.
29212         * java/nio/channels/NonReadableChannelException.java
29213         (serialVersionUID): New field.
29214         * java/nio/channels/NoConnectionPendingException.java
29215         (serialVersionUID): New field.
29216         * java/nio/channels/IllegalSelectorException.java
29217         (serialVersionUID): New field.
29218         * java/nio/channels/IllegalBlockingModeException.java
29219         (serialVersionUID): New field.
29220         * java/nio/channels/FileLockInterruptionException.java
29221         (serialVersionUID): New field.
29222         * java/nio/channels/ConnectionPendingException.java
29223         (serialVersionUID): New field.
29224         * java/nio/channels/ClosedSelectorException.java (serialVersionUID):
29225         New field.
29226         * java/nio/channels/ClosedChannelException.java (serialVersionUID):
29227         New field.
29228         * java/nio/channels/ClosedByInterruptException.java
29229         (serialVersionUID): New field.
29230         * java/nio/channels/CancelledKeyException.java (serialVersionUID): 
29231         New field.
29232         * java/nio/channels/AsynchronousCloseException.java
29233         (serialVersionUID): New field.
29234         * java/nio/channels/AlreadyConnectedException.java (serialVersionUID):
29235         New field.
29236         * java/nio/ReadOnlyBufferException.java (serialVersionUID): New field.
29237         * java/nio/InvalidMarkException.java (serialVersionUID): New field.
29238         * java/nio/BufferUnderflowException.java (serialVersionUID): New
29239         field.
29240         * java/nio/BufferOverflowException.java (serialVersionUID): New field.
29241         * java/nio/channels/spi/AbstractInterruptibleChannel.java (end):
29242         Javadoc fix.  Added import.
29243         * java/nio/channels/DatagramChannel.java (isConnected): Javadoc fix.
29244         (validOps): Likewise.
29245         * gnu/java/nio/charset/iconv/IconvProvider.java: Organized imports.
29246         * gnu/java/nio/charset/iconv/IconvEncoder.java: Organized imports.
29247         * gnu/java/nio/charset/iconv/IconvDecoder.java: Organized imports.
29248         * java/nio/channels/Channels.java: Added import.
29249         * java/nio/channels/FileChannel.java (lock): Typo fix.
29250         (tryLock): Likewise.
29251
29252 2006-03-01  Tom Tromey  <tromey@redhat.com>
29253
29254         * java/util/prefs/Preferences.java (defaultFactoryClass): Use
29255         FileBasedFactory.
29256         * gnu/java/util/prefs/FileBasedPreferences.java: New file.
29257         * java/util/prefs/AbstractPreferences.java (removeSpi): Typo fix.
29258         (clear): Likewise.
29259         (putSpi): Likewise.
29260         (newNode): Likewise.
29261         (node): Likewise.
29262         * gnu/java/util/prefs/MemoryBasedFactory.java: Typo fix.
29263         * gnu/java/util/prefs/FileBasedFactory.java (systemPreferences): New
29264         field.
29265         (systemRoot): Use it.
29266         (userPreferences): New field.
29267         (userRoot): Use it.
29268
29269 2006-03-01  Jeroen Frijters  <jeroen@frijters.net>
29270
29271         * java/util/ResourceBundle.java
29272         (tryBundle): Catch and ignore all Exceptions.
29273
29274 2006-02-28  Roman Kennke  <kennke@aicas.com>
29275
29276         * javax/swing/plaf/basic/BasicScrollBarUI.java
29277         (getPreferredSize): Fixed add a fixed space between the buttons
29278         instead of something related to min/max.
29279         (installComponents): Create and install buttons here.
29280         (installDefaults): Don't create buttons here.
29281         * javax/swing/plaf/metal/MetalScrollBarUI.java
29282         (getMinimumThumbSize): Return (0,0) when UI is not yet installed.
29283         (getPreferredSize): New method.
29284
29285 2006-02-28  David Gilbert  <david.gilbert@object-refinery.com>
29286
29287         * examples/gnu/classpath/examples/swing/Demo.java
29288         (mkMenuBar): Removed 'Toggles', 'Checkbox' and 'Radio' actions, 
29289         connected 'Spinner' action to SpinnerDemo, 
29290         (mkCheckbox): Removed,
29291         (mkRadio): Likewise,
29292         (mkSpinner): Likewise,
29293         (mkToggle): Likewise,
29294         (mkButtonBar): Removed 'Toggles', 'Checkbox' and 'Radio' actions,
29295         connected 'Spinner' action to SpinnerDemo.
29296
29297 2006-02-28  Wolfgang Baer  <WBaer@gmx.de>
29298
29299         * javax/print/ServiceUIFactory.java: Added documentation to class.
29300
29301 2006-02-28  Anthony Balkissoon  <abalkiss@redhat.com>
29302
29303         PR classpath/26434
29304         * javax/swing/DefaultListSelectionModel.java:
29305         (addSelectionInterval): Return early if either of the arguments is -1.
29306         (removeSelectionInterval): Likewise.
29307         (setSelectionInterval): Likewise.
29308
29309 2006-02-28  Lillian Angel  <langel@redhat.com>
29310
29311         * javax/swing/text/DefaultFormatter.java
29312         (stringToValue): Added NPE check.
29313
29314 2006-02-28  Roman Kennke  <kennke@aicas.com>
29315
29316         PR classpath/25675
29317         * javax/swing/JList.java
29318         (getPreferredScrollableViewportSize): Restored specified behaviour.
29319         * javax/swing/plaf/metal/MetalFileChooserUI.java
29320         (createList): Set filelist panel's preferredSize, so that it doesn't
29321         get size into infinity for big lists.
29322
29323 2006-02-28  Lillian Angel  <langel@redhat.com>
29324
29325         * javax/swing/ViewportLayout.java
29326         (layoutContainer): Should not extend container to be 
29327         minimum size. Mauve test shows that the preferred size
29328         and the size of the viewport can be set smaller than
29329         the minimum.
29330
29331 2006-02-28  Lillian Angel  <langel@redhat.com>
29332
29333         PR classpath/25675
29334         * javax/swing/JList.java
29335         (getPreferredScrollableViewportSize): Added a check to determine
29336         if orientation is VERTICAL_WRAP. If it is, we should only 
29337         show 3 columns. 
29338
29339 2006-02-28  Lillian Angel  <langel@redhat.com>
29340
29341         PR classpath/26003
29342         * javax/swing/ViewportLayout.java:
29343         Patch submitted by Audrius Meskauskas
29344         (addLayoutComponent): Added documentation.
29345         (removeLayoutComponent): Likewise.
29346         (preferredLayoutSize): Likewise.
29347         (minimumLayoutSize): Likewise.
29348         (layoutContainer): Fixed code, so view is set
29349         to the right position when inside a scrollpane. 
29350
29351 2006-02-28  Anthony Balkissoon  <abalkiss@redhat.com>
29352
29353         * java/math/BigInteger.java:
29354         Committed patch by Rafael: 
29355         developer.classpath.org/pipermail/classpath-patches/
29356         2006-February/000473.html
29357         (signum): Return early 0 if words == null and ival == 0.
29358         (readObject): Handle special case of magnitude.length or signum being
29359         0.
29360         (writeObject): If signum is zero return a zero-sized byte[].
29361
29362 2006-02-28  Lillian Angel  <langel@redhat.com>
29363
29364         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
29365         (create): Initially set the directory to the current working directory.
29366         (setDirectory): Removed else-if. No need for this check.
29367
29368 2006-02-28  Tom Tromey  <tromey@redhat.com>
29369
29370         * .project: Run java builder before header generation.
29371
29372 2006-02-28  Tom Tromey  <tromey@redhat.com>
29373
29374         * gnu/java/util/prefs/MemoryBasedPreferences.java (childrenNamesSpi):
29375         Javadoc fix.
29376         * gnu/java/util/prefs/EventDispatcher.java: New file.
29377         * gnu/java/util/prefs/NodeWriter.java (NodeWriter): Removed.
29378         (NodeWriter): Specify UTF-8.
29379         (writeHeader): Emit DOCTYPE.
29380         * java/util/prefs/Preferences.java (getFactory): Add cause to
29381         exception.
29382         (exportNode): Documented.
29383         (exportSubtree): Likewise.
29384         (importPreferences): Likewise.
29385         * java/util/prefs/NodeChangeEvent.java (readObject): New method.
29386         (writeObject): Likewise.
29387         * java/util/prefs/PreferenceChangeEvent.java (readObject): New method.
29388         (writeObject): Likewise.
29389         * java/util/prefs/AbstractPreferences.java (putBoolean): Use 1.4 code.
29390         (nodeListeners): New field.
29391         (preferenceListeners): Likewise.
29392         (addNodeChangeListener): Implemented.
29393         (addPreferenceChangeListener): Likewise.
29394         (removeNodeChangeListener): Likewise.
29395         (removePreferenceChangeListener): Likewise.
29396         (fire): New methods.
29397         (put): Fire event.
29398         (remove): Likewise.
29399         (purge): Likewise.  Fixed synchronization.
29400         (removeNode): Fixed synchronization.
29401         (getNode): Fire event.
29402         (flushNode): Fixed synchronization.
29403
29404 2006-02-28  Roman Kennke  <kennke@aicas.com>
29405
29406         * javax/swing/text/BranchElement.java
29407         (startOffset): New field.
29408         (endOffset): New field.
29409         (BranchElement): Initialize new fields.
29410         (getEndOffset): Rewritten to possibly return cached values
29411         if element has no children.
29412         (getStartOffset): Rewritten to possibly return cached values
29413         if element has no children.
29414         * javax/swing/text/LeafElement.java
29415         (startDelta): New field.
29416         (endDelta): New field.
29417         (LeafElement): Handle possible delta of start/endOffset when
29418         these parameters lie outside the document range.
29419         (getStartOffset): Handle possible startDelta.
29420         (getEndOffset): Handle possible startDelta.
29421
29422 2006-02-28  Anthony Balkissoon  <abalkiss@redhat.com>
29423
29424         * NEWS: Added line about Unicode 4.0.0 support.
29425
29426 2006-02-28  Roman Kennke  <kennke@aicas.com>
29427
29428         * javax/swing/SwingUtilities.java
29429         (layoutCompoundLabel): Set textIconGap to 0 when icon == null.
29430
29431 2006-03-01  Raif S. Naffah  <raif@swiftdsl.com.au>
29432
29433         * gnu/classpath/debug/Simple1LineFormatter.java: New file.
29434
29435 2006-03-01  Raif S. Naffah  <raif@swiftdsl.com.au>
29436
29437         * gnu/java/security/sig/rsa/RSAPKCS1V1_5SignatureX509Codec.java:
29438         Amended class documentation.
29439         (encodeSignature): Emit the ASN.1 raw bytes not the DER-encoded BIT
29440         STRING.
29441         (decodeSignature): Parse the ASN.1 raw bytes of a BIT STRING and not
29442         a BIT STRING construct.
29443         * gnu/java/security/sig/dss/DSSSignatureX509Codec.java: Amended class
29444         documentation.
29445         (encodeSignature): Emit the ASN.1 raw bytes not the DER-encoded BIT
29446         STRING.
29447         (decodeSignature): Parse the ASN.1 raw bytes of a BIT STRING and not
29448         a BIT STRING construct.
29449         * gnu/java/security/jce/sig/SignatureAdapter.java (log): New field.
29450         (engineVerify): Added logging.
29451
29452 2006-02-28  Roman Kennke  <kennke@aicas.com>
29453
29454         * java/awt/Component.java
29455         (dispatchEventImpl): Let the Toolkit dispatch global events.
29456         * java/awt/Container.java
29457         (dispatchEventImpl): Let the LightweightDispatcher handle events
29458         first.
29459         * java/awt/EventQueue.java
29460         (dispatchEvent): Don't do the global event dispatching here. This
29461         is moved to the Component.
29462         (globalDispatchEvent): Moved this method to Toolkit.
29463         * java/awt/LightweightDispatcher.java
29464         (instances): New field.
29465         (getInstance): New method. Delivers an instance of
29466         LightweightDispatcher.
29467         (LightweightDispatcher): Made default constructor private.
29468         (dispatchEvent): New method. Replaces the eventDispatched method.
29469         This now returns true when the event was actually dispatched.
29470         (eventDispatched): Replaced by dispatchEvent.
29471         (handleMouseEvent): Send MOUSE_CLICKED to the same component that
29472         received the last MOUSE_RELEASED.
29473         * java/awt/Toolkit.java
29474         (Toolkit): Don't register LightweightDispatcher as global event
29475         handler.
29476         (globalDispatchEvent): Moved here from EventQueue.
29477
29478 2006-02-27  David Daney  <ddaney@avtrex.com>
29479
29480         PR classpath/25851
29481         * gnu/java/net/protocol/http/HTTPURLConnection.java (imports) Cleaned
29482         up.
29483         (getRequestProperties): Rewrote.
29484
29485 2006-02-27  David Daney  <ddaney@avtrex.com>
29486
29487         PR classpath/26312
29488         * gnu/java/net/protocol/http/ChunkedInputStream.java (imports): Cleaned
29489         up.
29490         (ChunkedInputStream): Extend InputStream.
29491         (in): New field.
29492         (headers): Moved to top of class.
29493         (constructor): Save referenct to in.
29494         (read(byte[])): Removed method.
29495         (read(byte[], int, int)): Made synchronized and throw IOException
29496         on error parsing chunk header.
29497         (available): New method.
29498         (close): New method.
29499
29500 2006-02-27  David Daney  <ddaney@avtrex.com>
29501
29502         * gnu/java/net/protocol/http/HTTPURLConnection.java
29503         (imports): Cleaned up.
29504         (GetHTTPPropertiesAction): Removed, and moved contents to ...
29505         (constructor): ... Here, using SystemProperties instead of System.
29506         
29507 2006-02-27  Lillian Angel  <langel@redhat.com>
29508
29509         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
29510         (setDirectory): GtkFileChooser requires an absolute directory
29511         name. Added a check to make the directory passed to nativeSetDirectory
29512         is absolute.
29513
29514 2006-02-27  Roman Kennke  <kennke@aicas.com>
29515
29516         * javax/swing/SwingUtilities.java
29517         (computeIntersection): Changed to store result in rect, instead of
29518         creating new Rectangle instances. Fixed API docs accordingly.
29519         (computeUnion): Changed to store result in rect, instead of
29520         creating new Rectangle instances. Fixed API docs accordingly.
29521
29522 2006-02-27  Roman Kennke  <kennke@aicas.com>
29523
29524         * javax/swing/JViewport.java
29525         (static_init): Changed default scrollmode to BLIT.
29526         (paintSimple): Added some clipping to avoid painting problems.
29527         (paintBlit): Added some clipping to avoid painting problems.
29528
29529 2006-02-27  Roman Kennke  <kennke@aicas.com>
29530
29531         * javax/swing/JComponent.java
29532         (rectCache): Made field static to save memory.
29533         (getVisibleRect): Don't use rectCache and create new Rectangle
29534         instance instead.
29535         (repaint(Rectangle)): Directly call RepaintManager.addDirtyRegion().
29536         (repaint(long,int,int,int,int)): Directly call
29537         RepaintManager.addDirtyRegion(). The visibleRect check is now
29538         performed in the RepaintManager.
29539
29540 2006-02-27  Roman Kennke  <kennke@aicas.com>
29541
29542         * javax/swing/RepaintManager.java
29543         (currentRepaintManagers): Made field private.
29544         (rectCache): New field.
29545         (addDirtyRegion): Clip dirty rectangle with visible rectangle of
29546         component. Changed Rectangle handling to avoid unnecessary new
29547         Rectangle instances.
29548         (getOffscreenBuffer): Create buffer with size of the root window.
29549         Respect the maximum buffer size here.
29550         (commitBuffer): Align the regions so that they are inside the buffer
29551         image and inside the clip. This avoids problems with a bug in GTKImage.
29552         Fixed Rectangle handling to avoid creation of new Rectangle instances.
29553
29554 2006-02-26  Andrew John Hughes  <gnu_andrew@member.fsf.org>
29555
29556         * native/fdlibm/e_acos.c,
29557         * native/fdlibm/e_asin.c,
29558         * native/fdlibm/e_atan2.c,
29559         * native/fdlibm/e_cosh.c,
29560         * native/fdlibm/e_exp.c,
29561         * native/fdlibm/e_fmod.c,
29562         * native/fdlibm/e_hypot.c,
29563         * native/fdlibm/e_log.c,
29564         * native/fdlibm/e_log10.c,
29565         * native/fdlibm/e_rem_pio2.c,
29566         * native/fdlibm/e_remainder.c,
29567         * native/fdlibm/e_sinh.c,
29568         * native/fdlibm/e_sqrt.c,
29569         * native/fdlibm/k_cos.c,
29570         * native/fdlibm/k_sin.c,
29571         * native/fdlibm/k_tan.c,
29572         * native/fdlibm/s_atan.c,
29573         * native/fdlibm/s_cbrt.c,
29574         * native/fdlibm/s_ceil.c,
29575         * native/fdlibm/s_copysign.c,
29576         * native/fdlibm/s_cos.c,
29577         * native/fdlibm/s_expm1.c,
29578         * native/fdlibm/s_fabs.c,
29579         * native/fdlibm/s_finite.c,
29580         * native/fdlibm/s_floor.c,
29581         * native/fdlibm/s_log1p.c,
29582         * native/fdlibm/s_rint.c,
29583         * native/fdlibm/s_scalbn.c,
29584         * native/fdlibm/s_sin.c,
29585         * native/fdlibm/s_tan.c,
29586         * native/fdlibm/s_tanh.c:
29587         Fixed to call our macros rather than __HI and __LO.
29588         * native/fdlibm/fdlibm.h:
29589         Reintroduced previous extraction code.
29590         (EXTRACT_WORDS(ix0,ix1,d)): Readded.
29591         (GET_HIGH_WORD(i,d)): Readded.
29592         (GET_LOW_WORD(i,d)): Readded.
29593         (INSERT_WORDS(d,ix0,ix1)): Readded.
29594         (SET_HIGH_WORD(d,i)): Readded.
29595         (SET_LOW_WORD(d,i)): Readded.
29596         * native/jni/gtk-peer/gthread-jni.c:
29597         Use Glib macros to convert integers/pointers portably.
29598         
29599 2006-02-26  Raif S. Naffah  <raif@swiftdsl.com.au>
29600
29601         * java/security/SecureRandom.java (SecureRandom): Use GNU-CRYPTO class
29602         as the fallback SPI.
29603         * gnu/java/security/provider/Gnu.java (run): Replaced mappings with new
29604         ones referencing GNU-CRYPTO classes.
29605         * gnu/java/security/provider/PKIXCertPathValidatorImpl.java
29606         (engineValidate): Use GNU-CRYPTO class.
29607         * gnu/java/security/provider/DiffieHellmanKeyFactoryImpl: Removed.
29608         * gnu/java/security/provider/DiffieHellmanKeyPairGeneratorImpl: Likewise.
29609         * gnu/java/security/provider/DSAKeyFactory: Likewise.
29610         * gnu/java/security/provider/DSAKeyPairGenerator: Likewise.
29611         * gnu/java/security/provider/DSAParameters: Likewise.
29612         * gnu/java/security/provider/DSASignature: Likewise.
29613         * gnu/java/security/provider/EncodedKeyFactory: Likewise.
29614         * gnu/java/security/provider/GnuDHPublicKey: Likewise.
29615         * gnu/java/security/provider/GnuDSAPrivateKey: Likewise.
29616         * gnu/java/security/provider/GnuDSAPublicKey: Likewise.
29617         * gnu/java/security/provider/GnuRSAPrivateKey: Likewise.
29618         * gnu/java/security/provider/GnuRSAPublicKey: Likewise.
29619         * gnu/java/security/provider/MD2withRSA: Likewise.
29620         * gnu/java/security/provider/MD4withRSA: Likewise.
29621         * gnu/java/security/provider/MD5: Likewise.
29622         * gnu/java/security/provider/MD5withRSA: Likewise.
29623         * gnu/java/security/provider/RSA: Likewise.
29624         * gnu/java/security/provider/RSAKeyFactory: Likewise.
29625         * gnu/java/security/provider/SHA: Likewise.
29626         * gnu/java/security/provider/SHA1PRNG: Likewise.
29627         * gnu/java/security/provider/SHA1withRSA: Likewise.
29628         * gnu/javax/crypto/GnuDHPrivateKey: Likewise.
29629
29630 2006-02-26  Raif S. Naffah  <raif@swiftdsl.com.au>
29631
29632         * gnu/java/security/jce/sig/EncodedKeyFactory.java (log): New field.
29633         (engineGeneratePublic): Added logging.
29634         (engineGeneratePrivate): Likewise.
29635         * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java (log): New field.
29636         (encodePublicKey): Added logging.
29637         Clarified in method documentation that params is optional, but is
29638         always NULL if present.
29639         (decodePublicKey): Added logging.
29640         Handle optional NULL element.
29641
29642 2006-02-26  Raif S. Naffah  <raif@swiftdsl.com.au>
29643
29644         * java/util/logging/FileHandler.java: Fixed a javadoc reference.
29645
29646 2006-03-03  Tom Tromey  <tromey@redhat.com>
29647
29648         * java/awt/MenuBar.java (shortcuts): Genericized.
29649
29650 2006-03-03  Tom Tromey  <tromey@redhat.com>
29651
29652         * java/beans/EventSetDescriptor.java (EventSetDescriptor):
29653         Genericized.
29654         (getListenerType): Likewise.
29655         * java/beans/Introspector.java (getBeanInfo): Genericized.
29656         * java/beans/DefaultPersistenceDelegate.java (initialize):
29657         Genericized.
29658
29659 2006-03-01  Anthony Balkissoon  <abalkiss@redhat.com>
29660
29661         * java/math/BigDecimal.java:
29662         (precision): Fixed overflow problem with large numbers.
29663         (longValueExact): New method.
29664         (intValueExact): Likewise.
29665         (byteValueExact): Likewise.
29666         (shortValueExact): Likewise.
29667
29668 2006-03-01  Anthony Balkissoon  <abalkiss@redhat.com>
29669
29670         * java/math/BigDecimal.java:
29671         (remainder(BigDecimal)): New method.
29672         (divideAndRemainder(BigDecimal)): Likewise.
29673         (divideToIntegralValue(BigDecimal)): Likewise.
29674         (floor): New implementation method.
29675
29676 2006-02-28  Anthony Balkissoon  <abalkiss@redhat.com>
29677
29678         * java/math/BigDecimal.java:
29679         (divide(BigDecimal, int, RoundingMode)): New method.
29680         (divide(BigDecimal, RoundingMode)): Likewise.
29681         (divide(BigDecimal, int, int)): Removed incorrect throwing of exception
29682         when the new scale is < 0.
29683         (setScale(int, RoundingMode)): New method.
29684         (ulp): Likewise.
29685
29686 2006-02-27  Anthony Balkissoon  <abalkiss@redhat.com>
29687
29688         * java/math/BigDecimal.java: Replaced occurences of BigInteger.valueOf
29689         with BigInteger.ZERO, BigInteger.ONE, BigInteger.TEN where appropriate.
29690         (add(BigDecimal, MathContext)): New method.
29691         (subtract(BigDecimal, MathContext)): Likewise.
29692         (precision): Fixed to correctly handle BigIntegers with more than 19
29693         digits.
29694         (pow(int, MathContext)): New method.
29695
29696 2006-02-27  Anthony Balkissoon  <abalkiss@redhat.com>
29697
29698         * java/math/BigDecimal.java: Added @throws clause to constructors.
29699         (mathContext): Removed this unneeded field.
29700         (BigDecimal(int, MathContext)): New constructor.
29701         (BigDecimal(BigInteger, int, MathContext)): Likewise.
29702         (multiply(BigDecimal, MathContext)): New method.
29703         (negate(MathContext)): Likewise.
29704         (plus(MathContext)): Likewise.
29705         (numDigitsInLong): Fixed to properly handle negatives.
29706         
29707 2006-02-25  Chris Burdess  <dog@gnu.org>
29708   
29709         * gnu/java/net/CRLFInputStream.java,
29710           gnu/java/net/LineInputStream.java: Streams that use mark
29711           capabilities on the underlying stream do not expose mark
29712           functionality themselves.
29713         * gnu/xml/stream/CRLFReader.java: Fix incorrect end condition when
29714           off > 0.
29715
29716 2006-02-25  Ito Kazumitsu  <kaz@maczuka.gcd.org>
29717
29718         * gnu/regexp/REMatch.java(matchFlags): New int field used as
29719         option flags passed to match methods.
29720         (MF_FIND_ALL): New flag.
29721         * gnu/regexp/RETokenOneOf.java(matchP): Unless MF_FIND_ALL is set,
29722         do not try other possibilties once a match is found.
29723         * gnu/regexp/RETokenRepeated.java(findDoables): Set MF_FIND_ALL
29724         so that all possibilities can be found.
29725         (match): Rewritten using new methods matchMinimum and _match.
29726         (_match): New method which performs a depth-first recursive search.
29727         (matchMinimum): New method.
29728         (initVisited), (visitedContains), (addVisited): New methods for
29729         manipulating an array of icharacter positions which _match has
29730         already visited.
29731
29732 2006-02-24  Anthony Balkissoon  <abalkiss@redhat.com>
29733
29734         * java/math/BigDecimal.java:
29735         (BigDecimal(long, MathContext)): New constructor.
29736         (BigDecimal(BigInteger, MathContext)): Likewise.
29737         (BigDecimal(String, MathContext)): Likewise.
29738         (BigDecimal(double, MathContext)): Likewise.
29739         (round): Fixed a typo where the precision field was used instead of a
29740         call to the precision method, and also store the new precision in the
29741         returned BigDecimal.
29742         (abs(MathContext)): New method.
29743
29744 2006-02-24  Anthony Balkissoon  <abalkiss@redhat.com>
29745
29746         * java/math/BigDecimal.java
29747         (toBigInteger): Fixed problem where this method couldn't handle 
29748         negative values for scale.
29749         (toBigIntegerExact): New method.
29750         (stripTrailingZeros): Likewise.
29751
29752 2006-02-24  David Daney  <ddaney@avtrex.com>
29753
29754         PR classpath/26082
29755         * gnu/java/net/protocol/http/HTTPConnection.java (pool): Changed to
29756         type Pool.
29757         (Pool): New inner class.
29758         (timeLastUsed): New field.
29759         (setPool): Changed parameter type to Pool.
29760         (release): Moved pool management logic to new class Pool.
29761         * gnu/java/net/protocol/http/HTTPURLConnection.java (connectionPool):
29762         Removed.
29763         (maxConnections) : Removed.
29764         (GetHTTPPropertiesAction.run): Don't initialize maxConnections.
29765         (getConnection):  Moved pool management logic to HTTPConnection.Pool.
29766   
29767 2006-02-24  Lillian Angel  <langel@redhat.com>
29768   
29769         * java/awt/Container.java:
29770         Added new field. True if Container has been cleared and
29771         heavyweights need to be repainted.
29772         (paint): Fixed comment. Fixed to use backCleared and 
29773         reset backCleared.
29774         (update): Set backCleared to true after the background
29775         of the container has been cleared.
29776   
29777 2006-02-24  Lillian Angel  <langel@redhat.com>
29778   
29779         * java/awt/TextField.java
29780         (addNotify): Added call to super.
29781   
29782 2006-02-24  Lillian Angel  <langel@redhat.com>
29783   
29784         * java/awt/Component.java
29785         (reshape): Reverted last patch. Should have check here.
29786         (addNotify): Added check. If parent is lightweight, then
29787         initialize listener on the parent.
29788         (HeavyweightInLightweightListener): New class.
29789   
29790 2006-02-24  Roman Kennke  <kennke@aicas.com>
29791   
29792         * javax/swing/plaf/basic/BasicComboPopup.java
29793         (show): Register the popup with the autocloser after it has been
29794         opened completely, by putting the registration on the eventqueue.
29795   
29796 2006-02-24  Andrew John Hughes  <gnu_andrew@member.fsf.org>
29797   
29798         * gnu/java/security/prng/BasePRNG.java:
29799         (clone()): Added cast of buffer to byte[].
29800         * gnu/javax/crypto/mac/TMMH16.java:
29801         (clone()): Fixed casting of cloned arrays.
29802         * native/fdlibm/fdlibm.h:
29803         Added missing defines from old fdlibm.h needed by Darwin.
29804         (GET_FLOAT_WORD(i,d)): Re-added.
29805         (SET_FLOAT_WORD(d,i)): Re-added.
29806         
29807 2006-02-24  Roman Kennke  <kennke@aicas.com>
29808   
29809         * java/awt/Container.java:
29810         (dispatcher): Removed field.
29811         (dispatchEventImpl): Removed lightweight dispatching.
29812         (addNotifyContainerChildren): Removed LightweightDispatcher
29813         handling.
29814         (LightweightDispatcher): Removed class.
29815         * java/awt/LightweightDispatcher.java: New class.
29816         * java/awt/Toolkit.java
29817         (Toolkit): Install LightweightDispatcher in global listener
29818         array.
29819   
29820 2006-02-24  Chris Burdess  <dog@gnu.org>
29821   
29822         Fixes PR 26324
29823         * gnu/java/net/CRLFInputStream.java: Fix incorrect end condition when
29824           off > 0.
29825   
29826 2006-02-24  Andrew John Hughes  <gnu_andrew@member.fsf.org>
29827   
29828         * NEWS: Mentions the VMMath runtime changes.
29829         * doc/vmintegration.texinfo: Updated to include
29830         VMMath.
29831   
29832 2006-02-24  Roman Kennke  <kennke@aicas.com>
29833   
29834         * javax/swing/plaf/basic/BasicLookAndFeel.java
29835         (PopupHelper.autoClosePopups): New field.
29836         (PopupHelper.mousePressed): Also autoclose any registered popups.
29837         (PopupHelper.registerForAutoClose): New method.
29838         (PopupHelper.autoClosePopups): New method.
29839         (popupHelper): Changed type of field to PopupHelper.
29840         (registerForAutoClose): New method.
29841         * javax/swing/plaf/basic/BasicComboPopup.java
29842         (show): Register this popup for autoclosing.
29843   
29844 2006-02-24  Raif S. Naffah  <raif@swiftdsl.com.au>
29845   
29846         * gnu/javax/crypto/mac/TMMH16.java (clone): New method.
29847         * gnu/java/security/prng/MDGenerator.java (clone): New method.
29848         * gnu/java/security/prng/BasePRNG.java (clone): Clone buffer.
29849   
29850 2006-02-24  Roman Kennke  <kennke@aicas.com>
29851   
29852         Reported by Ingo Proetel <proetel@aicas.com>
29853         * java/util/logging/LogManager.java
29854         (addLogger): Search the parent loggers for log level
29855         configuration and inherit that.
29856         (readConfiguration): Provide minimal default configuration
29857         if no configuration can be found otherwise.
29858
29859 2006-02-23  Anthony Balkissoon  <abalkiss@redhat.com>
29860
29861         * java/math/BigDecimal.java:
29862         (toString): Fixed a problem where the negative sign was being displayed
29863         twice in the exponent.
29864         (toEngineeringString): New method.
29865         (toPlainString): Likewise.
29866         (pow): Likewise.
29867
29868 2006-02-23  Anthony Balkissoon  <abalkiss@redhat.com>
29869
29870         * java/math/BigDecimal.java:
29871         (toString): Rewrote this method to behave as specified.  Added API
29872         comments to explain behaviour.
29873         (scaleByPowerOfTen): New method.
29874
29875 2006-02-23  Roman Kennke  <kennke@aicas.com>
29876   
29877         * javax/swing/JRootPane.java
29878         (isOptimizedDrawingEnabled): Implemented to return true
29879         when the glassPane is not visible.
29880   
29881 2006-02-23  Roman Kennke  <kennke@aicas.com>
29882   
29883         * javax/swing/plaf/basic/BasicLookAndFeel.java
29884         (PopupHelper): New inner class.
29885         (popupHelper): New field.
29886         (initialize): New method.
29887         (uninitialize): New method.
29888         * javax/swing/plaf/basic/BasicPopupMenuUI.java
29889         (mouseInputListener): Removed field.
29890         (PopupMenuHandler.popupMenuWillBecomeInvisible): Removed
29891         handling of GlassPane.
29892         (PopupMenuHandler.popupMenuWillBecomeVisible): Removed
29893         handling of GlassPane.
29894         (MouseInputHandler): Removed class.
29895
29896 2006-02-23  Roman Kennke  <kennke@aicas.com>
29897
29898         * java/awt/AWTEvent.java
29899         (eventIdToMask): New utility method.
29900         * java/awt/EventQueue.java
29901         (dispatchEvent): Also globally dispatch events via the toolkit.
29902         (globalDispatchEvent): New method.
29903         * java/awt/Toolkit.java
29904         (awtEventListeners): New field.
29905         (Toolkit()): Initialize new field.
29906         (createComponent): Create GLightweightPeer here.
29907         (addAWTEventListener): Implemented and documented.
29908         (removeAWTEventListener): Implemented and documented.
29909         (getAWTEventListeners): Implemented and documented both method
29910         variants.
29911         * java/awt/event/AWTEventListenerProxy.java
29912         (eventDispatched): Don't filter events here.
29913
29914 2006-02-23  Chris Burdess  <dog@gnu.org>
29915
29916         Fixes PR 26410
29917         * gnu/xml/dom/DomDocumentBuilderFactory.java,
29918           gnu/xml/dom/JAXPFactory.java,
29919           gnu/xml/libxmlj/dom/GnomeDocumentBuilderFactory.java,
29920           javax/xml/parsers/DocumentBuilderFactory.java: Add and trivially
29921           implement DocumentBuilderFactory.get/setFeature methods.
29922
29923 2006-02-23  Lillian Angel  <langel@redhat.com>
29924
29925         * gnu/java/awt/peer/GLightweightPeer.java
29926         (repaint): Scott's proposed fix. Send repaint to the
29927         component's parent.
29928         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
29929         (setBounds): Removed next_parent, not needed. Removed
29930         lightweightChild, we always need to compensate for the
29931         menu bar's height.
29932         * java/awt/Component.java
29933         (setBounds): Removed check. Caused lots of problems, because some
29934         components were not being invalidated. Components should be
29935         invalidated when they are resized or moved, and in some cases,
29936         when a parent is resized/moved, the components do not know
29937         about it and do not adjust.
29938         * java/awt/Graphics.java
29939         (hitClip): Scott's proposed fix. Added check to handle a 
29940         null clip.
29941   
29942 2006-02-23  Wolfgang Baer  <WBaer@gmx.de>
29943   
29944         * javax/print/attribute/standard/MediaSize.java: 
29945         (media): Field renamed to mediaName for serialization.
29946         (MediaSize): Adapted to new fieldname.
29947         (getMediaSizeName): Likewise.
29948         * javax/print/attribute/HashAttributeSet.java: 
29949         (interfaceName): Field renamed to myInterface for serialization.
29950         (HashAttributeSet): Adapted to the new fieldname.
29951         (add): Likewise.
29952         (addAll): Likewise.
29953         (addInternal): Likewise.
29954         (attributeMap): Made transient.
29955         (readObject): New serialization method.
29956         (writeObject): Likewise.
29957         * javax/print/attribute/AttributeSetUtilities.java: 
29958         (SynchronizedAttributeSet.set): Field renamed to attrset for serialization.
29959         (SynchronizedAttributeSet.add): Adapted to the new fieldname.
29960         (SynchronizedAttributeSet.addAll): Likewise.
29961         (SynchronizedAttributeSet.clear): Likewise.
29962         (SynchronizedAttributeSet.containsKey): Likewise.
29963         (SynchronizedAttributeSet.containsValue): Likewise.     
29964         (SynchronizedAttributeSet.equals): Likewise.
29965         (SynchronizedAttributeSet.get): Likewise.
29966         (SynchronizedAttributeSet.hashCode): Likewise.  
29967         (SynchronizedAttributeSet.isEmpty): Likewise.
29968         (SynchronizedAttributeSet.remove): Likewise.    
29969         (SynchronizedAttributeSet.size): Likewise.      
29970         (SynchronizedAttributeSet.toArray): Likewise.   
29971         (UnmodifiableAttributeSet.set): Field renamed to attrset for serialization.
29972         (UnmodifiableAttributeSet.add): Adapted to the new fieldname.
29973         (UnmodifiableAttributeSet.addAll): Likewise.
29974         (UnmodifiableAttributeSet.clear): Likewise.
29975         (UnmodifiableAttributeSet.containsKey): Likewise.
29976         (UnmodifiableAttributeSet.containsValue): Likewise.     
29977         (UnmodifiableAttributeSet.equals): Likewise.
29978         (UnmodifiableAttributeSet.get): Likewise.
29979         (UnmodifiableAttributeSet.hashCode): Likewise.  
29980         (UnmodifiableAttributeSet.isEmpty): Likewise.
29981         (UnmodifiableAttributeSet.remove): Likewise.    
29982         (UnmodifiableAttributeSet.size): Likewise.      
29983         (UnmodifiableAttributeSet.toArray): Likewise.   
29984         * javax/print/attribute/standard/MediaPrintableArea.java: 
29985         (width): Field renamed to w for serialization.
29986         (height): Field renamed to h for serialization. 
29987         (MediaPrintableArea): Adapted to the new fieldnames.    
29988         (MediaPrintableArea): Likewise.
29989         (equals): Likewise.
29990         (hashCode): Likewise.
29991         (getHeight): Likewise.
29992         (getWidth): Likewise.
29993   
29994 2006-02-23  Andrew John Hughes  <gnu_andrew@member.fsf.org>
29995   
29996         * include/java_lang_VMMath.h:
29997         (Java_java_lang_VMMath_cbrt(JNIEnv*,jclass,jdouble)): Added.
29998         (Java_java_lang_VMMath_cosh(JNIEnv*,jclass,jdouble)): Added.
29999         (Java_java_lang_VMMath_expm1(JNIEnv*,jclass,jdouble)): Added.
30000         (Java_java_lang_VMMath_hypot(JNIEnv*,jclass,jdouble,jdouble)): Added.
30001         (Java_java_lang_VMMath_log10(JNIEnv*,jclass,jdouble)): Added.
30002         (Java_java_lang_VMMath_log1p(JNIEnv*,jclass,jdouble)): Added.
30003         (Java_java_lang_VMMath_sinh(JNIEnv*,jclass,jdouble)): Added.
30004         (Java_java_lang_VMMath_tanh(JNIEnv*,jclass,jdouble)): Added.
30005         * java/lang/Math.java:
30006         (cbrt(double)): Implemented.
30007         (cosh(double)): Implemented.
30008         (expm1(double)): Implemented.
30009         (hypot(double,double)): Implemented.
30010         (log10(double)): Implemented.
30011         (log1p(double)): Implemented.
30012         (signum(double)): Implemented.
30013         (signum(float)): Implemented.
30014         (sinh(double)): Implemented.
30015         (tanh(double)): Implemented.
30016         * native/fdlibm/Makefile.am:
30017         Added new files from fdlibm 5.3.
30018         * native/fdlibm/e_acos.c,
30019         * native/fdlibm/e_asin.c,
30020         * native/fdlibm/e_atan2.c,
30021         * native/fdlibm/e_exp.c,
30022         * native/fdlibm/e_fmod.c,       
30023         * native/fdlibm/e_log.c,
30024         * native/fdlibm/e_rem_pio2.c,
30025         * native/fdlibm/e_remainder.c,
30026         * native/fdlibm/e_scalb.c,
30027         * native/fdlibm/e_sqrt.c,
30028         * native/fdlibm/k_cos.c,
30029         * native/fdlibm/k_rem_pio2.c,
30030         * native/fdlibm/k_sin.c,
30031         * native/fdlibm/k_tan.c,
30032         * native/fdlibm/s_atan.c,
30033         * native/fdlibm/s_ceil.c,
30034         * native/fdlibm/s_copysign.c,
30035         * native/fdlibm/s_cos.c,
30036         * native/fdlibm/s_fabs.c,
30037         * native/fdlibm/s_finite.c,
30038         * native/fdlibm/s_floor.c,
30039         * native/fdlibm/s_rint.c,
30040         * native/fdlibm/s_scalbn.c,
30041         * native/fdlibm/s_sin.c,
30042         * native/fdlibm/s_tan.c,
30043         * native/fdlibm/w_acos.c,
30044         * native/fdlibm/w_asin.c,
30045         * native/fdlibm/w_atan2.c,
30046         * native/fdlibm/w_acos.c,
30047         * native/fdlibm/w_exp.c,
30048         * native/fdlibm/w_fmod.c,
30049         * native/fdlibm/w_log.c,
30050         * native/fdlibm/w_pow.c,
30051         * native/fdlibm/w_remainder.c,
30052         * native/fdlibm/w_sqrt.c:
30053         Updated to fdlibm 5.3.
30054         * native/fdlibm/e_cosh.c,
30055         * native/fdlibm/e_hypot.c,
30056         * native/fdlibm/e_log10.c,
30057         * native/fdlibm/e_sinh.c,
30058         * native/fdlibm/s_cbrt.c,
30059         * native/fdlibm/s_expm1.c,
30060         * native/fdlibm/s_log1p.c,
30061         * native/fdlibm/s_tanh.c,
30062         * native/fdlibm/w_cosh.c,
30063         * native/fdlibm/w_hypot.c,
30064         * native/fdlibm/w_log10.c,
30065         * native/fdlibm/w_sinh.c:
30066         Imported from fdlibm 5.3.
30067         * native/fdlibm/fdlibm.h:
30068         Imported from fdlibm 5.3 with Classpath additions.
30069         * native/fdlibm/namespace.h:
30070         Updated from new math_symbols file.
30071         * native/jni/java-lang/java_lang_VMMath.c:
30072         (Java_java_lang_VMMath_cbrt(JNIEnv*,jclass,jdouble)): Implemented.
30073         (Java_java_lang_VMMath_cosh(JNIEnv*,jclass,jdouble)): Implemented.
30074         (Java_java_lang_VMMath_expm1(JNIEnv*,jclass,jdouble)): Implemented.
30075         (Java_java_lang_VMMath_hypot(JNIEnv*,jclass,jdouble,jdouble)):
30076         Implemented.
30077         (Java_java_lang_VMMath_log10(JNIEnv*,jclass,jdouble)): Implemented.
30078         (Java_java_lang_VMMath_log1p(JNIEnv*,jclass,jdouble)): Implemented.
30079         (Java_java_lang_VMMath_sinh(JNIEnv*,jclass,jdouble)): Implemented.
30080         (Java_java_lang_VMMath_tanh(JNIEnv*,jclass,jdouble)): Implemented.
30081         * scripts/math_symbols:
30082         Added tanh, expm1, log10 and log1p.
30083         * vm/reference/java/lang/VMMath.java:
30084         (cbrt(double)): Implemented.
30085         (cosh(double)): Implemented.
30086         (expm1(double)): Implemented.
30087         (hypot(double,double)): Implemented.
30088         (log10(double)): Implemented.
30089         (log1p(double)): Implemented.
30090         (sinh(double)): Implemented.
30091         (tanh(double)): Implemented.
30092         
30093 2006-02-23  Wolfgang Baer  <WBaer@gmx.de>
30094
30095         * javax/print/DocFlavor.java: Added documentation all over.
30096         (BYTE_ARRAY.TEXT_HTML_HOST): Include host charset encoding to mimetype.
30097         (BYTE_ARRAY.TEXT_PLAIN_HOST): Likewise.
30098         (INPUT_STREAM.TEXT_HTML_HOST): Likewise.
30099         (INPUT_STREAM.TEXT_PLAIN_HOST): Likewise.
30100         (URL.TEXT_HTML_HOST): Likewise.
30101         (URL.TEXT_PLAIN_HOST): Likewise.
30102         (hostEncoding): Initialize with host default charset encoding.
30103         (mediaSubtype): Made transient.
30104         (mediaType): Likewise.
30105         (params): Made transient. Changed type to TreeMap.
30106         (className): Removed, changed to myClassName.
30107         (myClassName): New field as defined in serialized form.
30108         (DocFlavor): Adapted to new variable types, names.
30109         (parseMimeType): Reimplemented.
30110         (getParameter): Search with lowercase name.
30111         (getRepresentationClassName): Adapted to changed variable name.
30112         (hashCode): Likewise.
30113         (toString): Reimplemented.
30114         (readObject): New method for serialization.
30115         (writeObject): Likewise.
30116   
30117 2006-02-23  Roman Kennke  <kennke@aicas.com>
30118   
30119         * javax/swing/RepaintManager.java
30120         (commitBuffer): Clip the repaint area with the current clip.
30121   
30122 2006-02-23  Raif S. Naffah  <raif@swiftdsl.com.au>
30123   
30124         * gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java
30125         (DEFAULT_PRIME_SIZE): Made public.
30126         (DEFAULT_EXPONENT_SIZE): Likewise.
30127         (setup): Handle DHParameterSpec as well.
30128         * gnu/javax/crypto/key/dh/GnuDHKey.java (getEncoded): Return
30129         defaultFormat instead of Raw.
30130         * gnu/javax/crypto/key/dh/DHKeyPairX509Codec.java
30131         (checkIsConstructed): Removed.
30132         (checkIsBigInteger): Likewise.
30133         (decodePublicKey): Use DerUtil.
30134         * gnu/javax/crypto/key/dh/DHKeyPairPKCS8Codec.java
30135         (checkIsConstructed): Removed.
30136         (checkIsBigInteger): Likewise.
30137         (decodePrivateKey): Use DerUtil.
30138         * gnu/javax/crypto/jce/GnuCrypto.java (run): Updated mapping of
30139         KeyAgreement.DH.
30140         Added mappings for AlgorithmParameters.DH and
30141         AlgorithmParameterGenerator.DH.
30142         * gnu/javax/crypto/jce/DiffieHellmanImpl.java: New file.
30143         * gnu/javax/crypto/jce/sig/DHParametersGenerator.java: Likewise.
30144         * gnu/javax/crypto/jce/sig/DHParameters.java: Likewise.
30145         * gnu/javax/crypto/jce/sig/DHKeyFactory.java (engineGeneratePrivate):
30146         Return result.
30147         (engineGeneratePublic): Likewise.
30148         * gnu/java/security/util/DerUtil.java: New file.
30149         * gnu/java/security/sig/rsa/RSASignatureFactory.java (getNames):
30150         Include only valid RSA PKCS1 (v1.5) signature names.
30151         * gnu/java/security/sig/rsa/RSAPKCS1V1_5SignatureX509Codec.java
30152         (RSAPKCS1V1_5SignatureX509Codec): Removed.
30153         (checkIsConstructed): Likewise.
30154         * gnu/java/security/sig/dss/DSSSignatureX509Codec.java
30155         (checkIsConstructed): Removed.
30156         (checkIsBigInteger): Likewise.
30157         (decodeSignature): Use DerUtil.
30158         * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java
30159         (checkIsConstructed): Removed.
30160         (checkIsBigInteger): Likewise.
30161         (decodePublicKey): Use DerUtil.
30162         * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java
30163         (checkIsConstructed): Removed.
30164         (checkIsBigInteger): Likewise.
30165         (decodePrivateKey): Use DerUtil.
30166         * gnu/java/security/key/dss/DSSKeyPairX509Codec.java
30167         (checkIsConstructed): Removed.
30168         (checkIsBigInteger): Likewise.
30169         (decodePublicKey): Use DerUtil.
30170         * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java
30171         (checkIsConstructed): Removed.
30172         (checkIsBigInteger): Likewise.
30173         (decodePrivateKey): Use DerUtil.
30174         * gnu/java/security/key/dss/DSSKeyPairGenerator.java
30175         (DEFAULT_MODULUS_LENGTH): Made it public.
30176         * gnu/java/security/key/dss/DSSKey.java (getEncoded): Return
30177         defaultFormat instead of Raw.
30178         * gnu/java/security/jce/sig/DSSParametersGenerator.java: New file.
30179         * gnu/java/security/jce/sig/DSSParameters.java: Likewise..
30180         * gnu/java/security/jce/sig/DSSKeyFactory.java (engineGeneratePrivate):
30181         Return result.
30182         (engineGeneratePublic): Likewise.
30183         * gnu/javax/crypto/DiffieHellmanImpl: Removed.
30184
30185 2006-02-22  Anthony Balkissoon  <abalkiss@redhat.com>
30186
30187         * java/math/BigDecimal.java:
30188         (BigDecimal(char[], int, int, MathContext)): New constructor.
30189         (BigDecimal(char[], MathContext)): Likewise.
30190         (BigDecimal(char[])): Likewise.
30191         (BigDecimal(char[], int, int)): Likewise.
30192         (BigDecimal(String)): Fixed handling of exponent and scale.
30193
30194 2006-02-22  Mark Wielaard  <mark@klomp.org>
30195
30196         * java/awt/Checkbox.java (setState): Check that state actually changed
30197         before calling peer.
30198         (dispatchEventImpl): Set new state if ItemEvent.
30199         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java (changing): Removed.
30200         (create): Set currentState.
30201         (setState): Make synchronized, check and set currentState before
30202         calling gtkToggleButtonSetActive.
30203         (postItemEvent): Make synchronized, check and set currentState before
30204         posting ItemEvent.
30205         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
30206         (postItemEventID): Method now takes boolean.
30207         (item_toggled_cb): Likewise.
30208   
30209 2006-02-22  Robert Schuster  <robertschuster@fsfe.org>
30210   
30211         * javax/swing/text/DefaultHighlighter.java:
30212         (changeHighlight): Added code to minimize the damaged area.
30213   
30214 2006-02-22  Robert Schuster  <robertschuster@fsfe.org>
30215   
30216         * javax/swing/text/PlainView.java:
30217         (getPreferredSpan): Added missing 'break'.
30218         statement which corrects an unwanted fall through.
30219         (updateDamage): Update maxLineLength correctly when text is
30220         removed, call preferenceChanged accordingly.
30221         (viewToModel): Restrict line number to be within 0 and the
30222         number of elements-1.
30223   
30224 2006-02-22  Robert Schuster  <robertschuster@fsfe.org>
30225   
30226         * javax/swing/text/Utilities.java:
30227         (getPositionAbove): Prefer first value by changing comparison
30228         from < to <=.
30229         (getPositionBelow): Dito.
30230   
30231 2006-02-22  Robert Schuster  <robertschuster@fsfe.org>
30232   
30233         * javax/swing/text/DefaultEditorKit.java: Added checks and fallback
30234         behavior when magic caret position is null.
30235   
30236 2006-02-22  Roman Kennke  <kennke@aicas.com>
30237   
30238         * javax/swing/JTextField.java
30239         (isValidateRoot): New method.
30240   
30241 2006-02-22  Roman Kennke  <kennke@aicas.com>
30242   
30243         * javax/swing/JEditorPane.java
30244         (getPreferredSize): Rewritten to behave like the reference impl.
30245         (getScrollableTracksViewportWidth): Likewise.
30246         (getScrollableTracksViewportHeight): Likewise.
30247   
30248 2006-02-22  Roman Kennke  <kennke@aicas.com>
30249   
30250         * javax/swing/RepaintManager.java
30251         (addInvalidComponent): Also consider the component itself.
30252   
30253 2006-02-22  Mark Wielaard  <mark@klomp.org>
30254   
30255         * javax/swing/text/html/HTMLDocument.java (createDefaultRoot): Fully
30256         qualify AbstractDocument.AttributeContext.
30257         (blockOpen): Likewise.
30258   
30259 2006-02-21  Anthony Balkissoon  <abalkiss@redhat.com>
30260
30261         * java/math/BigDecimal.java:
30262         (mathContext): New field.
30263         (precision): Likewise.
30264         (BigDecimal(int)): New constructor.
30265         (BigDecimal(long)): Likewise.
30266         (BigDecimal(BigInteger)): Added API docs.
30267         (BigDecimal(BigInteger, int)): Removed incorrect NumberFormatException
30268         and added API docs.
30269         (plus): New method.
30270         (round): Likewise.
30271         (precision): Likewise.
30272         (valueOf): Likewise.
30273         (numDigitsInLong): New implementation method.
30274
30275 2006-02-21  Anthony Balkissoon  <abalkiss@redhat.com>
30276
30277         * java/math/MathContext.java: New class.
30278         * java/math/RoundingMode: New Enum.
30279
30280 2006-02-21  Mark Wielaard  <mark@klomp.org>
30281   
30282         * java/awt/Component.java (translateEvent): Translate
30283         AdjustmentEvents to 1.0 Events.
30284         * java/awt/Scrollbar.java (dispatchEventImpl): Set valueIsAdjusting.
30285         Call setValue() before processing event.
30286         * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java (setValues): Check
30287         whether we are currently changing and being called back from the
30288         Scrollbar component.
30289         (setBarValues): New native method.
30290         (postAdjustmentEvent): Mark AdjustmentEvent as user generated.
30291         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollbarPeer.c
30292         (Java_gnu_java_awt_peer_gtk_GtkScrollbarPeer_setValues): Renamed to
30293         Java_gnu_java_awt_peer_gtk_GtkScrollbarPeer_setBarValue
30294         * include/gnu_java_awt_peer_gtk_GtkScrollbarPeer.h: Regenerated.
30295   
30296 2006-02-21  Roman Kennke  <kennke@aicas.com>
30297   
30298         * javax/swing/text/View.java
30299         (setParent): Set child parent to null when disconnecting
30300         the view from the View hierarchy.
30301   
30302 2006-02-21  Wolfgang Baer  <WBaer@gmx.de>
30303   
30304         * javax/print/StreamPrintService.java: Added and enhanced documentation.
30305   
30306 2006-02-21  Roman Kennke  <kennke@aicas.com>
30307   
30308         * javax/swing/text/WrappedPlainView.java
30309         (calculateBreakPosition): Changed to use the view's allocation instead
30310         of the container's preferredSize.
30311   
30312 2006-02-21  Wolfgang Baer  <WBaer@gmx.de>
30313   
30314         * java/awt/CardLayout.java:
30315         (first): Updated api documentation.
30316         (last): Likewise.
30317         (next): Likewise.
30318         (previous): Likewise.
30319         (show): Clarified api docs. Return if name is null. Throw
30320         IllegalArgumentException if layout of container is not this.
30321         (gotoComponent): Updated api documentation. Throw
30322         IllegalArgumentException if layout of container is not this.
30323   
30324 2006-02-21  Roman Kennke  <kennke@aicas.com>
30325   
30326         * javax/swing/text/NavigationFilter.java
30327         (getNextVisualPositionFrom): New method.
30328   
30329 2006-02-21  Roman Kennke  <kennke@aicas.com>
30330   
30331         * javax/swing/plaf/basic/BasicTextUI.java
30332         (RootView.setView): Call setParent() on the view with this as
30333         argument instead of null.
30334         (setView): Don't set root view's parent here.
30335   
30336 2006-02-21  Roman Kennke  <kennke@aicas.com>
30337   
30338         * javax/swing/text/AbstractDocument.java
30339         (AbstractElement.getAttribute): Use getResolveParent() to fetch
30340         the resolving parent.
30341         (AbstractElement.getResolveParent): Fixed to handle possible null
30342         parent.
30343         * javax/swing/text/BoxView.java
30344         (childReqs): New field.
30345         (paint): Added debugging code (commented out).
30346         (getPreferredSpan): Rewritten to use new update* methods.
30347         (getMaximumSpan): Rewritten to return Integer.MAX_VALUE
30348         for the minor axis and preferredSpan for the major axis.
30349         (getMinimumSpan): Rewritten to use new update* methods.
30350         (baselineRequirements): Rewritten to avoid creation of 
30351         unnecessary SizeRequirements objects.
30352         (baselineLayout): Rewritten to use new update* methods.
30353         (calculateMajorAxisRequirements): Rewritten to avoid creation of 
30354         unnecessary SizeRequirements objects.
30355         (calculateMinorAxisRequirements): Rewritten to avoid creation of 
30356         unnecessary SizeRequirements objects.
30357         (layout): Some robustness fixes for the layout. Turned AssertionErrors
30358         into warnings.
30359         (layoutMajorAxis): Rewritten to use new update* methods.
30360         (layoutMinorAxis): Rewritten to use new update* methods.
30361         (getChildRequirements): Replaced by the update* methods.
30362         (getAlignment): Use update* methods.
30363         (updateChildRequirements): New methods. Updates the child requirements
30364         if necessary.
30365         (updateRequirements): New methods. Updates the BoxView requirements
30366         if necessary.
30367         * javax/swing/text/DefaultStyledDocument.java
30368         (ElementBuffer.insert): Added warning for illegal replacement operation.
30369         * javax/swing/text/FlowView.java
30370         (layoutRow): When offset doesn't change, return -1.
30371         (LogicalView): Now subclasses BoxView.
30372         (loadChildren): Let the CompositeView.setParent() load the children
30373         of the logicalView.
30374         (calculateMinorRequirements): New overridden method.
30375         * javax/swing/text/GlyphView.java
30376         (DefaultGlyphPainter.paint): Fixed typo.
30377         (startOffset): Made field private.
30378         (endOffset): Made field private.
30379         (paint): Call getStartOffset() and getEndOffset() instead of the
30380         element methods.
30381         (isStrikeThrough): Fixed typo.
30382         (breakView): Use Utilities.getBreakLocation() to determine best
30383         break location.
30384         (changedUpdate): Call preferencedChange on this instead of parent.
30385         (removeUpdate): Call preferencedChange on this instead of parent.
30386         * javax/swing/text/ParagraphView.java
30387         (Row.getAlignment): For Y_AXIS, call super.
30388         (getAlignment): Likewise.
30389         * javax/swing/text/Utilities.java
30390         (getBreakLocation): Set Segment object directly on the BreakIterator.
30391         * javax/swing/text/html/HTML.java
30392         (Attribute): Made class non-serializable and final as specified.
30393         (Attribute(String)): Made constructor private.
30394         (Attribute.compareTo): Removed.
30395         (Attribute.equals): Removed.
30396         (Attribute.hashCode): Removed.
30397         (Tag): Made class non-comparable and non-serializable as specified.
30398         (Tag.compareTo): Removed.
30399         (Tag.equals): Removed.
30400         (Tag.hashCode): Removed.
30401         * javax/swing/text/html/HTMLDocument.java
30402         (HTMLReader.blockOpen): Add tag as name attribute to element.
30403         * javax/swing/text/html/HTMLEditorKit.java
30404         (HTMLFactory.create): Create NullView for <head> tags, removed unused
30405         fallback.
30406         * javax/swing/text/html/InlineView.java
30407         (setPropertiesFromAttributes): Call super.
30408         * javax/swing/text/html/NullView.java: New class.
30409   
30410 2006-02-21  Roman Kennke  <kennke@aicas.com>
30411   
30412         PR classpath/26368
30413         * javax/swing/text/GapContent.java
30414         (GapContentPosition): Made class private.
30415         (InsertUndo): Made class private.
30416         (UndoRemove): Made class private.
30417         (WeakPositionComparator): New inner class.
30418         (positions): Made field private.
30419         (createPosition): Clear up GC'ed positions before creating
30420         a new one. Store position as WeakReference.
30421         (getPositionsInRange): Changed to handle WeakReference
30422         positions.
30423         (setPositionsInRange): Changed to handle WeakReference
30424         positions.
30425         (adjustPositionsInRange): Changed to handle WeakReference
30426         positions.
30427         (dumpPositions): Handle WeakReference positions.
30428         (clearPositionReferences): New method.
30429   
30430 2006-02-21  Robert Schuster  <robertschuster@fsfe.org>
30431   
30432         * javax/swing/plaf/basic/BasicTextUI.java:
30433         (paint): Remove unneccessary part of the if-expression.
30434         (damageRange): Added case where the range spans multiple lines.
30435         * javax/swing/text/DefaultCaret.java:
30436         (clearHighlight): New method.
30437         (handleHighlight): Removed unneccessary part of the if-expression.
30438         (setDot): Use clearHighlight method.
30439         * javax/swing/text/DefaultHighlighter.java: Use ArrayList instead
30440         of Vector.
30441         (paint): Prevented calling size() on every loop iteration, fixed
30442         calculation of allocation area bounds.
30443         (getHighlights): Implemented.
30444         (removeHighlight): Mark damaged area in textcomponent.
30445         (addHighlight): Mark damaged area in textcomponent.
30446         (changeHighlight): Mark damaged area in textcomponent.
30447         (DefaultHighlighter.HighlightEntry): Made it a real
30448         Highlighter.Highlight implementation.
30449         (DefaultHighlighter.DefaultHighlightPainter.paint): Fixed
30450         calculations.
30451
30452 2006-02-20  Stuart Ballard  <stuart.a.ballard@gmail.com>
30453
30454         * java/util/zip/ZipConstants.java
30455         (LOCSIG): Change type to long.
30456         (EXTSIG): Likewise.
30457         (CENSIG): Likewise.
30458         (ENDSIG): Likewise.
30459         * java/util/zip/ZipOutputStream.java
30460         (writeLeInt(long)): New method.
30461   
30462 2006-02-21  Michael Koch  <konqueror@gmx.de>
30463   
30464         * gnu/javax/net/ssl/provider/PRNG.java: Removed.
30465   
30466 2006-02-20  Mark Wielaard  <mark@klomp.org>
30467   
30468         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
30469         (begin_drawing_operation): Output stacktrace and return on bad cairo
30470         status.
30471         (end_drawing_operation): Likewise. And reset cairo_t.
30472   
30473 2006-02-20  Robert Schuster  <robertschuster@fsfe.org>
30474   
30475         * javax/swing/text/DefaultEditorKit.java: Fixed comparison
30476         in backward selection action.
30477   
30478 2006-02-20  Olivier Jolly  <olivier.jolly@pcedev.com>
30479   
30480         * java/lang/reflect/Proxy.java:
30481         (ProxyData.getProxyData): Skipped overriding of core methods.
30482         (ProxyData.isCoreObjectMethod): New method.
30483   
30484 2006-02-20  Mark Wielaard  <mark@klomp.org>
30485   
30486         * gnu/java/nio/charset/Provider.java (Provider): Package private.
30487   
30488 2006-02-20  Roman Kennke  <kennke@aicas.com>
30489   
30490         * javax/swing/text/html/Option.java: New class.
30491   
30492 2006-02-20  Lillian Angel  <langel@redhat.com>
30493   
30494         * java/swt/Window.java
30495         (show): Calling show() on the owned windows caused problems.
30496         Changed back to get the peer and call setVisible.
30497   
30498 2006-02-20  Roman Kennke  <kennke@aicas.com>
30499   
30500         * javax/swing/plaf/basic/BasicTextUI.java
30501         (damageRange): Implemented this method.
30502   
30503 2006-02-20  Robert Schuster  <robertschuster@fsfe.org>
30504   
30505         * javax/swing/text/GapContent.java:
30506         (shiftGapEndUp): Corrected new mark value.
30507         * javax/swing/text/AbstractDocument.java:
30508         (remove): Changed order of operations.
30509   
30510 2006-02-20  Robert Schuster  <robertschuster@fsfe.org>
30511   
30512         * javax/swing/text/GapContent.java:
30513         (shiftGapEndUp): Reverted.
30514         * javax/swing/text/AbstractDocument.java:
30515         (remove): Reverted.
30516   
30517 2006-02-20  Robert Schuster  <robertschuster@fsfe.org>
30518   
30519         * javax/swing/text/GapContent.java:
30520         (shiftGapEndUp): Corrected new mark value.
30521         * javax/swing/text/AbstractDocument.java:
30522         (remove): Changed order of operations.
30523   
30524 2006-02-20  Mark Wielaard  <mark@klomp.org>
30525   
30526         * java/awt/Menu.java (add(MenuItem)): Use item.getParent() to get
30527         parent field.
30528         (insert): Likewise.
30529         (addNotify): Add the item after addNotifying it.
30530         * java/awt/MenuBar.java (setHelpMenu): Only call removeNotify() when
30531         there is a peer. Use getParent() and setParent() to manipulate parent
30532         field.
30533         (add(Menu)): Use getParent() and setParent() to manipulate parent
30534         field. Call addNotify() and addMenu() when there is a peer.
30535         (remove(int)): Call removeNotify() and delMenu() when there is a peer.
30536         (addNotify): Use getPeer()/setPeer(). Call addMenu() and addHelpMenu()
30537         when there is a peer.
30538         * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java (create): Document.
30539         (GtkMenuComponentPeer): Document. Take MenuComponent as argument.
30540         (setFont): Call setFont(Font).
30541         (setFont(Font)): Document. Only set font when not null.
30542         * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java (create): Document. Made
30543         protected.
30544         (connectSignals): Likewise.
30545         (GtkMenuItemPeer): Document. Don't try to add item. Always call
30546         connectSignals().
30547         * gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java (create): Make
30548         protected.
30549         (postMenuActionEvent): Document.
30550         * gnu/java/awt/peer/gtk/GtkMenuPeer.java (create): Document. Made
30551         protected.
30552         (addItem): Document. Made private.
30553         (addTearOff): Made private.
30554         (connectSignals): New protected overridden method.
30555         (GtkMenuPeer): Correctly cast setupAccelGroup() arguments.
30556         * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java (hasHelpMenu): New field.
30557         (create): Document.
30558         (addMenu): Made private, take GtkMenuPeer as argument and document.
30559         (GtkMenuBarPeer): Document.
30560         (nativeSetHelpMenu): Removed.
30561         (addHelpMenu): Implement.
30562         (delMenu): Document.
30563         (addMenu): Implement.
30564         * gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java (setParent): Removed.
30565         * include/gnu_java_awt_peer_gtk_GtkMenuBarPeer.h: Regenerated.
30566         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c
30567         (Java_gnu_java_awt_peer_gtk_GtkMenuBarPeer_nativeSetHelpMenu):
30568         Removed.
30569   
30570 2006-02-20  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
30571   
30572         * gnu/java/rmi/server/RMIObjectInputStream.java (resolveProxyClass):
30573         Expect that proxy interfaces may have different class loaders.
30574         * gnu/java/rmi/server/UnicastServerRef.java: Rewritten.
30575         * java/rmi/registry/Registry.java,
30576         * java/rmi/server/UnicastRemoteObject.java: 
30577         Documented about proxy stubs.
30578         * gnu/java/rmi/server/CombinedClassLoader.java,
30579         java/rmi/server/RemoteObjectInvocationHandler.java: New files.
30580         * NEWS: Added entry.
30581
30582 2006-02-19  Mark Wielaard  <mark@klomp.org>
30583
30584         * gnu/java/awt/peer/gtk/GtkContainerPeer.java (endValidate): Set
30585         Parent and Bounds of our children if either or parent is showing, or
30586         we are a Window and are showing ourselves now.
30587   
30588 2006-02-19  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
30589   
30590         * gnu/classpath/tools/rmi/rmic/RmicCompiler.java (convertStubName): 
30591         New method.
30592         * gnu/classpath/tools/rmi/rmic/templates/Stub_12.jav: 
30593         Another stub name fix.
30594   
30595 2006-02-19  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
30596   
30597         * gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java (compile):
30598         Call convertStubName. (convertStubName): New method.
30599         * gnu/classpath/tools/rmi/RMIC.java (main): Stub name fix.
30600         * gnu/classpath/tools/rmi/rmic/RmiMethodGenerator.java 
30601         (convertStubName): New method.
30602         (getMethodHashCode): 
30603         Use existing gnu.java.rmi.server.RMIHashes.getMethodHash.
30604         * gnu/classpath/tools/rmi/rmic/templates/Stub_12.jav: Stub name fix.
30605
30606 2006-02-19  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
30607
30608         * java/rmi/server/UnicastRemoteObject.java: Documenting. 
30609
30610 2006-02-19  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
30611
30612         * gnu/java/rmi/server/UnicastServerRef.java: Reformatted.
30613
30614 2006-02-18  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
30615
30616         * javax/swing/JViewport.java (paintBackingStore): If the component has
30617         not been scrolled, only repaint the buffer part, indicated by
30618         the parameter graphics clip. 
30619      
30620 2006-02-19  Raif S. Naffah  <raif@swiftdsl.com.au>
30621
30622         * gnu/javax/crypto/key/OutgoingMessage.java (writePublicKey): Handle new
30623         internal format.
30624         (writePrivateKey): Likewise.
30625         (writeKey): New method.
30626         (getKeyType): Likewise.
30627         * gnu/javax/crypto/key/IncomingMessage.java (readPublicKey): Handle new
30628         internal format.
30629         (readPrivateKey): Likewise.
30630         (getKeyPairCodec): New method.
30631         * gnu/javax/crypto/key/srp6/SRPKey.java (getFormat): Always return Raw.
30632         * gnu/javax/crypto/key/dh/GnuDHKey.java (getFormat): Use FormatUtil.
30633         * gnu/java/security/Registry.java (RSA_SIG_PREFIX): New constant.
30634         (RSA_PSS_ENCODING): Likewise..
30635         (RSA_PKCS1_V1_5_ENCODING): Likewise.
30636         (RSA_PSS_SIG): Redefined using other constants.
30637         (RSA_PKCS1_V1_5_SIG): Likewise.
30638         (MAGIC_RAW_RSA_PKCS1V1_5_SIGNATURE): New constant.
30639         * gnu/java/security/util/FormatUtil.java: New file.
30640         * gnu/java/security/sig/SignatureFactory.java (names): New field.
30641         (getInstance): Let RSASignatureFactory handle RSA signature names.
30642         (getNames): Handle new RSA signature (with format) names.
30643         * gnu/java/security/sig/SignatureCodecFactory.java: New file.
30644         * gnu/java/security/sig/BaseSignature.java (BaseSignature): Add check
30645         for null md.
30646         (name): Include hash algorithm name.
30647         * gnu/java/security/sig/rsa/RSASignatureFactory.java: New file.
30648         * gnu/java/security/sig/rsa/RSAPSSSignature.java
30649         (RSAPSSSignature): Call constructor with IMessageDigest.
30650         (RSAPSSSignature(ImessageDigest,int)): New constructor.
30651         * gnu/java/security/sig/rsa/RSAPKCS1V1_5SignatureRawCodec.java: New
30652         file.
30653         * gnu/java/security/sig/rsa/RSAPKCS1V1_5SignatureX509Codec.java:
30654         Likewise.
30655         * gnu/java/security/sig/rsa/RSAPKCS1V1_5Signature.java
30656         (RSAPKCS1V1_5Signature(String)): Call constructor with IMessageDigest.
30657         (RSAPKCS1V1_5Signature(IMessageDigest)): New constructor.
30658         * gnu/java/security/sig/rsa/EMSA_PKCS1_V1_5.java (getInstance): Added
30659         hash algorithm name to exception.
30660         * gnu/java/security/sig/dss/DSSSignatureX509Codec.java: New file.
30661         * gnu/java/security/key/KeyPairCodecFactory.java
30662         (names): New class field.
30663         (getInstance(Sitrng)): Deconstruct and call getInstance(String,String).
30664         (getInstance(String,String)): New method.
30665         (getInstance(String,int)): New method.
30666         (getInstance(byte[])): Removed.
30667         (getInstance(Key)): Handle new formats.
30668         (getNames): Likewise.
30669         (getEncodingName(int)): Moved to FormatUtil.
30670         (getEncodingShortName(int)): Likewise.
30671         (getRawCodec(String)): New method.
30672         (getX509Codec(String)): Likewise.
30673         (getPKCS8Codec(String)): Likewise.
30674         (getRawCodec(Key)): Likewise.
30675         (getX509Codec(Key)): Likewise.
30676         (getPKCS8Codec(Key)): Likewise.
30677         * gnu/java/security/key/dss/DSSKey.java (getFormat): Use FormatUtil.
30678         * gnu/java/security/key/rsa/GnuRSAKey.java (getFormat): Likewise.
30679         * gnu/java/security/jce/sig/SHA512withRSA.java: New File.
30680         * gnu/java/security/jce/sig/SHA384withRSA.java: Likewise.
30681         * gnu/java/security/jce/sig/SHA256withRSA.java: Likewise.
30682         * gnu/java/security/jce/sig/SHA160withRSA.java: Likewise.
30683         * gnu/java/security/jce/sig/SHA160withDSS.java: Likewsie.
30684         * gnu/java/security/jce/sig/MD5withRSA.java: Likewise.
30685         * gnu/java/security/jce/sig/MD2withRSA.java: Likewise.
30686
30687 2006-02-18  Mark Wielaard  <mark@klomp.org>
30688
30689         * java/awt/dnd/DragSource.java (getDefaultDragSource): Return new
30690         DragSource.
30691         (NoDragGestureRecognizer): New static class.
30692         (createDragGestureRecognizer): Return NoDragGestureRecognizer when
30693         Toolkit doesn't support drag and drop.
30694
30695 2006-02-18  Mark Wielaard  <mark@klomp.org>
30696
30697         * javax/swing/AbstractAction.java (AbstractAction()): Nothing to do.
30698         (AbstractAction(String)): Just call putValue() for NAME.
30699         (putValue): Nothing to do is old and new value are both null.
30700
30701 2006-02-18  Mark Wielaard  <mark@klomp.org>
30702
30703         * javax/swing/JRootPane.java (layoutContainer): Get contentPane
30704         through getContentPane().
30705         (preferredLayoutSize): Likewise.
30706
30707 2006-02-18  Mark Wielaard  <mark@klomp.org>
30708
30709         * javax/swing/JMenuBar.java (paintBorder): Check whether border is
30710         actually set before painting.
30711
30712 2006-02-18  Mark Wielaard  <mark@klomp.org>
30713
30714         * javax/swing/text/html/HTMLDocument.java (addContent):
30715         Fully qualify AbstractDocument.AttributeContext and
30716         DefaultStyledDocument.ElementSpec.ContentType for gcj 4.0.
30717
30718 2006-02-18  Mark Wielaard  <mark@klomp.org>
30719
30720         * java/awt/datatransfer/DataFlavor.java (tryToLoadClass): Rewritten.
30721         (getRepresentationClassFromMime): Add exception cause to
30722         IllegalArgumentException.
30723   
30724 2006-02-17  Lillian Angel  <langel@redhat.com>
30725   
30726         * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
30727         Removed unneeded import.
30728         * gnu/java/awt/peer/gtk/GtkFramePeer.java:
30729         Removed unneeded imports.
30730         * java/awt/BorderLayout.java:
30731         Fixed comment, this is not yet handled in the JDK 1.5.
30732         * java/awt/Container.java:
30733         Removed unneeded import.
30734   
30735 2006-02-17  Lillian Angel  <langel@redhat.com>
30736   
30737         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
30738         (setBounds): Removed check. Coordinates should always be changed
30739         to incorporate the parent's coordinates.
30740         * gnu/java/awt/peer/gtk/GtkFramePeer.java
30741         (setMenuBar): Added checks. Don't validate component if it has 
30742         not been validated yet, it will be validated later. Only validate
30743         if it has already been validated, in that case it needs to be
30744         revalidated.
30745         * java/awt/Window.java
30746         (show): Added check. If the window is visible, then bring it to the
30747         front. Otherwise, iterate through all its children windows and show them.
30748         No need to do both.
30749
30750 2006-02-17  Roman Kennke  <kennke@aicas.com>
30751
30752         * javax/swing/text/html/ParagraphView.java: New file.
30753
30754 2006-02-17  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
30755
30756         * javax/swing/JTable.java (getCellRect): return +rowMargin if spacing
30757         is included. (moveToCellBeingEdited): Adjusted to start editing at the
30758         same location where was the initial text.
30759         * javax/swing/plaf/basic/BasicTableUI.java (paint): Rewritten.
30760
30761 2006-02-17  Chris Burdess  <dog@gnu.org>
30762
30763         Fixes PRs 26319, 26320, 26321, 26322, 26325
30764         * gnu/xml/stream/SAXParser.java: On error, reset parser before
30765           rethrowing exception.
30766         * gnu/xml/stream/XMLParser.java: Only report "illegal use of
30767           1.1-style prefix unbinding in 1.0 document" error for xmlns
30768           prefixes, not xmlns attributes. Fix a problem with empty namespace
30769           stack at the end of a document. Permit parameter entity references
30770           in element and attribute-list definition name area. Corrected
30771           normalisation of whitespace character entity references in CDATA
30772           attribute values. Fixed number of characters read following a
30773           reset when detecting end of character data with characters after a
30774           Unicode surrogate pair.
30775   
30776 2006-02-17  Roman Kennke  <kennke@aicas.com>
30777   
30778         * javax/swing/text/html/HTMLEditorKit.java
30779         (HTMLFactory.create): Create InlineView for content tags.
30780         * javax/swing/text/html/HTMLDocument.java
30781         (HTMLReader.flush): Call create() on first flush and insert
30782         on subsequent flushes.
30783   
30784 2006-02-17  Roman Kennke  <kennke@aicas.com>
30785   
30786         * javax/swing/text/AbstractDocument.java
30787         (BranchElement.getStartOffset): Implemented workaround for wrong
30788         NPE.
30789         (BranchElement.getEndOffset): Implemented workaround for wrong
30790         NPE.
30791         (ElementBuffer.split): Use createBranchElement() instead of
30792         new BranchElement().
30793         (ElementBuffer.insertFracture): Use createBranchElement() instead of
30794         new BranchElement().
30795         (ElementBuffer.recreateAfterFracture): Use createBranchElement()
30796         instead of new BranchElement().
30797         (createDefaultRoot): Use createBranchElement() and createLeafElement
30798         instead of the constructors.
30799         (create): Rewritten.
30800   
30801 2006-02-17  Keith Seitz  <keiths@redhat.com>
30802   
30803         * gnu/classpath/jdwp/id/JdwpId.java (size): Remove.
30804         (SIZE): New constant.
30805         * gnu/classpath/jdwp/processor/VirtualMachineCommandSet.java
30806         (executeIDsizes): Use SIZE constant.
30807         * vm/reference/gnu/classpath/jdwp/VMFrame.java (size): Remove.
30808         (SIZE): New constant.
30809
30810 2006-02-17  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
30811
30812         * javax/swing/JTable.java (IconCellRenderer): Set the component
30813         text to empty string. (createDefaultRenderers): Register
30814         IconCellRenderer also for ImageIcon. 
30815         (getCellEditor(int, int), getCellRenderer(int, int)):
30816         Use model index for data model and column index for column model.
30817         (getColumnClass): Convert to model index before requesting class
30818         from model. 
30819   
30820 2006-02-17  Roman Kennke  <kennke@aicas.com>
30821   
30822         * javax/swing/text/html/HTMLDocument.java
30823         (createDefaultRoot): Implemented.
30824         (createLeafElement): Implemented.
30825         (createBranchElement): Implemented.
30826         (BlockElement.getName): Fixed to handle HTML.Tag objects as name.
30827         (RunElement.getName): Fixed to handle HTML.Tag objects as name.
30828         (HTMLReader.ParagraphAction.start): Call blockOpen at the very least.
30829         (HTMLReader.ParagraphAction.end): Call blockClose at the very least.
30830         (HTMLReader.blockOpen): Add name attribute with the current tag.
30831         (HTMLReader.addContent): Add name attribute with HTML.Tag.CONTENT.
30832   
30833 2006-02-17  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
30834   
30835         * javax/swing/plaf/basic/BasicTableHeaderUI.java (MouseInputHandler):
30836         Rewritten.
30837         * javax/swing/table/JTableHeader.java: Documenting related methods.
30838   
30839 2006-02-17  Jeroen Frijters  <jeroen@frijters.net>
30840   
30841         Fixes PR 25752
30842         * gnu/java/net/protocol/ftp/FTPURLConnection.java
30843         (connect): Changed to use SystemProperties.
30844         (getInputStream): Try changeWorkingDirectory to figure out if
30845         url is a directory, if not use retrieve.
30846         (getOutputStream): Don't worry about directories, simply always
30847         try to do a store.
30848   
30849 2006-02-17  Jeroen Frijters  <jeroen@frijters.net>
30850   
30851         * gnu/java/net/protocol/ftp/ActiveModeDTP.java
30852         (ActiveModeDTP): Mark accept thread as daemon.
30853   
30854 2006-02-17  Michael Koch  <konqueror@gmx.de>
30855   
30856         * tools/.cvsignore: Ignore tools.zip.
30857   
30858 2006-02-16  Keith Seitz  <keiths@redhat.com>
30859   
30860         * vm/reference/gnu/classpath/jdwp/VMIdManager.java (newReferenceTypeId):
30861         Set the ID's reference.
30862         (<clinit>): Remove comments for field, method, and frame ID types,
30863         which will not be handled by VMIdManager.
30864   
30865 2006-02-17  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
30866   
30867         * javax/swing/JTable.java (getCellEditor, getCellRenderer):
30868         Use model index, not the column number.
30869         * javax/swing/plaf/basic/BasicTableHeaderUI.java (MouseInputHandler):
30870         Rewritten. (draggingHeaderRect): New field. (paint): Animate column 
30871         movement by painting draggingHeaderRect.
30872         * NEWS: Added entry about JTable columns. 
30873   
30874 2006-02-16  Keith Seitz  <keiths@redhat.com>
30875   
30876         * gnu/classpath/jdwp/id/JdwpId.java (size): Make static. Return
30877         default size of eight bytes.
30878         * gnu/classpath/jdwp/id/ObjectId.java (size): Remove.
30879         * gnu/classpath/jdwp/id/ReferenceTypeId.java (size): Remove.
30880         * gnu/classpath/jdwp/processor/VirtualMachineCommandSet.java
30881         (executeIDsizes): Use new static methods.
30882         * vm/reference/gnu/classpath/jdwp/VMFrame.java (size): New static
30883         method.
30884         
30885 2006-02-16  David Daney  <ddaney@avtrex.com>
30886   
30887         PR classpath/26312
30888         * gnu/java/net/protocol/http/ChunkedInputStream.java (read): Mask
30889         return value with 0xff.
30890   
30891 2006-02-16  Keith Seitz  <keiths@redhat.com>
30892   
30893         * gnu/classpath/jdwp/event/EventRequest.java (getFilters): New method.
30894         (matches): Use Iterator instead of ListIterator.
30895   
30896 2006-02-16  Keith Seitz  <keiths@redhat.com>
30897   
30898         * gnu/classpath/jdwp/Jdwp.java (_doInitialization): Name the packet
30899         processor thread for easier debugging.
30900         (_enforceSuspendPolicy): Suspend the current thread, not the JDWP
30901         main thread.
30902   
30903 2006-02-16  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
30904   
30905         * javax/swing/JTable.java 
30906         (TableColumnPropertyChangeHandler.propertyChange): Return without
30907         action if table header resizing column in not null. (doLayout):
30908         Only repaint the header if it is not null.      
30909         * javax/swing/plaf/basic/BasicTableHeaderUI.java 
30910         (MouseInputHandler.mouseExited, MouseInputHandler.mouseReleased):
30911         Rewritten. (MouseInputHandler.endResizing): New method.
30912   
30913 2006-02-16  Roman Kennke  <kennke@aicas.com>
30914   
30915         * javax/swing/text/html/InlineView.java: New file.
30916   
30917 2006-02-16  Roman Kennke  <kennke@aicas.com>
30918   
30919         * javax/swing/JTabbedPane.java
30920         (AccessibleJTable.getAccessibleChild): Implemented to return
30921         the Page instance for the specified index.
30922         (Page): Changed to implement Accessible and extend
30923         AccessibleContext.
30924         (Page.getAccessibleContext): New method.
30925         (Page.getAccessibleRole): New method.
30926         (Page.getAccessibleStateSet): New method.
30927         (Page.getAccessibleIndexInParent): New method.
30928         (Page.getAccessibleChildrenCount): New method.
30929         (Page.getAccessibleChild): New methdod.
30930         (Page.getLocale): New method.
30931   
30932 2006-02-16  Roman Kennke  <kennke@aicas.com>
30933   
30934         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
30935         (TabbedPaneLayout.calculateTabRects): Expand tabRuns array when
30936         tabCount gets greater than tabRuns.length.
30937         (TabbedPaneScrollLayout.calculateTabRects): Expand tabRuns array
30938         when tabCount gets greater than tabRuns.length.
30939         (paintTabArea): Don't set tabCount == runCount.
30940   
30941 2006-02-16  Roman Kennke  <kennke@aicas.com>
30942   
30943         * javax/swing/plaf/basic/BasicTextUI.java
30944         (installUI): Moved installation of PropertyChangeListener
30945         to installListeners(). Call modelChanged() after everything is
30946         is installed.
30947         (installListeners): Install PropertyChangeListener here.
30948         (uninstallUI): Moved uninstallation of PropertyChangeListener
30949         to uninstallListeners.
30950         (uninstallListeners): Uninstall PropertyChangeListener here.
30951
30952 2006-02-16  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
30953
30954         * javax/swing/JTable.java (doLayout): 
30955         case AUTO_RESIZE_SUBSEQUENT_COLUMNS rewritten. Repaint the header
30956         on exit.
30957         javax/swing/plaf/basic/BasicTableHeaderUI.java 
30958         (MouseInputHandler.mouseDragged): Do not repaint the header.
30959   
30960 2006-02-16  Roman Kennke  <kennke@aicas.com>
30961   
30962         * javax/swing/JViewport.java
30963         (static_initializer): Set default scrollMode to backingstore.
30964   
30965 2006-02-16  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
30966   
30967         * javax/swing/JTable.java (moveToCellBeingEdited): Clone the value,
30968         returned by getCellRect. To not translate the component.
30969   
30970 2006-02-16  Roman Kennke  <kennke@aicas.com>
30971   
30972         * javax/swing/JComponent.java
30973         (rectCache): Made field non-static to avoid nasty interferences.
30974         (computeVisibleRect): Avoid creation of new Rectangles and double
30975         calculations on ints by using Swing.computeIntersection() instead
30976         of Rectangle2D.intersect().
30977         (repaint): Interect the dirty region with the visible rectangle
30978         of this component to avoid unnecessary painting.
30979   
30980 2006-02-16  Gary Benson  <gbenson@redhat.com>
30981   
30982         * java/lang/Thread.java (stop): Add a missing access check.
30983   
30984 2006-02-16  Robert Schuster  <robertschuster@fsfe.org>
30985   
30986         * javax/swing/text/JTextComponent.java:
30987         (replaceSelection): Added code to update the magic caret position.
30988         * javax/swing/text/DefaultEditorKit.java: Added code to update
30989         the magic caret position of the text component in all relevant
30990         movement actions, make use of the magic caret position in up
30991         and down movements and selections, simplified some actions
30992         (code-wise).
30993
30994 2006-02-15  Anthony Balkissoon  <abalkiss@redhat.com>
30995
30996         * gnu/java/lang/CharData.java: Regenerated from 
30997         doc/unicode/UnicodeData-4.0.0.txt, doc/unicode/SpecialCasing-4.0.0.txt
30998         and scripts/unicode-muncher.pl.
30999         * java/lang/Character.java: 
31000         (PrivateUseCharacters): New private static class.
31001         (UnassignedCharacters): Likewise.
31002         (blocks): Changed from char[] to char[][] to reflect the changes in 
31003         gnu/java/lang/CharData.  There is now one char[] per Unicode code
31004         plane.
31005         (data): Likewise.
31006         (numValue): Likewise.
31007         (upper): Likewise.
31008         (lower): Likewise.
31009         (direction): Likewise.
31010         (readChar): Replaced this method with new method readCodePoint.
31011         (readCodePoint): New method.
31012         (isLowerCase(char)): Redirected to new isLowerCase(int).
31013         (isLowerCase(int)): New method.
31014         (isUpperCase(char)): Redirected to new isUpperCase(int).
31015         (isUpperCase(int)): New method.
31016         (isTitleCase(char)): Redirected to new isTitleCase(int).
31017         (isTitleCase(int)): New method.
31018         (isDigit(char)): Redirected to new isDigit(int).
31019         (isDigit(int)): New method.
31020         (isDefined(char)): Redirected to new isDefined(int).
31021         (isDefined(int)): New method.
31022         (isLetter(char)): Redirected to new isLetter(int).
31023         (isLetter(int)): New method.
31024         (isLetterOrDigit(char)): Redirected to new isLetterOrDigit(int).
31025         (isLetterOrDigit(int)): New method.
31026         (isJavaIdentifierStart(char)): Redirected to new 
31027         isJavaIdentifierStart(int).
31028         (isJavaIdentifierStart(int)): New method.
31029         (isJavaIdentifierPart(char)): Redirected to new 
31030         isJavaIdentifierPart(int).
31031         (isJavaIdentifierPart(int)): New method.
31032         (isUnicodeIdentifierStart(char)): Redirected to new
31033         isUnicodeIdentifierStart(int).
31034         (isUnicodeIdentifierStart(int)): New method.
31035         (isUnicodeIdentifierPart(char)): Redirected to new 
31036         isUnicodeIdentifierPart(int).
31037         (isUnicodeIdentifierPart(int)): New method.
31038         (isIdentifierIgnorable(char)): Redirected to new
31039         isIdentifierIgnorable(int).
31040         (isIdentifierIgnorable(int)): New method.
31041         (toLowerCase(char)): Changed access to lower to correspond with new
31042         char[][] type of lower.
31043         (toLowerCase(int)) New method.
31044         (toUpperCase(char)): Changed access to upper to correspond with new
31045         char[][] type of upper.
31046         (toUpperCase(int)): New method.
31047         (toTitleCase(int)): New method.
31048         (digit(char, int)): Replaced call to readChar with call to 
31049         readCodePoint and changed access to numValue to reflect new char[][]
31050         type of numValue. 
31051         (digit(int, int)): New method.
31052         (getNumericValue(char)): Changed access to numValue to reflect new
31053         char[][] type of numValue.
31054         (getNumericValue(int)): New method.
31055         (isSpaceChar(char)): Redirected to new isSpaceChar(int).
31056         (isSpaceChar(int)): New method.
31057         (isWhitespace(char)): Redirected to new isWhitespace(int).
31058         (isWhitespace(int)): New method.
31059         (isISOControl(char)): Redirected to new isISOControl(int).
31060         (isISOControl(int)): New method.
31061         (getType(char)): Redirected to new getType(int).
31062         (getType(int)): New method.
31063         (getDirectionality(char)): Redirected to new getDirectionality(int).
31064         (getDirectionality(int)): New method.
31065         (isMirrored(char)): Changed call to readChar to readCodePoint.
31066         (isMirrored(int)): New method.
31067         * java/lang/String.java:
31068         (upperCaseExpansion): Changed access to Character.direction to reflect
31069         new char[][] type of direction.
31070         (offsetByCodePoints): New method.
31071         * scripts/unicode-muncher.pl: Adapted this script to handle Unicode 
31072         4.0.0 which introduced supplementary character assignments.  
31073
31074 2006-02-15  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
31075
31076         * javax/swing/JTable.java,
31077         javax/swing/plaf/basic/BasicTableHeaderUI.java,
31078         javax/swing/table/DefaultTableModel.java: Documented.
31079   
31080 2006-02-15  Lillian Angel  <langel@redhat.com>
31081   
31082         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
31083         Removed duplicate methods.
31084   
31085 2006-02-15  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
31086   
31087         * javax/swing/JTable.java (distributeSpillResizing): New method.
31088         (doLayout): Use distributeSpillResizing when resizing.
31089         * javax/swing/plaf/basic/BasicTableHeaderUI.java (MouseInputHandler):
31090         Rewritten. (installListeners): Add mouse motion listener. 
31091         (uninstallListeners): Remove mouse motion listener. 
31092   
31093 2006-02-15  Lillian Angel  <langel@redhat.com>
31094   
31095         * gnu/java/awt/peer/gtk/GtkDialogPeer.java
31096         (setVisible): Removed method.
31097         * gnu/java/awt/peer/gtk/GtkWindowPeer.java
31098         (setLocation): New method.
31099         (setLocationUnlocked): New method.
31100         (show): Changed to use setLocation instead of setBounds.
31101         * java/awt/Component.java
31102         (show): Should call peer.show(), not peer.setVisible(), so the
31103         location of the component is correctly set.
31104         (preferredSize): Added curly braces so else statements are
31105         properly associated with if's.
31106         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
31107         (Java_gnu_java_awt_peer_gtk_GtkWindowPeer_nativeSetLocation): 
31108         New function.
31109         (Java_gnu_java_awt_peer_gtk_GtkWindowPeer_nativeSet
31110         LocationUnlocked): New function.
31111         * include/gnu_java_awt_peer_gtk_GtkWindowPeer.h:
31112         Added declarations for Java_gnu_java_awt_peer_gtk_
31113         GtkWindowPeer_nativeSetLocation and 
31114         Java_gnu_java_awt_peer_gtk_GtkWindowPeer
31115         _nativeSetLocationUnlocked.
31116   
31117 2006-02-15  Mark Wielaard  <mark@klomp.org>
31118   
31119         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c
31120         (Java_gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer_create):
31121         Downcast gtk_plug_new result when used.
31122   
31123 2006-02-15  Olivier Jolly  <olivier.jolly@pcedev.com>
31124   
31125         * java/io/ObjectOutputStream.java (writeClassDescriptor):
31126         Call assignNewHandle() after writing Proxy class.
31127   
31128 2006-02-15  Olivier jolly  <olivier.jolly@pcedev.com>
31129   
31130         Fixes bug #14144
31131         * java/io/ObjectInputStream.java (readClassDescriptor):
31132         Class doesn't have to be abstract for first_nonserial.
31133   
31134 2006-02-15  Roman Kennke  <kennke@aicas.com>
31135   
31136         * javax/swing/JInternalFrame.java
31137         (setClosed): Call dispose to actually make the frame invisible
31138         and unselected.
31139   
31140 2006-02-15  Roman Kennke  <kennke@aicas.com>
31141   
31142         * javax/swing/JInternalFrame.java
31143         (dispose): Call setVisible(false) instead of hide.
31144         (doDefaultCloseOperation): Likewise.
31145   
31146 2006-02-15  Roman Kennke  <kennke@aicas.com>
31147   
31148         * javax/swing/JComponent.java
31149         (paintChildren): Also check for the visibility of a child component
31150         to avoid artifacts.
31151         (repaint): Simply add this component to the RepaintManager rather than
31152         trying to do useless optimization here.
31153   
31154 2006-02-15  David Gilbert  <david.gilbert@object-refinery.com>
31155   
31156         * javax/swing/JSpinner.java
31157         (DefaultEditor.DefaultEditor(JSpinner)): Add self to text field as a 
31158         PropertyChangeListener,
31159         (DefaultEditor.getSpinner): Updated API docs,
31160         (DefaultEditor.dismiss): Likewise,
31161         (DefaultEditor.getTextField): Likewise,
31162         (DefaultEditor.layoutContainer): Likewise,
31163         (DefaultEditor.minimumLayoutSize): Likewise,
31164         (DefaultEditor.preferredLayoutSize): Likewise,
31165         (DefaultEditor.propertyChange): Implemented,
31166         (DefaultEditor.stateChanged): Implemented,
31167         (DefaultEditor.removeLayoutComponent): Updated API docs,
31168         (DefaultEditor.addLayoutComponent): Likewise,
31169         (NumberEditor.NumberEditor(JSpinner)): Set formatter for text field,
31170         (NumberEditor.NumberEditor(JSpinner, String)): Likewise,
31171         (NumberEditor.getFormat): Implemented,
31172         (NumberEditor.getModel): Updated API docs,
31173         (NumberEditorFormatter): New static inner class,
31174         (ListEditor.getModel): Updated API docs,
31175         (DateEditor.dateFormat): Removed,
31176         (DateEditor.DateEditor(JSpinner)): Set formatter for text field,
31177         (DateEditor.DateEditor(JSpinner, String)): Likewise,
31178         (DateEditor.init): Removed,
31179         (DateEditor.getFormat): Reimplemented,
31180         (DateEditorFormatter): New static inner class,
31181         (ModelListener): New inner class,
31182         (model): Updated API docs,
31183         (editor): Likewise,
31184         (listener): Removed,
31185         (JSpinner()): Updated API docs,
31186         (JSpinner(SpinnerModel)): Set up ModelListener,
31187         (setEditor): Fire property change,
31188         (getModel): Updated API docs,
31189         (setModel): Removed check for null editor,
31190         (setValue): Updated API docs,
31191         (getUIClassID): Updated API docs,
31192         (createEditor): Handle SpinnerListModel case,
31193         * javax/swing/plaf/basic/BasicSpinnerUI.java
31194         (createUI): Updated API docs,
31195         (createPropertyChangeListener): Added FIXME,
31196         (installDefaults): Set text field border to null,
31197         (DefaultLayoutManager): Updated API docs,
31198         (DefaultLayoutManager.layoutContainer): Modified layout,
31199         (DefaultLayoutManager.minimumLayoutSize): Ignore button heights,
31200         (DefaultLayoutManager.preferredLayoutSize): Likewise,
31201         (DefaultLayoutManager.removeLayoutComponent): Removed tabs,
31202         (DefaultLayoutManager.addLayoutComponent): Likewise,
31203         (DefaultLayoutManager.minSize): Renamed prefSize,
31204         (DefaultLayoutManager.setBounds): Reformatted,
31205         (DefaultLayoutManager.editor): Added API docs,
31206         (DefaultLayoutManager.next): Likewise,
31207         (DefaultLayoutManager.previous): Likewise,
31208         * javax/swing/plaf/metal/MetalLookAndFeel.java
31209         (initComponentDefaults): Added entry for 'Spinner.border',
31210         * examples/gnu/classpath/examples/swing/SpinnerDemo.java: New file.
31211
31212 2006-02-15  Chris Burdess  <dog@gnu.org>
31213
31214         * gnu/xml/validation/datatype/BooleanType.java,
31215           gnu/xml/validation/datatype/ByteType.java,
31216           gnu/xml/validation/datatype/DateTimeType.java,
31217           gnu/xml/validation/datatype/DateType.java,
31218           gnu/xml/validation/datatype/DecimalType.java,
31219           gnu/xml/validation/datatype/DoubleType.java,
31220           gnu/xml/validation/datatype/DurationType.java,
31221           gnu/xml/validation/datatype/FloatType.java,
31222           gnu/xml/validation/datatype/GDayType.java,
31223           gnu/xml/validation/datatype/GMonthDayType.java,
31224           gnu/xml/validation/datatype/GMonthType.java,
31225           gnu/xml/validation/datatype/GYearMonthType.java,
31226           gnu/xml/validation/datatype/GYearType.java,
31227           gnu/xml/validation/datatype/IntType.java,
31228           gnu/xml/validation/datatype/IntegerType.java,
31229           gnu/xml/validation/datatype/LongType.java,
31230           gnu/xml/validation/datatype/MaxExclusiveFacet.java,
31231           gnu/xml/validation/datatype/MaxInclusiveFacet.java,
31232           gnu/xml/validation/datatype/MinExclusiveFacet.java,
31233           gnu/xml/validation/datatype/MinInclusiveFacet.java,
31234           gnu/xml/validation/datatype/NegativeIntegerType.java,
31235           gnu/xml/validation/datatype/NonNegativeIntegerType.java,
31236           gnu/xml/validation/datatype/NonPositiveIntegerType.java,
31237           gnu/xml/validation/datatype/PositiveIntegerType.java,
31238           gnu/xml/validation/datatype/ShortType.java,
31239           gnu/xml/validation/datatype/SimpleType.java,
31240           gnu/xml/validation/datatype/TimeType.java,
31241           gnu/xml/validation/datatype/TypeBuilder.java,
31242           gnu/xml/validation/datatype/UnsignedByteType.java,
31243           gnu/xml/validation/datatype/UnsignedIntType.java,
31244           gnu/xml/validation/datatype/UnsignedLongType.java,
31245           gnu/xml/validation/datatype/UnsignedShortType.java: Provide value
31246           objects for datatypes. Make maxExclusive,minExclusive,maxInclusive,
31247           minInclusive facets use the value space of the base type, and
31248           implement.
31249
31250 2006-02-15  Mark Wielaard  <mark@klomp.org>
31251
31252         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c
31253         (Java_gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer_create):
31254         gtk_plug_new() returns a GtkWindow.
31255
31256 2006-02-15  David Gilbert  <david.gilbert@object-refinery.com>
31257
31258         * javax/swing/SpinnerNumberModel.java
31259         (getNextValue): Check for null maximum,
31260         (getPreviousValue): Check for null minimum.
31261   
31262 2006-02-15  Roman Kennke  <kennke@aicas.com>
31263   
31264         * javax/swing/plaf/basic/BasicTableUI.java
31265         (paint): Paint vertical and horizontal lines one pixel shifted
31266         left/top.
31267   
31268 2006-02-15  Jeroen Frijters  <jeroen@frijters.net>
31269   
31270         * java/util/zip/ZipFile.java
31271         (checkZipFile): Inlined readLeInt and rewritten for robustness.
31272         (readLeShort(DataInput,byte[]), readLeInt(DataInput,byte[],
31273         readLeShort(byte[],int), readLeInt(byte[],int)): Removed.
31274         (readEntries): Rewritten to use PartialInputStream.
31275         (locBuf, checkLocalHeader): Removed.
31276         (getInputStream): Rewritten to use new PartialInputStream.
31277         (PartialInputStream): Rewritten to do buffering.
31278
31279 2006-02-15  Michael Koch  <konqueror@gmx.de>
31280
31281         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c
31282         (Java_gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer_create):
31283         Make sure the embedded window gets no decorations.
31284         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
31285         (window_get_frame_extents): Return early of the window has no
31286         decorations.
31287   
31288 2006-02-15  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
31289   
31290         * examples/gnu/classpath/examples/swing/TableDemo.java
31291         (TModel, createContent): Explain which value appears in the header.
31292         * javax/swing/JTable.java (setColumnModel): Only set the
31293         column header value if the getHeaderValue() returns null.
31294
31295 2006-02-14  Mark Wielaard  <mark@klomp.org>
31296
31297         Fixes bug #23931
31298         * gnu/java/awt/peer/gtk/GtkImage.java (errorImage): New static field.
31299         (getErrorImage): New static method.
31300         * gnu/java/awt/peer/gtk/GtkToolkit.java (GtkErrorImage): Removed.
31301         (bufferedImageOrError): Renamed to ...
31302         (imageOrError): Renamed from bufferedImageOrError, takes Image.
31303         Returns GtkImage.getErrorImage() when argument null.
31304         (createImage(String)): Always use imageOrError.
31305         (createImage(URL)): Likewise.
31306         (createImage(ImageProducer)): Likewise.
31307         (createImage(byte[],int,int)): Likewise.
31308
31309 2006-02-14  Roman Kennke  <kennke@aicas.com>
31310
31311         * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java: Removed
31312         unneeded imports.
31313         * javax/swing/plaf/basic/BasicInternalFrameUI.java: Likewise.
31314         * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Likewise.
31315         * javax/swing/plaf/basic/BasicRootPaneUI.java: Likewise.
31316         * javax/swing/plaf/basic/BasicSplitPaneDivider.java: Likewise.
31317         * javax/swing/plaf/basic/BasicHTML.java: Fixed API comment.
31318
31319 2006-02-14  Roman Kennke  <kennke@aicas.com>
31320
31321         * javax/swing/text/AsyncBoxView.java
31322         (ChildState.locator): Removed wrong field.
31323         (ChildState): Removed initialization of removed field.
31324         (locator): Changed access modifier to be protected as specified.
31325
31326 2006-02-14  Roman Kennke  <kennke@aicas.com>
31327
31328         * javax/swing/ToolTipManager.java: Removed unneeded imports.
31329         * javax/swing/Timer.java: Some small reindention.
31330         (task): Made package private to avoid synthetic accessor method.
31331   
31332 2006-02-14  Roman Kennke  <kennke@aicas.com>
31333   
31334         * javax/swing/SwingUtilities.java
31335         (layoutCompoundLabel): Dont set textIconGap to 0 when there is
31336         no icon.
31337   
31338 2006-02-14  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
31339   
31340         * examples/gnu/classpath/examples/swing/TableDemo.java:
31341         Making the columns variable width.
31342         * javax/swing/JTable.java (distributeSpill, doLayout):
31343           Call getPreferredSize and not getSize().
31344   
31345 2006-02-14  Roman Kennke  <kennke@aicas.com>
31346   
31347         * javax/swing/DefaultCellEditor.java
31348         (DefaultCellEditor): API doc fixlet.
31349   
31350 2006-02-14  Roman Kennke  <kennke@aicas.com>
31351   
31352         * javax/swing/JViewport.java
31353         (isPaintRoot): New field.
31354         (repaint): Only call super here. Also added a comment regarding
31355         the diversion from the JDK.
31356         (paintBlit): Implemented real blitting.
31357         (paintImmediately2): New method. Overrides the same package private
31358         method in JComponent.
31359   
31360 2006-02-14  Roman Kennke  <kennke@aicas.com>
31361   
31362         * javax/swing/plaf/basic/BasicTableUI.java
31363         (paint): Check for boundary cases when determining the painting
31364         area.
31365   
31366 2006-02-14  Mark Wielaard  <mark@klomp.org>
31367   
31368         * java/awt/Menu.java (add): Always set parent of item to this. Call
31369         addNotify() on item when we have a MenuPeer already.
31370         (insert): Always adjust parent for item. Call addNotify() on item if
31371         we already have a peer.
31372         (remove(int)): Always clear item parent. Call removeNotify() on item
31373         if we had a peer.
31374   
31375 2006-02-14  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
31376   
31377         * javax/swing/JTable.java (rowAtPoint): Return -1 if the computed 
31378         row == getRowCount().
31379   
31380 2006-02-14  Lillian Angel  <langel@redhat.com>
31381         
31382         * gnu/java/awt/peer/gtk/GtkDialogPeer.java
31383         (setVisible): New method to override super. Need to set the
31384         native bounds of the component, so it appears at the
31385         correct location.
31386
31387 2006-02-14  Mark Wielaard  <mark@klomp.org>
31388
31389         * java/awt/Frame.java (setMenuBar): Update MenuBar parent.
31390         (remove): If menu component is the current MenuBar remove it,
31391         otherwise call super.remove().
31392         * java/awt/MenuBar.java (frame): Remove field.
31393         * java/awt/MenuComponent.java (postEvent): Use getParent() always.
31394
31395 2006-02-14  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
31396
31397         * tools/gnu/classpath/tools/giop/NameServicePersistent.java: Refer
31398         to NameServicePersistent.
31399         * tools/gnu/classpath/tools/giop/NameServicePersistent.txt: New file.
31400         * tools/gnu/classpath/tools/giop/NamingServicePersistent.txt: Deleted.
31401
31402 2006-02-14  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
31403
31404         * NEWS: Updated tool status.
31405         * gnu/CORBA/NamingService/NamingMap.java (Map): Made protected.
31406         (constructor, bind, rebind): Rewritten.  
31407         * gnu/CORBA/NamingService/TransientContext.java: Rewritten.
31408         * tools/gnu/classpath/tools/giop/README: Updated.
31409         * tools/gnu/classpath/tools/giop/NameServicePersistent.java,
31410         tools/gnu/classpath/tools/giop/NamingServicePersistent.txt,
31411         tools/gnu/classpath/tools/giop/nameservice/PersistentContext.java,
31412         tools/gnu/classpath/tools/giop/nameservice/PersistentContextMap.java,
31413         tools/gnu/classpath/tools/giop/nameservice/PersistentMap.java: 
31414         New files.
31415   
31416 2006-02-14  David Gilbert  <david.gilbert@object-refinery.com>
31417   
31418         * javax/swing/JComponent.java
31419         (getListeners): Check for PropertyChangeListener.class and delegate to 
31420         getPropertyChangeListeners() for that case.
31421   
31422 2006-02-13  Roman Kennke  <kennke@aicas.com>
31423   
31424         * javax/swing/plaf/basic/BasicTableUI.java
31425         (paint): Determine the cells that need painting based on the
31426         current clip. Use getCellRect() for calculating the cell
31427         bounds.
31428   
31429 2006-02-13  Roman Kennke  <kennke@aicas.com>
31430   
31431         * javax/swing/JTable.java
31432         (rectCache): New field.
31433         (getCellRect): Returns cached Rectangle instance.
31434   
31435 2006-02-13  Roman Kennke  <kennke@aicas.com>
31436   
31437         * javax/swing/JLayeredPane.java
31438         (removeAll): New method. Avoid potential memory leak.
31439         (isOptimizedDrawingEnabled): Replaced heuristic with accurate
31440         calculation.
31441   
31442 2006-02-14  Stuart Ballard  <stuart.a.ballard@gmail.com>
31443   
31444         * javax/swing/undo/StateEdit.java (RCSID): Match Sun's value.
31445         * javax/swing/undo/StateEditable.java (RCSID): Likewise.
31446   
31447 2006-02-13  Tom Tromey  <tromey@redhat.com>
31448   
31449         * vm/reference/java/lang/reflect/Method.java: Javadoc fix.
31450         * vm/reference/java/lang/reflect/Constructor.java: Javadoc fix.
31451   
31452 2006-02-13  Roman Kennke  <kennke@aicas.com>
31453   
31454         * javax/swing/RepaintManager.java
31455         (offscreenBuffers): New field.
31456         (doubleBuffer): Removed field.
31457         (repaintUnderway): New field.
31458         (commitRequests): New field.
31459         (RepaintManager): Initialize new fields.
31460         (paintDirtyRegions): Handle repaintUnderway flag. Commit
31461         buffers when done.
31462         (getOffscreenBuffer): Returns the offscreen buffer for the
31463         corresponding root component.
31464         (commitBuffer): New method.
31465         (commitRemainingBuffers): New method.
31466         * javax/swing/JComponent.java
31467         (paint): Call paintDoubleBuffered with the current clip.
31468         (paintImmediately2): Don't paint on screen here.
31469         (paintDoubleBuffered): Rewritten for real double buffering.
31470         (paintSimple): Draw to screen in this method.
31471   
31472 2006-02-13  Roman Kennke  <kennke@aicas.com>
31473   
31474         * javax/swing/JRootPane.java
31475         (JRootPane): Set opaque property to true.
31476   
31477 2006-02-13  Tom Tromey  <tromey@redhat.com>
31478   
31479         * .classpath: Updated for external/relaxngDatatype.
31480   
31481 2006-02-13  Chris Burdess  <dog@gnu.org>
31482   
31483         * gnu/xml/stream/UnicodeReader.java,
31484           gnu/xml/validation/datatype/Annotation.java,
31485           gnu/xml/validation/datatype/AnySimpleType.java,
31486           gnu/xml/validation/datatype/AnyType.java,
31487           gnu/xml/validation/datatype/AnyURIType.java,
31488           gnu/xml/validation/datatype/AtomicSimpleType.java,
31489           gnu/xml/validation/datatype/Base64BinaryType.java,
31490           gnu/xml/validation/datatype/BooleanType.java,
31491           gnu/xml/validation/datatype/ByteType.java,
31492           gnu/xml/validation/datatype/DateTimeType.java,
31493           gnu/xml/validation/datatype/DateType.java,
31494           gnu/xml/validation/datatype/DecimalType.java,
31495           gnu/xml/validation/datatype/DoubleType.java,
31496           gnu/xml/validation/datatype/DurationType.java,
31497           gnu/xml/validation/datatype/EntitiesType.java,
31498           gnu/xml/validation/datatype/EntityType.java,
31499           gnu/xml/validation/datatype/EnumerationFacet.java,
31500           gnu/xml/validation/datatype/Facet.java,
31501           gnu/xml/validation/datatype/FloatType.java,
31502           gnu/xml/validation/datatype/FractionDigitsFacet.java,
31503           gnu/xml/validation/datatype/GDayType.java,
31504           gnu/xml/validation/datatype/GMonthDayType.java,
31505           gnu/xml/validation/datatype/GMonthType.java,
31506           gnu/xml/validation/datatype/GYearMonthType.java,
31507           gnu/xml/validation/datatype/GYearType.java,
31508           gnu/xml/validation/datatype/HexBinaryType.java,
31509           gnu/xml/validation/datatype/IDRefType.java,
31510           gnu/xml/validation/datatype/IDRefsType.java,
31511           gnu/xml/validation/datatype/IDType.java,
31512           gnu/xml/validation/datatype/IntType.java,
31513           gnu/xml/validation/datatype/IntegerType.java,
31514           gnu/xml/validation/datatype/LanguageType.java,
31515           gnu/xml/validation/datatype/LengthFacet.java,
31516           gnu/xml/validation/datatype/ListSimpleType.java,
31517           gnu/xml/validation/datatype/LongType.java,
31518           gnu/xml/validation/datatype/MaxExclusiveFacet.java,
31519           gnu/xml/validation/datatype/MaxInclusiveFacet.java,
31520           gnu/xml/validation/datatype/MaxLengthFacet.java,
31521           gnu/xml/validation/datatype/MinExclusiveFacet.java,
31522           gnu/xml/validation/datatype/MinInclusiveFacet.java,
31523           gnu/xml/validation/datatype/MinLengthFacet.java,
31524           gnu/xml/validation/datatype/NCNameType.java,
31525           gnu/xml/validation/datatype/NMTokenType.java,
31526           gnu/xml/validation/datatype/NMTokensType.java,
31527           gnu/xml/validation/datatype/NameType.java,
31528           gnu/xml/validation/datatype/NegativeIntegerType.java,
31529           gnu/xml/validation/datatype/NonNegativeIntegerType.java,
31530           gnu/xml/validation/datatype/NonPositiveIntegerType.java,
31531           gnu/xml/validation/datatype/NormalizedStringType.java,
31532           gnu/xml/validation/datatype/NotationType.java,
31533           gnu/xml/validation/datatype/PatternFacet.java,
31534           gnu/xml/validation/datatype/PositiveIntegerType.java,
31535           gnu/xml/validation/datatype/QNameType.java,
31536           gnu/xml/validation/datatype/ShortType.java,
31537           gnu/xml/validation/datatype/SimpleType.java,
31538           gnu/xml/validation/datatype/StringType.java,
31539           gnu/xml/validation/datatype/TimeType.java,
31540           gnu/xml/validation/datatype/TokenType.java,
31541           gnu/xml/validation/datatype/TotalDigitsFacet.java,
31542           gnu/xml/validation/datatype/Type.java,
31543           gnu/xml/validation/datatype/TypeBuilder.java,
31544           gnu/xml/validation/datatype/TypeLibrary.java,
31545           gnu/xml/validation/datatype/TypeLibraryFactory.java,
31546           gnu/xml/validation/datatype/UnionSimpleType.java,
31547           gnu/xml/validation/datatype/UnsignedByteType.java,
31548           gnu/xml/validation/datatype/UnsignedIntType.java,
31549           gnu/xml/validation/datatype/UnsignedLongType.java,
31550           gnu/xml/validation/datatype/UnsignedShortType.java,
31551           gnu/xml/validation/datatype/WhiteSpaceFacet.java,
31552           resource/META-INF/services/org.relaxng.datatype.DatatypeLibraryFactory:
31553           RELAX NG datatype library implementation for XML Schema Datatypes.
31554
31555 2006-02-13  Chris Burdess  <dog@gnu.org>
31556
31557         * LICENCE,
31558           NEWS,
31559           configure.ac,
31560           doc/README.jaxp,
31561           external/Makefile.am,
31562           external/relaxngDatatype/.cvsignore,
31563           external/relaxngDatatype/Makefile.am,
31564           external/relaxngDatatype/README.txt,
31565           external/relaxngDatatype/copying.txt,
31566           external/relaxngDatatype/org/relaxng/datatype/Datatype.java,
31567           external/relaxngDatatype/org/relaxng/datatype/DatatypeBuilder.java,
31568           external/relaxngDatatype/org/relaxng/datatype/DatatypeException.java,
31569           external/relaxngDatatype/org/relaxng/datatype/DatatypeLibrary.java,
31570           external/relaxngDatatype/org/relaxng/datatype/DatatypeLibraryFactory.java,
31571           external/relaxngDatatype/org/relaxng/datatype/DatatypeStreamingValidator.java,
31572           external/relaxngDatatype/org/relaxng/datatype/ValidationContext.java,
31573           external/relaxngDatatype/org/relaxng/datatype/helpers/DatatypeLibraryLoader.java,
31574           external/relaxngDatatype/org/relaxng/datatype/helpers/ParameterlessDatatypeBuilder.java,
31575           external/relaxngDatatype/org/relaxng/datatype/helpers/StreamingValidatorImpl.java,
31576           lib/Makefile.am,
31577           lib/gen-classlist.sh.in: Added external RELAX NG pluggable
31578           datatypes library API.
31579   
31580 2006-02-13  Mark Wielaard  <mark@klomp.org>
31581   
31582         * gnu/java/awt/peer/gtk/GtkGenericPeer.java (awtWidget): Made field
31583         final.
31584         (gtkWidgetModifyFont(Font)): New protected helper method.
31585         (gtkWidgetModifyFont(String,int,int)): Made protected and document.
31586         * gnu/java/awt/peer/gtk/GtkButtonPeer.java (gtkWidgetModifyFont): Made
31587         protected and document.
31588         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java (gtkWidgetModifyFont):
31589         Likewise.
31590         * gnu/java/awt/peer/gtk/GtkLabelPeer.java (gtkWidgetModifyFont):
31591         Likewise.
31592         * gnu/java/awt/peer/gtk/GtkListPeer.java (gtkWidgetModifyFont):
31593         Likewise.
31594         * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java (create): Made protected.
31595         (setFont): Removed method. Done in GtkMenuComponent.
31596         * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java (create): Made
31597         abstract and protected.
31598         (setFont): Made private, add implementation.
31599         (setFont(Font)): Implemented.
31600         * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java (gtkWidgetModifyFont):
31601         Made protected and document.
31602         (create): Made protected.
31603         (setFont): Removed method. Done in GtkMenuComponent.
31604         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java
31605         (gtkWidgetModifyFont): Made protected and document.
31606         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (gtkWidgetModifyFont):
31607         Removed, similar to GtkGenericPeer super class implementation.
31608         * include/gnu_java_awt_peer_gtk_GtkTextFieldPeer.h: Regenerated.
31609         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
31610         (Java_gnu_java_awt_peer_gtk_GtkTextFieldPeer_gtkWidgetModifyFont):
31611         Removed.
31612   
31613 2006-02-13  Mark Wielaard  <mark@klomp.org>
31614   
31615         * java/lang/Math.java (static): Explicitly call
31616         System.loadLibrary("javalang").
31617   
31618 2006-02-13  Wolfgang Baer  <WBaer@gmx.de>
31619   
31620         * javax/print/StreamPrintServiceFactory.java: New file.
31621   
31622 2006-02-13  Tom Tromey  <tromey@redhat.com>
31623   
31624         * tools/.cvsignore: Added Makefile.
31625   
31626 2006-02-13  Wolfgang Baer  <WBaer@gmx.de>
31627   
31628         * java/awt/print/PrinterGraphics.java: Reformatted.
31629         * java/awt/print/Paper.java: Likewise.
31630         * java/awt/print/PageFormat.java: Likewise.
31631         * java/awt/print/Pageable.java: Likewise.
31632   
31633 2006-02-13  Lillian Angel  <langel@redhat.com>
31634   
31635         * java/awt/BorderLayout.java
31636         (layoutContainer): Rewrote part of this function to 
31637         properly set the bounds of the components.
31638         (setBounds): Removed method, not needed.
31639   
31640 2006-02-13  Roman Kennke  <kennke@aicas.com>
31641   
31642         * javax/swing/text/DefaultStyledDocument.java
31643         (ElementBuffer.clone): Fixed replace call.
31644         (clone): Removed method.
31645   
31646 2006-02-13  Roman Kennke  <kennke@aicas.com>
31647   
31648         * java/rmi/server/UnicastRemoteObject.java: Reformatted.
31649   
31650 2006-02-13  Roman Kennke  <kennke@aicas.com>
31651   
31652         * java/rmi/server/UnicastRemoteObject.java
31653         (exportObject(Remote)): Forward method call to export(Remote,int).
31654   
31655 2006-02-13  Andrew John Hughes  <gnu_andrew@member.fsf.org>
31656   
31657         * include/Makefile.am:
31658         Swapped Math.h for VMMath.h
31659         * include/java_lang_Math.h:
31660         Removed.
31661         * include/java_lang_VMMath.h:
31662         New autogenerated header for the new class.
31663         * java/lang/Math.java:
31664         (sin(double)): Changed to link to VMMath.
31665         (cos(double)): Changed to link to VMMath.
31666         (tan(double)): Changed to link to VMMath.
31667         (asin(double)): Changed to link to VMMath.
31668         (acos(double)): Changed to link to VMMath.
31669         (atan(double)): Changed to link to VMMath.
31670         (atan2(double)): Changed to link to VMMath.
31671         (exp(double)): Changed to link to VMMath.
31672         (log(double)): Changed to link to VMMath.
31673         (sqrt(double)): Changed to link to VMMath.
31674         (pow(double,double)): Changed to link to VMMath.
31675         (IEEEremainder(double,double)): Changed to link to VMMath.
31676         (ceil(double)): Changed to link to VMMath.
31677         (floor(double)): Changed to link to VMMath.
31678         (rint(double)): Changed to link to VMMath.
31679         * native/jni/java-lang/Makefile.am:
31680         Replaced java_lang_Math.c with java_lang_VMMath.c
31681         * native/jni/java-lang/java_lang_Math.c:
31682         Removed.
31683         * native/jni/java-lang/java_lang_VMMath.c:
31684         Renamed from java_lang_Math.c.
31685         * vm/reference/java/lang/VMMath.java:
31686         New class.
31687         (sin(double)): New native method.
31688         (cos(double)): New native method.
31689         (tan(double)): New native method.
31690         (asin(double)): New native method.
31691         (acos(double)): New native method.
31692         (atan(double)): New native method.
31693         (atan2(double)): New native method.
31694         (exp(double)): New native method.
31695         (log(double)): New native method.
31696         (sqrt(double)): New native method.
31697         (pow(double,double)): New native method.
31698         (IEEEremainder(double,double)): New native method.
31699         (ceil(double)): New native method.
31700         (floor(double)): New native method.
31701         (rint(double)): New native method.
31702         
31703 2006-02-13  Lillian Angel  <langel@redhat.com>
31704   
31705         * java/awt/Component.java
31706         (repaint): No need to call isShowing, it is done in the other repaint call.
31707         (repaint): Likewise.
31708         (repaint): Likewise.
31709   
31710 2006-02-13  Lillian Angel  <langel@redhat.com>
31711   
31712         * java/awt/Component.java
31713         (repaint): Reverted last change.
31714         (repaint): Likewise.
31715         (repaint): Likewise.
31716
31717 2006-02-13  Lillian Angel  <langel@redhat.com>
31718
31719         * gnu/java/awt/peer/gtk/GtkPanelPeer.java
31720         (handleEvent): Made more efficent by handling paint event and
31721         setting the clip for the graphics.
31722         * gnu/java/awt/peer/gtk/GtkWindowPeer.java
31723         (handleEvent): Likewise.
31724         * java/awt/Component.java
31725         (repaint): No need to call isShowing, it is done in the other repaint call.
31726         (repaint): Likewise.
31727         (repaint): Likewise.
31728   
31729 2006-02-13  Roman Kennke  <kennke@aicas.com>
31730   
31731         * javax/swing/text/AbstractDocument.java
31732         (setParent): Added API docs. Call setParent(null) on children before
31733         disconnecting this view from the View hierarchy.
31734   
31735 2006-02-13  Roman Kennke  <kennke@aicas.com>
31736   
31737         * javax/swing/text/AbstractDocument.java
31738         (readUnlock): Don't attempt to unlock when the current threads also
31739         holds a write lock.
31740   
31741 2006-02-13  David Gilbert  <david.gilbert@object-refinery.com>
31742   
31743         * javax/swing/plaf/metal/MetalBorders.java
31744         (ButtonBorder.getBorderInsets(Component)): Return insets directly,
31745         (ButtonBorder.getBorderInsets(Component, Insets)): Don't check for null
31746         insets argument,
31747         (Flush3DBorder.borderInsets): New field,
31748         (Flush3DBorder.getBorderInsets(Component)): Return insets directly,
31749         (Flush3DBorder.getBorderInsets(Component, Insets)): Don't check for 
31750         null insets argument, and populate result from borderInsets,
31751         (PaletteBorder.borderInsets): New field,
31752         (PaletteBorder.getBorderInsets(Component)): Return insets directly,
31753         (PaletteBorder.getBorderInsets(Component, Insets)): Don't check for 
31754         null insets argument, and populate result from borderInsets,
31755         (InternalFrameBorder.borderInsets): New field,
31756         (InternalFrameBorder.getBorderInsets(Component)): Return insets 
31757         directly,
31758         (InternalFrameBorder.getBorderInsets(Component, Insets)): Don't check 
31759         for null insets argument, and populate result from borderInsets,
31760         (MenuItemBorder.borderInsets): Initialise to correct value.
31761
31762 2006-02-13  Roman Kennke  <kennke@aicas.com>
31763
31764         * javax/swing/text/AsyncBoxView.java: New file.
31765
31766 2006-02-13  Ito Kazumitsu  <kaz@maczuka.gcd.org>
31767
31768         Fixes bug #26166
31769         * gnu/regexp/RE.java(initialize): Parsing of character class expression
31770         was moved to a new method parseCharClass.
31771         (parseCharClass): New method originally in initialize. Added parsing
31772         of nested character classes.
31773         (ParseCharClassResult): New inner class used as a return value of
31774         parseCharClass.
31775         (getCharExpression),(getNamedProperty): Made static.
31776         * gnu/regexp/RESyntax.java(RE_NESTED_CHARCLASS): New syntax flag.
31777         * gnu/regexp/RETokenOneOf.java(addition): New Vector for storing
31778         nested character classes.
31779         (RETokenOneOf): New constructor accepting the Vector addition.
31780         (getMinimumLength), (getMaximumLength): Returns 1 if the token
31781         stands for only one character.
31782         (match): Added the processing of the Vector addition.
31783         (matchN), (matchP): Do not check next token if addition is used.
31784   
31785 2006-02-12  Olivier Jolly <olivier.jolly@pcedev.com>
31786   
31787         * AUTHORS: add self.
31788   
31789 2006-02-12  Tom Tromey  <tromey@redhat.com>
31790   
31791         * gnu/classpath/ServiceProviderLoadingAction.java: Javadoc fix.
31792         * gnu/classpath/ServiceFactory.java (ServiceIterator): Javadoc fix.
31793         (securityContext): Likewise.
31794         (log): Likewise.
31795   
31796 2006-02-12  Dalibor Topic  <robilad@kaffe.org>
31797   
31798         Fixes PR 26218.
31799   
31800         * gnu/java/net/protocol/file/Connection.java (unquote):
31801         Convert Unicode characters outside basic plane to UTF-8,
31802         rather than throwing an exception.
31803   
31804 2006-02-12  Tom Tromey  <tromey@redhat.com>
31805   
31806         * javax/sound/sampled/LineEvent.java (readObject): New method.
31807         (writeObject): Likewise.
31808         (serialVersionUID): New field.
31809   
31810 2006-02-12  Mark Wielaard  <mark@klomp.org>
31811   
31812         * java/beans/PropertyChangeSupport.java (addPropertyChangeListener):
31813         Silently ignores null listener.
31814         (addPropertyChangeListener(String, PropertyChangeListener): Likewise.
31815         (getPropertyChangeListeners): Returns empty PropertyChangeListener
31816         array for null propertyName.
31817
31818 2006-02-12  Wolfgang Baer  <WBaer@gmx.de>
31819
31820         * java/rmi/MarshalledObject.java: Added api docs to the class.
31821         * java/rmi/Remote.java: Added interface api docs.
31822         * java/rmi/package.html: Added package description.
31823         * java/rmi/AccessException.java: Minor api doc fixes.
31824         * java/rmi/NoSuchObjectException.java: Likewise.
31825         * java/rmi/AlreadyBoundException.java: Likewise.
31826         * java/rmi/RemoteException.java: Likewise.
31827         * java/rmi/NotBoundException.java: Likewise.
31828         * java/rmi/RMISecurityException.java: Likewise.
31829         * java/rmi/StubNotFoundException.java: Likewise.        
31830
31831 2006-02-12  Mark Wielaard  <mark@klomp.org>
31832
31833         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (postKeyEvent): Call
31834         q() to get EventQueue.
31835         * gnu/java/awt/peer/gtk/GtkGenericPeer.java (q): Remove static field.
31836         (enableQueue): Remove static method.
31837         * gnu/java/awt/peer/gtk/GtkToolkit.java (getSystemEventQueueImpl):
31838         Don't call GtkGenericPeer.enableQueue().
31839
31840 2006-02-12  Wolfgang Baer  <WBaer@gmx.de>
31841
31842         * java/rmi/MarshalledObject.java: Reformatted.
31843         * java/rmi/Naming.java: Likewise.       
31844
31845 2006-02-12  Jeroen Frijters  <jeroen@frijters.net>
31846
31847         * java/io/InputStream.java
31848         (read(byte[],int,int)): Changed argument validation to prevent
31849         integer overflow. Remove redundant check.
31850   
31851 2006-02-12  Jeroen Frijters  <jeroen@frijters.net>
31852   
31853         Fixes PR 26220
31854         * java/io/InputStreamReader.java
31855         (InputStreamReader(InputStream)): Use SystemProperties.
31856         (InputStreamReader(InputStream,Charset)): Corrected @since tag.
31857         Throw NullPointerException if in is null.
31858         Added maxBytesPerChar initialisation.
31859         (InputStreamReader(InputStream,CharsetDecoder)): Corrected @since tag.
31860         Throw NullPointerException if in is null.
31861
31862 2006-02-12  Raif S. Naffah  <raif@swiftdsl.com.au>
31863
31864         * gnu/javax/crypto/key/dh/GnuDHPublicKey.java
31865         (GnuDHPublicKey(4)): Call constructor with 5 arguments.
31866         (GnuDHPublicKey): New constructor.
31867         (getEncoded): Removed.
31868         (valueOf): Added support for ASN.1 encoding.
31869         (getEncoded(int)): Likewise.
31870         (equals): New method.
31871         * gnu/javax/crypto/key/dh/GnuDHPrivateKey.java
31872         (GnuDHPrivateKey(4)): Call constructor with 5 arguments.
31873         (GnuDHPrivateKey(5)): New constructor.
31874         (getEncoded): Removed.
31875         (valueOf): Added support for ASN.1 encoding.
31876         (getEncoded(int)): Likewise.
31877         (equals): New method.
31878         * gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java
31879         (PREFERRED_ENCODING_FORMAT): New constant.
31880         (DEFAULT_ENCODING_FORMAT): Likewise.
31881         (preferredFormat): New field.
31882         (setup): Handle preferred encoding format identifier.
31883         (generate): Call constructors with format identifier.
31884         * gnu/javax/crypto/key/dh/GnuDHKey.java (defaultFormat): New field.
31885         (GnuDHKey): Added an int argument.
31886         (getEncoded): New method.
31887         (getFormat): New implementation.
31888         (getEncoded(int)): New abstract method.
31889         * gnu/javax/crypto/key/dh/DHKeyPairX509Codec.java: New file.
31890         * gnu/javax/crypto/key/dh/DHKeyPairPKCS8Codec.java: Likewise.
31891         * gnu/javax/crypto/jce/GnuCrypto.java (run): Added mappings for DH
31892         key-pair generator and key-factory.
31893         * gnu/javax/crypto/jce/sig/DHKeyPairGeneratorSpi.java: New file.
31894         * gnu/javax/crypto/jce/sig/DHKeyFactory.java: Likewise.
31895         * gnu/java/security/jce/sig/KeyPairGeneratorAdapter.java: Made it public.
31896         * gnu/java/security/jce/sig/EncodedKeyFactory.java
31897         (invokeConstructor): New method.
31898         (getConcreteClass): Likewise.
31899         (getConcreteCtor): Likewise.
31900         (invokeValueOf): Likewise.
31901         (getValueOfMethod): Likewise.
31902         (engineGeneratePublic): Add support for DH keys.
31903         (engineGeneratePrivate): Likewise.
31904         (decodeDHPublicKey(DHPublicKeySpec)): New method.
31905         (decodeDHPublicKey(byte[])): Likewise.
31906         (decodeDHPrivateKey(DHPrivateKeySpec)): Likewise.
31907         (decodeDHPrivateKey(byte[])): Likewise.
31908
31909 2006-02-11  Mark Wielaard  <mark@klomp.org>
31910
31911         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (repaintTimer):
31912         Removed field.
31913         (repaint): Immediately post to queue when tm <= 0, otherwise call
31914         RepaintTimerTask.schedule().
31915         (RepaintTimerTask): Make static.
31916         (RepaintTimerTask.repaintTimer): New static final field.
31917         (RepaintTimerTask.awtComponent): New field.
31918         (schedule): New static method.
31919
31920 2006-02-11  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
31921
31922         * tools/gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java
31923         * tools/gnu/classpath/tools/giop/grmic/MethodGenerator.java
31924         * tools/gnu/classpath/tools/giop/grmic/templates/Tie.jav,
31925         tools/gnu/classpath/tools/giop/grmic/templates/TieMethod.jav,
31926         tools/gnu/classpath/tools/giop/grmic/templates/TieMethodVoid.jav:
31927         Rewritten.
31928         * tools/gnu/classpath/tools/giop/grmic/HashFinder.java: New file.
31929   
31930 2006-02-11  Raif S. Naffah  <raif@swiftdsl.com.au>
31931   
31932         * gnu/java/security/jce/sig/EncodedKeyFactory.java
31933         (engineGeneratePublic): Added support for raw key-specifications.
31934         (engineGeneratePrivate): Likewise.
31935         (decodeDSSPublicKey): New method.
31936         (decodeRSAPublicKey): Likewise.
31937         (decodeDSSPrivateKey): Likewise.
31938         (decodeRSAPrivateKey): Likewise.
31939         * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java
31940         (encodePrivateKey): Throw InvalidParameterException.
31941         (decodePublicKey): Likewise.
31942         (decodePrivateKey): Likewise.
31943         * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java
31944         (encodePublicKey): Likewise.
31945         (encodePrivateKey): Likewise.
31946         (decodePublicKey): Likewise.
31947         * gnu/java/security/key/dss/DSSKeyPairX509Codec.java
31948         (encodePrivateKey): Likewise.
31949         (decodePublicKey): Likewise.
31950         (decodePrivateKey): Likewise.
31951         * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java
31952         (encodePublicKey): Likewise.
31953         (encodePrivateKey): Likewise.
31954         (decodePublicKey): Likewise.
31955   
31956 2006-02-10  Roman Kennke  <kennke@aicas.com>
31957   
31958         * javax/swing/text/StyleContext.java
31959         (registerStaticAttributeKey): New static method.
31960   
31961 2006-02-10  Roman Kennke  <kennke@aicas.com>
31962   
31963         * javax/swing/text/DefaultStyledDocument.java
31964         (ElementBuffer.clone): New method.
31965   
31966 2006-02-10  Roman Kennke  <kennke@aicas.com>
31967   
31968         * javax/swing/text/ParagraphView.java
31969         (findOffsetToCharactersInString): New method.
31970         (getClosestPositionTo): New method.
31971         (getPartialSize): New method.
31972         (getTabBase): New method.
31973         (adjustRow): New method.
31974         (breakView): New method.
31975         (getBreakWeight): New method.
31976   
31977 2006-02-10  Roman Kennke  <kennke@aicas.com>
31978   
31979         * javax/swing/text/GapContent.java
31980         (updateUndoPositions): New method.
31981         * javax/swing/text/StringContent.java
31982         (updateUndoPositions): New method.
31983   
31984 2006-02-10  Raif S. Naffah  <raif@swiftdsl.com.au>
31985   
31986         * gnu/java/security/key/rsa/GnuRSAPrivateKey.java (GnuRSAPrivateKey(9)):
31987         Made it public.
31988         * gnu/java/security/jce/sig/RSAKeyFactory.java: New file.
31989         * gnu/java/security/jce/sig/DSSKeyFactory.java (engineGeneratePublic):
31990         Added support for encoded key specifications.
31991         (engineGeneratePrivate): Likewise.
31992         (engineGetKeySpec): Likewise.
31993         (engineTranslateKey): Corrected order of MPIs and use ctors with 5 args.
31994   
31995 2006-02-10  Robert Schuster  <robertschuster@fsfe.org>
31996   
31997         * javax/swing/text/Utilities.java:
31998         (getTabbedTextOffset): Fixed usage of variable p0.
31999         (getPositionAbove): Rewritten.
32000         (getPositionBelow): Rewritten.
32001   
32002 2006-02-09  Roman Kennke  <kennke@aicas.com>
32003   
32004         * javax/swing/text/BoxView.java
32005         (getAxis): Added @since tag.
32006         (setAxis): Added @since tag.
32007         (layoutChanged): Added @since tag.
32008         (isLayoutValid): Added @since tag.
32009         (paint): Don't call setSize here. This is done in RootView already.
32010         (getMaximumSpan): Reimplemented to return the requirements'
32011         maximum size. Added API docs.
32012         (getMinimumSpan): New method.
32013         (layout): Fixed layout order.
32014         (modelToView): Call layout instead of setSize here.
32015         (getResizeWeight): New method.
32016         (getChildAllocation): New method.
32017         (forwardUpdate): New method.
32018         (viewToModel): New method.
32019         (flipEastEndWestEnds): New method.
32020         * javax/swing/text/CompositeView.java
32021         (modelToView): Made this method more robust by returning a default
32022         location if it's not possible to calculate one via the children.
32023         This default location returns the left or right edge of this
32024         view.
32025         (createDefaultLocation): New helper method.
32026         * javax/swing/text/IconView.java
32027         (modelToView): Don't throw BadLocationException. This should
32028         really only be thrown if the position is outside the document
32029         model, not if it's outside the view's boundary.
32030   
32031 2006-02-09  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
32032   
32033         * tools/Makefile.am: Handle rmi and giop folders separately.
32034   
32035 2006-02-09  David Gilbert  <david.gilbert@object-refinery.com>
32036   
32037         * javax/swing/SpinnerDateModel.java: Updated API docs all over,
32038         * javax/swing/SpinnerNumberModel.java: Likewise.
32039   
32040 2006-02-09  David Gilbert  <david.gilbert@object-refinery.com>
32041   
32042         * javax/swing/SpinnerDateModel.java: Removed tabs,
32043         * javax/swing/SpinnerNumberModel.java: Likewise.
32044   
32045 2006-02-09  Anthony Balkissoon  <abalkiss@redhat.com>
32046   
32047         * doc/unicode/SpecialCasing-4.0.0.txt: New file.
32048         * doc/unicode/UnicodeData-4.0.0.txt: New file.
32049   
32050 2006-02-09  Wolfgang Baer  <WBaer@gmx.de>
32051   
32052         Fixes bug #26081
32053         * gnu/java/net/protocol/http/HTTPURLConnection.java: 
32054         (isRedirect): Removed, moved to Response.java.
32055         (connect): If error condition redirect responseSink to errorSink.
32056         (getInputStream): If error condition throw IOException, for the error
32057         codes 404 and 410 throw a FileNotFoundException.        
32058         * gnu/java/net/protocol/http/Response.java (isError): New method.
32059         (isRedirect): New method, moved from HTTPURLConnection.java.
32060   
32061 2006-02-09  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
32062   
32063         * tools/Makefile.am: Add tools/gnu/classpath/tools/rmi folder.
32064         * tools/gnu/classpath/tools/giop/GRMIC.txt: Explain it called from RMIC.
32065         * tools/gnu/classpath/tools/giop/grmic/Generator.java (getResource): 
32066         Better diagnostic.
32067         * tools/gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java:
32068         Rewritten.
32069         * tools/gnu/classpath/tools/giop/grmic/MethodGenerator.java: Implement
32070         AbstractMethodGenerator.
32071         * tools/gnu/classpath/tools/AbstractMethodGenerator.java,
32072         tools/gnu/classpath/tools/rmi/RMIC.java,
32073         tools/gnu/classpath/tools/rmi/RMIC.txt,
32074         tools/gnu/classpath/tools/rmi/rmic/RmiMethodGenerator.java,
32075         tools/gnu/classpath/tools/rmi/rmic/RmicCompiler.java,
32076         tools/gnu/classpath/tools/rmi/rmic/WrapUnWrapper.java,
32077         tools/gnu/classpath/tools/rmi/rmic/templates/Stub_12.jav,
32078         tools/gnu/classpath/tools/rmi/rmic/templates/Stub_12Method.jav,
32079         tools/gnu/classpath/tools/rmi/rmic/templates/Stub_12MethodVoid.jav: 
32080         New files.
32081         * NEWS: Corrected entry about the tools.
32082   
32083 2006-02-09  Lillian Angel  <langel@redhat.com>
32084   
32085         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
32086         (handleEvent): Added more to check to prevent assertion errors.
32087         * gnu/java/awt/peer/gtk/GtkPanelPeer.java
32088         (handleEvent): Likewise.
32089         * gnu/java/awt/peer/gtk/GtkWindowPeer.java
32090         (handleEvent): Likewise.
32091   
32092 2006-02-09  Mark Wielaard  <mark@klomp.org>
32093   
32094         * javax/swing/JTable.java (tableChanged): Interpret null event as
32095         "everything changed".
32096   
32097 2006-02-09  Roman Kennke  <kennke@aicas.com>
32098   
32099         * javax/swing/text/DefaultCaret.java
32100         (DocumentHandler.removeUpdate): When update policy is
32101         'on eventqueue', and the update doesn't come from the
32102         event queue, check if the current dot location is still
32103         valid.
32104         (moveDot): Make sure the new dot location is valid.
32105         (setDot): Set the mark the same as the dot.
32106   
32107 2006-02-09  Roman Kennke  <kennke@aicas.com>
32108   
32109         * javax/swing/text/AbstractDocument.java
32110         (remove): Perform all operations within a write lock and in the
32111         correct order.
32112   
32113 2006-02-09  Mark Wielaard  <mark@klomp.org>
32114   
32115         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollbarPeer.c
32116         (Java_gnu_java_awt_peer_gtk_GtkScrollbarPeer_create): Make sure max is
32117         creater than min, adjusting page_size if necessary.
32118         (Java_gnu_java_awt_peer_gtk_GtkScrollbarPeer_setValues): Likewise.
32119   
32120 2006-02-09  Lillian Angel  <langel@redhat.com>
32121   
32122         * gnu/java/awt/peer/gtk/GtkPanelPeer.java
32123         (handleEvent): Added code to handle PaintEvent.UPDATE.
32124         Sun does not call update(Graphics g) on Panels.
32125         * gnu/java/awt/peer/gtk/GtkWindowPeer.java
32126         (handleEvent): New method. Added code to handle PaintEvent.UPDATE.
32127         Sun does not call update(Graphics g) on Panels.
32128   
32129 2006-02-09  Roman Kennke  <kennke@aicas.com>
32130   
32131         * javax/swing/text/BoxView.java
32132         (myAxis): Made field private.
32133         (xLayoutValid): Replaced by layoutValid array.
32134         (yLayoutValid): Replaced by layoutValid array.
32135         (layoutValid): New field.
32136         (spansX): Replaced by spans array.
32137         (spansY): Replaced by spans array.
32138         (spans): New field.
32139         (offsetsX): Replaced by offsets array.
32140         (offsetsY): Replaced by offsets array.
32141         (offsets): New field.
32142         (requirements): New field.
32143         (BoxView): Initialize new fields.
32144         (layoutChanged): Rewritten to use the layoutValid array.
32145         (isLayoutValid): Rewritten to use the layoutValid array.
32146         (replace): Use the new arrays.
32147         (getPreferredSpan): Rewritten to call calculateXXXRequirements
32148         instead of baselineRequirements.
32149         (baselineRequirements): Rewritten to calculate baseline requirements.
32150         (baselineLayout): Rewritten to calculate baseline layout.
32151         (childAllocation): Use new arrays.
32152         (layout): Rewritten. Only update the layout if necessary.
32153         (layoutMajorAxis): Directly set layoutValid.
32154         (layoutMinorAxis): Directly set layoutValid. Use cached size
32155         requirements.
32156         (getWidth): Use new span array.
32157         (getHeight): Likewise.
32158         (setSize): Rewritten to simply call layout().
32159         (validateLayout): Removed unneeded method.
32160         (getSpan): Use new arrays.
32161         (getOffset): Use new arrays.
32162         (getAlignment): Use cached requirements if possible.
32163         (preferenceChanged): Use new arrays.
32164         * javax/swing/text/FlowView.java
32165         (FlowStrategy.insertUpdate): Do nothing here.
32166         (FlowStrategy.removeUpdate): Do nothing here.
32167         (FlowStrategy.changedUpdate): Do nothing here.
32168         (FlowStrategy.layoutRow): Rewritten.
32169         (FlowStrategy.createView): Rewritten.
32170         (FlowStrategy.adjustRow): New method.
32171         (LogicalView.getViewIndex): Fixed condition for finding child
32172         view.
32173         (layoutDirty): New field indicating the state of the layout.
32174         (FlowView): Initialize new field.
32175         (loadChildren): Set parent on logical view so that preferenceChanges
32176         get propagated upwards.
32177         (layout): Rewritten to match the specs.
32178         (insertUpdate): Set layout to dirty.
32179         (removeUpdate): Set layout to dirty.
32180         (changedUpdate): Set layout to dirty.
32181         * javax/swing/text/GlyphView.java
32182         (getBreakWeight): Rewritten to use the Utilities class. Commented
32183         out though because that is broken.
32184         (insertUpdate): Call preferenceChanged on this object instead of
32185         parent.
32186         * javax/swing/text/ParagraphView.java
32187         (Row.loadChildren): Overridden to be a noop to prevent initial
32188         creation of child views. This is carried out by the flow layout.
32189         * javax/swing/text/View.java
32190         (getPreferredSpan): Added API docs.
32191         (getResizeWeight): Added API docs.
32192         (getMaximumSpan): Added API docs. Rewritten to only have one exit
32193         point.
32194         (getMinimumSpan): Added API docs. Rewritten to return 0 when
32195         resizable instead of Integer.MAX_VALUE.
32196         (getAlignment): Added API docs.
32197         (replace): Added API docs.
32198         (forwardUpdate): Rewritten to only notify child views that need to
32199         be notified.
32200   
32201 2006-02-09  Roman Kennke  <kennke@aicas.com>
32202   
32203         * javax/swing/plaf/basic/BasicTextUI.java
32204         (RootView.paint): Call setSize() before painting the view.
32205   
32206 2006-02-09  Ito Kazumitsu  <kaz@maczuka.gcd.org>
32207   
32208         Fixes bug #26112
32209         * gnu/regexp/RE.java(REG_REPLACE_USE_BACKSLASHESCAPE): New execution
32210         flag which enables backslash escape in a replacement.
32211         (getReplacement): New public static method. 
32212         (substituteImpl),(substituteAllImpl): Use getReplacement.
32213         * gnu/regexp/REMatch.java(substituteInto): Replace $n even if n>=10.
32214         * java/util/regex/Matcher.java(appendReplacement)
32215         Use RE#getReplacement.
32216         (replaceFirst),(replaceAll): Use RE.REG_REPLACE_USE_BACKSLASHESCAPE.
32217
32218 2006-02-09  Raif S. Naffah  <raif@swiftdsl.com.au>
32219
32220         * gnu/java/security/key/rsa/RSAKeyPairX509Codec.java: New file.
32221         * gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java: Likewise.
32222         * gnu/java/security/key/rsa/RSAKeyPairGenerator.java
32223         (PREFERRED_ENCODING_FORMAT): New constant.
32224         (DEFAULT_ENCODING_FORMAT): Likewise.
32225         (preferredFormat): New field.
32226         (setup): Add support for preferred encoding format.
32227         (generate): Call key constructors with explicit format identifier.
32228         * gnu/java/security/key/rsa/GnuRSAPublicKey.java (GnuRSAPublicKey(2)): 
32229         Call constructor with 3 arguments..
32230         (GnuRSAPublicKey(3)): New constructor.
32231         (valueOf): Added support for ASN.1 format.
32232         (getEncoded): Likewise.
32233         * gnu/java/security/key/rsa/GnuRSAPrivateKey.java (GnuRSAPrivateKey(4)):
32234         Call constructor with 5 arguments.
32235         (GnuRSAPrivateKey(5)): New constructor.
32236         (GnuRSAPrivateKey(9)): New constructor.
32237         (valueOf): Added support for ASN.1 format.
32238         (getEncoded): Likewise.
32239         * gnu/java/security/key/rsa/GnuRSAKey.java (defaultFormat): New field.
32240         (GnuRSAKey): Modified constructor.
32241         (getFormat): Return preferred format identifier.
32242         * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java
32243         (decodePrivateKey): Fixed documentation.
32244         Check Version field.
32245         * gnu/java/security/jce/sig/RSAKeyPairGeneratorSpi.java
32246         (initialize(int,SecureRandom)): Set ASN.1 as the preferred encoding
32247         format.
32248         (initialize(AlgorithmParameterSpec,SecureRandom)): Likewise.
32249         * gnu/java/security/jce/sig/EncodedKeyFactory.java
32250         (engineGeneratePublic): Added support for RSA.
32251         (engineGeneratePrivate): Likewise.
32252
32253 2006-02-09  Wolfgang Baer  <WBaer@gmx.de>
32254
32255         * java/net/URLConnection.java:
32256         (setAllowUserInteraction): Throw IllegalStateException if connected.
32257         (getRequestProperty): Document return value if key is null.
32258         * gnu/java/net/protocol/http/HTTPURLConnection.java:
32259         (getRequestProperty): Return null if key is null.
32260         (getRequestProperties): Throw IllegalStateException if connected.
32261         (setRequestProperty): Call super method for exception tests.
32262         (addRequestProperty): Likewise.
32263   
32264 2006-02-09  Wolfgang Baer  <WBaer@gmx.de>
32265   
32266         * gnu/java/net/protocol/http/Request.java:
32267         (Request): Remove initialization of removed field.
32268         (requestBodyNegotiationThreshold): Removed now unused field.
32269         (setRequestBodyNegotiationThreshold): Remove now unused method.
32270         (dispatch): Do not use 'Expect 100-continue' header if content-length
32271         is over a treshold. If user specified 'Expect 100-continue' still
32272         initialize the expectingContinue variable.
32273
32274 2006-02-08  David Gilbert  <david.gilbert@object-refinery.com>
32275
32276         * javax/swing/SpinnerNumberModel.java
32277         (SpinnerNumberModel(Number, Comparable, Comparable, Number): Allow 
32278         maximum and minimum to take null values,
32279         (setValue): Only fire ChangeEvent if new value is different to old 
32280         value,
32281         (setMinimum): Fixed test for updating value,
32282         (setMaximum): Likewise,
32283         (setStepSize): Likewise.
32284   
32285 2006-02-08  Tom Tromey  <tromey@redhat.com>
32286   
32287         * tools/.cvsignore: Added Makefile.in.
32288   
32289 2006-02-08  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
32290   
32291         * java/rmi/server/RemoteRef.java,
32292         java/rmi/server/RemoteStub.java: Commented.
32293   
32294 2006-02-08  David Gilbert  <david.gilbert@object-refinery.com>
32295   
32296         * javax/swing/SpinnerDateModel.java
32297         (SpinnerDateModel(Date, Comparable, Comparable, int)): Added argument
32298         checks,
32299         (getPreviousValue): Check result against start, not end,
32300         (setValue): Check that value actually changes before firing 
32301         ChangeEvent.
32302
32303 2006-02-08  Lillian Angel  <langel@redhat.com>
32304
32305         * java/awt/Choice.java
32306         (select): Fixed up code, added some checks to prevent errors.
32307         (dispatchEventImpl): Removed. This function is not needed. It 
32308         causes several assertion errors.
32309   
32310 2006-02-08  Roman Kennke  <kennke@aicas.com>
32311   
32312         * javax/swing/text/PlainView.java
32313         (drawLine): Call drawUnselectedText() with end offset - 1 to avoid
32314         drawing unnecessary characters.
32315   
32316 2006-02-08  Lillian Angel  <langel@redhat.com>
32317   
32318         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
32319         (handleEvent): Fixed check to determine if height or
32320         width is less than 1.
32321   
32322 2006-02-08  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
32323   
32324         *tools/Makefile.am (ALL_TOOLS_FILES): Add $(TOOLS_HELPS).
32325   
32326 2006-02-08  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
32327   
32328         * examples/gnu/classpath/examples/CORBA/swing/x5/_GameManagerImpl_Tie.java,
32329         examples/gnu/classpath/examples/CORBA/swing/x5/_PlayerImpl_Tie.java:
32330         Documenting the code generator.
32331         * gnu/CORBA/IOR.java (toStringFormatted, 
32332         CodeSet_component.toStringFormatted): New methods.
32333         * tools/Makefile.am (TOOLS_JAVA_FILES, READMES): Rewritten.
32334         * tools/gnu/classpath/tools/giop/README: Rewritten.
32335         * tools/gnu/classpath/tools/giop/GRMIC.java (main): Rewritten. 
32336         (printHelpAndExit): Removed.
32337         *tools/gnu/classpath/tools/giop/IorParser.java,
32338         tools/gnu/classpath/tools/giop/IorParser.txt,
32339         tools/gnu/classpath/tools/giop/NameService.java,
32340         tools/gnu/classpath/tools/giop/NamingService.txt,
32341         tools/gnu/classpath/tools/HelpPrinter.java: New files.
32342         NEWS: Added note about GIOP tools.
32343
32344 2006-02-07  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
32345
32346         * .classpath: New source patch (tools).
32347         * Makefile.am (SUBDIRS, DIST_SUBDIRS): added "tools".
32348         * configure.ac (AC_CONFIG_FILES): added tools/Makefile
32349         * tools/gnu/classpath/tools/Makefile.am,
32350         tools/gnu/classpath/tools/giop/GRMIC.java
32351         tools/gnu/classpath/tools/giop/GRMIC.txt,
32352         tools/gnu/classpath/tools/giop/README,
32353         tools/gnu/classpath/tools/giop/grmic/CompilationError.java,
32354         tools/gnu/classpath/tools/giop/grmic/Generator.java,
32355         tools/gnu/classpath/tools/giop/grmic/GiopIo.java,
32356         tools/gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java,
32357         tools/gnu/classpath/tools/giop/grmic/MethodGenerator.java,
32358         tools/gnu/classpath/tools/giop/grmic/templates/ImplTie.jav,
32359         tools/gnu/classpath/tools/giop/grmic/templates/Stub.jav,
32360         tools/gnu/classpath/tools/giop/grmic/templates/StubMethod.jav,
32361         tools/gnu/classpath/tools/giop/grmic/templates/StubMethodVoid.jav,
32362         tools/gnu/classpath/tools/giop/grmic/templates/Tie.jav,
32363         tools/gnu/classpath/tools/giop/grmic/templates/TieMethod.jav,
32364         tools/gnu/classpath/tools/giop/grmic/templates/TieMethodVoid.jav: New files.
32365   
32366 2006-02-07  David Gilbert  <david.gilbert@object-refinery.com>
32367   
32368         * java/awt/BasicStroke.java: Updated API docs all over,
32369         * java/awt/doc-files/capjoin.png: New file.
32370   
32371 2006-02-07  Lillian Angel  <langel@redhat.com>
32372   
32373         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
32374         (handleEvent): Added check. Should not paint or update the 
32375         component if it's width and height are both 0.  
32376   
32377 2006-02-07  Roman Kennke  <kennke@aicas.com>
32378   
32379         * javax/swing/text/AbstractDocument.java
32380         (insertString): Enclose locking/unlocking in try-finally block
32381         and also keep locked while notifying the listeners.
32382   
32383 2006-02-07  Roman Kennke  <kennke@aicas.com>
32384   
32385         * javax/swing/text/GlyphView.java
32386         (GlyphView): Initialize startOffset and endOffset with -1 (indicating
32387         element boundary).
32388         (getStartOffset): Return element boundary if startOffset < 0.
32389         (getEndOffset): Return element boundary if endOffset < 0.
32390         (createFragment): Set startOffset and endOffset fields of fragment
32391         if one of p0 or p1 is not at the element boundary.
32392   
32393 2006-02-07  Roman Kennke  <kennke@aicas.com>
32394   
32395         * javax/swing/CellRendererPane.java
32396         (paintComponent): Enclosed painting in try finally to properly
32397         clean up even when throwing an exception.
32398   
32399 2006-02-07  Roman Kennke  <kennke@aicas.com>
32400   
32401         * javax/swing/UIManager.java
32402         (listeners): Made this an instance of
32403         java.beans.PropertyChangeSupport instead of the obsoleted
32404         SwingPropertyChangeSupport.
32405
32406 2006-02-07  Robert Schuster  <robertschuster@fsfe.org>
32407
32408         * javax/swing/text/DefaultEditorToolkit.java: Changed behavior
32409         of actions "delete-next" and "delete-previous", added new TextAction
32410         implementations for "selection-begin", "selection-begin-line",
32411         "selection-end" and "selection-end-line".
32412   
32413 2006-02-07  Roman Kennke  <kennke@aicas.com>
32414   
32415         * javax/swing/plaf/basic/BasicTextUI.java
32416         (paint): Acquire read lock on the document before calling
32417         paintSafely.
32418         (paintSafely): Added comment about what this method does.
32419         (paintBackground): Implemented to actually paint the background.
32420         (update): Overridden to _not_ paint the background. This is done
32421         in paintBackground in this UI.
32422   
32423 2006-02-07  Roman Kennke  <kennke@aicas.com>
32424   
32425         * javax/swing/text/View.java
32426         (forwardUpdate): Don't notify newly added child views as specified.
32427   
32428 2006-02-07  Robert Schuster  <robertschuster@fsfe.org>
32429   
32430         * gnu/java/beans/decoder/DefaultExceptionListener.java: Removed.
32431   
32432 2006-02-07  Roman Kennke  <kennke@aicas.com>
32433   
32434         * javax/swing/text/DefaultStyledDocument.java
32435         (ElementBuffer.insert): Only register change when the element
32436         actually changed.
32437   
32438 2006-02-07  Raif S. Naffah  <raif@swiftdsl.com.au>
32439   
32440         * gnu/java/security/key/KeyPairCodecFactory.java (getEncodingName): New
32441         method.
32442         (getEncodingShortName): Likewise.
32443         * gnu/java/security/key/IKeyPairCodec.java (X509_FORMAT): New constant.
32444         (PKCS8_FORMAT): Likewise.
32445         (ASN1_FORMAT): Likewise.
32446         * gnu/java/security/key/dss/DSSPublicKey.java (DSSPublicKey(4)): Call
32447         constructor with 5 arguments.
32448         (DSSPublicKey(5)): New constructor.
32449         (valueOf): Handle ASN.1 encoding.
32450         (getEncoded): Likewise.
32451         * gnu/java/security/key/dss/DSSPrivateKey.java (DSSPrivateKey(4)): Call
32452         constructor with 5 arguments.
32453         (DSSPrivateKey(5)): New constructor.
32454         (valueOf): Handle ASN.1 encoding.
32455         (getEncoded): Likewise.
32456         * gnu/java/security/key/dss/DSSKeyPairX509Codec.java: New file.
32457         * gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java: Likewise.
32458         * gnu/java/security/key/dss/DSSKeyPairGenerator.java
32459         (PREFERRED_ENCODING_FORMAT): New constant.
32460         (DEFAULT_ENCODING_FORMAT): Likewise.
32461         (preferredFormat): New field.
32462         (setup): Handle preferred format ID.
32463         (generate): Use new ctors with 5 arguments.
32464         * gnu/java/security/key/dss/DSSKey.java (DSSKey): Now accepts a format
32465         ID as an additional argument.
32466         (defaultFormat): new field.
32467         (getFormat): Returns the preferred format as a short string.
32468         * gnu/java/security/jce/sig/DSSKeyFactory.java: New file.
32469         * gnu/java/security/jce/sig/EncodedKeyFactory.java (engineGetKeySpec):
32470         Likewise
32471         * gnu/java/security/jce/sig/DSSKeyPairGeneratorSpi.java
32472         (initialize(AlgorithmParameterSpec)): Set ASN.1 as the preferred
32473         encoding format.
32474         (initialize(int,boolean,SecureRandom)): Likewise.
32475         * gnu/java/security/der/DERWriter.java (writeBitString): Use
32476         writeLength() instead of write().
32477         return buf.length + 1 instead of buf.length.
32478   
32479 2006-02-07  Roman Kennke  <kennke@aicas.com>
32480   
32481         * javax/swing/plaf/basic/BasicTextUI.java
32482         (RootView.preferenceChange): Changed view parameter to view so
32483         that it doesn't hide a field of that class.
32484         (RootView.getViewCount): Rewritten to clean up ECJ warning.
32485         (RootView.modelToView): Removed unnecessary cast from View to View.
32486         (PropertyChangeHandler): Made inner class private.
32487         (updateHandler): Made field private.
32488         (getVisibleEditorRect): Removed unneeded local variable that
32489         shadowed a field with the same name and purpose.
32490   
32491 2006-02-07  Robert Schuster  <robertschuster@fsfe.org>
32492   
32493         * javax/swing/text/JTextComponent.java:
32494         (getSelectedText): Calculate offset and use that as
32495         second argument.
32496   
32497 2006-02-07  Roman Kennke  <kennke@aicas.com>
32498   
32499         * javax/swing/JTextPane.java
32500         (setCharacterAttributes): Replace input attributes when
32501         replace==true.
32502   
32503 2006-02-07  Roman Kennke  <kennke@aicas.com>
32504   
32505         * java/awt/Component.java
32506         (firePropertyChange(String,byte,byte)): Made method public.
32507         (firePropertyChange(String,char,char)): Made method public.
32508         (firePropertyChange(String,short,short)): Made method public.
32509         (firePropertyChange(String,long,long)): Made method public.
32510         (firePropertyChange(String,float,float)): Made method public.
32511         (firePropertyChange(String,double,double)): Made method public.
32512   
32513 2006-02-06  Tom Tromey  <tromey@redhat.com>
32514   
32515         * gnu/CORBA/NamingService/NamingServiceTransient.java (main): Use
32516         2006.
32517         * gnu/java/rmi/registry/RegistryImpl.java (version): Use 2006.
32518   
32519 2006-02-06  Anthony Green  <green@redhat.com>
32520   
32521         * gnu/xml/aelfred2/XmlParser.java: Add missing break;.
32522   
32523 2006-02-07  Raif S. Naffah  <raif@swiftdsl.com.au>
32524   
32525         * .settings/org.eclipse.jdt.core.prefs:
32526         Force a line split on extends and implements.
32527         Force a white-space after unary operators.
32528         Don't force a new-line after @params.
32529         Add new-line at end-of-file.
32530         * scripts/eclipse-gnu.xml: Export version of the above named GNU.
32531   
32532 2006-02-07  Raif S. Naffah  <raif@swiftdsl.com.au>
32533   
32534         * gnu/java/security/provider/GnuDSAPublicKey.java (getEncoded): Use
32535         Registry constant.
32536         * gnu/java/security/provider/GnuDSAPrivateKey.java (getEncoded):
32537         Likewise.
32538         * gnu/java/security/provider/GnuRSAPrivateKey.java (getEncoded):
32539         Likewise.
32540         * gnu/java/security/provider/GnuRSAPublicKey.java (getEncoded):
32541         Likewise.
32542         * gnu/java/security/provider/EncodedKeyFactory.java
32543         (ID_DSA): Redefined in terms of Registry constant.
32544         (ID_DSA): Redefined in terms of Registry constant.
32545         (ID_DH): Redefined in terms of Registry constant.
32546         * gnu/java/security/Registry.java (X509_ENCODING): New constant.
32547         (PKCS8_ENCODING): Likewise.
32548         (ASN1_ENCODING): Likewise.
32549         (RAW_ENCODING_SHORT_NAME): Likewise.
32550         (X509_ENCODING_SORT_NAME): Likewise.
32551         (PKCS8_ENCODING_SHORT_NAME): Likewise.
32552         (ASN1_ENCODING_SHORT_NAME): Likewise.
32553         (X509_ENCODING_ID): Likewise.
32554         (PKCS8_ENCODING_ID): Likewise.
32555         (ASN1_ENCODING_ID): Likewise.
32556         (DSA_OID_STRING): Likewise.
32557         (RSA_OID_STRING): Likewise.
32558         (DH_OID_STRING): Likewise.
32559
32560 2006-02-06  Roman Kennke  <kennke@aicas.com>
32561
32562         * javax/swing/text/GlyphView.java:
32563         (DefaultGlyphPainter.paint): Store/restore Graphics color setting.
32564         Only fill background if there is a background set on the view.
32565         Call Utilities.drawTabbedText with the baseline height, rather than
32566         the upper left corner of the view rectangle.
32567         (getBackground): Return null if no background is set.
32568         * javax/swing/text/GlyphView.java:
32569         (setPropertiesFromAttributes): Use null for background when no
32570         background is set. StyleConstants.getBackground() doesn't work
32571         for this, because it returns Color.BLACK in that case.
32572   
32573 2006-02-06  Roman Kennke  <kennke@aicas.com>
32574   
32575         * java/awt/Container.java
32576         (changeSupport): Removed duplicate (from Component) field.
32577         (addPropertyChangeListener): Call super.
32578   
32579 2006-02-06  Ito Kazumitsu  <kaz@maczuka.gcd.org>
32580   
32581         * java/util/regex/Matcher.java(matches):
32582         set RE.REG_TRY_ENTIRE_MATCH as an execution flag of getMatch.
32583   
32584 2006-02-06  Ito Kazumitsu  <kaz@maczuka.gcd.org>
32585
32586         Fixes bug #25812
32587         * gnu/regexp/CharIndexed.java(lookBehind),(length): New method.
32588         * gnu/regexp/CharIndexedCharArray.java
32589         (lookBehind),(length): Implemented.
32590         * gnu/regexp/CharIndexedInputStream.java: Likewise.
32591         * gnu/regexp/CharIndexedString.java: Likewise.
32592         * gnu/regexp/CharIndexedStringBuffer.java: Likewise.
32593         * gnu/regexp/REToken.java(getMaximumLength): New method.
32594         * gnu/regexp/RE.java(internal constructor RE): Added new argument
32595         maxLength.
32596         (initialize): Parse (?<=X), (?<!X), (?>X).
32597         (getMaximumLength): Implemented.
32598         * gnu/regexp/RETokenAny.java(getMaximumLength): Implemented.
32599         * gnu/regexp/RETokenChar.java: Likewise.
32600         * gnu/regexp/RETokenEnd.java: Likewise.
32601         * gnu/regexp/RETokenEndSub.java: Likewise.
32602         * gnu/regexp/RETokenLookAhead.java: Likewise.
32603         * gnu/regexp/RETokenNamedProperty.java: Likewise.
32604         * gnu/regexp/RETokenOneOf.java: Likewise.
32605         * gnu/regexp/RETokenPOSIX.java: Likewise.
32606         * gnu/regexp/RETokenRange.java: Likewise.
32607         * gnu/regexp/RETokenRepeated.java: Likewise.
32608         * gnu/regexp/RETokenStart.java: Likewise.
32609         * gnu/regexp/RETokenWordBoundary.java: Likewise.
32610         * gnu/regexp/RETokenIndependent.java: New file.
32611         * gnu/regexp/RETokenLookBehind.java: New file.
32612   
32613 2006-02-06  Roman Kennke  <kennke@aicas.com>
32614   
32615         * java/awt/Component.java
32616         (firePropertyChange(String,byte,byte)): New method.
32617         (firePropertyChange(String,char,char)): New method.
32618         (firePropertyChange(String,short,short)): New method.
32619         (firePropertyChange(String,long,long)): New method.
32620         (firePropertyChange(String,float,float)): New method.
32621         (firePropertyChange(String,double,double)): New method.
32622
32623 2006-02-06  Roman Kennke  <kennke@aicas.com>
32624
32625         * javax/swing/JComponent.java
32626         (AccessibleJComponent.changeSupport): Changed to be a
32627         java.beans.PropertyChangeSupport rather than
32628         SwingPropertyChangeSupport.
32629         (AccessibleJComponent.AccessibleJComponent()): Change initialization
32630         of above field.
32631         (changeSupport): Removed unneeded field.
32632         (removePropertyChangeListener): Removed unneeded methods.
32633         (addPropertyChangeListener): Removed unneeded methods.
32634         (getPropertyChangeListeners): Removed unneeded methods.
32635         (firePropertyChange(String,boolean,boolean)): Changed to simply
32636         call super. Added specnote.
32637         (firePropertyChange(String,char,char)): Changed to simply
32638         call super. Added specnote.
32639         (firePropertyChange(String,int,int)): Changed to simply
32640         call super. Added specnote.
32641         (firePropertyChange(String,byte,byte)): Removed.
32642         (firePropertyChange(String,Object,Object)): Removed.
32643         (firePropertyChange(String,double,double)): Removed.
32644         (firePropertyChange(String,float,float)): Removed.
32645         (firePropertyChange(String,long,long)): Removed.
32646         (firePropertyChange(String,short,short)): Removed.
32647   
32648 2006-02-06  Roman Kennke  <kennke@aicas.com>
32649   
32650         * javax/swing/event/SwingPropertyChangeSupport.java
32651         (listeners): Removed field.
32652         (propertyListeners): Removed field.
32653         (source): Removed field.
32654         (SwingPropertyChangeSupport()): Removed initialization of removed
32655         fields.
32656         (addPropertyChangeListener): Removed methods.
32657         (removePropertyChangeListener): Removed methods.
32658         (getPropertyChangeListeners): Removed methods.
32659         (firePropertyChange): Removed methods.
32660         (hasListeners): Removed methods.
32661   
32662 2006-02-06  Jeroen Frijters  <jeroen@frijters.net>
32663   
32664         Fixes PR 25313
32665         * java/net/InetAddress.java
32666         (readResolve): Implemented.
32667   
32668 2006-02-06  Jeroen Frijters  <jeroen@frijters.net>
32669   
32670         Fixes PR 26121
32671         * java/io/ObjectInputStream.java
32672         (readNextBlock()): Handle TC_RESET.
32673   
32674 2006-02-06  Wolfgang Baer  <WBaer@gmx.de>
32675         
32676         * javax/print/attribute/standard/Compression.java,
32677         * javax/print/attribute/standard/Finishings.java, 
32678         * javax/print/attribute/standard/JobMediaSheets.java,
32679         * javax/print/attribute/standard/JobSheets.java,
32680         * javax/print/attribute/standard/JobState.java,
32681         * javax/print/attribute/standard/JobStateReason.java,
32682         * javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
32683         * javax/print/attribute/standard/PrintQuality.java,
32684         * javax/print/attribute/standard/Media.java,
32685         * javax/print/attribute/standard/MultipleDocumentHandling.java,
32686         * javax/print/attribute/standard/PrinterStateReason.java,
32687         * javax/print/attribute/standard/PDLOverrideSupported.java: 
32688         (getName): Make method final.
32689         (getCategory): Likewise.
32690         * javax/print/attribute/standard/MediaSize.java: 
32691         (getName): Make method final.
32692         (getCategory): Likewise.
32693         (ISO): Added private default constructor.
32694         (NA): Likewise.
32695         (JIS): Likewise.
32696         (Other): Likewise.
32697         (Engineering): Likewise.
32698
32699 2006-02-06  Wolfgang Baer  <WBaer@gmx.de>
32700         
32701         * native/jni/java-net/javanet.c (_javanet_connect):
32702         Throw ConnectException instead of IOException if connection failed.
32703         * native/jni/java-net/javanet.h:
32704         Add a define for java.net.ConnectException
32705   
32706 2006-02-05  Mark Wielaard  <mark@klomp.org>
32707   
32708         Fixes bug #26101
32709         reported by Egon Willighagen <egon.willighagen@gmail.com>
32710         * javax/swing/DefaultListCellRenderer.java
32711         (getListCellRendererComponent): Turn null value into empty string.
32712   
32713 2006-02-04  Ito Kazumitsu  <kaz@maczuka.gcd.org>
32714   
32715         * gnu/regexp/RETokenNamedProperty.java(getHandler): Check for
32716         a Unicode block if the name starts with "In".
32717         (UnicodeBlockHandler): New inner class.
32718   
32719 2006-02-04  Roman Kennke  <kennke@aicas.com>
32720   
32721         * java/awt/Container.java
32722         (getComponentZOrder): New method.
32723         (setComponentZOrder): New method.
32724         * javax/swing/JLayeredPane.java
32725         (setPosition): Reimplemented to use setComponentZOrder().
32726         (getIndexOf): Reimplemented to use getComponentZOrder().
32727         (addImpl): Pass layerContraint to super call. Important for possibly
32728         installed layout managers.
32729         (swapComponents): Remove unneeded method.
32730
32731 2006-02-04  Raif S. Naffah  <raif@swiftdsl.com.au>
32732
32733         * gnu/java/security/jce/sig/DSSKeyPairGeneratorSpi.java: Implement
32734         DSAKeyPairGenerator.
32735         (initialize(int,SecureRandom)): Call initialize(keysize, false, random).
32736         (initialize(AlgorithmParameterSpec,SecureRandom)): More explicit error
32737         message.
32738         Surround call to adaptee in a try/catch.
32739         (initialize((DSAParams,SecureRandom)): New method.
32740         (initialize(int,boolean,SecureRandom)): New method.
32741         * gnu/java/security/jce/sig/KeyPairGeneratorAdapter.java: Extends
32742         KeyPairGenerator rather than KeyPairGeneratorSpi.
32743         (KeyPairGeneratorAdapter): Call super with algorithm name.
32744
32745 2006-02-04  Raif S. Naffah  <raif@swiftdsl.com.au>
32746
32747         * gnu/javax/crypto/sasl/srp/SRPServer.java (prng): New field.
32748         (getDefaultPRNG): New method.
32749         (parseO): Use method above.
32750         * gnu/javax/crypto/sasl/srp/SRPClient.java (prng): New field.
32751         (getDefaultPRNG): New method.
32752         (createO): Use method above.
32753         * gnu/javax/crypto/sasl/srp/KDF.java (prng): New class field.
32754         (nextByte): Use above field.
32755         * gnu/javax/crypto/pad/PKCS1_V1_5.java (selfTest): Use PRNG instance.
32756         * gnu/java/security/sig/rsa/RSA.java: New class field.
32757         (newR): Use above field
32758         * gnu/java/security/sig/rsa/EME_PKCS1_V1_5.java (prng): New field.
32759         (encode): Use field.above.
32760         * gnu/java/security/key/dss/FIPS186.java (prng): New field.
32761         (getDefaultPRNG): new method.
32762         (nextRandomBytes): Use above method.
32763         * gnu/java/security/key/rsa/RSAKeyPairGenerator.java: Likewise.
32764         * gnu/java/security/sig/BaseSignature.java: Likewise.
32765         * gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java: Likewise.
32766         * gnu/javax/crypto/key/dh/RFC2631.java: Likewise.
32767         * gnu/javax/crypto/key/srp6/SRPKeyPairGenerator.java: Likewise.
32768         * gnu/javax/crypto/key/BaseKeyAgreementParty.java: Likewise.
32769         * gnu/java/security/key/dss/DSSKeyPairGenerator.java (prng): New field.
32770         (getDefaultPRNG): new method.
32771         (nextRandomBytes): Use above method.
32772         (STRICT_DEFAULTS): new class field.
32773         (USE_DEFAULTS): more documentation to clarify behavior.
32774         (setup): amended to handle new attribute.
32775         * gnu/java/security/util/PRNG.java: New file.
32776   
32777 2006-02-03  Lillian Angel  <langel@redhat.com>
32778   
32779         * javax/swing/plaf/basic/BasicColorChooserUI.java:
32780         chooser field should be protected, not package-private. 
32781   
32782 2006-02-03  Lillian Angel  <langel@redhat.com>
32783         
32784         * javax/swing/text/DefaultStyledDocument.java
32785         (changeUpdate): Cleaned up code.
32786         (split): Likewise.
32787         (insertUpdate): Set offset to be equal to pos after
32788         insertContentTag call.
32789         (insertContentTag): If paragraph has no children, should use
32790         replace instead of Edit.
32791         (insertFracture): Moved around code to prevent any exception. Also,
32792         left side of tree should not be recreated if it has already been 
32793         edited. In that case, we should only be creating a new right branch
32794         when fracturing.
32795         (getEditForParagraphAndIndex): No need to check index. We should
32796         use the same edit for each paragraph.
32797   
32798 2006-02-03  Mark Wielaard  <mark@klomp.org>
32799   
32800         * javax/swing/event/SwingPropertyChangeSupport.java
32801         (propertyListeners): Change type to HashMap.
32802         (SwingPropertyChangeSupport): Allocate HashMap.
32803   
32804 2006-02-03  Raif S. Naffah  <raif@swiftdsl.com.au>
32805   
32806         * java/security/KeyPairGenerator.java (getInstance): Test for
32807         instanceof KeyPairGenerator before KeyPairGeneratorSpi.
32808   
32809 2006-02-02  Roman Kennke  <kennke@aicas.com>
32810   
32811         * javax/swing/RepaintManager.java
32812         Made fields private.
32813         (RepaintWorker.run): Enclosed work stuff in try finally block in
32814         order to clean up correctly if invalidation or painting fails,
32815         otherwise we would get no more RepaintWorkers onto the EventQueue.
32816         Also, now the RepaintWorker is marked 'dead' only after it has
32817         finished its work, avoid more than one RepaintWorker on the queue.
32818         (ComponentComparator.compareTo): Compare dirty rectangle sizes
32819         instead of hierarchy depths.
32820         (workDirtyComponents): Removed unused field.
32821         (repaintOrder): Removed unused field.
32822         (workRepaintOrder): Removed unused field.
32823         (workInvalidComponents): Removed unused field.
32824         (RepaintManager()): Removed initialization of removed fields.
32825         (addInvalidComponent): Fine tuned synchronization.
32826         (removeInvalidComponent): Fine tune synchronization.
32827         (addDirtyRegion): Short circuit invalid dirty regions. Fine tuned
32828         synchronization. Don't manager repaintOrder here.
32829         (insertRepaintOrder): Removed method.
32830         (markCompletelyClean): Fine tuned synchronization.
32831         (validateInvalidComponents): Dont use a working copy of the
32832         invalidComponents list, instead fine tuned synchronization on this
32833         list. Also, don't search validateRoot, this is already done in
32834         addInvalidComponent().
32835         (paintDirtyRegions): Compute repaint order here, based on size of
32836         damaged regions. Fine tuned synchronization. Avoid use of working
32837         copies of dirtyComponent.
32838   
32839 2006-02-02  Lillian Angel  <langel@redhat.com>
32840   
32841         * javax/swing/text/DefaultStyledDocument.java
32842         (insertUpdate): JoinNextDirection should push the 
32843         'next' paragraph on the stack.
32844   
32845 2006-02-02  Lillian Angel  <langel@redhat.com>
32846   
32847         * javax/swing/text/DefaultStyledDocument.java
32848         (insertUpdate): Rewrote code for Originate. This prevents
32849         leaves being created multiple times. If it is on the last 
32850         ElementSpec, the leaves need to be created right then; 
32851         otherwise, only a branch is created.
32852         (insertContentTag): Rewrote to add new leaf directly if
32853         this is a branch with no children. Otherwise, it
32854         recreates the remainder of the tree as before.
32855   
32856 2006-02-02  Ito Kazumitsu  <kaz@maczuka.gcd.org>
32857   
32858         * gnu/regexp/REMatch.java(REMatchList): New inner utility class
32859         for making a list of REMatch instances.
32860         * gnu/regexp/RETokenOneOf.java(match): Rewritten using REMatchList.
32861         * gnu/regexp/RETokenRepeated.java(findDoables): New method.
32862         (match): Rewritten using REMatchList.
32863         (matchRest): Rewritten using REMatchList.
32864   
32865 2006-02-02  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
32866   
32867         * examples/gnu/classpath/examples/CORBA/swing/x5/PlayingDesk.java 
32868         (friendsMove):  Call repaint() only after endOfGame is assigned.
32869   
32870 2006-02-02  Mark Wielaard  <mark@klomp.org>
32871   
32872         Fixes bug #25769 reported by Artemus Harper <subanark@gmail.com>
32873         * java/util/AbstractCollection.java (toString): Only use Iterator,
32874         check whether collection contains itself.
32875   
32876 2006-02-01  Casey Marshall  <csm@gnu.org>
32877   
32878         Partial fix for PR classpath/25143.
32879         * javax/crypto/EncryptedPrivateKeyInfo.java (algName): new field.
32880         (<init>): fill in `algName,' derive `algOid' from `algName.'
32881         (getOid): new method.
32882         (encode): embed NULL value for parameters if `params' is `null.'
32883   
32884 2006-02-01  Casey Marshall  <csm@gnu.org>
32885   
32886         Tag check and OTHER_NAME fixes suggested by Rafael Teixeira
32887         <monoman@gmail.com>.    
32888         * gnu/java/security/x509/ext/GeneralNames.java (<init>): fix tag
32889         check; fix OTHER_NAME parsing; fix DIRECTORY_NAME parsing.
32890   
32891 2006-02-01  Casey Marshall  <csm@gnu.org>
32892   
32893         toString fix suggested by Rafael Teixeira <monoman@gmail.com>.
32894         * gnu/java/security/der/DERValue.java
32895         (getLength, getEncoded, getEncodedLength): throw an exception,
32896         don't initialize `encoded' to a bogus value.
32897         (toString): return a more helpful string.
32898
32899         Partial fix for PR classpath/25144.
32900         * gnu/java/security/der/DERWriter.java (write): if the value is
32901         the pseudo-value used for CONSTRUCTED, write the encoded value
32902         directly.
32903         
32904 2006-02-01  Tom Tromey  <tromey@redhat.com>
32905   
32906         * java/security/Security.java (loadProviders): Use system class
32907         loader.
32908   
32909 2006-02-01  Mark Wielaard  <mark@klomp.org>
32910   
32911         * gnu/regexp/RE.java (getRETokenNamedProperty): Chain exception.
32912         * gnu/regexp/RETokenNamedProperty.java (LETTER, MARK, SEPARATOR,
32913         SYMBOL, NUMBER, PUNCTUATION, OTHER): New final byte[] fields.
32914         (getHandler): Check for grouped properties L, M, Z, S, N, P or C.
32915         (UnicodeCategoriesHandler): New private static class.
32916         
32917 2006-02-01  Lillian Angel  <langel@redhat.com>
32918   
32919         * javax/swing/text/DefaultStyledDocument.java:
32920         Removed unneeded fields.
32921         (insertUpdate): Removed field initialization.
32922         (insertContentTag): Rewrote part of function. Still
32923         not complete.
32924   
32925 2006-02-01  Lillian Angel  <langel@redhat.com>
32926   
32927         * javax/swing/text/DefaultStyledDocument.java
32928         (insertParagraph): Cleaned up code.
32929         (insertFirstContentTag): Fixed call to recreateLeaves.
32930         (insertContentTag): Added check to code to determine where
32931         content should be inserted with respect to next element.
32932         (createFracture): Removed check, recreateLeaves is called in 
32933         other places when needed.
32934         (recreateLeaves): Added new parameter for paragraph instead
32935         of checking the stack. Removed editing for newBranch, replaced
32936         with a replace call.
32937
32938 2006-02-01  Anthony Balkissoon  <abalkiss@redhat.com>
32939
32940         * doc/unicode/Blocks-4.0.0.txt: New file.
32941         * java/lang/Character.java: Regenerated inner class UnicodeBlock from 
32942         scripts/unicode-blocks.pl and doc/unicode/Blocks-4.0.0.txt.
32943         * scripts/unicode-blocks.pl: Copied this over from the generics branch
32944         but replaced some 1.5-only features (such as enum).
32945   
32946 2006-01-31  Roman Kennke  <kennke@aicas.com>
32947   
32948         * javax/swing/text/PasswordView.java
32949         (drawSelectedText): Use drawEchoCharacter() method to draw echo
32950         character.
32951         (drawUnselectedText): Use drawEchoCharacter() method to draw echo
32952         character.
32953   
32954 2006-01-31  Roman Kennke  <kennke@aicas.com>
32955   
32956         * javax/swing/JTextField.java
32957         (getPreferredSize): Also include textfield's insets in width
32958         calculation.
32959   
32960 2006-01-31  Roman Kennke  <kennke@aicas.com>
32961   
32962         * javax/swing/plaf/basic/BasicTextUI.java
32963         (getPreferredSize): Include the textcomponent's insets in
32964         preferredSize.
32965   
32966 2006-01-31  Roman Kennke  <kennke@aicas.com>
32967   
32968         * javax/swing/table/DefaultTableCellRenderer.java
32969         (getTableCellRendererComponent): Moved setting of the value into
32970         setValue(). Removed (bogus) special handling of JTextField values.
32971         (setValue): Made ?: statement more clear by rewriting it
32972         with if .. else.
32973   
32974 2006-01-31  Roman Kennke  <kennke@aicas.com>
32975   
32976         * javax/swing/JLayeredPane.java
32977         (insertIndexForLayer): Fixed algorithm to correctly determine
32978         inser index for positions >= 0.
32979         (addImpl): Fixed API docs for the index parameter.
32980   
32981 2006-01-31  Mark Wielaard  <mark@klomp.org>
32982   
32983         * java/net/URI.java (getURIGroup): Check for null to see whether
32984         group actually exists.
32985   
32986 2006-01-31  Lillian Angel  <langel@redhat.com>
32987   
32988         * javax/swing/text/DefaultStyledDocument.java
32989         (changeUpdate): Fixed calls to split to incorporate 
32990         new parameter.
32991         (insertParagraph): Likewise. Uses 0 as editIndex
32992         because inserting into a new paragraph.
32993         (insertContentTag): Fixed check to use 
32994         recreateLeaves. Added a FIXME comment.
32995         (split): Added a new parameter for edits.
32996   
32997 2006-01-31  Roman Kennke  <kennke@aicas.com>
32998   
32999         * javax/swing/plaf/basic/BasicRootPaneUI.java
33000         (installDefaults): Don't install a background color here.
33001   
33002 2006-01-31  Lillian Angel  <langel@redhat.com>
33003   
33004         * javax/swing/text/DefaultStyledDocument.java
33005         (insert): Removed comment.
33006         (insertUpdate): Added comment.
33007         (recreateLeaves): Removed call to push newBranch onto the
33008         stack. This does not need to be done here.
33009   
33010 2006-01-31  Chris Burdess  <dog@gnu.org>
33011   
33012         * gnu/xml/stream/SAXParser.java,
33013           gnu/xml/stream/UnicodeReader.java,
33014           gnu/xml/stream/XIncludeFilter.java,
33015           gnu/xml/stream/XMLParser.java: Fix case where resolved InputSource
33016           only resolved the system ID not the stream. Make some utility methods
33017           public and static for use by other private XML APIs.
33018         * java/lang/ClassNotFoundException.java: Ensure that initCause can be
33019           called without throwing IllegalStateException.
33020         * java/util/logging/SimpleFormatter.java: Write thrown exception if
33021           provided.
33022
33023 2006-01-31  Ito Kazumitsu  <kaz@maczuka.gcd.org>
33024
33025         Fixes bug #22873
33026         * gnu/regexp/REMatch(toString(int)): Throw IndexOutOfBoundsException
33027         for an invalid index and return null for a skipped group.
33028
33029 2006-01-31  Ito Kazumitsu  <kaz@maczuka.gcd.org>
33030
33031         Fixes bug #26002
33032         * gnu/regexp/gnu/regexp/RE.java(initialize): Parse /\p{prop}/.
33033         (NamedProperty): New inner class.
33034         (getNamedProperty): New method.
33035         (getRETokenNamedProperty): New Method.
33036         * gnu/regexp/RESyntax.java(RE_NAMED_PROPERTY): New syntax falg.
33037         * gnu/regexp/RETokenNamedProperty.java: New file.
33038
33039 2006-01-31  Roman Kennke  <kennke@aicas.com>
33040
33041         * javax/swing/plaf/PlainView.java
33042         (paint): Call drawLine with baseline coordinates.
33043         (drawLine): Documented and indented this method.
33044         (drawUnselecetedText): Documented and indented this method.
33045         * javax/swing/plaf/text/Utilites.java
33046         (drawTabbedText): The coordinates denote the baseline of the text
33047         not the upper left corner.
33048   
33049 2006-01-31  Roman Kennke  <kennke@aicas.com>
33050   
33051         * javax/swing/plaf/basic/BasicTextUI.java
33052         (createKeymap): Don't store KeyBindings[] as focusInputMap in
33053         UIManager. Added FIXME regarding the implementation of this method.
33054   
33055 2006-01-30  David Gilbert  <david.gilbert@object-refinery.com>
33056   
33057         * examples/gnu/classpath/examples/swing/ButtonDemo.java
33058         (ButtonDemo): Move content initialisation to new method,
33059         (initFrameContent): New method,
33060         (main): Call initFrameContent(),
33061         * examples/gnu/classpath/examples/swing/ComboBoxDemo.java: Likewise,
33062         * examples/gnu/classpath/examples/swing/FileChooserDemo.java: Likewise,
33063         * examples/gnu/classpath/examples/swing/ScrollBarDemo.java: Likewise,
33064         * examples/gnu/classpath/examples/swing/SliderDemo.java: Likewise,
33065         * examples/gnu/classpath/examples/swing/TextFieldDemo.java: Likewise.
33066   
33067 2006-01-30  David Gilbert  <david.gilbert@object-refinery.com>
33068   
33069         * examples/gnu/classpath/examples/swing/Demo.java
33070         (Demo): Set frame size,
33071         (mkButtonBar): Removed stacked sub-panels.
33072   
33073 2006-01-30  Lillian Angel  <langel@redhat.com>
33074   
33075         * javax/swing/text/DefaultStyledDocument.java:
33076         Added new fields.
33077         (insert): Initialized fields. Removed call to addEdit, 
33078         and created ElementEdit instead.
33079         (insertUpdate): Added check for fracturing. If the
33080         fracturing was not successful, we should push the
33081         last element back on the stack.
33082         (insertParagraph): Fixed call to getEditForParagraphAndIndex.
33083         Also, changed replace calls to use Edit.
33084         (insertFirstContentTag): Removed unneeded check and fixed call
33085         to recreateLeaves.
33086         (insertContent): Fixed check to use new fields. Added code in
33087         to check if leaves overlap.
33088         (createFracture): Fixed call to recreateLeaves.
33089         (recreateLeaves): Fixed code and cleaned it up a bit.
33090         (insertFracture): Set fracNotCreated field.
33091         (addEdit): Removed, this method is not needed.
33092   
33093 2006-01-30  Roman Kennke  <kennke@aicas.com>
33094   
33095         * javax/swing/JRootPane.java
33096         (RootLayout.prefSize): Removed caching for preferredSize.
33097         (RootLayout.invalidateLayout): Likewise.
33098         (RootLayout.preferredLayoutSize): Likewise.     
33099   
33100 2006-01-30  Roman Kennke  <kennke@aicas.com>
33101   
33102         PR classpath/26035
33103         * javax/swing/JFrame.java
33104         (frameInit): Handle the defaultLookAndFeelDecorated flag.
33105         * javax/swing/plaf/metal/MetalRootPaneUI.java
33106         (MetalFrameBorder): New inner class, provides the border for
33107         top level containers with L&F decorations.
33108         (MetalTitlePane): New inner class, provides the title pane for
33109         top level containers with L&F decorations.
33110         (MetalRootLayout): New inner class. Used to layout the root pane
33111         when L&F window decorations are enabled.
33112         (installUI): New method. Handles window decorations.
33113         (uninstallUI): New method. Handles window decorations.
33114         (propertyChange): Handles window decorations.
33115         (installWindowDecorations): New method. Handles window
33116         decorations.
33117         (uninstallWindowDecorations): New method. Handles window
33118         decorations.
33119         * javax/swing/plaf/metal/MetalLookAndFeel.java
33120         (getSupportsWindowDecorations): Overridden to return true.
33121
33122 2006-01-30  Mark Wielaard  <mark@klomp.org>
33123
33124         * javax/swing/JProgressBar.java (JProgressBar(int)): Document
33125         IllegalArgumentException when orientation is illegal.
33126         (JProgressBar(int, int, int)): Likewise and throw exception.
33127         (setOrientation): Likewise.
33128   
33129 2006-01-30  Roman Kennke  <kennke@aicas.com>
33130   
33131         * javax/swing/ViewportLayout.java
33132         (minimumLayoutSize): Rewritten to unconditionally return (4,4).
33133   
33134 2006-01-30  Mark Wielaard  <mark@klomp.org>
33135   
33136         * javax/swing/JProgressBar.java (orientation): Always set by
33137         constructor.
33138         (JProgressBar(int)): Document default on 'illegal' value.
33139         (JProgressBar(int, int, int)): Likewise and set orientation to
33140         HORIZONTAL when 'illegal'.
33141         (setOrientation): Likewise.
33142   
33143 2006-01-30  Roman Kennke  <kennke@aicas.com>
33144   
33145         * javax/swing/plaf/basic/BasicListUI.java
33146         (ListDataHandler.contentsChanged): Update the
33147         updateLayoutStateNeeded flag.
33148         (ListDataHandler.intervalAdded): Update the
33149         updateLayoutStateNeeded flag.
33150         (ListDataHandler.intervalRemoved): Update the
33151         updateLayoutStateNeeded flag.
33152         (PropertyChangeHandler.propertyChange): Correctly update the
33153         listeners on new list model.
33154         (maybeUpdateLayoutState): Don't consider the validation state
33155         of the list.
33156   
33157 2006-01-30  Mark Wielaard  <mark@klomp.org>
33158   
33159         * gnu/xml/transform/ApplyTemplatesNode.java (clone): Check whether
33160         sortKeys is null.
33161   
33162 2006-01-30  Roman Kennke  <kennke@aicas.com>
33163   
33164         * javax/swing/JLayeredPane.java
33165         (insertIndexForLayer): Fixed algorithm to correctly insert
33166         components within different layers and -1 position.
33167   
33168 2006-01-30  Mark Wielaard  <mark@klomp.org>
33169   
33170         * doc/api/Makefile.am (create_html): Add -validhtml.
33171   
33172 2006-01-30  Roman Kennke  <kennke@aicas.com>
33173   
33174         * javax/swing/JLayeredPane.java
33175         (insertIndexForLayer): Fixed algorithm to correctly insert
33176         components within same layer and -1 position.
33177   
33178 2006-01-30  Ito Kazumitsu  <kaz@maczuka.gcd.org>
33179   
33180         Fixes bug #24876
33181         * gnu/regexp/gnu/regexp/RE.java(REG_TRY_ENTIRE_MATCH):
33182         New execution flag.
33183         (getMatchImpl): if REG_TRY_ENTIRE_MATCH is set, add an
33184         implicit RETokenEnd at the end of the regexp chain.
33185         Do not select the longest match, but select the first match.
33186         (match): Do not take care of REMatch.empty.
33187         * gnu/regexp/REMatch.java(empty): To be used only in RETokenRepeated.
33188         * gnu/regexp/RETokenOneOf.java: Corrected a typo in a comment.
33189         * gnu/regexp/RETokenBackRef.java: Do not take care of REMatch.empty.
33190         * gnu/regexp/RETokenRepeated.java (match): Rewrote stingy matching.
33191         Do not take care of REMatch.empty. Set and check REMatch.empty
33192         when trying to match the single token.
33193
33194 2006-01-30  Mark Wielaard  <mark@klomp.org>
33195
33196         * java/awt/Cursor.java (toString): Include name and type.
33197
33198 2006-01-30  Raif S. Naffah  <raif@swiftdsl.com.au>
33199
33200         * gnu/javax/crypto/mac/HMac.java (clone): Clone ipadHash, opadHash, and
33201         the ipad buffer.
33202         * gnu/javax/crypto/mac/BaseMac.java (clone): Clone underlyingHash.
33203   
33204 2006-01-30  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
33205         
33206         PR 26027
33207         * javax/swing/plaf/basic/BasicListUI.java  (maybeUpdateLayoutState):
33208         Consider the validation state of the list. 
33209
33210 2006-01-29  Robert Schuster  <robertschuster@fsfe.org>
33211
33212         * gnu/java/beans/DefaultExceptionListener.java: Constant public field
33213         INSTANCE added.
33214         * java/beans/XMLDecoder.java:
33215         (setExceptionListener): Use shared DefaultExceptionListener
33216         instance.
33217         * java/beans/Encoder.java:
33218         (setExceptionListener): Use shared DefaultExceptionListener
33219         instance.
33220   
33221 2006-01-29  Roman Kennke  <kennke@aicas.com>
33222   
33223         * javax/swing/ScrollPaneLayout.java
33224         (minimumLayoutSize): Rewritten to match JDKs behaviour.
33225   
33226 2006-01-29  Mark Wielaard  <mark@klomp.org>
33227   
33228         * java/net/SocketPermission.java (setActions): Trim and lower case
33229         action.
33230   
33231 2006-01-29  Raif S. Naffah  <raif@swiftdsl.com.au>
33232   
33233         * gnu/java/security/util/Prime2.java (passEulerCriterion): Was
33234         incorrectly failing primality test for some known primes. Fixed.
33235         (passFermatLittleTheorem): Removed.
33236         (passMillerRabin): Removed.
33237         (isProbablePrime): Cache primes that pass the primality tests.
33238         Use BigInteger.isProbablePrime(int) for primality tests.
33239         (debugBI): New static debugging method.
33240   
33241 2006-01-28  Roman Kennke  <kennke@aicas.com>
33242   
33243         * javax/swing/plaf/basic/BasicListUI.java
33244         (updateLayoutState): Removed unneeded special case for VERTICAL.
33245   
33246 2006-01-28  Roman Kennke  <kennke@aicas.com>
33247   
33248         * javax/swing/plaf/basic/BasicListUI.java
33249         (getCellBounds): Determine correct list width when having a
33250         layoutOrientation of VERTICAL.
33251         (maybeUpdateLayoutState): Don't consider the validation state of
33252         the list.
33253   
33254 2006-01-28  Mark Wielaard  <mark@klomp.org>
33255   
33256         Reported by Dimitri Fontaine <dimitri@dalibo.com>
33257         * java/awt/print/NoPrinterJob.java: New (fake) class.
33258         * java/awt/print/PrinterJob.java (getPrinterJob): Return NoPrinterJob.
33259   
33260 2006-01-28  Mark Wielaard  <mark@klomp.org>
33261   
33262         * gnu/javax/crypto/mac/HMac.java (clone): Cast cloned ipad to byte[].
33263   
33264 2006-01-28  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
33265   
33266         * gnu/classpath/examples/swing/Demo.java (mkTree): Make a larger tree.
33267         (addChildren): New method.
33268   
33269 2006-01-28  Raif S. Naffah  <raif@swiftdsl.com.au>
33270   
33271         * gnu/javax/crypto/jce/mac/MacAdapter.java (MacAdapter(IMac, Map)): New
33272         constructor for cloning purposes.
33273         (clone): New implementation that ensures cloning.
33274         * gnu/javax/crypto/mac/HMac.java (clone): Implement Cloneable.
33275         * gnu/java/security/Registry.java: Changed value of GNU_SECURITY to
33276           "GNU".
33277   
33278 2006-01-27  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
33279   
33280         * javax/swing/plaf/basic/BasicTreeUI.java (updateCachedPreferredSize):
33281         Call updateCurrentVisiblePath.
33282   
33283 2006-01-27  Roman Kennke  <kennke@aicas.com>
33284   
33285         * examples/gnu/classpath/examples/swing/MiniDemo.java: New file.
33286   
33287 2006-01-27  Roman Kennke  <kennke@aicas.com>
33288   
33289         * examples/gnu/classpath/examples/swing/ButtonDemo.java
33290         (createContent): Only create new content if we don't have one
33291         already.
33292         * examples/gnu/classpath/examples/swing/ComboBoxDemo.java
33293         (createContent): Only create new content if we don't have one
33294         already.
33295         * examples/gnu/classpath/examples/swing/FileChooserDemo.java
33296         (createContent): Only create new content if we don't have one
33297         already.
33298         * examples/gnu/classpath/examples/swing/ScrollBarDemo.java
33299         (createContent): Only create new content if we don't have one
33300         already.
33301         * examples/gnu/classpath/examples/swing/SliderDemo.java
33302         (createContent): Only create new content if we don't have one
33303         already.
33304         * examples/gnu/classpath/examples/swing/TableDemo.java
33305         (createContent): Only create new content if we don't have one
33306         already.
33307         * examples/gnu/classpath/examples/swing/TextFieldDemo.java
33308         (createContent): Only create new content if we don't have one
33309         already.
33310   
33311 2006-01-27  Lillian Angel  <langel@redhat.com>
33312   
33313         * javax/swing/text/DefaultStyledDocument.java
33314         (insertFirstContentTag): Removed check, not needed. This
33315         still needs to be fixed for some cases. Added call to
33316         recreateLeaves.
33317         (createFracture): Added call to recreateLeaves.
33318         (recreateLeaves): New method used to recreate all the
33319         leaves after the initial insertion. This still needs 
33320         more work.
33321         (handleInsertAfterNewline): Removed else, not needed.
33322   
33323 2006-01-27  Roman Kennke  <kennke@aicas.com>
33324   
33325         * javax/swing/JLayeredPane.java
33326         (inserIndexForLayer): Fixed direction of search.
33327   
33328 2006-01-27  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
33329   
33330         * javax/swing/JTree.java (constructor): Put EXPANDED for the root 
33331         node into nodeStates.
33332   
33333 2006-01-27  Roman Kennke  <kennke@aicas.com>
33334   
33335         * javax/swing/JLayeredPane.java
33336         (FRAME_CONTENT_LAYER): Made field final.
33337         (componentToLayer): Made field private.
33338         (rectCache): Removed field.
33339         (layers): Removed field.
33340         (JLayeredPane()): Removed initialization of removed fields.
33341         (getLayer): Rewritten to make use of client properties in
33342         JComponents and to be more straighforward.
33343         (static getLayer): Rewritten to make use of client properties in
33344         JComponents.
33345         (layerToRange): Removed method.
33346         (incrLayer): Removed method.
33347         (decrLayer): Removed method.
33348         (highestLayer): Rewritten to be more straightforward.
33349         (lowestLayer): Rewritten to be more straightforward.
33350         (getPosition): Rewritten to be more straightforward.
33351         (getComponentsInLayer): Rewritten to be more straightforward.
33352         (getComponentCountInLayer): Rewritten to be more straightforward.
33353         (getIndexOf): Rewritten to be more straightforward.
33354         (inserIndexForLayer): Rewritten to be more straightforward.
33355         (remove): Rewritten to be more straightforward.
33356         (setLayer): Rewritten to be more straightforward.
33357         (addImpl): Rewritten to be more straightforward.
33358         (putLayer): Rewritten to be more straightforward.
33359
33360 2006-01-27  Anthony Balkissoon  <abalkiss@redhat.com>
33361
33362         * java/lang/Character.java:
33363         (offsetByCodePoints(CharSequence, int, int)): New API method.
33364         (offsetByCodePoints(char[], int, int, int, int)): Likewise.
33365         (toChars): Throw the Exception that the docs say we throw.
33366         (codePointAt): Fixed an off-by-one error in the bounds of the if 
33367         statement.
33368         * java/lang/String.java:
33369         (String(int[], int, int)): New API constructor.
33370   
33371 2006-01-27  Lillian Angel  <langel@redhat.com>
33372   
33373         * javax/swing/text/DefaultStyledDocument.java
33374         (insert): Moved this loop to insertUpdate.
33375         (insertUpdate): Likewise. Fixed variable
33376         names. Incremented pos if new paragraph
33377         is inserted.
33378         (split): Changed edits to use replace instead. Prevents
33379         assertion errors.
33380         (insertFirstContentTag): Removed else.
33381         (insertContentTag): Implemented else for JoinNextDirection.
33382         (createFracture): Fixed up code, still not fully complete.
33383         (insertFracture): Fixed to use return value from 
33384         recreateAfterFracture.
33385         (recreateAfterFracture): Changed to return an array of the
33386         elements to be added. This prevents an assertion error.
33387         (contains): New function checks if an element is already in 
33388         the Vector. Vector's contain function was not enough to use.
33389         (addAddedElement): Changed to use new contains function.
33390         (addAddedElements): Likewise.
33391         (addRemovedElement): Likewise.
33392         (addRemovedElements): Likewise.        
33393         
33394 2006-01-27  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
33395
33396         PR 25520
33397         * vm/reference/java/io/VMObjectInputStream.java (loaderAction.run):
33398         If no user class loaders found on the stack, return the thread 
33399         context class loader. (currentClassLoader): Explained.
33400   
33401 2006-01-27  Roman Kennke  <kennke@aicas.com>
33402   
33403         * java/awt/Container.java
33404         (swapComponents): Removed unspecified method.
33405         * javax/swing/JLayeredPane.java
33406         (setPosition): Reimplemented correctly.
33407         (swapComponents): New helper method.
33408   
33409 2006-01-27  Mark Wielaard  <mark@klomp.org>
33410   
33411         * configure.ac: Set version to 0.21-pre.
33412   
33413 2006-01-27  Roman Kennke  <kennke@aicas.com>
33414   
33415         PR classpath/25968
33416         * javax/swing/JComponent.java
33417         (findOverlapFreeParent): Improved the algorithm to make better use
33418         of the optimizedDrawingEnabled flag.
33419         * javax/swing/JLayeredPane.java
33420         (isOptimizedDrawingEnabled): Reimplemented to match the specs.
33421         * javax/swing/JViewport.java
33422         (computeBlit): Fixed check to decide if blitting is possible or not,
33423         so that it doesn't blit if nothing was scrolled (in order to
33424         update the buffer when the view updates itself).
33425   
33426 2006-01-27  Roman Kennke  <kennke@aicas.com>
33427   
33428         * javax/swing/plaf/metal/MetalFileChooserUI.java
33429         (createList): Don't set scrollbar policy.
33430   
33431 2006-01-27  Roman Kennke  <kennke@aicas.com>
33432   
33433         * javax/swing/plaf/basic/BasicPopupMenuUI.java
33434         (PopupMenuHandler.popupMenuWillBecomeInvisible):
33435         Fixed to also handle non-Swing toplevel containers.
33436         (PopupMenuHandler.popupMenuWillBecomeVisible):
33437         Fixed to also handle non-Swing toplevel containers.
33438         * javax/swing/Popup.java
33439         (JWindowPopup.JWindowPopup()): Correctly set parent window on
33440         popup.
33441   
33442 2006-01-27  Roman Kennke  <kennke@aicas.com>
33443   
33444         * javax/swing/plaf/basic/BasicInternalFrameUI.java
33445         (InternalFramePropertyChangeListener): Don't implement
33446         VetoableChangeListener.
33447         (InternalFramePropertyChangeListener.vetoableChange): Removed.
33448         (internalFrameVetoableChangeListener): Removed unneeded field.
33449         (installListeners): Don't install vetoableChangeListener.
33450         * javax/swing/event/DocumentEvent.java
33451         (EventType): Made class final.
33452   
33453 2006-01-27  Roman Kennke  <kennke@aicas.com>
33454   
33455         * javax/swing/SwingUtilities.java
33456         (calculateInsetArea): Removed unneeded method. The method
33457         calculateInnerArea has the same purpose and is actually specified.
33458         (calculateInnerArea): Rewritten to not use calculateInsetArea.
33459         * javax/swing/plaf/basic/BasicMenuItemUI.java
33460         (paintMenuItem): Use SwingUtilities.calculateInnerArea() instead
33461         of SwingUtilities.calculateInsetArea().
33462   
33463 2006-01-27  Roman Kennke  <kennke@aicas.com>
33464   
33465         * javax/swing/plaf/basic/BasicTreeUI.java
33466         (installDefaults): Removed requestFocusInWindow() call.
33467         * javax/swing/JComponent.java
33468         (requestFocusInWindow(boolean)): Made method protected.
33469         (printComponent): Made method protected.
33470         (printChildren): Made method protected.
33471         (printComponent): Made method protected.
33472         (printBorder): Made method protected.
33473   
33474 2006-01-27  Roman Kennke  <kennke@aicas.com>
33475   
33476         * javax/swing/AbstractButton.java
33477         (ButtonChangeListener.ButtonChangeListener()): Made constructor
33478         package private.
33479         * javax/swing/ImageIcon.java
33480         (component): Made field final.
33481         (tracker): Made field final.
33482         * javax/swing/JApplet.java
33483         (AccessibleJApplet.AccessibleJApplet): Made constructor protected.
33484         * javax/swing/JCheckBox.java
33485         (AccessibleJCheckBox.AccessibleJCheckBox): Made constructor
33486         protected.
33487         * javax/swing/JDialog.java
33488         (AccessibleJDialog.AccessibleJDialog): Made constructor protected.
33489         * javax/swing/JFrame.java
33490         (AccessibleJFrame.AccessibleJFrame): Made constructor protected.
33491         * javax/swing/JLayeredPane.java
33492         (AccessibleJLayered.AccessibleJLayeredPane): Made constructor
33493         protected.
33494         (DEFAULT_LAYER): Made field final.
33495         (PALETTE_LAYER): Made field final.
33496         (MODAL_LAYER): Made field final.
33497         (POPUP_LAYER): Made field final.
33498         (DRAG_LAYER): Made field final.
33499         * javax/swing/JMenu.java
33500         (ActionChangeListener): Made class private.
33501         * javax/swing/JOptionPane.java
33502         (UNITITIALIZED_VALUE): Made field final.
33503         * javax/swing/JPanel.java
33504         (AccessibleJPanel.AccessibleJPanel): Made constructor protected.
33505         * javax/swing/JPopupMenu.java
33506         (ActionChangeListener): Made class private.
33507         * javax/swing/JTree.java
33508         (paramString): Made method protected.
33509         * javax/swing/JViewport.java
33510         (AccessibleJViewport.AccessibleJViewport): Made constructor protected.
33511         * javax/swing/JWindow.java
33512         (AccessibleJWindow.AccessibleJWindow): Made constructor protected.
33513         * javax/swing/RepaintManager.java
33514         (RepaintWorker): Made class private.
33515   
33516 2006-01-27  Roman Kennke  <kennke@aicas.com>
33517   
33518         * gnu/java/awt/peer/swing/SwingComponentPeer.java
33519         (handleEvent): Removed debug statement.
33520   
33521 2006-01-27  Roman Kennke  <kennke@aicas.com>
33522   
33523         * java/awt/Component.java
33524         (coalescePaintEvents): Don't try to optimize coalescing. This hurts
33525         more than it helps.
33526   
33527 2006-01-26  Lillian Angel  <langel@redhat.com>
33528   
33529         * javax/swing/text/DefaultStyledDocument.java
33530         (createFracture): Commented out a known problem,
33531         added FIXME tag.
33532   
33533 2006-01-26  Lillian Angel  <langel@redhat.com>
33534   
33535         * javax/swing/text/DefaultStyledDocument.java
33536         (ElementBuffer): Added fields.
33537         (remove): Initialized pos.
33538         (change): Likewise.
33539         (insert): Likewise.
33540         (insertUpdate): Incremented pos. Fixed check, createFracture should
33541         be called on first tag if it is not ContentType.
33542         (insertFirstContentTag): Reworked to use proper offsets and
33543         set offset accordingly. This might need more work in the future.
33544         (insertContentTag): Likewise. Fixed to use pos, instead of 
33545         offset.
33546         (createFracture): Fixed to recreate other leaves. Still needs
33547         more work.
33548         (insertFracture): Reimplemented.
33549         (recreateAfterFracture): New method.
33550         (getParagraphElement): Reimplemented, more efficent.
33551
33552 2006-01-26  Christian Thalinger  <twisti@complang.tuwien.ac.at>
33553
33554         * native/jni/java-lang/java_lang_VMDouble.c (doubleToLongBits)
33555         (doubleToRawLongBits, longBitsToDouble): Swap the byte
33556         ordering for little-endian arms without VFP.
33557
33558 2006-01-26  Raif S. Naffah  <raif@swiftdsl.com.au>
33559
33560         PR classpath/25981
33561         * gnu/javax/crypto/jce/GnuCrypto.java (run): Added KeyGenerator entries.
33562
33563 2006-01-26  Mark Wielaard  <mark@klomp.org>
33564
33565         Fixes bug #25970 reported by Michael Kay <mike@saxonica.com>
33566         * java/math/BigDecimal.java (compareTo): Don't strip trailing zeros.
33567         Add trailing zeros to the fraction of the decimal with the smallest
33568         scale.
33569
33570 2006-01-26  Roman Kennke  <kennke@aicas.com>
33571
33572         * javax/swing/text/html/ObjectView.java: New file.
33573
33574 2006-01-26  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
33575
33576         * javax/swing/plaf/basic/BasicTreeUI.java (MouseHandler.mousePressed): 
33577         Call startEditing when appropriate.
33578         (WAIT_TILL_EDITING, EDIT, startEditTimer): New fields.
33579         (startEditing): Always edit if directly ordered from 
33580         MouseHandler.mousePressed.
33581         * javax/swing/tree/DefaultTreeCellEditor.java (CLICK_COUNT_TO_START): 
33582         New field. (createTreeCellEditor): Set click count to start.
33583         (getTreeCellEditorComponent): Assing realEditor directly.
33584
33585 2006-01-25  Casey Marshall  <csm@gnu.org>
33586
33587         Merging GNU Crypto and Jessie.
33588
33589         * NEWS: mention the merge in the 0.21 notes.
33590         * gnu/classpath/debug/Component.java (SSL_APPLICATION): removed.
33591         (SSL_RECORD_LAYER): new constants.
33592         * gnu/java/security/provider/Gnu.java (<init>): add new algorithms
33593         to provider.
33594         * resource/java/security/classpath.security: add new providers.
33595         * gnu/javax/crypto/assembly/Assembly.java,
33596         gnu/javax/crypto/assembly/Cascade.java,
33597         gnu/javax/crypto/assembly/CascadeStage.java,
33598         gnu/javax/crypto/assembly/CascadeTransformer.java,
33599         gnu/javax/crypto/assembly/DeflateTransformer.java,
33600         gnu/javax/crypto/assembly/Direction.java,
33601         gnu/javax/crypto/assembly/LoopbackTransformer.java,
33602         gnu/javax/crypto/assembly/ModeStage.java,
33603         gnu/javax/crypto/assembly/Operation.java,
33604         gnu/javax/crypto/assembly/PaddingTransformer.java,
33605         gnu/javax/crypto/assembly/Stage.java,
33606         gnu/javax/crypto/assembly/Transformer.java,
33607         gnu/javax/crypto/assembly/TransformerException.java,
33608         gnu/javax/crypto/cipher/Anubis.java,
33609         gnu/javax/crypto/cipher/BaseCipher.java,
33610         gnu/javax/crypto/cipher/Blowfish.java,
33611         gnu/javax/crypto/cipher/Cast5.java,
33612         gnu/javax/crypto/cipher/CipherFactory.java,
33613         gnu/javax/crypto/cipher/DES.java,
33614         gnu/javax/crypto/cipher/IBlockCipher.java,
33615         gnu/javax/crypto/cipher/IBlockCipherSpi.java,
33616         gnu/javax/crypto/cipher/Khazad.java,
33617         gnu/javax/crypto/cipher/NullCipher.java,
33618         gnu/javax/crypto/cipher/Rijndael.java,
33619         gnu/javax/crypto/cipher/Serpent.java,
33620         gnu/javax/crypto/cipher/Square.java,
33621         gnu/javax/crypto/cipher/TripleDES.java,
33622         gnu/javax/crypto/cipher/Twofish.java,
33623         gnu/javax/crypto/cipher/WeakKeyException.java,
33624         gnu/javax/crypto/jce/GnuCrypto.java,
33625         gnu/javax/crypto/jce/GnuSasl.java,
33626         gnu/javax/crypto/jce/PBKDF2SecretKeyFactory.java,
33627         gnu/javax/crypto/jce/cipher/AESSpi.java,
33628         gnu/javax/crypto/jce/cipher/ARCFourSpi.java,
33629         gnu/javax/crypto/jce/cipher/AnubisSpi.java,
33630         gnu/javax/crypto/jce/cipher/BlowfishSpi.java,
33631         gnu/javax/crypto/jce/cipher/Cast5Spi.java,
33632         gnu/javax/crypto/jce/cipher/CipherAdapter.java,
33633         gnu/javax/crypto/jce/cipher/DESSpi.java,
33634         gnu/javax/crypto/jce/cipher/KhazadSpi.java,
33635         gnu/javax/crypto/jce/cipher/NullCipherSpi.java,
33636         gnu/javax/crypto/jce/cipher/PBES2.java,
33637         gnu/javax/crypto/jce/cipher/RijndaelSpi.java,
33638         gnu/javax/crypto/jce/cipher/SerpentSpi.java,
33639         gnu/javax/crypto/jce/cipher/SquareSpi.java,
33640         gnu/javax/crypto/jce/cipher/TripleDESSpi.java,
33641         gnu/javax/crypto/jce/cipher/TwofishSpi.java,
33642         gnu/javax/crypto/jce/key/AnubisKeyGeneratorImpl.java,
33643         gnu/javax/crypto/jce/key/AnubisSecretKeyFactoryImpl.java,
33644         gnu/javax/crypto/jce/key/BlowfishKeyGeneratorImpl.java,
33645         gnu/javax/crypto/jce/key/BlowfishSecretKeyFactoryImpl.java,
33646         gnu/javax/crypto/jce/key/Cast5KeyGeneratorImpl.java,
33647         gnu/javax/crypto/jce/key/Cast5SecretKeyFactoryImpl.java,
33648         gnu/javax/crypto/jce/key/DESKeyGeneratorImpl.java,
33649         gnu/javax/crypto/jce/key/DESSecretKeyFactoryImpl.java,
33650         gnu/javax/crypto/jce/key/DESedeSecretKeyFactoryImpl.java,
33651         gnu/javax/crypto/jce/key/KhazadKeyGeneratorImpl.java,
33652         gnu/javax/crypto/jce/key/KhazadSecretKeyFactoryImpl.java,
33653         gnu/javax/crypto/jce/key/RijndaelKeyGeneratorImpl.java,
33654         gnu/javax/crypto/jce/key/RijndaelSecretKeyFactoryImpl.java,
33655         gnu/javax/crypto/jce/key/SecretKeyFactoryImpl.java,
33656         gnu/javax/crypto/jce/key/SecretKeyGeneratorImpl.java,
33657         gnu/javax/crypto/jce/key/SerpentKeyGeneratorImpl.java,
33658         gnu/javax/crypto/jce/key/SerpentSecretKeyFactoryImpl.java,
33659         gnu/javax/crypto/jce/key/SquareKeyGeneratorImpl.java,
33660         gnu/javax/crypto/jce/key/SquareSecretKeyFactoryImpl.java,
33661         gnu/javax/crypto/jce/key/TripleDESKeyGeneratorImpl.java,
33662         gnu/javax/crypto/jce/key/TwofishKeyGeneratorImpl.java,
33663         gnu/javax/crypto/jce/key/TwofishSecretKeyFactoryImpl.java,
33664         gnu/javax/crypto/jce/keyring/GnuKeyring.java,
33665         gnu/javax/crypto/jce/mac/HMacHavalSpi.java,
33666         gnu/javax/crypto/jce/mac/HMacMD2Spi.java,
33667         gnu/javax/crypto/jce/mac/HMacMD4Spi.java,
33668         gnu/javax/crypto/jce/mac/HMacMD5Spi.java,
33669         gnu/javax/crypto/jce/mac/HMacRipeMD128Spi.java,
33670         gnu/javax/crypto/jce/mac/HMacRipeMD160Spi.java,
33671         gnu/javax/crypto/jce/mac/HMacSHA160Spi.java,
33672         gnu/javax/crypto/jce/mac/HMacSHA256Spi.java,
33673         gnu/javax/crypto/jce/mac/HMacSHA384Spi.java,
33674         gnu/javax/crypto/jce/mac/HMacSHA512Spi.java,
33675         gnu/javax/crypto/jce/mac/HMacTigerSpi.java,
33676         gnu/javax/crypto/jce/mac/HMacWhirlpoolSpi.java,
33677         gnu/javax/crypto/jce/mac/MacAdapter.java,
33678         gnu/javax/crypto/jce/mac/OMacAnubisImpl.java,
33679         gnu/javax/crypto/jce/mac/OMacBlowfishImpl.java,
33680         gnu/javax/crypto/jce/mac/OMacCast5Impl.java,
33681         gnu/javax/crypto/jce/mac/OMacDESImpl.java,
33682         gnu/javax/crypto/jce/mac/OMacImpl.java,
33683         gnu/javax/crypto/jce/mac/OMacKhazadImpl.java,
33684         gnu/javax/crypto/jce/mac/OMacRijndaelImpl.java,
33685         gnu/javax/crypto/jce/mac/OMacSerpentImpl.java,
33686         gnu/javax/crypto/jce/mac/OMacSquareImpl.java,
33687         gnu/javax/crypto/jce/mac/OMacTripleDESImpl.java,
33688         gnu/javax/crypto/jce/mac/OMacTwofishImpl.java,
33689         gnu/javax/crypto/jce/mac/TMMH16Spi.java,
33690         gnu/javax/crypto/jce/mac/UHash32Spi.java,
33691         gnu/javax/crypto/jce/mac/UMac32Spi.java,
33692         gnu/javax/crypto/jce/params/BlockCipherParameters.java,
33693         gnu/javax/crypto/jce/params/DEREncodingException.java,
33694         gnu/javax/crypto/jce/params/DERReader.java,
33695         gnu/javax/crypto/jce/params/DERWriter.java,
33696         gnu/javax/crypto/jce/prng/ARCFourRandomSpi.java,
33697         gnu/javax/crypto/jce/prng/CSPRNGSpi.java,
33698         gnu/javax/crypto/jce/prng/FortunaImpl.java,
33699         gnu/javax/crypto/jce/prng/ICMRandomSpi.java,
33700         gnu/javax/crypto/jce/prng/UMacRandomSpi.java,
33701         gnu/javax/crypto/jce/spec/BlockCipherParameterSpec.java,
33702         gnu/javax/crypto/jce/spec/TMMHParameterSpec.java,
33703         gnu/javax/crypto/jce/spec/UMac32ParameterSpec.java,
33704         gnu/javax/crypto/key/BaseKeyAgreementParty.java,
33705         gnu/javax/crypto/key/GnuSecretKey.java,
33706         gnu/javax/crypto/key/IKeyAgreementParty.java,
33707         gnu/javax/crypto/key/IncomingMessage.java,
33708         gnu/javax/crypto/key/KeyAgreementException.java,
33709         gnu/javax/crypto/key/KeyAgreementFactory.java,
33710         gnu/javax/crypto/key/OutgoingMessage.java,
33711         gnu/javax/crypto/key/dh/DHKeyPairRawCodec.java,
33712         gnu/javax/crypto/key/dh/DiffieHellmanKeyAgreement.java,
33713         gnu/javax/crypto/key/dh/DiffieHellmanReceiver.java,
33714         gnu/javax/crypto/key/dh/DiffieHellmanSender.java,
33715         gnu/javax/crypto/key/dh/ElGamalKeyAgreement.java,
33716         gnu/javax/crypto/key/dh/ElGamalReceiver.java,
33717         gnu/javax/crypto/key/dh/ElGamalSender.java,
33718         gnu/javax/crypto/key/dh/GnuDHKey.java,
33719         gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java,
33720         gnu/javax/crypto/key/dh/GnuDHPrivateKey.java,
33721         gnu/javax/crypto/key/dh/GnuDHPublicKey.java,
33722         gnu/javax/crypto/key/dh/RFC2631.java,
33723         gnu/javax/crypto/key/srp6/SRP6Host.java,
33724         gnu/javax/crypto/key/srp6/SRP6KeyAgreement.java,
33725         gnu/javax/crypto/key/srp6/SRP6SaslClient.java,
33726         gnu/javax/crypto/key/srp6/SRP6SaslServer.java,
33727         gnu/javax/crypto/key/srp6/SRP6TLSClient.java,
33728         gnu/javax/crypto/key/srp6/SRP6TLSServer.java,
33729         gnu/javax/crypto/key/srp6/SRP6User.java,
33730         gnu/javax/crypto/key/srp6/SRPAlgorithm.java,
33731         gnu/javax/crypto/key/srp6/SRPKey.java,
33732         gnu/javax/crypto/key/srp6/SRPKeyPairGenerator.java,
33733         gnu/javax/crypto/key/srp6/SRPKeyPairRawCodec.java,
33734         gnu/javax/crypto/key/srp6/SRPPrivateKey.java,
33735         gnu/javax/crypto/key/srp6/SRPPublicKey.java,
33736         gnu/javax/crypto/keyring/AuthenticatedEntry.java,
33737         gnu/javax/crypto/keyring/BaseKeyring.java,
33738         gnu/javax/crypto/keyring/BinaryDataEntry.java,
33739         gnu/javax/crypto/keyring/CertPathEntry.java,
33740         gnu/javax/crypto/keyring/CertificateEntry.java,
33741         gnu/javax/crypto/keyring/CompressedEntry.java,
33742         gnu/javax/crypto/keyring/EncryptedEntry.java,
33743         gnu/javax/crypto/keyring/Entry.java,
33744         gnu/javax/crypto/keyring/EnvelopeEntry.java,
33745         gnu/javax/crypto/keyring/GnuPrivateKeyring.java,
33746         gnu/javax/crypto/keyring/GnuPublicKeyring.java,
33747         gnu/javax/crypto/keyring/IKeyring.java,
33748         gnu/javax/crypto/keyring/IPrivateKeyring.java,
33749         gnu/javax/crypto/keyring/IPublicKeyring.java,
33750         gnu/javax/crypto/keyring/MalformedKeyringException.java,
33751         gnu/javax/crypto/keyring/MaskableEnvelopeEntry.java,
33752         gnu/javax/crypto/keyring/MeteredInputStream.java,
33753         gnu/javax/crypto/keyring/PasswordAuthenticatedEntry.java,
33754         gnu/javax/crypto/keyring/PasswordEncryptedEntry.java,
33755         gnu/javax/crypto/keyring/PasswordProtectedEntry.java,
33756         gnu/javax/crypto/keyring/PrimitiveEntry.java,
33757         gnu/javax/crypto/keyring/PrivateKeyEntry.java,
33758         gnu/javax/crypto/keyring/Properties.java,
33759         gnu/javax/crypto/keyring/PublicKeyEntry.java,
33760         gnu/javax/crypto/mac/BaseMac.java,
33761         gnu/javax/crypto/mac/HMac.java,
33762         gnu/javax/crypto/mac/HMacFactory.java,
33763         gnu/javax/crypto/mac/IMac.java,
33764         gnu/javax/crypto/mac/MacFactory.java,
33765         gnu/javax/crypto/mac/MacInputStream.java,
33766         gnu/javax/crypto/mac/MacOutputStream.java,
33767         gnu/javax/crypto/mac/OMAC.java,
33768         gnu/javax/crypto/mac/TMMH16.java,
33769         gnu/javax/crypto/mac/UHash32.java,
33770         gnu/javax/crypto/mac/UMac32.java,
33771         gnu/javax/crypto/mode/BaseMode.java,
33772         gnu/javax/crypto/mode/CBC.java,
33773         gnu/javax/crypto/mode/CFB.java,
33774         gnu/javax/crypto/mode/CTR.java,
33775         gnu/javax/crypto/mode/EAX.java,
33776         gnu/javax/crypto/mode/ECB.java,
33777         gnu/javax/crypto/mode/IAuthenticatedMode.java,
33778         gnu/javax/crypto/mode/ICM.java,
33779         gnu/javax/crypto/mode/IMode.java,
33780         gnu/javax/crypto/mode/ModeFactory.java,
33781         gnu/javax/crypto/mode/OFB.java,
33782         gnu/javax/crypto/pad/BasePad.java,
33783         gnu/javax/crypto/pad/IPad.java,
33784         gnu/javax/crypto/pad/PKCS1_V1_5.java,
33785         gnu/javax/crypto/pad/PKCS7.java,
33786         gnu/javax/crypto/pad/PadFactory.java,
33787         gnu/javax/crypto/pad/SSL3.java,
33788         gnu/javax/crypto/pad/TBC.java,
33789         gnu/javax/crypto/pad/TLS1.java,
33790         gnu/javax/crypto/pad/WrongPaddingException.java,
33791         gnu/javax/crypto/prng/ARCFour.java,
33792         gnu/javax/crypto/prng/CSPRNG.java,
33793         gnu/javax/crypto/prng/Fortuna.java,
33794         gnu/javax/crypto/prng/ICMGenerator.java,
33795         gnu/javax/crypto/prng/IPBE.java,
33796         gnu/javax/crypto/prng/PBKDF2.java,
33797         gnu/javax/crypto/prng/PRNGFactory.java,
33798         gnu/javax/crypto/prng/UMacGenerator.java,
33799         gnu/javax/crypto/sasl/AuthInfo.java,
33800         gnu/javax/crypto/sasl/AuthInfoProviderFactory.java,
33801         gnu/javax/crypto/sasl/ClientFactory.java,
33802         gnu/javax/crypto/sasl/ClientMechanism.java,
33803         gnu/javax/crypto/sasl/ConfidentialityException.java,
33804         gnu/javax/crypto/sasl/IAuthInfoProvider.java,
33805         gnu/javax/crypto/sasl/IAuthInfoProviderFactory.java,
33806         gnu/javax/crypto/sasl/IllegalMechanismStateException.java,
33807         gnu/javax/crypto/sasl/InputBuffer.java,
33808         gnu/javax/crypto/sasl/IntegrityException.java,
33809         gnu/javax/crypto/sasl/NoSuchMechanismException.java,
33810         gnu/javax/crypto/sasl/NoSuchUserException.java,
33811         gnu/javax/crypto/sasl/OutputBuffer.java,
33812         gnu/javax/crypto/sasl/SaslEncodingException.java,
33813         gnu/javax/crypto/sasl/SaslInputStream.java,
33814         gnu/javax/crypto/sasl/SaslOutputStream.java,
33815         gnu/javax/crypto/sasl/SaslUtil.java,
33816         gnu/javax/crypto/sasl/ServerFactory.java,
33817         gnu/javax/crypto/sasl/ServerMechanism.java,
33818         gnu/javax/crypto/sasl/UserAlreadyExistsException.java,
33819         gnu/javax/crypto/sasl/anonymous/AnonymousClient.java,
33820         gnu/javax/crypto/sasl/anonymous/AnonymousServer.java,
33821         gnu/javax/crypto/sasl/anonymous/AnonymousUtil.java,
33822         gnu/javax/crypto/sasl/crammd5/CramMD5AuthInfoProvider.java,
33823         gnu/javax/crypto/sasl/crammd5/CramMD5Client.java,
33824         gnu/javax/crypto/sasl/crammd5/CramMD5Registry.java,
33825         gnu/javax/crypto/sasl/crammd5/CramMD5Server.java,
33826         gnu/javax/crypto/sasl/crammd5/CramMD5Util.java,
33827         gnu/javax/crypto/sasl/crammd5/PasswordFile.java,
33828         gnu/javax/crypto/sasl/plain/PasswordFile.java,
33829         gnu/javax/crypto/sasl/plain/PlainAuthInfoProvider.java,
33830         gnu/javax/crypto/sasl/plain/PlainClient.java,
33831         gnu/javax/crypto/sasl/plain/PlainRegistry.java,
33832         gnu/javax/crypto/sasl/plain/PlainServer.java,
33833         gnu/javax/crypto/sasl/srp/CALG.java,
33834         gnu/javax/crypto/sasl/srp/ClientStore.java,
33835         gnu/javax/crypto/sasl/srp/IALG.java,
33836         gnu/javax/crypto/sasl/srp/KDF.java,
33837         gnu/javax/crypto/sasl/srp/PasswordFile.java,
33838         gnu/javax/crypto/sasl/srp/SRP.java,
33839         gnu/javax/crypto/sasl/srp/SRPAuthInfoProvider.java,
33840         gnu/javax/crypto/sasl/srp/SRPClient.java,
33841         gnu/javax/crypto/sasl/srp/SRPRegistry.java,
33842         gnu/javax/crypto/sasl/srp/SRPServer.java,
33843         gnu/javax/crypto/sasl/srp/SecurityContext.java,
33844         gnu/javax/crypto/sasl/srp/ServerStore.java,
33845         gnu/javax/crypto/sasl/srp/StoreEntry.java,
33846         gnu/javax/net/ssl/Base64.java,
33847         gnu/javax/net/ssl/EntropySource.java,
33848         gnu/javax/net/ssl/NullManagerParameters.java,
33849         gnu/javax/net/ssl/PrivateCredentials.java,
33850         gnu/javax/net/ssl/SRPManagerParameters.java,
33851         gnu/javax/net/ssl/SRPTrustManager.java,
33852         gnu/javax/net/ssl/StaticTrustAnchors.java,
33853         gnu/javax/net/ssl/provider/Alert.java,
33854         gnu/javax/net/ssl/provider/AlertException.java,
33855         gnu/javax/net/ssl/provider/Certificate.java,
33856         gnu/javax/net/ssl/provider/CertificateRequest.java,
33857         gnu/javax/net/ssl/provider/CertificateType.java,
33858         gnu/javax/net/ssl/provider/CertificateVerify.java,
33859         gnu/javax/net/ssl/provider/CipherSuite.java,
33860         gnu/javax/net/ssl/provider/ClientHello.java,
33861         gnu/javax/net/ssl/provider/ClientKeyExchange.java,
33862         gnu/javax/net/ssl/provider/CompressionMethod.java,
33863         gnu/javax/net/ssl/provider/Constructed.java,
33864         gnu/javax/net/ssl/provider/ContentType.java,
33865         gnu/javax/net/ssl/provider/Context.java,
33866         gnu/javax/net/ssl/provider/DiffieHellman.java,
33867         gnu/javax/net/ssl/provider/DigestInputStream.java,
33868         gnu/javax/net/ssl/provider/DigestOutputStream.java,
33869         gnu/javax/net/ssl/provider/Enumerated.java,
33870         gnu/javax/net/ssl/provider/Extension.java,
33871         gnu/javax/net/ssl/provider/Extensions.java,
33872         gnu/javax/net/ssl/provider/Finished.java,
33873         gnu/javax/net/ssl/provider/GNUSecurityParameters.java,
33874         gnu/javax/net/ssl/provider/Handshake.java,
33875         gnu/javax/net/ssl/provider/JCESecurityParameters.java,
33876         gnu/javax/net/ssl/provider/JDBCSessionContext.java,
33877         gnu/javax/net/ssl/provider/Jessie.java,
33878         gnu/javax/net/ssl/provider/JessieDHPrivateKey.java,
33879         gnu/javax/net/ssl/provider/JessieDHPublicKey.java,
33880         gnu/javax/net/ssl/provider/JessieRSAPrivateKey.java,
33881         gnu/javax/net/ssl/provider/JessieRSAPublicKey.java,
33882         gnu/javax/net/ssl/provider/KeyPool.java,
33883         gnu/javax/net/ssl/provider/MacException.java,
33884         gnu/javax/net/ssl/provider/OverflowException.java,
33885         gnu/javax/net/ssl/provider/PRNG.java,
33886         gnu/javax/net/ssl/provider/ProtocolVersion.java,
33887         gnu/javax/net/ssl/provider/Random.java,
33888         gnu/javax/net/ssl/provider/RecordInput.java,
33889         gnu/javax/net/ssl/provider/RecordInputStream.java,
33890         gnu/javax/net/ssl/provider/RecordOutputStream.java,
33891         gnu/javax/net/ssl/provider/RecordingInputStream.java,
33892         gnu/javax/net/ssl/provider/SRPTrustManagerFactory.java,
33893         gnu/javax/net/ssl/provider/SSLHMac.java,
33894         gnu/javax/net/ssl/provider/SSLRSASignature.java,
33895         gnu/javax/net/ssl/provider/SSLRandom.java,
33896         gnu/javax/net/ssl/provider/SSLServerSocket.java,
33897         gnu/javax/net/ssl/provider/SSLServerSocketFactory.java,
33898         gnu/javax/net/ssl/provider/SSLSocket.java,
33899         gnu/javax/net/ssl/provider/SSLSocketFactory.java,
33900         gnu/javax/net/ssl/provider/SSLSocketInputStream.java,
33901         gnu/javax/net/ssl/provider/SSLSocketOutputStream.java,
33902         gnu/javax/net/ssl/provider/SecurityParameters.java,
33903         gnu/javax/net/ssl/provider/ServerHello.java,
33904         gnu/javax/net/ssl/provider/ServerKeyExchange.java,
33905         gnu/javax/net/ssl/provider/Session.java,
33906         gnu/javax/net/ssl/provider/SessionContext.java,
33907         gnu/javax/net/ssl/provider/Signature.java,
33908         gnu/javax/net/ssl/provider/SynchronizedRandom.java,
33909         gnu/javax/net/ssl/provider/TLSHMac.java,
33910         gnu/javax/net/ssl/provider/TLSRandom.java,
33911         gnu/javax/net/ssl/provider/Util.java,
33912         gnu/javax/net/ssl/provider/X509KeyManagerFactory.java,
33913         gnu/javax/net/ssl/provider/X509TrustManagerFactory.java,
33914         gnu/javax/net/ssl/provider/XMLSessionContext.java,
33915         gnu/javax/security/auth/Password.java,
33916         gnu/javax/security/auth/callback/AWTCallbackHandler.java,
33917         gnu/javax/security/auth/callback/AbstractCallbackHandler.java,
33918         gnu/javax/security/auth/callback/ConsoleCallbackHandler.java,
33919         gnu/javax/security/auth/callback/DefaultCallbackHandler.java,
33920         gnu/javax/security/auth/callback/GnuCallbacks.java,
33921         gnu/javax/security/auth/callback/SwingCallbackHandler.java,
33922         gnu/java/security/Registry.java,
33923         gnu/java/security/Properties.java,
33924         gnu/java/security/hash/BaseHash.java,
33925         gnu/java/security/hash/HashFactory.java,
33926         gnu/java/security/hash/Haval.java,
33927         gnu/java/security/hash/IMessageDigest.java,
33928         gnu/java/security/hash/MD2.java,
33929         gnu/java/security/hash/MD4.java,
33930         gnu/java/security/hash/MD5.java,
33931         gnu/java/security/hash/RipeMD128.java,
33932         gnu/java/security/hash/RipeMD160.java,
33933         gnu/java/security/hash/Sha160.java,
33934         gnu/java/security/hash/Sha256.java,
33935         gnu/java/security/hash/Sha384.java,
33936         gnu/java/security/hash/Sha512.java,
33937         gnu/java/security/hash/Tiger.java,
33938         gnu/java/security/hash/Whirlpool.java,
33939         gnu/java/security/jce/hash/HavalSpi.java,
33940         gnu/java/security/jce/hash/MD2Spi.java,
33941         gnu/java/security/jce/hash/MD4Spi.java,
33942         gnu/java/security/jce/hash/MD5Spi.java,
33943         gnu/java/security/jce/hash/MessageDigestAdapter.java,
33944         gnu/java/security/jce/hash/RipeMD128Spi.java,
33945         gnu/java/security/jce/hash/RipeMD160Spi.java,
33946         gnu/java/security/jce/hash/Sha160Spi.java,
33947         gnu/java/security/jce/hash/Sha256Spi.java,
33948         gnu/java/security/jce/hash/Sha384Spi.java,
33949         gnu/java/security/jce/hash/Sha512Spi.java,
33950         gnu/java/security/jce/hash/TigerSpi.java,
33951         gnu/java/security/jce/hash/WhirlpoolSpi.java,
33952         gnu/java/security/jce/prng/HavalRandomSpi.java,
33953         gnu/java/security/jce/prng/MD2RandomSpi.java,
33954         gnu/java/security/jce/prng/MD4RandomSpi.java,
33955         gnu/java/security/jce/prng/MD5RandomSpi.java,
33956         gnu/java/security/jce/prng/RipeMD128RandomSpi.java,
33957         gnu/java/security/jce/prng/RipeMD160RandomSpi.java,
33958         gnu/java/security/jce/prng/SecureRandomAdapter.java,
33959         gnu/java/security/jce/prng/Sha160RandomSpi.java,
33960         gnu/java/security/jce/prng/Sha256RandomSpi.java,
33961         gnu/java/security/jce/prng/Sha384RandomSpi.java,
33962         gnu/java/security/jce/prng/Sha512RandomSpi.java,
33963         gnu/java/security/jce/prng/TigerRandomSpi.java,
33964         gnu/java/security/jce/prng/WhirlpoolRandomSpi.java,
33965         gnu/java/security/jce/sig/DSSKeyPairGeneratorSpi.java,
33966         gnu/java/security/jce/sig/DSSRawSignatureSpi.java,
33967         gnu/java/security/jce/sig/KeyPairGeneratorAdapter.java,
33968         gnu/java/security/jce/sig/RSAKeyPairGeneratorSpi.java,
33969         gnu/java/security/jce/sig/RSAPSSRawSignatureSpi.java,
33970         gnu/java/security/jce/sig/SignatureAdapter.java,
33971         gnu/java/security/key/IKeyPairCodec.java,
33972         gnu/java/security/key/IKeyPairGenerator.java,
33973         gnu/java/security/key/KeyPairCodecFactory.java,
33974         gnu/java/security/key/KeyPairGeneratorFactory.java,
33975         gnu/java/security/key/dss/DSSKey.java,
33976         gnu/java/security/key/dss/DSSKeyPairGenerator.java,
33977         gnu/java/security/key/dss/DSSKeyPairRawCodec.java,
33978         gnu/java/security/key/dss/DSSPrivateKey.java,
33979         gnu/java/security/key/dss/DSSPublicKey.java,
33980         gnu/java/security/key/dss/FIPS186.java,
33981         gnu/java/security/key/rsa/GnuRSAKey.java,
33982         gnu/java/security/key/rsa/GnuRSAPrivateKey.java,
33983         gnu/java/security/key/rsa/GnuRSAPublicKey.java,
33984         gnu/java/security/key/rsa/RSAKeyPairGenerator.java,
33985         gnu/java/security/key/rsa/RSAKeyPairRawCodec.java,
33986         gnu/java/security/prng/BasePRNG.java,
33987         gnu/java/security/prng/EntropySource.java,
33988         gnu/java/security/prng/IRandom.java,
33989         gnu/java/security/prng/LimitReachedException.java,
33990         gnu/java/security/prng/MDGenerator.java,
33991         gnu/java/security/prng/PRNGFactory.java,
33992         gnu/java/security/prng/RandomEvent.java,
33993         gnu/java/security/prng/RandomEventListener.java,
33994         gnu/java/security/sig/BaseSignature.java,
33995         gnu/java/security/sig/ISignature.java,
33996         gnu/java/security/sig/ISignatureCodec.java,
33997         gnu/java/security/sig/SignatureFactory.java,
33998         gnu/java/security/sig/dss/DSSSignature.java,
33999         gnu/java/security/sig/dss/DSSSignatureRawCodec.java,
34000         gnu/java/security/sig/rsa/EME_PKCS1_V1_5.java,
34001         gnu/java/security/sig/rsa/EMSA_PKCS1_V1_5.java,
34002         gnu/java/security/sig/rsa/EMSA_PSS.java,
34003         gnu/java/security/sig/rsa/RSA.java,
34004         gnu/java/security/sig/rsa/RSAPKCS1V1_5Signature.java,
34005         gnu/java/security/sig/rsa/RSAPSSSignature.java,
34006         gnu/java/security/sig/rsa/RSAPSSSignatureRawCodec.java,
34007         gnu/java/security/util/Base64.java,
34008         gnu/java/security/util/ExpirableObject.java,
34009         gnu/java/security/util/Prime2.java,
34010         gnu/java/security/util/Sequence.java,
34011         gnu/java/security/util/SimpleList.java,
34012         gnu/java/security/util/Util.java,
34013         resource/gnu/javax/security/auth/callback/MessagesBundle.properties:
34014         new files imported from GNU Crypto and Jessie.
34015
34016 2006-01-25  Tom Tromey  <tromey@redhat.com>
34017
34018         * gnu/java/net/protocol/http/ChunkedInputStream.java (read):
34019         Fixed calculation of number of bytes to read.
34020         (size, count, meta, eof): Document.
34021
34022 2006-01-25  Anthony Balkissoon  <abalkiss@redhat.com>
34023
34024         * java/lang/Character.java:
34025         (codePointCount(char[], int, int)): New API method.
34026         (codePointCount(CharSequence, int, int)): Likewise.
34027   
34028 2006-01-25  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
34029   
34030         PR 25205
34031         * javax/swing/DefaultCellEditor.java (getTreeCellEditorComponent): 
34032         Rewritten.
34033         * javax/swing/JTree.java (stopEditing, cancelEditing): Return without 
34034         action if not editing.
34035         * javax/swing/plaf/basic/BasicTreeUI.java 
34036         (CellEditorHandler.editingCancelled): Delegate to cancelEditing.
34037         (CellEditorHandler.editingStopped): Delegate to stopEditing.
34038         (EditorUpdateTimer): Removed.
34039         (TreeAction.actionPerformed): Stop and not cancel the current editing 
34040         when starting editing another node.
34041         (editorTimer, newVal): Removed.
34042         (cancelEditing): Do not send the cancel message.
34043         (completeEditing): Obtain the edited value from the editor.
34044         (finish): New method.
34045         (paintRow): Do not paint the editing component here.
34046         (startEditing, stopEditing): Rewritten.
34047         * javax/swing/tree/DefaultTreeCellEditor.java
34048         (DefaultTextField): Added SVUID.
34049         (EditorContainer): Rewritten.
34050         (RealEditorListener): New inner class.
34051         (ICON_TEXT_GAP, TREE_ICON_GAP: New constants).
34052         (constructor): Add cell editor listener. Do not instantiate timer.
34053         (actionPerformed): Return without action.
34054         (cancelCellEditing): Rewritten.
34055         (createTreeCellEditor): Add cell editor listener to the editor.
34056         (getCellEditorValue): Request the value from the realEditor.
34057         (isCellEditable): Removed timer management.
34058         (prepareForEditing): Remove all components befor adding the 
34059         editingComponent.
34060         (startEditingTimer): Start only if it is not null.
34061         (stopCellEditing): Rewritten.
34062         (stopEditingTimer): New method.
34063         (valueChanged): Do not configure editing component here.
34064   
34065 2006-01-25  Roman Kennke  <kennke@aicas.com>
34066   
34067         * javax/swing/text/html/FormView.java: New file.
34068   
34069 2006-01-25  Roman Kennke  <kennke@aicas.com>
34070   
34071         * javax/swing/JSplitPane.java
34072         (addImpl): Call resetToPreferredSizes() when no dividerLocation
34073         has been set in order to set an initial layout.
34074         * javax/swing/plaf/basic/BasicSplitPaneUI.java
34075         (BasicHorizontalLayoutManager.layoutContainer): Fixed error for
34076         layout of the right component.
34077         (BasicHorizontalLayoutManager.resetToPreferredSizes): Set the
34078         dividerLocation to the size of the left component.
34079         (createDefaultNonContinuousLayoutDivider): Fetch the color from
34080         the UIManager.
34081         (setDividerLocation): Don't validate the location here. Sometimes
34082         the divider needs to be set to an invalid location.
34083         (startDragging): Don't revalidate and repaint here.
34084         (finishDraggingTo): Don't repaint here. Also, don't call
34085         dragDividerTo() here.
34086         * javax/swing/plaf/basic/BasicLookAndFeel.java
34087         (initComponentDefaults): Added SplitPaneDivider.draggingColor
34088         default value.
34089   
34090 2006-01-25  Roman Kennke  <kennke@aicas.com>
34091   
34092         * javax/swing/JSplitPane.java
34093         (addImpl): Removed invalidate() and layout() call.
34094         * javax/swing/plaf/basic/BasicSplitPaneUI.java
34095         (PropertyHandler.propertyChange): Remove layoutContainer() and
34096         repaint() call.
34097   
34098 2006-01-25  Roman Kennke  <kennke@aicas.com>
34099   
34100         * configure.ac
34101         * native/Makefile.am
34102         * native/jni/classpath/Makefile.am
34103         * native/jni/classpath/jcl.c
34104         * native/jni/classpath/jcl.h
34105         * native/jni/classpath/native_state.c
34106         * native/jni/gtk-peer/Makefile.am
34107         * native/jni/java-io/Makefile.am
34108         * native/jni/java-io/java_io_VMFile.c
34109         * native/jni/java-io/java_io_VMObjectStreamClass.c
34110         * native/jni/java-lang/Makefile.am
34111         * native/jni/java-net/Makefile.am
34112         * native/jni/java-net/java_net_VMInetAddress.c
34113         * native/jni/java-net/javanet.c
34114         * native/jni/java-net/javanet.h
34115         * native/jni/java-nio/Makefile.am
34116         * native/jni/java-nio/gnu_java_nio_VMPipe.c
34117         * native/jni/java-nio/gnu_java_nio_VMSelector.c
34118         * native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c
34119         * native/jni/java-nio/java_nio_MappedByteBufferImpl.c
34120         * native/jni/java-nio/java_nio_VMDirectByteBuffer.c
34121         * native/jni/java-util/Makefile.am
34122         * native/jni/java-util/java_util_VMTimeZone.c
34123         * native/jni/midi-dssi/Makefile.am
34124         * native/jni/xmlj/Makefile.am
34125         * native/target/Makefile.am
34126         * native/target/Linux/target_native_math.h
34127         * native/target/Linux/target_native_memory.h
34128         * native/target/Linux/Makefile.am
34129         * native/target/Linux/target_native_io.h
34130         * native/target/Linux/target_native_math_float.h
34131         * native/target/Linux/target_native_math_int.h
34132         * native/target/generic/target_generic.c
34133         * native/target/generic/target_generic_io.c
34134         * native/target/generic/target_generic_math.h
34135         * native/target/generic/target_generic_memory.h
34136         * native/target/generic/target_generic_misc.c
34137         * native/target/generic/target_generic_network.c
34138         * native/target/generic/Makefile.am
34139         * native/target/generic/target_generic.h
34140         * native/target/generic/target_generic_file.h
34141         * native/target/generic/target_generic_io.h
34142         * native/target/generic/target_generic_math_float.h
34143         * native/target/generic/target_generic_math_int.h
34144         * native/target/generic/target_generic_misc.h
34145         * native/target/generic/target_generic_network.h:
34146         Reverted target native related changes back to the state of the
34147         0.20 release.
34148         * native/target/MinGW/.cvsignore
34149         * native/target/MinGW/Makefile.am
34150         * native/target/MinGW/target_native.h
34151         * native/target/MinGW/target_native_file.h
34152         * native/target/MinGW/target_native_io.h
34153         * native/target/MinGW/target_native_math.h
34154         * native/target/MinGW/target_native_memory.h
34155         * native/target/MinGW/target_native_misc.h
34156         * native/target/MinGW/target_native_network.h
34157         * native/target/RTEMS/.cvsignore
34158         * native/target/RTEMS/Makefile.am
34159         * native/target/RTEMS/target_native.h
34160         * native/target/RTEMS/target_native_file.h
34161         * native/target/RTEMS/target_native_io.h
34162         * native/target/RTEMS/target_native_math.h
34163         * native/target/RTEMS/target_native_memory.h
34164         * native/target/RTEMS/target_native_misc.h
34165         * native/target/RTEMS/target_native_network.h
34166         * native/target/SunOS/.cvsignore
34167         * native/target/SunOS/Makefile.am
34168         * native/target/SunOS/target_native.h
34169         * native/target/SunOS/target_native_file.h
34170         * native/target/SunOS/target_native_io.h
34171         * native/target/SunOS/target_native_math.h
34172         * native/target/SunOS/target_native_memory.h
34173         * native/target/SunOS/target_native_misc.h
34174         * native/target/SunOS/target_native_network.h
34175         * native/target/embOS/.cvsignore
34176         * native/target/embOS/Makefile.am
34177         * native/target/embOS/target_native.h
34178         * native/target/embOS/target_native_file.h
34179         * native/target/embOS/target_native_io.c
34180         * native/target/embOS/target_native_io.h
34181         * native/target/embOS/target_native_math.h
34182         * native/target/embOS/target_native_memory.h
34183         * native/target/embOS/target_native_misc.h
34184         * native/target/embOS/target_native_network.h
34185         * native/target/posix/.cvsignore
34186         * native/target/posix/Makefile.am
34187         * native/target/posix/target_posix.c
34188         * native/target/posix/target_posix.h
34189         * native/target/posix/target_posix_file.c
34190         * native/target/posix/target_posix_file.h
34191         * native/target/posix/target_posix_io.c
34192         * native/target/posix/target_posix_io.h
34193         * native/target/posix/target_posix_math.c
34194         * native/target/posix/target_posix_math.h
34195         * native/target/posix/target_posix_memory.c
34196         * native/target/posix/target_posix_memory.h
34197         * native/target/posix/target_posix_misc.c
34198         * native/target/posix/target_posix_misc.h
34199         * native/target/posix/target_posix_network.c
34200         * native/target/posix/target_posix_network.h:
34201         Removed.
34202   
34203 2006-01-24  Wolfgang Baer  <WBaer@gmx.de>
34204   
34205         * javax/print/PrintService.java,
34206         * javax/print/DocPrintJob.java,
34207         * javax/print/CancelablePrintJob.java:
34208         Added and enhanced api documentation for class and methods.             
34209
34210 2006-01-24  Wolfgang Baer  <WBaer@gmx.de>
34211
34212         * javax/print/SimpleDoc.java: Make class final.
34213         * javax/print/attribute/standard/PrinterIsAcceptingJobs.java: Likewise.
34214         * javax/print/attribute/DateTimeSyntax.java: 
34215         (toString): New overridden method.
34216         * javax/print/attribute/standard/JobStateReasons.java:
34217         (add): Use the super.add method to avoid recursion.
34218         * javax/print/attribute/standard/PrinterStateReasons.java: 
34219         (put): Use the super.put method to avoid recursion.
34220
34221 2006-01-24  Robert Schuster  <robertschuster@fsfe.org>
34222
34223         * java/beans/XMLEncoder.java:
34224         (writeExpression): Added early return (fixes PR #25941).
34225         (setExceptionListener, anonymous Class): Removed printStackTrace
34226         call.
34227         * java/beans/Encoder: Removed unused imports.
34228         (setupDefaultPersistenceDelegates): Removed unneccessary
34229         PersistenceDelegates for subclasses.
34230         * java/beans/PersistenceDelegate:
34231         (initialize): Use local variable as first argument as it was
34232         intended once.
34233         * java/beans/DefaultPersistenceDelegate:
34234         (initialize): Added call to superclass' implementation, added
34235         early return.
34236   
34237 2006-01-24  Tom Tromey  <tromey@redhat.com>
34238   
34239         * java/util/regex/PatternSyntaxException.java: Added @since.
34240         * java/util/regex/Matcher.java (Matcher): Implements MatchResult.
34241         * java/util/regex/MatchResult.java: New file.
34242   
34243 2006-01-24  David Gilbert  <david.gilbert@object-refinery.com>
34244   
34245         * javax/swing/text/StringContent.java: Added API docs all over, plus 
34246         minor reformatting.
34247   
34248 2006-01-24  Gary Benson  <gbenson@redhat.com>
34249   
34250         * java/net/SocketPermission.java: Implemented serialization.
34251   
34252 2006-01-24  David Gilbert  <david.gilbert@object-refinery.com>
34253   
34254         * javax/swing/text/StringContent.java
34255         (remove): Modified argument check to prevent removal of last character,
34256         (getChars): Removed null argument check to allow NullPointerException,
34257         added API docs,
34258         (checkLocation): Added API docs and white space.
34259   
34260 2006-01-23  Lillian Angel  <langel@redhat.com>
34261   
34262         * javax/swing/text/DefaultStyledDocument.java
34263         (insertUpdate): Should only call createFracture with 
34264         StartTagType. Added check.
34265         (insertContentTag): Should use the tags length for splitting.
34266         Also, added a check to determine if current's start and end offset are
34267         equal to the offset and endOffset. If so, only one leaf element
34268         should be added. 
34269         (createFracture): Removed FIXME. This function is complete.
34270         (split): Added calls to replace. Changed so the child is 
34271         added immediately to the paragraph. Prevents NPEs.
34272
34273 2006-01-23  Mark Wielaard  <mark@klomp.org>
34274
34275         * examples/Makefile.am (EXAMPLE_ZIP): Group cd and commands.
34276
34277 2006-01-23  Tom Tromey  <tromey@redhat.com>
34278
34279         * gnu/java/security/x509/X509Certificate.java (parse):
34280         Unconditionally read value; for version==1 case when reading
34281         algorithm ID.
34282
34283 2006-01-23  Roman Kennke  <kennke@aicas.com>
34284
34285         * javax/swing/plaf/synth/ColorType.java,
34286         * javax/swing/plaf/synth/Region.java,
34287         * javax/swing/plaf/synth/SynthConstants.java,
34288         * javax/swing/plaf/synth/SynthContext.java
34289         * javax/swing/plaf/synth/SynthGraphicsUtils.java,
34290         * javax/swing/plaf/synth/SynthLookAndFeel.java,
34291         * javax/swing/plaf/synth/SynthPainter.java,
34292         * javax/swing/plaf/synth/SynthStyle.java,
34293         * javax/swing/plaf/synth/SynthStyleFactory.java,
34294         * javax/swing/plaf/synth/package.html:
34295         New files. Added the public API and framework classes for the
34296         Synth look and feel.
34297   
34298 2006-01-23  David Gilbert  <david.gilbert@object-refinery.com>
34299   
34300         * javax/swing/text/Segment.java: API docs all over.
34301   
34302 2006-01-23  Lillian Angel  <langel@redhat.com>
34303   
34304         * javax/swing/text/DefaultStyledDocument.java
34305         (split): Should not use createLeafElement and createBranchElement here.
34306         We should just instaniate the LeafElements and BranchElements instead 
34307         to avoid the case where create*Element is overridden.
34308   
34309 2006-01-23  Lillian Angel  <langel@redhat.com>
34310   
34311         * javax/swing/text/DefaultStyledDocument.java
34312         (insertFirstContentTag): Moved check outside of if-statement.
34313         This should be checked before creating the new leaf element.
34314         (insertFracture): Fixed check to prevent an NPE. The previous
34315         leaf should only be recreated if it has been created by
34316         insertFirstContentTag. Also, fixed up code: if the endOffset is
34317         greater than the offset, then we need to create a temp leaf
34318         as a place holder. Otherwise, the leaf elements should be
34319         created normally.
34320   
34321 2006-01-23  Gary Benson  <gbenson@redhat.com>
34322   
34323         * java/net/SocketPermission.java: Almost completely rewritten.
34324   
34325 2006-01-23  Lillian Angel  <langel@redhat.com>
34326         
34327         * javax/swing/text/DefaultStyledDocument.java
34328         (insertFracture): Set temp leaf's attributes to prevent an NPE.
34329   
34330 2006-01-23  Lillian Angel  <langel@redhat.com>
34331   
34332         * javax/swing/text/DefaultStyledDocument.java:
34333         Formatted ElementBuffer and added new fields.
34334         (remove): Added check to determine if length is 0.
34335         (insertFirstContentTag): Initialized firstCreated to the element that is created 
34336         by the first tag encountered. Removed check in JoinPreviousDirection case, no
34337         longer needed. In OriginateDirection case, added a loop to remove all old leafs
34338         that have been recreated.
34339         (insertContentTag): Cleaned up code. Removed checks that did not do anything.
34340         (insertFracture): Fixed up code, removed unneeded objects and checks. Added
34341         FIXME tags to the lines that need to be rewritten.      
34342
34343 2006-01-23  Mark Wielaard  <mark@klomp.org>
34344
34345         * examples/Makefile.am: Add support for fastjar.
34346
34347 2006-01-23  Ito Kazumitsu  <kaz@maczuka.gcd.org>
34348
34349         * gnu/regexp/REToken.java(empty): Made Cloneable.
34350         * gnu/regexp/RETokenOneOf.java(match): RE.java(match):
34351         Use separate methods matchN and matchP depending on the
34352         boolean negative.
34353         (matchN): New method used when negative. Done as before.
34354         (matchP): New method used when not negative. Each token is
34355         tried not by itself but by a clone of it.
34356
34357 2006-01-23  Chris Burdess  <dog@gnu.org>
34358
34359         Fixes bug #25906
34360         * gnu/xml/dom/DomCharacterData.java: Use a separate empty node list
34361           class to avoid getLength method contention.
34362         * gnu/xml/stream/SAXParser.java: Rethrow correct exception.
34363
34364 2006-01-23  Chris Burdess  <dog@gnu.org>
34365
34366         * native/jni/java-util/Makefile.am: Include library required
34367           explicitly by BSD systems.
34368         * native/target/generic/target_generic_misc.h: Remove old commented
34369           out code.
34370         * native/target/generic/target_generic_network.h: Fallbacks (to
34371           SO_NOSIGPIPE and then 0) for non-portable glibc MSG_NOSIGNAL.
34372
34373 2006-01-22  Tom Tromey  <tromey@redhat.com>
34374
34375         * native/target/posix/.cvsignore: Added .deps.
34376
34377 2006-01-22  Mark Wielaard  <mark@klomp.org>
34378
34379         Fixes bug #25832,
34380         reported by James Damour <James.Damour@corp.request.com>
34381         * java/awt/Container.java (addImpl): Use empty string as name when
34382         null constraints for LayoutManager.addLayoutComponent().
34383
34384 2006-01-22  Chris Burdess  <dog@gnu.org>
34385
34386         Fixes bug #25903
34387         * gnu/xml/dom/DomDocumentBuilder.java: Default to using file URL
34388           representing current directory as base for relative URLs.
34389
34390 2006-01-22  Ito Kazumitsu  <kaz@maczuka.gcd.org>
34391
34392         Fixes bug #25837
34393         * gnu/regexp/REMatch.java(empty): New boolean indicating
34394         an empty string matched.
34395         * gnu/regexp/RE.java(match): Sets empty flag when an empty
34396         string matched.
34397         (initialize): Support back reference \10, \11, and so on.
34398         (parseInt): renamed from getEscapedChar and returns int.
34399         * gnu/regexp/RETokenRepeated.java(match): Sets empty flag
34400         when an empty string matched. Fixed a bug of the case where
34401         an empty string matched. Added special handling of {0}.
34402         * gnu/regexp/RETokenBackRef.java(match): Sets empty flag
34403         when an empty string matched. Fixed the case insensitive matching.
34404   
34405 2006-01-21  Roman Kennke  <kennke@aicas.com>
34406   
34407         * javax/swing/plaf/metal/MetalSplitPaneDivider.java
34408         (paint): Added painting of border if one is installed.
34409   
34410 2006-01-21  Roman Kennke  <kennke@aicas.com>
34411   
34412         PR classpath/25843:
34413         * javax/swing/plaf/basic/BasicBorders.java
34414         (getSplitPaneDividerBorder): Use new border constructor
34415         without arguments.
34416         (SplitPaneDividerBorder.highlight): Removed unneeded field.
34417         (SplitPaneDividerBorder.shadow): Removed unneeded field.
34418         (SplitPaneDividerBorder()): Changed constructor to do nothing. The
34419         colors are fetched dynamically in the paintBorder method.
34420         (SplitPaneDividerBorder.paintBorder): Fetch colors dynamically from
34421         the look and feel.
34422         (SplitPaneDividerBorder.isBorderOpaque): Returns true
34423         unconditionally.
34424         * javax/swing/plaf/basic/BasicLookAndFeel.java
34425         (initComponentDefaults): Added default for SplitPaneDivider.border.
34426         * javax/swing/plaf/basic/BasicSplitPaneDivider.java
34427         (tmpBorder): Removed unneeded inner class.
34428         (BasicSplitPaneDivider): Removed setting of border.
34429         (setSplitPaneUI): Don't add the mouse handler to the splitpane
34430         itself.
34431         * javax/swing/plaf/basic/BasicSplitPaneUI.java
34432         (BasicHorizontalLayoutManager.layoutContainer): Mostly rewritten
34433         to get behaviour right.
34434         (BasicHorizontalLayoutManager.distributeExtraSpace): Removed
34435         implementation. This must be rewritten since the layout now works
34436         slightly different (basically, it shouldn't modify the sizes[]
34437         here but instead the dividerLocation.
34438         (dividerLocation): New field.
34439         (installDefaults): Initialize border on divider.
34440         (uninstallDefaults): Only remove background color and border from
34441         splitPane if they are instances of UIDefaults (== not set by
34442         application).
34443         (setDividerLocation): Set the dividerLocation field instead of
34444         doing stunt acts here.
34445         (getDividerLocation): Return dividerLocation field.
34446         (getMinimumDividerLocation): Fixed calculation of minimum location.
34447         
34448 2006-01-21  Guilhem Lavaux  <guilhem@kaffe.org>
34449   
34450         * m4/acinclude.m4
34451         (CLASSPATH_WITH_GLIBJ): Add support for fastjar.
34452   
34453         * lib/Makefile.am: Likewise. 
34454   
34455 2006-01-21  Roman Kennke  <kennke@aicas.com>
34456   
34457         * javax/swing/PopupFactory.java
34458         (getPopup): If there is no Swing root found in any way, use a
34459         heavyweight popup. This is useful for mixed Swing/AWT GUIs, or
34460         for the Swing AWT peers.
34461   
34462 2006-01-20  Tom Tromey  <tromey@redhat.com>
34463   
34464         * gnu/java/net/protocol/http/HTTPURLConnection.java (connect):
34465         Read response body for redirect.
34466   
34467 2006-01-20  Chris Burdess  <dog@gnu.org>
34468   
34469         * gnu/java/net/protocol/http/HTTPURLConnection.java: Don't follow
34470           redirects on 304.
34471   
34472 2006-01-20  Lillian Angel  <langel@redhat.com>
34473   
34474         * javax/swing/text/DefaultStyledDocument.java
34475         (pad): Removed, not needed.
34476         (printElements): Likewise.
34477         (printEdit): Likewise.
34478   
34479 2006-01-20  Roman Kennke  <kennke@aicas.com>
34480   
34481         * javax/swing/text/DefaultFormatter.java
34482         (DefaultFormatter): Don't set a value class.
34483   
34484 2006-01-19  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
34485   
34486         * javax/swing/DefaultCellEditor.java: Commented.
34487   
34488 2006-01-19  Roman Kennke  <kennke@aicas.com>
34489   
34490         * javax/swing/JOptionPane.java
34491         Added cast to Frame for JDialog constructor.
34492   
34493 2006-01-19  Roman Kennke  <kennke@aicas.com>
34494   
34495         * javax/swing/JWindow.java
34496         (JWindow(Window)): Fixed to accept null owner argument.
34497         (JWindow(Window,GraphicsConfiguration)): Fixed to accept null
34498         owner argument.
34499         * javax/swing/SwingUtilities.java
34500         (getOwnerFrame): Owner parameter and return value are fixed to
34501         be of type Window for compatibity with the above JWindow
34502         constructor.
34503         * javax/swing/JDialog.java
34504         (JDialog): Added cast to Frame to make sure the correct constructor
34505         is called.
34506         * javax/swing/JFileChooser.java
34507         (createDialog): Added cast to Frame for JDialog constructor.
34508   
34509 2006-01-19  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
34510   
34511         * javax/swing/JTable.java (rowAtPoint): Rewritten.
34512   
34513 2006-01-19  Roman Kennke  <kennke@aicas.com>
34514   
34515         * javax/swing/JWindow.java: Added API docs to the constructors.
34516   
34517 2006-01-19  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
34518   
34519         * javax/swing/JTable.java: Commenting method headers.
34520         (EditorUpdateTimer): Removed.
34521   
34522 2006-01-19  Roman Kennke  <kennke@aicas.com>
34523   
34524         * javax/swing/JDialog.java
34525         (JDialog()): Call SwingUtilities.getOwnerFrame() with null.
34526         (JDialog(Frame,String,boolean,GraphicsConfiguration)): Call
34527         SwingUtilities.getOwnerFrame() with the owner argument.
34528         * javax/swing/JFileChooser.java
34529         (showOpenDialog(Component)): Call pack() on the dialog instead of
34530         setting a fixed height.
34531         (showSaveDialog()): Likewise.
34532         (showDialog()): Likewise.
34533         (createDialog): Call SwingUtilities.getOwnerFrame() with null.
34534         * javax/swing/JOptionPane.java: Call SwingUtilities.getOwnerFrame()
34535         with null.
34536         * javax/swing/JWindow.java
34537         (JWindow()): Call SwingUtilities.getOwnerFrame() with null.
34538         (JWindow(Frame)): Call SwingUtilities.getOwnerFrame() with owner
34539         argument.
34540         * javax/swing/SwingUtilities.java
34541         (getOwnerFrame): Changed to take a owner parameter that is returned
34542         as owner frame when not null.
34543   
34544 2006-01-19  Roman Kennke  <kennke@aicas.com>
34545   
34546         * gnu/java/awt/peer/swing/SwingFramePeer.java
34547         (handleMouseEvent): Fixed handling of mouse events.
34548         (handleMouseMotionEvent): Fixed handling of mouse events.
34549
34550 2006-01-19  Roman Kennke  <kennke@aicas.com>
34551
34552         * native/target/generic/target_generic_misc.c:
34553         (targetGenericMisc_formatString): Added missing method.
34554
34555 2006-01-19  Wolfgang Baer  <WBaer@gmx.de>
34556
34557         * m4/acinclude.m4: Test also for ecj found before exiting configure
34558         with no javac found error message. 
34559
34560 2006-01-19  Ito Kazumitsu  <kaz@maczuka.gcd.org>
34561
34562         Fixes bug #23212
34563         * gnu/regexp/RE.java(initialize): Support escaped characters such as
34564         \0123, \x1B, \u1234.
34565         (getEscapedChar): New method.
34566         (CharExpression): New inner class.
34567         (getCharExpression): New Method.
34568         * gnu/regexp/RESyntax.java(RE_OCTAL_CHAR, RE_HEX_CHAR,
34569         RE_UNICODE_CHAR): New syntax bits.
34570
34571 2006-01-19  Roman Kennke  <kennke@aicas.com>
34572
34573         * native/target/Makefile.am: Fixed so that posix stuff is really
34574         only built when requested.
34575
34576 2006-01-19  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
34577
34578         * javax/swing/JTable.java (editingStopped, editingCancelled):
34579         Repaint the edited cell.
34580         (setValueAt): Do not add the value object to this container.
34581         (editorTimer, rowBeingEdited, columnBeingEdited, oldCellValue): Removed.
34582         (editingStopped): Use editingRow, editingColumn and not
34583         rowBeingEdited, columnBeingEdited. (editValueAt): rewritten.
34584         (doLayout): Move the editor component, if present, into the new
34585         location and call repaint(). (moveToCellBeingEdited): new method.
34586         (TableTextField): new inner class.
34587         (getDefaultEditor): Instantiante TableTextField, not JTextField.
34588         (setValueAt): Repaint the changed segment.
34589         (createDefaultEditors): Implemented.
34590         (BooleanCellRenderer): Center the checkbox and use the default foreground
34591         and background colors.   
34592         * javax/swing/plaf/basic/BasicTableUI.java
34593         (paintCell): Do not paint the caret here. Do not accept unused parameters.
34594         (paint): No need to allocate rectangle for each cell.   
34595         * javax/swing/DefaultCellEditor.java: Rewritten.         
34596         * examples/gnu/classpath/examples/swing/Demo.java (mkTable):
34597         Use TableDemo.java table example.
34598         * examples/gnu/classpath/examples/swing/TableDemo.java: New file.
34599
34600 2006-01-19  Roman Kennke  <kennke@aicas.com>
34601
34602         * configure.ac: Added/fixed --enable-posix-layer option to enable
34603         build of posix layer.
34604         * native/target/Makefile.am: Added build for posix layer.
34605
34606 2006-01-19  Christian Thalinger  <twisti@complang.tuwien.ac.at>
34607
34608         * configure.ac: Set TARGET to Linux per default.
34609         * native/target/Makefile.am (libtarget_la_LIBADD): Removed
34610         libtargetos.la.
34611         * native/target/Linux/Makefile.am: Don't build a libtargetos.la.
34612         * native/target/generic/Makefile.am (INCLUDES): Renamed to
34613         AM_CPPFLAGS.
34614         
34615 2006-01-19  Raif S. Naffah  <raif@swiftdsl.com.au>
34616
34617         * java/security/interfaces/RSAMultiPrimePrivateCrtKey.java: Replaced
34618           what looked like proprietary documentation with original or new one.
34619         * java/security/spec/PSSParameterSpec.java: Likewise.
34620         * java/security/spec/RSAMultiPrimePrivateCrtKeySpec.java: Likewise.
34621         * java/security/spec/RSAOtherPrimeInfo.java: Likewise.
34622         * java/security/AlgorithmParameterGenerator.java: Likewise.
34623         * java/security/AlgorithmParameters.java: Likewise.
34624         * java/security/Identity.java: Likewise.
34625         * java/security/IdentityScope.java: Likewise.
34626         * java/security/KeyFactory.java: Likewise.
34627         * java/security/KeyPairGenerator.java: Likewise.
34628         * java/security/MessageDigest.java: Likewise.
34629         * java/security/Policy.java: Likewise.
34630         * java/security/ProtectionDomain.java: Likewise.
34631         * java/security/Security.java: Likewise.
34632         * java/security/Signature.java: Likewise.
34633         * java/security/SignatureSpi.java: Likewise.
34634         * java/security/SignedObject.java: Likewise.
34635         * java/security/Signer.java: Likewise.
34636   
34637 2006-01-18  Roman Kennke  <kennke@aicas.com>
34638   
34639         * configure.ac: Added --enable-posix-layer option to enable
34640         build of the posix target layer.
34641   
34642 2006-01-18  Roman Kennke  <kennke@aicas.com>
34643   
34644         * native/jni/java-net/java_net_VMInetAddress.c
34645         (Java_java_net_VMInetAddress_lookupInaddrAny): Use target native macro
34646         for INADDR_ANY.
34647   
34648 2006-01-18  Roman Kennke  <kennke@aicas.com>
34649   
34650         * native/jni/java-util/java_util_VMTimeZone.c:
34651         (Java_java_util_VMTimeZone_getSystemTimeZoneId): Rewritten
34652         to use target native layer.
34653         (jint_to_charbuf): Removed unneeded helper function.
34654   
34655 2006-01-18  Roman Kennke  <kennke@aicas.com>
34656   
34657         * native/jni/java-nio/gnu_java_nio_VMPipe.c:
34658         Removed unnecessary include.
34659         * native/jni/java-nio/gnu_java_nio_VMSelector.c:
34660         Reorganized includes to only include sys/* headers when available.
34661         * native/jni/java-nio/java_nio_MappedByteBufferImpl.c:
34662         (get_pagesize): Return 0 when nothing else works.
34663         (Java_java_nio_MappedByteBufferImpl_unmapImpl):
34664         Replaced munmap() and strerror() with corresponding target macros.
34665         (Java_java_nio_MappedByteBufferImpl_isLoadedImpl):
34666         Replaced strerror() with corresponding target macro.
34667         (Java_java_nio_MappedByteBufferImpl_forceImpl):
34668         Replaced strerror() with corresponding target macro.
34669         * native/jni/java-nio/java_nio_VMDirectByteBuffer.c:
34670         (Java_java_nio_VMDirectByteBuffer_allocate):
34671         Replaced malloc() with the corresponding target macro.
34672         (Java_java_nio_VMDirectByteBuffer_free):
34673         Replaced free() with the corresponding target macro.
34674         (Java_java_nio_VMDirectByteBuffer_put__Lgnu_classpath_Pointer_2IB):
34675         Add index to pointer when assigning the value.
34676         (Java_java_nio_VMDirectByteBuffer_get__Lgnu_classpath_Pointer_2I_3BII):
34677         Replaced memcpy with corresponding target macro. Add index when
34678         doing the memcpy, not when fetching the pointer.
34679         (Java_java_nio_VMDirectByteBuffer_put__Lgnu_classpath_Pointer_2I_3BII):
34680         Replaced memcpy with corresponding target macro.
34681         (Java_java_nio_VMDirectByteBuffer_shiftDown):
34682         Replaced memmove with the corresponding target macro.
34683
34684 2006-01-17  Tom Tromey  <tromey@redhat.com>
34685
34686         PR classpath/20198:
34687         * java/net/URLClassLoader.java (FileURLLoader): Added argument.
34688         (JarURLLoader): Likewise.
34689         (addURLImpl): Canonicalize file URLs.
34690
34691 2006-01-17  Christian Thalinger  <twisti@complang.tuwien.ac.at>
34692
34693         * configure.ac: Set TARGET.
34694         * native/Makefile.am, native/jni/classpath/Makefile.am,
34695         native/jni/gtk-peer/Makefile.am, native/jni/java-io/Makefile.am,
34696         native/jni/java-lang/Makefile.am, native/jni/java-net/Makefile.am,
34697         native/jni/java-nio/Makefile.am, native/jni/midi-dssi/Makefile.am,
34698         native/jni/xmlj/Makefile.am, native/target/Makefile.am,
34699         native/target/Linux/Makefile.am,
34700         native/target/generic/Makefile.am,
34701         native/target/posix/Makefile.am: Build libclasspath.so with jcl
34702         and target stuff linked in and link it against lib*.so libraries.
34703
34704 2006-01-17  Roman Kennke  <kennke@aicas.com>
34705
34706         * native/jni/java-net/javanet.c:
34707         (_javanet_connect): Changed type of some local variables to jint.
34708         Fixed error handling to throw a SocketTimeoutException if the
34709         connection attempt times out.
34710         (_javanet_bind): Changed type of some local variables to jint.
34711         (_javanet_accept): Likewise.
34712         (_javanet_recvfrom): Likewise.
34713         (_javanet_sendto): Fixed error handling to throw a
34714         PortUnreachableException when connection is refused.
34715         (_javanet_get_option): Changed type of some local variables to jint.
34716         Implemented SOCKOPT_SO_BROADCAST.
34717         (_javanet_shutdownInput): Replaced shutdown call with corresponding
34718         target native macro.
34719         (_javanet_shutdownOutput): Replaced shutdown call with corresponding
34720         target native macro.
34721         * native/jni/java-net/javanet.h:
34722         Defined SOCKET_TIMEOUT_EXCEPTION, PORT_UNREACHABLE_EXCEPTION and
34723         SOCKOPT_SO_BROADCAST.
34724   
34725 2006-01-17  Lillian Angel  <langel@redhat.com>
34726   
34727         * javax/swing/text/DefaultStyledDocument.java
34728         (insert): Cleaned up loop. No need to make so many calls
34729         to getAddedElements and getRemovedElements.
34730         (insertFracture): Removed unneeded array.
34731   
34732 2006-01-17  Lillian Angel  <langel@redhat.com>
34733         
34734         * javax/swing/text/JTextComponent.java
34735         (AccessibleJTextComponent): Implemented.
34736         (getCaretPosition): Implemented.
34737         (getSelectedText): Implemented.
34738         (getSelectionStart): Implemented.
34739         (getSelectionEnd): Implemented.
34740         (getSelectionEnd): Implemented.
34741         (getCharCount): Implemented.
34742         (insertTextAtIndex): Implemented.
34743         (getTextRange): Implemented.
34744         (delete): Implemented.
34745         (cut): Implemented.
34746         (paste): Implemented.
34747         (replaceText): Implemented.
34748         (selectText): Implemented.
34749   
34750 2006-01-17  Anthony Balkissoon  <abalkiss@redhat.com>
34751   
34752         * javax/swing/text/DefaultStyledDocument.java:
34753         (pad): New debugging method.
34754         (printElements): Likewise.
34755         (printPendingEdits): Likewise.
34756         (printElement): Likewise.
34757         (Edit): Improved docs, moved this class to be an inner class of
34758         ElementBuffer since it only applies within that scope.  Changed added 
34759         and removed to be Vectors instead of arrays because we need to be able 
34760         to add to them after construction.
34761         (ElementBuffer): Updated docs with link to article that helped in this
34762         classes implementation.
34763         (ElementBuffer.Edit.getRemovedElements): New method.
34764         (ElementBuffer.Edit.getAddedElements): Likewise.
34765         (ElementBuffer.Edit.addRemovedElement): Likewise.
34766         (ElementBuffer.Edit.addRemovedElements): Likewise.
34767         (ElementBuffer.Edit.addAddedElement): Likewise.
34768         (ElementBuffer.Edit.addAddedElements): Likewise.
34769         (ElementBuffer.Edit<init>): Improved docs, call addRemovedElements and 
34770         addAddedElements.
34771         (ElementBuffer.getEditForParagraphAndIndex): New method.
34772         (ElementBuffer.removeUpdate): Changed type of paragraph to 
34773         BranchElement.  Corrected style of adding the edit to use the new Edit
34774         facilities.
34775         (ElementBuffer.changeUpdate): Changed style of adding the edit to use
34776         the new Edit facilities.
34777         (ElementBuffer.split): Likewise.
34778         (ElementBuffer.insertParagraph): Likewise.
34779         (ElementBuffer.insertContentTag): Likewise.
34780         (ElementBuffer.insert): Push all BranchElements until the deepest one, 
34781         not just the root and the first one. Apply the structural changes to 
34782         the tree at the same time as updating the DocumentEvent.
34783         (ElementBuffer.insertUpdate): Fixed docs.  Removed the special case 
34784         handling of EndTags as the first ElementSpec.  Instead have to handle
34785         ContentTags as a special case if they are the first ElementSpec and if
34786         not have to fracture the tree.
34787         (ElementBuffer.createFracture): New method.  May not be complete yet.
34788         Added FIXME indicating what may remain to be done.
34789         (ElementBuffer.insertFirstContentTag): New method.
34790         (ElementBuffer.insertFracture): Added FIXME explaining what remains to
34791         be done.  Changed the adding of edits to use the new Edit facilities.
34792         Removed the adding of edits for Elements that weren't in the tree prior
34793         to the insertion.
34794         (insertUpdate): Removed incorrect condition for setting a StartTag's
34795         direction to JoinNextDirection.
34796         * javax/swing/text/StyleContent.java: 
34797         (SmallAttributeSet.toString): Fixed an off-by-one error in the loop 
34798         that was causing an ArrayOutOfBoundsException.
34799   
34800 2006-01-17  Roman Kennke  <kennke@aicas.com>
34801   
34802         * native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c:
34803         (Java_gnu_java_nio_channels_FileChannelImpl_init): Improved
34804         exception messages a little.
34805         (Java_gnu_java_nio_channels_FileChannelImpl_open): Provided
34806         alternative implementation for systems without filesystems.
34807         Replaced snprintf with the corresponding target native macro.
34808         (Java_gnu_java_nio_channels_FileChannelImpl_implCloseChannel):
34809         Only do something when we have a filesystem.
34810         (Java_gnu_java_nio_channels_FileChannelImpl_available): Provided
34811         alternative implementation for systems without filesystems.
34812         (Java_gnu_java_nio_channels_FileChannelImpl_size): Provided
34813         alternative implementation for systems without filesystems.
34814         (Java_gnu_java_nio_channels_FileChannelImpl_implPosition): Provided
34815         alternative implementation for systems without filesystems.
34816         (Java_gnu_java_nio_channels_FileChannelImpl_seek):
34817         Only do something when we have a filesystem.
34818         (Java_gnu_java_nio_channels_FileChannelImpl_implTruncate):
34819         Only do something when we have a filesystem.
34820         (Java_gnu_java_nio_channels_FileChannelImpl_mapImpl): Provided
34821         alternative implementation for systems without filesystems.
34822         (Java_gnu_java_nio_channels_FileChannelImpl_read__):
34823         Replaced ssize_t variables with jint. Provided
34824         alternative implementation for systems without filesystems.
34825         (Java_gnu_java_nio_channels_FileChannelImpl_read___3BII):
34826         Replaced ssize_t variables with jint. Provided
34827         alternative implementation for systems without filesystems.
34828         (Java_gnu_java_nio_channels_FileChannelImpl_write__I):
34829         Replaced ssize_t variables with jint. Provided
34830         alternative implementation for systems without filesystems.
34831         (Java_gnu_java_nio_channels_FileChannelImpl_force):
34832         Only do something when we have a filesystem.
34833         (Java_gnu_java_nio_channels_FileChannelImpl_write___3BII):
34834         Replaced ssize_t variables with jint. Provided
34835         alternative implementation for systems without filesystems.
34836         (Java_gnu_java_nio_channels_FileChannelImpl_lock): Reimplemented
34837         to use the corresponding target native macro.
34838         (Java_gnu_java_nio_channels_FileChannelImpl_unlock): Reimplemented
34839         to use the corresponding target native macro.
34840   
34841 2006-01-17  Lillian Angel  <langel@redhat.com>
34842   
34843         * javax/swing/text/DefaultTextUI.java:
34844         Added deprecated tag.
34845         * javax/swing/text/JTextComponent.java
34846         (AccessibleJTextComponent): Fixed API doc and
34847         partiall9 implemented.
34848         (getCaretPosition): Fixed API doc and implemented.
34849         (getSelectedText): Fixed API doc.
34850         (getSelectionStart): Likewise.
34851         (getSelectionEnd): Likewise.
34852         (caretUpdate): Fixed API doc and
34853         partially implemented.
34854         (getAccessibleStateSet): Likewise.
34855         (getAccessibleRole): Fixed API doc and implemented.
34856         (getAccessibleEditableText): Implemented.
34857         (getAccessibleText): Fixed API doc and implemented.
34858         (insertUpdate): Fixed API doc.
34859         (changedUpdate): Likewise.
34860         (getIndexAtPoint): Likewise.
34861         (getRootEditorRect): Removed.
34862         (getCharacterBounds): Fixed API doc.
34863         (getCharCount): Likewise.
34864         (getCharacterAttribute): Likewise.
34865         (getAtIndex): Likewise.
34866         (getAfterIndex): Likewise.
34867         (getBeforeIndex): Likewise.
34868         (getAccessibleActionCount): Added function stub.
34869         (getAccessibleActionDescription): Added function,
34870         partially implemented.
34871         (doAccessibleAction): Added function stub.
34872         (setTextContents): Likewise.
34873         (insertTextAtIndex): Likewise.
34874         (delete): Likewise.
34875         (cut): Likewise.
34876         (paste): Likewise.
34877         (replaceText): Likewise.
34878         (selectText): Likewise.
34879         (setAttributes): Likewise.
34880         (getAccessibleContext): Implemented.
34881   
34882 2006-01-17  Ito Kazumitsu  <kaz@maczuka.gcd.org>
34883   
34884         Fixes bug #25817
34885         * gnu/regexp/RETokenRange.java(constructor):
34886         Keep lo and hi as they are.
34887         (match): Changed the case insensitive comparison.
34888   
34889 2006-01-17  Ito Kazumitsu  <kaz@maczuka.gcd.org>
34890   
34891         * gnu/regexp/RETokenChar.java(chain):
34892         Do not concatenate tokens whose insens flags are diffent.
34893   
34894 2006-01-17  Roman Kennke  <kennke@aicas.com>
34895   
34896         * native/target/generic/target_generic_network.c:
34897         (targetGenericNetwork_receive): Fixed signature to match the
34898         corresponding .h file.
34899         (targetGenericNetwork_receiveWithAddressPort): Fixed signature
34900         to match the corresponding .h file.
34901   
34902 2006-01-17  Roman Kennke  <kennke@aicas.com>
34903   
34904         * native/jni/classpath/jcl.c:
34905         (JCL_malloc): Replaced calls to malloc with the corresponding
34906         target layer macro.
34907         (JCL_free): Replaced calls to free with the corresponding
34908         target layer macro.
34909         * native/jni/classpath/native_state.c:
34910         (cp_gtk_init_state_table_with_size): Replaced calls to malloc and
34911         calloc with the corresponding target layer macro.
34912         (remove_node): Replaced calls to free with the corresponding
34913         target layer macro.
34914         (add_node): Replaced calls to malloc with the corresponding
34915         target layer macro.
34916
34917 2006-01-17  Roman Kennke  <kennke@aicas.com>
34918
34919         * native/jni/java-io/java_io_VMObjectStreamClass.c:
34920         (getFieldReference): Use MALLOC/FREE macros for portability instead
34921         of direct call to malloc() and free().
34922
34923 2006-01-17  Roman Kennke  <kennke@aicas.com>
34924
34925         * native/jni/classpath/jcl.c: Added missing imports.
34926         (JCL_realloc): Fixed signature to include oldsize. This is needed
34927         for some targets. Make this function use the MEMORY_REALLOC macro
34928         for portability.
34929         * native/jni/classpath/jcl.h
34930         (JCL_realloc): Adjusted signature.
34931         * native/jni/java-io/java_io_VMFile.c:
34932         (Java_java_io_VMFile_create): Use target layer macro for handling
34933         errno, for portability.
34934         (Java_java_io_VMFile_length): Release filename string in error cases
34935         before returning.
34936         (Java_java_io_VMFile_list): Initialize filename variable. Use new
34937         version of JCL_realloc.
34938         * native/jni/java-net/java_net_VMInetAddress.c:
34939         (Java_java_net_VMInetAddress_getHostByName): Use renamed macro
34940         TARGET_NATIVE_NETWORK_GET_HOSTADDRESS_BY_NAME.
34941         * native/jni/java-net/javanet.c:
34942         (_javanet_bind): Make errorstr variable const to avoid compiler
34943         warning.
34944         (_javanet_set_option): Fixed typo.
34945         (_javanet_get_option): Fixed typo.
34946         * native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c:
34947         (Java_gnu_java_nio_channels_FileChannelImpl_open): Made
34948         error_string variable const to avoid compiler warning.
34949         * native/target/generic/target_generic_file.h:
34950         Replaced // comments with /* */ comments to avoid compiler warnings.
34951         Added some spaces to make code better readable.
34952         * native/target/generic/target_generic_memory.h:
34953         Replaced // comments with /* */ comments to avoid compiler warnings.
34954         * native/target/generic/target_generic_misc.c:
34955         Removed unused TARGET_NATIVE_MISC_FORMAT_STRING macro. This caused
34956         compiler warnings due to use of varargs.
34957         * native/target/generic/target_generic_misc.h:
34958         Removed unused TARGET_NATIVE_MISC_FORMAT_STRING macro. This caused
34959         compiler warnings due to use of varargs.
34960         * native/target/generic/target_generic_network.h:
34961         Replaced // comments with /* */ comments to avoid compiler warnings.
34962         (targetGenericNetwork_receive): Fixed signature to use signed chars
34963         for buffer parameter to avoid warning when passing a jbyte to the
34964         function.
34965   
34966 2006-01-17  David Gilbert  <david.gilbert@object-refinery.com>
34967   
34968         * javax/swing/text/StyleConstants.java
34969         (getAlignment): Removed isDefined() check, so that resolving parent is 
34970         used for lookup,
34971         (getBackground): Likewise, plus changed default value to Color.BLACK,
34972         (getBidiLevel): Removed isDefined() check,
34973         (getComponent): Likewise,
34974         (getFirstLineIndent): Likewise,
34975         (getFontFamily): Likewise,
34976         (getFontSize): Likewise,
34977         (getForeground): Likewise,
34978         (getIcon): Likewise,
34979         (getLeftIndent): Likewise,
34980         (getLineSpacing): Likewise,
34981         (getRightIndent): Likewise,
34982         (getSpaceAbove): Likewise,
34983         (getSpaceBelow): Likewise,
34984         (getTabSet): Likewise,
34985         (isBold): Likewise,
34986         (isItalic): Likewise,
34987         (isStrikeThrough): Likewise,
34988         (isSubscript): Likewise,
34989         (isSuperscript): Likewise,
34990         (isUnderline): Likewise.
34991
34992 2006-01-17  Gary Benson  <gbenson@redhat.com>
34993
34994         * java/lang/System.java (setSecurityManager): Catch
34995         ClassNotFoundException not Throwable.
34996
34997 2006-01-16  Anthony Green  <green@redhat.com>
34998
34999         PR classpath/25803
35000         * gnu/java/net/protocol/http/Request.java
35001           (createResponseBodyStream): Remove Content-Encoding for
35002           compressed streams.
35003   
35004 2006-01-16  Chris Burdess  <dog@gnu.org>
35005   
35006         * gnu/xml/stream/XMLParser.java,
35007           gnu/xml/stream/XMLStreamWriterImpl.java: Thoroughly check
35008           XMLStreamWriter arguments for conformance to the XML specifications.
35009         * gnu/xml/transform/Stylesheet.java,
35010           gnu/xml/transform/Template.java,
35011           gnu/xml/transform/TransformerImpl.java,
35012           gnu/xml/xpath/LangFunction.java,
35013           gnu/xml/xpath/Selector.java: better handling of template priorities;
35014           fix indents when pretty-printing; recursive tests for xml:lang.
35015         * gnu/xml/util/XHTMLWriter.java,
35016           gnu/xml/util/XMLWriter.java: Deprecate old serializer classes.
35017
35018 2006-01-16  Roman Kennke  <kennke@aicas.com>
35019
35020         * native/target/MinGW/.cvsignore: New file.
35021         * native/target/RTEMS/.cvsignore: New file.
35022         * native/target/SunOS/.cvsignore: New file.
35023         * native/target/embOS/.cvsignore: New file.
35024         * native/target/posix/.cvsignore: New file.
35025
35026 2006-01-16  David Gilbert  <david.gilbert@object-refinery.com>
35027
35028         * javax/swing/text/StyleConstants.java: Updated API docs all over.
35029
35030 2006-01-16  Roman Kennke  <kennke@aicas.com>
35031
35032         * configure.ac: Include new target native directories in build.
35033
35034 2006-01-16  Roman Kennke  <kennke@aicas.com>
35035
35036         * native/target/generic/target_generic_file.h: Added missing
35037         include.
35038         * native/target/generic/target_generic_network.c: Fixed several
35039         typos and includes.
35040         * native/target/generic/target_generic_network.h: Likewise.
35041
35042 2006-01-16  Roman Kennke  <kennke@aicas.com>
35043
35044         * native/target/Makefile.am: Adjusted SUBDIRS and DIST_SUBDIRS
35045         to include the new targets.
35046         * native/target/posix/Makefile.am: Fixed filenames.
35047
35048 2006-01-16  Roman Kennke  <kennke@aicas.com>
35049
35050         * native/target/Makefile.am: Include new targets.
35051         * native/target/Linux/Makefile.am: Include new memory layer.
35052         * native/target/MinGW/Makefile.am: New file. Includes MinGW in dist.
35053         * native/target/RTEMS/Makefile.am: New file. Includes RTEMS in dist.
35054         * native/target/SunOS/Makefile.am: New file. Includes SunOS in dist.
35055         * native/target/embOS/Makefile.am: New file. Includes embOS in dist.
35056         * native/target/generic/Makefile.am: Include new memory and math
35057         layer.
35058         * native/target/posix/Makefile.am: New file. Includes posix in dist.
35059   
35060 2006-01-16  Ito Kazumitsu  <kaz@maczuka.gcd.org>
35061   
35062         Fixes bug #22884
35063         * gnu/regexp/RE.java(initialize): Parse embedded flags.
35064         * gnu/regexp/RESyntax.java(RE_EMBEDDED_FLAGS): New syntax bit.
35065   
35066 2006-01-16  Roman Kennke  <kennke@aicas.com>
35067   
35068         * native/target/generic/target_generic_network.c: Fixed typo.
35069         * native/target/generic/target_generic_network.h: Fixed typo.
35070   
35071 2006-01-16  Nicolas Geoffray  <nicolas.geoffray@menlina.com>
35072   
35073         * doc/vmintegration.texinfo: Updated subsection of the
35074         java.lang.InstrumentationImpl documentation.
35075   
35076 2006-01-16  Roman Kennke  <kennke@aicas.com>
35077   
35078         * native/target/RTEMS/target_native.h,
35079         * native/target/RTEMS/target_native_file.h,
35080         * native/target/RTEMS/target_native_io.h,
35081         * native/target/RTEMS/target_native_math.h,
35082         * native/target/RTEMS/target_native_memory.h,
35083         * native/target/RTEMS/target_native_misc.h,
35084         * native/target/RTEMS/target_native_network.h:
35085         New files. Implement the target native layer for the RTEMS platform.
35086   
35087 2006-01-16  Roman Kennke  <kennke@aicas.com>
35088   
35089         * native/target/SunOS/target_native.h,
35090         * native/target/SunOS/target_native_file.h,
35091         * native/target/SunOS/target_native_io.h,
35092         * native/target/SunOS/target_native_math.h,
35093         * native/target/SunOS/target_native_memory.h,
35094         * native/target/SunOS/target_native_misc.h,
35095         * native/target/SunOS/target_native_network.h:
35096         New files. Implement the target native layer for the SunOS platform.
35097   
35098 2006-01-16  Roman Kennke  <kennke@aicas.com>
35099   
35100         * native/target/MinGW/target_native.h,
35101         * native/target/MinGW/target_native_file.h,
35102         * native/target/MinGW/target_native_io.h,
35103         * native/target/MinGW/target_native_math.h,
35104         * native/target/MinGW/target_native_memory.h,
35105         * native/target/MinGW/target_native_misc.h,
35106         * native/target/MinGW/target_native_network.h:
35107         New files. Implement the target native layer for the MinGW
35108         platform.
35109   
35110 2006-01-16  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
35111   
35112         PR 25770
35113         * javax/swing/DefaultCellEditor.java
35114         (delegate): Assign new instance immediately.
35115         (DefaultCellEditor(JTextField textfield)): Require 2 clicks.
35116         (getTableCellEditorComponent): Rewritten.
35117         (prepareAsJTextField):New method (add listener only once).
35118         * javax/swing/JTable.java
35119         (editingCanceled): Rewritten.
35120         (editingStopped ): Rewritten.
35121         (rowAtPoint): Mind row margin.
35122         (getCellRect): Mind row margin.
35123         (getDefaultEditor): Removing JTextComponent border.
35124         (editCellAt): Rewritten.
35125         * javax/swing/plaf/basic/BasicTableUI.java (MouseInputHandler):
35126         Activate editing mode by the mouse clicks.
35127         (getMaximumSize): Mind row margin.
35128         (getPreferredSize): Mind row margin.
35129         (TableAction): Added 'stop editing' command. 
35130
35131 2006-01-16  Roman Kennke  <kennke@aicas.com>
35132
35133         * jni/java-io/java_io_VMFile.c
35134         (Java_java_io_VMFile_list): Use new 4 argument version of
35135         TARGET_NATIVE_FILE_READ_DIR macro.
35136         * target/Linux/target_native_io.h: Fixed comment at #endif.
35137         * target/Linux/target_native_memory.h: New file. Contains
35138         portability macros for memory operations.
35139         * target/generic/target_generic.c: New file. Contains some functions
35140         for portability.
35141         * target/generic/target_generic.h: Use posix target and shorter macro
35142         names if CP_NEW is set. 
35143         * target/generic/target_generic_file.h: Use posix target and shorter
35144         macro names if CP_NEW is set.
35145         (TARGET_NATIVE_FILE_READ_DIR): New parameter for maxNameLength.
35146         * target/generic/target_generic_io.c: New file. Contains some
35147         functions for IO portability.
35148         * target/generic/target_generic_io.h: Use posix target and shorter
35149         macro names if CP_NEW is set.
35150         * target/generic/target_generic_misc.c: New file. Contains some
35151         functions for miscallaneaous portability issues.
35152         * target/generic/target_generic_misc.h: Use posix target and shorter
35153         macro names if CP_NEW is set.
35154         * target/generic/target_generic_network.c: New file. Contains some
35155         functions for networking portability.
35156         * target/generic/target_generic_network.h: Use posix target and
35157         shorter macro names if CP_NEW is set.
35158         * target/posix/Makefile.am,
35159         * target/posix/target_posix.c,
35160         * target/posix/target_posix.h,
35161         * target/posix/target_posix_file.c,
35162         * target/posix/target_posix_file.h,
35163         * target/posix/target_posix_io.c,
35164         * target/posix/target_posix_io.h,
35165         * target/posix/target_posix_math.c,
35166         * target/posix/target_posix_math.h,
35167         * target/posix/target_posix_memory.c,
35168         * target/posix/target_posix_memory.h,
35169         * target/posix/target_posix_misc.c,
35170         * target/posix/target_posix_misc.h,
35171         * target/posix/target_posix_network.c,
35172         * target/posix/target_posix_network.h:
35173         New files. This implements the target native layer macros for
35174         Posix-like systems.
35175
35176 2006-01-16  Gary Benson  <gbenson@redhat.com>
35177
35178         * java/net/SocketPermission.java (implies): Fix action checks.
35179
35180 2006-01-16  Roman Kennke  <kennke@aicas.com>
35181
35182         * native/target/generic/target_generic_math_float.h: Removed. This
35183         file has been replaced by target_generic_math.h.
35184         * native/target/generic/target_generic_math_int.h: Removed. This
35185         file has been replaced by target_generic_math.h.
35186         * native/target/generic/target_generic_math.h: New file. Replaces
35187         the old _int and _float versions.
35188         * native/target/Linux/target_native_math_float.h: Removed. This
35189         file has been replaced by target_native_math.h.
35190         * native/target/Linux/target_native_math_int.h: Removed. This
35191         file has been replaced by target_native_math.h.
35192         * native/target/Linux/target_native_math.h: New file. Replaces
35193         the old _int and _float versions.
35194         * native/target/Linux/Makefile.am: Adjusted for the changed
35195         filenames.
35196         * native/jni/java-io/java_io_VMFile.c: Include target_native_math.h
35197         instead of target_native_math_int.h.
35198         * native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c:
35199         Likewise.
35200         * native/target/generic/target_generic_file.h: Likewise.
35201   
35202 2006-01-16  David Gilbert  <david.gilbert@object-refinery.com>
35203   
35204         * javax/swing/text/MutableAttributeSet.java: Updated API docs all over.
35205   
35206 2006-01-16  David Gilbert  <david.gilbert@object-refinery.com>
35207   
35208         * javax/swing/text/SimpleAttributeSet.java
35209         (SimpleAttributeSet()): Initialise storage directly,
35210         (SimpleAttributeSet(AttributeSet)): Removed null check and documented
35211         NullPointerException,
35212         (containsAttribute): If key is found locally, don't check resolving
35213         parent if the value doesn't match,
35214         (getAttribute): Removed redundant instanceof and cast.
35215   
35216 2006-01-16  Gary Benson  <gbenson@redhat.com>
35217   
35218         * java/lang/System.java (setSecurityManager): Ensure policy
35219         files are loaded before a security manager is put in place.
35220   
35221 2006-01-16  David Gilbert  <david.gilbert@object-refinery.com>
35222   
35223         * javax/swing/text/SimpleAttributeSet.java: Updated API docs all over.
35224   
35225 2006-01-16  Wolfgang Baer  <WBaer@gmx.de>
35226   
35227         * javax/print/attribute/standard/MediaSize.java: 
35228         (static_initializer): Added comment.
35229         (MediaSize): Added javadoc to mention cache registration.
35230         (MediaSize): Likewise.
35231         (MediaSize): Likewise.
35232         (MediaSize): Likewise.
35233   
35234 2006-01-16  Raif S. Naffah  <raif@swiftdsl.com.au>
35235   
35236         PR classpath/25202
35237         * gnu/javax/security/auth/login/ConfigFileTokenizer.java: New class.
35238         * gnu/javax/security/auth/login/ConfigFileParser.java: New class.
35239         * gnu/javax/security/auth/login/GnuConfiguration.java: New class.
35240         * javax/security/auth/login/AppConfigurationEntry.java: Updated
35241           copyright year.
35242           (toString): Added method implementation.
35243           (LoginModuleControlFlag.toString): Removed class name from result.
35244         * javax/security/auth/login/Configuration.java: Updated copyright year.
35245           (getConfig(): replaced calls to NullConfiguration with
35246           GnuConfiguration.
35247
35248 2006-01-15  Tom Tromey  <tromey@redhat.com>
35249
35250         * javax/swing/text/html/HTMLDocument.java (parseBuffer): Genericized.
35251         * javax/swing/text/StyleContext.java (removeAttributes): Genericized.
35252         * java/beans/PersistenceDelegate.java (initialize): Genericized.
35253         * java/beans/Encoder.java (getPersistenceDelegate): Genericized.
35254         (setPersistenceDelegate): Likewise.
35255
35256 2006-01-15  Wolfgang Baer  <WBaer@gmx.de>
35257
35258         * javax/print/attribute/standard/PrinterStateReasons.java: 
35259         (printerStateReasonSet): Genericize the return type.
35260
35261 2006-01-15  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
35262
35263         * javax/swing/table/DefaultTableCellRenderer.java 
35264         (getTableCellRendererComponent): Render null as the empty cell.
35265
35266 2006-01-14  Anthony Green  <green@redhat.com>
35267
35268         * java/net/ServerSocket.java (accept): Remove bogus
35269         security check.
35270         (implAccept): Add FIXME comment.
35271
35272 2006-01-14  Wolfgang Baer  <WBaer@gmx.de>
35273
35274         Fixes bug #25387
35275         * javax/print/Doc.java: Added and enhanced documentation.
35276         * javax/print/SimpleDoc.java: New file. 
35277   
35278 2006-01-14  Wolfgang Baer  <WBaer@gmx.de>
35279   
35280         * javax/print/attribute/standard/MediaSize.java: 
35281         (Other.TABLOID): New MediaSize added in 1.5
35282   
35283 2006-01-14  Chris Burdess  <dog@gnu.org>
35284   
35285         * gnu/xml/stream/SAXParser.java: Ensure that parser is reset
35286           correctly when I/O and runtime exceptions occur during parsing.
35287   
35288 2006-01-13  Roman Kennke  <kennke@aicas.com>
35289   
35290         * gnu/java/awt/peer/swing/SwingButtonPeer.java,
35291         * gnu/java/awt/peer/swing/SwingCanvasPeer.java,
35292         * gnu/java/awt/peer/swing/SwingComponent.java,
35293         * gnu/java/awt/peer/swing/SwingComponentPeer.java,
35294         * gnu/java/awt/peer/swing/SwingContainerPeer.java,
35295         * gnu/java/awt/peer/swing/SwingFramePeer.java,
35296         * gnu/java/awt/peer/swing/SwingLabelPeer.java,
35297         * gnu/java/awt/peer/swing/SwingMenuBarPeer.java,
35298         * gnu/java/awt/peer/swing/SwingMenuItemPeer.java,
35299         * gnu/java/awt/peer/swing/SwingMenuPeer.java,
35300         * gnu/java/awt/peer/swing/SwingPanelPeer.java,
35301         * gnu/java/awt/peer/swing/SwingTextFieldPeer.java,
35302         * gnu/java/awt/peer/swing/SwingToolkit.java,
35303         * gnu/java/awt/peer/swing/SwingWindowPeer.java,
35304         * gnu/java/awt/peer/swing/package.html:
35305         New files. Implemented some basic AWT peers based on Swing.
35306   
35307 2006-01-13  Roman Kennke  <kennke@aicas.com>
35308   
35309         * java/awt/peer/ComponentPeer.java: Added API docs all over.
35310   
35311 2006-01-13  Roman Kennke  <kennke@aicas.com>
35312   
35313         * java/awt/MenuComponent.java: Reformatted to better match our
35314         coding style.
35315   
35316 2006-01-13  Roman Kennke  <kennke@aicas.com>
35317   
35318         * java/awt/Frame.java: Reformatted to better match our
35319         coding style.
35320   
35321 2006-01-13  Roman Kennke  <kennke@aicas.com>
35322   
35323         * java/awt/MenuBar.java
35324         (accessibleContext): Removed unnecessary field. This is already
35325         defined in MenuComponent.
35326         (setHelpMenu): Renamed the peer variable to myPeer because it was
35327         hiding a field of MenuComponent.
35328         (addNotify): Removed unnecessary cast.
35329   
35330 2006-01-13  Roman Kennke  <kennke@aicas.com>
35331   
35332         * java/awt/MenuBar.java: Reformatted to better match our
35333         coding style.
35334   
35335 2006-01-13  Roman Kennke  <kennke@aicas.com>
35336   
35337         * java/awt/MenuBar.java
35338         (frame): New field.
35339         (removeNotify): Clear frame field when beeing removed from the
35340         frame.
35341         * java/awt/Frame.java
35342         (setMenuBar): Store a reference of the frame in the MenuBar.
35343         * java/awt/MenuComponent.java
35344         (postEvent): Implemented to forward the call to the parent until
35345         a parent can handle the event.
35346         (dispatchEvent): Moved handling of old style events from
35347         dispatchEventImpl() to here.
35348         (dispatchEventImpl): Moved handling of old style events to
35349         dispatchEvent().
35350   
35351 2006-01-13  Roman Kennke  <kennke@aicas.com>
35352   
35353         * java/awt/Component.java
35354         (dispatchEvent): Moved handling of old style events from
35355         dispatchEventImpl() to this method.
35356         (translateEvent): Removed unnecessary cast.
35357         (dispatchEventImpl): Moved handling of old style events to
35358         dispatchEvent().
35359         
35360 2006-01-13  Lillian Angel  <langel@redhat.com>
35361   
35362         * javax/swing/text/DefaultStyledDocument.java
35363         (createDefaultRoot): Removed FIXME.
35364         (setLogicalStyle): Added fireUndoableEditUpdate call and 
35365         removed FIXME.
35366   
35367 2006-01-13  Lillian Angel  <langel@redhat.com>
35368   
35369         * javax/swing/text/DefaultStyledDocument.java
35370         (Edit): New inner class.
35371         (changeUpdate): Changed addEdit call to add a new
35372         instance of Edit to the edits Vector, so addEdits can
35373         be done later.
35374         (split): Likewise.
35375         (insertParagraph): Likewise.
35376         (insertFracture): Likewise.
35377         (insertContentTag): Likewise.
35378         (insert): Added loop to go through edits Vector and perform
35379         addEdit on each object.
35380   
35381 2006-01-13  Chris Burdess  <dog@gnu.org>
35382   
35383         * gnu/xml/transform/AbstractNumberNode.java,
35384           gnu/xml/transform/ApplyImportsNode.java,
35385           gnu/xml/transform/ApplyTemplatesNode.java,
35386           gnu/xml/transform/AttributeNode.java,
35387           gnu/xml/transform/CallTemplateNode.java,
35388           gnu/xml/transform/ChooseNode.java,
35389           gnu/xml/transform/CommentNode.java,
35390           gnu/xml/transform/CopyNode.java,
35391           gnu/xml/transform/CopyOfNode.java,
35392           gnu/xml/transform/DocumentFunction.java,
35393           gnu/xml/transform/ElementNode.java,
35394           gnu/xml/transform/ForEachNode.java,
35395           gnu/xml/transform/IfNode.java,
35396           gnu/xml/transform/LiteralNode.java,
35397           gnu/xml/transform/MessageNode.java,
35398           gnu/xml/transform/OtherwiseNode.java,
35399           gnu/xml/transform/ParameterNode.java,
35400           gnu/xml/transform/ProcessingInstructionNode.java,
35401           gnu/xml/transform/Stylesheet.java,
35402           gnu/xml/transform/Template.java,
35403           gnu/xml/transform/TemplateNode.java,
35404           gnu/xml/transform/TextNode.java,
35405           gnu/xml/transform/TransformerImpl.java,
35406           gnu/xml/transform/ValueOfNode.java,
35407           gnu/xml/transform/WhenNode.java,
35408           gnu/xml/xpath/NodeTypeTest.java,
35409           gnu/xml/xpath/Selector.java: simplified debugging output; ignore
35410           with-param parameters when template does not define parameters; apply
35411           conflict resolution for templates; strip whitespace on documents
35412           retrieved via document() function; allow node() to match document
35413           nodes.
35414
35415 2006-01-13  Mark Wielaard  <mark@klomp.org>
35416
35417         * doc/www.gnu.org/announce/20060113.wml: New file.
35418         * doc/www.gnu.org/newsitems.txt: Add 0.20 release announcement.
35419         * doc/www.gnu.org/downloads/downloads.wml: Add 0.20.
35420   
35421 2006-01-13  Lillian Angel  <langel@redhat.com>
35422   
35423         * javax/swing/text/DefaultStyledDocument.java:
35424         Removed unused fields.
35425         (insert): Removed unused fields.
35426         (endEdit): Removed, not needed.
35427         (insertUpdate): Removed call to endEdit.
35428         (prepareContentInsertion): Removed, not needed.
35429         (insertContentTag): Removed call to prepareContentInsertion.
35430         (printElements): Removed, not needed.
35431         (attributeSetsAreSame): Removed, not needed.
35432   
35433 2005-01-13  Mark Wielaard  <mark@klomp.org>
35434
35435         * java/lang/reflect/Modifier.java (toString(int, StringBuffer)):
35436         Duplicate of toString(int, StringBuilder).
35437
35438 2005-01-13  Mark Wielaard  <mark@klomp.org>
35439
35440         * configure.ac: Set version to 0.20.
35441         * NEWS: Add entries for all the new work done.
35442
35443 2005-01-13  Mark Wielaard  <mark@klomp.org>
35444
35445         * javax/swing/text/DefaultCaret.java: Chain all AssertionErrors.
35446
35447 2005-01-13  Mark Wielaard  <mark@klomp.org>
35448
35449         * java/util/regex/Pattern.java (Pattern): Chain REException.
35450
35451 2006-01-13  Chris Burdess  <dog@gnu.org>
35452
35453         * gnu/xml/xpath/NameTest.java: Removed debugging output.
35454
35455 2005-01-13  Jeroen Frijters  <jeroen@frijters.net>
35456
35457         * java/security/Security.java
35458         (getProperty): Added hack to skip security check when trusted
35459         code is direct caller.
35460
35461 2005-01-13  Jeroen Frijters  <jeroen@frijters.net>
35462
35463         * java/io/PrintStream.java
35464         (line_separator, PrintStream(OutputStream,boolean)): Use
35465         SystemProperties.
35466
35467 2005-01-13  Jeroen Frijters  <jeroen@frijters.net>
35468
35469         * gnu/java/nio/charset/Provider.java: Added comment about its
35470         special relation with CharsetProvider.
35471         (static): Removed.
35472         * gnu/java/nio/charset/iconv/IconvProvider.java: Added comment about
35473         its special relation with CharsetProvider.
35474         (static): Removed.
35475         * java/nio/charset/spi/CharsetProvider.java
35476         (CharsetProvider): Add special case to skip security check for
35477         built in providers.
35478
35479 2005-01-13  Mark Wielaard  <mark@klomp.org>
35480
35481         * javax/swing/JMenuItem.java (JMenuItem(Action)): Check whether
35482         name, accel, mnemonic and command are defined before setting.
35483
35484 2005-01-12  Mark Wielaard  <mark@klomp.org>
35485
35486         * javax/swing/plaf/metal/MetalFileChooserUI.java
35487         (FileRenderer.getListCellRendererComponent): Set empty name and null
35488         icon when File is null.
35489
35490 2006-01-13  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
35491
35492         * gnu/java/rmi/server/UnicastRef.java (newCall):
35493         Throw ConnectException after catching IOException.
35494
35495 2006-01-12  Lillian Angel  <langel@redhat.com>
35496
35497         * javax/swing/text/DefaultStyledDocument.java
35498         (insertUpdate): Removed unneeded check.
35499
35500 2006-01-12  Anthony Balkissoon  <abalkiss@redhat.com>
35501
35502         * javax/swing/text/DefaultStyledDocument.java:
35503         (ElementBuffer.insertContentTag): If the direction is JoinNextDirection
35504         and we haven't come immediately after a fracture, adjust the Element
35505         offsets.  Added comment explaining the situation.
35506         (insert): Return early if no ElementSpecs passed in.  Removed redundant
35507         call to insertUpdate.  Fired the UndoableEditUpdate.
35508
35509 2006-01-12  Ito Kazumitsu  <kaz@maczuka.gcd.org>
35510
35511         Fixes bug #22802
35512         * gnu/regexp/RE.java(initialize): Fixed the parsing of
35513         character classes within a subexpression.
35514
35515 2006-12-12  Lillian Angel  <langel@redhat.com>
35516
35517         * javax/swing/text/DefaultStyledDocument.java
35518         (insertUpdate): Added check to check if attribute set is 
35519         empty.
35520         (insertUpdate): Added check to determine if last character
35521         is a newline. If it is, we should not be fracturing.
35522         (insert): Added check to determine if attribute set is empty.
35523         If it is, insertUpdate should not be called.
35524
35525 2006-12-12  Guilhem Lavaux  <guilhem@kaffe.org>
35526
35527         * configure.ac: Check for isnan.
35528
35529         * native/fdlibm/fdlibm.h: If we have a isnan function then do not
35530         define the macro.
35531
35532 2006-01-12  Chris Burdess  <dog@gnu.org>
35533
35534         * gnu/xml/stream/XMLParser.java: Corrected the handling of some XML
35535           1.1 character ranges.
35536
35537 2006-01-12  Anthony Balkissoon  <abalkiss@redhat.com>
35538
35539         * javax/swing/TransferHandler.java:
35540         (TransferAction<init>): Call super constructor.  Fixes Mauve regression
35541         gnu/testlet/javax/swing/JTextField/CopyPaste.
35542
35543 2006-01-12  Christian Thalinger  <twisti@complang.tuwien.ac.at>
35544
35545         * resource/Makefile.am: Install 
35546         logging.properties into $(prefix)/lib.
35547         * resource/Makefile.am (securitydir): Changed to 
35548         $(prefix)/lib/security.
35549
35550 2006-01-12  Roman Kennke  <kennke@aicas.com>
35551
35552         * javax/swing/JTextField.java
35553         (createDefaultModel): Moved installation of the filterNewlines
35554         property to setDocument().
35555         (setDocument): New method. Installs the filterNewlines property
35556         on the document.
35557
35558 2006-01-12  Chris Burdess  <dog@gnu.org>
35559
35560         * gnu/xml/dom/DomNode.java,
35561           gnu/xml/transform/ElementAvailableFunction.java: Removed debugging
35562           output.
35563         * gnu/xml/xpath/NameTest.java,
35564           gnu/xml/xpath/NamespaceTest.java,
35565           gnu/xml/xpath/Selector.java: Fix regression for namespace axis
35566           navigation.
35567         * gnu/xml/transform/MessageNode.java: Use standard logging system
35568           for outputting messages.
35569
35570 2006-01-12  Tom Tromey  <tromey@redhat.com>
35571
35572         * java/net/InetAddress.java (DEFAULT_CACHE_SIZE): Removed.
35573         (DEFAULT_CACHE_PERIOD, DEFAULT_CACHE_PURGE_PCT): Likewise.
35574         (cache_size, cache_period, cache_purge_pct, cache): Likewise.
35575         (static initializer): Removed cache code.
35576         (checkCacheFor, addToCache): Removed.
35577         (getAllByName): Removed cache code.
35578         (lookup_time): Removed.
35579         (InetAddress): Updated.
35580
35581 2006-01-12  Chris Burdess  <dog@gnu.org>
35582
35583         * gnu/xml/dom/DomDocument.java,
35584           gnu/xml/dom/DomElement.java,
35585           gnu/xml/dom/DomNode.java,
35586           gnu/xml/stream/XMLParser.java,
35587           gnu/xml/transform/Bindings.java,
35588           gnu/xml/transform/ElementAvailableFunction.java,
35589           gnu/xml/transform/ElementNode.java,
35590           gnu/xml/transform/FunctionAvailableFunction.java,
35591           gnu/xml/transform/NamespaceProxy.java,
35592           gnu/xml/transform/StreamSerializer.java,
35593           gnu/xml/transform/Stylesheet.java,
35594           gnu/xml/transform/TransformerImpl.java,
35595           gnu/xml/xpath/Selector.java: Implement isEqualNode correctly for
35596           document and element nodes; correct coalescing semantics when parsing;
35597           attribute-sets can only refer to top-level variables and parameters;
35598           fix namespace retrieval during element-available and
35599           function-available functions; implement xsl:fallback for extension
35600           elements; tokenize whitespace correctly during whitespace stripping;
35601           correct following and previous node axes selectors.
35602
35603 2006-01-12  Roman Kennke  <kennke@aicas.com>
35604
35605         * java/util/Hashtable.java
35606         (KeyEnumerator.nextElement): Added null check to avoid NPE.
35607         (ValueEnumerator.nextElement): Added null check to avoid NPE.
35608
35609 2006-01-12  Lillian Angel  <langel@redhat.com>
35610
35611         * javax/swing/text/GapContent.java
35612         (UndoInsertString): Changed name of class to InsertUndo to match the JDK.
35613
35614 2006-01-12  Mark Wielaard  <mark@klomp.org>
35615
35616         * vm/reference/gnu/java/net/VMPlainSocketImpl.java (connect):
35617         Throw UnknowHostException when name could not be resolved.
35618
35619 2006-01-12  Jeroen Frijters  <jeroen@frijters.net>
35620
35621         * java/net/URL.java
35622         (static, getURLStreamHandler): Use SystemProperties.
35623
35624 2006-01-12  Mark Wielaard  <mark@klomp.org>
35625
35626         * vm/reference/gnu/java/net/VMPlainDatagramSocketImpl.java (receive):
35627         Use packet.getLength().
35628         * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c
35629         (nativeReceive): Check whether the receiver wants zero bytes.
35630
35631 2006-01-12  Mark Wielaard  <mark@klomp.org>
35632
35633         * native/jni/java-net/javanet.c (_javanet_recvfrom): Return -1 when
35634         other side orderly closed connection.
35635         * vm/reference/gnu/java/net/VMPlainSocketImpl.java
35636         (read(PlainSocketImpl)): Mask byte to return unsigned int. Return -1
35637         when end of stream reached.
35638
35639 2006-01-12  Mark Wielaard  <mark@klomp.org>
35640
35641         * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c:
35642         Remove asserts.
35643         * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c: Likewise.
35644         * native/jni/java-net/java_net_VMInetAddress.c: Likewise.
35645         * native/jni/java-net/java_net_VMNetworkInterface.c: Likewise.
35646         * native/jni/java-net/javanet.c: Likewise.
35647
35648 2006-01-12  Mark Wielaard  <mark@klomp.org>
35649
35650         * native/fdlibm/mprec.c (Balloc): Disable assert to workaround
35651         PR classpath/23863.
35652
35653 2006-01-11  Chris Burdess  <dog@gnu.org>
35654
35655         * gnu/xml/transform/AttributeNode.java,
35656           gnu/xml/transform/ElementNode.java,
35657           gnu/xml/transform/LiteralNode.java,
35658           gnu/xml/transform/StreamSerializer.java,
35659           gnu/xml/transform/StrippingInstruction.java,
35660           gnu/xml/transform/Stylesheet.java,
35661           gnu/xml/transform/TransformerImpl.java,
35662           gnu/xml/transform/ValueOfNode.java,
35663           gnu/xml/xpath/Expr.java,
35664           gnu/xml/xpath/LocalNameFunction.java,
35665           gnu/xml/xpath/NameFunction.java,
35666           gnu/xml/xpath/NameTest.java,
35667           gnu/xml/xpath/NamespaceUriFunction.java,
35668           gnu/xml/xpath/NodeTypeTest.java,
35669           gnu/xml/xpath/SubstringFunction.java,
35670           javax/xml/namespace/QName.java: don't determine element namespace
35671           from namespace aliases when specified; better namespace handling
35672           when serializing elements; don't create HTML meta element unless
35673           head element exists; correct encoding of CDATA sections containing
35674           ']]>'; encode HTML character entity references; use ISO-Latin-1 as
35675           default encoding for HTML output; rewrite of XSLT
35676           strip-space/preserve-space handling; correct doctype-public and
35677           doctype-system output attributes; insert generated doctype before
35678           document element; fixed result tree whitespace stripping
35679           algorithm; fixed semantics of XPath name, local-name, and
35680           namespace-uri functions; name tests handle XML/XMLNS namespaces
35681           correctly; fixed semantics of processing-instruction node test.
35682         * gnu/xml/transform/TransformerFactoryImpl.java: Add main method to
35683           aid debugging.
35684
35685 2006-01-11  Lillian Angel  <langel@redhat.com>
35686
35687         * javax/swing/text/DefaultStyledDocument.java
35688         (insertFracture): Added calls to addEdit for each time a structure 
35689         is changed. addEdit is called on the newBranch, previous, and parent
35690         structures.
35691
35692 2006-01-11  Anthony Balkissoon  <abalkiss@redhat.com>
35693
35694         * javax/swing/text/DefaultStyledDocument.java:
35695         (ElementBuffer.insertContentTag): Don't adjust the structure here.  
35696         This will have been taken care of in insertFracture.  Added a comment
35697         explaining that we need to add edits to the DocumentEvent and that
35698         this may be the place to do it.
35699
35700 2006-01-11  Anthony Balkissoon  <abalkiss@redhat.com>
35701
35702         * javax/swing/text/DefaultStyledDocument.java:
35703         (ElementBuffer.insertUpdate): Properly recreate Elements if the first
35704         tag is an end tag. Avoid NPE by pushing the proper Element on to the 
35705         elementStack when there is a start tag with JoinNextDirection.
35706
35707 2006-01-11  Roman Kennke  <kennke@aicas.com>
35708
35709         Reported by: Fridjof Siebert <siebert@aicas.com>
35710         * java/util/Hashtable.java
35711         (KEYS): Removed unneeded field.
35712         (VALUES): Removed unneeded field.
35713         (ENTRIES): Removed unneeded field.
35714         (keys): Return a KeyEnumerator instance.
35715         (elements): Returns a ValueEnumerator instance.
35716         (toString): Use an EntryIterator instance.
35717         (keySet): Return a KeyIterator instance.
35718         (values): Return a ValueIterator instance.
35719         (entrySet): Return an EntryIterator instance.
35720         (hashCode): Use EntryIterator instance.
35721         (rehash): Changed this loop to avoid redundant reads and make
35722         it obvious that null checking is not needed.
35723         (writeObject): Use EntryIterator instance.
35724         (HashIterator): Removed class.
35725         (Enumerator): Removed class.
35726         (EntryIterator): New class.
35727         (KeyIterator): New class.
35728         (ValueIterator): New class.
35729         (EntryEnumerator): New class.
35730         (KeyEnumerator): New class.
35731         (ValueEnumerator): New class.
35732
35733 2006-01-11  Lillian Angel  <langel@redhat.com>
35734
35735         * javax/swing/text/DefaultStyledDocument.java
35736         (toString): Shouldn't append the '>' character here.
35737         (createDefaultRoot): Should not set the resolve parent. This
35738         causes problems when comparing attribute sets.
35739
35740 2006-01-10  Anthony Balkissoon  <abalkiss@redhat.com>
35741
35742         * javax/swing/text/DefaultStyledDocument.java:
35743         (ElementBuffer.insertUpdate): Rewritten to properly handle start and
35744         end tags.
35745         (ElementBuffer.insertFracture): New method.
35746         (ElementBuffer.insertContentTag): Removed unnecessary case for 
35747         JoinFractureDirection - this only applies to start tags, not content
35748         tags.
35749         (insertUpdate): Corrected conditions for setting direction to 
35750         JoinNextDirection.
35751
35752 2006-01-10  Roman Kennke  <kennke@aicas.com>
35753
35754         * Makefile.am (EXTRA_DIST): Added ChangeLog-2004.
35755         * ChangeLog-2005: New File.
35756
35757 2006-01-10  Roman Kennke  <kennke@aicas.com>
35758
35759         * native/jni/java-nio/java_nio_VMDirectByteBuffer.c
35760         (get): Release the array with the correct pointer.
35761         (put): Release the array with the correct pointer. Copy the array
35762         around _before_ releasing it.
35763
35764 2006-01-10  Roman Kennke  <kennke@aicas.com>
35765
35766         * javax/swing/ViewportLayout.java
35767         (layoutContainer): Fixed condition, to avoid ClasscastException.
35768
35769 2006-01-10  Roman Kennke  <kennke@aicas.com>
35770
35771         * javax/swing/plaf/basic/BasicSplitPaneDivider.java
35772         (MouseHandler.mousePressed): Fixed indendation.
35773         (MouseHandler.mouseDragged): Fixed indendation.
35774
35775 2006-01-10  Roman Kennke  <kennke@aicas.com>
35776
35777         * javax/swing/plaf/basic/BasicLookAndFeel.java
35778         (playSound): Added @since 1.4 to the API docs.
35779
35780 2006-01-10  Roman Kennke  <kennke@aicas.com>
35781
35782         * javax/swing/plaf/basic/BasicListUI.java
35783         (maybeUpdateLayoutState): Also update the layout state, if the
35784         list has been invalidated since the last update.
35785
35786 2006-01-10  Roman Kennke  <kennke@aicas.com>
35787
35788         * javax/swing/plaf/ComponentUI.java
35789         (update): Fixed indendation.
35790
35791 2006-01-10  Roman Kennke  <kennke@aicas.com>
35792
35793         * javax/swing/ViewportLayout.java
35794         (layoutContainer): Fixed condition, so that Scrollable components
35795         are always forced to have to Viewport size, when they
35796         return true for getScrollableTracksViewportHeight() and ..Width().
35797
35798 2006-01-10  Roman Kennke  <kennke@aicas.com>
35799
35800         * javax/swing/RepaintManager.java
35801         (validateInvalidComponents): Fixed condition to avoid NPE.
35802
35803 2006-01-10  Roman Kennke  <kennke@aicas.com>
35804
35805         * javax/swing/JViewport.java:
35806         (static_initializer): Removed unused variable myScrollMode.
35807
35808 2006-01-10  Roman Kennke  <kennke@aicas.com>
35809
35810         * javax/swing/JTabbedPane.java:
35811         Cleared API docs a little.
35812
35813 2006-01-10  Roman Kennke  <kennke@aicas.com>
35814
35815         * java/util/StringTokenizer.java
35816         (StringTokenizer(String, String, boolean)):
35817         Don't trigger NPE here for conformance with the spec.
35818
35819 2006-01-10  Roman Kennke  <kennke@aicas.com>
35820
35821         * java/util/ArrayList.java
35822         (DEFAULT_CAPACITY): Changed default capacity to 10, as specified.
35823
35824 2006-01-10  Roman Kennke  <kennke@aicas.com>
35825
35826         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
35827         (GdkGraphics2D(GdkGraphics2D)): Added null check for the bg
35828         field to avoid NPE.
35829
35830 2006-01-10  Roman Kennke  <kennke@aicas.com>
35831
35832         * native/jni/java-net/javanet.c
35833         (_javanet_shutdownOutput): Replaced strerror() with
35834         TARGET_NATIVE_LAST_ERROR_STRING() for portability.
35835         (_javanet_shutdownInput): Replaced strerror() with
35836         TARGET_NATIVE_LAST_ERROR_STRING() for portability.
35837
35838 2006-01-10  Robert Schuster  <robertschuster@fsfe.org>
35839
35840         * java/beans/EventSetDescriptor.java: Reformatted and
35841         fixed API docs.
35842
35843 2006-01-10  Roman Kennke  <kennke@aicas.com>
35844
35845         * java/lang/SecurityManager.java
35846         Fully qualified AWT class references in API docs.
35847
35848 2006-01-10  Robert Schuster  <robertschuster@fsfe.org>
35849
35850         * java/beans/EventSetDescriptor.java:
35851         (getGetListenerMethod): New method.
35852
35853 2006-01-10  Mark Wielaard  <mark@klomp.org>
35854
35855         * lib/Makefile.am (GCJX): Add -g to get linenumber info.
35856
35857 2006-01-10  Jeroen Frijters  <jeroen@frijters.net>
35858
35859         PR classpath/25727
35860         * java/util/Hashtable.java
35861         (contains): Call equals on existing value.
35862         (containsKey, get, put, remove): Call equals on existing key.
35863         (getEntry): Call equals on existing entry.
35864
35865 2006-01-10  Jeroen Frijters  <jeroen@frijters.net>
35866
35867         PR classpath/24618
35868         * java/util/AbstractMap.java
35869         (equals(Object,Object)): Test for identity first.
35870         * java/util/WeakHashMap.java
35871         (WeakBucket.WeakEntry.equals): Use helper method to determine equality.
35872         (WeakBucket.WeakEntry.toString): Fixed string representation of
35873         null key.
35874         (internalGet): Use helper method to determine equality.
35875
35876 2006-01-09  Robert Schuster  <robertschuster@fsfe.org>
35877
35878         * java/beans/EventSetDescriptor.java: Implemented the two 1.4
35879         constructors.
35880
35881 2006-01-09  Anthony Balkissoon  <abalkiss@redhat.com>
35882
35883         * javax/swing/text/PlainDocument.java:
35884         (insertUpdate): Handle special case of an insertion immediately 
35885         following a newline character.
35886
35887 2006-01-09  Roman Kennke  <kennke@aicas.com>
35888
35889         * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c
35890         (connect): Added stream parameter to _connect() call.
35891         * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c
35892         (connect): Added stream parameter to _connect() call.
35893         * native/jni/java-net/javanet.c
35894         (_javanet_create_localfd): Added stream parameter. Look up
35895         fd field based on the stream parameter either in SocketImpl or
35896         in DatagramSocketImpl.
35897         (_javanet_connect): Added stream parameter. Call create_localfd
35898         using this stream parameter. Set localPort field either in
35899         SocketImpl or in DatagramSocketImpl, depending on the stream
35900         flag.
35901         * native/jni/java-net/javanet.c
35902         (_javanet_connect): Added stream parameter.
35903
35904 2006-01-09  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
35905
35906         * javax.management.Attribute.java: Grammar and 
35907         formatting fixes.
35908
35909 2006-01-09  Mark Wielaard  <mark@klomp.org>
35910
35911         * gnu/java/nio/channels/FileChannelImpl.java (map): Throw correct
35912         exception when channel is not readable or writable.
35913         * native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c
35914         (mapImpl): Add PROT_WRITE when mode == 'c' (MAP_PRIVATE). Make sure
35915         there is enough space to mmap().
35916
35917 2006-01-09  Robert Schuster  <robertschuster@fsfe.org>
35918
35919         * java/beans/Introspector.java:
35920         (getBeanInfo(Class, int)): New method.
35921         (getBeanInfo(Class, Class): Moved common code in a new method.
35922         (merge): New method.
35923
35924 2006-01-09  Robert Schuster  <robertschuster@fsfe.org>
35925
35926         * java/beans/XMLEncoder.java: Fix spelling mistakes.
35927
35928 2006-01-09  Anthony Balkissoon  <abalkiss@redhat.com>
35929
35930         * javax/swing/text/DefaultStyledDocument.java:
35931         (insertUpdate): Removed call to checkForInsertAfterNewline and instead
35932         inlined this method because it needs to change the value of the 
35933         finalStartTag and finalStartDirection variables.
35934         (checkForInsertAfterNewline): Removed this method.
35935         (handleInsertAfterNewline): Added case for making the start tag's 
35936         direction JoinNextDirection.
35937
35938 2006-01-09  Lillian Angel  <langel@redhat.com>
35939
35940         * javax/swing/plaf/basic/BasicTreeUI.java:
35941         Added new field.
35942         (setRowHeight): Row height is set to the max height of
35943         all the nodes, or 20 as a default value.
35944         (getPathBounds): Cleaned up code.
35945         (getMaxHeight): New helper function that gets the max 
35946         height of all the rows.
35947         (getClosestPathForLocation): Fixed to use getMaxHeight.
35948         (updateCachedPreferredSize): Likewise.
35949         (installUI): Shouldn't expand tree on startup.
35950         (getNodeDimensions): Fixed to use getMaxHeight. 
35951
35952 2006-01-09  Mark Wielaard  <mark@klomp.org>
35953
35954         * javax/swing/JList.java (setSelectedIndex): Clear selection when
35955         argument is negative.
35956
35957 2006-01-08  Mark Wielaard  <mark@klomp.org>
35958
35959         * java/net/InetAddress.java (getInaddrAny): Explicitly set hostName.
35960
35961 2006-01-09  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
35962
35963         * javax.management.Attribute.java: New file. 
35964
35965 2006-01-09  Roman Kennke  <kennke@aicas.com>
35966
35967         * java/net/DatagramSocketImpl.java
35968         (localPort): Renamed to localport for correct access from native
35969         code.
35970
35971 2006-01-09  Roman Kennke  <kennke@aicas.com>
35972
35973         * javax/swing/Popup.java
35974         (LightweightPopup.hide): Repaint the layered pane when popup is
35975         removed.
35976
35977 2006-01-09  Roman Kennke  <kennke@aicas.com>
35978
35979         * java/awt/Container.java
35980         (remove): Don't repaint the container here.
35981
35982 2006-01-08  Tom Tromey  <tromey@redhat.com>
35983
35984         * java/lang/InheritableThreadLocal.java: Organized imports.
35985
35986 2006-01-08  Ito Kazumitsu  <kaz@maczuka.gcd.org>  
35987
35988         Fixes bug #25679
35989         * gnu/regexp/RETokenRepeated.java(match): Optimized the case
35990         when an empty string matched an empty token.
35991
35992 2006-01-08  Chris Burdess  <dog@gnu.org>
35993
35994         * gnu/xml/stream/SAXParser.java: Check standalone status for mixed
35995           content models from external entities.
35996         * gnu/xml/stream/UnicodeReader.java: Report error instead of
35997           attempting to continue with unpaired surrogates.
35998         * gnu/xml/stream/XMLParser.java: Don't normalize LF equivalents when
35999           resolving entities with character entity references; better
36000           checking of valid character ranges; don't report an error for URI
36001           fragments in notation declarations; check unbound namespace
36002           prefixes for elements and attributes, including XML 1.1 unbinding
36003           syntax; namespace-aware checking of attribute duplicates.
36004
36005 2006-01-08  Robert Schuster  <robertschuster@fsfe.org>
36006
36007         * java/beans/Statement.java: Doc fixes.
36008         (doExecute): Workaround for Class.forName call.
36009         (toString): Made output look more like on the JDK.
36010         * java/beans/Expression.java: Doc fixes.
36011         (toString): Made output look more like on the JDK.
36012         * java/beans/PersistenceDelegate.java,
36013         java/beans/DefaultPersistenceDelegate.java,
36014         java/beans/Encoder.java,
36015         java/beans/XMLEncoder.java: New file.
36016         * gnu/java/beans/encoder/ArrayPersistenceDelegate.java,
36017         gnu/java/beans/encoder/ClassPersistenceDelegate.java,
36018         gnu/java/beans/encoder/CollectionPersistenceDelegate.java,
36019         gnu/java/beans/encoder/Context.java,
36020         gnu/java/beans/encoder/GenericScannerState.java,
36021         gnu/java/beans/encoder/IgnoringScannerState.java,
36022         gnu/java/beans/encoder/MapPersistenceDelegate.java,
36023         gnu/java/beans/encoder/ObjectId.java,
36024         gnu/java/beans/encoder/PrimitivePersistenceDelegate.java,
36025         gnu/java/beans/encoder/ReportingScannerState.java,
36026         gnu/java/beans/encoder/Root.java,
36027         gnu/java/beans/encoder/ScanEngine.java,
36028         gnu/java/beans/encoder/ScannerState.java,
36029         gnu/java/beans/encoder/StAXWriter.java,
36030         gnu/java/beans/encoder/Writer.java: New file.
36031         * gnu/java/beans/encoder/elements/Array_Get.java,
36032         gnu/java/beans/encoder/elements/Element.java,
36033         gnu/java/beans/encoder/elements/List_Set.java,
36034         gnu/java/beans/encoder/elements/Array_Set.java,
36035         gnu/java/beans/encoder/elements/NullObject.java,
36036         gnu/java/beans/encoder/elements/StaticMethodInvocation.java,
36037         gnu/java/beans/encoder/elements/StaticFieldAccess.java,
36038         gnu/java/beans/encoder/elements/StringReference.java,
36039         gnu/java/beans/encoder/elements/ClassResolution.java,
36040         gnu/java/beans/encoder/elements/ArrayInstantiation.java,
36041         gnu/java/beans/encoder/elements/PrimitiveInstantiation.java,
36042         gnu/java/beans/encoder/elements/ObjectReference.java,
36043         gnu/java/beans/encoder/elements/ObjectInstantiation.java,
36044         gnu/java/beans/encoder/elements/List_Get.java,
36045         gnu/java/beans/encoder/elements/MethodInvocation.java: New file.
36046
36047 2006-01-08  Chris Burdess  <dog@gnu.org>
36048
36049         * java/lang/Character.java (toChars,toCodePoint): Correct these
36050           methods to use algorithms from Unicode specification.
36051  
36052 2006-01-08  Mark Wielaard  <mark@klomp.org>
36053
36054         * native/jni/xmlj/Makefile.am (libxmlj_la_LIBADD): Add jcl.o.
36055
36056 2006-01-07  Paul Jenner  <psj@harker.dyndns.org>
36057
36058         Fixes bug #25711
36059         * examples/Makefile.am: Corrected DESTDIR install paths.
36060
36061 2006-01-07  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
36062
36063         * org/omg/CORBA/INVALID_ACTIVITY.java: Removed non - 
36064         ASCII character (line 46).
36065
36066 2006-01-07  Roman Kennke  <kennke@aicas.com>
36067
36068         * javax/swing/text/TableView.java: New file.
36069
36070 2006-01-07  Chris Burdess  <dog@gnu.org>
36071
36072         * gnu/xml/stream/BufferedReader.java: Removed commented out code.
36073         * gnu/xml/stream/XIncludeFilter.java: Correct XML Base behaviour.
36074         * gnu/xml/stream/XMLParser.java: Make additional StAX properties
36075           available; correct handling of unparsed entity references;
36076           absolutize all base URIs; remove commented out code.
36077
36078 2006-01-07  Chris Burdess  <dog@gnu.org>
36079
36080         * gnu/xml/stream/SAXParser.java,
36081           gnu/xml/stream/XMLParser.java: Add SAX property to return base
36082           URI of the current event.
36083
36084 2006-01-07  Chris Burdess  <dog@gnu.org>
36085
36086         * gnu/xml/stream/SAXParser.java: Add SAX feature to set XML Base
36087           aware processing.
36088
36089 2006-01-07  Chris Burdess  <dog@gnu.org>
36090
36091         * gnu/xml/stream/SAXParser.java,
36092           gnu/xml/stream/XIncludeFilter.java,
36093           gnu/xml/stream/XMLParser.java: Updated documentation.
36094
36095 2006-01-07  Chris Burdess  <dog@gnu.org>
36096
36097         * AUTHORS: add self.
36098
36099 2006-01-06  Casey Marshall  <csm@gnu.org>
36100
36101         * AUTHORS: add myself.
36102
36103 2006-01-06  Casey Marshall  <csm@gnu.org>
36104
36105         PR classpath/25699
36106         * javax/crypto/CipherInputStream.java (logger): new constant.
36107         (cipher): make final.
36108         (outLength, inBuffer, inLength): removed.
36109         (isStream): make final.
36110         (VIRGIN, LIVING, DYING, DEAD, state): removed.
36111         (eof): new field.
36112         (<init>): call `super,' not `this;' remove `inBuffer' and
36113         `outBuffer' initialization; init `eof;' add debug logging.
36114         (<init>): call `this' with a new null cipher.
36115         (available): fix javadoc to reflect the real semantics; if we
36116         don't have a buffer, call `nextBlock.'
36117         (close): synchronize.
36118         (read): synchronize; fix testing for buffered data.
36119         (read): synchronize; add `skip' semantics if first argument is
36120         `null;' decrypt stream cipher data only if there is any; fix tests
36121         for buffered data.
36122         (skip): stop using `available' to see how many data are buffered.
36123         (nextBlock): simplify to use cipher-allocated output buffers
36124         instead of internally allocated ones.
36125
36126 2006-01-06  Tom Tromey  <tromey@redhat.com>
36127
36128         * java/lang/String.java (codePointCount): Fixed javadoc.
36129
36130 2006-01-06  Tom Tromey  <tromey@redhat.com>
36131
36132         * java/lang/String.java (contains): Added @since.
36133
36134 2006-01-06  Ito Kazumitsu  <kaz@maczuka.gcd.org>  
36135
36136         Fixes bug #25616
36137         * gnu/regexp/RE.java(initialize): Allow repeat.empty.token.
36138         * gnu/regexp/RETokenRepeated.java(match): Break the loop
36139         when an empty string matched an empty token.
36140
36141 2006-01-06  Jeroen Frijters  <jeroen@frijters.net>
36142
36143         PR classpath/24858
36144         * gnu/java/util/WeakIdentityHashMap.java: New file.
36145         * java/lang/InheritableThreadLocal.java
36146         (newChildThread): Modified to remove key indirection.
36147         * java/lang/Thread.java
36148         (locals): Changed type to WeakIdentityHashMap.
36149         (getThreadLocals): Instantiate WeakIdentityHashMap instead of
36150         WeakHashMap.
36151         * java/lang/ThreadLocal.java
36152         (key, Key): Removed.
36153         (get, set): Changed to use "this" instead of "key".
36154
36155 2006-01-06  Dalibor Topic  <robilad@kaffe.org>
36156
36157         * native/fdlibm/Makefile.am (libfdlibm_la_SOURCES): Removed java-assert.h.
36158
36159         * native/fdlibm/java-assert.h: Removed file.
36160
36161         * native/fdlibm/mprec.c: Include assert.h. Don't include java-assert.h.
36162         Replaced use of JvAssert by assert.
36163
36164 2006-01-05  Anthony Balkissoon  <abalkiss@redhat.com>
36165
36166         * javax/swing/text/DefaultCaret.java:
36167         (setDot): Fixed paramater to Math.max to be this.dot and not the 
36168         parameter dot.
36169
36170 2006-01-05  Roman Kennke  <kennke@aicas.com>
36171
36172         * javax/swing/plaf/basic/BasicListUI.java
36173         (getCellHeight): New helper method.
36174         (getCellBounds): Use new helper method for determining the cell
36175         height.
36176         (paint): Don't call list.indexToLocation() but instead call
36177         directly into the same UI method.
36178         (locationToIndex): Fixed calculation of # visible rows and handling
36179         of cell heights.
36180         (indexToLocation): Fixed calculation of # visible rows and handling
36181         of cell heights.
36182
36183 2006-01-05  Roman Kennke  <kennke@aicas.com>
36184
36185         * javax/swing/plaf/metal/MetalFileChooserUI.java
36186         (createList): Set VERTICAL_SCROLLBAR_NEVER mode on the JScrollPane
36187         in the file chooser.
36188
36189 2006-01-05  Anthony Balkissoon  <abalkiss@redhat.com>
36190
36191         * javax/swing/JTextPane.java:
36192         (replaceSelection): If the document is an AbstractDocument, use replace
36193         rather than remove and insert.
36194         * javax/swing/event/EventListenerList.java:
36195         (getListeners): Reversed the order of the listeners to match the 
36196         reference implementation.
36197         * javax/swing/text/AbstractDocument.java:
36198         (insertString): Add the UndoableEdit from the content.insertString call
36199         to the DocumentEvent.
36200         (DefaultDocumentEvent.toString): Implemented.
36201         * javax/swing/text/DefaultCaret.java:
36202         (setDot): Make sure dot is > 0 and less than the length of the 
36203         document.
36204         * javax/swing/text/DefaultStyledDocument.java:
36205         (ElementBuffer.insertUpdate): Set the modified tag of the document 
36206         event when we get start and end tags.  This ensures that we create the
36207         proper BranchElements in endEdit().
36208         (ElementBuffer.insertUpdate): Added FIXME to handle 
36209         JoinFractureDirection case.
36210         (insertUpdate): Added code to check if we're inserting immediately 
36211         after a newline and to handle this case (create start and end tags). 
36212         Only change the direction of the first and last tags if they are of 
36213         type ContentType.
36214         (checkForInsertAfterNewline): New helper method.
36215         (handleInsertAfterNewline): Likewise.
36216         * javax/swing/text/View.java:
36217         (updateLayout): Avoid NPE by checking if shape is null.  Repaint 
36218         container.
36219
36220 2006-01-05  Mark Wielaard  <mark@klomp.org>
36221
36222         * newsitems.txt: Add fosdem meeting.
36223         * events/events.wml: Likewise.
36224         * events/fosdem06.wml: New file.
36225         
36226 2006-01-05  Lillian Angel  <langel@redhat.com>
36227         
36228         * javax/swing/text/GapContent.java
36229         (createPosition): No positions should be created inside the
36230         gap. Fixed check to ensure this does not happen.
36231
36232 2006-01-05  Roman Kennke  <kennke@aicas.com>
36233
36234         * javax/swing/RepaintManager.java
36235         (validateInvalidComponents): Search for the validate root
36236         and start validating there.
36237
36238 2006-01-05  Roman Kennke  <kennke@aicas.com>
36239
36240         * javax/swing/plaf/basic/BasicListUI.java
36241         (ComponentHandler): Removed unneeded class.
36242         (ListDataHandler.contentsChanged): Revalidate instead of calling
36243         damageLayout().
36244         (ListDataHandler.intervalAdded): Revalidate instead of calling
36245         damageLayout().
36246         (ListDataHandler.intervalRemoved): Revalidate instead of calling
36247         damageLayout().
36248         (PropertyChangeHandler.propertyChange): Or flags together instead
36249         of adding them. Don't call damageLayout().
36250         (componentListener): Removed unnecessary field.
36251         (damageLayout): Removed unnecessary method.
36252         (installListeners): Don't install unnecessary listeners.
36253         (uninstallListeners): Dito.
36254         (getPreferredSize): Don't ask for the real list height and
36255         calculate with the previously calculated list height.
36256         (locationToIndex): Renamed list parameter to l so that it doesn't
36257         shadow the field with the same name.
36258         (indexToLocation): Renamed list parameter to l so that it doesn't
36259         shadow the field with the same name.
36260
36261 2006-01-04  Tom Tromey  <tromey@redhat.com>
36262
36263         * include/.cvsignore: Ignore config-int.h.
36264
36265 2006-01-04  Roman Kennke  <kennke@aicas.com>
36266
36267         * javax/swing/plaf/basic/BasicListUI.java
36268         (getPreferredSize): Rewritten to match the specs.
36269
36270 2006-01-04  Roman Kennke  <kennke@aicas.com>
36271
36272         * javax/swing/JFileChooser.java
36273         (showOpenDialog): Set fixed width on the dialog.
36274         (showSaveDialog): Set fixed width on the dialog.
36275         (showDialog): Set fixed width on the dialog.
36276
36277 2006-01-04  Roman Kennke  <kennke@aicas.com>
36278
36279         * javax/swing/plaf/basic/BasicListUI.java
36280         (locationToIndex): Added FIXME about getVisibleRowCount() usage.
36281         Adjusted iteration to not use visibleRowCount and instead iterate
36282         over the real number of elements in cellHeights.
36283         (indexToLocation): Added FIXME about getVisibleRowCount() usage.
36284         Adjusted iteration to not use visibleRowCount and instead iterate
36285         over the real number of elements in cellHeights.
36286
36287 2006-01-04  Roman Kennke  <kennke@aicas.com>
36288
36289         * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c,
36290         * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c:
36291         Added __attribute__((__unused__)) macros to avoid gcc warnings.
36292
36293 2006-01-04  Roman Kennke  <kennke@aicas.com>
36294
36295         * vm/reference/gnu/java/net/VMPlainSocketImpl.java: New VM class.
36296         * vm/reference/gnu/java/net/VMPlainDatagramSocketImpl.java:
36297         New VM class.
36298         * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c: New file.
36299         * native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c:
36300         New file.
36301         * native/jni/java-net/gnu_java_net_PlainDatagramSocketImpl.c:
36302         Removed.
36303         * native/jni/java-net/gnu_java_net_PlainSocketImpl.c: Removed.
36304         * native/jni/java-net/Makefile.am: Adjusted for new source files.
36305         * gnu/java/net/PlainDatagramSocketImpl.java: Use new VM interface.
36306         * gnu/java/net/PlainSocketImpl.java: Use new VM interface.
36307         * include/gnu_java_net_PlainDatagramSocketImpl.h: Removed.
36308         * include/gnu_java_net_PlainSocketImpl.h: Removed.
36309         * include/gnu_java_net_VMPlainDatagramSocketImpl.h: New header file.
36310         * include/gnu_java_net_VMPlainSocketImpl.h: New header file.
36311
36312 2006-01-04  Lillian Angel  <langel@redhat.com>
36313
36314         * javax/swing/plaf/metal/MetalFileChooserUI.java
36315         (propertyChange): Fixed to change the combo box label
36316         appropriately. Also, fixed to set the textfield's text
36317         correctly.
36318         (editFile): Fixed size of editing field.
36319         (installComponents): Correctly aligned all panels.
36320         (installStrings): Fixed to set the label's text
36321         appropriately depending on the dialog type.
36322
36323 2006-01-04  Lillian Angel  <langel@redhat.com>
36324
36325         PR classpath/25473 
36326         PR classpath/25479
36327         * javax/swing/JTree.java
36328         (JTree): Because some L&F defaults have been updated,
36329         the selectionMode for the tree needed to be set to SINGLE.
36330         * javax/swing/plaf/basic/BasicFileChooserUI.java:
36331         Initialized accessoryPanel.
36332         * javax/swing/plaf/metal/MetalFileChooserUI.java
36333         (installComponents): Added accessoryPanel to the filechooser.
36334
36335 2006-01-04  Dalibor Topic  <robilad@kaffe.org>
36336
36337         * configure.ac: Added AX_CREATE_STDINT_H
36338
36339         * include/Makefile.am (DISTCLEANFILES): Remove config-int.h.
36340
36341         * m4/ax_create_stdint_h.m4: New file.
36342
36343         * native/fdlibm/mprec.h: Include config-int.h. Removed C99
36344         typedefs. Removed stdint.h and inttypes.h includes.
36345  
36346 2006-01-03  Mark Wielaard  <mark@klomp.org>
36347
36348         * javax/swing/JMenuItem.java (configurePropertiesFromAction): Only
36349         register keyboard action when accelerator is not null.
36350         * javax/swing/plaf/basic/BasicMenuItemUI.java (propertyChange): Only
36351         re-register accelerator if not null.
36352         (installKeyboardActions): Only put accelerator in map when not null.
36353
36354 2006-01-04  Lillian Angel  <langel@redhat.com>
36355
36356         * javax/swing/plaf/basic/BasicLookAndFeel.java
36357         (initComponentDefaults): Removed unneeded default.
36358         * javax/swing/plaf/metal/MetalLookAndFeel.java
36359         (initComponentDefaults): Added and fixed several defaults.
36360
36361 2006-01-04  Roman Kennke  <kennke@aicas.com>
36362
36363         * javax/swing/plaf/basic/BasicHTML.java: New class.
36364
36365 2006-01-03  Tom Tromey  <tromey@redhat.com>
36366
36367         * java/io/OutputStreamWriter.java (OutputStreamWriter): Added @since.
36368         * java/io/InputStreamReader.java (InputStreamReader): Added @since.
36369
36370 2006-01-03  Mark Wielaard  <mark@klomp.org>
36371
36372         * org/omg/CORBA/INVALID_ACTIVITY.java: Remove non-ascii characters.
36373
36374 2006-01-03  Mark Wielaard  <mark@klomp.org>
36375
36376         * javax/swing/plaf/metal/MetalLookAndFeel.java (MetalLookAndFeel):
36377         Always call createDefaultTheme().
36378         (createDefaultTheme): Check whether theme is still null.
36379
36380 2006-01-03  Mark Wielaard  <mark@klomp.org>
36381
36382         * gnu/java/awt/peer/gtk/GdkGraphics2D.java (setBackground): Set to
36383         Color.WHITE if null.
36384
36385 2006-01-03  Lillian Angel  <langel@redhat.com>
36386
36387         * javax/swing/plaf/metal/MetalLookAndFeel.java
36388         (getDescription): Fixed to return the correct string.
36389         (getID): Likewise.
36390         (getName): Likewise.
36391         (getDefaults): Added check to avoid NPE.
36392         (getAcceleratorForeground): Likewise.
36393         (getAcceleratorSelectedForeground): Likewise.
36394         (getBlack): Likewise.
36395         (getControl): Likewise.
36396         (getControlDarkShadow): Likewise.
36397         (getControlDisabled): Likewise.
36398         (getControlHighlight): Likewise.
36399         (getControlInfo): Likewise.
36400         (getControlShadow): Likewise.
36401         (getControlTextColor): Likewise.
36402         (getControlTextFont): Likewise.
36403         (getDesktopColor): Likewise.
36404         (getFocusColor): Likewise.
36405         (getHighlightedTextColor): Likewise.
36406         (getInactiveControlTextColor): Likewise.
36407         (getInactiveSystemTextColor): Likewise.
36408         (getMenuBackground): Likewise.
36409         (getMenuDisabledForeground): Likewise.
36410         (getMenuForeground): Likewise.
36411         (getMenuSelectedBackground): Likewise.
36412         (getMenuSelectedForeground): Likewise.
36413         (getMenuTextFont): Likewise.
36414         (getPrimaryControl): Likewise.
36415         (getPrimaryControlDarkShadow): Likewise.
36416         (getPrimaryControlHighlight): Likewise.
36417         (getPrimaryControlInfo): Likewise.
36418         (getPrimaryControlShadow): Likewise.
36419         (getSeparatorBackground): Likewise.
36420         (getSeparatorForeground): Likewise.
36421         (getSubTextFont): Likewise.
36422         (getSystemTextColor): Likewise.
36423         (getSystemTextFont): Likewise.
36424         (getTextHighlightColor): Likewise.
36425         (getUserTextColor): Likewise.
36426         (getUserTextFont): Likewise.
36427         (getWhite): Likewise.
36428         (getWindowBackground): Likewise.
36429         (getWindowTitleBackground): Likewise.
36430         (getWindowTitleFont): Likewise.
36431         (getWindowTitleForeground): Likewise.
36432         (getWindowTitleInactiveBackground): Likewise.
36433         (getWindowTitleInactiveForeground): Likewise.
36434
36435 2006-01-03  Mark Wielaard  <mark@klomp.org>
36436
36437         * javax/swing/JTextArea.java
36438         (JTextArea(Document,text,int,int)): Only call setText() when text is
36439         not null.
36440
36441 2006-01-03  Lillian Angel  <langel@redhat.com>
36442
36443         * javax/swing/plaf/basic/BasicFileChooserUI.java
36444         (installStrings): Fixed installation of defaults that
36445         were changed in BasicLookAndFeel.
36446         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
36447         (installDefaults): Fixed installation of defaults that
36448         were changed in BasicLookAndFeel.
36449
36450 2006-01-03  Lillian Angel  <langel@redhat.com>
36451
36452         * javax/swing/plaf/basic/BasicLookAndFeel.java
36453         (initComponentDefaults): Fixed several defaults that differed
36454         from the JDK.
36455
36456 2006-01-03  Lillian Angel  <langel@redhat.com>
36457
36458         * javax/swing/tree/DefaultTreeSelectionModel.java
36459         (DefaultTreeSelectionModel): Default should be DISCONTIGUOUS_TREE_SELECTION.
36460
36461 2006-01-03  Lillian Angel  <langel@redhat.com>
36462
36463         * javax/swing/AbstractAction.java
36464         (AbstractAction): Fixed to pass in null. Should not be 
36465         an empty string. Removed TODO comment.
36466         (AbstractAction): Removed TODO comment.
36467         * javax/swing/JList.java
36468         (init): Default selection mode should be MULTIPLE_INTERVAL_SELECTION.
36469         * javax/swing/JMenuItem.java
36470         (JMenuItem): Set all defaults if the action passed in is not null.
36471         * javax/swing/JProgressBar.java
36472         (JProgressBar): Added check to prevent NPE.
36473
36474 2006-01-03  Lillian Angel  <langel@redhat.com>
36475
36476         * javax/swing/plaf/basic/BasicListUI.java
36477         (getPreferredSize): The JDK adds some extra space to 
36478         the list, so we should as well.
36479         * javax/swing/plaf/metal/MetalFileChooserUI.java
36480         (getPreferredSize): Should only take the fileListPanel's
36481         width into account when getting the size. Also, the buttonPanel's
36482         size should not be checked, since it is in the bottomPanel already.
36483         (getMinimumSize): Likewise.
36484
36485 2006-01-03  Lillian Angel  <langel@redhat.com>
36486
36487         * javax/swing/JList.java
36488         (init): visibleRowCount should be 7, like the JDK.
36489         * javax/swing/plaf/metal/MetalFileChooserUI.java
36490         (installComponents): No need to add the fileFilterCombo
36491         to a panel. It can be added to the row directly.
36492
36493 2006-01-03  Lillian Angel  <langel@redhat.com>
36494         
36495         PR classpath/25480 PR classpath/25478
36496         * javax/swing/plaf/basic/BasicScrollPaneUI.java
36497         (updateViewport): Made changes suggested by
36498         Chris Lansdown.
36499         * javax/swing/plaf/metal/MetalFileChooserUI.java:
36500         Removed unneeded import.
36501         (createList): Removed comment, JList wrapping 
36502         now works.
36503         (getPreferredSize): Made changes suggested by
36504         Chris Lansdown. Uses fileListPanel, instead
36505         of fileList.
36506         (getMinimumSize): Uses fileListPanel, instead
36507         of fileList.
36508         * javax/swing/plaf/metal/MetalRadioButtonUI.java
36509         (paintFocus): Fixed height.
36510
36511 2006-01-03  Roman Kennke  <kennke@aicas.com>
36512
36513         * javax/swing/plaf/basic/BasicListUI.java
36514         (locationToIndex): Added check to avoid ArrayOutOfBoundsException.
36515
36516 2006-01-03  Roman Kennke  <kennke@aicas.com>
36517
36518         * javax/swing/plaf/basic/BasicListUI.java
36519         (locationToIndex): Special case for when variable cell heights
36520         are possible. (cellHeights is used instead of cellHeight).
36521         (indexToLocation): Special case for when variable cell heights
36522         are possible. (cellHeights is used instead of cellHeight).
36523
36524 2006-01-03  Roman Kennke  <kennke@aicas.com>
36525
36526         * javax/swing/text/DefaultStyledDocument.java
36527         (ElementBuffer.remove): New method.
36528         (ElementBuffer.removeUpdate): New method.
36529         (removeUpdate): New method.
36530
36531 2006-01-03  Roman Kennke  <kennke@aicas.com>
36532
36533         * lib/Makefile.am:
36534         (dist-hook): Preserve attributes of Java sources when copying to
36535         dist dir.
36536
36537 2006-01-03  Raif S. Naffah  <raif@swiftdsl.com.au>
36538
36539         * AUTHORS: Added self.
36540         * java/security/Security.java (getProvider): Ensures provider's name is
36541           not null, not an empty string, and is trimmed before usage.
36542
36543 2006-01-01  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
36544
36545         * gnu/CORBA/Poa/AOM.java (add):
36546         Changed parameter Object into gnuServantObject.
36547         (Obj.object): Changed type to gnuServantObject.
36548         (findObject): Rewritten.
36549
36550 2006-01-01  Andreas Tobler  <a.tobler@schweiz.ch>
36551
36552         * native/jni/qt-peer/mainqtthread.cpp: Remove call to disable double
36553         buffering. Ability has gone in Qt-4.1.x.
36554
36555         * configure.ac (QT_CFLAGS): Check for 4.1.0 version and for QtCore
36556         to have the right include flags.
36557
36558 2006-01-01  Raif S. Naffah  <raif@swiftdsl.com.au>
36559
36560         * java/security/MessageDigest.java (getInstance(String,String)):
36561         Use trimmed copy of provider name.
36562         * gnu/java/security/Engine.java
36563         (getInstance(String,String,Provider,Object[])): Use trimmed copy of
36564         service and algorithm names.
36565
36566 2006-01-01  Raif S. Naffah  <raif@swiftdsl.com.au>
36567
36568         * java/net/InetAddress.java (getAllByName): use LOCALHOST if
36569         localhost is null or is an empty string. Trim hostname before
36570         lookup.
36571